1 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Revert r4840 scope completion mode as it sometimes breaks
8 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
10 * src/ui_utils.c, src/ui_utils.h:
11 Make ui_label_new_bold() a function.
12 Escape the name of the current document for markup when using
13 document name for menu items (closes #3038844).
16 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
19 Focus toolbar item when pressing Go to Line keybinding only when
20 it's not in the toolbar's drop down overflow menu (fixes #3027454).
23 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
26 Fix build menu translation problems.
29 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
32 Fix scrolling the editor line in view after loading a session and
33 switching document tabs. Note this causes repainting so needs
37 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
39 * src/build.c, src/project.c, src/project.h:
40 Show the Project Properties build tab when choosing 'Set Build
41 Commands' for now to prevent confusion with non-project commands.
44 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
46 * src/search.c, doc/geany.txt, doc/geany.html:
47 Fix Grep --exclude-dir example.
50 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
52 * doc/geany.txt, doc/geany.html:
53 Fix wording - restarting is required for hidden prefs.
54 File templates don't need manual reloading anymore.
57 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
59 * src/printing.c, doc/geany.txt, doc/geany.html:
60 Always use white background color when printing (except for text
61 with a white foreground) to save ink (should fix #2968998).
62 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
63 Limit build error editor indicators to 50, but parse all errors in
64 the Compiler tab (fixes #3019823).
67 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
70 Re-enable fold.comment for the C lexer - it was disabled to prevent
71 //{ explicit folding, but that also disables stream comments /* */.
72 * tagmanager/tm_workspace.c, tagmanager/get.c:
73 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
76 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
78 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
79 Fix not loading plugins built against a newer API when Geany doesn't
80 provide the required version given in PLUGIN_VERSION_CHECK().
81 Improve documentation for PLUGIN_VERSION_CHECK().
82 * plugins/filebrowser.c:
83 Allow Find in Files when no items are selected.
86 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
89 Align notebook tab close buttons centred vertically - thanks to
93 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
96 Add doc/stash-example.c to fix 'make distcheck'.
98 Change the RequestExecutionLevel for the Windows installer to
100 * New release: Geany 0.19 "Vellam".
103 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
106 Group undo action for Insert Multiline Comment.
109 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
112 Don't individually install data/*.tags as all data/* files will be
116 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
118 * tagmanager/tm_project.c:
119 Fix a double free. (patch by Daniel Marjamaki, thanks).
122 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
124 * tagmanager/tm_workspace.c:
125 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
127 Fix reducing paths to project name in the Documents list
128 (patch by Eugene Arshinov, thanks).
130 Fix crash when trying to sort NULL pointers as tags in the Symbols
131 list (closes #3011986).
132 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
133 Update Scintilla to version 2.12.
134 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
135 scintilla/LexCrontab.cxx:
136 Remove unused Crontab lexer.
137 * data/filetypes.css, src/highlighting.c:
138 Add new style "media" for filetype CSS.
141 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
143 * doc/geany.txt, doc/geany.html:
144 Build section: minor rewording, formatting fixes; move some
148 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
151 Explicitly try to localise build menu item labels with
152 gettext to enforce getting default labels translated.
153 * tagmanager/tm_workspace.c:
154 Fix not closed FILE pointer on early exit
155 (patch by Daniel Marjamaki, thanks).
157 Update images for Geany 0.19.
159 Destroy the default symbol list treeview only once
160 (fixes gtk_widget_destroy warning on exit).
163 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
166 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
168 Fix parsing of C++ classes contain attributes with bitfields
169 (patch by Lex Trotman, thanks).
170 * src/plugindata.h, src/plugins.c:
171 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
172 plugins' meta information can be translated already in the
173 plugin manager dialog (patch by Colomban Wendling, thanks).
176 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
179 Print locale information in debug output.
181 Fix some labels which were marked as translatable but were not
182 handled properly by gettext().
185 Try to convert text into UTF-8 before adding it to the Compiler and
186 Messages Window (closes #3007919).
189 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
191 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
193 Pass G_LOG_DOMAIN to source files for better logging.
196 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
198 * THANKS, src/about.c:
199 Update of translation credits to reflect a change on Spanish
200 translation team better.
203 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
206 Fix infinite loop reading build command output
209 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
212 Fix duplicate accelerators for Clear and Copy in the
213 Messages Window popup menu.
215 Expand child widgets in the Plugin Preferences dialog
216 (patch by Colomban Wendling, thanks).
219 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
222 Fix Undo/Redo button state after the last document has been closed.
223 Add Print and Replace toolbar items to the list of document
226 Fix crash when the toolbar is reloaded without any open documents.
228 Fix Run toolbar item sensitivity after the last document has been
230 * plugins/classbuilder.c:
231 Remove two unnecessary g_strdups().
232 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
233 src/plugindata.h, src/ui_utils.h:
234 Add hidden preference to disable automatic scrolling in the
235 Compiler tab (closes #3004714).
238 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
240 * plugins/classbuilder.c:
241 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
244 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
246 * src/prefs.c, src/project.c:
247 win32.h can be included unconditionally.
249 Fix project base_path detection if the path has a trailing slash.
250 * src/document.c, src/editor.c, src/project.c:
251 Small improvements to speed up quit process with many open documents.
252 Avoid calling gtk_notebook_remove_page() on exit as it takes
254 * src/geanymenubuttonaction.c:
255 Explicitly check for the type when iterating the action's proxies.
256 For some reason on Windows, a GtkImageMenuItem proxy is created.
257 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
258 src/plugindata.h, scintilla/*, scintilla/include/*:
259 Update Scintilla to version 2.11.
260 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
262 Add new GTK define also for Mingw cross compilation and
263 makefile.win32 based Windows builds.
264 * plugins/filebrowser.c:
265 Implement reading and evaluating hidden file attribute on Windows.
266 Fix broken "Go Up" if the current path ends with a slash.
267 * THANKS, src/about.c, src/prefix.c:
268 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
269 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
270 src/main.c, src/notebook.c, src/prefs.c:
271 Add preference to add new document tabs beside the current one
272 (patch by Colomban Wendling, thanks).
273 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
274 src/keyfile.c, src/prefs.c, src/ui_utils.h:
275 Add a preference for choosing between GTK and native
276 File Open/Save dialogs (only available on Windows).
277 * doc/geany.html, doc/geany.txt:
278 Update documentation.
281 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
284 Sort file filters for the native Windows file open dialog by name.
285 Don't use file filters for the native Windows Save As dialog.
286 * src/dialogs.c, src/win32.c, src/win32.h:
288 Pass and use also parent and title arguments to
289 win32_show_document_open_dialog().
291 Call handle_save_as() only when the Save As dialog was not cancelled.
293 Improve adding/removing of the special separator between menubar and
294 toolbar when the toolbar is appended to the menubar.
295 * src/toolbar.c, src/templates.c:
296 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
297 not trigger updating the menus on each item removal.
300 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
303 Replace one non breaking space by normal space. Patch by
307 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
309 * plugins/classbuilder.c:
310 Don't make the 'Create Class' menu item document-sensitive
311 (patch by Colomban Wendling, thanks).
312 Add namespace support for GTK+ classes.
313 Add GET_CLASS() macro for GTK+ classes.
314 Add typedef of the private structure in the header file instead
316 (all the above from a patch by Colomban Wendling, thanks).
317 * src/highlighting.c:
318 Set common default "fold.comment" to 0 to disable it. This can
319 be overridden if desired.
321 Improve sorting of document list items
322 (patch by Colomban Wendling, thanks).
324 Remove unnecessary textdomain() call.
327 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
330 Fix search_find_text not returning -1 when match is out of range.
331 This fixes invalid memory reads and wrong template filename
332 wildcard replacement.
333 * src/search.c, src/document.c:
334 Only replace template filename matching start of word on saving.
335 * plugins/filebrowser.c:
336 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
337 * src/build.c, src/build.h, src/project.c:
338 Make some ugly build.h global variables static.
339 * src/build.c, src/build.h, src/project.c:
340 Add Build prefix for TableFields, TableData.
343 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
346 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
347 * src/dialogs.c, src/win32.c, src/win32.h:
348 (Re-)Implement a (still basic) native Windows Save As dialog when
349 compiled with GEANY_USE_WIN32_DIALOG.
352 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
354 * THANKS, src/about.c, plugins/classbuilder.c:
355 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
356 * src/ui_utils.h, src/ui_utils.c:
357 Add public, generic callback ui_editable_insert_text_callback()
358 to restrict GtkEntry text inputs to +/- and numeric values only.
359 * src/dialogs.h, src/dialogs.c:
360 Add special variant dialogs_show_input_goto_line() to use a normal
361 GtkEntry together with dialogs_show_input_goto_line() for text input.
362 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
363 Allow '+<number' and '-<number>' as values for Goto Line inputs
364 to jump relative to the current line (closes #2997238).
367 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
369 * src/highlighting.c:
370 Apply foreground and background colours of the folding margin
371 style properly (closes #2998347).
373 Don't auto-close short XML tags (closes #2994852).
374 * THANKS, src/about.c, src/keybindings.c:
375 Improve jumping to matching braces by consistently position the
376 cursor before or after the matching brace dependent where it
377 was before (patch by Dimitar Zhekov, thanks).
379 Fix crash when generating global tags files (patch by Colomban
383 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
386 Avoid connecting signals more than once.
389 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
392 Don't ignore the 'intltool' check on non-Windows systems, instead
393 raise a configure error.
396 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
399 Fix marking some strings as translatable (cannot be done in the
401 * src/templates.c, doc/geany.txt, doc/geany.html:
402 Reload templates if saving a document in the templates config dir.
405 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
407 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
409 Fix replacing {filename} template wildcard for custom file
410 templates with non-default file extension.
411 Add search_find_text() for POSIX regex searches.
412 * src/templates.c, doc/geany.txt, doc/geany.html:
413 Add {project}, {description} template wildcards (#2954737).
414 * doc/geany.txt, doc/geany.html:
415 Divide template wildcards into groups.
416 * src/plugindata.h, src/plugins.c, src/symbols.c,
417 plugins/geanyfunctions.h:
418 Add symbols_get_context_separator() to plugin API (patch by Colomban
422 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
425 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
426 Anonymous, thanks; #2995593).
427 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
428 plugins/geanyfunctions.h:
429 Add sci_set_line_indentation(), sci_get_line_indentation() to API
430 (patch by Colomban Wendling, thanks).
433 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
436 Warn user if hidden hard tab width setting is not 8.
439 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
441 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
442 doc/geany.txt, doc/geany.html:
443 Hide 'Tabs and Spaces: Hard tab width' preference - it should
444 always be 8. (Hidden setting kept in case users have modified it).
447 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
449 * doc/geany.txt, doc/geany.html:
450 Add Folding section link to filetypes.common custom settings.
453 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
456 When switching documents, don't call document_set_text_changed()
457 as this does much more than necessary. Instead call the necessary
458 UI update functions explicitly.
461 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
463 * tagmanager/vstring.c:
464 Fix invalid memory read (patch by Colomban Wendling, thanks).
467 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
469 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
470 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
471 strings in case of reaching the buffer size limit (part of #2979697).
473 Change the limit for the command line length when executing commands
474 to a maximum of 32768 characters (closes #2979697).
475 Fix broken opening URLs e.g. when using the 'builtin' Run command.
476 * tagmanager/ctags.c:
477 Change eFree() to simply ignore NULL pointers instead of asserting.
479 Remove malloc() fallback since we completely rely on g_malloc()
481 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
482 plugins/saveactions.c:
483 Make string arguments const where appropriate (patch by
484 Colomban Wendling, thanks).
485 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
486 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
487 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
488 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
489 src/symbols.c, src/templates.c, src/ui_utils.c:
490 Make string arguments const where appropriate (patch by
491 Colomban Wendling, thanks).
494 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
496 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
497 Make plugin_signal_connect() string argument const (patch by
498 Colomban Wendling, thanks).
499 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
500 Constify some more string pointers in the API (patch by
501 Colomban Wendling, thanks).
502 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
504 Support {pc} wildcard in snippets to escape percent char.
506 Recalculate line margin width when zooming (fixes #2990553).
507 * src/highlighting.c, doc/geany.txt, doc/geany.html,
508 data/filetypes.common:
509 Support more folding icon styles: arrows, +/- and no lines
513 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
516 Fix Windows build by properly guarding Unix-only code.
519 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
521 * src/templates.c, doc/geany.txt, doc/geany.html:
522 Support {ob} and {cb} in fileheader and file templates; they are
523 replaced last with { and }. This allows 'escaping' of wildcard
525 * src/editor.c, plugins/classbuilder.c:
526 Fix Class Builder plugin to use correct indentation instead of
528 Make editor_insert_text_block() only replace leading tabs for the
529 'Tabs' indent type; also group edits for undo.
530 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
532 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
535 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
537 * tagmanager/pascal.c:
538 More fixes to prevent possible crashes by trying to free NULL
541 Automatically show and hide the sidebar notebook tabs according
542 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
544 Add a static global variable to monitor autocompletion mode in order
545 to prevent cancellation of the struct/class (C/C++) auto completion
546 list (patch by Thomas Martitz, thanks).
548 When starting and trying to access the Unix Domain socket of a
549 potentially running instance, first compare file ownership with the
550 user id of the running process to prevent accessing a wrong socket
551 file (part of #2985463, this might not yet be the final solution).
554 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
556 * plugins/filebrowser.c:
557 Synchronize popup menu and plugin preferences dialog 'Show Hidden
558 Files' option (fixes #2989288).
561 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
563 * tagmanager/entry.c, tagmanager/entry.h,
564 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
565 tagmanager/parse.h, tagmanager/tm_source_file.c:
566 Add tm_source_file_set_tag_arglist() to manually set the argument
568 * tagmanager/python.c:
569 Use tm_source_file_set_tag_arglist() to set the argument list
570 field of Python class tags to the argument list of their
572 Backport a fix from CTags SVN to prevent possible crashes by trying
573 to free NULL pointers.
576 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
578 * tagmanager/txt2tags.c:
579 Remove duplicate code from Txt2Tags parser.
580 Remove the title control characters ('=') when parsing titles.
581 Also parse numbered titles (closes #2984703).
582 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
584 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
585 Add missing documentation for 'Reset Zoom' keybinding.
587 Another attempt to fix the PHP parser regexp for parsing functions.
588 Fix wrong parsing of function arguments when those contain nested
589 brackets (as reported by Harold Aling).
591 Fix Ctrl-Click on notebook tab if Numpad is active.
594 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
596 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
597 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
598 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
599 src/ui_utils.c, src/ui_utils.h:
600 Add option 'System Default' for toolbar icon style and size to
601 use the GTK default value.
602 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
603 src/toolbar.c, src/toolbar.h:
604 Shorten the toolbar popup menu, only provide items for Toolbar
605 Preferences and to Hide the toolbar.
607 Instantly update the toolbar icon size and style when the
608 corresponding global GTK settings are changed.
609 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
610 src/plugindata.h, src/socket.c:
611 Add new command line option --list-documents to return a list
612 of currently opened documents (closes #2979933).
615 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
617 * plugins/htmlchars.c:
618 Make plugin remember whether replacement of special characters was
619 activated even after restart of Geany or reloading of plugin.
622 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
625 Fix inserting snippets with an indent when using Mac CR line
628 Update status bar after using Document->Set Line Endings.
630 Improve API docs for editor_insert_text_block().
633 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
636 Refactor snippets_complete_constructs().
637 Remove an unnecessary TODO.
639 Fix indenting a snippet when there is whitespace after the
643 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
645 * doc/geany.txt, doc/geany.html:
647 * src/build.c, src/msgwindow.c:
648 Fix disabled compiler message tracking if using indicators to
649 show build errors is disabled (closes #2982834).
652 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
654 * scintilla/Editor.cxx:
655 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
656 and SCI_GETSELECTIONEND with rectangular selections. This fixes
657 replacing in a rectangular selection.
660 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
663 Re-detect any document filetypes set to None after reloading
664 filetype extensions (closes #2979661).
666 Fix showing '...' item last instead of first for document word
670 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
672 * data/filetypes.perl:
673 Adjust Perl Compile command to use the -c command
674 line option to perform a syntax check instead of using the
675 deprecated ByteCompile module.
676 Add error_regex to parse error messages and warnings when performing
677 syntax checks on Perl files.
680 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
682 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
683 Add API docs for keybinding enums.
684 * src/notebook.c, doc/geany.txt, doc/geany.html:
685 Make Ctrl-click on any notebook tab switch to the last used
689 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
691 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
692 src/geanyentryaction.c, src/geanyentryaction.h,
693 src/geanywraplabel.c:
694 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
695 object for efficiency.
698 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
700 * plugins/classbuilder.c:
701 Beep if the user hasn't entered a class name on pressing OK.
703 Fix replacing '^' regex.
704 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
705 plugins/geanyfunctions.h:
706 Add Stash widget functions to API.
708 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
712 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
715 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
717 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
718 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
719 plugins/geanyfunctions.h, plugins/geanyplugin.h:
720 Add Stash setting functions to API.
721 Remove unnecessary argument to stash_group_load_from_file().
722 * src/geanyobject.c, plugins/classbuilder.c:
723 Don't generate FOO_GET_PRIVATE() macro because caching the result
724 in Foo::priv can be much more efficient.
727 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
730 Fix cursor positioning when toggling comments
731 (patch by Thomas Martitz, thanks).
734 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
736 * src/keybindings.[hc]:
737 Added Control+0 for zoom reset, see suggestion from #2969886.
740 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
742 * src/search.c, src/document.c:
743 Fix wrong selection range after Replace in Selection.
746 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
749 Make CreateChildProcess() working with Unicode strings, e.g.
750 directory names (closes #2972606).
752 Remove reference to already removed latex.tags file.
753 Future releases probably still depend on GTK 2.16.
754 * scintilla/ScintillaGTK.cxx:
755 Backport fix from Scintilla CVS to not paste text beyond the end
756 of lines (closes #2969096).
757 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
759 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
760 to not set Geany's minimum window size anymore (closes #2972992).
761 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
764 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
767 Make adding string and string vector settings initialise the setting
769 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
770 Add stash_group_load_from_file() and stash_group_save_to_file().
773 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
775 * data/filetypes.common:
776 Set default for wrapped lines to show marker at end of line only
777 (more expected and doesn't change line alignment - closes #2972386).
778 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
779 src/pluginutils.c, doc/plugins.dox:
780 Improve API docs contents page by listing all commonly-used files.
781 Fix 'Date' appearing twice on the date line.
782 Don't generate API docs for prefs.h, toolbar.h (unused).
783 Move some '@file' doc-comments to the .c file.
784 * src/interface.c, geany.glade:
785 Add frame for 'Printing' prefs dialog page.
786 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
787 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
789 Rename Stash data types to be independently named from Geany (so
790 Stash can be reused for other projects).
791 Rename GeanyPrefGroup to StashGroup.
794 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
796 * tagmanager/python.c:
797 Apply patch from Colomban Wendling to parse Python lambda functions
798 (thanks) - modified to only parse toplevel or class member lambdas.
799 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
801 Add doc-comments for Stash setting functions.
802 Add an example file showing usage of Stash.
803 (Not enabled yet until added to the plugin API).
806 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
809 Fix using return value without checking return status, caused
810 incorrect sensitivity settings on build dialog.
813 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
816 Add tip about gcc optimization & warnings/debugging.
818 Update Libraries section about synchronizing with other projects.
821 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
824 For now revert the recent patch which set real_path of newly
825 open non-existent configuration files as this seems hackish and
826 causes 'file not found' warnings.
828 Fix/Improve GIT repository detection
829 (patch by Thomas Martitz, thanks).
830 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
832 Add utils_copy_environment() to the plugin API.
835 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
837 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
838 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
840 Use 3rd person for more API dox.
841 Change 'This is a wrapper function for...' to 'Wraps...' in brief
843 Change 'After all...' to 'Afterwards...'.
844 * src/interface.c, geany.glade:
845 Apply patch from Eugene Arshinov to make frame packing/alignment
846 more consistent (thanks).
849 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
852 Fix ui_button_new_with_image() to call gtk_button_set_image() so
853 that gtk_button_[sg]et_label() work as expected.
854 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
855 Make Build Commands dialog show menu item labels as a button (to
856 help show that menu labels don't normally need to be edited &
857 display the mnemonic correctly). Clicking shows an input dialog to
858 set a new menu item label.
859 Split dialogs_show_input() into 2 functions: one simple, one for
861 Fix possible double-destroy of input dialog when closed by user.
863 Fix not destroying 'Make Custom Target' input dialog after first
866 Make Long Line Marker settings for existing projects default to
867 general settings instead of 0 (thanks to Eugene Arshinov).
868 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
869 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
870 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
871 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
872 Use 3rd person (gets not get) for API function brief descriptions.
873 Avoid using 'convenience function' in API brief descriptions.
876 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
878 * doc/geany.txt, doc/geany.html:
879 Warn about some GNU extensions for regular expressions & clarify
881 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
882 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
883 src/editor.h, geany.glade:
884 Apply patch from Eugene Arshinov to add project long line marker
885 customisation (thanks).
886 * src/interface.c, geany.glade:
887 Edit/tidy 'Long line marker' labels.
890 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
892 * src/build.c, src/project.c:
893 Fix crash due to NULL in project build preferences (thanks to
897 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
899 * src/utils.c, src/utils.h, src/search.c, src/search.h,
900 src/document.c, doc/geany.txt, doc/geany.html:
901 Merge gnu-regex branch:
902 Use POSIX system/GNU regex engine for find & replace 'Use regular
903 expressions' option. This alters regex syntax a bit - see the docs
904 for details; we now support '?' operator and replacement backslash
905 escaping is more standard.
906 Make regex search imply replacing escaped chars.
907 Allow \0 backreference replacement for the whole match.
908 Note: Replace All may be slower; if this is a problem please let me
911 Add argument to utils_str_replace_escape() for keeping
912 uninterpreted backslash escapes e.g. '\\', '\e'.
913 * scintilla/LexMarkdown.cxx:
914 Backport minor formatting/style changes from Scintilla project.
915 * doc/geany.txt, doc/geany.html:
916 Remove warning about no visual indication for zero-column-mode
920 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
923 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
926 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
928 * wscript, scintilla/*, scintilla/include/*:
929 Update Scintilla to version 2.03.
930 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
931 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
932 Add preference for virtual spaces.
934 Fix wrong default response for the Debug Messages dialog.
936 Fix crashes when using Save As with no open files (closes #2964406).
938 Fix duplicate mnemonics on 'Resave missing file' dialog, also
939 move the question from the secondary to the main text to be
940 more compatible with the Gnome HIG.
941 Fix broken 'Save' action in 'Resave missing file' dialog.
943 Improve PHP parser to parse also the argument lists of PHP functions.
945 Correctly set the parent widget for the keybinding overwrite
948 Fix setting the icon for some dialogs if the parent itself is also
951 When editing non-existent config files using the Tools->Configuration
952 Files menu, explicitly set the real_path to avoid presenting the Save
953 As dialog when saving the file (patch by Tony Rick, thanks).
955 Focus the editor widget after hiding the sidebar when it had the
956 input focus (patch by Can Koy, thanks).
957 Properly show/hide the mesages window when using the View menu item
959 * plugins/filebrowser.c:
960 After opening files, focus the editor widget
961 (based on a patch by Can Koy, thanks).
962 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
963 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
964 src/ui_utils.h, src/vte.c:
965 Add and use convenience function ui_is_keyval_enter_or_return() and
966 add it to the plugin API.
969 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
971 * src/about.c, THANKS, po/ast.po:
972 Added Asturian translation. Thanks to Marcos Costales for providing.
975 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
978 Fix keyboard accelerators in debug messages window
982 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
984 * scintilla/LexR.cxx:
985 Backport R lexer from Scintilla CVS to fix case sensitive keywords
986 (Scintilla bug #2956543).
987 * src/sidebar.c, src/about.c, THANKS:
988 Make Space on the symbol and document list not focus the editor
989 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
990 * src/document.c, src/document.h:
991 Fix document_try_focus() to make it work with the sidebar document
993 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
994 Make Space on the compiler and messages widgets not focus the editor
995 widget while Enter does (patch by Can Koy, thanks).
997 Fix wrongly auto-detected multiline comments
998 (patch by Eugene Arshinov, thanks).
1001 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1004 Show number of lines of current document inside statusbar. Thanks to
1005 Can Koy for providing the patch.
1008 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1010 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1011 Make Switch to Editor keybinding reshow the document statistics
1012 line, so user doesn't have to move the cursor.
1015 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1018 Update keywords for the R language (patch by Jon Senior, thanks).
1021 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1024 Fix the instruction how to insert unicode characters
1028 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1030 * scripts/create_py_tags.py:
1032 Replace tabs by spaces.
1033 * plugins/genapi.py:
1035 Replace tabs by spaces.
1036 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1037 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1038 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1039 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1040 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1041 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1042 Add keybindings to switch to the sidebar's Document and Symbol list
1043 as well as to the Message Window's current tab
1044 (patch by Eugene Arshinov, thanks).
1046 Update primary keywords for the R language
1047 (patch by Jon Senior, thanks).
1050 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1053 Add more detailed hints about reloading configuration
1054 (thanks to Tony Rick).
1055 * data/filetypes.javascript:
1056 Correct the keyword list for JavaScript (thanks to Jonas).
1059 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1061 * New release: Geany 0.18.1 "Balfour".
1064 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1066 * src/keybindings.c:
1067 Add special cases for handling the Select All keybinding (Ctrl-A) in
1068 the toolbar search and goto line text entries (closes #2948040).
1069 Strip trailing spaces after reflowing a paragraph, patch by
1070 Dominik Wagenfuehr, thanks (closes #2945497).
1073 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1075 * src/geanymenubuttonaction.c, src/templates.c:
1076 Partly revert last commit:
1077 Unref the new files toolbar menu when freeing templates as it
1078 was done before but unref it *after* the menu has been removed
1079 from the GeanyMenuButtonAction.
1081 Fix possible endless loop when trying to detect the encoding of
1082 non-text files (patch by Alexey Antipov, thanks).
1085 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1088 Allow saving remote files using g_file_set_contents() as well
1089 (patch by Алексей Антипов, thanks).
1090 * data/filetypes.python:
1091 Adjust style for secondary keywords to be less aggressive.
1092 Add Python 2.5 builtins keywords.
1093 * src/geanymenubuttonaction.c, src/templates.c:
1094 Unref the new files toolbar menu when setting a new menu to fix
1095 possible crashes when reloading configuration.
1097 When reloading configuration, process the current document at last
1098 so the symbol list will be updated correctly.
1101 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1104 Explicitly read filetype configuration files before generating
1105 global tags to get settings for custom filetypes.
1108 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1111 Fix GLib warning when toggling 'no plugins available' item.
1114 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1116 * icons/Makefile.am:
1117 Include geany.ico in the distribution tarball.
1119 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1120 * scripts/create_py_tags.py:
1121 Make the script a bit more robust with newer Python versions.
1123 Use utils_spawn_sync() instead of g_spawn_sync().
1126 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1129 Close meta tag for export date properly.
1132 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1135 Update RPM Spec file (patch by Dominic Hopf, thanks).
1138 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1141 Fix renaming sci_send_message(), sci_send_command() function
1145 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1147 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1148 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1149 plugins/geanyfunctions.h, plugins/Makefile.am,
1150 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1151 Use full function name for GeanyFunctions function pointers. This
1152 avoids naming conflicts e.g. with C++'s 'new' keyword.
1153 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1157 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1159 * src/utils.c, src/utils.h, src/vte.c:
1160 Add utils_copy_environment() and make use of it.
1161 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1162 src/editor.c, src/templates.c, src/templates.h:
1163 Add new special template wildcard "{command:...}" to use the
1164 output of a command in templates.
1165 Adjust template functions to mostly work with GeanyDocuments.
1166 Minor cleanups in the template code.
1168 Replace the old icons with smiley icons from the Rodent icon theme.
1169 Fix showing the same icon for two or more slots.
1171 * src/editor.c, src/editor.h, src/keybindings.c:
1172 Rename fold_symbol_click() to editor_toggle_fold().
1173 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1174 was used to respect the 'Fold/unfold all children' preference
1178 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1181 Prevent possible segfault in get_build_group().
1183 Fix GLib warning & beep if trying to insert multiline comment for a
1184 filetype that doesn't support it.
1187 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1190 Add gcc commands to build a plugin to the HowTo.
1191 * src/search.c, src/document.c, src/document.h:
1192 Show 'Replaced X matches in Y documents' message when using
1196 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1198 * scripts/plugin_test.c:
1199 Add a little test program which can load and test Geany plugins to
1200 verify it is loadable at runtime and all necessary symbols are
1202 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1204 Add new signal: "geany-startup-complete" which is sent once all
1205 initialization and startup tasks has been done.
1206 * README.I18N, configure.ac, wscript, po/LINGUAS:
1207 Remove po/LINGUAS from the repository.
1208 Generate it automatically if needed by reading available
1209 message catalogs from the po directory.
1210 Also respect the LINGUAS environment variable properly.
1213 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1216 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1220 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1222 * src/editor.c, src/templates.c, src/templates.h:
1223 Refactor templates_replace_all() into templates_replace_valist()
1224 to save some code duplication.
1227 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1229 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1230 src/plugindata.h, src/plugins.c:
1231 Add editor_insert_text_block() to plugin API.
1234 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1237 Update copyright information.
1238 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1239 doc/geany.txt, doc/geany.html:
1240 Add keybinding to open the last closed tab (closes #2912692).
1243 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1245 * autogen.sh, configure.in, configure.ac:
1246 Rename configure.in to configure.ac.
1247 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1249 Add sci_find_text() to the plugin API.
1250 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1251 src/interface.c, src/prefs.c:
1252 Add a checkbox in the preferences dialog to explicitly toggle
1253 the visibility of the sidebar (closes #2923340).
1256 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1258 * src/editor.c, src/plugins.c, src/plugindata.h,
1259 plugins/geanyfunctions.h:
1260 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1261 editor_get_eol_char() to the plugin API.
1262 * src/callbacks.c, src/plugins.c, src/plugins.h:
1263 Fix sensitivity of the Edit->Plugin Preferences menu item
1264 if plugins are loaded which do not provide a configuration dialog.
1265 * scripts/create_py_tags.py:
1266 Rewrite and extend the Python tags parsing script to use
1267 Python's inspect module to read symbols from Python modules
1268 including scope information.
1269 * data/filetypes.restructuredtext:
1270 Add the default comment character sequence for reStructuredText.
1272 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1273 clicked but their text fields are not part of the toolbar (#2920807).
1274 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1276 Add new style to change foreground and background colours for
1277 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1279 Remember the window position of the Find, Replace and Find in Files
1280 dialogs (closes #2877988).
1283 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1286 Fix a minor typo inside plugin API reference.
1289 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1291 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1292 Make dialogs_show_prompt() more flexible to take up to three
1293 button/response code pairs to be shown.
1294 Add a close button to the dialog when asking to Re-Save a
1296 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1298 Fix LaTeX environment auto completion with CR/LF line endings.
1299 Add some sanity checks.
1301 When closing a document after it was deleted from the filesystem,
1302 don't ask whether it should be saved first.
1303 Mark the document only as changed if it is not closed afterwards.
1304 Prevent possible segfaults if the document was closed when it is
1305 missing from the filesystem.
1306 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1307 src/msgwindow.h, src/prefs.c:
1308 Add MessageWindow::scribble and use it instead of searching the
1309 widget pointer everytime.
1310 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1311 Add preferences for hiding single tabs from the messages window
1312 (no GUI preferences yet, still to be implemented).
1313 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1314 Set the correct parent window for the toolbar editor
1315 dialog (closes #2913334).
1316 * src/win32.c, src/win32.h, src/ui_utils.c:
1317 Rename win32_show_project_folder_dialog() to
1318 win32_show_folder_dialog() as it is not related and not used by any
1319 project management related code.
1320 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1321 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1322 as it is specialised for opening documents.
1323 Implement win32_show_file_dialog() as a generic file open dialog and
1324 use it with ui_path_box_new().
1327 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1330 Extend auto_latex() function to check whether an environment has been
1331 closed within the next lines to avoid auto adding double \end{}.
1333 Remove LaTeX tags from SVN. Can be found at
1334 http://download.geany.org/contrib/tags/ if needed.
1337 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1339 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1340 Add document_need_save_as().
1341 Show the Save As also for documents created from filetype templates
1342 instead of saving them directly with the untitled filename.
1345 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1347 * geany.glade, src/interface.c:
1348 Move 'Send Selection to Terminal' menu item from Format to Commands
1351 When going to a build error, try the current document's path if
1352 the parsed filename doesn't exist. (This can happen when we receive
1353 build messages in the wrong order - after the 'Leaving directory'
1356 Refactor msgwin_goto_compiler_file_line().
1357 * src/interface.c, src/keybindings.c, geany.glade:
1358 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1361 Refactor/reformat on_replace_dialog_response().
1364 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1367 Improve geany.spec (split the package into a binary and devel
1368 package, update BuildRequires and other minor improvements).
1369 Patch by Dominic Hopf, thanks.
1372 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1374 * src/filetypes.c, src/filetypes.h:
1375 Make group for custom filetypes.
1376 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1377 Add custom filetype Genie.
1380 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1382 * src/highlighting.c:
1383 Highlight D & Java types from a global tags file.
1384 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1385 Add debug message warning if recursive lexer_filetype is set.
1386 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1387 Remove duplicate sci_set_keywords(), make argument const.
1388 * src/highlighting.c:
1389 Only show debug message once if recursive lexer_filetype is set.
1390 Tidy highlighting_init_styles code for filetype None handling.
1391 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1392 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1393 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1394 tagmanager/parsers.h, tagmanager/makefile.win32,
1395 tagmanager/verilog.c, tagmanager/Makefile.am,
1396 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1397 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1398 * src/highlighting.c:
1399 Fix segfault on startup (oops).
1400 * data/filetypes.verilog:
1401 Fix using common style colours for Verilog.
1404 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1406 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1407 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1408 Move C-like filetype properties into configuration files.
1409 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1411 Remove now unnecessary "styling_within_preprocessor" C style key.
1412 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1413 data/filetypes.glsl, data/filetypes.cs:
1414 Use lexer_filetype=C configuration file key instead of duplicate
1415 styleset functions for C++, C#, GLSL, Vala.
1418 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1420 * doc/geany.txt, doc/geany.html:
1421 Warn about not using BOM for configuration files (confuses GKeyFile
1422 parser, at least on my system).
1424 Add/improve debug messages for custom filetypes.
1427 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1430 Add a couple of further latex-beamer commands to list of LaTeX tags.
1433 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1435 * plugins/filebrowser.c:
1436 Add an in-entry clear icon to the filebrowser plugin's filter
1437 entry (patch by Dominic Hopf, thanks).
1438 * src/prefs.c, src/ui_utils.c:
1439 Fix two compiler warnings about possibly uninitialised variables.
1442 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1444 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1445 plugins/geanyfunctions.h:
1446 Add main_is_realized() to the plugin API.
1447 * tagmanager/include/tm_tagmanager.h:
1448 Update partly outdated and wrong doc comment.
1449 * src/main.c, src/main.h, src/socket.c:
1450 Allow opening Geany projects remotely.
1451 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1452 Add a hidden pref to allow executing text which was sent to the
1453 terminal directly, i.e. do not strip trailing newline characters.
1454 Also fix the stripping of trailing newline characters if there was
1458 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1460 * src/about.c, THANKS:
1461 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1462 Kurt de Bree into section of previous translators.
1465 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1467 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1468 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1472 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1474 * src/highlighting.c:
1475 Make stylesets take a ft_id argument so they can be reused fully with
1476 custom filetypes, so custom styles and keywords can be set.
1477 * src/highlighting.c:
1478 Fix setting filetype properties when both the system and the user
1479 file have properties set.
1480 * src/symbols.c, tagmanager/vhdl.c:
1482 * src/highlighting.c:
1483 Fix lexer settings for custom filetypes.
1486 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1489 Remove duplicate regular expression for parsing classes.
1490 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1491 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1492 src/main.h, THANKS, src/about.c:
1493 Add new command line option "--socket-file" to be able to specify
1494 separate socket filenames for instances
1495 (closes #2896027, patch by Jörn Reder, thanks).
1496 * src/keybindings.c, src/keybindings.h:
1497 Add keybindings_check_event() to manually check GdkKeyEvents against
1498 Geany's keybindings.
1499 * src/callbacks.c, src/utils.c, src/utils.h:
1500 Add and use utils_get_help_url().
1501 * geany.glade, src/interface.c, src/prefs.c:
1502 Add a Help button to the preferences dialog.
1503 Handle Help keybinding events for the preferences dialog especially
1504 and open the manual with the corresponding anchor link to the current
1505 preferences page (same goes for the new Help button).
1508 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1510 * src/toolbar.c, src/geanymenubuttonaction.c,
1511 src/geanymenubuttonaction.h:
1512 Use separate tooltips for toolbar menu buttons and their attached
1514 * tagmanager/latex.c:
1515 Improve parsing of sections and chapters by ignoring shortnames
1516 like \section[shortname]{label} (closes #2890477).
1519 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1521 * src/geanymenubuttonaction.c:
1522 Try to fix Gtk warning when using Tools->Reload Configuration.
1525 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1527 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1528 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
1529 data/filetypes.pascal, data/filetypes.docbook,
1530 data/filetypes.python, data/filetypes.conf:
1531 Use filetypes.foo [lexer_properties] group instead of hardcoding
1532 lexer properties (more flexible e.g. for custom filetypes).
1533 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
1534 Replace filetypes.xml html_asp_default_language key with
1535 filetypes.html asp.default.language property in [lexer_properties]
1539 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1541 * doc/geany.txt, doc/geany.html:
1542 Fix slightly wrong description of how to insert Unicode characters.
1544 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
1545 ui_setup_open_button_callback().
1546 * src/prefs.c, src/prefs.c, src/vte.c:
1547 Refactor color and font button callback functions in the
1548 preferences dialog. Move the VTE related callback functions
1550 Make use of ui_setup_open_button_callback().
1552 Improve printing status texts (patch by Dominic Hopf, thanks).
1553 * src/prefs.c, src/vte.c:
1554 Use the default dialog title set by ui_setup_open_button_callback()
1555 to be more consistent and to save one string.
1558 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1561 Separate DKinds from CKinds.
1562 Don't generate macro tags for D, Java.
1565 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1567 * tagmanager/ctags.c, tagmanager/general.h:
1568 Make TagManager Assert statements cause g_warning on failure.
1569 * src/keybindings.c:
1570 Fix reflow paragraph command when cursor < anchor using
1571 sci_fix_selection().
1574 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1576 * tagmanager/perl.c:
1577 Fix Geany segfault with constant tags (#2895168).
1579 Fix invalid tree iter access when using tv_iters.tag_other but not
1580 using tv_iters.tag_variable.
1581 * HACKING, tagmanager/perl.c:
1582 Fix parsing Perl format statements ("other" type doesn't seem
1584 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
1585 Fix using "other" tag type.
1588 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1591 Remove useless comment about applying settings only when libvte.so
1592 could be loaded which is only displayed *if* libvte.so is loaded.
1594 Allow autocompletion for HTML entities even within a word.
1595 * src/geanymenubuttonaction.c:
1596 Only set the menu of the button if a non-empty GtkMenu is passed to
1597 geany_menu_button_action_set_menu() so the menu arrow keeps
1601 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1604 Fix parsing some Java code (e.g. filetypes.java) after r4407.
1607 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1610 Parse D functions with contracts (fixes #1885480).
1611 Parse D alias statement like typedef.
1612 (Ignore some more D keywords).
1614 Fix creating D interface tags properly.
1616 Parse contents of D extern{} and version{} blocks.
1619 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1625 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1627 * src/plugindata.h, HACKING:
1628 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
1631 Show number of files saved on status bar when using Save All.
1632 * src/highlighting.c:
1633 Use default color scheme if pref color scheme file doesn't exist.
1634 * src/keybindings.c:
1635 Fix moving correct lines after selecting whole line(s).
1638 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1640 * tagmanager/makefile.win32:
1641 Fix broken build on Windows because of a typo
1642 (patch by Timothy Boronczyk, thanks).
1645 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1647 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
1649 Add 'View->Editor->Color Schemes' menu, for now only shown if color
1650 scheme files exist in a colorschemes config directory. Color scheme
1651 files must end in ".conf" and currently only the [named_styles]
1653 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
1654 Add utils_get_config_files().
1655 * src/highlighting.c:
1656 Fix issue with default color not being reset if overridden with a
1657 system default color.
1658 * src/highlighting.c:
1659 Only reload filetype files when changing color scheme, not all
1660 configuration files.
1661 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
1662 Deprecate documents_foreach() as it looks more like a function; use
1663 foreach_document() instead.
1664 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
1667 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1669 * src/stash.c, src/stash.h:
1670 Use typedef instead of pointer for widget_id function arguments.
1673 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1675 * src/pluginutils.c:
1676 Don't expand Plugin Preferences page spacing vertically to fill the
1677 height of the dialog.
1678 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
1679 geany.glade, plugins/splitwindow.c:
1680 Allow GeanyKeyBinding label field to contain underscores, which won't
1681 be displayed by Geany. This saves adding near-duplicate translation
1683 Add mnemonics for 3 Edit->Format menu items.
1684 Add keybindings_get_label().
1685 * src/interface.c, geany.glade:
1686 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
1690 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1693 Desensitize Edit->Commands menu item when no docs are open.
1694 * src/interface.c, src/keybindings.c, src/callbacks.c,
1695 src/callbacks.h, geany.glade:
1696 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
1697 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
1698 Add general function sci_get_string() that works with any string
1699 buffer messages that follow the Windows message convention.
1700 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
1701 src/keybindings.h, src/callbacks.c, src/callbacks.h,
1702 src/pluginutils.c, src/pluginutils.h, geany.glade:
1703 Add 'Edit->Plugin Preferences' menu item and keybinding.
1704 Don't include plugindata.h in pluginutils.h because it redefines the
1705 GEANY() macro for plugin use.
1706 * doc/geany.txt, doc/geany.html:
1707 Update for Plugin Preferences keybinding.
1710 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1713 Sort document word completion list.
1714 * src/interface.c, src/keybindings.c, src/callbacks.c,
1715 src/callbacks.h, geany.glade:
1716 Add some useful commands to editor popup menu under "Commands"
1717 submenu (thanks to Lex).
1718 Move 'Duplicate line or selection' from Format -> Commands submenu.
1719 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1720 Enable switching the sidebar to the right on Windows again, as it
1721 apparently works after all.
1723 Fix using tab to autocomplete in some other situations that word part
1724 completion doesn't apply in.
1725 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
1726 Add Edit->Commands submenu which is shared with the editor popup
1728 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
1729 Change editor popup Commands submenu to start as child of menubar
1730 Edit menu, as this is more usual e.g. for keybindings initialization.
1731 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
1733 Share a single Format submenu for menubar Edit and popup menu.
1736 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1739 Fix a compiler warning about an uninitialised variable.
1741 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1742 sciwrappers.h, build.h (for the Waf build system,
1743 accordingly to r4366).
1746 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1748 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
1749 src/toolbar.c, src/toolbar.h:
1750 Add missing dox for types/files in the API.
1751 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
1752 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
1753 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
1754 of functions not in the API).
1755 Warning: any plugins that include these headers should remove them.
1756 * src/build.c, src/build.h:
1757 Move function doc-comments to build.c so they stay in sync. Note:
1758 these functions are still not in the API.
1760 Add 'Doc-comments' plugin API subsection.
1761 * plugins/filebrowser.c:
1762 Fix packing configure widgets equally.
1763 Use spacing multiples of 6 as recommended by Gnome HIG.
1764 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
1765 Disable switching the sidebar to the right on Windows as it will
1766 probably fail like the Split Window plugin.
1768 Improve 'Detect from file' indentation pref by ignoring lines with
1769 indentation wider than 24 characters as this is more likely to be
1770 alignment than indentation.
1773 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1775 * plugins/saveactions.c:
1776 Fix adding the filetype's default extension when using the
1777 Instant Save plugin (closes #2885142).
1779 Before looking for line and column numbers specified as part
1780 of a filename, ensure the file doesn't exist on disk. This allows
1781 opening of files like "test:0".
1783 Rename "select" variables into "selection" to avoid shadowed names.
1784 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
1785 Add ui_widget_modify_font_from_string() and sci_goto_line()
1787 * plugins/filebrowser.c:
1788 Rename "select" variables into "selection" to avoid shadowed names.
1789 Make use of ui_widget_modify_font_from_string().
1792 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1794 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
1795 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
1797 Add sidebar position interface pref.
1800 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
1802 * doc/geany.txt, doc/geany.html:
1803 Add missing underscores to links.
1806 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1808 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1809 Add 'Move line(s) up/down' keybindings.
1812 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
1814 * src/build.c, src/build.h, src/filetypes.h:
1815 Include code for project filetype execute commands and fix bug in
1816 saving project filetypes list.
1817 * src/project.c, src/build.c, doc/geany.txt:
1818 Make non-project execute configuration save to filetypes not
1820 Fix closing of project failing to remove build commands dialog entry.
1823 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1825 * src/project.c, src/ui_utils.c:
1826 Set border width for project properties build table.
1827 * geany.glade, src/interface.c:
1828 Don't expand hard tab width alignment.
1831 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1833 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
1834 doc/geany.txt, doc/geany.html:
1835 Support loading global tags files for custom filetypes.
1836 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
1837 doc/geany.txt, doc/geany.html:
1838 Add 'Word part completion' keybinding so keys other than Tab can be
1839 used, or to clear/change the combination so Tab does full completion
1841 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1842 Add 'Select to previous/next word part' keybindings.
1843 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1844 Add 'Switch to Messages' focus keybinding.
1847 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1849 * doc/geany.txt, doc/geany.html:
1850 Add 'Custom filetypes' section.
1851 * src/filetypes.c, src/filetypes.h, src/document.c,
1852 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1853 tagmanager/include/tm_source_file.h:
1854 Add filetype "tag_parser" key so custom filetypes can use an existing
1856 Add tm_source_file_get_named_lang().
1857 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1859 Add filetype "lexer_filetype" key so custom filetypes can use an
1863 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1865 * THANKS, src/about.c:
1866 Add Xhacker Liu for his work at zh_CN translation to long list of
1870 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1872 * src/sciwrappers.c:
1873 Remove unnecessary line number margin padding.
1874 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1875 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1877 Improve word part autocompletion so AC list is not cancelled and
1878 reshown (this also stops the selection changing).
1879 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1881 Improve CamelCase word part autocompletion for runs of capital
1884 Don't complete snippets if there's a selection.
1887 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1890 Fix crash opening project when Geany started with no geany.conf.
1893 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1895 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1896 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1898 Add word part autocompletion for the current selected item when
1899 pressing Tab - Enter still completes normally.
1900 Add foreach_str() API macro.
1901 Temporarily modify scintilla to say if tab was used for
1903 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1904 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1905 plugins/classbuilder.c:
1906 Revert r4301 - utils_free_pointers() taking 4 arguments.
1907 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1908 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1909 plugins/splitwindow.c:
1910 Add highlighting_set_styles() to API, use for Split Window plugin so
1911 filetypes.common settings get set too.
1912 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1914 * src/document.c, src/editor.c, plugins/splitwindow.c:
1915 Call editor_apply_update_prefs() from editor_create_widget() so
1916 correct tab width and other settings are applied for Split Window
1920 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1922 * src/keybindings.c:
1923 Don't include trailing newlines when using reflow command.
1925 Add stock close buttons to notebook tab popup menu.
1926 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1927 plugins/geanyfunctions.h:
1928 Add document_get_notebook_page() to API.
1930 * data/templates/files/file.html, data/templates/files/file.php:
1931 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1932 * src/interface.c, src/ui_utils.c, geany.glade:
1933 Move Tools configuration items to top of menu.
1934 * src/keybindings.c, src/search.c:
1935 Fix warning when using Find in Files with no documents open; make
1936 keybinding work in this case.
1939 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1941 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1942 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1943 Make Split Window 'Show current document' button have a drop-down
1944 menu to select the other documents.
1945 Add new API function ui_menu_add_document_items().
1948 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1951 Fix sensitivity settings for compile and build toolbar items.
1954 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1957 Don't use filetype submenus for templates (slower to navigate, often
1958 only 1 per-filetype anyway).
1960 Put old filetype template menu items in 'Old' submenu as they should
1961 be removed after the 0.19 release.
1962 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1963 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1964 to be ignored if inappropriate so a later keybinding with the same
1965 key combination can intercept it. (Also group callbacks are usually
1966 tidier than separate callbacks).
1967 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1968 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1969 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1970 plugins/classbuilder.c:
1971 Make utils_free_pointers() take 4 arguments, add to API.
1972 * src/templates.c, src/tools.c, src/ui_utils.c:
1973 Fix memory leaks with gtk_container_get_children().
1976 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1979 Ensure that old style build config is not loaded if it does
1983 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1985 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1986 Added Galician translation.
1987 Thanks to José Manuel Castroagudín Silva.
1990 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1992 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1994 Apply set default encoding for existing files only if the files are
1995 non-Unicode (patch by Alexey Antipov, thanks).
1998 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2000 * src/highlighting.c:
2001 Move new_styleset() and preprocessor setup code into
2003 * src/highlighting.c:
2004 Call apply_filetype_properties() from styleset_c_like().
2007 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2009 * doc/geany.txt, doc/geany.html:
2010 Improve information about predefined keybindings which are
2011 commonly used across applications (patch by Lex Trotman, thanks).
2013 Enable embedded page setup properties in the (Unix) Print dialog
2014 on newer GTK versions (closes #2870596).
2015 * src/highlighting.c:
2016 Map global types (read from tags files) to keyword style for
2020 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2023 Fix wrong creation of filetype template menu items for custom
2025 * src/highlighting.c:
2026 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2028 Group 'New with template' items by filetype submenu (currently only
2030 Show custom file template items before filetype template items.
2031 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2033 Only use one 'New with template' submenu - reparent as needed.
2035 Don't create templates/filetype.none either.
2037 Warn if custom template file no longer exists.
2040 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2043 Add missing icon for Java packages in the Symbol List.
2046 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2048 * src/highlighting.c, data/filetypes.vala:
2049 Add Vala keywords to conf file.
2050 * src/templates.c, doc/geany.txt, doc/geany.html:
2051 Read custom file templates from $prefix/share/geany/templates/files
2052 as well as user dir.
2053 * src/templates.c, data/templates, data/templates/files,
2054 data/templates/files/file.rb, data/templates/files/file.html,
2055 data/templates/files/main.java, data/templates/files/main.c,
2056 data/templates/files/main.cxx, data/templates/files/file.php,
2057 data/templates/files/main.d, data/templates/files/program.pas,
2058 data/templates/files/main.py, data/templates/files/file.tex,
2059 wscript, Makefile.am:
2060 Move filetype template defaults into custom file template files.
2063 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2065 * src/symbols.c, tagmanager/perl.c:
2066 Change Perl tag parser to ctags SVN r601. This removes support for
2067 buggy local/my/our but it parses constant/format/labels and should
2068 be less buggy overall (closes #2861232).
2069 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2070 Add utils_get_file_list_full() which can optionally sort or include
2071 a full path for each list item.
2072 * src/utils.c, src/plugindata.h, src/plugins.c:
2073 Add utils_get_file_list_full() to API.
2076 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2078 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2079 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2080 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2081 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2082 po/POTFILES.in, wscript:
2083 Rename treeviews.[hc] -> sidebar.[hc].
2084 * data/filetypes.common:
2085 Remove unused [styling] arguments.
2086 * src/highlighting.c, data/filetypes.markdown,
2087 data/filetypes.restructuredtext:
2088 Remove style defaults from the code - just read them from
2089 configuration files.
2090 * src/highlighting.c, HACKING:
2091 Add apply_style_entries() to simplify implementing styleset_foo().
2092 * src/highlighting.c:
2093 Remove filetype keyword defaults from the code - just read them from
2094 configuration files.
2095 * src/highlighting.c:
2096 Add sci_set_keywords() wrapper.
2099 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2101 * scripts/create_py_tags.py:
2102 Make the code a bit more pythonic.
2103 * doc/images/build_menu_commands_dialog.png,
2104 doc/images/main_window.png:
2105 Add new images referenced in the documentation.
2106 * doc/geany.html, doc/geany.txt:
2107 Several documentation improvements (patch by Lex Trotman, thanks).
2108 * src/pluginutils.c:
2109 Fix setting the appropriate page of the combined plugins
2113 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2115 * src/keybindings.c:
2116 Only focus toolbar goto line entry when pressing keybinding if it's
2117 visible (patch by Eugene Arshinov, thanks).
2119 Focus editor after entering a number in the goto line toolbar entry.
2121 Use AC_PATH_PROG instead of which for portability (patch by Erik
2122 Southworth, thanks).
2124 Show plugins that only implement plugin_configure_single() in the
2125 multiple-configure dialog as a page with a configure button on it.
2126 Add padding for multiple-configure dialog.
2127 Make the multiple-configure dialog notebook tabs scrollable.
2128 * src/pluginutils.c, src/pluginutils.h:
2129 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2130 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2131 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2132 plugins/geanyfunctions.h, plugins/filebrowser.c:
2133 Add plugin_show_configure() API utility function.
2134 Add File Browser popup menu 'Preferences' item.
2135 * src/highlighting.c:
2136 Add get_keyfile_ints() instead of using tmp_style hack.
2137 * src/highlighting.c, data/filetypes.xml:
2138 Change new html_asp_default_language markup pref to use integer,
2139 not hex in config file.
2140 Fix minor issue with changing pref back to 0.
2141 * src/highlighting.c:
2142 Fix possible segfault in get_keyfile_int() if key value is malformed.
2145 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2147 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2148 Add "html_asp_default_language" pseudo style to filetypes.xml
2149 to allow setting the used language in embedded ASP code
2150 (patch by Ross McKay, thanks).
2151 * src/filetypes.xml:
2152 Update VBScript keywords (patch by Ross McKay, thanks).
2155 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2157 * src/keybindings.c, THANKS:
2158 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2159 keybinding use line breaking column when enabled.
2161 Fix showing the document before reload dialog when opening an
2163 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2164 Add plugin_configure_single() plugin symbol which is easier to
2165 implement than plugin_configure() but won't support a
2166 multiple-plugin configure dialog.
2168 Show multiple plugins in the 'Configure Plugins' dialog.
2171 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2173 * doc/geany.txt, doc/geany.html:
2174 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2176 * doc/geany.txt, doc/geany.html:
2177 Add 'Toolbar entries' section.
2178 * doc/geany.txt, doc/geany.html:
2179 Update 'Go to line' keybinding description.
2180 * doc/geany.txt, doc/geany.html:
2181 Split keybinding table into group tables; update KB links.
2184 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2187 Fix compiler warnings about uninitialised variables.
2188 * src/callbacks.c, src/document.c:
2189 When reloading files, use the previously set encoding instead of
2190 detecting it again (closes #2862041).
2192 Turn on automake silent rules if supported.
2195 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2198 Speed up sorting in utils_get_file_list(). This reduces the file
2199 browser delay on displaying a big directory, e.g. /usr/bin.
2201 Expand command entry width when expanding Build Commands dialog.
2203 Split Build Commands dialog notes label and edit text.
2205 Add padding for Build Commands dialog separators.
2206 Add colons for regex field labels; fix 1 capitalisation.
2208 Fix none filetype Build Commands dialog label.
2209 Make group labels bold.
2210 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2212 Add & use ui_label_set_markup(), ui_label_new_bold().
2213 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2214 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2215 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2216 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2217 * src/keybindings.c:
2218 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2221 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2223 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2224 tagmanager/parsers.h, tagmanager/makefile.win32,
2225 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2226 data/filetype_extensions.conf, wscript:
2227 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2229 Merge recent changes from the CTags project to further improve
2233 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2236 Fix wrong alignment of printed pages when page headers are
2237 disabled (closes #2856822).
2238 Plug a small memory leak and improve function signature of
2241 Save an if expression.
2243 After clearing a text field using the embedded clear icon, put the
2244 input focus into this text field.
2247 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2249 * plugins/filebrowser.c:
2250 Free file list memory whilst iterating the list.
2251 Minor formatting fixes.
2252 * src/utils.c, src/utils.h:
2253 Add foreach_dir() API macro.
2254 Update API docs for utils_get_file_list().
2255 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2257 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2258 Beep if there are no more snippet positions.
2259 Limit length of snippet positions queue to 20.
2262 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2264 * src/keybindings.c, src/callbacks.c, src/search.c:
2265 Make Goto Tag commands use the current selection if present (useful
2266 for selecting part of a tag or for ReST section names with spaces
2269 Don't move the cursor when reloading.
2270 * src/plugindata.h, src/editor.c, src/editor.h:
2271 Make editor_prefs.snippets hash table private (not a pref).
2274 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2277 Remove deprecated --debug flag. Please use --verbose/-v instead.
2280 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2283 Show Find in Files stderr output in messages window instead of
2284 debug window so that invalid regex messages can be seen easily.
2285 Combine FIF stdout and stderr callback code.
2288 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2291 Fix opening filenames beginning with two dots (closes #2858487).
2292 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2293 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2294 data/filetypes.common, geany.glade:
2295 Update syntax highlighting after changing the 'Invert syntax
2296 highlighting colors' pref, instead of requiring a restart.
2297 Remove filetypes.common invert_all option - use 'Invert syntax
2298 highlighting colors' pref instead (closes #2854525).
2299 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2300 Add 'Allow' button when showing the conflicting keybinding dialog.
2301 Make dialogs_show_question_full() use GTK dialog on Windows if
2302 button text is not the stock yes/no items.
2303 Add dialogs_show_prompt() which also has an 'Apply' button.
2304 * src/queue.c, src/queue.h:
2305 Add warning that GeanyQueue may be removed.
2306 * src/keybindings.c, src/editor.c, src/editor.h:
2307 Change snippet_goto_next_cursor() to
2308 editor_goto_next_snippet_cursor() as it's in editor.h.
2309 Avoid using GPOINTER_TO_INT macro.
2312 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2314 * src/keybindings.c:
2315 Fix 'Reflow block' command when at the last paragraph and there's
2316 no last newline (patch by Eugene Arshinov, thanks).
2318 Add 'Compiler options & warnings' section.
2319 Update Style section to be clearer about code alignment and show
2324 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2326 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2327 src/plugindata.h, src/plugins.c, src/editor.c,
2328 plugins/geanyfunctions.h:
2329 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2330 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2332 Add sci_toggle_marker_at_line().
2333 Fix SciFuncs alignment.
2336 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2339 Fix erroneous free of returned string in prepare_run_script.
2342 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2344 * data/filetypes.latex:
2345 Changing default value for showing pdf and dvi to ensure to take
2346 *.pdf and *.dvi file.
2349 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2351 * src/about.c, THANKS:
2352 Change language string for Slovenian translation.
2355 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2357 * tagmanager/txt2tags.c:
2358 Fix multi-byte character constant comparison.
2360 Fix Gtk warning when trying to update documents popup menu item
2361 sensitivity before they exist.
2364 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2367 Improve the opening string in the plugin manager dialog.
2369 Use "max-width" to set the document width of the generated
2370 HTML documentation to let the text be auto-wrapped.
2371 * src/prefs.c, src/tagmanager/include/guregex.h,
2372 src/tagmanager/include/tm_tagmanager.h:
2373 Remove trailing spaces (patch by André Hentschel, thanks).
2375 Fix a compiler warning.
2377 Fix crash when opening documents.
2378 * src/build.c, src/build.h, src/project.c:
2379 Adjust coding style (no code changes).
2380 * src/build.c, src/project.c:
2381 Use NZV() macro instead of strlen() to check for empty strings.
2382 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2383 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2384 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2385 src/plugins.c, THANKS:
2386 Add new plugin signal: "document-before-save".
2387 Add get_line_end_position(), set_target_start(), set_target_end(),
2388 replace_target() to the plugin API
2389 (patch by Eugene Arshinov, thanks).
2390 Add new plugin signal: "document-filetype-set" (closes #2852286).
2391 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2392 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2393 tagmanager/Makefile.am, tagmanager/makefile.win32,
2394 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2396 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2399 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2401 * src/treeviews.c, src/document.c:
2402 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2403 Use gtk_notebook_set_current_page() instead of
2404 document_open_file_full() when choosing an item from the documents
2406 Avoid using goto in document_open_file_full().
2409 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2411 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2412 Enable type-ahead find for sidebar symbols and documents tabs
2413 (patch by Thomas Martitz, thanks).
2415 Fix 2 free's of possibly uninitialized pointers.
2418 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2420 * src/build.c, src/filetypes.h, src/filetypes.c:
2421 Only write filetype config files when build command or regex is
2422 actually changed. Removed commented code in src/filetypes.c.
2424 Ensure uses of filename are protected against nulls when running
2425 a build command and give status message if not.
2428 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2431 Remove plugin from plugin manager dialog on unloading if it no
2432 longer exists or is incompatible.
2435 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2438 Add warning if only one of the plugin_key_group[_info] symbols is
2439 defined for a plugin.
2440 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2441 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2443 Merge custom-filetypes branch:
2444 Support adding custom filetype files e.g. filetypes.Foo.conf.
2446 Allow GeanyFiletype::extension to be NULL.
2447 Add note about using GeanyFiletype pointer instead of filetype_id
2448 for filetypes.c function arguments.
2449 Replace styleset_none() with styleset_default().
2452 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2455 Show the sidebar if either the documents or the symbols list are
2456 enabled (related to #1876107).
2459 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2461 * src/build.c, src/filetypes.c:
2462 Fix compiler warnings.
2464 Fix removing leading double slashes in filenames which are used for
2465 network resources on Windows (closes #2844085).
2468 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2470 * src/keybindings.c:
2471 Fix Make keybindings (patch by Lex Trotman, thanks).
2473 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2475 Mention Files link at top for header files; demoplugin.c.
2476 Minor edits; remove 'far from being complete'.
2477 * src/keyfile.c, src/keyfile.h, src/main.c,
2478 data/filetype_extensions.conf, HACKING:
2479 Remove --generate-data-files argument & code - just edit
2480 filetype_extensions.conf by hand (filetype order was broken
2482 Add *.H extension for C++ (useful for non-Windows systems).
2485 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2488 Fix implementation of loading old project files with base
2489 directories. Use project_make_base_path instead of re-
2490 implementing. Now depends on project.c reading base dir
2491 prior to calling load_build_menu.
2493 Change usage of project base directory to conform with
2494 previous documented behavior when loading old project files.
2496 Change make custom and make object to ignore make in base path
2497 when reading old project file settings. Changed some indent
2498 spaces to tabs. Fix missing compile menu accelerator.
2501 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2504 Add warning about not using undocumented features.
2505 Add reference to HACKING for plugin API development.
2507 Add section 'Plugin API/ABI design'.
2508 * src/keybindings.h, src/makefile.win32, src/project.h,
2509 src/filetypes.h, src/Makefile.am, wscript:
2510 Use GEANY_PRIVATE to hide some fields from plugins.
2512 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2513 * src/build.c, src/build.h, src/project.c:
2514 Use build_ prefix for 3 functions in build.h; add a static modifier.
2517 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2520 Improve parsing of PHP functions by requiring a valid modifier or
2521 whitespace before the 'function' keyword to ignore some false
2522 positives like function tags inside comments
2523 (patch by Harold Aling, thanks).
2524 * tagmanager/python.c:
2525 Don't parse comments after import statements and other tags
2526 (closes #2838938, patch by Huandari Lopez, thanks).
2529 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2531 * data/filetypes.markdown:
2532 Add filetypes.markdown for configuration (thanks to Jon Strait).
2533 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
2534 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2535 plugins/geanyfunctions.h:
2536 Remove GeanyKeyGroup struct from the API - plugins should not set
2538 Make keybindings_set_item() duplicate the name and label fields
2539 (needed by GeanyLua) and return a keybinding pointer.
2540 Add keybindings_get_item() to the API (in case it's useful).
2541 Move some keybinding code out of plugin source files.
2544 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2546 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
2547 Don't generate build.h API docs until everything is approved and
2548 functions are actually in geany_functions.
2549 Move new GeanyFiletype and GeanyProject field(s) to end of struct
2550 as they may be changed or made private later.
2551 Break ABI for fields removed.
2554 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
2556 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
2557 src/keyfile.c, src/project.c:
2558 Changed names of symbols visible in build API to GEANY_xxx.
2561 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
2563 * src/project.h, src/project.c, src/build.c:
2564 Remove make_in_base_dir and run_cmd fields from project structure.
2565 Replaced by build functionality. Remove incorrect use in src/build.c
2566 build_run_cmd function.
2569 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2571 * src/project.h, src/project.c:
2572 Removed unused project_get_make_dir function, this is now per
2576 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
2578 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
2580 Fix some more warnings.
2581 Fix commented out execute/stop toolbar code in build.c.
2582 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
2583 Changed build.h api so all functions prefixed with build_.
2586 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2588 * src/build.c, src/build.h, src/project.c:
2589 Fix some gcc warnings with '-Wall -W -ansi' enabled.
2592 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
2595 Fixed leaks and crashes due to inconsistent use of static vs dynamic
2596 strings when reading old format configuration & project files.
2597 * src/build.c, src/project.c:
2598 Fixed GLib array assertion warnings when no project filetypes are
2599 available to be saved.
2601 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
2607 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
2609 * src/build.h, src/build.c, src/project.c:
2610 Created and documented plugins interface to build menu.
2611 Factored out new get_cmd_group function.
2612 Changed name of remove_command function to be consistent with the
2613 rest of the interface & changed calls in project.c.
2614 * src/Makefile.am, wscript:
2615 Added build.h to installed files lists.
2617 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
2620 Updated manual to match build-menu capability.
2623 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
2625 * src/build.c, src/build.h:
2626 Added set_build_non_ft_wd_to_proj() for use by project dialog.
2627 Improved interpretation of run_in_base_dir from old [build-settings]
2628 Added spacing to build commands dialog
2630 Removed run in base path option from project dialog and added button
2631 to set working directories to d the same.
2634 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
2637 Re-incorporated toolbar changes in trunk accidently excluded in merge
2639 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2642 Fixed substitute %f etc in commands
2643 Fixed potential leak in build_replace_placeholder
2644 Fixed leak in prepare_run_script (Thanks for patch Thomas)
2645 Fixed build_replace_placeholder to not require document.
2647 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
2649 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
2650 Fixed crash and lots of warnings, deleted some commented out code.
2651 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
2652 Removed make command from preferences and associated code
2654 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
2656 * src/build.c, src/build.h:
2657 Incorporated patch for working directory field (thanks Thomas)
2658 Removed run_in_base_dir option and associated code that it replaces
2659 Improved handling of old config files and mapping to new ones.
2661 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
2663 * src/build.h, src/build.c:
2664 Changed to itterate over entries in build commands dialog to allow
2665 additional fields to be added
2666 Implement support for multiple run commands
2667 * data/filetypes.latex:
2668 Implement configured commands and labels for latex.
2671 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
2673 * src/build.h, src/build.c:
2674 added dialog support for error regular expressions from multiple
2675 sources and storing and loading them fixed some typos and memory
2677 * src/filetypes.c, src/filetypes.h, project.c:
2678 added support for using error regexes from multiple sources
2681 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
2683 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
2685 Removal of build menu item source made redundant by the following fix
2687 Corrected priority oreder and loading of filetype dependent build
2688 menu items saved in the project file. Added print routine for
2689 debugging command sources and priorities set compile symbol
2690 PRINTBUILDCMDS true to enable
2692 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
2695 fixed problem loading old format filetype files, some formatting
2696 fixes fixed saving new format files
2697 added operation for clear button on build commands dialog
2699 fixed loading and saving filetype files
2702 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
2704 Configurable Build Menu Changes
2706 * doc/geany.html, doc/geany.txt:
2707 Updated build menu section to new functionality
2708 * src/build.h, src/build.c:
2709 Largly re-written, configurability added, Latex code removed
2710 * src/filetypes.h, src/filetypes.c:
2711 Filetype structure updated to add new command pointers, configuration
2712 load and store changed
2713 * src/keybindings.h, src/keybindings.c:
2714 Changed to address new command storage structure.
2716 Changed to load/store new configuration.
2718 Minor change to initialisation order.
2720 Changed to address new menu item storage structure.
2721 * src/project.h, src/project.c:
2722 Changed to load/store the new configuration info.
2724 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2726 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2727 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2728 doc/pluginsymbols.c, plugins/geanyfunctions.h,
2729 plugins/splitwindow.c:
2730 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
2731 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
2732 the ABI when adding fields to them.
2733 Add plugin_set_key_group() for plugins to dynamically set a
2734 keybinding group (e.g. for the Lua script plugin). Used in Split
2735 Window plugin as an example.
2736 Improve keybinding docs a little.
2739 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2741 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
2742 Add geanyfunctions.h to API docs.
2743 * plugins/splitwindow.c:
2744 Set the cursor color for the split window.
2747 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2750 Fix 'Open Selected File' for unsaved new documents.
2751 * src/keybindings.c, src/keybindings.h, src/prefs.c:
2752 Fix updating main menu accelerators after changing keybindings
2753 (thanks to Lex Trotman).
2755 Fix using 'Insert date' keybinding when a custom date string has
2757 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2758 Merge Plugin and GeanyPluginPrivate structs.
2761 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2763 * src/keybindings.c:
2764 Fix non-working Home and End keys on numpads.
2767 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2769 * doc/geany.txt, doc/geany.html, NEWS:
2770 Add 'Scope autocompletion' section.
2771 Add 'Tools menu items' section to explain configuration files
2772 submenu, reload configuration item.
2773 Minor updates/fixes.
2776 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2779 Add a translation hint to an ambiguous format string.
2781 Add missing include path to fix 'make distcheck'.
2783 Fix opening of local files in the browser on Windows.
2784 * New release: Geany 0.18 "Kaine".
2785 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2786 src/geany.h, doc/geany.html, doc/geany.txt:
2787 Post-release version bump.
2790 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2793 Temporarily disable reshowing calltips when the autocompletion
2794 list was closed implicitly by not choosing an item to fix
2795 problems with wrongly displayed calltips.
2797 Add missing 'coding' cookie to the Python filetype template.
2798 * doc/images/pref_dialog_edit_completions.png,
2799 doc/images/pref_dialog_toolbar.png:
2800 Update images for Geany 0.18.
2803 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2806 Add command '--hackingdoc' to create the HTML form of the
2810 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2812 * po/pt_PT.po, po/LINGUAS:
2813 Added a first Portugese (Portugal) translation based on work done at
2814 launchpad by e.g. André Glória and Alexandre Jesus.
2815 * src/main.c: Fix a minor typo on --help call.
2818 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2820 * src/highlighting.c:
2821 Call get_keyfile_wordchars() in highlighting_init_styles().
2824 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2826 * data/filetypes.ada:
2828 * src/keybindings.c:
2829 Switching notebook tabs now works for the currently used notebook
2830 widget instead of always using the documents notebook.
2831 * src/document.c, src/document.h, src/documentprivate.h,
2833 Small corrections to some API docs.
2836 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2838 * src/build.c, src/win32.h, src/win32.c:
2839 Expand system environment variables (%variableName%) on Windows when
2840 running Build commands.
2843 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2845 * src/keybindings.c:
2846 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2847 future using an indent block is more useful e.g. for ChangeLog
2849 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2850 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2851 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2852 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2853 tagmanager/parsers.h, tagmanager/makefile.win32,
2854 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2855 Add Markdown filetype (patch by Jon Strait, thanks).
2856 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2857 Fix disconnecting plugin signal id when not using geany_object.
2859 Add filetype_make_title() instead of using:
2860 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2861 It also supports "%s file" strings.
2864 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2866 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2867 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2868 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2869 plugins/filebrowser.c:
2870 Add plugin_signal_connect() for connecting plugin signals at
2871 runtime and also for connecting to any GObject signal.
2872 Add 'Plugin Utility Functions' on main page.
2873 Add foreach_array() macro.
2874 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2875 src/document.c, src/editor.c:
2876 Rename 3 sci functions to sci_set_target_start(),
2877 sci_set_target_end(), sci_replace_target() to match the SCI_
2881 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2883 * wscript: Fix compiling error with waf.
2886 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2888 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2889 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2890 src/Makefile.am, wscript:
2891 Move plugin_* utility functions to pluginutils.c.
2892 Add pluginprivate.h.
2894 Fix reshowing calltip in the wrong document.
2897 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2899 * doc/geany.txt, doc/geany.html:
2900 Add some general information about auto-completion capabilities
2901 (patch by Lex Trotman, thanks).
2904 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2906 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2907 Added a first Slovenian translation. Thanks to Joze Klepec.
2910 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2912 * src/highlighting.c:
2913 Use full styleset_foo[_init] function name as argument to
2914 init_styleset_case() and styleset_case() macros so it's easier to
2915 understand the code.
2916 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2917 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2918 doc/geany.txt, doc/geany.html:
2919 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2920 Heavily based on a patch by Eugene Arshinov (thanks).
2921 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2922 editor_strip_line_trailing_spaces().
2925 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2928 Attempt to fix reshowing calltips after the autocompletion list
2930 Reshow calltips also when the autocompletion list was closed
2931 implicitly by not choosing an item.
2933 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2935 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2936 plugins/splitwindow.c:
2937 Change utils_str_remove_chars() to work in place; fix allocating on
2938 the stack (the string length could exhaust the stack size).
2939 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2940 src/printing.c, src/callbacks.c:
2941 Rename utils_str_replace() utils_str_replace_all(), setting a
2942 'gchar **haystack' argument instead of returning a new string.
2944 For the Tabs indent type, remove spaces when unindenting (only) if
2945 there are no tabs on the line.
2946 Group undo actions for (un)indenting of multiple lines.
2947 * src/document.c, src/editor.c:
2948 Fix scrolling horizontally after finding a search match with the
2949 search bar or Find Next/Previous which is off-screen.
2950 * src/keybindings.c:
2951 Fix GLib warning when pressing a key with no documents open.
2954 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2957 Start unifying usage of @a and @c markup elements in API docs,
2959 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2960 Show/hide the toolbar without a restart when the setting in the
2961 preferences dialog is changed (closes #2824785).
2962 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2963 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2964 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2966 Continue unifying usage of @a and @c markup elements in API docs.
2969 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2972 Remove relative/untidy path elements when creating new documents
2973 with a filename (e.g. from the command-line) (#2823998).
2976 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2979 Disable 'Recent Projects' menu item if the list of recent projects
2982 Fix some harmless compiler warnings.
2983 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2984 src/plugins.c, src/utils.c, src/utils.h:
2985 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2986 src/utils.c and add it to the plugin API.
2987 Make utils_str_remove_chars() work on a new copy of the input string
2988 instead of modifying it in place.
2990 Remove underscores from the toolbar items labels.
2993 * plugins/splitwindow.c:
2994 Fix broken 'Show the current document' tool button icon.
2997 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2999 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3001 Add stash_group_add_widget_property() so we can save any widget's
3002 read/write properties.
3003 Use Stash for ui_prefs.sidebar_page setting.
3004 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3005 Make foreach_ptr_array() use an integer argument for its
3006 implementation, as this is more useful potentially than a gpointer*
3007 argument, and more straightforward.
3008 Add foreach_c_array(), foreach_ptr_array() to API.
3009 * src/utils.c, src/utils.h, src/document.c:
3010 Remove relative/untidy path elements when opening documents (closes
3013 Fix showing project name for documents list files with no
3014 subdirectory (oops).
3016 Fix checking whether to overwrite when using the Rename button in
3017 the 'Save As' dialog.
3020 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3023 Don't use the main window as parent for dialog boxes if it is not
3025 Set titles for message dialogs.
3028 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3031 Display item labels instead of raw names in the toolbar editor.
3032 Apply changes in the toolbar editor instantly.
3033 Show icons in the toolbar editor.
3034 Speed up toolbar editor dialog creation.
3036 Improve inserting of comment templates like File header or licence
3037 notices. The comment information are now read from the filetype
3038 configuration files.
3040 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3043 Enable file monitoring for files which are written to disk by Geany
3046 Fix broken special case handling when detecting filetypes from a
3047 shebang or other special file headers.
3050 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3053 Make Mark All keybinding clear search highlighting when there's no
3056 Fix wrong match length when using Mark with regex.
3057 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3058 src/keyfile.c, src/main.c:
3059 Add 'Show Paths' documents list popup item.
3060 Add "load_settings" core-only signal emitted just after loading
3061 main keyfile settings; useful to delay building UI elements until
3062 settings have been read.
3064 Fix GTK warning when right-clicking on default tag tree.
3065 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3066 Add treeviews_finalize().
3067 Remove tv.popup_openfiles field.
3070 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3072 * src/highlighting.c:
3073 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3076 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3079 Quote the uri before passing it to the browser when opening a
3080 website (closes #2818635).
3082 Fix broken 'builtin' Run command for HTML files on Windows.
3085 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3088 Properly fix wrong brace highlighting of non-brace character.
3090 Allow autocompletion in Perl double-quoted strings.
3091 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3092 Don't autocomplete in Perl q() strings.
3093 * data/filetypes.common:
3094 Make Mark highlighting brighter.
3095 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3096 Use hyphen for auto-feature terms.
3097 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3098 src/document.h, src/main.c:
3099 Add documents_foreach() API macro that skips invalid docs.
3100 Make filetypes[], documents[] part of the API again.
3101 Add GEANY() macro for sharing geany symbols between API and core.
3102 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3103 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3104 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3105 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3106 plugins/classbuilder.c, wscript:
3107 Add geanyplugin.h single include for plugin API; update all core
3109 Add sci_set_font() to API.
3110 Update plugin howto.
3111 * src/filetypes.c, src/filetypes.h:
3112 Remove filetypes_foreach_named().
3115 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3117 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3118 src/document.h, src/main.c, THANKS:
3119 Apply patch from Eugene Arshinov to reload color schemes via menu
3122 Reload filetypes.common after saving it.
3124 Improve wrong brace highlighting of non-brace character.
3127 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3130 Delay highlighting matching braces by 100ms, which speeds up
3131 scrolling with the arrow keys.
3132 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3133 Add 'Mark All' keybinding.
3134 * tagmanager/diff.c:
3135 Show relative paths in diff filename tags.
3138 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3140 * src/highlighting.c:
3141 Fix setting keyword list 'classes' for Haxe
3142 (pointed out by Andreas Mokros, thanks).
3145 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3147 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3148 doc/geany.txt, doc/geany.html, geany.glade:
3149 Add 'Drop rest of word on completion' pref.
3150 * src/editor.c, doc/geany.txt, doc/geany.html:
3151 If autocompletion is already visible when forcing completion, show
3152 document word completion instead of tag completion.
3153 Docs: Minor edits of related prefs items.
3154 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3155 Add warning when printing and editor font is not monospaced.
3156 Fix using GtkMessageType instead of gint param for
3157 dialogs_show_msgbox*().
3158 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3160 Support 'tab indents, space aligns' style for auto-indentation
3164 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3166 * src/document.c, src/documentprivate.h:
3167 Rework the GIO based file monitoring code. Now it is used only
3168 to indicate a possible change of the file, the real check if the
3169 file has been changed is performed by stat().
3170 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3171 Add style 'line_height' to increase the line height.
3172 Add style 'marker_mark' and change style 'marker_search' to
3173 define the style used for marked search results.
3174 * doc/geany.txt, doc/geany.html:
3175 Add the new 'Autocomplete all words in document' pref to the docs.
3178 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3180 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3181 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3182 Add 'Autocomplete all words in document' pref.
3183 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3185 Fix limiting number of word completion entries too much.
3186 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3187 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3188 Show autocompletion icons for tag symbols - for now only tags with
3189 an arglist have the 'function/method' icon, all others have the
3191 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3193 * src/highlighting.c:
3194 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3198 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3200 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3201 Fix removing underscores in translated string using no_underscore()
3203 Set a tooltip for the Split Window plugin's Show Current tool button.
3204 Add utils_strdupa() macro.
3205 * src/interface.c, geany.glade:
3206 Use stock Select All icon now we have >= GTK 2.8.
3208 Fix using project name for document items that start with the
3209 project base path but don't match it e.g. ".../geany-plugins"
3210 instead of ".../geany" when project name is 'geany'.
3213 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3216 Fix warnings when the toolbar does not contain the Run button.
3218 Fix wrong parsing of complex expressions in the Lua parser.
3219 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3221 Remove unnecessary enums.
3222 * scintilla/*, scintilla/include/*, src/plugindata.h:
3223 Update Scintilla to version 1.79.
3224 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3226 Use the new Scintilla struct names prefixed with 'Sci_'.
3227 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3229 Add second argument to the 'line_wrap_indent' styling setting to
3230 control the new Scintilla indentation mode for wrapped lines.
3232 Properly close the toolbar editor on delete-events.
3233 Fix warnings and possible crashes in the toolbar editor when the list
3234 of displayed toolbar items is empty.
3235 * data/filetypes.tcl:
3236 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3238 Make the plugin manager dialog a bit bigger.
3241 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3243 * doc/geany.html, doc/geany.txt:
3244 Fix wrong default values for the 'Show Calltip' keybinding.
3247 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3249 * data/filetypes.tcl, src/symbols.c:
3250 Fix duplicate "context_action_cmd" key.
3251 Use different icons for "Methods" and "Procedures" in the symbol
3254 Fix a small memory leak.
3255 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3256 src/keybindings.h, src/plugindata.h:
3257 Make the Scintilla keybindings 'Delete to end of line' and
3258 'Go to end of display line' configurable.
3260 Fix a typo (closes #2813624).
3263 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3265 * tagmanager/tcl.c, src/symbol.c:
3266 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3267 methods and namespaces).
3268 Patch by Witek Mozga, thanks.
3271 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3273 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3274 src/toolbar.c, src/toolbar.h:
3275 Remove ui_toolbar.xml Configuration Files menu item.
3276 Add a real toolbar editor dialog.
3277 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3279 Add a button in the preferences dialog and an item for the toolbar
3280 popup menu to run the toolbar editor dialog.
3283 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3286 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3287 Fix using locale encoding for default Save As dialog path.
3289 Beep when trying to activate the '...' autocompletion item.
3290 Limit (forced) document word completion to
3291 autocompletion_max_entries.
3292 Beep if no completions are shown when forcing autocompletion.
3295 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3297 * data/ui_toolbar.xml, src/toolbar.c:
3298 Add 'Build' toolbar button to the default layout.
3301 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3304 If forcing autocompletion and there's nothing else to show, complete
3305 from words in the current document (using code from Enrico's
3306 'AutoComplete Test' plugin).
3309 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3312 Add debug message if plugin has not set a name for its keybinding
3314 * data/filetype_extensions.conf:
3315 Add *.m4 for shell scripts.
3318 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3320 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3321 data/filetypes.common, TODO:
3322 Make filetypes.common named styles use the "default" named style for
3323 all missing style fields.
3324 Set named styles to usually leave the background style empty. This
3325 currently allows C-like filetypes to have a common default
3327 Allow hard-coded colors to use -1 for the default color.
3328 Add some highlighting style examples to the manual.
3331 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3334 Create initial template files with proper platform-specific line
3338 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3340 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3341 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3342 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3343 src/ui_utils.c, src/ui_utils.h:
3344 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3346 Refactor some related code.
3347 * tagmanager/conf.c:
3348 Strip trailing spaces from "Key" tags.
3350 Quote the full filename to the Geany executable when creating the
3351 "Open with Geany" context menu item.
3352 * plugins/splitwindow.c:
3353 Avoid using deprecated GTK API.
3354 * src/log.c, src/main.c:
3355 Properly clean up the logging mechanism.
3357 Fix LaTeX view commands on Windows (part of #2807688).
3359 Add a popup menu for the keybinding list in the preferences dialog
3360 to easily expand and collapse all groups.
3361 Refactor the keybindings code for the preferences dialog, prefix all
3363 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3364 Init stock items before creating the toolbar (closes #2809324).
3366 Generate the geany.pc file also on Windows.
3368 Invert the logic to determine which Save All we want to use:
3369 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3370 like icon for any other themes.
3373 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3375 * src/highlighting.c, README.Packagers, HACKING:
3376 Remove gsd_* default styles, use named styles instead.
3377 Note: this relies on filetypes.common being installed.
3378 Add load_style_entries(), which makes style initialization
3379 simpler, used in styleset_c_like_init().
3382 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3385 Prevent possible crash on Windows when not setting an initial
3386 directory for native File Open/Save dialogs.
3387 * data/filetypes.xml, src/highlighting.c:
3388 Add style 'jscript_regex' for filetype HTML
3389 (patch by Chris Macksey, thanks).
3392 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3394 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3395 Make GeanyDocument::file_type always be non-NULL, even for a new
3396 document with no filetype set.
3398 Only autocomplete scope for scopes matching the current filetype's
3400 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3401 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3402 data/filetypes.actionscript, data/filetypes.cs,
3403 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3404 data/filetypes.javascript, HACKING:
3405 Make C++, D lexer filetypes use named styles (apart from uuid,
3406 verbatim, regex styles).
3409 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3412 Don't explicitly change the current directory of the Save As dialog
3413 so that it uses the last used directory.
3416 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3418 * src/encodings.c, src/encodings.h, src/plugindata.h:
3419 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3422 When completing from the macro list, put the cursor after
3426 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3428 * tagmanager/pascal.c:
3429 Fix type definitions being parsed as functions.
3431 Don't autocomplete in unterminated strings as well.
3432 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3433 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3434 Remove data_ptr argument to foreach_[s]list() macros, as using
3435 node->data is enough sometimes; this makes the macro a bit more
3437 Add foreach_[s]list() macros to the plugin API docs.
3440 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3442 * scintilla/LexPascal.cxx:
3443 Backport fix from Scintilla CVS:
3444 Pascal lexer hanging on file that starts with 'interface' after
3448 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3451 Update Waf to 1.5.7.
3453 Overwrite installation prefix on Windows only if it wasn't
3454 specified explicitly.
3457 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3460 Display calltips for Pascal symbols in the Pascal way (#2803945).
3461 * tagmanager/pascal.c:
3462 Fix wrongly set return values for procedures (closes #2803945).
3463 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3464 tagmanager/include/tm_source_file.h,
3465 tagmanager/include/tm_workspace.h:
3466 Fix doxygen warnings.
3469 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3471 * src/editor.c, tagmanager/include/tm_workspace.h,
3472 tagmanager/tm_workspace.c, TODO:
3473 Autocomplete scoped fields like struct members when typing '.' (and
3474 also '->' or '::' in C/C++).
3475 Save all tag types for C/C++ when generating a global tags file, so
3476 we can use autocompletion for structs also.
3477 Merge tm_workspace_find_scope_members(),
3478 tm_workspace_find_namespace_members() (currently not built) from
3479 Anjuta 2.24.1 tagmanager.
3482 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3484 * tagmanager/pascal.c:
3485 Parse Pascal calltips (closes #2802640).
3488 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3490 * src/filetypes.c, src/ui_utils.c:
3491 Add filetypes.common Configuration Files menu item.
3494 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3497 Add backslash to the wordchars on Windows when using
3498 'Open Selected File'.
3500 Add support (configure, build and install) for building on Windows
3501 and cross-compiling for Windows using the Waf build system.
3504 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3507 Set status bar text instead of showing a dialog when saving
3508 ui_toolbar.xml because the user might save several times.
3510 Fix redrawing due to colourising just after the document is first
3511 drawn. Now colourising should happen before the first draw.
3512 * src/utils.c, src/highlighting.c, data/filetypes.common:
3513 Fix segfault on parsing a filetypes.* style definition that has < 4
3515 Allow style definitions to have missing fields to use the default
3519 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3521 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
3522 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
3523 * plugins/classbuilder.c:
3524 Fix wrongly created header guards when the class filenames contains
3525 dashes (patch by PCMan, thanks).
3526 * data/filetypes.matlab:
3527 Add build_settings section to allow executing Matlab scripts.
3529 When closing a document, mark it as invalid before removing it from
3530 the documents notebook (this fixes wrong Save All button state when
3531 closing an unsaved document because the "switch-page" signal handler
3532 was using old data).
3535 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3537 * src/highlighting.c, doc/geany.txt, doc/geany.html:
3538 Support toggling bold/italic when using a named style, e.g.:
3539 commentdockeyword=commentdoc,bold,italic
3540 Improve named style docs.
3543 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3545 * src/build.c, src/editor.c:
3546 Fix crashes when parsing the output of a compiler which reports
3550 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3552 * src/highlighting.c:
3553 Support named styles also for filetypes.common [styling] entries.
3554 * doc/geany.txt, doc/geany.html, HACKING:
3555 Update docs for named styles in filetypes.* files.
3557 Fix grouping symbol list children when parent name has "." character
3558 in for reStructuredText and Conf filetypes.
3559 * tagmanager/python.c:
3560 Fix grouping functions/classes under a nested function.
3563 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3566 Adjust icon paths (patch by Dominic Hopf, thanks).
3567 * doc/geany.txt, doc/geany.html, src/toolbar.c:
3568 Add 'Replace' toolbar button (closes #2798225).
3571 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3573 * src/utils.c, src/highlighting.c, TODO:
3574 Implement named styles support for filetypes.* using a
3575 filetypes.common [named_styles] section e.g.:
3576 foo=0xc00000;0xffffff;false;true
3578 These can be used in e.g. filetypes.c as:
3582 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3585 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
3588 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3590 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
3591 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
3594 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3597 Remove quote_executable() as it is not used anymore.
3598 When creating the geany_run_script.bat use the "%0" variable
3599 expansion and quote it for the "del" command (closes #2797172).
3601 On Windows, fallback to the literal build command line if searching
3602 for the command in the system path failed (related to #2795923).
3603 Properly terminate the resulting strings when reading the stdout
3604 and stderr of any spawned commands on Windows.
3607 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3610 Use the wide character versions of native Windows File dialogs.
3612 Fix wrong initialisation of the default project path button callback
3613 in the preferences dialog.
3614 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
3615 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
3616 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
3617 icons/Makefile.am, icons/geany.ico, icons/scalable,
3618 icons/scalable/Makefile.am, icons/scalable/geany.svg,
3620 Move the icons geany.png and geany.ico into the icons directory.
3621 Add a 16x16 pixel Geany icon and the scalable SVG icon.
3622 Drop the pixmaps directory.
3625 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3627 * src/keybindings.c:
3628 Improve MRU document switching so there are no duplicates in the
3629 list and documents switched to whilst the dialog is open are
3630 ignored. Also beep when cycling through to the first document in the
3634 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3637 Fix broken 'Cancel' button in the Save As dialog.
3640 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3643 Fix multiline indent when selection covers text on the last line.
3645 Show current document in bold in tab popup menu.
3646 * src/editor.c, tagmanager/python.c, TODO:
3647 Parse Python calltips.
3650 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3652 * src/symbols.c, tagmanager/python.c:
3653 Parse Python import statements to get symbol completion for the
3654 imported module names.
3655 * src/editor.c, src/editor.h:
3656 Make some only locally used functions static.
3657 Fix wrong sanity check.
3659 Fix quoting the build command string on Windows (closes #2791769).
3660 This broke when we made build commands run synchronously on Windows,
3661 now we don't need to special quote the commands anymore.
3664 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3667 Drop rest of word to the right of cursor when autocompleting (do we
3668 need a pref for this?).
3671 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3673 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
3674 Add sci_set_selection().
3675 * doc/geany.txt, doc/geany.html:
3676 Update manual for MRU switching.
3677 * src/callbacks.c, src/editor.c, src/editor.h:
3678 Make indenting with the Tabs indent type preserve spaces on the line,
3679 so it works for the 'tab indents, space aligns' formatting style.
3682 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3684 * tagmanager/python.c:
3685 Fix missing symbols for variables when an equal sign is used
3686 in a comment on the same line as the variable declaration.
3687 Backport change from CTags SVN to keep the parser more in sync:
3688 Add support for Cython constructs to the Python parser.
3690 Remember the additional Find in Files search flags at startup.
3692 Don't close the Save As dialog when saving the file didn't succeed.
3695 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3698 Remember scribble cursor position.
3699 * src/keybindings.c, TODO:
3700 Implement Most-Recently-Used document switching when pressing
3701 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
3704 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3706 * data/latex.tags: Added some more commands from unit.sty and
3710 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3712 * src/symbols.c, doc/geany.txt, doc/geany.html,
3713 tagmanager/makefile.win32, tagmanager/nestlevel.c,
3714 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
3715 tagmanager/Makefile.am, wscript:
3716 Merge unstable branch:
3717 Add reStructuredText scope information for tags (for symbol list
3719 Read custom system global tags files from $prefix/share/geany/tags;
3721 Show the number of tags in a user global tags file (instead of the
3722 running total) in the debug message.
3723 Also print debug messages when loading a tag file manually or for
3724 default global tags files e.g. python.tags.
3726 Move NestingLevel tags code into a separate file, add functions.
3728 Add 'Installation prefix' section instead of quoting '/usr/local'
3730 Update for custom system global tags files.
3733 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3735 * src/highlighting.c:
3736 Unset maybe previously keywords when setting up Scintilla for
3737 XML files. This fixed wrong highlighting after switching back to
3738 filetype XML from another one.
3740 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
3741 is only used when explicitly requested.
3743 Remove unnecessary call to g_intern_string() to fix build with
3744 GLib 2.8 (closes #2790051).
3747 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3750 Make the clear icon of entry fields act on the release event, not
3751 on the press event like for other buttons.
3753 Refactor some multiple used code into get_multiline_comment_style().
3755 Create parent directories if necessary when checking for the
3756 configuration directory on startup (closes #2784577).
3759 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3761 * plugins/filebrowser.c:
3762 When a filter is set, apply it only to files, not directories and
3763 apply the filter to the UTF-8 name of the file as the filter string
3764 itself is also UTF-8.
3765 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
3766 Add utils_color_invert() and use it in highlighting.c and printing.c.
3767 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
3768 Backport change from Scintilla CVS:
3769 Change capitalisation of header file to suit cross-compilation on
3773 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3775 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
3776 Update Scintilla to version 1.78.
3777 * src/editor.c, src/highlighting.c:
3778 Update Pascal styles as they changed in Scintilla.
3781 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3784 Ignore the invert syntax highlighting colours setting when printing
3785 to not print characters on a dark background (closes #2785244).
3786 * New release: Geany 0.17 "Wessex".
3787 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3788 src/geany.h, doc/geany.html, doc/geany.txt:
3789 Post-release version bump.
3792 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3794 * src/callbacks.c, src/callbacks.h, src/main.c:
3795 Update the View->Fullscreen menu item when fullscreen state is
3796 changed externally (e.g. by the window manager).
3798 Fix passing wrong pointer to the File Open dialog for the Run
3799 command in the Project Properties dialog.
3802 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3804 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
3806 Remember the active sidebar page between sessions.
3808 Add a recent project item after creating a new project.
3809 * tagmanager/ruby.c:
3810 Fix wrong parsing of string literals (closes #2781264).
3812 Fix setting focus to the editor widget after changing the selection
3816 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3819 Prevent crashes when two or more top level items in the symbol
3820 list have the same name (closes #2778246).
3823 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3825 * src/keybindings.c:
3826 Manually show the main notebook tab bar menu when Shift-F10 is
3827 pressed. This broke when we disabled the default GTK tab bar menu.
3829 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
3830 which was reloaded shortly before.
3832 When the editor menu is opened by the Menu key, use the text cursor
3833 position for retrieving the current word. This fixes disabled
3834 Go to Tag items in the menu (#2780044).
3836 Set the "ellipsize" property of GtkCellRendererText to automatically
3837 shorten the path and file names in the Documents list.
3838 * doc/geany.html, doc/geany.txt, src/build.h:
3839 Increase the amount of highlighted build error messages to 100.
3840 At least for LaTeX we need higher values as there is a lot of
3841 informative output before any errors are reported.
3842 * src/filebrowser.c:
3843 Use the startup path as the initial directory for the filebrowser
3844 plugin when no project and no files are opened
3845 (patch by Matias Gea, thanks; closes #2780521).
3848 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3850 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3851 src/utils.c, src/utils.h:
3852 Ellipsize tab labels and some status messages for very long
3853 filenames (closes #2777348).
3854 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3855 Add utils_str_middle_truncate() and
3856 document_get_basename_for_display() to the plugin API.
3857 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3858 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3859 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3861 Add a hidden preference 'use_safe_file_saving' to save files to disk
3862 by creating a temporary file first. This has serious side effects,
3863 please read the documentation before enabling this.
3865 Make build commands on Windows run synchronously to avoid problems
3866 with reading build commands' output.
3867 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3868 Limit the amount of highlighted build error messages in the
3869 Compiler window to 50 for performance reasons.
3872 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3874 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3876 Replace our own GEANY_KEYS_MODIFIER_MASK by
3877 gtk_accelerator_get_default_mod_mask() which gives the same result.
3878 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3879 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3880 Add a trivial symbol parser for NSIS files.
3883 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3886 Hide the extra file open dialog options in an expander to make the
3887 dialog more compact by default and to provide more space for the
3889 Remove the filename field as it is also provided by GTK itself with
3890 more features like auto-completion.
3891 Watch the 'show-hidden' property of the file chooser widget using
3892 GObject's "notify" signal which gives accurate results and remove
3893 the hack using the "selection-changed" signal.
3896 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3898 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3899 Prevent double execution of radio menu item "activate" or "toggled"
3901 Move 'Set Encoding' callback function into encodings.c.
3904 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3907 Add some missing 'void's in function definitions.
3908 If the project base path is './', just use the path of the project
3909 config file instead of appending './'.
3910 * src/treeviews.c, src/project.c:
3911 When a project is loaded, replace the project base path with the
3912 project name in the Documents sidebar for parent items
3916 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3918 * src/keyfile.c, src/keyfile.h, src/project.c:
3919 Fix duplicating the recent files and projects lists when closing
3921 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3922 src/editor.c, src/encodings.c, src/filetypes.c,
3923 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3924 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3925 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3926 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3927 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3928 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3929 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3931 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3932 sense to keep the code more readable.
3935 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3938 When updating global type definitions for opened documents, take
3939 also C++ namespace symbols into account and don't ignore symbols
3940 which are defined inside a scope.
3943 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3946 Don't show 'plugin is not binary compatible' messages on the status
3947 bar, only the status window.
3950 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3953 When opening files from a remote instance on X11, set the window
3954 server time to encourage window managers to pop up the main window
3955 (related to #2735467 and #2276179).
3957 When finished sending filenames to a remote instance, notify the
3958 environment that we finished starting up.
3961 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3963 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3964 Sort Configuration Files menu.
3965 Add ui_menu_sort_by_label().
3966 Add foreach_list() macro.
3971 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3974 Fix setting a wrong default window size when starting without an
3975 existing configuration.
3976 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3977 Make editor_highlight_braces() static.
3978 Remove unused wrapper functions.
3979 * src/editor.c, src/symbols.c, src/symbols.h:
3980 Prevent showing an empty macro list.
3981 Show only macros of the same filetype instead of all macros of all
3984 Don't add opened project files to the GtkRecentManager.
3987 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3990 Add Configuration Files item for snippets.conf.
3991 * src/highlighting.c, src/symbols.c:
3992 Fix 2 old uses of filetype IDs.
3995 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3997 * src/interface.c, src/printing.c, geany.glade:
3998 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4001 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4004 Add sanity checks in ui_lookup_widget() just to be safe.
4005 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4006 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4007 src/project.h, src/ui_utils.c, src/ui_utils.h:
4008 Add "Recent Projects" menu to the Project menu
4009 (#2728630, patch by Elias Pschernig, thanks).
4010 * doc/geany.txt, doc/geany.html:
4011 Describe how to build Geany using the Waf build system.
4012 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4013 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4014 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4015 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4016 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4017 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4018 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4019 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4020 src/utils.c, src/utils.h, src/vte.c:
4021 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4022 performance when building the code with gcc.
4023 * src/highlighting.c:
4024 Fix typo in the G_LIKELY checks, introduced in last commit.
4025 Fix the size of the styles array.
4027 Show a message dialog when renaming a file fails.
4030 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4033 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4034 (as we did for all other files in SVN r3382).
4037 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4039 * src/filetypes.c, doc/geany.txt:
4040 Move ActionScript to the Script group.
4042 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4043 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4044 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4045 plugins/htmlchars.c:
4046 Merge reorder-filetypes branch:
4047 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4048 append randomly without breaking the ABI).
4049 Make None filetype name = title = _("None").
4050 Add foreach_slist() macro.
4051 Add filetypes_by_title list to GeanyData for plugin API access
4052 - a list of filetype pointers, which includes the None filetype
4053 first. This list stays constant by the time plugins are initialized,
4054 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4055 index the sorted list.
4058 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4060 * doc/geany.txt, doc/geany.html, src/main.c:
4061 Add widget names for the menubar and toolbar.
4063 When hiding the messages window, set the input focus back to the
4064 editor widget (part of #1910393).
4067 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4069 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4070 Backport recent changes from Scintilla CVS to add partial support
4071 for RFC2822 styled text using the Properties lexer.
4072 Ignore leading whitespace for config files and RFC2822 text.
4073 * data/filetypes.actionscript:
4074 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4075 * THANKS, src/treeviews.c:
4076 Display file/directory icons in the Documents sidebar
4077 (patch by Simon Treny, thanks).
4080 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4082 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4083 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4084 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4085 Add an option to allow appending the toolbar to the main menu bar
4086 to save some vertical space.
4087 Allow setting toolbar icon size to very small (menu icon size).
4090 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4092 * src/keyfile.c, src/utils.c, src/utils.h:
4093 Add utils_path_skip_root(), a relative path safe variant of
4094 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4095 * src/keyfile.c, src/main.c:
4096 Allow negative window coordinates when saving and restoring the
4097 position of the main window.
4098 Restore the main window position and size *after* the window has
4099 been realised to get it positioned accordingly
4100 (this affects at least Windows).
4103 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4105 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4106 Use g_win32_get_package_installation_directory_of_module() on Windows
4107 with newer GLib versions instead of deprecated API.
4108 * src/keybindings.c:
4109 Don't manage the last used documents list when quitting to prevent
4110 errors by accessing invalid memory (may close #2533990).
4113 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4116 Delete the geany_run_script.sh immediately after execution
4117 to prevent leaking old copies when the script was quit unexpectedly
4118 (closes #2710482, patch by Martin Olsson, thanks).
4120 Check whether skipping the root element of a document's filename
4121 succeeded and use the filename itself if not (e.g. on relative
4122 filenames, #2702844).
4123 Use the locale encoded filename when saving session files.
4125 Re-set the quitting status after all documents have been closed on
4129 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4131 * plugins/htmlchars.c:
4132 Remove usage of deprecated sci_get_selected_text() from plugin.
4135 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4138 Delay disk file checks when switching between documents a little
4139 bit to avoid fast, unintentional page switching in some cases.
4140 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4141 src/sciwrappers.c, src/sciwrappers.h:
4142 Deprecate sci_get_text(), sci_get_selected_text() and
4143 sci_get_text_range().
4144 Add sci_get_contents(), sci_get_contents_range() and
4145 sci_get_selection_contents() as replacement functions to provide
4146 an easier and cleaner API (initial patch by Frank).
4149 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4152 Fix wrong parsing of CSS tags when the definition block starts on
4153 a new line (reported by Dominic Hopf, thanks).
4156 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4158 * plugins/htmlchars.c:
4159 Extend plugin by feature to bulk replace and replace on input for
4160 special characters to their HTML entities.
4163 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4166 Update build menu items after changing anything in the
4167 'Set Includes and Arguments' dialog.
4168 Disable Compile/Run buttons/menu items when Compile/Run commands are
4170 Reset current build directory to the base directory after reading a
4171 "Leaving directory" message when parsing Make output
4172 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4174 Fix wrong display of the filename in the tab bar menu for new files.
4176 Set the initial directory for the Save As dialog only once on
4178 Add a shortcut of the project's base directory to the
4179 File Open/Save As dialogs when a project is open for faster access.
4180 * src/splitwindow.c:
4181 Add keybindings for the split actions.
4184 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4187 When using Find All in the Find dialog (in Session and Document),
4188 display the right amount of matches.
4189 Fix the display of the matches once per line (I broke the original
4192 Fix wrong directory selection behaviour in all Open Folder dialogs
4193 (closes #2688020, patch by Marcel Stimberg, thanks).
4195 Don't present the main window of a running instance when starting
4196 a second instance separately.
4199 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4202 Reduce default file permissions on the Unix Domain socket file
4203 (reported by Jörg Sommer, thanks).
4206 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4208 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4209 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4211 Add an option to set an additional plugin lookup path.
4213 When using Find All in the Find dialog, display matches only once
4214 per line in the messages window (patch by Bert Vermeulen, thanks).
4217 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4219 * data/filetype_extensions.conf, data/filetypes.actionscript,
4220 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4221 src/highlighting.c, src/plugindata.h, src/symbols.c,
4222 tagmanager/Makefile.am, tagmanager/actionscript.c,
4223 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4224 Add filetype ActionScript (patch by Chris Macksey, thanks).
4225 Update type keywords only for real C-like languages.
4226 Fix wrong sorting of Assembler and Ada filetypes.
4227 * plugins/classbuilder.c:
4228 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4229 Other minor cleanups.
4232 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4235 Don't use menu item images for the tab bar menu to save some
4237 * data/filetypes.fortran, tagmanager/fortran.c:
4238 Add keyword 'extends' and fix Fortran parser to support the
4239 'extends' keyword (closes #2654492).
4240 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4241 src/search.c, src/toolbar.c:
4245 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4247 * src/about.c, THANKS:
4248 Added Jari Rahkonen to list of Finnish translators.
4251 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4254 Adjust minimum required GTK version.
4255 * src/Makefile.am, wscript:
4256 Add main.h to the list of installed header files.
4257 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4258 src/notebook.c, src/ui_utils.c:
4259 Remove GeanyDocumentPrivate::tabmenu_label.
4260 Disable the default tab bar menu for the main notebook widget and
4261 use a custom menu instead which lists all open files as usual plus
4262 'Close Other Documents' and 'Close All' menu items.
4265 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4267 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4268 Move ui_set_search_entry_background() into ui_utils.c.
4269 Change the background colour of the search entries in the Find
4270 and Replace dialogs according to the search results like in the
4271 toolbar search field.
4272 Add images to the 'Replace' and 'Replace and Find' buttons in the
4274 Minor cleanups in search.c.
4275 * tagmanager/tm_source_file.c:
4276 Update source files upon creation.
4278 Update C tags for glibc 2.9.
4279 * src/callbacks.c, src/toolbar.c:
4280 Fix broken non-incremental search with the toolbar search entry when
4281 pressing Enter (closes #2638180).
4282 * plugins/splitwindow.c:
4283 Fix possible crash on non-32-bit systems (patch by
4284 Wolfgang Ocker, thanks).
4286 Update the Packager tag due to Dominic's various contributions.
4287 Update description and feature list.
4288 Change Source tag to the gzip'ed tarball to be in sync with the
4289 Makefile target (thanks to Wolfgang Ocker for reporting).
4292 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4294 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4295 Removed deprecated plugin VC Diff
4298 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4301 Fix wrong Fortran 90 comment characters when inserting templates.
4302 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4303 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4304 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4306 Add 'Send Selection to Terminal' command to the Edit->Format menu
4307 (initial patch by David Gleich, thanks).
4308 * geany.glade, src/interface.c:
4309 Fix mnemonic for the Edit->Preferences menu item.
4312 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4314 * configure.in, plugins/Makefile.am:
4315 Enable socket support when cross-compiling.
4316 Enable plugin compilation when cross-compiling.
4318 Fix missing NULL checks when reading the colour value of compiler
4320 * src/main.c, src/win32.c, src/win32.h:
4321 On Windows, change the working directory to the Geany installation
4322 path at startup to avoid unwanted directory locking(closes #2626124).
4324 Fix broken selection of "Document->Set Encoding" menu items.
4325 * src/document.c, tagmanager/include/tm_source_file.h,
4326 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4327 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4328 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4329 Don't let the tagmanager automatically reparse files if they
4330 seem to be changed on disk (affects all files in the current session,
4331 not the current one). This should speed up file saving a little bit,
4332 especially with remote files.
4333 Remove now unnecessary calls to tm_workspace_update().
4335 Allow an empty value for the date format in the print settings to
4336 omit the date/time string in the print header.
4339 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4341 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4345 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4348 Add missing header include (closes #2615808).
4351 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4354 Fix a possible crash when comparing symbol names
4355 (could be related to Ubuntu bug #147151).
4356 Fix broken symbol list tooltips when tag names contain ampersands.
4359 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4361 * plugins/makefile.win32:
4362 Don't build Split Window plugin on Windows (doesn't work).
4365 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4367 * ChangeLog, Makefile.am: Rotate ChangeLog.
4368 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4369 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4370 Post-release version bump.
4373 *** See ChangeLog.pre-0-17 for earlier changes ***