Fix foreach_ptr_array() not to crash on arrays with 0 elements
[geany-mirror.git] / ChangeLog
blob931d47502c0ea5ba5e7e0abe3e79b732bad4a445
1 2011-08-25  Colomban Wendling  <colomban(at)geany(dot)org>
3  * src/utils.h:
4    Fix foreach_ptr_array() not to crash on arrays with 0 elements.
7 2011-08-25  Colomban Wendling  <colomban(at)geany(dot)org>
9  * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
10    doc/geany.html, data/filetypes.*:
11    Add support for filetype-specific indentation settings (closes
12    #3339420 and #3390435).
13  * src/callbacks.c, src/editor.c, src/editor.h:
14    Add editor_set_indent_width() to only set indentation width.
15  * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
16    src/interface.c, geany.glade:
17    Add menu items to detect indentation settings from document's
18    content.
21 2011-08-24  Colomban Wendling  <colomban(at)geany(dot)org>
23  * src/editor.c:
24    Make completion and word completion support non-ASCII characters
25    (closes #3313351).
28 2011-08-21  Colomban Wendling  <colomban(at)geany(dot)org>
30  * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
31    Fix search for the current word if it isn't composed of only
32    GEANY_WORDCHARS (closes #3386129).
35 2011-08-20  Colomban Wendling  <colomban(at)geany(dot)org>
37  * tagmanager/haskell.c:
38    Fix tags for one-letter Haskell symbols (closes #3289160).
41 2011-08-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
43  * doc/plugins.dox:
44    Update of wording to fix some grammatical issues etc. on plugin howto.
45    Patch provided by Matthew Brush. Thanks.
46  * data/filetype_extensions.conf:
47    Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
50 2011-08-19  Colomban Wendling  <colomban(at)geany(dot)org>
52  * data/filetype_extensions.conf, data/filetypes.Cython.conf,
53    data/filetypes.python:
54    Add Cython filetype (patch by Matthew Brush, thanks).
55  * src/symbols.c, tagmanager/include/tm_workspace.h,
56    tagmanager/tm_workspace.c:
57    Create temporary files used for generating global tags files in the
58    system directory for temp files.
59  * tagmanager/diff.c:
60    Don't make tags for /dev/null in diff files but for the new file
61    instead (Based on a patch by Yang Hong, thanks).
64 2011-08-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
66  * doc/plugins.dox:
67    Update API version used inside plugin howto to a more recent version
68    (API v211).
71 2011-08-13  Colomban Wendling  <colomban(at)geany(dot)org>
73  * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
74    Focus the editor upon double click on the message and compiler
75    windows (patch by Dimitar Zhekov, thanks).
78 2011-08-03  Colomban Wendling  <colomban(at)geany(dot)org>
80  * src/geany.h, plugins/classbuilder.c, plugins/export.c,
81    plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
82    plugins/splitwindow.c:
83    Only include config.h when building Geany (closes #3384026).
86 2011-07-31  Frank Lanitz  <frlan@frank.uvena.de>
88  * doc/plugins.dox:
89    Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
90    HowTo as well as a hint to make usage of main_locale_init().
93 2011-07-28  Colomban Wendling  <colomban(at)geany(dot)org>
95  * src/build.c, src/build.h, src/editor.c, src/interface.c,
96    src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
97    src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
98    Allow to edit formerly hidden preferences in the prefs dialog
99    (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
100  * src/document.c:
101    Improve indentation width detection to better deal with Java
102    and Vala files.
105 2011-06-26  Colomban Wendling  <colomban(at)geany(dot)org>
107  * src/highlighting.c:
108    Recognize C# and Vala raw and verbatim strings as string styles.
109  * src/editor.c:
110    Fix indentation brace matching (closes #3309606).
113 2011-06-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
115  * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
116    geany.pc.in:
117    More GTK 2.8 => GTK 2.12 transition.
120 2011-06-20  Colomban Wendling  <colomban(at)geany(dot)org>
122  * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
123    doc/geany.html:
124    Add an hidden pref to choose between GIO and plain C unsafe
125    file saving.
126  * configure.ac, src/document.c, win32-config.h:
127    Completely drop HAVE_GIO checks.
130 2011-06-18  Colomban Wendling  <colomban(at)geany(dot)org>
132  * src/document.c, src/document.h, src/editor.c:
133    Remove support of size being -1 in document_open_file_list().
134  * src/utils.c src/utils.h:
135    Remove support of size being -1 in utils_get_line_endings().
136  * src/stash.c, src/stash.h:
137    Make StashWidgetID map to gconstpointer, allowing use of const
138    strings as the widget key.
141 2011-06-16  Colomban Wendling  <colomban(at)geany(dot)org>
143  * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
144    Remove most of the checks for GIO.
145  * src/win32.c:
146    Remove last GLib >= 2.16 check.
149 2011-06-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
151  * tagmanager/python.c:
152    Fix two bugs with triple quoted strings within comments
153    and missing indentation within triple quoted strings
154    (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
157 2011-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
159  * data/filetypes.python:
160    Add Cython keywords.
163 2011-06-13  Colomban Wendling  <colomban(at)geany(dot)org>
165  * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
166    Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
167  * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
168    src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
169    src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
170    src/vte.c:
171    Deprecate ui_widget_set_tooltip_text() in favor of
172    gtk_widget_set_tooltip_text().
173  * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
174    src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
175    src/printing.h:
176    Enable GTK printing support unconditionally.
177  * doc/geany.html, doc/geany.txt:
178    Stop talking about pre-GTK 2.12 tricks.
179  * geany.glade, src/interface.c:
180    Fix Printing preferences page alignment.
181  * src/notebook.c:
182    Remove pre-GTK 2.10 tab DnD support.
183  * src/pluginutils.c, tagmanager/tm_file_entry.c,
184    tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
185    Unconditionally use GSlice allocator.
188 2011-06-11  Colomban Wendling  <colomban(at)geany(dot)org>
190  * src/dialogs.c, src/main.c, src/ui_utils.h:
191    Always destroy open and save dialog after use. This also helps
192    working around a long-living GTK+ bug, hopefully closing #3311258,
193    #3304273, #3201050, #3163742, #3153120 and #2985896.
196 2011-06-03  Colomban Wendling  <colomban(at)geany(dot)org>
198  * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
199    src/search.c, src/search.h:
200    Show the actual text the user searched for in messages rather than
201    the internal one (patch by Eugene Arshinov, thanks).
202  * src/search.c:
203    Also use the actual user search in the combo box history.
206 2011-06-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
208  * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
209    Add ui_focus_current_document() and document_grab_focus().
210  * src/project.c:
211    Focus the editor widget after loading project session files.
212  * scripts/create_py_tags.py:
213    Ignore tags ending with an underscore.
214    Dynamically determine the path of Python's standard library instead
215    of hardcoding it.
216    Parse all modules of the Python standard library instead of a
217    hardcoded list of filenames.
220 2011-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
222  * data/filetypes.java:
223    Move keyword 'enum' to primary keywords (closes #3305737).
226 2011-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
228  * tagmanager/python.c:
229    When checking for literal strings to ignore, consider also
230    unicode, binary and raw strings.
231  * src/plugins.c:
232    Define and use get_plugin_path() always and move platform dependent
233    code into the function definition.
234    Do not add active plugins to the list of plugins when they are
235    already in the list (closes #3308191).
236    Check whether the custom plugin path is one of the user or system
237    plugin paths and if so, ignore it.
240 2011-05-27  Colomban Wendling  <colomban(at)geany(dot)org>
242  * src/prefs.c:
243    Fix preferences help button when activated with the keyboard.
246 2011-05-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
248  * src/about.c, src/build.c, tagmanager/tm_workspace.c:
249    Remove unused variables (patch by Eugene Arshinov, thanks).
250  * src/stash.c:
251    Remove unused variables (suggested by Eugene Arshinov).
252  * src/ui_utils.c, doc/geany.txt, doc/geany.html:
253    Do not allow 'Save All' even if 'allow_always_save' is set
254    (patch by Dimitar Zhekov, thanks).
255  * data/filetypes.java:
256    Add 'enum' to secondary keywords
257    (closes #3305737, patch by Matthew Brush, thanks).
260 2011-05-12  Colomban Wendling  <colomban(at)geany(dot)org>
262  * src/encodings.c:
263    Update the HTML content-type encoding detection regexp to accept some
264    more valid inputs (closes #3300703).
267 2011-05-11  Colomban Wendling  <colomban(at)geany(dot)org>
269  * src/plugins.c:
270    Improve the plugin manager dialog a little.
271  * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
272    src/plugins.c:
273    Cleanup GeanyWrapLabel a bit.
276 2011-05-09  Colomban Wendling  <colomban(at)geany(dot)org>
278  * plugins/splitwindow.c:
279    Remove widget reparenting in Split Window plugin. This fixes plugin
280    issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
281  * plugins/Makefile.am, plugins/makefile.win32, wscript:
282    Enable SplitWindow build on Windows again (re-apply Enrico's patch).
285 2011-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
287  * HACKING:
288    Add note about patching Glade 2.12 to compile it with
289    newer GTK versions.
292 2011-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
294  * src/callbacks.c:
295    Fix 'Toolbar Preferences' popup menu item (oops).
298 2011-05-03  Colomban Wendling  <colomban(at)geany(dot)org>
300  * doc/geany.txt, doc/geany.html:
301    Update the documentation for project patterns and recent FIF dialog
302    changes.
305 2011-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
307  * src/highlighting.c, doc/geany.txt, doc/geany.html:
308    Allow translations for color scheme [theme_info] keys.
309  * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
310    Save filetype build commands straight after editing them instead of
311    at shutdown (patch by Dimitar Zhekov, thanks).
314 2011-05-02  Colomban Wendling  <colomban(at)geany(dot)org>
316  * src/plugindata.h:
317    Bump plugin API version so a plugin can know the project file
318    patterns are visible by the user.
321 2011-05-01  Colomban Wendling  <colomban(at)geany(dot)org>
323  * src/search.c:
324    Fix pattern filtering when not searching in subdirectories.
327 2011-04-30  Colomban Wendling  <colomban(at)geany(dot)org>
329  * src/project.c:
330    Fix project patterns and make them visible (based on a patch
331    by Jiří Techet, thanks).
332  * src/search.c:
333    Use project patterns in the FIF dialog (based on a patch
334    by Jiří Techet, thanks).
335  * src/msgwindow.c:
336    Open the file in the msgwindow even if no line number is specified.
339 2011-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
341  * src/filetypes.c, data/filetype_extensions.conf:
342    Revert 'Compiled' filetype group back to 'Programming' (couldn't
343    agree on whether e.g. Java is a compiled language).
344  * doc/geany.txt, doc/geany.html:
345    Add section 'Filetype group membership'.
346  * src/highlighting.c, doc/geany.txt, doc/geany.html,
347    data/colorschemes/alt.conf:
348    Read color scheme name and description for menu item label and
349    tooltip (based on patch by Matthew Brush, thanks).
352 2011-04-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
354  * src/filetypes.c, src/filetypes.h:
355    Remove now unnecessary Custom filetype group.
356  * src/filetypes.c:
357    Move text markup languages into Markup filetype group.
358    Move some programming language filetypes out of the Miscellaneous
359    group.
360    Fix filetype title for some languages.
361    Don't use 'Languages' for Miscellaneous group label.
362    These changes mostly proposed by Matthew Brush (thanks).
363  * src/filetypes.c:
364    Make custom filetype titles use 'source file' only if their group
365    is Compiled or Script.
366    Use 'source file' for reStructuredText title.
369 2011-04-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
371  * src/filetypes.c, src/filetypes.h, src/main.c,
372    data/filetype_extensions.conf:
373    Make filetype group membership configurable using [Groups] in
374    filetype_extensions.conf.
375    Read filetype_extensions.conf when calling filetypes_init_types(),
376    don't require doclist initialization.
377  * src/filetypes.c:
378    Change Programming Languages filetype group label -> Compiled
379    Languages.
380    Use 'source file' title for custom filetypes.
381  * src/prefs.c, doc/geany.txt, doc/geany.html:
382    Remove Preferences label warning about restarting after editing
383    template data - this is no longer necessary.
386 2011-04-26  Colomban Wendling  <colomban(at)geany(dot)org>
388  * src/callbacks.c, src/document.c, src/document.h,
389    src/documentprivate.h, src/editor.c, src/sidebar.c:
390    Make sure to update the tag list only for the current document,
391    avoiding idle updates to show the tag list for the wrong document.
392  * src/callbacks.c, src/document.c, src/documentprivate.h,
393    src/sidebar.c:
394    Avoid changing the tag tree if it's not the one of the current
395    document, fixing showing the wrong tag list when reloading
396    configuration files.
399 2011-04-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
401  * src/utils.c:
402    Fix warning in utils_find_open_xml_tag() with malformed tags like
403    <~foo> (oops).
406 2011-04-24  Colomban Wendling  <colomban(at)geany(dot)org>
408  * src/editor.c:
409    Don't update the tag list when the user is typing (patch by Yura
410    Siamashka, thanks).
411  * src/filetypes.c:
412    When copying filetype groups, add keys from both system and user
413    ones, making sure user's ones have precedence over system ones.
416 2011-04-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
418  * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
419    plugins/geanyfunctions.h:
420    Add utils_find_open_xml_tag_pos() API function (patch by Eugene
421    Arshinov, thanks).
422  * src/templates.c:
423    Replace dates on template insertion, not when loading templates.
426 2011-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
428  * src/editor.c:
429    Fix multiple snippet cursor positions for Tabs + Spaces mode.
430    Simplify editor_insert_snippet() code now we use cursor marker
431    strings.
432  * src/utils.c, src/utils.h, src/editor.c:
433    Add utils_string_find() to search in a fixed range.
434    Change utils_string_replace() to just replace a fixed number of
435    characters.
438 2011-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
440  * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
441    plugins/geanyfunctions.h:
442    Add document_compare_by_tab_order() and
443    document_compare_by_tab_order_reverse() to the plugin API.
444  * src/ui_utils.c:
445    Use document_compare_by_tab_order() as default compare function
446    to sort the document list in the document notebook tab menu, this
447    fixes the currently broken default ordering.
450 2011-04-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
452  * src/utils.c, src/utils.h, src/editor.c:
453    Add function utils_string_replace() to replace in a fixed range.
454    Remove utils_string_replace_helper() and update cursor marker code.
457 2011-04-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
459  * src/editor.c:
460    Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
461    Refactor snippets_make_replacements() using geany_cursor_marker.
464 2011-04-13  Colomban Wendling  <colomban(at)geany(dot)org>
466  * src/editor.c:
467    Avoid triggering autocompletion on PHP open tags (closes #3199442).
470 2011-04-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
472  * src/document.c:
473    Update dox for document_compare_by_display_name() with warning
474    about parameter addresses.
475  * src/document.h:
476    Use brackets for DOC_FILENAME() macro 'doc' argument.
477  * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
478    src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
479    Make utils_build_path() return a copy for safety.
480  * src/keybindings.c:
481    Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
484 2011-04-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
486  * src/document.c:
487    Fix wrong casting of array pointers, thanks Nick.
488  * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
489    src/document.h:
490    Rename document_sort_by_display_name() into
491    document_compare_by_display_name(), thanks again Nick.
494 2011-04-11  Colomban Wendling  <colomban(at)geany(dot)org>
496  * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
497    Revert r5642 "Don't update parent WorkObjects when updating one in
498    real-time" because it broke calltips.
501 2011-04-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
503  * plugins/filebrowser.c:
504    Update path when saving a new document for the first time if the
505    follow path option is enabled.
506  * src/about.c, src/keyfile.c, THANKS:
507    Store VTE path with the session (based on patch by Nicolas
508    Sierro, thanks).
509    There's still a bug with loading a project at startup; closing the
510    project doesn't restore old VTE path.
511  * src/filetypes.c, src/filetypes.h:
512    Refactor with filetypes_get_filename().
513    Make filetypes_get_conf_extension() static.
514  * src/utils.c, src/utils.h, src/filetypes.c:
515    Make utils_make_filename() return a copy for safety.
518 2011-04-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
520  * src/editor.c:
521    Ignore scrolling events in on_update_ui().
522  * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
523    src/document.c, doc/pluginsignals.c:
524    Add and use signal "document-reload" to the plugin API.
525  * src/symbols.c, tagmanager/sql.c:
526    Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
527  * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
528    src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
529    Add ui_menu_add_document_items_sorted() and
530    document_sort_by_display_name() to the plugin API.
533 2011-04-08  Colomban Wendling  <colomban(at)geany(dot)org>
535  * scintilla/lexers/LexCPP.cxx:
536    Make highlighting of triple-quoted verbatim an option (Backport
537    from Scintilla HG 3602:5536ed81a85b).
538  * src/highlighting.c:
539    Add highlight for triple-quoted verbatims.
540  * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
541    data/filetypes.Scala.conf:
542    Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
543  * data/filetypes.Genie.conf:
544    Copy C styling rather than redefining the styles.
545  * src/editor.c:
546    Don't set font twice for line numbers and braces.
549 2011-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
551  * src/templates.c:
552    Remove TEMPLATES_GET_FILENAME() macro.
553  * src/search.c:
554    Don't auto-enable case-sensitive option when enabling regex in
555    Find/Replace dialogs.
558 2011-04-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
560  * scintilla/gtk/ScintillaGTK.cxx:
561    Fix X PRIMARY selection issue when Scintilla widget is
562    unrealized/re-realized (Backport from Scintilla HG,
563    original patch by Matthew Brush).
564    Reset cursors when Scintilla widget is realized (Backport from
565    Scintilla HG, original patch by Matthew Brush).
568 2011-04-04  Colomban Wendling  <colomban(at)geany(dot)org>
570  * scintilla/gtk/PlatGTK.cxx:
571    Fix font rendering in Scintilla when using Cairo.
574 2011-04-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
576  * src/interface.c, geany.glade:
577    Make Project->Properties the last menu item so it's faster to use.
580 2011-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
582  * scintilla/*:
583    Update Scintilla to version 2.25.
584  * version.txt, Makefile.am:
585    Add Scintilla's version.txt file.
586  * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
587    Replace escape character '\' by slash '/' in paths in the
588    Windows Makefiles (patch by Matthew Brush, thanks).
589  * src/tools.c:
590    Reflect the existence of the entered command in `Set Custom Commands`
591    dialog as well using the yes/no icon.
594 2011-04-03  Colomban Wendling  <colomban(at)geany(dot)org>
596  * src/main.c, src/prefs.c, src/tools.c:
597    Fix loading and updating menu accelerators for custom commands.
598  * src/prefs.c:
599    Don't allow editing keybinding column of group rows.
600  * src/tools.c:
601    Fix ID of newly added commands in the `Set Custom Commands` dialog.
604 2011-04-02  Colomban Wendling  <colomban(at)geany(dot)org>
606  * src/tools.c, doc/geany.txt, doc/geany.html:
607    Improve the `Set Custom Commands` dialog.
610 2011-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
612  * src/interface.c, src/interface.h, geany.glade:
613    Rename Preferences dialog Interface subtab More -> Notebook tabs.
614  * src/toolbar.c, src/dialogs.c:
615    Use mimetype icon in File Properties dialog.
616  * doc/geany.txt, doc/geany.html:
617    Fix title capitalization.
618  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
619    Move Preferences dialog Toolbar tab under Interface tab.
620  * src/build.c:
621    Tweak some build dialog labels:
622    Clear -> Reset.
623    Fix capitalization.
624    Use filetype name instead of title.
625  * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
626    Remove old filetype templates support - users can use custom file
627    templates instead.
630 2011-04-01  Colomban Wendling  <colomban(at)geany(dot)org>
632  * src/encodings.c:
633    Update regex used to find encodings for it to allow the encoding to
634    be quoted, adding support for XML (closes #3183506).
635  * src/encodings.c:
636    Implement charset name normalization in order to better deal with
637    badly-written encoding names (i.e. names found by regex search).
638    This also makes encodings_get_idx_from_charset() and
639    encodings_get_from_charset() more permissive regarding the passed-in
640    encoding name.
641  * src/encodings.c:
642    Always try to honor the charset found in the document, even if the
643    document can be loaded as UTF-8.
644    This make files encoded with e.g. ISO-8859-1 that have the proper
645    information in them but only use the UTF-8 compatible part of
646    ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
647    Also fix check for locale encoding.
648  * src/tools.c, doc/geany.txt, doc/geany.html:
649    Make `Send selection to` send the current line if there is no
650    selection.
653 2011-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
655  * plugins/filebrowser.c:
656    Make 'Hide object files' preference configurable with file
657    extensions.
658  * plugins/filebrowser.c:
659    Fix applying default setting for hide_object_files (oops).
660    Fix warning when enabling plugin from the Plugin Manager.
661  * plugins/filebrowser.c:
662    Fix optimization for filter check when pattern is '*'.
663    Use foreach_strv() instead of foreach_c_array().
664  * plugins/filebrowser.c:
665    Don't hide directories matching hidden file extensions e.g. foo.o.
666    Refactor with check_object().
669 2011-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
671  * src/editor.c:
672    Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
673    crash in the Split Window plugin when changing filetype (patch by
674    Matthew Brush, thanks; fixes #3255968).
675  * plugins/splitwindow.c:
676    Update styles when the filetype changes (based on patch by
677    Matthew Brush, thanks).
678  * plugins/saveactions.c:
679    Fix Instant Save preferences combo box filetype order.
680  * plugins/filebrowser.c:
681    Remove macro CHECK_READ_SETTING().
684 2011-03-30  Colomban Wendling  <colomban(at)geany(dot)org>
686  * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
687    src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
688    Add plugin_idle_add(), plugin_timeout_add() and
689    plugin_timeout_add_seconds() to the plugin API. These are
690    convenience wrappers to ensure the added timeouts are properly
691    removed when unloading the plugin, preventing possible crashes.
692  * plugins/splitwindow.c:
693    Use new plugin_idle_add(), preventing an unlikely crash.
694  * doc/pluginsymbols.c, src/sciwrappers.c:
695    Fix a few Doxygen warnings.
696  * plugins/saveactions.c:
697    Properly use 0 as the invalid timeout source ID.
700 2011-03-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
702  * doc/geany.txt, doc/geany.html:
703    Add #reading-styles-from-another-filetype subsection, based on
704    patch by Matthew Brush (thanks).
705  * doc/geany.txt, doc/geany.html:
706    Add #filenames subsection for filetype definition files explaining
707    the filename extensions and special cases.
708  * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
709    src/main.c, plugins/geanyfunctions.h:
710    Add filetypes_get_sorted_by_name() to API.
711    Fix --ft-names sorting to print in name order, not title order.
714 2011-03-28  Colomban Wendling  <colomban(at)geany(dot)org>
716  * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
717    Don't update parent WorkObjects when updating one in real-time. This
718    should fix some performance issues if a WorkObject has many parents.
721 2011-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
723  * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
724    wscript:
725    Initialize GLib's Gthread system early at startup in case any
726    plugins need it.
727  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
728    doc/geany.txt, doc/geany.html:
729    Add new keybinding 'Remove Markers and Error Indicators'.
732 2011-03-26  Colomban Wendling  <colomban(at)geany(dot)org>
734  * src/sidebar.c:
735    Fix the sidebar popup menu to properly use the currently selected
736    item rather than the previous one.
737    Also change the hack used for the selection to be updated in the
738    input handlers to call the GtkTreeView's handler manually rather than
739    doing the actual job in IDLE callbacks for the TreeView's handler to
740    have run.
741  * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
742    src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
743    src/project.c:
744    Add possibility to detect the indentation width from the file content
745    (not supported if indentation type is tabs only).
746  * plugins/splitwindow.c:
747    Enable code folding in splitview window (based on a patch by Matthew
748    Brush, thanks! - closes #3097780).
749    Fix confusing terminology in Split Window plugin menu labels (patch
750    by Matthew Brush - closes #2796316).
751    Don't unsplit when closing the displayed document but rather pick the
752    new current one if any.
755 2011-03-25  Colomban Wendling  <colomban(at)geany(dot)org>
757  * data/filetypes.vala:
758    Update Vala keywords (based on a patch from Matthew Brush, thanks).
759  * data/document.c:
760    Small code cleanups.
763 2011-03-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
765  * plugins/filebrowser.c:
766    Add history to filter entry.
767  * src/keybindings.c, src/vte.c:
768    Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
769    (Ctrl-Shift-V).
770  * src/keybindings.c:
771    Make VTE copy/paste shortcuts work if 'Override Geany
772    keybindings' is not set.
775 2011-03-24  Colomban Wendling  <colomban(at)geany(dot)org>
777  * doc/geany.txt, doc/geany.html:
778    Update the documentation to talk about real-time tag parsing.
779  * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
780    src/document.c, src/document.h, src/geanyentryaction.c,
781    src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
782    Make Shift-Enter in search dialog and toolbar search entries search
783    backwards.
784  * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
785    src/dialogs.c, src/document.c, src/document.h, src/editor.c,
786    src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
787    src/main.c, src/plugins.c, src/printing.c, src/project.c,
788    src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
789    Improve usage of G_LIKELY() and G_UNLIKELY() macros.
792 2011-03-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
794  * src/main.c:
795    Make --ft-names list filetypes alphabetically.
796  * plugins/filebrowser.c:
797    Allow multiple file filters to be separated by a space for
798    consistency with Find in Files file patterns. ';' is still
799    allowed also.
802 2011-03-20  Colomban Wendling  <colomban(at)geany(dot)org>
804  * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
805    src/filetypes.c, src/filetypes.h, src/templates.c:
806    Add new filetype setting "comment_single" to provide separated
807    single-line and multiline comment support. Single-line are used in
808    priority to comment code, and multiline to make template comments.
809  * src/editor.c, src/search.c, tagmanager/diff.c:
810    Don't use strlen(..) > 0 or == 0, simply check the first character
811    against 0.
812  * src/document.c:
813    Update forced indent settings when setting the filetype. This makes
814    documents created or set to a filetype with forced indent setting
815    (Makefile, F77) to have the correct setting right away.
818 2011-03-19  Colomban Wendling  <colomban(at)geany(dot)org>
820  * src/callbacks.c:
821    Create a new undo action when inserting templates, making sure the
822    user can undo the template insertion without also undoing a previous
823    action.
826 2011-03-18  Colomban Wendling  <colomban(at)geany(dot)org>
828  * src/document.c, src/encodings.c, src/encodings.h:
829    Move document encoding conversion with BOM support to encodings.[ch]
830    as encodings_convert_to_utf8_auto().
831  * src/templates.c:
832    Properly convert template files to UTF-8 on loading, fixing encoding
833    issues if templates files are not encoded in UTF-8.
836 2011-03-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
838  * data/templates/files/main.vala:
839    Add file template for Vala (patch by Mark Trompell, thanks).
842 2011-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
844  * src/utils.c, src/utils.h, src/filetypes.c:
845    Support copying filetype definition file group keys from a system
846    keyfile with e.g. [styling=C].
847    Add function utils_make_filename() for building filenames easily.
848  * THANKS, plugins/classbuilder.c:
849    Improve Class Builder plugin dialog UI using a table (patch by
850    Matthew Brush, thanks).
851  * plugins/classbuilder.c:
852    Fix GLib warning when creating classes and no documents are open
853    (patch by Matthew Brush, thanks).
854  * plugins/classbuilder.c:
855    Undo patch change to cc_option_label_new() to append a ':' colon to
856    label text because this unnecessarily causes string translations to
857    be updated.
858  * src/interface.c, geany.glade:
859    Fix wrong label capitalization for Toolbar Preferences dialog tab
860    and 2 other labels.
861  * data/filetypes.Scala.conf, data/filetype_extensions.conf:
862    Add Scala custom filetype, based on file by werg (thanks).
863    (This uses the newly added [styling=C] syntax).
864  * src/filetypes.c:
865    Make special case for filetypes.matlab instead of truncating all
866    filetype config filenames at slash.
867  * src/filetypes.c:
868    Fix generating tag files and --ft-names option by ensuring GTK is
869    initialized before calling ui_get_mime_icon().
872 2011-03-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
874  * THANKS, src/about.c:
875    Adding Wei-Lun Chao as current maintainer for traditional Chinese
876    translation.
879 2011-03-15  Colomban Wendling  <colomban(at)geany(dot)org>
881  * src/templates.c, src/templates.h:
882    Use the same indentation for all templates (part of FR#3193527; from
883    a patch by Matthew Brush, thanks).
884  * src/plugins.c:
885    Always keep the list of loaded plugin sorted by name.
888 2011-03-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
890  * data/filetype_extensions.conf:
891    Add Markdown extension.
894 2011-03-10  Colomban Wendling  <colomban(at)geany(dot)org>
896  * src/toolbar.c:
897    Correctly expand the menubar if the toolbar is appended to it but
898    not visible (closes #3204955).
899  * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
900    src/tools.c, src/utils.c:
901    Prefer prepend elements to lists rather than append them, for better
902    performances.
905 2011-03-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
907  * src/geany.h:
908    Fix wrong code example in the API docs
909    (spotted by Matthew Brush, thanks).
912 2011-03-07  Colomban Wendling  <colomban(at)geany(dot)org>
914  * tagmanager/mio/mio-memory.c:
915    Import upstream MIO changes not to require a C99 compiler.
918 2011-03-06  Colomban Wendling  <colomban(at)geany(dot)org>
920  * src/symbols.c:
921    When sorting tags by line, also sort by scope if line is the same,
922    avoiding wrong sorting if a parent tag is on the same line than its
923    children, and one of it's children would be sorted before
924    alphabetically (closes #3193982).
927 2011-03-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
929  * src/interface.c, geany.glade:
930    Fix typo.
931  * src/search.c:
932    Remember Find and Replace options across restarts
933    (patch by Dimitar Zhekov, thanks).
934    Cleanup.
935    Respect saved state of 'Case sensitive' option when using
936    the 'Regular expressions' option as well.
937  * plugins/export.c:
938    Add option to insert line numbers (closes #3197150).
939    Cleanup.
940    Use the full filename and add the extension of the export format.
941    Fix off-by-one bug which hidden the last empty line of a document.
944 2011-03-05  Colomban Wendling  <colomban(at)geany(dot)org>
946  * configure.ac, wscript, makefile.win32, src/Makefile.am,
947    src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
948    tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
949    tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
950    tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
951    tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
952    tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
953    Move most of TagManager's I/O to MIO.
954  * src/document.c:
955    Enable in-memory tag parsing.
956  * geany.glade, src/editor.c, src/editor.h, src/interface.c,
957    src/keyfile.c:
958    Add possibility to update symbol list in IDLE time, enabled by
959    default using a minimal delay of 250ms.
960  * src/symbols.c:
961    Improve implementation of hide_empty_rows() to do all in one shot.
962  * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
963    tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
964    tagmanager/tm_workspace.c:
965    Make TMTag reference-counted.
966  * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
967    tagmanager/tm_tag.c:
968    Provide a GType for TMTag and use it in the tag store to make sure
969    the tags it holds are always valid.
970  * src/sidebar.c:
971    Don't remove and add the symbols tree view if we re-add the same one.
972  * src/sidebar.c, src/sidebar.h, src/symbols.c:
973    Update the symbol list rather than clearing and re-building it.
974    There is room for improvement in the implementation side, but it
975    is harder to do, probably a future improvement.
976  * tagmanager/c.c:
977    Fix suffix of anonymous symbols (structs, enums, ...).
978  * tagmanager/c.c:
979    Plug a memory leak.
982 2011-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
984  * plugins/saveactions.c:
985    Fix wrong warning on empty backup directory setting if
986    'Backup Copy' is not enabled at all.
987  * AUTHORS, src/about.c, README.Packagers, README:
988    Welcome Colomban Wendling, a new Geany developer.
991 2011-02-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
993  * src/templates.c:
994    Fix segfault when inserting e.g. fileheader template when the
995    template file is empty (#3070913, thanks to lphilpot).
998 2011-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1000  * plugins/filebrowser.c:
1001    Add support for multiple file filters, separated by semicolon
1002    (based on a patch by Grigory Javadyan, thanks).
1005 2011-02-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1007  * data/filetype_extensions.conf:
1008    Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1009    #3154637).
1012 2011-02-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1014  * tagmanager/latex.c:
1015    Add a workaround for #3066566 to prevent Geany from crashing during
1016    loading of a LaTeX-file containing linebreaks inside headings.
1019 2011-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1021  * tagmanager/php.c:
1022    Fix memory leaks (reported by an anonymous IRC user).
1023  * doc/geany.txt, doc/geany.html:
1024    Replace '+' by '-' in the Scintilla Keybindings section
1025    to be consistent with the other mentioned keybindings.
1026  * src/project.c:
1027    Improve error checking when trying to write project files
1028    (patch by Colomban Wendling, thanks).
1029    Add a warning if writing the project file fails on close.
1030  * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1031    Rename utils_is_file_writeable() into utils_is_file_writable().
1034 2011-01-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1036  * src/editor.c:
1037    Ensure the editor widget has the focus when the editor menu is
1038    called.
1039  * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1040    scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1041    src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1042    src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1043    tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1044    data/filetype_extensions.conf, wscript:
1045    Add filetype Cobol (based on a patch by Seth Keiper).
1048 2011-01-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1050  * plugins/filebrowser.c:
1051    Add '.pyc' to the list of hidden object files
1052    (patch by Filip Gruszczyński, thanks).
1055 2011-01-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1057  * *.*:
1058    Update copyright information.
1059  * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1060    geany_private.rc, win32-config.h, wscript, src/geany.h:
1061    Post-release version bump.
1064 2011-01-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1066  * src/highlighting.c, data/filetypes.javascript:
1067    Add and use secondary keywords for filetype JavaScript,
1068    update and sanitize JavaScript keyword lists
1069    (patch by Jason Oster, thank you).
1072 2011-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1074  * THANKS, src/about.c:
1075    Added Rafael Peregrino da Silva to list of contributors for Brazilian
1076    Portuguese (pt_BR) translation.
1079 2011-01-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1081  * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1082    Add Save As toolbar button option (patch by Matthew Brush, thanks;
1083    #3153490).
1084  * scintilla/*, src/utils.c, src/notebook.c,
1085    data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1086    data/filetypes.cs, data/filetypes.c, wscript:
1087    Merge unstable branch:
1088  - src/utils.c:
1089    Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1090  - src/notebook.c:
1091    Add 'Open in New Window' command in the notebook tab menu (based on
1092    patch by Matthew Brush, thanks - #3118059).
1093  - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1094    data/filetypes.cs, data/filetypes.c:
1095    Disable preprocessor #define tracking for the CPP lexer
1096    (enabled by default in Scintilla).
1097  - scintilla/*, wscript:
1098    Update Scintilla to version 2.22.
1099    Use Scintilla's directory structure mostly and only remove
1100    unused lexers.
1103 2011-01-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1105  * New release: Geany 0.20 "Disra".
1108 2011-01-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1110  * src/plugins.c:
1111    Add debug message with the number of compatible plugins in each
1112    plugin search path when showing the Plugin Manager dialog.
1115 2010-12-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1117  * doc/geany.txt, doc/geany.html:
1118    Move and update 'Custom filetypes' section.
1119    Add 'Creating a custom filetype from an existing filetype' section.
1122 2010-12-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1124  * src/interface.c, src/keybindings.c, geany.glade:
1125    Add Edit->Insert Alternative White Space menu item (was previously
1126    removed from Edit->Commands submenu).
1129 2010-12-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1131  * src/interface.c, geany.glade:
1132    Split Preferences dialog Interface tab into subnotebook to reduce
1133    height of dialog (fixes #3141277). Reuses existing strings.
1134  * src/editor.c:
1135    Scroll to the current line when moving the cursor to the next
1136    cursor position in a snippet (#3139490).
1137  * doc/geany.txt, doc/geany.html:
1138    Add short 'View menu' section and 'Color schemes menu' section.
1139  * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1140    Add filetypes_get_display_name() to API.
1143 2010-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1145  * src/build.c:
1146    Reduce Set Build Commands dialog column 1 width by using '#' label.
1147    Fix memory leak.
1148  * src/build.c:
1149    Use italic for note labels in the Build Commands dialog.
1152 2010-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1154  * src/build.c, src/build.h:
1155    Replace doc-comments with '/* *' comments to show there's no build
1156    API for plugins.
1159 2010-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1161  * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1162    Fix segfaults when using 'Send Selection to Terminal' and the VTE
1163    is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1164    pref (patch by Dimitar Zhekov, thanks).
1165  * src/build.c, src/keyfile.c:
1166    Fix some more wrong uses of vte_info.load_vte instead of
1167    vte_info.have_vte.
1168  * src/main.c:
1169    Disable 'Send Selection to Terminal' item when not available
1170    instead of removing it to avoid trailing separator.
1171  * doc/geany.txt, doc/geany.html:
1172    Add 'Configuration file paths' section and link to it instead of
1173    repeating typical system data and user config directory paths.
1174    List 2 Tools->Configuration Files menu items.
1175    Add 'Plugin Manager' section break.
1176    Edit some related sections.
1177  * doc/geany.txt, doc/geany.html:
1178    Update Ignore Tags section with example and menu item.
1179  * doc/geany.txt, doc/geany.html:
1180    List 'Tools->Configuration Files->filetypes.common' menu item.
1183 2010-12-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1185  * src/document.c:
1186    Improve error message for document_save_file() if doc->file_name is
1187    NULL (reusing existing strings).
1188    Add warning about this in the API docs.
1191 2010-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1193  * scintilla/ScintillaGTK.cxx:
1194    Backport Scintilla HG fix: Remove styling idle in destructor to
1195    avoid crashing when idle called after ScintillaGTK instance
1196    destroyed (fixes #3111058).
1197    This prevents a crash when closing a modified document (usually
1198    without a trailing newline) and choosing Save.
1201 2010-12-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1203  * src/document.c:
1204    Warn about file truncation if unsafe file saving fails.
1207 2010-11-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1209  * src/utils.c:
1210    Check result of fclose() for utils_write_file().
1213 2010-11-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1215  * win32-config.h:
1216    Enable GIO and built-in regex support on Windows
1217    when compiling without Waf.
1220 2010-11-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1222  * geany_private.rc:
1223    Reformat and improve the Windows resource file.
1226 2010-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1228  * data/filetype_extensions.conf:
1229    Add *.latex pattern.
1230  * src/interface.c, geany.glade:
1231    Add note to indentation prefs page about using Project->Apply
1232    Default Indentation for currently open documents.
1235 2010-11-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1237  * src/interface.c, src/keybindings.c, src/callbacks.c,
1238    src/callbacks.h, geany.glade:
1239    Add 'Mark All' Search menu command.
1240  * src/symbols.c, doc/geany.txt, doc/geany.html:
1241    If the current word's tag is on the current line, make Go to Tag
1242    Definition look for a tag declaration instead, as this is more
1243    useful. Likewise make Go to Tag Declaration search for a tag
1244    definition in this case also.
1245  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1246    Don't use 'Enable' in pref labels when unnecessary.
1247    Rename XML/HTML tag autocompletion -> auto-closing.
1248  * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1249    doc/geany.html:
1250    Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1251    thanks).
1252  * src/keybindings.c, src/editor.c, src/editor.h:
1253    Add editor_get_prefs() instead of editor_get_long_line_*()
1254    functions. This general function can be extended to support
1255    various project and document overrides.
1256  * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1257    src/editor.c, src/editor.h:
1258    Remove unnecessary 'global' from long line editor pref field names.
1261 2010-11-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1263  * doc/geany.txt, doc/geany.html:
1264    Explain how to grep the source for Scintilla lexer properties.
1265  * src/sidebar.c, src/callbacks.c, src/main.c:
1266    Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1267    Only auto-display symbols and documents tabs when showing the
1268    sidebar if there are no plugin tabs.
1269    Don't hide the sidebar on startup if only plugin tabs are visible
1270    (fixes #3101867).
1271  * src/plugindata.h:
1272    Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1273    so you can protect code with '#if GEANY_API_VERSION >= 200'.
1274  * src/plugindata.h:
1275    Warn about preprocessor testing GEANY_API_VERSION below 200 because
1276    those tests will always fail.
1279 2010-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1281  * data/filetypes.xml:
1282    Add 'instanceof' keyword for PHP (closes #3109330).
1285 2010-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1287  * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1288    Re-focus Set Build Commands/Project dialogs after editing a build
1289    command label.
1290    Add 'parent' argument to some dialogs_show_input*() functions because
1291    the dialog parent may not always be the main window.
1292  * src/build.c, src/dialogs.c, src/callbacks.c:
1293    Don't change default build command entry color when cancelling
1294    label editing.
1295    Make dialogs_show_input() return NULL when cancelled.
1296  * tagmanager/php.c:
1297    Parse PHP final functions (fixes #3111171).
1298  * src/dialogs.c, src/plugindata.h, src/plugins.c,
1299    plugins/geanyfunctions.h:
1300    Add dialogs_show_input() to API.
1303 2010-11-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1305  * src/build.c, doc/geany.txt, doc/geany.html:
1306    Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1307    Build Commands dialog.
1308  * doc/geany.txt, doc/geany.html:
1309    Use 'Filetype build commands' and 'Independent build commands'.
1310    Fix saying project *independent* execute can only be set by hand.
1313 2010-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1315  * src/keybindings.c, src/editor.c, src/editor.h:
1316    Make Reflow Lines/Block command use the current indented block, not
1317    the whole paragraph, which could have mixed indentation.
1318    Fix memory leak and off-by-one bug on first line when using Select
1319    Paragraph command.
1320  * src/utils.c, src/highlighting.c, src/highlighting.h,
1321    src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1322    plugins/geanyfunctions.h:
1323    Add API functions (patch by Eugene Arshinov, thanks):
1324    Move editor.c: is_{string,comment,code}_style() functions to
1325    highlighting.c, add to API.
1326    Add editor_find_snippet(), editor_insert_snippet(),
1327    utils_find_open_xml_tag() to API.
1330 2010-11-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1332  * src/editor.c, doc/geany.txt, doc/geany.html:
1333    Don't use XML tag auto-indentation when '</' is to the right of the
1334    cursor; allow auto-indentation when XML tag auto-closing is also
1335    enabled.
1336  * doc/geany.txt, doc/geany.html:
1337    Rename 'Format' section 'Filetype configuration'.
1340 2010-11-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1342  * waf:
1343    Update Waf to current SVN version.
1346 2010-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1348  * waf, wscript:
1349    Update Waf to version 1.6.1.
1350    Update wscript for new Waf version, make it Python 3 compatible.
1353 2010-11-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1355  * src/document.c:
1356    Display better error messages when saving a document fails (patch by
1357    Dimitar Zhekov, thanks).
1358  * src/editor.c:
1359    Fix wrong snippet indentation when original cursor line has
1360    non-indentation whitespace (patch by david, thanks).
1361  * doc/geany.txt, doc/geany.html, data/filetypes.php,
1362    data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1363    Enable XML tag autoindentation for PHP, Docbook and add docs for
1364    this setting (patch by Eugene Arshinov, thanks).
1367 2010-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1369  * src/templates.c, src/document.c:
1370    Use LF line endings for templates internally instead of default
1371    pref because the default can change. This fixes missing line
1372    endings sometimes when changing default setting.
1373  * src/document.c:
1374    Fix not reporting an error message when saving a document fails.
1375    Check result of fclose().
1376  * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1377    data/filetypes.xml, data/filetypes.html:
1378    Add xml_indent_tags filetype setting for documents using the
1379    HTML/XML lexers (patch by Eugene Arshinov, thanks).
1380  * src/document.c:
1381    Set errno to 0 before doing disk I/O to prevent confusing error
1382    messages on save failure.
1385 2010-11-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1387  * src/templates.c, src/filetypes.c:
1388    Save build commands for filetype None (patch by Lex, thanks).
1389    Make filetypes_get_conf_extension() return "common" for filetype
1390    None.
1391  * src/templates.c:
1392    Convert line endings for file templates.
1393    Fix line endings when using file header template in a file template
1394    (oops).
1395  * src/utils.c, src/utils.h:
1396    Make utils_ensure_same_eol_characters() convert all wrong line
1397    endings to the desired one, not just the most common one.
1400 2010-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1402  * src/editor.c:
1403    Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1404    Zhekov, thanks).
1405  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1406    Restore top-level editor popup item 'Find Document Usage'.
1407  * src/interface.c, src/ui_utils.c, geany.glade:
1408    Remove duplicates in 'Insert Comments' editor popup menu; rename
1409    submenu 'More'.
1410    Separate main menu insertion comments depending on number of times
1411    used in a document.
1412  * data/filetypes.*, data/colorschemes/alt.conf:
1413    Rename word/word2 named styles to keyword/keyword2.
1414  * doc/geany.txt, doc/geany.html:
1415    Mention that indentation settings can be overridden per-project.
1416  * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1417    doc/geany.txt, doc/geany.html, geany.glade:
1418    Add 'Project->Apply Default Indentation' menu command to override
1419    every document's indentation settings.
1420    Improve 'Indentation' section docs.
1423 2010-11-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1425  * src/document.c:
1426    Fix build with GTK 2.12: explicitly include gio.h if GIO
1427    is available and to be used regardless of the USE_GIO_FILEMON flag.
1428  * wscript:
1429    Fix installation of template files.
1430    Show which regex implementation is used.
1431  * src/ui_utils.c:
1432    Use non-GIO mime-type icon lookup if GIO lookup fails.
1433  * autogen.sh:
1434    Allow skipping configure during autogen by setting NOCONFIGURE=1
1435    (thanks to Chow Loong Jin).
1438 2010-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1440  * src/document.c:
1441    Make use_safe_file_saving hidden pref apply even when GIO is
1442    available, because g_file_replace_contents() doesn't handle disk
1443    space exhaustion.
1444  * src/main.c:
1445    Show GIO/built-in regex support in startup debug message as well as
1446    for --version.
1447  * doc/geany.txt, doc/geany.html:
1448    Add docs for the HTMLChars plugin (patch by Frank).
1451 2010-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1453  * src/filetypes.c:
1454    Do not translate 'name' field for filetype None because it is used
1455    for hash table lookup. This fixes missing files in the Open dialog
1456    for the 'All files' filter with non-English locales (thanks to Sardem
1457    FF7, fixes #3094771).
1458  * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1459    src/ui_utils.c:
1460    Add filetypes_get_display_name() to get translations for filetype
1461    None.
1462  * src/document.c:
1463    Fix resource leak when saving files with GIO (patch by Colomban
1464    Wendling, thanks).
1467 2010-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1469  * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1470    Add sci_get_lexer() to plugin API.
1471  * plugins/htmlchars.c:
1472    Only automatically replace characters when the current document is
1473    a Markup document.
1474  * plugins/htmlchars.c:
1475    Rename submenu item labels to be more descriptive.
1476  * src/keybindings.c:
1477    Fix Alt+[0-9] switching tabs when other modifiers are also held.
1478  * src/ui_utils.c:
1479    Don't allow pasting of numbers followed by other characters in the
1480    Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1481  * src/main.c:
1482    Print "GIO" and "built-in regex" if enabled with --version.
1483  * src/document.c:
1484    Use g_file_replace_contents() if available to save documents - this
1485    should help workaround bugs in GVFS (based on patch by Alexey
1486    Antipov, thanks).
1487    Needs testing.
1488  * src/templates.c:
1489    Fix wrongly adding newlines for templates on disk that don't have
1490    LF line endings when default line endings are not LF, e.g. Windows.
1493 2010-11-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1495  * src/utils.c, src/main.c:
1496    Remove trailing directory separator for app->datadir and
1497    app->docdir for consistency with the other directory fields.
1498  * src/filetypes.c:
1499    Detect user and system filetype configuration files as Conf
1500    filetype.
1501  * src/editor.c:
1502    Respect 'Smart' home key for Shift+Home (fixes #3100290).
1505 2010-11-01  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1507  * data/filetypes.ada:
1508    Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1511 2010-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1513  * Makefile.am:
1514    Add install-data-only target to only install data/* to speed up
1515    testing.
1516  * src/editor.c:
1517    Fix not autocompleting when breaking lines.
1518  * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1519    data/colorschemes/alt.conf, data/filetypes.haxe,
1520    data/filetypes.common, data/filetypes.glsl,
1521    data/filetypes.actionscript, data/filetypes.cs,
1522    data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1523    data/filetypes.Genie.conf:
1524    Add named style 'extra', use for C-like filetypes.
1527 2010-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1529  * data/filetypes.xml:
1530    Match data-* and aria-* as HTML attributes.
1531  * data/colorschemes/alt.conf, data/filetypes.common,
1532    data/filetypes.python:
1533    Make Python use named styles for color scheme support - use
1534    alt.conf color scheme if you want the old colors.
1535    Add named style 'function'.
1536  * src/plugindata.h:
1537    Move plugin_set_info prototype and parenthesize arguments for
1538    PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1539    thanks).
1540    Fix putting pointer symbol before name, not after type.
1543 2010-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1545  * src/filetypes.c, src/ui_utils.c:
1546    Fix notebook tab menu icons using theme for "text/plain" filetypes.
1547    Make filetype mime_type "text/plain" instead of NULL.
1550 2010-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1552  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1553    Edit XML tag autocompletion pref and tooltip to include HTML.
1554  * doc/geany.txt, doc/geany.html:
1555    Add docs for 'Ensure consistent line endings' pref.
1556  * src/keyfile.c:
1557    Change default for 'Override Geany keybindings' to on.
1558  * src/filetypes.c:
1559    Sort filetypes_by_title last instead of on insertion to prevent
1560    exponential time.
1561  * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1562    Add filetype mimetype field (patch by Colomban Wendling, thanks).
1563  * src/sidebar.c, src/document.c:
1564    Show mimetype icon in sidebar Documents list (patch by Colomban
1565    Wendling, thanks).
1566  * src/ui_utils.c:
1567    Add notebook tab document icons (based on patch by Colomban
1568    Wendling, thanks).
1569  * src/filetypes.c:
1570    Leave text/plain mime_type fields as NULL (like custom filetypes).
1573 2010-10-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1575  * src/editor.c, data/snippets.conf:
1576    Move HTML automatic <table> tag completion into a 'table' snippet
1577    so the user can decide when to use it (patch by Eugene Arshinov,
1578    thanks).
1579  * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1580    src/document.c, src/document.h, THANKS, geany.glade:
1581    Add 'Ensure consistent line endings' file saving pref (patch by
1582    Manuel Bua, thanks).
1583  * src/utils.c, src/utils.h, src/editor.c:
1584    Auto-indent after an HTML/XML line with a missing closing tag (patch
1585    by Eugene Arshinov, thanks).
1586    Behaviour only applies if XML tag autoclosing is off.
1587  * src/templates.c, src/build.c, src/document.c, src/editor.c,
1588    src/symbols.c, plugins/saveactions.c:
1589    Remove unnecessary uses of FILETYPE_ID() macro with
1590    GeanyDocument::file_type.
1591  * data/filetypes.xml:
1592    Add HTML5 attributes (thanks to Ross McKay).
1595 2010-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1597  * src/prefs.c:
1598    Fix not changing edited keybindings when cancelling the Preferences
1599    dialog.
1600  * data/filetypes.xml:
1601    Add HTML5 element names (thanks to Ross McKay).
1604 2010-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1606  * src/utils.c, src/filetypes.c:
1607    Remove filetype default extensions from code.
1608  * src/filetypes.c:
1609    Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1610  * src/prefs.c:
1611    Refactor shared code with kb_cell_edited_cb().
1614 2010-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1616  * src/highlighting.c:
1617    Use radio buttons for View->Editor->Color Schemes menu.
1618    Don't hide the menu when only the default item is available.
1619  * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1620    Add alternative color scheme based on Python colors.
1621  * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1622    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1623    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1624    data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1625    Add Erlang filetype (patch by Taylor Venable, thanks).
1626  * src/filetypes.c, data/filetypes.*:
1627    Move filetype 'extension' default into data files.
1628  * src/filetypes.c, data/filetypes.vala:
1629    Move filetype comment_{open,close} defaults into data files.
1632 2010-10-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1634  * data/filetypes.c, data/filetypes.d:
1635    Add missing C99 keyword 'restrict' (#3046716).
1636    Add missing D1 keywords 'ref' and 'macro'.
1637    Add D2 keywords.
1638  * tagmanager/c.c:
1639    Parse Vala functions with contracts (#3080232).
1640  * src/project.c:
1641    Fix saving project indent prefs straight after using project
1642    properties.
1643  * src/highlighting.c, src/filetypes.c:
1644    Prevent debug message about a missing 'default' named style when
1645    using just a user color scheme file.
1648 2010-10-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1650  * src/search.c:
1651    Fix off-by-one bug in 'search_mark_all'.
1654 2010-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1656  * tagmanager/get.c:
1657    Ignore D /+ +/ comments.
1658  * tagmanager/c.c:
1659    Ignore D unittest blocks.
1660    Parse D template functions with constraints.
1661  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1662    Add 'Insert New Line Before/After Current' keybindings (based on
1663    patch by Eugene Arshinov, thanks).
1664  * src/document.c:
1665    Use secondary text for 'file not found on disk' dialog.
1668 2010-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1670  * src/stash.c:
1671    Fix build with GLib 2.8.
1674 2010-10-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1676  * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1677    configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1678    Revert X11 workspace socket support as it needs more work; moved
1679    to workspace-sockets branch.
1682 2010-10-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1684  * src/geanywraplabel.c:
1685    Fix build with GLib 2.8.
1686  * src/dialogs.c, src/about.c, THANKS:
1687    Group Open dialog encoding options by submenus (patch by Adam Ples,
1688    thanks; #3047717).
1689  * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1690    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1691    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1692    data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1693    Add Lisp filetype (patch by Mário Silva, thanks).
1694    Note: Lisp lexer was taken from Scintilla instead.
1697 2010-10-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1699  * po/kk.po, THANKS, src/about.c:
1700    Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1701    providing.
1704 2010-10-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1706  * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1707    Don't cache overridden lexer properties.
1708    Add foreach_strv() to plugin API.
1709    Add utils_strv_join().
1710  * tagmanager/basic.c:
1711    Parse property, constructor, destructor as functions (patch by
1712    pottersson, thanks; #2992167).
1715 2010-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1717  * src/tools.c, doc/geany.txt, doc/geany.html:
1718    Fix passing quoted arguments when using 'Send Selection to'. This
1719    means sed 's/\./(dot)/g' now works.
1720  * src/editor.c:
1721    Add snippet keybinding support for keys in user snippets.conf (based
1722    on patch by Eugene Arshinov, thanks). No docs yet.
1723  * doc/geany.txt, doc/geany.html:
1724    Add some subheadings for Snippets section.
1725  * doc/geany.txt, doc/geany.html:
1726    Add snippet keybindings docs.
1727  * src/highlighting.c, src/utils.h:
1728    Move foreach_strv to utils.h.
1729  * src/editor.c, data/snippets.conf:
1730    Read snippet keybindings from system keyfile also.
1731    Add keybinding example to default snippet.conf.
1734 2010-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1736  * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1737    src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1738    data/filetypes.txt2tags, data/filetypes.markdown,
1739    data/filetypes.restructuredtext:
1740    Add symbol_list_sort_mode per-filetype setting, set to sort by line
1741    number by default for Markdown, reStructuredText and Txt2Tags.
1742    Add utils_get_setting() macro for reading a key from a home or
1743    system keyfile.
1744    Move GeanyFiletypePrivate to filetypesprivate.h.
1745  * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1746    Link with X11 if found to fix linking with a recent GNU ld.
1747  * src/document.c:
1748    Avoid delay and redrawing when automatically opening a new document
1749    after closing one.
1750  * scintilla/LexForth.cxx, scintilla/makefile.win32,
1751    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1752    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1753    data/filetypes.forth, data/filetype_extensions.conf, wscript:
1754    Add Forth filetype (patch by Thomas Huth, thanks).
1755  * src/tools.c:
1756    Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1757    commands for 'Send Selection to' (oops).
1760 2010-09-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1762  * src/editor.c:
1763    When commenting/uncommenting with single-line comment characters,
1764    ignore any end of line characters before evaluating the current line.
1765  * data/filetypes.python:
1766    Simplify Python Compile/Syntax Check command.
1769 2010-09-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1771  * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1772    doc/geany.html:
1773    Add hidden pref 'find_selection_type' with option to repeat last
1774    search when there's no selection.
1775    Change default Find Selection behaviour to not let the X selection
1776    override the current word (can be confusing).
1777    Add docs for Find Selection commands.
1778  * src/document.c:
1779    Fix segfault on idle callback when quitting.
1780  * src/interface.c, src/keybindings.c, geany.glade:
1781    Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1782    Insert menu.
1783  * src/interface.c, geany.glade:
1784    Move editor popup menu Insert Comments submenu to top of Insert menu.
1785  * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1786    doc/geany.html:
1787    Add hidden pref new_document_after_close for whether to open a new
1788    document automatically, off by default.
1789  * HACKING:
1790    Add 'Bugs to watch out for' section.
1793 2010-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1795  * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1796    doc/stash-gui-example.c:
1797    Improve Stash GUI example.
1800 2010-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1802  * src/interface.c, geany.glade:
1803    Move Go to Marker menu items to Search menu.
1804    Rename popup editor menu item Commands -> Edit.
1805  * src/callbacks.c, src/search.c, src/search.h:
1806    Move find_again() to search.c.
1807  * src/search.c:
1808    Make Find Selected commands repeat the last search if the selection
1809    was lost.
1810  * doc/geany.txt, doc/geany.html:
1811    Add docs for Find Selection keybindings.
1812  * src/interface.c, src/keybindings.c, geany.glade:
1813    Unify Find Selection strings.
1814  * src/interface.c, src/ui_utils.c, geany.glade:
1815    Group editor popup Insert commands in a submenu, with extra items
1816    for the most commonly used Insert Comments commands.
1817    Show Edit->Commands before Format in menubar Edit menu (to match
1818    keybindings order).
1819    Show Open Selected F_ile popup item below submenus.
1822 2010-09-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1824  * src/ui_utils.c:
1825    Refactor shared submenu code with GeanySharedMenu array.
1826  * src/interface.c, src/ui_utils.c, geany.glade:
1827    Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1828    shared with the editor popup menu.
1829  * src/document.c:
1830    Open a new document automatically after closing all documents.
1833 2010-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1835  * src/callbacks.c:
1836    Prompt for reloading if the document has an undo stack to avoid
1837    losing undo ability on accidental reloading (patch by Colomban
1838    Wendling, thanks).
1839  * src/project.c, src/geanyobject.c, src/geanyobject.h,
1840    doc/pluginsignals.c:
1841    Add plugin signals project-dialog-create and
1842    project-dialog-confirmed so plugins can append a Project Properties
1843    notebook tab (patch by Jiří Techet, thanks).
1844  * src/ui_utils.h, src/plugindata.h, src/main.c:
1845    Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1846  * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1847    src/plugins.c, plugins/geanyfunctions.h:
1848    Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1851 2010-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1853  * src/keyfile.c:
1854    Save document indent width with the session.
1855  * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1856    doc/geany.html, TODO:
1857    Use a separate socket per workspace on X (patch by Erik de Castro
1858    Lopo, thanks).
1861 2010-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1863  * src/main.c:
1864    Ignore directories passed on the command-line (based on patch by
1865    Erik de Castro Lopo, thanks).
1866  * tagmanager/c.c:
1867    Parse D function template names.
1868  * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1869    src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1870    geany.glade:
1871    Allow per-document indent width setting (patch by Jiří Techet,
1872    updated by Erik de Castro Lopo - thanks).
1873  * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1874    Combine indent width menu item callbacks.
1875  * src/interface.c, geany.glade:
1876    Don't translate indent width menu items as they are now used for
1877    atoi().
1880 2010-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1882  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1883    Remove 3 popup menu items to save space:
1884    Find Document Usage because Find Usage can be used instead.
1885    Go to Tag Declaration because Go to Tag Definition is more common.
1886    Go to Line because the toolbar item can be used instead.
1887  * src/tools.c, src/search.c, tagmanager/python.c:
1888    Fix some 'possible' NULL pointer dereferences (based on patch by
1889    Erik de Castro Lopo).
1890  * src/keybindings.c, src/keybindings.h, src/prefs.c:
1891    Simplify keybindings_check_event().
1894 2010-09-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1896  * src/build.c:
1897    Use up/down icons for Previous/Next Error.
1898  * src/interface.c, src/keybindings.c, src/callbacks.c,
1899    src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1900    geany.glade:
1901    Add Find Usage and Go to Tag items to Search menu for easier
1902    discovery.
1903  * tagmanager/tm_symbol.c:
1904    Fix possible NULL dereference.
1905  * HACKING:
1906    Add link to glade-2.12.2.tar.gz on geany.org.
1907  * doc/geany.txt, doc/geany.html:
1908    Mention the filetype wordchars setting can be overridden by the
1909    whitespace_chars filetypes.common setting.
1910  * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
1911    Remove NULL checks when calling g_free() (patch by Erik de Castro
1912    Lopo, thanks).
1913  * src/document.c:
1914    Show Save As when saving if the document filename doesn't have an
1915    absolute path, so command-line new files can be saved without a
1916    prompt, but file templates still prompt the user.
1919 2010-09-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1921  * src/build.c:
1922    Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
1923    catch.
1926 2010-09-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1928  * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
1929    Add GeanyMainWidgets::message_window_notebook for plugins to append
1930    a new notebook page (#3061342).
1931  * src/document.c:
1932    Add Close button to the detected file changed dialog.
1933  * src/interface.c, geany.glade:
1934    Add separator between Find Previous and Find in Files.
1935    Add up/down icons for Previous/Next Message.
1938 2010-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1940  * data/snippets.conf:
1941    Add dummy entry for "do" snippet for Haskell to explicitly avoid the
1942    default completion.
1945 2010-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1947  * src/build.c:
1948    Fix broken editing of build menu labels.
1949  * src/encodings.c, src/filetypes.c, configure.ac:
1950    Auto-enable building with included regex if no regcomp function is
1951    found.
1952    Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
1953    regex support is required.
1954  * tagmanager/make.c:
1955    Backport fix for possible infinite loop from CTags.
1956  * scintilla/PlatGTK.cxx:
1957    Backport list box memory leak fixes from Scintilla 2.20.
1960 2010-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1962  * src/project.c:
1963    Make the Properties dialog filename a label and put it first (patch
1964    by Jiří Techet, thanks).
1965  * src/build.c, src/build.h, src/project.c, doc/geany.txt,
1966    doc/geany.html:
1967    Remove the "Set build working directories" button from the project
1968    properties dialog (patch by Jiří Techet, thanks).
1969  * src/search.c:
1970    Include all files if the Find in Files pattern field is enabled and
1971    empty.
1972  * src/filetypes.c:
1973    Rename Matlab -> Matlab/Octave. Datafile name remains the same.
1976 2010-08-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1978  * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
1979    scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
1980    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1981    data/filetypes.txt2tags, wscript:
1982    Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
1983  * m4, configure.ac, Makefile.am:
1984    Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
1985  * src/callbacks.c:
1986    Only prompt for reloading if the document has unsaved changes
1987    (patch by Jiří Techet, thanks).
1990 2010-08-21  Frank Lanitz  <frank@frank.uvena.de>
1992  * src/plugindata.h:
1993    Apply a patch by Jiří Techet which is preventing warnings when using
1994    -Wmissing-prototypes on compiling. Thanks.
1997 2010-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1999  * scintilla/KeyWords.cxx:
2000    Link Octave instead of Matlab.
2001    Add comment about not being autogenerated.
2002    Minor changes to fit Scintilla order.
2003  * src/build.c, src/build.h:
2004    Replace GeanyBuildCommand::entries array with separate fields.
2005    Similar to r5077 in the bs2 branch, but with less loop unrolling.
2006  * src/build.c:
2007    Remove buildcmd_* accessor functions.
2010 2010-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2012  * src/highlighting.c, src/editor.c:
2013    Use Octave lexer instead of Matlab to support Octave # comment char.
2016 2010-08-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2018  * src/filetypes.c:
2019    Fix segfault on Tools->Reload Configuration when no documents are
2020    open (#3037079).
2021  * scintilla/LexMarkdown.cxx:
2022    Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2023    thanks).
2024  * src/build.c:
2025    Fix saving non-project filetype error regex.
2026  * src/build.c:
2027    Fix memory leak in read_regex().
2030 2010-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2032  * wscript:
2033    Check for libsocket on OpenSolaris to fix build.
2034  * src/encodings.c:
2035    Rewrite the logic to auto detect encodings a bit to make it more
2036    readable and fix a slightly wrong detection on Windows
2037    (closes #3019573).
2038  * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2039    src/plugins.c:
2040    Add editor_goto_pos() to the plugin API.
2043 2010-08-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2045  * configure.ac:
2046    Check for git-svn repo, not just git because find-rev doesn't
2047    always fail with a git-only repo.
2050 2010-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2052  * src/search.c:
2053    Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2056 2010-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2058  * doc/geany.txt, doc/geany.html:
2059    Reorder Focus keybindings.
2062 2010-08-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2064  * autogen.sh:
2065    Applying a patch by Erik de Castro Lopo for checking against
2066    pkg-config when running autogen.sh. Thanks for the patch.
2067  * src/log.c:
2068    Applying a patch by Colomban Wendling to print out log domains.
2069    Thanks.
2072 2010-08-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2074  * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2075    Use single binding_ids keybinding array instead of individual
2076    arrays for core keybindings. This allows the keybinding IDs to be
2077    merged into one enum; the order of keybindings is now just the
2078    order they are added to each group. Keybindings can be reordered
2079    without breaking the plugin ABI but groups must stay the same.
2080  * src/stash.c:
2081    Fix writing the default value when a key is missing for hidden
2082    prefs, even if it was overridden when it was originally read.
2083  * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2084    Move some interface hidden prefs to ui_utils.c.
2085  * src/editor.c:
2086    Revert r4840 scope completion mode as it sometimes breaks
2087    autocompletion.
2088  * src/keybindings.h, src/plugindata.h:
2089    Randomly sort keybinding IDs to show there should be no order.
2090  * src/keybindings.c:
2091    Reorder Focus keybindings.
2094 2010-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2096  * src/ui_utils.c, src/ui_utils.h:
2097    Make ui_label_new_bold() a function.
2098    Escape the name of the current document for markup when using
2099    document name for menu items (closes #3038844).
2100  * src/vte.c:
2101    Inherit 'beep on errors' preference for the audible bell preference
2102    for the VTE (closes #3038215).
2105 2010-08-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2107  * src/utils.c, src/utils.h:
2108    Add utils_get_eol_char().
2109  * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2110    src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2111    src/utils.h:
2112    Ensure inserted templates always have proper line ending characters
2113    according to the current document's preference.
2114    This is also fixes problems with templates on Windows which had
2115    always Unix line ending characters but now since they are read
2116    from files, these have Windows line ending characters and had been
2117    converted twice.
2120 2010-07-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2122  * src/vte.c:
2123    Fix build with GTK 2.8, use the stock icon name directly instead
2124    of the macro. Though, the icon is still missing for GTK 2.8.
2125  * src/templates.c:
2126    Make make_comment_block() work with a GString. This is not yet
2127    perfect but a bit better than before.
2130 2010-07-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2132  * src/keybindings.c, src/vte.c, src/vte.h:
2133    Implement 'Select All' for the VTE widget.
2136 2010-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2138  * geany.nsi:
2139    Fix missing template files in the Windows installer.
2142 2010-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2144  * data/filetypes.python:
2145    Update list of Python builtins, based on Python 2.6.
2148 2010-07-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2150  * src/filetypes.c:
2151    On Windows, convert filetype extensions read from config files
2152    to lower case (closes #3028856).
2155 2010-07-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2157  * src/keybindings.c:
2158    Focus toolbar item when pressing Go to Line keybinding only when
2159    it's not in the toolbar's drop down overflow menu (fixes #3027454).
2162 2010-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
2164  * src/build.c:
2165    Fix build menu translation problems.
2168 2010-07-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2170  * wscript:
2171    Fix './waf install'.
2174 2010-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2176  * src/editor.c:
2177    Fix scrolling the editor line in view after loading a session and
2178    switching document tabs. Note this causes repainting so needs
2179    improvement.
2180  * doc/geany.txt, doc/geany.html:
2181    Add note to restart Geany after installing/updating before editing
2182    hidden prefs.
2183  * src/ui_utils.h, src/main.c, src/ui_utils.c:
2184    Use Stash to save statusbar_template setting, instead of the
2185    load/save-settings signal.
2186    Add ui_init_prefs().
2189 2010-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2191  * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2192    Fix writing empty hidden pref "statusbar_template" key so users can
2193    find it (patch by Dimitar Zhekov, thanks).
2194  * src/ui_utils.c, src/ui_utils.h, src/main.c:
2195    Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2198 2010-07-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2200  * src/build.c, src/project.c, src/project.h:
2201    Show the Project Properties build tab when choosing 'Set Build
2202    Commands' for now to prevent confusion with non-project commands.
2205 2010-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2207  * src/search.c, doc/geany.txt, doc/geany.html:
2208    Fix Grep --exclude-dir example.
2211 2010-07-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2213  * src/sidebar.c:
2214    Add sidebar Documents popup menu item 'Find in Files'.
2215  * src/keyfile.c, src/main.c, src/editor.c:
2216    Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2217    G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2220 2010-07-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2222  * doc/geany.txt, doc/geany.html:
2223    Fix wording - restarting is required for hidden prefs.
2224    File templates don't need manual reloading anymore.
2225  * src/ui_utils.c:
2226    Fix only adding project base path to Find in Files history if it
2227    isn't already there (oops).
2228  * src/msgwindow.c:
2229    Parse lines in the Messages window even if Find in Files hasn't
2230    been used yet (patch by Jiří Techet, thanks).
2233 2010-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2235  * scintilla/LexCPP.cxx, src/highlighting.c:
2236    Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2237    it disabled.
2238  * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2239    data/filetypes.common:
2240    Add filetypes.common fold_symbol_highlight color setting.
2241    Add API macro foreach_range().
2242  * src/printing.c, doc/geany.txt, doc/geany.html:
2243    Always use white background color when printing (except for text
2244    with a white foreground) to save ink (should fix #2968998).
2245  * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2246    Limit build error editor indicators to 50, but parse all errors in
2247    the Compiler tab (fixes #3019823).
2250 2010-06-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2252  * src/highlighting.c:
2253    Re-enable fold.comment for lexers - it was disabled to prevent C
2254    //{ explicit folding, but that also disables stream comment folding
2255    /* */.
2256  * tagmanager/tm_workspace.c, tagmanager/get.c:
2257    Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2258  * src/editor.c:
2259    Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2260    doesn't affect the bug with document switching not scrolling cursor
2261    in view after loading a session.
2264 2010-06-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2266  * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2267    Add statusbar_template hidden pref (based on patch by Dimitar
2268    Zhekov, thanks).
2269  * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2270    Add spaces after RO when using %r in statusbar_template setting.
2271    Add space between encoding and BOM.
2272    Note \t means tab for default text.
2275 2010-06-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2277  * src/search.c:
2278    Restore tabbing past Find in Files combo box drop down menus.
2281 2010-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2283  * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2284    doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2285    doc/plugins.dox:
2286    Move plugin signals docs to pluginsignals.c, using function
2287    pointer syntax instead of @signaldef as this puts a summary of
2288    the signal names at the top of the page and sorts alphabetically.
2289    (Note: the syntax is similar to Vala signal syntax).
2292 2010-06-24  Lex Trotman  <elextr(at)gmail(dot)com>
2294  * src/build.c
2295    Make default dialog entries use GTK_STATE_INSENSITIVE color not
2296    a fixed color (Suggestion by Ditmar Zhekov)
2299 2010-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2301  * src/search.c, doc/geany.txt, doc/geany.html:
2302    Implement Find in Files file pattern search.
2303  * src/search.c:
2304    Add file pattern to combo box history.
2305  * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2306    plugins/export.c:
2307    Use ui_hookup_widget() instead of g_object_set_data_full() for
2308    widgets.
2311 2010-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2313  * src/search.c:
2314    Add Files checkbox and combo to Find in Files dialog, currently
2315    does nothing & is disabled.
2316    Don't try to focus the next entry on pressing tab anymore as this
2317    is more complicated now.
2320 2010-06-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2322  * src/search.c:
2323    Put Find in Files Search field above Directory field.
2324  * src/search.c, doc/geany.txt:
2325    Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2326    regular expressions' radio buttons with a 'Use regular expressions'
2327    checkbox. This uses the extended syntax (which is the same as the
2328    Find/Replace regex syntax).
2329  * src/search.c:
2330    Move 2 Find in Files checkboxes for even spacing.
2333 2010-06-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2335  * tagmanager/tm_work_object.c:
2336    Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2337    Thanks.
2340 2010-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2342  * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2343    src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2344    Add ui_combo_box_add_to_history() to API.
2345  * plugins/filebrowser.c:
2346    Add history to path entry.
2347  * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2348    Fix not loading plugins built against a newer API when Geany doesn't
2349    provide the required version given in PLUGIN_VERSION_CHECK().
2350    Improve documentation for PLUGIN_VERSION_CHECK().
2351  * plugins/filebrowser.c:
2352    Allow Find in Files when no items are selected.
2353  * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2354    Add API signal "build-start" (patch by Jiří Techet, thanks).
2357 2010-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2359  * src/sidebar.c:
2360    Replace /home/user with ~ in the documents list (patch by Jon
2361    Strait, thanks).
2362  * src/build.c:
2363    Make default Build dialog entries grey, not light grey (too hard to
2364    read on a white background).
2365  * src/ui_utils.c:
2366    Display 'new instance' on title bar (patch by Eugene Arshinov,
2367    thanks).
2368  * src/ui_utils.c:
2369    Remove any duplicate on adding to combo box histories.
2372 2010-06-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2374  * src/notebook.c:
2375    Align notebook tab close buttons centred vertically - thanks to
2376    Robux.Biz (galyuk).
2377  * Merge unstable branch:
2378  - src/build.c:
2379    Make build config entries light grey until set.
2380  - src/keybindings.c, src/about.c, THANKS:
2381    Fix the wrong file being put on top of the stack when switching tabs
2382    too quickly (patch from Jiří Techet, thanks).
2383  - src/templates.c, data/templates/gpl, data/templates/function,
2384    data/templates/changelog, data/templates/bsd,
2385    data/templates/fileheader, wscript, Makefile.am:
2386    Move general templates from source code into files.
2387    Load general templates from system path instead of creating them in
2388    the user's config dir.
2391 2010-06-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2393  * po/POTFILES.skip:
2394    Add doc/stash-example.c to fix 'make distcheck'.
2395  * geany.nsi:
2396    Change the RequestExecutionLevel for the Windows installer to
2397    'highest'.
2398  * New release: Geany 0.19 "Vellam".
2399  * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2400    geany_private.rc, win32-config.h, wscript, src/geany.h:
2401    Post-release version bump.
2404 2010-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2406  * src/editor.c:
2407    Group undo action for Insert Multiline Comment.
2410 2010-06-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2412  * Makefile.am:
2413    Don't individually install data/*.tags as all data/* files will be
2414    installed anyway.
2417 2010-06-07  Frank Lanitz  <frank@frank.uvena.de>
2419  * tagmanager/tm_project.c:
2420    Fix a double free. (patch by Daniel Marjamaki, thanks).
2423 2010-06-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2425  * tagmanager/tm_workspace.c:
2426    Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2427  * src/sidebar.c:
2428    Fix reducing paths to project name in the Documents list
2429    (patch by Eugene Arshinov, thanks).
2430  * src/symbols.c:
2431    Fix crash when trying to sort NULL pointers as tags in the Symbols
2432    list (closes #3011986).
2433  * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2434    Update Scintilla to version 2.12.
2435  * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2436    scintilla/LexCrontab.cxx:
2437    Remove unused Crontab lexer.
2438  * data/filetypes.css, src/highlighting.c:
2439    Add new style "media" for filetype CSS.
2442 2010-06-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2444  * doc/geany.txt, doc/geany.html:
2445    Build section: minor rewording, formatting fixes; move some
2446    sentences.
2449 2010-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2451  * src/build.c:
2452    Explicitly try to localise build menu item labels with
2453    gettext to enforce getting default labels translated.
2454  * tagmanager/tm_workspace.c:
2455    Fix not closed FILE pointer on early exit
2456    (patch by Daniel Marjamaki, thanks).
2457  * doc/images/*.png:
2458    Update images for Geany 0.19.
2459  * src/sidebar.c:
2460    Destroy the default symbol list treeview only once
2461    (fixes gtk_widget_destroy warning on exit).
2464 2010-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2466  * tagmanager/sort.c:
2467    Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2468  * tagmanager/c.c:
2469    Fix parsing of C++ classes contain attributes with bitfields
2470    (patch by Lex Trotman, thanks).
2471  * src/plugindata.h, src/plugins.c:
2472    Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2473    plugins' meta information can be translated already in the
2474    plugin manager dialog (patch by Colomban Wendling, thanks).
2477 2010-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2479  * src/main.c:
2480    Print locale information in debug output.
2481  * src/build.c:
2482    Fix some labels which were marked as translatable but were not
2483    handled properly by gettext().
2484    Add a missing const.
2485  * src/msgwindow.c:
2486    Try to convert text into UTF-8 before adding it to the Compiler and
2487    Messages Window (closes #3007919).
2490 2010-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2492  * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2493    wscript:
2494    Pass G_LOG_DOMAIN to source files for better logging.
2497 2010-05-24  Frank Lanitz  <frank@frank.uvena.de>
2499  * THANKS, src/about.c:
2500    Update of translation credits to reflect a change on Spanish
2501    translation team better.
2504 2010-05-23  Lex Trotman  <elextr.at.gmail.dot.com>
2506  * src/build.c:
2507    Fix infinite loop reading build command output
2510 2010-05-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2512  * src/msgwindow.c:
2513    Fix duplicate accelerators for Clear and Copy in the
2514    Messages Window popup menu.
2515  * src/pluginutils.c:
2516    Expand child widgets in the Plugin Preferences dialog
2517    (patch by Colomban Wendling, thanks).
2520 2010-05-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2522  * src/ui_utils.c:
2523    Fix Undo/Redo button state after the last document has been closed.
2524    Add Print and Replace toolbar items to the list of document
2525    sensitive widgets.
2526  * src/toolbar.c:
2527    Fix crash when the toolbar is reloaded without any open documents.
2528  * src/build.c:
2529    Fix Run toolbar item sensitivity after the last document has been
2530    closed.
2531  * plugins/classbuilder.c:
2532    Remove two unnecessary g_strdups().
2533  * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2534    src/plugindata.h, src/ui_utils.h:
2535    Add hidden preference to disable automatic scrolling in the
2536    Compiler tab (closes #3004714).
2539 2010-05-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2541  * plugins/classbuilder.c:
2542    Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2545 2010-05-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2547  * src/prefs.c, src/project.c:
2548    win32.h can be included unconditionally.
2549  * src/sidebar.c:
2550    Fix project base_path detection if the path has a trailing slash.
2551  * src/document.c, src/editor.c, src/project.c:
2552    Small improvements to speed up quit process with many open documents.
2553    Avoid calling gtk_notebook_remove_page() on exit as it takes
2554    a lot of time.
2555  * src/geanymenubuttonaction.c:
2556    Explicitly check for the type when iterating the action's proxies.
2557    For some reason on Windows, a GtkImageMenuItem proxy is created.
2558  * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2559    src/plugindata.h, scintilla/*, scintilla/include/*:
2560    Update Scintilla to version 2.11.
2561  * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2562    src/makefile.win32:
2563    Add new GTK define also for Mingw cross compilation and
2564    makefile.win32 based Windows builds.
2565  * plugins/filebrowser.c:
2566    Implement reading and evaluating hidden file attribute on Windows.
2567    Fix broken "Go Up" if the current path ends with a slash.
2568  * THANKS, src/about.c, src/prefix.c:
2569    Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2570  * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2571    src/main.c, src/notebook.c, src/prefs.c:
2572    Add preference to add new document tabs beside the current one
2573    (patch by Colomban Wendling, thanks).
2574  * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2575    src/keyfile.c, src/prefs.c, src/ui_utils.h:
2576    Add a preference for choosing between GTK and native
2577    File Open/Save dialogs (only available on Windows).
2578  * doc/geany.html, doc/geany.txt:
2579    Update documentation.
2582 2010-05-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2584  * src/win32.c:
2585    Sort file filters for the native Windows file open dialog by name.
2586    Don't use file filters for the native Windows Save As dialog.
2587  * src/dialogs.c, src/win32.c, src/win32.h:
2588    Remove old code.
2589    Pass and use also parent and title arguments to
2590    win32_show_document_open_dialog().
2591  * src/dialogs.c:
2592    Call handle_save_as() only when the Save As dialog was not cancelled.
2593  * src/toolbar.c:
2594    Improve adding/removing of the special separator between menubar and
2595    toolbar when the toolbar is appended to the menubar.
2596  * src/toolbar.c, src/templates.c:
2597    Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2598    not trigger updating the menus on each item removal.
2601 2010-05-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2603  * src/support.h:
2604    Replace one non breaking space by normal space. Patch by
2605    Daniel Marjamaki.
2608 2010-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2610  * plugins/classbuilder.c:
2611    Don't make the 'Create Class' menu item document-sensitive
2612    (patch by Colomban Wendling, thanks).
2613    Add namespace support for GTK+ classes.
2614    Add GET_CLASS() macro for GTK+ classes.
2615    Add typedef of the private structure in the header file instead
2616    of declaring it
2617    (all the above from a patch by Colomban Wendling, thanks).
2618  * src/highlighting.c:
2619    Set common default "fold.comment" to 0 to disable it. This can
2620    be overridden if desired.
2621  * src/sidebar.c:
2622    Improve sorting of document list items
2623    (patch by Colomban Wendling, thanks).
2624  * src/main.c:
2625    Remove unnecessary textdomain() call.
2628 2010-05-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2630  * src/search.c:
2631    Fix search_find_text not returning -1 when match is out of range.
2632    This fixes invalid memory reads and wrong template filename
2633    wildcard replacement.
2634  * src/search.c, src/document.c:
2635    Only replace template filename matching start of word on saving.
2636  * plugins/filebrowser.c:
2637    Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2638  * src/build.c, src/build.h, src/project.c:
2639    Make some ugly build.h global variables static.
2640  * src/build.c, src/build.h, src/project.c:
2641    Add Build prefix for TableFields, TableData.
2644 2010-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2646  * src/dialogs.c:
2647    Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2648  * src/dialogs.c, src/win32.c, src/win32.h:
2649    (Re-)Implement a (still basic) native Windows Save As dialog when
2650    compiled with GEANY_USE_WIN32_DIALOG.
2653 2010-05-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2655  * THANKS, src/about.c, plugins/classbuilder.c:
2656    Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2657  * src/ui_utils.h, src/ui_utils.c:
2658    Add public, generic callback ui_editable_insert_text_callback()
2659    to restrict GtkEntry text inputs to +/- and numeric values only.
2660  * src/dialogs.h, src/dialogs.c:
2661    Add special variant dialogs_show_input_goto_line() to use a normal
2662    GtkEntry together with dialogs_show_input_goto_line() for text input.
2663  * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2664    Allow '+<number' and '-<number>' as values for Goto Line inputs
2665    to jump relative to the current line (closes #2997238).
2668 2010-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2670  * src/highlighting.c:
2671    Apply foreground and background colours of the folding margin
2672    style properly (closes #2998347).
2673  * src/utils.c:
2674    Don't auto-close short XML tags (closes #2994852).
2675  * THANKS, src/about.c, src/keybindings.c:
2676    Improve jumping to matching braces by consistently position the
2677    cursor before or after the matching brace dependent where it
2678    was before (patch by Dimitar Zhekov, thanks).
2679  * src/main.c:
2680    Fix crash when generating global tags files (patch by Colomban
2681    Wendling, thanks).
2684 2010-05-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2686  * src/templates.c:
2687    Avoid connecting signals more than once.
2690 2010-05-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2692  * wscript:
2693    Don't ignore the 'intltool' check on non-Windows systems, instead
2694    raise a configure error.
2697 2010-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2699  * src/build.c:
2700    Fix marking some strings as translatable (cannot be done in the
2701    ASSIGNIF macro).
2702  * src/templates.c, doc/geany.txt, doc/geany.html:
2703    Reload templates if saving a document in the templates config dir.
2706 2010-05-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2708  * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2709    doc/geany.html:
2710    Fix replacing {filename} template wildcard for custom file
2711    templates with non-default file extension.
2712    Add search_find_text() for POSIX regex searches.
2713  * src/templates.c, doc/geany.txt, doc/geany.html:
2714    Add {project}, {description} template wildcards (#2954737).
2715  * doc/geany.txt, doc/geany.html:
2716    Divide template wildcards into groups.
2717  * src/plugindata.h, src/plugins.c, src/symbols.c,
2718    plugins/geanyfunctions.h:
2719    Add symbols_get_context_separator() to plugin API (patch by Colomban
2720    Wendling, thanks).
2723 2010-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2725  * src/keybindings.c:
2726    Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2727    Anonymous, thanks; #2995593).
2728  * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2729    plugins/geanyfunctions.h:
2730    Add sci_set_line_indentation(), sci_get_line_indentation() to API
2731    (patch by Colomban Wendling, thanks).
2734 2010-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2736  * src/editor.c:
2737    Warn user if hidden hard tab width setting is not 8.
2740 2010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2742  * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2743    doc/geany.txt, doc/geany.html:
2744    Hide 'Tabs and Spaces: Hard tab width' preference - it should
2745    always be 8. (Hidden setting kept in case users have modified it).
2748 2010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2750  * doc/geany.txt, doc/geany.html:
2751    Add Folding section link to filetypes.common custom settings.
2754 2010-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2756  * src/callbacks.c:
2757    When switching documents, don't call document_set_text_changed()
2758    as this does much more than necessary. Instead call the necessary
2759    UI update functions explicitly.
2762 2010-04-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2764  * tagmanager/vstring.c:
2765    Fix invalid memory read (patch by Colomban Wendling, thanks).
2768 2010-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2770  * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2771    Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2772    strings in case of reaching the buffer size limit (part of #2979697).
2773  * src/win32.c:
2774    Change the limit for the command line length when executing commands
2775    to a maximum of 32768 characters (closes #2979697).
2776    Fix broken opening URLs e.g. when using the 'builtin' Run command.
2777  * tagmanager/ctags.c:
2778    Change eFree() to simply ignore NULL pointers instead of asserting.
2779  * src/main.c:
2780    Remove malloc() fallback since we completely rely on g_malloc()
2781    nowadays.
2782  * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2783    plugins/saveactions.c:
2784    Make string arguments const where appropriate (patch by
2785    Colomban Wendling, thanks).
2786  * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2787    src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2788    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2789    src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2790    src/symbols.c, src/templates.c, src/ui_utils.c:
2791    Make string arguments const where appropriate (patch by
2792    Colomban Wendling, thanks).
2795 2010-04-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2797  * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2798    Make plugin_signal_connect() string argument const (patch by
2799    Colomban Wendling, thanks).
2800  * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2801    Constify some more string pointers in the API (patch by
2802    Colomban Wendling, thanks).
2803  * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2804    doc/geany.html:
2805    Support {pc} wildcard in snippets to escape percent char.
2806  * src/editor.c:
2807    Recalculate line margin width when zooming (fixes #2990553).
2808  * src/highlighting.c, doc/geany.txt, doc/geany.html,
2809    data/filetypes.common:
2810    Support more folding icon styles: arrows, +/- and no lines
2811    (#2935059).
2814 2010-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2816  * src/socket.c:
2817    Fix Windows build by properly guarding Unix-only code.
2820 2010-04-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2822  * src/templates.c, doc/geany.txt, doc/geany.html:
2823    Support {ob} and {cb} in fileheader and file templates; they are
2824    replaced last with { and }. This allows 'escaping' of wildcard
2825    strings.
2826  * src/editor.c, plugins/classbuilder.c:
2827    Fix Class Builder plugin to use correct indentation instead of
2828    always tabs.
2829    Make editor_insert_text_block() only replace leading tabs for the
2830    'Tabs' indent type; also group edits for undo.
2831  * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2832    doc/geany.html:
2833    Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2836 2010-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2838  * tagmanager/pascal.c:
2839    More fixes to prevent possible crashes by trying to free NULL
2840    pointers.
2841  * src/sidebar.c:
2842    Automatically show and hide the sidebar notebook tabs according
2843    to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2844  * src/editor.c:
2845    Add a static global variable to monitor autocompletion mode in order
2846    to prevent cancellation of the struct/class (C/C++) auto completion
2847    list (patch by Thomas Martitz, thanks).
2848  * src/socket.c:
2849    When starting and trying to access the Unix Domain socket of a
2850    potentially running instance, first compare file ownership with the
2851    user id of the running process to prevent accessing a wrong socket
2852    file (part of #2985463, this might not yet be the final solution).
2855 2010-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2857  * plugins/filebrowser.c:
2858    Synchronize popup menu and plugin preferences dialog 'Show Hidden
2859    Files' option (fixes #2989288).
2862 2010-04-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2864  * tagmanager/entry.c, tagmanager/entry.h,
2865    tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2866    tagmanager/parse.h, tagmanager/tm_source_file.c:
2867    Add tm_source_file_set_tag_arglist() to manually set the argument
2868    list of a tag.
2869  * tagmanager/python.c:
2870    Use tm_source_file_set_tag_arglist() to set the argument list
2871    field of Python class tags to the argument list of their
2872    __init__() methods.
2873    Backport a fix from CTags SVN to prevent possible crashes by trying
2874    to free NULL pointers.
2877 2010-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2879  * tagmanager/txt2tags.c:
2880    Remove duplicate code from Txt2Tags parser.
2881    Remove the title control characters ('=') when parsing titles.
2882    Also parse numbered titles (closes #2984703).
2883  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2884    src/plugindata.h:
2885    Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2886    Add missing documentation for 'Reset Zoom' keybinding.
2887  * tagmanager/php.c:
2888    Another attempt to fix the PHP parser regexp for parsing functions.
2889    Fix wrong parsing of function arguments when those contain nested
2890    brackets (as reported by Harold Aling).
2891  * src/notebook.c:
2892    Fix Ctrl-Click on notebook tab if Numpad is active.
2895 2010-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2897  * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
2898    src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
2899    src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
2900    src/ui_utils.c, src/ui_utils.h:
2901    Add option 'System Default' for toolbar icon style and size to
2902    use the GTK default value.
2903  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2904    src/toolbar.c, src/toolbar.h:
2905    Shorten the toolbar popup menu, only provide items for Toolbar
2906    Preferences and to Hide the toolbar.
2907  * src/toolbar.c:
2908    Instantly update the toolbar icon size and style when the
2909    corresponding global GTK settings are changed.
2910  * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
2911    src/plugindata.h, src/socket.c:
2912    Add new command line option --list-documents to return a list
2913    of currently opened documents (closes #2979933).
2916 2010-04-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2918  * plugins/htmlchars.c:
2919    Make plugin remember whether replacement of special characters was
2920    activated even after restart of Geany or reloading of plugin.
2923 2010-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2925  * src/editor.c:
2926    Fix inserting snippets with an indent when using Mac CR line
2927    endings.
2928  * src/callbacks.c:
2929    Update status bar after using Document->Set Line Endings.
2930  * src/editor.c:
2931    Improve API docs for editor_insert_text_block().
2934 2010-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2936  * src/editor.c:
2937    Refactor snippets_complete_constructs().
2938    Remove an unnecessary TODO.
2939  * src/editor.c:
2940    Fix indenting a snippet when there is whitespace after the
2941    snippet key name.
2944 2010-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2946  * doc/geany.txt, doc/geany.html:
2947    Improve wording.
2948  * src/build.c, src/msgwindow.c:
2949    Fix disabled compiler message tracking if using indicators to
2950    show build errors is disabled (closes #2982834).
2953 2010-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2955  * scintilla/Editor.cxx:
2956    Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
2957    and SCI_GETSELECTIONEND with rectangular selections. This fixes
2958    replacing in a rectangular selection.
2961 2010-04-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2963  * src/filetypes.c:
2964    Re-detect any document filetypes set to None after reloading
2965    filetype extensions (closes #2979661).
2966  * src/editor.c:
2967    Fix showing '...' item last instead of first for document word
2968    completion.
2971 2010-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2973  * data/filetypes.perl:
2974    Adjust Perl Compile command to use the -c command
2975    line option to perform a syntax check instead of using the
2976    deprecated ByteCompile module.
2977    Add error_regex to parse error messages and warnings when performing
2978    syntax checks on Perl files.
2981 2010-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2983  * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
2984    Add API docs for keybinding enums.
2985  * src/notebook.c, doc/geany.txt, doc/geany.html:
2986    Make Ctrl-click on any notebook tab switch to the last used
2987    document.
2990 2010-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2992  * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
2993    src/geanyentryaction.c, src/geanyentryaction.h,
2994    src/geanywraplabel.c:
2995    Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
2996    object for efficiency.
2999 2010-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3001  * plugins/classbuilder.c:
3002    Beep if the user hasn't entered a class name on pressing OK.
3003  * src/search.c:
3004    Fix replacing '^' regex.
3005  * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3006    plugins/geanyfunctions.h:
3007    Add Stash widget functions to API.
3008  * configure.ac:
3009    Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3010    #2973764).
3013 2010-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3015  * THANKS, src/vte.c:
3016    Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3017    fixes #2976905).
3018  * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3019    src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3020    plugins/geanyfunctions.h, plugins/geanyplugin.h:
3021    Add Stash setting functions to API.
3022    Remove unnecessary argument to stash_group_load_from_file().
3023  * src/geanyobject.c, plugins/classbuilder.c:
3024    Don't generate FOO_GET_PRIVATE() macro because caching the result
3025    in Foo::priv can be much more efficient.
3028 2010-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3030  * src/editor.c:
3031    Fix cursor positioning when toggling comments
3032    (patch by Thomas Martitz, thanks).
3035 2010-03-25  Peter Scholtens  <peter(dot)scholtens(at)xs4all(dot)nl>
3037  * src/keybindings.[hc]:
3038    Added Control+0 for zoom reset, see suggestion from #2969886.
3041 2010-03-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3043  * src/search.c, src/document.c:
3044    Fix wrong selection range after Replace in Selection.
3047 2010-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3049  * src/win32.c:
3050    Make CreateChildProcess() working with Unicode strings, e.g.
3051    directory names (closes #2972606).
3052  * geany.nsi:
3053    Remove reference to already removed latex.tags file.
3054    Future releases probably still depend on GTK 2.16.
3055  * scintilla/ScintillaGTK.cxx:
3056    Backport fix from Scintilla CVS to not paste text beyond the end
3057    of lines (closes #2969096).
3058  * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3059    src/plugindata.h:
3060    Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3061    to not set Geany's minimum window size anymore (closes #2972992).
3062    As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3065 2010-03-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3067  * src/stash.c:
3068    Make adding string and string vector settings initialise the setting
3069    to NULL for safety.
3070  * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3071    Add stash_group_load_from_file() and stash_group_save_to_file().
3074 2010-03-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3076  * data/filetypes.common:
3077    Set default for wrapped lines to show marker at end of line only
3078    (more expected and doesn't change line alignment - closes #2972386).
3079  * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3080    src/pluginutils.c, doc/plugins.dox:
3081    Improve API docs contents page by listing all commonly-used files.
3082    Fix 'Date' appearing twice on the date line.
3083    Don't generate API docs for prefs.h, toolbar.h (unused).
3084    Move some '@file' doc-comments to the .c file.
3085  * src/interface.c, geany.glade:
3086    Add frame for 'Printing' prefs dialog page.
3087  * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3088    src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3089    doc/stash-example.c:
3090    Rename Stash data types to be independently named from Geany (so
3091    Stash can be reused for other projects).
3092    Rename GeanyPrefGroup to StashGroup.
3095 2010-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3097  * tagmanager/python.c:
3098    Apply patch from Colomban Wendling to parse Python lambda functions
3099    (thanks) - modified to only parse toplevel or class member lambdas.
3100  * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3101    doc/stash-example.c:
3102    Add doc-comments for Stash setting functions.
3103    Add an example file showing usage of Stash.
3104    (Not enabled yet until added to the plugin API).
3107 2010-03-17  Lex Trotman  <elextr.at.gmail.dot.com>
3109  * src/build.c:
3110    Fix using return value without checking return status, caused
3111    incorrect sensitivity settings on build dialog.
3114 2010-03-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3116  * HACKING:
3117    Add tip about gcc optimization & warnings/debugging.
3118    Add Testing section.
3119    Update Libraries section about synchronizing with other projects.
3122 2010-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3124  * src/ui_utils.c:
3125    For now revert the recent patch which set real_path of newly
3126    open non-existent configuration files as this seems hackish and
3127    causes 'file not found' warnings.
3128  * wscript:
3129    Fix/Improve GIT repository detection
3130    (patch by Thomas Martitz, thanks).
3131  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3132    src/utils.c:
3133    Add utils_copy_environment() to the plugin API.
3136 2010-03-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3138  * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3139    src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3140    src/main.c:
3141    Use 3rd person for more API dox.
3142    Change 'This is a wrapper function for...' to 'Wraps...' in brief
3143    descriptions.
3144    Change 'After all...' to 'Afterwards...'.
3145  * src/interface.c, geany.glade:
3146    Apply patch from Eugene Arshinov to make frame packing/alignment
3147    more consistent (thanks).
3150 2010-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3152  * src/ui_utils.c:
3153    Fix ui_button_new_with_image() to call gtk_button_set_image() so
3154    that gtk_button_[sg]et_label() work as expected.
3155  * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3156    Make Build Commands dialog show menu item labels as a button (to
3157    help show that menu labels don't normally need to be edited &
3158    display the mnemonic correctly). Clicking shows an input dialog to
3159    set a new menu item label.
3160    Split dialogs_show_input() into 2 functions: one simple, one for
3161    a persistent dialog.
3162    Fix possible double-destroy of input dialog when closed by user.
3163  * src/dialogs.c:
3164    Fix not destroying 'Make Custom Target' input dialog after first
3165    use (oops).
3166  * src/project.c:
3167    Make Long Line Marker settings for existing projects default to
3168    general settings instead of 0 (thanks to Eugene Arshinov).
3169  * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3170    src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3171    src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3172    src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3173    Use 3rd person (gets not get) for API function brief descriptions.
3174    Avoid using 'convenience function' in API brief descriptions.
3177 2010-03-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3179  * doc/geany.txt, doc/geany.html:
3180    Warn about some GNU extensions for regular expressions & clarify
3181    some points.
3182  * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3183    src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3184    src/editor.h, geany.glade:
3185    Apply patch from Eugene Arshinov to add project long line marker
3186    customisation (thanks).
3187  * src/interface.c, geany.glade:
3188    Edit/tidy 'Long line marker' labels.
3191 2010-03-10  Lex Trotman  <elextr.at.gmail.dot.com>
3193  * src/build.c, src/project.c:
3194    Fix crash due to NULL in project build preferences (thanks to
3195    Wolfgang Ocker).
3198 2010-03-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3200  * src/utils.c, src/utils.h, src/search.c, src/search.h,
3201    src/document.c, doc/geany.txt, doc/geany.html:
3202    Merge gnu-regex branch:
3203    Use POSIX system/GNU regex engine for find & replace 'Use regular
3204    expressions' option. This alters regex syntax a bit - see the docs
3205    for details; we now support '?' operator and replacement backslash
3206    escaping is more standard.
3207    Make regex search imply replacing escaped chars.
3208    Allow \0 backreference replacement for the whole match.
3209    Note: Replace All may be slower; if this is a problem please let me
3210    know.
3211  - code:
3212    Add argument to utils_str_replace_escape() for keeping
3213    uninterpreted backslash escapes e.g. '\\', '\e'.
3214  * scintilla/LexMarkdown.cxx:
3215    Backport minor formatting/style changes from Scintilla project.
3216  * doc/geany.txt, doc/geany.html:
3217    Remove warning about no visual indication for zero-column-mode
3218    editing.
3221 2010-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3223  * wscript:
3224    Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3227 2010-03-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3229  * wscript, scintilla/*, scintilla/include/*:
3230    Update Scintilla to version 2.03.
3231  * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3232    src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3233    Add preference for virtual spaces.
3234  * src/log.c:
3235    Fix wrong default response for the Debug Messages dialog.
3236  * src/dialogs.c:
3237    Fix crashes when using Save As with no open files (closes #2964406).
3238  * src/document.c:
3239    Fix duplicate mnemonics on 'Resave missing file' dialog, also
3240    move the question from the secondary to the main text to be
3241    more compatible with the Gnome HIG.
3242    Fix broken 'Save' action in 'Resave missing file' dialog.
3243  * tagmanager/php.c:
3244    Improve PHP parser to parse also the argument lists of PHP functions.
3245  * src/prefs.c:
3246    Correctly set the parent widget for the keybinding overwrite
3247    confirmation dialog.
3248  * src/dialog.c:
3249    Fix setting the icon for some dialogs if the parent itself is also
3250    a dialog.
3251  * src/ui_utils.c:
3252    When editing non-existent config files using the Tools->Configuration
3253    Files menu, explicitly set the real_path to avoid presenting the Save
3254    As dialog when saving the file (patch by Tony Rick, thanks).
3255  * src/callbacks.c:
3256    Focus the editor widget after hiding the sidebar when it had the
3257    input focus (patch by Can Koy, thanks).
3258    Properly show/hide the mesages window when using the View menu item
3259    (closes #2961282).
3260  * plugins/filebrowser.c:
3261    After opening files, focus the editor widget
3262    (based on a patch by Can Koy, thanks).
3263  * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3264    src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3265    src/ui_utils.h, src/vte.c:
3266    Add and use convenience function ui_is_keyval_enter_or_return() and
3267    add it to the plugin API.
3270 2010-03-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3272  * src/about.c, THANKS, po/ast.po:
3273    Added Asturian translation. Thanks to Marcos Costales for providing.
3276 2010-02-28  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3278  * src/log.c:
3279    Fix keyboard accelerators in debug messages window
3280    (Thanks Can Koy).
3283 2010-02-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3285  * scintilla/LexR.cxx:
3286    Backport R lexer from Scintilla CVS to fix case sensitive keywords
3287    (Scintilla bug #2956543).
3288  * src/sidebar.c, src/about.c, THANKS:
3289    Make Space on the symbol and document list not focus the editor
3290    widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3291  * src/document.c, src/document.h:
3292    Fix document_try_focus() to make it work with the sidebar document
3293    list as well.
3294  * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3295    Make Space on the compiler and messages widgets not focus the editor
3296    widget while Enter does (patch by Can Koy, thanks).
3297  * src/editor.c:
3298    Fix wrongly auto-detected multiline comments
3299    (patch by Eugene Arshinov, thanks).
3302 2010-02-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3304  * src/ui_utils.c:
3305    Show number of lines of current document inside statusbar. Thanks to
3306    Can Koy for providing the patch.
3309 2010-02-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3311  * src/keybindings.c, doc/geany.txt, doc/geany.html:
3312    Make Switch to Editor keybinding reshow the document statistics
3313    line, so user doesn't have to move the cursor.
3316 2010-02-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3318  * data/filetypes.r:
3319    Update keywords for the R language (patch by Jon Senior, thanks).
3322 2010-02-21  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3324  * doc/geany.txt:
3325    Fix the instruction how to insert unicode characters
3326    (thanks Tony Rick).
3329 2010-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3331  * scripts/create_py_tags.py:
3332    Minor fixes.
3333    Replace tabs by spaces.
3334  * plugins/genapi.py:
3335    Minor fixes.
3336    Replace tabs by spaces.
3337  * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3338    src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3339    tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3340    Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3341  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3342    src/plugindata.h, src/sidebar.c, src/sidebar.h:
3343    Add keybindings to switch to the sidebar's Document and Symbol list
3344    as well as to the Message Window's current tab
3345    (patch by Eugene Arshinov, thanks).
3346  * data/filetypes.r:
3347    Update primary keywords for the R language
3348    (patch by Jon Senior, thanks).
3351 2010-02-20  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3353  * doc/geany.txt:
3354    Add more detailed hints about reloading configuration
3355    (thanks to Tony Rick).
3356  * data/filetypes.javascript:
3357    Correct the keyword list for JavaScript (thanks to Jonas).
3360 2010-02-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3362  * New release: Geany 0.18.1 "Balfour".
3365 2010-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3367  * src/keybindings.c:
3368    Add special cases for handling the Select All keybinding (Ctrl-A) in
3369    the toolbar search and goto line text entries (closes #2948040).
3370    Strip trailing spaces after reflowing a paragraph, patch by
3371    Dominik Wagenfuehr, thanks (closes #2945497).
3374 2010-02-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3376  * src/geanymenubuttonaction.c, src/templates.c:
3377    Partly revert last commit:
3378    Unref the new files toolbar menu when freeing templates as it
3379    was done before but unref it *after* the menu has been removed
3380    from the GeanyMenuButtonAction.
3381  * src/encodings.c:
3382    Fix possible endless loop when trying to detect the encoding of
3383    non-text files (patch by Alexey Antipov, thanks).
3386 2010-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3388  * src/document.c:
3389    Allow saving remote files using g_file_set_contents() as well
3390    (patch by Алексей Антипов, thanks).
3391  * data/filetypes.python:
3392    Adjust style for secondary keywords to be less aggressive.
3393    Add Python 2.5 builtins keywords.
3394  * src/geanymenubuttonaction.c, src/templates.c:
3395    Unref the new files toolbar menu when setting a new menu to fix
3396    possible crashes when reloading configuration.
3397  * src/filetypes.c:
3398    When reloading configuration, process the current document at last
3399    so the symbol list will be updated correctly.
3402 2010-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3404  * src/symbols.c:
3405    Explicitly read filetype configuration files before generating
3406    global tags to get settings for custom filetypes.
3409 2010-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3411  * src/plugins.c:
3412    Fix GLib warning when toggling 'no plugins available' item.
3415 2010-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3417  * icons/Makefile.am:
3418    Include geany.ico in the distribution tarball.
3419  * Makefile.am:
3420    Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3421  * scripts/create_py_tags.py:
3422    Make the script a bit more robust with newer Python versions.
3423  * src/templates.c:
3424    Use utils_spawn_sync() instead of g_spawn_sync().
3427 2010-01-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3429  * plugins/export.c:
3430    Close meta tag for export date properly.
3433 2010-01-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3435  * geany.spec.in:
3436    Update RPM Spec file (patch by Dominic Hopf, thanks).
3439 2010-01-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3441  * src/plugindata.h:
3442    Fix renaming sci_send_message(), sci_send_command() function
3443    pointers.
3446 2010-01-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3448  * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3449    src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3450    plugins/geanyfunctions.h, plugins/Makefile.am,
3451    plugins/pluginmacros.h, plugins/genapi.py, wscript:
3452    Use full function name for GeanyFunctions function pointers. This
3453    avoids naming conflicts e.g. with C++'s 'new' keyword.
3454    Remove deprecated header pluginmacros.h - use geanyfunctions.h
3455    instead.
3458 2010-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3460  * src/utils.c, src/utils.h, src/vte.c:
3461    Add utils_copy_environment() and make use of it.
3462  * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3463    src/editor.c, src/templates.c, src/templates.h:
3464    Add new special template wildcard "{command:...}" to use the
3465    output of a command in templates.
3466    Adjust template functions to mostly work with GeanyDocuments.
3467    Minor cleanups in the template code.
3468  * src/gb.c:
3469    Replace the old icons with smiley icons from the Rodent icon theme.
3470    Fix showing the same icon for two or more slots.
3471    Minor cleanups.
3472  * src/editor.c, src/editor.h, src/keybindings.c:
3473    Rename fold_symbol_click() to editor_toggle_fold().
3474    Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3475    was used to respect the 'Fold/unfold all children' preference
3476    (closes #2935053).
3479 2010-01-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3481  * src/build.c:
3482    Prevent possible segfault in get_build_group().
3483  * src/callbacks.c:
3484    Fix GLib warning & beep if trying to insert multiline comment for a
3485    filetype that doesn't support it.
3488 2010-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3490  * doc/plugins.dox:
3491    Add gcc commands to build a plugin to the HowTo.
3492  * src/search.c, src/document.c, src/document.h:
3493    Show 'Replaced X matches in Y documents' message when using
3494    Replace in Session.
3497 2010-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3499  * scripts/plugin_test.c:
3500    Add a little test program which can load and test Geany plugins to
3501    verify it is loadable at runtime and all necessary symbols are
3502    defined.
3503  * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3504    src/plugindata.h:
3505    Add new signal: "geany-startup-complete" which is sent once all
3506    initialization and startup tasks has been done.
3507  * README.I18N, configure.ac, wscript, po/LINGUAS:
3508    Remove po/LINGUAS from the repository.
3509    Generate it automatically if needed by reading available
3510    message catalogs from the po directory.
3511    Also respect the LINGUAS environment variable properly.
3514 2010-01-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3516  * src/editor.c:
3517    Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3518    plugin.
3521 2010-01-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3523  * src/editor.c, src/templates.c, src/templates.h:
3524    Refactor templates_replace_all() into templates_replace_valist()
3525    to save some code duplication.
3528 2010-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3530  * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3531    src/plugindata.h, src/plugins.c:
3532    Add editor_insert_text_block() to plugin API.
3535 2010-01-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3537  * *.*:
3538    Update copyright information.
3539  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3540    doc/geany.txt, doc/geany.html:
3541    Add keybinding to open the last closed tab (closes #2912692).
3544 2009-12-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3546  * autogen.sh, configure.in, configure.ac:
3547    Rename configure.in to configure.ac.
3548  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3549    src/sciwrappers.c:
3550    Add sci_find_text() to the plugin API.
3551  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3552    src/interface.c, src/prefs.c:
3553    Add a checkbox in the preferences dialog to explicitly toggle
3554    the visibility of the sidebar (closes #2923340).
3557 2009-12-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3559  * src/editor.c, src/plugins.c, src/plugindata.h,
3560    plugins/geanyfunctions.h:
3561    Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3562    editor_get_eol_char() to the plugin API.
3563  * src/callbacks.c, src/plugins.c, src/plugins.h:
3564    Fix sensitivity of the Edit->Plugin Preferences menu item
3565    if plugins are loaded which do not provide a configuration dialog.
3566  * scripts/create_py_tags.py:
3567    Rewrite and extend the Python tags parsing script to use
3568    Python's inspect module to read symbols from Python modules
3569    including scope information.
3570  * data/filetypes.restructuredtext:
3571    Add the default comment character sequence for reStructuredText.
3572  * src/callbacks.c:
3573    Show the Find/Goto dialogs if the corresponding toolbar buttons are
3574    clicked but their text fields are not part of the toolbar (#2920807).
3575  * data/filetypes.common, doc/geany.html, doc/geany.txt,
3576    src/highlighting.c:
3577    Add new style to change foreground and background colours for
3578    calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3579  * src/search.c:
3580    Remember the window position of the Find, Replace and Find in Files
3581    dialogs (closes #2877988).
3584 2009-12-26  Frank Lanitz  <frank@frank.uvena.de>
3586  * doc/plugins.dox:
3587    Fix a minor typo inside plugin API reference.
3590 2009-12-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3592  * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3593    Make dialogs_show_prompt() more flexible to take up to three
3594    button/response code pairs to be shown.
3595    Add a close button to the dialog when asking to Re-Save a
3596    deleted file
3597    (closes #2916954, based on a patch by Dominik Stadler, thanks).
3598  * src/editor.c:
3599    Fix LaTeX environment auto completion with CR/LF line endings.
3600    Add some sanity checks.
3601  * src/document.c:
3602    When closing a document after it was deleted from the filesystem,
3603    don't ask whether it should be saved first.
3604    Mark the document only as changed if it is not closed afterwards.
3605    Prevent possible segfaults if the document was closed when it is
3606    missing from the filesystem.
3607  * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3608    src/msgwindow.h, src/prefs.c:
3609    Add MessageWindow::scribble and use it instead of searching the
3610    widget pointer everytime.
3611  * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3612    Add preferences for hiding single tabs from the messages window
3613    (no GUI preferences yet, still to be implemented).
3614  * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3615    Set the correct parent window for the toolbar editor
3616    dialog (closes #2913334).
3617  * src/win32.c, src/win32.h, src/ui_utils.c:
3618    Rename win32_show_project_folder_dialog() to
3619    win32_show_folder_dialog() as it is not related and not used by any
3620    project management related code.
3621  * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3622    Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3623    as it is specialised for opening documents.
3624    Implement win32_show_file_dialog() as a generic file open dialog and
3625    use it with ui_path_box_new().
3628 2009-12-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3630  * src/editor.c:
3631    Extend auto_latex() function to check whether an environment has been
3632    closed within the next lines to avoid auto adding double \end{}.
3633  * data/latex.tags:
3634    Remove LaTeX tags from SVN. Can be found at
3635    http://download.geany.org/contrib/tags/ if needed.
3638 2009-12-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3640  * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3641    Add document_need_save_as().
3642    Show the Save As also for documents created from filetype templates
3643    instead of saving them directly with the untitled filename.
3646 2009-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3648  * geany.glade, src/interface.c:
3649    Move 'Send Selection to Terminal' menu item from Format to Commands
3650    submenu.
3651  * src/msgwindow.c:
3652    When going to a build error, try the current document's path if
3653    the parsed filename doesn't exist. (This can happen when we receive
3654    build messages in the wrong order - after the 'Leaving directory'
3655    messages).
3656  * src/msgwindow.c:
3657    Refactor msgwin_goto_compiler_file_line().
3658  * src/interface.c, src/keybindings.c, geany.glade:
3659    Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3660    item labels.
3661  * src/search.c:
3662    Refactor/reformat on_replace_dialog_response().
3665 2009-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3667  * geany.spec.in:
3668    Improve geany.spec (split the package into a binary and devel
3669    package, update BuildRequires and other minor improvements).
3670    Patch by Dominic Hopf, thanks.
3673 2009-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3675  * src/filetypes.c, src/filetypes.h:
3676    Make group for custom filetypes.
3677  * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3678    Add custom filetype Genie.
3681 2009-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3683  * src/highlighting.c:
3684    Highlight D & Java types from a global tags file.
3685  * src/highlighting.c, doc/geany.txt, doc/geany.html:
3686    Add debug message warning if recursive lexer_filetype is set.
3687  * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3688    Remove duplicate sci_set_keywords(), make argument const.
3689  * src/highlighting.c:
3690    Only show debug message once if recursive lexer_filetype is set.
3691    Tidy highlighting_init_styles code for filetype None handling.
3692  * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3693    scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3694    src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3695    tagmanager/parsers.h, tagmanager/makefile.win32,
3696    tagmanager/verilog.c, tagmanager/Makefile.am,
3697    data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3698    Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3699  * src/highlighting.c:
3700    Fix segfault on startup (oops).
3701  * data/filetypes.verilog:
3702    Fix using common style colours for Verilog.
3705 2009-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3707  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3708    data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3709    Move C-like filetype properties into configuration files.
3710  * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3711    data/filetypes.c:
3712    Remove now unnecessary "styling_within_preprocessor" C style key.
3713  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3714    data/filetypes.glsl, data/filetypes.cs:
3715    Use lexer_filetype=C configuration file key instead of duplicate
3716    styleset functions for C++, C#, GLSL, Vala.
3719 2009-12-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3721  * doc/geany.txt, doc/geany.html:
3722    Warn about not using BOM for configuration files (confuses GKeyFile
3723    parser, at least on my system).
3724  * src/filetypes.c:
3725    Add/improve debug messages for custom filetypes.
3728 2009-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3730  * data/latex.tags:
3731    Add a couple of further latex-beamer commands to list of LaTeX tags.
3734 2009-11-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3736  * plugins/filebrowser.c:
3737    Add an in-entry clear icon to the filebrowser plugin's filter
3738    entry (patch by Dominic Hopf, thanks).
3739  * src/prefs.c, src/ui_utils.c:
3740    Fix two compiler warnings about possibly uninitialised variables.
3743 2009-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3745  * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3746    plugins/geanyfunctions.h:
3747    Add main_is_realized() to the plugin API.
3748  * tagmanager/include/tm_tagmanager.h:
3749    Update partly outdated and wrong doc comment.
3750  * src/main.c, src/main.h, src/socket.c:
3751    Allow opening Geany projects remotely.
3752  * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3753    Add a hidden pref to allow executing text which was sent to the
3754    terminal directly, i.e. do not strip trailing newline characters.
3755    Also fix the stripping of trailing newline characters if there was
3756    more than one.
3759 2009-11-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3761  * src/about.c, THANKS:
3762    Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3763    Kurt de Bree into section of previous translators.
3766 2009-11-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3768  * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3769    Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3770    thanks).
3773 2009-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3775  * src/highlighting.c:
3776    Make stylesets take a ft_id argument so they can be reused fully with
3777    custom filetypes, so custom styles and keywords can be set.
3778  * src/highlighting.c:
3779    Fix setting filetype properties when both the system and the user
3780    file have properties set.
3781  * src/symbols.c, tagmanager/vhdl.c:
3782    Parse VHDL signals.
3783  * src/highlighting.c:
3784    Fix lexer settings for custom filetypes.
3787 2009-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3789  * tagmanager/php.c:
3790    Remove duplicate regular expression for parsing classes.
3791    Fix and improve parsing of constants (patch by Harold Aling, thanks).
3792  * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3793    src/main.h, THANKS, src/about.c:
3794    Add new command line option "--socket-file" to be able to specify
3795    separate socket filenames for instances
3796    (closes #2896027, patch by Jörn Reder, thanks).
3797  * src/keybindings.c, src/keybindings.h:
3798    Add keybindings_check_event() to manually check GdkKeyEvents against
3799    Geany's keybindings.
3800  * src/callbacks.c, src/utils.c, src/utils.h:
3801    Add and use utils_get_help_url().
3802  * geany.glade, src/interface.c, src/prefs.c:
3803    Add a Help button to the preferences dialog.
3804    Handle Help keybinding events for the preferences dialog especially
3805    and open the manual with the corresponding anchor link to the current
3806    preferences page (same goes for the new Help button).
3809 2009-11-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3811  * src/toolbar.c, src/geanymenubuttonaction.c,
3812    src/geanymenubuttonaction.h:
3813    Use separate tooltips for toolbar menu buttons and their attached
3814    drop-down arrows.
3815  * tagmanager/latex.c:
3816    Improve parsing of sections and chapters by ignoring shortnames
3817    like \section[shortname]{label} (closes #2890477).
3820 2009-11-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3822  * src/geanymenubuttonaction.c:
3823    Try to fix Gtk warning when using Tools->Reload Configuration.
3826 2009-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3828  * src/highlighting.c, doc/geany.txt, doc/geany.html,
3829    data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3830    data/filetypes.pascal, data/filetypes.docbook,
3831    data/filetypes.python, data/filetypes.conf:
3832    Use filetypes.foo [lexer_properties] group instead of hardcoding
3833    lexer properties (more flexible e.g. for custom filetypes).
3834  * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3835    Replace filetypes.xml html_asp_default_language key with
3836    filetypes.html asp.default.language property in [lexer_properties]
3837    group.
3840 2009-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3842  * doc/geany.txt, doc/geany.html:
3843    Fix slightly wrong description of how to insert Unicode characters.
3844  * src/ui_utils.c:
3845    Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3846    ui_setup_open_button_callback().
3847  * src/prefs.c, src/prefs.c, src/vte.c:
3848    Refactor color and font button callback functions in the
3849    preferences dialog. Move the VTE related callback functions
3850    into vte.c.
3851    Make use of ui_setup_open_button_callback().
3852  * src/printing.c:
3853    Improve printing status texts (patch by Dominic Hopf, thanks).
3854  * src/prefs.c, src/vte.c:
3855    Use the default dialog title set by ui_setup_open_button_callback()
3856    to be more consistent and to save one string.
3859 2009-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3861  * tagmanager/c.c:
3862    Separate DKinds from CKinds.
3863    Don't generate macro tags for D, Java.
3866 2009-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3868  * tagmanager/ctags.c, tagmanager/general.h:
3869    Make TagManager Assert statements cause g_warning on failure.
3870  * src/keybindings.c:
3871    Fix reflow paragraph command when cursor < anchor using
3872    sci_fix_selection().
3875 2009-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3877  * tagmanager/perl.c:
3878    Fix Geany segfault with constant tags (#2895168).
3879  * src/symbols.c:
3880    Fix invalid tree iter access when using tv_iters.tag_other but not
3881    using tv_iters.tag_variable.
3882  * HACKING, tagmanager/perl.c:
3883    Fix parsing Perl format statements ("other" type doesn't seem
3884    to work).
3885  * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3886    Fix using "other" tag type.
3889 2009-11-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3891  * src/vte.c:
3892    Remove useless comment about applying settings only when libvte.so
3893    could be loaded which is only displayed *if* libvte.so is loaded.
3894  * src/editor.c:
3895    Allow autocompletion for HTML entities even within a word.
3896  * src/geanymenubuttonaction.c:
3897    Only set the menu of the button if a non-empty GtkMenu is passed to
3898    geany_menu_button_action_set_menu() so the menu arrow keeps
3899    insensitive.
3902 2009-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3904  * tagmanager/c.c:
3905    Fix parsing some Java code (e.g. filetypes.java) after r4407.
3908 2009-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3910  * tagmanager/c.c:
3911    Parse D functions with contracts (fixes #1885480).
3912    Parse D alias statement like typedef.
3913    (Ignore some more D keywords).
3914  * tagmanager/c.c:
3915    Fix creating D interface tags properly.
3916  * tagmanager/c.c:
3917    Parse contents of D extern{} and version{} blocks.
3920 2009-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3922  * src/main.c:
3923    Remove old code.
3926 2009-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3928  * src/plugindata.h, HACKING:
3929    Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
3930    instead.
3931  * src/callbacks.c:
3932    Show number of files saved on status bar when using Save All.
3933  * src/highlighting.c:
3934    Use default color scheme if pref color scheme file doesn't exist.
3935  * src/keybindings.c:
3936    Fix moving correct lines after selecting whole line(s).
3939 2009-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3941  * tagmanager/makefile.win32:
3942    Fix broken build on Windows because of a typo
3943    (patch by Timothy Boronczyk, thanks).
3946 2009-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3948  * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
3949    src/editor.h:
3950    Add 'View->Editor->Color Schemes' menu, for now only shown if color
3951    scheme files exist in a colorschemes config directory. Color scheme
3952    files must end in ".conf" and currently only the [named_styles]
3953    section is read.
3954  * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
3955    Add utils_get_config_files().
3956  * src/highlighting.c:
3957    Fix issue with default color not being reset if overridden with a
3958    system default color.
3959  * src/highlighting.c:
3960    Only reload filetype files when changing color scheme, not all
3961    configuration files.
3962  * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
3963    Deprecate documents_foreach() as it looks more like a function; use
3964    foreach_document() instead.
3965    Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
3968 2009-10-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3970  * src/stash.c, src/stash.h:
3971    Use typedef instead of pointer for widget_id function arguments.
3974 2009-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3976  * src/pluginutils.c:
3977    Don't expand Plugin Preferences page spacing vertically to fill the
3978    height of the dialog.
3979  * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
3980    geany.glade, plugins/splitwindow.c:
3981    Allow GeanyKeyBinding label field to contain underscores, which won't
3982    be displayed by Geany. This saves adding near-duplicate translation
3983    strings.
3984    Add mnemonics for 3 Edit->Format menu items.
3985    Add keybindings_get_label().
3986  * src/interface.c, geany.glade:
3987    Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
3988    dialog.
3991 2009-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3993  * src/ui_utils.c:
3994    Desensitize Edit->Commands menu item when no docs are open.
3995  * src/interface.c, src/keybindings.c, src/callbacks.c,
3996    src/callbacks.h, geany.glade:
3997    Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
3998  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3999    Add general function sci_get_string() that works with any string
4000    buffer messages that follow the Windows message convention.
4001  * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4002    src/keybindings.h, src/callbacks.c, src/callbacks.h,
4003    src/pluginutils.c, src/pluginutils.h, geany.glade:
4004    Add 'Edit->Plugin Preferences' menu item and keybinding.
4005    Don't include plugindata.h in pluginutils.h because it redefines the
4006    GEANY() macro for plugin use.
4007  * doc/geany.txt, doc/geany.html:
4008    Update for Plugin Preferences keybinding.
4011 2009-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4013  * src/editor.c:
4014    Sort document word completion list.
4015  * src/interface.c, src/keybindings.c, src/callbacks.c,
4016    src/callbacks.h, geany.glade:
4017    Add some useful commands to editor popup menu under "Commands"
4018    submenu (thanks to Lex).
4019    Move 'Duplicate line or selection' from Format -> Commands submenu.
4020  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4021    Enable switching the sidebar to the right on Windows again, as it
4022    apparently works after all.
4023  * src/editor.c:
4024    Fix using tab to autocomplete in some other situations that word part
4025    completion doesn't apply in.
4026  * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4027    Add Edit->Commands submenu which is shared with the editor popup
4028    menu.
4029  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4030    Change editor popup Commands submenu to start as child of menubar
4031    Edit menu, as this is more usual e.g. for keybindings initialization.
4032  * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4033    geany.glade:
4034    Share a single Format submenu for menubar Edit and popup menu.
4037 2009-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4039  * src/build.c:
4040    Fix a compiler warning about an uninitialised variable.
4041  * wscript:
4042    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4043    sciwrappers.h, build.h (for the Waf build system,
4044    accordingly to r4366).
4047 2009-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4049  * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4050    src/toolbar.c, src/toolbar.h:
4051    Add missing dox for types/files in the API.
4052  * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4053    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4054    sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4055    of functions not in the API).
4056    Warning: any plugins that include these headers should remove them.
4057  * src/build.c, src/build.h:
4058    Move function doc-comments to build.c so they stay in sync. Note:
4059    these functions are still not in the API.
4060  * HACKING:
4061    Add 'Doc-comments' plugin API subsection.
4062  * plugins/filebrowser.c:
4063    Fix packing configure widgets equally.
4064    Use spacing multiples of 6 as recommended by Gnome HIG.
4065  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4066    Disable switching the sidebar to the right on Windows as it will
4067    probably fail like the Split Window plugin.
4068  * src/document.c:
4069    Improve 'Detect from file' indentation pref by ignoring lines with
4070    indentation wider than 24 characters as this is more likely to be
4071    alignment than indentation.
4074 2009-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4076  * plugins/saveactions.c:
4077    Fix adding the filetype's default extension when using the
4078    Instant Save plugin (closes #2885142).
4079  * src/main.c:
4080    Before looking for line and column numbers specified as part
4081    of a filename, ensure the file doesn't exist on disk. This allows
4082    opening of files like "test:0".
4083  * src/sidebar.c:
4084    Rename "select" variables into "selection" to avoid shadowed names.
4085  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4086    Add ui_widget_modify_font_from_string() and sci_goto_line()
4087    to the plugin API.
4088  * plugins/filebrowser.c:
4089    Rename "select" variables into "selection" to avoid shadowed names.
4090    Make use of ui_widget_modify_font_from_string().
4093 2009-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4095  * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4096    src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4097    geany.glade:
4098    Add sidebar position interface pref.
4101 2009-10-23  Lex Trotman  <elextr.at.gmail.dot.com>
4103  * doc/geany.txt, doc/geany.html:
4104    Add missing underscores to links.
4107 2009-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4109  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4110    Add 'Move line(s) up/down' keybindings.
4113 2009-10-22  Lex Trotman  <elextr.at.gmail.dot.com>
4115  * src/build.c, src/build.h, src/filetypes.h:
4116    Include code for project filetype execute commands and fix bug in
4117    saving project filetypes list.
4118  * src/project.c, src/build.c, doc/geany.txt:
4119    Make non-project execute configuration save to filetypes not
4120    geany.conf.
4121    Fix closing of project failing to remove build commands dialog entry.
4124 2009-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4126  * src/project.c, src/ui_utils.c:
4127    Set border width for project properties build table.
4128  * geany.glade, src/interface.c:
4129    Don't expand hard tab width alignment.
4132 2009-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4134  * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4135    doc/geany.txt, doc/geany.html:
4136    Support loading global tags files for custom filetypes.
4137  * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4138    doc/geany.txt, doc/geany.html:
4139    Add 'Word part completion' keybinding so keys other than Tab can be
4140    used, or to clear/change the combination so Tab does full completion
4141    like before.
4142  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4143    Add 'Select to previous/next word part' keybindings.
4144  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4145    Add 'Switch to Messages' focus keybinding.
4148 2009-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4150  * doc/geany.txt, doc/geany.html:
4151    Add 'Custom filetypes' section.
4152  * src/filetypes.c, src/filetypes.h, src/document.c,
4153    doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4154    tagmanager/include/tm_source_file.h:
4155    Add filetype "tag_parser" key so custom filetypes can use an existing
4156    tag parser.
4157    Add tm_source_file_get_named_lang().
4158  * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4159    doc/geany.html:
4160    Add filetype "lexer_filetype" key so custom filetypes can use an
4161    existing lexer.
4164 2009-10-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4166  * THANKS, src/about.c:
4167    Add Xhacker Liu for his work at zh_CN translation to long list of
4168    translators.
4171 2009-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4173  * src/sciwrappers.c:
4174    Remove unnecessary line number margin padding.
4175  * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4176    scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4177    src/editor.c:
4178    Improve word part autocompletion so AC list is not cancelled and
4179    reshown (this also stops the selection changing).
4180    Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4181  * src/editor.c:
4182    Improve CamelCase word part autocompletion for runs of capital
4183    letters.
4184  * src/editor.c:
4185    Don't complete snippets if there's a selection.
4188 2009-10-16  Lex Trotman  <elextr(at)gmail(dot)com>
4190  * src/build.c:
4191    Fix crash opening project when Geany started with no geany.conf.
4194 2009-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4196  * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4197    src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4198    doc/geany.html:
4199    Add word part autocompletion for the current selected item when
4200    pressing Tab - Enter still completes normally.
4201    Add foreach_str() API macro.
4202    Temporarily modify scintilla to say if tab was used for
4203    autocompletion.
4204  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4205    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4206    plugins/classbuilder.c:
4207    Revert r4301 - utils_free_pointers() taking 4 arguments.
4208  * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4209    src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4210    plugins/splitwindow.c:
4211    Add highlighting_set_styles() to API, use for Split Window plugin so
4212    filetypes.common settings get set too.
4213    Make highlighting_set_styles() take GeanyFiletype pointer instead of
4214    filetype id.
4215  * src/document.c, src/editor.c, plugins/splitwindow.c:
4216    Call editor_apply_update_prefs() from editor_create_widget() so
4217    correct tab width and other settings are applied for Split Window
4218    plugin.
4221 2009-10-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4223  * src/keybindings.c:
4224    Don't include trailing newlines when using reflow command.
4225  * src/notebook.c:
4226    Add stock close buttons to notebook tab popup menu.
4227  * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4228    plugins/geanyfunctions.h:
4229    Add document_get_notebook_page() to API.
4230    Minor edits of dox.
4231  * data/templates/files/file.html, data/templates/files/file.php:
4232    Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4233  * src/interface.c, src/ui_utils.c, geany.glade:
4234    Move Tools configuration items to top of menu.
4235  * src/keybindings.c, src/search.c:
4236    Fix warning when using Find in Files with no documents open; make
4237    keybinding work in this case.
4240 2009-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4242  * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4243    src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4244    Make Split Window 'Show current document' button have a drop-down
4245    menu to select the other documents.
4246    Add new API function ui_menu_add_document_items().
4249 2009-10-13  Lex Trotman  <elextr(at)gmail(dot)com>
4251  * src/build.c:
4252    Fix sensitivity settings for compile and build toolbar items.
4255 2009-10-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4257  * src/templates.c:
4258    Don't use filetype submenus for templates (slower to navigate, often
4259    only 1 per-filetype anyway).
4260  * src/templates.c:
4261    Put old filetype template menu items in 'Old' submenu as they should
4262    be removed after the 0.19 release.
4263  * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4264    Add GeanyKeyGroup callback support, which allow keybinding callbacks
4265    to be ignored if inappropriate so a later keybinding with the same
4266    key combination can intercept it. (Also group callbacks are usually
4267    tidier than separate callbacks).
4268    Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4269  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4270    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4271    plugins/classbuilder.c:
4272    Make utils_free_pointers() take 4 arguments, add to API.
4273  * src/templates.c, src/tools.c, src/ui_utils.c:
4274    Fix memory leaks with gtk_container_get_children().
4277 2009-10-12  Lex Trotman  <elextr(at)gmail(dot)com>
4279  * src/build.c:
4280    Ensure that old style build config is not loaded if it does
4281    not exist.
4284 2009-10-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4286  * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4287    Added Galician translation.
4288    Thanks to José Manuel Castroagudín Silva.
4291 2009-10-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4293  * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4294    src/interface.c:
4295    Apply set default encoding for existing files only if the files are
4296    non-Unicode (patch by Alexey Antipov, thanks).
4299 2009-10-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4301  * src/highlighting.c:
4302    Move new_styleset() and preprocessor setup code into
4303    styleset_c_like().
4304  * src/highlighting.c:
4305    Call apply_filetype_properties() from styleset_c_like().
4308 2009-10-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4310  * doc/geany.txt, doc/geany.html:
4311    Improve information about predefined keybindings which are
4312    commonly used across applications (patch by Lex Trotman, thanks).
4313  * src/printing.c:
4314    Enable embedded page setup properties in the (Unix) Print dialog
4315    on newer GTK versions (closes #2870596).
4316  * src/highlighting.c:
4317    Map global types (read from tags files) to keyword style for
4318    filetype Java.
4321 2009-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4323  * src/templates.c:
4324    Fix wrong creation of filetype template menu items for custom
4325    filetypes.
4326  * src/highlighting.c:
4327    Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4328  * src/templates.c:
4329    Group 'New with template' items by filetype submenu (currently only
4330    for toolbar menu).
4331    Show custom file template items before filetype template items.
4332  * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4333    geany.glade:
4334    Only use one 'New with template' submenu - reparent as needed.
4335  * src/templates.c:
4336    Don't create templates/filetype.none either.
4337  * src/templates.c:
4338    Warn if custom template file no longer exists.
4341 2009-09-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4343  * src/symbols.c:
4344    Add missing icon for Java packages in the Symbol List.
4347 2009-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4349  * src/highlighting.c, data/filetypes.vala:
4350    Add Vala keywords to conf file.
4351  * src/templates.c, doc/geany.txt, doc/geany.html:
4352    Read custom file templates from $prefix/share/geany/templates/files
4353    as well as user dir.
4354  * src/templates.c, data/templates, data/templates/files,
4355    data/templates/files/file.rb, data/templates/files/file.html,
4356    data/templates/files/main.java, data/templates/files/main.c,
4357    data/templates/files/main.cxx, data/templates/files/file.php,
4358    data/templates/files/main.d, data/templates/files/program.pas,
4359    data/templates/files/main.py, data/templates/files/file.tex,
4360    wscript, Makefile.am:
4361    Move filetype template defaults into custom file template files.
4364 2009-09-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4366  * src/symbols.c, tagmanager/perl.c:
4367    Change Perl tag parser to ctags SVN r601. This removes support for
4368    buggy local/my/our but it parses constant/format/labels and should
4369    be less buggy overall (closes #2861232).
4370  * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4371    Add utils_get_file_list_full() which can optionally sort or include
4372    a full path for each list item.
4373  * src/utils.c, src/plugindata.h, src/plugins.c:
4374    Add utils_get_file_list_full() to API.
4377 2009-09-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4379  * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4380    src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4381    src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4382    src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4383    po/POTFILES.in, wscript:
4384    Rename treeviews.[hc] -> sidebar.[hc].
4385  * data/filetypes.common:
4386    Remove unused [styling] arguments.
4387  * src/highlighting.c, data/filetypes.markdown,
4388    data/filetypes.restructuredtext:
4389    Remove style defaults from the code - just read them from
4390    configuration files.
4391  * src/highlighting.c, HACKING:
4392    Add apply_style_entries() to simplify implementing styleset_foo().
4393  * src/highlighting.c:
4394    Remove filetype keyword defaults from the code - just read them from
4395    configuration files.
4396  * src/highlighting.c:
4397    Add sci_set_keywords() wrapper.
4400 2009-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4402  * scripts/create_py_tags.py:
4403    Make the code a bit more pythonic.
4404  * doc/images/build_menu_commands_dialog.png,
4405    doc/images/main_window.png:
4406    Add new images referenced in the documentation.
4407  * doc/geany.html, doc/geany.txt:
4408    Several documentation improvements (patch by Lex Trotman, thanks).
4409  * src/pluginutils.c:
4410    Fix setting the appropriate page of the combined plugins
4411    preferences dialog.
4414 2009-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4416  * src/keybindings.c:
4417    Only focus toolbar goto line entry when pressing keybinding if it's
4418    visible (patch by Eugene Arshinov, thanks).
4419  * src/callbacks.c:
4420    Focus editor after entering a number in the goto line toolbar entry.
4421  * configure.in:
4422    Use AC_PATH_PROG instead of which for portability (patch by Erik
4423    Southworth, thanks).
4424  * src/plugins.c:
4425    Show plugins that only implement plugin_configure_single() in the
4426    multiple-configure dialog as a page with a configure button on it.
4427    Add padding for multiple-configure dialog.
4428    Make the multiple-configure dialog notebook tabs scrollable.
4429  * src/pluginutils.c, src/pluginutils.h:
4430    Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4431  * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4432    src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4433    plugins/geanyfunctions.h, plugins/filebrowser.c:
4434    Add plugin_show_configure() API utility function.
4435    Add File Browser popup menu 'Preferences' item.
4436  * src/highlighting.c:
4437    Add get_keyfile_ints() instead of using tmp_style hack.
4438  * src/highlighting.c, data/filetypes.xml:
4439    Change new html_asp_default_language markup pref to use integer,
4440    not hex in config file.
4441    Fix minor issue with changing pref back to 0.
4442  * src/highlighting.c:
4443    Fix possible segfault in get_keyfile_int() if key value is malformed.
4446 2009-09-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4448  * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4449    Add "html_asp_default_language" pseudo style to filetypes.xml
4450    to allow setting the used language in embedded ASP code
4451    (patch by Ross McKay, thanks).
4452  * src/filetypes.xml:
4453    Update VBScript keywords (patch by Ross McKay, thanks).
4456 2009-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4458  * src/keybindings.c, THANKS:
4459    Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4460    keybinding use line breaking column when enabled.
4461  * src/document.c:
4462    Fix showing the document before reload dialog when opening an
4463    already-open file.
4464  * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4465    Add plugin_configure_single() plugin symbol which is easier to
4466    implement than plugin_configure() but won't support a
4467    multiple-plugin configure dialog.
4468  * src/plugins.c:
4469    Show multiple plugins in the 'Configure Plugins' dialog.
4472 2009-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4474  * doc/geany.txt, doc/geany.html:
4475    Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4476    Minor edits.
4477  * doc/geany.txt, doc/geany.html:
4478    Add 'Toolbar entries' section.
4479  * doc/geany.txt, doc/geany.html:
4480    Update 'Go to line' keybinding description.
4481  * doc/geany.txt, doc/geany.html:
4482    Split keybinding table into group tables; update KB links.
4485 2009-09-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4487  * src/build.c:
4488    Fix compiler warnings about uninitialised variables.
4489  * src/callbacks.c, src/document.c:
4490    When reloading files, use the previously set encoding instead of
4491    detecting it again (closes #2862041).
4492  * configure.in:
4493    Turn on automake silent rules if supported.
4496 2009-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4498  * src/utils.c:
4499    Speed up sorting in utils_get_file_list(). This reduces the file
4500    browser delay on displaying a big directory, e.g. /usr/bin.
4501  * src/build.c:
4502    Expand command entry width when expanding Build Commands dialog.
4503  * src/build.c:
4504    Split Build Commands dialog notes label and edit text.
4505  * src/build.c:
4506    Add padding for Build Commands dialog separators.
4507    Add colons for regex field labels; fix 1 capitalisation.
4508  * src/build.c:
4509    Fix none filetype Build Commands dialog label.
4510    Make group labels bold.
4511  * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4512    src/ui_utils.c:
4513    Add & use ui_label_set_markup(), ui_label_new_bold().
4514  * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4515    src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4516    src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4517    Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4518  * src/keybindings.c:
4519    Make 'Go to Line' keybinding focus the toolbar entry if visible.
4522 2009-09-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4524  * src/filetypes.c, src/filetypes.h, src/symbols.c,
4525    tagmanager/parsers.h, tagmanager/makefile.win32,
4526    tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4527    data/filetype_extensions.conf, wscript:
4528    Add new filetype: Abc (patch by Eric Forgeot, thanks).
4529  * tagmanager/php.c:
4530    Merge recent changes from the CTags project to further improve
4531    PHP symbol parsing.
4534 2009-09-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4536  * src/printing.c:
4537    Fix wrong alignment of printed pages when page headers are
4538    disabled (closes #2856822).
4539    Plug a small memory leak and improve function signature of
4540    add_page_header().
4541  * src/keyfile.c:
4542    Save an if expression.
4543  * src/ui_utils.c:
4544    After clearing a text field using the embedded clear icon, put the
4545    input focus into this text field.
4548 2009-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4550  * plugins/filebrowser.c:
4551    Free file list memory whilst iterating the list.
4552    Minor formatting fixes.
4553  * src/utils.c, src/utils.h:
4554    Add foreach_dir() API macro.
4555    Update API docs for utils_get_file_list().
4556  * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4557    po/POTFILES.in:
4558    Remove queue.[hc] - use GQueue instead of GeanyQueue.
4559    Beep if there are no more snippet positions.
4560    Limit length of snippet positions queue to 20.
4563 2009-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4565  * src/keybindings.c, src/callbacks.c, src/search.c:
4566    Make Goto Tag commands use the current selection if present (useful
4567    for selecting part of a tag or for ReST section names with spaces
4568    in).
4569  * src/document.c:
4570    Don't move the cursor when reloading.
4571  * src/plugindata.h, src/editor.c, src/editor.h:
4572    Make editor_prefs.snippets hash table private (not a pref).
4575 2009-09-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4577  * src/main.c:
4578    Remove deprecated --debug flag. Please use --verbose/-v instead.
4581 2009-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4583  * src/search.c:
4584    Show Find in Files stderr output in messages window instead of
4585    debug window so that invalid regex messages can be seen easily.
4586    Combine FIF stdout and stderr callback code.
4589 2009-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4591  * src/utils.c:
4592    Fix opening filenames beginning with two dots (closes #2858487).
4593  * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4594    src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4595    data/filetypes.common, geany.glade:
4596    Update syntax highlighting after changing the 'Invert syntax
4597    highlighting colors' pref, instead of requiring a restart.
4598    Remove filetypes.common invert_all option - use 'Invert syntax
4599    highlighting colors' pref instead (closes #2854525).
4600  * src/prefs.c, src/dialogs.c, src/dialogs.h:
4601    Add 'Allow' button when showing the conflicting keybinding dialog.
4602    Make dialogs_show_question_full() use GTK dialog on Windows if
4603    button text is not the stock yes/no items.
4604    Add dialogs_show_prompt() which also has an 'Apply' button.
4605  * src/queue.c, src/queue.h:
4606    Add warning that GeanyQueue may be removed.
4607  * src/keybindings.c, src/editor.c, src/editor.h:
4608    Change snippet_goto_next_cursor() to
4609    editor_goto_next_snippet_cursor() as it's in editor.h.
4610    Avoid using GPOINTER_TO_INT macro.
4613 2009-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4615  * src/keybindings.c:
4616    Fix 'Reflow block' command when at the last paragraph and there's
4617    no last newline (patch by Eugene Arshinov, thanks).
4618  * HACKING:
4619    Add 'Compiler options & warnings' section.
4620    Update Style section to be clearer about code alignment and show
4621    some example code.
4622    Other minor edits.
4625 2009-09-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4627  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4628    src/plugindata.h, src/plugins.c, src/editor.c,
4629    plugins/geanyfunctions.h:
4630    Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4631    sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4632    Siamashka).
4633    Add sci_toggle_marker_at_line().
4634    Fix SciFuncs alignment.
4637 2009-09-11  Lex Trotman  <elextr(at)gmail(dot)com>
4639  * src/build.c:
4640    Fix erroneous free of returned string in prepare_run_script.
4643 2009-09-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4645  * data/filetypes.latex:
4646    Changing default value for showing pdf and dvi to ensure to take
4647    *.pdf and *.dvi file.
4650 2009-09-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4652  * src/about.c, THANKS:
4653    Change language string for Slovenian translation.
4656 2009-09-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4658  * tagmanager/txt2tags.c:
4659    Fix multi-byte character constant comparison.
4660  * src/treeviews.c:
4661    Fix Gtk warning when trying to update documents popup menu item
4662    sensitivity before they exist.
4665 2009-09-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4667  * src/plugins.c:
4668    Improve the opening string in the plugin manager dialog.
4669  * doc/geany.css:
4670    Use "max-width" to set the document width of the generated
4671    HTML documentation to let the text be auto-wrapped.
4672  * src/prefs.c, src/tagmanager/include/guregex.h,
4673    src/tagmanager/include/tm_tagmanager.h:
4674    Remove trailing spaces (patch by André Hentschel, thanks).
4675  * src/treeviews.c:
4676    Fix a compiler warning.
4677  * src/document.c:
4678    Fix crash when opening documents.
4679  * src/build.c, src/build.h, src/project.c:
4680    Adjust coding style (no code changes).
4681  * src/build.c, src/project.c:
4682    Use NZV() macro instead of strlen() to check for empty strings.
4683    Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4684  * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4685    src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4686    src/plugins.c, THANKS:
4687    Add new plugin signal: "document-before-save".
4688    Add get_line_end_position(), set_target_start(), set_target_end(),
4689    replace_target() to the plugin API
4690    (patch by Eugene Arshinov, thanks).
4691    Add new plugin signal: "document-filetype-set" (closes #2852286).
4692  * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4693    src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4694    tagmanager/Makefile.am, tagmanager/makefile.win32,
4695    tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4696    wscript, THANKS:
4697    Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4700 2009-09-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4702  * src/treeviews.c, src/document.c:
4703    Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4704    Use gtk_notebook_set_current_page() instead of
4705    document_open_file_full() when choosing an item from the documents
4706    list.
4707    Avoid using goto in document_open_file_full().
4710 2009-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4712  * src/treeviews.c, src/document.c, src/document.h, THANKS:
4713    Enable type-ahead find for sidebar symbols and documents tabs
4714    (patch by Thomas Martitz, thanks).
4715  * src/build.c:
4716    Fix 2 free's of possibly uninitialized pointers.
4719 2009-09-03  Lex Trotman  <elextr(at)gmail(dot)com>
4721  * src/build.c, src/filetypes.h, src/filetypes.c:
4722    Only write filetype config files when build command or regex is
4723    actually changed.  Removed commented code in src/filetypes.c.
4724  * src/build.c:
4725    Ensure uses of filename are protected against nulls when running
4726    a build command and give status message if not.
4729 2009-09-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4731  * src/plugins.c:
4732    Remove plugin from plugin manager dialog on unloading if it no
4733    longer exists or is incompatible.
4736 2009-08-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4738  * src/plugins.c:
4739    Add warning if only one of the plugin_key_group[_info] symbols is
4740    defined for a plugin.
4741  * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4742    src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4743    TODO:
4744    Merge custom-filetypes branch:
4745    Support adding custom filetype files e.g. filetypes.Foo.conf.
4746  - Code:
4747    Allow GeanyFiletype::extension to be NULL.
4748    Add note about using GeanyFiletype pointer instead of filetype_id
4749    for filetypes.c function arguments.
4750    Replace styleset_none() with styleset_default().
4753 2009-08-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4755  * src/prefs.c:
4756    Show the sidebar if either the documents or the symbols list are
4757    enabled (related to #1876107).
4760 2009-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4762  * src/build.c, src/filetypes.c:
4763    Fix compiler warnings.
4764  * src/utils.c:
4765    Fix removing leading double slashes in filenames which are used for
4766    network resources on Windows (closes #2844085).
4769 2009-08-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4771  * src/keybindings.c:
4772    Fix Make keybindings (patch by Lex Trotman, thanks).
4773  * src/geany.h:
4774    Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4775  * doc/plugins.dox:
4776    Mention Files link at top for header files; demoplugin.c.
4777    Minor edits; remove 'far from being complete'.
4778  * src/keyfile.c, src/keyfile.h, src/main.c,
4779    data/filetype_extensions.conf, HACKING:
4780    Remove --generate-data-files argument & code - just edit
4781    filetype_extensions.conf by hand (filetype order was broken
4782    anyway).
4783    Add *.H extension for C++ (useful for non-Windows systems).
4786 2009-08-27  Lex Trotman  <elextr(at)gmail(dot)com>
4788  * src/build.c:
4789    Fix implementation of loading old project files with base
4790    directories. Use project_make_base_path instead of re-
4791    implementing.  Now depends on project.c reading base dir
4792    prior to calling load_build_menu.
4793  * src/build.c:
4794    Change usage of project base directory to conform with
4795    previous documented behavior when loading old project files.
4796  * src/build.c:
4797    Change make custom and make object to ignore make in base path
4798    when reading old project file settings.  Changed some indent
4799    spaces to tabs. Fix missing compile menu accelerator.
4802 2009-08-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4804  * doc/plugins.dox:
4805    Add warning about not using undocumented features.
4806    Add reference to HACKING for plugin API development.
4807  * HACKING:
4808    Add section 'Plugin API/ABI design'.
4809  * src/keybindings.h, src/makefile.win32, src/project.h,
4810    src/filetypes.h, src/Makefile.am, wscript:
4811    Use GEANY_PRIVATE to hide some fields from plugins.
4812  * src/build.c:
4813    Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4814  * src/build.c, src/build.h, src/project.c:
4815    Use build_ prefix for 3 functions in build.h; add a static modifier.
4818 2009-08-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4820  * tagmanager/php.c:
4821    Improve parsing of PHP functions by requiring a valid modifier or
4822    whitespace before the 'function' keyword to ignore some false
4823    positives like function tags inside comments
4824    (patch by Harold Aling, thanks).
4825  * tagmanager/python.c:
4826    Don't parse comments after import statements and other tags
4827    (closes #2838938, patch by Huandari Lopez, thanks).
4830 2009-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4832  * data/filetypes.markdown:
4833    Add filetypes.markdown for configuration (thanks to Jon Strait).
4834  * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4835    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4836    plugins/geanyfunctions.h:
4837    Remove GeanyKeyGroup struct from the API - plugins should not set
4838    these fields.
4839    Make keybindings_set_item() duplicate the name and label fields
4840    (needed by GeanyLua) and return a keybinding pointer.
4841    Add keybindings_get_item() to the API (in case it's useful).
4842    Move some keybinding code out of plugin source files.
4845 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4847  * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4848    Don't generate build.h API docs until everything is approved and
4849    functions are actually in geany_functions.
4850    Move new GeanyFiletype and GeanyProject field(s) to end of struct
4851    as they may be changed or made private later.
4852    Break ABI for fields removed.
4855 2009-07-30  Lex Trotman  <elextr(at)gmail(dot)com>
4857  * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4858    src/keyfile.c, src/project.c:
4859    Changed names of symbols visible in build API to GEANY_xxx.
4862 2009-07-29  Lex Trotman  <elextr(at)gmail(dot)com>
4864  * src/project.h, src/project.c, src/build.c:
4865    Remove make_in_base_dir and run_cmd fields from project structure.
4866    Replaced by build functionality.  Remove incorrect use in src/build.c
4867    build_run_cmd function.
4870 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
4872  * src/project.h, src/project.c:
4873    Removed unused project_get_make_dir function, this is now per
4874    command.
4877 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
4879  * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4880    src/filetypes.c:
4881    Fix some more warnings.
4882    Fix commented out execute/stop toolbar code in build.c.
4883    Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4884    Changed build.h api so all functions prefixed with build_.
4887 2009-07-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4889  * src/build.c, src/build.h, src/project.c:
4890    Fix some gcc warnings with '-Wall -W -ansi' enabled.
4893 2009-07-25  Lex Trotman  <elextr(at)gmail(dot)com>
4895  * src/build.c:
4896    Fixed leaks and crashes due to inconsistent use of static vs dynamic
4897    strings when reading old format configuration & project files.
4898  * src/build.c, src/project.c:
4899    Fixed GLib array assertion warnings when no project filetypes are
4900    available to be saved.
4902 2009-07-24  Lex Trotman  <elextr(at)gmail(dot)com>
4904  * src/build.c:
4905    Fix build warnings.
4908 2009-07-22  Lex Trotman  <elextr(at)gmail(dot)com>
4910  * src/build.h, src/build.c, src/project.c:
4911    Created and documented plugins interface to build menu.
4912    Factored out new get_cmd_group function.
4913    Changed name of remove_command function to be consistent with the
4914    rest of the interface & changed calls in project.c.
4915  * src/Makefile.am, wscript:
4916    Added build.h to installed files lists.
4918 2009-07-20  Lex Trotman  <elextr(at)gmail(dot)com>
4920  * doc/geany.txt:
4921    Updated manual to match build-menu capability.
4924 2009-07-19  Lex Trotman  <elextr(at)gmail(dot)com>
4926  * src/build.c, src/build.h:
4927    Added set_build_non_ft_wd_to_proj() for use by project dialog.
4928    Improved interpretation of run_in_base_dir from old [build-settings]
4929    Added spacing to build commands dialog
4930  * src/project.c:
4931    Removed run in base path option from project dialog and added button
4932    to set working directories to d the same.
4935 2009-07-18  Lex Trotman  <elextr(at)gmail(dot)com>
4937  * src/build.c:
4938    Re-incorporated toolbar changes in trunk accidently excluded in merge
4940 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
4942  * src/build.c:
4943    Fixed substitute %f etc in commands
4944    Fixed potential leak in build_replace_placeholder
4945    Fixed leak in prepare_run_script (Thanks for patch Thomas)
4946    Fixed build_replace_placeholder to not require document.
4948 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
4950  * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
4951    Fixed crash and lots of warnings, deleted some commented out code.
4952  * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
4953    Removed make command from preferences and associated code
4955 2009-07-16  Lex Trotman  <elextr(at)gmail(dot)com>
4957  * src/build.c, src/build.h:
4958    Incorporated patch for working directory field (thanks Thomas)
4959    Removed run_in_base_dir option and associated code that it replaces
4960    Improved handling of old config files and mapping to new ones.
4962 2009-07-15  Lex Trotman  <elextr(at)gmail(dot)com>
4964  * src/build.h, src/build.c:
4965    Changed to itterate over entries in build commands dialog to allow
4966    additional fields to be added
4967    Implement support for multiple run commands
4968  * data/filetypes.latex:
4969    Implement configured commands and labels for latex.
4972 2009-07-14  Lex Trotman  <elextr(at)gmail(dot)com>
4974  * src/build.h, src/build.c:
4975    added dialog support for error regular expressions from multiple
4976    sources and storing and loading them fixed some typos and memory
4977    leaks
4978  * src/filetypes.c, src/filetypes.h, project.c:
4979    added support for using error regexes from multiple sources
4982 2009-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
4984  * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
4985    src/project.c:
4986    Removal of build menu item source made redundant by the following fix
4987  * src/build.c:
4988    Corrected priority oreder and loading of filetype dependent build
4989    menu items saved in the project file.  Added print routine for
4990    debugging command sources and priorities set compile symbol
4991    PRINTBUILDCMDS true to enable
4993 2009-07-10  Lex Trotman  <elextr(at)gmail(dot)com>
4995  * src/build.c:
4996    fixed problem loading old format filetype files, some formatting
4997    fixes fixed saving new format files
4998    added operation for clear button on build commands dialog
4999  * src/filetypes.c:
5000    fixed loading and saving filetype files
5003 2009-07-09  Lex Trotman  <elextr(at)gmail(dot)com>
5005 Configurable Build Menu Changes
5007  * doc/geany.html, doc/geany.txt:
5008    Updated build menu section to new functionality
5009  * src/build.h, src/build.c:
5010    Largly re-written, configurability added, Latex code removed
5011  * src/filetypes.h, src/filetypes.c:
5012    Filetype structure updated to add new command pointers, configuration
5013    load and store changed
5014  * src/keybindings.h, src/keybindings.c:
5015    Changed to address new command storage structure.
5016  * src/keyfile.c:
5017    Changed to load/store new configuration.
5018  * src/main.c:
5019    Minor change to initialisation order.
5020  * src/msgwindow.c:
5021    Changed to address new menu item storage structure.
5022  * src/project.h, src/project.c:
5023    Changed to load/store the new configuration info.
5025 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5027  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5028    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5029    doc/pluginsymbols.c, plugins/geanyfunctions.h,
5030    plugins/splitwindow.c:
5031    Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5032    GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5033    the ABI when adding fields to them.
5034    Add plugin_set_key_group() for plugins to dynamically set a
5035    keybinding group (e.g. for the Lua script plugin). Used in Split
5036    Window plugin as an example.
5037    Improve keybinding docs a little.
5040 2009-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5042  * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5043    Add geanyfunctions.h to API docs.
5044  * plugins/splitwindow.c:
5045    Set the cursor color for the split window.
5048 2009-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5050  * src/callbacks.c:
5051    Fix 'Open Selected File' for unsaved new documents.
5052  * src/keybindings.c, src/keybindings.h, src/prefs.c:
5053    Fix updating main menu accelerators after changing keybindings
5054    (thanks to Lex Trotman).
5055  * src/callbacks.c:
5056    Fix using 'Insert date' keybinding when a custom date string has
5057    not been set.
5058  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5059    Merge Plugin and GeanyPluginPrivate structs.
5062 2009-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5064  * src/keybindings.c:
5065    Fix non-working Home and End keys on numpads.
5068 2009-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5070  * doc/geany.txt, doc/geany.html, NEWS:
5071    Add 'Scope autocompletion' section.
5072    Add 'Tools menu items' section to explain configuration files
5073    submenu, reload configuration item.
5074    Minor updates/fixes.
5077 2009-08-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5079  * src/document.c:
5080    Add a translation hint to an ambiguous format string.
5081  * src/Makefile.am:
5082    Add missing include path to fix 'make distcheck'.
5083  * src/win32.c:
5084    Fix opening of local files in the browser on Windows.
5085  * New release: Geany 0.18 "Kaine".
5086  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5087    src/geany.h, doc/geany.html, doc/geany.txt:
5088    Post-release version bump.
5091 2009-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5093  * src/editor.c:
5094    Temporarily disable reshowing calltips when the autocompletion
5095    list was closed implicitly by not choosing an item to fix
5096    problems with wrongly displayed calltips.
5097  * src/template.c:
5098    Add missing 'coding' cookie to the Python filetype template.
5099  * doc/images/pref_dialog_edit_completions.png,
5100    doc/images/pref_dialog_toolbar.png:
5101    Update images for Geany 0.18.
5104 2009-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5106  * wscript:
5107    Add command '--hackingdoc' to create the HTML form of the
5108    HACKING file.
5111 2009-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5113  * po/pt_PT.po, po/LINGUAS:
5114    Added a first Portugese (Portugal) translation based on work done at
5115    launchpad by e.g. André Glória and Alexandre Jesus.
5116  * src/main.c: Fix a minor typo on --help call.
5119 2009-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5121  * src/highlighting.c:
5122    Call get_keyfile_wordchars() in highlighting_init_styles().
5125 2009-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5127  * data/filetypes.ada:
5128    Add missing file.
5129  * src/keybindings.c:
5130    Switching notebook tabs now works for the currently used notebook
5131    widget instead of always using the documents notebook.
5132  * src/document.c, src/document.h, src/documentprivate.h,
5133    doc/plugins.dox:
5134    Small corrections to some API docs.
5137 2009-08-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5139  * src/build.c, src/win32.h, src/win32.c:
5140    Expand system environment variables (%variableName%) on Windows when
5141    running Build commands.
5144 2009-07-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5146  * src/keybindings.c:
5147    Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5148    future using an indent block is more useful e.g. for ChangeLog
5149    files.
5150  * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5151    scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5152    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5153    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5154    tagmanager/parsers.h, tagmanager/makefile.win32,
5155    tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5156    Add Markdown filetype (patch by Jon Strait, thanks).
5157  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5158    Fix disconnecting plugin signal id when not using geany_object.
5159  * src/filetypes.c:
5160    Add filetype_make_title() instead of using:
5161    ft->title = g_strdup_printf(_("%s source file"), ft->name);
5162    It also supports "%s file" strings.
5165 2009-07-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5167  * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5168    src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5169    doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5170    plugins/filebrowser.c:
5171    Add plugin_signal_connect() for connecting plugin signals at
5172    runtime and also for connecting to any GObject signal.
5173    Add 'Plugin Utility Functions' on main page.
5174    Add foreach_array() macro.
5175  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5176    src/document.c, src/editor.c:
5177    Rename 3 sci functions to sci_set_target_start(),
5178    sci_set_target_end(), sci_replace_target() to match the SCI_
5179    message name.
5182 2009-07-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5184  * wscript: Fix compiling error with waf.
5187 2009-07-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5189  * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5190    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5191    src/Makefile.am, wscript:
5192    Move plugin_* utility functions to pluginutils.c.
5193    Add pluginprivate.h.
5194  * src/editor.c:
5195    Fix reshowing calltip in the wrong document.
5198 2009-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5200  * doc/geany.txt, doc/geany.html:
5201    Add some general information about auto-completion capabilities
5202    (patch by Lex Trotman, thanks).
5205 2009-07-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5207  * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5208    Added a first Slovenian translation. Thanks to Joze Klepec.
5211 2009-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5213  * src/highlighting.c:
5214    Use full styleset_foo[_init] function name as argument to
5215    init_styleset_case() and styleset_case() macros so it's easier to
5216    understand the code.
5217  * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5218    src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5219    doc/geany.txt, doc/geany.html:
5220    Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5221    Heavily based on a patch by Eugene Arshinov (thanks).
5222    Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5223    editor_strip_line_trailing_spaces().
5226 2009-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5228  * src/editor.c:
5229    Attempt to fix reshowing calltips after the autocompletion list
5230    has been shown.
5231    Reshow calltips also when the autocompletion list was closed
5232    implicitly by not choosing an item.
5234 2009-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5236  * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5237    plugins/splitwindow.c:
5238    Change utils_str_remove_chars() to work in place; fix allocating on
5239    the stack (the string length could exhaust the stack size).
5240  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5241    src/printing.c, src/callbacks.c:
5242    Rename utils_str_replace() utils_str_replace_all(), setting a
5243    'gchar **haystack' argument instead of returning a new string.
5244  * src/editor.c:
5245    For the Tabs indent type, remove spaces when unindenting (only) if
5246    there are no tabs on the line.
5247    Group undo actions for (un)indenting of multiple lines.
5248  * src/document.c, src/editor.c:
5249    Fix scrolling horizontally after finding a search match with the
5250    search bar or Find Next/Previous which is off-screen.
5251  * src/keybindings.c:
5252    Fix GLib warning when pressing a key with no documents open.
5255 2009-07-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5257  * src/utils.c:
5258    Start unifying usage of @a and @c markup elements in API docs,
5259    to be continued.
5260  * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5261    Show/hide the toolbar without a restart when the setting in the
5262    preferences dialog is changed (closes #2824785).
5263  * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5264    src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5265    src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5266    src/toolbar.h:
5267    Continue unifying usage of @a and @c markup elements in API docs.
5270 2009-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5272  * src/document.c:
5273    Remove relative/untidy path elements when creating new documents
5274    with a filename (e.g. from the command-line) (#2823998).
5277 2009-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5279  * src/callbacks.c:
5280    Disable 'Recent Projects' menu item if the list of recent projects
5281    is empty.
5282  * src/win32.c:
5283    Fix some harmless compiler warnings.
5284  * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5285    src/plugins.c, src/utils.c, src/utils.h:
5286    Move utils_str_remove_chars() from the plugins/splitwindow.c to
5287    src/utils.c and add it to the plugin API.
5288    Make utils_str_remove_chars() work on a new copy of the input string
5289    instead of modifying it in place.
5290  * src/toolbar.c:
5291    Remove underscores from the toolbar items labels.
5292  * src/utils.c:
5293    Fix typos.
5294  * plugins/splitwindow.c:
5295    Fix broken 'Show the current document' tool button icon.
5298 2009-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5300  * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5301    src/keyfile.c:
5302    Add stash_group_add_widget_property() so we can save any widget's
5303    read/write properties.
5304    Use Stash for ui_prefs.sidebar_page setting.
5305  * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5306    Make foreach_ptr_array() use an integer argument for its
5307    implementation, as this is more useful potentially than a gpointer*
5308    argument, and more straightforward.
5309    Add foreach_c_array(), foreach_ptr_array() to API.
5310  * src/utils.c, src/utils.h, src/document.c:
5311    Remove relative/untidy path elements when opening documents (closes
5312    #2823998).
5313  * src/treeviews.c:
5314    Fix showing project name for documents list files with no
5315    subdirectory (oops).
5316  * src/dialogs.c:
5317    Fix checking whether to overwrite when using the Rename button in
5318    the 'Save As' dialog.
5321 2009-07-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5323  * src/dialogs.c:
5324    Don't use the main window as parent for dialog boxes if it is not
5325    yet realised.
5326    Set titles for message dialogs.
5329 2009-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5331  * src/toolbar.c:
5332    Display item labels instead of raw names in the toolbar editor.
5333    Apply changes in the toolbar editor instantly.
5334    Show icons in the toolbar editor.
5335    Speed up toolbar editor dialog creation.
5336  * src/templates.c:
5337    Improve inserting of comment templates like File header or licence
5338    notices. The comment information are now read from the filetype
5339    configuration files.
5341 2009-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5343  * src/document.c:
5344    Enable file monitoring for files which are written to disk by Geany
5345    for the first time.
5346  * src/filetypes.c:
5347    Fix broken special case handling when detecting filetypes from a
5348    shebang or other special file headers.
5351 2009-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5353  * src/search.c:
5354    Make Mark All keybinding clear search highlighting when there's no
5355    current word.
5356  * src/search.c:
5357    Fix wrong match length when using Mark with regex.
5358  * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5359    src/keyfile.c, src/main.c:
5360    Add 'Show Paths' documents list popup item.
5361    Add "load_settings" core-only signal emitted just after loading
5362    main keyfile settings; useful to delay building UI elements until
5363    settings have been read.
5364  * src/treeviews.c:
5365    Fix GTK warning when right-clicking on default tag tree.
5366  * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5367    Add treeviews_finalize().
5368    Remove tv.popup_openfiles field.
5371 2009-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5373  * src/highlighting.c:
5374    Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5377 2009-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5379  * src/utils.c:
5380    Quote the uri before passing it to the browser when opening a
5381    website (closes #2818635).
5382  * src/win32:
5383    Fix broken 'builtin' Run command for HTML files on Windows.
5386 2009-07-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5388  * src/editor.c:
5389    Properly fix wrong brace highlighting of non-brace character.
5390  * src/editor.c:
5391    Allow autocompletion in Perl double-quoted strings.
5392    Don't autocomplete in Perl single-quoted strings (closes #2821061).
5393    Don't autocomplete in Perl q() strings.
5394  * data/filetypes.common:
5395    Make Mark highlighting brighter.
5396  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5397    Use hyphen for auto-feature terms.
5398  * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5399    src/document.h, src/main.c:
5400    Add documents_foreach() API macro that skips invalid docs.
5401    Make filetypes[], documents[] part of the API again.
5402    Add GEANY() macro for sharing geany symbols between API and core.
5403  * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5404    plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5405    plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5406    plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5407    plugins/classbuilder.c, wscript:
5408    Add geanyplugin.h single include for plugin API; update all core
5409    plugins to use it.
5410    Add sci_set_font() to API.
5411    Update plugin howto.
5412  * src/filetypes.c, src/filetypes.h:
5413    Remove filetypes_foreach_named().
5416 2009-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5418  * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5419    src/document.h, src/main.c, THANKS:
5420    Apply patch from Eugene Arshinov to reload color schemes via menu
5421    (thanks).
5422  * src/filetypes.c:
5423    Reload filetypes.common after saving it.
5424  * src/editor.c:
5425    Improve wrong brace highlighting of non-brace character.
5428 2009-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5430  * src/editor.c:
5431    Delay highlighting matching braces by 100ms, which speeds up
5432    scrolling with the arrow keys.
5433  * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5434    Add 'Mark All' keybinding.
5435  * tagmanager/diff.c:
5436    Show relative paths in diff filename tags.
5439 2009-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5441  * src/highlighting.c:
5442    Fix setting keyword list 'classes' for Haxe
5443    (pointed out by Andreas Mokros, thanks).
5446 2009-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5448  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5449    doc/geany.txt, doc/geany.html, geany.glade:
5450    Add 'Drop rest of word on completion' pref.
5451  * src/editor.c, doc/geany.txt, doc/geany.html:
5452    If autocompletion is already visible when forcing completion, show
5453    document word completion instead of tag completion.
5454    Docs: Minor edits of related prefs items.
5455  * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5456    Add warning when printing and editor font is not monospaced.
5457    Fix using GtkMessageType instead of gint param for
5458    dialogs_show_msgbox*().
5459    Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5460  * src/editor.c:
5461    Support 'tab indents, space aligns' style for auto-indentation
5462    (closes #2789109).
5465 2009-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5467  * src/document.c, src/documentprivate.h:
5468    Rework the GIO based file monitoring code. Now it is used only
5469    to indicate a possible change of the file, the real check if the
5470    file has been changed is performed by stat().
5471  * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5472    Add style 'line_height' to increase the line height.
5473    Add style 'marker_mark' and change style 'marker_search' to
5474    define the style used for marked search results.
5475  * doc/geany.txt, doc/geany.html:
5476    Add the new 'Autocomplete all words in document' pref to the docs.
5479 2009-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5481  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5482    doc/geany.txt, doc/geany.html, geany.glade, TODO:
5483    Add 'Autocomplete all words in document' pref.
5484    Use 'autocompletion' in dialog and docs, not 'auto completion'.
5485  * src/editor.c:
5486    Fix limiting number of word completion entries too much.
5487  * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5488    icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5489    Show autocompletion icons for tag symbols - for now only tags with
5490    an arglist have the 'function/method' icon, all others have the
5491    'variable' icon.
5492    Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5493    program.
5494  * src/highlighting.c:
5495    Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5496    #1895745).
5499 2009-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5501  * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5502    Fix removing underscores in translated string using no_underscore()
5503    macro.
5504    Set a tooltip for the Split Window plugin's Show Current tool button.
5505    Add utils_strdupa() macro.
5506  * src/interface.c, geany.glade:
5507    Use stock Select All icon now we have >= GTK 2.8.
5508  * src/treeviews.c:
5509    Fix using project name for document items that start with the
5510    project base path but don't match it e.g. ".../geany-plugins"
5511    instead of ".../geany" when project name is 'geany'.
5514 2009-07-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5516  * src/build.c:
5517    Fix warnings when the toolbar does not contain the Run button.
5518  * tagmanager/lua.c:
5519    Fix wrong parsing of complex expressions in the Lua parser.
5520  * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5521    src/utils.c:
5522    Remove unnecessary enums.
5523  * scintilla/*, scintilla/include/*, src/plugindata.h:
5524    Update Scintilla to version 1.79.
5525  * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5526    src/search.c:
5527    Use the new Scintilla struct names prefixed with 'Sci_'.
5528  * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5529    src/highlighting.c:
5530    Add second argument to the 'line_wrap_indent' styling setting to
5531    control the new Scintilla indentation mode for wrapped lines.
5532  * src/toolbar.c:
5533    Properly close the toolbar editor on delete-events.
5534    Fix warnings and possible crashes in the toolbar editor when the list
5535    of displayed toolbar items is empty.
5536  * data/filetypes.tcl:
5537    Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5538  * src/plugins.c:
5539    Make the plugin manager dialog a bit bigger.
5542 2009-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5544  * doc/geany.html, doc/geany.txt:
5545    Fix wrong default values for the 'Show Calltip' keybinding.
5548 2009-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5550  * data/filetypes.tcl, src/symbols.c:
5551    Fix duplicate "context_action_cmd" key.
5552    Use different icons for "Methods" and "Procedures" in the symbol
5553    list for Tcl files.
5554  * src/filetypes.c:
5555    Fix a small memory leak.
5556  * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5557    src/keybindings.h, src/plugindata.h:
5558    Make the Scintilla keybindings 'Delete to end of line' and
5559    'Go to end of display line' configurable.
5560  * geany.nsi:
5561    Fix a typo (closes #2813624).
5564 2009-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5566  * tagmanager/tcl.c, src/symbol.c:
5567    Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5568    methods and namespaces).
5569    Patch by Witek Mozga, thanks.
5572 2009-06-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5574  * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5575    src/toolbar.c, src/toolbar.h:
5576    Remove ui_toolbar.xml Configuration Files menu item.
5577    Add a real toolbar editor dialog.
5578  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5579    src/prefs.c:
5580    Add a button in the preferences dialog and an item for the toolbar
5581    popup menu to run the toolbar editor dialog.
5584 2009-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5586  * src/dialogs.c:
5587    Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5588    Fix using locale encoding for default Save As dialog path.
5589  * src/editor.c:
5590    Beep when trying to activate the '...' autocompletion item.
5591    Limit (forced) document word completion to
5592    autocompletion_max_entries.
5593    Beep if no completions are shown when forcing autocompletion.
5596 2009-06-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5598  * data/ui_toolbar.xml, src/toolbar.c:
5599    Add 'Build' toolbar button to the default layout.
5602 2009-06-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5604  * src/editor.c:
5605    If forcing autocompletion and there's nothing else to show, complete
5606    from words in the current document (using code from Enrico's
5607    'AutoComplete Test' plugin).
5610 2009-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5612  * src/plugins.c:
5613    Add debug message if plugin has not set a name for its keybinding
5614    group.
5615  * data/filetype_extensions.conf:
5616    Add *.m4 for shell scripts.
5619 2009-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5621  * src/highlighting.c, doc/geany.txt, doc/geany.html,
5622    data/filetypes.common, TODO:
5623    Make filetypes.common named styles use the "default" named style for
5624    all missing style fields.
5625    Set named styles to usually leave the background style empty. This
5626    currently allows C-like filetypes to have a common default
5627    background color.
5628    Allow hard-coded colors to use -1 for the default color.
5629    Add some highlighting style examples to the manual.
5632 2009-06-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5634  * src/templates.c:
5635    Create initial template files with proper platform-specific line
5636    ending characters.
5639 2009-06-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5641  * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5642    src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5643    src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5644    src/ui_utils.c, src/ui_utils.h:
5645    Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5646    saved within Geany.
5647    Refactor some related code.
5648  * tagmanager/conf.c:
5649    Strip trailing spaces from "Key" tags.
5650  * geany.nsi:
5651    Quote the full filename to the Geany executable when creating the
5652    "Open with Geany" context menu item.
5653  * plugins/splitwindow.c:
5654    Avoid using deprecated GTK API.
5655  * src/log.c, src/main.c:
5656    Properly clean up the logging mechanism.
5657  * src/build.c:
5658    Fix LaTeX view commands on Windows (part of #2807688).
5659  * src/prefs.c:
5660    Add a popup menu for the keybinding list in the preferences dialog
5661    to easily expand and collapse all groups.
5662    Refactor the keybindings code for the preferences dialog, prefix all
5663    related functions.
5664  * src/main.c, src/ui_utils.c, src/ui_utils.h:
5665    Init stock items before creating the toolbar (closes #2809324).
5666  * wscript:
5667    Generate the geany.pc file also on Windows.
5668  * src/ui_utils.c:
5669    Invert the logic to determine which Save All we want to use:
5670    Use the Tango like icon only for the Tango theme and the Gnome / GTK
5671    like icon for any other themes.
5674 2009-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5676  * src/highlighting.c, README.Packagers, HACKING:
5677    Remove gsd_* default styles, use named styles instead.
5678    Note: this relies on filetypes.common being installed.
5679    Add load_style_entries(), which makes style initialization
5680    simpler, used in styleset_c_like_init().
5683 2009-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5685  * src/win32.c:
5686    Prevent possible crash on Windows when not setting an initial
5687    directory for native File Open/Save dialogs.
5688  * data/filetypes.xml, src/highlighting.c:
5689    Add style 'jscript_regex' for filetype HTML
5690    (patch by Chris Macksey, thanks).
5693 2009-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5695  * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5696    Make GeanyDocument::file_type always be non-NULL, even for a new
5697    document with no filetype set.
5698  * src/editor.c:
5699    Only autocomplete scope for scopes matching the current filetype's
5700    language.
5701  * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5702    data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5703    data/filetypes.actionscript, data/filetypes.cs,
5704    data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5705    data/filetypes.javascript, HACKING:
5706    Make C++, D lexer filetypes use named styles (apart from uuid,
5707    verbatim, regex styles).
5710 2009-06-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5712  * src/dialogs.c:
5713    Don't explicitly change the current directory of the Save As dialog
5714    so that it uses the last used directory.
5717 2009-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5719  * src/encodings.c, src/encodings.h, src/plugindata.h:
5720    Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5721  * src/editor.c:
5722    Remove dead code.
5723    When completing from the macro list, put the cursor after
5724    the inserted text.
5727 2009-06-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5729  * tagmanager/pascal.c:
5730    Fix type definitions being parsed as functions.
5731  * src/editor.c:
5732    Don't autocomplete in unterminated strings as well.
5733  * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5734    src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5735    Remove data_ptr argument to foreach_[s]list() macros, as using
5736    node->data is enough sometimes; this makes the macro a bit more
5737    efficient too.
5738    Add foreach_[s]list() macros to the plugin API docs.
5741 2009-06-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5743  * scintilla/LexPascal.cxx:
5744    Backport fix from Scintilla CVS:
5745    Pascal lexer hanging on file that starts with 'interface' after
5746    whitespace.
5749 2009-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5751  * waf:
5752    Update Waf to 1.5.7.
5753  * wscript:
5754    Overwrite installation prefix on Windows only if it wasn't
5755    specified explicitly.
5758 2009-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5760  * src/editor.c:
5761    Display calltips for Pascal symbols in the Pascal way (#2803945).
5762  * tagmanager/pascal.c:
5763    Fix wrongly set return values for procedures (closes #2803945).
5764  * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5765    tagmanager/include/tm_source_file.h,
5766    tagmanager/include/tm_workspace.h:
5767    Fix doxygen warnings.
5770 2009-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5772  * src/editor.c, tagmanager/include/tm_workspace.h,
5773    tagmanager/tm_workspace.c, TODO:
5774    Autocomplete scoped fields like struct members when typing '.' (and
5775    also '->' or '::' in C/C++).
5776    Save all tag types for C/C++ when generating a global tags file, so
5777    we can use autocompletion for structs also.
5778    Merge tm_workspace_find_scope_members(),
5779    tm_workspace_find_namespace_members() (currently not built) from
5780    Anjuta 2.24.1 tagmanager.
5783 2009-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5785  * tagmanager/pascal.c:
5786    Parse Pascal calltips (closes #2802640).
5789 2009-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5791  * src/filetypes.c, src/ui_utils.c:
5792    Add filetypes.common Configuration Files menu item.
5795 2009-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5797  * src/callbacks.c:
5798    Add backslash to the wordchars on Windows when using
5799    'Open Selected File'.
5800  * src/wscript:
5801    Add support (configure, build and install) for building on Windows
5802    and cross-compiling for Windows using the Waf build system.
5805 2009-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5807  * src/toolbar.c:
5808    Set status bar text instead of showing a dialog when saving
5809    ui_toolbar.xml because the user might save several times.
5810  * src/editor.c:
5811    Fix redrawing due to colourising just after the document is first
5812    drawn. Now colourising should happen before the first draw.
5813  * src/utils.c, src/highlighting.c, data/filetypes.common:
5814    Fix segfault on parsing a filetypes.* style definition that has < 4
5815    fields.
5816    Allow style definitions to have missing fields to use the default
5817    style fields.
5820 2009-06-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5822  * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5823    Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5824  * plugins/classbuilder.c:
5825    Fix wrongly created header guards when the class filenames contains
5826    dashes (patch by PCMan, thanks).
5827  * data/filetypes.matlab:
5828    Add build_settings section to allow executing Matlab scripts.
5829  * src/document.c:
5830    When closing a document, mark it as invalid before removing it from
5831    the documents notebook (this fixes wrong Save All button state when
5832    closing an unsaved document because the "switch-page" signal handler
5833    was using old data).
5836 2009-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5838  * src/highlighting.c, doc/geany.txt, doc/geany.html:
5839    Support toggling bold/italic when using a named style, e.g.:
5840    commentdockeyword=commentdoc,bold,italic
5841    Improve named style docs.
5844 2009-06-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5846  * src/build.c, src/editor.c:
5847    Fix crashes when parsing the output of a compiler which reports
5848    errors on line 0.
5851 2009-06-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5853  * src/highlighting.c:
5854    Support named styles also for filetypes.common [styling] entries.
5855  * doc/geany.txt, doc/geany.html, HACKING:
5856    Update docs for named styles in filetypes.* files.
5857  * src/symbols.c:
5858    Fix grouping symbol list children when parent name has "." character
5859    in for reStructuredText and Conf filetypes.
5860  * tagmanager/python.c:
5861    Fix grouping functions/classes under a nested function.
5864 2009-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5866  * geany.spec.in:
5867    Adjust icon paths (patch by Dominic Hopf, thanks).
5868  * doc/geany.txt, doc/geany.html, src/toolbar.c:
5869    Add 'Replace' toolbar button (closes #2798225).
5872 2009-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5874  * src/utils.c, src/highlighting.c, TODO:
5875    Implement named styles support for filetypes.* using a
5876    filetypes.common [named_styles] section e.g.:
5877    foo=0xc00000;0xffffff;false;true
5878    bar=foo
5879    These can be used in e.g. filetypes.c as:
5880    comment=foo
5883 2009-05-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5885  * src/ui_utils.c:
5886    Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5889 2009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5891  * THANKS, src/about.c, po/lb.po, po/LINGUAS:
5892    Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
5895 2009-05-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5897  * src/build.c:
5898    Remove quote_executable() as it is not used anymore.
5899    When creating the geany_run_script.bat use the "%0" variable
5900    expansion and quote it for the "del" command (closes #2797172).
5901  * src/win32.c:
5902    On Windows, fallback to the literal build command line if searching
5903    for the command in the system path failed (related to #2795923).
5904    Properly terminate the resulting strings when reading the stdout
5905    and stderr of any spawned commands on Windows.
5908 2009-05-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5910  * src/win32.c:
5911    Use the wide character versions of native Windows File dialogs.
5912  * src/project.c:
5913    Fix wrong initialisation of the default project path button callback
5914    in the preferences dialog.
5915  * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
5916    geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
5917    icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
5918    icons/Makefile.am, icons/geany.ico, icons/scalable,
5919    icons/scalable/Makefile.am, icons/scalable/geany.svg,
5920    src/makefile.win32:
5921    Move the icons geany.png and geany.ico into the icons directory.
5922    Add a 16x16 pixel Geany icon and the scalable SVG icon.
5923    Drop the pixmaps directory.
5926 2009-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5928  * src/keybindings.c:
5929    Improve MRU document switching so there are no duplicates in the
5930    list and documents switched to whilst the dialog is open are
5931    ignored. Also beep when cycling through to the first document in the
5932    list.
5935 2009-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5937  * src/dialogs.c:
5938    Fix broken 'Cancel' button in the Save As dialog.
5941 2009-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5943  * src/editor.c:
5944    Fix multiline indent when selection covers text on the last line.
5945  * src/notebook.c:
5946    Show current document in bold in tab popup menu.
5947  * src/editor.c, tagmanager/python.c, TODO:
5948    Parse Python calltips.
5951 2009-05-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5953  * src/symbols.c, tagmanager/python.c:
5954    Parse Python import statements to get symbol completion for the
5955    imported module names.
5956  * src/editor.c, src/editor.h:
5957    Make some only locally used functions static.
5958    Fix wrong sanity check.
5959  * src/build.c:
5960    Fix quoting the build command string on Windows (closes #2791769).
5961    This broke when we made build commands run synchronously on Windows,
5962    now we don't need to special quote the commands anymore.
5965 2009-05-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5967  * src/editor.c:
5968    Drop rest of word to the right of cursor when autocompleting (do we
5969    need a pref for this?).
5972 2009-05-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5974  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
5975    Add sci_set_selection().
5976  * doc/geany.txt, doc/geany.html:
5977    Update manual for MRU switching.
5978  * src/callbacks.c, src/editor.c, src/editor.h:
5979    Make indenting with the Tabs indent type preserve spaces on the line,
5980    so it works for the 'tab indents, space aligns' formatting style.
5983 2009-05-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5985  * tagmanager/python.c:
5986    Fix missing symbols for variables when an equal sign is used
5987    in a comment on the same line as the variable declaration.
5988    Backport change from CTags SVN to keep the parser more in sync:
5989    Add support for Cython constructs to the Python parser.
5990  * src/search.c:
5991    Remember the additional Find in Files search flags at startup.
5992  * src/dialogs.c:
5993    Don't close the Save As dialog when saving the file didn't succeed.
5996 2009-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5998  * src/keyfile.c:
5999    Remember scribble cursor position.
6000  * src/keybindings.c, TODO:
6001    Implement Most-Recently-Used document switching when pressing
6002    Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6005 2009-05-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6007  * data/latex.tags: Added some more commands from unit.sty and
6008    moderncv.sty.
6011 2009-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6013  * src/symbols.c, doc/geany.txt, doc/geany.html,
6014    tagmanager/makefile.win32, tagmanager/nestlevel.c,
6015    tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6016    tagmanager/Makefile.am, wscript:
6017    Merge unstable branch:
6018    Add reStructuredText scope information for tags (for symbol list
6019    grouping).
6020    Read custom system global tags files from $prefix/share/geany/tags;
6021    Closes #2778923.
6022    Show the number of tags in a user global tags file (instead of the
6023    running total) in the debug message.
6024    Also print debug messages when loading a tag file manually or for
6025    default global tags files e.g. python.tags.
6026  - code:
6027    Move NestingLevel tags code into a separate file, add functions.
6028  - docs:
6029    Add 'Installation prefix' section instead of quoting '/usr/local'
6030    each time.
6031    Update for custom system global tags files.
6034 2009-05-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6036  * src/highlighting.c:
6037    Unset maybe previously keywords when setting up Scintilla for
6038    XML files. This fixed wrong highlighting after switching back to
6039    filetype XML from another one.
6040  * src/utils.c:
6041    Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6042    is only used when explicitly requested.
6043  * src/dialogs.c:
6044    Remove unnecessary call to g_intern_string() to fix build with
6045    GLib 2.8 (closes #2790051).
6048 2009-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6050  * src/ui_utils.c:
6051    Make the clear icon of entry fields act on the release event, not
6052    on the press event like for other buttons.
6053  * src/editor.c:
6054    Refactor some multiple used code into get_multiline_comment_style().
6055  * src/main.c:
6056    Create parent directories if necessary when checking for the
6057    configuration directory on startup (closes #2784577).
6060 2009-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6062  * plugins/filebrowser.c:
6063    When a filter is set, apply it only to files, not directories and
6064    apply the filter to the UTF-8 name of the file as the filter string
6065    itself is also UTF-8.
6066  * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6067    Add utils_color_invert() and use it in highlighting.c and printing.c.
6068  * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6069    Backport change from Scintilla CVS:
6070    Change capitalisation of header file to suit cross-compilation on
6071    Unix for Windows.
6074 2009-05-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6076  * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6077    Update Scintilla to version 1.78.
6078  * src/editor.c, src/highlighting.c:
6079    Update Pascal styles as they changed in Scintilla.
6082 2009-05-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6084  * src/printing.c:
6085    Ignore the invert syntax highlighting colours setting when printing
6086    to not print characters on a dark background (closes #2785244).
6087  * New release: Geany 0.17 "Wessex".
6088  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6089    src/geany.h, doc/geany.html, doc/geany.txt:
6090    Post-release version bump.
6093 2009-04-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6095  * src/callbacks.c, src/callbacks.h, src/main.c:
6096    Update the View->Fullscreen menu item when fullscreen state is
6097    changed externally (e.g. by the window manager).
6098  * src/project.c:
6099    Fix passing wrong pointer to the File Open dialog for the Run
6100    command in the Project Properties dialog.
6103 2009-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6105  * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6106    src/ui_utils.h:
6107    Remember the active sidebar page between sessions.
6108  * src/project.c:
6109    Add a recent project item after creating a new project.
6110  * tagmanager/ruby.c:
6111    Fix wrong parsing of string literals (closes #2781264).
6112  * src/treeviews.c:
6113    Fix setting focus to the editor widget after changing the selection
6114    in the symbol list.
6117 2009-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6119  * src/symbols.c:
6120    Prevent crashes when two or more top level items in the symbol
6121    list have the same name (closes #2778246).
6124 2009-04-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6126  * src/keybindings.c:
6127    Manually show the main notebook tab bar menu when Shift-F10 is
6128    pressed. This broke when we disabled the default GTK tab bar menu.
6129  * src/document.c:
6130    Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6131    which was reloaded shortly before.
6132  * src/editor.c:
6133    When the editor menu is opened by the Menu key, use the text cursor
6134    position for retrieving the current word. This fixes disabled
6135    Go to Tag items in the menu (#2780044).
6136  * src/treeviews.c:
6137    Set the "ellipsize" property of GtkCellRendererText to automatically
6138    shorten the path and file names in the Documents list.
6139  * doc/geany.html, doc/geany.txt, src/build.h:
6140    Increase the amount of highlighted build error messages to 100.
6141    At least for LaTeX we need higher values as there is a lot of
6142    informative output before any errors are reported.
6143  * src/filebrowser.c:
6144    Use the startup path as the initial directory for the filebrowser
6145    plugin when no project and no files are opened
6146    (patch by Matias Gea, thanks; closes #2780521).
6149 2009-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6151  * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6152    src/utils.c, src/utils.h:
6153    Ellipsize tab labels and some status messages for very long
6154    filenames (closes #2777348).
6155  * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6156    Add utils_str_middle_truncate() and
6157    document_get_basename_for_display() to the plugin API.
6158  * doc/geany.html, doc/geany.txt, src/toolbar.c:
6159    Add new toolbar element: Print (patch by Roland Baudin, thanks).
6160  * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6161    src/keyfile.c:
6162    Add a hidden preference 'use_safe_file_saving' to save files to disk
6163    by creating a temporary file first. This has serious side effects,
6164    please read the documentation before enabling this.
6165  * src/build.c:
6166    Make build commands on Windows run synchronously to avoid problems
6167    with reading build commands' output.
6168  * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6169    Limit the amount of highlighted build error messages in the
6170    Compiler window to 50 for performance reasons.
6173 2009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6175  * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6176    src/prefs.c:
6177    Replace our own GEANY_KEYS_MODIFIER_MASK by
6178    gtk_accelerator_get_default_mod_mask() which gives the same result.
6179  * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6180    tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6181    Add a trivial symbol parser for NSIS files.
6184 2009-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6186  * src/dialogs.c:
6187    Hide the extra file open dialog options in an expander to make the
6188    dialog more compact by default and to provide more space for the
6189    file view.
6190    Remove the filename field as it is also provided by GTK itself with
6191    more features like auto-completion.
6192    Watch the 'show-hidden' property of the file chooser widget using
6193    GObject's "notify" signal which gives accurate results and remove
6194    the hack using the "selection-changed" signal.
6197 2009-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6199  * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6200    Prevent double execution of radio menu item "activate" or "toggled"
6201    signal handlers.
6202    Move 'Set Encoding' callback function into encodings.c.
6205 2009-04-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6207  * src/project.c:
6208    Add some missing 'void's in function definitions.
6209    If the project base path is './', just use the path of the project
6210    config file instead of appending './'.
6211  * src/treeviews.c, src/project.c:
6212    When a project is loaded, replace the project base path with the
6213    project name in the Documents sidebar for parent items
6214    (closes #2723679).
6217 2009-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6219  * src/keyfile.c, src/keyfile.h, src/project.c:
6220    Fix duplicating the recent files and projects lists when closing
6221    a project.
6222  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6223    src/editor.c, src/encodings.c, src/filetypes.c,
6224    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6225    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6226    src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6227    src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6228    src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6229    src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6230    Remove all G_LIKELY macros inside g_return_if_fail() statements as
6231    this is redundant.
6232    Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6233    sense to keep the code more readable.
6236 2009-04-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6238  * src/symbols.c:
6239    When updating global type definitions for opened documents, take
6240    also C++ namespace symbols into account and don't ignore symbols
6241    which are defined inside a scope.
6244 2009-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6246  * src/plugins.c:
6247    Don't show 'plugin is not binary compatible' messages on the status
6248    bar, only the status window.
6251 2009-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6253  * src/socket.c:
6254    When opening files from a remote instance on X11, set the window
6255    server time to encourage window managers to pop up the main window
6256    (related to #2735467 and #2276179).
6257  * src/main.c:
6258    When finished sending filenames to a remote instance, notify the
6259    environment that we finished starting up.
6262 2009-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6264  * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6265    Sort Configuration Files menu.
6266    Add ui_menu_sort_by_label().
6267    Add foreach_list() macro.
6268  * src/editor.c:
6269    Fix autocompletion.
6272 2009-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6274  * src/main.c:
6275    Fix setting a wrong default window size when starting without an
6276    existing configuration.
6277  * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6278    Make editor_highlight_braces() static.
6279    Remove unused wrapper functions.
6280  * src/editor.c, src/symbols.c, src/symbols.h:
6281    Prevent showing an empty macro list.
6282    Show only macros of the same filetype instead of all macros of all
6283    loaded filetypes.
6284  * src/ui_utils.c:
6285    Don't add opened project files to the GtkRecentManager.
6288 2009-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6290  * src/editor.c:
6291    Add Configuration Files item for snippets.conf.
6292  * src/highlighting.c, src/symbols.c:
6293    Fix 2 old uses of filetype IDs.
6296 2009-04-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6298  * src/interface.c, src/printing.c, geany.glade:
6299    Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6302 2009-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6304  * src/ui_utils.c:
6305    Add sanity checks in ui_lookup_widget() just to be safe.
6306  * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6307    src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6308    src/project.h, src/ui_utils.c, src/ui_utils.h:
6309    Add "Recent Projects" menu to the Project menu
6310    (#2728630, patch by Elias Pschernig, thanks).
6311  * doc/geany.txt, doc/geany.html:
6312    Describe how to build Geany using the Waf build system.
6313  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6314    src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6315    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6316    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6317    src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6318    src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6319    src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6320    src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6321    src/utils.c, src/utils.h, src/vte.c:
6322    Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6323    performance when building the code with gcc.
6324  * src/highlighting.c:
6325    Fix typo in the G_LIKELY checks, introduced in last commit.
6326    Fix the size of the styles array.
6327  * src/document.c:
6328    Show a message dialog when renaming a file fails.
6331 2009-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6333  * src/build.c:
6334    Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6335    (as we did for all other files in SVN r3382).
6338 2009-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6340  * src/filetypes.c, doc/geany.txt:
6341    Move ActionScript to the Script group.
6342    Fix wording & typo.
6343  * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6344    src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6345    src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6346    plugins/htmlchars.c:
6347    Merge reorder-filetypes branch:
6348    Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6349    append randomly without breaking the ABI).
6350    Make None filetype name = title = _("None").
6351    Add foreach_slist() macro.
6352    Add filetypes_by_title list to GeanyData for plugin API access
6353    - a list of filetype pointers, which includes the None filetype
6354    first. This list stays constant by the time plugins are initialized,
6355    so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6356    index the sorted list.
6359 2009-03-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6361  * doc/geany.txt, doc/geany.html, src/main.c:
6362    Add widget names for the menubar and toolbar.
6363  * src/msgwindow.c:
6364    When hiding the messages window, set the input focus back to the
6365    editor widget (part of #1910393).
6368 2009-03-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6370  * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6371    Backport recent changes from Scintilla CVS to add partial support
6372    for RFC2822 styled text using the Properties lexer.
6373    Ignore leading whitespace for config files and RFC2822 text.
6374  * data/filetypes.actionscript:
6375    Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6376  * THANKS, src/treeviews.c:
6377    Display file/directory icons in the Documents sidebar
6378    (patch by Simon Treny, thanks).
6381 2009-03-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6383  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6384    src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6385    src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6386    Add an option to allow appending the toolbar to the main menu bar
6387    to save some vertical space.
6388    Allow setting toolbar icon size to very small (menu icon size).
6391 2009-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6393  * src/keyfile.c, src/utils.c, src/utils.h:
6394    Add utils_path_skip_root(), a relative path safe variant of
6395    g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6396  * src/keyfile.c, src/main.c:
6397    Allow negative window coordinates when saving and restoring the
6398    position of the main window.
6399    Restore the main window position and size *after* the window has
6400    been realised to get it positioned accordingly
6401    (this affects at least Windows).
6404 2009-03-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6406  * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6407    Use g_win32_get_package_installation_directory_of_module() on Windows
6408    with newer GLib versions instead of deprecated API.
6409  * src/keybindings.c:
6410    Don't manage the last used documents list when quitting to prevent
6411    errors by accessing invalid memory (may close #2533990).
6414 2009-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6416  * src/build.c:
6417    Delete the geany_run_script.sh immediately after execution
6418    to prevent leaking old copies when the script was quit unexpectedly
6419    (closes #2710482, patch by Martin Olsson, thanks).
6420  * src/keyfile.c:
6421    Check whether skipping the root element of a document's filename
6422    succeeded and use the filename itself if not (e.g. on relative
6423    filenames, #2702844).
6424    Use the locale encoded filename when saving session files.
6425  * src/callbacks.c:
6426    Re-set the quitting status after all documents have been closed on
6427    quitting.
6430 2009-03-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6432  * plugins/htmlchars.c:
6433    Remove usage of deprecated sci_get_selected_text() from plugin.
6436 2009-03-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6438  * src/callbacks.c:
6439    Delay disk file checks when switching between documents a little
6440    bit to avoid fast, unintentional page switching in some cases.
6441  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6442    src/sciwrappers.c, src/sciwrappers.h:
6443    Deprecate sci_get_text(), sci_get_selected_text() and
6444    sci_get_text_range().
6445    Add sci_get_contents(), sci_get_contents_range() and
6446    sci_get_selection_contents() as replacement functions to provide
6447    an easier and cleaner API (initial patch by Frank).
6450 2009-03-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6452  * tagmanager/css.c:
6453    Fix wrong parsing of CSS tags when the definition block starts on
6454    a new line (reported by Dominic Hopf, thanks).
6457 2009-03-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6459  * plugins/htmlchars.c:
6460    Extend plugin by feature to bulk replace and replace on input for
6461    special characters to their HTML entities.
6464 2009-03-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6466  * src/build.c:
6467    Update build menu items after changing anything in the
6468    'Set Includes and Arguments' dialog.
6469    Disable Compile/Run buttons/menu items when Compile/Run commands are
6470    set but empty.
6471    Reset current build directory to the base directory after reading a
6472    "Leaving directory" message when parsing Make output
6473    (closes #2694479, patch by Andrea Mazzoleni, thanks).
6474  * src/notebook.c:
6475    Fix wrong display of the filename in the tab bar menu for new files.
6476  * src/dialog.c:
6477    Set the initial directory for the Save As dialog only once on
6478    initialisation.
6479    Add a shortcut of the project's base directory to the
6480    File Open/Save As dialogs when a project is open for faster access.
6481  * src/splitwindow.c:
6482    Add keybindings for the split actions.
6485 2009-03-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6487  * src/search.c:
6488    When using Find All in the Find dialog (in Session and Document),
6489    display the right amount of matches.
6490    Fix the display of the matches once per line (I broke the original
6491    patch).
6492  * src/ui_utils.c:
6493    Fix wrong directory selection behaviour in all Open Folder dialogs
6494    (closes #2688020, patch by Marcel Stimberg, thanks).
6495  * src/socket.c:
6496    Don't present the main window of a running instance when starting
6497    a second instance separately.
6500 2009-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6502  * src/socket.c:
6503    Reduce default file permissions on the Unix Domain socket file
6504    (reported by Jörg Sommer, thanks).
6507 2009-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6509  * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6510    src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6511    src/prefs.h:
6512    Add an option to set an additional plugin lookup path.
6513  * src/search.c:
6514    When using Find All in the Find dialog, display matches only once
6515    per line in the messages window (patch by Bert Vermeulen, thanks).
6518 2009-03-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6520  * data/filetype_extensions.conf, data/filetypes.actionscript,
6521    src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6522    src/highlighting.c, src/plugindata.h, src/symbols.c,
6523    tagmanager/Makefile.am, tagmanager/actionscript.c,
6524    tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6525    Add filetype ActionScript (patch by Chris Macksey, thanks).
6526    Update type keywords only for real C-like languages.
6527    Fix wrong sorting of Assembler and Ada filetypes.
6528  * plugins/classbuilder.c:
6529    Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6530    Other minor cleanups.
6533 2009-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6535  * src/notebook.c:
6536    Don't use menu item images for the tab bar menu to save some
6537    vertical space.
6538  * data/filetypes.fortran, tagmanager/fortran.c:
6539    Add keyword 'extends' and fix Fortran parser to support the
6540    'extends' keyword (closes #2654492).
6541  * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6542    src/search.c, src/toolbar.c:
6543    Fix punctuation.
6546 2009-03-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6548  * src/about.c, THANKS:
6549    Added Jari Rahkonen to list of Finnish translators.
6552 2009-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6554  * geany.pc.in:
6555    Adjust minimum required GTK version.
6556  * src/Makefile.am, wscript:
6557    Add main.h to the list of installed header files.
6558  * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6559    src/notebook.c, src/ui_utils.c:
6560    Remove GeanyDocumentPrivate::tabmenu_label.
6561    Disable the default tab bar menu for the main notebook widget and
6562    use a custom menu instead which lists all open files as usual plus
6563    'Close Other Documents' and 'Close All' menu items.
6566 2009-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6568  * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6569    Move ui_set_search_entry_background() into ui_utils.c.
6570    Change the background colour of the search entries in the Find
6571    and Replace dialogs according to the search results like in the
6572    toolbar search field.
6573    Add images to the 'Replace' and 'Replace and Find' buttons in the
6574    Replace dialog.
6575    Minor cleanups in search.c.
6576  * tagmanager/tm_source_file.c:
6577    Update source files upon creation.
6578  * data/c99.tags:
6579    Update C tags for glibc 2.9.
6580  * src/callbacks.c, src/toolbar.c:
6581    Fix broken non-incremental search with the toolbar search entry when
6582    pressing Enter (closes #2638180).
6583  * plugins/splitwindow.c:
6584    Fix possible crash on non-32-bit systems (patch by
6585    Wolfgang Ocker, thanks).
6586  * geany.spec.in:
6587    Update the Packager tag due to Dominic's various contributions.
6588    Update description and feature list.
6589    Change Source tag to the gzip'ed tarball to be in sync with the
6590    Makefile target (thanks to Wolfgang Ocker for reporting).
6593 2009-02-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6595  * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6596    Removed deprecated plugin VC Diff
6599 2009-02-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6601  * src/templates.c:
6602    Fix wrong Fortran 90 comment characters when inserting templates.
6603  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6604    src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6605    src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6606    src/vte.h, THANKS:
6607    Add 'Send Selection to Terminal' command to the Edit->Format menu
6608    (initial patch by David Gleich, thanks).
6609  * geany.glade, src/interface.c:
6610    Fix mnemonic for the Edit->Preferences menu item.
6613 2009-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6615  * configure.in, plugins/Makefile.am:
6616    Enable socket support when cross-compiling.
6617    Enable plugin compilation when cross-compiling.
6618  * src/msgwindow.c:
6619    Fix missing NULL checks when reading the colour value of compiler
6620    output messages.
6621  * src/main.c, src/win32.c, src/win32.h:
6622    On Windows, change the working directory to the Geany installation
6623    path at startup to avoid unwanted directory locking(closes #2626124).
6624  * src/encoding.c:
6625    Fix broken selection of "Document->Set Encoding" menu items.
6626  * src/document.c, tagmanager/include/tm_source_file.h,
6627    tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6628    tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6629    tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6630    Don't let the tagmanager automatically reparse files if they
6631    seem to be changed on disk (affects all files in the current session,
6632    not the current one). This should speed up file saving a little bit,
6633    especially with remote files.
6634    Remove now unnecessary calls to tm_workspace_update().
6635  * src/printing.c:
6636    Allow an empty value for the date format in the print settings to
6637    omit the date/time string in the print header.
6640 2009-02-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6642  * src/editor.c: Set cursor for LaTeX at auto closing of environment
6643    direct into area.
6646 2009-02-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6648  * src/utils.h:
6649    Add missing header include (closes #2615808).
6652 2009-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6654  * src/symbols.c:
6655    Fix a possible crash when comparing symbol names
6656    (could be related to Ubuntu bug #147151).
6657    Fix broken symbol list tooltips when tag names contain ampersands.
6660 2009-02-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6662  * plugins/makefile.win32:
6663    Don't build Split Window plugin on Windows (doesn't work).
6666 2009-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6668  * ChangeLog, Makefile.am: Rotate ChangeLog.
6669  * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6670    wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6671    Post-release version bump.
6674 *** See ChangeLog.pre-0-17 for earlier changes ***