Make `Send selection to` send the current line if there is no selection
[geany-mirror.git] / ChangeLog
blob1e05b2da31a1cc4412580ecb2f6fe1f5f9da6571
1 2011-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3  * src/interface.c, src/interface.h, geany.glade:
4    Rename Preferences dialog Interface subtab More -> Notebook tabs.
5  * src/toolbar.c, src/dialogs.c:
6    Use mimetype icon in File Properties dialog.
7  * doc/geany.txt, doc/geany.html:
8    Fix title capitalization.
9  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
10    Move Preferences dialog Toolbar tab under Interface tab.
11  * src/build.c:
12    Tweak some build dialog labels:
13    Clear -> Reset.
14    Fix capitalization.
15    Use filetype name instead of title.
16  * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
17    Remove old filetype templates support - users can use custom file
18    templates instead.
21 2011-04-01  Colomban Wendling  <colomban(at)geany(dot)org>
23  * src/encodings.c:
24    Update regex used to find encodings for it to allow the encoding to
25    be quoted, adding support for XML (closes #3183506).
26  * src/encodings.c:
27    Implement charset name normalization in order to better deal with
28    badly-written encoding names (i.e. names found by regex search).
29    This also makes encodings_get_idx_from_charset() and
30    encodings_get_from_charset() more permissive regarding the passed-in
31    encoding name.
32  * src/encodings.c:
33    Always try to honor the charset found in the document, even if the
34    document can be loaded as UTF-8.
35    This make files encoded with e.g. ISO-8859-1 that have the proper
36    information in them but only use the UTF-8 compatible part of
37    ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
38    Also fix check for locale encoding.
39  * src/tools.c, doc/geany.txt, doc/geany.html:
40    Make `Send selection to` send the current line if there is no
41    selection.
44 2011-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
46  * plugins/filebrowser.c:
47    Make 'Hide object files' preference configurable with file
48    extensions.
49  * plugins/filebrowser.c:
50    Fix applying default setting for hide_object_files (oops).
51    Fix warning when enabling plugin from the Plugin Manager.
52  * plugins/filebrowser.c:
53    Fix optimization for filter check when pattern is '*'.
54    Use foreach_strv() instead of foreach_c_array().
55  * plugins/filebrowser.c:
56    Don't hide directories matching hidden file extensions e.g. foo.o.
57    Refactor with check_object().
60 2011-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
62  * src/editor.c:
63    Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
64    crash in the Split Window plugin when changing filetype (patch by
65    Matthew Brush, thanks; fixes #3255968).
66  * plugins/splitwindow.c:
67    Update styles when the filetype changes (based on patch by
68    Matthew Brush, thanks).
69  * plugins/saveactions.c:
70    Fix Instant Save preferences combo box filetype order.
71  * plugins/filebrowser.c:
72    Remove macro CHECK_READ_SETTING().
75 2011-03-30  Colomban Wendling  <colomban(at)geany(dot)org>
77  * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
78    src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
79    Add plugin_idle_add(), plugin_timeout_add() and
80    plugin_timeout_add_seconds() to the plugin API. These are
81    convenience wrappers to ensure the added timeouts are properly
82    removed when unloading the plugin, preventing possible crashes.
83  * plugins/splitwindow.c:
84    Use new plugin_idle_add(), preventing an unlikely crash.
85  * doc/pluginsymbols.c, src/sciwrappers.c:
86    Fix a few Doxygen warnings.
87  * plugins/saveactions.c:
88    Properly use 0 as the invalid timeout source ID.
91 2011-03-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
93  * doc/geany.txt, doc/geany.html:
94    Add #reading-styles-from-another-filetype subsection, based on
95    patch by Matthew Brush (thanks).
96  * doc/geany.txt, doc/geany.html:
97    Add #filenames subsection for filetype definition files explaining
98    the filename extensions and special cases.
99  * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
100    src/main.c, plugins/geanyfunctions.h:
101    Add filetypes_get_sorted_by_name() to API.
102    Fix --ft-names sorting to print in name order, not title order.
105 2011-03-28  Colomban Wendling  <colomban(at)geany(dot)org>
107  * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
108    Don't update parent WorkObjects when updating one in real-time. This
109    should fix some performance issues if a WorkObject has many parents.
112 2011-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
114  * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
115    wscript:
116    Initialize GLib's Gthread system early at startup in case any
117    plugins need it.
118  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
119    doc/geany.txt, doc/geany.html:
120    Add new keybinding 'Remove Markers and Error Indicators'.
123 2011-03-26  Colomban Wendling  <colomban(at)geany(dot)org>
125  * src/sidebar.c:
126    Fix the sidebar popup menu to properly use the currently selected
127    item rather than the previous one.
128    Also change the hack used for the selection to be updated in the
129    input handlers to call the GtkTreeView's handler manually rather than
130    doing the actual job in IDLE callbacks for the TreeView's handler to
131    have run.
132  * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
133    src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
134    src/project.c:
135    Add possibility to detect the indentation width from the file content
136    (not supported if indentation type is tabs only).
137  * plugins/splitwindow.c:
138    Enable code folding in splitview window (based on a patch by Matthew
139    Brush, thanks! - closes #3097780).
140    Fix confusing terminology in Split Window plugin menu labels (patch
141    by Matthew Brush - closes #2796316).
142    Don't unsplit when closing the displayed document but rather pick the
143    new current one if any.
146 2011-03-25  Colomban Wendling  <colomban(at)geany(dot)org>
148  * data/filetypes.vala:
149    Update Vala keywords (based on a patch from Matthew Brush, thanks).
150  * data/document.c:
151    Small code cleanups.
154 2011-03-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
156  * plugins/filebrowser.c:
157    Add history to filter entry.
158  * src/keybindings.c, src/vte.c:
159    Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
160    (Ctrl-Shift-V).
161  * src/keybindings.c:
162    Make VTE copy/paste shortcuts work if 'Override Geany
163    keybindings' is not set.
166 2011-03-24  Colomban Wendling  <colomban(at)geany(dot)org>
168  * doc/geany.txt, doc/geany.html:
169    Update the documentation to talk about real-time tag parsing.
170  * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
171    src/document.c, src/document.h, src/geanyentryaction.c,
172    src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
173    Make Shift-Enter in search dialog and toolbar search entries search
174    backwards.
175  * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
176    src/dialogs.c, src/document.c, src/document.h, src/editor.c,
177    src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
178    src/main.c, src/plugins.c, src/printing.c, src/project.c,
179    src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
180    Improve usage of G_LIKELY() and G_UNLIKELY() macros.
183 2011-03-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
185  * src/main.c:
186    Make --ft-names list filetypes alphabetically.
187  * plugins/filebrowser.c:
188    Allow multiple file filters to be separated by a space for
189    consistency with Find in Files file patterns. ';' is still
190    allowed also.
193 2011-03-20  Colomban Wendling  <colomban(at)geany(dot)org>
195  * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
196    src/filetypes.c, src/filetypes.h, src/templates.c:
197    Add new filetype setting "comment_single" to provide separated
198    single-line and multiline comment support. Single-line are used in
199    priority to comment code, and multiline to make template comments.
200  * src/editor.c, src/search.c, tagmanager/diff.c:
201    Don't use strlen(..) > 0 or == 0, simply check the first character
202    against 0.
203  * src/document.c:
204    Update forced indent settings when setting the filetype. This makes
205    documents created or set to a filetype with forced indent setting
206    (Makefile, F77) to have the correct setting right away.
209 2011-03-19  Colomban Wendling  <colomban(at)geany(dot)org>
211  * src/callbacks.c:
212    Create a new undo action when inserting templates, making sure the
213    user can undo the template insertion without also undoing a previous
214    action.
217 2011-03-18  Colomban Wendling  <colomban(at)geany(dot)org>
219  * src/document.c, src/encodings.c, src/encodings.h:
220    Move document encoding conversion with BOM support to encodings.[ch]
221    as encodings_convert_to_utf8_auto().
222  * src/templates.c:
223    Properly convert template files to UTF-8 on loading, fixing encoding
224    issues if templates files are not encoded in UTF-8.
227 2011-03-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
229  * data/templates/files/main.vala:
230    Add file template for Vala (patch by Mark Trompell, thanks).
233 2011-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
235  * src/utils.c, src/utils.h, src/filetypes.c:
236    Support copying filetype definition file group keys from a system
237    keyfile with e.g. [styling=C].
238    Add function utils_make_filename() for building filenames easily.
239  * THANKS, plugins/classbuilder.c:
240    Improve Class Builder plugin dialog UI using a table (patch by
241    Matthew Brush, thanks).
242  * plugins/classbuilder.c:
243    Fix GLib warning when creating classes and no documents are open
244    (patch by Matthew Brush, thanks).
245  * plugins/classbuilder.c:
246    Undo patch change to cc_option_label_new() to append a ':' colon to
247    label text because this unnecessarily causes string translations to
248    be updated.
249  * src/interface.c, geany.glade:
250    Fix wrong label capitalization for Toolbar Preferences dialog tab
251    and 2 other labels.
252  * data/filetypes.Scala.conf, data/filetype_extensions.conf:
253    Add Scala custom filetype, based on file by werg (thanks).
254    (This uses the newly added [styling=C] syntax).
255  * src/filetypes.c:
256    Make special case for filetypes.matlab instead of truncating all
257    filetype config filenames at slash.
258  * src/filetypes.c:
259    Fix generating tag files and --ft-names option by ensuring GTK is
260    initialized before calling ui_get_mime_icon().
263 2011-03-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
265  * THANKS, src/about.c:
266    Adding Wei-Lun Chao as current maintainer for traditional Chinese
267    translation.
270 2011-03-15  Colomban Wendling  <colomban(at)geany(dot)org>
272  * src/templates.c, src/templates.h:
273    Use the same indentation for all templates (part of FR#3193527; from
274    a patch by Matthew Brush, thanks).
275  * src/plugins.c:
276    Always keep the list of loaded plugin sorted by name.
279 2011-03-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
281  * data/filetype_extensions.conf:
282    Add Markdown extension.
285 2011-03-10  Colomban Wendling  <colomban(at)geany(dot)org>
287  * src/toolbar.c:
288    Correctly expand the menubar if the toolbar is appended to it but
289    not visible (closes #3204955).
290  * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
291    src/tools.c, src/utils.c:
292    Prefer prepend elements to lists rather than append them, for better
293    performances.
296 2011-03-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
298  * src/geany.h:
299    Fix wrong code example in the API docs
300    (spotted by Matthew Brush, thanks).
303 2011-03-07  Colomban Wendling  <colomban(at)geany(dot)org>
305  * tagmanager/mio/mio-memory.c:
306    Import upstream MIO changes not to require a C99 compiler.
309 2011-03-06  Colomban Wendling  <colomban(at)geany(dot)org>
311  * src/symbols.c:
312    When sorting tags by line, also sort by scope if line is the same,
313    avoiding wrong sorting if a parent tag is on the same line than its
314    children, and one of it's children would be sorted before
315    alphabetically (closes #3193982).
318 2011-03-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
320  * src/interface.c, geany.glade:
321    Fix typo.
322  * src/search.c:
323    Remember Find and Replace options across restarts
324    (patch by Dimitar Zhekov, thanks).
325    Cleanup.
326    Respect saved state of 'Case sensitive' option when using
327    the 'Regular expressions' option as well.
328  * plugins/export.c:
329    Add option to insert line numbers (closes #3197150).
330    Cleanup.
331    Use the full filename and add the extension of the export format.
332    Fix off-by-one bug which hidden the last empty line of a document.
335 2011-03-05  Colomban Wendling  <colomban(at)geany(dot)org>
337  * configure.ac, wscript, makefile.win32, src/Makefile.am,
338    src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
339    tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
340    tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
341    tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
342    tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
343    tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
344    Move most of TagManager's I/O to MIO.
345  * src/document.c:
346    Enable in-memory tag parsing.
347  * geany.glade, src/editor.c, src/editor.h, src/interface.c,
348    src/keyfile.c:
349    Add possibility to update symbol list in IDLE time, enabled by
350    default using a minimal delay of 250ms.
351  * src/symbols.c:
352    Improve implementation of hide_empty_rows() to do all in one shot.
353  * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
354    tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
355    tagmanager/tm_workspace.c:
356    Make TMTag reference-counted.
357  * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
358    tagmanager/tm_tag.c:
359    Provide a GType for TMTag and use it in the tag store to make sure
360    the tags it holds are always valid.
361  * src/sidebar.c:
362    Don't remove and add the symbols tree view if we re-add the same one.
363  * src/sidebar.c, src/sidebar.h, src/symbols.c:
364    Update the symbol list rather than clearing and re-building it.
365    There is room for improvement in the implementation side, but it
366    is harder to do, probably a future improvement.
367  * tagmanager/c.c:
368    Fix suffix of anonymous symbols (structs, enums, ...).
369  * tagmanager/c.c:
370    Plug a memory leak.
373 2011-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
375  * plugins/saveactions.c:
376    Fix wrong warning on empty backup directory setting if
377    'Backup Copy' is not enabled at all.
378  * AUTHORS, src/about.c, README.Packagers, README:
379    Welcome Colomban Wendling, a new Geany developer.
382 2011-02-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
384  * src/templates.c:
385    Fix segfault when inserting e.g. fileheader template when the
386    template file is empty (#3070913, thanks to lphilpot).
389 2011-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
391  * plugins/filebrowser.c:
392    Add support for multiple file filters, separated by semicolon
393    (based on a patch by Grigory Javadyan, thanks).
396 2011-02-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
398  * data/filetype_extensions.conf:
399    Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
400    #3154637).
403 2011-02-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
405  * tagmanager/latex.c:
406    Add a workaround for #3066566 to prevent Geany from crashing during
407    loading of a LaTeX-file containing linebreaks inside headings.
410 2011-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
412  * tagmanager/php.c:
413    Fix memory leaks (reported by an anonymous IRC user).
414  * doc/geany.txt, doc/geany.html:
415    Replace '+' by '-' in the Scintilla Keybindings section
416    to be consistent with the other mentioned keybindings.
417  * src/project.c:
418    Improve error checking when trying to write project files
419    (patch by Colomban Wendling, thanks).
420    Add a warning if writing the project file fails on close.
421  * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
422    Rename utils_is_file_writeable() into utils_is_file_writable().
425 2011-01-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
427  * src/editor.c:
428    Ensure the editor widget has the focus when the editor menu is
429    called.
430  * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
431    scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
432    src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
433    src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
434    tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
435    data/filetype_extensions.conf, wscript:
436    Add filetype Cobol (based on a patch by Seth Keiper).
439 2011-01-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
441  * plugins/filebrowser.c:
442    Add '.pyc' to the list of hidden object files
443    (patch by Filip Gruszczyński, thanks).
446 2011-01-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
448  * *.*:
449    Update copyright information.
450  * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
451    geany_private.rc, win32-config.h, wscript, src/geany.h:
452    Post-release version bump.
455 2011-01-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
457  * src/highlighting.c, data/filetypes.javascript:
458    Add and use secondary keywords for filetype JavaScript,
459    update and sanitize JavaScript keyword lists
460    (patch by Jason Oster, thank you).
463 2011-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
465  * THANKS, src/about.c:
466    Added Rafael Peregrino da Silva to list of contributors for Brazilian
467    Portuguese (pt_BR) translation.
470 2011-01-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
472  * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
473    Add Save As toolbar button option (patch by Matthew Brush, thanks;
474    #3153490).
475  * scintilla/*, src/utils.c, src/notebook.c,
476    data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
477    data/filetypes.cs, data/filetypes.c, wscript:
478    Merge unstable branch:
479  - src/utils.c:
480    Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
481  - src/notebook.c:
482    Add 'Open in New Window' command in the notebook tab menu (based on
483    patch by Matthew Brush, thanks - #3118059).
484  - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
485    data/filetypes.cs, data/filetypes.c:
486    Disable preprocessor #define tracking for the CPP lexer
487    (enabled by default in Scintilla).
488  - scintilla/*, wscript:
489    Update Scintilla to version 2.22.
490    Use Scintilla's directory structure mostly and only remove
491    unused lexers.
494 2011-01-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
496  * New release: Geany 0.20 "Disra".
499 2011-01-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
501  * src/plugins.c:
502    Add debug message with the number of compatible plugins in each
503    plugin search path when showing the Plugin Manager dialog.
506 2010-12-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
508  * doc/geany.txt, doc/geany.html:
509    Move and update 'Custom filetypes' section.
510    Add 'Creating a custom filetype from an existing filetype' section.
513 2010-12-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
515  * src/interface.c, src/keybindings.c, geany.glade:
516    Add Edit->Insert Alternative White Space menu item (was previously
517    removed from Edit->Commands submenu).
520 2010-12-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
522  * src/interface.c, geany.glade:
523    Split Preferences dialog Interface tab into subnotebook to reduce
524    height of dialog (fixes #3141277). Reuses existing strings.
525  * src/editor.c:
526    Scroll to the current line when moving the cursor to the next
527    cursor position in a snippet (#3139490).
528  * doc/geany.txt, doc/geany.html:
529    Add short 'View menu' section and 'Color schemes menu' section.
530  * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
531    Add filetypes_get_display_name() to API.
534 2010-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
536  * src/build.c:
537    Reduce Set Build Commands dialog column 1 width by using '#' label.
538    Fix memory leak.
539  * src/build.c:
540    Use italic for note labels in the Build Commands dialog.
543 2010-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
545  * src/build.c, src/build.h:
546    Replace doc-comments with '/* *' comments to show there's no build
547    API for plugins.
550 2010-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
552  * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
553    Fix segfaults when using 'Send Selection to Terminal' and the VTE
554    is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
555    pref (patch by Dimitar Zhekov, thanks).
556  * src/build.c, src/keyfile.c:
557    Fix some more wrong uses of vte_info.load_vte instead of
558    vte_info.have_vte.
559  * src/main.c:
560    Disable 'Send Selection to Terminal' item when not available
561    instead of removing it to avoid trailing separator.
562  * doc/geany.txt, doc/geany.html:
563    Add 'Configuration file paths' section and link to it instead of
564    repeating typical system data and user config directory paths.
565    List 2 Tools->Configuration Files menu items.
566    Add 'Plugin Manager' section break.
567    Edit some related sections.
568  * doc/geany.txt, doc/geany.html:
569    Update Ignore Tags section with example and menu item.
570  * doc/geany.txt, doc/geany.html:
571    List 'Tools->Configuration Files->filetypes.common' menu item.
574 2010-12-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
576  * src/document.c:
577    Improve error message for document_save_file() if doc->file_name is
578    NULL (reusing existing strings).
579    Add warning about this in the API docs.
582 2010-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
584  * scintilla/ScintillaGTK.cxx:
585    Backport Scintilla HG fix: Remove styling idle in destructor to
586    avoid crashing when idle called after ScintillaGTK instance
587    destroyed (fixes #3111058).
588    This prevents a crash when closing a modified document (usually
589    without a trailing newline) and choosing Save.
592 2010-12-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
594  * src/document.c:
595    Warn about file truncation if unsafe file saving fails.
598 2010-11-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
600  * src/utils.c:
601    Check result of fclose() for utils_write_file().
604 2010-11-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
606  * win32-config.h:
607    Enable GIO and built-in regex support on Windows
608    when compiling without Waf.
611 2010-11-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
613  * geany_private.rc:
614    Reformat and improve the Windows resource file.
617 2010-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
619  * data/filetype_extensions.conf:
620    Add *.latex pattern.
621  * src/interface.c, geany.glade:
622    Add note to indentation prefs page about using Project->Apply
623    Default Indentation for currently open documents.
626 2010-11-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
628  * src/interface.c, src/keybindings.c, src/callbacks.c,
629    src/callbacks.h, geany.glade:
630    Add 'Mark All' Search menu command.
631  * src/symbols.c, doc/geany.txt, doc/geany.html:
632    If the current word's tag is on the current line, make Go to Tag
633    Definition look for a tag declaration instead, as this is more
634    useful. Likewise make Go to Tag Declaration search for a tag
635    definition in this case also.
636  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
637    Don't use 'Enable' in pref labels when unnecessary.
638    Rename XML/HTML tag autocompletion -> auto-closing.
639  * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
640    doc/geany.html:
641    Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
642    thanks).
643  * src/keybindings.c, src/editor.c, src/editor.h:
644    Add editor_get_prefs() instead of editor_get_long_line_*()
645    functions. This general function can be extended to support
646    various project and document overrides.
647  * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
648    src/editor.c, src/editor.h:
649    Remove unnecessary 'global' from long line editor pref field names.
652 2010-11-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
654  * doc/geany.txt, doc/geany.html:
655    Explain how to grep the source for Scintilla lexer properties.
656  * src/sidebar.c, src/callbacks.c, src/main.c:
657    Fix auto-displaying of sidebar tab bar when sidebar is reshown.
658    Only auto-display symbols and documents tabs when showing the
659    sidebar if there are no plugin tabs.
660    Don't hide the sidebar on startup if only plugin tabs are visible
661    (fixes #3101867).
662  * src/plugindata.h:
663    Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
664    so you can protect code with '#if GEANY_API_VERSION >= 200'.
665  * src/plugindata.h:
666    Warn about preprocessor testing GEANY_API_VERSION below 200 because
667    those tests will always fail.
670 2010-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
672  * data/filetypes.xml:
673    Add 'instanceof' keyword for PHP (closes #3109330).
676 2010-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
678  * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
679    Re-focus Set Build Commands/Project dialogs after editing a build
680    command label.
681    Add 'parent' argument to some dialogs_show_input*() functions because
682    the dialog parent may not always be the main window.
683  * src/build.c, src/dialogs.c, src/callbacks.c:
684    Don't change default build command entry color when cancelling
685    label editing.
686    Make dialogs_show_input() return NULL when cancelled.
687  * tagmanager/php.c:
688    Parse PHP final functions (fixes #3111171).
689  * src/dialogs.c, src/plugindata.h, src/plugins.c,
690    plugins/geanyfunctions.h:
691    Add dialogs_show_input() to API.
694 2010-11-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
696  * src/build.c, doc/geany.txt, doc/geany.html:
697    Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
698    Build Commands dialog.
699  * doc/geany.txt, doc/geany.html:
700    Use 'Filetype build commands' and 'Independent build commands'.
701    Fix saying project *independent* execute can only be set by hand.
704 2010-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
706  * src/keybindings.c, src/editor.c, src/editor.h:
707    Make Reflow Lines/Block command use the current indented block, not
708    the whole paragraph, which could have mixed indentation.
709    Fix memory leak and off-by-one bug on first line when using Select
710    Paragraph command.
711  * src/utils.c, src/highlighting.c, src/highlighting.h,
712    src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
713    plugins/geanyfunctions.h:
714    Add API functions (patch by Eugene Arshinov, thanks):
715    Move editor.c: is_{string,comment,code}_style() functions to
716    highlighting.c, add to API.
717    Add editor_find_snippet(), editor_insert_snippet(),
718    utils_find_open_xml_tag() to API.
721 2010-11-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
723  * src/editor.c, doc/geany.txt, doc/geany.html:
724    Don't use XML tag auto-indentation when '</' is to the right of the
725    cursor; allow auto-indentation when XML tag auto-closing is also
726    enabled.
727  * doc/geany.txt, doc/geany.html:
728    Rename 'Format' section 'Filetype configuration'.
731 2010-11-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
733  * waf:
734    Update Waf to current SVN version.
737 2010-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
739  * waf, wscript:
740    Update Waf to version 1.6.1.
741    Update wscript for new Waf version, make it Python 3 compatible.
744 2010-11-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
746  * src/document.c:
747    Display better error messages when saving a document fails (patch by
748    Dimitar Zhekov, thanks).
749  * src/editor.c:
750    Fix wrong snippet indentation when original cursor line has
751    non-indentation whitespace (patch by david, thanks).
752  * doc/geany.txt, doc/geany.html, data/filetypes.php,
753    data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
754    Enable XML tag autoindentation for PHP, Docbook and add docs for
755    this setting (patch by Eugene Arshinov, thanks).
758 2010-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
760  * src/templates.c, src/document.c:
761    Use LF line endings for templates internally instead of default
762    pref because the default can change. This fixes missing line
763    endings sometimes when changing default setting.
764  * src/document.c:
765    Fix not reporting an error message when saving a document fails.
766    Check result of fclose().
767  * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
768    data/filetypes.xml, data/filetypes.html:
769    Add xml_indent_tags filetype setting for documents using the
770    HTML/XML lexers (patch by Eugene Arshinov, thanks).
771  * src/document.c:
772    Set errno to 0 before doing disk I/O to prevent confusing error
773    messages on save failure.
776 2010-11-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
778  * src/templates.c, src/filetypes.c:
779    Save build commands for filetype None (patch by Lex, thanks).
780    Make filetypes_get_conf_extension() return "common" for filetype
781    None.
782  * src/templates.c:
783    Convert line endings for file templates.
784    Fix line endings when using file header template in a file template
785    (oops).
786  * src/utils.c, src/utils.h:
787    Make utils_ensure_same_eol_characters() convert all wrong line
788    endings to the desired one, not just the most common one.
791 2010-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
793  * src/editor.c:
794    Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
795    Zhekov, thanks).
796  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
797    Restore top-level editor popup item 'Find Document Usage'.
798  * src/interface.c, src/ui_utils.c, geany.glade:
799    Remove duplicates in 'Insert Comments' editor popup menu; rename
800    submenu 'More'.
801    Separate main menu insertion comments depending on number of times
802    used in a document.
803  * data/filetypes.*, data/colorschemes/alt.conf:
804    Rename word/word2 named styles to keyword/keyword2.
805  * doc/geany.txt, doc/geany.html:
806    Mention that indentation settings can be overridden per-project.
807  * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
808    doc/geany.txt, doc/geany.html, geany.glade:
809    Add 'Project->Apply Default Indentation' menu command to override
810    every document's indentation settings.
811    Improve 'Indentation' section docs.
814 2010-11-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
816  * src/document.c:
817    Fix build with GTK 2.12: explicitly include gio.h if GIO
818    is available and to be used regardless of the USE_GIO_FILEMON flag.
819  * wscript:
820    Fix installation of template files.
821    Show which regex implementation is used.
822  * src/ui_utils.c:
823    Use non-GIO mime-type icon lookup if GIO lookup fails.
824  * autogen.sh:
825    Allow skipping configure during autogen by setting NOCONFIGURE=1
826    (thanks to Chow Loong Jin).
829 2010-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
831  * src/document.c:
832    Make use_safe_file_saving hidden pref apply even when GIO is
833    available, because g_file_replace_contents() doesn't handle disk
834    space exhaustion.
835  * src/main.c:
836    Show GIO/built-in regex support in startup debug message as well as
837    for --version.
838  * doc/geany.txt, doc/geany.html:
839    Add docs for the HTMLChars plugin (patch by Frank).
842 2010-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
844  * src/filetypes.c:
845    Do not translate 'name' field for filetype None because it is used
846    for hash table lookup. This fixes missing files in the Open dialog
847    for the 'All files' filter with non-English locales (thanks to Sardem
848    FF7, fixes #3094771).
849  * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
850    src/ui_utils.c:
851    Add filetypes_get_display_name() to get translations for filetype
852    None.
853  * src/document.c:
854    Fix resource leak when saving files with GIO (patch by Colomban
855    Wendling, thanks).
858 2010-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
860  * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
861    Add sci_get_lexer() to plugin API.
862  * plugins/htmlchars.c:
863    Only automatically replace characters when the current document is
864    a Markup document.
865  * plugins/htmlchars.c:
866    Rename submenu item labels to be more descriptive.
867  * src/keybindings.c:
868    Fix Alt+[0-9] switching tabs when other modifiers are also held.
869  * src/ui_utils.c:
870    Don't allow pasting of numbers followed by other characters in the
871    Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
872  * src/main.c:
873    Print "GIO" and "built-in regex" if enabled with --version.
874  * src/document.c:
875    Use g_file_replace_contents() if available to save documents - this
876    should help workaround bugs in GVFS (based on patch by Alexey
877    Antipov, thanks).
878    Needs testing.
879  * src/templates.c:
880    Fix wrongly adding newlines for templates on disk that don't have
881    LF line endings when default line endings are not LF, e.g. Windows.
884 2010-11-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
886  * src/utils.c, src/main.c:
887    Remove trailing directory separator for app->datadir and
888    app->docdir for consistency with the other directory fields.
889  * src/filetypes.c:
890    Detect user and system filetype configuration files as Conf
891    filetype.
892  * src/editor.c:
893    Respect 'Smart' home key for Shift+Home (fixes #3100290).
896 2010-11-01  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
898  * data/filetypes.ada:
899    Fix comments for Ada. Thanks to Jonas Baggett for reporting.
902 2010-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
904  * Makefile.am:
905    Add install-data-only target to only install data/* to speed up
906    testing.
907  * src/editor.c:
908    Fix not autocompleting when breaking lines.
909  * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
910    data/colorschemes/alt.conf, data/filetypes.haxe,
911    data/filetypes.common, data/filetypes.glsl,
912    data/filetypes.actionscript, data/filetypes.cs,
913    data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
914    data/filetypes.Genie.conf:
915    Add named style 'extra', use for C-like filetypes.
918 2010-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
920  * data/filetypes.xml:
921    Match data-* and aria-* as HTML attributes.
922  * data/colorschemes/alt.conf, data/filetypes.common,
923    data/filetypes.python:
924    Make Python use named styles for color scheme support - use
925    alt.conf color scheme if you want the old colors.
926    Add named style 'function'.
927  * src/plugindata.h:
928    Move plugin_set_info prototype and parenthesize arguments for
929    PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
930    thanks).
931    Fix putting pointer symbol before name, not after type.
934 2010-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
936  * src/filetypes.c, src/ui_utils.c:
937    Fix notebook tab menu icons using theme for "text/plain" filetypes.
938    Make filetype mime_type "text/plain" instead of NULL.
941 2010-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
943  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
944    Edit XML tag autocompletion pref and tooltip to include HTML.
945  * doc/geany.txt, doc/geany.html:
946    Add docs for 'Ensure consistent line endings' pref.
947  * src/keyfile.c:
948    Change default for 'Override Geany keybindings' to on.
949  * src/filetypes.c:
950    Sort filetypes_by_title last instead of on insertion to prevent
951    exponential time.
952  * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
953    Add filetype mimetype field (patch by Colomban Wendling, thanks).
954  * src/sidebar.c, src/document.c:
955    Show mimetype icon in sidebar Documents list (patch by Colomban
956    Wendling, thanks).
957  * src/ui_utils.c:
958    Add notebook tab document icons (based on patch by Colomban
959    Wendling, thanks).
960  * src/filetypes.c:
961    Leave text/plain mime_type fields as NULL (like custom filetypes).
964 2010-10-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
966  * src/editor.c, data/snippets.conf:
967    Move HTML automatic <table> tag completion into a 'table' snippet
968    so the user can decide when to use it (patch by Eugene Arshinov,
969    thanks).
970  * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
971    src/document.c, src/document.h, THANKS, geany.glade:
972    Add 'Ensure consistent line endings' file saving pref (patch by
973    Manuel Bua, thanks).
974  * src/utils.c, src/utils.h, src/editor.c:
975    Auto-indent after an HTML/XML line with a missing closing tag (patch
976    by Eugene Arshinov, thanks).
977    Behaviour only applies if XML tag autoclosing is off.
978  * src/templates.c, src/build.c, src/document.c, src/editor.c,
979    src/symbols.c, plugins/saveactions.c:
980    Remove unnecessary uses of FILETYPE_ID() macro with
981    GeanyDocument::file_type.
982  * data/filetypes.xml:
983    Add HTML5 attributes (thanks to Ross McKay).
986 2010-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
988  * src/prefs.c:
989    Fix not changing edited keybindings when cancelling the Preferences
990    dialog.
991  * data/filetypes.xml:
992    Add HTML5 element names (thanks to Ross McKay).
995 2010-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
997  * src/utils.c, src/filetypes.c:
998    Remove filetype default extensions from code.
999  * src/filetypes.c:
1000    Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1001  * src/prefs.c:
1002    Refactor shared code with kb_cell_edited_cb().
1005 2010-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1007  * src/highlighting.c:
1008    Use radio buttons for View->Editor->Color Schemes menu.
1009    Don't hide the menu when only the default item is available.
1010  * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1011    Add alternative color scheme based on Python colors.
1012  * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1013    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1014    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1015    data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1016    Add Erlang filetype (patch by Taylor Venable, thanks).
1017  * src/filetypes.c, data/filetypes.*:
1018    Move filetype 'extension' default into data files.
1019  * src/filetypes.c, data/filetypes.vala:
1020    Move filetype comment_{open,close} defaults into data files.
1023 2010-10-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1025  * data/filetypes.c, data/filetypes.d:
1026    Add missing C99 keyword 'restrict' (#3046716).
1027    Add missing D1 keywords 'ref' and 'macro'.
1028    Add D2 keywords.
1029  * tagmanager/c.c:
1030    Parse Vala functions with contracts (#3080232).
1031  * src/project.c:
1032    Fix saving project indent prefs straight after using project
1033    properties.
1034  * src/highlighting.c, src/filetypes.c:
1035    Prevent debug message about a missing 'default' named style when
1036    using just a user color scheme file.
1039 2010-10-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1041  * src/search.c:
1042    Fix off-by-one bug in 'search_mark_all'.
1045 2010-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1047  * tagmanager/get.c:
1048    Ignore D /+ +/ comments.
1049  * tagmanager/c.c:
1050    Ignore D unittest blocks.
1051    Parse D template functions with constraints.
1052  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1053    Add 'Insert New Line Before/After Current' keybindings (based on
1054    patch by Eugene Arshinov, thanks).
1055  * src/document.c:
1056    Use secondary text for 'file not found on disk' dialog.
1059 2010-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1061  * src/stash.c:
1062    Fix build with GLib 2.8.
1065 2010-10-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1067  * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1068    configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1069    Revert X11 workspace socket support as it needs more work; moved
1070    to workspace-sockets branch.
1073 2010-10-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1075  * src/geanywraplabel.c:
1076    Fix build with GLib 2.8.
1077  * src/dialogs.c, src/about.c, THANKS:
1078    Group Open dialog encoding options by submenus (patch by Adam Ples,
1079    thanks; #3047717).
1080  * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1081    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1082    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1083    data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1084    Add Lisp filetype (patch by Mário Silva, thanks).
1085    Note: Lisp lexer was taken from Scintilla instead.
1088 2010-10-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1090  * po/kk.po, THANKS, src/about.c:
1091    Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1092    providing.
1095 2010-10-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1097  * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1098    Don't cache overridden lexer properties.
1099    Add foreach_strv() to plugin API.
1100    Add utils_strv_join().
1101  * tagmanager/basic.c:
1102    Parse property, constructor, destructor as functions (patch by
1103    pottersson, thanks; #2992167).
1106 2010-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1108  * src/tools.c, doc/geany.txt, doc/geany.html:
1109    Fix passing quoted arguments when using 'Send Selection to'. This
1110    means sed 's/\./(dot)/g' now works.
1111  * src/editor.c:
1112    Add snippet keybinding support for keys in user snippets.conf (based
1113    on patch by Eugene Arshinov, thanks). No docs yet.
1114  * doc/geany.txt, doc/geany.html:
1115    Add some subheadings for Snippets section.
1116  * doc/geany.txt, doc/geany.html:
1117    Add snippet keybindings docs.
1118  * src/highlighting.c, src/utils.h:
1119    Move foreach_strv to utils.h.
1120  * src/editor.c, data/snippets.conf:
1121    Read snippet keybindings from system keyfile also.
1122    Add keybinding example to default snippet.conf.
1125 2010-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1127  * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1128    src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1129    data/filetypes.txt2tags, data/filetypes.markdown,
1130    data/filetypes.restructuredtext:
1131    Add symbol_list_sort_mode per-filetype setting, set to sort by line
1132    number by default for Markdown, reStructuredText and Txt2Tags.
1133    Add utils_get_setting() macro for reading a key from a home or
1134    system keyfile.
1135    Move GeanyFiletypePrivate to filetypesprivate.h.
1136  * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1137    Link with X11 if found to fix linking with a recent GNU ld.
1138  * src/document.c:
1139    Avoid delay and redrawing when automatically opening a new document
1140    after closing one.
1141  * scintilla/LexForth.cxx, scintilla/makefile.win32,
1142    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1143    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1144    data/filetypes.forth, data/filetype_extensions.conf, wscript:
1145    Add Forth filetype (patch by Thomas Huth, thanks).
1146  * src/tools.c:
1147    Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1148    commands for 'Send Selection to' (oops).
1151 2010-09-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1153  * src/editor.c:
1154    When commenting/uncommenting with single-line comment characters,
1155    ignore any end of line characters before evaluating the current line.
1156  * data/filetypes.python:
1157    Simplify Python Compile/Syntax Check command.
1160 2010-09-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1162  * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1163    doc/geany.html:
1164    Add hidden pref 'find_selection_type' with option to repeat last
1165    search when there's no selection.
1166    Change default Find Selection behaviour to not let the X selection
1167    override the current word (can be confusing).
1168    Add docs for Find Selection commands.
1169  * src/document.c:
1170    Fix segfault on idle callback when quitting.
1171  * src/interface.c, src/keybindings.c, geany.glade:
1172    Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1173    Insert menu.
1174  * src/interface.c, geany.glade:
1175    Move editor popup menu Insert Comments submenu to top of Insert menu.
1176  * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1177    doc/geany.html:
1178    Add hidden pref new_document_after_close for whether to open a new
1179    document automatically, off by default.
1180  * HACKING:
1181    Add 'Bugs to watch out for' section.
1184 2010-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1186  * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1187    doc/stash-gui-example.c:
1188    Improve Stash GUI example.
1191 2010-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1193  * src/interface.c, geany.glade:
1194    Move Go to Marker menu items to Search menu.
1195    Rename popup editor menu item Commands -> Edit.
1196  * src/callbacks.c, src/search.c, src/search.h:
1197    Move find_again() to search.c.
1198  * src/search.c:
1199    Make Find Selected commands repeat the last search if the selection
1200    was lost.
1201  * doc/geany.txt, doc/geany.html:
1202    Add docs for Find Selection keybindings.
1203  * src/interface.c, src/keybindings.c, geany.glade:
1204    Unify Find Selection strings.
1205  * src/interface.c, src/ui_utils.c, geany.glade:
1206    Group editor popup Insert commands in a submenu, with extra items
1207    for the most commonly used Insert Comments commands.
1208    Show Edit->Commands before Format in menubar Edit menu (to match
1209    keybindings order).
1210    Show Open Selected F_ile popup item below submenus.
1213 2010-09-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1215  * src/ui_utils.c:
1216    Refactor shared submenu code with GeanySharedMenu array.
1217  * src/interface.c, src/ui_utils.c, geany.glade:
1218    Add Search submenu for Find Selected, Find Usage, Go to Tag items,
1219    shared with the editor popup menu.
1220  * src/document.c:
1221    Open a new document automatically after closing all documents.
1224 2010-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1226  * src/callbacks.c:
1227    Prompt for reloading if the document has an undo stack to avoid
1228    losing undo ability on accidental reloading (patch by Colomban
1229    Wendling, thanks).
1230  * src/project.c, src/geanyobject.c, src/geanyobject.h,
1231    doc/pluginsignals.c:
1232    Add plugin signals project-dialog-create and
1233    project-dialog-confirmed so plugins can append a Project Properties
1234    notebook tab (patch by Jiří Techet, thanks).
1235  * src/ui_utils.h, src/plugindata.h, src/main.c:
1236    Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
1237  * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
1238    src/plugins.c, plugins/geanyfunctions.h:
1239    Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
1242 2010-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1244  * src/keyfile.c:
1245    Save document indent width with the session.
1246  * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
1247    doc/geany.html, TODO:
1248    Use a separate socket per workspace on X (patch by Erik de Castro
1249    Lopo, thanks).
1252 2010-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1254  * src/main.c:
1255    Ignore directories passed on the command-line (based on patch by
1256    Erik de Castro Lopo, thanks).
1257  * tagmanager/c.c:
1258    Parse D function template names.
1259  * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
1260    src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
1261    geany.glade:
1262    Allow per-document indent width setting (patch by Jiří Techet,
1263    updated by Erik de Castro Lopo - thanks).
1264  * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
1265    Combine indent width menu item callbacks.
1266  * src/interface.c, geany.glade:
1267    Don't translate indent width menu items as they are now used for
1268    atoi().
1271 2010-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1273  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1274    Remove 3 popup menu items to save space:
1275    Find Document Usage because Find Usage can be used instead.
1276    Go to Tag Declaration because Go to Tag Definition is more common.
1277    Go to Line because the toolbar item can be used instead.
1278  * src/tools.c, src/search.c, tagmanager/python.c:
1279    Fix some 'possible' NULL pointer dereferences (based on patch by
1280    Erik de Castro Lopo).
1281  * src/keybindings.c, src/keybindings.h, src/prefs.c:
1282    Simplify keybindings_check_event().
1285 2010-09-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1287  * src/build.c:
1288    Use up/down icons for Previous/Next Error.
1289  * src/interface.c, src/keybindings.c, src/callbacks.c,
1290    src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1291    geany.glade:
1292    Add Find Usage and Go to Tag items to Search menu for easier
1293    discovery.
1294  * tagmanager/tm_symbol.c:
1295    Fix possible NULL dereference.
1296  * HACKING:
1297    Add link to glade-2.12.2.tar.gz on geany.org.
1298  * doc/geany.txt, doc/geany.html:
1299    Mention the filetype wordchars setting can be overridden by the
1300    whitespace_chars filetypes.common setting.
1301  * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
1302    Remove NULL checks when calling g_free() (patch by Erik de Castro
1303    Lopo, thanks).
1304  * src/document.c:
1305    Show Save As when saving if the document filename doesn't have an
1306    absolute path, so command-line new files can be saved without a
1307    prompt, but file templates still prompt the user.
1310 2010-09-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1312  * src/build.c:
1313    Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
1314    catch.
1317 2010-09-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1319  * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
1320    Add GeanyMainWidgets::message_window_notebook for plugins to append
1321    a new notebook page (#3061342).
1322  * src/document.c:
1323    Add Close button to the detected file changed dialog.
1324  * src/interface.c, geany.glade:
1325    Add separator between Find Previous and Find in Files.
1326    Add up/down icons for Previous/Next Message.
1329 2010-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1331  * data/snippets.conf:
1332    Add dummy entry for "do" snippet for Haskell to explicitly avoid the
1333    default completion.
1336 2010-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1338  * src/build.c:
1339    Fix broken editing of build menu labels.
1340  * src/encodings.c, src/filetypes.c, configure.ac:
1341    Auto-enable building with included regex if no regcomp function is
1342    found.
1343    Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
1344    regex support is required.
1345  * tagmanager/make.c:
1346    Backport fix for possible infinite loop from CTags.
1347  * scintilla/PlatGTK.cxx:
1348    Backport list box memory leak fixes from Scintilla 2.20.
1351 2010-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1353  * src/project.c:
1354    Make the Properties dialog filename a label and put it first (patch
1355    by Jiří Techet, thanks).
1356  * src/build.c, src/build.h, src/project.c, doc/geany.txt,
1357    doc/geany.html:
1358    Remove the "Set build working directories" button from the project
1359    properties dialog (patch by Jiří Techet, thanks).
1360  * src/search.c:
1361    Include all files if the Find in Files pattern field is enabled and
1362    empty.
1363  * src/filetypes.c:
1364    Rename Matlab -> Matlab/Octave. Datafile name remains the same.
1367 2010-08-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1369  * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
1370    scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
1371    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1372    data/filetypes.txt2tags, wscript:
1373    Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
1374  * m4, configure.ac, Makefile.am:
1375    Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
1376  * src/callbacks.c:
1377    Only prompt for reloading if the document has unsaved changes
1378    (patch by Jiří Techet, thanks).
1381 2010-08-21  Frank Lanitz  <frank@frank.uvena.de>
1383  * src/plugindata.h:
1384    Apply a patch by Jiří Techet which is preventing warnings when using
1385    -Wmissing-prototypes on compiling. Thanks.
1388 2010-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1390  * scintilla/KeyWords.cxx:
1391    Link Octave instead of Matlab.
1392    Add comment about not being autogenerated.
1393    Minor changes to fit Scintilla order.
1394  * src/build.c, src/build.h:
1395    Replace GeanyBuildCommand::entries array with separate fields.
1396    Similar to r5077 in the bs2 branch, but with less loop unrolling.
1397  * src/build.c:
1398    Remove buildcmd_* accessor functions.
1401 2010-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1403  * src/highlighting.c, src/editor.c:
1404    Use Octave lexer instead of Matlab to support Octave # comment char.
1407 2010-08-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1409  * src/filetypes.c:
1410    Fix segfault on Tools->Reload Configuration when no documents are
1411    open (#3037079).
1412  * scintilla/LexMarkdown.cxx:
1413    Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
1414    thanks).
1415  * src/build.c:
1416    Fix saving non-project filetype error regex.
1417  * src/build.c:
1418    Fix memory leak in read_regex().
1421 2010-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1423  * wscript:
1424    Check for libsocket on OpenSolaris to fix build.
1425  * src/encodings.c:
1426    Rewrite the logic to auto detect encodings a bit to make it more
1427    readable and fix a slightly wrong detection on Windows
1428    (closes #3019573).
1429  * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
1430    src/plugins.c:
1431    Add editor_goto_pos() to the plugin API.
1434 2010-08-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1436  * configure.ac:
1437    Check for git-svn repo, not just git because find-rev doesn't
1438    always fail with a git-only repo.
1441 2010-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1443  * src/search.c:
1444    Fix a memory leak based on input by Daniel Marjamäki. Thanks.
1447 2010-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1449  * doc/geany.txt, doc/geany.html:
1450    Reorder Focus keybindings.
1453 2010-08-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1455  * autogen.sh:
1456    Applying a patch by Erik de Castro Lopo for checking against
1457    pkg-config when running autogen.sh. Thanks for the patch.
1458  * src/log.c:
1459    Applying a patch by Colomban Wendling to print out log domains.
1460    Thanks.
1463 2010-08-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1465  * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
1466    Use single binding_ids keybinding array instead of individual
1467    arrays for core keybindings. This allows the keybinding IDs to be
1468    merged into one enum; the order of keybindings is now just the
1469    order they are added to each group. Keybindings can be reordered
1470    without breaking the plugin ABI but groups must stay the same.
1471  * src/stash.c:
1472    Fix writing the default value when a key is missing for hidden
1473    prefs, even if it was overridden when it was originally read.
1474  * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1475    Move some interface hidden prefs to ui_utils.c.
1476  * src/editor.c:
1477    Revert r4840 scope completion mode as it sometimes breaks
1478    autocompletion.
1479  * src/keybindings.h, src/plugindata.h:
1480    Randomly sort keybinding IDs to show there should be no order.
1481  * src/keybindings.c:
1482    Reorder Focus keybindings.
1485 2010-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1487  * src/ui_utils.c, src/ui_utils.h:
1488    Make ui_label_new_bold() a function.
1489    Escape the name of the current document for markup when using
1490    document name for menu items (closes #3038844).
1491  * src/vte.c:
1492    Inherit 'beep on errors' preference for the audible bell preference
1493    for the VTE (closes #3038215).
1496 2010-08-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1498  * src/utils.c, src/utils.h:
1499    Add utils_get_eol_char().
1500  * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
1501    src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
1502    src/utils.h:
1503    Ensure inserted templates always have proper line ending characters
1504    according to the current document's preference.
1505    This is also fixes problems with templates on Windows which had
1506    always Unix line ending characters but now since they are read
1507    from files, these have Windows line ending characters and had been
1508    converted twice.
1511 2010-07-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1513  * src/vte.c:
1514    Fix build with GTK 2.8, use the stock icon name directly instead
1515    of the macro. Though, the icon is still missing for GTK 2.8.
1516  * src/templates.c:
1517    Make make_comment_block() work with a GString. This is not yet
1518    perfect but a bit better than before.
1521 2010-07-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1523  * src/keybindings.c, src/vte.c, src/vte.h:
1524    Implement 'Select All' for the VTE widget.
1527 2010-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1529  * geany.nsi:
1530    Fix missing template files in the Windows installer.
1533 2010-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1535  * data/filetypes.python:
1536    Update list of Python builtins, based on Python 2.6.
1539 2010-07-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1541  * src/filetypes.c:
1542    On Windows, convert filetype extensions read from config files
1543    to lower case (closes #3028856).
1546 2010-07-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1548  * src/keybindings.c:
1549    Focus toolbar item when pressing Go to Line keybinding only when
1550    it's not in the toolbar's drop down overflow menu (fixes #3027454).
1553 2010-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
1555  * src/build.c:
1556    Fix build menu translation problems.
1559 2010-07-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1561  * wscript:
1562    Fix './waf install'.
1565 2010-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1567  * src/editor.c:
1568    Fix scrolling the editor line in view after loading a session and
1569    switching document tabs. Note this causes repainting so needs
1570    improvement.
1571  * doc/geany.txt, doc/geany.html:
1572    Add note to restart Geany after installing/updating before editing
1573    hidden prefs.
1574  * src/ui_utils.h, src/main.c, src/ui_utils.c:
1575    Use Stash to save statusbar_template setting, instead of the
1576    load/save-settings signal.
1577    Add ui_init_prefs().
1580 2010-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1582  * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1583    Fix writing empty hidden pref "statusbar_template" key so users can
1584    find it (patch by Dimitar Zhekov, thanks).
1585  * src/ui_utils.c, src/ui_utils.h, src/main.c:
1586    Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
1589 2010-07-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1591  * src/build.c, src/project.c, src/project.h:
1592    Show the Project Properties build tab when choosing 'Set Build
1593    Commands' for now to prevent confusion with non-project commands.
1596 2010-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1598  * src/search.c, doc/geany.txt, doc/geany.html:
1599    Fix Grep --exclude-dir example.
1602 2010-07-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1604  * src/sidebar.c:
1605    Add sidebar Documents popup menu item 'Find in Files'.
1606  * src/keyfile.c, src/main.c, src/editor.c:
1607    Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
1608    G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
1611 2010-07-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1613  * doc/geany.txt, doc/geany.html:
1614    Fix wording - restarting is required for hidden prefs.
1615    File templates don't need manual reloading anymore.
1616  * src/ui_utils.c:
1617    Fix only adding project base path to Find in Files history if it
1618    isn't already there (oops).
1619  * src/msgwindow.c:
1620    Parse lines in the Messages window even if Find in Files hasn't
1621    been used yet (patch by Jiří Techet, thanks).
1624 2010-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1626  * scintilla/LexCPP.cxx, src/highlighting.c:
1627    Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
1628    it disabled.
1629  * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
1630    data/filetypes.common:
1631    Add filetypes.common fold_symbol_highlight color setting.
1632    Add API macro foreach_range().
1633  * src/printing.c, doc/geany.txt, doc/geany.html:
1634    Always use white background color when printing (except for text
1635    with a white foreground) to save ink (should fix #2968998).
1636  * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
1637    Limit build error editor indicators to 50, but parse all errors in
1638    the Compiler tab (fixes #3019823).
1641 2010-06-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1643  * src/highlighting.c:
1644    Re-enable fold.comment for lexers - it was disabled to prevent C
1645    //{ explicit folding, but that also disables stream comment folding
1646    /* */.
1647  * tagmanager/tm_workspace.c, tagmanager/get.c:
1648    Use g_free instead of free (patch by Daniel Marjamäki, thanks).
1649  * src/editor.c:
1650    Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
1651    doesn't affect the bug with document switching not scrolling cursor
1652    in view after loading a session.
1655 2010-06-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1657  * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
1658    Add statusbar_template hidden pref (based on patch by Dimitar
1659    Zhekov, thanks).
1660  * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1661    Add spaces after RO when using %r in statusbar_template setting.
1662    Add space between encoding and BOM.
1663    Note \t means tab for default text.
1666 2010-06-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1668  * src/search.c:
1669    Restore tabbing past Find in Files combo box drop down menus.
1672 2010-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1674  * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
1675    doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
1676    doc/plugins.dox:
1677    Move plugin signals docs to pluginsignals.c, using function
1678    pointer syntax instead of @signaldef as this puts a summary of
1679    the signal names at the top of the page and sorts alphabetically.
1680    (Note: the syntax is similar to Vala signal syntax).
1683 2010-06-24  Lex Trotman  <elextr(at)gmail(dot)com>
1685  * src/build.c
1686    Make default dialog entries use GTK_STATE_INSENSITIVE color not
1687    a fixed color (Suggestion by Ditmar Zhekov)
1690 2010-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1692  * src/search.c, doc/geany.txt, doc/geany.html:
1693    Implement Find in Files file pattern search.
1694  * src/search.c:
1695    Add file pattern to combo box history.
1696  * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
1697    plugins/export.c:
1698    Use ui_hookup_widget() instead of g_object_set_data_full() for
1699    widgets.
1702 2010-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1704  * src/search.c:
1705    Add Files checkbox and combo to Find in Files dialog, currently
1706    does nothing & is disabled.
1707    Don't try to focus the next entry on pressing tab anymore as this
1708    is more complicated now.
1711 2010-06-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1713  * src/search.c:
1714    Put Find in Files Search field above Directory field.
1715  * src/search.c, doc/geany.txt:
1716    Simplify FIF 'Fixed strings, Grep regular expressions, Extended
1717    regular expressions' radio buttons with a 'Use regular expressions'
1718    checkbox. This uses the extended syntax (which is the same as the
1719    Find/Replace regex syntax).
1720  * src/search.c:
1721    Move 2 Find in Files checkboxes for even spacing.
1724 2010-06-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1726  * tagmanager/tm_work_object.c:
1727    Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
1728    Thanks.
1731 2010-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1733  * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
1734    src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
1735    Add ui_combo_box_add_to_history() to API.
1736  * plugins/filebrowser.c:
1737    Add history to path entry.
1738  * src/plugindata.h, src/plugins.c, doc/plugins.dox:
1739    Fix not loading plugins built against a newer API when Geany doesn't
1740    provide the required version given in PLUGIN_VERSION_CHECK().
1741    Improve documentation for PLUGIN_VERSION_CHECK().
1742  * plugins/filebrowser.c:
1743    Allow Find in Files when no items are selected.
1744  * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
1745    Add API signal "build-start" (patch by Jiří Techet, thanks).
1748 2010-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1750  * src/sidebar.c:
1751    Replace /home/user with ~ in the documents list (patch by Jon
1752    Strait, thanks).
1753  * src/build.c:
1754    Make default Build dialog entries grey, not light grey (too hard to
1755    read on a white background).
1756  * src/ui_utils.c:
1757    Display 'new instance' on title bar (patch by Eugene Arshinov,
1758    thanks).
1759  * src/ui_utils.c:
1760    Remove any duplicate on adding to combo box histories.
1763 2010-06-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1765  * src/notebook.c:
1766    Align notebook tab close buttons centred vertically - thanks to
1767    Robux.Biz (galyuk).
1768  * Merge unstable branch:
1769  - src/build.c:
1770    Make build config entries light grey until set.
1771  - src/keybindings.c, src/about.c, THANKS:
1772    Fix the wrong file being put on top of the stack when switching tabs
1773    too quickly (patch from Jiří Techet, thanks).
1774  - src/templates.c, data/templates/gpl, data/templates/function,
1775    data/templates/changelog, data/templates/bsd,
1776    data/templates/fileheader, wscript, Makefile.am:
1777    Move general templates from source code into files.
1778    Load general templates from system path instead of creating them in
1779    the user's config dir.
1782 2010-06-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1784  * po/POTFILES.skip:
1785    Add doc/stash-example.c to fix 'make distcheck'.
1786  * geany.nsi:
1787    Change the RequestExecutionLevel for the Windows installer to
1788    'highest'.
1789  * New release: Geany 0.19 "Vellam".
1790  * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1791    geany_private.rc, win32-config.h, wscript, src/geany.h:
1792    Post-release version bump.
1795 2010-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1797  * src/editor.c:
1798    Group undo action for Insert Multiline Comment.
1801 2010-06-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1803  * Makefile.am:
1804    Don't individually install data/*.tags as all data/* files will be
1805    installed anyway.
1808 2010-06-07  Frank Lanitz  <frank@frank.uvena.de>
1810  * tagmanager/tm_project.c:
1811    Fix a double free. (patch by Daniel Marjamaki, thanks).
1814 2010-06-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1816  * tagmanager/tm_workspace.c:
1817    Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1818  * src/sidebar.c:
1819    Fix reducing paths to project name in the Documents list
1820    (patch by Eugene Arshinov, thanks).
1821  * src/symbols.c:
1822    Fix crash when trying to sort NULL pointers as tags in the Symbols
1823    list (closes #3011986).
1824  * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1825    Update Scintilla to version 2.12.
1826  * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1827    scintilla/LexCrontab.cxx:
1828    Remove unused Crontab lexer.
1829  * data/filetypes.css, src/highlighting.c:
1830    Add new style "media" for filetype CSS.
1833 2010-06-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1835  * doc/geany.txt, doc/geany.html:
1836    Build section: minor rewording, formatting fixes; move some
1837    sentences.
1840 2010-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1842  * src/build.c:
1843    Explicitly try to localise build menu item labels with
1844    gettext to enforce getting default labels translated.
1845  * tagmanager/tm_workspace.c:
1846    Fix not closed FILE pointer on early exit
1847    (patch by Daniel Marjamaki, thanks).
1848  * doc/images/*.png:
1849    Update images for Geany 0.19.
1850  * src/sidebar.c:
1851    Destroy the default symbol list treeview only once
1852    (fixes gtk_widget_destroy warning on exit).
1855 2010-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1857  * tagmanager/sort.c:
1858    Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1859  * tagmanager/c.c:
1860    Fix parsing of C++ classes contain attributes with bitfields
1861    (patch by Lex Trotman, thanks).
1862  * src/plugindata.h, src/plugins.c:
1863    Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1864    plugins' meta information can be translated already in the
1865    plugin manager dialog (patch by Colomban Wendling, thanks).
1868 2010-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1870  * src/main.c:
1871    Print locale information in debug output.
1872  * src/build.c:
1873    Fix some labels which were marked as translatable but were not
1874    handled properly by gettext().
1875    Add a missing const.
1876  * src/msgwindow.c:
1877    Try to convert text into UTF-8 before adding it to the Compiler and
1878    Messages Window (closes #3007919).
1881 2010-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1883  * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1884    wscript:
1885    Pass G_LOG_DOMAIN to source files for better logging.
1888 2010-05-24  Frank Lanitz  <frank@frank.uvena.de>
1890  * THANKS, src/about.c:
1891    Update of translation credits to reflect a change on Spanish
1892    translation team better.
1895 2010-05-23  Lex Trotman  <elextr.at.gmail.dot.com>
1897  * src/build.c:
1898    Fix infinite loop reading build command output
1901 2010-05-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1903  * src/msgwindow.c:
1904    Fix duplicate accelerators for Clear and Copy in the
1905    Messages Window popup menu.
1906  * src/pluginutils.c:
1907    Expand child widgets in the Plugin Preferences dialog
1908    (patch by Colomban Wendling, thanks).
1911 2010-05-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1913  * src/ui_utils.c:
1914    Fix Undo/Redo button state after the last document has been closed.
1915    Add Print and Replace toolbar items to the list of document
1916    sensitive widgets.
1917  * src/toolbar.c:
1918    Fix crash when the toolbar is reloaded without any open documents.
1919  * src/build.c:
1920    Fix Run toolbar item sensitivity after the last document has been
1921    closed.
1922  * plugins/classbuilder.c:
1923    Remove two unnecessary g_strdups().
1924  * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1925    src/plugindata.h, src/ui_utils.h:
1926    Add hidden preference to disable automatic scrolling in the
1927    Compiler tab (closes #3004714).
1930 2010-05-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1932  * plugins/classbuilder.c:
1933    Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1936 2010-05-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1938  * src/prefs.c, src/project.c:
1939    win32.h can be included unconditionally.
1940  * src/sidebar.c:
1941    Fix project base_path detection if the path has a trailing slash.
1942  * src/document.c, src/editor.c, src/project.c:
1943    Small improvements to speed up quit process with many open documents.
1944    Avoid calling gtk_notebook_remove_page() on exit as it takes
1945    a lot of time.
1946  * src/geanymenubuttonaction.c:
1947    Explicitly check for the type when iterating the action's proxies.
1948    For some reason on Windows, a GtkImageMenuItem proxy is created.
1949  * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1950    src/plugindata.h, scintilla/*, scintilla/include/*:
1951    Update Scintilla to version 2.11.
1952  * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1953    src/makefile.win32:
1954    Add new GTK define also for Mingw cross compilation and
1955    makefile.win32 based Windows builds.
1956  * plugins/filebrowser.c:
1957    Implement reading and evaluating hidden file attribute on Windows.
1958    Fix broken "Go Up" if the current path ends with a slash.
1959  * THANKS, src/about.c, src/prefix.c:
1960    Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1961  * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1962    src/main.c, src/notebook.c, src/prefs.c:
1963    Add preference to add new document tabs beside the current one
1964    (patch by Colomban Wendling, thanks).
1965  * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1966    src/keyfile.c, src/prefs.c, src/ui_utils.h:
1967    Add a preference for choosing between GTK and native
1968    File Open/Save dialogs (only available on Windows).
1969  * doc/geany.html, doc/geany.txt:
1970    Update documentation.
1973 2010-05-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1975  * src/win32.c:
1976    Sort file filters for the native Windows file open dialog by name.
1977    Don't use file filters for the native Windows Save As dialog.
1978  * src/dialogs.c, src/win32.c, src/win32.h:
1979    Remove old code.
1980    Pass and use also parent and title arguments to
1981    win32_show_document_open_dialog().
1982  * src/dialogs.c:
1983    Call handle_save_as() only when the Save As dialog was not cancelled.
1984  * src/toolbar.c:
1985    Improve adding/removing of the special separator between menubar and
1986    toolbar when the toolbar is appended to the menubar.
1987  * src/toolbar.c, src/templates.c:
1988    Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1989    not trigger updating the menus on each item removal.
1992 2010-05-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1994  * src/support.h:
1995    Replace one non breaking space by normal space. Patch by
1996    Daniel Marjamaki.
1999 2010-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2001  * plugins/classbuilder.c:
2002    Don't make the 'Create Class' menu item document-sensitive
2003    (patch by Colomban Wendling, thanks).
2004    Add namespace support for GTK+ classes.
2005    Add GET_CLASS() macro for GTK+ classes.
2006    Add typedef of the private structure in the header file instead
2007    of declaring it
2008    (all the above from a patch by Colomban Wendling, thanks).
2009  * src/highlighting.c:
2010    Set common default "fold.comment" to 0 to disable it. This can
2011    be overridden if desired.
2012  * src/sidebar.c:
2013    Improve sorting of document list items
2014    (patch by Colomban Wendling, thanks).
2015  * src/main.c:
2016    Remove unnecessary textdomain() call.
2019 2010-05-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2021  * src/search.c:
2022    Fix search_find_text not returning -1 when match is out of range.
2023    This fixes invalid memory reads and wrong template filename
2024    wildcard replacement.
2025  * src/search.c, src/document.c:
2026    Only replace template filename matching start of word on saving.
2027  * plugins/filebrowser.c:
2028    Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2029  * src/build.c, src/build.h, src/project.c:
2030    Make some ugly build.h global variables static.
2031  * src/build.c, src/build.h, src/project.c:
2032    Add Build prefix for TableFields, TableData.
2035 2010-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2037  * src/dialogs.c:
2038    Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2039  * src/dialogs.c, src/win32.c, src/win32.h:
2040    (Re-)Implement a (still basic) native Windows Save As dialog when
2041    compiled with GEANY_USE_WIN32_DIALOG.
2044 2010-05-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2046  * THANKS, src/about.c, plugins/classbuilder.c:
2047    Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2048  * src/ui_utils.h, src/ui_utils.c:
2049    Add public, generic callback ui_editable_insert_text_callback()
2050    to restrict GtkEntry text inputs to +/- and numeric values only.
2051  * src/dialogs.h, src/dialogs.c:
2052    Add special variant dialogs_show_input_goto_line() to use a normal
2053    GtkEntry together with dialogs_show_input_goto_line() for text input.
2054  * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2055    Allow '+<number' and '-<number>' as values for Goto Line inputs
2056    to jump relative to the current line (closes #2997238).
2059 2010-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2061  * src/highlighting.c:
2062    Apply foreground and background colours of the folding margin
2063    style properly (closes #2998347).
2064  * src/utils.c:
2065    Don't auto-close short XML tags (closes #2994852).
2066  * THANKS, src/about.c, src/keybindings.c:
2067    Improve jumping to matching braces by consistently position the
2068    cursor before or after the matching brace dependent where it
2069    was before (patch by Dimitar Zhekov, thanks).
2070  * src/main.c:
2071    Fix crash when generating global tags files (patch by Colomban
2072    Wendling, thanks).
2075 2010-05-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2077  * src/templates.c:
2078    Avoid connecting signals more than once.
2081 2010-05-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2083  * wscript:
2084    Don't ignore the 'intltool' check on non-Windows systems, instead
2085    raise a configure error.
2088 2010-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2090  * src/build.c:
2091    Fix marking some strings as translatable (cannot be done in the
2092    ASSIGNIF macro).
2093  * src/templates.c, doc/geany.txt, doc/geany.html:
2094    Reload templates if saving a document in the templates config dir.
2097 2010-05-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2099  * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2100    doc/geany.html:
2101    Fix replacing {filename} template wildcard for custom file
2102    templates with non-default file extension.
2103    Add search_find_text() for POSIX regex searches.
2104  * src/templates.c, doc/geany.txt, doc/geany.html:
2105    Add {project}, {description} template wildcards (#2954737).
2106  * doc/geany.txt, doc/geany.html:
2107    Divide template wildcards into groups.
2108  * src/plugindata.h, src/plugins.c, src/symbols.c,
2109    plugins/geanyfunctions.h:
2110    Add symbols_get_context_separator() to plugin API (patch by Colomban
2111    Wendling, thanks).
2114 2010-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2116  * src/keybindings.c:
2117    Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2118    Anonymous, thanks; #2995593).
2119  * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2120    plugins/geanyfunctions.h:
2121    Add sci_set_line_indentation(), sci_get_line_indentation() to API
2122    (patch by Colomban Wendling, thanks).
2125 2010-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2127  * src/editor.c:
2128    Warn user if hidden hard tab width setting is not 8.
2131 2010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2133  * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2134    doc/geany.txt, doc/geany.html:
2135    Hide 'Tabs and Spaces: Hard tab width' preference - it should
2136    always be 8. (Hidden setting kept in case users have modified it).
2139 2010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2141  * doc/geany.txt, doc/geany.html:
2142    Add Folding section link to filetypes.common custom settings.
2145 2010-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2147  * src/callbacks.c:
2148    When switching documents, don't call document_set_text_changed()
2149    as this does much more than necessary. Instead call the necessary
2150    UI update functions explicitly.
2153 2010-04-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2155  * tagmanager/vstring.c:
2156    Fix invalid memory read (patch by Colomban Wendling, thanks).
2159 2010-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2161  * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2162    Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2163    strings in case of reaching the buffer size limit (part of #2979697).
2164  * src/win32.c:
2165    Change the limit for the command line length when executing commands
2166    to a maximum of 32768 characters (closes #2979697).
2167    Fix broken opening URLs e.g. when using the 'builtin' Run command.
2168  * tagmanager/ctags.c:
2169    Change eFree() to simply ignore NULL pointers instead of asserting.
2170  * src/main.c:
2171    Remove malloc() fallback since we completely rely on g_malloc()
2172    nowadays.
2173  * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2174    plugins/saveactions.c:
2175    Make string arguments const where appropriate (patch by
2176    Colomban Wendling, thanks).
2177  * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2178    src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2179    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2180    src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2181    src/symbols.c, src/templates.c, src/ui_utils.c:
2182    Make string arguments const where appropriate (patch by
2183    Colomban Wendling, thanks).
2186 2010-04-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2188  * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2189    Make plugin_signal_connect() string argument const (patch by
2190    Colomban Wendling, thanks).
2191  * src/keybindings.c, src/keybindings.h, src/plugindata.h:
2192    Constify some more string pointers in the API (patch by
2193    Colomban Wendling, thanks).
2194  * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2195    doc/geany.html:
2196    Support {pc} wildcard in snippets to escape percent char.
2197  * src/editor.c:
2198    Recalculate line margin width when zooming (fixes #2990553).
2199  * src/highlighting.c, doc/geany.txt, doc/geany.html,
2200    data/filetypes.common:
2201    Support more folding icon styles: arrows, +/- and no lines
2202    (#2935059).
2205 2010-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2207  * src/socket.c:
2208    Fix Windows build by properly guarding Unix-only code.
2211 2010-04-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2213  * src/templates.c, doc/geany.txt, doc/geany.html:
2214    Support {ob} and {cb} in fileheader and file templates; they are
2215    replaced last with { and }. This allows 'escaping' of wildcard
2216    strings.
2217  * src/editor.c, plugins/classbuilder.c:
2218    Fix Class Builder plugin to use correct indentation instead of
2219    always tabs.
2220    Make editor_insert_text_block() only replace leading tabs for the
2221    'Tabs' indent type; also group edits for undo.
2222  * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
2223    doc/geany.html:
2224    Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2227 2010-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2229  * tagmanager/pascal.c:
2230    More fixes to prevent possible crashes by trying to free NULL
2231    pointers.
2232  * src/sidebar.c:
2233    Automatically show and hide the sidebar notebook tabs according
2234    to the amount of visible pages (patch by Adrian Dimitrov, thanks).
2235  * src/editor.c:
2236    Add a static global variable to monitor autocompletion mode in order
2237    to prevent cancellation of the struct/class (C/C++) auto completion
2238    list (patch by Thomas Martitz, thanks).
2239  * src/socket.c:
2240    When starting and trying to access the Unix Domain socket of a
2241    potentially running instance, first compare file ownership with the
2242    user id of the running process to prevent accessing a wrong socket
2243    file (part of #2985463, this might not yet be the final solution).
2246 2010-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2248  * plugins/filebrowser.c:
2249    Synchronize popup menu and plugin preferences dialog 'Show Hidden
2250    Files' option (fixes #2989288).
2253 2010-04-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2255  * tagmanager/entry.c, tagmanager/entry.h,
2256    tagmanager/include/tm_source_file.h, tagmanager/parse.c,
2257    tagmanager/parse.h, tagmanager/tm_source_file.c:
2258    Add tm_source_file_set_tag_arglist() to manually set the argument
2259    list of a tag.
2260  * tagmanager/python.c:
2261    Use tm_source_file_set_tag_arglist() to set the argument list
2262    field of Python class tags to the argument list of their
2263    __init__() methods.
2264    Backport a fix from CTags SVN to prevent possible crashes by trying
2265    to free NULL pointers.
2268 2010-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2270  * tagmanager/txt2tags.c:
2271    Remove duplicate code from Txt2Tags parser.
2272    Remove the title control characters ('=') when parsing titles.
2273    Also parse numbered titles (closes #2984703).
2274  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2275    src/plugindata.h:
2276    Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
2277    Add missing documentation for 'Reset Zoom' keybinding.
2278  * tagmanager/php.c:
2279    Another attempt to fix the PHP parser regexp for parsing functions.
2280    Fix wrong parsing of function arguments when those contain nested
2281    brackets (as reported by Harold Aling).
2282  * src/notebook.c:
2283    Fix Ctrl-Click on notebook tab if Numpad is active.
2286 2010-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2288  * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
2289    src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
2290    src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
2291    src/ui_utils.c, src/ui_utils.h:
2292    Add option 'System Default' for toolbar icon style and size to
2293    use the GTK default value.
2294  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2295    src/toolbar.c, src/toolbar.h:
2296    Shorten the toolbar popup menu, only provide items for Toolbar
2297    Preferences and to Hide the toolbar.
2298  * src/toolbar.c:
2299    Instantly update the toolbar icon size and style when the
2300    corresponding global GTK settings are changed.
2301  * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
2302    src/plugindata.h, src/socket.c:
2303    Add new command line option --list-documents to return a list
2304    of currently opened documents (closes #2979933).
2307 2010-04-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2309  * plugins/htmlchars.c:
2310    Make plugin remember whether replacement of special characters was
2311    activated even after restart of Geany or reloading of plugin.
2314 2010-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2316  * src/editor.c:
2317    Fix inserting snippets with an indent when using Mac CR line
2318    endings.
2319  * src/callbacks.c:
2320    Update status bar after using Document->Set Line Endings.
2321  * src/editor.c:
2322    Improve API docs for editor_insert_text_block().
2325 2010-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2327  * src/editor.c:
2328    Refactor snippets_complete_constructs().
2329    Remove an unnecessary TODO.
2330  * src/editor.c:
2331    Fix indenting a snippet when there is whitespace after the
2332    snippet key name.
2335 2010-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2337  * doc/geany.txt, doc/geany.html:
2338    Improve wording.
2339  * src/build.c, src/msgwindow.c:
2340    Fix disabled compiler message tracking if using indicators to
2341    show build errors is disabled (closes #2982834).
2344 2010-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2346  * scintilla/Editor.cxx:
2347    Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
2348    and SCI_GETSELECTIONEND with rectangular selections. This fixes
2349    replacing in a rectangular selection.
2352 2010-04-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2354  * src/filetypes.c:
2355    Re-detect any document filetypes set to None after reloading
2356    filetype extensions (closes #2979661).
2357  * src/editor.c:
2358    Fix showing '...' item last instead of first for document word
2359    completion.
2362 2010-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2364  * data/filetypes.perl:
2365    Adjust Perl Compile command to use the -c command
2366    line option to perform a syntax check instead of using the
2367    deprecated ByteCompile module.
2368    Add error_regex to parse error messages and warnings when performing
2369    syntax checks on Perl files.
2372 2010-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2374  * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
2375    Add API docs for keybinding enums.
2376  * src/notebook.c, doc/geany.txt, doc/geany.html:
2377    Make Ctrl-click on any notebook tab switch to the last used
2378    document.
2381 2010-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2383  * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
2384    src/geanyentryaction.c, src/geanyentryaction.h,
2385    src/geanywraplabel.c:
2386    Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
2387    object for efficiency.
2390 2010-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2392  * plugins/classbuilder.c:
2393    Beep if the user hasn't entered a class name on pressing OK.
2394  * src/search.c:
2395    Fix replacing '^' regex.
2396  * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
2397    plugins/geanyfunctions.h:
2398    Add Stash widget functions to API.
2399  * configure.ac:
2400    Revert commit to use AC_PATH_PROG instead of 'which' (fixes
2401    #2973764).
2404 2010-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2406  * THANKS, src/vte.c:
2407    Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
2408    fixes #2976905).
2409  * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
2410    src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
2411    plugins/geanyfunctions.h, plugins/geanyplugin.h:
2412    Add Stash setting functions to API.
2413    Remove unnecessary argument to stash_group_load_from_file().
2414  * src/geanyobject.c, plugins/classbuilder.c:
2415    Don't generate FOO_GET_PRIVATE() macro because caching the result
2416    in Foo::priv can be much more efficient.
2419 2010-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2421  * src/editor.c:
2422    Fix cursor positioning when toggling comments
2423    (patch by Thomas Martitz, thanks).
2426 2010-03-25  Peter Scholtens  <peter(dot)scholtens(at)xs4all(dot)nl>
2428  * src/keybindings.[hc]:
2429    Added Control+0 for zoom reset, see suggestion from #2969886.
2432 2010-03-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2434  * src/search.c, src/document.c:
2435    Fix wrong selection range after Replace in Selection.
2438 2010-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2440  * src/win32.c:
2441    Make CreateChildProcess() working with Unicode strings, e.g.
2442    directory names (closes #2972606).
2443  * geany.nsi:
2444    Remove reference to already removed latex.tags file.
2445    Future releases probably still depend on GTK 2.16.
2446  * scintilla/ScintillaGTK.cxx:
2447    Backport fix from Scintilla CVS to not paste text beyond the end
2448    of lines (closes #2969096).
2449  * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
2450    src/plugindata.h:
2451    Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
2452    to not set Geany's minimum window size anymore (closes #2972992).
2453    As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
2456 2010-03-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2458  * src/stash.c:
2459    Make adding string and string vector settings initialise the setting
2460    to NULL for safety.
2461  * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
2462    Add stash_group_load_from_file() and stash_group_save_to_file().
2465 2010-03-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2467  * data/filetypes.common:
2468    Set default for wrapped lines to show marker at end of line only
2469    (more expected and doesn't change line alignment - closes #2972386).
2470  * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
2471    src/pluginutils.c, doc/plugins.dox:
2472    Improve API docs contents page by listing all commonly-used files.
2473    Fix 'Date' appearing twice on the date line.
2474    Don't generate API docs for prefs.h, toolbar.h (unused).
2475    Move some '@file' doc-comments to the .c file.
2476  * src/interface.c, geany.glade:
2477    Add frame for 'Printing' prefs dialog page.
2478  * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
2479    src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
2480    doc/stash-example.c:
2481    Rename Stash data types to be independently named from Geany (so
2482    Stash can be reused for other projects).
2483    Rename GeanyPrefGroup to StashGroup.
2486 2010-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2488  * tagmanager/python.c:
2489    Apply patch from Colomban Wendling to parse Python lambda functions
2490    (thanks) - modified to only parse toplevel or class member lambdas.
2491  * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
2492    doc/stash-example.c:
2493    Add doc-comments for Stash setting functions.
2494    Add an example file showing usage of Stash.
2495    (Not enabled yet until added to the plugin API).
2498 2010-03-17  Lex Trotman  <elextr.at.gmail.dot.com>
2500  * src/build.c:
2501    Fix using return value without checking return status, caused
2502    incorrect sensitivity settings on build dialog.
2505 2010-03-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2507  * HACKING:
2508    Add tip about gcc optimization & warnings/debugging.
2509    Add Testing section.
2510    Update Libraries section about synchronizing with other projects.
2513 2010-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2515  * src/ui_utils.c:
2516    For now revert the recent patch which set real_path of newly
2517    open non-existent configuration files as this seems hackish and
2518    causes 'file not found' warnings.
2519  * wscript:
2520    Fix/Improve GIT repository detection
2521    (patch by Thomas Martitz, thanks).
2522  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
2523    src/utils.c:
2524    Add utils_copy_environment() to the plugin API.
2527 2010-03-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2529  * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
2530    src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
2531    src/main.c:
2532    Use 3rd person for more API dox.
2533    Change 'This is a wrapper function for...' to 'Wraps...' in brief
2534    descriptions.
2535    Change 'After all...' to 'Afterwards...'.
2536  * src/interface.c, geany.glade:
2537    Apply patch from Eugene Arshinov to make frame packing/alignment
2538    more consistent (thanks).
2541 2010-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2543  * src/ui_utils.c:
2544    Fix ui_button_new_with_image() to call gtk_button_set_image() so
2545    that gtk_button_[sg]et_label() work as expected.
2546  * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
2547    Make Build Commands dialog show menu item labels as a button (to
2548    help show that menu labels don't normally need to be edited &
2549    display the mnemonic correctly). Clicking shows an input dialog to
2550    set a new menu item label.
2551    Split dialogs_show_input() into 2 functions: one simple, one for
2552    a persistent dialog.
2553    Fix possible double-destroy of input dialog when closed by user.
2554  * src/dialogs.c:
2555    Fix not destroying 'Make Custom Target' input dialog after first
2556    use (oops).
2557  * src/project.c:
2558    Make Long Line Marker settings for existing projects default to
2559    general settings instead of 0 (thanks to Eugene Arshinov).
2560  * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
2561    src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
2562    src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
2563    src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
2564    Use 3rd person (gets not get) for API function brief descriptions.
2565    Avoid using 'convenience function' in API brief descriptions.
2568 2010-03-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2570  * doc/geany.txt, doc/geany.html:
2571    Warn about some GNU extensions for regular expressions & clarify
2572    some points.
2573  * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
2574    src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
2575    src/editor.h, geany.glade:
2576    Apply patch from Eugene Arshinov to add project long line marker
2577    customisation (thanks).
2578  * src/interface.c, geany.glade:
2579    Edit/tidy 'Long line marker' labels.
2582 2010-03-10  Lex Trotman  <elextr.at.gmail.dot.com>
2584  * src/build.c, src/project.c:
2585    Fix crash due to NULL in project build preferences (thanks to
2586    Wolfgang Ocker).
2589 2010-03-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2591  * src/utils.c, src/utils.h, src/search.c, src/search.h,
2592    src/document.c, doc/geany.txt, doc/geany.html:
2593    Merge gnu-regex branch:
2594    Use POSIX system/GNU regex engine for find & replace 'Use regular
2595    expressions' option. This alters regex syntax a bit - see the docs
2596    for details; we now support '?' operator and replacement backslash
2597    escaping is more standard.
2598    Make regex search imply replacing escaped chars.
2599    Allow \0 backreference replacement for the whole match.
2600    Note: Replace All may be slower; if this is a problem please let me
2601    know.
2602  - code:
2603    Add argument to utils_str_replace_escape() for keeping
2604    uninterpreted backslash escapes e.g. '\\', '\e'.
2605  * scintilla/LexMarkdown.cxx:
2606    Backport minor formatting/style changes from Scintilla project.
2607  * doc/geany.txt, doc/geany.html:
2608    Remove warning about no visual indication for zero-column-mode
2609    editing.
2612 2010-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2614  * wscript:
2615    Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
2618 2010-03-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2620  * wscript, scintilla/*, scintilla/include/*:
2621    Update Scintilla to version 2.03.
2622  * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
2623    src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
2624    Add preference for virtual spaces.
2625  * src/log.c:
2626    Fix wrong default response for the Debug Messages dialog.
2627  * src/dialogs.c:
2628    Fix crashes when using Save As with no open files (closes #2964406).
2629  * src/document.c:
2630    Fix duplicate mnemonics on 'Resave missing file' dialog, also
2631    move the question from the secondary to the main text to be
2632    more compatible with the Gnome HIG.
2633    Fix broken 'Save' action in 'Resave missing file' dialog.
2634  * tagmanager/php.c:
2635    Improve PHP parser to parse also the argument lists of PHP functions.
2636  * src/prefs.c:
2637    Correctly set the parent widget for the keybinding overwrite
2638    confirmation dialog.
2639  * src/dialog.c:
2640    Fix setting the icon for some dialogs if the parent itself is also
2641    a dialog.
2642  * src/ui_utils.c:
2643    When editing non-existent config files using the Tools->Configuration
2644    Files menu, explicitly set the real_path to avoid presenting the Save
2645    As dialog when saving the file (patch by Tony Rick, thanks).
2646  * src/callbacks.c:
2647    Focus the editor widget after hiding the sidebar when it had the
2648    input focus (patch by Can Koy, thanks).
2649    Properly show/hide the mesages window when using the View menu item
2650    (closes #2961282).
2651  * plugins/filebrowser.c:
2652    After opening files, focus the editor widget
2653    (based on a patch by Can Koy, thanks).
2654  * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
2655    src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
2656    src/ui_utils.h, src/vte.c:
2657    Add and use convenience function ui_is_keyval_enter_or_return() and
2658    add it to the plugin API.
2661 2010-03-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2663  * src/about.c, THANKS, po/ast.po:
2664    Added Asturian translation. Thanks to Marcos Costales for providing.
2667 2010-02-28  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
2669  * src/log.c:
2670    Fix keyboard accelerators in debug messages window
2671    (Thanks Can Koy).
2674 2010-02-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2676  * scintilla/LexR.cxx:
2677    Backport R lexer from Scintilla CVS to fix case sensitive keywords
2678    (Scintilla bug #2956543).
2679  * src/sidebar.c, src/about.c, THANKS:
2680    Make Space on the symbol and document list not focus the editor
2681    widget while Enter does (closes #2919444, patch by Can Koy, thanks).
2682  * src/document.c, src/document.h:
2683    Fix document_try_focus() to make it work with the sidebar document
2684    list as well.
2685  * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
2686    Make Space on the compiler and messages widgets not focus the editor
2687    widget while Enter does (patch by Can Koy, thanks).
2688  * src/editor.c:
2689    Fix wrongly auto-detected multiline comments
2690    (patch by Eugene Arshinov, thanks).
2693 2010-02-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2695  * src/ui_utils.c:
2696    Show number of lines of current document inside statusbar. Thanks to
2697    Can Koy for providing the patch.
2700 2010-02-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2702  * src/keybindings.c, doc/geany.txt, doc/geany.html:
2703    Make Switch to Editor keybinding reshow the document statistics
2704    line, so user doesn't have to move the cursor.
2707 2010-02-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2709  * data/filetypes.r:
2710    Update keywords for the R language (patch by Jon Senior, thanks).
2713 2010-02-21  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
2715  * doc/geany.txt:
2716    Fix the instruction how to insert unicode characters
2717    (thanks Tony Rick).
2720 2010-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2722  * scripts/create_py_tags.py:
2723    Minor fixes.
2724    Replace tabs by spaces.
2725  * plugins/genapi.py:
2726    Minor fixes.
2727    Replace tabs by spaces.
2728  * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
2729    src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2730    tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
2731    Add R tagmanager symbol parser (patch by Jon Senior, thanks).
2732  * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2733    src/plugindata.h, src/sidebar.c, src/sidebar.h:
2734    Add keybindings to switch to the sidebar's Document and Symbol list
2735    as well as to the Message Window's current tab
2736    (patch by Eugene Arshinov, thanks).
2737  * data/filetypes.r:
2738    Update primary keywords for the R language
2739    (patch by Jon Senior, thanks).
2742 2010-02-20  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
2744  * doc/geany.txt:
2745    Add more detailed hints about reloading configuration
2746    (thanks to Tony Rick).
2747  * data/filetypes.javascript:
2748    Correct the keyword list for JavaScript (thanks to Jonas).
2751 2010-02-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2753  * New release: Geany 0.18.1 "Balfour".
2756 2010-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2758  * src/keybindings.c:
2759    Add special cases for handling the Select All keybinding (Ctrl-A) in
2760    the toolbar search and goto line text entries (closes #2948040).
2761    Strip trailing spaces after reflowing a paragraph, patch by
2762    Dominik Wagenfuehr, thanks (closes #2945497).
2765 2010-02-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2767  * src/geanymenubuttonaction.c, src/templates.c:
2768    Partly revert last commit:
2769    Unref the new files toolbar menu when freeing templates as it
2770    was done before but unref it *after* the menu has been removed
2771    from the GeanyMenuButtonAction.
2772  * src/encodings.c:
2773    Fix possible endless loop when trying to detect the encoding of
2774    non-text files (patch by Alexey Antipov, thanks).
2777 2010-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2779  * src/document.c:
2780    Allow saving remote files using g_file_set_contents() as well
2781    (patch by Алексей Антипов, thanks).
2782  * data/filetypes.python:
2783    Adjust style for secondary keywords to be less aggressive.
2784    Add Python 2.5 builtins keywords.
2785  * src/geanymenubuttonaction.c, src/templates.c:
2786    Unref the new files toolbar menu when setting a new menu to fix
2787    possible crashes when reloading configuration.
2788  * src/filetypes.c:
2789    When reloading configuration, process the current document at last
2790    so the symbol list will be updated correctly.
2793 2010-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2795  * src/symbols.c:
2796    Explicitly read filetype configuration files before generating
2797    global tags to get settings for custom filetypes.
2800 2010-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2802  * src/plugins.c:
2803    Fix GLib warning when toggling 'no plugins available' item.
2806 2010-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2808  * icons/Makefile.am:
2809    Include geany.ico in the distribution tarball.
2810  * Makefile.am:
2811    Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2812  * scripts/create_py_tags.py:
2813    Make the script a bit more robust with newer Python versions.
2814  * src/templates.c:
2815    Use utils_spawn_sync() instead of g_spawn_sync().
2818 2010-01-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2820  * plugins/export.c:
2821    Close meta tag for export date properly.
2824 2010-01-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2826  * geany.spec.in:
2827    Update RPM Spec file (patch by Dominic Hopf, thanks).
2830 2010-01-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2832  * src/plugindata.h:
2833    Fix renaming sci_send_message(), sci_send_command() function
2834    pointers.
2837 2010-01-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2839  * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2840    src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2841    plugins/geanyfunctions.h, plugins/Makefile.am,
2842    plugins/pluginmacros.h, plugins/genapi.py, wscript:
2843    Use full function name for GeanyFunctions function pointers. This
2844    avoids naming conflicts e.g. with C++'s 'new' keyword.
2845    Remove deprecated header pluginmacros.h - use geanyfunctions.h
2846    instead.
2849 2010-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2851  * src/utils.c, src/utils.h, src/vte.c:
2852    Add utils_copy_environment() and make use of it.
2853  * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2854    src/editor.c, src/templates.c, src/templates.h:
2855    Add new special template wildcard "{command:...}" to use the
2856    output of a command in templates.
2857    Adjust template functions to mostly work with GeanyDocuments.
2858    Minor cleanups in the template code.
2859  * src/gb.c:
2860    Replace the old icons with smiley icons from the Rodent icon theme.
2861    Fix showing the same icon for two or more slots.
2862    Minor cleanups.
2863  * src/editor.c, src/editor.h, src/keybindings.c:
2864    Rename fold_symbol_click() to editor_toggle_fold().
2865    Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2866    was used to respect the 'Fold/unfold all children' preference
2867    (closes #2935053).
2870 2010-01-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2872  * src/build.c:
2873    Prevent possible segfault in get_build_group().
2874  * src/callbacks.c:
2875    Fix GLib warning & beep if trying to insert multiline comment for a
2876    filetype that doesn't support it.
2879 2010-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2881  * doc/plugins.dox:
2882    Add gcc commands to build a plugin to the HowTo.
2883  * src/search.c, src/document.c, src/document.h:
2884    Show 'Replaced X matches in Y documents' message when using
2885    Replace in Session.
2888 2010-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2890  * scripts/plugin_test.c:
2891    Add a little test program which can load and test Geany plugins to
2892    verify it is loadable at runtime and all necessary symbols are
2893    defined.
2894  * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2895    src/plugindata.h:
2896    Add new signal: "geany-startup-complete" which is sent once all
2897    initialization and startup tasks has been done.
2898  * README.I18N, configure.ac, wscript, po/LINGUAS:
2899    Remove po/LINGUAS from the repository.
2900    Generate it automatically if needed by reading available
2901    message catalogs from the po directory.
2902    Also respect the LINGUAS environment variable properly.
2905 2010-01-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2907  * src/editor.c:
2908    Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2909    plugin.
2912 2010-01-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2914  * src/editor.c, src/templates.c, src/templates.h:
2915    Refactor templates_replace_all() into templates_replace_valist()
2916    to save some code duplication.
2919 2010-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2921  * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2922    src/plugindata.h, src/plugins.c:
2923    Add editor_insert_text_block() to plugin API.
2926 2010-01-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2928  * *.*:
2929    Update copyright information.
2930  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2931    doc/geany.txt, doc/geany.html:
2932    Add keybinding to open the last closed tab (closes #2912692).
2935 2009-12-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2937  * autogen.sh, configure.in, configure.ac:
2938    Rename configure.in to configure.ac.
2939  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2940    src/sciwrappers.c:
2941    Add sci_find_text() to the plugin API.
2942  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2943    src/interface.c, src/prefs.c:
2944    Add a checkbox in the preferences dialog to explicitly toggle
2945    the visibility of the sidebar (closes #2923340).
2948 2009-12-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2950  * src/editor.c, src/plugins.c, src/plugindata.h,
2951    plugins/geanyfunctions.h:
2952    Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2953    editor_get_eol_char() to the plugin API.
2954  * src/callbacks.c, src/plugins.c, src/plugins.h:
2955    Fix sensitivity of the Edit->Plugin Preferences menu item
2956    if plugins are loaded which do not provide a configuration dialog.
2957  * scripts/create_py_tags.py:
2958    Rewrite and extend the Python tags parsing script to use
2959    Python's inspect module to read symbols from Python modules
2960    including scope information.
2961  * data/filetypes.restructuredtext:
2962    Add the default comment character sequence for reStructuredText.
2963  * src/callbacks.c:
2964    Show the Find/Goto dialogs if the corresponding toolbar buttons are
2965    clicked but their text fields are not part of the toolbar (#2920807).
2966  * data/filetypes.common, doc/geany.html, doc/geany.txt,
2967    src/highlighting.c:
2968    Add new style to change foreground and background colours for
2969    calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2970  * src/search.c:
2971    Remember the window position of the Find, Replace and Find in Files
2972    dialogs (closes #2877988).
2975 2009-12-26  Frank Lanitz  <frank@frank.uvena.de>
2977  * doc/plugins.dox:
2978    Fix a minor typo inside plugin API reference.
2981 2009-12-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2983  * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2984    Make dialogs_show_prompt() more flexible to take up to three
2985    button/response code pairs to be shown.
2986    Add a close button to the dialog when asking to Re-Save a
2987    deleted file
2988    (closes #2916954, based on a patch by Dominik Stadler, thanks).
2989  * src/editor.c:
2990    Fix LaTeX environment auto completion with CR/LF line endings.
2991    Add some sanity checks.
2992  * src/document.c:
2993    When closing a document after it was deleted from the filesystem,
2994    don't ask whether it should be saved first.
2995    Mark the document only as changed if it is not closed afterwards.
2996    Prevent possible segfaults if the document was closed when it is
2997    missing from the filesystem.
2998  * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2999    src/msgwindow.h, src/prefs.c:
3000    Add MessageWindow::scribble and use it instead of searching the
3001    widget pointer everytime.
3002  * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3003    Add preferences for hiding single tabs from the messages window
3004    (no GUI preferences yet, still to be implemented).
3005  * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3006    Set the correct parent window for the toolbar editor
3007    dialog (closes #2913334).
3008  * src/win32.c, src/win32.h, src/ui_utils.c:
3009    Rename win32_show_project_folder_dialog() to
3010    win32_show_folder_dialog() as it is not related and not used by any
3011    project management related code.
3012  * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3013    Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3014    as it is specialised for opening documents.
3015    Implement win32_show_file_dialog() as a generic file open dialog and
3016    use it with ui_path_box_new().
3019 2009-12-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3021  * src/editor.c:
3022    Extend auto_latex() function to check whether an environment has been
3023    closed within the next lines to avoid auto adding double \end{}.
3024  * data/latex.tags:
3025    Remove LaTeX tags from SVN. Can be found at
3026    http://download.geany.org/contrib/tags/ if needed.
3029 2009-12-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3031  * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3032    Add document_need_save_as().
3033    Show the Save As also for documents created from filetype templates
3034    instead of saving them directly with the untitled filename.
3037 2009-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3039  * geany.glade, src/interface.c:
3040    Move 'Send Selection to Terminal' menu item from Format to Commands
3041    submenu.
3042  * src/msgwindow.c:
3043    When going to a build error, try the current document's path if
3044    the parsed filename doesn't exist. (This can happen when we receive
3045    build messages in the wrong order - after the 'Leaving directory'
3046    messages).
3047  * src/msgwindow.c:
3048    Refactor msgwin_goto_compiler_file_line().
3049  * src/interface.c, src/keybindings.c, geany.glade:
3050    Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3051    item labels.
3052  * src/search.c:
3053    Refactor/reformat on_replace_dialog_response().
3056 2009-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3058  * geany.spec.in:
3059    Improve geany.spec (split the package into a binary and devel
3060    package, update BuildRequires and other minor improvements).
3061    Patch by Dominic Hopf, thanks.
3064 2009-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3066  * src/filetypes.c, src/filetypes.h:
3067    Make group for custom filetypes.
3068  * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3069    Add custom filetype Genie.
3072 2009-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3074  * src/highlighting.c:
3075    Highlight D & Java types from a global tags file.
3076  * src/highlighting.c, doc/geany.txt, doc/geany.html:
3077    Add debug message warning if recursive lexer_filetype is set.
3078  * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3079    Remove duplicate sci_set_keywords(), make argument const.
3080  * src/highlighting.c:
3081    Only show debug message once if recursive lexer_filetype is set.
3082    Tidy highlighting_init_styles code for filetype None handling.
3083  * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3084    scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3085    src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3086    tagmanager/parsers.h, tagmanager/makefile.win32,
3087    tagmanager/verilog.c, tagmanager/Makefile.am,
3088    data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3089    Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3090  * src/highlighting.c:
3091    Fix segfault on startup (oops).
3092  * data/filetypes.verilog:
3093    Fix using common style colours for Verilog.
3096 2009-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3098  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3099    data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3100    Move C-like filetype properties into configuration files.
3101  * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3102    data/filetypes.c:
3103    Remove now unnecessary "styling_within_preprocessor" C style key.
3104  * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3105    data/filetypes.glsl, data/filetypes.cs:
3106    Use lexer_filetype=C configuration file key instead of duplicate
3107    styleset functions for C++, C#, GLSL, Vala.
3110 2009-12-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3112  * doc/geany.txt, doc/geany.html:
3113    Warn about not using BOM for configuration files (confuses GKeyFile
3114    parser, at least on my system).
3115  * src/filetypes.c:
3116    Add/improve debug messages for custom filetypes.
3119 2009-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3121  * data/latex.tags:
3122    Add a couple of further latex-beamer commands to list of LaTeX tags.
3125 2009-11-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3127  * plugins/filebrowser.c:
3128    Add an in-entry clear icon to the filebrowser plugin's filter
3129    entry (patch by Dominic Hopf, thanks).
3130  * src/prefs.c, src/ui_utils.c:
3131    Fix two compiler warnings about possibly uninitialised variables.
3134 2009-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3136  * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3137    plugins/geanyfunctions.h:
3138    Add main_is_realized() to the plugin API.
3139  * tagmanager/include/tm_tagmanager.h:
3140    Update partly outdated and wrong doc comment.
3141  * src/main.c, src/main.h, src/socket.c:
3142    Allow opening Geany projects remotely.
3143  * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3144    Add a hidden pref to allow executing text which was sent to the
3145    terminal directly, i.e. do not strip trailing newline characters.
3146    Also fix the stripping of trailing newline characters if there was
3147    more than one.
3150 2009-11-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3152  * src/about.c, THANKS:
3153    Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3154    Kurt de Bree into section of previous translators.
3157 2009-11-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3159  * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3160    Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3161    thanks).
3164 2009-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3166  * src/highlighting.c:
3167    Make stylesets take a ft_id argument so they can be reused fully with
3168    custom filetypes, so custom styles and keywords can be set.
3169  * src/highlighting.c:
3170    Fix setting filetype properties when both the system and the user
3171    file have properties set.
3172  * src/symbols.c, tagmanager/vhdl.c:
3173    Parse VHDL signals.
3174  * src/highlighting.c:
3175    Fix lexer settings for custom filetypes.
3178 2009-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3180  * tagmanager/php.c:
3181    Remove duplicate regular expression for parsing classes.
3182    Fix and improve parsing of constants (patch by Harold Aling, thanks).
3183  * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3184    src/main.h, THANKS, src/about.c:
3185    Add new command line option "--socket-file" to be able to specify
3186    separate socket filenames for instances
3187    (closes #2896027, patch by Jörn Reder, thanks).
3188  * src/keybindings.c, src/keybindings.h:
3189    Add keybindings_check_event() to manually check GdkKeyEvents against
3190    Geany's keybindings.
3191  * src/callbacks.c, src/utils.c, src/utils.h:
3192    Add and use utils_get_help_url().
3193  * geany.glade, src/interface.c, src/prefs.c:
3194    Add a Help button to the preferences dialog.
3195    Handle Help keybinding events for the preferences dialog especially
3196    and open the manual with the corresponding anchor link to the current
3197    preferences page (same goes for the new Help button).
3200 2009-11-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3202  * src/toolbar.c, src/geanymenubuttonaction.c,
3203    src/geanymenubuttonaction.h:
3204    Use separate tooltips for toolbar menu buttons and their attached
3205    drop-down arrows.
3206  * tagmanager/latex.c:
3207    Improve parsing of sections and chapters by ignoring shortnames
3208    like \section[shortname]{label} (closes #2890477).
3211 2009-11-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3213  * src/geanymenubuttonaction.c:
3214    Try to fix Gtk warning when using Tools->Reload Configuration.
3217 2009-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3219  * src/highlighting.c, doc/geany.txt, doc/geany.html,
3220    data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
3221    data/filetypes.pascal, data/filetypes.docbook,
3222    data/filetypes.python, data/filetypes.conf:
3223    Use filetypes.foo [lexer_properties] group instead of hardcoding
3224    lexer properties (more flexible e.g. for custom filetypes).
3225  * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
3226    Replace filetypes.xml html_asp_default_language key with
3227    filetypes.html asp.default.language property in [lexer_properties]
3228    group.
3231 2009-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3233  * doc/geany.txt, doc/geany.html:
3234    Fix slightly wrong description of how to insert Unicode characters.
3235  * src/ui_utils.c:
3236    Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
3237    ui_setup_open_button_callback().
3238  * src/prefs.c, src/prefs.c, src/vte.c:
3239    Refactor color and font button callback functions in the
3240    preferences dialog. Move the VTE related callback functions
3241    into vte.c.
3242    Make use of ui_setup_open_button_callback().
3243  * src/printing.c:
3244    Improve printing status texts (patch by Dominic Hopf, thanks).
3245  * src/prefs.c, src/vte.c:
3246    Use the default dialog title set by ui_setup_open_button_callback()
3247    to be more consistent and to save one string.
3250 2009-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3252  * tagmanager/c.c:
3253    Separate DKinds from CKinds.
3254    Don't generate macro tags for D, Java.
3257 2009-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3259  * tagmanager/ctags.c, tagmanager/general.h:
3260    Make TagManager Assert statements cause g_warning on failure.
3261  * src/keybindings.c:
3262    Fix reflow paragraph command when cursor < anchor using
3263    sci_fix_selection().
3266 2009-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3268  * tagmanager/perl.c:
3269    Fix Geany segfault with constant tags (#2895168).
3270  * src/symbols.c:
3271    Fix invalid tree iter access when using tv_iters.tag_other but not
3272    using tv_iters.tag_variable.
3273  * HACKING, tagmanager/perl.c:
3274    Fix parsing Perl format statements ("other" type doesn't seem
3275    to work).
3276  * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
3277    Fix using "other" tag type.
3280 2009-11-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3282  * src/vte.c:
3283    Remove useless comment about applying settings only when libvte.so
3284    could be loaded which is only displayed *if* libvte.so is loaded.
3285  * src/editor.c:
3286    Allow autocompletion for HTML entities even within a word.
3287  * src/geanymenubuttonaction.c:
3288    Only set the menu of the button if a non-empty GtkMenu is passed to
3289    geany_menu_button_action_set_menu() so the menu arrow keeps
3290    insensitive.
3293 2009-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3295  * tagmanager/c.c:
3296    Fix parsing some Java code (e.g. filetypes.java) after r4407.
3299 2009-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3301  * tagmanager/c.c:
3302    Parse D functions with contracts (fixes #1885480).
3303    Parse D alias statement like typedef.
3304    (Ignore some more D keywords).
3305  * tagmanager/c.c:
3306    Fix creating D interface tags properly.
3307  * tagmanager/c.c:
3308    Parse contents of D extern{} and version{} blocks.
3311 2009-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3313  * src/main.c:
3314    Remove old code.
3317 2009-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3319  * src/plugindata.h, HACKING:
3320    Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
3321    instead.
3322  * src/callbacks.c:
3323    Show number of files saved on status bar when using Save All.
3324  * src/highlighting.c:
3325    Use default color scheme if pref color scheme file doesn't exist.
3326  * src/keybindings.c:
3327    Fix moving correct lines after selecting whole line(s).
3330 2009-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3332  * tagmanager/makefile.win32:
3333    Fix broken build on Windows because of a typo
3334    (patch by Timothy Boronczyk, thanks).
3337 2009-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3339  * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
3340    src/editor.h:
3341    Add 'View->Editor->Color Schemes' menu, for now only shown if color
3342    scheme files exist in a colorschemes config directory. Color scheme
3343    files must end in ".conf" and currently only the [named_styles]
3344    section is read.
3345  * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
3346    Add utils_get_config_files().
3347  * src/highlighting.c:
3348    Fix issue with default color not being reset if overridden with a
3349    system default color.
3350  * src/highlighting.c:
3351    Only reload filetype files when changing color scheme, not all
3352    configuration files.
3353  * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
3354    Deprecate documents_foreach() as it looks more like a function; use
3355    foreach_document() instead.
3356    Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
3359 2009-10-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3361  * src/stash.c, src/stash.h:
3362    Use typedef instead of pointer for widget_id function arguments.
3365 2009-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3367  * src/pluginutils.c:
3368    Don't expand Plugin Preferences page spacing vertically to fill the
3369    height of the dialog.
3370  * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
3371    geany.glade, plugins/splitwindow.c:
3372    Allow GeanyKeyBinding label field to contain underscores, which won't
3373    be displayed by Geany. This saves adding near-duplicate translation
3374    strings.
3375    Add mnemonics for 3 Edit->Format menu items.
3376    Add keybindings_get_label().
3377  * src/interface.c, geany.glade:
3378    Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
3379    dialog.
3382 2009-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3384  * src/ui_utils.c:
3385    Desensitize Edit->Commands menu item when no docs are open.
3386  * src/interface.c, src/keybindings.c, src/callbacks.c,
3387    src/callbacks.h, geany.glade:
3388    Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
3389  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3390    Add general function sci_get_string() that works with any string
3391    buffer messages that follow the Windows message convention.
3392  * src/pluginprivate.h, src/interface.c, src/keybindings.c,
3393    src/keybindings.h, src/callbacks.c, src/callbacks.h,
3394    src/pluginutils.c, src/pluginutils.h, geany.glade:
3395    Add 'Edit->Plugin Preferences' menu item and keybinding.
3396    Don't include plugindata.h in pluginutils.h because it redefines the
3397    GEANY() macro for plugin use.
3398  * doc/geany.txt, doc/geany.html:
3399    Update for Plugin Preferences keybinding.
3402 2009-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3404  * src/editor.c:
3405    Sort document word completion list.
3406  * src/interface.c, src/keybindings.c, src/callbacks.c,
3407    src/callbacks.h, geany.glade:
3408    Add some useful commands to editor popup menu under "Commands"
3409    submenu (thanks to Lex).
3410    Move 'Duplicate line or selection' from Format -> Commands submenu.
3411  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
3412    Enable switching the sidebar to the right on Windows again, as it
3413    apparently works after all.
3414  * src/editor.c:
3415    Fix using tab to autocomplete in some other situations that word part
3416    completion doesn't apply in.
3417  * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
3418    Add Edit->Commands submenu which is shared with the editor popup
3419    menu.
3420  * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
3421    Change editor popup Commands submenu to start as child of menubar
3422    Edit menu, as this is more usual e.g. for keybindings initialization.
3423  * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
3424    geany.glade:
3425    Share a single Format submenu for menubar Edit and popup menu.
3428 2009-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3430  * src/build.c:
3431    Fix a compiler warning about an uninitialised variable.
3432  * wscript:
3433    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
3434    sciwrappers.h, build.h (for the Waf build system,
3435    accordingly to r4366).
3438 2009-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3440  * src/prefs.h, src/search.h, src/support.h, src/templates.h,
3441    src/toolbar.c, src/toolbar.h:
3442    Add missing dox for types/files in the API.
3443  * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
3444    Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
3445    sciwrappers.h, build.h. (This helps to get compiler warnings for uses
3446    of functions not in the API).
3447    Warning: any plugins that include these headers should remove them.
3448  * src/build.c, src/build.h:
3449    Move function doc-comments to build.c so they stay in sync. Note:
3450    these functions are still not in the API.
3451  * HACKING:
3452    Add 'Doc-comments' plugin API subsection.
3453  * plugins/filebrowser.c:
3454    Fix packing configure widgets equally.
3455    Use spacing multiples of 6 as recommended by Gnome HIG.
3456  * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
3457    Disable switching the sidebar to the right on Windows as it will
3458    probably fail like the Split Window plugin.
3459  * src/document.c:
3460    Improve 'Detect from file' indentation pref by ignoring lines with
3461    indentation wider than 24 characters as this is more likely to be
3462    alignment than indentation.
3465 2009-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3467  * plugins/saveactions.c:
3468    Fix adding the filetype's default extension when using the
3469    Instant Save plugin (closes #2885142).
3470  * src/main.c:
3471    Before looking for line and column numbers specified as part
3472    of a filename, ensure the file doesn't exist on disk. This allows
3473    opening of files like "test:0".
3474  * src/sidebar.c:
3475    Rename "select" variables into "selection" to avoid shadowed names.
3476  * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
3477    Add ui_widget_modify_font_from_string() and sci_goto_line()
3478    to the plugin API.
3479  * plugins/filebrowser.c:
3480    Rename "select" variables into "selection" to avoid shadowed names.
3481    Make use of ui_widget_modify_font_from_string().
3484 2009-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3486  * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
3487    src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
3488    geany.glade:
3489    Add sidebar position interface pref.
3492 2009-10-23  Lex Trotman  <elextr.at.gmail.dot.com>
3494  * doc/geany.txt, doc/geany.html:
3495    Add missing underscores to links.
3498 2009-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3500  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3501    Add 'Move line(s) up/down' keybindings.
3504 2009-10-22  Lex Trotman  <elextr.at.gmail.dot.com>
3506  * src/build.c, src/build.h, src/filetypes.h:
3507    Include code for project filetype execute commands and fix bug in
3508    saving project filetypes list.
3509  * src/project.c, src/build.c, doc/geany.txt:
3510    Make non-project execute configuration save to filetypes not
3511    geany.conf.
3512    Fix closing of project failing to remove build commands dialog entry.
3515 2009-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3517  * src/project.c, src/ui_utils.c:
3518    Set border width for project properties build table.
3519  * geany.glade, src/interface.c:
3520    Don't expand hard tab width alignment.
3523 2009-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3525  * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
3526    doc/geany.txt, doc/geany.html:
3527    Support loading global tags files for custom filetypes.
3528  * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
3529    doc/geany.txt, doc/geany.html:
3530    Add 'Word part completion' keybinding so keys other than Tab can be
3531    used, or to clear/change the combination so Tab does full completion
3532    like before.
3533  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3534    Add 'Select to previous/next word part' keybindings.
3535  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3536    Add 'Switch to Messages' focus keybinding.
3539 2009-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3541  * doc/geany.txt, doc/geany.html:
3542    Add 'Custom filetypes' section.
3543  * src/filetypes.c, src/filetypes.h, src/document.c,
3544    doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
3545    tagmanager/include/tm_source_file.h:
3546    Add filetype "tag_parser" key so custom filetypes can use an existing
3547    tag parser.
3548    Add tm_source_file_get_named_lang().
3549  * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
3550    doc/geany.html:
3551    Add filetype "lexer_filetype" key so custom filetypes can use an
3552    existing lexer.
3555 2009-10-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3557  * THANKS, src/about.c:
3558    Add Xhacker Liu for his work at zh_CN translation to long list of
3559    translators.
3562 2009-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3564  * src/sciwrappers.c:
3565    Remove unnecessary line number margin padding.
3566  * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
3567    scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
3568    src/editor.c:
3569    Improve word part autocompletion so AC list is not cancelled and
3570    reshown (this also stops the selection changing).
3571    Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
3572  * src/editor.c:
3573    Improve CamelCase word part autocompletion for runs of capital
3574    letters.
3575  * src/editor.c:
3576    Don't complete snippets if there's a selection.
3579 2009-10-16  Lex Trotman  <elextr(at)gmail(dot)com>
3581  * src/build.c:
3582    Fix crash opening project when Geany started with no geany.conf.
3585 2009-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3587  * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
3588    src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
3589    doc/geany.html:
3590    Add word part autocompletion for the current selected item when
3591    pressing Tab - Enter still completes normally.
3592    Add foreach_str() API macro.
3593    Temporarily modify scintilla to say if tab was used for
3594    autocompletion.
3595  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3596    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3597    plugins/classbuilder.c:
3598    Revert r4301 - utils_free_pointers() taking 4 arguments.
3599  * src/highlighting.c, src/highlighting.h, src/plugindata.h,
3600    src/document.c, src/plugins.c, plugins/geanyfunctions.h,
3601    plugins/splitwindow.c:
3602    Add highlighting_set_styles() to API, use for Split Window plugin so
3603    filetypes.common settings get set too.
3604    Make highlighting_set_styles() take GeanyFiletype pointer instead of
3605    filetype id.
3606  * src/document.c, src/editor.c, plugins/splitwindow.c:
3607    Call editor_apply_update_prefs() from editor_create_widget() so
3608    correct tab width and other settings are applied for Split Window
3609    plugin.
3612 2009-10-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3614  * src/keybindings.c:
3615    Don't include trailing newlines when using reflow command.
3616  * src/notebook.c:
3617    Add stock close buttons to notebook tab popup menu.
3618  * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
3619    plugins/geanyfunctions.h:
3620    Add document_get_notebook_page() to API.
3621    Minor edits of dox.
3622  * data/templates/files/file.html, data/templates/files/file.php:
3623    Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
3624  * src/interface.c, src/ui_utils.c, geany.glade:
3625    Move Tools configuration items to top of menu.
3626  * src/keybindings.c, src/search.c:
3627    Fix warning when using Find in Files with no documents open; make
3628    keybinding work in this case.
3631 2009-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3633  * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
3634    src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
3635    Make Split Window 'Show current document' button have a drop-down
3636    menu to select the other documents.
3637    Add new API function ui_menu_add_document_items().
3640 2009-10-13  Lex Trotman  <elextr(at)gmail(dot)com>
3642  * src/build.c:
3643    Fix sensitivity settings for compile and build toolbar items.
3646 2009-10-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3648  * src/templates.c:
3649    Don't use filetype submenus for templates (slower to navigate, often
3650    only 1 per-filetype anyway).
3651  * src/templates.c:
3652    Put old filetype template menu items in 'Old' submenu as they should
3653    be removed after the 0.19 release.
3654  * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
3655    Add GeanyKeyGroup callback support, which allow keybinding callbacks
3656    to be ignored if inappropriate so a later keybinding with the same
3657    key combination can intercept it. (Also group callbacks are usually
3658    tidier than separate callbacks).
3659    Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
3660  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3661    src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3662    plugins/classbuilder.c:
3663    Make utils_free_pointers() take 4 arguments, add to API.
3664  * src/templates.c, src/tools.c, src/ui_utils.c:
3665    Fix memory leaks with gtk_container_get_children().
3668 2009-10-12  Lex Trotman  <elextr(at)gmail(dot)com>
3670  * src/build.c:
3671    Ensure that old style build config is not loaded if it does
3672    not exist.
3675 2009-10-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3677  * THANKS, src/about.c, po/LINGUAS, po/gl.po:
3678    Added Galician translation.
3679    Thanks to José Manuel Castroagudín Silva.
3682 2009-10-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3684  * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
3685    src/interface.c:
3686    Apply set default encoding for existing files only if the files are
3687    non-Unicode (patch by Alexey Antipov, thanks).
3690 2009-10-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3692  * src/highlighting.c:
3693    Move new_styleset() and preprocessor setup code into
3694    styleset_c_like().
3695  * src/highlighting.c:
3696    Call apply_filetype_properties() from styleset_c_like().
3699 2009-10-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3701  * doc/geany.txt, doc/geany.html:
3702    Improve information about predefined keybindings which are
3703    commonly used across applications (patch by Lex Trotman, thanks).
3704  * src/printing.c:
3705    Enable embedded page setup properties in the (Unix) Print dialog
3706    on newer GTK versions (closes #2870596).
3707  * src/highlighting.c:
3708    Map global types (read from tags files) to keyword style for
3709    filetype Java.
3712 2009-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3714  * src/templates.c:
3715    Fix wrong creation of filetype template menu items for custom
3716    filetypes.
3717  * src/highlighting.c:
3718    Use jscript_keyword for SCE_HB[A]_WORD markup styles.
3719  * src/templates.c:
3720    Group 'New with template' items by filetype submenu (currently only
3721    for toolbar menu).
3722    Show custom file template items before filetype template items.
3723  * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
3724    geany.glade:
3725    Only use one 'New with template' submenu - reparent as needed.
3726  * src/templates.c:
3727    Don't create templates/filetype.none either.
3728  * src/templates.c:
3729    Warn if custom template file no longer exists.
3732 2009-09-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3734  * src/symbols.c:
3735    Add missing icon for Java packages in the Symbol List.
3738 2009-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3740  * src/highlighting.c, data/filetypes.vala:
3741    Add Vala keywords to conf file.
3742  * src/templates.c, doc/geany.txt, doc/geany.html:
3743    Read custom file templates from $prefix/share/geany/templates/files
3744    as well as user dir.
3745  * src/templates.c, data/templates, data/templates/files,
3746    data/templates/files/file.rb, data/templates/files/file.html,
3747    data/templates/files/main.java, data/templates/files/main.c,
3748    data/templates/files/main.cxx, data/templates/files/file.php,
3749    data/templates/files/main.d, data/templates/files/program.pas,
3750    data/templates/files/main.py, data/templates/files/file.tex,
3751    wscript, Makefile.am:
3752    Move filetype template defaults into custom file template files.
3755 2009-09-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3757  * src/symbols.c, tagmanager/perl.c:
3758    Change Perl tag parser to ctags SVN r601. This removes support for
3759    buggy local/my/our but it parses constant/format/labels and should
3760    be less buggy overall (closes #2861232).
3761  * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3762    Add utils_get_file_list_full() which can optionally sort or include
3763    a full path for each list item.
3764  * src/utils.c, src/plugindata.h, src/plugins.c:
3765    Add utils_get_file_list_full() to API.
3768 2009-09-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3770  * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3771    src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3772    src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3773    src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3774    po/POTFILES.in, wscript:
3775    Rename treeviews.[hc] -> sidebar.[hc].
3776  * data/filetypes.common:
3777    Remove unused [styling] arguments.
3778  * src/highlighting.c, data/filetypes.markdown,
3779    data/filetypes.restructuredtext:
3780    Remove style defaults from the code - just read them from
3781    configuration files.
3782  * src/highlighting.c, HACKING:
3783    Add apply_style_entries() to simplify implementing styleset_foo().
3784  * src/highlighting.c:
3785    Remove filetype keyword defaults from the code - just read them from
3786    configuration files.
3787  * src/highlighting.c:
3788    Add sci_set_keywords() wrapper.
3791 2009-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3793  * scripts/create_py_tags.py:
3794    Make the code a bit more pythonic.
3795  * doc/images/build_menu_commands_dialog.png,
3796    doc/images/main_window.png:
3797    Add new images referenced in the documentation.
3798  * doc/geany.html, doc/geany.txt:
3799    Several documentation improvements (patch by Lex Trotman, thanks).
3800  * src/pluginutils.c:
3801    Fix setting the appropriate page of the combined plugins
3802    preferences dialog.
3805 2009-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3807  * src/keybindings.c:
3808    Only focus toolbar goto line entry when pressing keybinding if it's
3809    visible (patch by Eugene Arshinov, thanks).
3810  * src/callbacks.c:
3811    Focus editor after entering a number in the goto line toolbar entry.
3812  * configure.in:
3813    Use AC_PATH_PROG instead of which for portability (patch by Erik
3814    Southworth, thanks).
3815  * src/plugins.c:
3816    Show plugins that only implement plugin_configure_single() in the
3817    multiple-configure dialog as a page with a configure button on it.
3818    Add padding for multiple-configure dialog.
3819    Make the multiple-configure dialog notebook tabs scrollable.
3820  * src/pluginutils.c, src/pluginutils.h:
3821    Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3822  * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3823    src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3824    plugins/geanyfunctions.h, plugins/filebrowser.c:
3825    Add plugin_show_configure() API utility function.
3826    Add File Browser popup menu 'Preferences' item.
3827  * src/highlighting.c:
3828    Add get_keyfile_ints() instead of using tmp_style hack.
3829  * src/highlighting.c, data/filetypes.xml:
3830    Change new html_asp_default_language markup pref to use integer,
3831    not hex in config file.
3832    Fix minor issue with changing pref back to 0.
3833  * src/highlighting.c:
3834    Fix possible segfault in get_keyfile_int() if key value is malformed.
3837 2009-09-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3839  * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3840    Add "html_asp_default_language" pseudo style to filetypes.xml
3841    to allow setting the used language in embedded ASP code
3842    (patch by Ross McKay, thanks).
3843  * src/filetypes.xml:
3844    Update VBScript keywords (patch by Ross McKay, thanks).
3847 2009-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3849  * src/keybindings.c, THANKS:
3850    Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3851    keybinding use line breaking column when enabled.
3852  * src/document.c:
3853    Fix showing the document before reload dialog when opening an
3854    already-open file.
3855  * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3856    Add plugin_configure_single() plugin symbol which is easier to
3857    implement than plugin_configure() but won't support a
3858    multiple-plugin configure dialog.
3859  * src/plugins.c:
3860    Show multiple plugins in the 'Configure Plugins' dialog.
3863 2009-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3865  * doc/geany.txt, doc/geany.html:
3866    Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3867    Minor edits.
3868  * doc/geany.txt, doc/geany.html:
3869    Add 'Toolbar entries' section.
3870  * doc/geany.txt, doc/geany.html:
3871    Update 'Go to line' keybinding description.
3872  * doc/geany.txt, doc/geany.html:
3873    Split keybinding table into group tables; update KB links.
3876 2009-09-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3878  * src/build.c:
3879    Fix compiler warnings about uninitialised variables.
3880  * src/callbacks.c, src/document.c:
3881    When reloading files, use the previously set encoding instead of
3882    detecting it again (closes #2862041).
3883  * configure.in:
3884    Turn on automake silent rules if supported.
3887 2009-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3889  * src/utils.c:
3890    Speed up sorting in utils_get_file_list(). This reduces the file
3891    browser delay on displaying a big directory, e.g. /usr/bin.
3892  * src/build.c:
3893    Expand command entry width when expanding Build Commands dialog.
3894  * src/build.c:
3895    Split Build Commands dialog notes label and edit text.
3896  * src/build.c:
3897    Add padding for Build Commands dialog separators.
3898    Add colons for regex field labels; fix 1 capitalisation.
3899  * src/build.c:
3900    Fix none filetype Build Commands dialog label.
3901    Make group labels bold.
3902  * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3903    src/ui_utils.c:
3904    Add & use ui_label_set_markup(), ui_label_new_bold().
3905  * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3906    src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3907    src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3908    Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3909  * src/keybindings.c:
3910    Make 'Go to Line' keybinding focus the toolbar entry if visible.
3913 2009-09-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3915  * src/filetypes.c, src/filetypes.h, src/symbols.c,
3916    tagmanager/parsers.h, tagmanager/makefile.win32,
3917    tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3918    data/filetype_extensions.conf, wscript:
3919    Add new filetype: Abc (patch by Eric Forgeot, thanks).
3920  * tagmanager/php.c:
3921    Merge recent changes from the CTags project to further improve
3922    PHP symbol parsing.
3925 2009-09-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3927  * src/printing.c:
3928    Fix wrong alignment of printed pages when page headers are
3929    disabled (closes #2856822).
3930    Plug a small memory leak and improve function signature of
3931    add_page_header().
3932  * src/keyfile.c:
3933    Save an if expression.
3934  * src/ui_utils.c:
3935    After clearing a text field using the embedded clear icon, put the
3936    input focus into this text field.
3939 2009-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3941  * plugins/filebrowser.c:
3942    Free file list memory whilst iterating the list.
3943    Minor formatting fixes.
3944  * src/utils.c, src/utils.h:
3945    Add foreach_dir() API macro.
3946    Update API docs for utils_get_file_list().
3947  * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3948    po/POTFILES.in:
3949    Remove queue.[hc] - use GQueue instead of GeanyQueue.
3950    Beep if there are no more snippet positions.
3951    Limit length of snippet positions queue to 20.
3954 2009-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3956  * src/keybindings.c, src/callbacks.c, src/search.c:
3957    Make Goto Tag commands use the current selection if present (useful
3958    for selecting part of a tag or for ReST section names with spaces
3959    in).
3960  * src/document.c:
3961    Don't move the cursor when reloading.
3962  * src/plugindata.h, src/editor.c, src/editor.h:
3963    Make editor_prefs.snippets hash table private (not a pref).
3966 2009-09-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3968  * src/main.c:
3969    Remove deprecated --debug flag. Please use --verbose/-v instead.
3972 2009-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3974  * src/search.c:
3975    Show Find in Files stderr output in messages window instead of
3976    debug window so that invalid regex messages can be seen easily.
3977    Combine FIF stdout and stderr callback code.
3980 2009-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3982  * src/utils.c:
3983    Fix opening filenames beginning with two dots (closes #2858487).
3984  * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3985    src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3986    data/filetypes.common, geany.glade:
3987    Update syntax highlighting after changing the 'Invert syntax
3988    highlighting colors' pref, instead of requiring a restart.
3989    Remove filetypes.common invert_all option - use 'Invert syntax
3990    highlighting colors' pref instead (closes #2854525).
3991  * src/prefs.c, src/dialogs.c, src/dialogs.h:
3992    Add 'Allow' button when showing the conflicting keybinding dialog.
3993    Make dialogs_show_question_full() use GTK dialog on Windows if
3994    button text is not the stock yes/no items.
3995    Add dialogs_show_prompt() which also has an 'Apply' button.
3996  * src/queue.c, src/queue.h:
3997    Add warning that GeanyQueue may be removed.
3998  * src/keybindings.c, src/editor.c, src/editor.h:
3999    Change snippet_goto_next_cursor() to
4000    editor_goto_next_snippet_cursor() as it's in editor.h.
4001    Avoid using GPOINTER_TO_INT macro.
4004 2009-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4006  * src/keybindings.c:
4007    Fix 'Reflow block' command when at the last paragraph and there's
4008    no last newline (patch by Eugene Arshinov, thanks).
4009  * HACKING:
4010    Add 'Compiler options & warnings' section.
4011    Update Style section to be clearer about code alignment and show
4012    some example code.
4013    Other minor edits.
4016 2009-09-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4018  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4019    src/plugindata.h, src/plugins.c, src/editor.c,
4020    plugins/geanyfunctions.h:
4021    Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4022    sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4023    Siamashka).
4024    Add sci_toggle_marker_at_line().
4025    Fix SciFuncs alignment.
4028 2009-09-11  Lex Trotman  <elextr(at)gmail(dot)com>
4030  * src/build.c:
4031    Fix erroneous free of returned string in prepare_run_script.
4034 2009-09-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4036  * data/filetypes.latex:
4037    Changing default value for showing pdf and dvi to ensure to take
4038    *.pdf and *.dvi file.
4041 2009-09-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4043  * src/about.c, THANKS:
4044    Change language string for Slovenian translation.
4047 2009-09-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4049  * tagmanager/txt2tags.c:
4050    Fix multi-byte character constant comparison.
4051  * src/treeviews.c:
4052    Fix Gtk warning when trying to update documents popup menu item
4053    sensitivity before they exist.
4056 2009-09-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4058  * src/plugins.c:
4059    Improve the opening string in the plugin manager dialog.
4060  * doc/geany.css:
4061    Use "max-width" to set the document width of the generated
4062    HTML documentation to let the text be auto-wrapped.
4063  * src/prefs.c, src/tagmanager/include/guregex.h,
4064    src/tagmanager/include/tm_tagmanager.h:
4065    Remove trailing spaces (patch by André Hentschel, thanks).
4066  * src/treeviews.c:
4067    Fix a compiler warning.
4068  * src/document.c:
4069    Fix crash when opening documents.
4070  * src/build.c, src/build.h, src/project.c:
4071    Adjust coding style (no code changes).
4072  * src/build.c, src/project.c:
4073    Use NZV() macro instead of strlen() to check for empty strings.
4074    Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4075  * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4076    src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4077    src/plugins.c, THANKS:
4078    Add new plugin signal: "document-before-save".
4079    Add get_line_end_position(), set_target_start(), set_target_end(),
4080    replace_target() to the plugin API
4081    (patch by Eugene Arshinov, thanks).
4082    Add new plugin signal: "document-filetype-set" (closes #2852286).
4083  * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4084    src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4085    tagmanager/Makefile.am, tagmanager/makefile.win32,
4086    tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4087    wscript, THANKS:
4088    Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4091 2009-09-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4093  * src/treeviews.c, src/document.c:
4094    Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4095    Use gtk_notebook_set_current_page() instead of
4096    document_open_file_full() when choosing an item from the documents
4097    list.
4098    Avoid using goto in document_open_file_full().
4101 2009-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4103  * src/treeviews.c, src/document.c, src/document.h, THANKS:
4104    Enable type-ahead find for sidebar symbols and documents tabs
4105    (patch by Thomas Martitz, thanks).
4106  * src/build.c:
4107    Fix 2 free's of possibly uninitialized pointers.
4110 2009-09-03  Lex Trotman  <elextr(at)gmail(dot)com>
4112  * src/build.c, src/filetypes.h, src/filetypes.c:
4113    Only write filetype config files when build command or regex is
4114    actually changed.  Removed commented code in src/filetypes.c.
4115  * src/build.c:
4116    Ensure uses of filename are protected against nulls when running
4117    a build command and give status message if not.
4120 2009-09-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4122  * src/plugins.c:
4123    Remove plugin from plugin manager dialog on unloading if it no
4124    longer exists or is incompatible.
4127 2009-08-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4129  * src/plugins.c:
4130    Add warning if only one of the plugin_key_group[_info] symbols is
4131    defined for a plugin.
4132  * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4133    src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4134    TODO:
4135    Merge custom-filetypes branch:
4136    Support adding custom filetype files e.g. filetypes.Foo.conf.
4137  - Code:
4138    Allow GeanyFiletype::extension to be NULL.
4139    Add note about using GeanyFiletype pointer instead of filetype_id
4140    for filetypes.c function arguments.
4141    Replace styleset_none() with styleset_default().
4144 2009-08-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4146  * src/prefs.c:
4147    Show the sidebar if either the documents or the symbols list are
4148    enabled (related to #1876107).
4151 2009-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4153  * src/build.c, src/filetypes.c:
4154    Fix compiler warnings.
4155  * src/utils.c:
4156    Fix removing leading double slashes in filenames which are used for
4157    network resources on Windows (closes #2844085).
4160 2009-08-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4162  * src/keybindings.c:
4163    Fix Make keybindings (patch by Lex Trotman, thanks).
4164  * src/geany.h:
4165    Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4166  * doc/plugins.dox:
4167    Mention Files link at top for header files; demoplugin.c.
4168    Minor edits; remove 'far from being complete'.
4169  * src/keyfile.c, src/keyfile.h, src/main.c,
4170    data/filetype_extensions.conf, HACKING:
4171    Remove --generate-data-files argument & code - just edit
4172    filetype_extensions.conf by hand (filetype order was broken
4173    anyway).
4174    Add *.H extension for C++ (useful for non-Windows systems).
4177 2009-08-27  Lex Trotman  <elextr(at)gmail(dot)com>
4179  * src/build.c:
4180    Fix implementation of loading old project files with base
4181    directories. Use project_make_base_path instead of re-
4182    implementing.  Now depends on project.c reading base dir
4183    prior to calling load_build_menu.
4184  * src/build.c:
4185    Change usage of project base directory to conform with
4186    previous documented behavior when loading old project files.
4187  * src/build.c:
4188    Change make custom and make object to ignore make in base path
4189    when reading old project file settings.  Changed some indent
4190    spaces to tabs. Fix missing compile menu accelerator.
4193 2009-08-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4195  * doc/plugins.dox:
4196    Add warning about not using undocumented features.
4197    Add reference to HACKING for plugin API development.
4198  * HACKING:
4199    Add section 'Plugin API/ABI design'.
4200  * src/keybindings.h, src/makefile.win32, src/project.h,
4201    src/filetypes.h, src/Makefile.am, wscript:
4202    Use GEANY_PRIVATE to hide some fields from plugins.
4203  * src/build.c:
4204    Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
4205  * src/build.c, src/build.h, src/project.c:
4206    Use build_ prefix for 3 functions in build.h; add a static modifier.
4209 2009-08-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4211  * tagmanager/php.c:
4212    Improve parsing of PHP functions by requiring a valid modifier or
4213    whitespace before the 'function' keyword to ignore some false
4214    positives like function tags inside comments
4215    (patch by Harold Aling, thanks).
4216  * tagmanager/python.c:
4217    Don't parse comments after import statements and other tags
4218    (closes #2838938, patch by Huandari Lopez, thanks).
4221 2009-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4223  * data/filetypes.markdown:
4224    Add filetypes.markdown for configuration (thanks to Jon Strait).
4225  * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
4226    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4227    plugins/geanyfunctions.h:
4228    Remove GeanyKeyGroup struct from the API - plugins should not set
4229    these fields.
4230    Make keybindings_set_item() duplicate the name and label fields
4231    (needed by GeanyLua) and return a keybinding pointer.
4232    Add keybindings_get_item() to the API (in case it's useful).
4233    Move some keybinding code out of plugin source files.
4236 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4238  * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
4239    Don't generate build.h API docs until everything is approved and
4240    functions are actually in geany_functions.
4241    Move new GeanyFiletype and GeanyProject field(s) to end of struct
4242    as they may be changed or made private later.
4243    Break ABI for fields removed.
4246 2009-07-30  Lex Trotman  <elextr(at)gmail(dot)com>
4248  * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
4249    src/keyfile.c, src/project.c:
4250    Changed names of symbols visible in build API to GEANY_xxx.
4253 2009-07-29  Lex Trotman  <elextr(at)gmail(dot)com>
4255  * src/project.h, src/project.c, src/build.c:
4256    Remove make_in_base_dir and run_cmd fields from project structure.
4257    Replaced by build functionality.  Remove incorrect use in src/build.c
4258    build_run_cmd function.
4261 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
4263  * src/project.h, src/project.c:
4264    Removed unused project_get_make_dir function, this is now per
4265    command.
4268 2009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
4270  * src/build.c, src/build.h, src/project.c, src/keyfile.c,
4271    src/filetypes.c:
4272    Fix some more warnings.
4273    Fix commented out execute/stop toolbar code in build.c.
4274    Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
4275    Changed build.h api so all functions prefixed with build_.
4278 2009-07-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4280  * src/build.c, src/build.h, src/project.c:
4281    Fix some gcc warnings with '-Wall -W -ansi' enabled.
4284 2009-07-25  Lex Trotman  <elextr(at)gmail(dot)com>
4286  * src/build.c:
4287    Fixed leaks and crashes due to inconsistent use of static vs dynamic
4288    strings when reading old format configuration & project files.
4289  * src/build.c, src/project.c:
4290    Fixed GLib array assertion warnings when no project filetypes are
4291    available to be saved.
4293 2009-07-24  Lex Trotman  <elextr(at)gmail(dot)com>
4295  * src/build.c:
4296    Fix build warnings.
4299 2009-07-22  Lex Trotman  <elextr(at)gmail(dot)com>
4301  * src/build.h, src/build.c, src/project.c:
4302    Created and documented plugins interface to build menu.
4303    Factored out new get_cmd_group function.
4304    Changed name of remove_command function to be consistent with the
4305    rest of the interface & changed calls in project.c.
4306  * src/Makefile.am, wscript:
4307    Added build.h to installed files lists.
4309 2009-07-20  Lex Trotman  <elextr(at)gmail(dot)com>
4311  * doc/geany.txt:
4312    Updated manual to match build-menu capability.
4315 2009-07-19  Lex Trotman  <elextr(at)gmail(dot)com>
4317  * src/build.c, src/build.h:
4318    Added set_build_non_ft_wd_to_proj() for use by project dialog.
4319    Improved interpretation of run_in_base_dir from old [build-settings]
4320    Added spacing to build commands dialog
4321  * src/project.c:
4322    Removed run in base path option from project dialog and added button
4323    to set working directories to d the same.
4326 2009-07-18  Lex Trotman  <elextr(at)gmail(dot)com>
4328  * src/build.c:
4329    Re-incorporated toolbar changes in trunk accidently excluded in merge
4331 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
4333  * src/build.c:
4334    Fixed substitute %f etc in commands
4335    Fixed potential leak in build_replace_placeholder
4336    Fixed leak in prepare_run_script (Thanks for patch Thomas)
4337    Fixed build_replace_placeholder to not require document.
4339 2009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
4341  * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
4342    Fixed crash and lots of warnings, deleted some commented out code.
4343  * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
4344    Removed make command from preferences and associated code
4346 2009-07-16  Lex Trotman  <elextr(at)gmail(dot)com>
4348  * src/build.c, src/build.h:
4349    Incorporated patch for working directory field (thanks Thomas)
4350    Removed run_in_base_dir option and associated code that it replaces
4351    Improved handling of old config files and mapping to new ones.
4353 2009-07-15  Lex Trotman  <elextr(at)gmail(dot)com>
4355  * src/build.h, src/build.c:
4356    Changed to itterate over entries in build commands dialog to allow
4357    additional fields to be added
4358    Implement support for multiple run commands
4359  * data/filetypes.latex:
4360    Implement configured commands and labels for latex.
4363 2009-07-14  Lex Trotman  <elextr(at)gmail(dot)com>
4365  * src/build.h, src/build.c:
4366    added dialog support for error regular expressions from multiple
4367    sources and storing and loading them fixed some typos and memory
4368    leaks
4369  * src/filetypes.c, src/filetypes.h, project.c:
4370    added support for using error regexes from multiple sources
4373 2009-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
4375  * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
4376    src/project.c:
4377    Removal of build menu item source made redundant by the following fix
4378  * src/build.c:
4379    Corrected priority oreder and loading of filetype dependent build
4380    menu items saved in the project file.  Added print routine for
4381    debugging command sources and priorities set compile symbol
4382    PRINTBUILDCMDS true to enable
4384 2009-07-10  Lex Trotman  <elextr(at)gmail(dot)com>
4386  * src/build.c:
4387    fixed problem loading old format filetype files, some formatting
4388    fixes fixed saving new format files
4389    added operation for clear button on build commands dialog
4390  * src/filetypes.c:
4391    fixed loading and saving filetype files
4394 2009-07-09  Lex Trotman  <elextr(at)gmail(dot)com>
4396 Configurable Build Menu Changes
4398  * doc/geany.html, doc/geany.txt:
4399    Updated build menu section to new functionality
4400  * src/build.h, src/build.c:
4401    Largly re-written, configurability added, Latex code removed
4402  * src/filetypes.h, src/filetypes.c:
4403    Filetype structure updated to add new command pointers, configuration
4404    load and store changed
4405  * src/keybindings.h, src/keybindings.c:
4406    Changed to address new command storage structure.
4407  * src/keyfile.c:
4408    Changed to load/store new configuration.
4409  * src/main.c:
4410    Minor change to initialisation order.
4411  * src/msgwindow.c:
4412    Changed to address new menu item storage structure.
4413  * src/project.h, src/project.c:
4414    Changed to load/store the new configuration info.
4416 2009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4418  * src/keybindings.c, src/keybindings.h, src/plugindata.h,
4419    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4420    doc/pluginsymbols.c, plugins/geanyfunctions.h,
4421    plugins/splitwindow.c:
4422    Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
4423    GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
4424    the ABI when adding fields to them.
4425    Add plugin_set_key_group() for plugins to dynamically set a
4426    keybinding group (e.g. for the Lua script plugin). Used in Split
4427    Window plugin as an example.
4428    Improve keybinding docs a little.
4431 2009-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4433  * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
4434    Add geanyfunctions.h to API docs.
4435  * plugins/splitwindow.c:
4436    Set the cursor color for the split window.
4439 2009-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4441  * src/callbacks.c:
4442    Fix 'Open Selected File' for unsaved new documents.
4443  * src/keybindings.c, src/keybindings.h, src/prefs.c:
4444    Fix updating main menu accelerators after changing keybindings
4445    (thanks to Lex Trotman).
4446  * src/callbacks.c:
4447    Fix using 'Insert date' keybinding when a custom date string has
4448    not been set.
4449  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
4450    Merge Plugin and GeanyPluginPrivate structs.
4453 2009-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4455  * src/keybindings.c:
4456    Fix non-working Home and End keys on numpads.
4459 2009-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4461  * doc/geany.txt, doc/geany.html, NEWS:
4462    Add 'Scope autocompletion' section.
4463    Add 'Tools menu items' section to explain configuration files
4464    submenu, reload configuration item.
4465    Minor updates/fixes.
4468 2009-08-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4470  * src/document.c:
4471    Add a translation hint to an ambiguous format string.
4472  * src/Makefile.am:
4473    Add missing include path to fix 'make distcheck'.
4474  * src/win32.c:
4475    Fix opening of local files in the browser on Windows.
4476  * New release: Geany 0.18 "Kaine".
4477  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4478    src/geany.h, doc/geany.html, doc/geany.txt:
4479    Post-release version bump.
4482 2009-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4484  * src/editor.c:
4485    Temporarily disable reshowing calltips when the autocompletion
4486    list was closed implicitly by not choosing an item to fix
4487    problems with wrongly displayed calltips.
4488  * src/template.c:
4489    Add missing 'coding' cookie to the Python filetype template.
4490  * doc/images/pref_dialog_edit_completions.png,
4491    doc/images/pref_dialog_toolbar.png:
4492    Update images for Geany 0.18.
4495 2009-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4497  * wscript:
4498    Add command '--hackingdoc' to create the HTML form of the
4499    HACKING file.
4502 2009-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4504  * po/pt_PT.po, po/LINGUAS:
4505    Added a first Portugese (Portugal) translation based on work done at
4506    launchpad by e.g. André Glória and Alexandre Jesus.
4507  * src/main.c: Fix a minor typo on --help call.
4510 2009-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4512  * src/highlighting.c:
4513    Call get_keyfile_wordchars() in highlighting_init_styles().
4516 2009-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4518  * data/filetypes.ada:
4519    Add missing file.
4520  * src/keybindings.c:
4521    Switching notebook tabs now works for the currently used notebook
4522    widget instead of always using the documents notebook.
4523  * src/document.c, src/document.h, src/documentprivate.h,
4524    doc/plugins.dox:
4525    Small corrections to some API docs.
4528 2009-08-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4530  * src/build.c, src/win32.h, src/win32.c:
4531    Expand system environment variables (%variableName%) on Windows when
4532    running Build commands.
4535 2009-07-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4537  * src/keybindings.c:
4538    Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
4539    future using an indent block is more useful e.g. for ChangeLog
4540    files.
4541  * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
4542    scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
4543    scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
4544    src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
4545    tagmanager/parsers.h, tagmanager/makefile.win32,
4546    tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
4547    Add Markdown filetype (patch by Jon Strait, thanks).
4548  * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
4549    Fix disconnecting plugin signal id when not using geany_object.
4550  * src/filetypes.c:
4551    Add filetype_make_title() instead of using:
4552    ft->title = g_strdup_printf(_("%s source file"), ft->name);
4553    It also supports "%s file" strings.
4556 2009-07-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4558  * src/pluginprivate.h, src/utils.h, src/plugindata.h,
4559    src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4560    doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
4561    plugins/filebrowser.c:
4562    Add plugin_signal_connect() for connecting plugin signals at
4563    runtime and also for connecting to any GObject signal.
4564    Add 'Plugin Utility Functions' on main page.
4565    Add foreach_array() macro.
4566  * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4567    src/document.c, src/editor.c:
4568    Rename 3 sci functions to sci_set_target_start(),
4569    sci_set_target_end(), sci_replace_target() to match the SCI_
4570    message name.
4573 2009-07-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4575  * wscript: Fix compiling error with waf.
4578 2009-07-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4580  * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
4581    src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4582    src/Makefile.am, wscript:
4583    Move plugin_* utility functions to pluginutils.c.
4584    Add pluginprivate.h.
4585  * src/editor.c:
4586    Fix reshowing calltip in the wrong document.
4589 2009-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4591  * doc/geany.txt, doc/geany.html:
4592    Add some general information about auto-completion capabilities
4593    (patch by Lex Trotman, thanks).
4596 2009-07-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4598  * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
4599    Added a first Slovenian translation. Thanks to Joze Klepec.
4602 2009-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4604  * src/highlighting.c:
4605    Use full styleset_foo[_init] function name as argument to
4606    init_styleset_case() and styleset_case() macros so it's easier to
4607    understand the code.
4608  * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
4609    src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
4610    doc/geany.txt, doc/geany.html:
4611    Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
4612    Heavily based on a patch by Eugene Arshinov (thanks).
4613    Add sci_lines_split(), sci_lines_join(), sci_text_width(),
4614    editor_strip_line_trailing_spaces().
4617 2009-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4619  * src/editor.c:
4620    Attempt to fix reshowing calltips after the autocompletion list
4621    has been shown.
4622    Reshow calltips also when the autocompletion list was closed
4623    implicitly by not choosing an item.
4625 2009-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4627  * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
4628    plugins/splitwindow.c:
4629    Change utils_str_remove_chars() to work in place; fix allocating on
4630    the stack (the string length could exhaust the stack size).
4631  * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4632    src/printing.c, src/callbacks.c:
4633    Rename utils_str_replace() utils_str_replace_all(), setting a
4634    'gchar **haystack' argument instead of returning a new string.
4635  * src/editor.c:
4636    For the Tabs indent type, remove spaces when unindenting (only) if
4637    there are no tabs on the line.
4638    Group undo actions for (un)indenting of multiple lines.
4639  * src/document.c, src/editor.c:
4640    Fix scrolling horizontally after finding a search match with the
4641    search bar or Find Next/Previous which is off-screen.
4642  * src/keybindings.c:
4643    Fix GLib warning when pressing a key with no documents open.
4646 2009-07-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4648  * src/utils.c:
4649    Start unifying usage of @a and @c markup elements in API docs,
4650    to be continued.
4651  * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
4652    Show/hide the toolbar without a restart when the setting in the
4653    preferences dialog is changed (closes #2824785).
4654  * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
4655    src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
4656    src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
4657    src/toolbar.h:
4658    Continue unifying usage of @a and @c markup elements in API docs.
4661 2009-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4663  * src/document.c:
4664    Remove relative/untidy path elements when creating new documents
4665    with a filename (e.g. from the command-line) (#2823998).
4668 2009-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4670  * src/callbacks.c:
4671    Disable 'Recent Projects' menu item if the list of recent projects
4672    is empty.
4673  * src/win32.c:
4674    Fix some harmless compiler warnings.
4675  * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
4676    src/plugins.c, src/utils.c, src/utils.h:
4677    Move utils_str_remove_chars() from the plugins/splitwindow.c to
4678    src/utils.c and add it to the plugin API.
4679    Make utils_str_remove_chars() work on a new copy of the input string
4680    instead of modifying it in place.
4681  * src/toolbar.c:
4682    Remove underscores from the toolbar items labels.
4683  * src/utils.c:
4684    Fix typos.
4685  * plugins/splitwindow.c:
4686    Fix broken 'Show the current document' tool button icon.
4689 2009-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4691  * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
4692    src/keyfile.c:
4693    Add stash_group_add_widget_property() so we can save any widget's
4694    read/write properties.
4695    Use Stash for ui_prefs.sidebar_page setting.
4696  * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
4697    Make foreach_ptr_array() use an integer argument for its
4698    implementation, as this is more useful potentially than a gpointer*
4699    argument, and more straightforward.
4700    Add foreach_c_array(), foreach_ptr_array() to API.
4701  * src/utils.c, src/utils.h, src/document.c:
4702    Remove relative/untidy path elements when opening documents (closes
4703    #2823998).
4704  * src/treeviews.c:
4705    Fix showing project name for documents list files with no
4706    subdirectory (oops).
4707  * src/dialogs.c:
4708    Fix checking whether to overwrite when using the Rename button in
4709    the 'Save As' dialog.
4712 2009-07-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4714  * src/dialogs.c:
4715    Don't use the main window as parent for dialog boxes if it is not
4716    yet realised.
4717    Set titles for message dialogs.
4720 2009-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4722  * src/toolbar.c:
4723    Display item labels instead of raw names in the toolbar editor.
4724    Apply changes in the toolbar editor instantly.
4725    Show icons in the toolbar editor.
4726    Speed up toolbar editor dialog creation.
4727  * src/templates.c:
4728    Improve inserting of comment templates like File header or licence
4729    notices. The comment information are now read from the filetype
4730    configuration files.
4732 2009-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4734  * src/document.c:
4735    Enable file monitoring for files which are written to disk by Geany
4736    for the first time.
4737  * src/filetypes.c:
4738    Fix broken special case handling when detecting filetypes from a
4739    shebang or other special file headers.
4742 2009-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4744  * src/search.c:
4745    Make Mark All keybinding clear search highlighting when there's no
4746    current word.
4747  * src/search.c:
4748    Fix wrong match length when using Mark with regex.
4749  * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4750    src/keyfile.c, src/main.c:
4751    Add 'Show Paths' documents list popup item.
4752    Add "load_settings" core-only signal emitted just after loading
4753    main keyfile settings; useful to delay building UI elements until
4754    settings have been read.
4755  * src/treeviews.c:
4756    Fix GTK warning when right-clicking on default tag tree.
4757  * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4758    Add treeviews_finalize().
4759    Remove tv.popup_openfiles field.
4762 2009-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4764  * src/highlighting.c:
4765    Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4768 2009-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4770  * src/utils.c:
4771    Quote the uri before passing it to the browser when opening a
4772    website (closes #2818635).
4773  * src/win32:
4774    Fix broken 'builtin' Run command for HTML files on Windows.
4777 2009-07-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4779  * src/editor.c:
4780    Properly fix wrong brace highlighting of non-brace character.
4781  * src/editor.c:
4782    Allow autocompletion in Perl double-quoted strings.
4783    Don't autocomplete in Perl single-quoted strings (closes #2821061).
4784    Don't autocomplete in Perl q() strings.
4785  * data/filetypes.common:
4786    Make Mark highlighting brighter.
4787  * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4788    Use hyphen for auto-feature terms.
4789  * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4790    src/document.h, src/main.c:
4791    Add documents_foreach() API macro that skips invalid docs.
4792    Make filetypes[], documents[] part of the API again.
4793    Add GEANY() macro for sharing geany symbols between API and core.
4794  * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4795    plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4796    plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4797    plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4798    plugins/classbuilder.c, wscript:
4799    Add geanyplugin.h single include for plugin API; update all core
4800    plugins to use it.
4801    Add sci_set_font() to API.
4802    Update plugin howto.
4803  * src/filetypes.c, src/filetypes.h:
4804    Remove filetypes_foreach_named().
4807 2009-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4809  * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4810    src/document.h, src/main.c, THANKS:
4811    Apply patch from Eugene Arshinov to reload color schemes via menu
4812    (thanks).
4813  * src/filetypes.c:
4814    Reload filetypes.common after saving it.
4815  * src/editor.c:
4816    Improve wrong brace highlighting of non-brace character.
4819 2009-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4821  * src/editor.c:
4822    Delay highlighting matching braces by 100ms, which speeds up
4823    scrolling with the arrow keys.
4824  * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4825    Add 'Mark All' keybinding.
4826  * tagmanager/diff.c:
4827    Show relative paths in diff filename tags.
4830 2009-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4832  * src/highlighting.c:
4833    Fix setting keyword list 'classes' for Haxe
4834    (pointed out by Andreas Mokros, thanks).
4837 2009-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4839  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4840    doc/geany.txt, doc/geany.html, geany.glade:
4841    Add 'Drop rest of word on completion' pref.
4842  * src/editor.c, doc/geany.txt, doc/geany.html:
4843    If autocompletion is already visible when forcing completion, show
4844    document word completion instead of tag completion.
4845    Docs: Minor edits of related prefs items.
4846  * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4847    Add warning when printing and editor font is not monospaced.
4848    Fix using GtkMessageType instead of gint param for
4849    dialogs_show_msgbox*().
4850    Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4851  * src/editor.c:
4852    Support 'tab indents, space aligns' style for auto-indentation
4853    (closes #2789109).
4856 2009-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4858  * src/document.c, src/documentprivate.h:
4859    Rework the GIO based file monitoring code. Now it is used only
4860    to indicate a possible change of the file, the real check if the
4861    file has been changed is performed by stat().
4862  * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4863    Add style 'line_height' to increase the line height.
4864    Add style 'marker_mark' and change style 'marker_search' to
4865    define the style used for marked search results.
4866  * doc/geany.txt, doc/geany.html:
4867    Add the new 'Autocomplete all words in document' pref to the docs.
4870 2009-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4872  * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4873    doc/geany.txt, doc/geany.html, geany.glade, TODO:
4874    Add 'Autocomplete all words in document' pref.
4875    Use 'autocompletion' in dialog and docs, not 'auto completion'.
4876  * src/editor.c:
4877    Fix limiting number of word completion entries too much.
4878  * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4879    icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4880    Show autocompletion icons for tag symbols - for now only tags with
4881    an arglist have the 'function/method' icon, all others have the
4882    'variable' icon.
4883    Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4884    program.
4885  * src/highlighting.c:
4886    Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4887    #1895745).
4890 2009-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4892  * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4893    Fix removing underscores in translated string using no_underscore()
4894    macro.
4895    Set a tooltip for the Split Window plugin's Show Current tool button.
4896    Add utils_strdupa() macro.
4897  * src/interface.c, geany.glade:
4898    Use stock Select All icon now we have >= GTK 2.8.
4899  * src/treeviews.c:
4900    Fix using project name for document items that start with the
4901    project base path but don't match it e.g. ".../geany-plugins"
4902    instead of ".../geany" when project name is 'geany'.
4905 2009-07-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4907  * src/build.c:
4908    Fix warnings when the toolbar does not contain the Run button.
4909  * tagmanager/lua.c:
4910    Fix wrong parsing of complex expressions in the Lua parser.
4911  * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4912    src/utils.c:
4913    Remove unnecessary enums.
4914  * scintilla/*, scintilla/include/*, src/plugindata.h:
4915    Update Scintilla to version 1.79.
4916  * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4917    src/search.c:
4918    Use the new Scintilla struct names prefixed with 'Sci_'.
4919  * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4920    src/highlighting.c:
4921    Add second argument to the 'line_wrap_indent' styling setting to
4922    control the new Scintilla indentation mode for wrapped lines.
4923  * src/toolbar.c:
4924    Properly close the toolbar editor on delete-events.
4925    Fix warnings and possible crashes in the toolbar editor when the list
4926    of displayed toolbar items is empty.
4927  * data/filetypes.tcl:
4928    Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4929  * src/plugins.c:
4930    Make the plugin manager dialog a bit bigger.
4933 2009-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4935  * doc/geany.html, doc/geany.txt:
4936    Fix wrong default values for the 'Show Calltip' keybinding.
4939 2009-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4941  * data/filetypes.tcl, src/symbols.c:
4942    Fix duplicate "context_action_cmd" key.
4943    Use different icons for "Methods" and "Procedures" in the symbol
4944    list for Tcl files.
4945  * src/filetypes.c:
4946    Fix a small memory leak.
4947  * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4948    src/keybindings.h, src/plugindata.h:
4949    Make the Scintilla keybindings 'Delete to end of line' and
4950    'Go to end of display line' configurable.
4951  * geany.nsi:
4952    Fix a typo (closes #2813624).
4955 2009-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4957  * tagmanager/tcl.c, src/symbol.c:
4958    Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4959    methods and namespaces).
4960    Patch by Witek Mozga, thanks.
4963 2009-06-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4965  * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4966    src/toolbar.c, src/toolbar.h:
4967    Remove ui_toolbar.xml Configuration Files menu item.
4968    Add a real toolbar editor dialog.
4969  * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4970    src/prefs.c:
4971    Add a button in the preferences dialog and an item for the toolbar
4972    popup menu to run the toolbar editor dialog.
4975 2009-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4977  * src/dialogs.c:
4978    Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4979    Fix using locale encoding for default Save As dialog path.
4980  * src/editor.c:
4981    Beep when trying to activate the '...' autocompletion item.
4982    Limit (forced) document word completion to
4983    autocompletion_max_entries.
4984    Beep if no completions are shown when forcing autocompletion.
4987 2009-06-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4989  * data/ui_toolbar.xml, src/toolbar.c:
4990    Add 'Build' toolbar button to the default layout.
4993 2009-06-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4995  * src/editor.c:
4996    If forcing autocompletion and there's nothing else to show, complete
4997    from words in the current document (using code from Enrico's
4998    'AutoComplete Test' plugin).
5001 2009-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5003  * src/plugins.c:
5004    Add debug message if plugin has not set a name for its keybinding
5005    group.
5006  * data/filetype_extensions.conf:
5007    Add *.m4 for shell scripts.
5010 2009-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5012  * src/highlighting.c, doc/geany.txt, doc/geany.html,
5013    data/filetypes.common, TODO:
5014    Make filetypes.common named styles use the "default" named style for
5015    all missing style fields.
5016    Set named styles to usually leave the background style empty. This
5017    currently allows C-like filetypes to have a common default
5018    background color.
5019    Allow hard-coded colors to use -1 for the default color.
5020    Add some highlighting style examples to the manual.
5023 2009-06-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5025  * src/templates.c:
5026    Create initial template files with proper platform-specific line
5027    ending characters.
5030 2009-06-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5032  * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5033    src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5034    src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5035    src/ui_utils.c, src/ui_utils.h:
5036    Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5037    saved within Geany.
5038    Refactor some related code.
5039  * tagmanager/conf.c:
5040    Strip trailing spaces from "Key" tags.
5041  * geany.nsi:
5042    Quote the full filename to the Geany executable when creating the
5043    "Open with Geany" context menu item.
5044  * plugins/splitwindow.c:
5045    Avoid using deprecated GTK API.
5046  * src/log.c, src/main.c:
5047    Properly clean up the logging mechanism.
5048  * src/build.c:
5049    Fix LaTeX view commands on Windows (part of #2807688).
5050  * src/prefs.c:
5051    Add a popup menu for the keybinding list in the preferences dialog
5052    to easily expand and collapse all groups.
5053    Refactor the keybindings code for the preferences dialog, prefix all
5054    related functions.
5055  * src/main.c, src/ui_utils.c, src/ui_utils.h:
5056    Init stock items before creating the toolbar (closes #2809324).
5057  * wscript:
5058    Generate the geany.pc file also on Windows.
5059  * src/ui_utils.c:
5060    Invert the logic to determine which Save All we want to use:
5061    Use the Tango like icon only for the Tango theme and the Gnome / GTK
5062    like icon for any other themes.
5065 2009-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5067  * src/highlighting.c, README.Packagers, HACKING:
5068    Remove gsd_* default styles, use named styles instead.
5069    Note: this relies on filetypes.common being installed.
5070    Add load_style_entries(), which makes style initialization
5071    simpler, used in styleset_c_like_init().
5074 2009-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5076  * src/win32.c:
5077    Prevent possible crash on Windows when not setting an initial
5078    directory for native File Open/Save dialogs.
5079  * data/filetypes.xml, src/highlighting.c:
5080    Add style 'jscript_regex' for filetype HTML
5081    (patch by Chris Macksey, thanks).
5084 2009-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5086  * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5087    Make GeanyDocument::file_type always be non-NULL, even for a new
5088    document with no filetype set.
5089  * src/editor.c:
5090    Only autocomplete scope for scopes matching the current filetype's
5091    language.
5092  * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5093    data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5094    data/filetypes.actionscript, data/filetypes.cs,
5095    data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5096    data/filetypes.javascript, HACKING:
5097    Make C++, D lexer filetypes use named styles (apart from uuid,
5098    verbatim, regex styles).
5101 2009-06-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5103  * src/dialogs.c:
5104    Don't explicitly change the current directory of the Save As dialog
5105    so that it uses the last used directory.
5108 2009-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5110  * src/encodings.c, src/encodings.h, src/plugindata.h:
5111    Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5112  * src/editor.c:
5113    Remove dead code.
5114    When completing from the macro list, put the cursor after
5115    the inserted text.
5118 2009-06-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5120  * tagmanager/pascal.c:
5121    Fix type definitions being parsed as functions.
5122  * src/editor.c:
5123    Don't autocomplete in unterminated strings as well.
5124  * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5125    src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5126    Remove data_ptr argument to foreach_[s]list() macros, as using
5127    node->data is enough sometimes; this makes the macro a bit more
5128    efficient too.
5129    Add foreach_[s]list() macros to the plugin API docs.
5132 2009-06-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5134  * scintilla/LexPascal.cxx:
5135    Backport fix from Scintilla CVS:
5136    Pascal lexer hanging on file that starts with 'interface' after
5137    whitespace.
5140 2009-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5142  * waf:
5143    Update Waf to 1.5.7.
5144  * wscript:
5145    Overwrite installation prefix on Windows only if it wasn't
5146    specified explicitly.
5149 2009-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5151  * src/editor.c:
5152    Display calltips for Pascal symbols in the Pascal way (#2803945).
5153  * tagmanager/pascal.c:
5154    Fix wrongly set return values for procedures (closes #2803945).
5155  * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5156    tagmanager/include/tm_source_file.h,
5157    tagmanager/include/tm_workspace.h:
5158    Fix doxygen warnings.
5161 2009-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5163  * src/editor.c, tagmanager/include/tm_workspace.h,
5164    tagmanager/tm_workspace.c, TODO:
5165    Autocomplete scoped fields like struct members when typing '.' (and
5166    also '->' or '::' in C/C++).
5167    Save all tag types for C/C++ when generating a global tags file, so
5168    we can use autocompletion for structs also.
5169    Merge tm_workspace_find_scope_members(),
5170    tm_workspace_find_namespace_members() (currently not built) from
5171    Anjuta 2.24.1 tagmanager.
5174 2009-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5176  * tagmanager/pascal.c:
5177    Parse Pascal calltips (closes #2802640).
5180 2009-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5182  * src/filetypes.c, src/ui_utils.c:
5183    Add filetypes.common Configuration Files menu item.
5186 2009-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5188  * src/callbacks.c:
5189    Add backslash to the wordchars on Windows when using
5190    'Open Selected File'.
5191  * src/wscript:
5192    Add support (configure, build and install) for building on Windows
5193    and cross-compiling for Windows using the Waf build system.
5196 2009-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5198  * src/toolbar.c:
5199    Set status bar text instead of showing a dialog when saving
5200    ui_toolbar.xml because the user might save several times.
5201  * src/editor.c:
5202    Fix redrawing due to colourising just after the document is first
5203    drawn. Now colourising should happen before the first draw.
5204  * src/utils.c, src/highlighting.c, data/filetypes.common:
5205    Fix segfault on parsing a filetypes.* style definition that has < 4
5206    fields.
5207    Allow style definitions to have missing fields to use the default
5208    style fields.
5211 2009-06-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5213  * src/images.c, src/about.c, src/ui_utils.c, THANKS:
5214    Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
5215  * plugins/classbuilder.c:
5216    Fix wrongly created header guards when the class filenames contains
5217    dashes (patch by PCMan, thanks).
5218  * data/filetypes.matlab:
5219    Add build_settings section to allow executing Matlab scripts.
5220  * src/document.c:
5221    When closing a document, mark it as invalid before removing it from
5222    the documents notebook (this fixes wrong Save All button state when
5223    closing an unsaved document because the "switch-page" signal handler
5224    was using old data).
5227 2009-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5229  * src/highlighting.c, doc/geany.txt, doc/geany.html:
5230    Support toggling bold/italic when using a named style, e.g.:
5231    commentdockeyword=commentdoc,bold,italic
5232    Improve named style docs.
5235 2009-06-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5237  * src/build.c, src/editor.c:
5238    Fix crashes when parsing the output of a compiler which reports
5239    errors on line 0.
5242 2009-06-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5244  * src/highlighting.c:
5245    Support named styles also for filetypes.common [styling] entries.
5246  * doc/geany.txt, doc/geany.html, HACKING:
5247    Update docs for named styles in filetypes.* files.
5248  * src/symbols.c:
5249    Fix grouping symbol list children when parent name has "." character
5250    in for reStructuredText and Conf filetypes.
5251  * tagmanager/python.c:
5252    Fix grouping functions/classes under a nested function.
5255 2009-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5257  * geany.spec.in:
5258    Adjust icon paths (patch by Dominic Hopf, thanks).
5259  * doc/geany.txt, doc/geany.html, src/toolbar.c:
5260    Add 'Replace' toolbar button (closes #2798225).
5263 2009-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5265  * src/utils.c, src/highlighting.c, TODO:
5266    Implement named styles support for filetypes.* using a
5267    filetypes.common [named_styles] section e.g.:
5268    foo=0xc00000;0xffffff;false;true
5269    bar=foo
5270    These can be used in e.g. filetypes.c as:
5271    comment=foo
5274 2009-05-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5276  * src/ui_utils.c:
5277    Fix wrong sensitiveness of the Redo buttons (closes #2797862).
5280 2009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5282  * THANKS, src/about.c, po/lb.po, po/LINGUAS:
5283    Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
5286 2009-05-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5288  * src/build.c:
5289    Remove quote_executable() as it is not used anymore.
5290    When creating the geany_run_script.bat use the "%0" variable
5291    expansion and quote it for the "del" command (closes #2797172).
5292  * src/win32.c:
5293    On Windows, fallback to the literal build command line if searching
5294    for the command in the system path failed (related to #2795923).
5295    Properly terminate the resulting strings when reading the stdout
5296    and stderr of any spawned commands on Windows.
5299 2009-05-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5301  * src/win32.c:
5302    Use the wide character versions of native Windows File dialogs.
5303  * src/project.c:
5304    Fix wrong initialisation of the default project path button callback
5305    in the preferences dialog.
5306  * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
5307    geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
5308    icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
5309    icons/Makefile.am, icons/geany.ico, icons/scalable,
5310    icons/scalable/Makefile.am, icons/scalable/geany.svg,
5311    src/makefile.win32:
5312    Move the icons geany.png and geany.ico into the icons directory.
5313    Add a 16x16 pixel Geany icon and the scalable SVG icon.
5314    Drop the pixmaps directory.
5317 2009-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5319  * src/keybindings.c:
5320    Improve MRU document switching so there are no duplicates in the
5321    list and documents switched to whilst the dialog is open are
5322    ignored. Also beep when cycling through to the first document in the
5323    list.
5326 2009-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5328  * src/dialogs.c:
5329    Fix broken 'Cancel' button in the Save As dialog.
5332 2009-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5334  * src/editor.c:
5335    Fix multiline indent when selection covers text on the last line.
5336  * src/notebook.c:
5337    Show current document in bold in tab popup menu.
5338  * src/editor.c, tagmanager/python.c, TODO:
5339    Parse Python calltips.
5342 2009-05-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5344  * src/symbols.c, tagmanager/python.c:
5345    Parse Python import statements to get symbol completion for the
5346    imported module names.
5347  * src/editor.c, src/editor.h:
5348    Make some only locally used functions static.
5349    Fix wrong sanity check.
5350  * src/build.c:
5351    Fix quoting the build command string on Windows (closes #2791769).
5352    This broke when we made build commands run synchronously on Windows,
5353    now we don't need to special quote the commands anymore.
5356 2009-05-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5358  * src/editor.c:
5359    Drop rest of word to the right of cursor when autocompleting (do we
5360    need a pref for this?).
5363 2009-05-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5365  * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
5366    Add sci_set_selection().
5367  * doc/geany.txt, doc/geany.html:
5368    Update manual for MRU switching.
5369  * src/callbacks.c, src/editor.c, src/editor.h:
5370    Make indenting with the Tabs indent type preserve spaces on the line,
5371    so it works for the 'tab indents, space aligns' formatting style.
5374 2009-05-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5376  * tagmanager/python.c:
5377    Fix missing symbols for variables when an equal sign is used
5378    in a comment on the same line as the variable declaration.
5379    Backport change from CTags SVN to keep the parser more in sync:
5380    Add support for Cython constructs to the Python parser.
5381  * src/search.c:
5382    Remember the additional Find in Files search flags at startup.
5383  * src/dialogs.c:
5384    Don't close the Save As dialog when saving the file didn't succeed.
5387 2009-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5389  * src/keyfile.c:
5390    Remember scribble cursor position.
5391  * src/keybindings.c, TODO:
5392    Implement Most-Recently-Used document switching when pressing
5393    Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
5396 2009-05-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5398  * data/latex.tags: Added some more commands from unit.sty and
5399    moderncv.sty.
5402 2009-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5404  * src/symbols.c, doc/geany.txt, doc/geany.html,
5405    tagmanager/makefile.win32, tagmanager/nestlevel.c,
5406    tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
5407    tagmanager/Makefile.am, wscript:
5408    Merge unstable branch:
5409    Add reStructuredText scope information for tags (for symbol list
5410    grouping).
5411    Read custom system global tags files from $prefix/share/geany/tags;
5412    Closes #2778923.
5413    Show the number of tags in a user global tags file (instead of the
5414    running total) in the debug message.
5415    Also print debug messages when loading a tag file manually or for
5416    default global tags files e.g. python.tags.
5417  - code:
5418    Move NestingLevel tags code into a separate file, add functions.
5419  - docs:
5420    Add 'Installation prefix' section instead of quoting '/usr/local'
5421    each time.
5422    Update for custom system global tags files.
5425 2009-05-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5427  * src/highlighting.c:
5428    Unset maybe previously keywords when setting up Scintilla for
5429    XML files. This fixed wrong highlighting after switching back to
5430    filetype XML from another one.
5431  * src/utils.c:
5432    Use plain old fwrite() in utils_write_file(). g_file_set_contents()
5433    is only used when explicitly requested.
5434  * src/dialogs.c:
5435    Remove unnecessary call to g_intern_string() to fix build with
5436    GLib 2.8 (closes #2790051).
5439 2009-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5441  * src/ui_utils.c:
5442    Make the clear icon of entry fields act on the release event, not
5443    on the press event like for other buttons.
5444  * src/editor.c:
5445    Refactor some multiple used code into get_multiline_comment_style().
5446  * src/main.c:
5447    Create parent directories if necessary when checking for the
5448    configuration directory on startup (closes #2784577).
5451 2009-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5453  * plugins/filebrowser.c:
5454    When a filter is set, apply it only to files, not directories and
5455    apply the filter to the UTF-8 name of the file as the filter string
5456    itself is also UTF-8.
5457  * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
5458    Add utils_color_invert() and use it in highlighting.c and printing.c.
5459  * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
5460    Backport change from Scintilla CVS:
5461    Change capitalisation of header file to suit cross-compilation on
5462    Unix for Windows.
5465 2009-05-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5467  * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
5468    Update Scintilla to version 1.78.
5469  * src/editor.c, src/highlighting.c:
5470    Update Pascal styles as they changed in Scintilla.
5473 2009-05-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5475  * src/printing.c:
5476    Ignore the invert syntax highlighting colours setting when printing
5477    to not print characters on a dark background (closes #2785244).
5478  * New release: Geany 0.17 "Wessex".
5479  * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5480    src/geany.h, doc/geany.html, doc/geany.txt:
5481    Post-release version bump.
5484 2009-04-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5486  * src/callbacks.c, src/callbacks.h, src/main.c:
5487    Update the View->Fullscreen menu item when fullscreen state is
5488    changed externally (e.g. by the window manager).
5489  * src/project.c:
5490    Fix passing wrong pointer to the File Open dialog for the Run
5491    command in the Project Properties dialog.
5494 2009-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5496  * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
5497    src/ui_utils.h:
5498    Remember the active sidebar page between sessions.
5499  * src/project.c:
5500    Add a recent project item after creating a new project.
5501  * tagmanager/ruby.c:
5502    Fix wrong parsing of string literals (closes #2781264).
5503  * src/treeviews.c:
5504    Fix setting focus to the editor widget after changing the selection
5505    in the symbol list.
5508 2009-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5510  * src/symbols.c:
5511    Prevent crashes when two or more top level items in the symbol
5512    list have the same name (closes #2778246).
5515 2009-04-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5517  * src/keybindings.c:
5518    Manually show the main notebook tab bar menu when Shift-F10 is
5519    pressed. This broke when we disabled the default GTK tab bar menu.
5520  * src/document.c:
5521    Fix a crash when USE_GIO_FILEMON is enabled at closing a document
5522    which was reloaded shortly before.
5523  * src/editor.c:
5524    When the editor menu is opened by the Menu key, use the text cursor
5525    position for retrieving the current word. This fixes disabled
5526    Go to Tag items in the menu (#2780044).
5527  * src/treeviews.c:
5528    Set the "ellipsize" property of GtkCellRendererText to automatically
5529    shorten the path and file names in the Documents list.
5530  * doc/geany.html, doc/geany.txt, src/build.h:
5531    Increase the amount of highlighted build error messages to 100.
5532    At least for LaTeX we need higher values as there is a lot of
5533    informative output before any errors are reported.
5534  * src/filebrowser.c:
5535    Use the startup path as the initial directory for the filebrowser
5536    plugin when no project and no files are opened
5537    (patch by Matias Gea, thanks; closes #2780521).
5540 2009-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5542  * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
5543    src/utils.c, src/utils.h:
5544    Ellipsize tab labels and some status messages for very long
5545    filenames (closes #2777348).
5546  * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
5547    Add utils_str_middle_truncate() and
5548    document_get_basename_for_display() to the plugin API.
5549  * doc/geany.html, doc/geany.txt, src/toolbar.c:
5550    Add new toolbar element: Print (patch by Roland Baudin, thanks).
5551  * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
5552    src/keyfile.c:
5553    Add a hidden preference 'use_safe_file_saving' to save files to disk
5554    by creating a temporary file first. This has serious side effects,
5555    please read the documentation before enabling this.
5556  * src/build.c:
5557    Make build commands on Windows run synchronously to avoid problems
5558    with reading build commands' output.
5559  * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
5560    Limit the amount of highlighted build error messages in the
5561    Compiler window to 50 for performance reasons.
5564 2009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5566  * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
5567    src/prefs.c:
5568    Replace our own GEANY_KEYS_MODIFIER_MASK by
5569    gtk_accelerator_get_default_mod_mask() which gives the same result.
5570  * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
5571    tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
5572    Add a trivial symbol parser for NSIS files.
5575 2009-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5577  * src/dialogs.c:
5578    Hide the extra file open dialog options in an expander to make the
5579    dialog more compact by default and to provide more space for the
5580    file view.
5581    Remove the filename field as it is also provided by GTK itself with
5582    more features like auto-completion.
5583    Watch the 'show-hidden' property of the file chooser widget using
5584    GObject's "notify" signal which gives accurate results and remove
5585    the hack using the "selection-changed" signal.
5588 2009-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5590  * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
5591    Prevent double execution of radio menu item "activate" or "toggled"
5592    signal handlers.
5593    Move 'Set Encoding' callback function into encodings.c.
5596 2009-04-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5598  * src/project.c:
5599    Add some missing 'void's in function definitions.
5600    If the project base path is './', just use the path of the project
5601    config file instead of appending './'.
5602  * src/treeviews.c, src/project.c:
5603    When a project is loaded, replace the project base path with the
5604    project name in the Documents sidebar for parent items
5605    (closes #2723679).
5608 2009-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5610  * src/keyfile.c, src/keyfile.h, src/project.c:
5611    Fix duplicating the recent files and projects lists when closing
5612    a project.
5613  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5614    src/editor.c, src/encodings.c, src/filetypes.c,
5615    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5616    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
5617    src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
5618    src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
5619    src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
5620    src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
5621    Remove all G_LIKELY macros inside g_return_if_fail() statements as
5622    this is redundant.
5623    Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
5624    sense to keep the code more readable.
5627 2009-04-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5629  * src/symbols.c:
5630    When updating global type definitions for opened documents, take
5631    also C++ namespace symbols into account and don't ignore symbols
5632    which are defined inside a scope.
5635 2009-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5637  * src/plugins.c:
5638    Don't show 'plugin is not binary compatible' messages on the status
5639    bar, only the status window.
5642 2009-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5644  * src/socket.c:
5645    When opening files from a remote instance on X11, set the window
5646    server time to encourage window managers to pop up the main window
5647    (related to #2735467 and #2276179).
5648  * src/main.c:
5649    When finished sending filenames to a remote instance, notify the
5650    environment that we finished starting up.
5653 2009-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5655  * src/ui_utils.h, src/utils.h, src/ui_utils.c:
5656    Sort Configuration Files menu.
5657    Add ui_menu_sort_by_label().
5658    Add foreach_list() macro.
5659  * src/editor.c:
5660    Fix autocompletion.
5663 2009-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5665  * src/main.c:
5666    Fix setting a wrong default window size when starting without an
5667    existing configuration.
5668  * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
5669    Make editor_highlight_braces() static.
5670    Remove unused wrapper functions.
5671  * src/editor.c, src/symbols.c, src/symbols.h:
5672    Prevent showing an empty macro list.
5673    Show only macros of the same filetype instead of all macros of all
5674    loaded filetypes.
5675  * src/ui_utils.c:
5676    Don't add opened project files to the GtkRecentManager.
5679 2009-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5681  * src/editor.c:
5682    Add Configuration Files item for snippets.conf.
5683  * src/highlighting.c, src/symbols.c:
5684    Fix 2 old uses of filetype IDs.
5687 2009-04-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5689  * src/interface.c, src/printing.c, geany.glade:
5690    Minor string improvements (spotted by Jean-Philippe Moal, thanks).
5693 2009-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5695  * src/ui_utils.c:
5696    Add sanity checks in ui_lookup_widget() just to be safe.
5697  * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
5698    src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
5699    src/project.h, src/ui_utils.c, src/ui_utils.h:
5700    Add "Recent Projects" menu to the Project menu
5701    (#2728630, patch by Elias Pschernig, thanks).
5702  * doc/geany.txt, doc/geany.html:
5703    Describe how to build Geany using the Waf build system.
5704  * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5705    src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
5706    src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5707    src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
5708    src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
5709    src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
5710    src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
5711    src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
5712    src/utils.c, src/utils.h, src/vte.c:
5713    Start using G_LIKELY/G_UNLIKELY macros to gain a little more
5714    performance when building the code with gcc.
5715  * src/highlighting.c:
5716    Fix typo in the G_LIKELY checks, introduced in last commit.
5717    Fix the size of the styles array.
5718  * src/document.c:
5719    Show a message dialog when renaming a file fails.
5722 2009-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5724  * src/build.c:
5725    Remove checks for the .pdf or .dvi files when viewing a LaTeX file
5726    (as we did for all other files in SVN r3382).
5729 2009-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5731  * src/filetypes.c, doc/geany.txt:
5732    Move ActionScript to the Script group.
5733    Fix wording & typo.
5734  * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
5735    src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
5736    src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
5737    plugins/htmlchars.c:
5738    Merge reorder-filetypes branch:
5739    Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
5740    append randomly without breaking the ABI).
5741    Make None filetype name = title = _("None").
5742    Add foreach_slist() macro.
5743    Add filetypes_by_title list to GeanyData for plugin API access
5744    - a list of filetype pointers, which includes the None filetype
5745    first. This list stays constant by the time plugins are initialized,
5746    so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5747    index the sorted list.
5750 2009-03-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5752  * doc/geany.txt, doc/geany.html, src/main.c:
5753    Add widget names for the menubar and toolbar.
5754  * src/msgwindow.c:
5755    When hiding the messages window, set the input focus back to the
5756    editor widget (part of #1910393).
5759 2009-03-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5761  * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5762    Backport recent changes from Scintilla CVS to add partial support
5763    for RFC2822 styled text using the Properties lexer.
5764    Ignore leading whitespace for config files and RFC2822 text.
5765  * data/filetypes.actionscript:
5766    Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5767  * THANKS, src/treeviews.c:
5768    Display file/directory icons in the Documents sidebar
5769    (patch by Simon Treny, thanks).
5772 2009-03-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5774  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5775    src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5776    src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5777    Add an option to allow appending the toolbar to the main menu bar
5778    to save some vertical space.
5779    Allow setting toolbar icon size to very small (menu icon size).
5782 2009-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5784  * src/keyfile.c, src/utils.c, src/utils.h:
5785    Add utils_path_skip_root(), a relative path safe variant of
5786    g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5787  * src/keyfile.c, src/main.c:
5788    Allow negative window coordinates when saving and restoring the
5789    position of the main window.
5790    Restore the main window position and size *after* the window has
5791    been realised to get it positioned accordingly
5792    (this affects at least Windows).
5795 2009-03-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5797  * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5798    Use g_win32_get_package_installation_directory_of_module() on Windows
5799    with newer GLib versions instead of deprecated API.
5800  * src/keybindings.c:
5801    Don't manage the last used documents list when quitting to prevent
5802    errors by accessing invalid memory (may close #2533990).
5805 2009-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5807  * src/build.c:
5808    Delete the geany_run_script.sh immediately after execution
5809    to prevent leaking old copies when the script was quit unexpectedly
5810    (closes #2710482, patch by Martin Olsson, thanks).
5811  * src/keyfile.c:
5812    Check whether skipping the root element of a document's filename
5813    succeeded and use the filename itself if not (e.g. on relative
5814    filenames, #2702844).
5815    Use the locale encoded filename when saving session files.
5816  * src/callbacks.c:
5817    Re-set the quitting status after all documents have been closed on
5818    quitting.
5821 2009-03-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5823  * plugins/htmlchars.c:
5824    Remove usage of deprecated sci_get_selected_text() from plugin.
5827 2009-03-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5829  * src/callbacks.c:
5830    Delay disk file checks when switching between documents a little
5831    bit to avoid fast, unintentional page switching in some cases.
5832  * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5833    src/sciwrappers.c, src/sciwrappers.h:
5834    Deprecate sci_get_text(), sci_get_selected_text() and
5835    sci_get_text_range().
5836    Add sci_get_contents(), sci_get_contents_range() and
5837    sci_get_selection_contents() as replacement functions to provide
5838    an easier and cleaner API (initial patch by Frank).
5841 2009-03-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5843  * tagmanager/css.c:
5844    Fix wrong parsing of CSS tags when the definition block starts on
5845    a new line (reported by Dominic Hopf, thanks).
5848 2009-03-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5850  * plugins/htmlchars.c:
5851    Extend plugin by feature to bulk replace and replace on input for
5852    special characters to their HTML entities.
5855 2009-03-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5857  * src/build.c:
5858    Update build menu items after changing anything in the
5859    'Set Includes and Arguments' dialog.
5860    Disable Compile/Run buttons/menu items when Compile/Run commands are
5861    set but empty.
5862    Reset current build directory to the base directory after reading a
5863    "Leaving directory" message when parsing Make output
5864    (closes #2694479, patch by Andrea Mazzoleni, thanks).
5865  * src/notebook.c:
5866    Fix wrong display of the filename in the tab bar menu for new files.
5867  * src/dialog.c:
5868    Set the initial directory for the Save As dialog only once on
5869    initialisation.
5870    Add a shortcut of the project's base directory to the
5871    File Open/Save As dialogs when a project is open for faster access.
5872  * src/splitwindow.c:
5873    Add keybindings for the split actions.
5876 2009-03-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5878  * src/search.c:
5879    When using Find All in the Find dialog (in Session and Document),
5880    display the right amount of matches.
5881    Fix the display of the matches once per line (I broke the original
5882    patch).
5883  * src/ui_uitls.c:
5884    Fix wrong directory selection behaviour in all Open Folder dialogs
5885    (closes #2688020, patch by Marcel Stimberg, thanks).
5886  * src/socket.c:
5887    Don't present the main window of a running instance when starting
5888    a second instance separately.
5891 2009-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5893  * src/socket.c:
5894    Reduce default file permissions on the Unix Domain socket file
5895    (reported by Jörg Sommer, thanks).
5898 2009-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5900  * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5901    src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5902    src/prefs.h:
5903    Add an option to set an additional plugin lookup path.
5904  * src/search.c:
5905    When using Find All in the Find dialog, display matches only once
5906    per line in the messages window (patch by Bert Vermeulen, thanks).
5909 2009-03-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5911  * data/filetype_extensions.conf, data/filetypes.actionscript,
5912    src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5913    src/highlighting.c, src/plugindata.h, src/symbols.c,
5914    tagmanager/Makefile.am, tagmanager/actionscript.c,
5915    tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5916    Add filetype ActionScript (patch by Chris Macksey, thanks).
5917    Update type keywords only for real C-like languages.
5918    Fix wrong sorting of Assembler and Ada filetypes.
5919  * plugins/classbuilder.c:
5920    Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5921    Other minor cleanups.
5924 2009-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5926  * src/notebook.c:
5927    Don't use menu item images for the tab bar menu to save some
5928    vertical space.
5929  * data/filetypes.fortran, tagmanager/fortran.c:
5930    Add keyword 'extends' and fix Fortran parser to support the
5931    'extends' keyword (closes #2654492).
5932  * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5933    src/search.c, src/toolbar.c:
5934    Fix punctuation.
5937 2009-03-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5939  * src/about.c, THANKS:
5940    Added Jari Rahkonen to list of Finnish translators.
5943 2009-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5945  * geany.pc.in:
5946    Adjust minimum required GTK version.
5947  * src/Makefile.am, wscript:
5948    Add main.h to the list of installed header files.
5949  * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5950    src/notebook.c, src/ui_utils.c:
5951    Remove GeanyDocumentPrivate::tabmenu_label.
5952    Disable the default tab bar menu for the main notebook widget and
5953    use a custom menu instead which lists all open files as usual plus
5954    'Close Other Documents' and 'Close All' menu items.
5957 2009-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5959  * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5960    Move ui_set_search_entry_background() into ui_utils.c.
5961    Change the background colour of the search entries in the Find
5962    and Replace dialogs according to the search results like in the
5963    toolbar search field.
5964    Add images to the 'Replace' and 'Replace and Find' buttons in the
5965    Replace dialog.
5966    Minor cleanups in search.c.
5967  * tagmanager/tm_source_file.c:
5968    Update source files upon creation.
5969  * data/c99.tags:
5970    Update C tags for glibc 2.9.
5971  * src/callbacks.c, src/toolbar.c:
5972    Fix broken non-incremental search with the toolbar search entry when
5973    pressing Enter (closes #2638180).
5974  * plugins/splitwindow.c:
5975    Fix possible crash on non-32-bit systems (patch by
5976    Wolfgang Ocker, thanks).
5977  * geany.spec.in:
5978    Update the Packager tag due to Dominic's various contributions.
5979    Update description and feature list.
5980    Change Source tag to the gzip'ed tarball to be in sync with the
5981    Makefile target (thanks to Wolfgang Ocker for reporting).
5984 2009-02-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5986  * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5987    Removed deprecated plugin VC Diff
5990 2009-02-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5992  * src/templates.c:
5993    Fix wrong Fortran 90 comment characters when inserting templates.
5994  * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5995    src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5996    src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5997    src/vte.h, THANKS:
5998    Add 'Send Selection to Terminal' command to the Edit->Format menu
5999    (initial patch by David Gleich, thanks).
6000  * geany.glade, src/interface.c:
6001    Fix mnemonic for the Edit->Preferences menu item.
6004 2009-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6006  * configure.in, plugins/Makefile.am:
6007    Enable socket support when cross-compiling.
6008    Enable plugin compilation when cross-compiling.
6009  * src/msgwindow.c:
6010    Fix missing NULL checks when reading the colour value of compiler
6011    output messages.
6012  * src/main.c, src/win32.c, src/win32.h:
6013    On Windows, change the working directory to the Geany installation
6014    path at startup to avoid unwanted directory locking(closes #2626124).
6015  * src/encoding.c:
6016    Fix broken selection of "Document->Set Encoding" menu items.
6017  * src/document.c, tagmanager/include/tm_source_file.h,
6018    tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6019    tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6020    tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6021    Don't let the tagmanager automatically reparse files if they
6022    seem to be changed on disk (affects all files in the current session,
6023    not the current one). This should speed up file saving a little bit,
6024    especially with remote files.
6025    Remove now unnecessary calls to tm_workspace_update().
6026  * src/printing.c:
6027    Allow an empty value for the date format in the print settings to
6028    omit the date/time string in the print header.
6031 2009-02-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6033  * src/editor.c: Set cursor for LaTeX at auto closing of environment
6034    direct into area.
6037 2009-02-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6039  * src/utils.h:
6040    Add missing header include (closes #2615808).
6043 2009-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6045  * src/symbols.c:
6046    Fix a possible crash when comparing symbol names
6047    (could be related to Ubuntu bug #147151).
6048    Fix broken symbol list tooltips when tag names contain ampersands.
6051 2009-02-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6053  * plugins/makefile.win32:
6054    Don't build Split Window plugin on Windows (doesn't work).
6057 2009-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6059  * ChangeLog, Makefile.am: Rotate ChangeLog.
6060  * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6061    wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6062    Post-release version bump.
6065 *** See ChangeLog.pre-0-17 for earlier changes ***