четверг, 5 ноября 2009 г.

Fix for QScintilla - 2

Regarding my fix for QScintilla (problem with auto-complete, described here): there's also patched QScintilla for Ubuntu 9.10 "Karmic Koala" here.

пятница, 16 октября 2009 г.

Fix for QScintilla

For those of you who is annoyed by QScintilla's bug with autocomplete (when using Linux and GNOME, and probably some other WMs), here's something you can do.

First of all you can download the patched package for Ubuntu 9.04 (i386) and install it. That's it, now your auto-complete is working.

For other Debian-based distros you can patch it yourself:

Install building environment:
$ sudo aptitude install dpatch cdbs fakeroot build-essential

Get sources of QScintilla and step into its source dir:
$ apt-get source libqscintilla2-3
$ cd qscintilla2-2.3.2

Download deb-patch from here and put it to debian/patches directory:
$ cd debian/patches
$ wget -nd http://juffed.googlecode.com/files/03_autocomplete.dpatch
$ echo "03_autocomplete" >> 00list
$ cd ../..

Install all necessary dependencies:
$ sudo aptitude install libqt4-dev python-all-dev sip4 python-sip4 python-sip4-dev python-qt4-dev python-qt4

and start building
$ dpkg-buildpackage -rfakeroot

Now you have you own patched QScintilla built. Install it:
$ sudo dpkg -i ../libqscintilla2-3_2.3.2-0ubuntu2_i386.deb

For those who doesn't use Debian-based distro here is a normal patch here.

среда, 16 сентября 2009 г.

Twitter

If you want to be aware of all recent updates please follow JuffEd's twitter: http://twitter.com/juffed

суббота, 18 апреля 2009 г.

New features

Well, there is a short overview of new features that will be available in the next release:

  • basic block typing
  • commenting/uncommenting text blocks with hotkey
  • 'Go to matching brace' and 'Select to matching brace' actons
  • configuration of syntax highlighting associations
  • setting the default font and background color in settings dialog
  • setting the current line's color in syntax scheme
  • combo-boxes (instead of line edits) in find/replace dialog (with history)
  • option 'Whole words only' in find/replace dialog
  • option 'Case sensitive' for auto-completion


Also several small improvements:
  • zoom in/zoom out with ctrl+mouse wheel
  • having selected text in find/replace dialog (if it was a single line selection)
  • 'Close tab' button on tab-bar, closing tab with double-click, action 'Close' in tab's context menu
  • creating a new tab with double-click on tab-bar


All these features need to be tested, so you're very welcome with bugreports. Bug tracker is on its old place: http://sourceforge.net/tracker/?group_id=205470&atid=993768 :)

пятница, 17 апреля 2009 г.

JuffEd 0.6.1: bugfix release

There were several bugs fixed after 0.6.0 release:


  • Fixed: updating charset name in statusbar
  • Fixed: bug with comments in JavaScript highlighting
  • Fixed: bug with freezing when replacing an empty string
  • Hopefully fixed bug with lost focus after closing a document
  • Hopefully fixed troubles with building on FreeBSD
  • Fixed: configuring in non-English locales
  • Added: link to home page to 'About' dialog
  • Fixed: locale detection on Windows

среда, 15 апреля 2009 г.

JuffEd and Twitter

Now you can follow the latest project news on Twitter: http://twitter.com/juffed

среда, 8 апреля 2009 г.

JuffEd 0.6.0 release

It is out!

Main changes:

  • splittable document view
  • using icons installed in system (on Linux/BSD)
  • changing line endings (auto-detection and manual changing)
  • auto-detection of syntax highlighting based on document's first line (for some file types)
  • displaying of invisible symbols (tabs, spaces, line wraps)
  • context menu for status bar (syntax, charset, line endings)
  • improved and more powerful plugin API
  • CMake syntax highlighting
  • Chinese (Simplified) localization
  • new application icon
  • added icons of sizes 16 and 24 to the default icon theme (got rid of blured icons)
  • many small UI improvements

Also it's decided to take a new version numeration style: now odd numbers (0.5, 0.7, ...) mean development versions, even numbers (0.6, 0.8, ...) mean stable releases.

пятница, 20 марта 2009 г.

JuffEd 0.5 beta 1

All right, it's time to let it go. In addition to already announced new features it has improved and more powerful plugin API (much easier to use in comparison to version 0.4), fixed some bugs, a little bit cleaner code and a new icon (thanks to "SoftIcon").

среда, 18 марта 2009 г.

JuffEd 0.5: 2 weeks of development

Here are the results of 2 weeks of development:
7965 lines added, 4654 lines removed, patch size 658K. Just kidding ;)
One the one hand, it's true and these are actual results of

$ svn diff -r 250:HEAD > diff.diff
$ grep "^+.*" diff.diff | grep -v "+++" | wc -l
7965
$ grep "^\-.*" diff.diff | grep -v "\-\-\-" | wc -l
4654

but 1) I re-used lots of code from 0.4; and 2) diff includes everything, including localization files and files that were moved.

Total amount of lines of code (.h and .cpp files) is 11418 for now (version 0.4 has 9234 lines). Now it has the same functionality as 0.4 plus some new features:

  • using system icons
  • splittable document view
  • line endings (auto-detection and manual changing)
  • auto-detection of syntax highlighting based on document's first line (for some file types)
  • displaying of invisible symbols (tabs, spaces, line wraps)
  • context menu for status bar (syntax, charset, line endings)
  • Chinese (Simplified) localization
  • lots of minor but pleasant changes (tooltips for tabs, scrolling docs with mouse wheel on tabbar, new menu organization, etc.)


Also plugin API was significantly improved (still in development).

среда, 4 марта 2009 г.

JuffEd 0.5 progress

Well, I'm making a good progress:
- making a backup copy
- printing
- document reload
are ready :)

These ones:
- single instance
- checking for external file changes
- status bar
are for tomorrow.

Auto-saving is probably better to do as a plugin.

JuffEd 0.5 is started

Yes, I've finally done that: trunk branch now contains development version of version 0.5. What's new? Lots of things.
First of all there are huge architecture changes. Now JuffEd uses a conception of engines, and it will be possible to have documents of different types opened at the same time: plain text, rich text, etc. Each type of documents has its own set of menus and toolbars and its own plugins.
One engine is already implemented: it's a QScintilla engine. It kept all the features from version 0.4 and has a new one: now you can split your document and have two working areas one above another.
One more significant change is that now you can use icon themes installed on your system.
Also I moved to CMake building system (thanks to David Stegbauer from Pardus Linux team), see the file README for building instructions.
Please note that this is a first draft, so there is a list of old features that are not implemented yet, but I'm working on it:
- making a backup copy
- single instance
- checking for external file changes
- auto-saving
- printing
- document reload
- status bar

среда, 28 января 2009 г.

JuffEd for Maemo

I'm a happy owner of Nokia N810 and of course I MUST have been tried to install JuffEd to it :)

I've found a ready package for Maemo (quite old version, but anyway it's a good step to start with). It had a problem with dependencies (Libqt4-core instead of libqt4-core), but I've re-packaged it.
To install it you need Qt4 library installed. I had to follow these steps to do it (probably there is an easier way :))
First of all I've added Qt4 repository (just follow this link with your tablet). But I couldn't find Qt4 libraries in package manager. So I logged in as a root to my tablet using ssh and installed it manually:

# apt-get install libqt4-core libqt4-gui

That's it. Now you can install JuffEd. You can find it here.


P.S.: please keep in mind that when I was writing JuffEd I didn't think it will be used at internet tablets with this tiny resolution ;)

P.P.S.: