пятница, 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