12011-10-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2
3 * src/keybindings.c, src/sidebar.c, src/dialogs.c, src/callbacks.c,
4   src/notebook.c, src/document.c, src/document.h, src/editor.c:
5   Add document_show_tab().
6
7
82011-10-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9
10 * doc/Makefile.am, doc/makefile.win32:
11   Add doc/makefile.win32 for docs generation.
12 * scintilla/Makefile.am, src/Makefile.am,
13   tagmanager/mio/Makefile.am, tagmanager/Makefile.am, Makefile.am:
14   Fix missing tagmanager/mio/makefile.win32 in EXTRA_DIST.
15   Include makefile.win32 in EXTRA_DIST recursively, not at top-level.
16
17
182011-10-06  Colomban Wendling  <colomban(at)geany(dot)org>
19
20 * autogen.sh, configure.ac:
21   Modernize configure.ac a bit.
22 * configure.ac, m4/geany-revision.m4, m4/geany-binreloc.m4,
23   m4/geany-gnu-regex.m4, m4/geany-plugins.m4, m4/geany-i18n.m4,
24   m4/geany-mingw.m4, m4/geany-socket.m4, m4/geany-vte.m4,
25   m4/geany-utils.m4, m4/geany-status.m4, m4/geany-the-force.m4:
26   Extract some configure logic to separate files for better
27   readability.
28
29
302011-10-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
31
32 * tagmanager/lregex.c, tagmanager/php.c:
33   Fix CTags bug 2970274 - when using addCallbackRegex the callback
34   receives less than the number of matches. The number is still not
35   correct (due to POSIX regex compatibility) but at least includes
36   all non-empty matches now.
37   http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
38   &group_id=6556&atid=106556
39
40
412011-10-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
42
43 * tagmanager/js.c:
44   Update from CTags SVN jscript.c.
45
46
472011-10-03  Colomban Wendling  <colomban(at)geany(dot)org>
48
49 * TODO, configure.ac, doc/geany.txt, geany.nsi, geany_private.rc,
50   src/geany.h, win32-config.h, wscript:
51   Post-release version bump.
52 * src/callbacks.c:
53   Fix "toggle case" when there is no selection.
54
55
562011-10-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
57
58 * Merge branches/unstable:
59 - tagmanager/php.c:
60   Fix parsing keyword-qualified functions strictly, e.g. don't
61   parse 'staticfunction' or 'fatfunction'.
62 - src/utils.c, src/utils.h, src/editor.c:
63   Use GRegex for snippet indentation replacement - fixes wrong
64   behaviour with Mac line endings.
65 - tagmanager/lregex.c, TODO:
66   Use GRegex for CTags instead of POSIX regex - GRegex is more
67   powerful. This also fixes a (HTML) performance issue on Windows.
68   Geany will now print a debug warning when using the "b" CTags
69   regex flag option for non-extended syntax. This is not currently
70   used by Geany's parsers.
71   Note: GNU regex can't be removed yet as it's still used elsewhere
72   by Geany.
73 - src/build.c, doc/pluginsignals.c:
74   When saving on build, prompt for a filename if necessary.
75   Emit the "build-start" signal only if saving succeeds.
76 - src/build.c:
77   Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with
78   glib's asynchronous spawning (which doesn't work on Windows).
79 - src/win32.c, src/win32.h, src/dialogs.c:
80   Use GTK unsaved file dialog on Windows too because the button names
81   should be specific.
82 * src/build.c, src/keybindings.c, src/keybindings.h, src/prefs.c:
83   Support visual reordering of keybinding groups without breaking the
84   plugin ABI.
85   Reorder Project group to follow main menu order.
86   Move Focus, Notebook tab groups last as they don't have
87   corresponding menu items.
88   Use keybindings_get_core_group() for fixed group IDs instead of
89   indexing keybinding_groups.
90   Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_
91   ID, not an index into keybinding_groups.
92
93
942011-10-02  Colomban Wendling  <colomban(at)geany(dot)org>
95
96 * doc/geany.txt, doc/geany.html:
97   Add myself as an author.
98 * New release: Geany 0.21 "Gromia".
99
100
1012011-10-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
102
103 * doc/images/*.png:
104   Update documentation images.
105 * doc/geany.txt, doc/geany.html:
106   Update documentation for new images.
107
108
1092011-09-28  Colomban Wendling  <colomban(at)geany(dot)org>
110
111 * src/utils.c:
112   Fix utils_string_replace_all() to accept a NULL replacement again.
113
114
1152011-09-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
116
117 * src/editor.c:
118   Fix not converting \n to document line endings in snippets.
119 * src/editor.c:
120   Fix not indenting snippet contents for documents with non-\n line
121   endings.
122
123
1242011-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
125
126 * src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
127   Add configuration_add_various_pref_group().
128 * src/win32.c:
129   Fix \0 char in format string - save as dialog filter bug.
130
131
1322011-09-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
133
134 * src/keyfile.c:
135   Rename use_safe_file_saving various pref to use_atomic_file_saving
136   as it's not 'safe'. Use old pref if new one is missing for
137   compatibility with Geany <= 0.20.
138 * src/prefs.c, src/stash.h, src/stash.c:
139   Fix making various prefs tree sync with data values when showing
140   the prefs dialog (patch by Dimitar Zhekov, thanks).
141
142
1432011-09-17  Frank Lanitz  <frlan@frank.uvena.de>
144
145 * po/fa.po, THANKS, src/about.c:
146   Adding Persian translation. Thanks to Moein Owhadi Kareshk
147 * THANKS: Adding Giuliano Manzitti to THANKS-file.
148
149
1502011-09-16  Colomban Wendling  <colomban(at)geany(dot)org>
151
152 * src/ui_utils.c:
153   Fix document sensitivity of a few menu items.
154
155
1562011-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
157
158 * src/interface.c, geany.glade:
159   Change various prefs label to /warn/ the user to read the manual.
160
161
1622011-09-15  Colomban Wendling  <colomban(at)geany(dot)org>
163
164 * src/utils.c:
165   Ask the user to configure a valid browser command if spawning it
166   fails rather than falling back to some arbitrary hardcoded defaults.
167
168
1692011-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
170
171 * src/win32.c:
172   Fix uninitialized font size & other fields.
173   Remove unhooked font dialog apply button.
174
175
1762011-09-13  Colomban Wendling  <colomban(at)geany(dot)org>
177
178 * data/filetype_extensions.conf:
179   Add Markdown extensions from Shared MIME-Info database (closes
180   #3405321).
181 * src/filetypes.c:
182   Add missing MIME type to a few filetypes.
183 * doc/geany.txt, doc/geany.html:
184   Fix a few typos.
185
186
1872011-09-12  Colomban Wendling  <colomban(at)geany(dot)org>
188
189 * src/symbols.c:
190   Fix updating symbol list for overloaded C++ symbols (closes
191   #3406644).
192
193
1942011-09-02  Colomban Wendling  <colomban(at)geany(dot)org>
195
196 * src/ui_utils.c:
197   Fix check for enabling MIME type based icons.
198 * src/encodings.c, src/filetypes.c:
199   Plug a few memory leaks.
200
201
2022011-08-25  Colomban Wendling  <colomban(at)geany(dot)org>
203
204 * src/utils.h:
205   Fix foreach_ptr_array() not to crash on arrays with 0 elements.
206
207
2082011-08-25  Colomban Wendling  <colomban(at)geany(dot)org>
209
210 * src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
211   doc/geany.html, data/filetypes.*:
212   Add support for filetype-specific indentation settings (closes
213   #3339420 and #3390435).
214 * src/callbacks.c, src/editor.c, src/editor.h:
215   Add editor_set_indent_width() to only set indentation width.
216 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
217   src/interface.c, geany.glade:
218   Add menu items to detect indentation settings from document's
219   content.
220
221
2222011-08-24  Colomban Wendling  <colomban(at)geany(dot)org>
223
224 * src/editor.c:
225   Make completion and word completion support non-ASCII characters
226   (closes #3313351).
227
228
2292011-08-21  Colomban Wendling  <colomban(at)geany(dot)org>
230
231 * src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
232   Fix search for the current word if it isn't composed of only
233   GEANY_WORDCHARS (closes #3386129).
234
235
2362011-08-20  Colomban Wendling  <colomban(at)geany(dot)org>
237
238 * tagmanager/haskell.c:
239   Fix tags for one-letter Haskell symbols (closes #3289160).
240
241
2422011-08-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
243
244 * doc/plugins.dox:
245   Update of wording to fix some grammatical issues etc. on plugin howto.
246   Patch provided by Matthew Brush. Thanks.
247 * data/filetypes.Cython.conf:
248   Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
249
250
2512011-08-19  Colomban Wendling  <colomban(at)geany(dot)org>
252
253 * data/filetype_extensions.conf, data/filetypes.Cython.conf,
254   data/filetypes.python:
255   Add Cython filetype (patch by Matthew Brush, thanks).
256 * src/symbols.c, tagmanager/include/tm_workspace.h,
257   tagmanager/tm_workspace.c:
258   Create temporary files used for generating global tags files in the
259   system directory for temp files.
260 * tagmanager/diff.c:
261   Don't make tags for /dev/null in diff files but for the new file
262   instead (Based on a patch by Yang Hong, thanks).
263
264
2652011-08-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
266
267 * doc/plugins.dox:
268   Update API version used inside plugin howto to a more recent version
269   (API v211).
270
271
2722011-08-13  Colomban Wendling  <colomban(at)geany(dot)org>
273
274 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
275   Focus the editor upon double click on the message and compiler
276   windows (patch by Dimitar Zhekov, thanks).
277
278
2792011-08-03  Colomban Wendling  <colomban(at)geany(dot)org>
280
281 * src/geany.h, plugins/classbuilder.c, plugins/export.c,
282   plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
283   plugins/splitwindow.c:
284   Only include config.h when building Geany (closes #3384026).
285
286
2872011-07-31  Frank Lanitz  <frlan@frank.uvena.de>
288
289 * doc/plugins.dox:
290   Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
291   HowTo as well as a hint to make usage of main_locale_init().
292
293
2942011-07-28  Colomban Wendling  <colomban(at)geany(dot)org>
295
296 * src/build.c, src/build.h, src/editor.c, src/interface.c,
297   src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
298   src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
299   Allow to edit formerly hidden preferences in the prefs dialog
300   (closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
301 * src/document.c:
302   Improve indentation width detection to better deal with Java
303   and Vala files.
304
305
3062011-06-26  Colomban Wendling  <colomban(at)geany(dot)org>
307
308 * src/highlighting.c:
309   Recognize C# and Vala raw and verbatim strings as string styles.
310 * src/editor.c:
311   Fix indentation brace matching (closes #3309606).
312
313
3142011-06-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
315
316 * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
317   geany.pc.in:
318   More GTK 2.8 => GTK 2.12 transition.
319
320
3212011-06-20  Colomban Wendling  <colomban(at)geany(dot)org>
322
323 * src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
324   doc/geany.html:
325   Add an hidden pref to choose between GIO and plain C unsafe
326   file saving.
327 * configure.ac, src/document.c, win32-config.h:
328   Completely drop HAVE_GIO checks.
329
330
3312011-06-18  Colomban Wendling  <colomban(at)geany(dot)org>
332
333 * src/document.c, src/document.h, src/editor.c:
334   Remove support of size being -1 in document_open_file_list().
335 * src/utils.c src/utils.h:
336   Remove support of size being -1 in utils_get_line_endings().
337 * src/stash.c, src/stash.h:
338   Make StashWidgetID map to gconstpointer, allowing use of const
339   strings as the widget key.
340
341
3422011-06-16  Colomban Wendling  <colomban(at)geany(dot)org>
343
344 * src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
345   Remove most of the checks for GIO.
346 * src/win32.c:
347   Remove last GLib >= 2.16 check.
348
349
3502011-06-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
351
352 * tagmanager/python.c:
353   Fix two bugs with triple quoted strings within comments
354   and missing indentation within triple quoted strings
355   (#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
356
357
3582011-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
359
360 * data/filetypes.python:
361   Add Cython keywords.
362
363
3642011-06-13  Colomban Wendling  <colomban(at)geany(dot)org>
365
366 * configure.ac, src/Makefile.am, src/makefile.win32, wscript:
367   Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
368 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
369   src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
370   src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
371   src/vte.c:
372   Deprecate ui_widget_set_tooltip_text() in favor of
373   gtk_widget_set_tooltip_text().
374 * configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
375   src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
376   src/printing.h:
377   Enable GTK printing support unconditionally.
378 * doc/geany.html, doc/geany.txt:
379   Stop talking about pre-GTK 2.12 tricks.
380 * geany.glade, src/interface.c:
381   Fix Printing preferences page alignment.
382 * src/notebook.c:
383   Remove pre-GTK 2.10 tab DnD support.
384 * src/pluginutils.c, tagmanager/tm_file_entry.c,
385   tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
386   Unconditionally use GSlice allocator.
387
388
3892011-06-11  Colomban Wendling  <colomban(at)geany(dot)org>
390
391 * src/dialogs.c, src/main.c, src/ui_utils.h:
392   Always destroy open and save dialog after use. This also helps
393   working around a long-living GTK+ bug, hopefully closing #3311258,
394   #3304273, #3201050, #3163742, #3153120 and #2985896.
395
396
3972011-06-03  Colomban Wendling  <colomban(at)geany(dot)org>
398
399 * src/callbacks.c, src/document.c, src/document.h, src/editor.c,
400   src/search.c, src/search.h:
401   Show the actual text the user searched for in messages rather than
402   the internal one (patch by Eugene Arshinov, thanks).
403 * src/search.c:
404   Also use the actual user search in the combo box history.
405
406
4072011-06-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
408
409 * src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
410   Add ui_focus_current_document() and document_grab_focus().
411 * src/project.c:
412   Focus the editor widget after loading project session files.
413 * scripts/create_py_tags.py:
414   Ignore tags ending with an underscore.
415   Dynamically determine the path of Python's standard library instead
416   of hardcoding it.
417   Parse all modules of the Python standard library instead of a
418   hardcoded list of filenames.
419
420
4212011-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
422
423 * data/filetypes.java:
424   Move keyword 'enum' to primary keywords (closes #3305737).
425
426
4272011-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
428
429 * tagmanager/python.c:
430   When checking for literal strings to ignore, consider also
431   unicode, binary and raw strings.
432 * src/plugins.c:
433   Define and use get_plugin_path() always and move platform dependent
434   code into the function definition.
435   Do not add active plugins to the list of plugins when they are
436   already in the list (closes #3308191).
437   Check whether the custom plugin path is one of the user or system
438   plugin paths and if so, ignore it.
439
440
4412011-05-27  Colomban Wendling  <colomban(at)geany(dot)org>
442
443 * src/prefs.c:
444   Fix preferences help button when activated with the keyboard.
445
446
4472011-05-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
448
449 * src/about.c, src/build.c, tagmanager/tm_workspace.c:
450   Remove unused variables (patch by Eugene Arshinov, thanks).
451 * src/stash.c:
452   Remove unused variables (suggested by Eugene Arshinov).
453 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
454   Do not allow 'Save All' even if 'allow_always_save' is set
455   (patch by Dimitar Zhekov, thanks).
456 * data/filetypes.java:
457   Add 'enum' to secondary keywords
458   (closes #3305737, patch by Matthew Brush, thanks).
459
460
4612011-05-12  Colomban Wendling  <colomban(at)geany(dot)org>
462
463 * src/encodings.c:
464   Update the HTML content-type encoding detection regexp to accept some
465   more valid inputs (closes #3300703).
466
467
4682011-05-11  Colomban Wendling  <colomban(at)geany(dot)org>
469
470 * src/plugins.c:
471   Improve the plugin manager dialog a little.
472 * src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
473   src/plugins.c:
474   Cleanup GeanyWrapLabel a bit.
475
476
4772011-05-09  Colomban Wendling  <colomban(at)geany(dot)org>
478
479 * plugins/splitwindow.c:
480   Remove widget reparenting in Split Window plugin. This fixes plugin
481   issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
482 * plugins/Makefile.am, plugins/makefile.win32, wscript:
483   Enable SplitWindow build on Windows again (re-apply Enrico's patch).
484
485
4862011-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
487
488 * HACKING:
489   Add note about patching Glade 2.12 to compile it with
490   newer GTK versions.
491
492
4932011-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
494
495 * src/callbacks.c:
496   Fix 'Toolbar Preferences' popup menu item (oops).
497
498
4992011-05-03  Colomban Wendling  <colomban(at)geany(dot)org>
500
501 * doc/geany.txt, doc/geany.html:
502   Update the documentation for project patterns and recent FIF dialog
503   changes.
504
505
5062011-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
507
508 * src/highlighting.c, doc/geany.txt, doc/geany.html:
509   Allow translations for color scheme [theme_info] keys.
510 * src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
511   Save filetype build commands straight after editing them instead of
512   at shutdown (patch by Dimitar Zhekov, thanks).
513
514
5152011-05-02  Colomban Wendling  <colomban(at)geany(dot)org>
516
517 * src/plugindata.h:
518   Bump plugin API version so a plugin can know the project file
519   patterns are visible by the user.
520
521
5222011-05-01  Colomban Wendling  <colomban(at)geany(dot)org>
523
524 * src/search.c:
525   Fix pattern filtering when not searching in subdirectories.
526
527
5282011-04-30  Colomban Wendling  <colomban(at)geany(dot)org>
529
530 * src/project.c:
531   Fix project patterns and make them visible (based on a patch
532   by Jiří Techet, thanks).
533 * src/search.c:
534   Use project patterns in the FIF dialog (based on a patch
535   by Jiří Techet, thanks).
536 * src/msgwindow.c:
537   Open the file in the msgwindow even if no line number is specified.
538
539
5402011-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
541
542 * src/filetypes.c, data/filetype_extensions.conf:
543   Revert 'Compiled' filetype group back to 'Programming' (couldn't
544   agree on whether e.g. Java is a compiled language).
545 * doc/geany.txt, doc/geany.html:
546   Add section 'Filetype group membership'.
547 * src/highlighting.c, doc/geany.txt, doc/geany.html,
548   data/colorschemes/alt.conf:
549   Read color scheme name and description for menu item label and
550   tooltip (based on patch by Matthew Brush, thanks).
551
552
5532011-04-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
554
555 * src/filetypes.c, src/filetypes.h:
556   Remove now unnecessary Custom filetype group.
557 * src/filetypes.c:
558   Move text markup languages into Markup filetype group.
559   Move some programming language filetypes out of the Miscellaneous
560   group.
561   Fix filetype title for some languages.
562   Don't use 'Languages' for Miscellaneous group label.
563   These changes mostly proposed by Matthew Brush (thanks).
564 * src/filetypes.c:
565   Make custom filetype titles use 'source file' only if their group
566   is Compiled or Script.
567   Use 'source file' for reStructuredText title.
568
569
5702011-04-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
571
572 * src/filetypes.c, src/filetypes.h, src/main.c,
573   data/filetype_extensions.conf:
574   Make filetype group membership configurable using [Groups] in
575   filetype_extensions.conf.
576   Read filetype_extensions.conf when calling filetypes_init_types(),
577   don't require doclist initialization.
578 * src/filetypes.c:
579   Change Programming Languages filetype group label -> Compiled
580   Languages.
581   Use 'source file' title for custom filetypes.
582 * src/prefs.c, doc/geany.txt, doc/geany.html:
583   Remove Preferences label warning about restarting after editing
584   template data - this is no longer necessary.
585
586
5872011-04-26  Colomban Wendling  <colomban(at)geany(dot)org>
588
589 * src/callbacks.c, src/document.c, src/document.h,
590   src/documentprivate.h, src/editor.c, src/sidebar.c:
591   Make sure to update the tag list only for the current document,
592   avoiding idle updates to show the tag list for the wrong document.
593 * src/callbacks.c, src/document.c, src/documentprivate.h,
594   src/sidebar.c:
595   Avoid changing the tag tree if it's not the one of the current
596   document, fixing showing the wrong tag list when reloading
597   configuration files.
598
599
6002011-04-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
601
602 * src/utils.c:
603   Fix warning in utils_find_open_xml_tag() with malformed tags like
604   <~foo> (oops).
605
606
6072011-04-24  Colomban Wendling  <colomban(at)geany(dot)org>
608
609 * src/editor.c:
610   Don't update the tag list when the user is typing (patch by Yura
611   Siamashka, thanks).
612 * src/filetypes.c:
613   When copying filetype groups, add keys from both system and user
614   ones, making sure user's ones have precedence over system ones.
615
616
6172011-04-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
618
619 * src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
620   plugins/geanyfunctions.h:
621   Add utils_find_open_xml_tag_pos() API function (patch by Eugene
622   Arshinov, thanks).
623 * src/templates.c:
624   Replace dates on template insertion, not when loading templates.
625
626
6272011-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
628
629 * src/editor.c:
630   Fix multiple snippet cursor positions for Tabs + Spaces mode.
631   Simplify editor_insert_snippet() code now we use cursor marker
632   strings.
633 * src/utils.c, src/utils.h, src/editor.c:
634   Add utils_string_find() to search in a fixed range.
635   Change utils_string_replace() to just replace a fixed number of
636   characters.
637
638
6392011-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
640
641 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
642   plugins/geanyfunctions.h:
643   Add document_compare_by_tab_order() and
644   document_compare_by_tab_order_reverse() to the plugin API.
645 * src/ui_utils.c:
646   Use document_compare_by_tab_order() as default compare function
647   to sort the document list in the document notebook tab menu, this
648   fixes the currently broken default ordering.
649
650
6512011-04-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
652
653 * src/utils.c, src/utils.h, src/editor.c:
654   Add function utils_string_replace() to replace in a fixed range.
655   Remove utils_string_replace_helper() and update cursor marker code.
656
657
6582011-04-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
659
660 * src/editor.c:
661   Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
662   Refactor snippets_make_replacements() using geany_cursor_marker.
663
664
6652011-04-13  Colomban Wendling  <colomban(at)geany(dot)org>
666
667 * src/editor.c:
668   Avoid triggering autocompletion on PHP open tags (closes #3199442).
669
670
6712011-04-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
672
673 * src/document.c:
674   Update dox for document_compare_by_display_name() with warning
675   about parameter addresses.
676 * src/document.h:
677   Use brackets for DOC_FILENAME() macro 'doc' argument.
678 * src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
679   src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
680   Make utils_build_path() return a copy for safety.
681 * src/keybindings.c:
682   Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
683
684
6852011-04-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
686
687 * src/document.c:
688   Fix wrong casting of array pointers, thanks Nick.
689 * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
690   src/document.h:
691   Rename document_sort_by_display_name() into
692   document_compare_by_display_name(), thanks again Nick.
693
694
6952011-04-11  Colomban Wendling  <colomban(at)geany(dot)org>
696
697 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
698   Revert r5642 "Don't update parent WorkObjects when updating one in
699   real-time" because it broke calltips.
700
701
7022011-04-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
703
704 * plugins/filebrowser.c:
705   Update path when saving a new document for the first time if the
706   follow path option is enabled.
707 * src/about.c, src/keyfile.c, THANKS:
708   Store VTE path with the session (based on patch by Nicolas
709   Sierro, thanks).
710   There's still a bug with loading a project at startup; closing the
711   project doesn't restore old VTE path.
712 * src/filetypes.c, src/filetypes.h:
713   Refactor with filetypes_get_filename().
714   Make filetypes_get_conf_extension() static.
715 * src/utils.c, src/utils.h, src/filetypes.c:
716   Make utils_make_filename() return a copy for safety.
717
718
7192011-04-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
720
721 * src/editor.c:
722   Ignore scrolling events in on_update_ui().
723 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
724   src/document.c, doc/pluginsignals.c:
725   Add and use signal "document-reload" to the plugin API.
726 * src/symbols.c, tagmanager/sql.c:
727   Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
728 * src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
729   src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
730   Add ui_menu_add_document_items_sorted() and
731   document_sort_by_display_name() to the plugin API.
732
733
7342011-04-08  Colomban Wendling  <colomban(at)geany(dot)org>
735
736 * scintilla/lexers/LexCPP.cxx:
737   Make highlighting of triple-quoted verbatim an option (Backport
738   from Scintilla HG 3602:5536ed81a85b).
739 * src/highlighting.c:
740   Add highlight for triple-quoted verbatims.
741 * data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
742   data/filetypes.Scala.conf:
743   Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
744 * data/filetypes.Genie.conf:
745   Copy C styling rather than redefining the styles.
746 * src/editor.c:
747   Don't set font twice for line numbers and braces.
748
749
7502011-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
751
752 * src/templates.c:
753   Remove TEMPLATES_GET_FILENAME() macro.
754 * src/search.c:
755   Don't auto-enable case-sensitive option when enabling regex in
756   Find/Replace dialogs.
757
758
7592011-04-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
760
761 * scintilla/gtk/ScintillaGTK.cxx:
762   Fix X PRIMARY selection issue when Scintilla widget is
763   unrealized/re-realized (Backport from Scintilla HG,
764   original patch by Matthew Brush).
765   Reset cursors when Scintilla widget is realized (Backport from
766   Scintilla HG, original patch by Matthew Brush).
767
768
7692011-04-04  Colomban Wendling  <colomban(at)geany(dot)org>
770
771 * scintilla/gtk/PlatGTK.cxx:
772   Fix font rendering in Scintilla when using Cairo.
773
774
7752011-04-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
776
777 * src/interface.c, geany.glade:
778   Make Project->Properties the last menu item so it's faster to use.
779
780
7812011-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
782
783 * scintilla/*:
784   Update Scintilla to version 2.25.
785 * version.txt, Makefile.am:
786   Add Scintilla's version.txt file.
787 * scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
788   Replace escape character '\' by slash '/' in paths in the
789   Windows Makefiles (patch by Matthew Brush, thanks).
790 * src/tools.c:
791   Reflect the existence of the entered command in `Set Custom Commands`
792   dialog as well using the yes/no icon.
793
794
7952011-04-03  Colomban Wendling  <colomban(at)geany(dot)org>
796
797 * src/main.c, src/prefs.c, src/tools.c:
798   Fix loading and updating menu accelerators for custom commands.
799 * src/prefs.c:
800   Don't allow editing keybinding column of group rows.
801 * src/tools.c:
802   Fix ID of newly added commands in the `Set Custom Commands` dialog.
803
804
8052011-04-02  Colomban Wendling  <colomban(at)geany(dot)org>
806
807 * src/tools.c, doc/geany.txt, doc/geany.html:
808   Improve the `Set Custom Commands` dialog.
809
810
8112011-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
812
813 * src/interface.c, src/interface.h, geany.glade:
814   Rename Preferences dialog Interface subtab More -> Notebook tabs.
815 * src/toolbar.c, src/dialogs.c:
816   Use mimetype icon in File Properties dialog.
817 * doc/geany.txt, doc/geany.html:
818   Fix title capitalization.
819 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
820   Move Preferences dialog Toolbar tab under Interface tab.
821 * src/build.c:
822   Tweak some build dialog labels:
823   Clear -> Reset.
824   Fix capitalization.
825   Use filetype name instead of title.
826 * src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
827   Remove old filetype templates support - users can use custom file
828   templates instead.
829
830
8312011-04-01  Colomban Wendling  <colomban(at)geany(dot)org>
832
833 * src/encodings.c:
834   Update regex used to find encodings for it to allow the encoding to
835   be quoted, adding support for XML (closes #3183506).
836 * src/encodings.c:
837   Implement charset name normalization in order to better deal with
838   badly-written encoding names (i.e. names found by regex search).
839   This also makes encodings_get_idx_from_charset() and
840   encodings_get_from_charset() more permissive regarding the passed-in
841   encoding name.
842 * src/encodings.c:
843   Always try to honor the charset found in the document, even if the
844   document can be loaded as UTF-8.
845   This make files encoded with e.g. ISO-8859-1 that have the proper
846   information in them but only use the UTF-8 compatible part of
847   ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
848   Also fix check for locale encoding.
849 * src/tools.c, doc/geany.txt, doc/geany.html:
850   Make `Send selection to` send the current line if there is no
851   selection.
852
853
8542011-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
855
856 * plugins/filebrowser.c:
857   Make 'Hide object files' preference configurable with file
858   extensions.
859 * plugins/filebrowser.c:
860   Fix applying default setting for hide_object_files (oops).
861   Fix warning when enabling plugin from the Plugin Manager.
862 * plugins/filebrowser.c:
863   Fix optimization for filter check when pattern is '*'.
864   Use foreach_strv() instead of foreach_c_array().
865 * plugins/filebrowser.c:
866   Don't hide directories matching hidden file extensions e.g. foo.o.
867   Refactor with check_object().
868
869
8702011-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
871
872 * src/editor.c:
873   Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
874   crash in the Split Window plugin when changing filetype (patch by
875   Matthew Brush, thanks; fixes #3255968).
876 * plugins/splitwindow.c:
877   Update styles when the filetype changes (based on patch by
878   Matthew Brush, thanks).
879 * plugins/saveactions.c:
880   Fix Instant Save preferences combo box filetype order.
881 * plugins/filebrowser.c:
882   Remove macro CHECK_READ_SETTING().
883
884
8852011-03-30  Colomban Wendling  <colomban(at)geany(dot)org>
886
887 * src/plugindata.h, src/pluginprivate.h, src/plugins.c,
888   src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
889   Add plugin_idle_add(), plugin_timeout_add() and
890   plugin_timeout_add_seconds() to the plugin API. These are
891   convenience wrappers to ensure the added timeouts are properly
892   removed when unloading the plugin, preventing possible crashes.
893 * plugins/splitwindow.c:
894   Use new plugin_idle_add(), preventing an unlikely crash.
895 * doc/pluginsymbols.c, src/sciwrappers.c:
896   Fix a few Doxygen warnings.
897 * plugins/saveactions.c:
898   Properly use 0 as the invalid timeout source ID.
899
900
9012011-03-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
902
903 * doc/geany.txt, doc/geany.html:
904   Add #reading-styles-from-another-filetype subsection, based on
905   patch by Matthew Brush (thanks).
906 * doc/geany.txt, doc/geany.html:
907   Add #filenames subsection for filetype definition files explaining
908   the filename extensions and special cases.
909 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
910   src/main.c, plugins/geanyfunctions.h:
911   Add filetypes_get_sorted_by_name() to API.
912   Fix --ft-names sorting to print in name order, not title order.
913
914
9152011-03-28  Colomban Wendling  <colomban(at)geany(dot)org>
916
917 * src/document.c, src/document.h, src/editor.c, src/keybindings.c:
918   Don't update parent WorkObjects when updating one in real-time. This
919   should fix some performance issues if a WorkObject has many parents.
920
921
9222011-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
923
924 * src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
925   wscript:
926   Initialize GLib's Gthread system early at startup in case any
927   plugins need it.
928 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
929   doc/geany.txt, doc/geany.html:
930   Add new keybinding 'Remove Markers and Error Indicators'.
931
932
9332011-03-26  Colomban Wendling  <colomban(at)geany(dot)org>
934
935 * src/sidebar.c:
936   Fix the sidebar popup menu to properly use the currently selected
937   item rather than the previous one.
938   Also change the hack used for the selection to be updated in the
939   input handlers to call the GtkTreeView's handler manually rather than
940   doing the actual job in IDLE callbacks for the TreeView's handler to
941   have run.
942 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
943   src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
944   src/project.c:
945   Add possibility to detect the indentation width from the file content
946   (not supported if indentation type is tabs only).
947 * plugins/splitwindow.c:
948   Enable code folding in splitview window (based on a patch by Matthew
949   Brush, thanks! - closes #3097780).
950   Fix confusing terminology in Split Window plugin menu labels (patch
951   by Matthew Brush - closes #2796316).
952   Don't unsplit when closing the displayed document but rather pick the
953   new current one if any.
954
955
9562011-03-25  Colomban Wendling  <colomban(at)geany(dot)org>
957
958 * data/filetypes.vala:
959   Update Vala keywords (based on a patch from Matthew Brush, thanks).
960 * data/document.c:
961   Small code cleanups.
962
963
9642011-03-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
965
966 * plugins/filebrowser.c:
967   Add history to filter entry.
968 * src/keybindings.c, src/vte.c:
969   Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
970   (Ctrl-Shift-V).
971 * src/keybindings.c:
972   Make VTE copy/paste shortcuts work if 'Override Geany
973   keybindings' is not set.
974
975
9762011-03-24  Colomban Wendling  <colomban(at)geany(dot)org>
977
978 * doc/geany.txt, doc/geany.html:
979   Update the documentation to talk about real-time tag parsing.
980 * doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
981   src/document.c, src/document.h, src/geanyentryaction.c,
982   src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
983   Make Shift-Enter in search dialog and toolbar search entries search
984   backwards.
985 * plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
986   src/dialogs.c, src/document.c, src/document.h, src/editor.c,
987   src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
988   src/main.c, src/plugins.c, src/printing.c, src/project.c,
989   src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
990   Improve usage of G_LIKELY() and G_UNLIKELY() macros.
991
992
9932011-03-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
994
995 * src/main.c:
996   Make --ft-names list filetypes alphabetically.
997 * plugins/filebrowser.c:
998   Allow multiple file filters to be separated by a space for
999   consistency with Find in Files file patterns. ';' is still
1000   allowed also.
1001
1002
10032011-03-20  Colomban Wendling  <colomban(at)geany(dot)org>
1004
1005 * data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
1006   src/filetypes.c, src/filetypes.h, src/templates.c:
1007   Add new filetype setting "comment_single" to provide separated
1008   single-line and multiline comment support. Single-line are used in
1009   priority to comment code, and multiline to make template comments.
1010 * src/editor.c, src/search.c, tagmanager/diff.c:
1011   Don't use strlen(..) > 0 or == 0, simply check the first character
1012   against 0.
1013 * src/document.c:
1014   Update forced indent settings when setting the filetype. This makes
1015   documents created or set to a filetype with forced indent setting
1016   (Makefile, F77) to have the correct setting right away.
1017
1018
10192011-03-19  Colomban Wendling  <colomban(at)geany(dot)org>
1020
1021 * src/callbacks.c:
1022   Create a new undo action when inserting templates, making sure the
1023   user can undo the template insertion without also undoing a previous
1024   action.
1025
1026
10272011-03-18  Colomban Wendling  <colomban(at)geany(dot)org>
1028
1029 * src/document.c, src/encodings.c, src/encodings.h:
1030   Move document encoding conversion with BOM support to encodings.[ch]
1031   as encodings_convert_to_utf8_auto().
1032 * src/templates.c:
1033   Properly convert template files to UTF-8 on loading, fixing encoding
1034   issues if templates files are not encoded in UTF-8.
1035
1036
10372011-03-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1038
1039 * data/templates/files/main.vala:
1040   Add file template for Vala (patch by Mark Trompell, thanks).
1041
1042
10432011-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1044
1045 * src/utils.c, src/utils.h, src/filetypes.c:
1046   Support copying filetype definition file group keys from a system
1047   keyfile with e.g. [styling=C].
1048   Add function utils_make_filename() for building filenames easily.
1049 * THANKS, plugins/classbuilder.c:
1050   Improve Class Builder plugin dialog UI using a table (patch by
1051   Matthew Brush, thanks).
1052 * plugins/classbuilder.c:
1053   Fix GLib warning when creating classes and no documents are open
1054   (patch by Matthew Brush, thanks).
1055 * plugins/classbuilder.c:
1056   Undo patch change to cc_option_label_new() to append a ':' colon to
1057   label text because this unnecessarily causes string translations to
1058   be updated.
1059 * src/interface.c, geany.glade:
1060   Fix wrong label capitalization for Toolbar Preferences dialog tab
1061   and 2 other labels.
1062 * data/filetypes.Scala.conf, data/filetype_extensions.conf:
1063   Add Scala custom filetype, based on file by werg (thanks).
1064   (This uses the newly added [styling=C] syntax).
1065 * src/filetypes.c:
1066   Make special case for filetypes.matlab instead of truncating all
1067   filetype config filenames at slash.
1068 * src/filetypes.c:
1069   Fix generating tag files and --ft-names option by ensuring GTK is
1070   initialized before calling ui_get_mime_icon().
1071
1072
10732011-03-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1074
1075 * THANKS, src/about.c:
1076   Adding Wei-Lun Chao as current maintainer for traditional Chinese
1077   translation.
1078
1079
10802011-03-15  Colomban Wendling  <colomban(at)geany(dot)org>
1081
1082 * src/templates.c, src/templates.h:
1083   Use the same indentation for all templates (part of FR#3193527; from
1084   a patch by Matthew Brush, thanks).
1085 * src/plugins.c:
1086   Always keep the list of loaded plugin sorted by name.
1087
1088
10892011-03-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1090
1091 * data/filetype_extensions.conf:
1092   Add Markdown extension.
1093
1094
10952011-03-10  Colomban Wendling  <colomban(at)geany(dot)org>
1096
1097 * src/toolbar.c:
1098   Correctly expand the menubar if the toolbar is appended to it but
1099   not visible (closes #3204955).
1100 * plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
1101   src/tools.c, src/utils.c:
1102   Prefer prepend elements to lists rather than append them, for better
1103   performances.
1104
1105
11062011-03-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1107
1108 * src/geany.h:
1109   Fix wrong code example in the API docs
1110   (spotted by Matthew Brush, thanks).
1111
1112
11132011-03-07  Colomban Wendling  <colomban(at)geany(dot)org>
1114
1115 * tagmanager/mio/mio-memory.c:
1116   Import upstream MIO changes not to require a C99 compiler.
1117
1118
11192011-03-06  Colomban Wendling  <colomban(at)geany(dot)org>
1120
1121 * src/symbols.c:
1122   When sorting tags by line, also sort by scope if line is the same,
1123   avoiding wrong sorting if a parent tag is on the same line than its
1124   children, and one of it's children would be sorted before
1125   alphabetically (closes #3193982).
1126
1127
11282011-03-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1129
1130 * src/interface.c, geany.glade:
1131   Fix typo.
1132 * src/search.c:
1133   Remember Find and Replace options across restarts
1134   (patch by Dimitar Zhekov, thanks).
1135   Cleanup.
1136   Respect saved state of 'Case sensitive' option when using
1137   the 'Regular expressions' option as well.
1138 * plugins/export.c:
1139   Add option to insert line numbers (closes #3197150).
1140   Cleanup.
1141   Use the full filename and add the extension of the export format.
1142   Fix off-by-one bug which hidden the last empty line of a document.
1143
1144
11452011-03-05  Colomban Wendling  <colomban(at)geany(dot)org>
1146
1147 * configure.ac, wscript, makefile.win32, src/Makefile.am,
1148   src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
1149   tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
1150   tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
1151   tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
1152   tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
1153   tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
1154   Move most of TagManager's I/O to MIO.
1155 * src/document.c:
1156   Enable in-memory tag parsing.
1157 * geany.glade, src/editor.c, src/editor.h, src/interface.c,
1158   src/keyfile.c:
1159   Add possibility to update symbol list in IDLE time, enabled by
1160   default using a minimal delay of 250ms.
1161 * src/symbols.c:
1162   Improve implementation of hide_empty_rows() to do all in one shot.
1163 * tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
1164   tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
1165   tagmanager/tm_workspace.c:
1166   Make TMTag reference-counted.
1167 * src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
1168   tagmanager/tm_tag.c:
1169   Provide a GType for TMTag and use it in the tag store to make sure
1170   the tags it holds are always valid.
1171 * src/sidebar.c:
1172   Don't remove and add the symbols tree view if we re-add the same one.
1173 * src/sidebar.c, src/sidebar.h, src/symbols.c:
1174   Update the symbol list rather than clearing and re-building it.
1175   There is room for improvement in the implementation side, but it
1176   is harder to do, probably a future improvement.
1177 * tagmanager/c.c:
1178   Fix suffix of anonymous symbols (structs, enums, ...).
1179 * tagmanager/c.c:
1180   Plug a memory leak.
1181
1182
11832011-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1184
1185 * plugins/saveactions.c:
1186   Fix wrong warning on empty backup directory setting if
1187   'Backup Copy' is not enabled at all.
1188 * AUTHORS, src/about.c, README.Packagers, README:
1189   Welcome Colomban Wendling, a new Geany developer.
1190
1191
11922011-02-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1193
1194 * src/templates.c:
1195   Fix segfault when inserting e.g. fileheader template when the
1196   template file is empty (#3070913, thanks to lphilpot).
1197
1198
11992011-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1200
1201 * plugins/filebrowser.c:
1202   Add support for multiple file filters, separated by semicolon
1203   (based on a patch by Grigory Javadyan, thanks).
1204
1205
12062011-02-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1207
1208 * data/filetype_extensions.conf:
1209   Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
1210   #3154637).
1211
1212
12132011-02-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1214
1215 * tagmanager/latex.c:
1216   Add a workaround for #3066566 to prevent Geany from crashing during
1217   loading of a LaTeX-file containing linebreaks inside headings.
1218
1219
12202011-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1221
1222 * tagmanager/php.c:
1223   Fix memory leaks (reported by an anonymous IRC user).
1224 * doc/geany.txt, doc/geany.html:
1225   Replace '+' by '-' in the Scintilla Keybindings section
1226   to be consistent with the other mentioned keybindings.
1227 * src/project.c:
1228   Improve error checking when trying to write project files
1229   (patch by Colomban Wendling, thanks).
1230   Add a warning if writing the project file fails on close.
1231 * src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
1232   Rename utils_is_file_writeable() into utils_is_file_writable().
1233
1234
12352011-01-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1236
1237 * src/editor.c:
1238   Ensure the editor widget has the focus when the editor menu is
1239   called.
1240 * scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
1241   scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
1242   src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
1243   src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
1244   tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
1245   data/filetype_extensions.conf, wscript:
1246   Add filetype Cobol (based on a patch by Seth Keiper).
1247
1248
12492011-01-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1250
1251 * plugins/filebrowser.c:
1252   Add '.pyc' to the list of hidden object files
1253   (patch by Filip Gruszczyński, thanks).
1254
1255
12562011-01-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1257
1258 * *.*:
1259   Update copyright information.
1260 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1261   geany_private.rc, win32-config.h, wscript, src/geany.h:
1262   Post-release version bump.
1263
1264
12652011-01-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1266
1267 * src/highlighting.c, data/filetypes.javascript:
1268   Add and use secondary keywords for filetype JavaScript,
1269   update and sanitize JavaScript keyword lists
1270   (patch by Jason Oster, thank you).
1271
1272
12732011-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1274
1275 * THANKS, src/about.c:
1276   Added Rafael Peregrino da Silva to list of contributors for Brazilian
1277   Portuguese (pt_BR) translation.
1278
1279
12802011-01-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1281
1282 * src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
1283   Add Save As toolbar button option (patch by Matthew Brush, thanks;
1284   #3153490).
1285 * scintilla/*, src/utils.c, src/notebook.c,
1286   data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1287   data/filetypes.cs, data/filetypes.c, wscript:
1288   Merge unstable branch:
1289 - src/utils.c:
1290   Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
1291 - src/notebook.c:
1292   Add 'Open in New Window' command in the notebook tab menu (based on
1293   patch by Matthew Brush, thanks - #3118059).
1294 - data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
1295   data/filetypes.cs, data/filetypes.c:
1296   Disable preprocessor #define tracking for the CPP lexer
1297   (enabled by default in Scintilla).
1298 - scintilla/*, wscript:
1299   Update Scintilla to version 2.22.
1300   Use Scintilla's directory structure mostly and only remove
1301   unused lexers.
1302
1303
13042011-01-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1305
1306 * New release: Geany 0.20 "Disra".
1307
1308
13092011-01-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1310
1311 * src/plugins.c:
1312   Add debug message with the number of compatible plugins in each
1313   plugin search path when showing the Plugin Manager dialog.
1314
1315
13162010-12-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1317
1318 * doc/geany.txt, doc/geany.html:
1319   Move and update 'Custom filetypes' section.
1320   Add 'Creating a custom filetype from an existing filetype' section.
1321
1322
13232010-12-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1324
1325 * src/interface.c, src/keybindings.c, geany.glade:
1326   Add Edit->Insert Alternative White Space menu item (was previously
1327   removed from Edit->Commands submenu).
1328
1329
13302010-12-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1331
1332 * src/interface.c, geany.glade:
1333   Split Preferences dialog Interface tab into subnotebook to reduce
1334   height of dialog (fixes #3141277). Reuses existing strings.
1335 * src/editor.c:
1336   Scroll to the current line when moving the cursor to the next
1337   cursor position in a snippet (#3139490).
1338 * doc/geany.txt, doc/geany.html:
1339   Add short 'View menu' section and 'Color schemes menu' section.
1340 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1341   Add filetypes_get_display_name() to API.
1342
1343
13442010-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1345
1346 * src/build.c:
1347   Reduce Set Build Commands dialog column 1 width by using '#' label.
1348   Fix memory leak.
1349 * src/build.c:
1350   Use italic for note labels in the Build Commands dialog.
1351
1352
13532010-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1354
1355 * src/build.c, src/build.h:
1356   Replace doc-comments with '/* *' comments to show there's no build
1357   API for plugins.
1358
1359
13602010-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1361
1362 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
1363   Fix segfaults when using 'Send Selection to Terminal' and the VTE
1364   is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
1365   pref (patch by Dimitar Zhekov, thanks).
1366 * src/build.c, src/keyfile.c:
1367   Fix some more wrong uses of vte_info.load_vte instead of
1368   vte_info.have_vte.
1369 * src/main.c:
1370   Disable 'Send Selection to Terminal' item when not available
1371   instead of removing it to avoid trailing separator.
1372 * doc/geany.txt, doc/geany.html:
1373   Add 'Configuration file paths' section and link to it instead of
1374   repeating typical system data and user config directory paths.
1375   List 2 Tools->Configuration Files menu items.
1376   Add 'Plugin Manager' section break.
1377   Edit some related sections.
1378 * doc/geany.txt, doc/geany.html:
1379   Update Ignore Tags section with example and menu item.
1380 * doc/geany.txt, doc/geany.html:
1381   List 'Tools->Configuration Files->filetypes.common' menu item.
1382
1383
13842010-12-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1385
1386 * src/document.c:
1387   Improve error message for document_save_file() if doc->file_name is
1388   NULL (reusing existing strings).
1389   Add warning about this in the API docs.
1390
1391
13922010-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1393
1394 * scintilla/ScintillaGTK.cxx:
1395   Backport Scintilla HG fix: Remove styling idle in destructor to
1396   avoid crashing when idle called after ScintillaGTK instance
1397   destroyed (fixes #3111058).
1398   This prevents a crash when closing a modified document (usually
1399   without a trailing newline) and choosing Save.
1400
1401
14022010-12-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1403
1404 * src/document.c:
1405   Warn about file truncation if unsafe file saving fails.
1406
1407
14082010-11-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1409
1410 * src/utils.c:
1411   Check result of fclose() for utils_write_file().
1412
1413
14142010-11-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1415
1416 * win32-config.h:
1417   Enable GIO and built-in regex support on Windows
1418   when compiling without Waf.
1419
1420
14212010-11-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1422
1423 * geany_private.rc:
1424   Reformat and improve the Windows resource file.
1425
1426
14272010-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1428
1429 * data/filetype_extensions.conf:
1430   Add *.latex pattern.
1431 * src/interface.c, geany.glade:
1432   Add note to indentation prefs page about using Project->Apply
1433   Default Indentation for currently open documents.
1434
1435
14362010-11-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1437
1438 * src/interface.c, src/keybindings.c, src/callbacks.c,
1439   src/callbacks.h, geany.glade:
1440   Add 'Mark All' Search menu command.
1441 * src/symbols.c, doc/geany.txt, doc/geany.html:
1442   If the current word's tag is on the current line, make Go to Tag
1443   Definition look for a tag declaration instead, as this is more
1444   useful. Likewise make Go to Tag Declaration search for a tag
1445   definition in this case also.
1446 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1447   Don't use 'Enable' in pref labels when unnecessary.
1448   Rename XML/HTML tag autocompletion -> auto-closing.
1449 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
1450   doc/geany.html:
1451   Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
1452   thanks).
1453 * src/keybindings.c, src/editor.c, src/editor.h:
1454   Add editor_get_prefs() instead of editor_get_long_line_*()
1455   functions. This general function can be extended to support
1456   various project and document overrides.
1457 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
1458   src/editor.c, src/editor.h:
1459   Remove unnecessary 'global' from long line editor pref field names.
1460
1461
14622010-11-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1463
1464 * doc/geany.txt, doc/geany.html:
1465   Explain how to grep the source for Scintilla lexer properties.
1466 * src/sidebar.c, src/callbacks.c, src/main.c:
1467   Fix auto-displaying of sidebar tab bar when sidebar is reshown.
1468   Only auto-display symbols and documents tabs when showing the
1469   sidebar if there are no plugin tabs.
1470   Don't hide the sidebar on startup if only plugin tabs are visible
1471   (fixes #3101867).
1472 * src/plugindata.h:
1473   Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
1474   so you can protect code with '#if GEANY_API_VERSION >= 200'.
1475 * src/plugindata.h:
1476   Warn about preprocessor testing GEANY_API_VERSION below 200 because
1477   those tests will always fail.
1478
1479
14802010-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1481
1482 * data/filetypes.xml:
1483   Add 'instanceof' keyword for PHP (closes #3109330).
1484
1485
14862010-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1487
1488 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1489   Re-focus Set Build Commands/Project dialogs after editing a build
1490   command label.
1491   Add 'parent' argument to some dialogs_show_input*() functions because
1492   the dialog parent may not always be the main window.
1493 * src/build.c, src/dialogs.c, src/callbacks.c:
1494   Don't change default build command entry color when cancelling
1495   label editing.
1496   Make dialogs_show_input() return NULL when cancelled.
1497 * tagmanager/php.c:
1498   Parse PHP final functions (fixes #3111171).
1499 * src/dialogs.c, src/plugindata.h, src/plugins.c,
1500   plugins/geanyfunctions.h:
1501   Add dialogs_show_input() to API.
1502
1503
15042010-11-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1505
1506 * src/build.c, doc/geany.txt, doc/geany.html:
1507   Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
1508   Build Commands dialog.
1509 * doc/geany.txt, doc/geany.html:
1510   Use 'Filetype build commands' and 'Independent build commands'.
1511   Fix saying project *independent* execute can only be set by hand.
1512
1513
15142010-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1515
1516 * src/keybindings.c, src/editor.c, src/editor.h:
1517   Make Reflow Lines/Block command use the current indented block, not
1518   the whole paragraph, which could have mixed indentation.
1519   Fix memory leak and off-by-one bug on first line when using Select
1520   Paragraph command.
1521 * src/utils.c, src/highlighting.c, src/highlighting.h,
1522   src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
1523   plugins/geanyfunctions.h:
1524   Add API functions (patch by Eugene Arshinov, thanks):
1525   Move editor.c: is_{string,comment,code}_style() functions to
1526   highlighting.c, add to API.
1527   Add editor_find_snippet(), editor_insert_snippet(),
1528   utils_find_open_xml_tag() to API.
1529
1530
15312010-11-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1532
1533 * src/editor.c, doc/geany.txt, doc/geany.html:
1534   Don't use XML tag auto-indentation when '</' is to the right of the
1535   cursor; allow auto-indentation when XML tag auto-closing is also
1536   enabled.
1537 * doc/geany.txt, doc/geany.html:
1538   Rename 'Format' section 'Filetype configuration'.
1539
1540
15412010-11-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1542
1543 * waf:
1544   Update Waf to current SVN version.
1545
1546
15472010-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1548
1549 * waf, wscript:
1550   Update Waf to version 1.6.1.
1551   Update wscript for new Waf version, make it Python 3 compatible.
1552
1553
15542010-11-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1555
1556 * src/document.c:
1557   Display better error messages when saving a document fails (patch by
1558   Dimitar Zhekov, thanks).
1559 * src/editor.c:
1560   Fix wrong snippet indentation when original cursor line has
1561   non-indentation whitespace (patch by david, thanks).
1562 * doc/geany.txt, doc/geany.html, data/filetypes.php,
1563   data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
1564   Enable XML tag autoindentation for PHP, Docbook and add docs for
1565   this setting (patch by Eugene Arshinov, thanks).
1566
1567
15682010-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1569
1570 * src/templates.c, src/document.c:
1571   Use LF line endings for templates internally instead of default
1572   pref because the default can change. This fixes missing line
1573   endings sometimes when changing default setting.
1574 * src/document.c:
1575   Fix not reporting an error message when saving a document fails.
1576   Check result of fclose().
1577 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
1578   data/filetypes.xml, data/filetypes.html:
1579   Add xml_indent_tags filetype setting for documents using the
1580   HTML/XML lexers (patch by Eugene Arshinov, thanks).
1581 * src/document.c:
1582   Set errno to 0 before doing disk I/O to prevent confusing error
1583   messages on save failure.
1584
1585
15862010-11-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1587
1588 * src/templates.c, src/filetypes.c:
1589   Save build commands for filetype None (patch by Lex, thanks).
1590   Make filetypes_get_conf_extension() return "common" for filetype
1591   None.
1592 * src/templates.c:
1593   Convert line endings for file templates.
1594   Fix line endings when using file header template in a file template
1595   (oops).
1596 * src/utils.c, src/utils.h:
1597   Make utils_ensure_same_eol_characters() convert all wrong line
1598   endings to the desired one, not just the most common one.
1599
1600
16012010-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1602
1603 * src/editor.c:
1604   Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
1605   Zhekov, thanks).
1606 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1607   Restore top-level editor popup item 'Find Document Usage'.
1608 * src/interface.c, src/ui_utils.c, geany.glade:
1609   Remove duplicates in 'Insert Comments' editor popup menu; rename
1610   submenu 'More'.
1611   Separate main menu insertion comments depending on number of times
1612   used in a document.
1613 * data/filetypes.*, data/colorschemes/alt.conf:
1614   Rename word/word2 named styles to keyword/keyword2.
1615 * doc/geany.txt, doc/geany.html:
1616   Mention that indentation settings can be overridden per-project.
1617 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
1618   doc/geany.txt, doc/geany.html, geany.glade:
1619   Add 'Project->Apply Default Indentation' menu command to override
1620   every document's indentation settings.
1621   Improve 'Indentation' section docs.
1622
1623
16242010-11-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1625
1626 * src/document.c:
1627   Fix build with GTK 2.12: explicitly include gio.h if GIO
1628   is available and to be used regardless of the USE_GIO_FILEMON flag.
1629 * wscript:
1630   Fix installation of template files.
1631   Show which regex implementation is used.
1632 * src/ui_utils.c:
1633   Use non-GIO mime-type icon lookup if GIO lookup fails.
1634 * autogen.sh:
1635   Allow skipping configure during autogen by setting NOCONFIGURE=1
1636   (thanks to Chow Loong Jin).
1637
1638
16392010-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1640
1641 * src/document.c:
1642   Make use_safe_file_saving hidden pref apply even when GIO is
1643   available, because g_file_replace_contents() doesn't handle disk
1644   space exhaustion.
1645 * src/main.c:
1646   Show GIO/built-in regex support in startup debug message as well as
1647   for --version.
1648 * doc/geany.txt, doc/geany.html:
1649   Add docs for the HTMLChars plugin (patch by Frank).
1650
1651
16522010-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1653
1654 * src/filetypes.c:
1655   Do not translate 'name' field for filetype None because it is used
1656   for hash table lookup. This fixes missing files in the Open dialog
1657   for the 'All files' filter with non-English locales (thanks to Sardem
1658   FF7, fixes #3094771).
1659 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
1660   src/ui_utils.c:
1661   Add filetypes_get_display_name() to get translations for filetype
1662   None.
1663 * src/document.c:
1664   Fix resource leak when saving files with GIO (patch by Colomban
1665   Wendling, thanks).
1666
1667
16682010-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1669
1670 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
1671   Add sci_get_lexer() to plugin API.
1672 * plugins/htmlchars.c:
1673   Only automatically replace characters when the current document is
1674   a Markup document.
1675 * plugins/htmlchars.c:
1676   Rename submenu item labels to be more descriptive.
1677 * src/keybindings.c:
1678   Fix Alt+[0-9] switching tabs when other modifiers are also held.
1679 * src/ui_utils.c:
1680   Don't allow pasting of numbers followed by other characters in the
1681   Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
1682 * src/main.c:
1683   Print "GIO" and "built-in regex" if enabled with --version.
1684 * src/document.c:
1685   Use g_file_replace_contents() if available to save documents - this
1686   should help workaround bugs in GVFS (based on patch by Alexey
1687   Antipov, thanks).
1688   Needs testing.
1689 * src/templates.c:
1690   Fix wrongly adding newlines for templates on disk that don't have
1691   LF line endings when default line endings are not LF, e.g. Windows.
1692
1693
16942010-11-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1695
1696 * src/utils.c, src/main.c:
1697   Remove trailing directory separator for app->datadir and
1698   app->docdir for consistency with the other directory fields.
1699 * src/filetypes.c:
1700   Detect user and system filetype configuration files as Conf
1701   filetype.
1702 * src/editor.c:
1703   Respect 'Smart' home key for Shift+Home (fixes #3100290).
1704
1705
17062010-11-01  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1707
1708 * data/filetypes.ada:
1709   Fix comments for Ada. Thanks to Jonas Baggett for reporting.
1710
1711
17122010-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1713
1714 * Makefile.am:
1715   Add install-data-only target to only install data/* to speed up
1716   testing.
1717 * src/editor.c:
1718   Fix not autocompleting when breaking lines.
1719 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
1720   data/colorschemes/alt.conf, data/filetypes.haxe,
1721   data/filetypes.common, data/filetypes.glsl,
1722   data/filetypes.actionscript, data/filetypes.cs,
1723   data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
1724   data/filetypes.Genie.conf:
1725   Add named style 'extra', use for C-like filetypes.
1726
1727
17282010-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1729
1730 * data/filetypes.xml:
1731   Match data-* and aria-* as HTML attributes.
1732 * data/colorschemes/alt.conf, data/filetypes.common,
1733   data/filetypes.python:
1734   Make Python use named styles for color scheme support - use
1735   alt.conf color scheme if you want the old colors.
1736   Add named style 'function'.
1737 * src/plugindata.h:
1738   Move plugin_set_info prototype and parenthesize arguments for
1739   PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
1740   thanks).
1741   Fix putting pointer symbol before name, not after type.
1742
1743
17442010-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1745
1746 * src/filetypes.c, src/ui_utils.c:
1747   Fix notebook tab menu icons using theme for "text/plain" filetypes.
1748   Make filetype mime_type "text/plain" instead of NULL.
1749
1750
17512010-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1752
1753 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
1754   Edit XML tag autocompletion pref and tooltip to include HTML.
1755 * doc/geany.txt, doc/geany.html:
1756   Add docs for 'Ensure consistent line endings' pref.
1757 * src/keyfile.c:
1758   Change default for 'Override Geany keybindings' to on.
1759 * src/filetypes.c:
1760   Sort filetypes_by_title last instead of on insertion to prevent
1761   exponential time.
1762 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
1763   Add filetype mimetype field (patch by Colomban Wendling, thanks).
1764 * src/sidebar.c, src/document.c:
1765   Show mimetype icon in sidebar Documents list (patch by Colomban
1766   Wendling, thanks).
1767 * src/ui_utils.c:
1768   Add notebook tab document icons (based on patch by Colomban
1769   Wendling, thanks).
1770 * src/filetypes.c:
1771   Leave text/plain mime_type fields as NULL (like custom filetypes).
1772
1773
17742010-10-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1775
1776 * src/editor.c, data/snippets.conf:
1777   Move HTML automatic <table> tag completion into a 'table' snippet
1778   so the user can decide when to use it (patch by Eugene Arshinov,
1779   thanks).
1780 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
1781   src/document.c, src/document.h, THANKS, geany.glade:
1782   Add 'Ensure consistent line endings' file saving pref (patch by
1783   Manuel Bua, thanks).
1784 * src/utils.c, src/utils.h, src/editor.c:
1785   Auto-indent after an HTML/XML line with a missing closing tag (patch
1786   by Eugene Arshinov, thanks).
1787   Behaviour only applies if XML tag autoclosing is off.
1788 * src/templates.c, src/build.c, src/document.c, src/editor.c,
1789   src/symbols.c, plugins/saveactions.c:
1790   Remove unnecessary uses of FILETYPE_ID() macro with
1791   GeanyDocument::file_type.
1792 * data/filetypes.xml:
1793   Add HTML5 attributes (thanks to Ross McKay).
1794
1795
17962010-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1797
1798 * src/prefs.c:
1799   Fix not changing edited keybindings when cancelling the Preferences
1800   dialog.
1801 * data/filetypes.xml:
1802   Add HTML5 element names (thanks to Ross McKay).
1803
1804
18052010-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1806
1807 * src/utils.c, src/filetypes.c:
1808   Remove filetype default extensions from code.
1809 * src/filetypes.c:
1810   Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
1811 * src/prefs.c:
1812   Refactor shared code with kb_cell_edited_cb().
1813
1814
18152010-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1816
1817 * src/highlighting.c:
1818   Use radio buttons for View->Editor->Color Schemes menu.
1819   Don't hide the menu when only the default item is available.
1820 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
1821   Add alternative color scheme based on Python colors.
1822 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
1823   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1824   src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1825   data/filetype_extensions.conf, data/filetypes.erlang, wscript:
1826   Add Erlang filetype (patch by Taylor Venable, thanks).
1827 * src/filetypes.c, data/filetypes.*:
1828   Move filetype 'extension' default into data files.
1829 * src/filetypes.c, data/filetypes.vala:
1830   Move filetype comment_{open,close} defaults into data files.
1831
1832
18332010-10-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1834
1835 * data/filetypes.c, data/filetypes.d:
1836   Add missing C99 keyword 'restrict' (#3046716).
1837   Add missing D1 keywords 'ref' and 'macro'.
1838   Add D2 keywords.
1839 * tagmanager/c.c:
1840   Parse Vala functions with contracts (#3080232).
1841 * src/project.c:
1842   Fix saving project indent prefs straight after using project
1843   properties.
1844 * src/highlighting.c, src/filetypes.c:
1845   Prevent debug message about a missing 'default' named style when
1846   using just a user color scheme file.
1847
1848
18492010-10-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1850
1851 * src/search.c:
1852   Fix off-by-one bug in 'search_mark_all'.
1853
1854
18552010-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1856
1857 * tagmanager/get.c:
1858   Ignore D /+ +/ comments.
1859 * tagmanager/c.c:
1860   Ignore D unittest blocks.
1861   Parse D template functions with constraints.
1862 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1863   Add 'Insert New Line Before/After Current' keybindings (based on
1864   patch by Eugene Arshinov, thanks).
1865 * src/document.c:
1866   Use secondary text for 'file not found on disk' dialog.
1867
1868
18692010-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1870
1871 * src/stash.c:
1872   Fix build with GLib 2.8.
1873
1874
18752010-10-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1876
1877 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
1878   configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
1879   Revert X11 workspace socket support as it needs more work; moved
1880   to workspace-sockets branch.
1881
1882
18832010-10-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1884
1885 * src/geanywraplabel.c:
1886   Fix build with GLib 2.8.
1887 * src/dialogs.c, src/about.c, THANKS:
1888   Group Open dialog encoding options by submenus (patch by Adam Ples,
1889   thanks; #3047717).
1890 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
1891   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1892   src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1893   data/filetype_extensions.conf, data/filetypes.lisp, wscript:
1894   Add Lisp filetype (patch by Mário Silva, thanks).
1895   Note: Lisp lexer was taken from Scintilla instead.
1896
1897
18982010-10-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
1899
1900 * po/kk.po, THANKS, src/about.c:
1901   Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
1902   providing.
1903
1904
19052010-10-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1906
1907 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
1908   Don't cache overridden lexer properties.
1909   Add foreach_strv() to plugin API.
1910   Add utils_strv_join().
1911 * tagmanager/basic.c:
1912   Parse property, constructor, destructor as functions (patch by
1913   pottersson, thanks; #2992167).
1914
1915
19162010-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1917
1918 * src/tools.c, doc/geany.txt, doc/geany.html:
1919   Fix passing quoted arguments when using 'Send Selection to'. This
1920   means sed 's/\./(dot)/g' now works.
1921 * src/editor.c:
1922   Add snippet keybinding support for keys in user snippets.conf (based
1923   on patch by Eugene Arshinov, thanks). No docs yet.
1924 * doc/geany.txt, doc/geany.html:
1925   Add some subheadings for Snippets section.
1926 * doc/geany.txt, doc/geany.html:
1927   Add snippet keybindings docs.
1928 * src/highlighting.c, src/utils.h:
1929   Move foreach_strv to utils.h.
1930 * src/editor.c, data/snippets.conf:
1931   Read snippet keybindings from system keyfile also.
1932   Add keybinding example to default snippet.conf.
1933
1934
19352010-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1936
1937 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
1938   src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
1939   data/filetypes.txt2tags, data/filetypes.markdown,
1940   data/filetypes.restructuredtext:
1941   Add symbol_list_sort_mode per-filetype setting, set to sort by line
1942   number by default for Markdown, reStructuredText and Txt2Tags.
1943   Add utils_get_setting() macro for reading a key from a home or
1944   system keyfile.
1945   Move GeanyFiletypePrivate to filetypesprivate.h.
1946 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
1947   Link with X11 if found to fix linking with a recent GNU ld.
1948 * src/document.c:
1949   Avoid delay and redrawing when automatically opening a new document
1950   after closing one.
1951 * scintilla/LexForth.cxx, scintilla/makefile.win32,
1952   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1953   src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1954   data/filetypes.forth, data/filetype_extensions.conf, wscript:
1955   Add Forth filetype (patch by Thomas Huth, thanks).
1956 * src/tools.c:
1957   Remove unnecessary 'fix' from r5224 as it breaks configuring custom
1958   commands for 'Send Selection to' (oops).
1959
1960
19612010-09-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
1962
1963 * src/editor.c:
1964   When commenting/uncommenting with single-line comment characters,
1965   ignore any end of line characters before evaluating the current line.
1966 * data/filetypes.python:
1967   Simplify Python Compile/Syntax Check command.
1968
1969
19702010-09-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1971
1972 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
1973   doc/geany.html:
1974   Add hidden pref 'find_selection_type' with option to repeat last
1975   search when there's no selection.
1976   Change default Find Selection behaviour to not let the X selection
1977   override the current word (can be confusing).
1978   Add docs for Find Selection commands.
1979 * src/document.c:
1980   Fix segfault on idle callback when quitting.
1981 * src/interface.c, src/keybindings.c, geany.glade:
1982   Move 'Edit->Commands->Insert Alternative White Space' to editor popup
1983   Insert menu.
1984 * src/interface.c, geany.glade:
1985   Move editor popup menu Insert Comments submenu to top of Insert menu.
1986 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
1987   doc/geany.html:
1988   Add hidden pref new_document_after_close for whether to open a new
1989   document automatically, off by default.
1990 * HACKING:
1991   Add 'Bugs to watch out for' section.
1992
1993
19942010-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
1995
1996 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
1997   doc/stash-gui-example.c:
1998   Improve Stash GUI example.
1999
2000
20012010-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2002
2003 * src/interface.c, geany.glade:
2004   Move Go to Marker menu items to Search menu.
2005   Rename popup editor menu item Commands -> Edit.
2006 * src/callbacks.c, src/search.c, src/search.h:
2007   Move find_again() to search.c.
2008 * src/search.c:
2009   Make Find Selected commands repeat the last search if the selection
2010   was lost.
2011 * doc/geany.txt, doc/geany.html:
2012   Add docs for Find Selection keybindings.
2013 * src/interface.c, src/keybindings.c, geany.glade:
2014   Unify Find Selection strings.
2015 * src/interface.c, src/ui_utils.c, geany.glade:
2016   Group editor popup Insert commands in a submenu, with extra items
2017   for the most commonly used Insert Comments commands.
2018   Show Edit->Commands before Format in menubar Edit menu (to match
2019   keybindings order).
2020   Show Open Selected F_ile popup item below submenus.
2021
2022
20232010-09-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2024
2025 * src/ui_utils.c:
2026   Refactor shared submenu code with GeanySharedMenu array.
2027 * src/interface.c, src/ui_utils.c, geany.glade:
2028   Add Search submenu for Find Selected, Find Usage, Go to Tag items,
2029   shared with the editor popup menu.
2030 * src/document.c:
2031   Open a new document automatically after closing all documents.
2032
2033
20342010-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2035
2036 * src/callbacks.c:
2037   Prompt for reloading if the document has an undo stack to avoid
2038   losing undo ability on accidental reloading (patch by Colomban
2039   Wendling, thanks).
2040 * src/project.c, src/geanyobject.c, src/geanyobject.h,
2041   doc/pluginsignals.c:
2042   Add plugin signals project-dialog-create and
2043   project-dialog-confirmed so plugins can append a Project Properties
2044   notebook tab (patch by Jiří Techet, thanks).
2045 * src/ui_utils.h, src/plugindata.h, src/main.c:
2046   Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
2047 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
2048   src/plugins.c, plugins/geanyfunctions.h:
2049   Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
2050
2051
20522010-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2053
2054 * src/keyfile.c:
2055   Save document indent width with the session.
2056 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
2057   doc/geany.html, TODO:
2058   Use a separate socket per workspace on X (patch by Erik de Castro
2059   Lopo, thanks).
2060
2061
20622010-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2063
2064 * src/main.c:
2065   Ignore directories passed on the command-line (based on patch by
2066   Erik de Castro Lopo, thanks).
2067 * tagmanager/c.c:
2068   Parse D function template names.
2069 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
2070   src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
2071   geany.glade:
2072   Allow per-document indent width setting (patch by Jiří Techet,
2073   updated by Erik de Castro Lopo - thanks).
2074 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
2075   Combine indent width menu item callbacks.
2076 * src/interface.c, geany.glade:
2077   Don't translate indent width menu items as they are now used for
2078   atoi().
2079
2080
20812010-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2082
2083 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2084   Remove 3 popup menu items to save space:
2085   Find Document Usage because Find Usage can be used instead.
2086   Go to Tag Declaration because Go to Tag Definition is more common.
2087   Go to Line because the toolbar item can be used instead.
2088 * src/tools.c, src/search.c, tagmanager/python.c:
2089   Fix some 'possible' NULL pointer dereferences (based on patch by
2090   Erik de Castro Lopo).
2091 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2092   Simplify keybindings_check_event().
2093
2094
20952010-09-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2096
2097 * src/build.c:
2098   Use up/down icons for Previous/Next Error.
2099 * src/interface.c, src/keybindings.c, src/callbacks.c,
2100   src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2101   geany.glade:
2102   Add Find Usage and Go to Tag items to Search menu for easier
2103   discovery.
2104 * tagmanager/tm_symbol.c:
2105   Fix possible NULL dereference.
2106 * HACKING:
2107   Add link to glade-2.12.2.tar.gz on geany.org.
2108 * doc/geany.txt, doc/geany.html:
2109   Mention the filetype wordchars setting can be overridden by the
2110   whitespace_chars filetypes.common setting.
2111 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
2112   Remove NULL checks when calling g_free() (patch by Erik de Castro
2113   Lopo, thanks).
2114 * src/document.c:
2115   Show Save As when saving if the document filename doesn't have an
2116   absolute path, so command-line new files can be saved without a
2117   prompt, but file templates still prompt the user.
2118
2119
21202010-09-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2121
2122 * src/build.c:
2123   Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
2124   catch.
2125
2126
21272010-09-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2128
2129 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
2130   Add GeanyMainWidgets::message_window_notebook for plugins to append
2131   a new notebook page (#3061342).
2132 * src/document.c:
2133   Add Close button to the detected file changed dialog.
2134 * src/interface.c, geany.glade:
2135   Add separator between Find Previous and Find in Files.
2136   Add up/down icons for Previous/Next Message.
2137
2138
21392010-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2140
2141 * data/snippets.conf:
2142   Add dummy entry for "do" snippet for Haskell to explicitly avoid the
2143   default completion.
2144
2145
21462010-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2147
2148 * src/build.c:
2149   Fix broken editing of build menu labels.
2150 * src/encodings.c, src/filetypes.c, configure.ac:
2151   Auto-enable building with included regex if no regcomp function is
2152   found.
2153   Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
2154   regex support is required.
2155 * tagmanager/make.c:
2156   Backport fix for possible infinite loop from CTags.
2157 * scintilla/PlatGTK.cxx:
2158   Backport list box memory leak fixes from Scintilla 2.20.
2159
2160
21612010-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2162
2163 * src/project.c:
2164   Make the Properties dialog filename a label and put it first (patch
2165   by Jiří Techet, thanks).
2166 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
2167   doc/geany.html:
2168   Remove the "Set build working directories" button from the project
2169   properties dialog (patch by Jiří Techet, thanks).
2170 * src/search.c:
2171   Include all files if the Find in Files pattern field is enabled and
2172   empty.
2173 * src/filetypes.c:
2174   Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2175
2176
21772010-08-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2178
2179 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
2180   scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2181   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2182   data/filetypes.txt2tags, wscript:
2183   Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
2184 * m4, configure.ac, Makefile.am:
2185   Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
2186 * src/callbacks.c:
2187   Only prompt for reloading if the document has unsaved changes
2188   (patch by Jiří Techet, thanks).
2189
2190
21912010-08-21  Frank Lanitz  <frank@frank.uvena.de>
2192
2193 * src/plugindata.h:
2194   Apply a patch by Jiří Techet which is preventing warnings when using
2195   -Wmissing-prototypes on compiling. Thanks.
2196
2197
21982010-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2199
2200 * scintilla/KeyWords.cxx:
2201   Link Octave instead of Matlab.
2202   Add comment about not being autogenerated.
2203   Minor changes to fit Scintilla order.
2204 * src/build.c, src/build.h:
2205   Replace GeanyBuildCommand::entries array with separate fields.
2206   Similar to r5077 in the bs2 branch, but with less loop unrolling.
2207 * src/build.c:
2208   Remove buildcmd_* accessor functions.
2209
2210
22112010-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2212
2213 * src/highlighting.c, src/editor.c:
2214   Use Octave lexer instead of Matlab to support Octave # comment char.
2215
2216
22172010-08-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2218
2219 * src/filetypes.c:
2220   Fix segfault on Tools->Reload Configuration when no documents are
2221   open (#3037079).
2222 * scintilla/LexMarkdown.cxx:
2223   Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
2224   thanks).
2225 * src/build.c:
2226   Fix saving non-project filetype error regex.
2227 * src/build.c:
2228   Fix memory leak in read_regex().
2229
2230
22312010-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2232
2233 * wscript:
2234   Check for libsocket on OpenSolaris to fix build.
2235 * src/encodings.c:
2236   Rewrite the logic to auto detect encodings a bit to make it more
2237   readable and fix a slightly wrong detection on Windows
2238   (closes #3019573).
2239 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
2240   src/plugins.c:
2241   Add editor_goto_pos() to the plugin API.
2242
2243
22442010-08-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2245
2246 * configure.ac:
2247   Check for git-svn repo, not just git because find-rev doesn't
2248   always fail with a git-only repo.
2249
2250
22512010-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2252
2253 * src/search.c:
2254   Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2255
2256
22572010-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2258
2259 * doc/geany.txt, doc/geany.html:
2260   Reorder Focus keybindings.
2261
2262
22632010-08-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2264
2265 * autogen.sh:
2266   Applying a patch by Erik de Castro Lopo for checking against
2267   pkg-config when running autogen.sh. Thanks for the patch.
2268 * src/log.c:
2269   Applying a patch by Colomban Wendling to print out log domains.
2270   Thanks.
2271
2272
22732010-08-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2274
2275 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
2276   Use single binding_ids keybinding array instead of individual
2277   arrays for core keybindings. This allows the keybinding IDs to be
2278   merged into one enum; the order of keybindings is now just the
2279   order they are added to each group. Keybindings can be reordered
2280   without breaking the plugin ABI but groups must stay the same.
2281 * src/stash.c:
2282   Fix writing the default value when a key is missing for hidden
2283   prefs, even if it was overridden when it was originally read.
2284 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2285   Move some interface hidden prefs to ui_utils.c.
2286 * src/editor.c:
2287   Revert r4840 scope completion mode as it sometimes breaks
2288   autocompletion.
2289 * src/keybindings.h, src/plugindata.h:
2290   Randomly sort keybinding IDs to show there should be no order.
2291 * src/keybindings.c:
2292   Reorder Focus keybindings.
2293
2294
22952010-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2296
2297 * src/ui_utils.c, src/ui_utils.h:
2298   Make ui_label_new_bold() a function.
2299   Escape the name of the current document for markup when using
2300   document name for menu items (closes #3038844).
2301 * src/vte.c:
2302   Inherit 'beep on errors' preference for the audible bell preference
2303   for the VTE (closes #3038215).
2304
2305
23062010-08-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2307
2308 * src/utils.c, src/utils.h:
2309   Add utils_get_eol_char().
2310 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
2311   src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
2312   src/utils.h:
2313   Ensure inserted templates always have proper line ending characters
2314   according to the current document's preference.
2315   This is also fixes problems with templates on Windows which had
2316   always Unix line ending characters but now since they are read
2317   from files, these have Windows line ending characters and had been
2318   converted twice.
2319
2320
23212010-07-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2322
2323 * src/vte.c:
2324   Fix build with GTK 2.8, use the stock icon name directly instead
2325   of the macro. Though, the icon is still missing for GTK 2.8.
2326 * src/templates.c:
2327   Make make_comment_block() work with a GString. This is not yet
2328   perfect but a bit better than before.
2329
2330
23312010-07-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2332
2333 * src/keybindings.c, src/vte.c, src/vte.h:
2334   Implement 'Select All' for the VTE widget.
2335
2336
23372010-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2338
2339 * geany.nsi:
2340   Fix missing template files in the Windows installer.
2341
2342
23432010-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2344
2345 * data/filetypes.python:
2346   Update list of Python builtins, based on Python 2.6.
2347
2348
23492010-07-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2350
2351 * src/filetypes.c:
2352   On Windows, convert filetype extensions read from config files
2353   to lower case (closes #3028856).
2354
2355
23562010-07-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2357
2358 * src/keybindings.c:
2359   Focus toolbar item when pressing Go to Line keybinding only when
2360   it's not in the toolbar's drop down overflow menu (fixes #3027454).
2361
2362
23632010-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
2364
2365 * src/build.c:
2366   Fix build menu translation problems.
2367
2368
23692010-07-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2370
2371 * wscript:
2372   Fix './waf install'.
2373
2374
23752010-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2376
2377 * src/editor.c:
2378   Fix scrolling the editor line in view after loading a session and
2379   switching document tabs. Note this causes repainting so needs
2380   improvement.
2381 * doc/geany.txt, doc/geany.html:
2382   Add note to restart Geany after installing/updating before editing
2383   hidden prefs.
2384 * src/ui_utils.h, src/main.c, src/ui_utils.c:
2385   Use Stash to save statusbar_template setting, instead of the
2386   load/save-settings signal.
2387   Add ui_init_prefs().
2388
2389
23902010-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2391
2392 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2393   Fix writing empty hidden pref "statusbar_template" key so users can
2394   find it (patch by Dimitar Zhekov, thanks).
2395 * src/ui_utils.c, src/ui_utils.h, src/main.c:
2396   Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2397
2398
23992010-07-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2400
2401 * src/build.c, src/project.c, src/project.h:
2402   Show the Project Properties build tab when choosing 'Set Build
2403   Commands' for now to prevent confusion with non-project commands.
2404
2405
24062010-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2407
2408 * src/search.c, doc/geany.txt, doc/geany.html:
2409   Fix Grep --exclude-dir example.
2410
2411
24122010-07-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2413
2414 * src/sidebar.c:
2415   Add sidebar Documents popup menu item 'Find in Files'.
2416 * src/keyfile.c, src/main.c, src/editor.c:
2417   Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
2418   G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2419
2420
24212010-07-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2422
2423 * doc/geany.txt, doc/geany.html:
2424   Fix wording - restarting is required for hidden prefs.
2425   File templates don't need manual reloading anymore.
2426 * src/ui_utils.c:
2427   Fix only adding project base path to Find in Files history if it
2428   isn't already there (oops).
2429 * src/msgwindow.c:
2430   Parse lines in the Messages window even if Find in Files hasn't
2431   been used yet (patch by Jiří Techet, thanks).
2432
2433
24342010-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2435
2436 * scintilla/LexCPP.cxx, src/highlighting.c:
2437   Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
2438   it disabled.
2439 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
2440   data/filetypes.common:
2441   Add filetypes.common fold_symbol_highlight color setting.
2442   Add API macro foreach_range().
2443 * src/printing.c, doc/geany.txt, doc/geany.html:
2444   Always use white background color when printing (except for text
2445   with a white foreground) to save ink (should fix #2968998).
2446 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
2447   Limit build error editor indicators to 50, but parse all errors in
2448   the Compiler tab (fixes #3019823).
2449
2450
24512010-06-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2452
2453 * src/highlighting.c:
2454   Re-enable fold.comment for lexers - it was disabled to prevent C
2455   //{ explicit folding, but that also disables stream comment folding
2456   /* */.
2457 * tagmanager/tm_workspace.c, tagmanager/get.c:
2458   Use g_free instead of free (patch by Daniel Marjamäki, thanks).
2459 * src/editor.c:
2460   Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
2461   doesn't affect the bug with document switching not scrolling cursor
2462   in view after loading a session.
2463
2464
24652010-06-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2466
2467 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
2468   Add statusbar_template hidden pref (based on patch by Dimitar
2469   Zhekov, thanks).
2470 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
2471   Add spaces after RO when using %r in statusbar_template setting.
2472   Add space between encoding and BOM.
2473   Note \t means tab for default text.
2474
2475
24762010-06-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2477
2478 * src/search.c:
2479   Restore tabbing past Find in Files combo box drop down menus.
2480
2481
24822010-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2483
2484 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
2485   doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
2486   doc/plugins.dox:
2487   Move plugin signals docs to pluginsignals.c, using function
2488   pointer syntax instead of @signaldef as this puts a summary of
2489   the signal names at the top of the page and sorts alphabetically.
2490   (Note: the syntax is similar to Vala signal syntax).
2491
2492
24932010-06-24  Lex Trotman  <elextr(at)gmail(dot)com>
2494
2495 * src/build.c
2496   Make default dialog entries use GTK_STATE_INSENSITIVE color not
2497   a fixed color (Suggestion by Ditmar Zhekov)
2498
2499
25002010-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2501
2502 * src/search.c, doc/geany.txt, doc/geany.html:
2503   Implement Find in Files file pattern search.
2504 * src/search.c:
2505   Add file pattern to combo box history.
2506 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
2507   plugins/export.c:
2508   Use ui_hookup_widget() instead of g_object_set_data_full() for
2509   widgets.
2510
2511
25122010-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2513
2514 * src/search.c:
2515   Add Files checkbox and combo to Find in Files dialog, currently
2516   does nothing & is disabled.
2517   Don't try to focus the next entry on pressing tab anymore as this
2518   is more complicated now.
2519
2520
25212010-06-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2522
2523 * src/search.c:
2524   Put Find in Files Search field above Directory field.
2525 * src/search.c, doc/geany.txt:
2526   Simplify FIF 'Fixed strings, Grep regular expressions, Extended
2527   regular expressions' radio buttons with a 'Use regular expressions'
2528   checkbox. This uses the extended syntax (which is the same as the
2529   Find/Replace regex syntax).
2530 * src/search.c:
2531   Move 2 Find in Files checkboxes for even spacing.
2532
2533
25342010-06-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2535
2536 * tagmanager/tm_work_object.c:
2537   Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
2538   Thanks.
2539
2540
25412010-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2542
2543 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
2544   src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
2545   Add ui_combo_box_add_to_history() to API.
2546 * plugins/filebrowser.c:
2547   Add history to path entry.
2548 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
2549   Fix not loading plugins built against a newer API when Geany doesn't
2550   provide the required version given in PLUGIN_VERSION_CHECK().
2551   Improve documentation for PLUGIN_VERSION_CHECK().
2552 * plugins/filebrowser.c:
2553   Allow Find in Files when no items are selected.
2554 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
2555   Add API signal "build-start" (patch by Jiří Techet, thanks).
2556
2557
25582010-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2559
2560 * src/sidebar.c:
2561   Replace /home/user with ~ in the documents list (patch by Jon
2562   Strait, thanks).
2563 * src/build.c:
2564   Make default Build dialog entries grey, not light grey (too hard to
2565   read on a white background).
2566 * src/ui_utils.c:
2567   Display 'new instance' on title bar (patch by Eugene Arshinov,
2568   thanks).
2569 * src/ui_utils.c:
2570   Remove any duplicate on adding to combo box histories.
2571
2572
25732010-06-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2574
2575 * src/notebook.c:
2576   Align notebook tab close buttons centred vertically - thanks to
2577   Robux.Biz (galyuk).
2578 * Merge unstable branch:
2579 - src/build.c:
2580   Make build config entries light grey until set.
2581 - src/keybindings.c, src/about.c, THANKS:
2582   Fix the wrong file being put on top of the stack when switching tabs
2583   too quickly (patch from Jiří Techet, thanks).
2584 - src/templates.c, data/templates/gpl, data/templates/function,
2585   data/templates/changelog, data/templates/bsd,
2586   data/templates/fileheader, wscript, Makefile.am:
2587   Move general templates from source code into files.
2588   Load general templates from system path instead of creating them in
2589   the user's config dir.
2590
2591
25922010-06-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2593
2594 * po/POTFILES.skip:
2595   Add doc/stash-example.c to fix 'make distcheck'.
2596 * geany.nsi:
2597   Change the RequestExecutionLevel for the Windows installer to
2598   'highest'.
2599 * New release: Geany 0.19 "Vellam".
2600 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
2601   geany_private.rc, win32-config.h, wscript, src/geany.h:
2602   Post-release version bump.
2603
2604
26052010-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2606
2607 * src/editor.c:
2608   Group undo action for Insert Multiline Comment.
2609
2610
26112010-06-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2612
2613 * Makefile.am:
2614   Don't individually install data/*.tags as all data/* files will be
2615   installed anyway.
2616
2617
26182010-06-07  Frank Lanitz  <frank@frank.uvena.de>
2619
2620 * tagmanager/tm_project.c:
2621   Fix a double free. (patch by Daniel Marjamaki, thanks).
2622
2623
26242010-06-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2625
2626 * tagmanager/tm_workspace.c:
2627   Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2628 * src/sidebar.c:
2629   Fix reducing paths to project name in the Documents list
2630   (patch by Eugene Arshinov, thanks).
2631 * src/symbols.c:
2632   Fix crash when trying to sort NULL pointers as tags in the Symbols
2633   list (closes #3011986).
2634 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
2635   Update Scintilla to version 2.12.
2636 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
2637   scintilla/LexCrontab.cxx:
2638   Remove unused Crontab lexer.
2639 * data/filetypes.css, src/highlighting.c:
2640   Add new style "media" for filetype CSS.
2641
2642
26432010-06-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2644
2645 * doc/geany.txt, doc/geany.html:
2646   Build section: minor rewording, formatting fixes; move some
2647   sentences.
2648
2649
26502010-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2651
2652 * src/build.c:
2653   Explicitly try to localise build menu item labels with
2654   gettext to enforce getting default labels translated.
2655 * tagmanager/tm_workspace.c:
2656   Fix not closed FILE pointer on early exit
2657   (patch by Daniel Marjamaki, thanks).
2658 * doc/images/*.png:
2659   Update images for Geany 0.19.
2660 * src/sidebar.c:
2661   Destroy the default symbol list treeview only once
2662   (fixes gtk_widget_destroy warning on exit).
2663
2664
26652010-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2666
2667 * tagmanager/sort.c:
2668   Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2669 * tagmanager/c.c:
2670   Fix parsing of C++ classes contain attributes with bitfields
2671   (patch by Lex Trotman, thanks).
2672 * src/plugindata.h, src/plugins.c:
2673   Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
2674   plugins' meta information can be translated already in the
2675   plugin manager dialog (patch by Colomban Wendling, thanks).
2676
2677
26782010-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2679
2680 * src/main.c:
2681   Print locale information in debug output.
2682 * src/build.c:
2683   Fix some labels which were marked as translatable but were not
2684   handled properly by gettext().
2685   Add a missing const.
2686 * src/msgwindow.c:
2687   Try to convert text into UTF-8 before adding it to the Compiler and
2688   Messages Window (closes #3007919).
2689
2690
26912010-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2692
2693 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
2694   wscript:
2695   Pass G_LOG_DOMAIN to source files for better logging.
2696
2697
26982010-05-24  Frank Lanitz  <frank@frank.uvena.de>
2699
2700 * THANKS, src/about.c:
2701   Update of translation credits to reflect a change on Spanish
2702   translation team better.
2703
2704
27052010-05-23  Lex Trotman  <elextr.at.gmail.dot.com>
2706
2707 * src/build.c:
2708   Fix infinite loop reading build command output
2709
2710
27112010-05-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2712
2713 * src/msgwindow.c:
2714   Fix duplicate accelerators for Clear and Copy in the
2715   Messages Window popup menu.
2716 * src/pluginutils.c:
2717   Expand child widgets in the Plugin Preferences dialog
2718   (patch by Colomban Wendling, thanks).
2719
2720
27212010-05-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2722
2723 * src/ui_utils.c:
2724   Fix Undo/Redo button state after the last document has been closed.
2725   Add Print and Replace toolbar items to the list of document
2726   sensitive widgets.
2727 * src/toolbar.c:
2728   Fix crash when the toolbar is reloaded without any open documents.
2729 * src/build.c:
2730   Fix Run toolbar item sensitivity after the last document has been
2731   closed.
2732 * plugins/classbuilder.c:
2733   Remove two unnecessary g_strdups().
2734 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
2735   src/plugindata.h, src/ui_utils.h:
2736   Add hidden preference to disable automatic scrolling in the
2737   Compiler tab (closes #3004714).
2738
2739
27402010-05-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2741
2742 * plugins/classbuilder.c:
2743   Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2744
2745
27462010-05-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2747
2748 * src/prefs.c, src/project.c:
2749   win32.h can be included unconditionally.
2750 * src/sidebar.c:
2751   Fix project base_path detection if the path has a trailing slash.
2752 * src/document.c, src/editor.c, src/project.c:
2753   Small improvements to speed up quit process with many open documents.
2754   Avoid calling gtk_notebook_remove_page() on exit as it takes
2755   a lot of time.
2756 * src/geanymenubuttonaction.c:
2757   Explicitly check for the type when iterating the action's proxies.
2758   For some reason on Windows, a GtkImageMenuItem proxy is created.
2759 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
2760   src/plugindata.h, scintilla/*, scintilla/include/*:
2761   Update Scintilla to version 2.11.
2762 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
2763   src/makefile.win32:
2764   Add new GTK define also for Mingw cross compilation and
2765   makefile.win32 based Windows builds.
2766 * plugins/filebrowser.c:
2767   Implement reading and evaluating hidden file attribute on Windows.
2768   Fix broken "Go Up" if the current path ends with a slash.
2769 * THANKS, src/about.c, src/prefix.c:
2770   Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
2771 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
2772   src/main.c, src/notebook.c, src/prefs.c:
2773   Add preference to add new document tabs beside the current one
2774   (patch by Colomban Wendling, thanks).
2775 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
2776   src/keyfile.c, src/prefs.c, src/ui_utils.h:
2777   Add a preference for choosing between GTK and native
2778   File Open/Save dialogs (only available on Windows).
2779 * doc/geany.html, doc/geany.txt:
2780   Update documentation.
2781
2782
27832010-05-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2784
2785 * src/win32.c:
2786   Sort file filters for the native Windows file open dialog by name.
2787   Don't use file filters for the native Windows Save As dialog.
2788 * src/dialogs.c, src/win32.c, src/win32.h:
2789   Remove old code.
2790   Pass and use also parent and title arguments to
2791   win32_show_document_open_dialog().
2792 * src/dialogs.c:
2793   Call handle_save_as() only when the Save As dialog was not cancelled.
2794 * src/toolbar.c:
2795   Improve adding/removing of the special separator between menubar and
2796   toolbar when the toolbar is appended to the menubar.
2797 * src/toolbar.c, src/templates.c:
2798   Explicitly disconnect menus from GeanyMenuButtonAction on quit to
2799   not trigger updating the menus on each item removal.
2800
2801
28022010-05-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
2803
2804 * src/support.h:
2805   Replace one non breaking space by normal space. Patch by
2806   Daniel Marjamaki.
2807
2808
28092010-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2810
2811 * plugins/classbuilder.c:
2812   Don't make the 'Create Class' menu item document-sensitive
2813   (patch by Colomban Wendling, thanks).
2814   Add namespace support for GTK+ classes.
2815   Add GET_CLASS() macro for GTK+ classes.
2816   Add typedef of the private structure in the header file instead
2817   of declaring it
2818   (all the above from a patch by Colomban Wendling, thanks).
2819 * src/highlighting.c:
2820   Set common default "fold.comment" to 0 to disable it. This can
2821   be overridden if desired.
2822 * src/sidebar.c:
2823   Improve sorting of document list items
2824   (patch by Colomban Wendling, thanks).
2825 * src/main.c:
2826   Remove unnecessary textdomain() call.
2827
2828
28292010-05-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2830
2831 * src/search.c:
2832   Fix search_find_text not returning -1 when match is out of range.
2833   This fixes invalid memory reads and wrong template filename
2834   wildcard replacement.
2835 * src/search.c, src/document.c:
2836   Only replace template filename matching start of word on saving.
2837 * plugins/filebrowser.c:
2838   Add 'Refresh' popup menu item (part of geany-plugins #2999858).
2839 * src/build.c, src/build.h, src/project.c:
2840   Make some ugly build.h global variables static.
2841 * src/build.c, src/build.h, src/project.c:
2842   Add Build prefix for TableFields, TableData.
2843
2844
28452010-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2846
2847 * src/dialogs.c:
2848   Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
2849 * src/dialogs.c, src/win32.c, src/win32.h:
2850   (Re-)Implement a (still basic) native Windows Save As dialog when
2851   compiled with GEANY_USE_WIN32_DIALOG.
2852
2853
28542010-05-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2855
2856 * THANKS, src/about.c, plugins/classbuilder.c:
2857   Add support for creating PHP classes (patch by Ondrej Donek, thanks).
2858 * src/ui_utils.h, src/ui_utils.c:
2859   Add public, generic callback ui_editable_insert_text_callback()
2860   to restrict GtkEntry text inputs to +/- and numeric values only.
2861 * src/dialogs.h, src/dialogs.c:
2862   Add special variant dialogs_show_input_goto_line() to use a normal
2863   GtkEntry together with dialogs_show_input_goto_line() for text input.
2864 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
2865   Allow '+<number' and '-<number>' as values for Goto Line inputs
2866   to jump relative to the current line (closes #2997238).
2867
2868
28692010-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2870
2871 * src/highlighting.c:
2872   Apply foreground and background colours of the folding margin
2873   style properly (closes #2998347).
2874 * src/utils.c:
2875   Don't auto-close short XML tags (closes #2994852).
2876 * THANKS, src/about.c, src/keybindings.c:
2877   Improve jumping to matching braces by consistently position the
2878   cursor before or after the matching brace dependent where it
2879   was before (patch by Dimitar Zhekov, thanks).
2880 * src/main.c:
2881   Fix crash when generating global tags files (patch by Colomban
2882   Wendling, thanks).
2883
2884
28852010-05-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2886
2887 * src/templates.c:
2888   Avoid connecting signals more than once.
2889
2890
28912010-05-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2892
2893 * wscript:
2894   Don't ignore the 'intltool' check on non-Windows systems, instead
2895   raise a configure error.
2896
2897
28982010-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2899
2900 * src/build.c:
2901   Fix marking some strings as translatable (cannot be done in the
2902   ASSIGNIF macro).
2903 * src/templates.c, doc/geany.txt, doc/geany.html:
2904   Reload templates if saving a document in the templates config dir.
2905
2906
29072010-05-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2908
2909 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
2910   doc/geany.html:
2911   Fix replacing {filename} template wildcard for custom file
2912   templates with non-default file extension.
2913   Add search_find_text() for POSIX regex searches.
2914 * src/templates.c, doc/geany.txt, doc/geany.html:
2915   Add {project}, {description} template wildcards (#2954737).
2916 * doc/geany.txt, doc/geany.html:
2917   Divide template wildcards into groups.
2918 * src/plugindata.h, src/plugins.c, src/symbols.c,
2919   plugins/geanyfunctions.h:
2920   Add symbols_get_context_separator() to plugin API (patch by Colomban
2921   Wendling, thanks).
2922
2923
29242010-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2925
2926 * src/keybindings.c:
2927   Fix setting wrong accelerator for 2 Edit->Commands items (patch by
2928   Anonymous, thanks; #2995593).
2929 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
2930   plugins/geanyfunctions.h:
2931   Add sci_set_line_indentation(), sci_get_line_indentation() to API
2932   (patch by Colomban Wendling, thanks).
2933
2934
29352010-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2936
2937 * src/editor.c:
2938   Warn user if hidden hard tab width setting is not 8.
2939
2940
29412010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2942
2943 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
2944   doc/geany.txt, doc/geany.html:
2945   Hide 'Tabs and Spaces: Hard tab width' preference - it should
2946   always be 8. (Hidden setting kept in case users have modified it).
2947
2948
29492010-04-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2950
2951 * doc/geany.txt, doc/geany.html:
2952   Add Folding section link to filetypes.common custom settings.
2953
2954
29552010-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2956
2957 * src/callbacks.c:
2958   When switching documents, don't call document_set_text_changed()
2959   as this does much more than necessary. Instead call the necessary
2960   UI update functions explicitly.
2961
2962
29632010-04-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2964
2965 * tagmanager/vstring.c:
2966   Fix invalid memory read (patch by Colomban Wendling, thanks).
2967
2968
29692010-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
2970
2971 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
2972   Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
2973   strings in case of reaching the buffer size limit (part of #2979697).
2974 * src/win32.c:
2975   Change the limit for the command line length when executing commands
2976   to a maximum of 32768 characters (closes #2979697).
2977   Fix broken opening URLs e.g. when using the 'builtin' Run command.
2978 * tagmanager/ctags.c:
2979   Change eFree() to simply ignore NULL pointers instead of asserting.
2980 * src/main.c:
2981   Remove malloc() fallback since we completely rely on g_malloc()
2982   nowadays.
2983 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
2984   plugins/saveactions.c:
2985   Make string arguments const where appropriate (patch by
2986   Colomban Wendling, thanks).
2987 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
2988   src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
2989   src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
2990   src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
2991   src/symbols.c, src/templates.c, src/ui_utils.c:
2992   Make string arguments const where appropriate (patch by
2993   Colomban Wendling, thanks).
2994
2995
29962010-04-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
2997
2998 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
2999   Make plugin_signal_connect() string argument const (patch by
3000   Colomban Wendling, thanks).
3001 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
3002   Constify some more string pointers in the API (patch by
3003   Colomban Wendling, thanks).
3004 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
3005   doc/geany.html:
3006   Support {pc} wildcard in snippets to escape percent char.
3007 * src/editor.c:
3008   Recalculate line margin width when zooming (fixes #2990553).
3009 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3010   data/filetypes.common:
3011   Support more folding icon styles: arrows, +/- and no lines
3012   (#2935059).
3013
3014
30152010-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3016
3017 * src/socket.c:
3018   Fix Windows build by properly guarding Unix-only code.
3019
3020
30212010-04-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3022
3023 * src/templates.c, doc/geany.txt, doc/geany.html:
3024   Support {ob} and {cb} in fileheader and file templates; they are
3025   replaced last with { and }. This allows 'escaping' of wildcard
3026   strings.
3027 * src/editor.c, plugins/classbuilder.c:
3028   Fix Class Builder plugin to use correct indentation instead of
3029   always tabs.
3030   Make editor_insert_text_block() only replace leading tabs for the
3031   'Tabs' indent type; also group edits for undo.
3032 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
3033   doc/geany.html:
3034   Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
3035
3036
30372010-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3038
3039 * tagmanager/pascal.c:
3040   More fixes to prevent possible crashes by trying to free NULL
3041   pointers.
3042 * src/sidebar.c:
3043   Automatically show and hide the sidebar notebook tabs according
3044   to the amount of visible pages (patch by Adrian Dimitrov, thanks).
3045 * src/editor.c:
3046   Add a static global variable to monitor autocompletion mode in order
3047   to prevent cancellation of the struct/class (C/C++) auto completion
3048   list (patch by Thomas Martitz, thanks).
3049 * src/socket.c:
3050   When starting and trying to access the Unix Domain socket of a
3051   potentially running instance, first compare file ownership with the
3052   user id of the running process to prevent accessing a wrong socket
3053   file (part of #2985463, this might not yet be the final solution).
3054
3055
30562010-04-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3057
3058 * plugins/filebrowser.c:
3059   Synchronize popup menu and plugin preferences dialog 'Show Hidden
3060   Files' option (fixes #2989288).
3061
3062
30632010-04-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3064
3065 * tagmanager/entry.c, tagmanager/entry.h,
3066   tagmanager/include/tm_source_file.h, tagmanager/parse.c,
3067   tagmanager/parse.h, tagmanager/tm_source_file.c:
3068   Add tm_source_file_set_tag_arglist() to manually set the argument
3069   list of a tag.
3070 * tagmanager/python.c:
3071   Use tm_source_file_set_tag_arglist() to set the argument list
3072   field of Python class tags to the argument list of their
3073   __init__() methods.
3074   Backport a fix from CTags SVN to prevent possible crashes by trying
3075   to free NULL pointers.
3076
3077
30782010-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3079
3080 * tagmanager/txt2tags.c:
3081   Remove duplicate code from Txt2Tags parser.
3082   Remove the title control characters ('=') when parsing titles.
3083   Also parse numbered titles (closes #2984703).
3084 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3085   src/plugindata.h:
3086   Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
3087   Add missing documentation for 'Reset Zoom' keybinding.
3088 * tagmanager/php.c:
3089   Another attempt to fix the PHP parser regexp for parsing functions.
3090   Fix wrong parsing of function arguments when those contain nested
3091   brackets (as reported by Harold Aling).
3092 * src/notebook.c:
3093   Fix Ctrl-Click on notebook tab if Numpad is active.
3094
3095
30962010-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3097
3098 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
3099   src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
3100   src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
3101   src/ui_utils.c, src/ui_utils.h:
3102   Add option 'System Default' for toolbar icon style and size to
3103   use the GTK default value.
3104 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3105   src/toolbar.c, src/toolbar.h:
3106   Shorten the toolbar popup menu, only provide items for Toolbar
3107   Preferences and to Hide the toolbar.
3108 * src/toolbar.c:
3109   Instantly update the toolbar icon size and style when the
3110   corresponding global GTK settings are changed.
3111 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
3112   src/plugindata.h, src/socket.c:
3113   Add new command line option --list-documents to return a list
3114   of currently opened documents (closes #2979933).
3115
3116
31172010-04-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3118
3119 * plugins/htmlchars.c:
3120   Make plugin remember whether replacement of special characters was
3121   activated even after restart of Geany or reloading of plugin.
3122
3123
31242010-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3125
3126 * src/editor.c:
3127   Fix inserting snippets with an indent when using Mac CR line
3128   endings.
3129 * src/callbacks.c:
3130   Update status bar after using Document->Set Line Endings.
3131 * src/editor.c:
3132   Improve API docs for editor_insert_text_block().
3133
3134
31352010-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3136
3137 * src/editor.c:
3138   Refactor snippets_complete_constructs().
3139   Remove an unnecessary TODO.
3140 * src/editor.c:
3141   Fix indenting a snippet when there is whitespace after the
3142   snippet key name.
3143
3144
31452010-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3146
3147 * doc/geany.txt, doc/geany.html:
3148   Improve wording.
3149 * src/build.c, src/msgwindow.c:
3150   Fix disabled compiler message tracking if using indicators to
3151   show build errors is disabled (closes #2982834).
3152
3153
31542010-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3155
3156 * scintilla/Editor.cxx:
3157   Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
3158   and SCI_GETSELECTIONEND with rectangular selections. This fixes
3159   replacing in a rectangular selection.
3160
3161
31622010-04-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3163
3164 * src/filetypes.c:
3165   Re-detect any document filetypes set to None after reloading
3166   filetype extensions (closes #2979661).
3167 * src/editor.c:
3168   Fix showing '...' item last instead of first for document word
3169   completion.
3170
3171
31722010-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3173
3174 * data/filetypes.perl:
3175   Adjust Perl Compile command to use the -c command
3176   line option to perform a syntax check instead of using the
3177   deprecated ByteCompile module.
3178   Add error_regex to parse error messages and warnings when performing
3179   syntax checks on Perl files.
3180
3181
31822010-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3183
3184 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
3185   Add API docs for keybinding enums.
3186 * src/notebook.c, doc/geany.txt, doc/geany.html:
3187   Make Ctrl-click on any notebook tab switch to the last used
3188   document.
3189
3190
31912010-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3192
3193 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
3194   src/geanyentryaction.c, src/geanyentryaction.h,
3195   src/geanywraplabel.c:
3196   Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
3197   object for efficiency.
3198
3199
32002010-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3201
3202 * plugins/classbuilder.c:
3203   Beep if the user hasn't entered a class name on pressing OK.
3204 * src/search.c:
3205   Fix replacing '^' regex.
3206 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3207   plugins/geanyfunctions.h:
3208   Add Stash widget functions to API.
3209 * configure.ac:
3210   Revert commit to use AC_PATH_PROG instead of 'which' (fixes
3211   #2973764).
3212
3213
32142010-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3215
3216 * THANKS, src/vte.c:
3217   Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
3218   fixes #2976905).
3219 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
3220   src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
3221   plugins/geanyfunctions.h, plugins/geanyplugin.h:
3222   Add Stash setting functions to API.
3223   Remove unnecessary argument to stash_group_load_from_file().
3224 * src/geanyobject.c, plugins/classbuilder.c:
3225   Don't generate FOO_GET_PRIVATE() macro because caching the result
3226   in Foo::priv can be much more efficient.
3227
3228
32292010-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3230
3231 * src/editor.c:
3232   Fix cursor positioning when toggling comments
3233   (patch by Thomas Martitz, thanks).
3234
3235
32362010-03-25  Peter Scholtens  <peter(dot)scholtens(at)xs4all(dot)nl>
3237
3238 * src/keybindings.[hc]:
3239   Added Control+0 for zoom reset, see suggestion from #2969886.
3240
3241
32422010-03-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3243
3244 * src/search.c, src/document.c:
3245   Fix wrong selection range after Replace in Selection.
3246
3247
32482010-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3249
3250 * src/win32.c:
3251   Make CreateChildProcess() working with Unicode strings, e.g.
3252   directory names (closes #2972606).
3253 * geany.nsi:
3254   Remove reference to already removed latex.tags file.
3255   Future releases probably still depend on GTK 2.16.
3256 * scintilla/ScintillaGTK.cxx:
3257   Backport fix from Scintilla CVS to not paste text beyond the end
3258   of lines (closes #2969096).
3259 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
3260   src/plugindata.h:
3261   Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
3262   to not set Geany's minimum window size anymore (closes #2972992).
3263   As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
3264
3265
32662010-03-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3267
3268 * src/stash.c:
3269   Make adding string and string vector settings initialise the setting
3270   to NULL for safety.
3271 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
3272   Add stash_group_load_from_file() and stash_group_save_to_file().
3273
3274
32752010-03-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3276
3277 * data/filetypes.common:
3278   Set default for wrapped lines to show marker at end of line only
3279   (more expected and doesn't change line alignment - closes #2972386).
3280 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
3281   src/pluginutils.c, doc/plugins.dox:
3282   Improve API docs contents page by listing all commonly-used files.
3283   Fix 'Date' appearing twice on the date line.
3284   Don't generate API docs for prefs.h, toolbar.h (unused).
3285   Move some '@file' doc-comments to the .c file.
3286 * src/interface.c, geany.glade:
3287   Add frame for 'Printing' prefs dialog page.
3288 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
3289   src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
3290   doc/stash-example.c:
3291   Rename Stash data types to be independently named from Geany (so
3292   Stash can be reused for other projects).
3293   Rename GeanyPrefGroup to StashGroup.
3294
3295
32962010-03-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3297
3298 * tagmanager/python.c:
3299   Apply patch from Colomban Wendling to parse Python lambda functions
3300   (thanks) - modified to only parse toplevel or class member lambdas.
3301 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
3302   doc/stash-example.c:
3303   Add doc-comments for Stash setting functions.
3304   Add an example file showing usage of Stash.
3305   (Not enabled yet until added to the plugin API).
3306
3307
33082010-03-17  Lex Trotman  <elextr.at.gmail.dot.com>
3309
3310 * src/build.c:
3311   Fix using return value without checking return status, caused
3312   incorrect sensitivity settings on build dialog.
3313
3314
33152010-03-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3316
3317 * HACKING:
3318   Add tip about gcc optimization & warnings/debugging.
3319   Add Testing section.
3320   Update Libraries section about synchronizing with other projects.
3321
3322
33232010-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3324
3325 * src/ui_utils.c:
3326   For now revert the recent patch which set real_path of newly
3327   open non-existent configuration files as this seems hackish and
3328   causes 'file not found' warnings.
3329 * wscript:
3330   Fix/Improve GIT repository detection
3331   (patch by Thomas Martitz, thanks).
3332 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3333   src/utils.c:
3334   Add utils_copy_environment() to the plugin API.
3335
3336
33372010-03-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3338
3339 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
3340   src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
3341   src/main.c:
3342   Use 3rd person for more API dox.
3343   Change 'This is a wrapper function for...' to 'Wraps...' in brief
3344   descriptions.
3345   Change 'After all...' to 'Afterwards...'.
3346 * src/interface.c, geany.glade:
3347   Apply patch from Eugene Arshinov to make frame packing/alignment
3348   more consistent (thanks).
3349
3350
33512010-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3352
3353 * src/ui_utils.c:
3354   Fix ui_button_new_with_image() to call gtk_button_set_image() so
3355   that gtk_button_[sg]et_label() work as expected.
3356 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
3357   Make Build Commands dialog show menu item labels as a button (to
3358   help show that menu labels don't normally need to be edited &
3359   display the mnemonic correctly). Clicking shows an input dialog to
3360   set a new menu item label.
3361   Split dialogs_show_input() into 2 functions: one simple, one for
3362   a persistent dialog.
3363   Fix possible double-destroy of input dialog when closed by user.
3364 * src/dialogs.c:
3365   Fix not destroying 'Make Custom Target' input dialog after first
3366   use (oops).
3367 * src/project.c:
3368   Make Long Line Marker settings for existing projects default to
3369   general settings instead of 0 (thanks to Eugene Arshinov).
3370 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
3371   src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
3372   src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
3373   src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
3374   Use 3rd person (gets not get) for API function brief descriptions.
3375   Avoid using 'convenience function' in API brief descriptions.
3376
3377
33782010-03-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3379
3380 * doc/geany.txt, doc/geany.html:
3381   Warn about some GNU extensions for regular expressions & clarify
3382   some points.
3383 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
3384   src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
3385   src/editor.h, geany.glade:
3386   Apply patch from Eugene Arshinov to add project long line marker
3387   customisation (thanks).
3388 * src/interface.c, geany.glade:
3389   Edit/tidy 'Long line marker' labels.
3390
3391
33922010-03-10  Lex Trotman  <elextr.at.gmail.dot.com>
3393
3394 * src/build.c, src/project.c:
3395   Fix crash due to NULL in project build preferences (thanks to
3396   Wolfgang Ocker).
3397
3398
33992010-03-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3400
3401 * src/utils.c, src/utils.h, src/search.c, src/search.h,
3402   src/document.c, doc/geany.txt, doc/geany.html:
3403   Merge gnu-regex branch:
3404   Use POSIX system/GNU regex engine for find & replace 'Use regular
3405   expressions' option. This alters regex syntax a bit - see the docs
3406   for details; we now support '?' operator and replacement backslash
3407   escaping is more standard.
3408   Make regex search imply replacing escaped chars.
3409   Allow \0 backreference replacement for the whole match.
3410   Note: Replace All may be slower; if this is a problem please let me
3411   know.
3412 - code:
3413   Add argument to utils_str_replace_escape() for keeping
3414   uninterpreted backslash escapes e.g. '\\', '\e'.
3415 * scintilla/LexMarkdown.cxx:
3416   Backport minor formatting/style changes from Scintilla project.
3417 * doc/geany.txt, doc/geany.html:
3418   Remove warning about no visual indication for zero-column-mode
3419   editing.
3420
3421
34222010-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3423
3424 * wscript:
3425   Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
3426
3427
34282010-03-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3429
3430 * wscript, scintilla/*, scintilla/include/*:
3431   Update Scintilla to version 2.03.
3432 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
3433   src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
3434   Add preference for virtual spaces.
3435 * src/log.c:
3436   Fix wrong default response for the Debug Messages dialog.
3437 * src/dialogs.c:
3438   Fix crashes when using Save As with no open files (closes #2964406).
3439 * src/document.c:
3440   Fix duplicate mnemonics on 'Resave missing file' dialog, also
3441   move the question from the secondary to the main text to be
3442   more compatible with the Gnome HIG.
3443   Fix broken 'Save' action in 'Resave missing file' dialog.
3444 * tagmanager/php.c:
3445   Improve PHP parser to parse also the argument lists of PHP functions.
3446 * src/prefs.c:
3447   Correctly set the parent widget for the keybinding overwrite
3448   confirmation dialog.
3449 * src/dialog.c:
3450   Fix setting the icon for some dialogs if the parent itself is also
3451   a dialog.
3452 * src/ui_utils.c:
3453   When editing non-existent config files using the Tools->Configuration
3454   Files menu, explicitly set the real_path to avoid presenting the Save
3455   As dialog when saving the file (patch by Tony Rick, thanks).
3456 * src/callbacks.c:
3457   Focus the editor widget after hiding the sidebar when it had the
3458   input focus (patch by Can Koy, thanks).
3459   Properly show/hide the mesages window when using the View menu item
3460   (closes #2961282).
3461 * plugins/filebrowser.c:
3462   After opening files, focus the editor widget
3463   (based on a patch by Can Koy, thanks).
3464 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
3465   src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
3466   src/ui_utils.h, src/vte.c:
3467   Add and use convenience function ui_is_keyval_enter_or_return() and
3468   add it to the plugin API.
3469
3470
34712010-03-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3472
3473 * src/about.c, THANKS, po/ast.po:
3474   Added Asturian translation. Thanks to Marcos Costales for providing.
3475
3476
34772010-02-28  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3478
3479 * src/log.c:
3480   Fix keyboard accelerators in debug messages window
3481   (Thanks Can Koy).
3482
3483
34842010-02-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3485
3486 * scintilla/LexR.cxx:
3487   Backport R lexer from Scintilla CVS to fix case sensitive keywords
3488   (Scintilla bug #2956543).
3489 * src/sidebar.c, src/about.c, THANKS:
3490   Make Space on the symbol and document list not focus the editor
3491   widget while Enter does (closes #2919444, patch by Can Koy, thanks).
3492 * src/document.c, src/document.h:
3493   Fix document_try_focus() to make it work with the sidebar document
3494   list as well.
3495 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
3496   Make Space on the compiler and messages widgets not focus the editor
3497   widget while Enter does (patch by Can Koy, thanks).
3498 * src/editor.c:
3499   Fix wrongly auto-detected multiline comments
3500   (patch by Eugene Arshinov, thanks).
3501
3502
35032010-02-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3504
3505 * src/ui_utils.c:
3506   Show number of lines of current document inside statusbar. Thanks to
3507   Can Koy for providing the patch.
3508
3509
35102010-02-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3511
3512 * src/keybindings.c, doc/geany.txt, doc/geany.html:
3513   Make Switch to Editor keybinding reshow the document statistics
3514   line, so user doesn't have to move the cursor.
3515
3516
35172010-02-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3518
3519 * data/filetypes.r:
3520   Update keywords for the R language (patch by Jon Senior, thanks).
3521
3522
35232010-02-21  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3524
3525 * doc/geany.txt:
3526   Fix the instruction how to insert unicode characters
3527   (thanks Tony Rick).
3528
3529
35302010-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3531
3532 * scripts/create_py_tags.py:
3533   Minor fixes.
3534   Replace tabs by spaces.
3535 * plugins/genapi.py:
3536   Minor fixes.
3537   Replace tabs by spaces.
3538 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
3539   src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3540   tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
3541   Add R tagmanager symbol parser (patch by Jon Senior, thanks).
3542 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
3543   src/plugindata.h, src/sidebar.c, src/sidebar.h:
3544   Add keybindings to switch to the sidebar's Document and Symbol list
3545   as well as to the Message Window's current tab
3546   (patch by Eugene Arshinov, thanks).
3547 * data/filetypes.r:
3548   Update primary keywords for the R language
3549   (patch by Jon Senior, thanks).
3550
3551
35522010-02-20  Dominic Hopf  <dmaphy(at)googlemail(dot)com>
3553
3554 * doc/geany.txt:
3555   Add more detailed hints about reloading configuration
3556   (thanks to Tony Rick).
3557 * data/filetypes.javascript:
3558   Correct the keyword list for JavaScript (thanks to Jonas).
3559
3560
35612010-02-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3562
3563 * New release: Geany 0.18.1 "Balfour".
3564
3565
35662010-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3567
3568 * src/keybindings.c:
3569   Add special cases for handling the Select All keybinding (Ctrl-A) in
3570   the toolbar search and goto line text entries (closes #2948040).
3571   Strip trailing spaces after reflowing a paragraph, patch by
3572   Dominik Wagenfuehr, thanks (closes #2945497).
3573
3574
35752010-02-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3576
3577 * src/geanymenubuttonaction.c, src/templates.c:
3578   Partly revert last commit:
3579   Unref the new files toolbar menu when freeing templates as it
3580   was done before but unref it *after* the menu has been removed
3581   from the GeanyMenuButtonAction.
3582 * src/encodings.c:
3583   Fix possible endless loop when trying to detect the encoding of
3584   non-text files (patch by Alexey Antipov, thanks).
3585
3586
35872010-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3588
3589 * src/document.c:
3590   Allow saving remote files using g_file_set_contents() as well
3591   (patch by Алексей Антипов, thanks).
3592 * data/filetypes.python:
3593   Adjust style for secondary keywords to be less aggressive.
3594   Add Python 2.5 builtins keywords.
3595 * src/geanymenubuttonaction.c, src/templates.c:
3596   Unref the new files toolbar menu when setting a new menu to fix
3597   possible crashes when reloading configuration.
3598 * src/filetypes.c:
3599   When reloading configuration, process the current document at last
3600   so the symbol list will be updated correctly.
3601
3602
36032010-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3604
3605 * src/symbols.c:
3606   Explicitly read filetype configuration files before generating
3607   global tags to get settings for custom filetypes.
3608
3609
36102010-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3611
3612 * src/plugins.c:
3613   Fix GLib warning when toggling 'no plugins available' item.
3614
3615
36162010-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3617
3618 * icons/Makefile.am:
3619   Include geany.ico in the distribution tarball.
3620 * Makefile.am:
3621   Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
3622 * scripts/create_py_tags.py:
3623   Make the script a bit more robust with newer Python versions.
3624 * src/templates.c:
3625   Use utils_spawn_sync() instead of g_spawn_sync().
3626
3627
36282010-01-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3629
3630 * plugins/export.c:
3631   Close meta tag for export date properly.
3632
3633
36342010-01-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3635
3636 * geany.spec.in:
3637   Update RPM Spec file (patch by Dominic Hopf, thanks).
3638
3639
36402010-01-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3641
3642 * src/plugindata.h:
3643   Fix renaming sci_send_message(), sci_send_command() function
3644   pointers.
3645
3646
36472010-01-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3648
3649 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
3650   src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
3651   plugins/geanyfunctions.h, plugins/Makefile.am,
3652   plugins/pluginmacros.h, plugins/genapi.py, wscript:
3653   Use full function name for GeanyFunctions function pointers. This
3654   avoids naming conflicts e.g. with C++'s 'new' keyword.
3655   Remove deprecated header pluginmacros.h - use geanyfunctions.h
3656   instead.
3657
3658
36592010-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3660
3661 * src/utils.c, src/utils.h, src/vte.c:
3662   Add utils_copy_environment() and make use of it.
3663 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
3664   src/editor.c, src/templates.c, src/templates.h:
3665   Add new special template wildcard "{command:...}" to use the
3666   output of a command in templates.
3667   Adjust template functions to mostly work with GeanyDocuments.
3668   Minor cleanups in the template code.
3669 * src/gb.c:
3670   Replace the old icons with smiley icons from the Rodent icon theme.
3671   Fix showing the same icon for two or more slots.
3672   Minor cleanups.
3673 * src/editor.c, src/editor.h, src/keybindings.c:
3674   Rename fold_symbol_click() to editor_toggle_fold().
3675   Use editor_toggle_fold() when the 'Toggle current fold' keybinding
3676   was used to respect the 'Fold/unfold all children' preference
3677   (closes #2935053).
3678
3679
36802010-01-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3681
3682 * src/build.c:
3683   Prevent possible segfault in get_build_group().
3684 * src/callbacks.c:
3685   Fix GLib warning & beep if trying to insert multiline comment for a
3686   filetype that doesn't support it.
3687
3688
36892010-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3690
3691 * doc/plugins.dox:
3692   Add gcc commands to build a plugin to the HowTo.
3693 * src/search.c, src/document.c, src/document.h:
3694   Show 'Replaced X matches in Y documents' message when using
3695   Replace in Session.
3696
3697
36982010-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3699
3700 * scripts/plugin_test.c:
3701   Add a little test program which can load and test Geany plugins to
3702   verify it is loadable at runtime and all necessary symbols are
3703   defined.
3704 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
3705   src/plugindata.h:
3706   Add new signal: "geany-startup-complete" which is sent once all
3707   initialization and startup tasks has been done.
3708 * README.I18N, configure.ac, wscript, po/LINGUAS:
3709   Remove po/LINGUAS from the repository.
3710   Generate it automatically if needed by reading available
3711   message catalogs from the po directory.
3712   Also respect the LINGUAS environment variable properly.
3713
3714
37152010-01-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3716
3717 * src/editor.c:
3718   Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
3719   plugin.
3720
3721
37222010-01-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3723
3724 * src/editor.c, src/templates.c, src/templates.h:
3725   Refactor templates_replace_all() into templates_replace_valist()
3726   to save some code duplication.
3727
3728
37292010-01-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3730
3731 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
3732   src/plugindata.h, src/plugins.c:
3733   Add editor_insert_text_block() to plugin API.
3734
3735
37362010-01-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3737
3738 * *.*:
3739   Update copyright information.
3740 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3741   doc/geany.txt, doc/geany.html:
3742   Add keybinding to open the last closed tab (closes #2912692).
3743
3744
37452009-12-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3746
3747 * autogen.sh, configure.in, configure.ac:
3748   Rename configure.in to configure.ac.
3749 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
3750   src/sciwrappers.c:
3751   Add sci_find_text() to the plugin API.
3752 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3753   src/interface.c, src/prefs.c:
3754   Add a checkbox in the preferences dialog to explicitly toggle
3755   the visibility of the sidebar (closes #2923340).
3756
3757
37582009-12-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3759
3760 * src/editor.c, src/plugins.c, src/plugindata.h,
3761   plugins/geanyfunctions.h:
3762   Add editor_get_eol_char_name(), editor_get_eol_char_len() and
3763   editor_get_eol_char() to the plugin API.
3764 * src/callbacks.c, src/plugins.c, src/plugins.h:
3765   Fix sensitivity of the Edit->Plugin Preferences menu item
3766   if plugins are loaded which do not provide a configuration dialog.
3767 * scripts/create_py_tags.py:
3768   Rewrite and extend the Python tags parsing script to use
3769   Python's inspect module to read symbols from Python modules
3770   including scope information.
3771 * data/filetypes.restructuredtext:
3772   Add the default comment character sequence for reStructuredText.
3773 * src/callbacks.c:
3774   Show the Find/Goto dialogs if the corresponding toolbar buttons are
3775   clicked but their text fields are not part of the toolbar (#2920807).
3776 * data/filetypes.common, doc/geany.html, doc/geany.txt,
3777   src/highlighting.c:
3778   Add new style to change foreground and background colours for
3779   calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
3780 * src/search.c:
3781   Remember the window position of the Find, Replace and Find in Files
3782   dialogs (closes #2877988).
3783
3784
37852009-12-26  Frank Lanitz  <frank@frank.uvena.de>
3786
3787 * doc/plugins.dox:
3788   Fix a minor typo inside plugin API reference.
3789
3790
37912009-12-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3792
3793 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
3794   Make dialogs_show_prompt() more flexible to take up to three
3795   button/response code pairs to be shown.
3796   Add a close button to the dialog when asking to Re-Save a
3797   deleted file
3798   (closes #2916954, based on a patch by Dominik Stadler, thanks).
3799 * src/editor.c:
3800   Fix LaTeX environment auto completion with CR/LF line endings.
3801   Add some sanity checks.
3802 * src/document.c:
3803   When closing a document after it was deleted from the filesystem,
3804   don't ask whether it should be saved first.
3805   Mark the document only as changed if it is not closed afterwards.
3806   Prevent possible segfaults if the document was closed when it is
3807   missing from the filesystem.
3808 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
3809   src/msgwindow.h, src/prefs.c:
3810   Add MessageWindow::scribble and use it instead of searching the
3811   widget pointer everytime.
3812 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
3813   Add preferences for hiding single tabs from the messages window
3814   (no GUI preferences yet, still to be implemented).
3815 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3816   Set the correct parent window for the toolbar editor
3817   dialog (closes #2913334).
3818 * src/win32.c, src/win32.h, src/ui_utils.c:
3819   Rename win32_show_project_folder_dialog() to
3820   win32_show_folder_dialog() as it is not related and not used by any
3821   project management related code.
3822 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
3823   Rename win32_show_file_dialog() to win32_show_document_open_dialog()
3824   as it is specialised for opening documents.
3825   Implement win32_show_file_dialog() as a generic file open dialog and
3826   use it with ui_path_box_new().
3827
3828
38292009-12-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3830
3831 * src/editor.c:
3832   Extend auto_latex() function to check whether an environment has been
3833   closed within the next lines to avoid auto adding double \end{}.
3834 * data/latex.tags:
3835   Remove LaTeX tags from SVN. Can be found at
3836   http://download.geany.org/contrib/tags/ if needed.
3837
3838
38392009-12-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3840
3841 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
3842   Add document_need_save_as().
3843   Show the Save As also for documents created from filetype templates
3844   instead of saving them directly with the untitled filename.
3845
3846
38472009-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3848
3849 * geany.glade, src/interface.c:
3850   Move 'Send Selection to Terminal' menu item from Format to Commands
3851   submenu.
3852 * src/msgwindow.c:
3853   When going to a build error, try the current document's path if
3854   the parsed filename doesn't exist. (This can happen when we receive
3855   build messages in the wrong order - after the 'Leaving directory'
3856   messages).
3857 * src/msgwindow.c:
3858   Refactor msgwin_goto_compiler_file_line().
3859 * src/interface.c, src/keybindings.c, geany.glade:
3860   Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
3861   item labels.
3862 * src/search.c:
3863   Refactor/reformat on_replace_dialog_response().
3864
3865
38662009-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3867
3868 * geany.spec.in:
3869   Improve geany.spec (split the package into a binary and devel
3870   package, update BuildRequires and other minor improvements).
3871   Patch by Dominic Hopf, thanks.
3872
3873
38742009-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3875
3876 * src/filetypes.c, src/filetypes.h:
3877   Make group for custom filetypes.
3878 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
3879   Add custom filetype Genie.
3880
3881
38822009-12-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3883
3884 * src/highlighting.c:
3885   Highlight D & Java types from a global tags file.
3886 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3887   Add debug message warning if recursive lexer_filetype is set.
3888 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
3889   Remove duplicate sci_set_keywords(), make argument const.
3890 * src/highlighting.c:
3891   Only show debug message once if recursive lexer_filetype is set.
3892   Tidy highlighting_init_styles code for filetype None handling.
3893 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
3894   scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
3895   src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
3896   tagmanager/parsers.h, tagmanager/makefile.win32,
3897   tagmanager/verilog.c, tagmanager/Makefile.am,
3898   data/filetypes.verilog, data/filetype_extensions.conf, wscript:
3899   Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
3900 * src/highlighting.c:
3901   Fix segfault on startup (oops).
3902 * data/filetypes.verilog:
3903   Fix using common style colours for Verilog.
3904
3905
39062009-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3907
3908 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3909   data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
3910   Move C-like filetype properties into configuration files.
3911 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
3912   data/filetypes.c:
3913   Remove now unnecessary "styling_within_preprocessor" C style key.
3914 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
3915   data/filetypes.glsl, data/filetypes.cs:
3916   Use lexer_filetype=C configuration file key instead of duplicate
3917   styleset functions for C++, C#, GLSL, Vala.
3918
3919
39202009-12-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3921
3922 * doc/geany.txt, doc/geany.html:
3923   Warn about not using BOM for configuration files (confuses GKeyFile
3924   parser, at least on my system).
3925 * src/filetypes.c:
3926   Add/improve debug messages for custom filetypes.
3927
3928
39292009-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3930
3931 * data/latex.tags:
3932   Add a couple of further latex-beamer commands to list of LaTeX tags.
3933
3934
39352009-11-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3936
3937 * plugins/filebrowser.c:
3938   Add an in-entry clear icon to the filebrowser plugin's filter
3939   entry (patch by Dominic Hopf, thanks).
3940 * src/prefs.c, src/ui_utils.c:
3941   Fix two compiler warnings about possibly uninitialised variables.
3942
3943
39442009-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3945
3946 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
3947   plugins/geanyfunctions.h:
3948   Add main_is_realized() to the plugin API.
3949 * tagmanager/include/tm_tagmanager.h:
3950   Update partly outdated and wrong doc comment.
3951 * src/main.c, src/main.h, src/socket.c:
3952   Allow opening Geany projects remotely.
3953 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
3954   Add a hidden pref to allow executing text which was sent to the
3955   terminal directly, i.e. do not strip trailing newline characters.
3956   Also fix the stripping of trailing newline characters if there was
3957   more than one.
3958
3959
39602009-11-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
3961
3962 * src/about.c, THANKS:
3963   Add Peter Scholtens and Ayke van Laethem to list of translators. Move
3964   Kurt de Bree into section of previous translators.
3965
3966
39672009-11-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3968
3969 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
3970   Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
3971   thanks).
3972
3973
39742009-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
3975
3976 * src/highlighting.c:
3977   Make stylesets take a ft_id argument so they can be reused fully with
3978   custom filetypes, so custom styles and keywords can be set.
3979 * src/highlighting.c:
3980   Fix setting filetype properties when both the system and the user
3981   file have properties set.
3982 * src/symbols.c, tagmanager/vhdl.c:
3983   Parse VHDL signals.
3984 * src/highlighting.c:
3985   Fix lexer settings for custom filetypes.
3986
3987
39882009-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
3989
3990 * tagmanager/php.c:
3991   Remove duplicate regular expression for parsing classes.
3992   Fix and improve parsing of constants (patch by Harold Aling, thanks).
3993 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
3994   src/main.h, THANKS, src/about.c:
3995   Add new command line option "--socket-file" to be able to specify
3996   separate socket filenames for instances
3997   (closes #2896027, patch by Jörn Reder, thanks).
3998 * src/keybindings.c, src/keybindings.h:
3999   Add keybindings_check_event() to manually check GdkKeyEvents against
4000   Geany's keybindings.
4001 * src/callbacks.c, src/utils.c, src/utils.h:
4002   Add and use utils_get_help_url().
4003 * geany.glade, src/interface.c, src/prefs.c:
4004   Add a Help button to the preferences dialog.
4005   Handle Help keybinding events for the preferences dialog especially
4006   and open the manual with the corresponding anchor link to the current
4007   preferences page (same goes for the new Help button).
4008
4009
40102009-11-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4011
4012 * src/toolbar.c, src/geanymenubuttonaction.c,
4013   src/geanymenubuttonaction.h:
4014   Use separate tooltips for toolbar menu buttons and their attached
4015   drop-down arrows.
4016 * tagmanager/latex.c:
4017   Improve parsing of sections and chapters by ignoring shortnames
4018   like \section[shortname]{label} (closes #2890477).
4019
4020
40212009-11-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4022
4023 * src/geanymenubuttonaction.c:
4024   Try to fix Gtk warning when using Tools->Reload Configuration.
4025
4026
40272009-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4028
4029 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4030   data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
4031   data/filetypes.pascal, data/filetypes.docbook,
4032   data/filetypes.python, data/filetypes.conf:
4033   Use filetypes.foo [lexer_properties] group instead of hardcoding
4034   lexer properties (more flexible e.g. for custom filetypes).
4035 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
4036   Replace filetypes.xml html_asp_default_language key with
4037   filetypes.html asp.default.language property in [lexer_properties]
4038   group.
4039
4040
40412009-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4042
4043 * doc/geany.txt, doc/geany.html:
4044   Fix slightly wrong description of how to insert Unicode characters.
4045 * src/ui_utils.c:
4046   Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
4047   ui_setup_open_button_callback().
4048 * src/prefs.c, src/prefs.c, src/vte.c:
4049   Refactor color and font button callback functions in the
4050   preferences dialog. Move the VTE related callback functions
4051   into vte.c.
4052   Make use of ui_setup_open_button_callback().
4053 * src/printing.c:
4054   Improve printing status texts (patch by Dominic Hopf, thanks).
4055 * src/prefs.c, src/vte.c:
4056   Use the default dialog title set by ui_setup_open_button_callback()
4057   to be more consistent and to save one string.
4058
4059
40602009-11-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4061
4062 * tagmanager/c.c:
4063   Separate DKinds from CKinds.
4064   Don't generate macro tags for D, Java.
4065
4066
40672009-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4068
4069 * tagmanager/ctags.c, tagmanager/general.h:
4070   Make TagManager Assert statements cause g_warning on failure.
4071 * src/keybindings.c:
4072   Fix reflow paragraph command when cursor < anchor using
4073   sci_fix_selection().
4074
4075
40762009-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4077
4078 * tagmanager/perl.c:
4079   Fix Geany segfault with constant tags (#2895168).
4080 * src/symbols.c:
4081   Fix invalid tree iter access when using tv_iters.tag_other but not
4082   using tv_iters.tag_variable.
4083 * HACKING, tagmanager/perl.c:
4084   Fix parsing Perl format statements ("other" type doesn't seem
4085   to work).
4086 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
4087   Fix using "other" tag type.
4088
4089
40902009-11-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4091
4092 * src/vte.c:
4093   Remove useless comment about applying settings only when libvte.so
4094   could be loaded which is only displayed *if* libvte.so is loaded.
4095 * src/editor.c:
4096   Allow autocompletion for HTML entities even within a word.
4097 * src/geanymenubuttonaction.c:
4098   Only set the menu of the button if a non-empty GtkMenu is passed to
4099   geany_menu_button_action_set_menu() so the menu arrow keeps
4100   insensitive.
4101
4102
41032009-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4104
4105 * tagmanager/c.c:
4106   Fix parsing some Java code (e.g. filetypes.java) after r4407.
4107
4108
41092009-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4110
4111 * tagmanager/c.c:
4112   Parse D functions with contracts (fixes #1885480).
4113   Parse D alias statement like typedef.
4114   (Ignore some more D keywords).
4115 * tagmanager/c.c:
4116   Fix creating D interface tags properly.
4117 * tagmanager/c.c:
4118   Parse contents of D extern{} and version{} blocks.
4119
4120
41212009-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4122
4123 * src/main.c:
4124   Remove old code.
4125
4126
41272009-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4128
4129 * src/plugindata.h, HACKING:
4130   Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
4131   instead.
4132 * src/callbacks.c:
4133   Show number of files saved on status bar when using Save All.
4134 * src/highlighting.c:
4135   Use default color scheme if pref color scheme file doesn't exist.
4136 * src/keybindings.c:
4137   Fix moving correct lines after selecting whole line(s).
4138
4139
41402009-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4141
4142 * tagmanager/makefile.win32:
4143   Fix broken build on Windows because of a typo
4144   (patch by Timothy Boronczyk, thanks).
4145
4146
41472009-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4148
4149 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
4150   src/editor.h:
4151   Add 'View->Editor->Color Schemes' menu, for now only shown if color
4152   scheme files exist in a colorschemes config directory. Color scheme
4153   files must end in ".conf" and currently only the [named_styles]
4154   section is read.
4155 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
4156   Add utils_get_config_files().
4157 * src/highlighting.c:
4158   Fix issue with default color not being reset if overridden with a
4159   system default color.
4160 * src/highlighting.c:
4161   Only reload filetype files when changing color scheme, not all
4162   configuration files.
4163 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
4164   Deprecate documents_foreach() as it looks more like a function; use
4165   foreach_document() instead.
4166   Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
4167
4168
41692009-10-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4170
4171 * src/stash.c, src/stash.h:
4172   Use typedef instead of pointer for widget_id function arguments.
4173
4174
41752009-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4176
4177 * src/pluginutils.c:
4178   Don't expand Plugin Preferences page spacing vertically to fill the
4179   height of the dialog.
4180 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
4181   geany.glade, plugins/splitwindow.c:
4182   Allow GeanyKeyBinding label field to contain underscores, which won't
4183   be displayed by Geany. This saves adding near-duplicate translation
4184   strings.
4185   Add mnemonics for 3 Edit->Format menu items.
4186   Add keybindings_get_label().
4187 * src/interface.c, geany.glade:
4188   Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
4189   dialog.
4190
4191
41922009-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4193
4194 * src/ui_utils.c:
4195   Desensitize Edit->Commands menu item when no docs are open.
4196 * src/interface.c, src/keybindings.c, src/callbacks.c,
4197   src/callbacks.h, geany.glade:
4198   Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
4199 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4200   Add general function sci_get_string() that works with any string
4201   buffer messages that follow the Windows message convention.
4202 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
4203   src/keybindings.h, src/callbacks.c, src/callbacks.h,
4204   src/pluginutils.c, src/pluginutils.h, geany.glade:
4205   Add 'Edit->Plugin Preferences' menu item and keybinding.
4206   Don't include plugindata.h in pluginutils.h because it redefines the
4207   GEANY() macro for plugin use.
4208 * doc/geany.txt, doc/geany.html:
4209   Update for Plugin Preferences keybinding.
4210
4211
42122009-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4213
4214 * src/editor.c:
4215   Sort document word completion list.
4216 * src/interface.c, src/keybindings.c, src/callbacks.c,
4217   src/callbacks.h, geany.glade:
4218   Add some useful commands to editor popup menu under "Commands"
4219   submenu (thanks to Lex).
4220   Move 'Duplicate line or selection' from Format -> Commands submenu.
4221 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4222   Enable switching the sidebar to the right on Windows again, as it
4223   apparently works after all.
4224 * src/editor.c:
4225   Fix using tab to autocomplete in some other situations that word part
4226   completion doesn't apply in.
4227 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
4228   Add Edit->Commands submenu which is shared with the editor popup
4229   menu.
4230 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
4231   Change editor popup Commands submenu to start as child of menubar
4232   Edit menu, as this is more usual e.g. for keybindings initialization.
4233 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
4234   geany.glade:
4235   Share a single Format submenu for menubar Edit and popup menu.
4236
4237
42382009-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4239
4240 * src/build.c:
4241   Fix a compiler warning about an uninitialised variable.
4242 * wscript:
4243   Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4244   sciwrappers.h, build.h (for the Waf build system,
4245   accordingly to r4366).
4246
4247
42482009-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4249
4250 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
4251   src/toolbar.c, src/toolbar.h:
4252   Add missing dox for types/files in the API.
4253 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
4254   Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
4255   sciwrappers.h, build.h. (This helps to get compiler warnings for uses
4256   of functions not in the API).
4257   Warning: any plugins that include these headers should remove them.
4258 * src/build.c, src/build.h:
4259   Move function doc-comments to build.c so they stay in sync. Note:
4260   these functions are still not in the API.
4261 * HACKING:
4262   Add 'Doc-comments' plugin API subsection.
4263 * plugins/filebrowser.c:
4264   Fix packing configure widgets equally.
4265   Use spacing multiples of 6 as recommended by Gnome HIG.
4266 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
4267   Disable switching the sidebar to the right on Windows as it will
4268   probably fail like the Split Window plugin.
4269 * src/document.c:
4270   Improve 'Detect from file' indentation pref by ignoring lines with
4271   indentation wider than 24 characters as this is more likely to be
4272   alignment than indentation.
4273
4274
42752009-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4276
4277 * plugins/saveactions.c:
4278   Fix adding the filetype's default extension when using the
4279   Instant Save plugin (closes #2885142).
4280 * src/main.c:
4281   Before looking for line and column numbers specified as part
4282   of a filename, ensure the file doesn't exist on disk. This allows
4283   opening of files like "test:0".
4284 * src/sidebar.c:
4285   Rename "select" variables into "selection" to avoid shadowed names.
4286 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
4287   Add ui_widget_modify_font_from_string() and sci_goto_line()
4288   to the plugin API.
4289 * plugins/filebrowser.c:
4290   Rename "select" variables into "selection" to avoid shadowed names.
4291   Make use of ui_widget_modify_font_from_string().
4292
4293
42942009-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4295
4296 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
4297   src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
4298   geany.glade:
4299   Add sidebar position interface pref.
4300
4301
43022009-10-23  Lex Trotman  <elextr.at.gmail.dot.com>
4303
4304 * doc/geany.txt, doc/geany.html:
4305   Add missing underscores to links.
4306
4307
43082009-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4309
4310 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4311   Add 'Move line(s) up/down' keybindings.
4312
4313
43142009-10-22  Lex Trotman  <elextr.at.gmail.dot.com>
4315
4316 * src/build.c, src/build.h, src/filetypes.h:
4317   Include code for project filetype execute commands and fix bug in
4318   saving project filetypes list.
4319 * src/project.c, src/build.c, doc/geany.txt:
4320   Make non-project execute configuration save to filetypes not
4321   geany.conf.
4322   Fix closing of project failing to remove build commands dialog entry.
4323
4324
43252009-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4326
4327 * src/project.c, src/ui_utils.c:
4328   Set border width for project properties build table.
4329 * geany.glade, src/interface.c:
4330   Don't expand hard tab width alignment.
4331
4332
43332009-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4334
4335 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
4336   doc/geany.txt, doc/geany.html:
4337   Support loading global tags files for custom filetypes.
4338 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
4339   doc/geany.txt, doc/geany.html:
4340   Add 'Word part completion' keybinding so keys other than Tab can be
4341   used, or to clear/change the combination so Tab does full completion
4342   like before.
4343 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4344   Add 'Select to previous/next word part' keybindings.
4345 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
4346   Add 'Switch to Messages' focus keybinding.
4347
4348
43492009-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4350
4351 * doc/geany.txt, doc/geany.html:
4352   Add 'Custom filetypes' section.
4353 * src/filetypes.c, src/filetypes.h, src/document.c,
4354   doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
4355   tagmanager/include/tm_source_file.h:
4356   Add filetype "tag_parser" key so custom filetypes can use an existing
4357   tag parser.
4358   Add tm_source_file_get_named_lang().
4359 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
4360   doc/geany.html:
4361   Add filetype "lexer_filetype" key so custom filetypes can use an
4362   existing lexer.
4363
4364
43652009-10-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4366
4367 * THANKS, src/about.c:
4368   Add Xhacker Liu for his work at zh_CN translation to long list of
4369   translators.
4370
4371
43722009-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4373
4374 * src/sciwrappers.c:
4375   Remove unnecessary line number margin padding.
4376 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
4377   scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
4378   src/editor.c:
4379   Improve word part autocompletion so AC list is not cancelled and
4380   reshown (this also stops the selection changing).
4381   Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
4382 * src/editor.c:
4383   Improve CamelCase word part autocompletion for runs of capital
4384   letters.
4385 * src/editor.c:
4386   Don't complete snippets if there's a selection.
4387
4388
43892009-10-16  Lex Trotman  <elextr(at)gmail(dot)com>
4390
4391 * src/build.c:
4392   Fix crash opening project when Geany started with no geany.conf.
4393
4394
43952009-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4396
4397 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
4398   src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
4399   doc/geany.html:
4400   Add word part autocompletion for the current selected item when
4401   pressing Tab - Enter still completes normally.
4402   Add foreach_str() API macro.
4403   Temporarily modify scintilla to say if tab was used for
4404   autocompletion.
4405 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4406   src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4407   plugins/classbuilder.c:
4408   Revert r4301 - utils_free_pointers() taking 4 arguments.
4409 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
4410   src/document.c, src/plugins.c, plugins/geanyfunctions.h,
4411   plugins/splitwindow.c:
4412   Add highlighting_set_styles() to API, use for Split Window plugin so
4413   filetypes.common settings get set too.
4414   Make highlighting_set_styles() take GeanyFiletype pointer instead of
4415   filetype id.
4416 * src/document.c, src/editor.c, plugins/splitwindow.c:
4417   Call editor_apply_update_prefs() from editor_create_widget() so
4418   correct tab width and other settings are applied for Split Window
4419   plugin.
4420
4421
44222009-10-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4423
4424 * src/keybindings.c:
4425   Don't include trailing newlines when using reflow command.
4426 * src/notebook.c:
4427   Add stock close buttons to notebook tab popup menu.
4428 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
4429   plugins/geanyfunctions.h:
4430   Add document_get_notebook_page() to API.
4431   Minor edits of dox.
4432 * data/templates/files/file.html, data/templates/files/file.php:
4433   Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
4434 * src/interface.c, src/ui_utils.c, geany.glade:
4435   Move Tools configuration items to top of menu.
4436 * src/keybindings.c, src/search.c:
4437   Fix warning when using Find in Files with no documents open; make
4438   keybinding work in this case.
4439
4440
44412009-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4442
4443 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
4444   src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
4445   Make Split Window 'Show current document' button have a drop-down
4446   menu to select the other documents.
4447   Add new API function ui_menu_add_document_items().
4448
4449
44502009-10-13  Lex Trotman  <elextr(at)gmail(dot)com>
4451
4452 * src/build.c:
4453   Fix sensitivity settings for compile and build toolbar items.
4454
4455
44562009-10-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4457
4458 * src/templates.c:
4459   Don't use filetype submenus for templates (slower to navigate, often
4460   only 1 per-filetype anyway).
4461 * src/templates.c:
4462   Put old filetype template menu items in 'Old' submenu as they should
4463   be removed after the 0.19 release.
4464 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
4465   Add GeanyKeyGroup callback support, which allow keybinding callbacks
4466   to be ignored if inappropriate so a later keybinding with the same
4467   key combination can intercept it. (Also group callbacks are usually
4468   tidier than separate callbacks).
4469   Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
4470 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4471   src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
4472   plugins/classbuilder.c:
4473   Make utils_free_pointers() take 4 arguments, add to API.
4474 * src/templates.c, src/tools.c, src/ui_utils.c:
4475   Fix memory leaks with gtk_container_get_children().
4476
4477
44782009-10-12  Lex Trotman  <elextr(at)gmail(dot)com>
4479
4480 * src/build.c:
4481   Ensure that old style build config is not loaded if it does
4482   not exist.
4483
4484
44852009-10-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4486
4487 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
4488   Added Galician translation.
4489   Thanks to José Manuel Castroagudín Silva.
4490
4491
44922009-10-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4493
4494 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
4495   src/interface.c:
4496   Apply set default encoding for existing files only if the files are
4497   non-Unicode (patch by Alexey Antipov, thanks).
4498
4499
45002009-10-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4501
4502 * src/highlighting.c:
4503   Move new_styleset() and preprocessor setup code into
4504   styleset_c_like().
4505 * src/highlighting.c:
4506   Call apply_filetype_properties() from styleset_c_like().
4507
4508
45092009-10-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4510
4511 * doc/geany.txt, doc/geany.html:
4512   Improve information about predefined keybindings which are
4513   commonly used across applications (patch by Lex Trotman, thanks).
4514 * src/printing.c:
4515   Enable embedded page setup properties in the (Unix) Print dialog
4516   on newer GTK versions (closes #2870596).
4517 * src/highlighting.c:
4518   Map global types (read from tags files) to keyword style for
4519   filetype Java.
4520
4521
45222009-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4523
4524 * src/templates.c:
4525   Fix wrong creation of filetype template menu items for custom
4526   filetypes.
4527 * src/highlighting.c:
4528   Use jscript_keyword for SCE_HB[A]_WORD markup styles.
4529 * src/templates.c:
4530   Group 'New with template' items by filetype submenu (currently only
4531   for toolbar menu).
4532   Show custom file template items before filetype template items.
4533 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
4534   geany.glade:
4535   Only use one 'New with template' submenu - reparent as needed.
4536 * src/templates.c:
4537   Don't create templates/filetype.none either.
4538 * src/templates.c:
4539   Warn if custom template file no longer exists.
4540
4541
45422009-09-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4543
4544 * src/symbols.c:
4545   Add missing icon for Java packages in the Symbol List.
4546
4547
45482009-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4549
4550 * src/highlighting.c, data/filetypes.vala:
4551   Add Vala keywords to conf file.
4552 * src/templates.c, doc/geany.txt, doc/geany.html:
4553   Read custom file templates from $prefix/share/geany/templates/files
4554   as well as user dir.
4555 * src/templates.c, data/templates, data/templates/files,
4556   data/templates/files/file.rb, data/templates/files/file.html,
4557   data/templates/files/main.java, data/templates/files/main.c,
4558   data/templates/files/main.cxx, data/templates/files/file.php,
4559   data/templates/files/main.d, data/templates/files/program.pas,
4560   data/templates/files/main.py, data/templates/files/file.tex,
4561   wscript, Makefile.am:
4562   Move filetype template defaults into custom file template files.
4563
4564
45652009-09-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4566
4567 * src/symbols.c, tagmanager/perl.c:
4568   Change Perl tag parser to ctags SVN r601. This removes support for
4569   buggy local/my/our but it parses constant/format/labels and should
4570   be less buggy overall (closes #2861232).
4571 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
4572   Add utils_get_file_list_full() which can optionally sort or include
4573   a full path for each list item.
4574 * src/utils.c, src/plugindata.h, src/plugins.c:
4575   Add utils_get_file_list_full() to API.
4576
4577
45782009-09-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4579
4580 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
4581   src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
4582   src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
4583   src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
4584   po/POTFILES.in, wscript:
4585   Rename treeviews.[hc] -> sidebar.[hc].
4586 * data/filetypes.common:
4587   Remove unused [styling] arguments.
4588 * src/highlighting.c, data/filetypes.markdown,
4589   data/filetypes.restructuredtext:
4590   Remove style defaults from the code - just read them from
4591   configuration files.
4592 * src/highlighting.c, HACKING:
4593   Add apply_style_entries() to simplify implementing styleset_foo().
4594 * src/highlighting.c:
4595   Remove filetype keyword defaults from the code - just read them from
4596   configuration files.
4597 * src/highlighting.c:
4598   Add sci_set_keywords() wrapper.
4599
4600
46012009-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4602
4603 * scripts/create_py_tags.py:
4604   Make the code a bit more pythonic.
4605 * doc/images/build_menu_commands_dialog.png,
4606   doc/images/main_window.png:
4607   Add new images referenced in the documentation.
4608 * doc/geany.html, doc/geany.txt:
4609   Several documentation improvements (patch by Lex Trotman, thanks).
4610 * src/pluginutils.c:
4611   Fix setting the appropriate page of the combined plugins
4612   preferences dialog.
4613
4614
46152009-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4616
4617 * src/keybindings.c:
4618   Only focus toolbar goto line entry when pressing keybinding if it's
4619   visible (patch by Eugene Arshinov, thanks).
4620 * src/callbacks.c:
4621   Focus editor after entering a number in the goto line toolbar entry.
4622 * configure.in:
4623   Use AC_PATH_PROG instead of which for portability (patch by Erik
4624   Southworth, thanks).
4625 * src/plugins.c:
4626   Show plugins that only implement plugin_configure_single() in the
4627   multiple-configure dialog as a page with a configure button on it.
4628   Add padding for multiple-configure dialog.
4629   Make the multiple-configure dialog notebook tabs scrollable.
4630 * src/pluginutils.c, src/pluginutils.h:
4631   Don't build pluginutils.o if HAVE_PLUGINS is not defined.
4632 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
4633   src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
4634   plugins/geanyfunctions.h, plugins/filebrowser.c:
4635   Add plugin_show_configure() API utility function.
4636   Add File Browser popup menu 'Preferences' item.
4637 * src/highlighting.c:
4638   Add get_keyfile_ints() instead of using tmp_style hack.
4639 * src/highlighting.c, data/filetypes.xml:
4640   Change new html_asp_default_language markup pref to use integer,
4641   not hex in config file.
4642   Fix minor issue with changing pref back to 0.
4643 * src/highlighting.c:
4644   Fix possible segfault in get_keyfile_int() if key value is malformed.
4645
4646
46472009-09-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4648
4649 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
4650   Add "html_asp_default_language" pseudo style to filetypes.xml
4651   to allow setting the used language in embedded ASP code
4652   (patch by Ross McKay, thanks).
4653 * src/filetypes.xml:
4654   Update VBScript keywords (patch by Ross McKay, thanks).
4655
4656
46572009-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4658
4659 * src/keybindings.c, THANKS:
4660   Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
4661   keybinding use line breaking column when enabled.
4662 * src/document.c:
4663   Fix showing the document before reload dialog when opening an
4664   already-open file.
4665 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
4666   Add plugin_configure_single() plugin symbol which is easier to
4667   implement than plugin_configure() but won't support a
4668   multiple-plugin configure dialog.
4669 * src/plugins.c:
4670   Show multiple plugins in the 'Configure Plugins' dialog.
4671
4672
46732009-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4674
4675 * doc/geany.txt, doc/geany.html:
4676   Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
4677   Minor edits.
4678 * doc/geany.txt, doc/geany.html:
4679   Add 'Toolbar entries' section.
4680 * doc/geany.txt, doc/geany.html:
4681   Update 'Go to line' keybinding description.
4682 * doc/geany.txt, doc/geany.html:
4683   Split keybinding table into group tables; update KB links.
4684
4685
46862009-09-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4687
4688 * src/build.c:
4689   Fix compiler warnings about uninitialised variables.
4690 * src/callbacks.c, src/document.c:
4691   When reloading files, use the previously set encoding instead of
4692   detecting it again (closes #2862041).
4693 * configure.in:
4694   Turn on automake silent rules if supported.
4695
4696
46972009-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4698
4699 * src/utils.c:
4700   Speed up sorting in utils_get_file_list(). This reduces the file
4701   browser delay on displaying a big directory, e.g. /usr/bin.
4702 * src/build.c:
4703   Expand command entry width when expanding Build Commands dialog.
4704 * src/build.c:
4705   Split Build Commands dialog notes label and edit text.
4706 * src/build.c:
4707   Add padding for Build Commands dialog separators.
4708   Add colons for regex field labels; fix 1 capitalisation.
4709 * src/build.c:
4710   Fix none filetype Build Commands dialog label.
4711   Make group labels bold.
4712 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
4713   src/ui_utils.c:
4714   Add & use ui_label_set_markup(), ui_label_new_bold().
4715 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
4716   src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
4717   src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
4718   Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
4719 * src/keybindings.c:
4720   Make 'Go to Line' keybinding focus the toolbar entry if visible.
4721
4722
47232009-09-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4724
4725 * src/filetypes.c, src/filetypes.h, src/symbols.c,
4726   tagmanager/parsers.h, tagmanager/makefile.win32,
4727   tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
4728   data/filetype_extensions.conf, wscript:
4729   Add new filetype: Abc (patch by Eric Forgeot, thanks).
4730 * tagmanager/php.c:
4731   Merge recent changes from the CTags project to further improve
4732   PHP symbol parsing.
4733
4734
47352009-09-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4736
4737 * src/printing.c:
4738   Fix wrong alignment of printed pages when page headers are
4739   disabled (closes #2856822).
4740   Plug a small memory leak and improve function signature of
4741   add_page_header().
4742 * src/keyfile.c:
4743   Save an if expression.
4744 * src/ui_utils.c:
4745   After clearing a text field using the embedded clear icon, put the
4746   input focus into this text field.
4747
4748
47492009-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4750
4751 * plugins/filebrowser.c:
4752   Free file list memory whilst iterating the list.
4753   Minor formatting fixes.
4754 * src/utils.c, src/utils.h:
4755   Add foreach_dir() API macro.
4756   Update API docs for utils_get_file_list().
4757 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
4758   po/POTFILES.in:
4759   Remove queue.[hc] - use GQueue instead of GeanyQueue.
4760   Beep if there are no more snippet positions.
4761   Limit length of snippet positions queue to 20.
4762
4763
47642009-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4765
4766 * src/keybindings.c, src/callbacks.c, src/search.c:
4767   Make Goto Tag commands use the current selection if present (useful
4768   for selecting part of a tag or for ReST section names with spaces
4769   in).
4770 * src/document.c:
4771   Don't move the cursor when reloading.
4772 * src/plugindata.h, src/editor.c, src/editor.h:
4773   Make editor_prefs.snippets hash table private (not a pref).
4774
4775
47762009-09-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4777
4778 * src/main.c:
4779   Remove deprecated --debug flag. Please use --verbose/-v instead.
4780
4781
47822009-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4783
4784 * src/search.c:
4785   Show Find in Files stderr output in messages window instead of
4786   debug window so that invalid regex messages can be seen easily.
4787   Combine FIF stdout and stderr callback code.
4788
4789
47902009-09-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4791
4792 * src/utils.c:
4793   Fix opening filenames beginning with two dots (closes #2858487).
4794 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
4795   src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
4796   data/filetypes.common, geany.glade:
4797   Update syntax highlighting after changing the 'Invert syntax
4798   highlighting colors' pref, instead of requiring a restart.
4799   Remove filetypes.common invert_all option - use 'Invert syntax
4800   highlighting colors' pref instead (closes #2854525).
4801 * src/prefs.c, src/dialogs.c, src/dialogs.h:
4802   Add 'Allow' button when showing the conflicting keybinding dialog.
4803   Make dialogs_show_question_full() use GTK dialog on Windows if
4804   button text is not the stock yes/no items.
4805   Add dialogs_show_prompt() which also has an 'Apply' button.
4806 * src/queue.c, src/queue.h:
4807   Add warning that GeanyQueue may be removed.
4808 * src/keybindings.c, src/editor.c, src/editor.h:
4809   Change snippet_goto_next_cursor() to
4810   editor_goto_next_snippet_cursor() as it's in editor.h.
4811   Avoid using GPOINTER_TO_INT macro.
4812
4813
48142009-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4815
4816 * src/keybindings.c:
4817   Fix 'Reflow block' command when at the last paragraph and there's
4818   no last newline (patch by Eugene Arshinov, thanks).
4819 * HACKING:
4820   Add 'Compiler options & warnings' section.
4821   Update Style section to be clearer about code alignment and show
4822   some example code.
4823   Other minor edits.
4824
4825
48262009-09-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4827
4828 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4829   src/plugindata.h, src/plugins.c, src/editor.c,
4830   plugins/geanyfunctions.h:
4831   Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
4832   sci_is_marker_set_at_line() to the plugin API (thanks to Yura
4833   Siamashka).
4834   Add sci_toggle_marker_at_line().
4835   Fix SciFuncs alignment.
4836
4837
48382009-09-11  Lex Trotman  <elextr(at)gmail(dot)com>
4839
4840 * src/build.c:
4841   Fix erroneous free of returned string in prepare_run_script.
4842
4843
48442009-09-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4845
4846 * data/filetypes.latex:
4847   Changing default value for showing pdf and dvi to ensure to take
4848   *.pdf and *.dvi file.
4849
4850
48512009-09-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
4852
4853 * src/about.c, THANKS:
4854   Change language string for Slovenian translation.
4855
4856
48572009-09-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4858
4859 * tagmanager/txt2tags.c:
4860   Fix multi-byte character constant comparison.
4861 * src/treeviews.c:
4862   Fix Gtk warning when trying to update documents popup menu item
4863   sensitivity before they exist.
4864
4865
48662009-09-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4867
4868 * src/plugins.c:
4869   Improve the opening string in the plugin manager dialog.
4870 * doc/geany.css:
4871   Use "max-width" to set the document width of the generated
4872   HTML documentation to let the text be auto-wrapped.
4873 * src/prefs.c, src/tagmanager/include/guregex.h,
4874   src/tagmanager/include/tm_tagmanager.h:
4875   Remove trailing spaces (patch by André Hentschel, thanks).
4876 * src/treeviews.c:
4877   Fix a compiler warning.
4878 * src/document.c:
4879   Fix crash when opening documents.
4880 * src/build.c, src/build.h, src/project.c:
4881   Adjust coding style (no code changes).
4882 * src/build.c, src/project.c:
4883   Use NZV() macro instead of strlen() to check for empty strings.
4884   Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
4885 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
4886   src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
4887   src/plugins.c, THANKS:
4888   Add new plugin signal: "document-before-save".
4889   Add get_line_end_position(), set_target_start(), set_target_end(),
4890   replace_target() to the plugin API
4891   (patch by Eugene Arshinov, thanks).
4892   Add new plugin signal: "document-filetype-set" (closes #2852286).
4893 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
4894   src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
4895   tagmanager/Makefile.am, tagmanager/makefile.win32,
4896   tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
4897   wscript, THANKS:
4898   Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
4899
4900
49012009-09-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4902
4903 * src/treeviews.c, src/document.c:
4904   Apply patch from Thomas Martitz to improve sidebar type-ahead code:
4905   Use gtk_notebook_set_current_page() instead of
4906   document_open_file_full() when choosing an item from the documents
4907   list.
4908   Avoid using goto in document_open_file_full().
4909
4910
49112009-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4912
4913 * src/treeviews.c, src/document.c, src/document.h, THANKS:
4914   Enable type-ahead find for sidebar symbols and documents tabs
4915   (patch by Thomas Martitz, thanks).
4916 * src/build.c:
4917   Fix 2 free's of possibly uninitialized pointers.
4918
4919
49202009-09-03  Lex Trotman  <elextr(at)gmail(dot)com>
4921
4922 * src/build.c, src/filetypes.h, src/filetypes.c:
4923   Only write filetype config files when build command or regex is
4924   actually changed.  Removed commented code in src/filetypes.c.
4925 * src/build.c:
4926   Ensure uses of filename are protected against nulls when running
4927   a build command and give status message if not.
4928
4929
49302009-09-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4931
4932 * src/plugins.c:
4933   Remove plugin from plugin manager dialog on unloading if it no
4934   longer exists or is incompatible.
4935
4936
49372009-08-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4938
4939 * src/plugins.c:
4940   Add warning if only one of the plugin_key_group[_info] symbols is
4941   defined for a plugin.
4942 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
4943   src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
4944   TODO:
4945   Merge custom-filetypes branch:
4946   Support adding custom filetype files e.g. filetypes.Foo.conf.
4947 - Code:
4948   Allow GeanyFiletype::extension to be NULL.
4949   Add note about using GeanyFiletype pointer instead of filetype_id
4950   for filetypes.c function arguments.
4951   Replace styleset_none() with styleset_default().
4952
4953
49542009-08-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4955
4956 * src/prefs.c:
4957   Show the sidebar if either the documents or the symbols list are
4958   enabled (related to #1876107).
4959
4960
49612009-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
4962
4963 * src/build.c, src/filetypes.c:
4964   Fix compiler warnings.
4965 * src/utils.c:
4966   Fix removing leading double slashes in filenames which are used for
4967   network resources on Windows (closes #2844085).
4968
4969
49702009-08-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
4971
4972 * src/keybindings.c:
4973   Fix Make keybindings (patch by Lex Trotman, thanks).
4974 * src/geany.h:
4975   Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
4976 * doc/plugins.dox:
4977   Mention Files link at top for header files; demoplugin.c.
4978   Minor edits; remove 'far from being complete'.
4979 * src/keyfile.c, src/keyfile.h, src/main.c,
4980   data/filetype_extensions.conf, HACKING:
4981   Remove --generate-data-files argument & code - just edit
4982   filetype_extensions.conf by hand (filetype order was broken
4983   anyway).
4984   Add *.H extension for C++ (useful for non-Windows systems).
4985
4986
49872009-08-27  Lex Trotman  <elextr(at)gmail(dot)com>
4988
4989 * src/build.c:
4990   Fix implementation of loading old project files with base
4991   directories. Use project_make_base_path instead of re-
4992   implementing.  Now depends on project.c reading base dir
4993   prior to calling load_build_menu.
4994 * src/build.c:
4995   Change usage of project base directory to conform with
4996   previous documented behavior when loading old project files.
4997 * src/build.c:
4998   Change make custom and make object to ignore make in base path
4999   when reading old project file settings.  Changed some indent
5000   spaces to tabs. Fix missing compile menu accelerator.
5001
5002
50032009-08-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5004
5005 * doc/plugins.dox:
5006   Add warning about not using undocumented features.
5007   Add reference to HACKING for plugin API development.
5008 * HACKING:
5009   Add section 'Plugin API/ABI design'.
5010 * src/keybindings.h, src/makefile.win32, src/project.h,
5011   src/filetypes.h, src/Makefile.am, wscript:
5012   Use GEANY_PRIVATE to hide some fields from plugins.
5013 * src/build.c:
5014   Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
5015 * src/build.c, src/build.h, src/project.c:
5016   Use build_ prefix for 3 functions in build.h; add a static modifier.
5017
5018
50192009-08-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5020
5021 * tagmanager/php.c:
5022   Improve parsing of PHP functions by requiring a valid modifier or
5023   whitespace before the 'function' keyword to ignore some false
5024   positives like function tags inside comments
5025   (patch by Harold Aling, thanks).
5026 * tagmanager/python.c:
5027   Don't parse comments after import statements and other tags
5028   (closes #2838938, patch by Huandari Lopez, thanks).
5029
5030
50312009-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5032
5033 * data/filetypes.markdown:
5034   Add filetypes.markdown for configuration (thanks to Jon Strait).
5035 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
5036   src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5037   plugins/geanyfunctions.h:
5038   Remove GeanyKeyGroup struct from the API - plugins should not set
5039   these fields.
5040   Make keybindings_set_item() duplicate the name and label fields
5041   (needed by GeanyLua) and return a keybinding pointer.
5042   Add keybindings_get_item() to the API (in case it's useful).
5043   Move some keybinding code out of plugin source files.
5044
5045
50462009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5047
5048 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
5049   Don't generate build.h API docs until everything is approved and
5050   functions are actually in geany_functions.
5051   Move new GeanyFiletype and GeanyProject field(s) to end of struct
5052   as they may be changed or made private later.
5053   Break ABI for fields removed.
5054
5055
50562009-07-30  Lex Trotman  <elextr(at)gmail(dot)com>
5057
5058 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
5059   src/keyfile.c, src/project.c:
5060   Changed names of symbols visible in build API to GEANY_xxx.
5061
5062
50632009-07-29  Lex Trotman  <elextr(at)gmail(dot)com>
5064
5065 * src/project.h, src/project.c, src/build.c:
5066   Remove make_in_base_dir and run_cmd fields from project structure.
5067   Replaced by build functionality.  Remove incorrect use in src/build.c
5068   build_run_cmd function.
5069
5070
50712009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
5072
5073 * src/project.h, src/project.c:
5074   Removed unused project_get_make_dir function, this is now per
5075   command.
5076
5077
50782009-07-28  Lex Trotman  <elextr(at)gmail(dot)com>
5079
5080 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
5081   src/filetypes.c:
5082   Fix some more warnings.
5083   Fix commented out execute/stop toolbar code in build.c.
5084   Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
5085   Changed build.h api so all functions prefixed with build_.
5086
5087
50882009-07-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5089
5090 * src/build.c, src/build.h, src/project.c:
5091   Fix some gcc warnings with '-Wall -W -ansi' enabled.
5092
5093
50942009-07-25  Lex Trotman  <elextr(at)gmail(dot)com>
5095
5096 * src/build.c:
5097   Fixed leaks and crashes due to inconsistent use of static vs dynamic
5098   strings when reading old format configuration & project files.
5099 * src/build.c, src/project.c:
5100   Fixed GLib array assertion warnings when no project filetypes are
5101   available to be saved.
5102
51032009-07-24  Lex Trotman  <elextr(at)gmail(dot)com>
5104
5105 * src/build.c:
5106   Fix build warnings.
5107
5108
51092009-07-22  Lex Trotman  <elextr(at)gmail(dot)com>
5110
5111 * src/build.h, src/build.c, src/project.c:
5112   Created and documented plugins interface to build menu.
5113   Factored out new get_cmd_group function.
5114   Changed name of remove_command function to be consistent with the
5115   rest of the interface & changed calls in project.c.
5116 * src/Makefile.am, wscript:
5117   Added build.h to installed files lists.
5118
51192009-07-20  Lex Trotman  <elextr(at)gmail(dot)com>
5120
5121 * doc/geany.txt:
5122   Updated manual to match build-menu capability.
5123
5124
51252009-07-19  Lex Trotman  <elextr(at)gmail(dot)com>
5126
5127 * src/build.c, src/build.h:
5128   Added set_build_non_ft_wd_to_proj() for use by project dialog.
5129   Improved interpretation of run_in_base_dir from old [build-settings]
5130   Added spacing to build commands dialog
5131 * src/project.c:
5132   Removed run in base path option from project dialog and added button
5133   to set working directories to d the same.
5134
5135
51362009-07-18  Lex Trotman  <elextr(at)gmail(dot)com>
5137
5138 * src/build.c:
5139   Re-incorporated toolbar changes in trunk accidently excluded in merge
5140
51412009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
5142
5143 * src/build.c:
5144   Fixed substitute %f etc in commands
5145   Fixed potential leak in build_replace_placeholder
5146   Fixed leak in prepare_run_script (Thanks for patch Thomas)
5147   Fixed build_replace_placeholder to not require document.
5148
51492009-07-17  Lex Trotman  <elextr(at)gmail(dot)com>
5150
5151 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
5152   Fixed crash and lots of warnings, deleted some commented out code.
5153 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
5154   Removed make command from preferences and associated code
5155
51562009-07-16  Lex Trotman  <elextr(at)gmail(dot)com>
5157
5158 * src/build.c, src/build.h:
5159   Incorporated patch for working directory field (thanks Thomas)
5160   Removed run_in_base_dir option and associated code that it replaces
5161   Improved handling of old config files and mapping to new ones.
5162
51632009-07-15  Lex Trotman  <elextr(at)gmail(dot)com>
5164
5165 * src/build.h, src/build.c:
5166   Changed to itterate over entries in build commands dialog to allow
5167   additional fields to be added
5168   Implement support for multiple run commands
5169 * data/filetypes.latex:
5170   Implement configured commands and labels for latex.
5171
5172
51732009-07-14  Lex Trotman  <elextr(at)gmail(dot)com>
5174
5175 * src/build.h, src/build.c:
5176   added dialog support for error regular expressions from multiple
5177   sources and storing and loading them fixed some typos and memory
5178   leaks
5179 * src/filetypes.c, src/filetypes.h, project.c:
5180   added support for using error regexes from multiple sources
5181
5182
51832009-07-11  Lex Trotman  <elextr(at)gmail(dot)com>
5184
5185 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
5186   src/project.c:
5187   Removal of build menu item source made redundant by the following fix
5188 * src/build.c:
5189   Corrected priority oreder and loading of filetype dependent build
5190   menu items saved in the project file.  Added print routine for
5191   debugging command sources and priorities set compile symbol
5192   PRINTBUILDCMDS true to enable
5193
51942009-07-10  Lex Trotman  <elextr(at)gmail(dot)com>
5195
5196 * src/build.c:
5197   fixed problem loading old format filetype files, some formatting
5198   fixes fixed saving new format files
5199   added operation for clear button on build commands dialog
5200 * src/filetypes.c:
5201   fixed loading and saving filetype files
5202
5203
52042009-07-09  Lex Trotman  <elextr(at)gmail(dot)com>
5205
5206Configurable Build Menu Changes
5207
5208 * doc/geany.html, doc/geany.txt:
5209   Updated build menu section to new functionality
5210 * src/build.h, src/build.c:
5211   Largly re-written, configurability added, Latex code removed
5212 * src/filetypes.h, src/filetypes.c:
5213   Filetype structure updated to add new command pointers, configuration
5214   load and store changed
5215 * src/keybindings.h, src/keybindings.c:
5216   Changed to address new command storage structure.
5217 * src/keyfile.c:
5218   Changed to load/store new configuration.
5219 * src/main.c:
5220   Minor change to initialisation order.
5221 * src/msgwindow.c:
5222   Changed to address new menu item storage structure.
5223 * src/project.h, src/project.c:
5224   Changed to load/store the new configuration info.
5225
52262009-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5227
5228 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
5229   src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5230   doc/pluginsymbols.c, plugins/geanyfunctions.h,
5231   plugins/splitwindow.c:
5232   Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
5233   GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
5234   the ABI when adding fields to them.
5235   Add plugin_set_key_group() for plugins to dynamically set a
5236   keybinding group (e.g. for the Lua script plugin). Used in Split
5237   Window plugin as an example.
5238   Improve keybinding docs a little.
5239
5240
52412009-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5242
5243 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
5244   Add geanyfunctions.h to API docs.
5245 * plugins/splitwindow.c:
5246   Set the cursor color for the split window.
5247
5248
52492009-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5250
5251 * src/callbacks.c:
5252   Fix 'Open Selected File' for unsaved new documents.
5253 * src/keybindings.c, src/keybindings.h, src/prefs.c:
5254   Fix updating main menu accelerators after changing keybindings
5255   (thanks to Lex Trotman).
5256 * src/callbacks.c:
5257   Fix using 'Insert date' keybinding when a custom date string has
5258   not been set.
5259 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5260   Merge Plugin and GeanyPluginPrivate structs.
5261
5262
52632009-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5264
5265 * src/keybindings.c:
5266   Fix non-working Home and End keys on numpads.
5267
5268
52692009-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5270
5271 * doc/geany.txt, doc/geany.html, NEWS:
5272   Add 'Scope autocompletion' section.
5273   Add 'Tools menu items' section to explain configuration files
5274   submenu, reload configuration item.
5275   Minor updates/fixes.
5276
5277
52782009-08-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5279
5280 * src/document.c:
5281   Add a translation hint to an ambiguous format string.
5282 * src/Makefile.am:
5283   Add missing include path to fix 'make distcheck'.
5284 * src/win32.c:
5285   Fix opening of local files in the browser on Windows.
5286 * New release: Geany 0.18 "Kaine".
5287 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
5288   src/geany.h, doc/geany.html, doc/geany.txt:
5289   Post-release version bump.
5290
5291
52922009-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5293
5294 * src/editor.c:
5295   Temporarily disable reshowing calltips when the autocompletion
5296   list was closed implicitly by not choosing an item to fix
5297   problems with wrongly displayed calltips.
5298 * src/template.c:
5299   Add missing 'coding' cookie to the Python filetype template.
5300 * doc/images/pref_dialog_edit_completions.png,
5301   doc/images/pref_dialog_toolbar.png:
5302   Update images for Geany 0.18.
5303
5304
53052009-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5306
5307 * wscript:
5308   Add command '--hackingdoc' to create the HTML form of the
5309   HACKING file.
5310
5311
53122009-08-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5313
5314 * po/pt_PT.po, po/LINGUAS:
5315   Added a first Portugese (Portugal) translation based on work done at
5316   launchpad by e.g. André Glória and Alexandre Jesus.
5317 * src/main.c: Fix a minor typo on --help call.
5318
5319
53202009-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5321
5322 * src/highlighting.c:
5323   Call get_keyfile_wordchars() in highlighting_init_styles().
5324
5325
53262009-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5327
5328 * data/filetypes.ada:
5329   Add missing file.
5330 * src/keybindings.c:
5331   Switching notebook tabs now works for the currently used notebook
5332   widget instead of always using the documents notebook.
5333 * src/document.c, src/document.h, src/documentprivate.h,
5334   doc/plugins.dox:
5335   Small corrections to some API docs.
5336
5337
53382009-08-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5339
5340 * src/build.c, src/win32.h, src/win32.c:
5341   Expand system environment variables (%variableName%) on Windows when
5342   running Build commands.
5343
5344
53452009-07-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5346
5347 * src/keybindings.c:
5348   Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
5349   future using an indent block is more useful e.g. for ChangeLog
5350   files.
5351 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
5352   scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
5353   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
5354   src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
5355   tagmanager/parsers.h, tagmanager/makefile.win32,
5356   tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
5357   Add Markdown filetype (patch by Jon Strait, thanks).
5358 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
5359   Fix disconnecting plugin signal id when not using geany_object.
5360 * src/filetypes.c:
5361   Add filetype_make_title() instead of using:
5362   ft->title = g_strdup_printf(_("%s source file"), ft->name);
5363   It also supports "%s file" strings.
5364
5365
53662009-07-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5367
5368 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
5369   src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5370   doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
5371   plugins/filebrowser.c:
5372   Add plugin_signal_connect() for connecting plugin signals at
5373   runtime and also for connecting to any GObject signal.
5374   Add 'Plugin Utility Functions' on main page.
5375   Add foreach_array() macro.
5376 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
5377   src/document.c, src/editor.c:
5378   Rename 3 sci functions to sci_set_target_start(),
5379   sci_set_target_end(), sci_replace_target() to match the SCI_
5380   message name.
5381
5382
53832009-07-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5384
5385 * wscript: Fix compiling error with waf.
5386
5387
53882009-07-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5389
5390 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
5391   src/pluginutils.c, src/plugins.c, src/pluginutils.h,
5392   src/Makefile.am, wscript:
5393   Move plugin_* utility functions to pluginutils.c.
5394   Add pluginprivate.h.
5395 * src/editor.c:
5396   Fix reshowing calltip in the wrong document.
5397
5398
53992009-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5400
5401 * doc/geany.txt, doc/geany.html:
5402   Add some general information about auto-completion capabilities
5403   (patch by Lex Trotman, thanks).
5404
5405
54062009-07-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
5407
5408 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
5409   Added a first Slovenian translation. Thanks to Joze Klepec.
5410
5411
54122009-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5413
5414 * src/highlighting.c:
5415   Use full styleset_foo[_init] function name as argument to
5416   init_styleset_case() and styleset_case() macros so it's easier to
5417   understand the code.
5418 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
5419   src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
5420   doc/geany.txt, doc/geany.html:
5421   Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
5422   Heavily based on a patch by Eugene Arshinov (thanks).
5423   Add sci_lines_split(), sci_lines_join(), sci_text_width(),
5424   editor_strip_line_trailing_spaces().
5425
5426
54272009-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5428
5429 * src/editor.c:
5430   Attempt to fix reshowing calltips after the autocompletion list
5431   has been shown.
5432   Reshow calltips also when the autocompletion list was closed
5433   implicitly by not choosing an item.
5434
54352009-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5436
5437 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
5438   plugins/splitwindow.c:
5439   Change utils_str_remove_chars() to work in place; fix allocating on
5440   the stack (the string length could exhaust the stack size).
5441 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
5442   src/printing.c, src/callbacks.c:
5443   Rename utils_str_replace() utils_str_replace_all(), setting a
5444   'gchar **haystack' argument instead of returning a new string.
5445 * src/editor.c:
5446   For the Tabs indent type, remove spaces when unindenting (only) if
5447   there are no tabs on the line.
5448   Group undo actions for (un)indenting of multiple lines.
5449 * src/document.c, src/editor.c:
5450   Fix scrolling horizontally after finding a search match with the
5451   search bar or Find Next/Previous which is off-screen.
5452 * src/keybindings.c:
5453   Fix GLib warning when pressing a key with no documents open.
5454
5455
54562009-07-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5457
5458 * src/utils.c:
5459   Start unifying usage of @a and @c markup elements in API docs,
5460   to be continued.
5461 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
5462   Show/hide the toolbar without a restart when the setting in the
5463   preferences dialog is changed (closes #2824785).
5464 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
5465   src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
5466   src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
5467   src/toolbar.h:
5468   Continue unifying usage of @a and @c markup elements in API docs.
5469
5470
54712009-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5472
5473 * src/document.c:
5474   Remove relative/untidy path elements when creating new documents
5475   with a filename (e.g. from the command-line) (#2823998).
5476
5477
54782009-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5479
5480 * src/callbacks.c:
5481   Disable 'Recent Projects' menu item if the list of recent projects
5482   is empty.
5483 * src/win32.c:
5484   Fix some harmless compiler warnings.
5485 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
5486   src/plugins.c, src/utils.c, src/utils.h:
5487   Move utils_str_remove_chars() from the plugins/splitwindow.c to
5488   src/utils.c and add it to the plugin API.
5489   Make utils_str_remove_chars() work on a new copy of the input string
5490   instead of modifying it in place.
5491 * src/toolbar.c:
5492   Remove underscores from the toolbar items labels.
5493 * src/utils.c:
5494   Fix typos.
5495 * plugins/splitwindow.c:
5496   Fix broken 'Show the current document' tool button icon.
5497
5498
54992009-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5500
5501 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
5502   src/keyfile.c:
5503   Add stash_group_add_widget_property() so we can save any widget's
5504   read/write properties.
5505   Use Stash for ui_prefs.sidebar_page setting.
5506 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
5507   Make foreach_ptr_array() use an integer argument for its
5508   implementation, as this is more useful potentially than a gpointer*
5509   argument, and more straightforward.
5510   Add foreach_c_array(), foreach_ptr_array() to API.
5511 * src/utils.c, src/utils.h, src/document.c:
5512   Remove relative/untidy path elements when opening documents (closes
5513   #2823998).
5514 * src/treeviews.c:
5515   Fix showing project name for documents list files with no
5516   subdirectory (oops).
5517 * src/dialogs.c:
5518   Fix checking whether to overwrite when using the Rename button in
5519   the 'Save As' dialog.
5520
5521
55222009-07-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5523
5524 * src/dialogs.c:
5525   Don't use the main window as parent for dialog boxes if it is not
5526   yet realised.
5527   Set titles for message dialogs.
5528
5529
55302009-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5531
5532 * src/toolbar.c:
5533   Display item labels instead of raw names in the toolbar editor.
5534   Apply changes in the toolbar editor instantly.
5535   Show icons in the toolbar editor.
5536   Speed up toolbar editor dialog creation.
5537 * src/templates.c:
5538   Improve inserting of comment templates like File header or licence
5539   notices. The comment information are now read from the filetype
5540   configuration files.
5541
55422009-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5543
5544 * src/document.c:
5545   Enable file monitoring for files which are written to disk by Geany
5546   for the first time.
5547 * src/filetypes.c:
5548   Fix broken special case handling when detecting filetypes from a
5549   shebang or other special file headers.
5550
5551
55522009-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5553
5554 * src/search.c:
5555   Make Mark All keybinding clear search highlighting when there's no
5556   current word.
5557 * src/search.c:
5558   Fix wrong match length when using Mark with regex.
5559 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
5560   src/keyfile.c, src/main.c:
5561   Add 'Show Paths' documents list popup item.
5562   Add "load_settings" core-only signal emitted just after loading
5563   main keyfile settings; useful to delay building UI elements until
5564   settings have been read.
5565 * src/treeviews.c:
5566   Fix GTK warning when right-clicking on default tag tree.
5567 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
5568   Add treeviews_finalize().
5569   Remove tv.popup_openfiles field.
5570
5571
55722009-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5573
5574 * src/highlighting.c:
5575   Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
5576
5577
55782009-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5579
5580 * src/utils.c:
5581   Quote the uri before passing it to the browser when opening a
5582   website (closes #2818635).
5583 * src/win32:
5584   Fix broken 'builtin' Run command for HTML files on Windows.
5585
5586
55872009-07-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5588
5589 * src/editor.c:
5590   Properly fix wrong brace highlighting of non-brace character.
5591 * src/editor.c:
5592   Allow autocompletion in Perl double-quoted strings.
5593   Don't autocomplete in Perl single-quoted strings (closes #2821061).
5594   Don't autocomplete in Perl q() strings.
5595 * data/filetypes.common:
5596   Make Mark highlighting brighter.
5597 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
5598   Use hyphen for auto-feature terms.
5599 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
5600   src/document.h, src/main.c:
5601   Add documents_foreach() API macro that skips invalid docs.
5602   Make filetypes[], documents[] part of the API again.
5603   Add GEANY() macro for sharing geany symbols between API and core.
5604 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
5605   plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
5606   plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
5607   plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
5608   plugins/classbuilder.c, wscript:
5609   Add geanyplugin.h single include for plugin API; update all core
5610   plugins to use it.
5611   Add sci_set_font() to API.
5612   Update plugin howto.
5613 * src/filetypes.c, src/filetypes.h:
5614   Remove filetypes_foreach_named().
5615
5616
56172009-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5618
5619 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
5620   src/document.h, src/main.c, THANKS:
5621   Apply patch from Eugene Arshinov to reload color schemes via menu
5622   (thanks).
5623 * src/filetypes.c:
5624   Reload filetypes.common after saving it.
5625 * src/editor.c:
5626   Improve wrong brace highlighting of non-brace character.
5627
5628
56292009-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5630
5631 * src/editor.c:
5632   Delay highlighting matching braces by 100ms, which speeds up
5633   scrolling with the arrow keys.
5634 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
5635   Add 'Mark All' keybinding.
5636 * tagmanager/diff.c:
5637   Show relative paths in diff filename tags.
5638
5639
56402009-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5641
5642 * src/highlighting.c:
5643   Fix setting keyword list 'classes' for Haxe
5644   (pointed out by Andreas Mokros, thanks).
5645
5646
56472009-07-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5648
5649 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5650   doc/geany.txt, doc/geany.html, geany.glade:
5651   Add 'Drop rest of word on completion' pref.
5652 * src/editor.c, doc/geany.txt, doc/geany.html:
5653   If autocompletion is already visible when forcing completion, show
5654   document word completion instead of tag completion.
5655   Docs: Minor edits of related prefs items.
5656 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
5657   Add warning when printing and editor font is not monospaced.
5658   Fix using GtkMessageType instead of gint param for
5659   dialogs_show_msgbox*().
5660   Add missing G_GNUC_PRINTF macro check to API dialog funcs.
5661 * src/editor.c:
5662   Support 'tab indents, space aligns' style for auto-indentation
5663   (closes #2789109).
5664
5665
56662009-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5667
5668 * src/document.c, src/documentprivate.h:
5669   Rework the GIO based file monitoring code. Now it is used only
5670   to indicate a possible change of the file, the real check if the
5671   file has been changed is performed by stat().
5672 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
5673   Add style 'line_height' to increase the line height.
5674   Add style 'marker_mark' and change style 'marker_search' to
5675   define the style used for marked search results.
5676 * doc/geany.txt, doc/geany.html:
5677   Add the new 'Autocomplete all words in document' pref to the docs.
5678
5679
56802009-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5681
5682 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
5683   doc/geany.txt, doc/geany.html, geany.glade, TODO:
5684   Add 'Autocomplete all words in document' pref.
5685   Use 'autocompletion' in dialog and docs, not 'auto completion'.
5686 * src/editor.c:
5687   Fix limiting number of word completion entries too much.
5688 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
5689   icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
5690   Show autocompletion icons for tag symbols - for now only tags with
5691   an arglist have the 'function/method' icon, all others have the
5692   'variable' icon.
5693   Note: XPMs were created from the PNGs with the ImageMagick 'convert'
5694   program.
5695 * src/highlighting.c:
5696   Highlight D WYSIWYG backtick `strings` and r"strings" (closes
5697   #1895745).
5698
5699
57002009-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5701
5702 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
5703   Fix removing underscores in translated string using no_underscore()
5704   macro.
5705   Set a tooltip for the Split Window plugin's Show Current tool button.
5706   Add utils_strdupa() macro.
5707 * src/interface.c, geany.glade:
5708   Use stock Select All icon now we have >= GTK 2.8.
5709 * src/treeviews.c:
5710   Fix using project name for document items that start with the
5711   project base path but don't match it e.g. ".../geany-plugins"
5712   instead of ".../geany" when project name is 'geany'.
5713
5714
57152009-07-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5716
5717 * src/build.c:
5718   Fix warnings when the toolbar does not contain the Run button.
5719 * tagmanager/lua.c:
5720   Fix wrong parsing of complex expressions in the Lua parser.
5721 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
5722   src/utils.c:
5723   Remove unnecessary enums.
5724 * scintilla/*, scintilla/include/*, src/plugindata.h:
5725   Update Scintilla to version 1.79.
5726 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
5727   src/search.c:
5728   Use the new Scintilla struct names prefixed with 'Sci_'.
5729 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
5730   src/highlighting.c:
5731   Add second argument to the 'line_wrap_indent' styling setting to
5732   control the new Scintilla indentation mode for wrapped lines.
5733 * src/toolbar.c:
5734   Properly close the toolbar editor on delete-events.
5735   Fix warnings and possible crashes in the toolbar editor when the list
5736   of displayed toolbar items is empty.
5737 * data/filetypes.tcl:
5738   Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
5739 * src/plugins.c:
5740   Make the plugin manager dialog a bit bigger.
5741
5742
57432009-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5744
5745 * doc/geany.html, doc/geany.txt:
5746   Fix wrong default values for the 'Show Calltip' keybinding.
5747
5748
57492009-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5750
5751 * data/filetypes.tcl, src/symbols.c:
5752   Fix duplicate "context_action_cmd" key.
5753   Use different icons for "Methods" and "Procedures" in the symbol
5754   list for Tcl files.
5755 * src/filetypes.c:
5756   Fix a small memory leak.
5757 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
5758   src/keybindings.h, src/plugindata.h:
5759   Make the Scintilla keybindings 'Delete to end of line' and
5760   'Go to end of display line' configurable.
5761 * geany.nsi:
5762   Fix a typo (closes #2813624).
5763
5764
57652009-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5766
5767 * tagmanager/tcl.c, src/symbol.c:
5768   Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
5769   methods and namespaces).
5770   Patch by Witek Mozga, thanks.
5771
5772
57732009-06-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5774
5775 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
5776   src/toolbar.c, src/toolbar.h:
5777   Remove ui_toolbar.xml Configuration Files menu item.
5778   Add a real toolbar editor dialog.
5779 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
5780   src/prefs.c:
5781   Add a button in the preferences dialog and an item for the toolbar
5782   popup menu to run the toolbar editor dialog.
5783
5784
57852009-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5786
5787 * src/dialogs.c:
5788   Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
5789   Fix using locale encoding for default Save As dialog path.
5790 * src/editor.c:
5791   Beep when trying to activate the '...' autocompletion item.
5792   Limit (forced) document word completion to
5793   autocompletion_max_entries.
5794   Beep if no completions are shown when forcing autocompletion.
5795
5796
57972009-06-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5798
5799 * data/ui_toolbar.xml, src/toolbar.c:
5800   Add 'Build' toolbar button to the default layout.
5801
5802
58032009-06-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5804
5805 * src/editor.c:
5806   If forcing autocompletion and there's nothing else to show, complete
5807   from words in the current document (using code from Enrico's
5808   'AutoComplete Test' plugin).
5809
5810
58112009-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5812
5813 * src/plugins.c:
5814   Add debug message if plugin has not set a name for its keybinding
5815   group.
5816 * data/filetype_extensions.conf:
5817   Add *.m4 for shell scripts.
5818
5819
58202009-06-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5821
5822 * src/highlighting.c, doc/geany.txt, doc/geany.html,
5823   data/filetypes.common, TODO:
5824   Make filetypes.common named styles use the "default" named style for
5825   all missing style fields.
5826   Set named styles to usually leave the background style empty. This
5827   currently allows C-like filetypes to have a common default
5828   background color.
5829   Allow hard-coded colors to use -1 for the default color.
5830   Add some highlighting style examples to the manual.
5831
5832
58332009-06-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5834
5835 * src/templates.c:
5836   Create initial template files with proper platform-specific line
5837   ending characters.
5838
5839
58402009-06-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5841
5842 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
5843   src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
5844   src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
5845   src/ui_utils.c, src/ui_utils.h:
5846   Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
5847   saved within Geany.
5848   Refactor some related code.
5849 * tagmanager/conf.c:
5850   Strip trailing spaces from "Key" tags.
5851 * geany.nsi:
5852   Quote the full filename to the Geany executable when creating the
5853   "Open with Geany" context menu item.
5854 * plugins/splitwindow.c:
5855   Avoid using deprecated GTK API.
5856 * src/log.c, src/main.c:
5857   Properly clean up the logging mechanism.
5858 * src/build.c:
5859   Fix LaTeX view commands on Windows (part of #2807688).
5860 * src/prefs.c:
5861   Add a popup menu for the keybinding list in the preferences dialog
5862   to easily expand and collapse all groups.
5863   Refactor the keybindings code for the preferences dialog, prefix all
5864   related functions.
5865 * src/main.c, src/ui_utils.c, src/ui_utils.h:
5866   Init stock items before creating the toolbar (closes #2809324).
5867 * wscript:
5868   Generate the geany.pc file also on Windows.
5869 * src/ui_utils.c:
5870   Invert the logic to determine which Save All we want to use:
5871   Use the Tango like icon only for the Tango theme and the Gnome / GTK
5872   like icon for any other themes.
5873
5874
58752009-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5876
5877 * src/highlighting.c, README.Packagers, HACKING:
5878   Remove gsd_* default styles, use named styles instead.
5879   Note: this relies on filetypes.common being installed.
5880   Add load_style_entries(), which makes style initialization
5881   simpler, used in styleset_c_like_init().
5882
5883
58842009-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5885
5886 * src/win32.c:
5887   Prevent possible crash on Windows when not setting an initial
5888   directory for native File Open/Save dialogs.
5889 * data/filetypes.xml, src/highlighting.c:
5890   Add style 'jscript_regex' for filetype HTML
5891   (patch by Chris Macksey, thanks).
5892
5893
58942009-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5895
5896 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
5897   Make GeanyDocument::file_type always be non-NULL, even for a new
5898   document with no filetype set.
5899 * src/editor.c:
5900   Only autocomplete scope for scopes matching the current filetype's
5901   language.
5902 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
5903   data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
5904   data/filetypes.actionscript, data/filetypes.cs,
5905   data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
5906   data/filetypes.javascript, HACKING:
5907   Make C++, D lexer filetypes use named styles (apart from uuid,
5908   verbatim, regex styles).
5909
5910
59112009-06-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5912
5913 * src/dialogs.c:
5914   Don't explicitly change the current directory of the Save As dialog
5915   so that it uses the last used directory.
5916
5917
59182009-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5919
5920 * src/encodings.c, src/encodings.h, src/plugindata.h:
5921   Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
5922 * src/editor.c:
5923   Remove dead code.
5924   When completing from the macro list, put the cursor after
5925   the inserted text.
5926
5927
59282009-06-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5929
5930 * tagmanager/pascal.c:
5931   Fix type definitions being parsed as functions.
5932 * src/editor.c:
5933   Don't autocomplete in unterminated strings as well.
5934 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
5935   src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
5936   Remove data_ptr argument to foreach_[s]list() macros, as using
5937   node->data is enough sometimes; this makes the macro a bit more
5938   efficient too.
5939   Add foreach_[s]list() macros to the plugin API docs.
5940
5941
59422009-06-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5943
5944 * scintilla/LexPascal.cxx:
5945   Backport fix from Scintilla CVS:
5946   Pascal lexer hanging on file that starts with 'interface' after
5947   whitespace.
5948
5949
59502009-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5951
5952 * waf:
5953   Update Waf to 1.5.7.
5954 * wscript:
5955   Overwrite installation prefix on Windows only if it wasn't
5956   specified explicitly.
5957
5958
59592009-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5960
5961 * src/editor.c:
5962   Display calltips for Pascal symbols in the Pascal way (#2803945).
5963 * tagmanager/pascal.c:
5964   Fix wrongly set return values for procedures (closes #2803945).
5965 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
5966   tagmanager/include/tm_source_file.h,
5967   tagmanager/include/tm_workspace.h:
5968   Fix doxygen warnings.
5969
5970
59712009-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5972
5973 * src/editor.c, tagmanager/include/tm_workspace.h,
5974   tagmanager/tm_workspace.c, TODO:
5975   Autocomplete scoped fields like struct members when typing '.' (and
5976   also '->' or '::' in C/C++).
5977   Save all tag types for C/C++ when generating a global tags file, so
5978   we can use autocompletion for structs also.
5979   Merge tm_workspace_find_scope_members(),
5980   tm_workspace_find_namespace_members() (currently not built) from
5981   Anjuta 2.24.1 tagmanager.
5982
5983
59842009-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5985
5986 * tagmanager/pascal.c:
5987   Parse Pascal calltips (closes #2802640).
5988
5989
59902009-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
5991
5992 * src/filetypes.c, src/ui_utils.c:
5993   Add filetypes.common Configuration Files menu item.
5994
5995
59962009-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
5997
5998 * src/callbacks.c:
5999   Add backslash to the wordchars on Windows when using
6000   'Open Selected File'.
6001 * src/wscript:
6002   Add support (configure, build and install) for building on Windows
6003   and cross-compiling for Windows using the Waf build system.
6004
6005
60062009-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6007
6008 * src/toolbar.c:
6009   Set status bar text instead of showing a dialog when saving
6010   ui_toolbar.xml because the user might save several times.
6011 * src/editor.c:
6012   Fix redrawing due to colourising just after the document is first
6013   drawn. Now colourising should happen before the first draw.
6014 * src/utils.c, src/highlighting.c, data/filetypes.common:
6015   Fix segfault on parsing a filetypes.* style definition that has < 4
6016   fields.
6017   Allow style definitions to have missing fields to use the default
6018   style fields.
6019
6020
60212009-06-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6022
6023 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
6024   Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
6025 * plugins/classbuilder.c:
6026   Fix wrongly created header guards when the class filenames contains
6027   dashes (patch by PCMan, thanks).
6028 * data/filetypes.matlab:
6029   Add build_settings section to allow executing Matlab scripts.
6030 * src/document.c:
6031   When closing a document, mark it as invalid before removing it from
6032   the documents notebook (this fixes wrong Save All button state when
6033   closing an unsaved document because the "switch-page" signal handler
6034   was using old data).
6035
6036
60372009-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6038
6039 * src/highlighting.c, doc/geany.txt, doc/geany.html:
6040   Support toggling bold/italic when using a named style, e.g.:
6041   commentdockeyword=commentdoc,bold,italic
6042   Improve named style docs.
6043
6044
60452009-06-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6046
6047 * src/build.c, src/editor.c:
6048   Fix crashes when parsing the output of a compiler which reports
6049   errors on line 0.
6050
6051
60522009-06-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6053
6054 * src/highlighting.c:
6055   Support named styles also for filetypes.common [styling] entries.
6056 * doc/geany.txt, doc/geany.html, HACKING:
6057   Update docs for named styles in filetypes.* files.
6058 * src/symbols.c:
6059   Fix grouping symbol list children when parent name has "." character
6060   in for reStructuredText and Conf filetypes.
6061 * tagmanager/python.c:
6062   Fix grouping functions/classes under a nested function.
6063
6064
60652009-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6066
6067 * geany.spec.in:
6068   Adjust icon paths (patch by Dominic Hopf, thanks).
6069 * doc/geany.txt, doc/geany.html, src/toolbar.c:
6070   Add 'Replace' toolbar button (closes #2798225).
6071
6072
60732009-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6074
6075 * src/utils.c, src/highlighting.c, TODO:
6076   Implement named styles support for filetypes.* using a
6077   filetypes.common [named_styles] section e.g.:
6078   foo=0xc00000;0xffffff;false;true
6079   bar=foo
6080   These can be used in e.g. filetypes.c as:
6081   comment=foo
6082
6083
60842009-05-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6085
6086 * src/ui_utils.c:
6087   Fix wrong sensitiveness of the Redo buttons (closes #2797862).
6088
6089
60902009-05-28  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6091
6092 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
6093   Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
6094
6095
60962009-05-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6097
6098 * src/build.c:
6099   Remove quote_executable() as it is not used anymore.
6100   When creating the geany_run_script.bat use the "%0" variable
6101   expansion and quote it for the "del" command (closes #2797172).
6102 * src/win32.c:
6103   On Windows, fallback to the literal build command line if searching
6104   for the command in the system path failed (related to #2795923).
6105   Properly terminate the resulting strings when reading the stdout
6106   and stderr of any spawned commands on Windows.
6107
6108
61092009-05-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6110
6111 * src/win32.c:
6112   Use the wide character versions of native Windows File dialogs.
6113 * src/project.c:
6114   Fix wrong initialisation of the default project path button callback
6115   in the preferences dialog.
6116 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
6117   geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
6118   icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
6119   icons/Makefile.am, icons/geany.ico, icons/scalable,
6120   icons/scalable/Makefile.am, icons/scalable/geany.svg,
6121   src/makefile.win32:
6122   Move the icons geany.png and geany.ico into the icons directory.
6123   Add a 16x16 pixel Geany icon and the scalable SVG icon.
6124   Drop the pixmaps directory.
6125
6126
61272009-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6128
6129 * src/keybindings.c:
6130   Improve MRU document switching so there are no duplicates in the
6131   list and documents switched to whilst the dialog is open are
6132   ignored. Also beep when cycling through to the first document in the
6133   list.
6134
6135
61362009-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6137
6138 * src/dialogs.c:
6139   Fix broken 'Cancel' button in the Save As dialog.
6140
6141
61422009-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6143
6144 * src/editor.c:
6145   Fix multiline indent when selection covers text on the last line.
6146 * src/notebook.c:
6147   Show current document in bold in tab popup menu.
6148 * src/editor.c, tagmanager/python.c, TODO:
6149   Parse Python calltips.
6150
6151
61522009-05-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6153
6154 * src/symbols.c, tagmanager/python.c:
6155   Parse Python import statements to get symbol completion for the
6156   imported module names.
6157 * src/editor.c, src/editor.h:
6158   Make some only locally used functions static.
6159   Fix wrong sanity check.
6160 * src/build.c:
6161   Fix quoting the build command string on Windows (closes #2791769).
6162   This broke when we made build commands run synchronously on Windows,
6163   now we don't need to special quote the commands anymore.
6164
6165
61662009-05-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6167
6168 * src/editor.c:
6169   Drop rest of word to the right of cursor when autocompleting (do we
6170   need a pref for this?).
6171
6172
61732009-05-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6174
6175 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
6176   Add sci_set_selection().
6177 * doc/geany.txt, doc/geany.html:
6178   Update manual for MRU switching.
6179 * src/callbacks.c, src/editor.c, src/editor.h:
6180   Make indenting with the Tabs indent type preserve spaces on the line,
6181   so it works for the 'tab indents, space aligns' formatting style.
6182
6183
61842009-05-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6185
6186 * tagmanager/python.c:
6187   Fix missing symbols for variables when an equal sign is used
6188   in a comment on the same line as the variable declaration.
6189   Backport change from CTags SVN to keep the parser more in sync:
6190   Add support for Cython constructs to the Python parser.
6191 * src/search.c:
6192   Remember the additional Find in Files search flags at startup.
6193 * src/dialogs.c:
6194   Don't close the Save As dialog when saving the file didn't succeed.
6195
6196
61972009-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6198
6199 * src/keyfile.c:
6200   Remember scribble cursor position.
6201 * src/keybindings.c, TODO:
6202   Implement Most-Recently-Used document switching when pressing
6203   Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
6204
6205
62062009-05-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6207
6208 * data/latex.tags: Added some more commands from unit.sty and
6209   moderncv.sty.
6210
6211
62122009-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6213
6214 * src/symbols.c, doc/geany.txt, doc/geany.html,
6215   tagmanager/makefile.win32, tagmanager/nestlevel.c,
6216   tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
6217   tagmanager/Makefile.am, wscript:
6218   Merge unstable branch:
6219   Add reStructuredText scope information for tags (for symbol list
6220   grouping).
6221   Read custom system global tags files from $prefix/share/geany/tags;
6222   Closes #2778923.
6223   Show the number of tags in a user global tags file (instead of the
6224   running total) in the debug message.
6225   Also print debug messages when loading a tag file manually or for
6226   default global tags files e.g. python.tags.
6227 - code:
6228   Move NestingLevel tags code into a separate file, add functions.
6229 - docs:
6230   Add 'Installation prefix' section instead of quoting '/usr/local'
6231   each time.
6232   Update for custom system global tags files.
6233
6234
62352009-05-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6236
6237 * src/highlighting.c:
6238   Unset maybe previously keywords when setting up Scintilla for
6239   XML files. This fixed wrong highlighting after switching back to
6240   filetype XML from another one.
6241 * src/utils.c:
6242   Use plain old fwrite() in utils_write_file(). g_file_set_contents()
6243   is only used when explicitly requested.
6244 * src/dialogs.c:
6245   Remove unnecessary call to g_intern_string() to fix build with
6246   GLib 2.8 (closes #2790051).
6247
6248
62492009-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6250
6251 * src/ui_utils.c:
6252   Make the clear icon of entry fields act on the release event, not
6253   on the press event like for other buttons.
6254 * src/editor.c:
6255   Refactor some multiple used code into get_multiline_comment_style().
6256 * src/main.c:
6257   Create parent directories if necessary when checking for the
6258   configuration directory on startup (closes #2784577).
6259
6260
62612009-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6262
6263 * plugins/filebrowser.c:
6264   When a filter is set, apply it only to files, not directories and
6265   apply the filter to the UTF-8 name of the file as the filter string
6266   itself is also UTF-8.
6267 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
6268   Add utils_color_invert() and use it in highlighting.c and printing.c.
6269 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
6270   Backport change from Scintilla CVS:
6271   Change capitalisation of header file to suit cross-compilation on
6272   Unix for Windows.
6273
6274
62752009-05-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6276
6277 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
6278   Update Scintilla to version 1.78.
6279 * src/editor.c, src/highlighting.c:
6280   Update Pascal styles as they changed in Scintilla.
6281
6282
62832009-05-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6284
6285 * src/printing.c:
6286   Ignore the invert syntax highlighting colours setting when printing
6287   to not print characters on a dark background (closes #2785244).
6288 * New release: Geany 0.17 "Wessex".
6289 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
6290   src/geany.h, doc/geany.html, doc/geany.txt:
6291   Post-release version bump.
6292
6293
62942009-04-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6295
6296 * src/callbacks.c, src/callbacks.h, src/main.c:
6297   Update the View->Fullscreen menu item when fullscreen state is
6298   changed externally (e.g. by the window manager).
6299 * src/project.c:
6300   Fix passing wrong pointer to the File Open dialog for the Run
6301   command in the Project Properties dialog.
6302
6303
63042009-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6305
6306 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
6307   src/ui_utils.h:
6308   Remember the active sidebar page between sessions.
6309 * src/project.c:
6310   Add a recent project item after creating a new project.
6311 * tagmanager/ruby.c:
6312   Fix wrong parsing of string literals (closes #2781264).
6313 * src/treeviews.c:
6314   Fix setting focus to the editor widget after changing the selection
6315   in the symbol list.
6316
6317
63182009-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6319
6320 * src/symbols.c:
6321   Prevent crashes when two or more top level items in the symbol
6322   list have the same name (closes #2778246).
6323
6324
63252009-04-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6326
6327 * src/keybindings.c:
6328   Manually show the main notebook tab bar menu when Shift-F10 is
6329   pressed. This broke when we disabled the default GTK tab bar menu.
6330 * src/document.c:
6331   Fix a crash when USE_GIO_FILEMON is enabled at closing a document
6332   which was reloaded shortly before.
6333 * src/editor.c:
6334   When the editor menu is opened by the Menu key, use the text cursor
6335   position for retrieving the current word. This fixes disabled
6336   Go to Tag items in the menu (#2780044).
6337 * src/treeviews.c:
6338   Set the "ellipsize" property of GtkCellRendererText to automatically
6339   shorten the path and file names in the Documents list.
6340 * doc/geany.html, doc/geany.txt, src/build.h:
6341   Increase the amount of highlighted build error messages to 100.
6342   At least for LaTeX we need higher values as there is a lot of
6343   informative output before any errors are reported.
6344 * src/filebrowser.c:
6345   Use the startup path as the initial directory for the filebrowser
6346   plugin when no project and no files are opened
6347   (patch by Matias Gea, thanks; closes #2780521).
6348
6349
63502009-04-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6351
6352 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
6353   src/utils.c, src/utils.h:
6354   Ellipsize tab labels and some status messages for very long
6355   filenames (closes #2777348).
6356 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
6357   Add utils_str_middle_truncate() and
6358   document_get_basename_for_display() to the plugin API.
6359 * doc/geany.html, doc/geany.txt, src/toolbar.c:
6360   Add new toolbar element: Print (patch by Roland Baudin, thanks).
6361 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
6362   src/keyfile.c:
6363   Add a hidden preference 'use_safe_file_saving' to save files to disk
6364   by creating a temporary file first. This has serious side effects,
6365   please read the documentation before enabling this.
6366 * src/build.c:
6367   Make build commands on Windows run synchronously to avoid problems
6368   with reading build commands' output.
6369 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
6370   Limit the amount of highlighted build error messages in the
6371   Compiler window to 50 for performance reasons.
6372
6373
63742009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6375
6376 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
6377   src/prefs.c:
6378   Replace our own GEANY_KEYS_MODIFIER_MASK by
6379   gtk_accelerator_get_default_mod_mask() which gives the same result.
6380 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
6381   tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
6382   Add a trivial symbol parser for NSIS files.
6383
6384
63852009-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6386
6387 * src/dialogs.c:
6388   Hide the extra file open dialog options in an expander to make the
6389   dialog more compact by default and to provide more space for the
6390   file view.
6391   Remove the filename field as it is also provided by GTK itself with
6392   more features like auto-completion.
6393   Watch the 'show-hidden' property of the file chooser widget using
6394   GObject's "notify" signal which gives accurate results and remove
6395   the hack using the "selection-changed" signal.
6396
6397
63982009-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6399
6400 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
6401   Prevent double execution of radio menu item "activate" or "toggled"
6402   signal handlers.
6403   Move 'Set Encoding' callback function into encodings.c.
6404
6405
64062009-04-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6407
6408 * src/project.c:
6409   Add some missing 'void's in function definitions.
6410   If the project base path is './', just use the path of the project
6411   config file instead of appending './'.
6412 * src/treeviews.c, src/project.c:
6413   When a project is loaded, replace the project base path with the
6414   project name in the Documents sidebar for parent items
6415   (closes #2723679).
6416
6417
64182009-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6419
6420 * src/keyfile.c, src/keyfile.h, src/project.c:
6421   Fix duplicating the recent files and projects lists when closing
6422   a project.
6423 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6424   src/editor.c, src/encodings.c, src/filetypes.c,
6425   src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6426   src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
6427   src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
6428   src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
6429   src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
6430   src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
6431   Remove all G_LIKELY macros inside g_return_if_fail() statements as
6432   this is redundant.
6433   Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
6434   sense to keep the code more readable.
6435
6436
64372009-04-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6438
6439 * src/symbols.c:
6440   When updating global type definitions for opened documents, take
6441   also C++ namespace symbols into account and don't ignore symbols
6442   which are defined inside a scope.
6443
6444
64452009-04-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6446
6447 * src/plugins.c:
6448   Don't show 'plugin is not binary compatible' messages on the status
6449   bar, only the status window.
6450
6451
64522009-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6453
6454 * src/socket.c:
6455   When opening files from a remote instance on X11, set the window
6456   server time to encourage window managers to pop up the main window
6457   (related to #2735467 and #2276179).
6458 * src/main.c:
6459   When finished sending filenames to a remote instance, notify the
6460   environment that we finished starting up.
6461
6462
64632009-04-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6464
6465 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
6466   Sort Configuration Files menu.
6467   Add ui_menu_sort_by_label().
6468   Add foreach_list() macro.
6469 * src/editor.c:
6470   Fix autocompletion.
6471
6472
64732009-04-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6474
6475 * src/main.c:
6476   Fix setting a wrong default window size when starting without an
6477   existing configuration.
6478 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
6479   Make editor_highlight_braces() static.
6480   Remove unused wrapper functions.
6481 * src/editor.c, src/symbols.c, src/symbols.h:
6482   Prevent showing an empty macro list.
6483   Show only macros of the same filetype instead of all macros of all
6484   loaded filetypes.
6485 * src/ui_utils.c:
6486   Don't add opened project files to the GtkRecentManager.
6487
6488
64892009-04-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6490
6491 * src/editor.c:
6492   Add Configuration Files item for snippets.conf.
6493 * src/highlighting.c, src/symbols.c:
6494   Fix 2 old uses of filetype IDs.
6495
6496
64972009-04-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6498
6499 * src/interface.c, src/printing.c, geany.glade:
6500   Minor string improvements (spotted by Jean-Philippe Moal, thanks).
6501
6502
65032009-04-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6504
6505 * src/ui_utils.c:
6506   Add sanity checks in ui_lookup_widget() just to be safe.
6507 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
6508   src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
6509   src/project.h, src/ui_utils.c, src/ui_utils.h:
6510   Add "Recent Projects" menu to the Project menu
6511   (#2728630, patch by Elias Pschernig, thanks).
6512 * doc/geany.txt, doc/geany.html:
6513   Describe how to build Geany using the Waf build system.
6514 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
6515   src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
6516   src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
6517   src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
6518   src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
6519   src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
6520   src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
6521   src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
6522   src/utils.c, src/utils.h, src/vte.c:
6523   Start using G_LIKELY/G_UNLIKELY macros to gain a little more
6524   performance when building the code with gcc.
6525 * src/highlighting.c:
6526   Fix typo in the G_LIKELY checks, introduced in last commit.
6527   Fix the size of the styles array.
6528 * src/document.c:
6529   Show a message dialog when renaming a file fails.
6530
6531
65322009-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6533
6534 * src/build.c:
6535   Remove checks for the .pdf or .dvi files when viewing a LaTeX file
6536   (as we did for all other files in SVN r3382).
6537
6538
65392009-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6540
6541 * src/filetypes.c, doc/geany.txt:
6542   Move ActionScript to the Script group.
6543   Fix wording & typo.
6544 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
6545   src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
6546   src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
6547   plugins/htmlchars.c:
6548   Merge reorder-filetypes branch:
6549   Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
6550   append randomly without breaking the ABI).
6551   Make None filetype name = title = _("None").
6552   Add foreach_slist() macro.
6553   Add filetypes_by_title list to GeanyData for plugin API access
6554   - a list of filetype pointers, which includes the None filetype
6555   first. This list stays constant by the time plugins are initialized,
6556   so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
6557   index the sorted list.
6558
6559
65602009-03-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6561
6562 * doc/geany.txt, doc/geany.html, src/main.c:
6563   Add widget names for the menubar and toolbar.
6564 * src/msgwindow.c:
6565   When hiding the messages window, set the input focus back to the
6566   editor widget (part of #1910393).
6567
6568
65692009-03-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6570
6571 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
6572   Backport recent changes from Scintilla CVS to add partial support
6573   for RFC2822 styled text using the Properties lexer.
6574   Ignore leading whitespace for config files and RFC2822 text.
6575 * data/filetypes.actionscript:
6576   Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
6577 * THANKS, src/treeviews.c:
6578   Display file/directory icons in the Documents sidebar
6579   (patch by Simon Treny, thanks).
6580
6581
65822009-03-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6583
6584 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6585   src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
6586   src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
6587   Add an option to allow appending the toolbar to the main menu bar
6588   to save some vertical space.
6589   Allow setting toolbar icon size to very small (menu icon size).
6590
6591
65922009-03-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6593
6594 * src/keyfile.c, src/utils.c, src/utils.h:
6595   Add utils_path_skip_root(), a relative path safe variant of
6596   g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
6597 * src/keyfile.c, src/main.c:
6598   Allow negative window coordinates when saving and restoring the
6599   position of the main window.
6600   Restore the main window position and size *after* the window has
6601   been realised to get it positioned accordingly
6602   (this affects at least Windows).
6603
6604
66052009-03-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6606
6607 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
6608   Use g_win32_get_package_installation_directory_of_module() on Windows
6609   with newer GLib versions instead of deprecated API.
6610 * src/keybindings.c:
6611   Don't manage the last used documents list when quitting to prevent
6612   errors by accessing invalid memory (may close #2533990).
6613
6614
66152009-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6616
6617 * src/build.c:
6618   Delete the geany_run_script.sh immediately after execution
6619   to prevent leaking old copies when the script was quit unexpectedly
6620   (closes #2710482, patch by Martin Olsson, thanks).
6621 * src/keyfile.c:
6622   Check whether skipping the root element of a document's filename
6623   succeeded and use the filename itself if not (e.g. on relative
6624   filenames, #2702844).
6625   Use the locale encoded filename when saving session files.
6626 * src/callbacks.c:
6627   Re-set the quitting status after all documents have been closed on
6628   quitting.
6629
6630
66312009-03-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6632
6633 * plugins/htmlchars.c:
6634   Remove usage of deprecated sci_get_selected_text() from plugin.
6635
6636
66372009-03-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6638
6639 * src/callbacks.c:
6640   Delay disk file checks when switching between documents a little
6641   bit to avoid fast, unintentional page switching in some cases.
6642 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
6643   src/sciwrappers.c, src/sciwrappers.h:
6644   Deprecate sci_get_text(), sci_get_selected_text() and
6645   sci_get_text_range().
6646   Add sci_get_contents(), sci_get_contents_range() and
6647   sci_get_selection_contents() as replacement functions to provide
6648   an easier and cleaner API (initial patch by Frank).
6649
6650
66512009-03-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6652
6653 * tagmanager/css.c:
6654   Fix wrong parsing of CSS tags when the definition block starts on
6655   a new line (reported by Dominic Hopf, thanks).
6656
6657
66582009-03-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6659
6660 * plugins/htmlchars.c:
6661   Extend plugin by feature to bulk replace and replace on input for
6662   special characters to their HTML entities.
6663
6664
66652009-03-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6666
6667 * src/build.c:
6668   Update build menu items after changing anything in the
6669   'Set Includes and Arguments' dialog.
6670   Disable Compile/Run buttons/menu items when Compile/Run commands are
6671   set but empty.
6672   Reset current build directory to the base directory after reading a
6673   "Leaving directory" message when parsing Make output
6674   (closes #2694479, patch by Andrea Mazzoleni, thanks).
6675 * src/notebook.c:
6676   Fix wrong display of the filename in the tab bar menu for new files.
6677 * src/dialog.c:
6678   Set the initial directory for the Save As dialog only once on
6679   initialisation.
6680   Add a shortcut of the project's base directory to the
6681   File Open/Save As dialogs when a project is open for faster access.
6682 * src/splitwindow.c:
6683   Add keybindings for the split actions.
6684
6685
66862009-03-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6687
6688 * src/search.c:
6689   When using Find All in the Find dialog (in Session and Document),
6690   display the right amount of matches.
6691   Fix the display of the matches once per line (I broke the original
6692   patch).
6693 * src/ui_utils.c:
6694   Fix wrong directory selection behaviour in all Open Folder dialogs
6695   (closes #2688020, patch by Marcel Stimberg, thanks).
6696 * src/socket.c:
6697   Don't present the main window of a running instance when starting
6698   a second instance separately.
6699
6700
67012009-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6702
6703 * src/socket.c:
6704   Reduce default file permissions on the Unix Domain socket file
6705   (reported by Jörg Sommer, thanks).
6706
6707
67082009-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6709
6710 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
6711   src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
6712   src/prefs.h:
6713   Add an option to set an additional plugin lookup path.
6714 * src/search.c:
6715   When using Find All in the Find dialog, display matches only once
6716   per line in the messages window (patch by Bert Vermeulen, thanks).
6717
6718
67192009-03-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6720
6721 * data/filetype_extensions.conf, data/filetypes.actionscript,
6722   src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
6723   src/highlighting.c, src/plugindata.h, src/symbols.c,
6724   tagmanager/Makefile.am, tagmanager/actionscript.c,
6725   tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
6726   Add filetype ActionScript (patch by Chris Macksey, thanks).
6727   Update type keywords only for real C-like languages.
6728   Fix wrong sorting of Assembler and Ada filetypes.
6729 * plugins/classbuilder.c:
6730   Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
6731   Other minor cleanups.
6732
6733
67342009-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6735
6736 * src/notebook.c:
6737   Don't use menu item images for the tab bar menu to save some
6738   vertical space.
6739 * data/filetypes.fortran, tagmanager/fortran.c:
6740   Add keyword 'extends' and fix Fortran parser to support the
6741   'extends' keyword (closes #2654492).
6742 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
6743   src/search.c, src/toolbar.c:
6744   Fix punctuation.
6745
6746
67472009-03-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6748
6749 * src/about.c, THANKS:
6750   Added Jari Rahkonen to list of Finnish translators.
6751
6752
67532009-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6754
6755 * geany.pc.in:
6756   Adjust minimum required GTK version.
6757 * src/Makefile.am, wscript:
6758   Add main.h to the list of installed header files.
6759 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
6760   src/notebook.c, src/ui_utils.c:
6761   Remove GeanyDocumentPrivate::tabmenu_label.
6762   Disable the default tab bar menu for the main notebook widget and
6763   use a custom menu instead which lists all open files as usual plus
6764   'Close Other Documents' and 'Close All' menu items.
6765
6766
67672009-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6768
6769 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
6770   Move ui_set_search_entry_background() into ui_utils.c.
6771   Change the background colour of the search entries in the Find
6772   and Replace dialogs according to the search results like in the
6773   toolbar search field.
6774   Add images to the 'Replace' and 'Replace and Find' buttons in the
6775   Replace dialog.
6776   Minor cleanups in search.c.
6777 * tagmanager/tm_source_file.c:
6778   Update source files upon creation.
6779 * data/c99.tags:
6780   Update C tags for glibc 2.9.
6781 * src/callbacks.c, src/toolbar.c:
6782   Fix broken non-incremental search with the toolbar search entry when
6783   pressing Enter (closes #2638180).
6784 * plugins/splitwindow.c:
6785   Fix possible crash on non-32-bit systems (patch by
6786   Wolfgang Ocker, thanks).
6787 * geany.spec.in:
6788   Update the Packager tag due to Dominic's various contributions.
6789   Update description and feature list.
6790   Change Source tag to the gzip'ed tarball to be in sync with the
6791   Makefile target (thanks to Wolfgang Ocker for reporting).
6792
6793
67942009-02-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6795
6796 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
6797   Removed deprecated plugin VC Diff
6798
6799
68002009-02-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6801
6802 * src/templates.c:
6803   Fix wrong Fortran 90 comment characters when inserting templates.
6804 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
6805   src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
6806   src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
6807   src/vte.h, THANKS:
6808   Add 'Send Selection to Terminal' command to the Edit->Format menu
6809   (initial patch by David Gleich, thanks).
6810 * geany.glade, src/interface.c:
6811   Fix mnemonic for the Edit->Preferences menu item.
6812
6813
68142009-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6815
6816 * configure.in, plugins/Makefile.am:
6817   Enable socket support when cross-compiling.
6818   Enable plugin compilation when cross-compiling.
6819 * src/msgwindow.c:
6820   Fix missing NULL checks when reading the colour value of compiler
6821   output messages.
6822 * src/main.c, src/win32.c, src/win32.h:
6823   On Windows, change the working directory to the Geany installation
6824   path at startup to avoid unwanted directory locking(closes #2626124).
6825 * src/encoding.c:
6826   Fix broken selection of "Document->Set Encoding" menu items.
6827 * src/document.c, tagmanager/include/tm_source_file.h,
6828   tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
6829   tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
6830   tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
6831   Don't let the tagmanager automatically reparse files if they
6832   seem to be changed on disk (affects all files in the current session,
6833   not the current one). This should speed up file saving a little bit,
6834   especially with remote files.
6835   Remove now unnecessary calls to tm_workspace_update().
6836 * src/printing.c:
6837   Allow an empty value for the date format in the print settings to
6838   omit the date/time string in the print header.
6839
6840
68412009-02-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6842
6843 * src/editor.c: Set cursor for LaTeX at auto closing of environment
6844   direct into area.
6845
6846
68472009-02-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6848
6849 * src/utils.h:
6850   Add missing header include (closes #2615808).
6851
6852
68532009-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6854
6855 * src/symbols.c:
6856   Fix a possible crash when comparing symbol names
6857   (could be related to Ubuntu bug #147151).
6858   Fix broken symbol list tooltips when tag names contain ampersands.
6859
6860
68612009-02-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
6862
6863 * plugins/makefile.win32:
6864   Don't build Split Window plugin on Windows (doesn't work).
6865
6866
68672009-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6868
6869 * ChangeLog, Makefile.am: Rotate ChangeLog.
6870 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
6871   wscript, doc/geany.txt, doc/geany.html, src/geany.h:
6872   Post-release version bump.
6873
6874
68752009-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6876
6877 * scitilla/LexHTML.cxx:
6878   Backport a change from Scintilla CVS to fix wrong folding of comments
6879   in HTML/XML lexer (Scintilla #2532774, thanks to Jason Oster).
6880 * New release: Geany 0.16 "Argon".
6881 * ChangeLog, Makefile.am: Rotate ChangeLog.
6882
6883
68842009-02-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6885
6886 * doc/plugins.dox:
6887   Add a plugin howto to the plugin API docs, written by Frank.
6888
6889
68902009-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6891
6892 * src/msgwindow.c:
6893   Don't use a hard coded black foreground colour for the compiler and
6894   messages windows, instead use the default GTK foreground colour.
6895 * src/prefs.c:
6896   Don't use the clear icon inside any spin buttons in the prefs dialog.
6897 * doc/geany.txt, doc/geany.html, doc/images/*:
6898   Update docs and images for Geany 0.16.
6899
6900
69012009-02-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6902
6903 * src/build.c, src/dialogs.c, src/prefs.c, src/printing.c,
6904   src/project.c, src/search.c, src/tools.c, src/vte.c:
6905   Add a clear icon to the used text entries all over the place
6906   (will be available with GTK >= 2.16).
6907 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
6908   plugins/vcdiff.c, src/document.c, src/search.c, src/templates.c,
6909   src/tools.c, src/treeviews.c, src/utils.c:
6910   Small optimisations by moving out function calls of loop break
6911   conditions (patch by Frank, thanks).
6912
6913
69142009-02-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6915
6916 * plugins/filebrowser.c:
6917   Make Menu key and Shift-F10 working on the filebrowser treeview.
6918   Return TRUE if appropriate in the event handlers.
6919 * plugins/vcdiff.c:
6920   Fix path quoting problems on Windows.
6921 * plugins/geanyfunctions.h, src/document.c, src/document.h,
6922   src/editor.c, src/editor.h, src/plugindata.h, src/plugins.c,
6923   src/treeviews.c, src/ui_utils.c:
6924   Add editor_get_word_at_pos() as a convenient function to retrieve
6925   the word at a given position.
6926   Make document_get_status_color() returning a const GdkColor.
6927   Add editor_get_word_at_pos() and document_get_status_color() to the
6928   plugin API.
6929 * src/vte.c, plugins/filebrowser.c:
6930   Don't follow the path of the document if the document has not an
6931   absolute file path.
6932 * src/msgwindow.c:
6933   Really focus the status/compiler/messages window when the
6934   corresponding keybinding is used.
6935
6936
69372009-02-08  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
6938
6939 * src/editor.c:
6940   Don't put closing td tag into a new line during auto completion of a
6941   HTML table.
6942
6943
69442009-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6945
6946 * src/main.c:
6947   Don't check for old configuration directory location on Windows.
6948 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c:
6949   Add plugin_module_make_resident() to the plugin API which allows
6950   plugins to make the module resident. This seems necessary when
6951   using GTypes, e.g. by using the GObject API.
6952 * src/vte.c:
6953   Fix ordering of the input methods submenu item in the VTE popup menu.
6954
6955
69562009-02-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6957
6958 * src/geanymenubuttonaction.c, src/geanyentryaction.c,
6959   src/geanyobject.c, src/geanywraplabel.c:
6960   Use the G_DEFINE_TYPE() macro to generate the *_get_type() code.
6961   Remove useless geany_object_finalize() function.
6962 * src/keybindings.c:
6963   Special case Menu key presses and Shift-F10 to show the popup menu
6964   of the widgets where they were pressed instead of always the
6965   document notebook tab list.
6966 * src/msgwindow.c:
6967   Allow pressing Space/Enter in the compiler and messages treeviews
6968   to activate the selected item (closes #2555704).
6969 * src/editor.c:
6970   Fix typo which caused wrong snippet completion (closes #2568588).
6971
6972
69732009-02-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6974
6975 * src/vte.c, src/vte.h:
6976   Some code cleanup and improve comments, no changes in functionality.
6977 * src/editor.c:
6978   Fix a crash on Windows for PHP files when 'comment_close' in not set
6979   (neither in the user's config nor in the global filetypes.php) and
6980   (un)commenting is used outside of the PHP tags
6981   (reported by Frank, thanks).
6982 * src/dialogs.c:
6983   It's enough to check for GTK 2.14 at runtime, not at build time when
6984   to determine whether to show non-local folders in the file chooser
6985   dialogs.
6986
6987
69882009-02-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6989
6990 * src/plugins.c:
6991   Fix wrong Help button sensitiveness in the plugin manager dialog.
6992
6993
69942009-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
6995
6996 * src/callbacks.c, src/document.c:
6997   Use the document's real path when the VTE setting 'Follow the path of
6998   the current file' is used to prevent unnecessary directory changes
6999   when symlinks are used (reported by Dominic Hopf).
7000 * plugins/filebrowser.c:
7001   Add an option to 'follow the path of the current file' in the
7002   filebrowser plugin.
7003   Add an option to automatically set the project's base directory when
7004   a project is opened/changed (closes #2554027).
7005 * waf, wscript:
7006   Update to waf 1.5.3 and use modern task syntax in the wscript.
7007
7008
70092009-01-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7010
7011 * src/plugins.c, src/plugindata.h, src/utils.c, plugins/filebrowser.c,
7012   plugins/geanyfunctions.h:
7013   Add utils_string_replace_first() to the plugin API.
7014   Allow entering paths prefixed with '~' in the filebrowser path entry.
7015   Show the full path for files and folders in the filebrowser plugin
7016   as tooltips.
7017 * HACKING, doc/plugins.dox:
7018   Add a few notes about basic plugin writing guidelines.
7019 * doc/plugins.dox, src/dialogs.c, src/document.c, src/editor.c,
7020   src/editor.h, src/filetypes.c, src/msgwindow.c, src/sciwrappers.c,
7021   src/ui_utils.c, src/ui_utils.h, src/utils.c:
7022   Add some missing @since tags to the API documentation of various
7023   functions.
7024
7025
70262009-01-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7027
7028 * autogen.sh:
7029   Add a check for 'libtoolize' (suggested by Greg Smith, thanks).
7030 * tagmanager/fortran.c:
7031   Update Fortran parser from CTags SVN (closes #2545000).
7032
7033
70342009-01-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7035
7036 * src/document.c:
7037   Set the documents' mtime field properly for checking disk file
7038   changes.
7039 * src/document.c, src/keyfile.c, src/ui_utils.c, src/ui_utils.h:
7040   Add a hidden preference "allow_always_save" to make the Save buttons/
7041   menu items always sensitive and allow saving files even without
7042   changes.
7043 * plugins/filebrowser.c:
7044   Use the selection 'changed' signal of the treeview to update the
7045   popup menu items and show the popup menu on mouse button press events
7046   so right clicking on items will select them first.
7047 * doc/plugins.dox, plugins/demoplugin.h:
7048   Mention necessary header includes in the plugin signal descriptions.
7049   Add missing header includes for the demoplugin.
7050 * doc/pluginsymbols.c, plugins/geanyfunctions.h, src/about.c,
7051   src/build.c, src/callbacks.c, src/plugindata.h, src/plugins.c,
7052   src/utils.c, src/utils.h:
7053   Rename utils_start_browser() in utils_open_browser() and add it to
7054   the plugin API.
7055   Add plugin symbol plugin_help() which is called by Geany when the
7056   plugin should show its documentation (if any). This symbol is
7057   optional, plugins can omit it if not needed.
7058   Add a Help button next to the Configure button in the plugin manager
7059   dialog to easily open a plugin's documentation if available.
7060 * doc/geany.txt, doc/geany.html:
7061   Remove the square brackets around Hidden preferences table titles to
7062   avoid confusion with section titles in the config file.
7063   Add the new hidden pref 'allow_always_save'.
7064
7065
70662009-01-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7067
7068 * src/document.c:
7069   Fix legacy file monitoring since I broke once more.
7070 * src/geanyentryaction.c, src/ui_utils.c, src/ui_utils.h:
7071   Add a clear icon to the toolbar search and goto text fields
7072   (will be available with GTK >= 2.16).
7073 * plugins/geanyfunctions.h, src/build.c, src/plugindata.h,
7074   src/plugins.c, src/printing.c, src/search.c, src/ui_utils.c,
7075   src/ui_utils.h:
7076   Add a progressbar widget to the statusbar and use it to show progress
7077   when building with the Make commands, when printing and when using
7078   Find in Files.
7079   Add progressbar convenience functions and ui_entry_add_clear_icon()
7080   to the plugin API.
7081
7082
70832009-01-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7084
7085 * src/interface.c, geany.glade:
7086   Split Prefs dialog General tab into sub-notebook with Startup and
7087   Miscellaneous tabs. Merge Search tab into Miscellaneous tab.
7088 * src/search.c:
7089   Remember whether find/replace all expanders were expanded.
7090 * src/search.c:
7091   Rename static structs, group by dialog.
7092 * src/search.c:
7093   Refactor with create_find_dialog().
7094
7095
70962009-01-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
7097
7098 * po/cs.po, THANKS: Update of Czech translation. Thanks to Karel Kolman
7099   for providing.
7100
7101
71022009-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7103
7104 * src/document.c:
7105   Use g_timeout_add_seconds() instead of g_timeout_add().
7106   Add missing NULL check in monitor_file_changed_cb().
7107   Reset the file status when saving a file failed.
7108   Disable GIO based file monitoring for now since it doesn't work yet
7109   as stable as it should. Define USE_GIO_FILEMON to use.
7110 * src/utils.c:
7111   Use g_file_set_contents() to write files to disk in
7112   utils_write_file() for better error checking and to avoid corruption
7113   of config files when there is no more free disk space.
7114   This is not used for saving documents (part of Debian bug #503391).
7115 * src/dialogs.c:
7116   Use the stock overwrite confirmation dialog provided by GTK 2.8
7117   in the Save As dialog.
7118
7119
71202009-01-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7121
7122 * src/socket.c:
7123   Minor cleanup in the socket code.
7124   When files are opened remotely, always use gtk_window_present() to
7125   bring the main window to front or whatever the window manager decides
7126   to do (part of #2276179).
7127   On Windows, we send a pointer to the main window to the remote
7128   instance which then brings the window to the front (grab focus). This
7129   should work better than the previous implementation and should avoid
7130   the blinking tasklist item.
7131 * HACKING, README, wscript, configure.in, doc/geany.html,
7132   doc/geany.txt, geany.nsi, src/geany.h, src/notebook.c, src/utils.c:
7133   Increase minimum required GTK version to 2.8.
7134
7135
71362009-01-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7137
7138 * src/search.c:
7139   Refactor with create_replace_dialog().
7140 * src/search.c:
7141   Reorder replace dialog 'replace all' buttons.
7142
7143
71442009-01-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7145
7146 * src/document.c:
7147   Reuse the locale-encoded filename in document_save_file().
7148   Use an unique "monitor" prefix for file monitoring functions.
7149   Don't check disk status for files which are marked to be ignored.
7150   Reset file disk status when manually reloading a file.
7151   Various improvements to the GIO-based file disk checking code.
7152 * src/document.c, src/keyfile.c, src/search.c, src/tools.c,
7153   src/utils.c, src/vte.c, tagmanager/tm_source_file.c:
7154   Replace remaining occurrences of '__func__' with 'G_STRFUNC'.
7155 * plugins/geanyfunctions.h, src/dialogs.c, src/plugindata.h,
7156   src/plugins.c:
7157   Add dialogs_show_input_numeric() to the plugins API.
7158
7159
71602009-01-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7161
7162 * src/treeviews.c:
7163   Disable documents popup menu items when invalid.
7164   Make close, save menu items work for all children when a parent row
7165   is selected.
7166 * src/notebook.c:
7167   Fix focusing the editor after clicking on a notebook tab.
7168
7169
71702009-01-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7171
7172 * src/document.c, src/utils.c:
7173   Skip disk changes detection for all remote files.
7174   Don't try to detect a remote file when running on old GLib versions
7175   without GIO (< 2.16).
7176
7177
71782009-01-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7179
7180 * src/interface.c, src/ui_utils.h, src/prefs.c, src/plugindata.h,
7181   src/treeviews.c, src/keyfile.c, geany.glade:
7182   Use tree for Documents sidebar, grouped by path.
7183   Remove Documents show full path pref.
7184   Use enum for documents tree store column ids.
7185
7186
71872009-01-18  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
7188
7189 * src/utils.c: Added a missing g_free().
7190
7191
71922009-01-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7193
7194 * data/filetype_extensions.conf, data/filetypes.oms,
7195   scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
7196   scintilla/KeyWords.cxx, scintilla/LexOMS.cxx, scintilla/Makefile.am,
7197   scintilla/makefile.win32, src/editor.c, src/filetypes.c,
7198   src/filetypes.h, src/highlighting.c, src/templates.c, wscript:
7199   Remove filetype O-Matrix (probably unused for years).
7200 * src/keybindings.c, src/keybindings.h:
7201   Reorder some keybindings.
7202 * src/dialogs.c, src/document.c, src/document.h, src/documentprivate.h,
7203   src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
7204   Add document_save_file_as and document_rename_file to the plugin API.
7205   If GIO is available, use GFileMonitor to watch for file disk changes
7206   and indicate them immediately using an orange tab label colour.
7207   Break plugin ABI for this and the last commits.
7208 * src/build.c:
7209   Disable the Build menu item in the Build toolbar button explicitly
7210   for LaTeX files.
7211   Update the tooltip for the Build toolbar button according to the last
7212   used action.
7213
7214
72152009-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7216
7217 * geany.nsi:
7218   Major improvements for the Windows installer:
7219   Register ".geany" as Geany Project File extension.
7220   Show a checkbox to open the Release Notes at the end of the
7221   installation.
7222   When the installer is executed without admin privileges,
7223   install Geany only for the user. Otherwise, install Geany
7224   for All Users.
7225   Fix problems with automatic uninstallation at startup of the
7226   installation when the installation directory were different.
7227   Install GTK translation files only if installation of translation
7228   files were requested (saves about 22 MB otherwise).
7229 * src/msgwindow.c:
7230   Properly fix parsing of compiler error messages.
7231 * data/filetypes.nsis:
7232   Update keywords lists.
7233 * doc/geany.txt, src/build.c, src/build.h, src/images.c, src/toolbar.c,
7234   src/ui_utils.c, src/ui_utils.h:
7235   Add 'Build' toolbar button with a submenu for Make actions.
7236   Make use of ui_image_menu_item_new() for some menu items.
7237   Remove tooltips from menu items.
7238 * Makefile.am, geany.nsi, data/c99.tags, data/global.tags,
7239   doc/geany.html, doc/geany.txt, scripts/create_c_tags.sh,
7240   src/symbols.c, tagmanager/tm_workspace.c:
7241   Remove GTK tags (data/global.tags).
7242   Add C (C99) tags (data/c99.tags) and a script to generate them).
7243
7244
72452009-01-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7246
7247 * src/project.c, src/keyfile.c:
7248   Prevent type-punned pointer warnings with gcc 4.1.
7249
7250
72512009-01-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7252
7253 * src/main.c, doc/geany.txt, doc/geany.html, doc/geany.1.in:
7254   Rename command line option --debug to --verbose.
7255   Change short form of --version from -v to -V.
7256 * geany.glade, src/dialogs.c, src/interface.c, src/printing.c,
7257   src/search.c, src/vte.c:
7258   Remove tooltips from menu items.
7259   Don't use full stops in tooltips for short sentences.
7260 * doc/geany.txt, doc/geany.html:
7261   Add documentation for some missing options.
7262
7263
72642009-01-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7265
7266 * data/global.tags, data/latex.tags, data/pascal.tags, data/php.tags,
7267   data/python.tags, doc/geany.html, doc/geany.txt,
7268   scripts/create_php_tags.php, scripts/create_py_tags.py,
7269   tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
7270   tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
7271   Add a format specification in global tags files and implement
7272   an additional fallback if the specification is missing.
7273   Adjust code and scripts which generate global tags files to
7274   add the new format specification.
7275   Update global tags files.
7276   Add documentation for the two supported global tags files formats.
7277 * src/msgwindow.c:
7278   Strip the compiler error messages to fix possibly broken message
7279   parsing.
7280 * win32-config.h, src/makefile.win32:
7281   Fix Windows build: don't use GIO.
7282   Link against GIO anyways just to be safe with GTK 2.14.
7283 * geany.glade, src/highlighting.c, src/interface.c, src/keyfile.c,
7284   src/plugindata.h, src/ui_utils.h:
7285   Add GUI pref to invert all colours for syntax highlighting.
7286
7287
72882009-01-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7289
7290 * data/filetypes.vala:
7291   Add default build commands (other sections are commented out and
7292   untested).
7293
7294
72952009-01-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7296
7297 * configure.in, wscript, src/Makefile.am, src/utils.c:
7298   Fix build with GTK 2.12 by adding GIO compile and linker flags
7299   (closes #2498580).
7300 * configure.in, plugins/splitwindow.c, src/callbacks.c, src/document.c,
7301   src/document.h, src/filetypes.c, src/highlighting.c,
7302   src/keybindings.c, src/plugins.c, src/search.c, src/socket.c,
7303   src/symbols.c, tagmanager/read.h:
7304   Fix several compiler warnings and build errors
7305   (patch by Daniel Richard G., thanks).
7306 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/editor.c,
7307   src/editor.h, src/keybindings.c, src/keybindings.h, src/Makefile.am,
7308   src/makefile.win32, src/plugindata.h, src/utils.c, src/utils.h,
7309   src/about.c, src/queue.c, src/queue.h, THANKS, wscript:
7310   Support multiple %cursor% wildcards in Snippets. To switch between
7311   %cursor% wildcards, use the new keybinding 'Move cursor in snippet'
7312   (patch by Thomas Martitz, thanks).
7313 * src/highlighting.c:
7314   Don't fold toplevel PHP script tags (part of #2003912).
7315   Replace remaining occurences of sptr_t by uptr_t in the third
7316   argument of SSM() calls.
7317 * plugins/Makefile.am, src/Makefile.am, src/utils.c,
7318   tagmanager/include/Makefile.am:
7319   Fix build without GIO again (sorry).
7320   Remove trailing slashes in Makefile.am's
7321   (patch by Daniel Richard G., thanks).
7322
7323
73242009-01-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7325
7326 * configure.in, win32-config.h, wscript, src/main.c, src/main.h,
7327   src/utils.c, src/utils.h:
7328   Add checks for GIO (GLib >= 2.16) support.
7329   Allow to specify files on the command line and from remote instances
7330   to be URIs (local and with GIO also remote URIs).
7331 * src/document.c, src/documentprivate.h, src/utils.c, src/utils.h:
7332   Add utils_is_remote_path().
7333   Add private field 'is_remote' to GeanyDocument to indicate whether
7334   an opened file is locally accessed or via gvfs-fuse.
7335
7336
73372009-01-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7338
7339 * src/prefs.c, src/stash.c, src/keyfile.c:
7340   Fix using prefs dialog editor & files tab spin button values when
7341   they've just been edited and Alt-O is used to close the dialog
7342   without moving the focus.
7343 * src/prefs.c:
7344   Fix remaining spin buttons in the prefs dialog (closes #2492317).
7345
7346
73472009-01-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7348
7349 * tagmanager/basic.c:
7350   Fix some bugs in parsing FreeBasic code (#2489605).
7351 * src/build.c:
7352   Don't remove leading whitespace from compiler output for compilers
7353   like gfortran which use space for indentation in error messages.
7354 * data/filetypes.tcl:
7355   Update keyword list for Tcl/Tk 8.5.
7356
7357
73582009-01-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7359
7360 * wscript, THANKS, data/filetype_extensions.conf, src/templates.c,
7361   scintilla/KeyWords.cxx, scintilla/LexAda.cxx, scintilla/Makefile.am,
7362   scintilla/makefile.win32, src/about.c, src/editor.c, src/filetypes.c,
7363   src/filetypes.h, src/highlighting.c, src/plugindata.h:
7364   Add filetype Ada (closes #1811306 and #1765830,
7365   patch by Philipp Gildein, thanks).
7366 * src/filetypes.c, data/filetype_extensions.conf:
7367   Add *.desktop as extension for the Conf filetype.
7368 * *.*:
7369   Update copyright information
7370 * plugins/saveactions.c:
7371   Don't write the default filetype to the config if it isn't set.
7372
7373
73742009-01-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7375
7376 * src/support.h:
7377   Prevent compile errors in plugins when GETTEXT_PACKAGE is not
7378   defined.
7379 * tagmanager/make.c:
7380   Fix crash in Makefile parser when trying to read defines.
7381
7382
73832009-01-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7384
7385 * src/interface.c, src/keybindings.c, src/geanyobject.c,
7386   src/geanyobject.h, src/geany.h, src/callbacks.c, src/callbacks.h,
7387   geany.glade:
7388   Fix not switching to 2nd last used document when the last used
7389   document has been closed (#1945162).
7390 - Code changes:
7391   Move geany_object extern to geany.h.
7392   Remove CallbacksData struct.
7393 * src/toolbar.c, src/project.c, src/callbacks.c, src/keyfile.c,
7394   src/filetypes.c, src/document.c, src/plugins.c, src/main.c,
7395   src/editor.c, src/symbols.c:
7396   Remove geanyobject.h includes.
7397   Use GObject instead of unused GeanyObject argument.
7398 * doc/geany.txt, doc/geany.html:
7399   Update Scintilla regular expression info for v1.77 (character
7400   classes, ASCII escaping, character sets containing square
7401   brackets peculiarities). Adapted from SciTE doc.
7402
7403
74042009-01-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7405
7406 * src/keybindings.c, src/keybindings.h, src/main.c:
7407   Add dialog for switching to last used tab, which disappears when
7408   releasing the modifier key. (Useful once MRU switching is
7409   implemented).
7410   Connect window key-press-event in keybindings.c.
7411 * src/keybindings.c:
7412   Group some View callbacks together.
7413
7414
74152008-12-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7416
7417 * doc/geany.txt, doc/geany.html:
7418   Fix description of a Project pref (fixes #2476854).
7419
7420
74212008-12-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7422
7423 * src/symbols.c:
7424   Avoid unnecessary critical warnings when setting tooltips for the
7425   symbol list with non-UTF-8 files (closes #2473376).
7426 * geany.glade, src/interface.c, src/prefs.c:
7427   Use a GeanyWrapLabel for the project indentation settings warning
7428   text in the prefs dialog.
7429
7430
74312008-12-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7432
7433 * src/prefs.c, src/geanyobject.c, src/geanyobject.h, src/stash.c,
7434   src/stash.h, src/keyfile.c, src/plugins.c, src/main.c,
7435   src/plugins.h:
7436   Don't forget active plugins after disabling plugin support.
7437   Use Stash for plugin-related prefs.
7438   Add geany_object "save-settings" signal (for core only).
7439   Add stash_group_add_string_vector().
7440 * src/main.c:
7441   Fix creating a new configuration directory (oops).
7442 * src/ui_utils.h, src/plugindata.h, src/stash.c, src/keyfile.c,
7443   src/search.c, src/search.h, src/ui_utils.c:
7444   Add ui_hookup_widget() macro to the API.
7445   Make saving Stash string settings NULL-safe.
7446   Move fif_extra_options search setting code to search.c.
7447
7448
74492008-12-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7450
7451 * src/interface.c, src/interface.h, src/project.c, src/project.h,
7452   src/projectprivate.h, src/stash.c, src/stash.h, src/main.c,
7453   src/editor.c, src/Makefile.am, geany.glade:
7454   Add Project Indentation prefs, which override the Editor
7455   Preferences dialog options. For new projects, these default to the
7456   editor indent prefs.
7457 - Plugins:
7458   For compatibility with this change, use editor_get_indent_prefs().
7459 - Code changes:
7460   The Project Properties dialog is now created by Glade, but (for
7461   now) the existing options are added manually.
7462   Add GeanyProjectPrivate project field.
7463   Add stash_group_set_use_defaults().
7464 * src/interface.c, src/prefs.c, src/prefs.h, geany.glade:
7465   Show warning label on Preferences dialog Editor tab when a project
7466   is open.
7467   Move Indentation frame to a separate tab.
7468
7469
74702008-12-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7471
7472 * src/stash.c, src/stash.h, src/keyfile.c:
7473   Rename stash_group_load() -> stash_group_load_from_key_file().
7474   Rename stash_group_save() -> stash_group_save_to_key_file().
7475 * src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
7476   Remove remaining PrefEntry code, use Stash instead.
7477   Add stash_group_add_spin_button_integer(),
7478   stash_group_add_combo_box().
7479 * src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
7480   Add stash_group_add_combo_box_entry(), stash_group_add_entry().
7481
7482
74832008-12-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7484
7485 * data/global.tags:
7486   Update for GTK+ 2.14.5.
7487   Command used (on Debian Sid/Experimental):
7488   'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.14.c.tags
7489   /usr/include/gtk-2.0/gtk/gtk.h'
7490 * src/document.c:
7491   Only stat() files after saving for the timestamp when
7492   file_prefs.disk_check_timeout is set (to greater 0).
7493   Call realpath() on files only when opening or changing the filename
7494   but not on every save.
7495 * data/filetype_extensions.conf, data/filetypes.cmake,
7496   data/filetypes.nsis, scintilla/KeyWords.cxx, scintilla/LexCmake.cxx,
7497   scintilla/LexNsis.cxx, scintilla/Makefile.am,
7498   scintilla/makefile.win32, src/editor.c, src/filetypes.c,
7499   src/filetypes.h, src/highlighting.c, src/plugindata.h,
7500   src/templates.c, wscript:
7501   Add new filetypes CMake and NSIS.
7502
7503
75042008-12-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7505
7506 * tagmanager/rest.c:
7507   Parse sections in the order of first-used underline character,
7508   which can now be any punctuation character (as per the spec).
7509
7510
75112008-12-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7512
7513 * src/symbols.c, tagmanager/fortran.c:
7514   Use plurals for HTML symbol list parent items.
7515   Fix Fortran Types showing as Interfaces in the symbol list.
7516 * src/symbols.c:
7517   Show Structs separately from Typedefs / Enums for the C symbol list.
7518 * src/keybindings.c, src/search.c, src/editor.c:
7519   Allow Find Usage for selections even when the cursor is not at a
7520   word character.
7521
7522
75232008-12-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7524
7525 * src/editor.c:
7526   Fix too ambitious auto tag closing in HTML files inside embedded
7527   scripting languages.
7528   Complete HTML styles in is_comment_style() and is_string_style().
7529 * src/callbacks.c, src/callbacks.h:
7530   Remove dead code.
7531 * src/editor.c, src/document.c:
7532   Remove remaining uses of doc->editor and use GeanyEditor directly.
7533 * wcript, src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
7534   src/encodings.c, src/filetypes.c, src/keybindings.c, src/keyfile.c,
7535   src/main.c, src/Makefile.am, src/makefile.win32, src/msgwindow.c,
7536   src/plugindata.c, src/plugins.c, src/prefs.c, src/project.c,
7537   src/search.c, src/support.c, src/support.h, src/templates.c,
7538   src/toolbar.c, src/tools.c, src/treeviews.c, src/ui_utils.c,
7539   src/vte.c:
7540   Move implementation of lookup_widget() into ui_lookup_widget().
7541   Change uses of lookup_widget() to ui_lookup_widget().
7542   Remove now unneeded support.c.
7543   Use GLib gettext macros in support.h instead of own ones.
7544
7545
75462008-12-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7547
7548 * tagmanager/html.c:
7549   Also parse headings with tags inside header tag.
7550 * src/plugins.c:
7551   On quitting, sort list of active plugins by plugin name.
7552
7553
75542008-12-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7555
7556 * src/keyfile.c:
7557   Fix broken session file support on Windows.
7558 * doc/geany.txt, doc/geany.html:
7559   Retitle the Terminal/VTE preferences tab section.
7560   Change (again) the key combinations for creating
7561   rectangular selections.
7562 * doc/Doxyfile.in, doc/plugins.dox, plugins/demoplugin.c, src/editor.c,
7563   src/editor.h, src/document.c, src/geanyobject.c, src/geanyobject.h,
7564   src/geany.h, src/plugindata.h:
7565   Add "editor-notify" to the plugin API.
7566   This signal is emitted whenever something in an editor widget
7567   changes, e.g. a character was typed.
7568 * src/editor.c:
7569   Make Ctrl-click working again to create rectangular selections when
7570   no braces and valid definitions are below the cursor (to whose would
7571   be jumped then).
7572 * src/filetypes.c, data/filetypes.fortran:
7573   Change comment character to '!' for Fortran 90 (closes #2438423).
7574 * waf, wscript:
7575   Update Waf and various small fixes for the wscript.
7576 * geany.glade, src/interface.c:
7577   Re-add can_focus flag to the notebook widgets in the preferences
7578   dialog to make keyboard navigation easier (closes #2417200).
7579 * src/dialogs.c:
7580   When allowing non-local locations in the File Open dialog, we should
7581   do this in the File Save dialog as well.
7582
7583
75842008-12-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7585
7586 * src/keyfile.c, src/keyfile.h, src/search.c, src/main.c:
7587   Remember Find in Files mode at startup.
7588   Add configuration_add_pref_group(), with separate array for GUI
7589   prefs.
7590   Move search pref group to search.c.
7591 * src/editor.c:
7592   Fix replacing %ws% and %newline% in snippets (oops).
7593 * doc/geany.txt, doc/geany.html, data/snippets.conf:
7594   Snippet indentation will be replaced according to indent mode.
7595   Minor edit of snippet docs.
7596 * src/search.c:
7597   Set Find in Files directory entry to project base path or current
7598   working directory if the current file has no path.
7599 * src/editor.c:
7600   Move %ws and %newline% replacement into snippets-only code.
7601 * HACKING:
7602   Add GDB 'Stop on warnings' and 'Running with batch commands'
7603   sections.
7604
7605
76062008-12-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7607
7608 * src/build.c:
7609   Remove checks for the executable when executing a file.
7610   The executed interpreter or the shell should handle file not found
7611   error and print appropriate messages.
7612   This makes it a bit more flexible, e.g. allowing to use gcj for
7613   Java files.
7614
7615
76162008-12-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7617
7618 * src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
7619   Use Stash radio button prefs instead of RadioPrefEntry.
7620   Add stash_group_add_radio_buttons().
7621
7622
76232008-12-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7624
7625 * src/editor.c:
7626   Improve auto-closing of braces, brackets and quotes
7627   (patch by Guillaume de Rorthais, thanks).
7628 * tagmanager/get.c, tagmanager/tm_work_object.c,
7629   tagmanager/tm_workspace.c:
7630   Fix a few compiler warnings about unused return values caused
7631   by recent glibc versions.
7632
7633
76342008-12-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7635
7636 * src/plugins.c, src/toolbar.c:
7637   Fix plugin toolbar icon placement. Now they are always inserted
7638   before the Quit button if it is the last toolbar element or at
7639   the end otherwise.
7640 * src/toolbar.c, src/ui_utils.c:
7641   Move ui_auto_separator_add_ref() and related code back to ui_utils.c
7642   since it's no toolbar specific code (oops).
7643 * src/symbols.c:
7644   Rename symbol list label for embedded script functions from
7645   'Javascript functions' to 'Functions' to avoid confusion when it
7646   finds symbols from other embedded languages (part of #2317001).
7647 * src/socket.c:
7648   Update comment about using different configuration directories with
7649   multiple instance support on Windows.
7650 * doc/geany.txt, doc/geany.html:
7651   On Windows rectangular selections can only be created by pressing
7652   Ctrl and Alt where on other systems Ctrl and Shift works too.
7653
7654
76552008-12-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7656
7657 * src/utils.h, src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c,
7658   src/keyfile.h, src/symbols.c:
7659   Add foreach_ptr_array() macro to utils.h.
7660   Merge toggle button prefs code into keyfile.c Stash code.
7661   Add toggle button support to Stash code.
7662 * src/interface.c, src/ui_utils.h, src/notebook.c, src/keyfile.c,
7663   doc/geany.txt, doc/geany.html, geany.glade:
7664   Add an interface pref for whether to hide additional widgets when
7665   double-clicking on document notebook tabs (off by default) - closes
7666   #2300430.
7667 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c, doc/geany.txt,
7668   doc/geany.html:
7669   Make Shift+Mouse wheel scroll the editor view horizontally
7670   (#2410732).
7671   Add function sci_scroll_columns().
7672 * src/editor.c:
7673   Make snippets only complete for the word stem to the left of the
7674   cursor (#2390597).
7675   Make snippets complete even when text is to the right of the
7676   cursor and the hidden pref is not set, unless the snippet
7677   completion key is space.
7678   Fix possible memory leak when reading current word.
7679   Add editor_read_word_stem().
7680
7681
76822008-12-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7683
7684 * tagmanager/c.c, tagmanager/get.h:
7685   Various improvements for parsing Vala files (mainly fix handling of
7686   function attributes, fix nested types handling, add some missing
7687   keywords, patch by Colomban Wendling, thanks).
7688 * data/ui_toolbar.xml:
7689   Remove the list of available actions and instead refer to the
7690   documentation for an up to date list.
7691 * THANKS, src/about.c, src/callbacks.c, src/callbacks.h, src/images.c,
7692   src/main.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h,
7693   doc/geany.txt, doc/geany.html:
7694   Add new toolbar elements: Close All and Preferences.
7695   The icon for Close All was kindly provided by Tyler Mulligan, thanks.
7696   Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a
7697   replacement.
7698
7699
77002008-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7701
7702 * src/stash.c, src/stash.h, src/keyfile.c, src/keyfile.h, src/main.c:
7703   Move Stash data types to stash.c, so Stash functions could be used
7704   by plugins without breaking the ABI when appending fields. Also the
7705   user code is neater and has type checking.
7706 * src/interface.c, geany.glade:
7707   Don't expand Prefs dialog Editor->Completions tab frames.
7708
7709
77102008-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7711
7712 * wscript:
7713   Little reformatting.
7714   Beautify the Waf output when generating geanyfunctions.h.
7715 * src/geany.c, src/ui_utils.c, src/ui_utils.h, src/images.c:
7716   Move stock image name macro and image enum to ui_utils.h.
7717   Remove old, unused images.
7718
7719
77202008-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7721
7722 * src/document.c:
7723   Fix showing tooltips for notebook tab labels (oops).
7724 * src/editor.c:
7725   Fix GLib warning when user enters out of range line number in
7726   toolbar.
7727
7728
77292008-12-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7730
7731 * src/callbacks.c:
7732   Fix pressing escape in the sidebar and toolbar focus the editor.
7733 * src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
7734   Add a setting for the VTE to enable/disable a blinking cursor.
7735   This is useful for future VTE versions where the cursor blinks
7736   by default which might be not be desirable.
7737 * geany.glade, src/callbacks.c, src/callbacks.h, src/editor.c,
7738   src/interface.c, src/main.c, src/prefs.c, src/ui_utils.c,
7739   src/ui_utils.h:
7740   Add Line number and Markers margin settings to the prefs dialog.
7741   Add View->Editor submenu and group there the Line numbers,
7742   Markers margin, Show white space, Show line endings and Show
7743   indentation guides settings.
7744 * plugins/filebrowser.c:
7745   When using the focus path entry and file list keyboard shortcuts,
7746   make sure the filebrowser tab is the current notebook tab in the
7747   sidebar (closes #2402290).
7748 * wscript:
7749   Update 'geanyfunctions.h' when using Waf.
7750
7751
77522008-12-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7753
7754 * scintilla/scintilla_changes.patch:
7755   A patch to Scintilla 1.77 containing our changes to Scintilla
7756   (these are mainly commentation character changes and the
7757   column mode editing patch).
7758 * data/ui_toolbar.xml, doc/geany.html, doc/geany.txt, geany.glade,
7759   po/POTFILES.in, src/build.c, src/callbacks.c, src/callbacks.h,
7760   src/geanyentryaction.c, src/geanyentryaction.h,
7761   src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
7762   src/interface.c, src/keybindings.c, src/keyfile.c, src/main.c,
7763   src/Makefile.am, src/makefile.win32, src/navqueue.c, wscript,
7764   src/plugindata.h, src/plugins.c, src/prefs.c, src/templates.c,
7765   src/toolbar.c, src/toolbar.h, src/ui_utils.c, src/ui_utils.h:
7766   Rewrite of the whole toolbar code. Now it is based on GtkActions
7767   and all elements can be added/removed/reordered using a simple
7768   XML file.
7769   Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction
7770   subclasses to have menu buttons and text entries in the toolbar.
7771   Change the Goto line toolbar item back to a plain text entry again.
7772 * src/callbacks.c, src/geany.h, src/main.c, src/prefs.c, src/toolbar.c,
7773   src/toolbar.h, src/ui_utils.c:
7774   Add new stock icon GEANY_STOCK_SAVE_ALL.
7775   Remove code to manually update the size of the 'Save All' toolbar
7776   icon and use the GEANY_STOCK_SAVE_ALL stock icon instead.
7777 * src/ui_utils.c, src/toolbar.c:
7778   If the requested file in ui_add_config_file_menu_item() doesn't exist
7779   in the user's config directory, try reading it from the global
7780   data directory and use the contents for the new file.
7781   Add a menu item to 'Tools->Configuration files' for the toolbar UI
7782   definition.
7783 * src/Makefile.am, wscript:
7784   Install toolbar.h.
7785 * src/ui_utils.c:
7786   Fix broken recent files menus.
7787 * glade.geany, src/callbacks.c, src/callbacks.h, src/interface.c,
7788   src/keybindings.c:
7789   Remove on_go_to_line1_activate() and directly use
7790   on_go_to_line_activate() instead.
7791 * src/prefs.c, src/treeviews.c, src/msgwindow.c:
7792   Make use of ui_widget_modify_font_from_string() at various places.
7793   Set the message window font also for the scribble.
7794 * Makefile.am, wscript, geany.nsi:
7795   Add 'ui_toolbar.xml' to EXTRA_DIST, include it in the Windows
7796   installer and install it also when using Waf.
7797
7798
77992008-12-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7800
7801 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
7802   src/callbacks.c, src/plugins.c, src/editor.c,
7803   plugins/geanyfunctions.h:
7804   Rename sci_cmd() to sci_send_command() to match the plugin API and
7805   fix the generated macro name.
7806 * src/plugindata.h, src/plugins.c:
7807   Add GeanyFunctions::p_msgwin to fix the prefix for generated macros.
7808   Deprecate GeanyFunctions::p_msgwindow.
7809 * plugins/saveactions.c:
7810   Fix use of filetypes_array.
7811 * src/build.c, src/plugindata.h, src/msgwindow.c, src/msgwindow.h,
7812   src/search.c, src/plugins.c, plugins/geanyfunctions.h:
7813   Rename msgwin_compiler_add -> msgwin_compiler_add_string.
7814   Rename msgwin_msg_add -> msgwin_msg_add_string.
7815   Rename msgwin_compiler_add_fmt -> msgwin_compiler_add.
7816   Rename msgwin_msg_add_fmt -> msgwin_msg_add.
7817   This fixes 2 geanyfunctions.h macros, and is more consistent with
7818   msgwin_status_add().
7819
7820
78212008-12-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7822
7823 * src/support.c, src/support.h:
7824   Removed unused code.
7825 * src/main.c, src/document.c, src/symbols.c:
7826   Don't mark console messages as translatable.
7827   Add two comments for translators.
7828 * plugins/genapi.py:
7829   Beautify the header comments of the generated API file.
7830   Add command line option to suppress status output.
7831 * THANKS, geany.glade, src/about.c, src/editor.c, src/editor.h,
7832   src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c:
7833   Add auto-closing of braces, brackets and quotes
7834   (patch by Guillaume de Rorthais, thanks).
7835 * geany.glade, src/interface.c:
7836   Don't mark labels of invisible menu items as translatable.
7837
7838
78392008-12-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7840
7841 * src/plugindata.h, src/document.h, doc/pluginsymbols.c,
7842   doc/plugins.dox, plugins/geanyfunctions.h, plugins/pluginmacros.h,
7843   plugins/genapi.py:
7844   Deprecate pluginmacros.h in favour of geanyfunctions.h.
7845   Move geany macro to plugindata.h.
7846   Remove geanyfunctions.h dependency on pluginmacros.h.
7847 * src/plugins.c, plugins/geanyfunctions.h, plugins/genapi.py:
7848   Allow generating macros for functions with digits in the name.
7849   Don't generate dummyprefix_scintilla_send_message and lookup_widget
7850   macros.
7851 * plugins/saveactions.c, plugins/export.c, plugins/vcdiff.c,
7852   plugins/filebrowser.c, plugins/splitwindow.c, plugins/htmlchars.c,
7853   plugins/classbuilder.c:
7854   Update to use geanyfunctions.h.
7855 * data/filetypes.common:
7856   Make whitespace setting not override background colour by default,
7857   otherwise e.g. unterminated strings in C can have inconsistent
7858   background colour when Show Whitespace is enabled.
7859
7860
78612008-12-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7862
7863 * plugins/Makefile.am, src/Makefile.am:
7864   Move target for geanyfunctions.h to plugins/Makefile.am and depend
7865   on src/plugins.c instead of all plugin API headers.
7866 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
7867   Add scintilla_send_message() to the API with its own prefix, so
7868   the geanyfunctions.h macro works.
7869   Deprecate p_sci->send_message().
7870   Add scintilla_new() to the plugin API.
7871 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/document.c,
7872   src/plugins.c, src/document.h, plugins/geanyfunctions.h:
7873   Add document_index(), filetypes_index() array accessor functions to
7874   the plugin API.
7875
7876
78772008-12-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7878
7879 * src/Makefile.am, plugins/geanyfunctions.h, plugins/Makefile.am,
7880   plugins/genapi.py:
7881   Generate plugin API header geanyfunctions.h containing macros to
7882   avoid having to type the function pointer names manually.
7883   E.g. plugin_add_toolbar_item(...) is expanded to
7884   p_plugin->add_toolbar_item(...).
7885   Note: For now, building on Windows or with Waf needs genapi.py to be
7886   run manually when adding plugin API functions.
7887 * plugins/geanyfunctions.h, plugins/demoplugin.c, plugins/genapi.py:
7888   Add header guards for geanyfunctions.h and include pluginmacros.h
7889   temporarily.
7890   Update Demo plugin.
7891 * src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
7892   plugins/geanyfunctions.h, plugins/genapi.py:
7893   Add ui_lookup_widget() to plugin API (so genapi.py has a suitable
7894   prefix).
7895   Mark SupportFuncs as deprecated.
7896   Add description comment for geanyfunctions.h.
7897
7898
78992008-12-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7900
7901 * src/keyfile.c, src/vte.c, doc/geany.txt, doc/geany.html:
7902   Make VTE emulation pref hidden, because libvte only comes with an
7903   xterm termcaps file and the GUI pref can be confusing (closes
7904   #2340966).
7905 * src/stash.c, src/keyfile.c:
7906   Add G_TYPE_STRING setting support to Stash code, use in keyfile.c.
7907 * src/keyfile.c:
7908   Read show_symbol_list_expanders hidden pref even when compiled
7909   against GTK < 2.12.
7910
7911
79122008-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7913
7914 * src/treeviews.c:
7915   Simplify the tooltips code for the Open Files treeview.
7916   Change the dependency handling for GTK 2.12 for some features
7917   from compile time to run time.
7918 * src/editor.c, src/editor.h, src/symbols.c, src/treeviews.c,
7919   src/treeviews.h:
7920   Add editor_get_calltip_text().
7921   Add tooltips for the symbol list items.
7922 * wscript, THANKS, data/filetypes.yaml, data/filetype_extensions.conf,
7923   scintilla/LexYAML.cxx, scintilla/KeyWords.cxx, scintilla/Makefile.am,
7924   scintilla/makefile.win32, src/filetypes.c, src/templates.c,
7925   src/filetypes.h, src/highlighting.c, src/plugindata.h, src/editor.c,
7926   src/about.c:
7927   Add new filetype 'YAML' (patch by Walery Studennikov, thanks).
7928 * src/notebook.c:
7929   Another attempt to handle tab close button size properly (based on
7930   code from Colomban Wendling, thanks).
7931   Handle "style-set" events to reset the tab close button icon size
7932   when necessary (another patch by Colomban Wendling, thanks).
7933 * data/filetypes.c:
7934   Sort the keyword list and remove C++ keywords.
7935 * data/snippets.conf:
7936   Add some default snippets for Python (patch by
7937   Colomban Wendling, thanks).
7938 * doc/geany.txt, doc/geany.html:
7939   Add Python to the list of filetypes with default global tags files.
7940 * src/filetypes.c:
7941   Fix wrongly detected PHP files as HTML if they start with HTML code.
7942
7943
79442008-11-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7945
7946 * src/utils.h, src/makefile.win32, src/stash.c, src/stash.h,
7947   src/keyfile.c, src/Makefile.am, wscript:
7948   Add foreach_c_array() macro in utils.h.
7949   Add stash.[hc] for reading/writing GKeyFile settings and (later)
7950   synchronizing widgets with C variables. Currently this only
7951   supports boolean and integer settings.
7952   Replace keyfile.c SettingEntry code with new stash code.
7953 * src/keyfile.c:
7954   Make hidden prefs use stash code.
7955
7956
79572008-11-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7958
7959 * src/utils.c, src/ui_utils.h, src/utils.h, src/geany.h,
7960   src/filetypes.c, src/main.c, src/symbols.c, src/ui_utils.c:
7961   Add 'Tools->Configuration Files' menu with items to open
7962   filetype_extensions.conf and ignore.tags. These files are also
7963   reloaded automatically when saved.
7964 - Code changes:
7965   Make app->configdir a realpath().
7966   Add ui_add_config_file_menu_item().
7967   Add utils_build_path(), similar to g_build_path() but (re)using a
7968   fixed buffer, so the result is never freed.
7969 * src/notebook.c:
7970   Make middle-clicking to close tabs and double-clicking to toggle
7971   widgets work also for the gap between the tab label and close
7972   button (shown when there are more tabs than fit on screen), and
7973   when middle-clicking on the close button.
7974 * src/keyfile.c, src/keyfile.h, src/filetypes.c, src/filetypes.h,
7975   src/main.c:
7976   Move configuration_read_filetype_extensions() to
7977   filetypes_read_extensions().
7978 * doc/geany.txt, doc/geany.html:
7979   Update tips for Alt/Ctrl + mouse wheel scrolling in the editor.
7980
7981
79822008-11-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7983
7984 * src/main.c, src/symbols.c, src/symbols.h:
7985   Make 'Reload Configuration' command also reload ignore.tags.
7986
7987
79882008-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
7989
7990 * tagmanager/c.c:
7991   Fix nested namespaces not having parent namespace scope (fixes
7992   #2141317).
7993
7994
79952008-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
7996
7997 * src/symbols.c:
7998   Fix wrong menu item labels in the symbol list popup menu.
7999 * src/notebook.c:
8000   Add previously removed tab close icon sizing code for non-Windows
8001   systems.
8002 * src/keybindings.c:
8003   Update the Document menu when Line Breaking/Wrapping were toggled
8004   by a keybinding.
8005 * src/keyfile.c:
8006   Remember the 'Line breaking' state of documents between sessions.
8007
8008
80092008-11-22  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8010
8011 * THANKS: Added Andrew Drynov to list of supports of Russian translation
8012
8013
80142008-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8015
8016 * src/main.c:
8017   Try to fix some problems when opening files with non-Ascii characters
8018   on Windows from the command line.
8019 * plugins/export.c, plugins/saveactions.c, src/callbacks.c,
8020   src/plugindata.h, src/plugins.c, src/utils.c:
8021   Attempt to make utils_get_date_time() UTF-8 safe and add it to the
8022   plugin API.
8023   Fix misnamed str_casecmp() function in the plugin API, sorry.
8024 * src/editor.c, src/templates.c, src/templates.h:
8025   Make templates_replace_all() working on GStrings to fix various
8026   string replacement problems when using custom file templates.
8027
8028
80292008-11-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8030
8031 * src/symbols.c:
8032   Add Expand/Collapse All symbol list popup menu items.
8033   Disable symbol list sort items when there are no tags.
8034 * src/ui_utils.h, src/plugindata.h, src/plugins.c, src/symbols.c,
8035   src/ui_utils.c, plugins/filebrowser.c, plugins/classbuilder.c:
8036   Add function ui_image_menu_item_new() to the plugin API, to easily
8037   create a menu item with a stock image and a custom label.
8038 * data/html_entities.tags, THANKS:
8039   Update from file made by Tyler D'Agosta (thanks). This version
8040   includes all character entities defined by HTML 2.0, HTML 3.2, and
8041   HTML 4.0, and one (&apos;) defined in XHTML 1.0.
8042 * src/plugins.c, src/main.c:
8043   Create geany_object in main.c so core functions can use it even
8044   when plugins are disabled.
8045 * src/project.c, src/callbacks.c, src/document.c, src/editor.c:
8046   Remove now-unnecessary checks for geany_object != NULL.
8047
8048
80492008-11-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8050
8051 * src/documentprivate.h, src/symbols.c:
8052   Use radio buttons for symbol list popup menu sort items.
8053 * src/symbols.c:
8054   Fix reloading sometimes changing the symbol list sort order.
8055
8056
80572008-11-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8058
8059 * src/search.c:
8060   Rework search_close_pid() and let it handle the case when the grep
8061   command was killed externally.
8062   Fix wrong encoding handling when the chosen encoding was UTF-8 and
8063   properly skip any conversions in this case.
8064 * geany.nsi:
8065   Properly support silent installations with the Windows installer
8066   (closes #2204671).
8067 * src/build.c:
8068   Fix broken LaTeX view commands (closes #2315014).
8069
8070
80712008-11-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8072
8073 * src/notebook.c:
8074   Remove forced size requests for the tab close icon as it seems not
8075   necessary and broke the icon on Windows.
8076 * doc/geany.txt, doc/geany.html:
8077   Fix some typos.
8078   Add note about the encoding box in the Find in Files dialog.
8079 * src/document.c, src/document.h, src/notebook.c:
8080   Show the full filename of a document as tooltip on the tab labels.
8081 * src/dialogs.c, src/document.c, src/plugindata.h, src/plugins.c,
8082   src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
8083   src/ui_utils.h, src/vte.c:
8084   Add ui_widget_set_tooltip_text() as a convenience function to easily
8085   set tooltips for widgets. It uses gtk_widget_set_tooltip_text() on
8086   GTK >= 2.12 otherwise the old tooltips API.
8087 * plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
8088   plugins/vcdiff.c:
8089   Use ui_widget_set_tooltip_text().
8090
8091
80922008-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8093
8094 * src/treeviews.c:
8095   Refactor with sidebar_add_common_menu_items().
8096 * src/treeviews.c, src/treeviews.h, src/main.c, src/symbols.c,
8097   src/symbols.h:
8098   Move symbol list popup menu code to symbols.c.
8099   Add symbols_init().
8100 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
8101   src/project.c, src/search.c, src/editor.c:
8102   Make utils_free_pointers() take an arg_count argument to prevent
8103   memory leaks.
8104 * plugins/classbuilder.c:
8105   Update utils_free_pointers().
8106
8107
81082008-11-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8109
8110 * Makefile.am:
8111   Add 'waf' to EXTRA_DIST.
8112 * src/search.c:
8113   Capture command's stderr and log it into the Debug messages window
8114   when a Find in Files search fails.
8115   Add the project's base_path to the directory list in the Find in
8116   Files dialog if a project is open.
8117   Improve layout of the combo box labels in the Find in Files dialog.
8118 * src/search.c, src/ui_utils.c, src/ui_utils.h:
8119   Add and use ui_combo_box_prepend_text_once() to add project's
8120   base_path to the Find in Files dialog even if another project was
8121   opened.
8122 * src/build.c, src/callbacks.c, src/editor.c, src/editor.h,
8123   src/msgwindow.c, src/plugindata.h, src/plugins.c, src/sciwrappers.c,
8124   src/sciwrappers.h, src/search.c:
8125   Note: this breaks the plugin API for Editor and Scintilla functions.
8126   Rename all functions in editor.c and sciwrappers.c which are related
8127   to indicators for more consistency.
8128 * src/templates.c:
8129   Plug little memory leak.
8130 * src/utils.c:
8131   When passing NULL to utils_str_replace(), also return NULL
8132   (fixes broken new file template list).
8133
8134
81352008-11-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8136
8137 * src/search.c:
8138   Fix wrong highlighting of search results when using 'Mark' in
8139   the Find dialog.
8140   Fix possible crash when using the Find in Files dialog.
8141   Clear previously set search indicators before when using 'Mark' in
8142   the Find dialog.
8143 * data/filetypes.common:
8144   Change the default values for selection fore- and background colour
8145   to some sane values.
8146
8147
81482008-11-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8149
8150 * src/main.c:
8151   Prompt the user for whether to move the configuration directory or
8152   just quit instead. This is useful if the user is already running an
8153   older binary of Geany and the second instance is newer.
8154 * src/utils.c, src/editor.c:
8155   Fix bug with utils_string_replace_all().
8156   Make utils_str_replace() call utils_string_replace_all() internally
8157   (for better memory management and allowing replacements to match
8158   search string).
8159 * src/editor.c:
8160   Add editor_insert_text_block() newline_indent_size argument to add
8161   fixed indentation on each newline, or -1 to read from insert_pos's
8162   line.
8163 * src/editor.c:
8164   Make auto_table() use editor_insert_text_block().
8165
8166
81672008-11-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8168
8169 * HACKING, doc/geany.1.in, doc/geany.html, doc/geany.txt,
8170   plugins/demoplugin.c, src/geany.h, src/main.c, src/plugins.c,
8171   src/socket.c, src/utils.c, src/utils.h, src/win32.c, src/win32.h,
8172   tagmanager/options.c:
8173   Follow XDG Base Directory specification and use
8174   $XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as
8175   default configuration directory (closes #2166229).
8176   The previous configuration will be moved to the new location if
8177   the new directory doesn't exist yet.
8178   Move utils_make_settings_dir() into main.c.
8179   Remove win32_get_appdata_folder() because g_get_user_config_dir()
8180   does the same.
8181 * src/search.c:
8182   Add an encoding combo box to the Find in Files dialog to choose an
8183   encoding to use for searching (i.e. the encoding in which the search
8184   text is passed to 'grep').
8185 * data/filetypes.latex:
8186   Remove a few duplicate keywords.
8187
8188
81892008-11-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8190
8191 * src/editor.c:
8192   Fix indenting for Tabs & Spaces mode when inserting snippets.
8193 * src/editor.c:
8194   Make function editor_insert_text_block() interpret any \t tab chars
8195   as indent widths when inserting text.
8196 * src/utils.c:
8197   Make API function utils_string_replace_all() able to make
8198   replacements that match the search string.
8199 * src/editor.c:
8200   Make editor_insert_text_block() transform any \n newline chars with
8201   the correct line ending string.
8202
8203
82042008-11-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8205
8206 * tagmanager/c.c:
8207   Fix indentation to consistently use tabs (patch by Colomban Wendling,
8208   thanks).
8209
8210
82112008-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8212
8213 * src/utils.c:
8214   Fix empty statements and possible memory leaks with
8215   utils_free_pointers() in utils_str_casecmp().
8216 * plugins/splitwindow.c, src/about.c, THANKS:
8217   Add Split Vertically command (patch by Moritz Barsnick, thanks;
8218   #2219553).
8219
8220
82212008-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8222
8223 * doc/Makefile.am, wscript, waf:
8224   Improve the checking for 'rst2html.py' when creating HTML docs.
8225   Update Waf to 1.5.0 (final).
8226 * plugins/export.c:
8227   Use 'utf8' as encoding package in the LaTeX template as it seems it
8228   is the most used version for UTF-8 support.
8229 * src/utils.c:
8230   Evaluate only the strings 'TRUE' and 'true' to true in utils_atob(),
8231   any other string is treated as false.
8232 * src/document.c, src/plugindata.h, src/plugins.c, src/templates.c,
8233   src/utils.c, src/utils.h:
8234   Replace uses of g_strcasecmp() with our own implementation,
8235   utils_str_casecmp().
8236   Add utils_str_casecmp() to the plugin API.
8237 * doc/Doxyfile.in, src/plugindata.h:
8238   Remove obsolete tag in Doxyfile.in.
8239   Fix doxygen warnings for undocumented enum in plugindata.h.
8240 * THANKS, src/about.c, src/templates.c:
8241   Add a file template for LaTeX (patch by Herbert Voss, thanks).
8242
8243
82442008-11-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8245
8246 * src/highlighting.c, src/plugindata.h, src/about.c, src/filetypes.c,
8247   src/filetypes.h, tagmanager/parsers.h, tagmanager/c.c,
8248   data/filetype_extensions.conf:
8249   Apply patch from Colomban Wendling to add Vala filetype (thanks).
8250   Fix c.c tagLetter() bug.
8251 * tagmanager/c.c:
8252   Use separate keyword table for D (still missing keywords though).
8253
8254
82552008-11-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8256
8257 * doc/geany.txt, doc/geany.html, src/templates.c, src/templates.c,
8258   src/editor.c:
8259   When using custom file templates, add the extension of the template
8260   file to the filename of the new document.
8261   Make {datetime} wildcard generally available for most template types.
8262   Allow use of most available wildcards for custom file templates, too.
8263 * scintilla/KeyWords.cxx:
8264   Remove unused lexers.
8265
8266
82672008-11-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8268
8269 * src/about.c, src/treeviews.c, src/treeviews.h, src/symbols.c,
8270   THANKS:
8271   Merge symbol-tree branch:
8272   Apply patch (with some reworking) from Conrad Steenberg
8273   (gnocci-man) to show methods as children of classes in the symbol
8274   list, and for other tag types to group children by their parents
8275   (thanks; #2083110).
8276   This works for any filetype that TagManager can parse tag scopes
8277   for.
8278   Fix not allowing a leading underscore when using scope name prefix.
8279   Fix symbol-tree branch bug: missing C++ constructor declaration
8280   tags.
8281 - Code changes:
8282   Use TMTag instead of GeanySymbol so the symbol tree can read the
8283   scope without parsing it.
8284   Free tag list straight after use, instead of next time the list is
8285   generated.
8286   Use TMTag pointer tree model column instead of line number.
8287 * tagmanager/conf.c:
8288   Group Conf symbol list tags by section.
8289 * src/symbols.c:
8290   Add icons for Conf symbol tree items.
8291 * src/symbols.c:
8292   Make Python symbol tree method icon look more like a function than
8293   variable.
8294
8295
82962008-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8297
8298 * src/editor.c, doc/geany.txt, doc/geany.html:
8299   Make Ctrl-click go to matching brace if there's no current word.
8300 * plugins/vcdiff.c, src/editor.c, src/plugindata.h, src/plugins.c:
8301   Make Version Diff plugin set the indent type for diffs based on the
8302   current file's indent type.
8303   Add editor_set_indent_type() to the API.
8304   Note: uses editor.h plugindata.h include.
8305
8306
83072008-11-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8308
8309 * src/editor.c:
8310   Don't auto close <hr> tags in HTML (closes #2226117).
8311 * THANKS, data/filetype_extensions.conf, data/filetypes.matlab,
8312   scintilla/KeyWords.cxx, scintilla/LexMatlab.cxx,
8313   scintilla/Makefile.am, scintilla/makefile.win32, src/editor.c,
8314   src/filetypes.c, src/filetypes.h, src/highlighting.c,
8315   src/plugindata.h, src/symbols.c, src/templates.c,
8316   tagmanager/Makefile.am, tagmanager/makefile.win32,
8317   tagmanager/matlab.c, tagmanager/parsers.h, wscript:
8318   Add new filetype 'Matlab' (closes #1938631, patch by Roland
8319   Baudin, thanks).
8320 * src/dialogs.c:
8321   Allow showing remote locations in the file open dialog with
8322   GTK >= 2.14 since it works with Gvfs/FUSE mounts, too.
8323 * src/prefs.c:
8324   Plug a little memory leak.
8325 * src/document.c, tagmanager/c.c, tagmanager/entry.c,
8326   tagmanager/entry.h, tagmanager/fortran.c, tagmanager/get.c,
8327   tagmanager/get.h, tagmanager/include/tm_source_file.h,
8328   tagmanager/include/tm_project.h, tagmanager/js.c,
8329   tagmanager/read.c, tagmanager/read, tagmanager/sql.c,
8330   tagmanager/tm_source_file.c, tagmanager/tm_tag.c:
8331   Add support for updating tags from a memory buffer (code merged from
8332   Anjuta).
8333   This still doesn't work and is currently disabled. It would only work
8334   for a few filetypes like C, Fortran and JavaScript. The current
8335   implementation is still buggy, e.g. function signature parsing is
8336   broken.
8337
8338
83392008-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8340
8341 * src/search.c:
8342   Refactor search_show_find_in_files_dialog().
8343 * src/search.c:
8344   Fix segfault when showing Find in Files dialog when no documents are
8345   open (r2998, #2228544).
8346   Fix segfault for FIF from last commit (oops).
8347
8348
83492008-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8350
8351 * src/editor.c:
8352   Fix snippets and smart indent using too much indentation when the
8353   line contains whitespace after non-whitespace characters. This
8354   might also have affected other features (auto table, etc). (Fixes
8355   #2215044).
8356 * src/prefs.c:
8357   Fix Prefs dialog Tools tab Context Action open button showing the
8358   file dialog twice (fixes #2216478).
8359
8360
83612008-11-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8362
8363 * src/callbacks.c:
8364   Fix GLib warning when pressing Close File keybinding and no
8365   documents are open.
8366
8367
83682008-10-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8369
8370 * plugins/splitwindow.c:
8371   Revert last change as it breaks (again) the primary X selection as
8372   well as the mouse cursor on the scrollbar.
8373
8374
83752008-10-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8376
8377 * plugins/splitwindow.c:
8378   Try to fix a weird bug in reparenting the notebook widget when
8379   splitting on Windows.
8380   It still occurs on unsplitting.
8381
8382
83832008-10-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8384
8385 * doc/geany.txt, doc/geany.html:
8386   Update docs for changed rectangular selection usage since Geany 0.15.
8387 * src/geanyobject.c:
8388   Replace deprecated gtk_marshal_* functions with g_cclosure_marshal_*
8389   functions and add geany_cclosure_marshal_VOID__STRING_INT_POINTER.
8390   Fix a wrong marshal type (pointer != int).
8391 * doc/Doxyfile.in, tagmanager/include/tm_source_file.h,
8392   tagmanager/include/tm_work_object.h,
8393   tagmanager/include/tm_workspace.h, tagmanager/tm_source_file.c,
8394   tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
8395   Enable generation of API documentation of tagmanager functions
8396   which are exposed in the plugin API, hide all others from the
8397   API docs.
8398
8399
84002008-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8401
8402 * src/document.c:
8403   Handle UTF16/32 encoded files without a BOM better and allow
8404   them to opened (#2155573, patch by Jason Oster, thanks).
8405
8406
84072008-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8408
8409 * src/main.c, src/plugins.c:
8410   Fix deprecated usage of g_win32_get_package_installation_directory(),
8411   pass NULL as package name.
8412 * src/main.c, src/plugins.c, src/plugindata.h:
8413   Add main_locale_init() to the plugin API.
8414 * src/callbacks.c:
8415   Fix updating of the value of the toolbar Goto line spinbutton.
8416 * doc/geany.html, doc/geany.txt, src/callbacks.c, src/editor.c,
8417   src/editor.h, src/highlighting.c, src/plugindata.h, src/plugins.c,
8418   src/sciwrappers.c, src/search.c:
8419   Add *_full variants of editor indicator functions to the plugin API
8420   for more control over indicators.
8421   Add/Update some API docs.
8422   Make the 'Mark' button for Find highlight the results with rounded
8423   boxes instead of marking the whole line.
8424
8425
84262008-10-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8427
8428 * THANKS: Added Roland Baudin to list of contributors of translations.
8429 * data/html_entities.tags:
8430   Added some more HTML entities.
8431
8432
84332008-10-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8434
8435 * src/filetypes.c:
8436   Add simple auto-detection for HTML files without proper extension.
8437 * geany.glade, src/callbacks.c, src/dialogs.c, src/dialogs.h,
8438   src/editor.c, src/editor.h, src/interface.c:
8439   Replace Goto line text entry field in the toolbar with a spin button.
8440   Remove dialogs_show_goto_line(), use the more generic
8441   dialogs_show_input_numeric() instead.
8442   Increase limit of the maximum line number from 99999 to 100000000.
8443 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
8444   src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
8445   src/ui_utils.c, src/ui_utils.h:
8446   Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
8447
8448
84492008-10-22  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8450
8451 * data/html_entities.tags:
8452   Add a few more entities common in e.g. Spanish language.
8453
8454
84552008-10-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8456
8457 * src/highlighting.c, data/filetypes.css:
8458   Change style for 'identifier3' to bold to be in sync with the
8459   other identifier styles.
8460 * tagmanager/general.h, tagmanager/tm_file_entry.c,
8461   tagmanager/tm_project.c, tagmanager/tm_symbol.c, tagmanager/tm_tag.c,
8462   tagmanager/tm_work_object.c:
8463   Add get_path_max() to get a sane value if PATH_MAX is not defined.
8464   Change code where PATH_MAX was used unnecessarily.
8465   Use GSlice API when building against GLib >= 2.10
8466   (patch by Colomban Wendling, thanks).
8467 * plugins/export.c, src/build.c, src/dialogs.c, src/search.c,
8468   src/ui_utils.c, src/vte.c:
8469   Replace gtk_widget_(un)ref() with g_object(un)ref(),
8470   patch by Colomban Wendling, thanks.
8471
8472
84732008-10-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8474
8475 * src/about.c:
8476   Added Dominic Hopf to list of German translators. Removed Enrico
8477   from List.
8478
8479
84802008-10-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8481
8482 * data/html_entities.tags:
8483   Add a few more entities for punctuation
8484   (patch by Walery Studennikov, thanks).
8485 * src/highlighting.c, data/filetypes.css:
8486   Fix typo in 'pseudo_elements' keyword type name.
8487   Change style for pseudo elements to bold and italic.
8488   Change colours and bold flag for the extended_* and id styles
8489   (thanks to Jason Oster for his suggestions).
8490 * src/about.c:
8491   Use a GeanyWrapLabel for the label holding the "Some contributors"
8492   text to fix dialog oversize problems with some localisations.
8493 * src/symbols.c:
8494   Use CSS-specific symbol type names.
8495
8496
84972008-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8498
8499 * src/main.c, src/main.h:
8500   Support loading a project file in a new instance from the
8501   command-line.
8502   Warn user when ignoring other command-line files when a project file
8503   is the first argument.
8504 * src/main.c:
8505   Add description for -P option.
8506 * src/main.c:
8507   Fix warning about ignoring command-line files.
8508
8509
85102008-10-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8511
8512 * New release: Geany 0.15 "Quillan".
8513 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
8514   wscript, doc/geany.txt, doc/geany.html, src/geany.h:
8515   Post-release version bump.
8516
8517
85182008-10-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8519
8520 * plugins/splitwindow.c:
8521   Include "support.h" for I18N support instead of <glib/gi18n.h>
8522   to get strings translated with GLib 2.18+.
8523 * data/filetypers.tcl:
8524   Use 'tclsh' as default Compile/Run command (part of #2037728).
8525 * scintilla/*, scintilla/include/, src/plugindata.h:
8526   Update Scintilla to version 1.77.
8527 * src/highlighting.c, data/filetypes.diff:
8528   Add new style 'Changed' to filetype Diff.
8529 * autogen.sh, Makefile.am:
8530   Require automake 1.7 or later.
8531 * src/highlighting.c, data/filetypes.css:
8532   Add new styles and keyword types for filetype CSS.
8533   Remove default keywords from highlighting.c.
8534   Update CSS keyword lists and a few styles
8535   (patch by Jason Oster, thanks).
8536 * doc/images/*, doc/geany.txt, doc/geany.html:
8537   Update images for documentation.
8538
8539
85402008-10-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8541
8542 * src/keybindings.c:
8543   Make keyboard shortcuts dialog using a treeview to display
8544   the shortcuts to make it scrollable with the keyboard.
8545
8546
85472008-10-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8548
8549 * wscript, waf:
8550   Update Waf once more.
8551 * tagmanager/Makefile.am:
8552   Add variable 'regex_sources' to append to libtagmanager_a_SOURCES
8553   if necessary.
8554
8555
85562008-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8557
8558 * src/editor.c:
8559   Don't connect editor callbacks when creating the editor widget for
8560   the split window plugin (they didn't work anyway, except for
8561   Undo/Redo).
8562 * doc/geany.txt, doc/geany.html, NEWS:
8563   Update for missing documentation since 0.14.
8564
8565
85662008-10-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8567
8568 * geany.nsi:
8569   Add option to not create desktop and quicklaunch shortcuts.
8570   Allow skipping creation of the Start Menu folder.
8571
8572
85732008-10-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8574
8575 * src/interface.c, src/callbacks.c, src/callbacks.h, src/plugins.c,
8576   src/plugins.h, geany.glade:
8577   Show the tools menu separator if there are any items below it.
8578 * src/plugins.c, src/plugins.h, src/ui_utils.c:
8579   Fix showing desensitive widgets if no documents are open when a
8580   plugin is first loaded.
8581   Remove plugins_update_document_sensitive().
8582 * plugins/vcdiff.c:
8583   Fix mixed indentation (prevents vcdiff.c being detected as T/S).
8584
8585
85862008-10-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8587
8588 * THANKS, src/about.c: Update of name of Korean translator. Thanks
8589   Park Jang-heon.
8590
8591
85922008-10-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8593
8594 * src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
8595   doc/pluginsymbols.c:
8596   Add ui_add_document_sensitive() to the plugin API.
8597   Deprecate plugin_fields, PluginFlags - use
8598   ui_add_document_sensitive() instead.
8599 * plugins/saveactions.c, plugins/export.c, plugins/vcdiff.c,
8600   plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
8601   plugins/htmlchars.c, plugins/classbuilder.c:
8602   Use ui_add_document_sensitive().
8603   Use PLUGIN_VERSION_CHECK(GEANY_API_VERSION) for internal plugins,
8604   except the Demo plugin (as an example).
8605 * doc/Doxyfile.in, doc/pluginsymbols.c:
8606   Generate API documentation for deprecated symbols.
8607 * src/ui_utils.c:
8608   Fix having a small gap before plugin toolbar items.
8609
8610
86112008-10-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8612
8613 * ko.po, LINGUAS, src/about.c, THANKS:
8614   Added Korean translation. Thanks to netkiss for translation.
8615
8616
86172008-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8618
8619 * src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
8620   doc/Doxyfile.in, doc/pluginsymbols.c, plugins/demoplugin.c,
8621   plugins/pluginmacros.h:
8622 - API changes:
8623   Replace p_ui->get_toolbar_insert_position() with
8624   p_plugin->add_toolbar_item(), which also adds a separator when the
8625   first item is added.
8626   Add 'GeanyPlugin *geany_plugin' plugin symbol, partly to replace
8627   plugin_info (now deprecated), mainly to identify a plugin and hold
8628   private implementation fields for plugin utility functions.
8629   (plugin_info will be removed after the 0.15 release.)
8630 - Code changes:
8631   Add ui_auto_separator_add_ref() to hide separator-like widgets when
8632   their visible group elements are hidden or destroyed.
8633 * tagmanager/css.c:
8634   Fix gcc warning, wrap line.
8635 * src/plugins.c:
8636   Tidy up plugin cleanup code.
8637 * src/plugins.c:
8638   Use geany_debug() instead of g_warning() when a plugin has
8639   unresolved symbols.
8640 * src/dialogs.c:
8641   Refactor dialogs_show_unsaved_file() with run_unsaved_dialog().
8642
8643
86442008-10-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8645
8646 * src/highlighting.c:
8647   Fix regression: clear all styles for filetype None to not break
8648   the 'invert_all' option.
8649 * src/saveactions.c:
8650   InstantSave: when opening new files from template, use the template's
8651   filetype, otherwise fall back to configured default filetype.
8652 * THANKS, src/about.c, src/symbols.c, tagmanager/css.c:
8653   Upate of the CSS parser to detect also ID and Type selectors
8654   (patch by Bronisław Białek, thanks).
8655
8656
86572008-10-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8658
8659 * src/search.c:
8660   Change of a typo in singular form of some status messages. Thanks to
8661   Jeff Bailes for reporting.
8662
8663
86642008-10-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8665
8666 * src/editor.c:
8667   Fix Ctrl-click on a word when Numpad is enabled.
8668 * src/dialog.c:
8669   Make a some labels in the File Properties dialog selectable.
8670
8671
86722008-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8673
8674 * plugins/splitwindow.c:
8675   Fix only updating filename label after saving the relevant document.
8676
8677
86782008-10-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8679
8680 * plugins/filebrowser.c, plugins/htmlchars.c, src/editor.c,
8681   src/msgwindow.c, src/plugins.c, src/prefs.c, src/treeviews.c:
8682   Plug some memory leaks due to some missing g_object_unref's.
8683 * src/editor.c:
8684   Fix wrong cursor positioning while line breaking when the last
8685   character on the line was a space.
8686 * src/wscript:
8687   Add missing 'mandatory' attribute for the GTK check.
8688   Change build directory to '_build_'.
8689 * geany.glade, src/interface.c:
8690   Reorder Help menu items (swap 'Keyboard Shortcuts' and 'Website').
8691
8692
86932008-10-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8694
8695 * plugins/splitwindow.c:
8696   Add toolbar with Refresh button to sync to the current document, and
8697   an Unsplit button (reuses existing string).
8698 * src/editor.c:
8699   Fix segfault when holding Alt and scrolling editor window.
8700 * plugins/splitwindow.c:
8701   Use EditWindow structure instead of separate global variables.
8702 * plugins/splitwindow.c:
8703   Fix segfault when clicking on split window after the original
8704   document has been closed and the view has been refreshed to another
8705   document.
8706 * plugins/splitwindow.c:
8707   Refactor with set_editor().
8708 * plugins/splitwindow.c:
8709   Add filename label.
8710   Fix Gtk warning when resplitting.
8711
8712
87132008-10-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8714
8715 * plugins/splitwindow.c:
8716   Fix wrong editor scrollbar mouse cursor and broken middle-click
8717   paste after splitting or unsplitting (fixes #2142186).
8718   Note: this is a workaround for an issue with Scintilla where the
8719   widget (or its parents) can't be removed or reparented to a
8720   non-visible widget.
8721
8722
87232008-10-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8724
8725 * geany.glade, src/interface.c:
8726   Enable interactive search for the keybindings tree view in the
8727   prefs dialog.
8728 * wscript, waf:
8729   Update waf to its latest SVN version (nearly 1.5.0).
8730   Adjust wscript to latest Waf API changes.
8731 * configure.in, wscript, tagmanager/ctags.c, src/tools.c:
8732   Use g_strerror() instead of strerror().
8733   Remove build system checks for strerror().
8734
8735
87362008-10-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
8737
8738 * data/latex.tags: Added some more keywords for moderncv to tag list.
8739
8740
87412008-10-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8742
8743 * doc/geany.txt, doc/geany.html, po/POTFILES.in, plugins/saveactions.c,
8744   plugins/autosave.c, plugins/Makefile.am, plugins/makefile.win32:
8745   Merge InstantSave, AutoSave and BackupCopy plugins into the
8746   plugin 'Save Actions'.
8747   Add a section for documentation of internal plugins in the
8748   documentation.
8749 * doc/geany.html, doc/geany.txt, geany.glade, src/interface.c,
8750   src/keyfile.c, src/prefs.c, src/project.c, src/project.h:
8751   Add an option to store the project file of new projects inside the
8752   project base directory.
8753   Doc: Add descriptions for the Search tab in the preferences dialog.
8754*  scripts/svn-changes.sh, scripts/wafinit.sh:
8755   Remove more bashisms and avoid using 'which' which is not
8756   LSB-compliant.
8757
8758
87592008-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8760
8761 * HACKING, doc/Makefile.am:
8762   Reformat HACKING as true reStructuredText.
8763   Add 'make hacking-doc' target to generate hacking.html.
8764 * src/highlighting.c:
8765   Fix using common styleset for filetype None.
8766 * src/highlighting.c:
8767   Remove unused argument ft_id from styleset_common().
8768
8769
87702008-09-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8771
8772 * src/project.c:
8773   Fix a few memleaks.
8774   Handle errors when creation of the project base directory fails.
8775   Update the window title also when creating new projects.
8776 * src/build.c:
8777   Remove inexact and unnecessary warning if a Run command has failed.
8778
8779
87802008-09-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8781
8782 * data/filetypes.r, src/highlighting.c:
8783   Fix syntax highlighting for filetype R, synchronise the colours with
8784   those other filetypes.
8785   Add two more keyword types and add many many more keywords.
8786
8787
87882008-09-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8789
8790 * doc/geany.txt, doc/geany.html:
8791   Remove use of non-greedy matching in error_regex - this doesn't seem
8792   to be supported by common versions of glibc (thanks to AC for
8793   reporting).
8794 * src/documentprivate.h, src/document.c, src/editor.c:
8795   Apply patch from Jason Oster to auto-update the line margin width as
8796   lines are added (thanks; #2129157).
8797
8798
87992008-09-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8800
8801 * geany.glade, src/interface.c, src/notebook.c:
8802   Revert previous notebook focus changes as this disables the tab
8803   scroll arrows.
8804 * scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
8805   scintilla/KeyWords.cxx, scintilla/LexOthers.cxx, src/templates.c,
8806   src/highlighting.c, src/plugindata.h, src/filetypes.c,
8807   src/filetypes.h, src/editor.c, data/filetype_extensions.conf,
8808   data/filetypes.po:
8809   Add new filetype 'Gettext translation file' (closes #2131985).
8810 * src/highlighting.c, data/filetypes.perl:
8811   Don't use hard-coded stylebits values for different lexers, query
8812   the correct value from Scintilla and use it (this fixes a display
8813   problem with Perl code like 'sub test()').
8814   Add missing styles for filetype Perl.
8815 * doc/Makefile.am, wscript:
8816   When generating documentation, first try rst2html.py as it is
8817   the upstream default.
8818
8819
88202008-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8821
8822 * src/log.c:
8823   Make the debug messages window a little bigger.
8824   Enable wrapping of messages to avoid horizontal scrolling.
8825   Automatically scroll to the end of the messages when showing the
8826   dialog or updating its contents.
8827 * src/editor.c:
8828   Make 'Line Breaking' UTF-8 safe (to work with non-ASCII characters).
8829 * autogen.sh:
8830   Cleanup. Remove unnecessary checks and code.
8831
8832
88332008-09-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8834
8835 * geany.glade, src/interface.c, src/notebook.c:
8836   Remove can_focus flag from notebook widgets to avoid focused tab
8837   labels.
8838 * doc/geany.txt, doc/geany.html, src/editor.c, src/keybindings.c,
8839   src/keybindngs.h, src/plugindata.h:
8840   Make 'Previous/Next word part' keybindings configurable.
8841 * src/editor.c:
8842   Fix unintentional switch fall-through (patch from Jason Oster,
8843   thanks).
8844
8845
88462008-09-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8847
8848 * src/editor.c:
8849   Return GEANY_AUTOINDENT_BASIC from editor_get_indent_prefs() if the
8850   per-document pref is set, even if the global mode is none.
8851 * scintilla/makefile.win32, scintilla/LexR.cxx,
8852   scintilla/KeyWords.cxx, scintilla/Makefile.am, src/templates.c,
8853   src/highlighting.c, src/plugindata.h, src/about.c,
8854   src/filetypes.c, src/filetypes.h, src/editor.c, THANKS,
8855   data/filetype_extensions.conf, data/filetypes.r:
8856   Apply patch from Andrew Rowland to add support for the R language
8857   (thanks, #2121502).
8858 * HACKING:
8859   Update to mention separate is_comment_style() and is_string_style()
8860   functions.
8861 * src/documentprivate.h, src/prefs.c, src/treeviews.c, src/notebook.c,
8862   src/document.c, src/document.h, src/editor.c, src/symbols.c,
8863   src/ui_utils.c:
8864   Use GeanyDocumentPrivate instead of using inheritance for non-public
8865   fields (this was unnecessary and meant using ugly casts).
8866
8867
88682008-09-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8869
8870 * geany.glade, src/interface.c, src/vte.c:
8871   Set the page_size parameter of GtkAdjustments to 0 instead
8872   of 10 which is set by default by Glade. This prevents breakage of
8873   spin buttons with early versions of GTK 2.14.
8874 * src/callbacks.c, src/document.c, src/editor.c, src/editor.h,
8875   src/ui_utils.c, src/keybindings.c, src/prefs.c, src/search.c,
8876   src/tools.c:
8877   Unify the API in editor.c, all public functions now take a
8878   GeanyEditor* object.
8879 * src/editor.c:
8880   When using editor_get_eol_char_* functions with an invalid editor
8881   object, return the appropriate value according to the eol character
8882   preference (just in case).
8883 * src/callbacks.c, src/document.c, src/editor.c, src/editor.h,
8884   src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
8885   Fix using direct Scintilla access in document.c and callbacks.
8886   Add wrapper functions instead.
8887 * scripts/svn-add.sh, scripts/svn-changes.sh:
8888   Remove bashisms.
8889
8890
88912008-09-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8892
8893 * src/filetypes.c:
8894   Hopefully fix building when HAVE_REGCOMP is not defined.
8895   Add debug message when trying to parse an error regex when
8896   HAVE_REGCOMP is undefined.
8897 * src/filetypes.c, doc/geany.txt, doc/geany.html:
8898   Detect which error regex match contains the line number, and use the
8899   other match for the filename.
8900   Update 'Build system' docs for custom error regexes.
8901 * doc/geany.txt, doc/geany.html:
8902   Minor formatting changes - make the using a Makefile paragraph a
8903   note.
8904 * src/editor.c:
8905   Don't disable the per-document auto-indent pref when the global
8906   auto-indent mode is set to none (undoes part of r2981). In this
8907   case, the per-document pref just behaves like
8908   GEANY_AUTOINDENT_BASIC.
8909
8910
89112008-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8912
8913 * src/main.h, src/about.c, src/main.c, src/socket.c:
8914   Show SVN revision also for geany -v and first status message.
8915   Add main_get_version_string().
8916   Rename get_argv_filename() main_get_argv_filename().
8917
8918
89192008-09-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8920
8921 * HACKING:
8922   Move adding a lexer notes to 'Syntax highlighting' section; mention
8923   adding the LINK_LEXER command manually.
8924   Some minor edits (reST section grouping).
8925 * src/msgwindow.c:
8926   Remove ParseData::dir argument as it's not necessary for parsing;
8927   instead, use function make_absolute().
8928   Refactor msgwin_parse_compiler_error_line().
8929 * src/msgwindow.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
8930   doc/geany.html, HACKING, TODO:
8931   Add filetypes.* [build_settings] key 'error_regex' to support custom
8932   error message parsing using an extended regular expression.
8933
8934
89352008-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8936
8937 * src/editor.c, src/ui_utils.c:
8938   When the global auto-indent style pref is disabled, disable
8939   auto-indentation for all editors.
8940   Don't disable the auto-indent document pref when switching back to a
8941   document with auto-indent turned off.
8942 * src/editor.c:
8943   Fix HTML table autocompletion when the indent type is 'Tabs &
8944   Spaces' (#2118289).
8945   Add functions count_indent_size(), string_append_indent_width().
8946 * src/editor.c:
8947   Rename get_indent() read_indent().
8948   Fix possible overflow in auto_table().
8949
8950
89512008-09-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8952
8953 * document.c, document.h, editor.c, editor.h, prefs.c, sciwrappers.c,
8954   sciwrappers.h:
8955   Move document_apply_update_prefs() in editor.c.
8956   Refactor get_indent_guides_from_lexer() from sciwrappers.c in
8957   editor_set_indentation_guides().
8958 * src/editor.c:
8959   Fix broken indentation of automatic HTML table tag completion
8960   (part of #2118289).
8961
8962
89632008-09-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8964
8965 * src/sciwrappers.c:
8966   Disable indent guides for the Diff filetype, as they can be
8967   distracting as added/removed lines don't get them.
8968 * src/plugindata.h:
8969   Remove 2 unnecessary deprecated macros.
8970 * src/filetypes.c, src/filetypes.h:
8971   Add GeanyFiletypePrivate instead of using inheritance for non-public
8972   fields (this was unnecessary and meant using ugly casts).
8973
8974
89752008-09-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
8976
8977 * src/ui_utils.c:
8978   Display also the style of the current position in the status bar
8979   when debug mode is enabled.
8980   No need to make the debugging strings translatable in the status bar.
8981 * src/editor.c, src/plugins.c, src/sciwrappers.c, src/sciwrappers.h:
8982   Rename the new indicator functions and add documentation comment.
8983 * src/msgwindow.c:
8984   Handle error messages and warnings from the mcs (Mono) compiler like
8985   those from Pascal or Basic compilers.
8986
8987
89882008-09-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
8989
8990 * src/plugins.c:
8991   Use wrap label for the first label in the plugin manager dialog.
8992   Use scrolled window for plugin details text area to avoid resizing
8993   dialog components if a plugin has a long description.
8994 * src/plugindata.h:
8995   Fix ScintillaFuncs::indic_clear() return type, and rename to
8996   indicator_clear().
8997 * src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
8998   src/editor.c, src/editor.h, doc/geany.txt, doc/geany.html,
8999   geany.glade:
9000   Add 'Tab key indents' pref, which replaces hidden pref
9001   'use_tab_to_indent'; it's now on by default.
9002
9003
90042008-09-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9005
9006 * data/filetypes.css, src/highlighting.c:
9007   Add missing 'directive' style to filetype CSS
9008   (patch from Jason Oster, #2114697, thanks).
9009 * src/callbacks.c, src/editor.c, src/keybindings.c, src/plugindata.h,
9010   src/plugins.c, src/sciwrappers.c, src/sciwrappers.h, src/tools.c,
9011   src/ui_utils.c:
9012   API changes:
9013   Rename sci_can_copy() into sci_has_selection().
9014   Rename sci_find_bracematch() into sci_find_matching_brace().
9015 * src/main.c:
9016   Display SVN revision number in version information if available.
9017 * src/editor.c, src/highlighting.c, src/plugindata.h, src/plugins.c,
9018   src/sciwrappers.c, src/sciwrappers.h:
9019   Replace the usage of the old Scintilla indicator API by the new
9020   modern API and remove old hacks (patch by Jason Oster, thanks).
9021   Add new sci_indic_clear() function to the plugin API.
9022
9023
90242008-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9025
9026 * src/callbacks.c, THANKS:
9027   Cancel autocompletion on Undo/Redo (based on a patch by Jason Oster,
9028   thanks; #2102715).
9029 * src/sciwrappers.c, src/document.c:
9030   Apply patch (with minor changes) from Jason Oster to improve showing
9031   brace indent guides on empty lines when appropriate (thanks,
9032   #2105982).
9033 * doc/geany.txt, doc/geany.html:
9034   Update feature list in About Geany section.
9035 * doc/geany.txt, doc/geany.html:
9036   Edit 'About Geany' text to be more concise.
9037   A few minor fixes.
9038
9039
90402008-09-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9041
9042 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
9043   src/filetypes.c:
9044   Fix Doxygen 1.5.4 undocumented parameter warnings.
9045   Improve dox for sciwrappers.c.
9046   Correct sci_grap_focus() misspelling.
9047   (Merged from split-window-plugin branch).
9048 * doc/plugins.dox:
9049   Fix wrong parameter for "project-close" signal.
9050   (Merged from split-window-plugin branch).
9051 * src/geanyobject.c, src/geanyobject.h, src/document.c,
9052   doc/plugins.dox:
9053   Add plugin signal "document-close", sent just before a document is
9054   closed.
9055   (Merged from split-window-plugin branch).
9056 * src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
9057   po/POTFILES.in, plugins/splitwindow.c, plugins/Makefile.am,
9058   plugins/makefile.win32:
9059   Merge split-window-plugin branch.
9060   Add Split Window plugin (should work OK for viewing and basic text
9061   editing; most other features are not implemented yet).
9062   Add editor_create_widget() to the API.
9063
9064
90652008-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9066
9067 * src/editor.c:
9068   Show ellipsis (...) item when there are too many symbol names for
9069   autocompletion.
9070 * src/editor.c:
9071   Apply patch from Jason Oster to highlight matching brace indent
9072   guides (thanks, #2104099).
9073 * doc/geany.txt, doc/geany.html:
9074   s/auto detect/auto-detect.
9075   Minor formatting fixes.
9076
9077
90782008-09-14 Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
9079
9080 * COPYING: Fixing a little encoding issue in GPL text.
9081 * po/tr.po, po/LINGUAS, src/about.c, THANKS: Adding Turkish translation
9082   provided by Gürkan Gür. Thanks for it.
9083
9084
90852008-09-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9086
9087 * src/editor.c:
9088   When checking for starting auto completion always use the style
9089   of the previous character and remove possible error indicator styles
9090   which caused wrong checking (should fix #2058005).
9091
9092
90932008-09-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9094
9095 * data/filetypes.xml, src/highlighting.c:
9096   Add missing HTML attribute 'xml:lang'.
9097
9098
90992008-09-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9100
9101 * scripts/missing-mnemonics.sh, scripts/svn-add.sh:
9102   Remove bashisms.
9103   Add support for passing asterisk wildcards to missing-mnemonics.sh.
9104 * src/plugindata.h, src/plugins.c, src/ui_utils.c, src/ui_utils.h:
9105   Add ui_get_toolbar_insert_position() for plugins to get a position to
9106   insert new toolbar items.
9107 * src/log.c:
9108   Update the debug messages automatically in the debug messages window
9109   if it is open.
9110
9111
91122008-09-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
9113
9114 * doc/geany.1.in:
9115   Little typographic update to use minus sign instead of a hyphen
9116   in the manpage.
9117
9118
91192008-09-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9120
9121 * doc/geany.html, doc/geany.txt:
9122   Update feature list.
9123   Small updates of outdated information.
9124   Remove 'Supported Systems' sub section.
9125
9126
91272008-09-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9128
9129 * geany.glade, src/build.c, src/callbacks.c, src/callbacks.h,
9130   src/interface.c, src/keybindings.c, src/main.c, src/prefs.c,
9131   src/treeviews.c, src/ui_utils.c, src/plugindata.h:
9132   Rename all toolbar widgets for consistent names.
9133 * doc/geany.html, doc/geany.txt:
9134   Fix typo.
9135 * src/callbacks.c:
9136   Add '-' (dash) to the wordchars when using 'open selected filename'.
9137   Please open a bug report if this will break any filenames.
9138
9139
91402008-09-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9141
9142 * geany.glade, src/interface.c, src/dialogs.c, src/printing.c,
9143   src/vte.c:
9144   Set 'can_focus' property on some checkboxes in the prefs dialog
9145   which were missing it.
9146   Enable 'focus_on_click' property on most checkboxes in the prefs
9147   dialog to ease keyboard navigation.
9148 * waf, wscript:
9149   Update waf to its latest SVN version (1.5.0 preview).
9150   Adjust wscript to latest Waf API changes.
9151 * HACKING, README, README.I18N, configure.in, doc/geany.1.in,
9152   doc/geany.txt, doc/geany.html, doc/plugins.dox, geany.nsi,
9153   geany.spec.in, src/geany.h:
9154   New website address: www.geany.org.
9155   Merge README.I18N with latest changes from the wiki.
9156 * doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
9157   src/editor.c, src/interface.c, src/keyfile.c, src/prefs.c,
9158   src/sciwrappers.c, src/sciwrappers.h:
9159   Add 'Stop scroll at last line' editor pref
9160   (patch by Timothy Boronczyk, thanks).
9161 * src/vte.c:
9162   Mark the VTE as clean when restarting it to make Geany able to
9163   execute commands in it.
9164 * geany.glade, src/interface:
9165   Fix ambiguous tooltip of new 'Stop scroll at last line' editor pref.
9166
9167
91682008-08-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9169
9170 * doc/geany.txt, doc/geany.html:
9171   Separate runtime requirements and build requirements subsections.
9172   Mention that usually building GTK manually is not necessary.
9173   Run 'make install' as root.
9174   Add some subsection titles.
9175 * src/interface.c, src/prefs.c, src/keyfile.c, src/editor.c,
9176   src/symbols.c, src/editor.h, doc/geany.txt, doc/geany.html,
9177   geany.glade:
9178   Add 'Max. symbol name suggestions' autocompletion pref.
9179   Edit some autocompletion pref strings.
9180   Remove some trailing commas in array initializers (oops).
9181   Move GEANY_TOGGLE_MARK, GEANY_MAX_AUTOCOMPLETE_WORDS to keyfile.c.
9182
9183
91842008-08-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9185
9186 * src/symbols.c:
9187   Fix global tags loaded debug message, display total tags count.
9188   Add comment to warn about adding tags files vs. downloading
9189   separately.
9190
9191
91922008-08-27  Nick Treleaven  <nick.treleaven<at>btinternet.com>
9193
9194 * src/highlighting.c, src/plugindata.h, src/filetypes.c,
9195   src/filetypes.h, src/symbols.c, THANKS, tagmanager/parsers.h,
9196   tagmanager/c.c, data/filetypes.glsl, data/filetype_extensions.conf:
9197   Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
9198   Wendling, thanks; closes #2060961).
9199 * src/filetypes.c, src/filetypes.h:
9200   Add GeanyFiletypeGroupID enum and GeanyFiletype::group field.
9201 * src/keyfile.c, doc/geany.txt, doc/geany.html:
9202   Change hidden pref scroll_stop_at_last_line to TRUE (#2030914).
9203
9204
92052008-08-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9206
9207 * src/highlighting.c:
9208   Add assert statements to check that the StyleSet styling arrays are
9209   not exceeded.
9210   Make highlighting_get_style() work with all filetypes.
9211 * src/highlighting.c, src/highlighting.h, src/plugindata.h:
9212   Rename HighlightingStyle to GeanyLexerStyle.
9213   Add dox for highlighting_get_style(), GeanyLexerStyle, mentioning
9214   SCI_STYLEGETFORE.
9215 * src/filetypes.c:
9216   Use pointer in init_builtin_filetypes() instead of repeating
9217   filetypes[GEANY_FILETYPES_X]->... on each line.
9218
9219
92202008-08-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9221
9222 * src/document.c, src/editor.c, src/editor.h:
9223   Add editor_destroy() to dispose of a GeanyEditor struct (in future
9224   we may want to do more than just free it).
9225   Fix editor.h dox description to be more informative for the API
9226   (and move dox from editor.h to editor.c).
9227
9228
92292008-08-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9230
9231 * src/editor.c:
9232   Fix not using auto-completion in strings and comments (patch by
9233   Jason Oster, thanks; fixes #2057979).
9234 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
9235   Don't disable 'Detect from file' indent type pref when 'Tabs and
9236   Spaces' is selected.
9237 * src/document.c:
9238   Don't warn about a missing file on disk more than once (otherwise
9239   sometimes it's too difficult to close the file before getting the
9240   prompt).
9241 * src/document.c:
9242   Detect 'Tabs and Spaces' indent mode on finding one or more hard
9243   tabs before a soft tab at the start of several lines, and also when
9244   the first indent symbol count is not mainly tabs or mainly spaces.
9245
9246
92472008-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9248
9249 * src/document.c:
9250   Support detecting 'Tabs and Spaces' indent mode when opening a file.
9251
9252
92532008-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9254
9255 * scintilla/Makefile.am:
9256   Remove non-portable compiler optimisation '-Os'.
9257 * configure.in:
9258   Don't use AC_CHECK_PROG() to check for a C++ compiler as it
9259   breaks compatibility with suncc (reported by Andras Barna, thanks).
9260
9261
92622008-08-17  Enrico Tröger  <Enrico Tröger@localhost>
9263
9264 * geany.nsi:
9265   Put geany.exe into a 'bin' subdirectory as well as the included
9266   GTK runtime environment to fix current hardcoded 'bin' values
9267   in GTK (see http://bugzilla.gnome.org/show_bug.cgi?id=542803).
9268   Fix missing snippets.conf in the Windows installers.
9269   Fix missing python.tags in the Windows installers.
9270
9271
92722008-08-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9273
9274 * src/notebook.c:
9275   Don't look up "scroll_arrow_hlength" and "scroll_arrow_vlength"
9276   GtkWidget properties on GTK < 2.10.
9277 * src/prefs.h, src/plugindata.h, src/plugins.c:
9278   Rename api_version GEANY_API_VERSION.
9279   Rename abi_version GEANY_ABI_VERSION.
9280   Use enums for each of these so they can be used to initialize a
9281   global variable, and add dox.
9282 * src/editor.c, doc/geany.txt, doc/geany.html:
9283   Make Ctrl-click on a word perform Go to Tag Definition (this
9284   shouldn't conflict with column editing as this uses
9285   Ctrl-Shift-click).
9286
9287
92882008-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9289
9290 * doc/geany.txt, doc/geany.html:
9291   Add middle-click document closing to the Tips and Tricks appendix.
9292 * src/makefile.win32:
9293   Expect GTK 2.10 libs to link against by default and remove GTK210
9294   flag. If anyone wants to build on Windows against GTK 2.6 or 2.8
9295   use 'make GTK280=1'.
9296 * src/support.c:
9297   Replace fprintf() with g_critical().
9298 * src/log.c, src/win32.c:
9299   Fix logging of messages in the debug window on Windows.
9300   When '--debug' option is given on Windows, set the
9301   G_SPAWN_WIN32_DEBUG flag for more debug info for spawned processes.
9302 * src/log.c, src/main.c:
9303   Don't force debug mode when compiling with GEANY_DEBUG (this affects
9304   only the messages on stdout and stderr). Messages are logged always
9305   in the debug window.
9306
9307
93082008-08-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9309
9310 * doc/geany.txt, doc/geany.html:
9311   Add Tips and Tricks appendix.
9312
9313
93142008-08-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9315
9316 * geany.glade, wscript, src/Makefile.am, src/makefile.win32,
9317   src/callbacks.c, src/callbacks.h, src/interface.c, src/log.c,
9318   src/log.h, src/main.c:
9319   Move geany_debug() into log.c.
9320   Use GLib log/print handlers to log messages/warnings into a
9321   string for later usage.
9322   Add a debug messages window, accessable through the help menu to
9323   easily view debug messages/warnings.
9324   This might replace the extra console window on Windows.
9325 * src/prefs.c:
9326   Fix bad wording (closes #2038807).
9327 * src/log.c, src/main.c, src/makefile.win32:
9328   Remove trailing spaces.
9329
9330
93312008-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9332
9333 * src/editor.c:
9334   Add SCE_[CD]_COMMENTDOCKEYWORD(ERROR) comment detection to
9335   is_comment().
9336 * src/editor.c:
9337   Fix auto-multiline comment completion for CSS.
9338   Fix doc-comment keyword styles confusing auto-multiline comment
9339   completion.
9340 * src/editor.c:
9341   Break is_comment() into comment and string detection, each called in
9342   is_code_style().
9343 * plugins/export.c:
9344   Fix using correct hard tab width for HTML export, not just LaTeX.
9345 * src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
9346   src/editor.h:
9347   Rename GeanyIndentPrefs::tab_width to hard_tab_width, and update
9348   keyfile key name.
9349 * src/interface.c, geany.glade:
9350   Change 'Tab width' label to 'Hard tab width' for clarity.
9351
9352
93532008-08-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9354
9355 * src/printing.c:
9356   Fix using correct display tab width when the Tabs & Spaces indent
9357   type is set.
9358 * src/sciwrappers.c, src/plugindata.h, src/plugins.c, src/editor.c,
9359   src/editor.h, plugins/export.c:
9360   Add sci_get_tab_width() to the API, and use it to get the correct
9361   display tab width in the Export plugin.
9362 * src/keybindings.c:
9363   Don't set plugin keybinding accels for menu items in
9364   keybindings_set_item(), so user keycombos can override them.
9365 * src/build.c, src/keybindings.c, src/keybindings.h, src/tools.c,
9366   src/prefs.c, src/plugindata.h, src/plugins.c:
9367   Rename KeyCallback GeanyKeyCallback.
9368   Rename KeyBinding GeanyKeyBinding.
9369   Rename KeyBindingGroup GeanyKeyGroup.
9370
9371
93722008-08-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9373
9374 * src/printing.c:
9375   Fix compilation with GTK >= 2.10.
9376
9377
93782008-08-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9379
9380 * src/interface.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
9381   src/callbacks.h, src/keyfile.c, src/document.c, src/plugins.c,
9382   src/main.c, src/editor.c, src/editor.h, src/ui_utils.c, geany.glade,
9383   plugins/export.c, TODO:
9384   Merge changes from the custom-tab-width branch (closes #1662173).
9385   Thanks to Joerg Desch for explaining how it needs to work.
9386   Note: this breaks the plugin API for indentation editor_prefs.
9387   Add separate Width indent pref (as well as the Tab Width pref).
9388   Add 'Tabs & Spaces' Indent Type radio option pref.
9389   Add 'Tabs and Spaces' Document menu indent option.
9390   Note: Tabs & Spaces cannot be detected (yet) when opening files;
9391   default file templates still only use tabs.
9392   Set 'Detect from file' indent type setting insensitive when Tabs &
9393   Spaces is set.
9394   Don't change per-document auto-indent setting after changing default
9395   auto-indentation type.
9396 - API changes:
9397   Add GeanyIndentPrefs struct from some GeanyEditorPrefs fields.
9398   Replace GeanyIndentPrefs::use_tabs with GeanyIndentType field 'type'.
9399   Add editor_get_indent_prefs() to the API, which should be used to
9400   get the right settings for a document/editor instead of reading
9401   any struct fields. This could also support project/filetype
9402   indentation prefs quite easily.
9403 - Core code changes:
9404   Move toggle_prefs to a function toggle_items_foreach(), which takes
9405   a PREF_DISPLAY or PREF_UPDATE argument. This means the PrefEntry
9406   array can contain runtime fields, so can read pointer contents.
9407   Add pref_item_callbacks array of functions to call;
9408   toggle_items_foreach(), spin_items_foreach(), radio_items_foreach(),
9409   combo_items_foreach().
9410   Update keyfile.c to use foreach-style functions for SettingEntry
9411   arrays, like the new PrefEntry code in prefs.c.
9412   Add get_indent_size_after_line() to replace get_indent() for
9413   clarity, and to fix Tabs & Spaces auto-indentation > basic.
9414   Remove opening-brace indent code from get_indent() as it's now in
9415   get_brace_indent().
9416   Change editor_close_block() to use sci_get_line_indentation() for
9417   clarity.
9418   Make editor_close_block() static.
9419   Add editor_init().
9420
9421
94222008-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9423
9424 * src/vte.c:
9425   Revert the recent VTE realisation changes as they don't make things
9426   better.
9427 * tagmanager/tcl.c:
9428   Fix wrong parsing of keywords if they are not followed by a space
9429   (closes #2037728).
9430
9431
94322008-08-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9433
9434 * src/vte.c:
9435   Realize the VTE widget manually (still for #1844985).
9436 * src/notebook.c:
9437   Ignore the scroll arrows when checking for a double click in
9438   the notebook tab bar (closes #2033059).
9439
9440
94412008-08-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9442
9443 * src/callbacks.c, src/vte.c, src/vte.h:
9444   Revert r2843 because it messed it Ctrl-C/SIGINT in the VTE.
9445 * src/vte.c:
9446   Initialise the VTE pid var with 0 just for safety.
9447 * src/highlighting.c, data/filetypes.sql:
9448   Add some keywords for filetype SQL (patch by Felipe Pena, thanks).
9449
9450
94512008-07-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9452
9453 * src/notebook.c:
9454   Fix signature of focus_sci().
9455   Double clicking on free space in the tab bar opens a new file
9456   (#2003291).
9457 * src/vte.c:
9458   Start the shell in the VTE first when the VTE is actually realized
9459   to avoid strange display bugs on some systems (closes #1844985).
9460 * src/callbacks.c, src/vte.c, src/vte.h:
9461   Make Copy & Paste clipboard keybindings also work for the VTE
9462   (closes #2029675).
9463 * src/about.c, THANKS:
9464   Add a list of contributors to the About dialog.
9465   Update the THANKS file.
9466 * src/highlighting.c, data/filetypes.php:
9467   Add four new PHP 5.3 keywords (patch by Felipe Pena, thanks).
9468
9469
94702008-07-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9471
9472 * configure.in, wscript:
9473   Add support for retrieving the SVN revision number also
9474   when using a git-svn.
9475 * geany.glade, doc/geany.html, doc/geany.txt, src/editor.c,
9476   src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c:
9477   Add a preference for the comment toggle mark string("~ " by default).
9478 * geany.glade, src/interface.c, src/vte.c:
9479   Add a small border to all notebook pages in the preferences dialog.
9480
9481
94822008-07-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9483
9484 * src/interface.c, src/ui_utils.c, geany.glade:
9485   Revert editor popup menu Current Word submenu changes. See
9486   http://lists.uvena.de/geany-devel/2008-July/000101.html.
9487 * src/sciwrappers.c, src/plugindata.h:
9488   Add dox for ScintillaFuncs.
9489
9490
94912008-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9492
9493 * data/filetypes.sh, src/highlighting.c:
9494   Add missing "error" and heredoc styles to filetype Shellscript
9495   (related to #2026853).
9496 * waf, wscript:
9497   Update waf to its latest SVN rev and exclude some unused modules
9498   which makes it another 20 KB smaller.
9499   Update waf script to reflect waf API changes(module Install removed).
9500 * src/editor.c:
9501   Fix wrong checks when determining whether a style is a PHP style
9502   (style SCE_HPHP_COMPLEX_VARIABLE was ignored, closes #2027235).
9503
9504
95052008-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9506
9507 * src/filetypes.c:
9508   Only compile filetypes_detect_from_file() if HAVE_PLUGINS is defined.
9509 * src/plugindata.h:
9510   Rename p_filetypes->detect_from_filename() to detect_from_file() in
9511   the plugin API.
9512 * src/ui_utils.c:
9513   Add dox for all UIUtilsFuncs.
9514 * src/plugindata.h, src/document.c:
9515   Rename document_new_file() argument to utf8_filename.
9516 * src/project.c, src/project.h, src/geany.h:
9517   Add dox for GeanyApp, GeanyProject.
9518   Move GeanyProject typedef to project.h, as it is rarely used without
9519   including project.h.
9520 * src/plugindata.h, src/document.c, src/document.h:
9521   Add more dox explaining how to use documents_array (moved from
9522   document.h, to minimise rebuilding after adding dox).
9523   Remove some mentions of document indexes in document.c comments.
9524 * src/vte.c:
9525   Change VTE restart command to not call vte_terminal_fork_command() -
9526   this should prevent the hang reported in #1990323 with VTE 0.16.14.
9527   Note that with VTE 0.16.14 the reset sometimes leaves a blank
9528   terminal, but pressing enter makes it then behave as normal.
9529
9530
95312008-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9532
9533 * src/utils.c, src/utils.h, src/plugindata.h, src/callbacks.c,
9534   src/plugins.c, src/main.c, src/main.h, plugins/pluginmacros.h:
9535   Move utils_reload_configuration() to main.c.
9536 * src/main.c:
9537   Add doxygen file header for generating MainFuncs API documentation.
9538 * src/plugindata.h, src/filetypes.c, src/filetypes.h, src/document.c,
9539   src/plugins.c:
9540   Add dox for FiletypeFuncs and some of GeanyFiletype.
9541   Rename filetypes_detect_from_file() to
9542   filetypes_detect_from_document().
9543   Rename filetypes_detect_from_filename() to
9544   filetypes_detect_from_file() because it also detects shebang lines.
9545   Remove function prototype comments for filetypes.h (see filetypes.c
9546   or API dox instead).
9547 * src/ui_utils.c:
9548   Add dox for GeanyMainWidgets.
9549
9550
95512008-07-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9552
9553 * scintilla/LexHTML.cxx:
9554   Backport latest HTML/PHP lexer fixes from Scintilla CVS (#2024387).
9555 * src/editor.c:
9556   Fix space-only indentation when auto-generating HTML tables
9557   (patch by Colomban Wendling, thanks, closes #2023160).
9558
9559
95602008-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9561
9562 * src/main.c, src/socket.c, src/main.h:
9563   Fix filename encoding for new files at startup from the command-line.
9564   Make socket open command support filename:line:column syntax.
9565 * src/interface.c, src/prefs.c, src/keyfile.c, src/document.h,
9566   src/main.c, geany.glade:
9567   Add new Files pref 'Allow new documents from the command-line'.
9568 * src/interface.c, geany.glade:
9569   Rename above pref 'Open new documents...'.
9570   Group encodings prefs together in the Files tab.
9571
9572
95732008-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9574
9575 * src/keybindings.c:
9576   Add menu item accelerators first after default and user keybindings
9577   have been read to avoid that menu item accelerators of user
9578   keybindings can't be overridden anymore (closes #2021703).
9579 * src/callbacks.c, src/plugindata.h, src/plugins.c, src/utils.c, src/utils.h:
9580   Move code to reload configuration files into utils_reload_configuration()
9581   and add it to the plugin API.
9582
9583
95842008-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9585
9586 * plugins/classbuilder.c, plugins/demoplugin.c, plugins/export.c,
9587   plugins/filebrowser.c, plugins/htmlchars.c, plugins/vcdiff.c,
9588   src/about.c, src/build.c, src/dialogs.c, src/document.c,
9589   src/editor.c, src/encodings.c, src/filetypes.c, src/gb.c, src/main.c,
9590   src/msgwindow.c, src/notebook.c, src/plugins.c, src/prefs.c,
9591   src/printing.c, src/project.c, src/search.c, src/templates.c,
9592   src/tools.c, src/treeviews.c, src/ui_utils.c, src/vte.c:
9593   Rename "delete_event" to "delete-event".
9594   Remove some unnecessary GObject casts in g_signal_connect() calls.
9595 * src/geanywraplabel.c:
9596   Remove unnecessary finalize() function.
9597 * plugins/classbuilder.c:
9598   Encourage single header includes as it is necessary with GTK 2.14+.
9599 * src/treeviews.c:
9600   Handle tooltip requests for items in the open files tree view
9601   properly by using gtk_tree_view_get_tooltip_context().
9602
9603
96042008-07-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9605
9606 * src/ui_utils.c, src/ui_utils.h, src/main.c:
9607   Move widget array lookups from main.c to ui_utils.c.
9608 * src/interface.c, src/keybindings.c, src/keybindings.h,
9609   src/callbacks.c, src/callbacks.h, geany.glade:
9610   Add Find Document Usage popup menu command & keybinding.
9611 * src/interface.c, src/ui_utils.c, geany.glade:
9612   Move editor popup menu current word items to submenu.
9613
9614
96152008-07-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9616
9617 * data/filetypes.fortran:
9618   Add missing keywords: 'elemental', 'pure' and 'procedure' which also
9619   fix broken folding (patch by Henrik Holst, thanks).
9620 * src/document.c:
9621   Enforce focus grabbing when creating new documents (closes #2018427).
9622
9623
96242008-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9625
9626 * src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
9627   src/printing.c, src/tools.c, src/prefs.c, src/navqueue.c,
9628   src/plugindata.h, src/treeviews.c, src/msgwindow.c, src/callbacks.c,
9629   src/notebook.c, src/keyfile.c, src/filetypes.c, src/search.c,
9630   src/document.c, src/document.h, src/main.c, src/editor.c,
9631   src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c,
9632   plugins/export.c, plugins/vcdiff.c, plugins/htmlchars.c,
9633   plugins/classbuilder.c:
9634   Merge the editor-struct branch:
9635   Note: this breaks the plugin API for editor-related document fields
9636   and functions.
9637   Split new GeanyEditor struct type from GeanyDocument fields sci,
9638   line_wrapping, auto_indent, scroll_percent, use_tabs, line_breaking.
9639   GeanyEditor::document allows access back to document fields.
9640   Add GeanyDocument::editor field; this is only valid when the
9641   document is valid, and NULL otherwise. This means any checks for
9642   doc->editor->scintilla != NULL will segfault for invalid
9643   documents - check against doc->is_valid or doc->editor != NULL
9644   instead.
9645   Change plugin API EditorFuncs to use GeanyEditor pointers.
9646   Make editor_set_font() take a pango-style font string, and use a
9647   GeanyEditor pointer.
9648   Use GeanyEditor* instead of GeanyDocument* in editor.c (most global
9649   editor functions still need conversion though, but this may be done
9650   gradually or as required).
9651   Move utils_get_current_function() to symbols.c.
9652   Move utils_replace_filename() to document.c.
9653 * plugins/filebrowser.c:
9654   Show '..' item when the current folder is empty (fixes #2015121).
9655   Replace is_top_level_directory() code by checking g_path_skip_root().
9656 * src/plugins.c:
9657   Prevent warning when trying to load an active plugin at startup that
9658   doesn't exist on disk any more.
9659
9660
96612008-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9662
9663* data/filetype_extensions.conf, data/filetypes.f77,
9664  data/filetypes.fortran, scintilla/KeyWords.cxx, src/document.c,
9665  src/editor.c, src/filetypes.c, src/filetypes.h, src/highlighting.c,
9666  src/msgwindow.c, src/plugindata.h, src/symbols.c, src/templates.c,
9667  tagmanager/fortran.c, tagmanager/parsers.h:
9668  Split filetype Fortran into Fortran 77 and Fortran 90.
9669
9670
96712008-07-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9672
9673 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/editor.c:
9674   Add support to use template wildcards in snippets.
9675 * src/editor.c, src/templates.c, src/templates.h:
9676   Use templates_replace_all() also for snippet completion.
9677 * geany.glade, doc/geany.html, doc/geany.txt, src/editor.c,
9678   src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
9679   src/templates.c, src/templates.h:
9680   Add preferences for year, date and datetime format of the
9681   corresponding template wildcards to make them more flexible.
9682
9683
96842008-07-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9685
9686 * plugins/classbuilder.c:
9687   Fix some formatting issues.
9688   Add 'static' keyword to generated finalize() function in GTK classes.
9689
9690
96912008-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9692
9693 * plugins/pluginmacros.h:
9694   Remove deprecated struct field macros (this fixes building Geany
9695   when GEANY_DISABLE_DEPRECATED is not set, fixes #2014586).
9696
9697
96982008-07-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9699
9700 * tagmanager/haskell.c:
9701   Fix infinite loop when parsing datatypes (fixes #2011356).
9702 * src/editor.c:
9703   Make line breaking work with multi-line comment completion and
9704   'Newline strips trailing spaces' pref.
9705 * doc/plugin-symbols.c, doc/Makefile.am, doc/plugins.dox:
9706   Rename plugin-symbols.c pluginsymbols.c.
9707 * src/plugindata.h, doc/plugins.dox, plugins/export.c,
9708   plugins/vcdiff.c, plugins/demoplugin.c, plugins/filebrowser.c,
9709   plugins/htmlchars.c, plugins/autosave.c, plugins/pluginmacros.h,
9710   plugins/classbuilder.c:
9711   Remove deprecated macros and typedefs (except DOC_IDX_*), as some of
9712   them are likely to cause naming conflicts and all plugins will need
9713   updating since 0.14 anyway.
9714   Add geany macro that simply expands to geany_data.
9715   Deprecate app, main_widgets, prefs, project macros, as the geany
9716   macro can be used instead.
9717
9718
97192008-07-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9720
9721 * doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h,
9722   src/plugindata.h:
9723   Rename signal "populate-edit-menu" into "update-editor-menu".
9724 * scintilla/LexHTML.cxx:
9725   Revert the change of rev2072: Fix syntax colouring bug when using
9726   '?>' in a PHP comment (closes #1838854 and #1848518).
9727
9728
97292008-07-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9730
9731 * src/keybindings.c:
9732   Group focus keybinding callbacks together.
9733
9734
97352008-07-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9736
9737 * src/utils.c, src/editor.c:
9738   Fix memory leak in utils_find_open_xml_tag() when size < 3, and only
9739   allocate string when '<' found.
9740   Factor insert_closing_tag() from handle_xml(), fixing a memory leak
9741   when ignoring tags like <br>.
9742 * src/keybindings.c:
9743   Avoid flickering the menu bar when 'Override Geany keybindings'
9744   Terminal pref is set.
9745 * src/editor.c:
9746   Fix possible segfault for XML tag completion when no '<' brace could
9747   be found.
9748 * src/document.c:
9749   Ensure all opened documents are colourised before being drawn
9750   (should happen anyway in document_set_filetype(), but just in case).
9751 * src/keybindings.c, src/keybindings.h:
9752   Add 'Switch to Compiler' keybinding (useful when checking build
9753   progress).
9754
9755
97562008-07-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9757
9758 * src/utils.c:
9759   Fix unnecessary 40 character limit for auto-closing XML tags
9760   (closes #2007278).
9761 * src/keyfile.c:
9762   Fix broken session file support with more than 99 files
9763   (closes #2007288).
9764 * src/symbols.c:
9765   Load "ignore_tags" file before generating global tags file.
9766 * src/editor.c:
9767   Move the checks for HTML entity completion into an own function
9768   to increase readability.
9769   Remove workaround for a wrong styling on last character and replace
9770   it with proper style reading (patch by Jason Oster, thanks).
9771
9772
97732008-07-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9774
9775 * src/keybindings.c:
9776   Fix behaviour of Home and End keys in non-editor widgets when they
9777   are set as keybindings for Go to Line Start/End.
9778   This uses a new ignore_keybinding variable because changing
9779   KeyCallback to return gboolean would break plugin keybindings.
9780 * src/plugindata.h, src/plugins.c:
9781   Add document_close() to the plugin API.
9782
9783
97842008-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9785
9786 * src/treeviews.c, src/callbacks.c, src/document.c, src/document.h:
9787   Add function document_close().
9788
9789
97902008-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9791
9792 * waf, wscript:
9793   Update waf to its latest SVN rev which makes it 20 KB smaller.
9794   Update waf script to reflect waf API changes.
9795 * src/filetypes.c, src/filetypes.h, src/highlighting.c,
9796   src/templates.c:
9797   In templates_free_templates() destroy also file template menu items.
9798   Add reload argument to filetypes_load_config() to allow re-reading
9799   of the settings.
9800 * src/editor.c, src/editor.h, src/keyfile.c, src/keyfile.h, src/main.c:
9801   Move code to read snippets configuration to editor.c.
9802   Split editor_snippets_free() from editor_finalize().
9803 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
9804   Add Tools menu item to reload configuration data (at the moment:
9805   templates, filetype extensions/configs and snippets).
9806
9807
98082008-06-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9809
9810 * src/ui_utils.c:
9811   Use a dynamic pointer array for document sensitive widgets, so it's
9812   easy to group widget names together in the source.
9813   Make 'Close other documents' menu item document-sensitive.
9814 * src/ui_utils.c:
9815   Fix stack corruption (cannot use stack GPtrArray as this is just a
9816   base-class for private GRealPtrArray).
9817
9818
98192008-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9820
9821 * src/socket.c:
9822   When opening files remotely using the socket, handle filename
9823   encoding better and try to auto-detect the used encoding as it
9824   might be different each time (hopefully closes #2003980).
9825 * src/editor.c:
9826   Attempt to make editor_find_current_word() Unicode-safe. Note: this
9827   can be done better.
9828 * doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h,
9829   src/plugindata.h:
9830   Add plugin signal "populate-edit-menu" to notify plugins when the
9831   editing menu is shown.
9832
9833
98342008-06-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9835
9836 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
9837   Add 'Close Other Documents' File menu command (#1976724).
9838 * src/keybindings.c, src/keybindings.h, src/editor.c:
9839   Add Go to Start/End of Line keybindings (#1996175).
9840
9841
98422008-06-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9843
9844 * src/vte.c, src/vte.h:
9845   Move struct _VteTerminal, VteFunctions from vte.h to vte.c.
9846   Call vte_restart() in vte_keypress() as the code is the same.
9847 * src/build.c, src/build.h, src/msgwindow.c:
9848   Add Previous Error menu item.
9849 * src/build.c, src/keybindings.c, src/keybindings.h:
9850   Add keybindings for Previous Message, Previous Error commands
9851   (#1931125).
9852
9853
98542008-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9855
9856 * src/interface.c, src/prefs.c, src/keyfile.c, src/search.c,
9857   src/search.h, geany.glade:
9858   Move 2 search prefs to new Search tab of Preferences dialog.
9859   Add new search pref: 'Use the current file's directory for Find in
9860   Files' (#1930435).
9861   Add PrefEntry struct which is used for an array containing widget
9862   names to lookup; currently only used for 3 search-related
9863   GtkToggleButton prefs.
9864   Add SettingEntry struct which is used for an array containing keyfile
9865   key and group information; currently only used for 3 search-related
9866   gboolean settings.
9867 * src/interface.c, src/ui_utils.h, src/msgwindow.c, src/callbacks.c,
9868   src/callbacks.h, src/ui_utils.c, geany.glade:
9869   Add Previous Message menu item.
9870   Don't abbreviate Find Prev Selected.
9871   Add ui_tree_view_find_previous().
9872   Set Next Message menu item sensitivity when clicking on Search menu.
9873   Thanks to Beau Barker (skip76) for an initial version of
9874   ui_tree_view_find_previous() (see #1931125).
9875
9876
98772008-06-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9878
9879 * src/keybindings.c:
9880   Make keyboard shortcuts dialog non-modal (#1999384).
9881 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
9882   Split Preferences dialog Editor tab into a sub-notebook, with
9883   Features, Completions and Display pages. This also reduces the
9884   minimum height of the Preferences dialog.
9885
9886
98872008-06-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9888
9889 * src/win32.c:
9890   Fix Windows build.
9891
9892
98932008-06-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9894
9895 * src/document.c, src/documentprivate.h:
9896   Don't colourise any documents until they need to be drawn. This
9897   should make Save All faster for filetypes that support typename
9898   highlighting, and makes the document_delay_colourise(),
9899   document_colourise_all() functions redundant (they'll be removed in
9900   the next commit).
9901   Note: I'll move on_editor_expose_event() to editor.c.
9902 * src/dialogs.c:
9903   Use stack buffers for g_vsnprintf() instead of heap allocation.
9904 * src/callbacks.c, src/keyfile.c, src/document.c, src/document.h,
9905   src/main.c, src/socket.c:
9906   Remove document_delay_colourise(), document_colourise_all().
9907 * src/document.c, src/editor.c, src/editor.h:
9908   Move on_editor_expose_event(), create_new_sci() to editor.c.
9909   Make on_editor_button_press_event() and on_editor_scroll_event()
9910   static.
9911
9912
99132008-06-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9914
9915 * src/dialogs.c, src/dialogs.c:
9916   Add dialogs_show_input_numeric().
9917 * geany.glade, src/callbacks.c, src/callbacks.h, src/editor.c,
9918   src/editor.h, src/interface.c:
9919   Add "Replace spaces by tabs".
9920 * doc/geany.txt, doc/geany.html, src/keybindings.c, src/keybindings.h,
9921   src/plugindata.h:
9922   Add keybindings for Line wrapping, Line breaking, Toggle fold and
9923   Replace Spaces by tabs.
9924   Refactor different document keybindings callback functions into
9925   cb_func_document_action().
9926 * src/editor.c:
9927   Improve scrolling on wrapped lines to avoid having search results on
9928   wrapped lines but outside of visible lines.
9929 * src/editor.c:
9930   Allow symbol auto completion in embedded JavaScript in HTML files
9931   (closes #1997409).
9932 * src/document.c, src/editor.c, src/editor.h:
9933   Allow scrolling page by page by holding down the Shift or Alt key
9934   (closes #1995405).
9935 * src/msgwindow.c:
9936   Add "Copy All" to the popup menu of the Status, Compiler and Messages
9937   treeviews to copy all items to the clipboard.
9938 * src/editor.c:
9939   Scroll by page only when Alt key is held to avoid possible conflicts.
9940
9941
99422008-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
9943
9944 * src/build.c, src/utils.c, src/win32.c, src/ui_utils.h, src/build.h,
9945   src/utils.h, src/keybindings.c, src/printing.c, src/printing.h,
9946   src/tools.c, src/tools.h, src/project.c, src/encodings.c,
9947   src/prefs.c, src/dialogs.c, src/dialogs.h, src/navqueue.c,
9948   src/geanyobject.c, src/plugindata.h, src/navqueue.h,
9949   src/geanyobject.h, src/geany.h, src/treeviews.c, src/msgwindow.c,
9950   src/callbacks.c, src/notebook.c, src/treeviews.h, src/msgwindow.h,
9951   src/callbacks.h, src/notebook.h, src/keyfile.c, src/vte.c,
9952   src/filetypes.c, src/search.c, src/filetypes.h, src/search.h,
9953   src/document.c, src/plugins.c, src/document.h, src/main.c,
9954   src/editor.c, src/symbols.c, src/socket.c, src/editor.h,
9955   src/symbols.h, src/ui_utils.c, doc/plugins.dox, plugins/export.c,
9956   plugins/vcdiff.c, plugins/filebrowser.c, plugins/htmlchars.c,
9957   plugins/autosave.c, plugins/classbuilder.c:
9958   Merge the document-pointer branch.
9959   Note: this breaks the plugin API for document functions,
9960   document signal callbacks, msgwin_msg_add() and navqueue_goto_line().
9961   Make all DocumentFuncs use a GeanyDocument* instead of an integer
9962   index, so there's no need to access the documents array or use
9963   DOC_IDX_VALID() - usually just check for non-NULL.
9964   Pass a document pointer to the callbacks of all "document-*" signals.
9965   Add GeanyDocument::index field for use with the documents array.
9966   Remove DocumentFuncs::get_cur_idx() - use get_current() instead.
9967   Replace DocumentFuncs::get_n_idx() with get_from_page().
9968   Rename DocumentFuncs::find_by_realpath() to find_by_real_path().
9969   Replace DocumentFuncs::remove() with remove_page().
9970   Add 'changed' argument for DocumentFuncs::set_text_changed().
9971   Make NavQueueFuncs and MsgWinFuncs use a GeanyDocument* instead of an
9972   integer index.
9973   Add DOC_VALID() macro.
9974   Add deprecated DOC_IDX() macro to get the document index from a
9975   possibly NULL pointer; deprecate macro DOC_IDX_VALID. These macros
9976   can make porting outside plugins easier; of course, it is better to
9977   rewrite the code to use document pointers.
9978   Use document pointer instead of an index to the documents array
9979   everywhere in the core code.
9980   Rename utils_check_disk_status() in document_check_disk_status() and
9981   move it into document.c.
9982   Adjust plugins to work with these changes.
9983   Add dox for document_set_filetype().
9984   Rename debugging function doc() doc_at() to avoid conflicts.
9985   Update plugin signals dox.
9986
9987
99882008-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
9989
9990 * geany.glade, src/interface.c, src/keybindings.c:
9991   Fix spelling of a few strings (mostly BE -> AE).
9992 * src/build.c:
9993   Fix executing commands in the VTE.
9994
9995
99962008-06-17  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
9997
9998 * THANKS: Small update of Polish translation provided by Krzysztof
9999   Troska. Thanks for it.
10000
10001
100022008-06-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10003
10004 * tagmanager/python.c:
10005   Fix a regression introduced in latest bug fixes and fix some
10006   indentation and comments.
10007 * wscript:
10008   Add compiler flags to supress Scintilla warnings.
10009   Fix old usage of build.env.
10010   Make configure-only options only available when actually configure
10011   is used.
10012 * scintilla/ScintillaGTK.cxx:
10013   Backport string casts from Scintilla CVS to avoid compiler warnings.
10014
10015
100162008-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10017
10018 * tagmanager/python.c:
10019   Use proper quoted multi-line string check from CTags SVN.
10020 * src/geanyobject.c:
10021   Fix wrong marshal type (pointer != int).
10022 * scripts/wafinit.sh:
10023   Create Makefiles for src, tagmanager and scintilla sub directories
10024   to be able to run make from within Geany.
10025 * scintilla/scintilla-marshal.c:
10026   Updated generated marshal code for Scintilla.
10027
10028
100292008-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10030
10031 * src/utils.c:
10032   Allow and use arguments to the browser command (closes #1989575).
10033   Add 'xdg-open' as first browser fallback.
10034 * tagmanager/python.c:
10035   Fix endless loop when there are two triple strings on one line
10036   inside a multiline string.
10037 * Makefile.am, data/python.tags, scripts/create_py_tags.py,
10038   src/symbols.c:
10039   Add create_py_tags.py to create a global tags file for Python
10040   (thanks to Dominic Hopf).
10041   Add generated Python tags file (Python 2.5).
10042 * data/php.tags, scripts/create_php_tags.php, tagmanager/tm_tag.c:
10043   Change format of PHP tags file to internal tagmanager format since
10044   it is auto-generated and is read maybe a little bit faster.
10045   Add auto-generated notice and timestamp at the beginning of the file.
10046
10047
100482008-06-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10049
10050 * tagmanager/python.c:
10051   Remove unnecessary vStringClear(name) calls after using the name
10052   buffer, as the convention is now to clear the buffer before use, and
10053   this is easier to remember to do.
10054
10055
100562008-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10057
10058 * scintilla/makefile.win32:
10059   Compile Scintilla without threading support to fix freezes with
10060   GLib >= 2.16 on Windows.
10061 * doc/Makefile.am:
10062   Remove useless path separator.
10063 * configure.in:
10064   Set $(docdir) if it is not set automatically.
10065 * geany.nsi, plugins/makefile.win32, src/makefile.win32, src/main.c,
10066   src/plugins.c:
10067   Windows changes:
10068   Install plugins into lib/ not into plugins/.
10069   Don't link against libiconv when compiling against GLib 2.14 and
10070   above (it's statically linked into GLib).
10071   Install Geany's message catalogs into share/locale rather than
10072   lib/locale as GTK does since 2.12.2.
10073
10074
100752008-06-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10076
10077 * tagmanager/python.c:
10078   Fix variable names sometimes having leading junk characters.
10079 * tagmanager/python.c:
10080   Refactor using findVariable().
10081
10082
100832008-06-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10084
10085 * THANKS, src/about.c: Added Anna Talianova to list of contributers for
10086   Czech translation.
10087
10088
100892008-06-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10090
10091 * doc/geany.html, doc/geany.html, src/encodings.c:
10092   Fix two ambiguous encoding names for better compatibility with
10093   libiconv (closes #1986134).
10094   Improve the regular expression for detecting encoding cookies to
10095   allow more variants (e.g. "encoding: utf-8").
10096 * tagmanager/python.c:
10097   Use Python from CTags SVN.
10098   Adapt variable parsing code from the old parser code.
10099   Fix three bugs (see CTags bugs #1988026, 1988027 and 1988130).
10100 * waf:
10101   Update Waf to its latest SVN version.
10102 * wscript:
10103   Don't update po files on normal build, add target --update-po for
10104   this task.
10105   Fix wrong handling of CCFlags and CXXFlags which caused the build
10106   to hang if CFLAGS were not already set.
10107   Don't make checks for header files and functions mandatory.
10108   Update some method names to latest API changes in Waf.
10109   Various other small fixes.
10110   Fix indentation of two lines.
10111   List source files explicitly to avoid compiling foreign source files.
10112 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
10113   scintilla/ScintillaBase.cxx:
10114   Backport AutoCCancelled event implementation from Scintilla CVS.
10115 * src/editor.c:
10116   Reshow a previously shown calltip if an auto completion list was
10117   cancelled.
10118
10119
101202008-06-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10121
10122 * src/prefs.c: Update of a string for adding a missing full stop.
10123
10124
101252008-06-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10126
10127 * src/ui_utils.c:
10128   Display current file position in the status bar when compiled
10129   with GEANY_DEBUG.
10130 * configure.in, Makefile.am, geany.desktop.in.in, geany.desktop.in:
10131   Rename geany.desktop.in.in in geany.desktop.in as we need to
10132   process it only once.
10133 * plugins/vcdiff.c:
10134   Fix diff output when files were manually added with 'git add'
10135   in GIT repositories (patch by Yura Siamashka, thanks).
10136 * wscript:
10137   Remove unused imports.
10138   Remove hacks for Doxyfile.in and geany.desktop.in.
10139   Move htmldoc and apidoc targets into shutdown().
10140
10141
101422008-06-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10143
10144 * src/utils.c:
10145   Check that the current file is still on disk as well as checking the
10146   modification time.
10147   Also fix the document last_check assignment so that the disk is only
10148   polled every file_prefs.disk_check_timeout seconds (not sure how
10149   this got missing - maybe it was my fault?).
10150 * src/editor.c:
10151   Revert use of SCN_PAINTED - this is called much more often than
10152   SCN_UPDATEUI and slows down Geany.
10153
10154
101552008-06-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10156
10157 * Makefile.am, waf, wscript, scripts/wafinit.sh:
10158   Add alternative build system: Waf.
10159   Use wafinit.sh to create a Makefile and configure files.
10160 * configure.in, wscript, tagmanager/entry.c:
10161   Remove check for unistd.h, assume it is available (already often
10162   used without checking).
10163
10164
101652008-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10166
10167 * src/document.c:
10168   Only set GeanyDocument::real_path when the file exists on disk -
10169   after a successful save or open.
10170 * src/keyfile.c:
10171   Only save session documents that have existed on disk (don't save
10172   documents with a filename set but have never been saved).
10173 * src/document.c:
10174   Only reorder recent files on closing documents that have existed on
10175   disk.
10176 * src/dialogs.c:
10177   Fix segfault after Save As (oops).
10178
10179
101802008-06-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10181
10182 * src/dialogs.c:
10183   Restore the previous state of main_status.quitting status when asking
10184   for reload a changed file instead of setting it to true.
10185 * src/dialogs.c, src/document.c:
10186   Change preprocessor checks for sys/time.h and remove unnecessary
10187   sys/stat.h check.
10188 * configure.in, src/gb.c:
10189   Remove useless or unused configure checks.
10190 * doc/Makefile.am:
10191   Install THANKS file by default.
10192
10193
101942008-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10195
10196 * src/build.c, src/dialogs.c, src/document.c, src/document.h,
10197   src/msgwindow.c, src/navqueue.c, src/plugindata.h, src/plugins.c,
10198   src/symbols.c, src/win32.c:
10199   Note: this breaks the plugin API for plugins using
10200   document_find_by_filename().
10201   Make document_find_by_filename() take only a utf8_filename argument,
10202   and now match any documents that have a filename set but aren't saved
10203   on disk.
10204   Add document_find_by_realpath() to the plugin API.
10205   Add filename argument for document_save_file_as().
10206   Add GeanyDocument::real_path field, which if non-NULL indicates the
10207   file once existed on disk (not just as an unsaved document filename).
10208 * plugins/vcdiff.c:
10209   Fix using wrong encoding for document filename when doing a
10210   directory diff.
10211   Replace find_by_filename() with p_document->find_by_filename() (now
10212   it does the same job).
10213
10214
102152008-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10216
10217 * src/main.c:
10218   Fix slightly wrong preprocessor checks.
10219 * src/dialogs.c:
10220   When quitting, prevent inconsistent GUI elements when cancelling on
10221   an unsaved file.
10222
10223
102242008-06-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10225
10226 * src/documentprivate.h, src/prefs.c, src/plugindata.h,
10227   src/treeviews.c, src/callbacks.c, src/notebook.c, src/document.c,
10228   src/document.h, src/editor.c, src/symbols.c, src/Makefile.am,
10229   src/ui_utils.c:
10230   Move GeanyDocument GUI elements and saved_encoding to private
10231   Document struct which inherits from GeanyDocument. This is to hide
10232   implementation fields from the plugin API, so that we can change
10233   them if necessary.
10234   Add DOCUMENT() macro to convert a GeanyDocument* to a Document*.
10235   Also move UNDO_*, FileEncoding to documentprivate.h.
10236   Move undo_action struct to document.c.
10237 * src/utils.c:
10238   Reload a changed document immediately on user clicking reload
10239   (waiting was not related to the now fixed reload-colourise problem).
10240 * src/document.c:
10241   Fix possible document double-colourise after reloading a file.
10242 * src/editor.c:
10243   Cancel any autocompletion list when completing a snippet.
10244
10245
102462008-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10247
10248 * src/plugindata.h:
10249   Add deprecated macro for doc_array.
10250 * src/editor.c:
10251   Allow line breaking after typing any character, not just wordchars.
10252 * src/editor.c:
10253   Handle non-Scintilla GUI updates after SCN_PAINTED instead of
10254   SCN_UPDATEUI to hopefully appear more responsive to typing.
10255
10256
102572008-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10258
10259 * src/project.h, src/plugindata.h, src/geany.h, src/filetypes.h,
10260   src/document.h:
10261   Remove underscore prefix from some struct names.
10262
10263
102642008-05-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10265
10266 * src/build.c, src/utils.c, src/win32.c, src/keybindings.c,
10267   src/printing.c, src/tools.c, src/prefs.c, src/dialogs.c,
10268   src/navqueue.c, src/plugindata.h, src/treeviews.c, src/msgwindow.c,
10269   src/callbacks.c, src/notebook.c, src/keyfile.c, src/vte.c,
10270   src/filetypes.c, src/search.c, src/document.c, src/plugins.c,
10271   src/document.h, src/main.c, src/editor.c, src/symbols.c,
10272   src/socket.c, src/ui_utils.c, plugins/export.c, plugins/vcdiff.c,
10273   plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
10274   plugins/pluginmacros.h, plugins/classbuilder.c:
10275   Note: this breaks the plugin API.
10276   Replace doc_array with documents_array, a pointer array. This is
10277   necessary to avoid breaking the ABI every time a field is added to
10278   GeanyDocument.
10279   Remove deprecated pluginmacros.h documents macro, to avoid a
10280   conflict.
10281   Replace doc_list[] macro with documents[] macro, which returns a
10282   GeanyDocument pointer.
10283
10284
102852008-05-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10286
10287 * doc/geany.css, doc/geany.html:
10288   Add media types for screen and print to have a clean version
10289   of the manual for printing.
10290 * plugins/Makefile.am:
10291   Add again all GTK libraries to linker flags for each plugin.
10292
10293
102942008-05-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10295
10296 * src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
10297   plugins/demoplugin.c, plugins/filebrowser.c, plugins/autosave.c:
10298   Note: this breaks the plugin API.
10299   Remove plugin symbol configure().
10300   Add plugin symbol plugin_configure() which is used to tell Geany a
10301   widget to pack into the plugin preferences dialog, and connect a
10302   response callback for when the dialog receives a user decision.
10303   This allows Geany to in future implement a common preferences dialog
10304   for all plugins, without breaking the plugin API/ABI.
10305   Add Apply button for plugin preference dialogs (to indicate plugins
10306   should handle the apply response as well as OK, as a multiple plugin
10307   configuration dialog would want an apply button).
10308
10309
103102008-05-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10311
10312 * src/plugins.c:
10313   Fail to load a plugin if it has no plugin_init() function.
10314 * src/plugins.c:
10315   Make plugin_free() act like a destructor only, let
10316   pm_dialog_response() call a separate function to only free non-active
10317   plugins.
10318
10319
103202008-05-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10321
10322 * src/plugins.c:
10323   Move all symbol lookups except plugin_set_info() into plugin_init().
10324   Add debug message for missing init() function in a plugin.
10325 * src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
10326   doc/plugins.dox:
10327   Add plugin_ prefix for plugin symbols version_check, init and
10328   cleanup. Deprecate init and cleanup; update PLUGIN_VERSION_CHECK
10329   macro.
10330   Add a debug message and fail to load a plugin if it has no
10331   plugin_version_check() function.
10332   Check that plugin keybinding names have been set in plugin_init(),
10333   otherwise print a debug message and ignore all of them.
10334 * plugins/export.c, plugins/vcdiff.c, plugins/demoplugin.c,
10335   plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
10336   plugins/classbuilder.c:
10337   Fix plugins to compile with GEANY_DISABLE_DEPRECATED.
10338
10339
103402008-05-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10341
10342 * src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
10343   doc/plugins.dox:
10344   Make GeanyCallback, geany_callbacks deprecated, and replace with
10345   PluginCallback, plugin_callbacks. This is because the array is owned
10346   by the plugin, not Geany.
10347 * src/plugindata.h:
10348   Increment plugin ABI, API versions for plugin_callbacks change.
10349 * src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
10350   doc/plugins.dox, plugins/export.c, plugins/vcdiff.c,
10351   plugins/demoplugin.c, plugins/filebrowser.c, plugins/htmlchars.c,
10352   plugins/autosave.c, plugins/classbuilder.c:
10353   Deprecate PLUGIN_INFO() in favour of PLUGIN_SET_INFO().
10354   Remove plugin symbol info(), which is replaced by plugin_set_info()
10355   and a new symbol plugin_info. This is so the PluginInfo struct is
10356   zero'd first by Geany, so plugins are still ABI compatible if we
10357   want to add any more fields in the future.
10358   Fail to load a plugin if plugin_info->name is not set.
10359   Remove now unused string.h include from plugindata.h.
10360
10361
103622008-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10363
10364 * src/templates.c, src/build.c, src/utils.c, src/ui_utils.h,
10365   src/win32.c, src/utils.h, src/keybindings.c, src/printing.c,
10366   src/tools.c, src/sciwrappers.c, src/project.c, src/sciwrappers.h,
10367   src/encodings.c, src/prefs.c, src/dialogs.c, src/navqueue.c,
10368   src/plugindata.h, src/geany.h, src/about.c, src/treeviews.c,
10369   src/msgwindow.c, src/callbacks.c, src/notebook.c, src/keyfile.c,
10370   src/filetypes.c, src/search.c, src/document.c, src/plugins.c,
10371   src/main.c, src/editor.c, src/symbols.c, src/socket.c,
10372   src/editor.h, src/ui_utils.c, plugins/export.c, plugins/vcdiff.c,
10373   plugins/demoplugin.c, plugins/filebrowser.c, plugins/htmlchars.c,
10374   plugins/autosave.c, plugins/pluginmacros.h, plugins/classbuilder.c:
10375   Note: this commit breaks the plugin API.
10376   Split widget fields out of GeanyApp into GeanyMainWidgets, so other
10377   data items can be added without breaking the plugin ABI.
10378   Add GeanyData::main_widgets, and macro.
10379   Rename treeview_notebook sidebar_notebook in GeanyMainWidgets.
10380   Move tools_menu from GeanyData to GeanyMainWidgets.
10381   Move statusbar out of GeanyApp (shouldn't be used directly).
10382   Move ignore_callback out of GeanyApp.
10383   Rename sci_goto_line() argument unfold, like sci_goto_pos().
10384   Make utils_goto_file_pos(), utils_goto_line(),
10385   utils_switch_document() into static functions (they are UI-related,
10386   so shouldn't be in utils.c).
10387   Move utils_goto_pos() to editor.c, add mark argument.
10388
10389
103902008-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10391
10392 * plugins/Makefile.am:
10393   Specify the necessary libraries of each plugin to link against.
10394 * configure.in, win32-config.h, src/gb.c:
10395   Fix some quotations to not screw up the bash lexer.
10396   Don't use /dev/random or /dev/urandom in gb.c, instead of GLib's
10397   random functions.
10398
10399
104002008-05-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10401
10402 * src/editor.c:
10403   Refactor editor_auto_line_indentation().
10404   Make Smart Line Indentation set the cursor to the beginning of
10405   indentation for single line selections, so the user can fine-tune
10406   indentation if necessary. For multiple line selections, select all
10407   the lines after indenting.
10408 * src/keybindings.c, src/editor.c, src/editor.h:
10409   Rename editor_auto_line_indentation() to
10410   editor_smart_line_indentation().
10411
10412
104132008-05-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10414
10415 * src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
10416   plugins/export.c, plugins/vcdiff.c, plugins/demoplugin.c,
10417   plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
10418   plugins/pluginmacros.h, plugins/classbuilder.c:
10419   Note: this breaks the plugin API.
10420   Split GeanyFunctions out of GeanyData so data pointers can be
10421   appended before the function pointer structs without breaking the
10422   ABI.
10423   Rename GeanyFunctions fields with a p_ prefix to avoid name
10424   conflicts.
10425   Add new plugin symbol geany_functions.
10426   Nearly all plugins will now need to declare the following:
10427   'GeanyFunctions *geany_functions;', which is now used by
10428   pluginmacros.h.
10429   Add doxygen examples for geany_data and geany_functions.
10430   Move deprecated document and filetype typedefs to src/plugindata.h,
10431   as plugins aren't required to use pluginmacros.h.
10432   Initialize geany_data by copying a stack struct so the compiler can
10433   check for any missing field initializers.
10434   Rename plugin macro p_encoding to p_encodings to follow the core
10435   function encodings_ prefix.
10436 * src/msgwindow.c, src/editor.c:
10437   Fix doxygen-1.4.6 warnings about undocumented function parameters
10438   when using documentation comments e.g. for TODO.
10439 * plugins/pluginmacros.h:
10440   Add deprecated p_encoding alias for p_encodings.
10441 * src/keybindings.c:
10442   Fix Switch to Sidebar shortcut so that it works for whichever widget
10443   is in the current sidebar notebook page (fixes #1967104).
10444 * doc/Doxyfile.in, plugins/pluginmacros.h:
10445   Add API documentation for pluginmacros.h.
10446   Make Doxygen define GEANY_DISABLE_DEPRECATED.
10447 * doc/plugins.dox:
10448   Add Main Page links to plugindata.h and pluginmacros.h.
10449
10450
104512008-05-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10452
10453 * src/document.c:
10454   Force using tabs for indentation when opening Makefiles.
10455 * plugins/pluginmacros.h:
10456   Define p_editor in the right way, oops.
10457 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
10458   Allow loading projects from command line (closes #1961083).
10459
10460
104612008-05-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10462
10463 * plugins/pluginmacros.h, plugins/vcdiff.c, src/build.c,
10464   src/callbacks.c, src/dialogs.c, src/document.c, src/document.h,
10465   src/editor.c, src/filetypes.c, src/filetypes.h, src/geany.h,
10466   src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
10467   src/notebook.c, src/plugindata.h, src/printing.c, src/symbols.c,
10468   src/templates.c, src/templates.h:
10469   Rename document struct to GeanyDocument.
10470   Rename filetype struct to GeanyFiletype.
10471 * src/build.c, src/build.h, src/plugindata.h:
10472   Rename BuildInfo struct to GeanyBuildInfo.
10473
10474
104752008-05-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10476
10477 * src/templates.c, src/build.c, src/utils.c, src/ui_utils.h,
10478   src/templates.h, src/keybindings.c, src/printing.c, src/prefs.c,
10479   src/dialogs.c, src/prefs.h, src/plugindata.h, src/treeviews.c,
10480   src/msgwindow.c, src/callbacks.c, src/notebook.c, src/keyfile.c,
10481   src/search.c, src/search.h, src/document.c, src/plugins.c,
10482   src/document.h, src/main.c, src/editor.c, src/editor.h, src/ui_utils.c,
10483   plugins/export.c, plugins/filebrowser.c:
10484   Note: this commit breaks the plugin API (but is necessary so that in
10485   future the ABI can stay stable when adding preferences).
10486   Split up prefs into interface_prefs, toolbar_prefs, file_prefs,
10487   search_prefs, tool_prefs, template_prefs, and add these to the
10488   plugin API.
10489   Move suppress_search_dialogs and search_use_current_word to
10490   search_prefs, and rename accordingly.
10491   Rename switch_msgwin_pages pref to switch_to_status.
10492   Remove toolbar_ prefix for toolbar_prefs items.
10493   Remove tool_ prefix for tool_prefs items.
10494   Remove template_ prefix for template_prefs items.
10495   Add Geany prefix for EditorPrefs.
10496   Add Geany prefix for SearchPrefs.
10497   Initialize search_prefs to zero in main.c.
10498 * plugins/filebrowser.c:
10499   Make right clicking on items not lose the current selection, like
10500   the standard GtkFileChooser.
10501   Add separator before the Clear filter toolbar button.
10502
10503
105042008-05-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10505
10506 * src/*.c src/*.h:
10507   Move several editing related functions from document.c to editor.c.
10508   Fix two compiler warnings about non-literal format strings.
10509 * plugins/pluginmacros.h:
10510   Make p_editor macro also available if GEANY_DISABLE_DEPRECATED
10511   is not defined.
10512
10513
105142008-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10515
10516 * geany.glade, src/document.c, src/document.h, src/editor.c,
10517   src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h,
10518   src/prefs.c, src/prefs.h, src/utils.c, src/utils.h, doc/geany.txt,
10519   doc/geany.html:
10520   Add preferences for default end of line characters for new files
10521   (closes #1895362) and to disable the automatic continuation of
10522   multi-line comments in C-like languages.
10523   Enable multi-line continuation also for CSS files.
10524 * src/document.c, src/document.h, src/msgwindow.c, src/msgwindow.h,
10525   src/plugins.c, src/plugindata.h:
10526   Add new function document_set_indicator_on_line() for future use.
10527   Add some functions to the plugin API for the upcoming spell check
10528   plugin.
10529 * plugins/vcdiff.c:
10530   Change an error message to be more clear about the error.
10531 * src/templates.c:
10532   Remove unnecessary case statement for PHP files, can be handled by
10533   the default case.
10534 * src/filetypes.c:
10535   Add shebang detection for Makefiles.
10536 * src/build.c, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
10537   src/filetypes.c, src/document.c, src/plugins.c, src/document.h,
10538   src/main.c, src/editor.c, src/editor.h, plugins/pluginmacros.h:
10539   Move indicator functions from document.c into editor.c.
10540
10541
105422008-05-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10543
10544 * src/templates.c:
10545   Sort custom template file menu items by filetype, with None
10546   filetypes first.
10547 * src/document.c:
10548   Recolourise the document in document_reload_file() because the
10549   text may have changed (should fix #1948857).
10550 * src/document.c:
10551   Fix line breaking not getting reset for new documents sometimes.
10552   Merge all document default settings into init_doc_struct().
10553 * HACKING:
10554   Update adding a filetype section, make clearer.
10555
10556
105572008-05-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10558
10559 * src/templates.c, src/utils.c, src/ui_utils.h, src/ui_utils.c,
10560   doc/geany.txt, doc/geany.html, TODO:
10561   Add support for custom file templates found at startup in the
10562   ~/.geany/templates/files directory. These are currently shown
10563   underneath filetype templates in the New with Template menu.
10564   Add ui_menu_item_get_text().
10565   Make utils_string_replace_all() ignore empty haystacks.
10566 * src/templates.c:
10567   Create ~/.geany/templates/files directory if it doesn't exist.
10568
10569
105702008-05-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10571
10572 * src/highlighting.c, data/filetypes.xml:
10573   Use Javascript styles for any VBScript and ASP code embedded in a
10574   HTML file.
10575   Use Python styles for embedded Python code.
10576 * src/highlighting.c:
10577   Remove hotspot code as it was never really used.
10578 * src/socket.c:
10579   Iconify the main window on Windows before de-iconifying it when
10580   opening files remotely to ensure the main window pops up.
10581 * src/symbols.c:
10582   Clear a document's symbol list first after it was detached from its
10583   container to prevent crashes when saving files with collapsed
10584   symbol list items.
10585
10586
105872008-05-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10588
10589 * src/dialogs.c, src/prefs.c:
10590   Use gtk_window_present() instead of gtk_widget_show() for Open File
10591   and Preferences dialog.
10592
10593
105942008-05-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10595
10596 * src/interface.c, src/prefs.c, src/callbacks.c, src/callbacks.h,
10597   src/keyfile.c, src/document.c, src/document.h, src/editor.c,
10598   src/editor.h, src/ui_utils.c, geany.glade, TODO, doc/geany.txt,
10599   doc/geany.html:
10600   Add basic Line Breaking option in the Document menu. Line breaking
10601   only works when typing characters past the line breaking column
10602   number.
10603   Add 'Line breaking column' editor pref.
10604 * src/callbacks.c, src/callbacks.h, src/interface.c, src/keyfile.c,
10605   src/main.c, src/ui_utils.c, geany.glade:
10606   Rename old uses of line breaking -> line wrapping. This includes the
10607   keyfile pref, so any users with this enabled will have to reset it.
10608 * doc/geany.txt, doc/geany.html:
10609   Update Code Navigation section for build errors and message items.
10610   Correct Load Tags menu item being in the Tools menu now.
10611   Document 'Disk check timeout' pref.
10612 * src/plugindata.h:
10613   Update api_version for new line breaking struct fields.
10614 * src/filetypes.c:
10615   Set filetype::id automatically in filetype_add().
10616 * src/filetypes.c:
10617   Add source_only argument for filetypes_find_source() and rename.
10618
10619
106202008-05-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10621
10622 * src/filetypes.c:
10623   Fix C headers getting detected as C++ files (iterate through
10624   filetypes_array, not filetypes_hash as the order is not consistent
10625   with the filetype_id enum).
10626   Add static function filetypes_find_source().
10627
10628
106292008-05-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10630
10631 * src/templates.c, src/build.c, src/utils.c, src/win32.c,
10632   src/highlighting.c, src/dialogs.c, src/plugindata.h,
10633   src/msgwindow.c, src/keyfile.c, src/keyfile.h, src/filetypes.c,
10634   src/filetypes.h, src/document.c, src/plugins.c, src/main.c,
10635   src/symbols.c, src/ui_utils.c, plugins/vcdiff.c,
10636   plugins/pluginmacros.h:
10637   Merge revisions 2537:2558 from the custom-filetypes branch:
10638   Note: this breaks the API.
10639   This commit is to restructure most of the filetypes code that
10640   affects the plugin API, custom filetype support is not implemented.
10641   Add filetypes_array to GeanyData for plugins to access a dynamic
10642   array of filetype pointers.
10643   Remove old filetypes array from API.
10644   Use a hash table for filetypes, using filetype::name keys.
10645   Replace filetypes_get_from_uid() with filetypes_lookup_by_name().
10646   Store filetype::name instead of unique ID when saving sessions.
10647   Remove all filetype UID code.
10648   Add GEANY_MAX_BUILT_IN_FILETYPES.
10649   Remove GEANY_MAX_FILE_TYPES - use filetypes_array->len (or
10650   GEANY_MAX_BUILT_IN_FILETYPES) instead.
10651   Rename GEANY_FILETYPES_ALL GEANY_FILETYPES_NONE.
10652   Make Open dialog file filter work for filetypes added after
10653   GEANY_FILETYPES_NONE (really the None filetype should be made the
10654   first element in filetypes_array, but this would need rewriting
10655   quite a lot of code).
10656   Add deprecated aliases for GEANY_MAX_FILE_TYPES and
10657   GEANY_FILETYPES_ALL.
10658   Remove unused filetype::item field.
10659   Create FullFileType private type that 'inherits' from filetype
10660   (FullFileType* can be cast to filetype*). This is used in
10661   filetype_new() to hide filetype struct fields from the API.
10662   Remove radio_items[] and use FullFileType::menu_item instead.
10663   Make filetypes_detect_from_extension() work for all filetypes
10664   in filetypes_hash.
10665   Add filetype_new() to create and initialize a new filetype.
10666   Refactor open_session_file() from configuration_open_files().
10667   Refactor get_session_file_string() from
10668   configuration_save_session_files().
10669   Refactor create_set_filetype_menu() from filetypes_init().
10670   Move print_filetypes() out of parse_command_line_options();
10671
10672
106732008-05-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10674
10675 * doc/geany.txt, doc/geany.html:
10676   Add a note about the limitation of matching only line by line
10677   when using regular expressions.
10678
10679
106802008-05-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10681
10682 * src/document.c:
10683   Show an error dialog with an appropriate message when a file could
10684   not be saved.
10685 * THANKS, src/about.c:
10686   Update email address of Dormouse Young.
10687 * tagmanager/html.c:
10688   Fix parsing when heading tags contain attributes (part of #1896068).
10689
10690
106912008-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10692
10693 * configure.in, tagmanager/lregex.c, tagmanager/include/regex.h,
10694   tagmanager/regex.c,tagmanager/include/Makefile.am,
10695   tagmanager/include/gnuregex.h, tagmanager/Makefile.am :
10696   Add configure option --enable-gnu-regex to implicitly build the
10697   included GNU regex library (in case the host system doesn't provide
10698   a usable regex library).
10699   Rename tagmanager/include/regex.h in tagmanager/include/gnuregex.h
10700   to avoid unintended inclusion in source files (this fixes the
10701   OpenSolaris crashes).
10702 * src/encodings.c:
10703   Don't use GNU regex specific regex_t::buffer element to build also
10704   without this extension (e.g. on OpenSolaris).
10705 * autogen.sh:
10706   Don't check for CVS directory as we don't use CVS anymore and remove
10707   non-portable -path option of find.
10708 * src/document.c:
10709   Fix crash when trying to change the encoding of a file
10710   (introduced in r2529).
10711 * src/keybindings.c:
10712   Allow Ctrl-A (or whatever "Select All" has been set to) to select
10713   all text in the scribble text widget (closes #1952335).
10714
10715
107162008-04-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10717
10718 * src/document.c:
10719   Refactor write_data_to_disk() and save_convert_to_encoding()
10720   from document_save_file().
10721   Include missing error string in error message when writing the
10722   file failed.
10723 * tagmanager/ctags.c:
10724   Set ExecutableName to "geany" to prevent possible crashes on
10725   Windows and maybe other systems.
10726
10727
107282008-04-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10729
10730 * src/document.c:
10731   Add/reorder a recent file item when closing a document.
10732 * src/utils.c:
10733   Make utils_is_absolute_path() a NULL-safe version of
10734   g_path_is_absolute().
10735
10736
107372008-04-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10738
10739 * data/filetypes.xml, data/filetypes.javascript, src/highlighting.c:
10740   Unify the embedded JavaScript styles with the styles of the
10741   JavaScript filetype for a more consistent styling of JavaScript in
10742   general.
10743
10744
107452008-04-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10746
10747 * src/utils.c:
10748   Make utils_get_file_list() use a case-insensitive search so that the
10749   file browser lists files and directories in a more intuitive order.
10750 * src/project.c:
10751   Fix build because of wrong document_close_all() usage - oops.
10752 * src/callbacks.c, src/document.c, src/document.h:
10753   Move Close All functions to document.c.
10754   Add document_account_for_unsaved().
10755
10756
107572008-04-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10758
10759 * src/win32.c, src/project.h, src/geany.h, src/keyfile.c,
10760   src/symbols.c, src/editor.h, doc/geany.txt, doc/geany.html:
10761   Move non-general compile-time constants into their relevant source
10762   files.
10763 * src/utils.c, src/interface.c, src/prefs.c, src/prefs.h, src/keyfile.c,
10764   geany.glade:
10765   Make disk check timeout configurable in the prefs dialog Files tab.
10766   Make a value of zero disable disk checks.
10767 * src/project.c, src/document.c, src/document.h:
10768   Add document_close_all() and use it in project.c.
10769
10770
107712008-04-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10772
10773 * src/plugins.c:
10774   Fix GLib warning when starting with a new config.
10775 * src/prefs.c:
10776   Fix wrong usage of gtk_file_chooser_get_filename() in callback of
10777   Open File dialogs in the preferences dialog.
10778 * plugins/autosave.c, src/search.c, src/document.c:
10779   Make use of ngettext() for strings with plural forms.
10780 * Makefile.am:
10781   Add target "sign" to sign generated tarballs with gpg.
10782 * plugins/filebrowser.c:
10783   Add file filter text entry (patch by Robert McGinley, thanks).
10784
10785
107862008-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10787
10788 * src/build.c:
10789   Don't chmod created run script when using the Run command and
10790   execute the script with /bin/sh on Unix-like systems to be able
10791   to run files on FAT filesystems.
10792 * geany.glade, src/interface.c:
10793   Fix wrong tooltip for "Show Increase and Decrease Indentation
10794   buttons" in the preferences dialog.
10795
10796
107972008-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10798
10799 * tagmanager/js.c:
10800   Make property tags be recognised in the symbol list.
10801 * src/document.c, src/navqueue.c, src/navqueue.h:
10802   Clean related navigation queue items when closing a document.
10803 * New release: Geany 0.14 "Selit".
10804 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
10805   doc/geany.txt, doc/geany.html, src/geany.h:
10806   Post-release version bump.
10807
10808
108092008-04-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10810
10811 * doc/geany.txt, doc/geany.html:
10812   Move 'Switching between documents' from prefs Interface section into
10813   new Documents section.
10814   Remove repeated title text of preference dialog tab sections.
10815   Edit preferences descriptions for clarity.
10816   Comment out some unexplained General preferences.
10817   Fix some prefs typos, add some links and expand some descriptions.
10818   Correct some wrong preferences descriptions (e.g. Back/Forward
10819   buttons).
10820
10821
108222008-04-18  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10823
10824 * THANKS, NEWS, src/about.c:
10825   Added Chikahiro Masami as new translator for Japanese translation.
10826
10827
108282008-04-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10829
10830 * src/navqueue.c, src/plugindata.h, src/navqueue.h, src/plugins.c,
10831   plugins/pluginmacros.h:
10832   Add navqueue_goto_line() to plugin API.
10833   Make navqueue_goto_line() store document filename instead of
10834   tagmanager filename (patch by Yura Siamashka, thanks).
10835   This makes it also possible to add navigation history items for files
10836   without a tagmanager filename.
10837 * tagmanager/make.c:
10838   Improve Makefile parser for better parsing of targets
10839   (from CTags' patches tracker, for reference this is patch v3).
10840
10841
108422008-04-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10843
10844 * THANKS, NEWS, src/about.c, po/LINGUAS, po/ro.po:
10845   Added Romanian translation (Thanks to Alex Eftimie).
10846
10847
108482008-04-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10849
10850 * src/interface.c, src/callbacks.c, src/callbacks.h, NEWS, geany.glade:
10851   Make pressing escape in the sidebar focus the editor.
10852   Group toolbar GtkEntry escape key checks into a common callback.
10853 * src/main.c:
10854   Refactor handle_cl_filename() from open_cl_files().
10855 * src/callbacks.c:
10856   Fix geany_debug() warnings with Close All.
10857 * src/keyfile.c, src/plugins.c, src/plugins.h:
10858   Move plugin keyfile pref saving and loading to plugins.c.
10859 * src/plugindata.h, src/geany.h, src/plugins.c, src/main.c:
10860   Remove active_plugins from GeanyApp.
10861 * src/plugins.c, NEWS:
10862   When quitting, remember plugin filenames that couldn't be loaded at
10863   startup as well as active plugins.
10864
10865
108662008-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10867
10868 * doc/images/pref_dialog_gen.png:
10869   Update for 0.14.
10870 * plugins/makefile.win32, scintilla/makefile.win32, src/makefile.win32,
10871   tagmanager/makefile.win32:
10872   Add DEBUG flag to all Windows makefiles to make it possible to build
10873   with debug symbols and without optimizations also on Windows
10874   (using make DEBUG=1).
10875
10876
108772008-04-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10878
10879 * src/callbacks.c, src/callbacks.h:
10880   Fix wrong return value for on_close_all1_activate() callback.
10881   Fix broken Close All command by not double checking for validity
10882   of a document.
10883 * TODO:
10884   Remove "documentation: preferences" item as it has been mostly done
10885   by Robert McGinley.
10886
10887
108882008-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10889
10890 * THANKS, doc/geany.txt, doc/geany.html:
10891   Add documentation for several options in the preferences dialog
10892   (patch from Robert McGinley, thanks).
10893 * src/filetypes.c, src/ui_utils.c:
10894   Revert the translatable filetype name of filetype All, add a
10895   workaround in ui_update_statusbar() instead.
10896 * data/filetypes.xml, src/highlighting.c:
10897   Update PHP keywords (closes #1939931).
10898
10899
109002008-04-10  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10901
10902 * src/filetypes.c: Make another string translatable. Thanks to Adrovane
10903                    Kade for reporting.
10904
10905
109062008-04-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10907
10908 * src/editor.c:
10909   Fix a couple of wrong or missing checks to prevent auto completion
10910   in comments in several filetypes.
10911 * THANKS, scripts/create_php_tags.php, data/php.tags:
10912   Add script to generate PHP tags file (by Matti Mårds, thanks).
10913   Update PHP tags file to latest PHP API docs (closes #1888691).
10914 * src/navqueue.c, src/utils.c, src/utils.c:
10915   Make navigation queue position based to restore the line and column
10916   when returning to a previous position (closes #1936927).
10917
10918
109192008-04-09  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10920
10921 * src/ui_utils.c: Make some more strings translatable. Thanks to
10922                   Adrovane Kade for reporting.
10923
10924
109252008-04-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10926
10927 * configure.in:
10928   Add an explicit check for a C++ compiler (#1938040).
10929 * plugins/Makefile.am:
10930   Avoid linking plugins against GTK libraries which seems unnecessary.
10931
10932
109332008-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10934
10935 * src/document.c, src/document.h, src/main.c, src/project.c:
10936   Add document_new_file_if_non_open() to open new documents if no
10937   other documents are open.
10938 * src/editor.c:
10939   Backport a bugfix from Scite to fix folding problems.
10940 * Makefile.am, scripts/intl_stats.sh, po/intl_stats.sh:
10941   Move intl_stats.sh script back to po directory to not have to
10942   include the scripts directory in the distribution.
10943 * src/win32.c:
10944   Fix compiler warnings by correct type casting.
10945 * src/symbols.c:
10946   Fix possible crash by an uninitialized variable.
10947
10948
109492008-04-06  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10950
10951 * THANKS: Added Dominic Hopf to list of translation supporters.
10952
10953
109542008-04-04  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
10955
10956 * Makefile.am: Fix issue on make dist with intl_stats.sh-script.
10957 * scripts/changelist.pl: Make help output better readable if there are
10958                          not enough arguments given.
10959
10960
109612008-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
10962
10963 * src/callbacks.c:
10964   Make Close All check for unsaved documents first before closing any,
10965   so that clicking cancel keeps all documents open.
10966   This also prevents the UI from not being updated after cancelling
10967   Close All.
10968 * NEWS, plugins/filebrowser.c:
10969   Add configurable keybindings for focusing the Path Entry and File
10970   List.
10971   Refactor load_settings() from init().
10972
10973
109742008-04-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10975
10976 * src/keybindings.c:
10977   Fix missing menu accelerators for default keybindings on startup.
10978   Fix too small dialog window when showing the keyboard shortcuts
10979   dialog from the help menu.
10980 * src/plugins.c:
10981   Show warning about ABI mismatch when loading plugins in the status
10982   message window to avoid confusion about missing plugins.
10983
10984
109852008-04-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
10986
10987 * src/dialogs.c:
10988   Fix GTK warnings in open file dialog by using a positive response ID
10989   for the View button.
10990 * src/callbacks.c, src/main.h, src/project.c:
10991   Ignore notebook_switch_page signal handler when closing projects
10992   to speed it up a little bit with many session files.
10993 * po/intl_stats.sh, scripts/intl_stats.sh:
10994   Move intl_stats.sh script to scripts directory and make it working
10995   from top source directory.
10996 * src/document.c:
10997   Avoid setting line number margin twice when creating new tabs, also
10998   don't call gtk_notebook_set_current_page() explicitly as it isn't
10999   necessary.
11000 * geany.glade, src/interface.c:
11001   Make the notebook tabs in the messages window scrollable.
11002
11003
110042008-04-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11005
11006 * src/interface.c, src/plugins.c, geany.glade:
11007   Move Load Tags item from File to Tools menu.
11008   Capitalize Page Setup item.
11009   Add separator before Plugin Manager item.
11010 * src/navqueue.c, src/msgwindow.c:
11011   Make navqueue_goto_line() ignore an invalid old document index, and
11012   ignore any documents that don't have a tagmanager work object.
11013   Make Next Error and Next Message commands add positions to the
11014   navqueue, so the user can return to where they were and also so they
11015   can move backwards through error and message items.
11016
11017
110182008-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11019
11020 * src/build.c, src/interface.c, src/vte.c, plugins/export.c,
11021   plugins/classbuilder.c, geany.glade:
11022   Add missing mnemonics (except for 3 popup menu items, ran out of
11023   letters).
11024   Capitalize some menu items.
11025 * src/interface.c, geany.glade:
11026   Add 3 remaining mnemonics for popup menu, copy Insert include
11027   mnemonic - even though these have conflicts, just let GTK toggle
11028   between them.
11029
11030
110312008-03-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11032
11033 * src/editor.c:
11034   Unfold hidden code when the fold point modified
11035   (e.g. commented out, fixes #1923350).
11036 * geany.pc.in:
11037   Add datadir and localedir to Geany's pkgconfig file.
11038 * src/callbacks.c:
11039   Fix usage of wrong pointer when showing the toolbar popup menu.
11040
11041
110422008-03-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11043
11044 * plugins/vcdiff.c:
11045   Rename VCDiff plugin Version Diff.
11046 * src/plugindata.h:
11047   Document most of GeanyData, add links to files.
11048   Make PluginData alias deprecated.
11049 * src/utils.c:
11050   Fix getting asked whether to reload a file twice, when a disk check
11051   is forced immediately after a disk check has been done.
11052 * src/document.c:
11053   Split document_create_new_sci() into document_create() and
11054   create_new_sci().
11055   Rename filename parameter utf8_filename.
11056 * src/keybindings.c:
11057   Check file on disk for changes (with timeout) when pressing a key.
11058 * src/keyfile.c:
11059   Ignore documents with no absolute path when saving session files.
11060 * src/build.c:
11061   Fix segfault with Run command when a project is open and the current
11062   file's filetype has no run command.
11063
11064
110652008-03-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11066
11067 * scintilla/*, scintilla/include/*:
11068   Update Scintilla to version 1.76.
11069 * scintilla/include/Scintilla.iface:
11070   Add this file for plugin authors.
11071 * plugins/vcdiff.c:
11072   Fix two memory leaks and prevent showing two dialog boxes with the
11073   same error message.
11074 * src/document.c, src/win32.c, src/win32.h:
11075   Add support for resolving Windows shortcuts when opening files and
11076   open the shortcut's target.
11077
11078
110792008-03-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11080
11081 * plugins/pluginmacros.h:
11082   Rename p_filetype p_filetypes to keep the symmetry with filetypes_*,
11083   and define it also when GEANY_DISABLE_DEPRECATED is not set.
11084 * HACKING:
11085   Add note about not appending to structs like KeyBindingGroup and
11086   GeanyCallback.
11087 * src/plugindata.h, doc/plugin-symbols.c, doc/plugins.dox, plugins/*.c:
11088   Rename VERSION_CHECK PLUGIN_VERSION_CHECK, but keep a deprecated
11089   alias so outside plugins still compile.
11090   Update our plugins to use this.
11091
11092
110932008-03-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11094
11095 * src/plugins.c, src/plugindata.h:
11096   Add document_set_filetype() and filetypes_get_from_uid() to
11097   the plugin API.
11098 * plugins/pluginmacros.h:
11099   Add p_filetype.
11100
11101
111022008-03-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11103
11104 * src/editor.c:
11105   Fix Python auto-indentation when line endings are set to CR/LF.
11106 * src/keybindings.h, src/plugindata.h:
11107   Add note about allowing appending of keybindings to groups without
11108   breaking the API.
11109   Undo unnecessary ABI change.
11110 * src/plugindata.h:
11111   Redo ABI change (it was for r2389 editor.h change, oops).
11112 * src/symbols.c:
11113   Make Go to Tag commands look for the tag in the current document
11114   before searching the workspace.
11115   Fix memory leaks when using tm_tags_extract().
11116
11117
111182008-03-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11119
11120 * data/filetypes.common, doc/geany.txt, doc/geany.html,
11121   src/highlighting.c:
11122   Add styles to customize line and search marker and add
11123   translucency setting.
11124 * tagmanager/make.c, src/symbols.c:
11125   Update Makefile parser from CTags SVN and improve it to detect
11126   targets in Makefiles.
11127 * geany.glade, src/interface.c, src/prefs.c, src/prefs.h, src/keyfile.c
11128   src/callbacks.c, src/search.c, src/editor.c, src/editor.h,
11129   geany.glade:
11130   Add preference for not using the current word under the cursor when
11131   opening Find dialogs.
11132 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
11133   Add shortcut to switch to the sidebar.
11134 * src/ui_utils.c:
11135   Small improvement in counting changed documents for Save All update.
11136
11137
111382008-03-23  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11139
11140 * doc/plugins.dox: Fix a little typo that prevents docu from being build.
11141
11142
111432008-03-22  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11144
11145 * THANKS, src/about.c: Adjusted email of Brahmann.
11146
11147
111482008-03-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11149
11150 * src/callbacks.c:
11151   When opening the manual on the website, include version string to
11152   ensure the appropriate manual version is shown.
11153 * src/prefix.h, src/main.c, src/Makefile.am, doc/Makefile.am:
11154   Use configure's --docdir option when installing and using the
11155   documentation.
11156 * data/snippets.conf:
11157   Add better "for" completion for Python.
11158 * tagmanager/tcl.c, src/symbols.c:
11159   Update TCL parser from CTags SVN which adds new symbol types for
11160   classes and methods (closes #1918748).
11161 * data/snippets.conf:
11162   Add missing colon to "for" snippet for Python and set cursor position
11163   (thanks mamaar on IRC).
11164 * src/win32.c:
11165   Fix crash on Windows due to missing error message when a process
11166   spawning fails.
11167 * src/treeviews.c:
11168   Allow selecting items in the symbol list by pressing Enter or Space.
11169
11170
111712008-03-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11172
11173 * src/notebook.c:
11174   When closing tabs that were opened left-to-right, don't temporarily
11175   focus the previous tab when closing tabs, to prevent unnecessary
11176   checking for disk changes.
11177 * src/win32.c, src/dialogs.c, src/document.c, src/document.h:
11178   Only use filetype detection after Save As, not on every save when the
11179   filetype is None (fixes #1891778).
11180 * src/dialogs.c, src/document.c:
11181   Replace untitled file header filename after Save As and add to recent
11182   files on Windows too.
11183 * src/utils.c:
11184   Fix asking detect reload question again if the user doesn't respond
11185   within 10 seconds (oops).
11186
11187
111882008-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11189
11190 * HACKING: Add note and link for GTK 2.6 API docs.
11191
11192
111932008-03-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11194
11195 * doc/plugin-symbols.c, doc/Makefile.am, doc/plugins.dox:
11196   Move plugin symbols page into separate source file so that symbols
11197   are listed as variables and functions and are autolinked.
11198   Edit plugin symbols description, document some function parameters.
11199 * doc/plugins.dox:
11200   Add page links on the main page (easier than going to Related Pages,
11201   and we can also list special files like plugin-symbols.c).
11202 * src/utils.c:
11203   When detecting a change on disk, reload the file after all pending
11204   Scintilla messages have been processed, to prevent problems with
11205   partial colourisation.
11206 * src/symbols.c:
11207   Fix bug with showing macro list items all on one line.
11208 * src/plugins.c:
11209   Load and save plugin keybindings when toggling plugins in the Plugin
11210   Manager.
11211 * doc/geany.txt, doc/geany.html:
11212   Update configurable keybindings section for new plugin groups
11213   ordering.
11214   s/tabulator/tab/.
11215   Move scroll by one line shortcuts to configurable keybindings
11216   section.
11217
11218
112192008-03-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11220
11221 * src/plugins.c:
11222   Set mnemonic for Plugin Manager.
11223   Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape
11224   closes the dialog.
11225
11226
112272008-03-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11228
11229 * src/treeviews.c, src/symbols.c, src/symbols.h:
11230   Save sorting order of the symbol list when saving a file (#1917262).
11231 * data/filetype_extensions.conf, src/filetypes.c:
11232   Add ".xhtml" extension for filetype XML (#1914587).
11233
11234
112352008-03-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11236
11237 * doc/geany.txt, doc/geany.html:
11238   Add a note about column mode editing.
11239 * src/editor.c:
11240   Fix broken auto multiline comment with files in CR/LF mode.
11241 * src/win32.c:
11242   Fix encoding problems with project file dialogs.
11243 * src/plugins.c:
11244   Rework internal handling of plugin/module loading.
11245   At startup, only load enabled plugins, all others are only loaded
11246   when the plugin manager is opened and get completely unloaded when
11247   it is closed.
11248 * data/filetypes.caml, data/filetypes.cpp, data/filetypes.c,
11249   data/filetypes.d, data/filetypes.fortran, src/build.c:
11250   Remove old and useless code from build_link_file().
11251   Don't add "-o" compiler option automatically instead make it
11252   configurable through linker command.
11253 * data/filetypes.python, src/highlighting.c:
11254   Add additional keyword group for python and slightly change the
11255   foreground colour for style "word2".
11256 * geany.glade, src/dialogs.c, src/interface.c:
11257   Fix modal dialog problems on Windows by not setting taskbar hint
11258   (closes #1916994).
11259
11260
112612008-03-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11262
11263 * src/projects.c: Fix wrong directory when choosing project filename
11264                   in the New Project dialog.
11265 * scintilla/Editor.cxx: Add (basic) column mode editing, pasting text
11266                         does not work. Patch by chuck, thanks.
11267
11268
112692008-03-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11270
11271 * src/keybindings.c:
11272   Set main menu accelerators for keybindings.
11273 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
11274   plugins/htmlchars.c:
11275   Make KeyBinding name and label fields non-const strings so they can
11276   be freed by any plugins that need to use malloc'd strings.
11277   Document KeyCallback typedef.
11278 * HACKING:
11279   Replace Plugins chapter with 'Writing plugins' section.
11280   Add generating plugin API documentation section.
11281   Replace 'Modifying data types' with 'Keeping the plugin ABI stable'
11282   section.
11283   Add note about using -ansi.
11284
11285
112862008-03-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11287
11288 * src/Makefile.am: Add prefs.h to the list of installed header files.
11289 * src/win32.c: Fix crashes on Windows when error argument of
11290                utils_spawn_* is NULL.
11291 * src/build.c, src/win32.c, src/win32.h:
11292   Add win32_get_exit_status() to retrieve the exit code from a
11293   command on Windows (code moved from build.c).
11294 * geany.spec.in: Add pkg-config file and new include directory to the
11295                  files section (thanks to Dominic Hopf).
11296 * src/tools.c:
11297   Fix freeze when reading from stderr when using "Send Selection To".
11298   Don't modify current selection if the executed command returned error
11299   messages and/or an unsuccessful exit code.
11300   Improve error reporting when using "Send Selection To" (#1909452).
11301
11302
113032008-03-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11304
11305 * src/plugindata.h, doc/plugins.dox:
11306   Update documentation for plugin_key_group[] to mention declaring it
11307   manually.
11308 * src/keybindings.c, src/keybindings.h, src/plugins.c, doc/plugins.dox:
11309   Check plugin keybinding group name is valid.
11310   Ignore plugin keybinding groups with no elements defined.
11311 * src/utils.c, src/document.c:
11312   Fix Doxygen undocumented parameter warnings.
11313
11314
113152008-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11316
11317 * doc/geany.html, doc/geany.txt, src/search.c:
11318   Use monospace font for text entry fields in search dialogs and add
11319   a notice how to change the used font (#1907117).
11320 * src/plugins.c: Don't load all available plugins on startup, it's only
11321                  necessary opening the plugin manager.
11322 * src/keyfile.c, src/search.c:
11323   Use the default values for various tools if they don't exist in the
11324   config file instead of using g_find_program_in_path(), patch by
11325   Yura Siamashka (thanks).
11326   Fix executable check for grep command.
11327 * scintilla/include/Makefile.am, src/Makefile.am, plugins/Makefile.am,
11328   tagmanager/include/Makefile.am, Makefile.am, geany.pc.in,
11329   configure.in:
11330   Install header files and add a pkg-config file for external plugins.
11331 * geany.glade, src/interface.c:
11332   Add missing accelerator for string "Toggle All Additional Widgets".
11333 * plugins/htmlchars.c: Use a separate string for keybinding label to
11334                        avoid display of an underscore.
11335 * src/callbacks.c, src/tools.c: Fix compiler warnings about
11336                                 uninitialized variables.
11337
11338
113392008-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11340
11341 * src/build.c, src/keybindings.c, src/keybindings.h,
11342   src/tools.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
11343   src/plugins.c, src/main.c, doc/plugins.dox, plugins/filebrowser.c,
11344   plugins/htmlchars.c:
11345   Merge plugin-keybindings branch:
11346   Change keybindings code to use keybinding groups, each with a
11347   separate enum set, which will make the plugin ABI more stable, and
11348   lay the groundwork for plugin keybindings support.
11349   Note: this breaks the plugin API.
11350   Rename keybindings_cmd() to keybindings_send_command(), which now
11351   takes a group_id argument.
11352   Add keybindings_lookup_item().
11353   Add documentation for keybindings structs.
11354   Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
11355   macro.
11356   Add a plugin keybinding for 'Insert Special HTML Characters'.
11357   Rename KBCallback, cmd_id, cb_func with clearer names.
11358   Add KeyBinding::menu_item field for setting accelerators (currently
11359   does nothing).
11360   Load keybindings keyfile after plugins have loaded at startup, so
11361   their shortcuts are also loaded. Still to do: loading individual
11362   plugin keybindings after startup.
11363   Group most keybinding callbacks together according to keybinding
11364   group.
11365   Add keybindings_set_item() and add it to the plugin API.
11366   Set main menu widget accels with keybindings_set_item() - they are
11367   ignored for now. Popup menu accels are set separately.
11368 * doc/geany.txt, doc/geany.html:
11369   Update 'Filtering out version control files' section for new versions
11370   of GNU Grep.
11371 * src/keybindings.c:
11372   Fix bug with keybindings using check_current_word().
11373
11374
113752008-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11376
11377 * src/document.c:
11378   Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar
11379   behaviour by always adjusting to the longest line (part of #1905141).
11380 * src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
11381   tagmanager/makefile.win32, tagmanager/html.c, tagmanager/Makefile.am:
11382   Add HTML parser to get h1, h2, h3 symbols as well as link anchors and
11383   JavaScript functions (closes #1896068).
11384
11385
113862008-03-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11387
11388 * doc/Doxyfile.in, doc/Makefile.am:
11389   Use doxygen option QUIET to disable non-warning messages instead of
11390   redirecting output to /dev/null.
11391 * src/keyfile.c:
11392   When opening session files, don't try to set document properties if
11393   the document can't be opened.
11394 * data/filetypes.common, doc/geany.html, doc/geany.txt,
11395   src/highlighting.c, src/sciwrappers.c:
11396   Add opton to style "caret" to change the caret into a block caret.
11397   Add new styles "translucency", "line_wrap_visuals" and
11398   "line_wrap_indent" to filetypes.common (#1905141).
11399
11400
114012008-03-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11402
11403 * src/callbacks.c:
11404   Apply patch from Jeff Pohlmeyer (thanks) to fix toggle case with
11405   rectangular selections (works only for Ascii characters).
11406
11407
114082008-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11409
11410 * src/filetypes.c, src/filetypes.h, src/symbols.c:
11411   Apply patch from Yura Siamashka to use she-bang filetype detection
11412   also in filetypes_detect_from_filename() which let plugins benefit
11413   from this feature.
11414 * src/document.c:
11415   Don't open zero byte sized files read-only (e.g. files in /proc).
11416 * src/symbols.c, tagmanager/fortran.c, tagmanager/keyword.c,
11417   tagmanager/js.c, tagmanager/asm.c, tagmanager/c.c:
11418   Backport js.c and asm.c from CTags SVN.
11419   Fix Assembler tagmanager support and add appropriate symbol types.
11420   Fix JavaScript parse bug (#1895242).
11421   Change default return value of lookupKeyword() in keyword.c as it was
11422   done in CTags SVN(r339) and adjust affected parsers.
11423
11424
114252008-03-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11426
11427 * tagmanager/fortran.c, src/symbols.c:
11428   Adjust available symbol types between Fortran parser and symbols.c to
11429   make some more of the possbile symbol types available.
11430
11431
114322008-02-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11433
11434 * src/utils.c, src/utils.h, tagmanager/parse.h:
11435   Replace unsigned long in guint64 and use int instead of off_t
11436   (patch by Daniel Richard G., thanks).
11437 * src/sciwrappers.c: Make Scintilla remember the current column when
11438                      changing the cursor position (#1902732).
11439
11440
114412008-02-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11442
11443 * plugins/*, scintilla/*, src/*, tagmanager/*:
11444   Replace all C++-style comments with usual C-like multi-line comments.
11445 * src/keybindings.c: Fix ignoring of some keybindings when caps lock is
11446                      active (introduced in r2253).
11447 * src/document.c, src/utils.c, src/utils.h:
11448   Fix a few more compiler warnings (type conversion warnings).
11449 * src/utils.c, src/win32.c, src/win32.h:
11450   Apply patch from Pierre Joye to improve new Win32 process spawning
11451   code (thanks).
11452 * geany.desktop.in.in, TODO:
11453   Enable startup notification in desktop entry file and remove it from
11454   TODO list.
11455
11456
114572008-02-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11458
11459 * src/highlighting.c:
11460   Move symbols_global_tags_loaded() out of styleset_common().
11461 * src/symbols.c:
11462   Load ignore.tags even when global tags loading is disabled on the
11463   command-line, so that local tags in each open file can be ignored.
11464
11465
114662008-02-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11467
11468 * src/notebook.c:
11469   When closing a tab when using left-to-right tabs, focus the next
11470   document, not the previous.
11471 * src/search.c, src/document.c:
11472   Don't beep when using Replace All in Session unless all open files
11473   have no replacements (fixes #1893796).
11474
11475
114762008-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11477
11478 * tagmanager/options.c, src/symbols.c, src/symbols.h:
11479   Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
11480 * configure.in:
11481   Apply patch from Yura Siamashka to add a check for the presence of
11482   fnmatch(), thanks.
11483 * THANKS, plugins/vcdiff.c, src/plugindata.h, src/plugins.c,
11484   src/utils.c, src/utils.h, src/win32.c, src/win32.h:
11485   Apply patch by Pierre Joye to add new process spawning implementation
11486   for Windows. Make utils_spawn_* available to plugin API.
11487   This makes the VCdiff plugin to work on Windows (thanks).
11488 * makefile.win32:
11489   Make the make command overwritable, patch by Pierre Joye. Thanks.
11490
11491
114922008-02-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11493
11494 * tagmanager/options.c:
11495   Use extern for c_tags_ignore declaration to avoid allocating a
11496   second copy of it (patch by Daniel Richard G., thanks).
11497 * src/callbacks.c, src/search.c, src/document.c, src/editor.c,
11498   src/editor.h:
11499   Don't scroll the editor view if it is unnecessary when using Find
11500   Next/Previous, Find Selected and when searching from the search bar.
11501 * src/keybindings.c, src/sciwrappers.c:
11502   Don't scroll the editor view if it is unnecessary when using Go to
11503   Marker or Go to Matching Brace commands.
11504   Make sci_set_current_line() not scroll the view, unlike
11505   sci_goto_line().
11506
11507
115082008-02-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11509
11510 * scintilla/Makefile.am, src/Makefile.am:
11511   Fix more cross-compiling issues including little cleanup.
11512
11513
115142008-02-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11515
11516 * doc/geany.html, doc/geany.txt, src/editor.c, src/editor.h,
11517   src/keyfile.csrc/plugindata.h:
11518   Rename hidden pref auto_complete_whilst_editing to
11519   complete_snippets_whilst_editing.
11520
11521
115222008-02-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11523
11524 * plugins/*, src/*, tagmanager/*:
11525   Apply patch from Daniel Richard G. to fix to fix several
11526   compiler warnings, C89 violations and minor code problems (thanks).
11527 * configure.in, scintilla/ScintillaGTK.cxx, src/Makefile.am:
11528   Apply patch from Yura Siamashka to fix cross-compiling (thanks).
11529
11530
115312008-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11532
11533 * src/vte.c: Apply patch from Jeff Pohlmeyer to mark the VTE also as
11534              clean when Ctrl-C is pressed (thanks).
11535 * src/socket.c: Fix compiler warnings on Windows.
11536 * doc/geany.html, doc/geany.txt, src/symbols.c, src/symbols.h,
11537   tagmanager/options.c:
11538   Add support for reading tags(only for C/C++) from a file which should
11539   be ignored while parsing the file (ctags command line option -I).
11540
11541
115422008-02-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11543
11544 * configure.in, doc/Doxyfile.in, doc/Makefile.am, doc/plugins.dox,
11545   src/dialogs.c, src/dialogs.h, src/document.c, src/document.h,
11546   src/encodings.c, src/encodings.h, src/plugindata.h, src/utils.c,
11547   src/utils.h:
11548   Add support for generating API reference documentation using doxygen.
11549   This is the first step, it is far away from being complete.
11550   Add make target "api-doc" to generate the reference documentation.
11551   Add documentation comments to a few functions.
11552   Move basic plugin documentation from plugindata.h to doc/plugins.dox.
11553
11554
115552008-02-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11556
11557 * doc/geany.html, doc/geany.txt:
11558   Fix slightly wrong documentation for show_editor_scrollbars.
11559 * THANKS, doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
11560   Apply patch from Daniel Richard G. to add support for +NNN command
11561   line arguments and for recognising filename:line:column: format on
11562   the command line (thanks).
11563
11564
115652008-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11566
11567 * tagmanager/python.c: Fix parsing bug when there is text after the
11568                        end of a multi line comment (closes #1894084).
11569 * src/socket.c: Apply patch from Daniel Richard G. to update some
11570                 source code comments (thanks).
11571 * doc/geany.html, doc/geany.txt, src/document.c, src/editor.h,
11572   src/keyfile.c:
11573   Add hidden preference to disable scrolling past end of document.
11574
11575
115762008-02-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11577
11578 * src/keybindings.h: Fix broken compilation with GTK < 2.10.
11579 * src/document.c, src/encodings.c, src/treeviews.c, src/vte.c:
11580   Fix some compiler warnings.
11581
11582
115832008-02-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11584
11585 * src/editor.c, src/search.c, src/ui_utils.c:
11586   Allow using Find In Files dialog even if no files are open
11587   (closes #1891818).
11588 * src/main.c, src/socket.c:
11589   Allow start of Geany with given files on the command line but
11590   without a writable temporary directory and without a writable
11591   configuration directory.
11592   Improve filename of created symlink to the socket file.
11593 * src/document.c: Don't force unique line ending characters when saving
11594                   files to avoid unexpected saving behaviour.
11595 * src/keybindings.c, src/keybindings.h, src/prefs.c:
11596   Use a modifiers mask to ignore unwanted modifiers(caps lock,
11597   num lock) when handling key presses (maybe fixes #1891276).
11598 * src/dialogs.c:
11599   Fix compiler warnings.
11600   Improve Save As dialog usability problems.
11601
11602
116032008-02-11  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11604
11605 * src/about.c, THANKS: Added Nikita E. Shalaev to list of
11606   Russian translaters.
11607
11608
116092008-02-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11610
11611 * src/navqueue.c, src/navqueue.h, src/symbols.c, src/treeviews.c:
11612   Apply patch from Yura Siamashka to fix wrong navigation queue items
11613   (thanks).
11614 * src/editor.c:
11615   Add workaround for a Scintilla bug in HTML/PHP lexer which styles the
11616   last line of document wrong when in PHP mode.
11617 * README.Packagers: Add some notes for package maintainers.
11618 * src/socket.c:
11619   Use a random integer as part of socket file name instead of current
11620   time stamp.
11621   Before creating a new socket, delete a maybe existing socket and its
11622   symlink.
11623   Apply patch from Daniel Richard G. to include the hostname in the
11624   socket filename (thanks).
11625 * src/utils.c, src/win32.c, src/win32.h:
11626   Add support for getting hostname on Windows.
11627
11628
116292008-02-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11630
11631 * src/project.c:
11632   Fix crash on Windows when a project could not be opened.
11633 * src/win32.c:
11634   Remove prefix from win32_get_file_filters() and win32_get_filters().
11635   Fix some encoding problems with filenames retrieved from the native
11636   Windows file dialogs.
11637 * src/sciwrappers.c:
11638   Fix wrong placement of long line marker (closes #1889392).
11639
11640
116412008-02-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11642
11643 * plugins/Makefile.am: Fix typo (thanks Slava Semushin for reporting).
11644 * scintilla/include/Platform.h:
11645   Use a better check for PLAT_GTK_WIN32 (backport from Scintilla CVS).
11646 * src/socket.c:
11647   Create the Unix Domain Socket for detecting a running instance in
11648   system's tmp directory and create a symlink to it in Geany's
11649   configuration directory (closes #1888561).
11650 * src/socket.c:
11651   Include display number for the filename of the symbolic link to the
11652   real Unix Domain Socket file (closes #1888565).
11653
11654
116552008-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11656
11657 * plugins/autosave.c, plugins/filebrowser.c:
11658   Make forgotten strings translatable.
11659
11660
116612008-02-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11662
11663 * scintilla/include/Platform.h: Fix definition of PLAT_GTK_WIN32 on
11664                                 Windows to fix Copy&Paste problems.
11665 * New release: Geany 0.13 "Vensell".
11666 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
11667   src/geany.h: Post-release version bump.
11668
11669
116702008-02-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11671
11672 * doc/geany.txt, doc/geany.html:
11673   List Cut, Copy, Paste keybinding descriptions.
11674 * src/plugindata.h, src/plugins.c:
11675   Add sci_get_current_line() to plugin API.
11676   Add ui_table_add_row(), ui_path_box_new() to plugin API (thanks to
11677   Yura Siamashka).
11678 * doc/geany.txt, doc/geany.html, NEWS:
11679   Show default shortcuts in Keybindings section.
11680 * src/plugindata.h, src/plugins.c:
11681   Add ui_button_new_with_image() to plugin API.
11682
11683
116842008-02-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11685
11686 * doc/geany.html, doc/geany.txt, images/*: Update images for 0.13.
11687 * src/geany.h: Reduce minimum window size to 550x350 (closes #1883367).
11688
11689
116902008-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11691
11692 * doc/geany.txt, doc/geany.html, NEWS:
11693   Add Indentation subsection under Editor section.
11694 * doc/geany.txt, doc/geany.html, NEWS:
11695   Update Project section for project-based session support.
11696
11697
116982008-01-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11699
11700 * plugins/autosave.c: Fixed a little typo
11701   (Thanks to Jeff Bailes for reporting)
11702
11703
117042008-01-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11705
11706 * src/keyfile.c:
11707   Fix saving project session from a 2nd instance of Geany.
11708 * data/global.tags:
11709   Update for GTK+ 2.12.5.
11710   This also adds return type modifiers like const and *.
11711   Command used (on Fedora 8):
11712   'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.12.c.tags
11713   /usr/include/gtk-2.0/gtk/gtk.h'
11714
11715
117162008-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11717
11718 * src/project.c:
11719   Open a new, empty file when closing a project and no session files
11720   are available or when opening a project without stored session files.
11721   Close all open files when opening projects.
11722 * src/printing.c: Fix losing line breaks when printing a file with LF
11723                   line endings and a non-Ascii character at the end of
11724                   a line.
11725
11726
117272008-01-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11728
11729 * src/search.c:
11730   Allow case sensitive replace when the replace string varies only
11731   in case.
11732 * src/keybindings.c, src/keybindings.h:
11733   Rename binding type KeyBinding.
11734 * src/search.c:
11735   Factor out get_search_flags() from Find, Replace dialog response
11736   code.
11737
11738
117392008-01-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11740
11741 * plugins/pluginmacros.h, src/plugindata.h, plugins/*.c:
11742   Add new macros for plugin API functions that use a 'p_' prefix to
11743   prevent conflicts with other tags whilst keeping the same first word
11744   as core function names, and update plugins to use them.
11745   The old plugin macros are still available, but will be removed
11746   after the next release.
11747   Compiling with -DGEANY_DISABLE_DEPRECATED in CFLAGS will disable
11748   the old macros.
11749
11750
117512008-01-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11752
11753 * src/printing.c:
11754   Fix crash on Windows when printing an untitled file.
11755   Fix black line number margin when printing by using also pre-defined
11756   styles.
11757
11758
117592008-01-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11760
11761 * src/project.c:
11762   Remove unnecessary save of project keyfile.
11763 * src/callbacks.c, src/main.c:
11764   Close any project before closing all documents so the project
11765   session files are saved.
11766
11767
117682008-01-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11769
11770 * src/geanywraplabel.c, src/geanywraplabel.h:
11771   Move class and label structs to geanywraplabel.c.
11772   Override widget functions instead of using event handlers
11773   (trying to fix #1869399).
11774 * src/prefs.c: Fix wrong placement of descriptive texts in Templates
11775                and Tools tabs in the preferences dialog.
11776 * src/callbacks.c, src/main.c, src/prefs.c, src/treeviews.c,
11777   src/ui_utils.c, src/ui_utils.h:
11778   Rename ui_treeviews_show_hide() in ui_sidebar_show_hide().
11779   Don't hide sidebar when symbol and document lists are hidden but
11780   other notebook tabs are still there.
11781
11782
117832008-01-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11784
11785 * THANKS, src/about.c, po/el.po, po/LINGUAS:
11786   Add Greek translation (thanks to Stavros Temertzidis).
11787
11788
117892008-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11790
11791 * src/interface.c, geany.glade:
11792   Split up Prefs dialog General tab options into Startup, Shutdown
11793   and Projects frames.
11794   Rename 'Load and save session files...' option 'Use project-based
11795   session files'.
11796
11797
117982008-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11799
11800 * data/filetypes.ruby, src/editor.c, src/highlighting.c:
11801   Add two missing highlight styles to filetype Ruby.
11802   Enable comment/uncomment for POD-like comments for filetypes Ruby
11803   and Perl.
11804
11805
118062008-01-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11807
11808 * geany.glade, src/interface.c, src/keyfile.c, src/prefs.c,
11809   src/project.c, src/project.h:
11810   Add option for project session files support.
11811 * src/encodings.c, src/encodings.h, src/plugindata.h, src/plugins.c:
11812   Add encodings_get_charset_from_index() and make it available through
11813   plugin API.
11814
11815
118162008-01-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11817
11818 * src/editor.c:
11819   Fix hidden lines after deleting a line that is a collapsed fold
11820   point.
11821 * tagmanager/c.c:
11822   Fix parsing D constructor tags.
11823
11824
118252008-01-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11826
11827 * src/dialogs.c:
11828   Don't unlink the old file if renaming failed.
11829
11830
118312008-01-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11832
11833 * src/callbacks.c, src/search.c, src/editor.c, src/editor.h:
11834   Make 'Open Selected File' first try the current file's directory,
11835   falling back to the project base path if no file was found.
11836   Add editor_get_default_selection() from get_default_text() in
11837   search.c, to get the current selection or current word.
11838
11839
118402008-01-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11841
11842 * src/keyfile.c, src/project.c:
11843   Save project session file list when project is closed.
11844   Don't load default session files in a second instance after a project
11845   was closed.
11846   Fix not updating symbol list (and other things) when changing tabs
11847   after a project was opened or closed in a second instance.
11848
11849
118502008-01-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11851
11852 * src/keyfile.c:
11853   Try to fix changing message window height when using full screen
11854   (closes #1869415).
11855 * src/printing.c:
11856   Avoid double status message if print dialog was cancelled.
11857   Print status messages in status-changed handler.
11858 * Makefile.am, po/POTFILES.skip:
11859   Add POTFILES.skip to ignore files with translatable strings.
11860   Make "distcheck" working.
11861 * src/editor.c:
11862   Don't add '>' when auto completing HTML tags when it's already there.
11863   Fix wrong indentation when '{' and '}' are on the same line.
11864
11865
118662008-01-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11867
11868 * src/build.c, src/project.c, src/project.h, doc/geany.txt,
11869   doc/geany.html:
11870   Add 'Make in base path' project file preference, on by default.
11871   Add project_get_base_path(), separated from project_get_make_dir().
11872 * src/dialogs.c, src/plugindata.h, src/document.c,
11873   tagmanager/tm_project.c, tagmanager/tm_workspace.c,
11874   tagmanager/include/tm_workspace.h:
11875   Apply patch from Yura Siamashka to speed up removing several
11876   workspace object's tags without updating the workspace until
11877   necessary (thanks).
11878
11879
118802008-01-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11881
11882 * src/dialogs.c: Fix broken Rename functionality (closes #1868621).
11883 * src/printing.c:
11884   Fix crash while reading Scintilla styles.
11885   Add GTK's progress dialog when printing large documents which also
11886   provides the ability to cancel a print operation.
11887 * plugins/export.c:
11888   Fix crash while reading Scintilla styles.
11889   Append "_export" to the exported file name when the exported file has
11890   the same extension as the source file.
11891
11892
118932008-01-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11894
11895 * src/keybindings.c:
11896   Hopefully fix bug with Cut/Copy/Paste KB not working (#1867861).
11897 * src/prefs.c, src/keyfile.c, src/vte.c, doc/geany.txt, doc/geany.html:
11898   Add 'Override Geany keybindings' VTE prefs dialog option (replaces
11899   hidden pref), and make it off by default.
11900
11901
119022008-01-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11903
11904 * src/project.c:
11905   Edit base path entry tooltip for clarity.
11906   Use stock close button in close project prompt.
11907   Allow the base path to be empty, so that users can use the current
11908   file's directory for the Make command (but still use project session
11909   support). In future, perhaps it would be good to have a separate Make
11910   path setting for projects.
11911
11912
119132008-01-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11914
11915 * geany.glade, src/geanywraplabel.c, src/geanywraplabel.h,
11916   src/interface.c, src/plugins.c, src/prefs.c, src/vte.c,
11917   src/Makefile.am, src/makefile.win32:
11918   Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
11919   Use GeanyWrapLabel in preferences dialog and plugin manager dialog
11920   to save a lot of space and improve layout of descriptive texts.
11921 * src/msgwindow.c:
11922   Add workaround for display problem in Message window:
11923   Truncate displayed string at 1024 bytes if it is longer.
11924 * src/utils.c, src/win32.v:
11925   Fix compile error on Windows.
11926   Don't use _waccess_s since it seems to be unavailable in MingW32.
11927
11928
119292008-01-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11930
11931 * geany.nsi, geany_private.rc, README, doc/geany.html, doc/geany.txt,
11932   po/intl_stats.sh, plugins/*, src/*, tagmanager/rest.c:
11933   Update copyright information and change format of email addresses in
11934   source files.
11935 * src/project.c, src/utils.c, src/utils.h, src/win32:
11936   Add utils_is_file_writeable().
11937   Improve checks for write permission of files and directories.
11938   Don't overwrite maybe existing project files when trying to create
11939   new project and checking for project file's write permission
11940   (thanks to Yura Siamashka for reporting and his patch).
11941
11942
119432008-01-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11944
11945 * plugins/pluginmacros.h:
11946   Remove filetype macro to avoid naming conflicts.
11947
11948
119492008-01-04  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11950
11951 * src/about.c, THANKS: Changed Ukrainian language code to just uk to
11952   make it better fit with po-file-directory.
11953
11954
119552008-01-03  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
11956
11957 * THANKS, src/about.c, po/ja.po, po/LINGUAS:
11958   Adding of Japanese translation (Thanks to Tarot Osuji).
11959
11960
119612008-01-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11962
11963 * README, src/makefile.win32:
11964   Add -lshfolder to linker flags on Windows.
11965   Add notice for Win9x users to install SHFolder.dll.
11966 * plugins/pluginmacros.h, src/plugindata.h, src/plugins.c,
11967   src/project.h, src/symbols.c: Patch by Yura Siamashka:
11968   Add project type field.
11969   Go to tag definition/declaration will open the file with the tag if
11970   it isn't already open.
11971   Add some utils and tagmanager functions to the plugin API.
11972
11973
119742008-01-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
11975
11976 * tagmanager/c.c:
11977   Ignore D import statements.
11978 * plugins/filebrowser.c:
11979   Use documents->open_files() as it's more efficient when opening
11980   multiple files and existing files are open for filetypes with
11981   typename colouring.
11982 * src/search.c:
11983   Add mnemonics for Find All, Replace All expanders in dialogs.
11984   Fix Find dialog mnemonic conflict _f.
11985
11986
119872007-12-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
11988
11989 * tagmanager/basic.c:
11990   Don't parse in comments and fix wrong creation of tags including
11991   non-tag characters(e.g. '=' sign).
11992 * src/document.c: Avoid crash on Windows with enabled debug messages.
11993 * src/main.c, src/win32.c, src/win32.h:
11994   Add debug console window when debug mode is enabled to get any text
11995   messages on Windows.
11996   Fix wrong argument in win32_check_write_permission()
11997   (reported by Jeff Pohlmeyer, thanks).
11998 * src/main.c, src/win32.c, src/win32.h:
11999   Create Geany's configuration directory in user's appdata path instead
12000   of the default home directory (closes #1856305).
12001 * src/geany.h, src/project.c: Remove unnecessary macro GEANY_HOME_DIR.
12002
12003
120042007-12-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12005
12006 * plugins/filebrowser.c:
12007   Refactor with functions: check_single_selection(),
12008   is_folder_selected(), get_tree_path_filename() and separate menu
12009   item callbacks.
12010   Rename "Open with..." popup item "Open externally" ("..." is usually
12011   used when the user can input more information).
12012 * plugins/filebrowser.c:
12013   Disable popup menu items when there is no selection.
12014
12015
120162007-12-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12017
12018 * data/filetype_extensions.conf, src/filetypes.c:
12019   Add *.vala extension to CSharp filetype to support the Vala language.
12020
12021
120222007-12-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12023
12024 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
12025   Add configurable keybindings for Cut, Copy and Paste.
12026
12027
120282007-12-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12029
12030 * src/keybindings.c: Fix inverted move tab first/last commands.
12031 * src/templates.c:
12032   Add Python filetype template (patch by Elena of Valhalla, thanks).
12033 * src/main.c:
12034   Enable parsing command line options without a valid X display.
12035
12036
120372007-12-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12038
12039 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
12040   Add combo box input history for Make Custom Target dialog.
12041   Make dialogs_show_input() automatically activate on pressing enter in
12042   the GtkEntry, use a callback for input text, and have a 'persistent'
12043   option to hide the dialog instead of deleting it, using a combo box
12044   for input text history.
12045 * src/utils.c:
12046   Make utils_get_utf8_from_locale(), utils_get_locale_from_utf8()
12047   NULL-safe.
12048 * src/utils.c, src/win32.c, src/utils.h, src/win32.h, src/dialogs.c,
12049   src/search.c:
12050   Make Open, Save As dialogs start in project base path (or default
12051   path pref) when the current file has no filename.
12052   Split up widget setup code for dialogs_show_open_file(),
12053   dialogs_show_save_as().
12054   Add initial_dir argument for win32_show_file_dialog().
12055   Add utils_get_default_dir_utf8().
12056   Rename utils_get_current_file_dir() to
12057   utils_get_current_file_dir_utf8().
12058
12059
120602007-12-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12061
12062 * TODO, src/main.c: Apply patch Jeff Pohlmeyer to handle unknown
12063                     command line options better (thanks).
12064 * HACKING, src/Makefile.am, src/main.c, src/makefile.win32,
12065   src/plugins.c, src/prefix.h, src/symbols.c:
12066   Prefix autotools macros with GEANY to avoid problems with already
12067   defined symbols on Windows.
12068
12069
120702007-12-18  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12071
12072 * src/about.c, THANKS, po/uk_UA.po, po/LINGUAS:
12073   Added Ukrainian translation (Thanks to Boris Dibrov).
12074
12075
120762007-12-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12077
12078 * Makefile.am: Don't install pixmaps/geany.ico by default.
12079 * geany.spec.in: Fix mandir path and don't delete icons
12080                  (patch by Yura Siamashka, thanks).
12081 * src/Makefile.am:
12082   Add PREFIX macro.
12083   Don't construct LOCALEDIR manually but use autotools $(localedir)
12084   variable instead.
12085 * HACKING: Add note about using autotools macros like DATADIR.
12086 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
12087   Add --print-prefix command line option to output installation paths.
12088
12089
120902007-12-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12091
12092 * tagmanager/c.c:
12093   Fix parsing C arrays (broken in r1952, oops).
12094 * src/keybindings.c:
12095   Don't flicker menubar when typing Shift-[a-z] in the VTE.
12096 * tagmanager/entry.h, tagmanager/c.c:
12097   Remove unused pointerOrder code from C parser, as it's not necessary
12098   since r1952, and not in the standard ctags code. Leaving it in the
12099   TagManager code however for backwards compatibility with global tag
12100   files.
12101 * tagmanager/c.c:
12102   Fix parsing correct D class name when inheriting.
12103
12104
121052007-12-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12106
12107 * src/build.c, src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
12108   Use project's base dir and run command when running commands in the
12109   VTE.
12110   Add VTE preference to skip the generated run script. when running
12111   commands in the VTE.
12112   Make vte_cwd() accept also paths not only filenames.
12113 * geany.desktop.in.in: Avoid full path for icon entry.
12114 * geany.spec.in: Add file HACKING and classviewer icons.
12115 * Makefile.am: Prevent installing geany.desktop twice.
12116
12117
121182007-12-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12119
12120 * geany.desktop.in.in:
12121   Apply patch from Ubuntu package to match FD.o standards
12122   (thanks to Siegfried-Angel Gevatter Pujals).
12123 * plugins/classbuilder.c, plugins/htmlchars.c:
12124   Use pluginmacros.h.
12125 * src/highlighting.c, src/highlighting.h:
12126   Add highlighting_get_style().
12127 * plugins/pluginmacros.h, src/plugindata.h, src/plugins.c:
12128   Add highlighting_get_style() to the plugin API.
12129   Rename DocumentFuncs field in GeanyData struct to avoid name clashes.
12130 * doc/geany.html, doc/geany.txt, src/kebindings.c, src/keybindings.h:
12131   Add Move document first/last keybindings
12132   (patch by Catalin Marinas, thank you).
12133 * geany.glade, src/interface.c, src/keyfile.c, src/plugindata.h,
12134   src/prefs.c, src/prefs.h, src/ui_utils.c:
12135   Add toolbar items to increase/decrease indentation (closes #1850697).
12136
12137
121382007-12-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12139
12140 * src/build.c: Fix Run command for HTML files when set to something
12141                else than "builtin".
12142
12143
121442007-12-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12145
12146 * geany.glade, src/interface.c, src/msgwindow.c, src/plugins.c:
12147   Set treeview rules hint for several treeviews and remove manual
12148   setting the background colour of odd rows of the status and message
12149   treeviews (closes #1848901).
12150 * src/vte.c: Enable dragging of text into the VTE.
12151 * src/msgwindow.c: Fix crashes when clicking on message window items
12152                    introduced with changing rules hints for treeviews.
12153 * configure.in, src/Makefile.am, src/main.c, src/plugins.c,
12154   src/prefix.c, src/prefix.h, src/symbols.c:
12155   Add binary relocation support.
12156
12157
121582007-12-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12159
12160 * geany.spec.in: Apply patch from Yura Siamashka and Dominic Hopf
12161                  to fix build of rpm package (thanks).
12162 * src/win32.c: Fix wrong file filters in file dialogs opened in the
12163                preferences dialog.
12164 * src/keyfile.c: Fix wrong debug display of filenames which could not
12165                  be loaded from last session.
12166
12167
121682007-12-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12169
12170 * src/project.c, src/ui_utils.c, src/win32.c, src/win32.h:
12171   Fix wrong file filters in project-related file dialogs on Windows.
12172
12173
121742007-12-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12175
12176 * doc/geany.html, doc/geany.txt, src/callbacks.c, src/document.c,
12177   src/document.h, src/encodings.c, src/encodings.h, src/keyfile.c,
12178   src/main.c:
12179   Store more document-related settings session-based in the
12180   configuration file(including the file encoding).
12181   Detect in-file specified file encoding by scanning the file using
12182   regular expressions.
12183
12184
121852007-12-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12186
12187 * src/build.c, src/vte.c, src/vte.h:
12188   Prevent execution of commands by Geany if the VTE may contain any
12189   text on the prompt (thanks to "Jeff Pohlmeyer for reporting).
12190
12191
121922007-12-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12193
12194 * src/document.c: Add "b" flag to fopen when saving files to avoid
12195                   broken line ending characters on Windows
12196                   (flag was removed by accident, closes #1844405).
12197 * plugins/filebrowser.c:
12198   Improve error message when external command could not be executed.
12199   Allow use of external command also for the special ".." item.
12200
12201
122022007-12-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12203
12204 * plugins/filebrowser.c:
12205   Add ".." path entry to every directory.
12206   Fix display of double backslash in path entry on Windows.
12207   Add basic path entry auto completion.
12208   Print error message when external command fails to execute.
12209   Let right-clicks select an item.
12210 * src/vte.c, src/vte.h:
12211   Don't load unused symbols from library.
12212   Grab focus after right-clicked in the VTE widget.
12213
12214
122152007-12-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12216
12217 * plugins/filebrowser.c, plugins/pluginmacros.h, src/callbacks.c,
12218   src/plugins.c, src/plugindata.h, src/search.c, src/search.h,
12219   src/utils.c:
12220   Add search_show_find_in_files_dialog() to the plugin API.
12221   Make path entry of filebrowser plugin editable.
12222   Add "Open with" and "Find in Files" popup menu items to filebrowser
12223   plugin and add configuration dialog.
12224 * scintilla/*, scintilla/include/*: Update Scintilla to version 1.75.
12225
12226
122272007-12-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12228
12229 * src/templates.c:
12230   Avoid inclusion of PHP tags in PHP function descriptions.
12231 * plugins/Makefile.am, plugins/svndiff.c:
12232   Remove obsolete SVNdiff plugin, use the VC Diff plugin.
12233 * geany.glade, src /editor.c, src/editor.h, src/geany.h,
12234   src/interface.c, src/keyfile.c, src/plugindata.h, src/plugins.c,
12235   src/prefs.c:
12236   Add option for amount of characters to trigger symbol completion.
12237   Add document_find_by_filename to the plugin API.
12238
12239
122402007-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12241
12242 * src/filetypes.c, data/filetypes.conf:
12243   Added .ltx as extension for LaTeX-documents.
12244
12245
122462007-11-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12247
12248 * src/main.c, tagmanager/tm_project.c, tagmanager/tm_workspace.c,
12249   tagmanager/include/tm_workspace.h:
12250   Remove unused config_dir argument for tm_get_workspace().
12251 * src/symbols.c:
12252   Fix broken generate tags command.
12253
12254
122552007-11-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12256
12257 * geany.glade, doc/geany.html, geany.txt, src/editor.c,
12258   src/interface.c: Improve usage of "Unfold all children" option and
12259                    add some basic documentation for folding support.
12260 * plugins/filebrowser.c: Fix display of double slash in path entry.
12261 * src/document.c, src/ui_utils.c:
12262   Deny "(Un)Fold All" actions when folding is disabled.
12263   Hide "(Un)Fold All" menu items instead of just disabling them.
12264 * src/dialogs.c, src/dialogs.h, src/document.c:
12265   Add dialogs_show_msgbox_with_secondary().
12266   Add line and column number in charset conversion error dialog when
12267   saving a file and improve display of the failed character.
12268 * src/build.c: Fix broken Run command on Java files on Windows.
12269 * src/symbols.c, tagmanager/ruby.c:
12270   Use Ruby parser from CTags SVN and add/fix symbol list sections.
12271
12272
122732007-11-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12274
12275 * scintilla/LexHTML.cxx: Fix syntax colouring bug when using '?>' in
12276                          a PHP comment (closes #1838854).
12277
12278
122792007-11-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12280
12281 * src/document.c: Display character which caused a failed encoding
12282                   conversion when saving a file.
12283
12284
122852007-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12286
12287 * src/symbols.c, tagmanager/basic.c:
12288   Use FreeBasic specific sections in symbol list.
12289   Use Basic parser from CTags SVN and improve the parser for better
12290   handling of dim and const keywords.
12291 * src/plugins.c: Fix plugin separator placement in the Tools menu.
12292
12293
122942007-11-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12295
12296 * po/POTFILES.in, plugins/autosave.c, plugins/Makefile.am,
12297   plugins/makefile.win32: New plugin: Auto Save.
12298 * geany.glade, src/editor.c, src/interface.c:
12299   Enable Shift+click on a fold point to unfold all possibly folded
12300   children (same as the pref "Unfold all children of a fold point").
12301
12302
123032007-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12304
12305 * src/editor.c: Fix crash when trying to add a multiline comment in
12306                 filetypes which don't support it.
12307 * src/symbols.c, src/treeviews.c, src/treeviews.h:
12308   Revert the change to make symbol sections bold and use some small
12309   indentation when expanders are hidden.
12310 * src/geanyobject.c, src/geanyobject.h, src/main.c, src/plugindata.h,
12311   src/plugins.c, src/project.c, src/project.h:
12312   Remove unused function project_save().
12313   Fix typo in plugin API at utils_mkdir().
12314   Add document_get_n_idx() to the plugin API.
12315   Fix display of plugin separator in the Tools menu when only plugins
12316   without menu item are loaded.
12317   Add three new signals: project_open, project_save, project_close.
12318   On Shutdown close the project before plugins are unloaded to let
12319   plugins work on the last project closed event.
12320
12321
123222007-11-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12323
12324 * geany.glade, plugins/*.c src/callbacks.c, src/callbacks.h,
12325   src/geany.h, src/interface.c, src/keyfile.c, src/main.c,
12326   src/plugindata.h, src/plugins.c, src/plugins.h:
12327   Add plugin manager dialog to select plugins to load at startup and
12328   to call a plugin configure dialog.
12329   Add configure symbol for plugins which is called by Geany when a
12330   configure dialog for the plugin is requested, optionally.
12331   Add author field to plugin info struct.
12332   Add sample configure dialog to the demo plugin.
12333   Fix cleanup code in filebrowser plugin to remove it completely when
12334   unloaded.
12335 * src/plugindata.h, src/plugins.c: Add utils_mkdir() to the plugin API.
12336
12337
123382007-11-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12339
12340 * tagmanager/read.c: Fix file type detection for parsers using regexp
12341                      code with non-standard file type extensions.
12342 * src/symbols.c, src/treeviews.c, src/treeviews.h:
12343   Make sections in the symbol list bold for better distinction if
12344   expanders are hidden.
12345
12346
123472007-11-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12348
12349 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/plugindata.h,
12350   src/prefs.h, src/treeviews.c:
12351   Add hidden pref to hide symbol list treeview expander (GTK >= 2.12).
12352   Double click on symbol list sections now expands/collapses them.
12353 * src/symbols.c, tagmanager/lregex.c, tagmanager/php.c:
12354   Add missing symbol types: Interface and Constants for PHP.
12355   Disable use of non-ASCII characters for PHP parser, it caused
12356   problems when using with locales other than "C".
12357   Add missing line break characters in error messages in lregex.c.
12358 * src/callbacks.c, src/keyfile.c, src/keyfile.h, src/main.c,
12359   src/project.c, src/project.h:
12360   Apply patch from Bo Lorentsen to improve support for project session
12361   files (thank you).
12362
12363
123642007-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12365
12366 * src/templates.c, src/utils.c, src/utils.h:
12367   Fix possible memory leak and add time_t argument in
12368   utils_get_date_time() to pass a time pointer to use.
12369 * configure.in, geany.glade, TODO, doc/geany.html, doc/geany.txt,
12370   src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
12371   src/interface.c, src/keyfile.c, src/main.c, src/Makefile.am,
12372   src/makefile.win32, src/prefs.c, src/prefs.h, src/printing.c,
12373   src/printing.h, src/ui_utils.c, src/ui_utils.h:
12374   Add native GTK printing support.
12375 * src/printing.c: Set line width for page header, handle empty filename
12376                   in page header correctly.
12377 * tagmanager/Makefile.am, tagmanager/lregex.c,
12378   tagmanager/makefile.win32, tagmanager/parse.c, tagmanager/parse.h,
12379   tagmanager/php.c, tagmanager/regex.c, tagmanager/tm_tag.c,
12380   tagmanager/include/Makefile.am, tagmanager/include/regex.h:
12381   Fix two more compiler warnings.
12382   Use php.c and lregex.c from CTags SVN (closes #1795810).
12383   Add regex.c and regex.h (GNU regex) for regex support on Windows.
12384
12385
123862007-11-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12387
12388 * plugins/vcdiff.c, plugins/Makefile.am:
12389   Added plugin 'VC Diff', slightly modified from a patch by Yura
12390   Siamashka (thanks). It was adapted from the SVN Diff plugin.
12391   Currently it supports SVN, CVS and GIT.
12392   Fixed GTK warnings when the current file has no filename and when
12393   the current directory has no version control system.
12394   Made some refactoring changes to make the VC_RECORD struct contain
12395   all necessary attributes about each version control system.
12396
12397
123982007-11-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12399
12400 * plugins/filebrowser.c:
12401   Make 'Set path from document' use the current working directory or
12402   the project base path when no document is open.
12403
12404
124052007-11-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12406
12407 * src/highlighting.c: Don't change control char symbol in Scintilla.
12408
12409
124102007-11-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12411
12412 * Makefile.am, geany.glade, data/autocomplete.conf, data/snippets.conf,
12413   doc/geany.txt, doc/geany.html, doc/geany.1.in, src/document.c,
12414   src/editor.c, src/editor.h,src/geany.h, src/highlighting.c,
12415   src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
12416   src/keyfile.h, src/main.c, src/plugindata.h, src/prefs.c:
12417   Rename "Contruct autocompletion" to "Snippets".
12418   Allow changing height of the symbol completion list even if automatic
12419   symbol is disabled, it still can be forced by keybinding.
12420
12421
124222007-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12423
12424 * src/templates.c, src/utils.c, src/utils.h:
12425   Remove utils_get_date() and add format argument to
12426   utils_get_date_time().
12427 * src/main.c: Don't compile plugin command line option when plugin
12428               support is disabled.
12429 * src/notebook.c:
12430   Enable close tab on middle-clicking a notebook tab label.
12431   Enable toggle additional widgets on double-clicking notebook tab
12432   label.
12433 * THANKS, src/project.c, src/project.h, src/keyfile.c, src/keyfile.h,
12434   src/main.c: Apply patch from Bo Lorentsen to add support for project
12435               session files (thank you).
12436
12437
124382007-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12439
12440 * src/prefs.c:
12441   Separate keybindings tree setup code from prefs_init_dialog(); use
12442   enum for tree model columns.
12443   Ask the user whether to override an existing keybinding when setting
12444   a combination that is already in use.
12445 * plugins/filebrowser.c, src/treeviews.c, src/vte.c:
12446   Fix popup menu item capitalization according to Gnome HIG.
12447   Add separator menu item to VTE popup menu.
12448   Move VTE Prefs item below Input Methods.
12449 * src/keybindings.c:
12450   Set Ctrl-Alt-P as default Prefs KB.
12451   Change Decrease Indent default KB to Ctrl-U (very common action,
12452   and Ctrl-U was unused).
12453 * src/keybindings.c:
12454   Allow VTE to interpret F-keys (except if they're focus commands).
12455
12456
124572007-11-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12458
12459 * src/editor.c, src/utils.c, src/utils.h:
12460   Remove unused unnecessary function utils_btoa().
12461
12462
124632007-11-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12464
12465 * src/vte.c: Apply patch from Simone Denei to add a "Restart" item to
12466              the VTE popup menu in case running application hangs.
12467 * src/utils.c: Fix bug when creating configuration directory on Unix.
12468 * tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
12469   Don't create tagmanager status file, seems to be unnecessary
12470   (needs testing).
12471
12472
124732007-11-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12474
12475 * src/build.c: Enable stopping of Run command on Windows.
12476 * src/build.c: Quote first element of command line when using Compile,
12477                Build and Make commands on Windows to avoid problems
12478                if the tools are specified with full path.
12479
12480
124812007-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12482
12483 * plugins/svndiff.c:
12484   Fix sign comparison warning.
12485 * plugins/svndiff.c:
12486   Fix gtk_widget_destroy() warning when unloading plugin and no svn
12487   binary is in $PATH.
12488 * plugins/svndiff.c:
12489   Add menu separator so users don't accidentally click revert and lose
12490   all their work.
12491   Capitalize revert menu item.
12492 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
12493   Add 'Strip Trailing Spaces' document menu item.
12494 * src/keybindings.c, src/keybindings.h, src/plugindata.h, TODO:
12495   Make VTE interpret all keyboard shortcuts except for focus group
12496   keybindings.
12497   Add enum values for keybinding groups.
12498   Make Notebook tabs keybindings group.
12499   Move Go to tags items into Tags keybindings group.
12500   Move navigation items into a new Other keybindings group.
12501 * HACKING, data/filetypes.restructuredtext:
12502   Add a default configuration file for reStructuredText.
12503 * src/document.c:
12504   Allow scrolling past end of document, so the user can append text
12505   with the last lines drawn at the top of the view.
12506
12507
125082007-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12509
12510 * HACKING:
12511   Update 'Adding a filetype' section for new highlighting.c code.
12512
12513
125142007-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12515
12516 * src/dialogs.c, src/document.c, src/utils.c:
12517   Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
12518
12519
125202007-11-05  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12521
12522 * plugins/svndiff.c:
12523   Added function for svn revert and check before complete loading of
12524   then plugin if svn is inside $PATH.
12525   Added patch from Yura Siamashka to re-use an already created tab
12526   for a new diff on the same file. Thanks.
12527
12528
125292007-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12530
12531 * src/build.c:
12532   Fix error in Compile and Build commands on Windows if the command
12533   contains double quotes.
12534   Fix error in Build command when the executable file name contains
12535   spaces(Linux and Windows).
12536 * src/filetypes.c: Add support for env wrapper in shebang detection
12537                    (inspired by a patch from Yura Siamashka).
12538 * src/plugindata.h, src/plugins.c:
12539   Add document_set_text_changed() to the plugin API.
12540 * src/main.c, src/utils.c, src/utils.h, src/win32.c, src/win32.h:
12541   Fix crashes on Windows when configuration directory could not be
12542   created.
12543   Fix problems when configuration directory path contains special
12544   characters.
12545 * tagmanager/tm_workspace.c: Use g_unlink() instead of unlink().
12546 * src/build.c:
12547   Use g_unlink() instead of unlink().
12548   Minor code cleanups and add some sanity checks.
12549   Fix broken Run command on Windows by not changing Geany's working
12550   directory (this might break other things, unfinished).
12551
12552
125532007-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12554
12555 * src/sciwrappers.c:
12556   Show line wrap symbol at start of line for wrapped lines.
12557 * src/templates.c, src/highlighting.c, src/highlighting.h,
12558   src/filetypes.c, src/filetypes.h, src/document.c, src/main.c:
12559   Fix bug with using the default extension, not the user set one, if
12560   'New with template' is used before any documents of the same filetype
12561   are open.
12562   Load filetype keyfiles from filetypes_load_config(), not from
12563   styleset_foo_init().
12564   Add highlighting_init_styles(), highlighting_set_styles(),
12565   simplifying a lot of styleset function code.
12566   Remove filetype::style_func_ptr field.
12567
12568
125692007-11-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12570
12571 * src/build.c, src/makefile.win32: Add exit code detection for Windows.
12572 * src/keyfile.c: Fix broken window maximization.
12573 * src/document.c: Remove Scintilla keybinding Alt-Backspace for Undo.
12574
12575
125762007-11-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12577
12578 * src/win32.c:
12579   Prevent prefs dialog being hidden after using the prefs file dialog.
12580 * src/build.c, src/prefs.c:
12581   Enable build support on Windows.
12582 * src/document.c:
12583   Ensure document_update_tag_list() always shows the empty symbol list
12584   when tags cannot be parsed.
12585 * src/filetypes.c, doc/geany.txt, doc/geany.html, data/filetypes.*:
12586   Add configurable default file extension setting for filetype
12587   definition files.
12588   Note: There is a bug with using the default extension, not the user
12589   set one, if 'New with template' is used before any documents of the
12590   same filetype are open.
12591
12592
125932007-11-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12594
12595 * src/document.c, /src/main.c, src/symbols.c, tagmanager/tm_project.c,
12596   tagmanager/include/tm_workspace.h, tagmanager/tm_workspace.c:
12597   Create tagmanager status file in configuration directory, not in a
12598   guessed temporary directory to ensure having write access.
12599   Fix crashes if status file can't be written.
12600
12601
126022007-10-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12603
12604 * src/filetypes.c, data/filetype_extensions.conf:
12605   Set reStructuredText default file extension .rst.
12606 * src/document.c, src/editor.c:
12607   Use newline as autocompletion list separator, so that reST entries
12608   show correctly.
12609 * src/document.c:
12610   Ensure empty symbol list is shown when tags cannot be parsed (fixes
12611   wrong symbol list shown when creating a new document with an unsaved
12612   filename set).
12613 * src/filetypes.c:
12614   Only translate '%s source file' instead of whole title for filetypes
12615   (easier for new translations).
12616
12617
126182007-10-31  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12619
12620 * plugins/svndiff.c: Make svn error messages better readable.
12621
12622
126232007-10-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12624
12625 * plugins/svndiff.c:
12626   Factor out common make_diff() and show_output() functions for both
12627   file and directory diffs.
12628   Show any SVN error message on the status bar.
12629   Use directory name as prefix for output filename when doing a
12630   directory diff.
12631   Don't remove filename extension for file diffs.
12632   Fix some memory leaks.
12633 * plugins/svndiff.c:
12634   Add a separate menu item for diff from the current directory.
12635   Disable file and directory diff menu items if the current document
12636   has no filename.
12637   Disable project menu item when no project is open.
12638 * src/document.c:
12639   Make Fold All/Unfold All attempt to scroll the current line in view.
12640 * plugins/filebrowser.c:
12641   Don't dereference symlinks.
12642   Make sure current_dir always has a full path.
12643
12644
126452007-10-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12646
12647 * doc/geany.txt, src/build.c, src/project.c, src/project.h:
12648   Add support for relative project base path.
12649   Improve and synchronize base path tooltips in project new and
12650   properties dialogs.
12651   Fix minor GUI annoyances in project dialogs.
12652 * plugins/export.c, plugins/filebrowser.c, plugins/pluginmacros.h,
12653   plugins/svndiff.c:
12654   Add macro project for app->project.
12655   Rename macro tm to tagm to avoid conflicts with tm struct of time.h.
12656   Fix a warning about shadowing a global symbol.
12657   Use plugin macros in Export and SVNDiff plugins.
12658 * src/treeviews.c, src/treeviews.h:
12659   Replace "Hide" popup menu items of the symbol and document list with
12660   "Show Document List" and "Show Symbol List" check menu items.
12661
12662
126632007-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12664
12665 * plugins/svndiff.c, plugins/export.c, plugins/demoplugin.c,
12666   plugins/filebrowser.c, plugins/htmlchars.c, plugins/classbuilder.c:
12667   Make all plugins distributed with Geany have the same version number
12668   as Geany.
12669 * plugins/pluginmacros.h:
12670   Prevent conflict with document::encoding.
12671 * plugins/svndiff.c:
12672   Capitalize menu item text.
12673   Minor editing of some strings.
12674 * plugins/classbuilder.c:
12675   Capitalize menu item text.
12676 * plugins/filebrowser.c:
12677   Show icons only in the file browser toolbar.
12678
12679
126802007-10-25  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12681
12682 * plugins/svndiff.c:
12683   Added feature to make a diff from an open project or a
12684   current directory.
12685
12686
126872007-10-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12688
12689 * src/build.c, src/ui_utils.h, src/tools.c, src/project.c, src/geany.h,
12690   src/msgwindow.c, src/callbacks.c, src/keyfile.c, src/search.c,
12691   src/document.c, src/plugins.c, src/main.c, src/symbols.c,
12692   src/ui_utils.c:
12693   Make msgwin_status_add() only log a message, not display it on the
12694   status bar.
12695   Make ui_set_statusbar() take a log argument for whether to record the
12696   message in the Status window.
12697   (Plugin API functions already do this).
12698 * plugins/filebrowser.c:
12699   Use the current directory when there are no documents open.
12700   Add popup menu with Open command.
12701   Separate toolbar code from init().
12702 * plugins/filebrowser.c:
12703   Add 'Show hidden files' checkbox in the popup menu.
12704 * plugins/demoplugin.c, plugins/filebrowser.c, plugins/Makefile.am,
12705   plugins/pluginmacros.h:
12706   Add pluginmacros.h to define common macros for app, utils, etc.
12707   Add more documentation/comments to demoplugin.c.
12708 * src/treeviews.c:
12709   Fix bug with choosing 'show full path name' from documents list popup
12710   menu when there is no selected item (can happen after using the command
12711   twice).
12712   Fix hiding the sidebar/documents list from the popup menu when there's
12713   no selected item.
12714
12715
127162007-10-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12717
12718 * plugins/svndiff.c:
12719   Set the status bar instead of logging status messages.
12720
12721
127222007-10-23  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12723
12724 * plugins/svndiff.c:
12725   Small improvments in handling of non UTF-8 diffs.
12726
12727
127282007-10-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12729
12730 * src/notebook.c: Don't make notebook tabs higher than necessary.
12731
12732
127332007-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12734
12735 * plugins/filebrowser.c, plugins/Makefile.am, plugins/makefile.win32,
12736   src/interface.c, src/utils.c, src/plugindata.h, src/treeviews.c,
12737   src/vte.c, src/plugins.c, doc/geany.txt, doc/geany.html,
12738   po/POTFILES.in, geany.glade:
12739   Added File Browser sidebar plugin.
12740   Rename 'Open Files' sidebar tab 'Documents'.
12741   Add keybindings->send_command() and tm->get_real_path() to the plugin
12742   API.
12743
12744
127452007-10-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12746
12747 * src/keyfile.c: Fix possible wrong window title when loading session
12748                  files.
12749
12750
127512007-10-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12752
12753 * src/about.c, THANKS, po/sv.po, po/LINGUAS:
12754   Added Swedish translation (Thanks to Tony Mattsson).
12755
12756
127572007-10-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12758
12759 * configure.in, doc/geany.html, doc/geany.txt, plugins/Makefile.am,
12760   scintilla/Makefile.am, scintilla/PlatGTK.cxx, src/Makefile.am,
12761   src/gb.c, src/project.c, src/vte.c, tagmanager/Makefile.am:
12762   Apply most of the patch from #1794250 (thanks):
12763   Remove compiler specific flags.
12764   Add configure option to specify the path to libvte.so.
12765   Remove many unnecessary configure checks.
12766   Stop configure if msgfmt was not found(gettext not installed).
12767
12768
127692007-10-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12770
12771 * src/plugindata.h, src/plugins.c:
12772   Add encoding related functions to the plugin API.
12773 * data/autocomplete.conf, doc/geany.txt, doc/geany.html, src/editor.c:
12774   Add special key wordchars to autocomplete.conf to let the user
12775   redefine used wordchars.
12776
12777
127782007-10-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12779
12780 * src/vte.c:
12781   Only connect vte_keypress() if enable_bash_keys pref is not set.
12782 * src/document.c, src/document.h, src/editor.c, src/editor.h,
12783   src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
12784   geany.glade, THANKS:
12785   Apply patch from Catalin Marinas to add a 'newline strips trailing
12786   spaces' pref (thanks).
12787
12788
127892007-10-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12790
12791 * tagmanager/tm_tag.c, tagmanager/c.c, TODO:
12792   Parse arrays, const and pointers in C-like function return types
12793   (and store in varType).
12794   Fix some indentation.
12795 * src/interface.c, src/keybindings.c, src/prefs.c, src/callbacks.c,
12796   src/callbacks.h, src/keyfile.c, src/document.c, src/document.h,
12797   src/editor.c, src/editor.h, src/ui_utils.c, geany.glade:
12798   Add Indent Type option in the Document menu.
12799   Add 'Detect from file' Editor indentation pref.
12800   Show TAB or SP for current document's indent type.
12801   Minor editing of Document menu and editor Indentation prefs group.
12802   Use GString for statusbar statistics.
12803
12804
128052007-10-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12806
12807 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c:
12808   Suppress selection changed signal when switching between open files
12809   and symbol list.
12810 * src/plugins.c, src/plugindata.h, plugins/export.c:
12811   Add dialogs_show_save_as() to the plugin API.
12812   Fix wrong callback signatures in Export plugin and make menu item
12813   document sensitive.
12814
12815
128162007-10-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
12817
12818 * plugins/svndiff.c, plugins/Makefile.am, plugins/makefile.win32,
12819   po/POTFILES.in:
12820   New Plugin: Plugin to create a diff of a file against svn.
12821
12822
128232007-10-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12824
12825 * geany.glade, src/interface.c, src/keyfile.c, src/plugindata.h,
12826   src/prefs.c, src/prefs.h, src/treeviews.c, src/treeviews.h:
12827   Add menu accelerators to the symbol and open files list popup menus.
12828   Add option to display full path name in the open files list.
12829 * src/callbacks.c, src/ui_utils.c:
12830   Add menu accelerators to the custom date menu items.
12831 * src/ui_utils.c: Add recent files also to GTK's recent files buffer.
12832
12833
128342007-10-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12835
12836 * NEWS, doc/geany.1.in: Update for 0.12.
12837 * New release: Geany 0.12 "Delurin".
12838 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
12839   src/geany.h: Post-release version bump.
12840
12841
128422007-10-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12843
12844 * src/document.c, src/highlighting.c, src/symbols.c, src/symbols.h:
12845   Fix wrong colouring of type keywords of tags from different
12846   filetypes.
12847 * src/treeviews.c: Add full file name as tooltip in the open files list
12848                    (only for GTK 2.12 and above).
12849
12850
128512007-10-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12852
12853 * src/keybindings.c:
12854   Fix inserting spaces instead of tab when using 'Suppress construct
12855   completion' and spaces are used for indentation.
12856
12857
128582007-10-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12859
12860 * src/callbacks.c, src/keybindings.c:
12861   Fix wrong insert position of Insert Date function when using keyboard
12862   shortcut and place the cursor behind the inserted date.
12863 * src/treeviews.c: Enable horizontal scrollbar for the Open Files list.
12864
12865
128662007-10-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12867
12868 * src/prefs.c:
12869   Fix segfault when manually editing a keybinding and selecting another
12870   item.
12871 * src/vte.c:
12872   Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
12873   because they are now sent to the VTE.
12874
12875
128762007-10-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12877
12878 * src/notebook.c:
12879   Attempt to fix problem with tab close button size.
12880 * src/keyfile.c, doc/geany.txt, doc/geany.html:
12881   Don't overwrite hidden prefs when quitting unless they are missing.
12882 * src/keybindings.c, src/keyfile.c, src/vte.h, doc/geany.txt,
12883   doc/geany.html, NEWS:
12884   Move and rename the bash shortcuts hidden preference - it's now in
12885   geany.conf, [VTE] section, called 'enable_bash_keys'.
12886
12887
128882007-10-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12889
12890 * src/document.c: Fix scrolling bugs when searching text and the cursor
12891                   is outside of the current visible area.
12892                   Unfold search result.
12893 * src/main.c: Also print version of Geany together with GTK/GLib
12894               version information.
12895
12896
128972007-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12898
12899 * tagmanager/python.c:
12900   Show parent class for inner classes.
12901 * src/notebook.c:
12902   Use stock close image for notebook tab close buttons.
12903
12904
129052007-09-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12906
12907 * src/keybindings.c:
12908   Also ignore Ctrl-L for VTE bash command.
12909   Allow 'Switch to editor' command to override any bash commands.
12910   Also disable the popup menu to avoid VTE bash conflicts.
12911 * src/main.c, src/symbols.c, src/symbols.h:
12912   Add --no-preprocessing, -P option when generating tags files to
12913   disable preprocessing of C/C++ source files.
12914 * doc/geany.txt, doc/geany.html, doc/geany.1.in, NEWS:
12915   Add documentation for --no-preprocessing option.
12916 * src/keybindings.c:
12917   Add Project Properties menu accelerator.
12918 * tagmanager/vstring.h, tagmanager/vstring.c:
12919   Fix a possible segfault with vStringPut() - backported from CTags
12920   5.7. This appears to fix a segfault on Windows 2000 when loading
12921   tagmanager/c.c.
12922   It also adds vStringChop() - chop last character from string.
12923
12924
129252007-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
12926
12927 * src/keyfile.c:
12928   Don't load invalid window geometry data from the config file.
12929
12930
129312007-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12932
12933 * src/keybindings.c:
12934   Add enable_vte_bash_keys keybindings.conf hidden pref in [Settings].
12935   Refactor keybindings_init().
12936 * src/msgwindow.c, src/document.c, src/plugins.c, NEWS:
12937   Don't show file opened/saved/closed messages on the status bar.
12938   Add temporary function msgwin_status_add_new() for v0.12 (to avoid
12939   many code changes updating msgwin_status_add() before the release).
12940 * src/utils.h, src/keyfile.c:
12941   Fix possible conflict of 'tmp' variable name in setptr macro.
12942 * src/build.c, NEWS:
12943   Fix displaying error indicators with Make after entering a
12944   subdirectory.
12945
12946
129472007-09-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12948
12949 * src/keybindings.c:
12950   Fix selecting text with Shift-{PageUp,PageDown} (closes #1801315).
12951 * src/keybindings.c, src/vte.c:
12952   Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
12953   (Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).
12954
12955
129562007-09-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12957
12958 * src/keybindings.c, src/navqueue.c, src/navqueue.h, src/treeviews.c,
12959   src/callbacks.c, src/symbols.c, src/symbols.h:
12960   Fix bug when using Navigate backwards after using the keyboard to
12961   set the cursor position on the current word.
12962   Add symbols_goto_tag().
12963   Replace navqueue_append() with navqueue_goto_line().
12964 * TODO:
12965   Updated for project and plugins improvements, and others.
12966   Added wishlist items (which are unlikely to be worked on).
12967 * plugins/export.c, src/plugindata.h, src/plugins.c:
12968   Add ui->set_statusbar() to the plugin API.
12969   Make plugin function msgwin->status_add() not set the statusbar - but
12970   ui->set_statusbar() can now be used to do both with the log argument.
12971   After Geany 0.12 this is how the core versions of those functions
12972   will work, so the status window can be set independently.
12973 * src/utils.c, src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
12974   src/navqueue.c, src/callbacks.c, src/editor.c:
12975   Remove pos argument from sci_get_current_line(), because
12976   sci_get_line_from_position() can be used instead and it's clearer.
12977   Remove unused sci_get_line_end_styled() - it's also the same as
12978   sci_get_line_from_position().
12979
12980
129812007-09-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12982
12983 * src/keybindings.c, src/editor.c, src/editor.h:
12984   Fix bug with 'Delete lines' when cursor is at the start of a
12985   multi-line selection.
12986 * src/keybindings.c, src/msgwindow.c, src/msgwindow.h:
12987   Add msgwin_switch_tab(), msgwin_clear_tab() functions.
12988
12989
129902007-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12991
12992 * src/keybindings.c, src/editor.c:
12993   Undo r1891 so that 'Delete lines' again includes the cursor line
12994   even when at the start of a line - like Cut/Copy lines do.
12995
12996
129972007-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
12998
12999 * src/editor.c:
13000   Make 'Select lines' not include an extra line when whole lines are
13001   selected.
13002   Make 'Delete lines' not include an extra line when whole lines are
13003   selected.
13004 * src/keybindings.c, src/callbacks.c:
13005   Make 'Duplicate lines' work for whole lines when more than one line
13006   has a selection.
13007
13008
130092007-09-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13010
13011 * src/keyfile.c:
13012   Save and restore the current notebook page when quitting.
13013
13014
130152007-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13016
13017 * src/build.h, src/plugindata.h, src/plugins.c:
13018   Apply patch from blackdog to add build_info and
13019   msgwindow->compiler_add() to the plugin API (thanks).
13020 * src/symbols.c, tagmanager/haxe.c:
13021   Apply code from blackdog to parse Haxe typedef tags (thanks).
13022   Show Haxe typedefs in the symbol list.
13023   Add tag_type treeview iter.
13024 * tagmanager/haxe.c:
13025   Show Haxe enum types in the symbol list.
13026 * src/msgwindow.c, src/msgwindow.h, src/search.c:
13027   Add foreground colouring to messages items.
13028
13029
130302007-09-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13031
13032 * src/callbacks.c:
13033   Speed up Save All for C-like files by avoiding unnecessary
13034   recolourising after user typenames have changed.
13035 * src/keybindings.c, src/document.c, doc/geany.txt, doc/geany.html:
13036   Change scroll by line default keybindings to Alt-{Up, Down}.
13037   Change Previous/Next Paragraph Scintilla commands to Ctrl-{Up, Down}.
13038   Adding Shift extends selection by paragraph.
13039 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
13040   Add Find keybinding (re-uses existing string).
13041   Group search-related callbacks together.
13042   Docs: Add table headings to group related keybindings together.
13043 * src/keybindings.c:
13044   Make some keybinding titles use existing string capitalization.
13045 * src/images.c:
13046   Apply patch from Christoph Berg to update main window icon and
13047   About dialog icon (thanks).
13048
13049
130502007-09-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13051
13052 * src/plugindata.h:
13053   Fix return type for document->open_file().
13054   (Tidy up field name indentation).
13055 * doc/geany.txt, doc/geany.html:
13056   Apply patch from John Gabriele for an overview in the Tags section
13057   (thanks).
13058   (Format paragraph with fmt -w72).
13059 * src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
13060   doc/geany.html:
13061   Allow autocompletion on a line with trailing whitespace.
13062   Add auto_complete_whilst_editing hidden preference.
13063 * src/ui_utils.h, src/callbacks.c, src/main.c, src/ui_utils.c:
13064   Make Toggle Case use the current word if there's no selection.
13065   Make Toggle Case keep an existing selection.
13066   Rename ui_widgets.popup_items to popup_copy_items.
13067 * doc/geany.txt, doc/geany.html:
13068   Edit how to manually edit geany.conf hidden prefs.
13069 * src/win32.c, src/about.c, src/ui_utils.c:
13070   Use G_N_ELEMENTS(arr) instead of sizeof(arr) / sizeof(arr[0]).
13071   Correct prev_translators email address.
13072
13073
130742007-09-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13075
13076 * src/callbacks.c: HTML manual is called Manual.html on Windows, so
13077                    open this file.
13078
13079
130802007-09-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13081
13082 * plugins/export.c, plugins/classbuilder.c, src/utils.c, src/win32.c,
13083   src/utils.h, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
13084   src/keyfile.c, src/document.c, src/plugins.c, src/document.h,
13085   src/main.c, src/socket.c, src/ui_utils.c:
13086   Neaten up the plugin API:
13087   Make document_open_file() now wrap document_open_file_full(),
13088   without the idx for reloading or pos arguments.
13089   Replace str_replace() with string_replace_all() in the plugin API.
13090   Add utils_string_replace_all(), taking a GString argument.
13091 * src/plugindata.h, src/document.c, src/plugins.c, src/document.h:
13092   Add reload_file() document function to the plugin API.
13093
13094
130952007-09-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13096
13097 * THANKS, pixmaps/geany.ico, pixmaps/geany.png:
13098   Replace Geany's icon by a new one by Sebastian Kraft (thanks).
13099 * plugins/Makefile.am: Add makefile.win32 to EXTRA_DIST files.
13100 * plugins/export.c, src/plugins.c, src/plugindata.h:
13101   Remove get_zoom from plugin API.
13102
13103
131042007-09-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13105
13106 * src/build.c, src/callbacks.c: Change quotes in some error messages to
13107                                 be more consistent (thanks Frank).
13108 * doc/geany.txt: Add notice about code navigation history.
13109 * src/geany.nsi:
13110   Install symbol list icons with the installer.
13111   Use Geany's icon for the installer.
13112
13113
131142007-09-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13115
13116 * geany.glade, doc/geany.txt, src/callbacks.c, src/callbacks.h,
13117   src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
13118   src/utils.c, src/utils.h, src/ui_utils.h:
13119   Remove convert to lower-/upper-case keybindings.
13120   Add toggle case keybinding and change shortcut to Ctrl-Alt-U.
13121 * src/about.c: Improved error message if license text could not be
13122                found (thanks Frank).
13123
13124
131252007-09-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13126
13127 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
13128   Add 'Move document left' and 'Move document right' keybindings.
13129   Make fixed keybindings overridable.
13130   Add fixed keybindings for switching to leftmost/rightmost document,
13131   Ctrl-Shift-{PageUp,PageDown}.
13132   Docs: Add 'Switching documents' keybindings section.
13133 * src/interface.c, src/prefs.c, geany.glade:
13134   Replace 'Use tabs...' preference checkbox with Tabs, Spaces radio
13135   buttons (should be a bit clearer).
13136 * doc/geany.txt, doc/geany.html:
13137   Minor update of Preferences dialog section.
13138
13139
131402007-09-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13141
13142 * src/document.c: Fix missing syntax colouring when saving new files.
13143 * src/document.c, src/keybindings.c, src/keybindings.h:
13144   Make keybinding for scrolling by one line changeable.
13145 * src/prefs.c: Store the index of a keybinding in the treeview store
13146                to fix problems getting the correct index when editing
13147                a cell of the treeview.
13148
13149
131502007-09-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13151
13152 * src/utils.c, src/document.c:
13153   Rewrite document_find_by_filename() to work when the filename
13154   argument contains relative path elements or symlinks.
13155
13156
131572007-09-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13158
13159 * src/makefile.win32, src/ui_utils.c, src/win32.c,
13160   plugins/makefile.win32:
13161   Sort list of files to build on Windows.
13162   Add geanyobject.c to the list of files to build on Windows.
13163   Fix some warnings and build errors on Windows.
13164
13165
131662007-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13167
13168 * src/keybindings.c:
13169   Set copy lines default KB to Ctrl-Shift-C.
13170   Set cut lines default KB to Ctrl-Shift-X.
13171 * plugins/classbuilder.c, src/templates.c, src/keybindings.c,
13172   src/plugindata.h, src/callbacks.c, src/document.c, src/document.h,
13173   src/main.c, src/socket.c:
13174   Add text argument for document_new_file(), so that it's independent
13175   from filetype templates.
13176   Make File->New create a blank document, rather than using the None
13177   filetype template.
13178   Add None option for the 'New with Template' menu commands.
13179 * src/interface.c, geany.glade:
13180   Move 'Insert #include' menu item below other insert menu items.
13181
13182
131832007-08-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13184
13185 * src/highlighting.c, doc/geany.txt, doc/geany.html,
13186   data/filetypes.common:
13187   Include \n\r newline chars in Scintilla whitespace chars.
13188 * data/filetypes.common:
13189   Undo last commit, because it makes selecting text with the mouse
13190   include all trailing lines with no wordchars on them.
13191
13192
131932007-08-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13194
13195 * src/interface.c, src/keybindings.c, geany.glade:
13196   Change 'Goto' to 'Go to' everywhere.
13197 * doc/geany.txt, doc/geany.html:
13198   Add Plugins section, describe using a second instance to edit
13199   geany.conf in 'Hidden preferences' appendix.
13200 * src/keybindings.c:
13201   Rename non-menu keybinding titles, e.g. Tags menu -> Tags commands.
13202 * src/keybindings.c:
13203   Fix Ctrl-Shift bindings not working when caps lock is on.
13204 * src/treeviews.c:
13205   Only focus the current document after switching pages if the open
13206   files treeview currently has focus (otherwise focus commands can be
13207   overridden, e.g. when pressing F4 during opening several files).
13208 * src/editor.c:
13209   Prevent calltip after typing '(' when in a comment or string.
13210   Allow forced autocompletion in a comment or string.
13211
13212
132132007-08-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13214
13215 * src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
13216   doc/geany.html:
13217   Add 'Current chars' indentation mode, rename 'Advanced' indentation
13218   to 'Match braces' (closes #1726880).
13219   For 'Match braces' indentation, if a brace could not be matched,
13220   fall back to 'Current chars' indentation.
13221 * doc/geany.txt, doc/geany.html:
13222   Added 'Inserting unicode characters' Editing section, adapted from
13223   a patch by John Gabriele (thanks).
13224 * plugins/Makefile.am:
13225   Don't install Demo plugin.
13226
13227
132282007-08-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13229
13230 * src/keyfile.c:
13231   Group settings in load_dialog_prefs() by dialog tab.
13232 * src/keyfile.c, src/document.c, src/editor.h, doc/geany.txt,
13233   doc/geany.html:
13234   Add hidden editor preference 'use_gtk_word_boundaries'.
13235   Add docs appendix 'Hidden preferences'.
13236 * HACKING:
13237   Add more complete information for adding a filetype.
13238
13239
132402007-08-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13241
13242 * src/callbacks.c, src/callbacks.h, src/keybindings.c, src/main.c:
13243   Remove useless callback wrapper function.
13244
13245
132462007-08-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13247
13248 * src/interface.c, geany.glade:
13249   Add Prefs dialog 'Editor tabs' frame in Interface tab and group
13250   related preferences.
13251   Change some table spacing to multiples of 3.
13252   Rename Misc., Behaviour -> Miscellaneous.
13253 * src/plugindata.h:
13254   Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
13255 * src/keyfile.c:
13256   Group prefs in order for save_dialog_prefs().
13257 * src/keyfile.c:
13258   Refactor configuration_load().
13259
13260
132612007-08-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13262
13263 * geany.glade, plugins/classbuilder.c, plugins/demoplugin.c,
13264   plugins/export.c, plugins/htmlchars.c, src/interface.c,
13265   src/keyfile.c, src/notebook.c, src/plugindata.c, src/prefs.c,
13266   src/prefs.h:
13267   Add version to plugin info fields and two other fields for future
13268   use.
13269   Add option to show/hide the small crosses on each file tab
13270   (closes #1757680).
13271
13272
132732007-08-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13274
13275 * src/dialogs.c, src/callbacks.c:
13276   Fix saving the wrong document when using Save All with unnamed
13277   documents.
13278 * src/utils.c, src/highlighting.c, src/sciwrappers.c, src/document.c,
13279   src/symbols.c:
13280   Fix wrong brace formatting.
13281 * src/about.c, src/callbacks.c, src/keyfile.c, src/editor.c:
13282   Fix wrong // comment spacing.
13283 * src/keyfile.c:
13284   Refactor configuration_save() to group new struct settings together.
13285   Move 'Enable plugin support' keyfile pref to the 'geany' group.
13286 * src/prefs.c, src/prefs.h, src/plugindata.h, src/callbacks.c,
13287   src/keyfile.c, src/document.c, src/document.h, src/main.c,
13288   src/editor.h, src/ui_utils.c:
13289   Move file-related fields from EditorPrefs -> GeanyPrefs.
13290   Rename line_breaking -> line_wrapping for EditorPrefs and document.
13291
13292
132932007-08-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13294
13295 * src/document.c: Fix invalid filetype setting when using Save All and
13296                   files with filetype None (thanks to Omair Eshkenazi
13297                   for reporting).
13298
13299
133002007-08-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13301
13302 * plugins/export.c, src/templates.c, src/build.c, src/utils.c,
13303   src/ui_utils.h, src/build.h, src/utils.h, src/highlighting.c,
13304   src/keybindings.c, src/tools.c, src/prefs.c, src/dialogs.c,
13305   src/prefs.h, src/navqueue.c, src/plugindata.h, src/geany.h,
13306   src/treeviews.c, src/msgwindow.c, src/callbacks.c, src/notebook.c,
13307   src/treeviews.h, src/keyfile.c, src/vte.c, src/search.c,
13308   src/document.c, src/plugins.c, src/main.c, src/editor.c,
13309   src/symbols.c, src/main.h, src/editor.h, src/ui_utils.c:
13310   Rename MyApp -> GeanyApp.
13311   Move most GeanyApp fields into:
13312   GeanyPrefs for (most) Preferences dialog fields;
13313   UIPrefs for non-Prefs dialog visual settings;
13314   UIWidgets for less commonly used widgets such as menuitems and
13315   dialogs;
13316   GeanyStatus for various states the application can be in.
13317   Move some GeanyApp fields into EditorPrefs (and one into each of
13318   CommandLineOptions and SidebarTreeviews).
13319   Add plugin API prefs field.
13320   Move disabling build widgets on Windows to build_init().
13321   Make build callbacks static.
13322   Add treeviews_init() to prepare popup menus and open files treeview.
13323   Replace treeviews_find_node() with treeviews_select_openfiles_item().
13324   Make utils_isbrace() and utils_is_opening_brace() take an
13325   'include_angles' argument (to separate from editor_prefs).
13326   Make 'Goto matching brace' keybinding include <> angle brackets.
13327 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
13328   src/callbacks.c:
13329   Apply patch from blackdog to add "document-activate" plugin signal,
13330   which is sent when switching notebook pages (thanks).
13331
13332
133332007-08-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13334
13335 * plugins/export.c:
13336   Fix some minor LaTeX code errors.
13337   Add generation date to HTML header and as comment in the generated
13338   LaTeX code.
13339
13340
133412007-08-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13342
13343 * src/editor.h: Remove unused struct.
13344
13345
133462007-08-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13347
13348 * plugins/export.c, plugins/Makefile.am, plugins/makefile.win32,
13349   po/POTFILES.in, src/plugins.c, src/plugindata.h:
13350   New plugin: Export as HTML and LaTeX.
13351   Add some functions to the plugin API needed by the Export plugin.
13352 * src/utils.c: Include error code string in the debug message if a file
13353                could not be written.
13354
13355
133562007-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13357
13358 * src/plugins.c:
13359   Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
13360   that use signals when quitting (thanks).
13361 * tagmanager/get.c:
13362   Fix parsing C macro argument list.
13363
13364
133652007-08-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13366
13367 * src/msgwindow.c:
13368   Apply patch from Jon Senior to fix parsing Apache Ant compiler
13369   error messages (thanks).
13370 * src/interface.c, src/prefs.c, src/keyfile.c, src/main.c, src/main.h,
13371   geany.glade:
13372   Add 'Enable plugin support' Prefs checkbox.
13373   Minor edit of load VTE option text.
13374 * scintilla/include/Scintilla.h, scintilla/Editor.cxx,
13375   scintilla/ScintillaGTK.cxx, src/document.c, doc/geany.txt:
13376   Use sci_assign_cmdkey() to set GtkEntry-like word boundary handling.
13377   Clear unnecessary default Scintilla Ctrl-D duplicate keybinding.
13378   Add SCI_DELWORDRIGHTEND command (patch sent to Scintilla ML).
13379   Remove previous ScintillaGTK::KeyCommand override.
13380 * src/symbols.c:
13381   Fix symbol list sort by appearance order for e.g. geany.txt.
13382
13383
133842007-08-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13385
13386 * scintilla/PositionCache.cxx:
13387   Apply patch from Scintilla ML to fix problems with selections
13388   including the first and second character of a line.
13389
13390
133912007-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13392
13393 * src/symbols.c, src/symbols.h, src/treeviews.c:
13394   Add menu items for different sorting of the symbol list to the symbol
13395   list popup menu.
13396
13397
133982007-08-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13399
13400 * src/plugindata.h, src/plugins.c:
13401   Apply patch from Jeff Pohlmeyer to add document_remove() to the
13402   plugin API (thanks).
13403   Add document_open_files() to plugin API.
13404 * src/plugins.c:
13405   Disconnect plugin callback signals when unloading plugins, to prevent
13406   a segfault when emitting signals.
13407 * src/templates.c, src/build.c, src/utils.c,
13408   src/keybindings.c, src/highlighting.h, src/sciwrappers.h,
13409   src/dialogs.c, src/geany.h, src/treeviews.c, src/msgwindow.c,
13410   src/callbacks.c, src/keyfile.c, src/filetypes.h, src/document.c,
13411   src/plugins.c, src/document.h, src/main.c, src/editor.c,
13412   src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c
13413   Move #define PLAT_GTK to geany.h.
13414   Move filetype typedef to geany.h.
13415   Don't #include any src/*.h files from headers.
13416 * src/msgwindow.c:
13417   Add support for Java Apache Ant compiler error messages.
13418
13419
134202007-08-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13421
13422 * src/filetypes.c, src/filetypes.h, src/symbols.c,
13423   tagmanager/parsers.h, tagmanager/makefile.win32, tagmanager/rest.c,
13424   tagmanager/Makefile.am:
13425   Add reStructuredText filetype and parser.
13426 * src/filetypes.c, src/filetypes.h:
13427   Sort filetype groups alphabetically.
13428 * src/keyfile.c, src/filetypes.c, data/filetype_extensions.conf:
13429   Add comment about generating filetype_extensions.conf.
13430   Update filetype_extensions.conf.
13431 * src/filetypes.c:
13432   Rewrite filetypes_get_from_uid() for easier maintenance.
13433 * HACKING:
13434   Add more information for adding a filetype.
13435   2 minor edits.
13436 * src/plugindata.h, src/plugins.c:
13437   Apply patch from blackdog to add document_save_file() to the plugin
13438   API (thanks).
13439   Add document_open_file() to plugin API.
13440
13441
134422007-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13443
13444 * src/about.c: Increase border space in credits tab and align developer
13445                names left.
13446 * src/keyfile.c: Fix wrong debug message if a session file couldn't be
13447                  loaded.
13448
13449
134502007-08-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13451
13452 * data/filetypes.freebasic: Add many keywordsGeanyObjectPrivate
13453                             (patch by Arthur Skowronek, thanks).
13454 * geanyobject.c: Fix a runtime warning.
13455 * doc/Makefile.am, doc/geany.txt, doc/geany.html:
13456   Don't use output redirection since the reST tools accept output
13457   filenames.
13458   Apply patch from John Gabriele to add some tweaks/fixes (thanks).
13459
13460
134612007-08-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13462
13463 * src/keybindings.c, src/editor.c, src/editor.h:
13464   Make 'Delete current line' and 'Select current line' work for all
13465   lines that have a selection.
13466   Implement 'Copy current line'.
13467 * doc/geany.txt, doc/geany.html:
13468   Update selected line(s) keybindings.
13469 * src/plugindata.h:
13470   Tidy up struct typedefs.
13471 * src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
13472   src/document.c, src/plugins.c, src/main.c, src/Makefile.am:
13473   Add plugin symbol geany_callbacks (see plugindata.h for details).
13474   Add GeanyObject type with "document-new", "document-open",
13475   "document-save" signals.
13476
13477
134782007-08-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13479
13480 * tagmanager/php.c: Fix parsing classes with modifiers like 'final'.
13481
13482
134832007-08-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13484
13485 * plugins/classbuilder.c:
13486   Fix missing GTypeInfo field initializer when generating
13487   'objectname'_get_type() for GObject classes.
13488 * doc/geany.txt, doc/geany.html:
13489   Move 'About this document' section to end of Introduction.
13490   Update 'Contributing to this document' section.
13491 * doc/geany.1.in:
13492   Update for -g and -p options.
13493 * data/autocomplete.conf:
13494   Add %cursor% for default 'else' completion.
13495   Add space before while for 'do' completion.
13496 * src/keybindings.c:
13497   Prevent warning when trying to focus non-existent VTE.
13498
13499
135002007-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13501
13502 * doc/*, doc/html/*:
13503   Remove all docbook related files and use reST to generate the
13504   documentation. Thanks to John Gabriele for his great work on
13505   converting from docbook to the reST format.
13506
13507
135082007-08-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13509
13510 * src/symbols.c, tagmanager/python.c:
13511   Parse Python global variables and class variables from assignment
13512   statements; assignment to a tuple literal ('x, y =') not supported.
13513
13514
135152007-08-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13516
13517 * geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
13518   src/msgwindow.c, src/prefs.c, src/ui_utils.c:
13519   Add option to suppress messages in the status bar.
13520 * src/dialogs.c: Use UTF-8 filename in Save As dialog when setting
13521                  non-existing filename.
13522
13523
135242007-08-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13525
13526 * configure.in: Fix error in "make install" caused by old automake
13527                 versions and intltool.
13528 * src/plugins.c: Prevent loading the same plugin in different paths.
13529
13530
135312007-08-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13532
13533 * src/plugindata.h, src/plugins.c, src/editor.h, HACKING:
13534   Add filetypes, editor_prefs fields to plugin API.
13535   Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
13536   Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
13537   to the plugin API (thanks).
13538   Increment plugin ABI version.
13539
13540
135412007-07-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13542
13543 * po/Makefile.in.in: Removed.
13544 * src/symbols.c:
13545   Fix crash when saving a file after setting encoding "None".
13546
13547
135482007-07-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13549
13550 * src/tools.c, src/sciwrappers.c, src/callbacks.c, src/search.c:
13551   Add allocation for NULL-terminated selection ends.
13552
13553
135542007-07-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13555
13556 * scintilla/LexHTML.cxx, scintilla/Makefile.am:
13557   Backport of LexHTML from Scintilla CVS to fix #1759166.
13558   Disable debug build of Scintilla and use -Os.
13559 * src/about.c: Rework credits page to fix some display issues.
13560
13561
135622007-07-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13563
13564 * src/editor.c, src/editor.h, src/keybindings.c:
13565   Rename editor_auto_forif() in editor_auto_complete().
13566   Allow using auto completion in PHP files outside of the PHP tags,
13567   generally in comments, for news files without filetype and on
13568   non-empty lines.
13569 * src/Makefile.am, src/plugins.c:
13570   Only show the separator between built-in Tools menu items and plugins
13571   if there are any plugins.
13572   Use PACKAGE_LIB_DIR.
13573   Load plugins in ~/.geany/plugins/ prior to the default location.
13574 * src/symbols.c: Hide empty symbol types in the symbol list.
13575 * makefile.win32, win32-config.h, plugins/makefile.win32,
13576   src/plugins.c:  Make plugins working and compiling on Windows.
13577
13578
135792007-07-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13580
13581 * plugins/demoplugin.c, plugins/htmlchars.c, plugins/classbuilder.c,
13582   src/plugindata.h, src/plugins.c:
13583   Add GeanyData* geany_data symbol for plugins so they don't have to
13584   keep a copy of the init() argument.
13585   Rename PluginData GeanyData (but use a typedef for backward
13586   compatibility).
13587   Update plugins to use newer API symbols.
13588 * src/utils.c, src/utils.h, src/tools.c, src/tools.h, src/dialogs.c,
13589   src/callbacks.c, src/callbacks.h:
13590   Move Color Chooser and Word Count tools to tools.c.
13591 * src/plugins.c:
13592   Add separator between built-in Tools menu items and plugins.
13593 * src/interface.c, src/keybindings.c, geany.glade:
13594   Use AE spelling of 'color'.
13595
13596
135972007-07-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13598
13599 * src/highlighting.c:
13600   Ignore whitespace_chars for Haxe.
13601 * src/plugins.c:
13602   Use a single PluginData struct for all plugins.
13603
13604
136052007-07-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13606
13607 * THANKS, data/filetype_extensions.conf, data/filetypes.haxe,
13608   tagmanager/haxe.c, tagmanager/parsers.h, tagmanager/makefile.win32,
13609   tagmanager/Makefile.am, src/templates.c, src/highlighting.c,
13610   src/highlighting.h, src/callbacks.c, src/filetypes.c,
13611   src/filetypes.h, src/symbols.c:
13612   Add filetype Haxe (patch by blackdog, thank you).
13613 * ChangeLog, po/ChangeLog, README: Change format of email addresses.
13614
13615
136162007-07-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13617
13618 * po/POTFILES.in:
13619   Translate the HTML Characters plugin.
13620 * src/main.c:
13621   Set app->debug_mode when GEANY_DEBUG is defined.
13622 * plugins/htmlchars.c, src/plugindata.h, src/plugins.c:
13623   Don't destroy plugin_fields->menu_item automatically - plugin_fields
13624   should be owned by the plugin, so the plugin is responsible for
13625   destroying it, and any other memory it allocated.
13626   Print a warning message in debug mode if a plugin has no cleanup()
13627   function.
13628
13629
136302007-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13631
13632 * src/document.c:
13633   Fix wrong selection handling when using Color Chooser.
13634
13635
136362007-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13637
13638 * src/plugindata.h, src/plugins.c:
13639   Apply patch from Jeff Pohlmeyer to add plugin functions for getting
13640   a file list and modifying scintilla text selections (thanks).
13641 * src/document.c:
13642   Fix hang when replacing all '[ ]*' regex matches (closes #1757748).
13643
13644
136452007-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13646
13647 * Makefile.am, doc/Makefile.am, icons/Makefile.am, plugins/Makefile.am,
13648   scintilla/include/Makefile.am, src/Makefile.am:
13649   Fix make distcheck.
13650
13651
136522007-07-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13653
13654 * plugins/htmlchars.c, plugins/Makefile.am, src/interface.c,
13655   src/keybindings.c, src/tools.c, src/tools.h, src/plugindata.h,
13656   src/callbacks.c, src/callbacks.h, src/plugins.c, src/plugins.h,
13657   src/ui_utils.c, HACKING, geany.glade:
13658   Convert 'Insert Special HTML Characters' tool into a plugin;
13659   keybinding support will be added later.
13660   Add plugin functions for inserting text into the current document.
13661   Add plugin support for disabling a menu item when no documents are
13662   open.
13663   Destroy plugin_fields->menu_item on unloading if set by a plugin.
13664   Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
13665   other modules, and to help detect unresolved symbols at loading time.
13666 * plugins/htmlchars.c:
13667   Fix warning.
13668
13669
136702007-07-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13671
13672 * src/symbols.c: Adjust symbol list icon path on Windows.
13673
13674
136752007-07-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13676
13677 * src/symbols.c, src/treeviews.c, src/treeviews.h, src/utils.c,
13678   src/utils.h:
13679   Extend icon search path to get symbol list icons working when using
13680   a non-standard installation prefix.
13681   Query default icon theme only once to improve startup speed.
13682   Store the line number separately in the tree store.
13683   Remove utils_get_local_tag().
13684 * data/filetypes.common: Clarified description of white_space setting.
13685
13686
136872007-07-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
13688
13689 * THANKS,po/LINGUAS,po/en_GB.po:
13690   Added British English translation (Thanks to Jeff Bailes).
13691
13692
136932007-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13694
13695 * src/ui_utils.h, src/geany.h, src/callbacks.c, src/document.c,
13696   src/main.c, src/ui_utils.c:
13697   Rename ui_close_buttons_toggle() ui_document_buttons_update().
13698   Move app->sensitive_buttons to ui_utils.c for easier maintenance,
13699   rename to document_buttons.
13700 * configure.in, src/treeviews.c, src/treeviews.h,
13701   src/symbols.c, THANKS, Makefile.am, icons, icons/16x16,
13702   icons/16x16/classviewer-member.png, icons/16x16/classviewer-var.png,
13703   icons/16x16/classviewer-namespace.png,
13704   icons/16x16/classviewer-method.png, icons/16x16/Makefile.am,
13705   icons/16x16/classviewer-macro.png, icons/16x16/classviewer-other.png,
13706   icons/16x16/classviewer-struct.png,
13707   icons/16x16/classviewer-class.png, icons/Makefile.am:
13708   Apply patch to add symbol list icons from Jean-François Wauthy
13709   (thanks). Also thanks to KDevelop for the icons.
13710   Add list of projects to THANKS.
13711
13712
137132007-07-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13714
13715 * src/treeviews.c:
13716   Prevent warning when clicking on symbol list parent items.
13717 * src/geany.h, src/filetypes.c, src/filetypes.h, src/main.c:
13718   Use extern 'app' and 'filetypes' global variables in headers, so that
13719   G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
13720   any unresolved symbols.
13721
13722
137232007-07-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13724
13725 * src/editor.c:
13726   Fix gcc warning, add comment for editor_scroll_to_line().
13727 * src/navqueue.c:
13728   Fix possible segfault when a file is closed and using go forward.
13729   Fix 2 possible memory leaks when files have been closed.
13730 * src/interface.c, src/keybindings.c, src/keybindings.h,
13731   src/callbacks.c, src/callbacks.h, geany.glade:
13732   Make pressing escape focus the editor when using incremental search
13733   or the Goto Line entries.
13734   Add keybindings_cmd() to mimic a keybinding action.
13735
13736
137372007-07-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13738
13739 * src/dialogs.c, src/callbacks.c, src/callbacks.h, src/document.c,
13740   src/document.h:
13741   Move font & file open/save dialog callbacks to dialogs.c.
13742   Add document_clone() in document.c (for Save As open in new tab).
13743 * src/utils.c, src/navqueue.c, src/navqueue.h, src/treeviews.c:
13744   Add a navigation queue position when clicking on symbol list items.
13745   Prevent duplicates in the navigation queue.
13746   Add navqueue_append() which adds the current document position to the
13747   queue before adding the new position.
13748
13749
137502007-07-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13751
13752 * src/editor.c:
13753   Improve selection handling when decreasing indent by one space.
13754   Avoid using SCI_DELETEBACK for simple text removal.
13755   Fix a typo in is_doc_comment_char().
13756 * src/callbacks.c, src/ui_utils.c, src/utils.c:
13757   Fix warnings about shadowing local variables.
13758 * geany.glade, src/interface.c: Fix typo.
13759 * configure.in, geany.desktop.in.in, Makefile.am, po/Makefile.in.in,
13760   po/POTFILES.in:
13761   Add --disable-deprecated option to configure to build without
13762   deprecated GLib and GTK code.
13763   Use intltool to make geany.desktop translatable
13764   Rename geany.desktop.in to geany.desktop.in.in.
13765   Add Makefile.in.in in po/ to get translation status from msgfmt
13766   when running make.
13767 * src/win32.c: Fix creation of wrong hex colours when inserting colours
13768                from the colour chooser dialog.
13769 * tagmanager/ctags.c, tagmanager/entry.c, tagmanager/tm_source_file.c,
13770   tagmanager/strlist.c, tagmanager/tm_project.c, tagmanager/sort.c,
13771   tagmanager/tm_work_object.c, tagmanager/read.c, tagmanager/regex.c,
13772   tagmanager/tm_workspace.c, tagmanager/parse.c,
13773   tagmanager/tm_file_entry.c, src/build.c, src/document.c, src/utils.c:
13774   Always use g_fopen() and g_stat() instead of fopen() and stat() to
13775   fix several problems with filenames containing special characters on
13776   Windows.
13777   Use GetFullPathName() instead of lrealpath() to get Tagmanager
13778   working on files containing special characters on Windows.
13779 * configure.in: Fix broken configure when using autoconf < 2.60.
13780 * doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
13781   src/keybindings.h:
13782   Add keybinding for scroll to current line.
13783
13784
137852007-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13786
13787 * src/document.c, src/editor.c:
13788   Fix possible selection errors on commenting multiple lines when using
13789   CR/LF line endings.
13790 * doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
13791   src/keybindings.h:
13792   Add keybindings for smart indent and indent/deindent by one space.
13793 * configure.in:
13794   Fix failing linking on some systems (needs to be solved cleanly).
13795
13796
137972007-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13798
13799 * src/dialogs.c, src/callbacks.c:
13800   Use Rename button instead of checkbox for Save As dialog.
13801   Add tooltips for Save As dialog's other options.
13802 * src/callbacks.c:
13803   Fix segfault (oops).
13804
13805
138062007-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13807
13808 * src/treeviews.c:
13809   Prevent warning when closing files when Geany is busy (e.g. pressing
13810   Ctrl-W when opening files).
13811 * src/main.c:
13812   If -i, --new-instance options are passed, disable loading & saving of
13813   session files.
13814 * src/plugins.c:
13815   Remove init_function_pointers(), use static initializers.
13816 * plugins/classbuilder.c, src/plugindata.h, src/plugins.c:
13817   Make Class Builder 'Create Class' dialog use Glade-style frames and
13818   remove some unnecessary border width.
13819   Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
13820   functions to the plugin API.
13821 * src/ui_utils.h, src/utils.h, src/project.c, src/geany.h,
13822   src/ui_utils.c:
13823   Add ui_table_add_row() for easily adding widgets to a GtkTable, and
13824   use it in project_new().
13825   Group 'generic' functions related to GTK+ together at the top of
13826   ui_utils.h.
13827   Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.
13828
13829
138302007-07-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13831
13832 * src/document.c, src/editor.c:
13833   Use again the usual, previous way of line scrolling and use
13834   SCI_SETXCARETPOLICY for horizontal scrolling.
13835 * src/filetypes.c:
13836   Add shebang-like detection for PHP files starting with "<?php".
13837
13838
138392007-07-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13840
13841 * src/prefs.c:
13842   Make Escape close the 'Grab Key' dialog.
13843 * src/keybindings.c, src/tools.c, src/dialogs.c, src/search.c
13844   Capitalize some dialog titles.
13845 * src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
13846   src/editor.h, geany.glade:
13847   Apply patch from Jeff Pohlmeyer to add a preference for whether to
13848   use 'smart' home key behaviour (thanks).
13849
13850
138512007-07-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13852
13853 * THANKS, configure.in, plugins/Makefile.am, scintilla/Makefile.am,
13854   src/Makefile.am, tagmanager/Makefile.am:
13855   Apply patch from Shiv to make build system more compatible with other
13856   compilers than gcc.
13857 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h:
13858   Experimental change of scrolling to get horizontal scrolling working.
13859 * src/callbacks.c, src/search.c, src/search.h:
13860   Also change background colour of search bar when using find
13861   next/previous after using the search bar.
13862
13863
138642007-07-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13865
13866 * src/highlighting.c:
13867   Add custom wordchars and whitespace_chars support for Python & Ruby.
13868   Group setting lexer, wordchars, autocompletion height together in
13869   apply_filetype_properties().
13870 * src/interface.c, src/prefs.c, geany.glade:
13871   Rearrange some of the Prefs dialog:
13872   Add Indentation frame on Editor tab, with tab width setting.
13873   Add Display tab for visual editor settings.
13874   Move Files tab below Editor tab (not needed so often).
13875   Add frame for toolbar page.
13876   Change some spacing to multiples of 3 (Gnome HIG recommends multiples
13877   of 6).
13878   Minor reordering of some checkbox groups.
13879   Add mnemonic for Keybindings 'Change' button.
13880
13881
138822007-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13883
13884 * src/filetypes.c, src/filetypes.h:
13885   Change name of XML filetype to "XML document".
13886   Add sub menus to "Set Filetype" menu.
13887 * src/editor.c: Always show calltip for PHP files.
13888 * src/keybindings.c, src/keybindings.h, src/prefs.c:
13889   Use a TreeView for keybinding list in the preferences dialog and add
13890   descriptive sections for better usability.
13891 * src/keybindings.c: Use Ctrl-B for Goto matching brace.
13892 * src/symbols.c, tagmanager/php.c:
13893   Use CTags SVN version of PHP parser.
13894   Use only supported symbol types in the symbol view for PHP.
13895 * src/treeviews.c: Focus the editor widget after switching between
13896                    files with the open files list.
13897 * src/callbacks.c, src/document.c, src/document.h:
13898   Change the background colour of the search bar in the toolbar
13899   according to the search result.
13900
13901
139022007-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13903
13904 * src/dialogs.c: Fix missing descriptive text in message box when
13905                  closing an unsaved file on Windows.
13906
13907
139082007-07-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13909
13910 * src/editor.c:
13911   Include new line character(s) when selecting a paragraph.
13912 * doc/geany.docbook, src/document.c, src/editor.c, src/editor.h,
13913   src/keybindings.c, src/keybindings.h:
13914   Add keybinding for Select, Transpose, Cut, Copy and Delete line.
13915 * src/keybindings.c: Change default shortcut for Find Next/Previous to
13916                      Ctrl-G and Ctrl-Shift-G.
13917 * src/editor.c, src/geany.h:
13918   Use an extra space after comment toggle mark.
13919   Also comment blank lines when using toggle comment.
13920   Also comment already commented lines when using toggle comment.
13921   Fix some selection issues when using toggle comment.
13922
13923
139242007-07-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13925
13926 * scintilla/ScintillaGTK.cxx, src/highlighting.c, doc/geany.docbook,
13927   data/filetypes.common:
13928   Make Scintilla's move to word commands use the word end boundaries
13929   when moving to the right (like e.g. GtkEntry).
13930   Treat punctuation chars as whitespace.
13931   Add filetypes.common setting: whitespace_chars.
13932 * src/highlighting.c, data/filetypes.python:
13933   Add decorator (and word2) styling for Python.
13934 * src/interface.c, src/prefs.c, geany.glade:
13935   Move Context Action command to Tools tab, group with Print command.
13936
13937
139382007-07-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13939
13940 * doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
13941   src/keybindings.h: Add keybinding for select current paragraph.
13942 * doc/geany.docbook, src/callbacks.c, src/dialogs.c, src/document.c:
13943   Use the default GTK file save dialog on Windows.
13944   Prevent some (probably) unnecessary filename encoding conversions.
13945
13946
139472007-07-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13948
13949 * src/search.c: Fix usage of wrong dialog pointer.
13950 * src/callbacks.c, src/editor.c, src/editor.h, src/geany.h,
13951   src/keybindings.c:
13952   Change comment toggle shortcut to Ctrl-E, undefine shortcuts for
13953   comment/uncomment.
13954   Improve some selection issues when using comment/uncomment.
13955   Improve comment toggling by adding an additional character to mark.
13956
13957
139582007-07-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13959
13960 * src/main.c, doc/geany.docbook:
13961   Add -p, --no-plugins options to disable plugin support.
13962 * src/main.c:
13963   Capitalize first letter of command-line argument descriptions.
13964
13965
139662007-07-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
13967
13968 * geany.glade, doc/geany.docbook, src/interface.c, src/keybindings.c,
13969   src/keybindings.h:
13970   Change Help shortcut to F1, use Ctrl-H for Replace.
13971 * src/callbacks.c, src/dialogs.c, src/dialogs.h, src/document.c,
13972   src/document.h, src/editor.c, src/project.c, src/search.c,
13973   src/utils.c, src/win32.c, src/win32.h:
13974   Fix focus problem when using the Find dialog.
13975 * src/socket.c: Use a unique mutex name on Windows to be able to load
13976                 multiple instances like on non-Windows systems.
13977
13978
139792007-07-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
13980
13981 * src/utils.c, src/utils.h:
13982   Add comment for utils_free_pointers() warning not to use it if any
13983   pointers may be NULL.
13984 * plugins/Makefile.am, plugins/classbuilder.c, src/templates.c,
13985   src/interface.c, src/templates.h, src/tools.c, src/tools.h,
13986   src/plugindata.h, src/callbacks.c, src/callbacks.h, src/plugins.c,
13987   po/POTFILES.in, geany.glade:
13988   Make Class Builder into a plugin.
13989   Add some function pointers to the plugin API (for the class builder).
13990   Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
13991   potentially get unresolved symbols at runtime, causing a segfault.
13992   Capitalize 2 menu item labels.
13993 * plugins/classbuilder.c:
13994   Make Class Builder dialog close when pressing escape.
13995 * src/symbols.c:
13996   Create $configdir/tags directory if it doesn't exist when loading
13997   global tags.
13998
13999
140002007-07-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14001
14002 * src/symbols.c, tagmanager/conf.c:
14003   Parse also sections in configuration files.
14004   Allow whitespace in keys and section names.
14005 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
14006   scintilla/LexConf.cxx, scintilla/Makefile.am:
14007   Remove unused LexConf.cxx.
14008 * scintilla/LexOthers.cxx:
14009   Highlight also space separated key value pairs.
14010 * src/win32.c:
14011   Fix crash when trying to open the Save As dialog on Windows.
14012
14013
140142007-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14015
14016 * src/dialogs.c:
14017   Set also previous colour when setting the colour for the dialog.
14018 * tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
14019   Re-add previously removed code to fix broken calltips.
14020   Merge some minor bugfixes to C/C++ parser from CTags SVN and
14021   remove compiler warning.
14022 * src/search.c: Improve many mnemonics in the Search, Find in Files and
14023                 Replace dialogs.
14024
14025
140262007-06-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14027
14028 * src/search.c, src/document.c:
14029   Fix hang with Find All/Usage with regex '^' or '$'.
14030   Fix replacing '^' or '$' regexes.
14031   Use double quotes for search strings.
14032
14033
140342007-06-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14035
14036 * src/callbacks.c, src/dialogs.c:
14037   Add palette to Colour Chooser Dialog.
14038   Fix picking colours starting with '#'.
14039   Replace existing selection with chosen colour.
14040 * src/callbacks.c, src/document.c, src/document.h, src/sciwrappers.c,
14041   src/sciwrappers.h, src/win32.c:
14042   Change signature of sci_replace_sel() to take a const gchar*.
14043   Move code to insert a colour to document.c
14044   Let the code also work on Windows (untested).
14045
14046
140472007-06-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14048
14049 * plugins/demoplugin.c, src/plugindata.h, src/plugins.c:
14050   Move plugin name and description into a separate struct, which is set
14051   by calling the PLUGIN_INFO() macro - this can be read before the
14052   plugin is initialized.
14053   Added more comments for plugin authors.
14054
14055
140562007-06-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14057
14058 * plugins/demoplugin.c, plugins/Makefile.am, configure.in,
14059   src/makefile.win32, src/plugindata.h, src/plugins.c, src/main.c,
14060   src/plugins.h, src/Makefile.am, win32-config.h, HACKING, Makefile.am,
14061   po/POTFILES.in:
14062   Added very basic plugin support - any plugins found in
14063   $prefix/lib/geany are loaded at startup. Windows support will be
14064   added later.
14065   Added Demo plugin (currently installed by default), which adds an
14066   item in the Tools menu.
14067
14068
140692007-06-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14070
14071 * geany.glade, src/document.c, src/editor.h, src/interface.c,
14072   src/keyfile.c, src/prefs.c:
14073   Add option to set a default encoding when opening files and disable
14074   auto detection of the file encoding.
14075 * geany.nsi: Change file encoding from ISO-8859-1 to UTF-8.
14076 * configure.in, plugins/Makefile.am, scintilla/Makefile.am,
14077   src/Makefile.am, tagmanager/Makefile.am:
14078   Change label of GTK check in configure.in from PACKAGE to GTK
14079   (only cosmetic).
14080
14081
140822007-06-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14083
14084 * src/main.c: Use setlocale to enable translation of strings before
14085               GLib command line parser gets active.
14086
14087
140882007-06-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14089
14090 * geany.nsi: Fix wrong working directory in generated shortcuts.
14091
14092
140932007-06-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14094
14095 * tagmanager/basic.c: Merge recent changes from CTags SVN.
14096 * geany.glade, src/interface.c:
14097   Apply patch from Gabor Kmetyko to improve wording (thanks).
14098
14099
141002007-06-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14101
14102 * tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
14103   Use get.c and get.h from CTags SVN.
14104   Merged CSharp parser support into from CTags SVN.
14105 * data/filetype_extensions.conf, data/filetypes.cs,
14106   data/filetypes.freebasic, scintilla/KeyWords.cxx,
14107   scintilla/LexBasic.cxx, scintilla/Makefile.am, src/editor.c,
14108   scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
14109   src/highlighting.c, src/highlighting.h, src/msgwindow.c,
14110   src/templates.c, tagmanager/basic.c, tagmanager/Makefile.am,
14111   tagmanager/makefile.win32, tagmanager/parsers.h:
14112   Add new filetypes CSharp and FreeBasic.
14113
14114
141152007-06-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14116
14117 * src/callbacks.c:
14118   Prevent segfault when using Goto Tag from an untitled file.
14119
14120
141212007-06-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14122
14123 * HACKING:
14124   Added 'About this file' and links for some Windows developer tools.
14125   Added notes on adding a source file to src/ and brief notes on adding
14126   a filetype.
14127 * src/build.c:
14128   Hopefully fix gtk_widget_set_sensitive assertion failed warning on
14129   Windows.
14130
14131
141322007-06-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14133
14134 * scintilla/*, scintilla/include/*: Updated Scintilla to version 1.74.
14135 * src/editor.c: Fix mem leak in auto completion and prevent completion
14136                 of words with trailing spaces.
14137
14138
141392007-06-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14140
14141 * src/templates.c, src/tools.c: Apply patch from Alexander Rodin to
14142                                 improve the class builder code(thanks).
14143 * Makefile.am, TODO, data/autocomplete.conf, doc/geany.1.in,
14144   doc/geany.docbook, src/editor.c, src/editor.h, src/keyfile.c,
14145   src/keyfile.h, src/main.c:
14146   Add new command line option --ft-names to get a list of supported
14147   filetype names.
14148   Complete rewrite of auto completion to make it user-definable and
14149   much more flexible.
14150
14151
141522007-06-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
14153
14154 * src/about.c: Update of about dialog.
14155 * THANKS: Added Spanish translator Nacho Cabanes.
14156
14157
141582007-06-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14159
14160 * geany.glade, src/interface.c, src/tools.c: Fix spelling of GTK.
14161 * src/tools.c:
14162   Fix bug when reopening the Insert special characters dialog after it
14163   was closed by a delete event.
14164   Fix creation of class files with an empty name and some code
14165   reformatting.
14166 * src/utils.c: Fix sanity checks in utils_str_replace().
14167 * src/tools.c:
14168   Fix several memleaks.
14169   Avoid using broken functions g_strdown() and g_strup().
14170   Only create header and source files if filename is not empty.
14171
14172
141732007-06-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
14174
14175 * src/tools.c: Fixed a small typo.
14176
14177
141782007-06-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14179
14180 * src/callbacks.c: Avoid creation of unwanted undo action when opening
14181                    a saved-as file in a new tab.
14182
14183
141842007-06-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14185
14186 * src/templates.c, src/interface.c, src/templates.h, src/tools.c,
14187   src/tools.h, src/callbacks.c, src/callbacks.h, geany.glade, THANKS:
14188   Apply class builder patch from Alexander Rodin (thanks).
14189
14190
141912007-06-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14192
14193 * src/build.c, src/utils.c:
14194   Use g_io_channel_win32_new_fd() as recommended in GLib docs for
14195   utils_set_up_io_channel() on Windows. (Unlikely to change behaviour
14196   though).
14197 * src/callbacks.c:
14198   Fix segfault when attempting to rename a new file from the Save As
14199   dialog.
14200
14201
142022007-06-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14203
14204 * src/callbacks.c, src/dialogs.c:
14205   Add "Open file in a new tab" and "Rename file" to the "Save as"
14206   dialog for more control over saved file.
14207
14208
142092007-06-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14210
14211 * src/interface.c, src/sciwrappers.c, src/sciwrappers.h, src/prefs.c,
14212   src/callbacks.c, src/callbacks.h, src/keyfile.c, src/document.c,
14213   src/document.h, src/main.c, src/editor.c, src/editor.h,
14214   src/ui_utils.c, geany.glade:
14215   Rename some menubar widget names.
14216   Use indentation spelling in variable names.
14217
14218
142192007-06-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14220
14221 * geany.glade, src/callbacks.c, src/callbacks.h, src/document.c,
14222   src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
14223   src/vte.c: Add auto focus (to auto focus widgets below mouse cursor).
14224
14225
142262007-06-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14227
14228 * src/treeviews.c: Prevent double jump to line when clicking on a
14229                    symbol list item.
14230 * src/build.c: Hide Next Error menu item and unnecessary separator from
14231                build menu on Windows.
14232 * src/callbacks.c: Fix broken help menu item on Windows.
14233 * src/utils.c: Add additional directory separator to generated READMEs.
14234
14235
142362007-06-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14237
14238 * THANKS, src/document.c:
14239   Apply patch from François Cami and Guillaume Duviol to improve
14240   replacement of tabs by spaces (thank you).
14241 * src/templates.c: Change PHP short open tag to the full open tag.
14242 * src/document.c: Prevent hang if searching for a regular expression
14243                   fails (closes #1733676).
14244
14245
142462007-06-08  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
14247
14248 * THANKS, src/about.c: Added new translator Adrovane Marques Kade.
14249
14250
142512007-06-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14252
14253 * src/main.c: Add rpl_malloc() for better compatibility with non-GNU
14254               systems (thanks to Harri Koskinen for reporting).
14255 * po/POTFILES.in: Add navqueue.c.
14256 * po/intl_stats.sh: Add revision time to the output.
14257 * src/callbacks.c, src/callbacks.h:
14258   Remove unneeded functions destroyapp and on_window_configure_event.
14259 * src/keyfile.c, src/main.c:
14260   Re-maximize the main window on startup when closed in maximized state
14261   (closes #1730369).
14262 * src/geany.h, src/keyfile.c, src/main.c:
14263   Improve code to avoid hiding the messages window
14264   (caused by last commit).
14265 * tagmanager/sort.c, tagmanager/tm_workspace.c:
14266   Replace malloc() by g_malloc().
14267
14268
142692007-06-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14270
14271 * doc/geany.docbook, src/keybindings.c, src/keybindings.h:
14272   Add keybindings for forward/back code navigation.
14273 * src/navqueue.c, src/navqueue.h:
14274   Add Id SVN keyword and short file description.
14275
14276
142772007-06-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14278
14279 * geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
14280   src/interface.c, src/keyfile.c, src/main.c, src/Makefile.am,
14281   src/navqueue.h, src/navqueue.c, src/prefs.c, src/ui_utils.c:
14282   Apply patch from Dave Moore to add simple code navigation
14283   (thank you).
14284
14285
142862007-05-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14287
14288 * src/templates.c: Add Haskell to make_comment_block().
14289
14290
142912007-05-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14292
14293 * src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
14294   src/prefs.c, src/geany.h, src/callbacks.c, src/keyfile.c,
14295   src/document.c, src/main.c, src/editor.c, src/editor.h,
14296   src/ui_utils.c:
14297   Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
14298   Move INDENT_* enums to editor.h.
14299   Move utils_get_whitespace() to editor.c.
14300
14301
143022007-05-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14303
14304 * doc/geany.docbook:
14305   Remove app_small entity.
14306   Add description for global configuration file.
14307
14308
143092007-05-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14310
14311 * src/project.c, src/document.c, src/ui_utils.c:
14312   Show current project name in window title.
14313 * configure.in, src/Makefile.am:
14314   Force debug mode for a SVN working copy.
14315 * src/highlighting.c, src/keybindings.c, src/makefile.win32,
14316   src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/search.c,
14317   src/document.c, src/main.c, src/editor.c, src/Makefile.am,
14318   src/editor.h, po/POTFILES.in:
14319   Rename sci_cb.[hc] editor.[hc].
14320
14321
143222007-05-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14323
14324 * src/treeviews.c, src/filetypes.c, src/filetypes.h, src/document.c:
14325   Replace filetype::has_tags member with filetype_has_tags().
14326 * HACKING:
14327   Add note about Adding a TagManager parser.
14328
14329
143302007-05-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14331
14332 * src/filetypes.c: Ignore case of filename extensions on Windows.
14333 * src/ui_utils.c: Add missing header file.
14334 * src/keyfile.c:
14335   Use current locale as default encoding for new files.
14336   Don't keep comments in configuration file to work around a bug in
14337   newer GLib versions.
14338   If config file doesn't exist, try to load a global one from
14339   $prefix/share/geany/.
14340 * src/utils.c:
14341   Don't create an empty geany.conf as write test, use access() instead.
14342
14343
143442007-05-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14345
14346 * data/filetype_extensions.conf, src/filetypes.c, tagmanager/sh.c:
14347   Add *.ash and *.bash as filetype entensions for filetype SH.
14348   Add ash and wish to the shebang patterns.
14349 * geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
14350   src/interface.c, src/main.c, src/ui_utils.c:
14351   Improve sensitivity of recent files sub menus.
14352 * src/filetypes.c: Add shebang-like detection for XML files.
14353
14354
143552007-05-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14356
14357 * doc/geany.docbook:
14358   Comment out stopping make process.
14359   Remove note about editing build commands manually.
14360 * src/build.c, doc/geany.docbook:
14361   Add support for %e, %f in project run command.
14362 * src/about.c:
14363   Show SVN revision as '>=' because 'svn up' may not have caused a
14364   re-run of configure.
14365   Show build date as 'on or after' compilation of about.o.
14366
14367
143682007-05-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14369
14370 * src/utils.h:
14371   Add setptr() macro to free data and reassign to the same pointer.
14372 * src/build.c:
14373   Use get_build_executable() in prepare_run_script().
14374
14375
143762007-05-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14377
14378 * src/document.c: Fix loading of UTF-16/32 encoded files with a BOM.
14379
14380
143812007-05-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14382
14383 * src/vte.c: Add popup menu item: Change current working directory.
14384 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
14385   src/keyfile.c, src/main.c, src/prefs.c:
14386   Add default startup directory option (closes #1704988).
14387 * tagmanager/ruby.c, tagmanager/strlist.c, tagmanager/strlist.h:
14388   Backport changes from CTags SVN to fix parse problems in the Ruby
14389   parser.
14390 * data/filetype_extensions.conf, src/filetypes.c:
14391   Add filetype extension "*.ruby".
14392 * scintilla/ScintillaGTK.cxx:
14393   Fix wrong target list for PRIMARY clipboard.
14394
14395
143962007-05-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14397
14398 * src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
14399   tagmanager/makefile.win32, tagmanager/haskell.c,
14400   tagmanager/Makefile.am:
14401   Add Haskell tags support from CTags patch on sf.net written by Peter
14402   Strand (thanks).
14403 * src/symbols.c:
14404   Use tag_list_add_groups() in init_tag_list().
14405
14406
144072007-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14408
14409 * tagmanager/read.c, tagmanager/read.h, tagmanager/get.h:
14410   Move C-only isident(), isident1() functions to get.h.
14411
14412
144132007-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14414
14415 * NEWS, geany_private.rc, win32-config.h, doc/geany.1.in,
14416   doc/geany.docbook, doc/geany.txt, doc/images/*, doc/html/*:
14417   Updated for Geany 0.11.
14418 * New release: Geany 0.11 "Bandor".
14419 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
14420   src/geany.h: Post-release version bump.
14421
14422
144232007-05-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14424
14425 * THANKS, src/about.c, po/LINGUAS, po/bg.po:
14426   Added Bulgarian translation (Thanks to Dilyan Rusev).
14427
14428
144292007-05-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14430
14431 * src/highlighting.c:
14432   Fix bug when loading custom filetypes.common styles.
14433 * src/sci_cb.c:
14434   Add workaround for PHP/TCL closing brace de-indenting.
14435
14436
144372007-05-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14438
14439 * src/highlighting.c, data/filetypes.common:
14440   Show fold line by default (so it's clearer there are hidden lines).
14441
14442
144432007-05-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14444
14445 * scintilla/ScintillaGTK.cxx:
14446   Fixed wrong clipboard target (closes #1711483).
14447 * doc/geany.docbook, src/callbacks.c:
14448   Hide notebooks tabs instead of sidebar when toggling additional
14449   widgets.
14450 * doc/geany.docbook, src/about.c, src/build.c, src/dialogs.c,
14451   src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
14452   src/ui_utils.c: Added many widget names to different dialogs for use
14453                   with custom styles. Menu items still don't work.
14454 * data/filetypes.common, doc/geany.docbook, src/highlighting.c:
14455   Applied patch from Michal Kurgan to disable separately use of global
14456   white space foreground and background colours (thanks).
14457
14458
144592007-05-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14460
14461 * src/filetypes.c, src/filetypes.h:
14462   Add some menu separators to group filetype menu items.
14463   Reorder Haskell, O-Matrix, VHDL filetypes.
14464 * src/document.c:
14465   Fix removing indent spaces after switching back to tab indenting.
14466 * scintilla/LexHTML.cxx:
14467   Hopefully fix #1718532 - 'Crashes when open a special file';
14468   backported from Scintilla 1.73.
14469
14470
144712007-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14472
14473 * tagmanager/sql.c:
14474   Fix #1717418, Hang on SQL file load.
14475
14476
144772007-05-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14478
14479 * src/utils.c, src/utils.h, src/search.c:
14480   Move search_get_file_list() to utils.c.
14481 * src/highlighting.c, src/highlighting.h, src/symbols.c:
14482   Load global tag files stored in ~/.geany/tags when needed.
14483 * doc/geany.docbook:
14484   Update docs for loading user tags at startup.
14485 * doc/geany.docbook:
14486   Rename 'confdialog' to 'prefs'.
14487   Move compile time options section into an appendix (most users
14488   shouldn't change these options).
14489 * src/highlighting.c:
14490   Prevent double loading of common styles when filetype none is used
14491   before other filetypes.
14492   Replace init_styles() with direct initialization of style_sets.
14493 * src/ui_utils.h, src/project.c, src/search.c, src/ui_utils.c:
14494   Use open folder dialog for project base path instead of create folder
14495   dialog (better for choosing existing directories, and can still
14496   create new folders).
14497   Add optional title parameter for open dialog with ui_path_box_new()
14498   and ui_setup_open_button_callback().
14499   Use Windows folder dialog in ui_path_box_open_clicked().
14500 * src/utils.c:
14501   Wrap notebook pages when switching tabs.
14502 * src/utils.c:
14503   Fix bug when directory doesn't exist in utils_get_file_list().
14504
14505
145062007-05-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14507
14508 * data/global.tags:
14509   Update C global tags for GTK+ 2.10 and it's dependencies.
14510
14511
145122007-05-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14513
14514 * src/document.c:
14515   Make backspace unindent when using spaces for indentation.
14516
14517
145182007-05-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14519
14520 * src/sci_cb.c:
14521   Fix auto-indentation when the filetype is not set.
14522
14523
145242007-05-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14525
14526 * src/sciwrappers.c, src/sciwrappers.h:
14527   Added sci_get_line_indentation() and sci_set_line_indentation().
14528 * src/callbacks.c: Fixed broken increase/decrease indentation when
14529                    using only spaces for indentation.
14530
14531
145322007-05-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14533
14534 * data/filetypes.haskell: Added build instructions.
14535 * geany.nsi: Prevent installation in a directory without proper
14536              write permissions under Windows.
14537              Display an error message instead.
14538
14539
145402007-05-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14541
14542 * data/filetypes.haskell, scintilla/KeyWords.cxx,
14543   scintilla/LexHaskell.cxx, scintilla/Makefile.am,
14544   scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
14545   src/highlighting.c, src/highlighting.h, src/sci_cb.c, THANKS:
14546   Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
14547 * geany.glade, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
14548   src/interface.c, src/keybindings.c, src/keybindings.h:
14549   Added menu item to hide or show all additional widgets and renamed
14550   keybinding to menu_toggleall.
14551
14552
145532007-05-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14554
14555 * src/keybindings.c:
14556   Make marker and matching brace keybindings global.
14557   (Also indent some case statement bodies).
14558 * src/sci_cb.c:
14559   Add brace indenting support for Perl and TCL.
14560
14561
145622007-05-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14563
14564 * doc/geany.docbook: Applied patch from John Gabriele which adds some
14565                      text to the preferences section, thanks.
14566
14567
145682007-05-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14569
14570 * doc/geany.docbook, src/main.c, src/prefs.c:
14571   Set widget names for the main widgets to allow users to define custom
14572   styles in .gtkrc-2.0.
14573 * doc/geany.docbook, src/keybindings.c, src/keybindings.h, src/prefs.c,
14574   src/ui_utils.c, src/ui_utils.h:
14575   Added keybinding to show and hide all additional widgets(statusbar,
14576   toolbar, sidebar and messages window).
14577
14578
145792007-05-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14580
14581 * src/keybindings.c, src/keybindings.h:
14582   Add keybinding to show project properties dialog.
14583 * src/keybindings.c:
14584   Merge file menu keybinding callbacks into cb_func_file_action().
14585
14586
145872007-05-02  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
14588
14589 * THANKS, src/about.c: Update of e-mail of Jean-Philippe Moal.
14590
14591
145922007-05-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14593
14594 * geany.gladep:
14595   Don't regenerate the support.[hc] files, to prevent unnecessary
14596   rebuilding of files dependent on support.h.
14597 * src/project.c:
14598   Hide the unused File Patterns field in the project properties dialog.
14599 * src/build.c, src/project.c:
14600   Allow run for any file (with a path) when a valid project run command
14601   is set.
14602 * src/project.c:
14603   Allow a blank project base path to use the default Make All command.
14604   Update the 'project already open' & 'base path not found' dialogs.
14605
14606
146072007-04-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14608
14609 * src/symbols.c:
14610   Use g_printerr (if necessary) when generating global tags to convert
14611   UTF-8 automatically; mark error messages for translation.
14612 * src/search.c:
14613   Allow replacing identical text if case sensitive is not checked.
14614 * src/document.c:
14615   Fix reloading of read-only documents.
14616 * src/document.c:
14617   Make replace all commands report no matches for read-only documents.
14618 * src/search.c:
14619   Switch to status window when using Replace In Session to show which
14620   documents had replacements made.
14621 * src/search.c:
14622   Show number of matches when using Mark command.
14623 * src/utils.h:
14624   Add NZV() macro for checking a char* points to a non-empty string.
14625 * src/build.c:
14626   Disable the Build Includes run command field when there is a project
14627   open with a valid run command set.
14628
14629
146302007-04-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14631
14632 * src/interface.c, geany.glade:
14633   Rename 'tabulators' 'tabs'.
14634 * src/ui_utils.h, src/search.c, src/ui_utils.c:
14635   Add ui_path_box_new() for creating a path text entry with an open
14636   button, which runs a file chooser to set the text entry.
14637   Add ui_setup_open_button_callback() for setting up a button callback
14638   that behaves like the open button in ui_path_box_new().
14639   Use ui_path_box_new() in FIF dialog setup.
14640 * src/interface.c, src/project.c, src/project.h, src/prefs.c,
14641   geany.glade:
14642   Add project file path preferences option in General tab.
14643
14644
146452007-04-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14646
14647 * src/geany.h: Changed default browser to firefox.
14648
14649
146502007-04-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14651
14652 * tagmanager/tm_source_file.c, tagmanager/include/tm_source_file.h:
14653   Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
14654   in parse.c.
14655 * src/main.c, src/symbols.c, tagmanager/tm_workspace.c,
14656   tagmanager/include/tm_workspace.h:
14657   Add support for generating global tags files for non-C-like
14658   filetypes.
14659 * doc/geany.docbook:
14660   Update Global Tags section now all filetypes can be generated.
14661   Comment out 'should be written' from Preferences section.
14662 * doc/geany.docbook:
14663   Add Project Management section.
14664
14665
146662007-04-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14667
14668 * src/filetypes.c, src/filetypes.h, src/main.c:
14669   Separate filetype menu item creation from filetypes_init_types() so
14670   it can be called without initializing GTK (for non-GUI commands).
14671
14672
146732007-04-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14674
14675 * src/search.c:
14676   Disable FIF extra options entry when checkbox is not checked.
14677 * src/sci_cb.c:
14678   Remove duplicate calltips (e.g. from function def and prototype).
14679
14680
146812007-04-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14682
14683 * src/build.c:
14684   When linking (or using Make Custom), remove error indicators in all
14685   documents (should fix #1705374).
14686 * src/symbols.c:
14687   Sort symbol list tags also by line number (fixes #1703575).
14688 * src/utils.c, src/utils.h:
14689   Add G_GNUC_NULL_TERMINATED to ensure variable arglists are NULL
14690   terminated (for GLib >= 2.8).
14691
14692
146932007-04-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14694
14695 * src/project.c, src/project.h, src/keyfile.c, src/main.c:
14696   Restore the current project when restarting Geany.
14697 * src/project.c:
14698   Fix no response with Project dialogs when the user enters invalid
14699   information (oops).
14700
14701
147022007-04-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14703
14704 * doc/geany.docbook:
14705   Update generating global tags section.
14706 * src/keyfile.c:
14707   Move save_recent_files(), save_session_files() code out of
14708   configuration_save().
14709   Move load_file_lists() code out of configuration_load().
14710
14711
147122007-04-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14713
14714 * doc/geany.docbook, src/vte.c:
14715   Fixed handling of command line arguments within the shell command for
14716   the VTE to enable use of shells as login shells.
14717
14718
147192007-04-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14720
14721 * doc/geany.docbook:
14722   Update Search section: escape sequences, Find All, Mark, Replace All.
14723 * src/filetypes.c, src/filetypes.h, src/document.c:
14724   Split filetypes_get_from_filename() into filetypes_detect_from_file()
14725   and filetypes_detect_from_filename().
14726 * tagmanager/tm_tag.c:
14727   Use the usual TM parser for all langTypes except pascal, php, latex
14728   when loading global tags files.
14729 * tagmanager/tm_workspace.c:
14730   Keep tag names with different argument lists when loading global
14731   tags.
14732   Prevent segfault if using tm_workspace_find_scoped() with global
14733   tags.
14734 * src/interface.c, src/callbacks.c, src/callbacks.h, src/symbols.c,
14735   src/symbols.h, geany.glade:
14736   Add Load Tags command in the File menu.
14737
14738
147392007-04-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14740
14741 * src/build.c, src/dialogs.c, src/document.c, src/utils.c:
14742   Use g_stat() instead of stat() to prevent file read errors on Win32.
14743   Prevent unnecessary filename encoding conversions on Win32.
14744
14745
147462007-04-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14747
14748 * src/filetypes.c:
14749   Remove wrong UTF-8 conversion in filetypes_get_from_filename().
14750
14751
147522007-04-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14753
14754 * geany.glade, data/filetypes.*, doc/geany.docbook, src/callbacks.c,
14755   src/callbacks.h, src/filetypes.c, src/filetypes.h, src/geany.h,
14756   src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
14757   src/main.c, src/prefs.c:
14758   Added context actions to run custom commands on current selection or
14759   the current word below cursor.
14760 * src/document.c, src/keyfile.c:
14761   Run print command asynchronously to prevent blocking of the main
14762   process (closes #1695786).
14763
14764
147652007-04-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14766
14767 * src/sci_cb.c:
14768   Prevent D module tag lookup for D constructor calltips.
14769 * tagmanager/tm_workspace.c:
14770   Allow overloaded argument lists in global tag files.
14771 * tagmanager/tm_workspace.c:
14772   Add tm_tag_function_t tags in global tags files, so that inline C++
14773   methods (and D functions) get parsed.
14774 * src/keyfile.c, src/search.c, src/search.h:
14775   Save FIF extra options string in the keyfile.
14776 * src/search.c:
14777   Move 'Recurse in subfolders' FIF option below the others.
14778   Add tooltip for extra options entry.
14779
14780
147812007-04-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14782
14783 * src/sci_cb.c: Fixed missing calltip display when using a space after
14784                 a symbol name (thanks to Anh Phạm for reporting).
14785
14786
147872007-04-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14788
14789 * src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
14790   Show up and down arrows when there are multiple calltip matches.
14791
14792
147932007-04-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14794
14795 * geany.glade, src/document.c, src/geany.h, src/interface.c,
14796   src/keyfile.c, src/main.c, src/prefs.c, src/ui_utils.c:
14797   Added options to show or hide the statusbar as well as the editor
14798   scrollbars.
14799 * src/sciwrappers.c, src/sciwrappers.h:
14800   Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
14801
14802
148032007-04-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14804
14805 * configure.in, Makefile.am, doc/Makefile.am, scintilla/Makefile.am,
14806   src/Makefile.am, tagmanager/Makefile.am:
14807   Made "distcheck" working.
14808
14809
148102007-04-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14811
14812 * src/sci_cb.c:
14813   Only insert a space if construct completion occurs, to prevent
14814   unusual undo history.
14815 * doc/geany.docbook:
14816   Add Construct completion in the Editing section.
14817   Add Tags section, including how to generate a replacement global.tags
14818   file.
14819
14820
148212007-04-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14822
14823 * tagmanager/tm_workspace.c:
14824   Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
14825   tags when creating a global tags file, and store the pointerOrder.
14826 * doc/geany.docbook:
14827   Add filtering out version control files with Extra options info to
14828   Find in Files section.
14829 * src/keybindings.c:
14830   Only construct-complete when the editor widget has focus.
14831 * src/symbols.c, tagmanager/tm_workspace.c:
14832   Make \" filename quoting optional when creating a global tags file
14833   (quoting is useful if glob matching is needed). Run geany -g for
14834   example usage.
14835
14836
148372007-04-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14838
14839 * src/search.c:
14840   Add recursive option to Find in Files dialog.
14841 * src/search.c:
14842   Add 'Extra options' field and checkbox to FIF dialog.
14843   Don't allow arguments appended to Grep command.
14844   Prevent warning when using relative paths with open directory button.
14845   Refactor FIF options code into get_grep_options(), remove
14846   fif_options, fif_match_type.
14847
14848
148492007-03-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14850
14851 * src/templates.c, doc/geany.docbook:
14852   Make file header optional for filetype templates - use the string
14853   '{fileheader}' to mark where the file header should be placed, which
14854   can be anywhere in the filetype template.
14855
14856
148572007-03-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14858
14859 * geany.desktop.in:
14860   Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
14861   thanks to Iñaki Rodriguez.
14862 * src/search.c:
14863   Prevent Find in Files directory combo being vertically stretched.
14864
14865
148662007-03-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14867
14868 * src/sci_cb.c: Fixed warning about shadowing a local variable.
14869 * doc_geany.docbook, src/keybindings.c, src/keybindings.h:
14870   Add keybinding for switching to the search bar
14871   (as suggested by Nikolas Arend).
14872
14873
148742007-03-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14875
14876 * src/sci_cb.c:
14877   Check size of construct completion buffer, remove unneeded static in
14878   sci_cb_auto_forif().
14879   Reorder some of sci_cb_close_block().
14880 * src/keybindings.c, src/keybindings.h:
14881   Add headings for the Keyboard Shortcuts dialog to group related
14882   commands.
14883   Shorten the 'Send to custom command' labels slightly.
14884
14885
148862007-03-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14887
14888 * src/sci_cb.c:
14889   Don't auto-indent {} braces for filetypes that don't use them.
14890   Add lexer_has_braces(), do_indent() for in place buffer indentation.
14891   Rewrite some of get_indent().
14892
14893
148942007-03-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14895
14896 * src/keybindings.c, src/keybindings.h, src/sci_cb.c, src/sci_cb.h,
14897   doc/geany.docbook:
14898   Add keybinding for construct completion, and set the default to tab.
14899   Separate complete_constructs() code from sci_cb_auto_forif().
14900
14901
149022007-03-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14903
14904 * src/keybindings.c, TODO:
14905   Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
14906   Change duplicate KB to Ctrl-D (Scintilla default).
14907   Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
14908   Remove default goto matching brace KB (doesn't work on all
14909   keyboards).
14910 * src/sci_cb.c, src/symbols.c, src/symbols.h:
14911   Load HTML-entities when the PHP lexer is first needed, instead of
14912   when typing outside of PHP styles.
14913 * src/sci_cb.c:
14914   Separate on_margin_click(), on_update_ui(), on_char_added()
14915   Scintilla notifications.
14916
14917
149182007-03-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14919
14920 * doc/geany.docbook, src/keybindings.c, src/keybindings.h,
14921   src/sci_cb.c, src/sci_cb.h, src/utils.c, src/utils.h:
14922   Use Ctrl+Shift+Space always for showing calltips because Alt+Space is
14923   used often by window managers (not only under Windows).
14924   Added keybinding for inserting alternative whitespace characters.
14925
14926
149272007-03-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14928
14929 * src/sci_cb.c, src/symbols.c:
14930   Fix segfault when pressing ctrl-enter when there are no workspace
14931   tags (thanks to R8Rooy for reporting).
14932 * src/build.c, src/build.h, src/dialogs.c, src/dialogs.h,
14933   src/callbacks.c, src/callbacks.h:
14934   Move dialogs_show_includes_arguments_*() to build.c.
14935   Move on_includes_arguments_*dialog_response() to build.c.
14936   Make several build functions static.
14937 * src/keybindings.c:
14938   Ignore Caps Lock in keybindings_got_event() (could cause problems
14939   with e.g. Shift-F9).
14940 * src/search.c:
14941   Don't beep when pressing escape to close the Find or Replace dialogs.
14942
14943
149442007-03-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14945
14946 * src/dialogs.c:
14947   Add Edit button to Keyboard Shortcuts dialog.
14948 * src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
14949   src/callbacks.c:
14950   Move dialogs_show_keyboard_shortcuts() to keybindings.c.
14951 * src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
14952   src/vte.c:
14953   Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
14954
14955
149562007-03-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14957
14958 * THANKS, doc/geany.docbook, src/keybindings.c, src/keybindings.h,
14959   src/sci_cb.c, src/sci_cb.h:
14960   Applied patch from Anh Phạm to add a keybinding for selecting the
14961   current word under the cursor (thanks).
14962
14963
149642007-03-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14965
14966 * src/project.c:
14967   Made all project dialogs modal.
14968 * src/main.c, src/symbols.c, src/symbols.h, tagmanager/tm_workspace.c:
14969   Add option --generate-tags (-g) to generate a global tags file from
14970   a list of source files. Currently this is only likely to work
14971   correctly for C source files. Run 'geany -g' for syntax info.
14972   Remove short option for hidden option --generate-data-files.
14973   Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
14974 * tagmanager/tm_tag.c, tagmanager/include/tm_tag.h
14975   Separate alternative PHP/LaTeX global tags parser into
14976   tm_tag_init_from_file_alt() (for easier diff with Anjuta).
14977
14978
149792007-03-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
14980
14981 * data/filetypes.common, doc/geany.docbook, src/highlighting.c:
14982   Added option to change the caret width.
14983
14984
149852007-03-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
14986
14987 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
14988   src/sciwrappers.h:
14989   Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
14990   Make sci_marker_next() and sci_marker_previous() return marker line
14991   number.
14992 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
14993   src/sci_cb.c:
14994   Add Toggle Marker keybinding (Ctrl-M).
14995 * THANKS, doc/geany.docbook:
14996   Add bookmarks section written by John Gabriele (thanks).
14997   Group some subsections into an 'Editing' section.
14998
14999
150002007-03-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15001
15002 * src/callbacks.c:
15003   Delay updating interface items when switching notebook tabs until
15004   after the page has changed, so it appears to switch pages faster.
15005 * src/treeviews.c, src/notebook.c:
15006   Don't recreate the open files items when DnD reordering tabs, now
15007   that the open files treeview is sorted alphabetically.
15008 * src/project.c:
15009   Make suggested New Project filename use the projects/ directory as
15010   parent directory, instead of projects/name/.
15011
15012
150132007-03-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15014
15015 * src/highlighting.c: Fixed wrong margin colours for filetype All/None.
15016 * src/highlighting.c: Init the default styles before first usage.
15017
15018
150192007-03-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15020
15021 * src/ui_utils.c:
15022   Use tab stops for status bar line, column and selection data to stop
15023   the other fields being moved so often when browsing code or typing.
15024   Rearrange status bar statistics to be clearer/more concise.
15025 * src/document.c:
15026   Count total replacements made when replacing in a rectangular
15027   selection.
15028 * src/keybindings.c, src/keybindings.h, src/callbacks.c,
15029   src/callbacks.h, doc/geany.docbook:
15030   Add 'Switch to last used document' keybinding.
15031
15032
150332007-03-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15034
15035 * doc/geany.docbook: Added description for disable-server command line
15036                      option for Xfce Terminal.
15037 * src/project.c: Added missing whitespace (found by Frank).
15038
15039
150402007-03-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15041
15042 * src/build.c:
15043   Switch to Compiler window when using Next Error command.
15044 * src/utils.c, src/document.c:
15045   Update the status bar after setting the document file type, if it
15046   has changed.
15047   Update the status bar after colourising open files, so the current
15048   tag is accurate.
15049
15050
150512007-03-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15052
15053 * src/project.c:
15054   Separate New Project dialog from Project Properties dialog.
15055   Make Properties Filename field read-only, below Name field.
15056   Capitalize dialog titles.
15057 * src/utils.c, src/utils.h, src/project.c:
15058   Make New Project dialog create parent directories of the chosen base
15059   path if necessary.
15060   Prevent warnings when setting open dialog directory to a path whose
15061   parent directory doesn't exist.
15062   Add create_parent_dirs argument for utils_mkdir().
15063
15064
150652007-03-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15066
15067 * src/callbacks.c, src/encodings.c, src/encodings.h, highlighting.c,
15068   src/msgwindow.c, src/notebook.c, src/project.c, src/sci_cb.c,
15069   src/search.c, src/tools.c, src/ui_utils.c, src/utils.c:
15070   Fixed several compiler warnings (mainly shadowing local variables
15071   and unreachable code).
15072 * src/sci_cb.c: Auto completion of multi line comments is now (again)
15073                 configurable with the auto complete constructs option.
15074 * src/highlighting.c:
15075   Set default highlighting style for filetype None to get it also
15076   inverted if invert_all is set.
15077   Reset all previously defined styles when switching filetype to None.
15078 * data/filetypes.common, doc/geany.docbook, src/highlighting.c:
15079   Added style "default" to filetypes.common to be able to change the
15080   default style for files without a filetype set.
15081
15082
15083
150842007-03-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15085
15086 * src/interface.c, doc/geany.docbook, data/filetypes.*, geany.glade:
15087   Fix indentation spelling.
15088
15089
150902007-03-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15091
15092 * src/document.c:
15093   Fix not setting existing project typenames for C-like files if they
15094   don't contain typenames themselves (bug introduced in r1323).
15095 * doc/geany.docbook:
15096   Updated Templates section for filetype templates and added some
15097   subsection titles.
15098
15099
151002007-03-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15101
15102 * geany.glade, src/interface.c: Fixed wrong tooltip.
15103 * geany.glade, doc/geany.docbook, src/document.c, src/document.h,
15104   src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
15105   src/sci_cb.c, src/ui_utils.c:
15106   Added different auto indention modes to select how should Geany
15107   indent new lines (closes #1615605).
15108
15109
15110
151112007-03-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15112
15113 * src/win32.c, src/callbacks.c, src/keyfile.c, src/document.c,
15114   src/document.h, src/main.c, src/socket.c:
15115   Speed up loading multiple C-like files when existing documents are
15116   open (by ensuring documents are only colourised once).
15117   Add document_open_files(), document_colourise_new().
15118   Add some missing function parameter names to document.h.
15119
15120
151212007-03-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15122
15123 * doc/geany.docbook:
15124   Added single line comment examples for clarification.
15125
15126
151272007-03-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15128
15129 * src/build.c, src/project.c, src/project.h:
15130   Add project run command support. Run command is a custom command-line
15131   and can include arguments.
15132   Make 'Choose project filename' dialog use a Save button.
15133
15134
151352007-03-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15136
15137 * src/build.c:
15138   Moved all code for checking and creating the geany run script
15139   temporary file from build_run_cmd() to prepare_run_script().
15140 * src/build.c, src/utils.c:
15141   Fix memory leak with utils_remove_ext_from_filename().
15142 * src/build.c:
15143   Fix memory leak, remove unused build_create_shellscript() argument.
15144 * src/build.c:
15145   Use UTF-8 for missing executable error message.
15146
15147
151482007-03-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15149
15150 * src/win32.c:
15151   Added new file filter for Open File dialog to only show supported
15152   source files (for native Win32 dialog).
15153 * src/main.c: Changed location of translation files to lib\locale
15154               on Win32.
15155 * geany.nsi: Added NSIS installer script for the Win32 installer.
15156 * data/filetypes.c, data/filetypes.cpp, src/highlighting.c:
15157   Added support for secondary keywords for filetypes C and C++.
15158 * doc/geany.docbook: Fixed typo (thanks to John Gabriele).
15159
15160
151612007-03-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15162
15163 * src/build.c, src/project.c, src/project.h:
15164   Run Make All and Make Custom from the project base directory, if set.
15165   Add project_get_make_dir().
15166
15167
151682007-03-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15169
15170 * src/tools.c, src/utils.c:
15171   Applied patch from Jeff Pohlmeyer to improve the custom command
15172   execution code(thanks).
15173 * src/sciwrappers.c, src/sciwrappers.h:
15174   Added sci_get_selection_mode(), sci_set_selection_mode(),
15175   sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
15176 * src/document.c:
15177   Improved replacing in rectangle selections (closes #1665571).
15178 * src/build.c, src/tools.c, src/utils.c, src/utils.h:
15179   Set IO channels for custom commands to blocking mode
15180   (thanks to Jeff Pohlmeyer).
15181 * data/filetypes.python, src/highlighting.c:
15182   Added missing keywords: as, with, False, None and True.
15183 * src/dialogs.c, src/filetypes.c, src/filetypes.h:
15184   Added new file filter for Open File dialog to only show supported
15185   source files (list of all defined filename extensions).
15186
15187
151882007-02-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15189
15190 * src/msgwindow.c, src/msgwindow.h, src/search.c:
15191   Show number of matches when using Find All or Find in Files.
15192   Add msgwin_msg_add_fmt().
15193 * src/build.c:
15194   Make build_spawn_cmd() take a command string instead of joining an
15195   array of strings.
15196
15197
151982007-02-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15199
15200 * src/filetypes.c:
15201   Use utils_strv_new() for all filetype patterns.
15202
15203
152042007-02-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15205
15206 * src/tools.c: Fixed wrong sensitiveness of custom commands menu items.
15207 * configure.in, THANKS:
15208   Applied patch from Slava Semushin to improve SVN checks (thank you).
15209
15210
152112007-02-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15212
15213 * geany.glade, doc/geany.docbook, src/geany.h, src/interface.c,
15214   src/keybindings.c, src/keybindings.h, src/keyfile.c, src/main.c,
15215   src/tools.c, src/tools.h:
15216   Added custom commands to send selected text through some definable
15217   commands and replace the selection with the output.
15218 * data/filetype_extensions.conf, src/filetypes.c:
15219   Added *.pod to Perl file patterns.
15220 * src/sci_cb.c: Auto complete multi line comments only when auto
15221                 completion of constructs is enabled.
15222
15223
152242007-02-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15225
15226 * src/build.c:
15227   Prevent undefined behaviour when using the Stop command that can kill
15228   X when Geany is run from the KDE or Xfce menu (not from a terminal).
15229   Should close #1668017.
15230
15231
152322007-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15233
15234 * configure.in, Makefile.am, README.I18N, po/intl_stats.sh, po/LINGUAS:
15235   Moved list of available translations to new file po/LINGUAS.
15236   Added readme file for translation information.
15237   Added little shell script intl_stats.sh to display some basic
15238   translation statistics.
15239
15240
152412007-02-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15242
15243 * src/*.c:
15244   Add descriptions for all .c source files below the file header.
15245
15246
152472007-02-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15248
15249 * src/keyfile.c, src/document.c, src/document.h, src/main.c:
15250   Speed up loading multiple C-like files when restoring session or
15251   loading command-line files at startup by ensuring documents are
15252   only colourised once.
15253   Also prevent re-colourising C-like documents after saving a file
15254   unless the list of typenames has changed.
15255   Add document_delay_colourise(), document_colourise_all().
15256 * src/dialogs.c, src/document.c, src/document.h:
15257   Fixed switching to the wrong tab when showing the unsaved dialog.
15258 * src/templates.c:
15259   Don't include filetype.none in the new file template menus.
15260
15261
152622007-02-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15263
15264 * src/sci_cb.c, src/sci_cb.h:
15265   Made auto_close_bracket() static and auto close brackets only when
15266   auto completion of constructs is enabled (closes #1665015).
15267 * doc/geany.1.in: Fixed typo.
15268 * geany.glade, src/interface.c: Improved tooltip for auto completion.
15269
15270
152712007-02-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15272
15273 * src/document.c:
15274   Remove the yellow error line marker also when using 'Remove Error
15275   Indicators'.
15276
15277
152782007-02-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15279
15280 * src/search.c: Fixed compiler warning.
15281 * src/project.c, src/win32.c, src/win32.h:
15282   Added Windows dialogs for Project new and Project open actions.
15283   Fixed some mem leaks in the Windows code.
15284
15285
152862007-02-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15287
15288 * src/templates.c, src/templates.h, src/highlighting.c,
15289   src/callbacks.c, src/callbacks.h, src/filetypes.c, src/main.c:
15290   Support filetype templates for all filetypes (scan
15291   ~/.geany/templates/filetype.* at startup).
15292   Default filetype templates are now created in init_ft_templates().
15293   Move on_new_with_template() to templates.c.
15294   Move on_filetype_change() to filetypes.c.
15295
15296
152972007-02-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15298
15299 * data/filetypes.ruby, src/highlighting.c:
15300   Added several missing style types for filetype Ruby.
15301 * doc/geany.docbook: Added notice about contributing to the docs
15302                      (patch from John Gabriele, thanks).
15303
15304
153052007-02-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15306
15307 * src/ui_utils.c:
15308   Scroll Compiler and Messages window in view when using Next Error
15309   or Next Message.
15310 * src/search.c:
15311   Add Mark button as a Find All option in the Find dialog.
15312 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
15313   geany.glade:
15314   Add Remove Markers item to the Document menu.
15315   Remove Error Indicators no longer removes current tag marker.
15316
15317
153182007-02-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15319
15320 * src/sciwrappers.c, src/sciwrappers.h, src/sci_cb.c, src/document.c:
15321   Rename sci_get_line_end_from_position() with line argument, not
15322   position.
15323   Don't autocomplete for/if constructs when editing an existing line.
15324 * src/document.c:
15325   Set single undo action when using document_strip_trailing_spaces().
15326 * src/search.c:
15327   Show grep command and directory when using Find in Files.
15328
15329
153302007-02-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15331
15332 * data/filetypes.perl, src/highlighting.c:
15333   Added several missing style types for filetype Perl
15334   (thanks to John Gabriele for reporting).
15335 * src/treeviews.c: Aligned "No symbols found" label to top.
15336 * src/callbacks.c, src/document.c, src/document.h, src/keybindings.c,
15337   src/main.c, src/socket.c:
15338   Added possibility to create and open non-existent files from command
15339   line (closes #1635094 and #1652917).
15340
15341
153422007-02-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
15343
15344 * geany.glade, src/interface.c: Fixed a typo.
15345
15346
153472007-02-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15348
15349 * geany.desktop.in:
15350   Add MimeType text/x-diff.
15351 * scintilla/ScintillaGTK.cxx:
15352   Redraw instead of scrolling in ScintillaGTK::ScrollText if there is
15353   an existing update region.
15354   Revert earlier ScintillaGTK::ExposeTextThis change.
15355 * tagmanager/c.c:
15356   Fix wrong D function return type after a class definition.
15357
15358
153592007-02-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15360
15361 * src/treeviews.c:
15362   Allow popup Symbols menu when the current document has no tags, so
15363   the sidebar can be hidden.
15364   Use a GtkLabel to display 'No tags found'.
15365
15366
153672007-02-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15368
15369 * src/main.c: Convert config, application and documentation dir paths
15370               to locale encoding before using it.
15371
15372
153732007-02-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15374
15375 * src/utils.c, src/utils.h, src/filetypes.c,
15376   data/filetype_extensions.conf:
15377   Add *.rej as a Diff filename pattern.
15378   Add utils_strv_new() to duplicate a va_list of strings.
15379
15380
153812007-02-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
15382
15383 * data/pascal.tags, THANKS: Fixed a wrong autocompletion. Thanks to
15384   Dirk Weber for reporting.
15385
15386
153872007-02-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15388
15389 * src/symbols.c:
15390   Fix missing global tags for C files when a C++ source file was
15391   loaded first.
15392
15393
153942007-02-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15395
15396 * src/treeviews.c:
15397   Prevent right click in Symbol list from selecting a tag.
15398 * src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/treeviews.h,
15399   src/document.c, src/main.c, src/ui_utils.c:
15400   Move ui_update_tag_list() to treeviews.c.
15401   Make treeviews_prepare_taglist() static.
15402
15403
154042007-02-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15405
15406 * src/document.c:
15407   Prevent scroll bar from moving when using document_find_text() and
15408   no match is found.
15409 * tagmanager/c.c:
15410   Make anonymous typenames use anon_typename_n instead of
15411   typename_anon_n (it seems we can't use <> brackets because of
15412   missing scope problem).
15413 * src/build.c:
15414   Allow Make for files with no extension - prevent Build when the
15415   output filename would be the same as the source file.
15416
15417
154182007-02-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15419
15420 * src/ui_utils.c:
15421   Show file path on window title after file name.
15422
15423
154242007-02-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15425
15426 * src/build.c: Prevent compiling or executing of files without a
15427                filename extension(closes #1642029).
15428 * src/document.c: Made --line and --column also working for already
15429                   open files (thanks to Mark Knoop for his help).
15430 * THANKS, src/treeviews.c:
15431   Applied patch from Tomás Vírseda to sort the list of open files in
15432   the sidebar alphabetically (thanks).
15433
15434
154352007-01-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15436
15437 * scintilla/ScintillaGTK.cxx, src/document.c, src/document.h,
15438   src/keybindings.c, src/sci_cb.c, src/sciwrappers.c,
15439   src/sciwrappers.h, src/utils.c:
15440   Improved the auto scrolling of documents (actually done by Nick).
15441
15442
154432007-01-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
15444
15445 * configure.in, THANKS, src/about.c, po/fi.po:
15446   Added Finnish translation (Thanks to Harri Koskinen).
15447
15448
154492007-01-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15450
15451 * src/callbacks.c, src/document.c, src/document.h, src/keyfile.c,
15452   src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h:
15453   Fixed some scrolling issues with session files and files remotely
15454   open via the socket. Added need_scrolling flag to document struct.
15455
15456
154572007-01-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15458
15459 * src/document.c: Applied patch from Jeff Pohlmeyer to clear the line
15460                   marker when clearing the compile error markers.
15461 * geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
15462   src/prefs.c, src/sci_cb.c:
15463   Added an option to disable auto completion of known symbols while
15464   typing (still can be forced by pressing the keybinding).
15465
15466
154672007-01-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15468
15469 * src/vte.c: Applied patch from Jeff Pohlmeyer to improve loading of
15470              the VTE library.
15471 * src/ui_utils.c: Applied patch from Jeff Pohlmeyer to make the
15472                   window title Gnome HIG compatible.
15473
15474
154752007-01-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15476
15477 * data/filetype_extensions.conf, src/filetypes.c:
15478   Added *.xsd to XML file patterns.
15479 * geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
15480   src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
15481   src/sci_cb.c, src/sci_cb.h, src/search.c:
15482   Added keybinding and menu entry to open a file which is selected
15483   in current tab.
15484   Made Insert Special HTML characters insensitive if there are no
15485   open tabs.
15486   Removed Zoom items from popup menu.
15487 * tagmanager/latex.c: Allow \section*{} and other commands with *.
15488 * doc/geany.1.in, doc/geany.docbook, src/document.c, src/main.c,
15489   src/main.h, src/socket.c:
15490   Added command line option --column to allow setting the initial
15491   column for the first opened file on command line.
15492   Don't apply the --line and --column options to the first opened
15493   session file.
15494   Make --line and --column options work for opening files in an already
15495   running instance.
15496 * src/document.c: Oops. Revert the change to ignore --line setting when
15497                   opening session files.
15498
15499
155002007-01-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15501
15502 * src/callbacks.c, src/search.c:
15503   Setup Find Next/Previous to use the same search text after using
15504   Find Selected/Prev Selected.
15505
15506
155072007-01-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15508
15509 * src/interface.c, src/keybindings.c, src/keybindings.h,
15510   src/callbacks.c, src/callbacks.h, src/search.c, src/search.h,
15511   geany.glade:
15512   Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
15513   'Find Prev Selected' Search commands and keybindings (thanks).
15514
15515
155162007-01-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15517
15518 * src/project.c: Implemented loading and saving of the project file
15519                  and minor improvements.
15520 * src/build.c, src/msgwindow.c, src/msgwindow.h:
15521   Applied patch from Jeff Pohlmeyer to avoid parsing of compiler errors
15522   by the va_list system.
15523 * src/project.c: Replaced the New button by a Create button.
15524
15525
155262007-01-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15527
15528 * scintilla/makefile.win32: Fixed typo.
15529 * scintilla/*, src/sci_cb.c: Updated Scintilla to version 1.72.
15530 * doc/geany.docbook:
15531   Added a notice of changed DnD behaviour in Scintilla 1.72.
15532
15533
155342007-01-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15535
15536 * src/build.c: Use "rm" to delete the run script because unlink is not
15537                available on all systems.
15538 * geany.desktop.in: Added more mimetypes supplied by Nick Schermer.
15539 * doc/geany.docbook: Documented GEANY_PROJECT_EXT.
15540 * src/dialogs.c, src/prefs.c, src/prefs.h, src/search.c:
15541   Fixed crashes when using some dialogs after they were closed before.
15542
15543
155442007-01-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15545
15546 * src/project.c: Do not auto complete project filename and base path
15547                  when they were changed manually.
15548 * src/geany.h, src/project.c:
15549   Implemented project open dialog, but open doesn't do anything yet.
15550   Added GEANY_PROJECT_EXT macro.
15551 * geany.glade, src/interface.c:
15552   Removed unintended keybindings for the project menu items.
15553 * geany.desktop.in: Added MimeType entry as suggested by Nick Schermer.
15554
15555
155562007-01-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15557
15558 * src/keybindings.c:
15559   Change default keybinding for Close All to Ctrl-Shift-W to avoid
15560   conflict with Document menu (thanks to Jeff Pohlmeyer).
15561   Remove Alt-P default KB for Preferences to avoid conflict with
15562   Project menu.
15563
15564
155652007-01-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15566
15567 * src/project.c, src/project.h:
15568   Added properties dialog (still far away from state ready).
15569   Added file_patterns field.
15570 * src/utils.c, src/utils.h: Added utils_mkdir().
15571
15572
155732007-01-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15574
15575 * src/callbacks.c, doc/geany.docbook:
15576   Make Go to Tag Definition work for all tags except forward
15577   declarations and externs.
15578
15579
155802007-01-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15581
15582 * src/vte.c: Use g_shell_quote to avoid problems with special
15583              characters in the path of a filename.
15584
15585
155862007-01-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15587
15588 * tagmanager/c.c:
15589   Backport improvements from Anjuta 2.02.
15590   Parse anonymous struct and enums (using contextual_fake_count).
15591   Add better C99 support, e.g. wchar_t variables.
15592 * tagmanager/include/tm_symbol.h, tagmanager/tm_symbol.c:
15593   Add tm_arglist_compare().
15594   Fix comparison in tm_symbol_tag_compare().
15595
15596
155972007-01-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15598
15599 * src/vte.c:
15600   Fixed changing directories when the path contains whitespace.
15601 * src/callbacks.c: When using Save As the returned filename needs to be
15602                    converted into UTF-8.
15603 * geany.glade, po/POTFILES.in, src/callbacks.c, src/callbacks.h,
15604   src/geany.h, src/interface.c, src/main.c, src/makefile.win32,
15605   src/Makefile.am, src/project.c, src/project.h:
15606   Started to implement project management (still unusable).
15607   Added project.[c|h].
15608
15609
156102007-01-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15611
15612 * src/symbols.c:
15613   Reorder symbol list by Namespaces, Classes, Functions, Members,
15614   Structs, Macros, Variables.
15615   Add D Variables, rename D Methods -> Functions.
15616
15617
156182007-01-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15619
15620 * geany.glade, src/build.c, src/document.c, src/geany.h,
15621   src/highlighting.c, src/interface.c, src/keyfile.c, src/prefs.c,
15622   src/sci_cb.c, src/sci_wrappers.c, src/sciwrappers.h, src/utils.c,
15623   src/utils.h:
15624   Added sci_set_use_tabs().
15625   Fixed mem leak in sci_cb_auto_forif().
15626   Moved free_pointers() to utils.c.
15627   Applied patch from Jeff Pohlmeyer to add an option for using spaces
15628   or tabulators when inserting some whitespace.
15629 * src/about.c: Updated copyright information.
15630 * geany_private.rc, README, src/*.c, src/*.h:
15631   Updated copyright information.
15632 * data/filetype_extensions.conf, src/filetypes.c:
15633   jsp is a Java extension.
15634 * src/sci_cb.c:
15635   Enabled auto completion of constructs for filetype JavaScript.
15636
15637
156382007-01-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15639
15640 * src/treeviews.c, src/treeviews.h, src/symbols.c, po/POTFILES.in:
15641   Move treeviews_init_tag_list() and symbol list GtkTreeIters to
15642   symbols.c.
15643 * src/highlighting.c:
15644   Fix segfault when setting Lua filetype.
15645
15646
156472007-01-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15648
15649 * data/filetype_extensions.conf, data/filetypes.javascript,
15650   data/filetypes.lua, scintilla/KeyWords.cxx, scintilla/LexLua.cxx,
15651   scintilla/Makefile.am, scintilla/makefile.win32, src/filetypes.c,
15652   src/filetypes.h, src/highlighting.c, src/highlighting.h,
15653   src/sci_cb.c, src/templates.c, tagmanager/js.c, tagmanager/lua.c,
15654   tagmanager/Makefile.am, tagmanager/makefile.win32,
15655   tagmanager/parsers.h: Added new filetypes Javascript and Lua.
15656 * geany.glade, THANKS, src/geany.h, src/interface.c, src/keyfile.c,
15657   src/prefs.c, src/sci_cb.c:
15658   Applied patch from Jeff Pohlmeyer to add an option for disabling DnD
15659   in the editor widget.
15660
15661
156622007-01-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15663
15664 * src/main.c, src/socket.c, po/POTFILES.in:
15665   Print an error message (instead of debug message) when a
15666   command-line file cannot be loaded.
15667 * src/utils.c, src/utils.h, src/geany.h, src/symbols.c,
15668   src/ui_utils.c, src/symbols.h:
15669   Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
15670   to symbols.c.
15671 * src/document.c:
15672   Update the symbol list when starting a new document.
15673
15674
156752007-01-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15676
15677 * src/sci_cb.c, src/symbols.c, src/symbols.h:
15678   Use '::' context separator for C also (so C/C++ share the same
15679   syntax, and C++ .h headers use correct syntax).
15680   Add symbols_get_context_separator() and use for calltips and the
15681   symbol list.
15682 * src/treeviews.c, src/document.c:
15683   Don't select the current document when reordering tabs (fixes
15684   #1632708).
15685 * src/utils.c:
15686   Fix g_strconcat leaks in utils_make_settings_dir().
15687
15688
156892007-01-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15690
15691 * src/sci_cb.c:
15692   Fix commenting multiple lines (oops).
15693   Set single undo action when toggling multiple lines.
15694
15695
156962007-01-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15697
15698 * src/callbacks.c:
15699   Try to fix paste problems on Windows (should close #1628951).
15700
15701
157022007-01-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15703
15704 * src/utils.c, src/sci_cb.c, src/sciwrappers.c:
15705   Prevent some possible buffer overflows.
15706
15707
157082007-01-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15709
15710 * doc/geany.docbook, src/keybindings.c, src/keybindings.h:
15711   Added keyboard shortcut for Save As.
15712   Added missing documentation for some keyboard shortcuts.
15713 * src/vte.c: Improved tool tip for terminal emulation.
15714
15715
157162007-01-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15717
15718 * src/utils.c, src/utils.h, src/encodings.c, src/document.c,
15719   src/encodings.h, src/dialogs.c, src/ui_utils.c:
15720   Fix memory leak when using utils_scan_unicode_bom().
15721   Prevent invalid memory read in utils_scan_unicode_bom() when text
15722   length is < 4.
15723   Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
15724   encodings.c.
15725   Read the BOM length in handle_bom().
15726
15727
157282007-01-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15729
15730 * geany.glade, src/interface.c: Fixed typo.
15731
15732
157332007-01-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15734
15735 * src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/templates.c,
15736   src/templates.h:
15737   Removed multiline template because it makes not much sense, instead
15738   just comment three lines using the general comment functionality.
15739   Removed special templates for Pascal and some other filetypes using
15740   "#" as comment char. The comment characters for fileheader and GPL
15741   templates are now added dynamically according to the current
15742   filetype.
15743 * geany.glade, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
15744   src/interface.c, src/templates.c, src/templates.h:
15745   Added template for BSD licence.
15746 * src/document.c: Fixed missing colouring of tab menu label.
15747 * doc/geany.docbook, src/geany.h, src/utils.c, src/templates.c:
15748   Save template files in a subdirectory "templates" inside Geany's
15749   configuration directory.
15750
15751
157522007-01-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15753
15754 * src/keybindings.c:
15755   Ensure the VTE visual settings are applied when switching to VTE
15756   when the Message Window is hidden.
15757   Show the Message Window when switching to Scribble.
15758 * src/document.c:
15759   Use load_text_file() in document_open_file() to read, verify and
15760   handle encoding using FileData struct.
15761   Refactored handle_[forced_]encoding with FileData* argument.
15762   Update data length after removing BOM chars in handle_bom().
15763
15764
157652007-01-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15766
15767 * src/build.c, src/build.h:
15768   Make build_parse_make_dir() more efficient.
15769
15770
157712007-01-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15772
15773 * src/sci_cb.c, tagmanager/entry.h, tagmanager/tm_tag.c,
15774   tagmanager/include/tm_tag.h, tagmanager/c.c:
15775   Parse pointers in function return type for C-like files.
15776   Show scope in calltips.
15777   Made tm_tag_destroy() static.
15778 * src/treeviews.c:
15779   Fix for C89 compatibility.
15780 * src/templates.c, src/build.c, src/templates.h, src/build.h,
15781   src/highlighting.c, src/filetypes.h:
15782   Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
15783   when debugging (also renamed some filetype_id variable names).
15784
15785
157862006-12-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15787
15788 * src/treeviews.c: When opening a file, set the current selected
15789                    entry in the open files list to the file's filename.
15790
15791
157922006-12-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15793
15794 * src/ui_utils.c:
15795   Don't use gtk_rc_get_style() in ui_update_tab_status() because it
15796   can cause an invalid memory read on some systems.
15797 * src/build.c, src/build.h, src/msgwindow.c, src/msgwindow.h:
15798   Applied patch from Josef Whiter to parse 'Entering directory' build
15799   messages so that subsequent error messages are handled correctly
15800   (thanks).
15801   Assume gcc-style error messages when filetype is not set.
15802
15803
158042006-12-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15805
15806 * tagmanager/tm_tag.c, tagmanager/include/tm_tag.h:
15807   Fix missed matches in tm_tags_find().
15808 * src/sci_cb.c, tagmanager/tm_workspace.c,
15809   tagmanager/include/tm_workspace.h:
15810   Add calltip support for D constructors.
15811   Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
15812   tm_workspace_find()).
15813
15814
158152006-12-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15816
15817 * src/utils.c, src/sci_cb.c:
15818   Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
15819   Separate find_calltip() from sci_cb_show_calltip().
15820 * src/sciwrappers.c:
15821   Improve accuracy of sci_scroll_to_line() when line wrapping and/or
15822   folding is used.
15823
15824
158252006-12-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15826
15827 * src/utils.c:
15828   Don't reparse the current function when fold level is higher than
15829   the function fold level (when the line has only changed by 1).
15830
15831
158322006-12-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15833
15834 * doc/geany.1.in, doc/Makefile.am, doc/geany.docbook, doc/images/*,
15835   doc/html/*:
15836   Fixed encoding of generated PDF file.
15837   Deleted all jpg images and replaced them by png images.
15838   Updated date in documentation and manpage.
15839 * src/callbacks.c: Fixed wrong paste behaviour under Windows with some
15840                    applications.
15841 * src/ui_utils.c: Start column count from 0 in the statusbar display.
15842 * New release: Geany 0.10 "Sander".
15843 * configure.in, src/geany.h, geany_private.rc:
15844   Version bump and updated codename for the next release.
15845
15846
158472006-12-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15848
15849 * src/keyfile.c: Changed default values:
15850   Confirm exit -> disabled by default
15851   Use tab to indent -> disabled by default.
15852
15853
158542006-12-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15855
15856 * src/keyfile.c:
15857   Fix strv leak in configuration_open_files().
15858 * src/treeviews.c, src/ui_utils.c:
15859   Fix tag treeview not being freed (because of g_object_ref).
15860   Separate recreate_tag_list() from ui_update_tag_list().
15861 * src/vte.c:
15862   Stop Valgrind complaining about a vc->emulation leak.
15863 * src/callbacks.c, src/search.c:
15864   Remove unneeded static from current word strings.
15865
15866
158672006-12-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15868
15869 * src/tools.c: Completed list of special characters, implemented
15870                expanding and collapsing of categories at double click.
15871 * src/geany.h: Updated codename (not really important).
15872
15873
158742006-12-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15875
15876 * src/callbacks.c, src/search.c, src/document.c:
15877   Don't log simple error messages like 'No text to find'.
15878 * src/keyfile.c:
15879   Open tabs left to right by default.
15880 * src/keyfile.c:
15881   Scroll cursor to 50% of the view for session files at startup.
15882 * src/callbacks.c, src/dialogs.c:
15883   Always switch to the tab when showing the unsaved file dialog.
15884 * src/document.c:
15885   Don't set the cursor to the start of the document when attempting to
15886   open an already open file.
15887 * src/utils.c, src/utils.h, src/callbacks.c, src/sci_cb.c,
15888   src/document.c:
15889   Force a file changed check when attempting to open an already open
15890   file.
15891 * src/sciwrappers.c, src/sciwrappers.h, src/document.c:
15892   Scroll cursor to 50% of the view when reloading a file.
15893   Rename sci_goto_pos() argument 'unfold'.
15894
15895
158962006-12-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15897
15898 * geany.glade, src/interface.c:
15899   Made the sidebar notebook tabs scrollable.
15900 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
15901   src/ui_utils.c:
15902   Fixed wrong insert position when the cursor was moved by keyboard
15903   and comments, includes or a date was inserted.
15904   Also fixed some segfault when inserting comments, dates and includes
15905   at a position prior to some deleted text.
15906 * src/document.c: Fixed disabled build menu items after opening the
15907                   first file of a filetype.
15908
15909
159102006-12-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15911
15912 * src/search.c:
15913   Fix using the current word on first use of the Find in Files dialog.
15914 * src/document.c:
15915   Don't log 'replaced 0 occurrences' status messages.
15916 * src/search.c:
15917   Remove unneeded 'missing response' debug messages.
15918
15919
159202006-12-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15921
15922 * src/utils.c:
15923   Fix memory leak in utils_check_disk_status().
15924 * src/highlighting.c, src/sci_cb.c, src/sci_cb.h, src/document.c,
15925   src/symbols.c, src/symbols.h:
15926   Colourise C enum, union and D/Java interface typenames.
15927   Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a
15928   lexer supports typename colouring.
15929
15930
159312006-12-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
15932
15933 * src/main.c, src/sci_cb.c, src/sci_cb.h, src/symbols.c,
15934   src/symbols.h:
15935   Moved html_entities array to symbols.c.
15936   Fixed some checks for the new D lexer and improved detection of
15937   comments when auto completing or showing calltips.
15938 * src/search.c: Bring the Find, Replace and FIF dialog back to top if
15939                 they are already shown but lost focus.
15940
15941
159422006-12-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15943
15944 * src/sci_cb.c:
15945   Only remove extra space indent after a multiline comment if the
15946   indent contains one too many spaces.
15947 * src/highlighting.c, data/filetypes.d:
15948   Show D typedefs in bold.
15949 * src/sci_cb.c, src/sci_cb.h, src/document.c:
15950   Fix setting project typenames for the new D lexer.
15951   Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
15952   Only recolourise C-like files when updating project typename
15953   keywords.
15954
15955
159562006-12-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
15957
15958 * src/about.c: Fixed a typo.
15959
15960
159612006-12-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15962
15963 * src/document.c:
15964   Fix updating the symbol list when a file is saved.
15965   Update C-like typedef keywords when reloading a file.
15966 * src/sci_cb.c:
15967   Fix adding a multiline comment character after pressing enter on the
15968   last line of a multiline comment.
15969   Remove multiline comment indent after pressing enter on last line.
15970   Prevent invalid memory reads in auto_multiline().
15971
15972
159732006-12-13  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
15974
15975 * THANKS: Small update of contact data and small fix of translated
15976           language.
15977
15978
159792006-12-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
15980
15981 * src/ui_utils.h, src/about.c, src/treeviews.c, src/msgwindow.c,
15982   src/callbacks.c, src/keyfile.c, src/document.c, src/prefs.c,
15983   src/main.c, src/ui_utils.c:
15984   Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
15985   strings.
15986   Capitalize main window title.
15987   Add ui_widget_modify_font_from_string().
15988 * src/build.c, src/keybindings.c, src/msgwindow.c, src/msgwindow.h,
15989   src/vte.c, src/main.c:
15990   Add 'Hide Message Window' popup menu item for each window in the
15991   message window area.
15992   Add msgwin_menu_add_common_items().
15993   Move remaining message window setup code to msgwin_init().
15994 * src/interface.c, geany.glade:
15995   Add 'Invert syntax highlighting colours' Preferences dialog option
15996   (hidden for now).
15997
15998
159992006-12-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16000
16001 * src/document.c, src/geany.h, src/keyfile.c, src/sciwrappers.c,
16002   src/sciwrappers.h: Added option to toggle usage of Tab button for
16003                      indentation.
16004 * geany.glade, po/POTFILES.in, src/callbacks.c, src/callbacks.h,
16005   src/interface.c, src/keybindings.c, src/keybindings.h,
16006   src/Makefile.am, src/makefile.win32, src/tools.c, src/tools.h:
16007   New files tools.c and tools.h.
16008   Added a dialog to insert HTML special characters.
16009
16010
160112006-12-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16012
16013 * src/build.c, src/interface.c, src/callbacks.c, src/ui_utils.c,
16014   geany.glade:
16015   Use GNOME HIG Header style capitalization for all menu items.
16016 * src/main.c:
16017   Make files loaded from the command-line at startup get added to the
16018   recent files menus.
16019
16020
160212006-12-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16022
16023 * data/filetypes.vhdl: Fixed typo in "number" and "string" styles.
16024
16025
160262006-12-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16027
16028 * src/main.c:
16029   Show GTK+, GLib runtime version debug message after socket_init().
16030 * src/callbacks.c:
16031   Make indenting and unindenting keep the same cursor position when
16032   the cursor is within the indentation characters.
16033 * configure.in:
16034   Link with libsocket if necessary to fix building on Solaris.
16035
16036
160372006-12-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16038
16039 * src/build.c, src/callbacks.c, src/document.c, src/keyfile.c,
16040   src/prefs.c, src/vte.c, src/vte.h:
16041   Added option to execute programs in the VTE instead of executing
16042   them in a terminal emulation window (closes #1594456).
16043 * src/dialogs.c: Use a table to layout the word count dialog.
16044
16045
160462006-12-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16047
16048 * src/build.c:
16049   Fix building on win32; also fix some warnings.
16050 * src/document.c:
16051   Read the file's modification timestamp after saving because on
16052   Windows it can be later than expected (closes #1611530).
16053 * src/keybindings.c:
16054   Show the Message window when switching to the vte.
16055 * src/build.c, src/keybindings.c, src/keybindings.h:
16056   Add keybindings for Next Message and Next Error commands.
16057
16058
160592006-12-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16060
16061 * src/build.c, src/interface.c, src/ui_utils.h, src/build.h,
16062   src/keybindings.c, src/msgwindow.c, src/callbacks.c,
16063   src/msgwindow.h, src/callbacks.h, src/main.c, src/ui_utils.c,
16064   geany.glade:
16065   Add Next Message and Next Error menu items.
16066   Don't select the last build message on completing a build.
16067   Change build_get_menu_items(-1) to return current build menu.
16068   Add Copy popup menu item for Status and Messages windows.
16069   Move on_message_treeview_clear_activate(),
16070   on_compiler_treeview_copy_activate() to msgwindow.c.
16071   Create the Recent files submenu item manually because Glade 2.10
16072   removes empty menus.
16073 * src/dialogs.c, src/ui_utils.c:
16074   Use ui_button_new_with_image() in dialogs_show_unsaved_file().
16075
16076
160772006-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16078
16079 * src/build.c: Made the created run script for command execution a bit
16080                more portable to other shells than bash (thanks to
16081                Nacho Cabanes for reporting).
16082 * src/document.c, src/document.h, src/sciwrappers.c, src/ui_utils.h,
16083   src/sciwrappers.h:
16084   Fixed broken overtype update in the statusbar.
16085   Removed unused field do_overwrite in document struct.
16086 * src/msgwindow.c: Removed compiler warning.
16087 * src/sci_cb.c, src/sci_cb.h:
16088   Made sci_cb_get_indent and sci_Cb_auto_multiline static.
16089   Improved auto completion of multi line comments and support
16090   /+ +/ for D files.
16091 * src/msgwindow.c: Fixed wrong check button state in view menu if
16092                    message window was shown automatically.
16093
16094
160952006-12-07  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
16096
16097 * src/about.c, THANKS, configure.in, po/fr.po:
16098   Added French translation (Thanks to Jean-Philippe Moal).
16099
16100
161012006-12-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16102
16103 * src/document.c: Create new tm file object when changing the filetype
16104                   of a document to avoid a confused tagmanager.
16105 * data/filetypes.d, scintilla/KeyWords.cxx, scintilla/LexD.cxx,
16106   scintilla/Makefile.am, scintilla/makefile.win32,
16107   scintilla/include/SciLexer.h, src/highlighting.c:
16108   Added new scintilla lexer for D. It needs testing and there is more
16109   work to do to get it working properly.
16110 * src/about.c, src/build.c, src/callbacks.c, src/document.c,
16111   src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
16112   src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
16113   src/utils.h, src/dialogs.c, src/vte.c:
16114   Revert the last change to utils_str_equal() and use it again because
16115   g_str_equal() is not NULL-safe.
16116
16117
161182006-12-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16119
16120 * src/sci_cb.c: Don't insert extra indentation in Python files after a
16121                 colon if the line is a comment (closes #1609761).
16122 * src/about.c, src/build.c, src/callbacks.c, src/document.c,
16123   src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
16124   src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
16125   src/utils.h: Removed utils_str_equal() and use g_str_equal() from
16126                GLib because it does exactly the same.
16127
16128
161292006-12-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16130
16131 * src/treeviews.c, tagmanager/latex.c:
16132   Let the LaTeX parser recognise the keyword \chapter.
16133
16134
161352006-12-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16136
16137 * src/socket.c:
16138   Prevent Valgrind warning with unlink(NULL).
16139 * src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/notebook.c,
16140   src/treeviews.h, src/notebook.h, src/document.c, src/document.h,
16141   src/ui_utils.c:
16142   Show read-only notebook tabs in green.
16143   Add document_get_status() to get the tab colour for the document.
16144   Use ui_update_tab_status() to update notebook tabs and open files
16145   treeview items.
16146   Avoid using GtkTreeIter struct as treeviews function arguments.
16147   Remove unneeded arguments for treeviews_openfiles_add(),
16148   notebook_new_tab().
16149
16150
161512006-12-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16152
16153 * src/highlighting.c, data/filetypes.d:
16154   Move C/C++ styling_within_preprocessor code out of C-like styles.
16155   Use styleset_c_like() when applying C-like Scintilla styles.
16156   Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
16157   with styles in data/filetypes.c.
16158
16159
161602006-12-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16161
16162 * src/document.c: Use default GTK foreground colour for filenames on
16163                   notebook tabs instead of hardcoded colour black.
16164 * src/sci_cb.c: Fixed broken auto completion for LaTeX files.
16165
16166
161672006-12-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16168
16169 * data/filetypes.c, data/filetypes.cpp, data/filetypes.d,
16170   data/filetypes.ferite, data/filetypes.java, src/highlighting.c:
16171   Added new style for doc keyword error and added some doc key words
16172   for Doxygen and Javadoc.
16173 * geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
16174   src/prefs.c, src/sci_cb.c:
16175   Added new preference to unfold all children of a fold point if the
16176   fold point is unfolded.
16177 * src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
16178                    messages when parsing the output of make (thanks).
16179 * src/sci_cb.c, src/sci_cb.h:
16180   Made handle_xml() static.
16181   Fixed wrong XML auto completion in PHP files when inserting '>',
16182   thanks to Bob Doan for reporting.
16183
16184
161852006-12-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16186
16187 * src/highlighting.c: Use the same style for unknown doc keywords
16188                       (/** @something */) as for known keywords.
16189
16190
161912006-12-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16192
16193 * geany.glade, src/interface.c, src/geany.h, src/main.c,
16194   src/ui_utils.c:
16195   Removed invisible place holder menu item in recent files menu.
16196   Create separate sub menu for the recent files menu in the toolbar to
16197   prevent GTK warnings when using GTK >= 2.10.
16198
16199
162002006-12-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16201
16202 * src/vte.c:
16203   Make the switch to vte menu shortcut override work before the VTE
16204   has been realized.
16205
16206
162072006-11-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16208
16209 * src/main.c:
16210   Disable open toolbutton recent files menu for now because on
16211   GTK+2.10 packing the recent files menu twice causes warnings.
16212 * src/build.c, src/build.h, src/keybindings.c, src/callbacks.c,
16213   src/filetypes.c, src/filetypes.h, src/dialogs.c:
16214   Make all filetypes except LaTeX use the same build menu, disabling
16215   any items that don't apply for the current document.
16216   Move BuildMenuItems struct type to build.h.
16217
16218
162192006-11-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16220
16221 * src/build.c, src/build.h, src/keybindings.c, src/filetypes.c,
16222   src/filetypes.h:
16223   Make stop button only apply for killing running programs.
16224   Disable build commands when building is in progress.
16225   Make build_menu_update() detect how to call set_stop_button().
16226   Make build_menu_update() also update the LaTeX build menu.
16227   Make build keybindings only active when the equivalent menu item
16228   is also active.
16229
16230
162312006-11-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16232
16233 * src/build.c:
16234   Show build result on status bar if Compiler window is not selected.
16235
16236
162372006-11-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16238
16239 * src/msgwindow.c, src/notebook.c, src/msgwindow.h, src/notebook.h:
16240   Add some const char* argument modifiers, remove unneeded static from
16241   some local vars.
16242 * src/vte.c:
16243   Remove vte_char_size_changed() workaround, not needed since r988;
16244   this also fixes an issue where the VTE is limited to 30x5 chars.
16245 * src/search.c, src/document.c, src/document.h:
16246   When replacing in session, use notebook page order and show a count
16247   of the files changed.
16248   Show the filename when replacing text over a range.
16249   Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
16250 * src/build.c, src/ui_utils.h, src/msgwindow.c, src/search.c,
16251   src/document.c, src/ui_utils.c:
16252   Make ui_set_statusbar() use printf-style arguments & assume the
16253   message should not be overridden.
16254 * data/filetypes.python:
16255   Change python default compile command to create a compiled python
16256   .pyc file (thanks to Bajusz Tamás).
16257
16258
162592006-11-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16260
16261 * src/ui_utils.h, src/prefs.c, src/dialogs.c, src/ui_utils.c:
16262   Add frame for VTE Preferences tab, update packing.
16263   Replace ui_frame_new() with ui_frame_new_with_alignment().
16264 * src/callbacks.c, src/callbacks.h, src/vte.c, src/vte.h, src/prefs.c,
16265   src/prefs.h:
16266   Move VTE preferences GUI code to vte.c.
16267   Move on_pref_tools_button_clicked() to prefs.c.
16268
16269
162702006-11-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16271
16272 * src/vte.c: Fixed segfault when opening the preferences dialog for
16273              the first time from the VTE widget.
16274
16275
162762006-11-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16277
16278 * src/highlighting.c, src/geany.h, doc/geany.docbook,
16279   data/filetypes.*:
16280   Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
16281   with word matching when using Find & Replace functions.
16282 * src/keybindings.c:
16283   Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
16284   switches to the last tab.
16285 * src/geany.h, data/filetypes.*:
16286   Add underscore to default wordchars again (oops).
16287
16288
162892006-11-22  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
16290
16291 * po/hu.po, src/about.c, THANKS, configure.in:
16292   Added Hungarian translation (Thanks to Gabor Kmetyko aka
16293   kilo <kg_kilo(at)freemail(dot)hu>).
16294
16295
162962006-11-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16297
16298 * src/notebook.c, src/notebook.h, src/document.c:
16299   Ensure tab DnD is enabled when tabs are added; use
16300   notebook_remove_page() instead of gtk_notebook_remove_page().
16301   Unified notebook_[en|dis]able_dnd_for_dropping_files() in
16302   tab_count_changed().
16303
16304
163052006-11-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16306
16307 * src/callbacks.c, src/callbacks.h, src/document.c, src/main.c,
16308   src/notebook.c, src/notebook.h:
16309   Removed DnD handler for the main window (not very useful).
16310   Fixed broken tab reordering by only enabling DnD for dropping files
16311   when there are no open file tabs, otherwise disable it and enable
16312   DnD for moving file tabs. Dropping files into Geany when file tabs
16313   are open still works because then it is handled by the Scintilla
16314   widget.
16315 * src/msgwin.c: Applied patch from Bob Doan to parse PHP compile
16316                 errors better (thanks).
16317
16318
163192006-11-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16320
16321 * src/sciwrappers.c, src/sciwrappers.h:
16322   Added sci_get_first_visible_line().
16323 * src/interface.c, src/geany.h, src/sci_cb.h, src/keyfile.c,
16324   src/vte.c, src/search.c, src/document.c, src/prefs.c, geany.glade:
16325   Applied patch from Bob Doan to prevent scrolling when wrap searching
16326   around a document, and to add a preference for suppressing search
16327   dialogs when wrapping or after Find Next.
16328   Rearranged some Preferences dialog options, added Files tab.
16329   Disable tab position when file tabs are hidden (not new file tab
16330   placement option, it still affects order of pages).
16331 * src/interface.c, geany.glade:
16332   Add Preferences frame alignment for Tools, Templates, Keybindings.
16333   Revert tab placement label text.
16334
16335
163362006-11-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16337
16338 * src/build.c, src/main.c:
16339   Fixed compile error under Win32.
16340   Ignore pressed Stop button under Win32 (at least for the moment,
16341   not yet implemented).
16342
16343
163442006-11-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16345
16346 * src/search.c:
16347   Change Find Next/Previous buttons to use better stock icons.
16348 * src/callbacks.c, src/sci_cb.c, src/document.c, src/document.h:
16349   Fix sign comparison warnings.
16350
16351
163522006-11-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16353
16354 * src/main.c: Enabled DnD also for the main notebook widget to drop
16355               files in the main area of Geany.
16356
16357
163582006-11-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16359
16360 * src/vte.c: Don't unload the VTE module on exit to avoid crashes on
16361              some systems.
16362 * src/main.c: Fixed small memory leak.
16363 * src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
16364   src/main.c, src/sci_cb.c:
16365   Enabled drag and drop for the whole main window to be able to drop
16366   files even if no tabs are open.
16367   Moved code for getting the file list to document_open_file_list().
16368
16369
163702006-11-15  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
16371
16372 * src/about.c, configure.in, THANKS, po/zh_TW.po:
16373   Added tranditional Chinese translation (Thanks to KoViCH
16374   <kovich(dot)ian(at)gmail(dot)com>).
16375
16376
163772006-11-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16378
16379 * src/ui_utils.h, src/search.c, src/ui_utils.c:
16380   Add search history for Find in Files.
16381   Add ui_combo_box_add_to_history() and use to prevent blocks of
16382   duplicates (but not all duplicates) from search history combo boxes,
16383   and limit history to 30 entries.
16384 * src/build.c:
16385   Remove the stop button in build_exit_cb() when using Make commands.
16386   Fix set_stop_button() when using Make when the current file has no
16387   filetype.
16388
16389
163902006-11-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16391
16392 * scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
16393
16394
163952006-11-14  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
16396
16397 * po/zh_CN.po, src/about.c, configure.in, THANKS:
16398   Added simple Chinese (zh_CN) translation (Thanks to
16399   Dormouse Young <mouselinux(at)163(dot)com>).
16400
16401
164022006-11-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16403
16404 * src/templates.c, src/templates.h, src/callbacks.c, src/filetypes.c,
16405   src/filetypes.h, src/document.c, src/document.h:
16406   Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
16407   Allow insertion of GPL notice and file header when the filetype is
16408   not set.
16409   Add commenting for PHP & HTML GPL notice and file header templates.
16410   Add make_comment_block() to templates.c.
16411   Move document_prepare_template(), filetypes_get_template() to
16412   templates.c.
16413
16414
164152006-11-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16416
16417 * src/filetypes.c, src/filetypes.h, src/highlighting.c,
16418   src/highlighting.h, src/treeviews.c, scintilla/Makefile.am,
16419   scintilla/makefile.win32, scintilla/KeyWords.cxx,
16420   scintilla/LexVHDL.cxx, tagmanager/vhdl.c, tagmanager/parsers.h,
16421   tagmanager/Makefile.am, tagmanager/makefile.win32,
16422   data/filetype_extensions.conf, data/filetypes.vhdl:
16423   Added new filetype VHDL.
16424 * geany.glade, src/interface.c, src/keybindings.c:
16425   Use plural for line commentation description labels.
16426 * src/build.c: Added missing inclusion of signal.h.
16427
16428
164292006-11-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16430
16431 * src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent().
16432 * src/callbacks.c: Fix invalid memory write in on_exit_clicked().
16433
16434
164352006-11-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16436
16437 * src/vte.c: Fix message window horizontal scrollbar being too tall on
16438              some systems (thanks to Rob van der Linde).
16439
16440
164412006-11-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16442
16443 * src/vte.c: Probe different versions of libvte.so, not only libvte.so
16444              and libvte.so.4.
16445 * src/keyfile.c: Fixed a segfault when closing preferences dialog and
16446                  loading VTE was enabled after it was disabled.
16447 * src/build.c, src/build.h, src/main.c:
16448   Extended the build_info struct with useful information of the
16449   current running command.
16450   Added stop button(using the Run button) to cancel the execution of a
16451   command like Run, Compile or Build.
16452   Fixed a typo in an error message.
16453 * doc/geany.docbook:
16454   Described new folding_horiz_line setting in filetypes.common.
16455   Added documentation for stopping of running processes.
16456
16457
164582006-11-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16459
16460 * src/highlighting.c, data/filetypes.java, data/filetypes.cpp,
16461   data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
16462   data/filetypes.pascal, data/filetypes.sql, data/filetypes.xml:
16463   Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a
16464   light blue.
16465
16466
164672006-11-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16468
16469 * src/keyfile.c, src/main.c:
16470   Fix a possible bug with g_file_test when opening files at startup.
16471   Show warning message on status bar if some session files couldn't be
16472   loaded, showing debug messages for each session file that fails.
16473
16474
164752006-11-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16476
16477 * src/utils.c, src/highlighting.c, src/utils.h, src/callbacks.c,
16478   src/sci_cb.c, src/document.c, src/symbols.c, src/ui_utils.c,
16479   src/symbols.h:
16480   Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
16481   static.
16482   Move symbols_get_global_keywords() to get_global_typenames() in
16483   highlighting.c.
16484   Add symbols_find_tags_as_string(), symbols_get_tag_list(),
16485   symbols_get_macro_list(), symbols_find_in_workspace() from various
16486   tag-related existing code.
16487 * src/ui_utils.c:
16488   Never show the Sidebar if app->show_sidebar is false (prevents
16489   showing Sidebar after setting Preferences, when user has chosen to
16490   hide the Sidebar).
16491 * src/utils.c, src/utils.h, src/about.c, src/callbacks.c,
16492   src/sci_cb.c, src/keyfile.c, src/search.c, src/encodings.c,
16493   src/document.c, src/prefs.c, src/gb.c, src/symbols.c:
16494   Rename utils_strcmp() utils_str_equal() (to avoid return value
16495   confusion with strcmp()).
16496
16497
164982006-11-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16499
16500 * src/treeviews.c: Fixed unintentional appearance of sidebar after it
16501                    was hidden and the preferences dialog was closed.
16502 * data/filetypes.common, src/highlighting.c:
16503   Added an option to draw an horizontal line above or below folded
16504   text.
16505 * src/dialogs.c: Don't set width of file open dialog.
16506
16507
165082006-11-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16509
16510 * src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c,
16511   src/dialogs.c, src/dialogs.h:
16512   Don't close any tabs when quitting until all unsaved changes have
16513   been accounted for; switch to each unsaved file before showing the
16514   unsaved dialog.
16515   Remove limit of ~256 chars for session filenames.
16516   Make dialogs_show_unsaved_file() fail if the Save As dialog was
16517   cancelled.
16518
16519
165202006-11-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16521
16522 * data/filetypes.java, src/highlighting.c:
16523   Added Java keywords true and false.
16524   Converted "NULL" to lower case.
16525 * src/sci_cb.c: Little code cleanup in brace_match().
16526
16527
165282006-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16529
16530 * src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
16531                 inserting '}'.
16532
16533
165342006-11-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16535
16536 * src/highlighting.c, src/highlighting.h:
16537   Applied patch from Bob Doan to do not set keywords for XML
16538   documents(thanks).
16539   Made styleset_markup() static.
16540
16541
165422006-11-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16543
16544 * src/search.c: Fix pressing enter to search from the Find dialog.
16545 * src/keyfile.c, src/keyfile.h, src/main.c:
16546   Make filetype_extensions.conf generation only available with a debug
16547   build of Geany.
16548 * src/filetypes.c, data/filetype_extensions.conf:
16549   Recognise *.xsl, *.xslt filenames for XML filetype.
16550   Recognise 'GNUmakefile' filename for Make filetype.
16551
16552
165532006-11-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16554
16555 * src/msgwindow.c:
16556   Don't set error indicators when clicking on an error message if the
16557   document has been modified.
16558 * src/notebook.c: Focus the current document after clicking on a tab.
16559 * src/utils.c, src/keybindings.c, src/callbacks.c, src/sci_cb.c,
16560   src/sciwrappers.c, src/search.c, src/sciwrappers.h, src/document.c,
16561   src/document.h:
16562   Scroll matching selection to 1/3 of the view when searching.
16563   Add sci_scroll_to_line(); remove sci_goto_line_scroll().
16564   Show 'not found' message on status bar also when enter is pressed in
16565   the search bar.
16566
16567
165682006-11-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16569
16570 * src/callbacks.c, src/dialogs:
16571   Run set includes build dialogs for LaTeX files modally, too.
16572
16573
165742006-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16575
16576 * src/highlighting.c, data/filetypes.perl, data/filetypes.pascal,
16577   data/filetypes.sh, data/filetypes.makefile, data/filetypes.ruby,
16578   data/filetypes.tcl:
16579   Make all remaining 0xff0000 comment styles darker using a common
16580   default comment style.
16581   Add some other generic styles (used only by C-like filetypes for
16582   now).
16583
16584
165852006-11-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16586
16587 * src/search.c: Changed tooltip of checkbox "Close dialog" to be more
16588                 descriptive.
16589 * src/keybindings.c: Changed keybinding for Print to Ctrl+P.
16590 * scintilla/LexBash.cxx: Fixed wrong detection of some words.
16591
16592
165932006-11-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16594
16595 * src/document.c: Prevent possible invalid memory read.
16596 * src/ui_utils.h, src/search.c, src/search.h, src/ui_utils.c,
16597   src/callbacks.c:
16598   Add Find Previous, Find All in File/Session buttons to the Find
16599   dialog.
16600   Move Find Usage code from on_find_usage1_activate to search.c.
16601   Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
16602 * src/utils.c: Prevent end of line char showing for current function.
16603 * src/search.c: Update Save All state after Replace in Session.
16604 * src/callbacks.c: Update Undo items when switching notebook pages.
16605
16606
166072006-10-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16608
16609 * src/sci_cb.c: Add extra indentation for Python after a colon.
16610 * tagmanager/latex.c, src/treeviews.c:
16611   Removed "begin" section in symbol list and sort it at environment.
16612
16613
166142006-10-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16615
16616 * geany.glade, src/interface.c, src/prefs.c, src/geany.h,
16617   src/keyfile.c, src/ui_utils.c, src/main.c:
16618   Added an Apply button to preferences dialog.
16619   New setting to show/hide the Quit toolbar item.
16620   New setting to show/hide notebook tabs.
16621 * src/document.c, src/treeviews.c, src/treeviews.h:
16622   Colour also the open files list items according to their changed
16623   state.
16624 * src/callbacks.c, src/callbacks.h, src/msgwindow.c, src/msgwindow.h,
16625   src/treeviews.c, src/treeviews.h, src/geany.h:
16626   Moved all treeview related callback functions from callbacks.c to
16627   msgwindow.c and treeviews.c.
16628 * src/document.c: Fixed bug when setting colour of open files list
16629                   entry on new, unnamed files.
16630
16631
166322006-10-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16633
16634 * src/ui_utils.c:
16635   Add temporary fix for sci infinite loop in Document::GetColumn(int)
16636   when current pos is beyond document end (can occur when removing
16637   blocks of selected lines especially brace sections near end of
16638   file).
16639
16640
166412006-10-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16642
16643 * doc/geany.docbook:
16644   Some small updates.
16645   Got rid of &app; entitity.
16646   Extended description of encoding support.
16647
16648
166492006-10-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16650
16651 * src/highlighting.c, src/filetypes.c, src/filetypes.h,
16652   data/filetypes.java, data/filetypes.cpp, data/filetypes.ferite,
16653   data/filetypes.c, data/filetypes.d:
16654   Add filetypes_get_conf_extension() and use in highlighting.c.
16655   Fix a memory leak in load_keyfiles().
16656   Group C-like default syntax in init_c_like_styleset().
16657   Make C-like comment colour darker; make globalclass brighter to
16658   distinguish it from word colour.
16659   Make Java use same default syntax highlighting colours as C.
16660 * src/utils.c:
16661   Limit parse depth to 500 chars when parsing C-like function name.
16662 * src/sci_cb.c:
16663   Find last unmatched open bracket for Show Calltip so nested matched
16664   brackets are ignored (except LaTeX).
16665
16666
166672006-10-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16668
16669 * src/keybindings.c, src/keybindings.h:
16670   Only accept editing keybindings when the current Scintilla widget
16671   has focus.
16672   Group editing keybindings together in cb_func_edit.
16673   Change keybinding callbacks to pass keybinding index as an argument.
16674
16675
166762006-10-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16677
16678 * src/document.c:
16679   When replacing tabs by space, prevent the scroll position changing,
16680   and fix a possible change of cursor position.
16681
16682
166832006-10-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16684
16685 * src/dialogs.c, src/dialogs.h, src/build.c, src/prefs.c, src/win32.c
16686   src/document.c:
16687   Added warning message dialog, united dialogs_show_info() and
16688   dialogs_show_error() to dialogs_show_msgbox().
16689 * src/document.c: Added warning message when opening files that cannot
16690                   be handled correctly and set them to read-only mode.
16691 * src/document.c, src/encodings.c, src/encodings.h, src/utils.c,
16692   src/utils.h: Moved utils_convert_to_utf8() and
16693                utils_convert_to_utf8_from_charset() to encodings.c.
16694
16695
166962006-10-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16697
16698 * src/build.c, src/socket.c: Fixed compiler warnings under Windows.
16699 * win32-config.h, src/dialogs.c:
16700   Use GTK's file open dialog also under Windows to have the extended
16701   options(kept old dialog code for optional use).
16702 * win32-config.h, src/dialogs.c, src/geany.h:
16703   Removed unneeded macro GEANY_MAX_TAGS_COUNT.
16704   Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
16705
16706
167072006-10-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16708
16709 * src/sciwrappers.h, src/sciwrappers.c, src/document.h,
16710   src/document.c:
16711   Fix setting document unchanged state when using Undo/Redo for
16712   encoding or BOM changes.
16713   Add sci_is_modified().
16714   Added useful doc() function used only when debugging.
16715 * src/search.c:
16716   Reorder Replace All buttons.
16717 * src/msgwindow.c src/callbacks.c:
16718   Change Messages and Compiler window to go to line with a single
16719   click instead of double click.
16720
16721
167222006-10-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16723
16724 * src/encodings.c, src/encodings.h, src/document.c, src/callbacks.c,
16725   src/dialogs.c: Added new encoding "None" to open files without any
16726                  character conversions (fixes #1580456).
16727 * src/callbacks.c: Don't allow changing the encoding or setting a BOM
16728                    if the file is read only.
16729
16730
167312006-10-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16732
16733 * src/geany.h, src/keyfile.c, src/main.c:
16734   Added configuration option for the alignment of toolbar quit button.
16735 * geany.glade, src/interface.c, src/geany.h, src/keyfile.c,
16736   src/main.c: Removed previously added configuration option and
16737               removed the right alignment of the toolbar quit button.
16738 * src/sci_cb.c, src/sci_cb.h, src/search.c:
16739   Let the Find, Replace and FIF dialogs use the word at current cursor
16740   position if there is no selection.
16741 * src/filetypes.c: Added shebang detection for D files (dmd).
16742 * src/callbacks.c, src/dialogs.c, src/document.c:
16743   Added drop down box to the file open dialog to select an encoding.
16744   Added possibility to open a file without any character set
16745   conversions (could already fix #1580456, have to be continued).
16746
16747
167482006-10-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16749
16750 * src/ui_utils.h, src/search.c, src/document.c, src/dialogs.c,
16751   src/document.h, src/ui_utils.c:
16752   Add separate Replace button, rename old button Replace & Find.
16753   Add expander to group Replace All options for Replace dialog.
16754   Use Replace All In Session button instead of checkbox.
16755   Add border, update packing for all dialogs in search.c.
16756   Add ui_dialog_vbox_new() for consistent dialog borders.
16757
16758
167592006-10-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16760
16761 * src/document.c:
16762   Make search bar automatically wraparound if necessary.
16763   Detect when Find has searched all text and display a 'not found'
16764   message on the status bar.
16765 * src/build.c: Remove unused argument.
16766 * src/callbacks.c, src/document.c, src/document.h:
16767   Rename document_find_next() document_search_bar_find().
16768 * src/msgwindow.h, src/dialogs.h, src/main.h:
16769   Add G_GNUC_PRINTF checks for variable argument function prototypes.
16770 * src/build.c, src/utils.c, src/highlighting.c, src/geany.h,
16771   src/callbacks.c, src/sci_cb.c, src/vte.c, src/search.c, src/main.h:
16772   Move geany_debug prototype to geany.h so that all files can use it
16773   without a dependency on main.h.
16774 * src/callbacks.c, src/main.c, src/main.h:
16775   Moved finalization code from destroyapp() to main_quit().
16776
16777
167782006-10-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16779
16780 * src/interface.c, src/main.c, geany.glade:
16781   Add drop-down recent files menu to Open toolbar button.
16782   Align quit toolbar button on the right.
16783   Move Colour Chooser, Word Count to Tools menu.
16784   Reorder Format, add Indent icons, edit Remove Indicators items.
16785
16786
167872006-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16788
16789 * src/build.c, src/about.c, src/dialogs.c:
16790   Added 6pt border, changed padding for all dialogs in dialogs.c;
16791   also allow ESC to close cancellable dialogs.
16792   Updated unsaved, LaTeX Set Arguments dialogs.
16793
16794
167952006-10-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16796
16797 * src/utils.c, src/treeviews.c, tagmanager/c.c:
16798   Use "::" as context separator only for C++, otherwise use ".".
16799   Detect module declarations in D and put them in the symbol list.
16800 * src/callbacks.c, src/geany.h, src/msgwindow.c, src/treeviews.c:
16801   Use enum values to reference different treeview widgets
16802   (code cleanup).
16803
16804
168052006-10-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16806
16807 * src/build.c, src/build.h, src/ui_utils.h, src/ui_utils.c,
16808   src/keybindings.c, src/callbacks.c, src/callbacks.h, src/document.c,
16809   src/main.c:
16810   Move build menu related functions and callbacks to build.c.
16811   Renamed ui_update_build_menu -> build_menu_update.
16812
16813
168142006-10-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16815
16816 * src/callbacks.c, src/filetypes.h, src/ui_utils.c:
16817   Disable Make All, Make Custom menu items for unnamed files.
16818   Allow Run and Make Object for C header files.
16819 * src/document.c:
16820   Fixed Undo/Redo setting the wrong document changed state when making
16821   edits after saving a file.
16822
16823
168242006-10-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16825
16826 * THANKS, configure.in, src/about.c:
16827   Added Italian translation (thanks to M. Baldinelli and
16828   Dario Santomarco).
16829
16830
168312006-10-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16832
16833 * src/keybindings.c: Change goto matching brace default keybinding to
16834                      CTRL-SHIFT-< (requires shift on some keyboards).
16835 * src/build.c, src/build.h, src/geany.h, src/callbacks.c:
16836   Don't overwrite Make Custom string when using Make Object.
16837   Move app->build_make_custopt to build_options struct in build.c.
16838 * src/build.c, src/build.h, src/msgwindow.c, src/callbacks.c,
16839   src/msgwindow.h:
16840   Move build_info struct to build.c and merge with build_options.
16841
168422006-10-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16843
16844 * src/ui_utils.c, src/treeviews.c:
16845   Improved symbol list view for filetype Java.
16846
16847
168482006-10-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16849
16850 * src/utils.c: Fix infinite loop from parsing current function name.
16851
16852
168532006-10-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16854
16855 * src/utils.c: Improved function name parsing to fix some invalid
16856                parsed function names.
16857
16858
168592006-10-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16860
16861 * src/utils.c:
16862   Fix parsing the current function name for Java.
16863   When the document is unedited, get the current function name from
16864   the previous function tag parsed by tagmanager.
16865   Don't update the current function if the cursor is 1 line from the
16866   previous call and the fold level is unchanged.
16867 * tagmanager/tm_workspace.c, tagmanager/include/tm_workspace.h:
16868   Backported tm_get_current_function() from Anjuta.
16869 * src/sciwrappers.c, src/sciwrappers.h:
16870   Added sci_get_last_child(), sci_get_fold_parent().
16871 * src/keyfile.c: Small fix for sign warning.
16872
16873
168742006-10-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16875
16876 * src/keyfile.c, src/geany.h: Removed hard limit of session files.
16877 * doc/geany.docbook: Updated section about session files limit.
16878 * tagmanager/makefile.win32, tagmanager/Makefile.am,
16879   tagmanager/parsers.h, tagmanager/diff.c, src/filetypes.c,
16880   src/treeviews.c: Added simple parser for filetype Diff to create
16881                    tags for each patched file in a diff file.
16882 * src/sci_wrappers.c: Added sci_find_bracematch().
16883 * src/keybindings.c: Added keyboard shortcut Ctrl+< to jump between
16884                      matching braces(closes #1571283).
16885 * doc/geany.docbook: Updated missing keybindings.
16886
16887
168882006-10-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16889
16890 * src/document.c: Connect only once to the "sci-notify" signal.
16891 * scintilla/CellBuffer.cxx, scintilla/Document.cxx,
16892   scintilla/include/Scintilla.h:
16893   Applied patch from Armel Asselin (thanks). It adds SC_START_ACTION
16894   notification which is required for Geany's new Undo system.
16895 * src/document.c, src/sci_cb.c, src/callbacks.c:
16896   Finished new Undo system. Now some more actions can be undone and
16897   also redone.
16898 * src/sci_cb.c: Got rid of goto usage and added auto completion for
16899                 monitor construct for filetype Ferite.
16900 * src/highlighting.c, data/filetypes.css:
16901   Fixed several highlighting errors, added new styles: identifier2,
16902   important and id.
16903
16904
169052006-10-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16906
16907 * src/win32.c, src/geany.h, src/callbacks.c, src/search.c,
16908   src/document.c, src/document.h, src/prefs.c, src/dialogs.c,
16909   src/main.c, src/ui_utils.c:
16910   Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
16911
16912
169132006-10-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16914
16915 * src/dialogs.c:
16916   Made string "Permissions" in the file property dialog translatable.
16917
16918
169192006-10-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16920
16921 * src/highlighting.c, data/filetypes.ferite: Added some new keywords.
16922 * src/sci_cb.c:
16923   Added auto completion for iferr construct for filetype Ferite.
16924 * src/socket.c:
16925   Added additional header files for compatibility with FreeBSD.
16926
16927
169282006-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16929
16930 * tagmanager/tm_source_file.c:
16931   Only parse tags once for simple parsers.
16932
16933
169342006-10-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16935
16936 * tagmanager/python.c: Improved Python parser to support nested classes.
16937 * src/filetypes.c, src/document.c:
16938   Implemented simple "shebang" detection. It is used prior to the
16939   filename extension detection.
16940 * src/highlighting.c, data/filetypes.latex:
16941   Changed foreground colour for LaTeX style "math" to differentiate it
16942   from the "comment" style.
16943
16944
169452006-10-04  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16946
16947 * src/ui_utils.c, src/main.c, src/document.c, src/callbacks.c:
16948   Renamed ui_build_show_hide() in ui_update_build_menu().
16949 * src/filetypes.c, src/ui_utils.c:
16950   Fixed crash when using "Make object" on new files(closes #1570818).
16951
16952
169532006-10-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16954
16955 * src/callbacks.c: Save configuration(i.e. list of open files) as late
16956                    as possible and save the filetype build commands
16957                    first shortly before quitting.
16958 * doc/geany.docbook, doc/geany.1.in, src/main.c, src/document.c:
16959   Reordered command line options alphabetically.
16960   Added new command line option --line to set the initial line for the
16961   first opened file.
16962 * data/filetypes.sh, src/highlighting.c: Added keyword "until".
16963
16964
169652006-10-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16966
16967 * src/templates.c:
16968   Added a blank line indent for templates D, HTML, PHP.
16969 * src/symbols.c, src/symbols.h, src/highlighting.c,
16970   src/makefile.win32, src/Makefile.am, po/POTFILES.in:
16971   Move global tags code to symbols.c.
16972   Added symbols_global_tags_loaded(), symbols_get_global_keywords().
16973 * src/callbacks.c, src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h,
16974   src/document.c:
16975   Change sci_get_line to return a NULL terminated string.
16976   Fix memory leak and possible invalid read in sci_cb_auto_latex().
16977
16978
169792006-10-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
16980
16981 * configure.in: Use datarootdir for defining paths to fix autoconf
16982                 2.60 problems(thanks to Christoph Berg for reporting).
16983
16984
169852006-10-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16986
16987 * src/callbacks.c, src/filetypes.c, src/filetypes.h, TODO:
16988   Save the build includes and arguments on quitting.
16989
16990
169912006-09-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
16992
16993 * src/highlighting.c, src/highlighting.h:
16994   Changed StyleSet struct to use Style array, which can use less
16995   memory. Added separate struct for the common style set. Also
16996   use a struct for tracking the loaded global tags files. Renamed
16997   some static functions.
16998 * src/document.c, src/ui_utils.c:
16999   Clear the symbol list when opening a file with no tags.
17000
17001
170022006-09-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17003
17004 * src/filetypes.c, data/filetype_extensions.conf:
17005   Added pattern *.agi for filetype Perl (closes #1567355).
17006 * doc/geany.docbook:
17007   Updated information for Debian and Gentoo packages.
17008 * New release: Geany 0.9 "Kintaro".
17009 * THANKS, src/about.c: Changed credits of topi.
17010
17011
170122006-09-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17013
17014 * src/vte.c: Change VTE word selection chars to include paths.
17015 * src/highlighting.c, data/filetypes.common:
17016   Only override the default Scintilla selection style if foreground
17017   and/or background flags are set in filetypes.common.
17018   Also increase the current line background brightness.
17019
17020
170212006-09-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17022
17023 * src/sci_cb.c: Fixed broken autocompletion for filetype PHP.
17024
17025
170262006-09-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17027
17028 * win32-config.h: Enabled socket code on Windows.
17029 * src/socket.c: Re-enabled the gtk_window_present() call for Windows
17030                 to pop up the main window.
17031 * src/utils.c, src/sci_cb.c:
17032   Enabled notification if file on disk has changed under Windows, it
17033   seems to work (closes #1557689).
17034
17035
170362006-09-26  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
17037
17038 * po/nl.po, THANKS, configure.in, src/about.c:
17039   Added Dutch translation (Thanks to Kurt De Bree).
17040
17041
170422006-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17043
17044 * src/main.c: Apply toolbar style on startup (Fixes #1563125).
17045 * src/build.c, src/geany.h:
17046   Prevent a segfault if the Terminal tool is not set.
17047   Use cmd.exe as default Terminal tool on Windows.
17048 * scintilla/makefile.win32, src/makefile.win32,
17049   tagmanager/makefile.win32, makefile.win32:
17050   Let make clean continue when a file can't be deleted.
17051
17052
170532006-09-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17054
17055 * src/ui_utils.c:
17056   Fix a bug when clicking on a recent file.
17057 * src/callbacks.c, src/sciwrappers.c:
17058   Prevent a partial selection on a line being deleted when using
17059   CTRL-I to indent; also improve CTRL-Shift-I unindenting. Closes
17060   #1557963.
17061
17062
170632006-09-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17064
17065 * src/sci_cb.c: Don't start autocompletion in strings and comments.
17066
17067
170682006-09-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17069
17070 * src/search.c, src/search.h:
17071   Add whole word only matching option for Find in Files.
17072   Add fixed string matching option for Find in Files.
17073   Make fixed string, case sensitive matching default for efficiency.
17074   Sort filenames passed to Grep alphabetically.
17075 * src/socket.c:
17076   Don't move Geany to the current desktop when opening files remotely.
17077
17078
170792006-09-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17080
17081 * src/dialogs.c, src/callbacks.c:
17082   Fixed compiler warnings and removed unnecessary signal handler.
17083
17084
170852006-09-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17086
17087 * src/templates.h, src/templates.c:
17088   Move all static strings from templates.h to templates.c.
17089 * src/sci_cb.c: Fix sign comparison warning.
17090 * src/utils.c, src/msgwindow.c:
17091   Improve utils_get_current_time_string().
17092 * src/ui_utils.c:
17093   Only reorder recent files menu when recent file loaded correctly.
17094   Reorder the recent file menu instead of recreating it.
17095
17096
170972006-09-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17098
17099 * src/ui_utils.h, src/ui_utils.c, src/callbacks.c, src/dialogs.c:
17100   Add ui_frame_new().
17101   Run set includes build dialogs modally, keeping the same filetype.
17102   Updated set includes & arguments dialog layout & text.
17103 * src/build.c: Don't print the g_spawn argv strings in build_run_cmd()
17104                on the status bar.
17105
17106
171072006-09-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17108
17109 * geany.glade, src/interface.c, src/callbacks.c, src/keybindings.c:
17110   Added menu items for toggle line commentation.
17111   Changed some mnemonics in the "format" submenu.
17112 * src/callbacks.c, src/keybindings.c:
17113   Added keyboard shortcuts for "Convert Selection to lower-case".
17114
17115
171162006-09-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
17117
17118 * data/pascal.tags: Adding data for unit x86.
17119
17120
171212006-09-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17122
17123 * src/socket.c: Made socket code for detecting running instances
17124                 working under Windows.
17125 * src/win32.c, src/ui_utils.c, src/dialogs.c:
17126   Fixed compile warnings under Windows.
17127 * src/highlighting.c: Fixed a typo.
17128 * src/callbacks.c, src/build.c, src/main.c, src/prefs.c,
17129   src/ui_utils.c: Implemented Run command (from the build menu) under
17130                   Windows, the other commands will follow somewhen.
17131
17132
171332006-09-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17134
17135 * src/sci_cb.c, src/keybindings.c, src/callbacks.c:
17136   Added comment toggle functionality to easily comment and uncomment a
17137   line with one shortcut (default Ctrl+B) (closes #1552184).
17138
17139
171402006-09-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17141
17142 * src/document.c, src/ui_utils.c:
17143   Reorder the recent files list if necessary when a file is
17144   (re)opened - closes #1552178.
17145 * src/msgwindow.c: Check msgwin visible before scrolling.
17146 * src/ui_utils.h, src/ui_utils.c, src/callbacks.c,
17147   src/callbacks.h, src/dialogs.c, src/dialogs.h, src/main.c:
17148   Move on_recent_file_activate, dialogs_create_recent_menu,
17149   dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
17150   ui_utils.c. Also make some functions static.
17151
17152
171532006-09-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17154
17155 * src/build.c, src/msgwindow.c, src/msgwindow.h:
17156   Show parsable errors in red; stderr and compile failure in dark red.
17157 * src/callbacks.c: Fix compilation problem with sci_cb_do_comment.
17158 * src/document.c: Quick fix for C89 compatibility.
17159 * src/msgwindow.c:
17160   Make C, C++, Ruby and Java error message parsing more tolerant so
17161   that linker errors are also parsed if debug line info is available.
17162   Group all gcc-like error message parsing information together.
17163 * src/msgwindow.c, src/msgwindow.h:
17164   Allow compiler and find messages to be added when the messages
17165   window is hidden.
17166   Add msgwin_show().
17167 * src/build.c:
17168   Show messages window on build failure.
17169   Show build success message on status bar if messages window hidden.
17170 * src/document.c:
17171   Use handle_forced_encoding(), handle_encoding() and handle_bom()
17172   when opening files.
17173
17174
171752006-09-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17176
17177 * src/socket.c, src/main.c, src/callbacks.c:
17178   Moved the socket code from main.c to socket.c.
17179 * src/document.c: Remove an unchanged empty document when loading a
17180                   new file (closes #1545129).
17181
17182
171832006-09-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17184
17185 * src/callbacks.c, src/document.c, src/ui_utils.c, src/sci_cb.c:
17186   Added own implementation of an Undo stack (not yet working).
17187 * src/utils.c, src/document.c:
17188   Convert tag names to UTF-8 before showing them in the sidebar.
17189 * src/document.c:
17190   Fixed a crash when a compiler output reports an error in a blank
17191   line(can happen in LaTeX). Thanks to Frank for reporting.
17192
17193
171942006-09-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17195
17196 * src/templates.c, src/document.c, src/filetypes.c:
17197   Added new file template for filetype HTML.
17198 * src/document.c, src/dialogs.c:
17199   Don't quit when an error occurs while saving changed files.
17200
17201
172022006-09-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17203
17204 * src/utils.c, src/utils.h, src/ui_utils.c, src/ui_utils.h,
17205   src/keybindings.c, src/about.c, src/treeviews.c, src/msgwindow.c,
17206   src/callbacks.c, src/notebook.c, src/sci_cb.c, src/keyfile.c,
17207   src/vte.c, src/document.c, src/prefs.c, src/main.c,
17208   po/POTFILES.in, src/Makefile.am, src/makefile.win32:
17209   Moved UI related utils from utils.c to ui_utils.c.
17210
17211
172122006-09-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17213
17214 * src/keyfile.c, src/main.c, src/main.h:
17215   Rename --no-socket, -s command-line option to --new-instance, -i.
17216   Add --no-session, -s command-line option to not load session files.
17217   Only save session when session files were loaded at startup.
17218 * doc/geany.docbook:
17219   Update command-line options and running instance behaviour.
17220 * src/callbacks.c, src/callbacks.h, src/sci_cb.c, src/sci_cb.h,
17221   src/keybindings.c, src/document.c:
17222   Move current_word and clickpos to editor_info struct in sci_cb.c.
17223   Move on_editor_button_press_event to sci_cb.c.
17224
17225
172262006-09-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17227
17228 * src/main.c: Open a new instance without loading session files if
17229               socket already exists and no filenames are specified
17230               on the command-line.
17231
17232
172332006-09-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17234
17235 * src/utils.c: Save All button is also active when only one file is
17236                changed(improves usability).
17237
17238
172392006-09-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17240
17241 * src/document.c, src/search.c:
17242   Escape special characters when shown in the status window after
17243   "Replace All" or replacing a selection.
17244   Set the focus to the replace entry widget when pressing the
17245   tabulator key in the find entry widget in the replace dialog.
17246   Set the focus to the find entry widget when pressing the tabulator
17247   key in the directory entry widget in the FIF dialog.
17248
17249
172502006-09-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17251
17252 * src/utils.c, src/sci_cb.c, src/main.c:
17253   Fixed C89 variable declaration and two sign comparison warnings.
17254 * src/document.c, src/document.h: Add document_get_current().
17255 * src/msgwindow.c:
17256   Use parse_file_line() for grep and compiler error messages.
17257   Add error message support for D, also for the GDC frontend.
17258
17259
172602006-09-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17261
17262 * src/document.c, src/dialogs.c, src/prefs.c, src/callbacks.c,
17263   src/interface.c, geany.glade: Fixed some typos.
17264 * src/filetypes.c, src/highlighting.c, src/keybindings.c,
17265   src/sci_cb.c, data/filetypes.html, data/filetype_extensions.conf,
17266   src/callbacks.c, src/msgwindow.c:
17267   Split filetype PHP/HTML into PHP and HTML.
17268
17269
172702006-09-01  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
17271
17272 * configure.in, po/vi.po:
17273   Added Vietnamese translation (Thanks Clytie Siddall).
17274 * THANKS, src/about.c: Added translator credits.
17275
17276
172772006-08-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17278
17279 * src/msgwindow.c, data/filetypes.ferite:
17280   Improved parsing compiler messages when using the ferite compiler.
17281   Added some primitives and improved compiler settings for Ferite.
17282
17283
172842006-08-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17285
17286 * configure.in, src/callbacks.c, src/geany.h, src/main.c:
17287   Removed the whole FIFO code and replaced it with support for
17288   (Unix Domain) Sockets(including Windows support, but not yet done).
17289 * src/vte.c, src/callbacks.c, src/document.c:
17290   Change the current working directory within the VTE also when a new
17291   file is saved.
17292
17293
172942006-08-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17295
17296 * src/sci_cb.c: Added auto completion for LaTeX command "begin".
17297
17298
172992006-08-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17300
17301 * geany.glade, src/interface.c: Fixed typo in a tooltip text.
17302 * THANKS, src/about.c: Added translator credits.
17303 * src/treeviews.c, src/utils.c:
17304   Fixed a crash when switching between several filetypes.
17305
17306
173072006-08-27  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
17308
17309 * configure.in, po/cs.po:
17310   Added Czech translation (Thanks Petr Messner).
17311
17312
173132006-08-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17314
17315 * tagmanager/parsers.h, tagmanager/c.c, data/filetype_extensions.conf,
17316   data/filetypes.diff, data/filetypes.ferite, src/highlighting.c,
17317   src/filetypes.c, src/msgwindow.c:
17318   Added new filetypes Diff and Ferite.
17319 * src/search.c: Applied patch from Stefan Oltmanns to add the
17320                 possibility to keep the Replace dialog open.
17321
17322
173232006-08-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17324
17325 * src/geany.h, src/main.c, src/utils.c:
17326   Fixed weird behaviour of Save all tool button and menu item.
17327 * src/document.c:
17328   Fixed missing styling settings on new files (needs to be tested).
17329   Now the filetype sub menu in the document file menu will be updated
17330   when the filetype is set by the filename on new files.
17331
17332
173332006-08-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17334
17335 * src/prefs.c, src/vte.c:
17336   Added new VTE settings to the preferences dialog.
17337   Improved ignore menu bar accelerator setting.
17338   Keep current working directory when restarting the VTE
17339   (happens when hitting Ctrl+C).
17340 * src/document.c: Added counter when using "Replace All" and display
17341                   the count of replacements in the status window.
17342
17343
173442006-08-23  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
17345
17346 * src/highlighting.c, data/pascal.tags:
17347   Added auto completion for PASCAL.
17348 * data/latex.tags: Update of catalog.
17349
17350
173512006-08-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17352
17353 * src/callbacks.c: Fix quit confirmation message with no files open.
17354
17355
173562006-08-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17357
17358 * src/vte.c, src/prefs.c, src/keyfile.c, src/utils.c:
17359   Save all VTE settings in an own VTE section in the configuration
17360   file instead of using an unhandy string list.
17361   Added new settings: ignore menu bar accelerator and define the shell
17362   which is started within the VTE.
17363   (Code not yet complete, might be buggy, GUI stuff is missing)
17364 * tagmanager/pascal.c: Added recognition for keyword "type".
17365
17366
173672006-08-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17368
17369 * src/images.c, src/notebook.c:
17370   Applied patch from Củ Văn Chuối to enlarge the tab close icon. This
17371   should fix some display issues.
17372 * scintilla/*: Updated Scintilla to version 1.71.
17373
17374
173752006-08-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17376
17377 * src/build.c, src/document.c, src/document.h, src/geany.h,
17378   src/highlighting.c, src/main.h, src/sci_cb.c, src/search.c,
17379   src/templates.c, src/utils.c, src/vte.c:
17380   Moved prototype for geany_debug() to main.h.
17381   Moved declaration of document struct to document.h.
17382 * src/sci_cb.c: Keep selection when commenting and uncommenting code.
17383
17384
173852006-08-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17386
17387 * src/callbacks.c, src/main.c:
17388   Fix opening more than one file from the command-line (with fifo).
17389 * src/geany.h, src/callbacks.c, src/Makefile.am, src/main.c,
17390   src/main.h:
17391   Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c.
17392   Prevent unnecessary 'does not look like a filename' debug messages.
17393   Added fifo_finalize().
17394 * src/geany.h, src/filetypes.h, document.h, src/highlighting.h,
17395   src/sci_cb.h, src/highlighting.c, src/sciwrappers.c:
17396   Remove filetypes.h and Scintilla includes from geany.h.
17397 * src/document.h: Add VALID_DOC_IDX macro.
17398 * src/utils.h, src/utils.c, src/callbacks.c, src/keybindings.c,
17399   src/sci_cb.h, src/sci_cb.c, src/dialogs.c, src/filetypes.h,
17400   src/filetypes.c:
17401   Move utils_brace_match to sci_cb.c.
17402   Move utils_find_current_word to sci_cb.c.
17403   Move utils_create_file_filter to filetypes.c.
17404
17405
174062006-08-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17407
17408 * geany.glade, src/interface.c, src/keybindings.c, src/utils.c,
17409   src/geany.h, src/callbacks.c, src/main.c, src/keyfile.c:
17410   Added menu items to insert configurable date/time strings.
17411 * src/dialogs.c, src/callbacks.c:
17412   Replaced dialogs_show_make_target() by dialogs_show_input() to have
17413   a general input dialog.
17414 * src/sci_cb.c:
17415   Comment already commented lines, too (re-closes #1521714).
17416
17417
174182006-08-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17419
17420 * src/callbacks.c: Fix a segfault at startup if terminal follow path
17421                    setting is enabled.
17422 * src/geany.h, src/callbacks.c, src/keyfile.c, src/vte.c, src/vte.h,
17423   src/prefs.c, src/main.c:
17424   Move HAVE_VTE MyApp settings to vte_info struct in src/vte.c.
17425 * src/vte.c, src/vte.h:
17426   Add vte_get_working_directory adapted from Terminal by os-cillation.
17427 * src/vte.c, src/keyfile.c: Remember the VTE current directory.
17428 * src/callbacks.c: Only send VTE cd command if directory is different.
17429
17430
174312006-08-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17432
17433 * src/document.c: Use codepage SC_CP_UTF8 because we use always
17434                   GTK even under Windows.
17435
17436
174372006-08-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17438
17439 * src/keyfile.c: Fix a small memory leak in configuration_load.
17440 * src/dialogs.c: Change Don't save button icon and add mnemonic.
17441 * src/main.c: Fix building on win32 - thanks to Củ Văn Chuối.
17442 * src/dialogs.c, src/dialogs.h:
17443   Add dialogs_show_question_full for custom buttons and extra text.
17444   Don't show message dialogs in the window manager taskbar.
17445 * src/utils.c: Use Reload button for utils_check_disk_status dialog.
17446 * src/callbacks.c: Improve Reload and Quit dialog.
17447                    Share on_reload_as_activate code for reloading.
17448* tagmanager/d.c, tagmanager/c.c, tagmanager/Makefile.am:
17449  Merged tagmanager/d.c with tagmanager/c.c, which also adds user
17450  function calltips support for D.
17451
17452
174532006-08-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17454
17455 * src/callbacks.c, src/callbacks.h, src/main.c:
17456   Move signal_cb to main.c.
17457 * src/main.c:
17458   Move main_init command line settings to parse_command_line_options.
17459   Use setup_paths, locale_init, parse_command_line_options,
17460   setup_config_dir in main().
17461 * src/msgwindow.c: Reorder widget lookup; ensure FIF dir is set.
17462 * src/main.c: Fix Show messages window checkbox state when -m used.
17463
17464
174652006-08-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17466
17467 * tagmanager/c.c: Backported calltips workspace support for C-like
17468                   user files from Anjuta.
17469 * src/keybindings.c, src/sci_cb.c, src/sci_cb.h:
17470   Return to showing calltips after successful autocompletion.
17471   Use separate functions for html and tag autocompletion.
17472
17473
174742006-08-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17475
17476 * src/callbacks.c:
17477   Made increase/decrease indentation working with selections.
17478   Keep the old cursor position when working on a single line
17479   (do not jump to line start).
17480 * src/sci_cb.c: Fixed "while" and "switch" autocompletion.
17481 * src/highlighting.c, data/filetypes.common, doc/geany.docbook:
17482   Use the filetype's default style(SCE_*_DEFAULT) as the main default
17483   style(STYLE_DEFAULT).
17484 * src/sci_cb.c: Improved HTML "<table>" auto completion to use the
17485                 indentation better.
17486 * src/filetypes.c, src/highlighting.c, src/msgwindow.c,
17487   data/filetypes.fortran, data/filetype_extensions.conf,
17488   scintilla/Makefile.am, scintilla/LexFortran.cxx,
17489   scintilla/KeyWords.cxx, tagmanager/fortran.c,
17490   tagmanager/Makefile.am, tagmanager/parsers.c:
17491   Added new filetype Fortran 77.
17492
17493
174942006-08-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17495
17496 * src/sci_cb.c: Applied patch from Jens Granseuer to fix build with
17497                 gcc 2.95 (closes #1539502).
17498 * src/build.c, src/geany.h, src/msgwindow.c, src/msgwindow.h,
17499   src/callbacks.c, src/search.c, src/search.h, src/main.c:
17500   Store build information instead of using app->cur_idx.
17501   Assume C-like warning messages when running make when the current
17502   file is a Makefile.
17503   Moved some msgwin setup and cleanup code to msgwindow.c.
17504 * src/utils.c, src/utils.h:
17505   Moved utils_parse_compiler_error_line to msgwindow.c.
17506
17507
175082006-08-13  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17509
17510 * src/document.c:
17511   Use wrappers for converting between utf8 and locale encoding.
17512   Fixed small memory leak.
17513 * src/vte.c: Added the GTK IM menu items to the VTE popup menu.
17514 * src/utils.c, src/dialogs.c, src/build.c, src/callbacks.c,
17515   src/search.c, src/keyfile.c: Use utf8/locale encoding wrappers.
17516 * data/filetypes.common, src/highlighting.c, src/geany.h,
17517   src/keyfile.c, src/prefs.c, src/document.c, src/interface.c,
17518   geany.glade, doc/geany.docbook:
17519   Added colour values for indentation guides and white space.
17520   Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option
17521   in the preferences dialog.
17522 * src/sciwrappers.c: Added sci_set_autoc_max_height().
17523
17524
175252006-08-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17526
17527 * src/document.c:
17528   Removed unnecessary code in document_replace_tabs().
17529   Really take tab width when replacing instead of using width = 4.
17530 * src/Makefile.am: Applied patch from Fryderyk Dziarmagowski to fix
17531                    build problem with linker flag "-Wl,--as-needed"
17532                    (closes #1539239).
17533
17534
175352006-08-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17536
17537 * src/search.c: Enable case sensitive when regex search enabled.
17538                 Some label text changes for the dialogs.
17539                 Use hbox packing in Find and Find in files dialogs.
17540                 Add select directory button for Find in files.
17541 * src/utils.c, src/utils.h:
17542   Add wrappers for converting between utf8 and locale encoding.
17543
17544
175452006-08-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17546
17547 * src/keybindings.c, src/geany.h, src/callbacks.c, src/callbacks.h,
17548   src/search.c, src/search.h, src/dialogs.c, src/main.c,
17549   src/dialogs.h: Group search related code.
17550
17551
175522006-08-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17553
17554 * src/document.c:
17555   Changed SEARCH_NOT_FOUND_TXT.
17556   Fixed possible segfault when replacing tabs by spaces.
17557 * tagmanager/python.c: Fixed wrong classification of local functions
17558                        as methods(thanks to Sebastian Koch).
17559 * src/sci_cb.c: Fixed segfault when try to (un)comment some code and
17560                 no filetype is set(reported by John Gabriele).
17561
17562
175632006-08-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17564
17565 * doc/geany.docbook:
17566   Removed section about global ctags, the information were obsolete.
17567   Added section about file encodings and the Unicode Byte-Order-Mark.
17568 * doc/images/*: Updated screenshots.
17569 * New release: Geany 0.8 "Kadir".
17570
17571
175722006-08-09  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17573
17574 * src/main.c: Add startup debug message showing GTK+ runtime version.
17575 * src/notebook.c: Use native tab DnD reordering on GTK+ 2.10; closes
17576                   #1519650.
17577
17578
175792006-08-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17580
17581 * src/notebook.c: Fixed GTK 2.6 workaround for DnD tab reordering so
17582                   it works on the first attempt.
17583 * src/utils.c, src/highlighting.c, src/geany.h, src/treeviews.c,
17584   src/callbacks.c, src/keyfile.c, src/encodings.c, src/dialogs.c:
17585   Fixed all sign comparison warnings.
17586
17587
175882006-08-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17589
17590 * src/callbacks.c: Applied patch from Củ Văn Chuối to re-enable
17591                    XIM support. Thanks!
17592
17593
175942006-08-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17595
17596 * src/callbacks.c: Allow Find even when the replace text is the same.
17597                    Place the cursor in "" for insert blank include.
17598 * src/utils.c, src/utils.h, src/callbacks.c, src/document.c:
17599   Move recent file item to the top when it is clicked on.
17600
17601
176022006-08-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17603
17604 * doc/geany.docbook:
17605   Improved search section; added all find and go to commands.
17606   Added Filetype extensions section.
17607   Grouped configuration file sections into a chapter.
17608
17609
176102006-08-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17611
17612 * src/callbacks.c: Allow partial word selection for Find Usage.
17613 * src/keyfile.c, src/filetypes.c, src/filetypes.h:
17614   Use unique filetype id in geany.conf to avoid new filetype problems.
17615   Make unique id numbers compatible with Geany 0.7 filetype order.
17616 * src/highlighting.c: Fix loading Perl, TCL system config files first.
17617
17618
176192006-08-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17620
17621 * src/callbacks.c, src/callbacks.h, src/dialogs.c:
17622   Disable word and word start matching when regexes are enabled.
17623   Don't hide the Find dialog after searching; use Close button.
17624 * src/filetypes.c: Set radio item None for new files.
17625
17626
176272006-08-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17628
17629 * geany.glade, src/callbacks.c, src/filetypes.c, src/filetypes.h,
17630   src/encodings.c, src/encodings.h, src/interface.c, src/utils.c:
17631   Made document related submenus(filetype, encoding, line endings)
17632   radio buttons for better usability.
17633
17634
176352006-08-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17636
17637 * src/utils.c, src/utils.h, src/sci_cb.c:
17638   Wrap calltip and prevent it obscuring the current line.
17639
17640
176412006-08-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17642
17643 * src/callbacks.c:
17644   Don't set file as changed when changing encoding to the same one.
17645 * src/document.c, src/callbacks.c, dialogs.c:
17646   Fixed wrong behaviour of Save As on unchanged files.
17647
17648
176492006-08-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17650
17651 * geany.glade, src/interface.c, src/callbacks.c, src/keybindings.c,
17652   src/main.c, src/sciwrappers.c:
17653   Added some menu items to the edit menu for editing tasks.
17654   Added keyboard shortcuts for increase/decrease of line indentation
17655   (closes #1521717).
17656
17657
176582006-08-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17659
17660 * src/interface.c, src/utils.c, src/utils.h, src/callbacks.c,
17661   src/keyfile.c, src/document.c, src/prefs.c, geany.glade:
17662   Added Auto indentation and Line wrapping options to Preferences
17663   dialog. Split up Miscellaneous items into Display and Features.
17664   Renamed Change Selection and Run toolbutton.
17665 * src/keyfile.c: Change default for removing trailing spaces to off.
17666 * src/callbacks.c: Clear search flags when using find toolbar entry.
17667                    Removed some unnecessary static variables.
17668 * document.c, document.h, prefs.c:
17669   Apply the tab width setting for new documents.
17670 * src/keyfile.c, data/filetype_extensions.conf, Makefile.am:
17671   Install a system filetype_extensions.conf which can be overridden.
17672 * src/filetypes.c data/filetype_extensions.conf:
17673   Add Make pattern to recognise makefile*.
17674 * src/keyfile.c, src/keyfile.h, src/main.c:
17675   Add hidden option -g to generate filetype_extensions.conf.
17676
17677
176782006-07-31  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17679
17680 * src/keybindings.c, src/sci_cb.c:
17681   Added functionality to uncomment code and added keyboard shortcut
17682   Ctrl+Shift+D for this (closes #1521714).
17683
17684
176852006-07-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17686
17687 * doc/geany.docbook, data/filetypes.common, src/.c:
17688   Added style to change the colour of the caret(closes #1530486).
17689
17690
176912006-07-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17692
17693 * src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/search.c:
17694   Remember Find in files directory for opening grep results.
17695 * Makefile.am: Add win32 build files to EXTRA_DIST.
17696
17697
176982006-07-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17699
17700 * src/search.c, src/callbacks.c, src/dialogs.c:
17701   Added some options to the Find in files dialog, made search
17702   directory editable.
17703
17704
177052006-07-28  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17706
17707 * src/sciwrappers.h: Set PLAT_GTK before including ScintillaWidget.h.
17708 * src/Makefile.am, geany_windres.rc.in: Correct a typo.
17709 * scintilla/makefile.win32, src/makefile.win32, makefile.win32,
17710   tagmanager/makefile.win32, win32-config.h, geany_private.rc:
17711   Add makefiles for building on win32.
17712
17713
177142006-07-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17715
17716 * src/sciwrappers.c, src/callbacks.c, src/utils.c, src/dialogs.c,
17717   src/keybindings.c:
17718   Removed unused colour parsing functions.
17719   Let the colour chooser pick the colour under the cursor.
17720 * data/filetypes.*, src/highlighting.c, src/utils.c:
17721   Fixed bug in parsing strings containing hex values, modified the
17722   styles to keep the syntax highlighting consistent.
17723 * src/main.c: Removed startup warning.
17724 * src/geany.h, src/main.c: Added Select All item to sensitive buttons.
17725 * src/win32.c, src/dialogs.c, src/callbacks.c:
17726   Let the colour chooser pick the colour under the cursor(Win32 code).
17727   Added some sanity checks.
17728
17729
177302006-07-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17731
17732 * src/Makefile.am: Added target to remove geany_res.res when cleaning.
17733 * src/geany.h, src/main.c, src/callbacks.c, src/highlighting.c,
17734   src/document.c, src/dialogs.c, src/prefs.c, src/utils.c,
17735   src/win32.c, src/keybindings.c, src/gb.c, src/about.c:
17736   Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
17737   Introduced global variables for PACKAGE_DATA_DIR and
17738   PACKAGE_LOCALE_DIR, removed macro DOCDIR
17739   (these changes are important for the Windows port).
17740
17741
177422006-07-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17743
17744 * src/win32.c: Don't add .c extension for All files filter.
17745                Only set open tool dialog path if it exists.
17746 * src/keybindings.c: Use CTRL-SHIFT-space for Windows show calltips.
17747 * src/prefs.c: Never show compile & run toolbuttons on Windows and
17748                hide the prefs option to show them.
17749 * src/main.c: Disable the Compiler tab instead of hiding it so that
17750               messages window tabs have the right index on switching.
17751 * src/utils.c: Only replace untitled.x within the first 2 lines.
17752
17753
177542006-07-25  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17755
17756 * src/encodings.c, src/document.c, src/keyfile.c, src/main.c:
17757   Save default encoding for new files as charset string.
17758 * src/filetypes.c: Reordered the filetypes (just a cosmetic change).
17759 * src/win32.c, src/utils.c:
17760   Removed title argument from win32_message_dialog because it is
17761   defined by the dialog type.
17762   Added simple wrapper function win32_open_browser().
17763 * src/dialogs.c, src/main.c, src/document.c, src/callbacks.c:
17764   Removed some unneeded functions to avoid duplicate code.
17765 * src/callbacks.c:
17766   Fixed broken Find usage.
17767   Put "No matches" message also in the message window.
17768 * Makefile.am, geany_windres.rc, configure.in, src/Makefile.am,
17769   scintilla/Makefile.am, src/callbacks.c, tagmanager/tm_work_object.c,
17770   tagmanager/ctags.c, tagmanager/get.c:
17771   Small changes to get cross compiling using mingw32 suite working.
17772 * tagmanager/get.c: Applied patch to fix building with gcc 2.95
17773                     (closes #1528516, thanks).
17774
17775
177762006-07-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17777
17778 * src/geany.h, tagmanager/strlist.c, tagmanager/tm_project.c,
17779   tagmanager/parse.c, tagmanager/general.h, tagmanager/ctags.c,
17780   tagmanager/tm_workspace.c: Fixed some cross compiling/Win32 issues.
17781 * geany.glade, src/callbacks.c, src/document.c, src/interface.c,
17782   src/main.c:
17783   Added menu item to the document menu to add/remove BOM.
17784   Replaced switch_notebook_page by ignore_callback flag.
17785 * src/win32.c, src/dialogs.c:
17786   Convert Unicode strings to wide characters to avoid weird display.
17787 * src/document.c: Set CR/LF as EOL mode on new files on Windows.
17788
17789
177902006-07-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17791
17792 * src/geany.h: Use generic font names & increase the default size.
17793 * src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8.
17794 * src/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S.
17795 * src/dialogs.c: Wait for Save as dialog to run before closing tab.
17796
17797
177982006-07-23  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17799
17800 * src/build.c: Search terminal program in PATH (closes #1527203).
17801 * src/documents.c: Fixed some mistakes from last commit.
17802 * src/dialogs.c, src/utils.c, src/document.c, src/geany.h:
17803   Renamed document element unicode_bom in has_bom.
17804 * src/callbacks.c:
17805   Let Find usage search for the current selection if there is one.
17806
17807
178082006-07-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17809
17810 * src/dialogs.c: Make Find and Replace dialogs more compact.
17811 * src/treeviews.c: Fix a warning when updating open files treeview.
17812
17813
178142006-07-22  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17815
17816 * src/callbacks.c, src/utils.c, src/document.c, src/encodings.c,
17817   src/geany.h, src/main.c, src/dialogs.c, geany.glade,
17818   src/interface.c, src/sci_cb.c, src/keyfile.c:
17819   Added Unicode BOM detection.
17820   Added "Reload as" menu item to force opening a file with a specified
17821   encoding(both were patches from Stefan Oltmanns).
17822 * src/callbacks.c: Fixed two issues when showing / hiding the sidebar.
17823 * src/filetypes.c: Added *.cfg as extension for config files.
17824 * src/treeviews.c, src/notebook.c:
17825   Keep the list of open files in sync when reordering notebook tabs.
17826
17827
178282006-07-21  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17829
17830 * src/dialogs.c: Prevent using Find in files for unnamed files.
17831
17832
178332006-07-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17834
17835 * src/geany.h, src/main.c, src/callbacks.c:
17836   Introduced app->ignore_callback to ignore callback actions when
17837   changing the state of GUI elements.
17838 * geany.glade, src/interface.c, src/main.c, src/callbacks.c,
17839   src/utils.c, src/prefs.c, src/keybindings.c:
17840   Added menu item View->Show Sidebar and improved code around it.
17841
17842
178432006-07-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17844
17845 * src/highlighting.c: Unset fold.compact setting.
17846
17847
178482006-07-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17849
17850 * TODO: Added 3 more items discussed on the ML.
17851 * doc/scikeybinding.docbook: Commented out some keys not working.
17852 * src/dialogs.c: Share find/replace common checkbox setup code.
17853 * src/build.c, src/build.h, src/sciwrappers.h, src/dialogs.c,
17854   src/dialogs.h: Don't include geany.h.
17855 * src/geany.h, src/callbacks.h: Moved GEANY_RESPONSE_* to callbacks.h.
17856 * src/callbacks.c, src/document.c, src/document.h, src/dialogs.c:
17857   Added Find button to Replace dialog to skip a match.
17858   Change Replace button to find first & use current selection.
17859   Ask whether to wraparound when replacing and no next match is found.
17860
17861
178622006-07-19  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17863
17864 * src/highlighting.c, data/filetypes.common:
17865   Highlighting of current line can be disabled.
17866 * geany.glade, src/interface.c: Fixed typo.
17867 * src/utils.c, src/callbacks.c, src/dialogs.c:
17868   Improved replacing escape sequences in Find and Replace dialog
17869   (thanks to Stefan Oltmanns).
17870
17871
178722006-07-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17873
17874 * src/sciwrappers.c, src/sciwrappers.h, src/document.c:
17875   Fix replacing the right length of text matched from a regex.
17876   Add support for back references when replacing with regex.
17877   Improve the speed of replace all/replace in selection.
17878   Don't lose the selection range after replacing in selection.
17879 * src/callbacks.c, src/callbacks.h, src/document.c, src/dialogs.c,
17880   doc/geany.docbook:
17881   Use more POSIX-like syntax for regular expression bracket matching.
17882   Prevent searching backwards with a regex (unsupported).
17883   Scroll in view after the last replacement for replace all/selection.
17884
17885
178862006-07-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17887
17888 * src/dialogs.c, src/callbacks.c:
17889   Added option to replace escape sequences in Find and Replace dialog.
17890 * doc/Makefile.am: Reverted last change, we want to use xmlto.
17891 * src/encodings.c: Restored original order of the encodings, kept the
17892                    sorted order in the document menu.
17893 * src/notebook.c:
17894   Compile notebook_motion_notify_event_cb() only with GTK 2.6 (again).
17895 * src/about.c: Made "built on" string translatable.
17896
17897
178982006-07-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17899
17900 * doc/scikeybinding.docbook, doc/geany.docbook, doc/geany_gpl.docbook:
17901   Moved external appendix elements to geany.docbook to validate ok.
17902
17903
179042006-07-17  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17905
17906 * src/utils.c, src/document.c, src/callbacks.c:
17907   Moved document related functions from utils.c to document.c.
17908   Keep cursor position when replacing tabs by spaces.
17909 * doc/geany.xsl: Added UTF-8 as default encoding.
17910 * doc/Makefile.am: Replaced xmlto command by xsltproc.
17911 * doc/geany.docbook: Added reference for the GPL appendix.
17912
17913
179142006-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17915
17916 * src/encodings.c:
17917   Reordered encodings in the file menu, divided into subregions.
17918 * geany.glade, src/interface.c: Added missing mnemonics to file menu.
17919 * src/document.c: Added filename to an error message.
17920 * src/encodings.c: Removed function encodings_get_encodings().
17921 * src/utils.c: Simplified locale detection and little speed up.
17922 * src/main.c, src/document.c, src/geany.h:
17923   Removed code for alternative scrolling(it was not better).
17924 * src/sci_cb.c, src/callbacks.c, src/utils.c, src/highlighting.c,
17925   src/main.c, data/html_entities.tags, Makefile.am:
17926   Moved HTML entities from sci_cb.h to data/html_entities.tags.
17927
17928
179292006-07-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17930
17931 * doc/scikeybinding.docbook, doc/geany.docbook:
17932   Added Scintilla keyboard commands appendix taken from the SciTE
17933   documentation section 'Keyboard Commands'.
17934
17935
179362006-07-15  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17937
17938 * src/keybindings.c, src/sci_cb.c:
17939   Show auto completion list immediately when called by a keybinding.
17940 * geany.glade, src/interface.c, src/prefs.c, src/geany.h,
17941   src/keyfile.c, src/utils.c:
17942   Toolbar items for file operations can also be hidden.
17943
17944
179452006-07-15  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17946
17947 * keybindings.c, keybindings.h: Add keybinding for Find in files.
17948 * doc/geany.docbook: Updated Make command names and keybindings.
17949 * src/vte.c: Fix applying vte settings on startup and prevent the
17950              message window vertical scrollbar being hidden.
17951
17952
179532006-07-14  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17954
17955 * src/search.c: Give accurate message on finishing finding in files.
17956 * src/callbacks.c: Use locale encoding for Find in files and
17957                    remember previous searches.
17958
17959
179602006-07-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17961
17962 * src/filetypes.c, src/highlighting.c, tagmanager/tm_tag.c,
17963   tagmanager/tm_workspace.c: Fixed autocompletion for filetype C++.
17964 * src/utils.c: Removed unneeded functions:
17965   utils_glist_strings_free() and utils_glist_from_string().
17966 * src/encodings.c: Fixed wrong charset detection on UTF-8
17967                    (and maybe other) systems.
17968
17969
179702006-07-13  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17971
17972 * src/build.c, src/interface.c, src/utils.c, src/utils.h, src/geany.h,
17973   src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/callbacks.h,
17974   src/keyfile.c, src/search.c, src/search.h, src/prefs.c,
17975   src/dialogs.c, src/main.c, src/dialogs.h, src/Makefile.am,
17976   geany.glade: Added basic Find in files search functionality.
17977
17978
179792006-07-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
17980
17981 * src/dialogs.c: Moved dialogs_show_prefs_dialog() to src/prefs.c.
17982 * geany.glade, src/interface.c, src/vte.c, src/prefs.c, src/dialogs.c,
17983   src/geany.h, src/main.c, src/callbacks.c, src/keybindings.c,
17984   src/keyfile.c, src/utils.c:
17985   Improved toolbar popup menu.
17986   Added new preferences tab for toolbar settings, several toolbar
17987   buttons can be hidden.
17988   Added Undo and Redo toolbar buttons (closes request #1519261).
17989 * src/sci_cb.c, src/keybindings.c:
17990   Added return value and tag name to the calltip.
17991
17992
179932006-07-11  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
17994
17995 * src/main.c: Prefix command-line opened files with the current
17996               directory so relative paths will work better.
17997
17998
179992006-07-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18000
18001 * src/sci_cb.c: Autocompletion only works on blank lines.
18002 * src/callbacks.c, src/dialogs.c:
18003   Added "Replace in all open files" option in the replace dialog.
18004
18005
180062006-07-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18007
18008 * tagmanager/d.c, tagmanager/Makefile.am, tagmanager/parsers.h,
18009   src/filetypes.c, src/highlighting.c, src/utils.c, src/build.c,
18010   src/templates.c, data/filetypes.d:
18011   Added new filetype D(patch by Christoph Berg, thanks).
18012
18013
180142006-07-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18015
18016 * src/keyfile.c: Fix saving the terminal tool on quitting.
18017 * src/keyfile.c, src/main.c:
18018   Improve switching out of fullscreen after startup.
18019
18020
180212006-07-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18022
18023 * src/encodings.c: Made encoding descriptions translatable.
18024 * src/notebook.c:
18025   Compile notebook_motion_notify_event_cb() only with GTK 2.6.
18026
18027
180282006-07-07  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18029
18030 * src/prefs.c: Fixed bug when saving VTE settings.
18031 * src/keybindings.c, src/utils.c, src/callbacks.c, src/geany.h,
18032   src/prefs.c, src/keyfile.c:
18033   Improved behaviour of toggle sidebar after a restart.
18034   Introduced new flag sidebar_visible, renamed configuration keys.
18035
18036
180372006-07-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18038
18039 * src/keybindings.c, src/keybindings.h, src/dialogs.c:
18040   Add keybinding for Make object, update Make descriptions.
18041
18042
180432006-07-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18044
18045 * src/sciwrappers.c: Make sci_goto_line_scroll work better with
18046                      line wrapping and folding.
18047 * src/callbacks.c, src/dialogs.c:
18048   Add Make object command to compile the current file.
18049   Added some separators and renamed Build with make items.
18050
18051
180522006-07-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18053
18054 * src/utils.c, src/dialogs.c:
18055   Fix a problem with the recent files menu.
18056 * src/utils.c, src/sciwrappers.c, src/sciwrappers.h:
18057   Scroll to 1/4 of visible lines when going to a line number.
18058
18059
180602006-07-03  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18061
18062 * doc/Makefile.am: Fixed wrong dependency in target 'install'.
18063
18064
180652006-07-02  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18066
18067 * src/callbacks.c, src/msgwindow.c, src/utils.c:
18068   Improved "Find usage", so it displays not "null" for unsaved files
18069   in the results, and unsaved file are also clickable.
18070 * geany.glade, src/interface.c, src/geany.h, src/keyfile.c,
18071   src/prefs.c, src/dialogs.c, src/main.c:
18072   Little redesign of the preferences dialog.
18073   New options for setting the placement of notebook tabs.
18074 * doc/Makefile.am: Minor improvements.
18075 * src/keyfile.c, src/geany.h, src/prefs.c, src/vte.c, src/callbacks.c,
18076   src/dialogs.c: Added option to disable the VTE follows path feature.
18077 * THANKS, configure.in, src/about.c: Added new Portuguese translation.
18078
18079
180802006-07-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18081
18082 * src/callbacks.c: For Find Usage, ignore unnamed files.
18083
18084
180852006-07-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18086
18087 * src/document.c, src/keybindings.c: Added shortcut for Select All.
18088 * src/main.c: Deiconify the main window when a new file is opened from
18089               the named pipe.
18090 * src/geany.h, src/keyfile.c: Moved some default values to geany.h.
18091 * doc/geany.docbook.c, doc/html/*:
18092   Added documentation for indicators and printing support.
18093   Updated keybindings actions and compile time options.
18094
18095
180962006-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18097
18098 * src/notebook.c: Don't prevent notebook tab focus because this
18099                   disables the notebook arrows.
18100 * src/callbacks.c: Prevent a segfault if the VTE has not been loaded.
18101 * src/utils.c, src/utils.h, src/msgwindow.c:
18102   Add utils_get_current_time_string and fix getting the time string.
18103 * src/utils.c, src/utils.h, src/callbacks.c:
18104   Fix a segfault on Go to tag defn/decl if no files have tags.
18105   Add utils_find_tm_tag.
18106 * src/keyfile.c: Save the toolbar icon size when quitting.
18107                  Set large toolbar icons by default.
18108 * src/keyfile.c: Use the user settings for toolbar icon size & style.
18109
18110
181112006-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18112
18113 * src/vte.c, src/callbacks.c:
18114   Change the path in the VTE widget when switching between files
18115   according to the path of the current file.
18116   Process the switch_page callback only once.
18117 * src/callbacks.c: Finally fixed the second call of the switch_page
18118                    callback.
18119 * geany.glade, src/interface.c, src/callbacks.c, src/sci_wrappers.c:
18120   Added "Select All" menu item.
18121 * geany.glade, src/interface.c, src/document.c, src/sci_wrappers.c,
18122   src/prefs.c, src/geany.h:
18123   Improved settings for the long line marker, it can now be easily
18124   disabled or set to highlight the background of too long lines.
18125
18126
181272006-06-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18128
18129 * src/utils.c, src/utils.h, src/win32.c, src/callbacks.c,
18130   src/document.c, src/prefs.c:
18131   Apply fonts in Preferences when they are set and only if they have
18132   changed. Rename utils_set_font to utils_set_editor_font.
18133
18134
181352006-06-29  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18136
18137 * src/geany.h, src/build.c, src/callbacks.c, src/keyfile.c,
18138   src/utils.c, src/prefs.c:
18139   Renamed tools settings from build_* in tools_*.
18140 * src/main.c:
18141   Ignore SIGPIPE to prevent crashes when running external programs.
18142 * src/geany.h, src/dialogs.c, src/callbacks.c, src/keyfile.c,
18143   src/utils.c, src/prefs.c, geany.glade, src/interface.c,
18144   src/keybindings.c, src/document.c:
18145   Implemented simple printing support.
18146 * src/utils.c: Added function is_opening_brace().
18147 * src/sci_cb.c:
18148   Use is_opening_brace() for better handling of calltips.
18149 * src/callbacks.c:
18150   Create a new tm_source_file object if a file is renamed, otherwise
18151   tagmanager won't work correctly.
18152
18153
181542006-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
18155
18156 * src/utils.c, src/keyfile.c: Fixed weird behaviour of the recent
18157                               files list.
18158 * src/document.c:
18159   Fixed a small typo.
18160   Skip converting from UTF-8 in UTF-8 when saving.
18161   Show an error messages dialog if the conversion into an encoding
18162   failed.
18163
18164
181652006-06-27  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18166
18167 * data/filetypes.php, data/filetypes.pascal, src/callbacks.c,
18168   src/build.c: Parse stdout of compiler output too.
18169 * src/utils.c, data/filetypes.latex:
18170   Add support for parsing compiler output for LaTeX with latex's
18171   --file-line-error-style command line argument.
18172   Removed unneeded function utils_free_ptr_array().
18173 * src/sci_cb.c: Fixed a crash when auto completion or call tips are
18174                 used if no filetype was set. Added some sanity checks.
18175
18176
181772006-06-27  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18178
18179 * src/geany.h, src/keyfile.c:
18180   Add recent files items in the same order as they were saved.
18181   Remove app->recent_files and use g_strfreev in keyfile.c.
18182 * src/utils.c, src/utils.h, src/msgwindow.c:
18183   Make Status messages override the document statistics using
18184   utils_set_statusbar; don't use a fixed buffer for statistics.
18185
18186
181872006-06-26  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18188
18189 * src/sci_cb.c: Fixed broken auto completion for switch().
18190 * src/document.c: Reload also the symbol list when reloading a file.
18191 * src/treeviews.c: Changed some titles to plural. Added own
18192                    definitions for filetype Python.
18193 * src/filetypes.c, tagmanager/make.c: Add mk pattern for Makefile.
18194 * tagmanager/tm_source_file.c: Fixed bug which prevented tag creation
18195                                for the first opened file.
18196 * src/document.c, src/callbacks.c: Removed unused code.
18197 * tagmanager/sh.c: Fixed missing tags beginning with underscore.
18198 * tagmanager/get.c: Fixed problem in preprocessor directive handling.
18199 * tagmanager/c.c: Fixed identification of prototypes of functions
18200                   returning wchar_t * without the extern keyword.
18201
18202
182032006-06-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18204
18205 * src/document.c: Fix a possible segfault on quitting caused by
18206                   processing GTK messages before status messages.
18207
18208
182092006-06-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18210
18211 * README, doc/geany.docbook: Added license notice Scintilla.
18212 * src/callbacks.c, src/keybindings.c:
18213   Remember the active page when toggling the sidebar. Simplified code
18214   for toggling messages window.
18215 * tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
18216   Fixed wrong line numbers for found tags.
18217
18218
182192006-06-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18220
18221 * src/notebook.c, src/notebook.h, src/document.c, src/callbacks.c,
18222   src/callbacks.h:
18223   Enable drag reordering of tabs for GTK+2.8, and a temporary
18224   workaround for GTK+2.6.
18225   Add notebook_new_tab and update document_create_new_sci to use it;
18226   also remove on_tab_close_clicked.
18227 * src/notebook.c: Fix close tab button bug introduced in last commit.
18228 * src/callbacks.c, src/utils.c:
18229   Add clipboard functionality for find and go to line widgets,
18230   and Scribble widget.
18231
18232
182332006-06-24  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18234
18235 * src/utils.c: Replaced 'blank' by 'include "..."'. Fixed a bug in
18236                utils_brace_match() which prevents correctly matching.
18237 * src/document.c, src/sci_cb.c, src/filetypes.c:
18238   Made auto completion work only for the current filetype
18239   (i.e. it hides symbols from other filetypes).
18240 * tagmanager/options.c, tagmanager/parse.c: Removed unneeded code.
18241 * tagmanager/tm_workspace.c, tagmanager/tm_source_file
18242   tagmanager/tm_tag.c, tagmanager/tm_project, tagmanager/parsers.h,
18243   tagmanager/tm_file_entry.c, tagmanager/entry.c, src/highlighting.c,
18244   data/latex.tags, data/php.tags, Makefile.am:
18245   Added global auto completion tags for PHP and LaTeX.
18246 * src/keybindings.c, src/callbacks.c, src/sci_cb.c, src/main.c,
18247   src/geany.h, src/dialogs.c:
18248   Added some sanity checks to prevent crashes.
18249 * src/sci_cb.c, src/highlighting.c:
18250   Removed URL highlighting code(useless feature, never was enabled).
18251 * src/treeviews.c: Set policy settings for the scolledwindow.
18252 * scintilla/License.txt, scintilla/Makefile.am, doc/Makefile.am:
18253   Added Scintilla license file.
18254
18255
182562006-06-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18257
18258 * src/msgwindow.c: Add a timestamp to messages in the Status window
18259                    (closes request #1509908).
18260
18261
182622006-06-22  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18263
18264 * src/utils.c: Reorganised C include file items, added C++ headers.
18265 * src/callbacks.c: Insert include statements and comment templates at
18266                    mouse pointer position instead of cursor position.
18267
18268
182692006-06-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18270
18271 * src/keybindings.c: Added missing shortcut for "Close".
18272 * geany.glade, src/interface.c, src/prefs.c, src/keyfile.c,
18273   src/document.c, src/dialogs.c, src/encodings.h:
18274   Added option in the preferences dialog to replace tabs by spaces
18275   when saving a file.
18276   Added option for default encoding for new files.
18277 * scintilla/*: Updated Scintilla to version 1.70.
18278
18279
182802006-06-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18281
18282 * src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
18283   src/document.h: Go back to the same line when reloading.
18284                   Fix start selection bug when clicking in the
18285                   current file if it has changed.
18286 * src/msgwindow.c, src/document.c:
18287   Also show status messages on the status bar.
18288
18289
182902006-06-19  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18291
18292  * THANKS, src/about.c: Added translator credits.
18293  * src/callbacks.c, src/encodings.c, src/utils.c, src/document.c,
18294    geany.glade, src/interface.c:
18295    Implemented encoding support to switch between different encodings.
18296
18297
182982006-06-19  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
18299
18300 * configure.in: Added Spanish translation. More info at
18301                 po/ChangeLog.
18302
18303
183042006-06-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18305
18306 * src/build.c, src/utils.c, src/utils.h, src/callbacks.c:
18307   Don't open files or go to errors automatically whilst compiling.
18308   Rename utils_goto_workspace_tag to utils_goto_file_line.
18309
18310
183112006-06-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18312
18313 * src/keybindings.c: Fixed a segfault when pressing shortcut for
18314                      "Find Usage" and there is no open file.
18315 * src/dialogs.c: Removed unneeded label padding.
18316
18317
183182006-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18319
18320 * src/dialogs.c: Make Keyboard shortcuts dialog scrollable.
18321 * src/interface.c, geany.glade:
18322   Set toolbar button Compile text, Execute icon and insert separators
18323   before Quit and before Revert, Close.
18324   Move popup item Goto definition above declaration (used more often).
18325   Move recent files menu up to Open item.
18326   In prefs use 'Recent files' instead of 'MRU'.
18327   Correct indentation spelling.
18328 * src/keybindings.c: Show shortcut keys for Undo/Redo and popup items.
18329 * src/keybindings.c, src/geany.h, src/callbacks.c, src/sci_cb.c,
18330   src/callbacks.h: Use correct current_word buffer for popup menu item
18331                    keybindings; also use GEANY_MAX_WORD_LENGTH.
18332
18333
183342006-06-17  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18335
18336 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
18337   doc/geany.docbook: Made Duplicate Line command duplicate selection
18338                      if present.
18339 * src/highlighting.c: Fixed styling for unmatched braces.
18340 * src/keybindings.h, doc/geany.docbook:
18341   Group toggle sidebar keybinding with toggle messages.
18342 * src/keybindings.c: Set keyboard shortcuts for switching tab pages.
18343 * src/keybindings.c, src/keybindings.h:
18344   Add keybindings for Find Usage, Go to definition/declaration,
18345   based on the current cursor position.
18346 * src/utils.c: Ensure null termination in utils_find_current_word.
18347
18348
183492006-06-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18350
18351 * src/build.c: Delete all indicators when starting a new compilation.
18352 * src/highlighting.c, data/filetypes.common:
18353   Added keys for linenumber and folding margin, added key for
18354   inverting all colours(if you like dark background).
18355
18356
183572006-06-16  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18358
18359 * src/notebook.c, src/notebook.h, src/main.c, src/Makefile.am:
18360   Added currently disabled drag reordering of notebook tabs.
18361 * src/callbacks.c: Execute: only save file if the run command uses it.
18362 * src/templates.c, src/templates.h, src/utils.c, src/utils.h,
18363   src/callbacks.c: Cache the current function name for efficiency in
18364                    utils_get_current_function, other related fixes.
18365 * src/geany.h, src/callbacks.c, src/prefs.c, src/dialogs.c:
18366   src/main.c: Don't include keybindings.h in geany.h.
18367
18368
183692006-06-15  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18370
18371 * src/utils.c: Fixed a bug at opening files when clicking on compiler
18372                error messages(thanks Yura Semashko).
18373 * doc/Makefile.am: Fixed a bug which breaks "make install" when xmlto
18374                    is not installed.
18375
18376
183772006-06-13  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18378
18379 * doc/Makefile.am: Renamed target html/index.html in htmldoc, added
18380                    geany.xsl to EXTRA_DIST.
18381 * doc/geany.docbook: Removed appendix for keybindings, updated section
18382                      keybindings to new action identifiers.
18383 * src/utils.c: Improved and finished switching between files when
18384                clicking on compiler error messages.
18385 * src/sciwrappers.c, src/document.c, src/highlighting.c, src/build.c,
18386   src/keyfile.c, src/prefs.c, src/interface.c, geany.glade,
18387   src/geany.h:
18388   Implemented code for setting indicators while compiling.
18389
18390
183912006-06-12  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18392
18393 * THANKS, src/about.c: Added translator credits.
18394 * src/main.c: Defined N_() again, so command line args are really
18395               translatable.
18396 * geany.glade, src/interface.c: Added missing mnemonic to build menu
18397                                 item.
18398
18399
184002006-06-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
18401
18402 * configure.in: Added Belarusian and Russian language support.
18403                 More Information at po/ChangeLog
18404
18405
184062006-06-11  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18407
18408 * geany.glade, src/interface.c: Added some mnemonics in the file menu.
18409 * src/highlighting.c: Replaced "/" by G_DIR_SEPARATOR_S.
18410 * src/utils.c: Fixed an issue, which let the build menu item
18411                insensitive once a new file w/o template was opened.
18412 * src/document.c: Fixed a segfault in document_find_by_filename().
18413 * src/geany.h, src/callbacks.c, src/main.c:
18414   Improved the handling of GIOChannels(for named pipes), ensure they
18415   are closed in a proper way.
18416 * src/document.c: document_open_file() returns the index of the opened
18417                   file.
18418 * src/utils.c: Open or switch to files when clicking on compiler error
18419                messages and the error message mentions another file
18420                than the opened one.
18421
18422
184232006-06-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18424
18425 * src/main.c: Made command line options translatable, hide compiler
18426               message treeview under Win32.
18427 * src/filetypes.c: Added additional patterns to detect configure
18428                    scripts as Shell scripts.
18429 * src/dialogs.c: Made preferences dialog transient for the main window
18430
18431
184322006-06-08  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18433
18434 * src/keybindings.c, src/prefs.c, src/dialogs.c:
18435   Added labels for each defined shortcut to have a nicer
18436   representation in the dialogs.
18437 * geany.desktop.in: Removed duplicate entry for Encoding, now
18438                     desktop-file-validate processes with no errors.
18439 * configure.in, doc/geany.1.in:
18440   Renamed geany.1 to geany.1.in to let it be processed by configure.
18441   Added GEANY_DATA_DIR to configure.in.
18442 * doc/Makefile.am, doc/geany.xsl:
18443   Removed unneeded code for generating geany.1. Added man_MANS to get
18444   installed the manpage. Changed build command for HTML documentation.
18445   Added new file doc/geany.xsl.
18446 * geany.spec.in: Some improvements, corrected download URL.
18447 * src/prefs.c: Hide make and terminal settings under Windows.
18448
18449
184502006-06-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18451
18452 * src/callbacks.c: Fixed segfault when inserting comments and no
18453                    filetype is set.
18454 * src/callbacks.c, src/sciwrappers.c, src/sciwrappers.h:
18455   Use the character position under the mouse click for Go to
18456   definition/declaration and for overridden middle click text paste.
18457 * src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
18458   src/document.h: Fix bug with Go to tag defn/decl when the filename
18459                   is a link (TagManager dereferences linked filenames)
18460
18461
184622006-06-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18463
18464 * src/highlighting.c: Enabled folding for markup filetypes
18465                       (HTML, XML, PHP, DocBook).
18466 * src/treeviews.c: Replaced "Members" by "Methods" to make it clearer.
18467
18468
184692006-06-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18470
18471 * doc/geany.docbook: Added save current file behaviour when building.
18472 * src/sci_cb.c: Fix empty white box glitch with tag autocompletion,
18473                 also improves typing response efficiency.
18474
18475
184762006-06-05  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18477
18478 * src/dialog.c, src/callbacks.c: Added dialog to show defined keyboard
18479                                  shortcuts, this replaces the previous
18480                                  link to the documentation.
18481 * src/main.c, src/document.c: Fixed wrong setting of filetype when
18482                               using "All files" as filetype.
18483 * src/dialogs.c: Fixed compiler warning "not enough variable arguments
18484                  to fit a sentinel".
18485
18486
184872006-06-04  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18488
18489 * README, NEWS: updated for Geany 0.7
18490 * src/keybindings.c: Changed default keybinding for menu_replace to
18491                      Ctrl+E.
18492 * new release: Geany 0.7 "Ravik"
18493 * configure.in: Fixed svn detection code, changed version to 0.8.
18494
18495
184962006-06-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18497
18498 * src/sci_cb.c: Fixed bug in auto completion of constructs.
18499 * doc/geany.docbook: Added documentation for filetype definition files
18500                      and definable keyboard shortcuts.
18501
18502
185032006-06-03  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18504
18505 * doc/geany.docbook: More minor corrections/rewording.
18506                      Added Build System section.
18507                      Some corrections to the Filetypes section.
18508
18509
185102006-06-02  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18511
18512 * src/highlighting.c, data/filetypes.css: improved colouring
18513 * src/utils.c: Added some sanity checks if filetype is NULL.
18514 * src/utils.c: Corrected readme text for filedefs/filetypes.README.
18515
18516
185172006-06-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18518
18519 * src/dialogs.c: Fix dialog path warnings for command-line files.
18520 * src/callbacks.c: Fix Go to tag declaration/definition.
18521 * tagmanager/docbook.c: Fix a segfault with missing id in element.
18522 * doc/geany.docbook: Minor changes to chapter 1.
18523
18524
185252006-05-31  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18526
18527 * scintilla/PlatGTK.cxx:
18528   Backport a Scintilla fix for crashes with recent GTK+ font issue.
18529 * src/keyfile.c: Discard old session files also for unsaved documents.
18530
18531
185322006-05-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18533
18534 * src/keyfile.c, src/sciwrappers.c, src/sciwrappers.h, src/document.c:
18535   Scroll session files in view after all resizing of the Scintilla
18536   widget and rename sci_scroll_to_line.
18537 * data/filetypes.pascal: Updated identifier styling as highlighting.c.
18538
18539
185402006-05-30  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18541
18542 * src/dialogs.c, src/main.c:
18543   Removed unneeded function dialogs_show_fifo_error(), fixed small
18544   memory leak in dialogs_show_question()
18545 * src/utils.c: Fixed a wrong(non ISO-C) array size allocation,
18546                improved utils_replace_tabs().
18547 * src/keybindings.c: Added shortcut for Replace Tabs by Space,
18548                      extend usage of GEANY_ADD_ACCEL macro.
18549 * src/prefs.c: Detect duplicate shortcuts and prevent saving them.
18550 * tagmanager/css.c: Fixed a crash when opening malformed CSS files.
18551
18552
185532006-05-29  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18554
18555 * src/about.c: Added Jacek Wolszczak and Frank Lanitz to the credits.
18556
18557
185582006-05-28  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18559
18560 * configure.in, po/pl.po: Added Polish translation contributed by
18561                           Jacek Wolszczak.
18562 * src/dialogs.c, src/utils.c: Made recent files menu item insensitive
18563                               when the list is empty.
18564
18565
185662006-05-26  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18567
18568 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
18569   Fixed nasty hang when closing a tab and both the next tab and the
18570   first tab files have been externally modified.
18571 * src/dialogs.c: Add mnemonics to Replace dialog buttons, reorder.
18572 * src/document.c: Fix incremental find and replace of back to back
18573                   matches.
18574
18575
185762006-05-25  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18577
18578 * src/document.c: On loading use SCI_SETTEXT instead of SCI_ADDTEXT
18579                   to avoid Scintilla text changed signal.
18580 * src/callbacks.c, src/document.c, src/document.h:
18581   Make Replace in selection non-incremental and use single Undo
18582   blocks for this and for Replace All.
18583
18584
185852006-05-24  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18586
18587 * src/keybindings.c, src/keybindings.h:
18588   Add shortcuts for Find Previous, Go to line
18589 * src/keybindings.c:
18590   Set shortcut for Replace and split keybindings_init code
18591
18592
185932006-05-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18594
18595 * src/utils.c: check if file has been closed in
18596                utils_goto_workspace_tag
18597 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
18598   created Search menubar item with Find items from Edit menu, added
18599   Find Previous and Go to line commands
18600 * src/vte.c: remove vte middle click override to allow X paste and
18601              update popup preferences item for Terminal tab number
18602
18603
186042006-05-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18605
18606 * src/callbacks.c, src/templates.c:
18607   insert the file type extension and fix a warning when inserting a
18608   fileheader in a new document
18609
18610
186112006-05-22  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18612
18613 * src/keybindings.c, src/utils.c: improved toggle visibility of
18614                                   sidebar when toggled by keyboard
18615
18616
186172006-05-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18618
18619 * src/keybindings.c: added menu_messagewindow and toggle_sidebar
18620                      shortcuts
18621 * src/highlighting.c, data/filetypes.c, data/filetypes.cpp:
18622   added option to disable styling within preprocessor directives
18623 * src/dialogs.c, src/about.c, src/callbacks.c, configure.in:
18624   rewrote about dialog to reduce code size, added subversion revision
18625 * src/vte.c: declared some functions static
18626 * src/dialogs.c: do not create VTE settings in the preferences dialog
18627                  if VTE is disabled at runtime
18628 * geany.glade, src/interface.c, src/callbacks.c, src/keyfile.c,
18629   src/main.c, src/prefs.c:
18630   added option to disable load of VTE at startup
18631 * src/highlighting.c, src/utils.c: applied sanity check patch from
18632                                    Pierre(posted on mailing list)
18633
18634
186352006-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
18636
18637 * src/dialogs.c: fix pressing enter to open more than one file in
18638                  the open file dialog
18639 * src/sci_cb.c: fix a segfault when commenting out lines with ctrl-d
18640                 when no filetype is set
18641 * src/utils.c: fix a segfault clicking on a compile error if the
18642                compiled file has been closed
18643
18644
186452006-05-19  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18646
18647 * src/sci_cb.c: fix a small bug in sci_cb_show_calltip() to prevent an
18648                 endless loop
18649 * src/keybindings.c, src/dialogs.c, src/callbacks.c, src/main.c,
18650   src/Makefile.am, src/geany.h, src/prefs.c, geany.glade:
18651   make keyboard shortcuts user-definable
18652 * src/document.c, src/utils.c: fixed a crash when clicking on the run
18653                                button and no file is opened
18654
18655
186562006-05-17  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18657
18658 * src/utils.c: added code for creation of filedefs subdirectory
18659 * src/document.c: fixed compiler warning
18660 * src/keyfile.c: removed obsolete and commented code
18661
18662
186632006-05-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18664
18665 * tagmanager/Makefile.am, tagmanager/tcl.c, tagmanager/parsers.h,
18666   scintilla/Makefile.am, scintilla/LexTCL.cxx, scintilla/KeyWords.cxx,
18667   src/filetypes.c, src/highlighting.c, data/filetypes.tcl:
18668   new filetype Tcl/Tk
18669 * src/sci_cb.c: enabled autocompletion for all filetypes (fine tuning
18670                 still needed)
18671 * src/document.c: removed mmap()-code, use at the moment only
18672                   g_file_get_contents, fixed memory leak
18673 * scintilla/ScintillaGTK.cxx: updated to CVS version
18674 * data/filetypes.*: quoted filename wildcards for filenames with
18675                     whitespace
18676
18677
186782006-05-15  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18679
18680 * src/utils.c, src/callbacks.c:
18681   added previously code to prevent opening of non-text files, fixed
18682   detection of C++-destructors and other improvements in
18683   utils_get_current_tag()
18684
18685
186862006-05-14  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18687
18688 * configure.in, po/ca.po, THANKS, src/dialogs.c:
18689   added catalan translation contributed by Topi
18690 * data/filetypes.php, data/filetypes.perl, data/filetypes.ruby,
18691   data/filetypes.pascal, src/utils.c:
18692   added compiler commands to run a syntax check and parse the output,
18693   so it is clickable in compiler message window
18694
18695
186962006-05-12  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18697
18698 * src/utils.c. src/callbacks.c: added code for parsing python error
18699                                 messages when clicked in compiler
18700                                 message window
18701 * tagmanager/ruby.c, src/treeviews.c: improved parser to detect
18702                                       variables and members
18703 * src/highlighting.c, data/filetypes.ruby: added missing keywords
18704
18705
187062006-05-11  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18707
18708 * src/utils.c: show appropriate error code when use(i.e. write access)
18709                of configuration directory fails
18710 * src/highlighting.c, src/filetypes.c:
18711   read the filetype definitions first from the configuration directory
18712   and then from the datadir (%prefix/share/geany)
18713
18714
187152006-05-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18716
18717 * src/document.c, src/filetypes.c, src/templates.c, src/callbacks.c:
18718   added template support for filetypes with comment character #,
18719   updated GPL to the current address of the FSF
18720 * tagmanager/python.c: fixed wrong identification of keyword class in
18721                        ''' comments
18722 * tagmanager/parse.c, tagmanager/python.c:
18723   added code from anjuta to parse methods and functions separately
18724 * tagmanager/ruby.c: applied patch from ctags Sourceforge site to
18725                      recognise things like Foo::Bar (ctags #1213512)
18726 * tagmanager/perl.c, src/treeviews.c:
18727   improved symbol list for filetype Perl, improved parser
18728 * src/document.c, src/callbacks.c: improved tag list updating, should
18729                                    be a bit faster on opening files
18730
18731
187322006-05-09  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18733
18734 * scintilla/ScintillaGTK.cxx: fixed encoding problem which causes many
18735                               problems with non-Ascii characters
18736 * src/document.c: fixed a strange segfault at creating new file tabs
18737
18738
187392006-05-08  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18740
18741 * src/callbacks.c: save current file if it is executed
18742                    (e.g. shell scripts)
18743 * src/highlighting.c: fixed a typo which prevented highlighting of
18744                       variables in Perl
18745 * src/filetypes.c, tagmanager/Makefile.am, tagmanager/parsers.h,
18746   tagmanager/css.c: added parser for CSS filetype
18747 * tagmanager/ruby.c, tagmanager/Makefile.am, tagmanager/parsers.h,
18748   scintilla/LexRuby.cxx, scintilla/Makefile.am, scintilla/KeyWords.cxx
18749   src/filetypes.c, src/highlighting.c: added new filetype Ruby
18750
18751
18752
187532006-05-05  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18754
18755 * src/callbacks.c: fix a crash when clicking in the compiler output
18756 * src/dialogs.c: improved file permission display if they cannot be
18757                  read (e.g. on Windows)
18758
18759
187602006-05-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18761
18762 * src/win.c, src/utils.c, src/highlighting.c:
18763   moved my_strtod() from win32.c to utils.c, use it always, not only
18764   on Win32 systems
18765
18766
187672006-05-01  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18768
18769 * data/filetypes.perl: added two compiler commands
18770 * data/filetypes.cpp, src/highlighting.c: added some C++ keywords
18771 * src/sci_cb.c: added try-catch-auto completion
18772
18773
187742006-04-30  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18775
18776 * src/main.c: fixed a crash when starting Geany without debug messages
18777 * sci_cb.c: fixed a small issue when dragging files to Geany
18778 * new release: Geany 0.6 "Nivers"
18779
18780
187812006-04-29  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18782
18783 * src/keyfile.c, src/callbacks.c:
18784   applied two patches from Nick Treleaven to fix invalid memory read
18785   and improve the ordering of file tabs while loading session files
18786 * src/vte.c: applied patch from Nick Treleaven to improve removing the
18787              vte widget, fixed also a bug with disappearing scrollbars
18788
18789
187902006-04-28  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18791
18792 * src/treeviews.c, src/msgwindow.c:
18793   disabled interactive search function since it never worked and is
18794   unnecessary and confusing
18795 * src/utils.c: added small check for NULL pointer
18796 * src/document.c: fixed some inconsistency with the read only check
18797                   box in the file menu
18798
18799
188002006-04-27  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18801
18802 * src/callbacks.c: improved key press handling to avoid that cursor
18803                    rans out of editor widget when pressing F8
18804 * src/sciwrappers.c: applied two little patches from Nick Treleaven
18805 * tagmanager/tex.c: fixed naming of the parser to get recognised again
18806                     for parsing LaTeX files
18807
18808
188092006-04-26  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18810
18811 * src/document.c: applied patch from Nick Treleaven to right-align the
18812                   close buttons on each tab, reload the symbol list at
18813                   reloading a file
18814 * src/dialogs.c, src/callbacks.c:
18815   applied patch from Nick Treleaven which improves the file open
18816   dialog, make it more compact, replaced read-only checkbox by a
18817   button, fixed memory leak
18818 * src/sci_cb.c: applied patch from Nick Treleaven to fix a small bug
18819                 in auto commenting lines with CTRL+D
18820 * src/document.c: applied patch from Nick Treleaven to switch to the
18821                   new opened tab if placement of new file tabs is set
18822                   to Right
18823 * src/utils.c: applied patch from Nick Treleaven to fix a bug in
18824                utils_get_current_tag() with C++ methods
18825
18826
188272006-04-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18828
18829 * src/sci_cb.c: added support for complete do while loops
18830 * src/highlighting.c, data/filetypes.cpp: added keywords this, public,
18831                                           private and protected
18832 * scintilla/ScintillaGTK.cxx, scintilla/PlatGTK.cxx:
18833   applied patches from John Ehresmann (posted on the Scintilla ML)
18834 * src/dialogs.c: improved the file properties dialog
18835 * src/gb.c: translated comments into English and fixed some bugs
18836
18837
188382006-04-24  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18839
18840 * src/main.c, src/geany.h: removed unneeded time variables
18841
18842
188432006-04-23  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18844
18845 * scintilla/LexBash.cxx: fixed crash when typing "\" as last character
18846                          in a bash file (patch from Scintilla ML)
18847
18848
188492006-04-20  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18850
18851 * geany.glade, src/keyfile.c, src/document.c, src/interface.c
18852   src/prefs.c, src/geany.h: added option to place new file tabs to the
18853                             right or left of the tab list
18854 * src/utils.c, src/keyfile.c, src/prefs.c, src/build.c, src/vte.c,
18855   src/filetypes.c: replaced lots of g_new() by g_new0()
18856 * src/dialogs.c: at saving a new file, the extension of the file is
18857                  guessed based on the default extension in filetypes.c
18858 * src/build.c, src/msgwindow.c: improved scrolling of compiler
18859                                 messages at building
18860 * src/build.c, src/dialogs.c, src/callbacks.c:
18861   rewrote most of the building code, get compiler settings from
18862   filetype definition files, handle non-UTF8 filenames better and much
18863   more things
18864
18865
188662006-04-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18867
18868 * src/geany.h, src/keyfile.c, src/utils.c:
18869   added option to match < and > to, but disabled by default
18870
18871
188722006-04-09  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18873
18874 * src/sci_cb.c: added handler for dragged file URIs in the editor
18875                 widget, so they will get opened
18876
18877
188782006-04-07  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18879
18880 * src/dialogs.c: now the file save dialog returns when pressing Enter,
18881                  too, also fixed a bug if path of current file
18882                  contains non-UTF8 characters, added question dialog,
18883                  to ask for various things, so removed
18884                  dialogs_show_confirm_exit()
18885 * src/callbacks.c: added a check for overwriting files when using file
18886                    save dialog
18887 * src/document.c: default charset encoding for new files is set to UTF-8
18888 * src/highlighting.c, data/filestypes.common:
18889   added setting folding_style to define the style of the folding icons
18890
18891
188922006-04-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18893
18894 * src/build.c: fixed some errors with non-UTF8 filenames and paths
18895 * bugfix: src/dialogs.c: fixed an error when changing the current
18896                          directory in the file open dialog and the
18897                          path contains non-UTF8 characters
18898 * src/document.c: removed useless for loop in document_set_filetype
18899
18900
189012006-04-05  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18902
18903 * bugfix: src/document.c: fixed a segfault when opening a file and
18904                           filename is NULL
18905
18906
189072006-04-04  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18908
18909 * bugfix: src/callbacks.c: fixed potentially segfault when opening a
18910                            file from the recent file menu
18911
18912
189132006-04-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18914
18915 * src/vte.c: applied three patches from Nick Treleaven to improve
18916              usage of the VTE component
18917
18918
189192006-04-01  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18920
18921 * tagmanager/general.h: added inclusion of unistd.h to avoid compile
18922                         errors on MacOSX
18923 * src/document.c: fixed memory allocation while opening files, so that
18924                   empty files (size = 0 byte) can also be opened
18925
18926
189272006-03-29  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18928
18929 * geany.glade, src/interface.c: let the editor widget also be resized,
18930                                 so resizing the main window is nicer
18931 * src/keyfile.c, src/main.c:
18932   moved some code from configuration_open_files to
18933   configuration_apply_settings, because configuration_open_files is
18934   not called every time
18935
18936
189372006-03-28  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18938
18939 * src/utils.c, src/sci_cb.c, src/callbacks.c:
18940   applied patch from Nick Treleaven to avoid segmentation faults on
18941   long words(>120 characters)
18942 * src/main.c, src/sci_cb.c: applied patch from Nick Treleaven to fix a
18943                             possible segmentation fault
18944
18945
189462006-03-22  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18947
18948 * src/utils.c: added error messages to utils_write_file()
18949 * src/keyfile.c: rewrote the code for reading the session files
18950
18951
189522006-03-19  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18953
18954 * src/highlighting.c, src/sci_cb.c, data/filetypes.*:
18955   added definable comment characters to all filetypes
18956
18957
189582006-03-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18959
18960 * src/highlighting.c, data/filetypes.*:
18961   added wordchars key to all filetypes
18962 * src/main.c: improved reading and writing of the named pipe, so Geany
18963               does not go into in an endless loop after opening a file
18964
18965
189662006-03-17  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18967
18968 * bugfix: src/sci_cb.c: typing } on lines longer than 256 chars caused
18969                         a crash (segfault)
18970 * src/dialogs.c, src/callbacks.c, src/interface.c, geany.glade:
18971   moved VTE settings tab code in the preferences dialog to dialogs.c,
18972   so this code will not be compiled if HAVE_VTE is unset
18973
18974
189752006-03-15  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18976
18977 * src/geany.h, src/main.c, src/keyfile.c:
18978   added GEANY_WINDOW_MINIMAL_WIDTH, GEANY_WINDOW_MINIMAL_HEIGHT,
18979   GEANY_WINDOW_DEFAULT_WIDTH, GEANY_WINDOW_DEFAULT_HEIGHT to make it
18980   easier to changed these defaults
18981
18982
189832006-03-14  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18984
18985 * src/callbacks.c: added check for existing documentation, otherwise
18986                    try online documentation
18987
18988
189892006-03-11  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18990
18991 * geany.glade, src/interface.c, src/main.c:
18992   set minimal size to 620x440, default size to 900x600, added command
18993   line option -m or --no-msgwin to disable message window at startup
18994 * doc/geany.docbook: added description for -m option
18995
18996
189972006-03-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
18998
18999 * src/callbacks.c: applied patch from Nick Treleaven to allow
19000                    reclicking of taglist treeview item
19001 * src/keyfile.c: fixed small error which adds every time a new comment
19002                  in the filetype extensions configuration file
19003 * data/filetypes.*, src/highlighting.c:
19004   added italic flag to all styles, added background colour for current
19005   line
19006 * src/dialogs.c, src/sciwrappers.c:
19007   applied patch from Nick Treleaven which improved inserting of
19008   current selection in the find and replace dialogs
19009 * src/filetypes.c: added new extensions for filetype Pascal
19010 * src/data/filetypes.conf, src/highlighting.c:
19011   added "key" and edited colours for changed lexer
19012 * scintilla/*: updated Scintilla to version 1.68
19013
19014
190152006-03-09  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19016
19017 * data/filetypes.pascal: added new keywords supplied by Marko Peric
19018 * src/highlighting.c: added support for // and (* ... *) comments in
19019                       Pascal
19020 * src/utils.c, src/document.c: improved utils_check_disk_status()
19021                                behaviour to work with files on
19022                                filesystems with another time than the
19023                                time from the local host
19024
19025
190262006-03-02  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19027
19028 * src/callbacks.c, src/build.c, src/geany.h:
19029   clicking on a compiler error message jumps to the correct file, if
19030   it is not the current one
19031 * src/dialogs.c: fixed crash when closing find or replace dialog twice
19032                  by pressing escape (triggering the delete_event),
19033                  closes #1441359
19034
19035
190362006-02-27  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19037
19038 * src/sci_cb.c: added auto completion in LaTeX mode for \begin
19039
19040
190412006-02-26  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19042
19043 * src/callbacks.c: removed unneeded destroyapp_early()
19044 * src/main.c, src/utils.c: improved configuration directory creation
19045 * src/sci_cb.c, src/highlighting.c, src/document.c, geany.glade,
19046   src/geany.h, src/interface.c, src/prefs.c, src/callbacks.c:
19047   implemented first version of rudimentary folding support, added
19048   goto line entry in the toolbar and made it hideable
19049
19050
190512006-02-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19052
19053 * src/keyfile.c: fixed memory leak, load filetype extensions from a
19054                  file in the configuration directory, the filetype of
19055                  a document is now also stored at loading and saving
19056                  session files
19057 * src/filetypes.c: removed unneeded constant GEANY_MAX_PATTERNS
19058
19059
190602006-02-24  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19061
19062 * src/utils.c, src/callbacks.c, src/dialogs.c, src/main.c:
19063   made "make" build menu items sensitive for C header files
19064 * bugfix: src/vte.c: hopefully fixed a crash when closing the
19065                      preferences dialog and message window was hidden
19066                      and shown before
19067
19068
190692006-02-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19070
19071 * src/utils.c: added utils_make_human_readable_str()
19072 * src/dialogs.c: added file properties dialog
19073 * geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c:
19074   moved font selection dialog from glade code to dialogs.c, removed
19075   unnecessary callback functions for delete_event's
19076
19077
190782006-02-20  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19079
19080 * src/callbacks.c: fixed bug when using color selector and no file is
19081                    open, only fixed on some other actions
19082 * src/geany.h, src/main.c: disable menu functions of the edit menu
19083                            when no files are open
19084 * src/main.c: added the possibility to delete an existing fifo in the
19085               case, that Geany crashed previously
19086
19087
190882006-02-17  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19089
19090 * src/gb.c: fixed bug which caused always same figures under Win32,
19091             some other code cleanups and changes
19092 * geany.glade, src/interface.c, src/callbacks.c, src/main.c:
19093   replaced the New toolbar button by a menu button, so it works also
19094   under Win32
19095 * src/prefs.c: all settings are now saved by pressing OK in the
19096                settings dialog, up to now it was only done at exiting
19097
19098
190992006-02-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19100
19101 * src/main.c, callbacks.c, document.c: fixed some line breaking issues
19102
19103
191042006-02-14  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19105
19106 * Makefile.am, doc/Makefile.am: improved "make uninstall" of Geany
19107 * configure.in: added check for mkfifo(), made it also an option
19108 * src/main.c: added a message box if lost pipe was found, FIFO code
19109               now depends on HAVE_FIFO
19110 * src/Makefile.am: do not compile win32.c anymore, added to EXTRA_DIST
19111 * src/geany.h, src/main.c, src/callbacks.c:
19112   added command line option -p or --no-pipe to ignore a running
19113   instance of Geany and force opening a new instance
19114
19115
191162006-02-13  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19117
19118 * src/utils.c: added utils_show_linenumber_margin()
19119 * geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c,
19120   src/main.c, src/geany.h, src/keyfile.c, src/sci_cb.c:
19121   removed some items from the document menu to the preferences dialog,
19122   removed file save dialog from interface.c to dialogs.c, added
19123   toggle for line numbers
19124
19125
191262006-02-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19127
19128 * scintilla/LexOMS.cxx, scintilla/keywords.cxx,
19129   scintilla/include/SciLexer.h, scintilla/Makefile.am:
19130   added new lexer LexOMS(based on LexBash) for OMS support
19131 * src/highlighting.c: added new filetype OMS (O-Matrix)
19132 * src/dialogs.c: improved the find and replace dialog, an existing
19133                  selection is inserted, fixed focus settings
19134 * src/callbacks.c: prevent Geany entering an endless loop, at
19135                    replacing something like "YELLOW" with "yellow", if
19136                    search flag "Case sensitive" is not checked
19137
19138
191392006-02-08  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19140
19141 * src/main.c, src/callbacks.c, src/geany.h:
19142   Geany now creates a FIFO, to communicate between different instances
19143
19144
191452006-02-07  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19146
19147 * src/utils.c, src/callbacks.c, src/document.c: fixed a memory leaks
19148 * src/document.c: improved filename handling on saving files
19149 * src/callbacks.c: improved the filename entry widget in the file open
19150                    dialog, it handles now directories, too
19151
19152
191532006-02-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19154
19155 * src/document.c: improved behaviour of HOME/END keys on wrapped lines
19156 * src/sciwrappers.c: added sci_assign_cmdkey()
19157 * geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c:
19158   rewrite of the file open dialog, now it enters a directory instead
19159   of trying to open it in Geany (closes #1421776)
19160 * src/sci_cb.c: improved sci_cb_do_comment() to handle SQL and Caml
19161                 comments
19162 * src/sciwrappers.c, src/sci_cb.c:
19163   applied patch from Nick Treleaven to improve multiline selection
19164   by selecting the lines in the line number margin, removed also the
19165   right click behaviour to set a marker
19166 * src/highlighting.c: added filetypes SQL and (O)Caml, heavily reduced
19167                       code size
19168 * src/main.c: fixed wrong handling of the visibility of the message
19169               window
19170 * src/vte.c: fixed a crash when preferences are set and message window
19171              is hidden (thanks to Joo Martin for reporting)
19172
19173
191742006-02-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19175
19176 * src/document.c: improved filename handling in document_open_file(),
19177                   fixed a crash at reloading files
19178 * src/main.c: fixed a crash when opening more than 25 files from the
19179               command line (closes #1422135)
19180 * src/sci_cb.c: improved sci_cb_do_comment() to handle CSS comments
19181
19182
191832006-02-01  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19184
19185 * src/build.c: applied patch from Nick Treleaven to fix memory leaks
19186 * src/document.c: changed <? to <?php in new file template
19187 * src/keyfile.c: changed "term" to "xterm", this was a simple typo
19188 * src/utils.c: added encoding to the status bar, fixed a freeze with
19189                C++ files (closes #1419473)
19190
19191
191922006-01-29  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19193
19194 * src/win32.c: set the Open File dialog directory to the same
19195                directory as the current file
19196 * src/utils.c: disabled the build menu under Win32, at least temporary
19197 * src/templates.c, doc/geany.docbook:
19198   added new wildcard {geanyversion} to have actual Geany version in
19199   filetype templates (e.g. HTML template)
19200
19201
192022006-01-27  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19203
19204 * new release: Geany 0.5 "Rebus"
19205
19206
192072006-01-26  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19208
19209 * src/utils.c, src/dialogs.c: set the Open File dialog directory to
19210                               the same directory as the current file
19211                               (thanks to Nick Treleaven for this patch)
19212 * src/sci_cb.c: fixed a bug with auto indention and CR/LF line endings
19213                 (thanks to Tamim for reporting)
19214
19215
192162006-01-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19217
19218 * tagmanager/tex.c, src/treeviews.c: added tag support for "\begin",
19219                                      fixed gcc4 warnings
19220 * tagmanager/docbook.c: fixed gcc4 warnings
19221 * src/filetypes.c, src/document.c, src/keyfile.c:
19222   fixed some bugs when opening files with non UTF-8 filenames
19223
19224
192252006-01-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19226
19227 * src/callbacks.c: it is now possible to insert a function description
19228                    (use right mouse button popup menu) without having
19229                    the cursor inside the { and } of a function
19230
19231
192322006-01-17  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19233
19234 * src/sci_cb.c: fixed two auto indention bugs
19235 * geany.glade, src/interface.c: fixed incorrect size of Save as dialog
19236
19237
192382006-01-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19239
19240 * scintilla/*: updated Scintilla to version 1.67
19241 * src/treeviews.c: added category class to the symbol list, changed
19242                    category names for filetype DocBook and LaTeX
19243 * src/sci_cb.c: improved auto indention, now "for (...) {" works, too
19244 * configure.in: set prefix if it was not specified
19245 * geany.desktop.in: added GenericName[de]
19246
19247
192482006-01-15  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19249
19250 * configure.in, Makefile.am, desktop.in:
19251   replaced geany.desktop by geany.desktop.in, some changes to the
19252   desktop file like absolute icon path
19253 * tagmanager/tex.c: added tags section, subsection and subsubsection
19254 * tagmanager/docbook.c: complete rewrite, works great
19255
19256
192572006-01-14  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19258
19259 * bugfix: src/document.c, src/treeviews.c: update open file list entry
19260                                            when "Saving as"
19261 * bugfix: src/document.c: fixed wrong g_object_unref() which causes
19262                           crashes
19263 * bugfix: src/geany.h, src/document.c, src/utils.c:
19264   fixed wrong symbol list in files with tag support but without
19265   exisiting symbols, added new boolean has_tags in document struct
19266 * src/geany.h, src/document.c, src/utils.c:
19267   removed unneeded utils_get_new_sci_number() and scid from document
19268   struct
19269 * src/treeviews.c, src/callbacks.c:
19270   added popup menu to symbol list, added "Hide" and "Hide sidebar" to
19271   symbol list popup and open files list popup, to quickly hide the list
19272   or the whole sidebar
19273
19274
192752006-01-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19276
19277 * bugfix: geany.glade, src/interface.c: added missing tooltip to
19278                                         compile button
19279 * src/filetypes.c: applied patch from Nick Treleaven, to add .cc, .hh
19280                    and .hxx extension for filetype C++ and improve the
19281                    pattern handling
19282
19283
192842006-01-08  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19285
19286 * tagmanager/docbook.c, tagmanager/parsers.h, tagmanager/Makefile.am:
19287   added conf.c(built from pascal.c), to create tags for docbook files
19288 * src/build.c, src/utils.c, src/main.c, src/callbacks.c:
19289   made the build menu filetype specific to have different menu items
19290 * bugfix: src/keyfile.c: save window geometry with
19291                          gtk_window_get_position() so restoring the
19292                          window works correctly under Win32, too
19293
19294
192952006-01-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19296
19297 * src/main.c, src/callbacks.c, src/vte.c, src/geany.h:
19298   added commandline option to specify the path to the VTE library
19299
19300
193012006-01-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19302
19303 * data/filetypes.markup, src/highlighting.c:
19304   added new keywords for PHP5 and replaced phpKeyWords by php
19305   (thanks to Simon Stoye for reporting)
19306 * geany.glade, src/interface.c, src/prefs.c, src/keyfile.c
19307   src/callbacks.c, src/document.c, src/build.c, src/sci_cb.c:
19308   added new option "Beep on errors" to disable beeping
19309
19310
193112005-12-31  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19312
19313 * src/gb.c: fixed segfault when exiting the easteregg program when it
19314             is still running
19315 * src/highlighting.c, src/win32.c: added my_strtod(), as replacement
19316                                    for Win32 strtod()
19317
19318
193192005-12-29  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19320
19321 * tagmanager/tm_tag.c: eliminated compiler (gcc4) warnings
19322 * bugfix: tagmanager/tm_workspace.c:
19323   replaced macro __unix__ by HAVE_GLOB_H(closes #1387828) and improved
19324   handling of P_tmpdir (closes #1387839)
19325
19326
193272005-12-28  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19328
19329 * bugfix: src/dialogs.c: fixed a segfault in dialogs_show_not_found()
19330 * bugfix: src/utils.c: fixed bug in utils_strpos() which returned -1
19331                        if length needle is 1
19332 * src/utils.c: added utils_treeviews_showhide(), to get the right
19333                settings at startup for the left side treeviews
19334 * src/gb.c: eliminated compiler(gcc4) warnings, replaced macro
19335             __unix__ by HAVE_FCNTL_H, use /dev/urandom or /dev/random
19336             (in this order) if available and rand() if not
19337 * src/configure.in: added checks for /dev/urandom and /dev/random
19338
19339
193402005-12-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19341
19342 * src/dialogs.c: text entry field in the find and replace dialog grabs
19343                  focus by default, so the cursor is always inside
19344
19345
193462005-12-19  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19347
19348 * new release: Geany 0.4 "Tarkin"
19349 * src/gb.c: several improvements and bugfixes
19350 * src/prefs.c, src/callbacks.c: improved HAVE_VTE handling
19351 * src/sci_cb.c: set cursor position between brackets in
19352                 sci_cb_auto_close_bracket()
19353
19354
193552005-12-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19356
19357 * src/callbacks.c: changed keyboard shortcut for rebuilding the symbol
19358                    list, now it is Ctrl+Shift+R, Ctrl+R is now used
19359                    reload the current file
19360 * src/callback.c, src/utils.c, src/document.c, src/treeviews.c,
19361   src/main.c, src/geany.h:
19362   made the symbol list document-oriented, so it has not to be
19363   generated on every notebook switch page event
19364 * src/geany.h, src/main.c, src/keyfile.c, src/callbacks.c:
19365   introduced opening_session_files, to suppress notebook switch page
19366   events at loading the files from the last session
19367 * geany.glade, src/interface.c, src/geany.h, src/callbacks.c:
19368   added new menu items: Help->Keyboard shortcuts and File->Revert
19369
19370
193712005-12-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19372
19373 * src/dialogs.c: changed "build with make" keyboard shortcut to
19374                  Shift+F9 to avoid problems with window managers key
19375                  bindings (thanks to Nick Treleaven for reporting)
19376 * src/about.c, src/gb.c: added a nice easteregg(type "geany" in the
19377                          about dialog *g*)
19378 * src/vte.c: added popup menu for the VTE widget
19379 * bugfix: src/prefs.c: fixed crash when opening option dialog and VTE
19380                        is disabled
19381 * geany.glade, src/interface.c, src/main.c, src/callbacks.c:
19382   removed unnecessary functions
19383
19384
193852005-12-13  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19386
19387 * src/sci_cb.c: added sci_cb_auto_close_bracket() to close { and [
19388                 brackets in LaTex-Mode (more could be added)
19389
19390
193912005-12-12  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19392
19393 * src/callbacks.c: changed key binding to switch between open
19394                    documents from CTRL to ALT+Left/Right, so
19395                    CTRL+Left/Right moves the cursor to word boundaries
19396
19397
193982005-12-11  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19399
19400 * src/callbacks.c: added shortcut F6 to switch to the VTE widget
19401 * doc/geany.docbook: described some of the compile time options in
19402                      geany.h and marked filename with <filename>-tag.
19403 * src/interface.c, src/prefs.c, src/utils.c, src/callbacks.c,
19404   src/geany.h, src/documents.c: made length of MRU list changeable
19405 * bugfix: src/highlighting.c: fixed a wrong color value
19406
19407
194082005-12-10  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19409
19410 * src/prefs.c, src/vte.c, src/keyfile.c, src/utils.c, src/callbacks.c:
19411   many changes, adding color settings for VTE
19412
19413
194142005-12-09  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19415
19416 * geany.glade, src/utils.c, src/interface.c, src/callbacks.c,
19417   src/main.c, src/keyfile.c: removed symbol list combo box in the
19418                              toolbar
19419 * src/treeviews.c, src/utils.c: heavily improved the tag list to
19420                                 categorise the tags in a tree
19421
19422
194232005-12-08  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19424
19425 * src/interface.c: added tooltip text for exit button
19426 * src/main.c: open a new file at startup if none is open
19427 * bugfix: src/keyfile.c: fixed a segfault when starting without a
19428                          configuration dir
19429
19430
194312005-12-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19432
19433 * src/document.c, src/callbacks.c: diabled extended HOME and END key
19434                                    default behaviour due to many
19435                                    problems
19436
19437
194382005-12-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19439
19440 * src/filetypes.c, src/highlighting.c: added new filetype "Assembler"
19441
19442
194432005-12-01  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19444
19445 * src/document.c, src/callbacks.c: extending HOME and END key default
19446                                    behaviour, to jump back to previous
19447                                    cursor position if pressed again
19448
19449
194502005-11-30  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19451
19452 * src/keyfile.c, src/prefs.c, src/interface.c, src/vte.c:
19453   added some options for the VTE to the preferences dialog
19454 * bugfix: src/sci_cb.c: fixed a small bug by auto closing }-brackets
19455 * src/callbacks.c, src/main.c: added signal and handler for F12 key,
19456                                pressed in the main widget
19457
19458
194592005-11-28  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19460
19461 * src/vte.c: added rudimentary clipboard support by pressing
19462              middle(paste) and right(copy) mouse button
19463
19464
194652005-11-27  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19466
19467 * src/vte.c/h: newly created: contains functions for the terminal
19468                emulator widget, which is loaded if libvte.so.4 is
19469                available
19470 * configure.in: added option --[en|dis]able-vte to disable vte support
19471
19472
194732005-11-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19474
19475 * scintilla/LexOthers.cxx: edited the properties lexer to colourize
19476                            key=value pairs a bit nicer
19477 * tagmanager/parsers.h, tagmanager/conf.c, tagmanger/Makefile.am:
19478   added conf.c(built from make.c), to create tags for config files
19479 * src/utils.c, src/callbacks.c: rewrite untitled.extension after
19480                                 "Save As" in the file header
19481
19482
194832005-11-24  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19484
19485 * src/keyfile.c, src/interface.c, src/prefs.c, src/msgwindow.c:
19486   added new option "Switch to status message list"
19487 * src/keyfile.c: store the position of vpaned1 too(sizer between
19488                  editor window and the status message list)
19489 * src/highlighting.c, src/filetypes.c: added new filetype "Conf"
19490
19491
194922005-11-22  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19493
19494 * bugfix: src/sci_cb.c: added missing / to the closing tr-tag in HTML
19495                         table auto completion
19496 * src/sci_cb.c: disabled auto completion in HTML at writing pure CDATA
19497
19498
194992005-11-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19500
19501 * src/keyfile.c: store the position of hpaned1(sizer between editor
19502                  window and the taglist) and load it if window
19503                  positions are saved and restored
19504 * src/treeviews.c, src/callbacks.c: added special popup menu to the
19505                                     list of open files
19506
19507
195082005-11-20  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19509
19510 * new release: Geany 0.3 "Muzzer"
19511 * src/treeviews.c/h: newly created: contains functions for the taglist
19512   and open files treeviews on the left side
19513 * src/treeviews.c, src/callbacks.c: added an open files treeview,
19514   which represents all open files
19515 * src/interface.c: added a toolbar button to open the color chooser
19516 * bugfix: src/sci_cb.c: there was an error at the next line after
19517                         closing a multiline comment in C/C++/Java
19518
19519
195202005-11-18  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19521
19522 * src/document.c: make a beep if a file could not be saved
19523
19524
195252005-11-16  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19526
19527 * bugfix: src/sci_cb.c: fixed a small bug that kills the current line
19528                         if a } was added and there is no newline and
19529                         there are no non-space characters on the line
19530                         (thanks to Frank Lanitz for reporting)
19531
19532
195332005-11-15  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19534
19535 * src/callbacks.c: Save As add a recent opened file to the list, too
19536
19537
195382005-11-14  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19539
19540 * src/utils.c, src/callbacks.c: added shortcut for "walking" between
19541                                 open documents by pressing
19542                                 STRG+LEFT resp. STRG+RIGHT
19543 * src/templates.h, src/templates.c, src/document.c, src/filetypes.c:
19544   removed hardcoded filetype templates from filetypes.c and added them
19545   to templates.h/c
19546
19547
195482005-11-12  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19549
19550 * src/templates.c, src/interface.c, src/callbacks.c, src/prefs.c,
19551   src/keyfile.c, src/document.c, src/filetypes.c:
19552   removed GPL options(in the settings dialog, in the context menu for
19553   inserting comments like fileheader with GPL), now this is completly
19554   done within the fileheader template and the wildcard {gpl}, added
19555   also the first template for new file (filetype None)
19556
19557
195582005-11-11  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19559
19560 * bugfix: src/utils.c: fixed segfault if configuration directory could
19561                        not created
19562 * src/dialogs.c, src/main.c, src/callbacks.c:
19563   added a error box which is shown if configuration directory could
19564   not created
19565 * bugfix: src/callbacks.c: fixed a bug which freezed Geany sometimes
19566                            at exiting(thanks to Frank Lanitz for re-
19567                            porting)
19568
19569
195702005-11-09  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19571
19572 * bugfix: src/filetypes.c: set correct filetype id for type C++, so
19573                            template for new C++ file will work again
19574                            (thanks to Frank Lanitz for reporting)
19575
195762005-11-06  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19577
19578 * src/highlighting.c: added highlighting support for Python
19579 * src/highlighting.c: extracted all hardcoded styling definitions for
19580                       all filetypes, so they can be easily edited by
19581                       user in %PREFIX/%DATADIR/geany, a GUI interface
19582                       is planned
19583 * src/main.c, src/highlighting.c: load global.tags file only if a file
19584                                   was opened
19585 * src/callbacks.c: added key combo: Shift+Space to explicitly suppress
19586                    use of sci_cb_auto_forif()
19587 * Makefile.am: added data/ to be included in tarballs and get installed
19588
19589
195902005-11-03  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19591
19592 * src/interface.c, src/prefs.c: added long line marker settings to
19593                                 preferences dialog
19594
19595
195962005-10-31  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19597
19598 * src/callbacks.c, src/sciwrappers.c:
19599   reset the line number margin width at zooming in and out (thanks to
19600   Frank Lanitz for reporting)
19601 * src/dialogs.c, src/callbacks.c, src/document.c, src/keyfile.c:
19602   re-implemented recent files menu, this time in a useful way
19603 * bugfix: auto completion is working again
19604
19605
196062005-10-30  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19607
19608 * bugfix: src/filetypes.c: fixed the function pointer of filetype
19609                            Tex to get the correct styling
19610                            (thanks to Frank Lanitz for reporting)
19611 * src/document.c: reset the width of line number margin at saving
19612 * src/document.c, sciwrapper.c, geany.h, keyfile.c:
19613   added vertical line (by default at column 72) to mark long lines
19614
19615
196162005-10-25  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19617
19618 * new release: Geany 0.2 "Panaka"
19619 * configure.in, src/utils.c: added check for gethostname()
19620   and modified utils_get_hostname() appropriately
19621 * src/dialogs.c, src/interface.c: redesigned file open dialog
19622                                   to make it looks nicer
19623
19624
196252005-10-24  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19626
19627 * Makefile.am: added autogen.sh to EXTRA_DIST
19628 * scintilla/*: updated Scintilla to version 1.66
19629 * bugfix: configure.in: added check for fgetpos(), so compilation
19630                         with gcc 4 is possible
19631 * src/sci_cb.c: removed sci_cb_show_entity_list(), because it was
19632                 unnecessary
19633
19634
196352005-10-23  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19636
19637 * doc/geany.docbook: added search information in section Usage
19638 * src/utils.c: bugfix: check_disk_status should now work better
19639 * src/callbacks.c, src/dialogs.c, src/document.c, src/sci_wrappers.c,
19640   interface.c: created "Replace" dialog with Replace, Replace All and
19641   Replace Selection, also improved the Find dialog a little bit
19642 * src/callbacks.c, src/interface.c: added "show hidden files" checkbox
19643   in file open dialog
19644
19645
196462005-10-22  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19647
19648 * src/callbacks.c, src/dialogs.c, src/document.c:
19649   heavily improved find dialog
19650 * src/sci_cb.c: added simple <table>-completion in HTML-mode
19651 * src/callbacks.c, src/interface.c, src/main.c, src/keyfile.c:
19652   added toolbar popup entries for toolbar icon size
19653 * src/dialogs.c, src/images.c: removed compile icon and replaced it
19654   by the GTK stock icon "convert"
19655
19656
196572005-10-21  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19658
19659 * src/callbacks.c, src/interface.c, src/document.c, src/sciwrappers.c:
19660   added read-only mode (and checkbox in file open dialog)
19661   added also text entry in file open dialog to enter directly filenames
19662 * doc/geany.docbook: added startup information in section General
19663 * src/callbacks.c, src/interface.c, src/keyfile.c:
19664   added "Recent files" list to the file menu
19665 * src/build.c: at linking a file(C and C++): if source is newer than
19666                a existing object file, it is rebuilt
19667 * bugfix: src/build.c: compiling a file without any special arguments
19668                        didn't work
19669
19670
196712005-10-20  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19672
19673 * src/Makefile.am: EXTRA_DIST entry added, to include images.c
19674   (thanks to Frank Boehme for reporting of missing file)
19675
19676
196772005-10-19  Enrico Troeger  <enrico(dot)troeger(at)uvena(dot)de>
19678
19679 * first release - Geany 0.1 "Freyborn"
19680
19681