Fix Class Builder plugin to use correct indentation instead of
[geany-mirror.git] / ChangeLog
blobf93e8dc713c7dd253ae757d9ce3ed5c0f6434757
1 2010-04-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3  * src/templates.c, doc/geany.txt, doc/geany.html:
4    Support {ob} and {cb} in fileheader and file templates; they are
5    replaced last with { and }. This allows 'escaping' of wildcard
6    strings (fixes #2937008).
7  * src/editor.c, plugins/classbuilder.c:
8    Fix Class Builder plugin to use correct indentation instead of
9    always tabs.
10    Make editor_insert_text_block() only replace leading tabs for the
11    'Tabs' indent type; also group edits for undo.
14 2010-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16  * tagmanager/pascal.c:
17    More fixes to prevent possible crashes by trying to free NULL
18    pointers.
19  * src/sidebar.c:
20    Automatically show and hide the sidebar notebook tabs according
21    to the amount of visible pages (patch by Adrian Dimitrov, thanks).
22  * src/editor.c:
23    Add a static global variable to monitor autocompletion mode in order
24    to prevent cancellation of the struct/class (C/C++) auto completion
25    list (patch by Thomas Martitz, thanks).
26  * src/socket.c:
27    When starting and trying to access the Unix Domain socket of a
28    potentially running instance, first compare file ownership with the
29    user id of the running process to prevent accessing a wrong socket
30    file (part of #2985463, this might not yet be the final solution).
33 2010-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
35  * plugins/filebrowser.c:
36    Synchronize popup menu and plugin preferences dialog 'Show Hidden
37    Files' option (fixes #2989288).
40 2010-04-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
42  * tagmanager/entry.c, tagmanager/entry.h,
43    tagmanager/include/tm_source_file.h, tagmanager/parse.c,
44    tagmanager/parse.h, tagmanager/tm_source_file.c:
45    Add tm_source_file_set_tag_arglist() to manually set the argument
46    list of a tag.
47  * tagmanager/python.c:
48    Use tm_source_file_set_tag_arglist() to set the argument list
49    field of Python class tags to the argument list of their
50    __init__() methods.
51    Backport a fix from CTags SVN to prevent possible crashes by trying
52    to free NULL pointers.
55 2010-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
57  * tagmanager/txt2tags.c:
58    Remove duplicate code from Txt2Tags parser.
59    Remove the title control characters ('=') when parsing titles.
60    Also parse numbered titles (closes #2984703).
61  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
62    src/plugindata.h:
63    Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
64    Add missing documentation for 'Reset Zoom' keybinding.
65  * tagmanager/php.c:
66    Another attempt to fix the PHP parser regexp for parsing functions.
67    Fix wrong parsing of function arguments when those contain nested
68    brackets (as reported by Harold Aling).
69  * src/notebook.c:
70    Fix Ctrl-Click on notebook tab if Numpad is active.
73 2010-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
75  * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
76    src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
77    src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
78    src/ui_utils.c, src/ui_utils.h:
79    Add option 'System Default' for toolbar icon style and size to
80    use the GTK default value.
81  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
82    src/toolbar.c, src/toolbar.h:
83    Shorten the toolbar popup menu, only provide items for Toolbar
84    Preferences and to Hide the toolbar.
85  * src/toolbar.c:
86    Instantly update the toolbar icon size and style when the
87    corresponding global GTK settings are changed.
88  * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
89    src/plugindata.h, src/socket.c:
90    Add new command line option --list-documents to return a list
91    of currently opened documents (closes #2979933).
94 2010-04-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
96  * plugins/htmlchars.c:
97    Make plugin remember whether replacement of special characters was
98    activated even after restart of Geany or reloading of plugin.
101 2010-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
103  * src/editor.c:
104    Fix inserting snippets with an indent when using Mac CR line
105    endings.
106  * src/callbacks.c:
107    Update status bar after using Document->Set Line Endings.
108  * src/editor.c:
109    Improve API docs for editor_insert_text_block().
112 2010-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
114  * src/editor.c:
115    Refactor snippets_complete_constructs().
116    Remove an unnecessary TODO.
117  * src/editor.c:
118    Fix indenting a snippet when there is whitespace after the
119    snippet key name.
122 2010-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
124  * doc/geany.txt, doc/geany.html:
125    Improve wording.
126  * src/build.c, src/msgwindow.c:
127    Fix disabled compiler message tracking if using indicators to
128    show build errors is disabled (closes #2982834).
131 2010-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
133  * scintilla/Editor.cxx:
134    Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
135    and SCI_GETSELECTIONEND with rectangular selections. This fixes
136    replacing in a rectangular selection.
139 2010-04-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
141  * src/filetypes.c:
142    Re-detect any document filetypes set to None after reloading
143    filetype extensions (closes #2979661).
144  * src/editor.c:
145    Fix showing '...' item last instead of first for document word
146    completion.
149 2010-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
151  * data/filetypes.perl:
152    Adjust Perl Compile command to use the -c command
153    line option to perform a syntax check instead of using the
154    deprecated ByteCompile module.
155    Add error_regex to parse error messages and warnings when performing
156    syntax checks on Perl files.
159 2010-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
161  * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
162    Add API docs for keybinding enums.
163  * src/notebook.c, doc/geany.txt, doc/geany.html:
164    Make Ctrl-click on any notebook tab switch to the last used
165    document.
168 2010-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
170  * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
171    src/geanyentryaction.c, src/geanyentryaction.h,
172    src/geanywraplabel.c:
173    Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
174    object for efficiency.
177 2010-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
179  * plugins/classbuilder.c:
180    Beep if the user hasn't entered a class name on pressing OK.
181  * src/search.c:
182    Fix replacing '^' regex.
183  * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
184    plugins/geanyfunctions.h:
185    Add Stash widget functions to API.
186  * configure.ac:
187    Revert commit to use AC_PATH_PROG instead of 'which' (fixes
188    #2973764).
191 2010-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
193  * THANKS, src/vte.c:
194    Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
195    fixes #2976905).
196  * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
197    src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
198    plugins/geanyfunctions.h, plugins/geanyplugin.h:
199    Add Stash setting functions to API.
200    Remove unnecessary argument to stash_group_load_from_file().
201  * src/geanyobject.c, plugins/classbuilder.c:
202    Don't generate FOO_GET_PRIVATE() macro because caching the result
203    in Foo::priv can be much more efficient.
206 2010-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
208  * src/editor.c:
209    Fix cursor positioning when toggling comments
210    (patch by Thomas Martitz, thanks).
213 2010-03-25  Peter Scholtens  <peter(dot)scholtens(at)xs4all(dot)nl>
215  * src/keybindings.[hc]:
216    Added Control+0 for zoom reset, see suggestion from #2969886.
219 2010-03-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
221  * src/search.c, src/document.c:
222    Fix wrong selection range after Replace in Selection.
225 2010-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
227  * src/win32.c:
228    Make CreateChildProcess() working with Unicode strings, e.g.
229    directory names (closes #2972606).
230  * geany.nsi:
231    Remove reference to already removed latex.tags file.
232    Future releases probably still depend on GTK 2.16.
233  * scintilla/ScintillaGTK.cxx:
234    Backport fix from Scintilla CVS to not paste text beyond the end
235    of lines (closes #2969096).
236  * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
237    src/plugindata.h:
238    Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
239    to not set Geany's minimum window size anymore (closes #2972992).
240    As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
243 2010-03-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
245  * src/stash.c:
246    Make adding string and string vector settings initialise the setting
247    to NULL for safety.
248  * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
249    Add stash_group_load_from_file() and stash_group_save_to_file().
252 2010-03-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
254  * data/filetypes.common:
255    Set default for wrapped lines to show marker at end of line only
256    (more expected and doesn't change line alignment - closes #2972386).
257  * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
258    src/pluginutils.c, doc/plugins.dox:
259    Improve API docs contents page by listing all commonly-used files.
260    Fix 'Date' appearing twice on the date line.
261    Don't generate API docs for prefs.h, toolbar.h (unused).
262    Move some '@file' doc-comments to the .c file.
263  * src/interface.c, geany.glade:
264    Add frame for 'Printing' prefs dialog page.
265  * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
266    src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
267    doc/stash-example.c:
268    Rename Stash data types to be independently named from Geany (so
269    Stash can be reused for other projects).
270    Rename GeanyPrefGroup to StashGroup.
273 2010-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
275  * tagmanager/python.c:
276    Apply patch from Colomban Wendling to parse Python lambda functions
277    (thanks) - modified to only parse toplevel or class member lambdas.
278  * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
279    doc/stash-example.c:
280    Add doc-comments for Stash setting functions.
281    Add an example file showing usage of Stash.
282    (Not enabled yet until added to the plugin API).
285 2010-03-17  Lex Trotman  <elextr.at.gmail.dot.com>
287  * src/build.c:
288    Fix using return value without checking return status, caused
289    incorrect sensitivity settings on build dialog.
292 2010-03-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
294  * HACKING:
295    Add tip about gcc optimization & warnings/debugging.
296    Add Testing section.
297    Update Libraries section about synchronizing with other projects.
300 2010-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
302  * src/ui_utils.c:
303    For now revert the recent patch which set real_path of newly
304    open non-existent configuration files as this seems hackish and
305    causes 'file not found' warnings.
306  * wscript:
307    Fix/Improve GIT repository detection
308    (patch by Thomas Martitz, thanks).
309  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
310    src/utils.c:
311    Add utils_copy_environment() to the plugin API.
314 2010-03-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
316  * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
317    src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
318    src/main.c:
319    Use 3rd person for more API dox.
320    Change 'This is a wrapper function for...' to 'Wraps...' in brief
321    descriptions.
322    Change 'After all...' to 'Afterwards...'.
323  * src/interface.c, geany.glade:
324    Apply patch from Eugene Arshinov to make frame packing/alignment
325    more consistent (thanks).
328 2010-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
330  * src/ui_utils.c:
331    Fix ui_button_new_with_image() to call gtk_button_set_image() so
332    that gtk_button_[sg]et_label() work as expected.
333  * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
334    Make Build Commands dialog show menu item labels as a button (to
335    help show that menu labels don't normally need to be edited &
336    display the mnemonic correctly). Clicking shows an input dialog to
337    set a new menu item label.
338    Split dialogs_show_input() into 2 functions: one simple, one for
339    a persistent dialog.
340    Fix possible double-destroy of input dialog when closed by user.
341  * src/dialogs.c:
342    Fix not destroying 'Make Custom Target' input dialog after first
343    use (oops).
344  * src/project.c:
345    Make Long Line Marker settings for existing projects default to
346    general settings instead of 0 (thanks to Eugene Arshinov).
347  * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
348    src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
349    src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
350    src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
351    Use 3rd person (gets not get) for API function brief descriptions.
352    Avoid using 'convenience function' in API brief descriptions.
355 2010-03-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
357  * doc/geany.txt, doc/geany.html:
358    Warn about some GNU extensions for regular expressions & clarify
359    some points.
360  * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
361    src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
362    src/editor.h, geany.glade:
363    Apply patch from Eugene Arshinov to add project long line marker
364    customisation (thanks).
365  * src/interface.c, geany.glade:
366    Edit/tidy 'Long line marker' labels.
369 2010-03-10  Lex Trotman  <elextr.at.gmail.dot.com>
371  * src/build.c, src/project.c:
372    Fix crash due to NULL in project build preferences (thanks to
373    Wolfgang Ocker).
376 2010-03-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
378  * src/utils.c, src/utils.h, src/search.c, src/search.h,
379    src/document.c, doc/geany.txt, doc/geany.html:
380    Merge gnu-regex branch:
381    Use POSIX system/GNU regex engine for find & replace 'Use regular
382    expressions' option. This alters regex syntax a bit - see the docs
383    for details; we now support '?' operator and replacement backslash
384    escaping is more standard.
385    Make regex search imply replacing escaped chars.
386    Allow \0 backreference replacement for the whole match.
387    Note: Replace All may be slower; if this is a problem please let me
388    know.
389  - code:
390    Add argument to utils_str_replace_escape() for keeping
391    uninterpreted backslash escapes e.g. '\\', '\e'.
392  * scintilla/LexMarkdown.cxx:
393    Backport minor formatting/style changes from Scintilla project.
394  * doc/geany.txt, doc/geany.html:
395    Remove warning about no visual indication for zero-column-mode
396    editing.
399 2010-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
401  * wscript:
402    Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
405 2010-03-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
407  * wscript, scintilla/*, scintilla/include/*:
408    Update Scintilla to version 2.03.
409  * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
410    src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
411    Add preference for virtual spaces.
412  * src/log.c:
413    Fix wrong default response for the Debug Messages dialog.
414  * src/dialogs.c:
415    Fix crashes when using Save As with no open files (closes #2964406).
416  * src/document.c:
417    Fix duplicate mnemonics on 'Resave missing file' dialog, also
418    move the question from the secondary to the main text to be
419    more compatible with the Gnome HIG.
420    Fix broken 'Save' action in 'Resave missing file' dialog.
421  * tagmanager/php.c:
422    Improve PHP parser to parse also the argument lists of PHP functions.
423  * src/prefs.c:
424    Correctly set the parent widget for the keybinding overwrite
425    confirmation dialog.
426  * src/dialog.c:
427    Fix setting the icon for some dialogs if the parent itself is also
428    a dialog.
429  * src/ui_utils.c:
430    When editing non-existent config files using the Tools->Configuration
431    Files menu, explicitly set the real_path to avoid presenting the Save
432    As dialog when saving the file (patch by Tony Rick, thanks).
433  * src/callbacks.c:
434    Focus the editor widget after hiding the sidebar when it had the
435    input focus (patch by Can Koy, thanks).
436    Properly show/hide the mesages window when using the View menu item
437    (closes #2961282).
438  * plugins/filebrowser.c:
439    After opening files, focus the editor widget
440    (based on a patch by Can Koy, thanks).
441  * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
442    src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
443    src/ui_utils.h, src/vte.c:
444    Add and use convenience function ui_is_keyval_enter_or_return() and
445    add it to the plugin API.
448 2010-03-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
450  * src/about.c, THANKS, po/ast.po:
451    Added Asturian translation. Thanks to Marcos Costales for providing.
454 2010-02-28  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
456  * src/log.c:
457    Fix keyboard accelerators in debug messages window
458    (Thanks Can Koy).
461 2010-02-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
463  * scintilla/LexR.cxx:
464    Backport R lexer from Scintilla CVS to fix case sensitive keywords
465    (Scintilla bug #2956543).
466  * src/sidebar.c, src/about.c, THANKS:
467    Make Space on the symbol and document list not focus the editor
468    widget while Enter does (closes #2919444, patch by Can Koy, thanks).
469  * src/document.c, src/document.h:
470    Fix document_try_focus() to make it work with the sidebar document
471    list as well.
472  * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
473    Make Space on the compiler and messages widgets not focus the editor
474    widget while Enter does (patch by Can Koy, thanks).
475  * src/editor.c:
476    Fix wrongly auto-detected multiline comments
477    (patch by Eugene Arshinov, thanks).
480 2010-02-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
482  * src/ui_utils.c:
483    Show number of lines of current document inside statusbar. Thanks to
484    Can Koy for providing the patch.
487 2010-02-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
489  * src/keybindings.c, doc/geany.txt, doc/geany.html:
490    Make Switch to Editor keybinding reshow the document statistics
491    line, so user doesn't have to move the cursor.
494 2010-02-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
496  * data/filetypes.r:
497    Update keywords for the R language (patch by Jon Senior, thanks).
500 2010-02-21  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
502  * doc/geany.txt:
503    Fix the instruction how to insert unicode characters
504    (thanks Tony Rick).
507 2010-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
509  * scripts/create_py_tags.py:
510    Minor fixes.
511    Replace tabs by spaces.
512  * plugins/genapi.py:
513    Minor fixes.
514    Replace tabs by spaces.
515  * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
516    src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
517    tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
518    Add R tagmanager symbol parser (patch by Jon Senior, thanks).
519  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
520    src/plugindata.h, src/sidebar.c, src/sidebar.h:
521    Add keybindings to switch to the sidebar's Document and Symbol list
522    as well as to the Message Window's current tab
523    (patch by Eugene Arshinov, thanks).
524  * data/filetypes.r:
525    Update primary keywords for the R language
526    (patch by Jon Senior, thanks).
529 2010-02-20  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
531  * doc/geany.txt:
532    Add more detailed hints about reloading configuration
533    (thanks to Tony Rick).
534  * data/filetypes.javascript:
535    Correct the keyword list for JavaScript (thanks to Jonas).
538 2010-02-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
540  * New release: Geany 0.18.1 "Balfour".
543 2010-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
545  * src/keybindings.c:
546    Add special cases for handling the Select All keybinding (Ctrl-A) in
547    the toolbar search and goto line text entries (closes #2948040).
548    Strip trailing spaces after reflowing a paragraph, patch by
549    Dominik Wagenfuehr, thanks (closes #2945497).
552 2010-02-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
554  * src/geanymenubuttonaction.c, src/templates.c:
555    Partly revert last commit:
556    Unref the new files toolbar menu when freeing templates as it
557    was done before but unref it *after* the menu has been removed
558    from the GeanyMenuButtonAction.
559  * src/encodings.c:
560    Fix possible endless loop when trying to detect the encoding of
561    non-text files (patch by Alexey Antipov, thanks).
564 2010-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
566  * src/document.c:
567    Allow saving remote files using g_file_set_contents() as well
568    (patch by Алексей Антипов, thanks).
569  * data/filetypes.python:
570    Adjust style for secondary keywords to be less aggressive.
571    Add Python 2.5 builtins keywords.
572  * src/geanymenubuttonaction.c, src/templates.c:
573    Unref the new files toolbar menu when setting a new menu to fix
574    possible crashes when reloading configuration.
575  * src/filetypes.c:
576    When reloading configuration, process the current document at last
577    so the symbol list will be updated correctly.
580 2010-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
582  * src/symbols.c:
583    Explicitly read filetype configuration files before generating
584    global tags to get settings for custom filetypes.
587 2010-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
589  * src/plugins.c:
590    Fix GLib warning when toggling 'no plugins available' item.
593 2010-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
595  * icons/Makefile.am:
596    Include geany.ico in the distribution tarball.
597  * Makefile.am:
598    Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
599  * scripts/create_py_tags.py:
600    Make the script a bit more robust with newer Python versions.
601  * src/templates.c:
602    Use utils_spawn_sync() instead of g_spawn_sync().
605 2010-01-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
607  * plugins/export.c:
608    Close meta tag for export date properly.
611 2010-01-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
613  * geany.spec.in:
614    Update RPM Spec file (patch by Dominic Hopf, thanks).
617 2010-01-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
619  * src/plugindata.h:
620    Fix renaming sci_send_message(), sci_send_command() function pointers.
623 2010-01-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
625  * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
626    src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
627    plugins/geanyfunctions.h, plugins/Makefile.am,
628    plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
629    Use full function name for GeanyFunctions function pointers. This
630    avoids naming conflicts e.g. with C++'s 'new' keyword.
631    Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
634 2010-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
636  * src/utils.c, src/utils.h, src/vte.c:
637    Add utils_copy_environment() and make use of it.
638  * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
639    src/editor.c, src/templates.c, src/templates.h:
640    Add new special template wildcard "{command:...}" to use the
641    output of a command in templates.
642    Adjust template functions to mostly work with GeanyDocuments.
643    Minor cleanups in the template code.
644  * src/gb.c:
645    Replace the old icons with smiley icons from the Rodent icon theme.
646    Fix showing the same icon for two or more slots.
647    Minor cleanups.
648  * src/editor.c, src/editor.h, src/keybindings.c:
649    Rename fold_symbol_click() to editor_toggle_fold().
650    Use editor_toggle_fold() when the 'Toggle current fold' keybinding
651    was used to respect the 'Fold/unfold all children' preference
652    (closes #2935053).
655 2010-01-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
657  * src/build.c:
658    Prevent possible segfault in get_build_group().
659  * src/callbacks.c:
660    Fix GLib warning & beep if trying to insert multiline comment for a
661    filetype that doesn't support it.
664 2010-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
666  * doc/plugins.dox:
667    Add gcc commands to build a plugin to the HowTo.
668  * src/search.c, src/document.c, src/document.h:
669    Show 'Replaced X matches in Y documents' message when using Replace in
670    Session.
673 2010-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
675  * scripts/plugin_test.c:
676    Add a little test program which can load and test Geany plugins to
677    verify it is loadable at runtime and all necessary symbols are
678    defined.
679  * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
680    src/plugindata.h:
681    Add new signal: "geany-startup-complete" which is sent once all
682    initialization and startup tasks has been done.
683  * README.I18N, configure.ac, wscript, po/LINGUAS:
684    Remove po/LINGUAS from the repository.
685    Generate it automatically if needed by reading available
686    message catalogs from the po directory.
687    Also respect the LINGUAS environment variable properly.
690 2010-01-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
692  * src/editor.c:
693    Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
694    plugin.
697 2010-01-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
699  * src/editor.c, src/templates.c, src/templates.h:
700    Refactor templates_replace_all() into templates_replace_valist()
701    to save some code duplication.
704 2010-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
706  * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
707    src/plugindata.h, src/plugins.c:
708    Add editor_insert_text_block() to plugin API.
711 2010-01-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
713  * *.*:
714    Update copyright information.
715  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
716    doc/geany.txt, doc/geany.html:
717    Add keybinding to open the last closed tab (closes #2912692).
720 2009-12-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
722  * autogen.sh, configure.in, configure.ac:
723    Rename configure.in to configure.ac.
724  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
725    src/sciwrappers.c:
726    Add sci_find_text() to the plugin API.
727  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
728    src/interface.c, src/prefs.c:
729    Add a checkbox in the preferences dialog to explicitly toggle
730    the visibility of the sidebar (closes #2923340).
733 2009-12-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
735  * src/editor.c, src/plugins.c, src/plugindata.h,
736    plugins/geanyfunctions.h:
737    Add editor_get_eol_char_name(), editor_get_eol_char_len() and
738    editor_get_eol_char() to the plugin API.
739  * src/callbacks.c, src/plugins.c, src/plugins.h:
740    Fix sensitivity of the Edit->Plugin Preferences menu item
741    if plugins are loaded which do not provide a configuration dialog.
742  * scripts/create_py_tags.py:
743    Rewrite and extend the Python tags parsing script to use
744    Python's inspect module to read symbols from Python modules
745    including scope information.
746  * data/filetypes.restructuredtext:
747    Add the default comment character sequence for reStructuredText.
748  * src/callbacks.c:
749    Show the Find/Goto dialogs if the corresponding toolbar buttons are
750    clicked but their text fields are not part of the toolbar (#2920807).
751  * data/filetypes.common, doc/geany.html, doc/geany.txt,
752    src/highlighting.c:
753    Add new style to change foreground and background colours for
754    calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
755  * src/search.c:
756    Remember the window position of the Find, Replace and Find in Files
757    dialogs (closes #2877988).
760 2009-12-26  Frank Lanitz  <frank@frank.uvena.de>
762  * doc/plugins.dox:
763    Fix a minor typo inside plugin API reference.
766 2009-12-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
768  * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
769    Make dialogs_show_prompt() more flexible to take up to three
770    button/response code pairs to be shown.
771    Add a close button to the dialog when asking to Re-Save a
772    deleted file
773    (closes #2916954, based on a patch by Dominik Stadler, thanks).
774  * src/editor.c:
775    Fix LaTeX environment auto completion with CR/LF line endings.
776    Add some sanity checks.
777  * src/document.c:
778    When closing a document after it was deleted from the filesystem,
779    don't ask whether it should be saved first.
780    Mark the document only as changed if it is not closed afterwards.
781    Prevent possible segfaults if the document was closed when it is
782    missing from the filesystem.
783  * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
784    src/msgwindow.h, src/prefs.c:
785    Add MessageWindow::scribble and use it instead of searching the
786    widget pointer everytime.
787  * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
788    Add preferences for hiding single tabs from the messages window
789    (no GUI preferences yet, still to be implemented).
790  * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
791    Set the correct parent window for the toolbar editor
792    dialog (closes #2913334).
793  * src/win32.c, src/win32.h, src/ui_utils.c:
794    Rename win32_show_project_folder_dialog() to
795    win32_show_folder_dialog() as it is not related and not used by any
796    project management related code.
797  * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
798    Rename win32_show_file_dialog() to win32_show_document_open_dialog()
799    as it is specialised for opening documents.
800    Implement win32_show_file_dialog() as a generic file open dialog and
801    use it with ui_path_box_new().
804 2009-12-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
806  * src/editor.c:
807    Extend auto_latex() function to check whether an environment has been
808    closed within the next lines to avoid auto adding double \end{}.
809  * data/latex.tags:
810    Remove LaTeX tags from SVN. Can be found at
811    http://download.geany.org/contrib/tags/ if needed.
814 2009-12-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
816  * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
817    Add document_need_save_as().
818    Show the Save As also for documents created from filetype templates
819    instead of saving them directly with the untitled filename.
822 2009-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
824  * geany.glade, src/interface.c:
825    Move 'Send Selection to Terminal' menu item from Format to Commands
826    submenu.
827  * src/msgwindow.c:
828    When going to a build error, try the current document's path if
829    the parsed filename doesn't exist. (This can happen when we receive
830    build messages in the wrong order - after the 'Leaving directory'
831    messages).
832  * src/msgwindow.c:
833    Refactor msgwin_goto_compiler_file_line().
834  * src/interface.c, src/keybindings.c, geany.glade:
835    Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
836    labels.
837  * src/search.c:
838    Refactor/reformat on_replace_dialog_response().
841 2009-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
843  * geany.spec.in:
844    Improve geany.spec (split the package into a binary and devel
845    package, update BuildRequires and other minor improvements).
846    Patch by Dominic Hopf, thanks.
849 2009-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
851  * src/filetypes.c, src/filetypes.h:
852    Make group for custom filetypes.
853  * data/filetypes.Genie.conf, data/filetype_extensions.conf:
854    Add custom filetype Genie.
857 2009-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
859  * src/highlighting.c:
860    Highlight D & Java types from a global tags file.
861  * src/highlighting.c, doc/geany.txt, doc/geany.html:
862    Add debug message warning if recursive lexer_filetype is set.
863  * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
864    Remove duplicate sci_set_keywords(), make argument const.
865  * src/highlighting.c:
866    Only show debug message once if recursive lexer_filetype is set.
867    Tidy highlighting_init_styles code for filetype None handling.
868  * scintilla/makefile.win32, scintilla/KeyWords.cxx,
869    scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
870    src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
871    tagmanager/parsers.h, tagmanager/makefile.win32,
872    tagmanager/verilog.c, tagmanager/Makefile.am,
873    data/filetypes.verilog, data/filetype_extensions.conf, wscript:
874    Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
875  * src/highlighting.c:
876    Fix segfault on startup (oops).
877  * data/filetypes.verilog:
878    Fix using common style colours for Verilog.
881 2009-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
883  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
884    data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
885    Move C-like filetype properties into configuration files.
886  * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
887    data/filetypes.c:
888    Remove now unnecessary "styling_within_preprocessor" C style key.
889  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
890    data/filetypes.glsl, data/filetypes.cs:
891    Use lexer_filetype=C configuration file key instead of duplicate
892    styleset functions for C++, C#, GLSL, Vala.
895 2009-12-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
897  * doc/geany.txt, doc/geany.html:
898    Warn about not using BOM for configuration files (confuses GKeyFile
899    parser, at least on my system).
900  * src/filetypes.c:
901    Add/improve debug messages for custom filetypes.
904 2009-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
906  * data/latex.tags:
907    Add a couple of further latex-beamer commands to list of LaTeX tags.
910 2009-11-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
912  * plugins/filebrowser.c:
913    Add an in-entry clear icon to the filebrowser plugin's filter
914    entry (patch by Dominic Hopf, thanks).
915  * src/prefs.c, src/ui_utils.c:
916    Fix two compiler warnings about possibly uninitialised variables.
919 2009-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
921  * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
922    plugins/geanyfunctions.h:
923    Add main_is_realized() to the plugin API.
924  * tagmanager/include/tm_tagmanager.h:
925    Update partly outdated and wrong doc comment.
926  * src/main.c, src/main.h, src/socket.c:
927    Allow opening Geany projects remotely.
928  * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
929    Add a hidden pref to allow executing text which was sent to the
930    terminal directly, i.e. do not strip trailing newline characters.
931    Also fix the stripping of trailing newline characters if there was
932    more than one.
935 2009-11-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
937  * src/about.c, THANKS:
938    Add Peter Scholtens and Ayke van Laethem to list of translators. Move
939    Kurt de Bree into section of previous translators.
942 2009-11-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
944  * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
945    Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
946    thanks).
949 2009-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
951  * src/highlighting.c:
952    Make stylesets take a ft_id argument so they can be reused fully with
953    custom filetypes, so custom styles and keywords can be set.
954  * src/highlighting.c:
955    Fix setting filetype properties when both the system and the user file
956    have properties set.
957  * src/symbols.c, tagmanager/vhdl.c:
958    Parse VHDL signals.
959  * src/highlighting.c:
960    Fix lexer settings for custom filetypes.
963 2009-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
965  * tagmanager/php.c:
966    Remove duplicate regular expression for parsing classes.
967    Fix and improve parsing of constants (patch by Harold Aling, thanks).
968  * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
969    src/main.h, THANKS, src/about.c:
970    Add new command line option "--socket-file" to be able to specify
971    separate socket filenames for instances
972    (closes #2896027, patch by Jörn Reder, thanks).
973  * src/keybindings.c, src/keybindings.h:
974    Add keybindings_check_event() to manually check GdkKeyEvents against
975    Geany's keybindings.
976  * src/callbacks.c, src/utils.c, src/utils.h:
977    Add and use utils_get_help_url().
978  * geany.glade, src/interface.c, src/prefs.c:
979    Add a Help button to the preferences dialog.
980    Handle Help keybinding events for the preferences dialog especially
981    and open the manual with the corresponding anchor link to the current
982    preferences page (same goes for the new Help button).
985 2009-11-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
987  * src/toolbar.c, src/geanymenubuttonaction.c,
988    src/geanymenubuttonaction.h:
989    Use separate tooltips for toolbar menu buttons and their attached
990    drop-down arrows.
991  * tagmanager/latex.c:
992    Improve parsing of sections and chapters by ignoring shortnames
993    like \section[shortname]{label} (closes #2890477).
996 2009-11-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
998  * src/geanymenubuttonaction.c:
999    Try to fix Gtk warning when using Tools->Reload Configuration.
1002 2009-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1004  * src/highlighting.c, doc/geany.txt, doc/geany.html,
1005    data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1006    data/filetypes.pascal, data/filetypes.docbook,
1007    data/filetypes.python, data/filetypes.conf:
1008    Use filetypes.foo [lexer_properties] group instead of hardcoding
1009    lexer properties (more flexible e.g. for custom filetypes).
1010  * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1011    Replace filetypes.xml html_asp_default_language key with
1012    filetypes.html asp.default.language property in [lexer_properties]
1013    group.
1016 2009-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1018  * doc/geany.txt, doc/geany.html:
1019    Fix slightly wrong description of how to insert Unicode characters.
1020  * src/ui_utils.c:
1021    Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1022    ui_setup_open_button_callback().
1023  * src/prefs.c, src/prefs.c, src/vte.c:
1024    Refactor color and font button callback functions in the
1025    preferences dialog. Move the VTE related callback functions
1026    into vte.c.
1027    Make use of ui_setup_open_button_callback().
1028  * src/printing.c:
1029    Improve printing status texts (patch by Dominic Hopf, thanks).
1030  * src/prefs.c, src/vte.c:
1031    Use the default dialog title set by ui_setup_open_button_callback()
1032    to be more consistent and to save one string.
1035 2009-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1037  * tagmanager/c.c:
1038    Separate DKinds from CKinds.
1039    Don't generate macro tags for D, Java.
1042 2009-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1044  * tagmanager/ctags.c, tagmanager/general.h:
1045    Make TagManager Assert statements cause g_warning on failure.
1046  * src/keybindings.c:
1047    Fix reflow paragraph command when cursor < anchor using
1048    sci_fix_selection().
1051 2009-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1053  * tagmanager/perl.c:
1054    Fix Geany segfault with constant tags (#2895168).
1055  * src/symbols.c:
1056    Fix invalid tree iter access when using tv_iters.tag_other but not
1057    using tv_iters.tag_variable.
1058  * HACKING, tagmanager/perl.c:
1059    Fix parsing Perl format statements ("other" type doesn't seem to work).
1060  * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1061    Fix using "other" tag type.
1064 2009-11-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1066  * src/vte.c:
1067    Remove useless comment about applying settings only when libvte.so
1068    could be loaded which is only displayed *if* libvte.so is loaded.
1069  * src/editor.c:
1070    Allow autocompletion for HTML entities even within a word.
1071  * src/geanymenubuttonaction.c:
1072    Only set the menu of the button if a non-empty GtkMenu is passed to
1073    geany_menu_button_action_set_menu() so the menu arrow keeps
1074    insensitive.
1077 2009-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1079  * tagmanager/c.c:
1080    Fix parsing some Java code (e.g. filetypes.java) after r4407.
1083 2009-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1085  * tagmanager/c.c:
1086    Parse D functions with contracts (fixes #1885480).
1087    Parse D alias statement like typedef.
1088    (Ignore some more D keywords).
1089  * tagmanager/c.c:
1090    Fix creating D interface tags properly.
1091  * tagmanager/c.c:
1092    Parse contents of D extern{} and version{} blocks.
1095 2009-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1097  * src/main.c:
1098    Remove old code.
1101 2009-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1103  * src/plugindata.h, HACKING:
1104    Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1105    instead.
1106  * src/callbacks.c:
1107    Show number of files saved on status bar when using Save All.
1108  * src/highlighting.c:
1109    Use default color scheme if pref color scheme file doesn't exist.
1110  * src/keybindings.c:
1111    Fix moving correct lines after selecting whole line(s).
1114 2009-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1116  * tagmanager/makefile.win32:
1117    Fix broken build on Windows because of a typo
1118    (patch by Timothy Boronczyk, thanks).
1121 2009-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1123  * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1124    src/editor.h:
1125    Add 'View->Editor->Color Schemes' menu, for now only shown if color
1126    scheme files exist in a colorschemes config directory. Color scheme
1127    files must end in ".conf" and currently only the [named_styles]
1128    section is read.
1129  * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1130    Add utils_get_config_files().
1131  * src/highlighting.c:
1132    Fix issue with default color not being reset if overridden with a
1133    system default color.
1134  * src/highlighting.c:
1135    Only reload filetype files when changing color scheme, not all
1136    configuration files.
1137  * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1138    Deprecate documents_foreach() as it looks more like a function; use
1139    foreach_document() instead.
1140    Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1143 2009-10-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1145  * src/stash.c, src/stash.h:
1146    Use typedef instead of pointer for widget_id function arguments.
1149 2009-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1151  * src/pluginutils.c:
1152    Don't expand Plugin Preferences page spacing vertically to fill the
1153    height of the dialog.
1154  * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1155    geany.glade, plugins/splitwindow.c:
1156    Allow GeanyKeyBinding label field to contain underscores, which won't
1157    be displayed by Geany. This saves adding near-duplicate translation
1158    strings.
1159    Add mnemonics for 3 Edit->Format menu items.
1160    Add keybindings_get_label().
1161  * src/interface.c, geany.glade:
1162    Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1163    dialog.
1166 2009-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1168  * src/ui_utils.c:
1169    Desensitize Edit->Commands menu item when no docs are open.
1170  * src/interface.c, src/keybindings.c, src/callbacks.c,
1171    src/callbacks.h, geany.glade:
1172    Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1173  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1174    Add general function sci_get_string() that works with any string
1175    buffer messages that follow the Windows message convention.
1176  * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1177    src/keybindings.h, src/callbacks.c, src/callbacks.h,
1178    src/pluginutils.c, src/pluginutils.h, geany.glade:
1179    Add 'Edit->Plugin Preferences' menu item and keybinding.
1180    Don't include plugindata.h in pluginutils.h because it redefines the
1181    GEANY() macro for plugin use.
1182  * doc/geany.txt, doc/geany.html:
1183    Update for Plugin Preferences keybinding.
1186 2009-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1188  * src/editor.c:
1189    Sort document word completion list.
1190  * src/interface.c, src/keybindings.c, src/callbacks.c,
1191    src/callbacks.h, geany.glade:
1192    Add some useful commands to editor popup menu under "Commands"
1193    submenu (thanks to Lex).
1194    Move 'Duplicate line or selection' from Format -> Commands submenu.
1195  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1196    Enable switching the sidebar to the right on Windows again, as it
1197    apparently works after all.
1198  * src/editor.c:
1199    Fix using tab to autocomplete in some other situations that word part
1200    completion doesn't apply in.
1201  * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1202    Add Edit->Commands submenu which is shared with the editor popup menu.
1203  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1204    Change editor popup Commands submenu to start as child of menubar Edit
1205    menu, as this is more usual e.g. for keybindings initialization.
1206  * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1207    geany.glade:
1208    Share a single Format submenu for menubar Edit and popup menu.
1211 2009-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1213  * src/build.c:
1214    Fix a compiler warning about an uninitialised variable.
1215  * wscript:
1216    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1217    sciwrappers.h, build.h (for the Waf build system,
1218    accordingly to r4366).
1221 2009-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1223  * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1224    src/toolbar.c, src/toolbar.h:
1225    Add missing dox for types/files in the API.
1226  * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1227    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1228    sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1229    of functions not in the API).
1230    Warning: any plugins that include these headers should remove them.
1231  * src/build.c, src/build.h:
1232    Move function doc-comments to build.c so they stay in sync. Note:
1233    these functions are still not in the API.
1234  * HACKING:
1235    Add 'Doc-comments' plugin API subsection.
1236  * plugins/filebrowser.c:
1237    Fix packing configure widgets equally.
1238    Use spacing multiples of 6 as recommended by Gnome HIG.
1239  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1240    Disable switching the sidebar to the right on Windows as it will
1241    probably fail like the Split Window plugin.
1242  * src/document.c:
1243    Improve 'Detect from file' indentation pref by ignoring lines with
1244    indentation wider than 24 characters as this is more likely to be
1245    alignment than indentation.
1248 2009-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1250  * plugins/saveactions.c:
1251    Fix adding the filetype's default extension when using the
1252    Instant Save plugin (closes #2885142).
1253  * src/main.c:
1254    Before looking for line and column numbers specified as part
1255    of a filename, ensure the file doesn't exist on disk. This allows
1256    opening of files like "test:0".
1257  * src/sidebar.c:
1258    Rename "select" variables into "selection" to avoid shadowed names.
1259  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1260    Add ui_widget_modify_font_from_string() and sci_goto_line()
1261    to the plugin API.
1262  * plugins/filebrowser.c:
1263    Rename "select" variables into "selection" to avoid shadowed names.
1264    Make use of ui_widget_modify_font_from_string().
1267 2009-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1269  * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1270    src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1271    geany.glade:
1272    Add sidebar position interface pref.
1275 2009-10-23  Lex Trotman  <elextr.at.gmail.dot.com>
1277  * doc/geany.txt, doc/geany.html:
1278    Add missing underscores to links.
1281 2009-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1283  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1284    Add 'Move line(s) up/down' keybindings.
1287 2009-10-22  Lex Trotman  <elextr.at.gmail.dot.com>
1289  * src/build.c, src/build.h, src/filetypes.h:
1290    Include code for project filetype execute commands and fix bug in
1291    saving project filetypes list.
1292  * src/project.c, src/build.c, doc/geany.txt:
1293    Make non-project execute configuration save to filetypes not geany.conf.
1294    Fix closing of project failing to remove build commands dialog entry.
1297 2009-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1299  * src/project.c, src/ui_utils.c:
1300    Set border width for project properties build table.
1301  * geany.glade, src/interface.c:
1302    Don't expand hard tab width alignment.
1305 2009-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1307  * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1308    doc/geany.txt, doc/geany.html:
1309    Support loading global tags files for custom filetypes.
1310  * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1311    doc/geany.txt, doc/geany.html:
1312    Add 'Word part completion' keybinding so keys other than Tab can be
1313    used, or to clear/change the combination so Tab does full completion
1314    like before.
1315  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1316    Add 'Select to previous/next word part' keybindings.
1317  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1318    Add 'Switch to Messages' focus keybinding.
1321 2009-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1323  * doc/geany.txt, doc/geany.html:
1324    Add 'Custom filetypes' section.
1325  * src/filetypes.c, src/filetypes.h, src/document.c,
1326    doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1327    tagmanager/include/tm_source_file.h:
1328    Add filetype "tag_parser" key so custom filetypes can use an existing
1329    tag parser.
1330    Add tm_source_file_get_named_lang().
1331  * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1332    doc/geany.html:
1333    Add filetype "lexer_filetype" key so custom filetypes can use an
1334    existing lexer.
1337 2009-10-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1339  * THANKS, src/about.c:
1340    Add Xhacker Liu for his work at zh_CN translation to long list of
1341    translators.
1344 2009-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1346  * src/sciwrappers.c:
1347    Remove unnecessary line number margin padding.
1348  * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1349    scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1350    src/editor.c:
1351    Improve word part autocompletion so AC list is not cancelled and
1352    reshown (this also stops the selection changing).
1353    Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1354  * src/editor.c:
1355    Improve CamelCase word part autocompletion for runs of capital letters.
1356  * src/editor.c:
1357    Don't complete snippets if there's a selection.
1360 2009-10-16  Lex Trotman  <elextr(at)gmail(dot)com>
1362  * src/build.c:
1363    Fix crash opening project when Geany started with no geany.conf.
1366 2009-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1368  * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1369    src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1370    doc/geany.html:
1371    Add word part autocompletion for the current selected item when
1372    pressing Tab - Enter still completes normally.
1373    Add foreach_str() API macro.
1374    Temporarily modify scintilla to say if tab was used for
1375    autocompletion.
1376  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1377    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1378    plugins/classbuilder.c:
1379    Revert r4301 - utils_free_pointers() taking 4 arguments.
1380  * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1381    src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1382    plugins/splitwindow.c:
1383    Add highlighting_set_styles() to API, use for Split Window plugin so
1384    filetypes.common settings get set too.
1385    Make highlighting_set_styles() take GeanyFiletype pointer instead of
1386    filetype id.
1387  * src/document.c, src/editor.c, plugins/splitwindow.c:
1388    Call editor_apply_update_prefs() from editor_create_widget() so
1389    correct tab width and other settings are applied for Split Window
1390    plugin.
1393 2009-10-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1395  * src/keybindings.c:
1396    Don't include trailing newlines when using reflow command.
1397  * src/notebook.c:
1398    Add stock close buttons to notebook tab popup menu.
1399  * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1400    plugins/geanyfunctions.h:
1401    Add document_get_notebook_page() to API.
1402    Minor edits of dox.
1403  * data/templates/files/file.html, data/templates/files/file.php:
1404    Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1405  * src/interface.c, src/ui_utils.c, geany.glade:
1406    Move Tools configuration items to top of menu.
1407  * src/keybindings.c, src/search.c:
1408    Fix warning when using Find in Files with no documents open; make
1409    keybinding work in this case.
1412 2009-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1414  * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1415    src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1416    Make Split Window 'Show current document' button have a drop-down menu
1417    to select the other documents.
1418    Add new API function ui_menu_add_document_items().
1421 2009-10-13  Lex Trotman  <elextr(at)gmail(dot)com>
1423  * src/build.c:
1424    Fix sensitivity settings for compile and build toolbar items.
1427 2009-10-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1429  * src/templates.c:
1430    Don't use filetype submenus for templates (slower to navigate, often
1431    only 1 per-filetype anyway).
1432  * src/templates.c:
1433    Put old filetype template menu items in 'Old' submenu as they should
1434    be removed after the 0.19 release.
1435  * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1436    Add GeanyKeyGroup callback support, which allow keybinding callbacks
1437    to be ignored if inappropriate so a later keybinding with the same
1438    key combination can intercept it. (Also group callbacks are usually
1439    tidier than separate callbacks).
1440    Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1441  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1442    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1443    plugins/classbuilder.c:
1444    Make utils_free_pointers() take 4 arguments, add to API.
1445  * src/templates.c, src/tools.c, src/ui_utils.c:
1446    Fix memory leaks with gtk_container_get_children().
1449 2009-10-12  Lex Trotman  <elextr(at)gmail(dot)com>
1451  * src/build.c:
1452    Ensure that old style build config is not loaded if it does not exist.
1455 2009-10-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1457  * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1458    Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1461 2009-10-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1463  * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1464    src/interface.c:
1465    Apply set default encoding for existing files only if the files are
1466    non-Unicode (patch by Alexey Antipov, thanks).
1469 2009-10-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1471  * src/highlighting.c:
1472    Move new_styleset() and preprocessor setup code into styleset_c_like().
1473  * src/highlighting.c:
1474    Call apply_filetype_properties() from styleset_c_like().
1477 2009-10-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1479  * doc/geany.txt, doc/geany.html:
1480    Improve information about predefined keybindings which are
1481    commonly used across applications (patch by Lex Trotman, thanks).
1482  * src/printing.c:
1483    Enable embedded page setup properties in the (Unix) Print dialog
1484    on newer GTK versions (closes #2870596).
1485  * src/highlighting.c:
1486    Map global types (read from tags files) to keyword style for
1487    filetype Java.
1490 2009-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1492  * src/templates.c:
1493    Fix wrong creation of filetype template menu items for custom
1494    filetypes.
1495  * src/highlighting.c:
1496    Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1497  * src/templates.c:
1498    Group 'New with template' items by filetype submenu (currently only for
1499    toolbar menu).
1500    Show custom file template items before filetype template items.
1501  * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1502    geany.glade:
1503    Only use one 'New with template' submenu - reparent as needed.
1504  * src/templates.c:
1505    Don't create templates/filetype.none either.
1506  * src/templates.c:
1507    Warn if custom template file no longer exists.
1510 2009-09-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1512  * src/symbols.c:
1513    Add missing icon for Java packages in the Symbol List.
1516 2009-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1518  * src/highlighting.c, data/filetypes.vala:
1519    Add Vala keywords to conf file.
1520  * src/templates.c, doc/geany.txt, doc/geany.html:
1521    Read custom file templates from $prefix/share/geany/templates/files as
1522    well as user dir.
1523  * src/templates.c, data/templates, data/templates/files,
1524    data/templates/files/file.rb, data/templates/files/file.html,
1525    data/templates/files/main.java, data/templates/files/main.c,
1526    data/templates/files/main.cxx, data/templates/files/file.php,
1527    data/templates/files/main.d, data/templates/files/program.pas,
1528    data/templates/files/main.py, data/templates/files/file.tex,
1529    wscript, Makefile.am:
1530    Move filetype template defaults into custom file template files.
1533 2009-09-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1535  * src/symbols.c, tagmanager/perl.c:
1536    Change Perl tag parser to ctags SVN r601. This removes support for
1537    buggy local/my/our but it parses constant/format/labels and should
1538    be less buggy overall (closes #2861232).
1539  * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1540    Add utils_get_file_list_full() which can optionally sort or include
1541    a full path for each list item.
1542  * src/utils.c, src/plugindata.h, src/plugins.c:
1543    Add utils_get_file_list_full() to API.
1546 2009-09-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1548  * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1549    src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1550    src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1551    src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1552    po/POTFILES.in, wscript:
1553    Rename treeviews.[hc] -> sidebar.[hc].
1554  * data/filetypes.common:
1555    Remove unused [styling] arguments.
1556  * src/highlighting.c, data/filetypes.markdown,
1557    data/filetypes.restructuredtext:
1558    Remove style defaults from the code - just read them from
1559    configuration files.
1560  * src/highlighting.c, HACKING:
1561    Add apply_style_entries() to simplify implementing styleset_foo().
1562  * src/highlighting.c:
1563    Remove filetype keyword defaults from the code - just read them from
1564    configuration files.
1565  * src/highlighting.c:
1566    Add sci_set_keywords() wrapper.
1569 2009-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1571  * scripts/create_py_tags.py:
1572    Make the code a bit more pythonic.
1573  * doc/images/build_menu_commands_dialog.png,
1574    doc/images/main_window.png:
1575    Add new images referenced in the documentation.
1576  * doc/geany.html, doc/geany.txt:
1577    Several documentation improvements (patch by Lex Trotman, thanks).
1578  * src/pluginutils.c:
1579    Fix setting the appropriate page of the combined plugins
1580    preferences dialog.
1583 2009-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1585  * src/keybindings.c:
1586    Only focus toolbar goto line entry when pressing keybinding if it's
1587    visible (patch by Eugene Arshinov, thanks).
1588  * src/callbacks.c:
1589    Focus editor after entering a number in the goto line toolbar entry.
1590  * configure.in:
1591    Use AC_PATH_PROG instead of which for portability (patch by Erik
1592    Southworth, thanks).
1593  * src/plugins.c:
1594    Show plugins that only implement plugin_configure_single() in the
1595    multiple-configure dialog as a page with a configure button on it.
1596    Add padding for multiple-configure dialog.
1597    Make the multiple-configure dialog notebook tabs scrollable.
1598  * src/pluginutils.c, src/pluginutils.h:
1599    Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1600  * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1601    src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1602    plugins/geanyfunctions.h, plugins/filebrowser.c:
1603    Add plugin_show_configure() API utility function.
1604    Add File Browser popup menu 'Preferences' item.
1605  * src/highlighting.c:
1606    Add get_keyfile_ints() instead of using tmp_style hack.
1607  * src/highlighting.c, data/filetypes.xml:
1608    Change new html_asp_default_language markup pref to use integer,
1609    not hex in config file.
1610    Fix minor issue with changing pref back to 0.
1611  * src/highlighting.c:
1612    Fix possible segfault in get_keyfile_int() if key value is malformed.
1615 2009-09-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1617  * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1618    Add "html_asp_default_language" pseudo style to filetypes.xml
1619    to allow setting the used language in embedded ASP code
1620    (patch by Ross McKay, thanks).
1621  * src/filetypes.xml:
1622    Update VBScript keywords (patch by Ross McKay, thanks).
1625 2009-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1627  * src/keybindings.c, THANKS:
1628    Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1629    keybinding use line breaking column when enabled.
1630  * src/document.c:
1631    Fix showing the document before reload dialog when opening an
1632    already-open file.
1633  * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1634    Add plugin_configure_single() plugin symbol which is easier to
1635    implement than plugin_configure() but won't support a
1636    multiple-plugin configure dialog.
1637  * src/plugins.c:
1638    Show multiple plugins in the 'Configure Plugins' dialog.
1641 2009-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1643  * doc/geany.txt, doc/geany.html:
1644    Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1645    Minor edits.
1646  * doc/geany.txt, doc/geany.html:
1647    Add 'Toolbar entries' section.
1648  * doc/geany.txt, doc/geany.html:
1649    Update 'Go to line' keybinding description.
1650  * doc/geany.txt, doc/geany.html:
1651    Split keybinding table into group tables; update KB links.
1654 2009-09-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1656  * src/build.c:
1657    Fix compiler warnings about uninitialised variables.
1658  * src/callbacks.c, src/document.c:
1659    When reloading files, use the previously set encoding instead of
1660    detecting it again (closes #2862041).
1661  * configure.in:
1662    Turn on automake silent rules if supported.
1665 2009-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1667  * src/utils.c:
1668    Speed up sorting in utils_get_file_list(). This reduces the file
1669    browser delay on displaying a big directory, e.g. /usr/bin.
1670  * src/build.c:
1671    Expand command entry width when expanding Build Commands dialog.
1672  * src/build.c:
1673    Split Build Commands dialog notes label and edit text.
1674  * src/build.c:
1675    Add padding for Build Commands dialog separators.
1676    Add colons for regex field labels; fix 1 capitalisation.
1677  * src/build.c:
1678    Fix none filetype Build Commands dialog label.
1679    Make group labels bold.
1680  * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1681    src/ui_utils.c:
1682    Add & use ui_label_set_markup(), ui_label_new_bold().
1683  * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1684    src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1685    src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1686    Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1687  * src/keybindings.c:
1688    Make 'Go to Line' keybinding focus the toolbar entry if visible.
1691 2009-09-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1693  * src/filetypes.c, src/filetypes.h, src/symbols.c,
1694    tagmanager/parsers.h, tagmanager/makefile.win32,
1695    tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1696    data/filetype_extensions.conf, wscript:
1697    Add new filetype: Abc (patch by Eric Forgeot, thanks).
1698  * tagmanager/php.c:
1699    Merge recent changes from the CTags project to further improve
1700    PHP symbol parsing.
1703 2009-09-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1705  * src/printing.c:
1706    Fix wrong alignment of printed pages when page headers are
1707    disabled (closes #2856822).
1708    Plug a small memory leak and improve function signature of
1709    add_page_header().
1710  * src/keyfile.c:
1711    Save an if expression.
1712  * src/ui_utils.c:
1713    After clearing a text field using the embedded clear icon, put the
1714    input focus into this text field.
1717 2009-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1719  * plugins/filebrowser.c:
1720    Free file list memory whilst iterating the list.
1721    Minor formatting fixes.
1722  * src/utils.c, src/utils.h:
1723    Add foreach_dir() API macro.
1724    Update API docs for utils_get_file_list().
1725  * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1726    po/POTFILES.in:
1727    Remove queue.[hc] - use GQueue instead of GeanyQueue.
1728    Beep if there are no more snippet positions.
1729    Limit length of snippet positions queue to 20.
1732 2009-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1734  * src/keybindings.c, src/callbacks.c, src/search.c:
1735    Make Goto Tag commands use the current selection if present (useful
1736    for selecting part of a tag or for ReST section names with spaces
1737    in).
1738  * src/document.c:
1739    Don't move the cursor when reloading.
1740  * src/plugindata.h, src/editor.c, src/editor.h:
1741    Make editor_prefs.snippets hash table private (not a pref).
1744 2009-09-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1746  * src/main.c:
1747    Remove deprecated --debug flag. Please use --verbose/-v instead.
1750 2009-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1752  * src/search.c:
1753    Show Find in Files stderr output in messages window instead of
1754    debug window so that invalid regex messages can be seen easily.
1755    Combine FIF stdout and stderr callback code.
1758 2009-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1760  * src/utils.c:
1761    Fix opening filenames beginning with two dots (closes #2858487).
1762  * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1763    src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1764    data/filetypes.common, geany.glade:
1765    Update syntax highlighting after changing the 'Invert syntax
1766    highlighting colors' pref, instead of requiring a restart.
1767    Remove filetypes.common invert_all option - use 'Invert syntax
1768    highlighting colors' pref instead (closes #2854525).
1769  * src/prefs.c, src/dialogs.c, src/dialogs.h:
1770    Add 'Allow' button when showing the conflicting keybinding dialog.
1771    Make dialogs_show_question_full() use GTK dialog on Windows if
1772    button text is not the stock yes/no items.
1773    Add dialogs_show_prompt() which also has an 'Apply' button.
1774  * src/queue.c, src/queue.h:
1775    Add warning that GeanyQueue may be removed.
1776  * src/keybindings.c, src/editor.c, src/editor.h:
1777    Change snippet_goto_next_cursor() to
1778    editor_goto_next_snippet_cursor() as it's in editor.h.
1779    Avoid using GPOINTER_TO_INT macro.
1782 2009-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1784  * src/keybindings.c:
1785    Fix 'Reflow block' command when at the last paragraph and there's
1786    no last newline (patch by Eugene Arshinov, thanks).
1787  * HACKING:
1788    Add 'Compiler options & warnings' section.
1789    Update Style section to be clearer about code alignment and show
1790    some example code.
1791    Other minor edits.
1794 2009-09-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1796  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1797    src/plugindata.h, src/plugins.c, src/editor.c,
1798    plugins/geanyfunctions.h:
1799    Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1800    sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1801    Siamashka).
1802    Add sci_toggle_marker_at_line().
1803    Fix SciFuncs alignment.
1806 2009-09-11  Lex Trotman  <elextr(at)gmail(dot)com>
1808  * src/build.c
1809    Fix erroneous free of returned string in prepare_run_script.
1812 2009-09-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1814  * data/filetypes.latex:
1815    Changing default value for showing pdf and dvi to ensure to take
1816    *.pdf and *.dvi file.
1819 2009-09-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1821  * src/about.c, THANKS:
1822    Change language string for Slovenian translation.
1825 2009-09-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1827  * tagmanager/txt2tags.c:
1828    Fix multi-byte character constant comparison.
1829  * src/treeviews.c:
1830    Fix Gtk warning when trying to update documents popup menu item
1831    sensitivity before they exist.
1834 2009-09-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1836  * src/plugins.c:
1837    Improve the opening string in the plugin manager dialog.
1838  * doc/geany.css:
1839    Use "max-width" to set the document width of the generated
1840    HTML documentation to let the text be auto-wrapped.
1841  * src/prefs.c, src/tagmanager/include/guregex.h,
1842    src/tagmanager/include/tm_tagmanager.h:
1843    Remove trailing spaces (patch by André Hentschel, thanks).
1844  * src/treeviews.c:
1845    Fix a compiler warning.
1846  * src/document.c:
1847    Fix crash when opening documents.
1848  * src/build.c, src/build.h, src/project.c:
1849    Adjust coding style (no code changes).
1850  * src/build.c, src/project.c:
1851    Use NZV() macro instead of strlen() to check for empty strings.
1852    Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1853  * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1854    src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1855    src/plugins.c, THANKS:
1856    Add new plugin signal: "document-before-save".
1857    Add get_line_end_position(), set_target_start(), set_target_end(),
1858    replace_target() to the plugin API
1859    (patch by Eugene Arshinov, thanks).
1860    Add new plugin signal: "document-filetype-set" (closes #2852286).
1861  * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1862    src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1863    tagmanager/Makefile.am, tagmanager/makefile.win32,
1864    tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1865    wscript, THANKS:
1866    Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1869 2009-09-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1871  * src/treeviews.c, src/document.c:
1872    Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1873    Use gtk_notebook_set_current_page() instead of
1874    document_open_file_full() when choosing an item from the documents
1875    list.
1876    Avoid using goto in document_open_file_full().
1879 2009-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1881  * src/treeviews.c, src/document.c, src/document.h, THANKS:
1882    Enable type-ahead find for sidebar symbols and documents tabs
1883    (patch by Thomas Martitz, thanks).
1884  * src/build.c:
1885    Fix 2 free's of possibly uninitialized pointers.
1888 2009-09-03  Lex Trotman  <elextr(at)gmail(dot)com>
1890  * src/build.c, src/filetypes.h, src/filetypes.c
1891    Only write filetype config files when build command or regex is
1892    actually changed.  Removed commented code in src/filetypes.c.
1893  * src/build.c
1894    Ensure uses of filename are protected against nulls when running
1895    a build command and give status message if not.
1898 2009-09-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1900  * src/plugins.c:
1901    Remove plugin from plugin manager dialog on unloading if it no
1902    longer exists or is incompatible.
1905 2009-08-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1907  * src/plugins.c:
1908    Add warning if only one of the plugin_key_group[_info] symbols is
1909    defined for a plugin.
1910  * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1911    src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1912    TODO:
1913    Merge custom-filetypes branch:
1914    Support adding custom filetype files e.g. filetypes.Foo.conf.
1915  - Code:
1916    Allow GeanyFiletype::extension to be NULL.
1917    Add note about using GeanyFiletype pointer instead of filetype_id
1918    for filetypes.c function arguments.
1919    Replace styleset_none() with styleset_default().
1922 2009-08-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1924  * src/prefs.c:
1925    Show the sidebar if either the documents or the symbols list are
1926    enabled (related to #1876107).
1929 2009-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1931  * src/build.c, src/filetypes.c:
1932    Fix compiler warnings.
1933  * src/utils.c:
1934    Fix removing leading double slashes in filenames which are used for
1935    network resources on Windows (closes #2844085).
1938 2009-08-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1940  * src/keybindings.c:
1941    Fix Make keybindings (patch by Lex Trotman, thanks).
1942  * src/geany.h:
1943    Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1944  * doc/plugins.dox:
1945    Mention Files link at top for header files; demoplugin.c.
1946    Minor edits; remove 'far from being complete'.
1947  * src/keyfile.c, src/keyfile.h, src/main.c,
1948    data/filetype_extensions.conf, HACKING:
1949    Remove --generate-data-files argument & code - just edit
1950    filetype_extensions.conf by hand (filetype order was broken
1951    anyway).
1952    Add *.H extension for C++ (useful for non-Windows systems).
1955 2009-08-27  Lex Trotman  <elextr(at)gmail(dot)com>
1957  * src/build.c
1958    Fix implementation of loading old project files with base
1959    directories. Use project_make_base_path instead of re-
1960    implementing.  Now depends on project.c reading base dir
1961    prior to calling load_build_menu.
1962  * src/build.c
1963    Change usage of project base directory to conform with
1964    previous documented behavior when loading old project files.
1965  * src/build.c:
1966    Change make custom and make object to ignore make in base path
1967    when reading old project file settings.  Changed some indent
1968    spaces to tabs. Fix missing compile menu accelerator.
1971 2009-08-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1973  * doc/plugins.dox:
1974    Add warning about not using undocumented features.
1975    Add reference to HACKING for plugin API development.
1976  * HACKING:
1977    Add section 'Plugin API/ABI design'.
1978  * src/keybindings.h, src/makefile.win32, src/project.h,
1979    src/filetypes.h, src/Makefile.am, wscript:
1980    Use GEANY_PRIVATE to hide some fields from plugins.
1981  * src/build.c:
1982    Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1983  * src/build.c, src/build.h, src/project.c:
1984    Use build_ prefix for 3 functions in build.h; add a static modifier.
1987 2009-08-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1989  * tagmanager/php.c:
1990    Improve parsing of PHP functions by requiring a valid modifier or
1991    whitespace before the 'function' keyword to ignore some false
1992    positives like function tags inside comments
1993    (patch by Harold Aling, thanks).
1994  * tagmanager/python.c:
1995    Don't parse comments after import statements and other tags
1996    (closes #2838938, patch by Huandari Lopez, thanks).
1999 2009-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2001  * data/filetypes.markdown:
2002    Add filetypes.markdown for configuration (thanks to Jon Strait).
2003  * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2004    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2005    plugins/geanyfunctions.h:
2006    Remove GeanyKeyGroup struct from the API - plugins should not set
2007    these fields.
2008    Make keybindings_set_item() duplicate the name and label fields
2009    (needed by GeanyLua) and return a keybinding pointer.
2010    Add keybindings_get_item() to the API (in case it's useful).
2011    Move some keybinding code out of plugin source files.
2014 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2016  * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2017    Don't generate build.h API docs until everything is approved and
2018    functions are actually in geany_functions.
2019    Move new GeanyFiletype and GeanyProject field(s) to end of struct
2020    as they may be changed or made private later.
2021    Break ABI for fields removed.
2024 2009-07-30  Lex Trotman  <elextr(at)gmail(dot)com>
2026  * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2027    src/keyfile.c, src/project.c
2028    Changed names of symbols visible in build API to GEANY_xxx.
2031 2009-07-29  Lex Trotman  <elextr(at)gmail(dot)com>
2033  * src/project.h, src/project.c, src/build.c
2034    Remove make_in_base_dir and run_cmd fields from project structure.
2035    Replaced by build functionality.  Remove incorrect use in src/build.c
2036    build_run_cmd function.
2039 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
2041  * src/project.h, src/project.c
2042    Removed unused project_get_make_dir function, this is now per
2043    command.
2046 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
2048  * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
2049    Fix some more warnings.
2050    Fix commented out execute/stop toolbar code in build.c.
2051    Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2052    Changed build.h api so all functions prefixed with build_.
2055 2009-07-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2057  * src/build.c, src/build.h, src/project.c:
2058    Fix some gcc warnings with '-Wall -W -ansi' enabled.
2061 2009-07-25  Lex Trotman  <elextr(at)gmail(dot)com>
2063  * src/build.c
2064    Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
2065    when reading old format configuration & project files.
2066  * src/build.c, src/project.c
2067    Fixed GLib array assertion warnings when no project filetypes are
2068    available to be saved.
2070 2009-07-24  Lex Trotman  <elextr(at)gmail(dot)com>
2072  * src/build.c
2073    Fix build warnings.
2076 2009-07-22  Lex Trotman  <elextr(at)gmail(dot)com>
2078  * src/build.h, src/build.c, src/project.c
2079    Created and documented plugins interface to build menu.
2080    Factored out new get_cmd_group function.
2081    Changed name of remove_command function to be consistent with the rest
2082    of the interface & changed calls in project.c.
2083  * src/Makefile.am, wscript
2084    Added build.h to installed files lists.
2086 2009-07-20  Lex Trotman  <elextr(at)gmail(dot)com>
2088  * doc/geany.txt
2089    Updated manual to match build-menu capability.
2092 2009-07-19  Lex Trotman  <elextr(at)gmail(dot)com>
2094  * src/build.c, src/build.h
2095    Added set_build_non_ft_wd_to_proj() for use by project dialog.
2096    Improved interpretation of run_in_base_dir from old [build-settings]
2097    Added spacing to build commands dialog
2098  * src/project.c
2099    Removed run in base path option from project dialog and added button to
2100    set working directories to d the same.
2103 2009-07-18  Lex Trotman  <elextr(at)gmail(dot)com>
2105  * src/build.c
2106    Re-incorporated toolbar changes in trunk accidently excluded in merge
2108 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
2110  * src/build.c
2111    Fixed substitute %f etc in commands
2112    Fixed potential leak in build_replace_placeholder
2113    Fixed leak in prepare_run_script (Thanks for patch Thomas)
2114    Fixed build_replace_placeholder to not require document.
2116 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
2118  * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
2119    Fixed crash and lots of warnings, deleted some commented out code.
2120  * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
2121    Removed make command from preferences and associated code
2123 2009-07-16  Lex Trotman  <elextr(at)gmail(dot)com>
2125  * src/build.c, src/build.h
2126    Incorporated patch for working directory field (thanks Thomas)
2127    Removed run_in_base_dir option and associated code that it replaces
2128    Improved handling of old config files and mapping to new ones.
2130 2009-07-15  Lex Trotman  <elextr(at)gmail(dot)com>
2132  * src/build.h, src/build.c
2133    Changed to itterate over entries in build commands dialog to allow
2134    additional fields to be added
2135    Implement support for multiple run commands
2136  * data/filetypes.latex
2137    Implement configured commands and labels for latex.
2140 2009-07-14  Lex Trotman  <elextr(at)gmail(dot)com>
2142  * src/build.h, src/build.c
2143    added dialog support for error regular expressions from multiple sources
2144    and storing and loading them
2145    fixed some typos and memory leaks
2146  * src/filetypes.c, src/filetypes.h, project.c
2147    added support for using error regexes from multiple sources
2150 2009-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
2152  * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2153    src/project.c
2154    Removal of build menu item source made redundant by the following fix
2155  * src/build.c
2156    Corrected priority oreder and loading of filetype dependent build
2157    menu items saved in the project file.  Added print routine for
2158    debugging command sources and priorities set compile symbol
2159    PRINTBUILDCMDS true to enable
2161 2009-07-10  Lex Trotman  <elextr(at)gmail(dot)com>
2163  * src/build.c
2164    fixed problem loading old format filetype files, some formatting fixes
2165    fixed saving new format files
2166    added operation for clear button on build commands dialog
2167  * src/filetypes.c
2168    fixed loading and saving filetype files
2171 2009-07-09  Lex Trotman  <elextr(at)gmail(dot)com>
2173 Configurable Build Menu Changes
2175  * doc/geany.html, doc/geany.txt:
2176    Updated build menu section to new functionality
2177  * src/build.h, src/build.c:
2178    Largly re-written, configurability added, Latex code removed
2179  * src/filetypes.h, src/filetypes.c:
2180    Filetype structure updated to add new command pointers, configuration
2181    load and store changed
2182  * src/keybindings.h, src/keybindings.c:
2183    Changed to address new command storage structure.
2184  * src/keyfile.c:
2185    Changed to load/store new configuration.
2186  * src/main.c:
2187    Minor change to initialisation order.
2188  * src/msgwindow.c:
2189    Changed to address new menu item storage structure.
2190  * src/project.h, src/project.c:
2191    Changed to load/store the new configuration info.
2193 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2195  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2196    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2197    doc/pluginsymbols.c, plugins/geanyfunctions.h,
2198    plugins/splitwindow.c:
2199    Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2200    GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2201    the ABI when adding fields to them.
2202    Add plugin_set_key_group() for plugins to dynamically set a
2203    keybinding group (e.g. for the Lua script plugin). Used in Split
2204    Window plugin as an example.
2205    Improve keybinding docs a little.
2208 2009-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2210  * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2211    Add geanyfunctions.h to API docs.
2212  * plugins/splitwindow.c:
2213    Set the cursor color for the split window.
2216 2009-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2218  * src/callbacks.c:
2219    Fix 'Open Selected File' for unsaved new documents.
2220  * src/keybindings.c, src/keybindings.h, src/prefs.c:
2221    Fix updating main menu accelerators after changing keybindings
2222    (thanks to Lex Trotman).
2223  * src/callbacks.c:
2224    Fix using 'Insert date' keybinding when a custom date string has
2225    not been set.
2226  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2227    Merge Plugin and GeanyPluginPrivate structs.
2230 2009-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2232  * src/keybindings.c:
2233    Fix non-working Home and End keys on numpads.
2236 2009-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2238  * doc/geany.txt, doc/geany.html, NEWS:
2239    Add 'Scope autocompletion' section.
2240    Add 'Tools menu items' section to explain configuration files
2241    submenu, reload configuration item.
2242    Minor updates/fixes.
2245 2009-08-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2247  * src/document.c:
2248    Add a translation hint to an ambiguous format string.
2249  * src/Makefile.am:
2250    Add missing include path to fix 'make distcheck'.
2251  * src/win32.c:
2252    Fix opening of local files in the browser on Windows.
2253  * New release: Geany 0.18 "Kaine".
2254  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2255    src/geany.h, doc/geany.html, doc/geany.txt:
2256    Post-release version bump.
2259 2009-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2261  * src/editor.c:
2262    Temporarily disable reshowing calltips when the autocompletion
2263    list was closed implicitly by not choosing an item to fix
2264    problems with wrongly displayed calltips.
2265  * src/template.c:
2266    Add missing 'coding' cookie to the Python filetype template.
2267  * doc/images/pref_dialog_edit_completions.png,
2268    doc/images/pref_dialog_toolbar.png:
2269    Update images for Geany 0.18.
2272 2009-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2274  * wscript:
2275    Add command '--hackingdoc' to create the HTML form of the
2276    HACKING file.
2279 2009-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2281  * po/pt_PT.po, po/LINGUAS:
2282    Added a first Portugese (Portugal) translation based on work done at
2283    launchpad by e.g. André Glória and Alexandre Jesus.
2284  * src/main.c: Fix a minor typo on --help call.
2287 2009-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2289  * src/highlighting.c:
2290    Call get_keyfile_wordchars() in highlighting_init_styles().
2293 2009-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2295  * data/filetypes.ada:
2296    Add missing file.
2297  * src/keybindings.c:
2298    Switching notebook tabs now works for the currently used notebook
2299    widget instead of always using the documents notebook.
2300  * src/document.c, src/document.h, src/documentprivate.h,
2301    doc/plugins.dox:
2302    Small corrections to some API docs.
2305 2009-08-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2307  * src/build.c, src/win32.h, src/win32.c:
2308    Expand system environment variables (%variableName%) on Windows when
2309    running Build commands.
2312 2009-07-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2314  * src/keybindings.c:
2315    Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2316    future using an indent block is more useful e.g. for ChangeLog
2317    files.
2318  * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2319    scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2320    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2321    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2322    tagmanager/parsers.h, tagmanager/makefile.win32,
2323    tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2324    Add Markdown filetype (patch by Jon Strait, thanks).
2325  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2326    Fix disconnecting plugin signal id when not using geany_object.
2327  * src/filetypes.c:
2328    Add filetype_make_title() instead of using:
2329    ft->title = g_strdup_printf(_("%s source file"), ft->name);
2330    It also supports "%s file" strings.
2333 2009-07-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2335  * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2336    src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2337    doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2338    plugins/filebrowser.c:
2339    Add plugin_signal_connect() for connecting plugin signals at
2340    runtime and also for connecting to any GObject signal.
2341    Add 'Plugin Utility Functions' on main page.
2342    Add foreach_array() macro.
2343  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2344    src/document.c, src/editor.c:
2345    Rename 3 sci functions to sci_set_target_start(),
2346    sci_set_target_end(), sci_replace_target() to match the SCI_
2347    message name.
2350 2009-07-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2352  * wscript: Fix compiling error with waf.
2355 2009-07-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2357  * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2358    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2359    src/Makefile.am, wscript:
2360    Move plugin_* utility functions to pluginutils.c.
2361    Add pluginprivate.h.
2362  * src/editor.c:
2363    Fix reshowing calltip in the wrong document.
2366 2009-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2368  * doc/geany.txt, doc/geany.html:
2369    Add some general information about auto-completion capabilities
2370    (patch by Lex Trotman, thanks).
2373 2009-07-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2375  * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2376    Added a first Slovenian translation. Thanks to Joze Klepec.
2379 2009-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2381  * src/highlighting.c:
2382    Use full styleset_foo[_init] function name as argument to
2383    init_styleset_case() and styleset_case() macros so it's easier to
2384    understand the code.
2385  * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2386    src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2387    doc/geany.txt, doc/geany.html:
2388    Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2389    Heavily based on a patch by Eugene Arshinov (thanks).
2390    Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2391    editor_strip_line_trailing_spaces().
2394 2009-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2396  * src/editor.c:
2397    Attempt to fix reshowing calltips after the autocompletion list
2398    has been shown.
2399    Reshow calltips also when the autocompletion list was closed
2400    implicitly by not choosing an item.
2402 2009-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2404  * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2405    plugins/splitwindow.c:
2406    Change utils_str_remove_chars() to work in place; fix allocating on
2407    the stack (the string length could exhaust the stack size).
2408  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2409    src/printing.c, src/callbacks.c:
2410    Rename utils_str_replace() utils_str_replace_all(), setting a
2411    'gchar **haystack' argument instead of returning a new string.
2412  * src/editor.c:
2413    For the Tabs indent type, remove spaces when unindenting (only) if
2414    there are no tabs on the line.
2415    Group undo actions for (un)indenting of multiple lines.
2416  * src/document.c, src/editor.c:
2417    Fix scrolling horizontally after finding a search match with the
2418    search bar or Find Next/Previous which is off-screen.
2419  * src/keybindings.c:
2420    Fix GLib warning when pressing a key with no documents open.
2423 2009-07-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2425  * src/utils.c:
2426    Start unifying usage of @a and @c markup elements in API docs,
2427    to be continued.
2428  * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2429    Show/hide the toolbar without a restart when the setting in the
2430    preferences dialog is changed (closes #2824785).
2431  * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2432    src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2433    src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2434    src/toolbar.h:
2435    Continue unifying usage of @a and @c markup elements in API docs.
2438 2009-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2440  * src/document.c:
2441    Remove relative/untidy path elements when creating new documents
2442    with a filename (e.g. from the command-line) (#2823998).
2445 2009-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2447  * src/callbacks.c:
2448    Disable 'Recent Projects' menu item if the list of recent projects
2449    is empty.
2450  * src/win32.c:
2451    Fix some harmless compiler warnings.
2452  * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2453    src/plugins.c, src/utils.c, src/utils.h:
2454    Move utils_str_remove_chars() from the plugins/splitwindow.c to
2455    src/utils.c and add it to the plugin API.
2456    Make utils_str_remove_chars() work on a new copy of the input string
2457    instead of modifying it in place.
2458  * src/toolbar.c:
2459    Remove underscores from the toolbar items labels.
2460  * src/utils.c:
2461    Fix typos.
2462  * plugins/splitwindow.c:
2463    Fix broken 'Show the current document' tool button icon.
2466 2009-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2468  * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2469    src/keyfile.c:
2470    Add stash_group_add_widget_property() so we can save any widget's
2471    read/write properties.
2472    Use Stash for ui_prefs.sidebar_page setting.
2473  * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2474    Make foreach_ptr_array() use an integer argument for its
2475    implementation, as this is more useful potentially than a gpointer*
2476    argument, and more straightforward.
2477    Add foreach_c_array(), foreach_ptr_array() to API.
2478  * src/utils.c, src/utils.h, src/document.c:
2479    Remove relative/untidy path elements when opening documents (closes
2480    #2823998).
2481  * src/treeviews.c:
2482    Fix showing project name for documents list files with no
2483    subdirectory (oops).
2484  * src/dialogs.c:
2485    Fix checking whether to overwrite when using the Rename button in
2486    the 'Save As' dialog.
2489 2009-07-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2491  * src/dialogs.c:
2492    Don't use the main window as parent for dialog boxes if it is not
2493    yet realised.
2494    Set titles for message dialogs.
2497 2009-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2499  * src/toolbar.c:
2500    Display item labels instead of raw names in the toolbar editor.
2501    Apply changes in the toolbar editor instantly.
2502    Show icons in the toolbar editor.
2503    Speed up toolbar editor dialog creation.
2504  * src/templates.c:
2505    Improve inserting of comment templates like File header or licence
2506    notices. The comment information are now read from the filetype
2507    configuration files.
2509 2009-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2511  * src/document.c:
2512    Enable file monitoring for files which are written to disk by Geany
2513    for the first time.
2514  * src/filetypes.c:
2515    Fix broken special case handling when detecting filetypes from a
2516    shebang or other special file headers.
2519 2009-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2521  * src/search.c:
2522    Make Mark All keybinding clear search highlighting when there's no
2523    current word.
2524  * src/search.c:
2525    Fix wrong match length when using Mark with regex.
2526  * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2527    src/keyfile.c, src/main.c:
2528    Add 'Show Paths' documents list popup item.
2529    Add "load_settings" core-only signal emitted just after loading
2530    main keyfile settings; useful to delay building UI elements until
2531    settings have been read.
2532  * src/treeviews.c:
2533    Fix GTK warning when right-clicking on default tag tree.
2534  * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2535    Add treeviews_finalize().
2536    Remove tv.popup_openfiles field.
2539 2009-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2541  * src/highlighting.c:
2542    Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2545 2009-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2547  * src/utils.c:
2548    Quote the uri before passing it to the browser when opening a
2549    website (closes #2818635).
2550  * src/win32:
2551    Fix broken 'builtin' Run command for HTML files on Windows.
2554 2009-07-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2556  * src/editor.c:
2557    Properly fix wrong brace highlighting of non-brace character.
2558  * src/editor.c:
2559    Allow autocompletion in Perl double-quoted strings.
2560    Don't autocomplete in Perl single-quoted strings (closes #2821061).
2561    Don't autocomplete in Perl q() strings.
2562  * data/filetypes.common:
2563    Make Mark highlighting brighter.
2564  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2565    Use hyphen for auto-feature terms.
2566  * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2567    src/document.h, src/main.c:
2568    Add documents_foreach() API macro that skips invalid docs.
2569    Make filetypes[], documents[] part of the API again.
2570    Add GEANY() macro for sharing geany symbols between API and core.
2571  * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2572    plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2573    plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2574    plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2575    plugins/classbuilder.c, wscript:
2576    Add geanyplugin.h single include for plugin API; update all core
2577    plugins to use it.
2578    Add sci_set_font() to API.
2579    Update plugin howto.
2580  * src/filetypes.c, src/filetypes.h:
2581    Remove filetypes_foreach_named().
2584 2009-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2586  * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2587    src/document.h, src/main.c, THANKS:
2588    Apply patch from Eugene Arshinov to reload color schemes via menu
2589    (thanks).
2590  * src/filetypes.c:
2591    Reload filetypes.common after saving it.
2592  * src/editor.c:
2593    Improve wrong brace highlighting of non-brace character.
2596 2009-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2598  * src/editor.c:
2599    Delay highlighting matching braces by 100ms, which speeds up
2600    scrolling with the arrow keys.
2601  * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2602    Add 'Mark All' keybinding.
2603  * tagmanager/diff.c:
2604    Show relative paths in diff filename tags.
2607 2009-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2609  * src/highlighting.c:
2610    Fix setting keyword list 'classes' for Haxe
2611    (pointed out by Andreas Mokros, thanks).
2614 2009-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2616  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2617    doc/geany.txt, doc/geany.html, geany.glade:
2618    Add 'Drop rest of word on completion' pref.
2619  * src/editor.c, doc/geany.txt, doc/geany.html:
2620    If autocompletion is already visible when forcing completion, show
2621    document word completion instead of tag completion.
2622    Docs: Minor edits of related prefs items.
2623  * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2624    Add warning when printing and editor font is not monospaced.
2625    Fix using GtkMessageType instead of gint param for
2626    dialogs_show_msgbox*().
2627    Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2628  * src/editor.c:
2629    Support 'tab indents, space aligns' style for auto-indentation
2630    (closes #2789109).
2633 2009-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2635  * src/document.c, src/documentprivate.h:
2636    Rework the GIO based file monitoring code. Now it is used only
2637    to indicate a possible change of the file, the real check if the
2638    file has been changed is performed by stat().
2639  * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2640    Add style 'line_height' to increase the line height.
2641    Add style 'marker_mark' and change style 'marker_search' to
2642    define the style used for marked search results.
2643  * doc/geany.txt, doc/geany.html:
2644    Add the new 'Autocomplete all words in document' pref to the docs.
2647 2009-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2649  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2650    doc/geany.txt, doc/geany.html, geany.glade, TODO:
2651    Add 'Autocomplete all words in document' pref.
2652    Use 'autocompletion' in dialog and docs, not 'auto completion'.
2653  * src/editor.c:
2654    Fix limiting number of word completion entries too much.
2655  * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2656    icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2657    Show autocompletion icons for tag symbols - for now only tags with
2658    an arglist have the 'function/method' icon, all others have the
2659    'variable' icon.
2660    Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2661    program.
2662  * src/highlighting.c:
2663    Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2664    #1895745).
2667 2009-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2669  * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2670    Fix removing underscores in translated string using no_underscore()
2671    macro.
2672    Set a tooltip for the Split Window plugin's Show Current tool button.
2673    Add utils_strdupa() macro.
2674  * src/interface.c, geany.glade:
2675    Use stock Select All icon now we have >= GTK 2.8.
2676  * src/treeviews.c:
2677    Fix using project name for document items that start with the
2678    project base path but don't match it e.g. ".../geany-plugins"
2679    instead of ".../geany" when project name is 'geany'.
2682 2009-07-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2684  * src/build.c:
2685    Fix warnings when the toolbar does not contain the Run button.
2686  * tagmanager/lua.c:
2687    Fix wrong parsing of complex expressions in the Lua parser.
2688  * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2689    src/utils.c:
2690    Remove unnecessary enums.
2691  * scintilla/*, scintilla/include/*, src/plugindata.h:
2692    Update Scintilla to version 1.79.
2693  * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2694    src/search.c:
2695    Use the new Scintilla struct names prefixed with 'Sci_'.
2696  * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2697    src/highlighting.c:
2698    Add second argument to the 'line_wrap_indent' styling setting to
2699    control the new Scintilla indentation mode for wrapped lines.
2700  * src/toolbar.c:
2701    Properly close the toolbar editor on delete-events.
2702    Fix warnings and possible crashes in the toolbar editor when the list
2703    of displayed toolbar items is empty.
2704  * data/filetypes.tcl:
2705    Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2706  * src/plugins.c:
2707    Make the plugin manager dialog a bit bigger.
2710 2009-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2712  * doc/geany.html, doc/geany.txt:
2713    Fix wrong default values for the 'Show Calltip' keybinding.
2716 2009-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2718  * data/filetypes.tcl, src/symbols.c:
2719    Fix duplicate "context_action_cmd" key.
2720    Use different icons for "Methods" and "Procedures" in the symbol
2721    list for Tcl files.
2722  * src/filetypes.c:
2723    Fix a small memory leak.
2724  * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2725    src/keybindings.h, src/plugindata.h:
2726    Make the Scintilla keybindings 'Delete to end of line' and
2727    'Go to end of display line' configurable.
2728  * geany.nsi:
2729    Fix a typo (closes #2813624).
2732 2009-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2734  * tagmanager/tcl.c, src/symbol.c:
2735    Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2736    methods and namespaces).
2737    Patch by Witek Mozga, thanks.
2740 2009-06-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2742  * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2743    src/toolbar.c, src/toolbar.h:
2744    Remove ui_toolbar.xml Configuration Files menu item.
2745    Add a real toolbar editor dialog.
2746  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2747    src/prefs.c:
2748    Add a button in the preferences dialog and an item for the toolbar
2749    popup menu to run the toolbar editor dialog.
2752 2009-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2754  * src/dialogs.c:
2755    Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2756    Fix using locale encoding for default Save As dialog path.
2757  * src/editor.c:
2758    Beep when trying to activate the '...' autocompletion item.
2759    Limit (forced) document word completion to
2760    autocompletion_max_entries.
2761    Beep if no completions are shown when forcing autocompletion.
2764 2009-06-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2766  * data/ui_toolbar.xml, src/toolbar.c:
2767    Add 'Build' toolbar button to the default layout.
2770 2009-06-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2772  * src/editor.c:
2773    If forcing autocompletion and there's nothing else to show, complete
2774    from words in the current document (using code from Enrico's
2775    'AutoComplete Test' plugin).
2778 2009-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2780  * src/plugins.c:
2781    Add debug message if plugin has not set a name for its keybinding
2782    group.
2783  * data/filetype_extensions.conf:
2784    Add *.m4 for shell scripts.
2787 2009-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2789  * src/highlighting.c, doc/geany.txt, doc/geany.html,
2790    data/filetypes.common, TODO:
2791    Make filetypes.common named styles use the "default" named style for
2792    all missing style fields.
2793    Set named styles to usually leave the background style empty. This
2794    currently allows C-like filetypes to have a common default
2795    background color.
2796    Allow hard-coded colors to use -1 for the default color.
2797    Add some highlighting style examples to the manual.
2800 2009-06-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2802  * src/templates.c:
2803    Create initial template files with proper platform-specific line
2804    ending characters.
2807 2009-06-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2809  * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2810    src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2811    src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2812    src/ui_utils.c, src/ui_utils.h:
2813    Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2814    saved within Geany.
2815    Refactor some related code.
2816  * tagmanager/conf.c:
2817    Strip trailing spaces from "Key" tags.
2818  * geany.nsi:
2819    Quote the full filename to the Geany executable when creating the
2820    "Open with Geany" context menu item.
2821  * plugins/splitwindow.c:
2822    Avoid using deprecated GTK API.
2823  * src/log.c, src/main.c:
2824    Properly clean up the logging mechanism.
2825  * src/build.c:
2826    Fix LaTeX view commands on Windows (part of #2807688).
2827  * src/prefs.c:
2828    Add a popup menu for the keybinding list in the preferences dialog
2829    to easily expand and collapse all groups.
2830    Refactor the keybindings code for the preferences dialog, prefix all
2831    related functions.
2832  * src/main.c, src/ui_utils.c, src/ui_utils.h:
2833    Init stock items before creating the toolbar (closes #2809324).
2834  * wscript:
2835    Generate the geany.pc file also on Windows.
2836  * src/ui_utils.c:
2837    Invert the logic to determine which Save All we want to use:
2838    Use the Tango like icon only for the Tango theme and the Gnome / GTK
2839    like icon for any other themes.
2842 2009-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2844  * src/highlighting.c, README.Packagers, HACKING:
2845    Remove gsd_* default styles, use named styles instead.
2846    Note: this relies on filetypes.common being installed.
2847    Add load_style_entries(), which makes style initialization
2848    simpler, used in styleset_c_like_init().
2851 2009-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2853  * src/win32.c:
2854    Prevent possible crash on Windows when not setting an initial
2855    directory for native File Open/Save dialogs.
2856  * data/filetypes.xml, src/highlighting.c:
2857    Add style 'jscript_regex' for filetype HTML
2858    (patch by Chris Macksey, thanks).
2861 2009-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2863  * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2864    Make GeanyDocument::file_type always be non-NULL, even for a new
2865    document with no filetype set.
2866  * src/editor.c:
2867    Only autocomplete scope for scopes matching the current filetype's
2868    language.
2869  * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2870    data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2871    data/filetypes.actionscript, data/filetypes.cs,
2872    data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2873    data/filetypes.javascript, HACKING:
2874    Make C++, D lexer filetypes use named styles (apart from uuid,
2875    verbatim, regex styles).
2878 2009-06-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2880  * src/dialogs.c:
2881    Don't explicitly change the current directory of the Save As dialog
2882    so that it uses the last used directory.
2885 2009-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2887  * src/encodings.c, src/encodings.h, src/plugindata.h:
2888    Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2889  * src/editor.c:
2890    Remove dead code.
2891    When completing from the macro list, put the cursor after
2892    the inserted text.
2895 2009-06-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2897  * tagmanager/pascal.c:
2898    Fix type definitions being parsed as functions.
2899  * src/editor.c:
2900    Don't autocomplete in unterminated strings as well.
2901  * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2902    src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2903    Remove data_ptr argument to foreach_[s]list() macros, as using
2904    node->data is enough sometimes; this makes the macro a bit more
2905    efficient too.
2906    Add foreach_[s]list() macros to the plugin API docs.
2909 2009-06-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2911  * scintilla/LexPascal.cxx:
2912    Backport fix from Scintilla CVS:
2913    Pascal lexer hanging on file that starts with 'interface' after
2914    whitespace.
2917 2009-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2919  * waf:
2920    Update Waf to 1.5.7.
2921  * wscript:
2922    Overwrite installation prefix on Windows only if it wasn't
2923    specified explicitly.
2926 2009-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2928  * src/editor.c:
2929    Display calltips for Pascal symbols in the Pascal way (#2803945).
2930  * tagmanager/pascal.c:
2931    Fix wrongly set return values for procedures (closes #2803945).
2932  * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2933    tagmanager/include/tm_source_file.h,
2934    tagmanager/include/tm_workspace.h:
2935    Fix doxygen warnings.
2938 2009-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2940  * src/editor.c, tagmanager/include/tm_workspace.h,
2941    tagmanager/tm_workspace.c, TODO:
2942    Autocomplete scoped fields like struct members when typing '.' (and
2943    also '->' or '::' in C/C++).
2944    Save all tag types for C/C++ when generating a global tags file, so
2945    we can use autocompletion for structs also.
2946    Merge tm_workspace_find_scope_members(),
2947    tm_workspace_find_namespace_members() (currently not built) from
2948    Anjuta 2.24.1 tagmanager.
2951 2009-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2953  * tagmanager/pascal.c:
2954    Parse Pascal calltips (closes #2802640).
2957 2009-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2959  * src/filetypes.c, src/ui_utils.c:
2960    Add filetypes.common Configuration Files menu item.
2963 2009-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2965  * src/callbacks.c:
2966    Add backslash to the wordchars on Windows when using
2967    'Open Selected File'.
2968  * src/wscript:
2969    Add support (configure, build and install) for building on Windows
2970    and cross-compiling for Windows using the Waf build system.
2973 2009-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2975  * src/toolbar.c:
2976    Set status bar text instead of showing a dialog when saving
2977    ui_toolbar.xml because the user might save several times.
2978  * src/editor.c:
2979    Fix redrawing due to colourising just after the document is first
2980    drawn. Now colourising should happen before the first draw.
2981  * src/utils.c, src/highlighting.c, data/filetypes.common:
2982    Fix segfault on parsing a filetypes.* style definition that has < 4
2983    fields.
2984    Allow style definitions to have missing fields to use the default
2985    style fields.
2988 2009-06-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2990  * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2991    Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2992  * plugins/classbuilder.c:
2993    Fix wrongly created header guards when the class filenames contains
2994    dashes (patch by PCMan, thanks).
2995  * data/filetypes.matlab:
2996    Add build_settings section to allow executing Matlab scripts.
2997  * src/document.c:
2998    When closing a document, mark it as invalid before removing it from
2999    the documents notebook (this fixes wrong Save All button state when
3000    closing an unsaved document because the "switch-page" signal handler
3001    was using old data).
3004 2009-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3006  * src/highlighting.c, doc/geany.txt, doc/geany.html:
3007    Support toggling bold/italic when using a named style, e.g.:
3008    commentdockeyword=commentdoc,bold,italic
3009    Improve named style docs.
3012 2009-06-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3014  * src/build.c, src/editor.c:
3015    Fix crashes when parsing the output of a compiler which reports
3016    errors on line 0.
3019 2009-06-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3021  * src/highlighting.c:
3022    Support named styles also for filetypes.common [styling] entries.
3023  * doc/geany.txt, doc/geany.html, HACKING:
3024    Update docs for named styles in filetypes.* files.
3025  * src/symbols.c:
3026    Fix grouping symbol list children when parent name has "." character
3027    in for reStructuredText and Conf filetypes.
3028  * tagmanager/python.c:
3029    Fix grouping functions/classes under a nested function.
3032 2009-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3034  * geany.spec.in:
3035    Adjust icon paths (patch by Dominic Hopf, thanks).
3036  * doc/geany.txt, doc/geany.html, src/toolbar.c:
3037    Add 'Replace' toolbar button (closes #2798225).
3040 2009-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3042  * src/utils.c, src/highlighting.c, TODO:
3043    Implement named styles support for filetypes.* using a
3044    filetypes.common [named_styles] section e.g.:
3045    foo=0xc00000;0xffffff;false;true
3046    bar=foo
3047    These can be used in e.g. filetypes.c as:
3048    comment=foo
3051 2009-05-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3053  * src/ui_utils.c:
3054    Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3057 2009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3059  * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3060    Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3063 2009-05-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3065  * src/build.c:
3066    Remove quote_executable() as it is not used anymore.
3067    When creating the geany_run_script.bat use the "%0" variable
3068    expansion and quote it for the "del" command (closes #2797172).
3069  * src/win32.c:
3070    On Windows, fallback to the literal build command line if searching
3071    for the command in the system path failed (related to #2795923).
3072    Properly terminate the resulting strings when reading the stdout
3073    and stderr of any spawned commands on Windows.
3076 2009-05-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3078  * src/win32.c:
3079    Use the wide character versions of native Windows File dialogs.
3080  * src/project.c:
3081    Fix wrong initialisation of the default project path button callback
3082    in the preferences dialog.
3083  * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3084    geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3085    icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3086    icons/Makefile.am, icons/geany.ico, icons/scalable,
3087    icons/scalable/Makefile.am, icons/scalable/geany.svg,
3088    src/makefile.win32:
3089    Move the icons geany.png and geany.ico into the icons directory.
3090    Add a 16x16 pixel Geany icon and the scalable SVG icon.
3091    Drop the pixmaps directory.
3094 2009-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3096  * src/keybindings.c:
3097    Improve MRU document switching so there are no duplicates in the
3098    list and documents switched to whilst the dialog is open are
3099    ignored. Also beep when cycling through to the first document in the
3100    list.
3103 2009-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3105  * src/dialogs.c:
3106    Fix broken 'Cancel' button in the Save As dialog.
3109 2009-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3111  * src/editor.c:
3112    Fix multiline indent when selection covers text on the last line.
3113  * src/notebook.c:
3114    Show current document in bold in tab popup menu.
3115  * src/editor.c, tagmanager/python.c, TODO:
3116    Parse Python calltips.
3119 2009-05-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3121  * src/symbols.c, tagmanager/python.c:
3122    Parse Python import statements to get symbol completion for the
3123    imported module names.
3124  * src/editor.c, src/editor.h:
3125    Make some only locally used functions static.
3126    Fix wrong sanity check.
3127  * src/build.c:
3128    Fix quoting the build command string on Windows (closes #2791769).
3129    This broke when we made build commands run synchronously on Windows,
3130    now we don't need to special quote the commands anymore.
3133 2009-05-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3135  * src/editor.c:
3136    Drop rest of word to the right of cursor when autocompleting (do we
3137    need a pref for this?).
3140 2009-05-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3142  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3143    Add sci_set_selection().
3144  * doc/geany.txt, doc/geany.html:
3145    Update manual for MRU switching.
3146  * src/callbacks.c, src/editor.c, src/editor.h:
3147    Make indenting with the Tabs indent type preserve spaces on the line,
3148    so it works for the 'tab indents, space aligns' formatting style.
3151 2009-05-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3153  * tagmanager/python.c:
3154    Fix missing symbols for variables when an equal sign is used
3155    in a comment on the same line as the variable declaration.
3156    Backport change from CTags SVN to keep the parser more in sync:
3157    Add support for Cython constructs to the Python parser.
3158  * src/search.c:
3159    Remember the additional Find in Files search flags at startup.
3160  * src/dialogs.c:
3161    Don't close the Save As dialog when saving the file didn't succeed.
3164 2009-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3166  * src/keyfile.c:
3167    Remember scribble cursor position.
3168  * src/keybindings.c, TODO:
3169    Implement Most-Recently-Used document switching when pressing
3170    Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3173 2009-05-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3175  * data/latex.tags: Added some more commands from unit.sty and
3176    moderncv.sty.
3179 2009-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3181  * src/symbols.c, doc/geany.txt, doc/geany.html,
3182    tagmanager/makefile.win32, tagmanager/nestlevel.c,
3183    tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3184    tagmanager/Makefile.am, wscript:
3185    Merge unstable branch:
3186    Add reStructuredText scope information for tags (for symbol list
3187    grouping).
3188    Read custom system global tags files from $prefix/share/geany/tags;
3189    Closes #2778923.
3190    Show the number of tags in a user global tags file (instead of the
3191    running total) in the debug message.
3192    Also print debug messages when loading a tag file manually or for
3193    default global tags files e.g. python.tags.
3194  - code:
3195    Move NestingLevel tags code into a separate file, add functions.
3196  - docs:
3197    Add 'Installation prefix' section instead of quoting '/usr/local'
3198    each time.
3199    Update for custom system global tags files.
3202 2009-05-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3204  * src/highlighting.c:
3205    Unset maybe previously keywords when setting up Scintilla for
3206    XML files. This fixed wrong highlighting after switching back to
3207    filetype XML from another one.
3208  * src/utils.c:
3209    Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3210    is only used when explicitly requested.
3211  * src/dialogs.c:
3212    Remove unnecessary call to g_intern_string() to fix build with
3213    GLib 2.8 (closes #2790051).
3216 2009-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3218  * src/ui_utils.c:
3219    Make the clear icon of entry fields act on the release event, not
3220    on the press event like for other buttons.
3221  * src/editor.c:
3222    Refactor some multiple used code into get_multiline_comment_style().
3223  * src/main.c:
3224    Create parent directories if necessary when checking for the
3225    configuration directory on startup (closes #2784577).
3228 2009-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3230  * plugins/filebrowser.c:
3231    When a filter is set, apply it only to files, not directories and
3232    apply the filter to the UTF-8 name of the file as the filter string
3233    itself is also UTF-8.
3234  * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3235    Add utils_color_invert() and use it in highlighting.c and printing.c.
3236  * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3237    Backport change from Scintilla CVS:
3238    Change capitalisation of header file to suit cross-compilation on
3239    Unix for Windows.
3242 2009-05-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3244  * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3245    Update Scintilla to version 1.78.
3246  * src/editor.c, src/highlighting.c:
3247    Update Pascal styles as they changed in Scintilla.
3250 2009-05-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3252  * src/printing.c:
3253    Ignore the invert syntax highlighting colours setting when printing
3254    to not print characters on a dark background (closes #2785244).
3255  * New release: Geany 0.17 "Wessex".
3256  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3257    src/geany.h, doc/geany.html, doc/geany.txt:
3258    Post-release version bump.
3261 2009-04-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3263  * src/callbacks.c, src/callbacks.h, src/main.c:
3264    Update the View->Fullscreen menu item when fullscreen state is
3265    changed externally (e.g. by the window manager).
3266  * src/project.c:
3267    Fix passing wrong pointer to the File Open dialog for the Run
3268    command in the Project Properties dialog.
3271 2009-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3273  * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3274    src/ui_utils.h:
3275    Remember the active sidebar page between sessions.
3276  * src/project.c:
3277    Add a recent project item after creating a new project.
3278  * tagmanager/ruby.c:
3279    Fix wrong parsing of string literals (closes #2781264).
3280  * src/treeviews.c:
3281    Fix setting focus to the editor widget after changing the selection
3282    in the symbol list.
3285 2009-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3287  * src/symbols.c:
3288    Prevent crashes when two or more top level items in the symbol
3289    list have the same name (closes #2778246).
3292 2009-04-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3294  * src/keybindings.c:
3295    Manually show the main notebook tab bar menu when Shift-F10 is
3296    pressed. This broke when we disabled the default GTK tab bar menu.
3297  * src/document.c:
3298    Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3299    which was reloaded shortly before.
3300  * src/editor.c:
3301    When the editor menu is opened by the Menu key, use the text cursor
3302    position for retrieving the current word. This fixes disabled
3303    Go to Tag items in the menu (#2780044).
3304  * src/treeviews.c:
3305    Set the "ellipsize" property of GtkCellRendererText to automatically
3306    shorten the path and file names in the Documents list.
3307  * doc/geany.html, doc/geany.txt, src/build.h:
3308    Increase the amount of highlighted build error messages to 100.
3309    At least for LaTeX we need higher values as there is a lot of
3310    informative output before any errors are reported.
3311  * src/filebrowser.c:
3312    Use the startup path as the initial directory for the filebrowser
3313    plugin when no project and no files are opened
3314    (patch by Matias Gea, thanks; closes #2780521).
3317 2009-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3319  * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3320    src/utils.c, src/utils.h:
3321    Ellipsize tab labels and some status messages for very long
3322    filenames (closes #2777348).
3323  * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3324    Add utils_str_middle_truncate() and
3325    document_get_basename_for_display() to the plugin API.
3326  * doc/geany.html, doc/geany.txt, src/toolbar.c:
3327    Add new toolbar element: Print (patch by Roland Baudin, thanks).
3328  * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3329    src/keyfile.c:
3330    Add a hidden preference 'use_safe_file_saving' to save files to disk
3331    by creating a temporary file first. This has serious side effects,
3332    please read the documentation before enabling this.
3333  * src/build.c:
3334    Make build commands on Windows run synchronously to avoid problems
3335    with reading build commands' output.
3336  * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3337    Limit the amount of highlighted build error messages in the
3338    Compiler window to 50 for performance reasons.
3341 2009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3343  * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3344    src/prefs.c:
3345    Replace our own GEANY_KEYS_MODIFIER_MASK by
3346    gtk_accelerator_get_default_mod_mask() which gives the same result.
3347  * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3348    tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3349    Add a trivial symbol parser for NSIS files.
3352 2009-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3354  * src/dialogs.c:
3355    Hide the extra file open dialog options in an expander to make the
3356    dialog more compact by default and to provide more space for the
3357    file view.
3358    Remove the filename field as it is also provided by GTK itself with
3359    more features like auto-completion.
3360    Watch the 'show-hidden' property of the file chooser widget using
3361    GObject's "notify" signal which gives accurate results and remove
3362    the hack using the "selection-changed" signal.
3365 2009-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3367  * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3368    Prevent double execution of radio menu item "activate" or "toggled"
3369    signal handlers.
3370    Move 'Set Encoding' callback function into encodings.c.
3373 2009-04-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3375  * src/project.c:
3376    Add some missing 'void's in function definitions.
3377    If the project base path is './', just use the path of the project
3378    config file instead of appending './'.
3379  * src/treeviews.c, src/project.c:
3380    When a project is loaded, replace the project base path with the
3381    project name in the Documents sidebar for parent items
3382    (closes #2723679).
3385 2009-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3387  * src/keyfile.c, src/keyfile.h, src/project.c:
3388    Fix duplicating the recent files and projects lists when closing
3389    a project.
3390  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3391    src/editor.c, src/encodings.c, src/filetypes.c,
3392    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3393    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3394    src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3395    src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3396    src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3397    src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3398    Remove all G_LIKELY macros inside g_return_if_fail() statements as
3399    this is redundant.
3400    Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3401    sense to keep the code more readable.
3404 2009-04-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3406  * src/symbols.c:
3407    When updating global type definitions for opened documents, take
3408    also C++ namespace symbols into account and don't ignore symbols
3409    which are defined inside a scope.
3412 2009-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3414  * src/plugins.c:
3415    Don't show 'plugin is not binary compatible' messages on the status
3416    bar, only the status window.
3419 2009-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3421  * src/socket.c:
3422    When opening files from a remote instance on X11, set the window
3423    server time to encourage window managers to pop up the main window
3424    (related to #2735467 and #2276179).
3425  * src/main.c:
3426    When finished sending filenames to a remote instance, notify the
3427    environment that we finished starting up.
3430 2009-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3432  * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3433    Sort Configuration Files menu.
3434    Add ui_menu_sort_by_label().
3435    Add foreach_list() macro.
3436  * src/editor.c:
3437    Fix autocompletion.
3440 2009-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3442  * src/main.c:
3443    Fix setting a wrong default window size when starting without an
3444    existing configuration.
3445  * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3446    Make editor_highlight_braces() static.
3447    Remove unused wrapper functions.
3448  * src/editor.c, src/symbols.c, src/symbols.h:
3449    Prevent showing an empty macro list.
3450    Show only macros of the same filetype instead of all macros of all
3451    loaded filetypes.
3452  * src/ui_utils.c:
3453    Don't add opened project files to the GtkRecentManager.
3456 2009-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3458  * src/editor.c:
3459    Add Configuration Files item for snippets.conf.
3460  * src/highlighting.c, src/symbols.c:
3461    Fix 2 old uses of filetype IDs.
3464 2009-04-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3466  * src/interface.c, src/printing.c, geany.glade:
3467    Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3470 2009-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3472  * src/ui_utils.c:
3473    Add sanity checks in ui_lookup_widget() just to be safe.
3474  * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3475    src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3476    src/project.h, src/ui_utils.c, src/ui_utils.h:
3477    Add "Recent Projects" menu to the Project menu
3478    (#2728630, patch by Elias Pschernig, thanks).
3479  * doc/geany.txt, doc/geany.html:
3480    Describe how to build Geany using the Waf build system.
3481  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3482    src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3483    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3484    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3485    src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3486    src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3487    src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3488    src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3489    src/utils.c, src/utils.h, src/vte.c:
3490    Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3491    performance when building the code with gcc.
3492  * src/highlighting.c:
3493    Fix typo in the G_LIKELY checks, introduced in last commit.
3494    Fix the size of the styles array.
3495  * src/document.c:
3496    Show a message dialog when renaming a file fails.
3499 2009-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3501  * src/build.c:
3502    Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3503    (as we did for all other files in SVN r3382).
3506 2009-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3508  * src/filetypes.c, doc/geany.txt:
3509    Move ActionScript to the Script group.
3510    Fix wording & typo.
3511  * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3512    src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3513    src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3514    plugins/htmlchars.c:
3515    Merge reorder-filetypes branch:
3516    Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3517    append randomly without breaking the ABI).
3518    Make None filetype name = title = _("None").
3519    Add foreach_slist() macro.
3520    Add filetypes_by_title list to GeanyData for plugin API access
3521    - a list of filetype pointers, which includes the None filetype
3522    first. This list stays constant by the time plugins are initialized,
3523    so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3524    index the sorted list.
3527 2009-03-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3529  * doc/geany.txt, doc/geany.html, src/main.c:
3530    Add widget names for the menubar and toolbar.
3531  * src/msgwindow.c:
3532    When hiding the messages window, set the input focus back to the
3533    editor widget (part of #1910393).
3536 2009-03-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3538  * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3539    Backport recent changes from Scintilla CVS to add partial support
3540    for RFC2822 styled text using the Properties lexer.
3541    Ignore leading whitespace for config files and RFC2822 text.
3542  * data/filetypes.actionscript:
3543    Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3544  * THANKS, src/treeviews.c:
3545    Display file/directory icons in the Documents sidebar
3546    (patch by Simon Treny, thanks).
3549 2009-03-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3551  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3552    src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3553    src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3554    Add an option to allow appending the toolbar to the main menu bar
3555    to save some vertical space.
3556    Allow setting toolbar icon size to very small (menu icon size).
3559 2009-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3561  * src/keyfile.c, src/utils.c, src/utils.h:
3562    Add utils_path_skip_root(), a relative path safe variant of
3563    g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3564  * src/keyfile.c, src/main.c:
3565    Allow negative window coordinates when saving and restoring the
3566    position of the main window.
3567    Restore the main window position and size *after* the window has
3568    been realised to get it positioned accordingly
3569    (this affects at least Windows).
3572 2009-03-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3574  * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3575    Use g_win32_get_package_installation_directory_of_module() on Windows
3576    with newer GLib versions instead of deprecated API.
3577  * src/keybindings.c:
3578    Don't manage the last used documents list when quitting to prevent
3579    errors by accessing invalid memory (may close #2533990).
3582 2009-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3584  * src/build.c:
3585    Delete the geany_run_script.sh immediately after execution
3586    to prevent leaking old copies when the script was quit unexpectedly
3587    (closes #2710482, patch by Martin Olsson, thanks).
3588  * src/keyfile.c:
3589    Check whether skipping the root element of a document's filename
3590    succeeded and use the filename itself if not (e.g. on relative
3591    filenames, #2702844).
3592    Use the locale encoded filename when saving session files.
3593  * src/callbacks.c:
3594    Re-set the quitting status after all documents have been closed on
3595    quitting.
3598 2009-03-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3600  * plugins/htmlchars.c:
3601    Remove usage of deprecated sci_get_selected_text() from plugin.
3604 2009-03-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3606  * src/callbacks.c:
3607    Delay disk file checks when switching between documents a little
3608    bit to avoid fast, unintentional page switching in some cases.
3609  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3610    src/sciwrappers.c, src/sciwrappers.h:
3611    Deprecate sci_get_text(), sci_get_selected_text() and
3612    sci_get_text_range().
3613    Add sci_get_contents(), sci_get_contents_range() and
3614    sci_get_selection_contents() as replacement functions to provide
3615    an easier and cleaner API (initial patch by Frank).
3618 2009-03-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3620  * tagmanager/css.c:
3621    Fix wrong parsing of CSS tags when the definition block starts on
3622    a new line (reported by Dominic Hopf, thanks).
3625 2009-03-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3627  * plugins/htmlchars.c:
3628    Extend plugin by feature to bulk replace and replace on input for
3629    special characters to their HTML entities.
3632 2009-03-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3634  * src/build.c:
3635    Update build menu items after changing anything in the
3636    'Set Includes and Arguments' dialog.
3637    Disable Compile/Run buttons/menu items when Compile/Run commands are
3638    set but empty.
3639    Reset current build directory to the base directory after reading a
3640    "Leaving directory" message when parsing Make output
3641    (closes #2694479, patch by Andrea Mazzoleni, thanks).
3642  * src/notebook.c:
3643    Fix wrong display of the filename in the tab bar menu for new files.
3644  * src/dialog.c:
3645    Set the initial directory for the Save As dialog only once on
3646    initialisation.
3647    Add a shortcut of the project's base directory to the
3648    File Open/Save As dialogs when a project is open for faster access.
3649  * src/splitwindow.c:
3650    Add keybindings for the split actions.
3653 2009-03-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3655  * src/search.c:
3656    When using Find All in the Find dialog (in Session and Document),
3657    display the right amount of matches.
3658    Fix the display of the matches once per line (I broke the original
3659    patch).
3660  * src/ui_uitls.c:
3661    Fix wrong directory selection behaviour in all Open Folder dialogs
3662    (closes #2688020, patch by Marcel Stimberg, thanks).
3663  * src/socket.c:
3664    Don't present the main window of a running instance when starting
3665    a second instance separately.
3668 2009-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3670  * src/socket.c:
3671    Reduce default file permissions on the Unix Domain socket file
3672    (reported by Jörg Sommer, thanks).
3675 2009-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3677  * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3678    src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3679    src/prefs.h:
3680    Add an option to set an additional plugin lookup path.
3681  * src/search.c:
3682    When using Find All in the Find dialog, display matches only once
3683    per line in the messages window (patch by Bert Vermeulen, thanks).
3686 2009-03-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3688  * data/filetype_extensions.conf, data/filetypes.actionscript,
3689    src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3690    src/highlighting.c, src/plugindata.h, src/symbols.c,
3691    tagmanager/Makefile.am, tagmanager/actionscript.c,
3692    tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3693    Add filetype ActionScript (patch by Chris Macksey, thanks).
3694    Update type keywords only for real C-like languages.
3695    Fix wrong sorting of Assembler and Ada filetypes.
3696  * plugins/classbuilder.c:
3697    Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3698    Other minor cleanups.
3701 2009-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3703  * src/notebook.c:
3704    Don't use menu item images for the tab bar menu to save some
3705    vertical space.
3706  * data/filetypes.fortran, tagmanager/fortran.c:
3707    Add keyword 'extends' and fix Fortran parser to support the
3708    'extends' keyword (closes #2654492).
3709  * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3710    src/search.c, src/toolbar.c:
3711    Fix punctuation.
3714 2009-03-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3716  * src/about.c, THANKS:
3717    Added Jari Rahkonen to list of Finnish translators.
3720 2009-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3722  * geany.pc.in:
3723    Adjust minimum required GTK version.
3724  * src/Makefile.am, wscript:
3725    Add main.h to the list of installed header files.
3726  * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3727    src/notebook.c, src/ui_utils.c:
3728    Remove GeanyDocumentPrivate::tabmenu_label.
3729    Disable the default tab bar menu for the main notebook widget and
3730    use a custom menu instead which lists all open files as usual plus
3731    'Close Other Documents' and 'Close All' menu items.
3734 2009-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3736  * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3737    Move ui_set_search_entry_background() into ui_utils.c.
3738    Change the background colour of the search entries in the Find
3739    and Replace dialogs according to the search results like in the
3740    toolbar search field.
3741    Add images to the 'Replace' and 'Replace and Find' buttons in the
3742    Replace dialog.
3743    Minor cleanups in search.c.
3744  * tagmanager/tm_source_file.c:
3745    Update source files upon creation.
3746  * data/c99.tags:
3747    Update C tags for glibc 2.9.
3748  * src/callbacks.c, src/toolbar.c:
3749    Fix broken non-incremental search with the toolbar search entry when
3750    pressing Enter (closes #2638180).
3751  * plugins/splitwindow.c:
3752    Fix possible crash on non-32-bit systems (patch by
3753    Wolfgang Ocker, thanks).
3754  * geany.spec.in:
3755    Update the Packager tag due to Dominic's various contributions.
3756    Update description and feature list.
3757    Change Source tag to the gzip'ed tarball to be in sync with the
3758    Makefile target (thanks to Wolfgang Ocker for reporting).
3761 2009-02-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3763  * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3764    Removed deprecated plugin VC Diff
3767 2009-02-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3769  * src/templates.c:
3770    Fix wrong Fortran 90 comment characters when inserting templates.
3771  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3772    src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3773    src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3774    src/vte.h, THANKS:
3775    Add 'Send Selection to Terminal' command to the Edit->Format menu
3776    (initial patch by David Gleich, thanks).
3777  * geany.glade, src/interface.c:
3778    Fix mnemonic for the Edit->Preferences menu item.
3781 2009-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3783  * configure.in, plugins/Makefile.am:
3784    Enable socket support when cross-compiling.
3785    Enable plugin compilation when cross-compiling.
3786  * src/msgwindow.c:
3787    Fix missing NULL checks when reading the colour value of compiler
3788    output messages.
3789  * src/main.c, src/win32.c, src/win32.h:
3790    On Windows, change the working directory to the Geany installation
3791    path at startup to avoid unwanted directory locking(closes #2626124).
3792  * src/encoding.c:
3793    Fix broken selection of "Document->Set Encoding" menu items.
3794  * src/document.c, tagmanager/include/tm_source_file.h,
3795    tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3796    tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3797    tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3798    Don't let the tagmanager automatically reparse files if they
3799    seem to be changed on disk (affects all files in the current session,
3800    not the current one). This should speed up file saving a little bit,
3801    especially with remote files.
3802    Remove now unnecessary calls to tm_workspace_update().
3803  * src/printing.c:
3804    Allow an empty value for the date format in the print settings to
3805    omit the date/time string in the print header.
3808 2009-02-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3810  * src/editor.c: Set cursor for LaTeX at auto closing of environment
3811    direct into area.
3814 2009-02-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3816  * src/utils.h:
3817    Add missing header include (closes #2615808).
3820 2009-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3822  * src/symbols.c:
3823    Fix a possible crash when comparing symbol names
3824    (could be related to Ubuntu bug #147151).
3825    Fix broken symbol list tooltips when tag names contain ampersands.
3828 2009-02-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3830  * plugins/makefile.win32:
3831    Don't build Split Window plugin on Windows (doesn't work).
3834 2009-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3836  * ChangeLog, Makefile.am: Rotate ChangeLog.
3837  * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3838    wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3839    Post-release version bump.
3842 *** See ChangeLog.pre-0-17 for earlier changes ***