1 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Refactor shared submenu code with GeanySharedMenu array.
5 * src/interface.c, src/ui_utils.c, geany.glade:
6 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
7 shared with the editor popup menu.
9 Open a new document automatically after closing all documents.
12 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
15 Prompt for reloading if the document has an undo stack to avoid
16 losing undo ability on accidental reloading (patch by Colomban
18 * src/project.c, src/geanyobject.c, src/geanyobject.h,
20 Add plugin signals project-dialog-create and
21 project-dialog-confirmed so plugins can append a Project Properties
22 notebook tab (patch by Jiří Techet, thanks).
23 * src/ui_utils.h, src/plugindata.h, src/main.c:
24 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
25 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
26 src/plugins.c, plugins/geanyfunctions.h:
27 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
30 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
33 Save document indent width with the session.
34 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
36 Use a separate socket per workspace on X (patch by Erik de Castro
40 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
43 Ignore directories passed on the command-line (based on patch by
44 Erik de Castro Lopo, thanks).
46 Parse D function template names.
47 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
48 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
50 Allow per-document indent width setting (patch by Jiří Techet,
51 updated by Erik de Castro Lopo - thanks).
52 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
53 Combine indent width menu item callbacks.
54 * src/interface.c, geany.glade:
55 Don't translate indent width menu items as they are now used for
59 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
61 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
62 Remove 3 popup menu items to save space:
63 Find Document Usage because Find Usage can be used instead.
64 Go to Tag Declaration because Go to Tag Definition is more common.
65 Go to Line because the toolbar item can be used instead.
66 * src/tools.c, src/search.c, tagmanager/python.c:
67 Fix some 'possible' NULL pointer dereferences (based on patch by
69 * src/keybindings.c, src/keybindings.h, src/prefs.c:
70 Simplify keybindings_check_event().
73 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
76 Use up/down icons for Previous/Next Error.
77 * src/interface.c, src/keybindings.c, src/callbacks.c,
78 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
80 Add Find Usage and Go to Tag items to Search menu for easier
82 * tagmanager/tm_symbol.c:
83 Fix possible NULL dereference.
85 Add link to glade-2.12.2.tar.gz on geany.org.
86 * doc/geany.txt, doc/geany.html:
87 Mention the filetype wordchars setting can be overridden by the
88 whitespace_chars filetypes.common setting.
89 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
90 Remove NULL checks when calling g_free() (patch by Erik de Castro
93 Show Save As when saving if the document filename doesn't have an
94 absolute path, so command-line new files can be saved without a
95 prompt, but file templates still prompt the user.
98 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
101 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
105 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
107 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
108 Add GeanyMainWidgets::message_window_notebook for plugins to append
109 a new notebook page (#3061342).
111 Add Close button to the detected file changed dialog.
112 * src/interface.c, geany.glade:
113 Add separator between Find Previous and Find in Files.
114 Add up/down icons for Previous/Next Message.
117 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
119 * data/snippets.conf:
120 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
124 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
127 Fix broken editing of build menu labels.
128 * src/encodings.c, src/filetypes.c, configure.ac:
129 Auto-enable building with included regex if no regcomp function is
131 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
132 regex support is required.
134 Backport fix for possible infinite loop from CTags.
135 * scintilla/PlatGTK.cxx:
136 Backport list box memory leak fixes from Scintilla 2.20.
139 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
142 Make the Properties dialog filename a label and put it first (patch
143 by Jiří Techet, thanks).
144 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
146 Remove the "Set build working directories" button from the project
147 properties dialog (patch by Jiří Techet, thanks).
149 Include all files if the Find in Files pattern field is enabled and
152 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
155 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
157 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
158 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
159 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
160 data/filetypes.txt2tags, wscript:
161 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
162 * m4, configure.ac, Makefile.am:
163 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
165 Only prompt for reloading if the document has unsaved changes
166 (patch by Jiří Techet, thanks).
169 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
172 Apply a patch by Jiří Techet which is preventing warnings when using
173 -Wmissing-prototypes on compiling. Thanks.
176 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
178 * scintilla/KeyWords.cxx:
179 Link Octave instead of Matlab.
180 Add comment about not being autogenerated.
181 Minor changes to fit Scintilla order.
182 * src/build.c, src/build.h:
183 Replace GeanyBuildCommand::entries array with separate fields.
184 Similar to r5077 in the bs2 branch, but with less loop unrolling.
186 Remove buildcmd_* accessor functions.
189 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
191 * src/highlighting.c, src/editor.c:
192 Use Octave lexer instead of Matlab to support Octave # comment char.
195 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
198 Fix segfault on Tools->Reload Configuration when no documents are
200 * scintilla/LexMarkdown.cxx:
201 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
204 Fix saving non-project filetype error regex.
206 Fix memory leak in read_regex().
209 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
212 Check for libsocket on OpenSolaris to fix build.
214 Rewrite the logic to auto detect encodings a bit to make it more
215 readable and fix a slightly wrong detection on Windows
217 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
219 Add editor_goto_pos() to the plugin API.
222 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
225 Check for git-svn repo, not just git because find-rev doesn't
226 always fail with a git-only repo.
229 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
232 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
235 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
237 * doc/geany.txt, doc/geany.html:
238 Reorder Focus keybindings.
241 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
244 Applying a patch by Erik de Castro Lopo for checking against
245 pkg-config when running autogen.sh. Thanks for the patch.
247 Applying a patch by Colomban Wendling to print out log domains.
251 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
253 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
254 Use single binding_ids keybinding array instead of individual
255 arrays for core keybindings. This allows the keybinding IDs to be
256 merged into one enum; the order of keybindings is now just the
257 order they are added to each group. Keybindings can be reordered
258 without breaking the plugin ABI but groups must stay the same.
260 Fix writing the default value when a key is missing for hidden
261 prefs, even if it was overridden when it was originally read.
262 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
263 Move some interface hidden prefs to ui_utils.c.
265 Revert r4840 scope completion mode as it sometimes breaks
267 * src/keybindings.h, src/plugindata.h:
268 Randomly sort keybinding IDs to show there should be no order.
270 Reorder Focus keybindings.
273 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
275 * src/ui_utils.c, src/ui_utils.h:
276 Make ui_label_new_bold() a function.
277 Escape the name of the current document for markup when using
278 document name for menu items (closes #3038844).
280 Inherit 'beep on errors' preference for the audible bell preference
281 for the VTE (closes #3038215).
284 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
286 * src/utils.c, src/utils.h:
287 Add utils_get_eol_char().
288 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
289 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
291 Ensure inserted templates always have proper line ending characters
292 according to the current document's preference.
293 This is also fixes problems with templates on Windows which had
294 always Unix line ending characters but now since they are read
295 from files, these have Windows line ending characters and had been
299 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
302 Fix build with GTK 2.8, use the stock icon name directly instead
303 of the macro. Though, the icon is still missing for GTK 2.8.
305 Make make_comment_block() work with a GString. This is not yet
306 perfect but a bit better than before.
309 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
311 * src/keybindings.c, src/vte.c, src/vte.h:
312 Implement 'Select All' for the VTE widget.
315 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
318 Fix missing template files in the Windows installer.
321 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
323 * data/filetypes.python:
324 Update list of Python builtins, based on Python 2.6.
327 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
330 On Windows, convert filetype extensions read from config files
331 to lower case (closes #3028856).
334 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
337 Focus toolbar item when pressing Go to Line keybinding only when
338 it's not in the toolbar's drop down overflow menu (fixes #3027454).
341 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
344 Fix build menu translation problems.
347 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
353 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
356 Fix scrolling the editor line in view after loading a session and
357 switching document tabs. Note this causes repainting so needs
359 * doc/geany.txt, doc/geany.html:
360 Add note to restart Geany after installing/updating before editing
362 * src/ui_utils.h, src/main.c, src/ui_utils.c:
363 Use Stash to save statusbar_template setting, instead of the
364 load/save-settings signal.
368 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
370 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
371 Fix writing empty hidden pref "statusbar_template" key so users can
372 find it (patch by Dimitar Zhekov, thanks).
373 * src/ui_utils.c, src/ui_utils.h, src/main.c:
374 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
377 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
379 * src/build.c, src/project.c, src/project.h:
380 Show the Project Properties build tab when choosing 'Set Build
381 Commands' for now to prevent confusion with non-project commands.
384 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
386 * src/search.c, doc/geany.txt, doc/geany.html:
387 Fix Grep --exclude-dir example.
390 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
393 Add sidebar Documents popup menu item 'Find in Files'.
394 * src/keyfile.c, src/main.c, src/editor.c:
395 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
396 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
399 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
401 * doc/geany.txt, doc/geany.html:
402 Fix wording - restarting is required for hidden prefs.
403 File templates don't need manual reloading anymore.
405 Fix only adding project base path to Find in Files history if it
406 isn't already there (oops).
408 Parse lines in the Messages window even if Find in Files hasn't
409 been used yet (patch by Jiří Techet, thanks).
412 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
414 * scintilla/LexCPP.cxx, src/highlighting.c:
415 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
417 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
418 data/filetypes.common:
419 Add filetypes.common fold_symbol_highlight color setting.
420 Add API macro foreach_range().
421 * src/printing.c, doc/geany.txt, doc/geany.html:
422 Always use white background color when printing (except for text
423 with a white foreground) to save ink (should fix #2968998).
424 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
425 Limit build error editor indicators to 50, but parse all errors in
426 the Compiler tab (fixes #3019823).
429 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
431 * src/highlighting.c:
432 Re-enable fold.comment for lexers - it was disabled to prevent C
433 //{ explicit folding, but that also disables stream comment folding
435 * tagmanager/tm_workspace.c, tagmanager/get.c:
436 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
438 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
439 doesn't affect the bug with document switching not scrolling cursor
440 in view after loading a session.
443 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
445 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
446 Add statusbar_template hidden pref (based on patch by Dimitar
448 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
449 Add spaces after RO when using %r in statusbar_template setting.
450 Add space between encoding and BOM.
451 Note \t means tab for default text.
454 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
457 Restore tabbing past Find in Files combo box drop down menus.
460 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
462 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
463 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
465 Move plugin signals docs to pluginsignals.c, using function
466 pointer syntax instead of @signaldef as this puts a summary of
467 the signal names at the top of the page and sorts alphabetically.
468 (Note: the syntax is similar to Vala signal syntax).
471 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
474 Make default dialog entries use GTK_STATE_INSENSITIVE color not
475 a fixed color (Suggestion by Ditmar Zhekov)
478 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
480 * src/search.c, doc/geany.txt, doc/geany.html:
481 Implement Find in Files file pattern search.
483 Add file pattern to combo box history.
484 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
486 Use ui_hookup_widget() instead of g_object_set_data_full() for
490 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
493 Add Files checkbox and combo to Find in Files dialog, currently
494 does nothing & is disabled.
495 Don't try to focus the next entry on pressing tab anymore as this
496 is more complicated now.
499 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
502 Put Find in Files Search field above Directory field.
503 * src/search.c, doc/geany.txt:
504 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
505 regular expressions' radio buttons with a 'Use regular expressions'
506 checkbox. This uses the extended syntax (which is the same as the
507 Find/Replace regex syntax).
509 Move 2 Find in Files checkboxes for even spacing.
512 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
514 * tagmanager/tm_work_object.c:
515 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
519 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
521 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
522 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
523 Add ui_combo_box_add_to_history() to API.
524 * plugins/filebrowser.c:
525 Add history to path entry.
526 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
527 Fix not loading plugins built against a newer API when Geany doesn't
528 provide the required version given in PLUGIN_VERSION_CHECK().
529 Improve documentation for PLUGIN_VERSION_CHECK().
530 * plugins/filebrowser.c:
531 Allow Find in Files when no items are selected.
532 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
533 Add API signal "build-start" (patch by Jiří Techet, thanks).
536 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
539 Replace /home/user with ~ in the documents list (patch by Jon
542 Make default Build dialog entries grey, not light grey (too hard to
543 read on a white background).
545 Display 'new instance' on title bar (patch by Eugene Arshinov,
548 Remove any duplicate on adding to combo box histories.
551 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
554 Align notebook tab close buttons centred vertically - thanks to
556 * Merge unstable branch:
558 Make build config entries light grey until set.
559 - src/keybindings.c, src/about.c, THANKS:
560 Fix the wrong file being put on top of the stack when switching tabs
561 too quickly (patch from Jiří Techet, thanks).
562 - src/templates.c, data/templates/gpl, data/templates/function,
563 data/templates/changelog, data/templates/bsd,
564 data/templates/fileheader, wscript, Makefile.am:
565 Move general templates from source code into files.
566 Load general templates from system path instead of creating them in
567 the user's config dir.
570 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
573 Add doc/stash-example.c to fix 'make distcheck'.
575 Change the RequestExecutionLevel for the Windows installer to
577 * New release: Geany 0.19 "Vellam".
578 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
579 geany_private.rc, win32-config.h, wscript, src/geany.h:
580 Post-release version bump.
583 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
586 Group undo action for Insert Multiline Comment.
589 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
592 Don't individually install data/*.tags as all data/* files will be
596 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
598 * tagmanager/tm_project.c:
599 Fix a double free. (patch by Daniel Marjamaki, thanks).
602 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
604 * tagmanager/tm_workspace.c:
605 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
607 Fix reducing paths to project name in the Documents list
608 (patch by Eugene Arshinov, thanks).
610 Fix crash when trying to sort NULL pointers as tags in the Symbols
611 list (closes #3011986).
612 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
613 Update Scintilla to version 2.12.
614 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
615 scintilla/LexCrontab.cxx:
616 Remove unused Crontab lexer.
617 * data/filetypes.css, src/highlighting.c:
618 Add new style "media" for filetype CSS.
621 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
623 * doc/geany.txt, doc/geany.html:
624 Build section: minor rewording, formatting fixes; move some
628 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
631 Explicitly try to localise build menu item labels with
632 gettext to enforce getting default labels translated.
633 * tagmanager/tm_workspace.c:
634 Fix not closed FILE pointer on early exit
635 (patch by Daniel Marjamaki, thanks).
637 Update images for Geany 0.19.
639 Destroy the default symbol list treeview only once
640 (fixes gtk_widget_destroy warning on exit).
643 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
646 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
648 Fix parsing of C++ classes contain attributes with bitfields
649 (patch by Lex Trotman, thanks).
650 * src/plugindata.h, src/plugins.c:
651 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
652 plugins' meta information can be translated already in the
653 plugin manager dialog (patch by Colomban Wendling, thanks).
656 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
659 Print locale information in debug output.
661 Fix some labels which were marked as translatable but were not
662 handled properly by gettext().
665 Try to convert text into UTF-8 before adding it to the Compiler and
666 Messages Window (closes #3007919).
669 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
671 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
673 Pass G_LOG_DOMAIN to source files for better logging.
676 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
678 * THANKS, src/about.c:
679 Update of translation credits to reflect a change on Spanish
680 translation team better.
683 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
686 Fix infinite loop reading build command output
689 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
692 Fix duplicate accelerators for Clear and Copy in the
693 Messages Window popup menu.
695 Expand child widgets in the Plugin Preferences dialog
696 (patch by Colomban Wendling, thanks).
699 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
702 Fix Undo/Redo button state after the last document has been closed.
703 Add Print and Replace toolbar items to the list of document
706 Fix crash when the toolbar is reloaded without any open documents.
708 Fix Run toolbar item sensitivity after the last document has been
710 * plugins/classbuilder.c:
711 Remove two unnecessary g_strdups().
712 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
713 src/plugindata.h, src/ui_utils.h:
714 Add hidden preference to disable automatic scrolling in the
715 Compiler tab (closes #3004714).
718 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
720 * plugins/classbuilder.c:
721 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
724 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
726 * src/prefs.c, src/project.c:
727 win32.h can be included unconditionally.
729 Fix project base_path detection if the path has a trailing slash.
730 * src/document.c, src/editor.c, src/project.c:
731 Small improvements to speed up quit process with many open documents.
732 Avoid calling gtk_notebook_remove_page() on exit as it takes
734 * src/geanymenubuttonaction.c:
735 Explicitly check for the type when iterating the action's proxies.
736 For some reason on Windows, a GtkImageMenuItem proxy is created.
737 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
738 src/plugindata.h, scintilla/*, scintilla/include/*:
739 Update Scintilla to version 2.11.
740 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
742 Add new GTK define also for Mingw cross compilation and
743 makefile.win32 based Windows builds.
744 * plugins/filebrowser.c:
745 Implement reading and evaluating hidden file attribute on Windows.
746 Fix broken "Go Up" if the current path ends with a slash.
747 * THANKS, src/about.c, src/prefix.c:
748 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
749 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
750 src/main.c, src/notebook.c, src/prefs.c:
751 Add preference to add new document tabs beside the current one
752 (patch by Colomban Wendling, thanks).
753 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
754 src/keyfile.c, src/prefs.c, src/ui_utils.h:
755 Add a preference for choosing between GTK and native
756 File Open/Save dialogs (only available on Windows).
757 * doc/geany.html, doc/geany.txt:
758 Update documentation.
761 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
764 Sort file filters for the native Windows file open dialog by name.
765 Don't use file filters for the native Windows Save As dialog.
766 * src/dialogs.c, src/win32.c, src/win32.h:
768 Pass and use also parent and title arguments to
769 win32_show_document_open_dialog().
771 Call handle_save_as() only when the Save As dialog was not cancelled.
773 Improve adding/removing of the special separator between menubar and
774 toolbar when the toolbar is appended to the menubar.
775 * src/toolbar.c, src/templates.c:
776 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
777 not trigger updating the menus on each item removal.
780 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
783 Replace one non breaking space by normal space. Patch by
787 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
789 * plugins/classbuilder.c:
790 Don't make the 'Create Class' menu item document-sensitive
791 (patch by Colomban Wendling, thanks).
792 Add namespace support for GTK+ classes.
793 Add GET_CLASS() macro for GTK+ classes.
794 Add typedef of the private structure in the header file instead
796 (all the above from a patch by Colomban Wendling, thanks).
797 * src/highlighting.c:
798 Set common default "fold.comment" to 0 to disable it. This can
799 be overridden if desired.
801 Improve sorting of document list items
802 (patch by Colomban Wendling, thanks).
804 Remove unnecessary textdomain() call.
807 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
810 Fix search_find_text not returning -1 when match is out of range.
811 This fixes invalid memory reads and wrong template filename
812 wildcard replacement.
813 * src/search.c, src/document.c:
814 Only replace template filename matching start of word on saving.
815 * plugins/filebrowser.c:
816 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
817 * src/build.c, src/build.h, src/project.c:
818 Make some ugly build.h global variables static.
819 * src/build.c, src/build.h, src/project.c:
820 Add Build prefix for TableFields, TableData.
823 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
826 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
827 * src/dialogs.c, src/win32.c, src/win32.h:
828 (Re-)Implement a (still basic) native Windows Save As dialog when
829 compiled with GEANY_USE_WIN32_DIALOG.
832 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
834 * THANKS, src/about.c, plugins/classbuilder.c:
835 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
836 * src/ui_utils.h, src/ui_utils.c:
837 Add public, generic callback ui_editable_insert_text_callback()
838 to restrict GtkEntry text inputs to +/- and numeric values only.
839 * src/dialogs.h, src/dialogs.c:
840 Add special variant dialogs_show_input_goto_line() to use a normal
841 GtkEntry together with dialogs_show_input_goto_line() for text input.
842 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
843 Allow '+<number' and '-<number>' as values for Goto Line inputs
844 to jump relative to the current line (closes #2997238).
847 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
849 * src/highlighting.c:
850 Apply foreground and background colours of the folding margin
851 style properly (closes #2998347).
853 Don't auto-close short XML tags (closes #2994852).
854 * THANKS, src/about.c, src/keybindings.c:
855 Improve jumping to matching braces by consistently position the
856 cursor before or after the matching brace dependent where it
857 was before (patch by Dimitar Zhekov, thanks).
859 Fix crash when generating global tags files (patch by Colomban
863 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
866 Avoid connecting signals more than once.
869 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
872 Don't ignore the 'intltool' check on non-Windows systems, instead
873 raise a configure error.
876 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
879 Fix marking some strings as translatable (cannot be done in the
881 * src/templates.c, doc/geany.txt, doc/geany.html:
882 Reload templates if saving a document in the templates config dir.
885 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
887 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
889 Fix replacing {filename} template wildcard for custom file
890 templates with non-default file extension.
891 Add search_find_text() for POSIX regex searches.
892 * src/templates.c, doc/geany.txt, doc/geany.html:
893 Add {project}, {description} template wildcards (#2954737).
894 * doc/geany.txt, doc/geany.html:
895 Divide template wildcards into groups.
896 * src/plugindata.h, src/plugins.c, src/symbols.c,
897 plugins/geanyfunctions.h:
898 Add symbols_get_context_separator() to plugin API (patch by Colomban
902 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
905 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
906 Anonymous, thanks; #2995593).
907 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
908 plugins/geanyfunctions.h:
909 Add sci_set_line_indentation(), sci_get_line_indentation() to API
910 (patch by Colomban Wendling, thanks).
913 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
916 Warn user if hidden hard tab width setting is not 8.
919 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
921 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
922 doc/geany.txt, doc/geany.html:
923 Hide 'Tabs and Spaces: Hard tab width' preference - it should
924 always be 8. (Hidden setting kept in case users have modified it).
927 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
929 * doc/geany.txt, doc/geany.html:
930 Add Folding section link to filetypes.common custom settings.
933 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
936 When switching documents, don't call document_set_text_changed()
937 as this does much more than necessary. Instead call the necessary
938 UI update functions explicitly.
941 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
943 * tagmanager/vstring.c:
944 Fix invalid memory read (patch by Colomban Wendling, thanks).
947 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
949 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
950 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
951 strings in case of reaching the buffer size limit (part of #2979697).
953 Change the limit for the command line length when executing commands
954 to a maximum of 32768 characters (closes #2979697).
955 Fix broken opening URLs e.g. when using the 'builtin' Run command.
956 * tagmanager/ctags.c:
957 Change eFree() to simply ignore NULL pointers instead of asserting.
959 Remove malloc() fallback since we completely rely on g_malloc()
961 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
962 plugins/saveactions.c:
963 Make string arguments const where appropriate (patch by
964 Colomban Wendling, thanks).
965 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
966 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
967 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
968 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
969 src/symbols.c, src/templates.c, src/ui_utils.c:
970 Make string arguments const where appropriate (patch by
971 Colomban Wendling, thanks).
974 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
976 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
977 Make plugin_signal_connect() string argument const (patch by
978 Colomban Wendling, thanks).
979 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
980 Constify some more string pointers in the API (patch by
981 Colomban Wendling, thanks).
982 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
984 Support {pc} wildcard in snippets to escape percent char.
986 Recalculate line margin width when zooming (fixes #2990553).
987 * src/highlighting.c, doc/geany.txt, doc/geany.html,
988 data/filetypes.common:
989 Support more folding icon styles: arrows, +/- and no lines
993 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
996 Fix Windows build by properly guarding Unix-only code.
999 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1001 * src/templates.c, doc/geany.txt, doc/geany.html:
1002 Support {ob} and {cb} in fileheader and file templates; they are
1003 replaced last with { and }. This allows 'escaping' of wildcard
1005 * src/editor.c, plugins/classbuilder.c:
1006 Fix Class Builder plugin to use correct indentation instead of
1008 Make editor_insert_text_block() only replace leading tabs for the
1009 'Tabs' indent type; also group edits for undo.
1010 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1012 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1015 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1017 * tagmanager/pascal.c:
1018 More fixes to prevent possible crashes by trying to free NULL
1021 Automatically show and hide the sidebar notebook tabs according
1022 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1024 Add a static global variable to monitor autocompletion mode in order
1025 to prevent cancellation of the struct/class (C/C++) auto completion
1026 list (patch by Thomas Martitz, thanks).
1028 When starting and trying to access the Unix Domain socket of a
1029 potentially running instance, first compare file ownership with the
1030 user id of the running process to prevent accessing a wrong socket
1031 file (part of #2985463, this might not yet be the final solution).
1034 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1036 * plugins/filebrowser.c:
1037 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1038 Files' option (fixes #2989288).
1041 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1043 * tagmanager/entry.c, tagmanager/entry.h,
1044 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1045 tagmanager/parse.h, tagmanager/tm_source_file.c:
1046 Add tm_source_file_set_tag_arglist() to manually set the argument
1048 * tagmanager/python.c:
1049 Use tm_source_file_set_tag_arglist() to set the argument list
1050 field of Python class tags to the argument list of their
1052 Backport a fix from CTags SVN to prevent possible crashes by trying
1053 to free NULL pointers.
1056 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1058 * tagmanager/txt2tags.c:
1059 Remove duplicate code from Txt2Tags parser.
1060 Remove the title control characters ('=') when parsing titles.
1061 Also parse numbered titles (closes #2984703).
1062 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1064 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1065 Add missing documentation for 'Reset Zoom' keybinding.
1067 Another attempt to fix the PHP parser regexp for parsing functions.
1068 Fix wrong parsing of function arguments when those contain nested
1069 brackets (as reported by Harold Aling).
1071 Fix Ctrl-Click on notebook tab if Numpad is active.
1074 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1076 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1077 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1078 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1079 src/ui_utils.c, src/ui_utils.h:
1080 Add option 'System Default' for toolbar icon style and size to
1081 use the GTK default value.
1082 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1083 src/toolbar.c, src/toolbar.h:
1084 Shorten the toolbar popup menu, only provide items for Toolbar
1085 Preferences and to Hide the toolbar.
1087 Instantly update the toolbar icon size and style when the
1088 corresponding global GTK settings are changed.
1089 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1090 src/plugindata.h, src/socket.c:
1091 Add new command line option --list-documents to return a list
1092 of currently opened documents (closes #2979933).
1095 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1097 * plugins/htmlchars.c:
1098 Make plugin remember whether replacement of special characters was
1099 activated even after restart of Geany or reloading of plugin.
1102 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1105 Fix inserting snippets with an indent when using Mac CR line
1108 Update status bar after using Document->Set Line Endings.
1110 Improve API docs for editor_insert_text_block().
1113 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1116 Refactor snippets_complete_constructs().
1117 Remove an unnecessary TODO.
1119 Fix indenting a snippet when there is whitespace after the
1123 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1125 * doc/geany.txt, doc/geany.html:
1127 * src/build.c, src/msgwindow.c:
1128 Fix disabled compiler message tracking if using indicators to
1129 show build errors is disabled (closes #2982834).
1132 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1134 * scintilla/Editor.cxx:
1135 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1136 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1137 replacing in a rectangular selection.
1140 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1143 Re-detect any document filetypes set to None after reloading
1144 filetype extensions (closes #2979661).
1146 Fix showing '...' item last instead of first for document word
1150 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1152 * data/filetypes.perl:
1153 Adjust Perl Compile command to use the -c command
1154 line option to perform a syntax check instead of using the
1155 deprecated ByteCompile module.
1156 Add error_regex to parse error messages and warnings when performing
1157 syntax checks on Perl files.
1160 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1162 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1163 Add API docs for keybinding enums.
1164 * src/notebook.c, doc/geany.txt, doc/geany.html:
1165 Make Ctrl-click on any notebook tab switch to the last used
1169 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1171 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1172 src/geanyentryaction.c, src/geanyentryaction.h,
1173 src/geanywraplabel.c:
1174 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1175 object for efficiency.
1178 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1180 * plugins/classbuilder.c:
1181 Beep if the user hasn't entered a class name on pressing OK.
1183 Fix replacing '^' regex.
1184 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1185 plugins/geanyfunctions.h:
1186 Add Stash widget functions to API.
1188 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1192 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1194 * THANKS, src/vte.c:
1195 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1197 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1198 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1199 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1200 Add Stash setting functions to API.
1201 Remove unnecessary argument to stash_group_load_from_file().
1202 * src/geanyobject.c, plugins/classbuilder.c:
1203 Don't generate FOO_GET_PRIVATE() macro because caching the result
1204 in Foo::priv can be much more efficient.
1207 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1210 Fix cursor positioning when toggling comments
1211 (patch by Thomas Martitz, thanks).
1214 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1216 * src/keybindings.[hc]:
1217 Added Control+0 for zoom reset, see suggestion from #2969886.
1220 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1222 * src/search.c, src/document.c:
1223 Fix wrong selection range after Replace in Selection.
1226 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1229 Make CreateChildProcess() working with Unicode strings, e.g.
1230 directory names (closes #2972606).
1232 Remove reference to already removed latex.tags file.
1233 Future releases probably still depend on GTK 2.16.
1234 * scintilla/ScintillaGTK.cxx:
1235 Backport fix from Scintilla CVS to not paste text beyond the end
1236 of lines (closes #2969096).
1237 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1239 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1240 to not set Geany's minimum window size anymore (closes #2972992).
1241 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1244 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1247 Make adding string and string vector settings initialise the setting
1249 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1250 Add stash_group_load_from_file() and stash_group_save_to_file().
1253 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1255 * data/filetypes.common:
1256 Set default for wrapped lines to show marker at end of line only
1257 (more expected and doesn't change line alignment - closes #2972386).
1258 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1259 src/pluginutils.c, doc/plugins.dox:
1260 Improve API docs contents page by listing all commonly-used files.
1261 Fix 'Date' appearing twice on the date line.
1262 Don't generate API docs for prefs.h, toolbar.h (unused).
1263 Move some '@file' doc-comments to the .c file.
1264 * src/interface.c, geany.glade:
1265 Add frame for 'Printing' prefs dialog page.
1266 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1267 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1268 doc/stash-example.c:
1269 Rename Stash data types to be independently named from Geany (so
1270 Stash can be reused for other projects).
1271 Rename GeanyPrefGroup to StashGroup.
1274 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1276 * tagmanager/python.c:
1277 Apply patch from Colomban Wendling to parse Python lambda functions
1278 (thanks) - modified to only parse toplevel or class member lambdas.
1279 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1280 doc/stash-example.c:
1281 Add doc-comments for Stash setting functions.
1282 Add an example file showing usage of Stash.
1283 (Not enabled yet until added to the plugin API).
1286 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1289 Fix using return value without checking return status, caused
1290 incorrect sensitivity settings on build dialog.
1293 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1296 Add tip about gcc optimization & warnings/debugging.
1297 Add Testing section.
1298 Update Libraries section about synchronizing with other projects.
1301 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1304 For now revert the recent patch which set real_path of newly
1305 open non-existent configuration files as this seems hackish and
1306 causes 'file not found' warnings.
1308 Fix/Improve GIT repository detection
1309 (patch by Thomas Martitz, thanks).
1310 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1312 Add utils_copy_environment() to the plugin API.
1315 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1317 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1318 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1320 Use 3rd person for more API dox.
1321 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1323 Change 'After all...' to 'Afterwards...'.
1324 * src/interface.c, geany.glade:
1325 Apply patch from Eugene Arshinov to make frame packing/alignment
1326 more consistent (thanks).
1329 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1332 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1333 that gtk_button_[sg]et_label() work as expected.
1334 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1335 Make Build Commands dialog show menu item labels as a button (to
1336 help show that menu labels don't normally need to be edited &
1337 display the mnemonic correctly). Clicking shows an input dialog to
1338 set a new menu item label.
1339 Split dialogs_show_input() into 2 functions: one simple, one for
1340 a persistent dialog.
1341 Fix possible double-destroy of input dialog when closed by user.
1343 Fix not destroying 'Make Custom Target' input dialog after first
1346 Make Long Line Marker settings for existing projects default to
1347 general settings instead of 0 (thanks to Eugene Arshinov).
1348 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1349 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1350 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1351 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1352 Use 3rd person (gets not get) for API function brief descriptions.
1353 Avoid using 'convenience function' in API brief descriptions.
1356 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1358 * doc/geany.txt, doc/geany.html:
1359 Warn about some GNU extensions for regular expressions & clarify
1361 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1362 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1363 src/editor.h, geany.glade:
1364 Apply patch from Eugene Arshinov to add project long line marker
1365 customisation (thanks).
1366 * src/interface.c, geany.glade:
1367 Edit/tidy 'Long line marker' labels.
1370 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1372 * src/build.c, src/project.c:
1373 Fix crash due to NULL in project build preferences (thanks to
1377 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1379 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1380 src/document.c, doc/geany.txt, doc/geany.html:
1381 Merge gnu-regex branch:
1382 Use POSIX system/GNU regex engine for find & replace 'Use regular
1383 expressions' option. This alters regex syntax a bit - see the docs
1384 for details; we now support '?' operator and replacement backslash
1385 escaping is more standard.
1386 Make regex search imply replacing escaped chars.
1387 Allow \0 backreference replacement for the whole match.
1388 Note: Replace All may be slower; if this is a problem please let me
1391 Add argument to utils_str_replace_escape() for keeping
1392 uninterpreted backslash escapes e.g. '\\', '\e'.
1393 * scintilla/LexMarkdown.cxx:
1394 Backport minor formatting/style changes from Scintilla project.
1395 * doc/geany.txt, doc/geany.html:
1396 Remove warning about no visual indication for zero-column-mode
1400 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1403 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1406 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1408 * wscript, scintilla/*, scintilla/include/*:
1409 Update Scintilla to version 2.03.
1410 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1411 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1412 Add preference for virtual spaces.
1414 Fix wrong default response for the Debug Messages dialog.
1416 Fix crashes when using Save As with no open files (closes #2964406).
1418 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1419 move the question from the secondary to the main text to be
1420 more compatible with the Gnome HIG.
1421 Fix broken 'Save' action in 'Resave missing file' dialog.
1423 Improve PHP parser to parse also the argument lists of PHP functions.
1425 Correctly set the parent widget for the keybinding overwrite
1426 confirmation dialog.
1428 Fix setting the icon for some dialogs if the parent itself is also
1431 When editing non-existent config files using the Tools->Configuration
1432 Files menu, explicitly set the real_path to avoid presenting the Save
1433 As dialog when saving the file (patch by Tony Rick, thanks).
1435 Focus the editor widget after hiding the sidebar when it had the
1436 input focus (patch by Can Koy, thanks).
1437 Properly show/hide the mesages window when using the View menu item
1439 * plugins/filebrowser.c:
1440 After opening files, focus the editor widget
1441 (based on a patch by Can Koy, thanks).
1442 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1443 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1444 src/ui_utils.h, src/vte.c:
1445 Add and use convenience function ui_is_keyval_enter_or_return() and
1446 add it to the plugin API.
1449 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1451 * src/about.c, THANKS, po/ast.po:
1452 Added Asturian translation. Thanks to Marcos Costales for providing.
1455 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1458 Fix keyboard accelerators in debug messages window
1462 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1464 * scintilla/LexR.cxx:
1465 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1466 (Scintilla bug #2956543).
1467 * src/sidebar.c, src/about.c, THANKS:
1468 Make Space on the symbol and document list not focus the editor
1469 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1470 * src/document.c, src/document.h:
1471 Fix document_try_focus() to make it work with the sidebar document
1473 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1474 Make Space on the compiler and messages widgets not focus the editor
1475 widget while Enter does (patch by Can Koy, thanks).
1477 Fix wrongly auto-detected multiline comments
1478 (patch by Eugene Arshinov, thanks).
1481 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1484 Show number of lines of current document inside statusbar. Thanks to
1485 Can Koy for providing the patch.
1488 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1490 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1491 Make Switch to Editor keybinding reshow the document statistics
1492 line, so user doesn't have to move the cursor.
1495 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1498 Update keywords for the R language (patch by Jon Senior, thanks).
1501 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1504 Fix the instruction how to insert unicode characters
1508 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1510 * scripts/create_py_tags.py:
1512 Replace tabs by spaces.
1513 * plugins/genapi.py:
1515 Replace tabs by spaces.
1516 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1517 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1518 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1519 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1520 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1521 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1522 Add keybindings to switch to the sidebar's Document and Symbol list
1523 as well as to the Message Window's current tab
1524 (patch by Eugene Arshinov, thanks).
1526 Update primary keywords for the R language
1527 (patch by Jon Senior, thanks).
1530 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1533 Add more detailed hints about reloading configuration
1534 (thanks to Tony Rick).
1535 * data/filetypes.javascript:
1536 Correct the keyword list for JavaScript (thanks to Jonas).
1539 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1541 * New release: Geany 0.18.1 "Balfour".
1544 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1546 * src/keybindings.c:
1547 Add special cases for handling the Select All keybinding (Ctrl-A) in
1548 the toolbar search and goto line text entries (closes #2948040).
1549 Strip trailing spaces after reflowing a paragraph, patch by
1550 Dominik Wagenfuehr, thanks (closes #2945497).
1553 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1555 * src/geanymenubuttonaction.c, src/templates.c:
1556 Partly revert last commit:
1557 Unref the new files toolbar menu when freeing templates as it
1558 was done before but unref it *after* the menu has been removed
1559 from the GeanyMenuButtonAction.
1561 Fix possible endless loop when trying to detect the encoding of
1562 non-text files (patch by Alexey Antipov, thanks).
1565 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1568 Allow saving remote files using g_file_set_contents() as well
1569 (patch by Алексей Антипов, thanks).
1570 * data/filetypes.python:
1571 Adjust style for secondary keywords to be less aggressive.
1572 Add Python 2.5 builtins keywords.
1573 * src/geanymenubuttonaction.c, src/templates.c:
1574 Unref the new files toolbar menu when setting a new menu to fix
1575 possible crashes when reloading configuration.
1577 When reloading configuration, process the current document at last
1578 so the symbol list will be updated correctly.
1581 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1584 Explicitly read filetype configuration files before generating
1585 global tags to get settings for custom filetypes.
1588 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1591 Fix GLib warning when toggling 'no plugins available' item.
1594 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1596 * icons/Makefile.am:
1597 Include geany.ico in the distribution tarball.
1599 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1600 * scripts/create_py_tags.py:
1601 Make the script a bit more robust with newer Python versions.
1603 Use utils_spawn_sync() instead of g_spawn_sync().
1606 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1609 Close meta tag for export date properly.
1612 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1615 Update RPM Spec file (patch by Dominic Hopf, thanks).
1618 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1621 Fix renaming sci_send_message(), sci_send_command() function
1625 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1627 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1628 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1629 plugins/geanyfunctions.h, plugins/Makefile.am,
1630 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1631 Use full function name for GeanyFunctions function pointers. This
1632 avoids naming conflicts e.g. with C++'s 'new' keyword.
1633 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1637 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1639 * src/utils.c, src/utils.h, src/vte.c:
1640 Add utils_copy_environment() and make use of it.
1641 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1642 src/editor.c, src/templates.c, src/templates.h:
1643 Add new special template wildcard "{command:...}" to use the
1644 output of a command in templates.
1645 Adjust template functions to mostly work with GeanyDocuments.
1646 Minor cleanups in the template code.
1648 Replace the old icons with smiley icons from the Rodent icon theme.
1649 Fix showing the same icon for two or more slots.
1651 * src/editor.c, src/editor.h, src/keybindings.c:
1652 Rename fold_symbol_click() to editor_toggle_fold().
1653 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1654 was used to respect the 'Fold/unfold all children' preference
1658 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1661 Prevent possible segfault in get_build_group().
1663 Fix GLib warning & beep if trying to insert multiline comment for a
1664 filetype that doesn't support it.
1667 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1670 Add gcc commands to build a plugin to the HowTo.
1671 * src/search.c, src/document.c, src/document.h:
1672 Show 'Replaced X matches in Y documents' message when using
1676 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1678 * scripts/plugin_test.c:
1679 Add a little test program which can load and test Geany plugins to
1680 verify it is loadable at runtime and all necessary symbols are
1682 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1684 Add new signal: "geany-startup-complete" which is sent once all
1685 initialization and startup tasks has been done.
1686 * README.I18N, configure.ac, wscript, po/LINGUAS:
1687 Remove po/LINGUAS from the repository.
1688 Generate it automatically if needed by reading available
1689 message catalogs from the po directory.
1690 Also respect the LINGUAS environment variable properly.
1693 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1696 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1700 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1702 * src/editor.c, src/templates.c, src/templates.h:
1703 Refactor templates_replace_all() into templates_replace_valist()
1704 to save some code duplication.
1707 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1709 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1710 src/plugindata.h, src/plugins.c:
1711 Add editor_insert_text_block() to plugin API.
1714 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1717 Update copyright information.
1718 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1719 doc/geany.txt, doc/geany.html:
1720 Add keybinding to open the last closed tab (closes #2912692).
1723 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1725 * autogen.sh, configure.in, configure.ac:
1726 Rename configure.in to configure.ac.
1727 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1729 Add sci_find_text() to the plugin API.
1730 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1731 src/interface.c, src/prefs.c:
1732 Add a checkbox in the preferences dialog to explicitly toggle
1733 the visibility of the sidebar (closes #2923340).
1736 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1738 * src/editor.c, src/plugins.c, src/plugindata.h,
1739 plugins/geanyfunctions.h:
1740 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1741 editor_get_eol_char() to the plugin API.
1742 * src/callbacks.c, src/plugins.c, src/plugins.h:
1743 Fix sensitivity of the Edit->Plugin Preferences menu item
1744 if plugins are loaded which do not provide a configuration dialog.
1745 * scripts/create_py_tags.py:
1746 Rewrite and extend the Python tags parsing script to use
1747 Python's inspect module to read symbols from Python modules
1748 including scope information.
1749 * data/filetypes.restructuredtext:
1750 Add the default comment character sequence for reStructuredText.
1752 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1753 clicked but their text fields are not part of the toolbar (#2920807).
1754 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1756 Add new style to change foreground and background colours for
1757 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1759 Remember the window position of the Find, Replace and Find in Files
1760 dialogs (closes #2877988).
1763 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1766 Fix a minor typo inside plugin API reference.
1769 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1771 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1772 Make dialogs_show_prompt() more flexible to take up to three
1773 button/response code pairs to be shown.
1774 Add a close button to the dialog when asking to Re-Save a
1776 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1778 Fix LaTeX environment auto completion with CR/LF line endings.
1779 Add some sanity checks.
1781 When closing a document after it was deleted from the filesystem,
1782 don't ask whether it should be saved first.
1783 Mark the document only as changed if it is not closed afterwards.
1784 Prevent possible segfaults if the document was closed when it is
1785 missing from the filesystem.
1786 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1787 src/msgwindow.h, src/prefs.c:
1788 Add MessageWindow::scribble and use it instead of searching the
1789 widget pointer everytime.
1790 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1791 Add preferences for hiding single tabs from the messages window
1792 (no GUI preferences yet, still to be implemented).
1793 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1794 Set the correct parent window for the toolbar editor
1795 dialog (closes #2913334).
1796 * src/win32.c, src/win32.h, src/ui_utils.c:
1797 Rename win32_show_project_folder_dialog() to
1798 win32_show_folder_dialog() as it is not related and not used by any
1799 project management related code.
1800 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1801 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1802 as it is specialised for opening documents.
1803 Implement win32_show_file_dialog() as a generic file open dialog and
1804 use it with ui_path_box_new().
1807 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1810 Extend auto_latex() function to check whether an environment has been
1811 closed within the next lines to avoid auto adding double \end{}.
1813 Remove LaTeX tags from SVN. Can be found at
1814 http://download.geany.org/contrib/tags/ if needed.
1817 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1819 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1820 Add document_need_save_as().
1821 Show the Save As also for documents created from filetype templates
1822 instead of saving them directly with the untitled filename.
1825 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1827 * geany.glade, src/interface.c:
1828 Move 'Send Selection to Terminal' menu item from Format to Commands
1831 When going to a build error, try the current document's path if
1832 the parsed filename doesn't exist. (This can happen when we receive
1833 build messages in the wrong order - after the 'Leaving directory'
1836 Refactor msgwin_goto_compiler_file_line().
1837 * src/interface.c, src/keybindings.c, geany.glade:
1838 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1841 Refactor/reformat on_replace_dialog_response().
1844 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1847 Improve geany.spec (split the package into a binary and devel
1848 package, update BuildRequires and other minor improvements).
1849 Patch by Dominic Hopf, thanks.
1852 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1854 * src/filetypes.c, src/filetypes.h:
1855 Make group for custom filetypes.
1856 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1857 Add custom filetype Genie.
1860 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1862 * src/highlighting.c:
1863 Highlight D & Java types from a global tags file.
1864 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1865 Add debug message warning if recursive lexer_filetype is set.
1866 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1867 Remove duplicate sci_set_keywords(), make argument const.
1868 * src/highlighting.c:
1869 Only show debug message once if recursive lexer_filetype is set.
1870 Tidy highlighting_init_styles code for filetype None handling.
1871 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1872 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1873 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1874 tagmanager/parsers.h, tagmanager/makefile.win32,
1875 tagmanager/verilog.c, tagmanager/Makefile.am,
1876 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1877 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1878 * src/highlighting.c:
1879 Fix segfault on startup (oops).
1880 * data/filetypes.verilog:
1881 Fix using common style colours for Verilog.
1884 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1886 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1887 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1888 Move C-like filetype properties into configuration files.
1889 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1891 Remove now unnecessary "styling_within_preprocessor" C style key.
1892 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1893 data/filetypes.glsl, data/filetypes.cs:
1894 Use lexer_filetype=C configuration file key instead of duplicate
1895 styleset functions for C++, C#, GLSL, Vala.
1898 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1900 * doc/geany.txt, doc/geany.html:
1901 Warn about not using BOM for configuration files (confuses GKeyFile
1902 parser, at least on my system).
1904 Add/improve debug messages for custom filetypes.
1907 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1910 Add a couple of further latex-beamer commands to list of LaTeX tags.
1913 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1915 * plugins/filebrowser.c:
1916 Add an in-entry clear icon to the filebrowser plugin's filter
1917 entry (patch by Dominic Hopf, thanks).
1918 * src/prefs.c, src/ui_utils.c:
1919 Fix two compiler warnings about possibly uninitialised variables.
1922 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1924 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
1925 plugins/geanyfunctions.h:
1926 Add main_is_realized() to the plugin API.
1927 * tagmanager/include/tm_tagmanager.h:
1928 Update partly outdated and wrong doc comment.
1929 * src/main.c, src/main.h, src/socket.c:
1930 Allow opening Geany projects remotely.
1931 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
1932 Add a hidden pref to allow executing text which was sent to the
1933 terminal directly, i.e. do not strip trailing newline characters.
1934 Also fix the stripping of trailing newline characters if there was
1938 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1940 * src/about.c, THANKS:
1941 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
1942 Kurt de Bree into section of previous translators.
1945 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1947 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
1948 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
1952 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1954 * src/highlighting.c:
1955 Make stylesets take a ft_id argument so they can be reused fully with
1956 custom filetypes, so custom styles and keywords can be set.
1957 * src/highlighting.c:
1958 Fix setting filetype properties when both the system and the user
1959 file have properties set.
1960 * src/symbols.c, tagmanager/vhdl.c:
1962 * src/highlighting.c:
1963 Fix lexer settings for custom filetypes.
1966 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1969 Remove duplicate regular expression for parsing classes.
1970 Fix and improve parsing of constants (patch by Harold Aling, thanks).
1971 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
1972 src/main.h, THANKS, src/about.c:
1973 Add new command line option "--socket-file" to be able to specify
1974 separate socket filenames for instances
1975 (closes #2896027, patch by Jörn Reder, thanks).
1976 * src/keybindings.c, src/keybindings.h:
1977 Add keybindings_check_event() to manually check GdkKeyEvents against
1978 Geany's keybindings.
1979 * src/callbacks.c, src/utils.c, src/utils.h:
1980 Add and use utils_get_help_url().
1981 * geany.glade, src/interface.c, src/prefs.c:
1982 Add a Help button to the preferences dialog.
1983 Handle Help keybinding events for the preferences dialog especially
1984 and open the manual with the corresponding anchor link to the current
1985 preferences page (same goes for the new Help button).
1988 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1990 * src/toolbar.c, src/geanymenubuttonaction.c,
1991 src/geanymenubuttonaction.h:
1992 Use separate tooltips for toolbar menu buttons and their attached
1994 * tagmanager/latex.c:
1995 Improve parsing of sections and chapters by ignoring shortnames
1996 like \section[shortname]{label} (closes #2890477).
1999 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2001 * src/geanymenubuttonaction.c:
2002 Try to fix Gtk warning when using Tools->Reload Configuration.
2005 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2007 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2008 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2009 data/filetypes.pascal, data/filetypes.docbook,
2010 data/filetypes.python, data/filetypes.conf:
2011 Use filetypes.foo [lexer_properties] group instead of hardcoding
2012 lexer properties (more flexible e.g. for custom filetypes).
2013 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2014 Replace filetypes.xml html_asp_default_language key with
2015 filetypes.html asp.default.language property in [lexer_properties]
2019 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2021 * doc/geany.txt, doc/geany.html:
2022 Fix slightly wrong description of how to insert Unicode characters.
2024 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2025 ui_setup_open_button_callback().
2026 * src/prefs.c, src/prefs.c, src/vte.c:
2027 Refactor color and font button callback functions in the
2028 preferences dialog. Move the VTE related callback functions
2030 Make use of ui_setup_open_button_callback().
2032 Improve printing status texts (patch by Dominic Hopf, thanks).
2033 * src/prefs.c, src/vte.c:
2034 Use the default dialog title set by ui_setup_open_button_callback()
2035 to be more consistent and to save one string.
2038 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2041 Separate DKinds from CKinds.
2042 Don't generate macro tags for D, Java.
2045 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2047 * tagmanager/ctags.c, tagmanager/general.h:
2048 Make TagManager Assert statements cause g_warning on failure.
2049 * src/keybindings.c:
2050 Fix reflow paragraph command when cursor < anchor using
2051 sci_fix_selection().
2054 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2056 * tagmanager/perl.c:
2057 Fix Geany segfault with constant tags (#2895168).
2059 Fix invalid tree iter access when using tv_iters.tag_other but not
2060 using tv_iters.tag_variable.
2061 * HACKING, tagmanager/perl.c:
2062 Fix parsing Perl format statements ("other" type doesn't seem
2064 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2065 Fix using "other" tag type.
2068 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2071 Remove useless comment about applying settings only when libvte.so
2072 could be loaded which is only displayed *if* libvte.so is loaded.
2074 Allow autocompletion for HTML entities even within a word.
2075 * src/geanymenubuttonaction.c:
2076 Only set the menu of the button if a non-empty GtkMenu is passed to
2077 geany_menu_button_action_set_menu() so the menu arrow keeps
2081 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2084 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2087 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2090 Parse D functions with contracts (fixes #1885480).
2091 Parse D alias statement like typedef.
2092 (Ignore some more D keywords).
2094 Fix creating D interface tags properly.
2096 Parse contents of D extern{} and version{} blocks.
2099 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2105 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2107 * src/plugindata.h, HACKING:
2108 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2111 Show number of files saved on status bar when using Save All.
2112 * src/highlighting.c:
2113 Use default color scheme if pref color scheme file doesn't exist.
2114 * src/keybindings.c:
2115 Fix moving correct lines after selecting whole line(s).
2118 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2120 * tagmanager/makefile.win32:
2121 Fix broken build on Windows because of a typo
2122 (patch by Timothy Boronczyk, thanks).
2125 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2127 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2129 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2130 scheme files exist in a colorschemes config directory. Color scheme
2131 files must end in ".conf" and currently only the [named_styles]
2133 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2134 Add utils_get_config_files().
2135 * src/highlighting.c:
2136 Fix issue with default color not being reset if overridden with a
2137 system default color.
2138 * src/highlighting.c:
2139 Only reload filetype files when changing color scheme, not all
2140 configuration files.
2141 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2142 Deprecate documents_foreach() as it looks more like a function; use
2143 foreach_document() instead.
2144 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2147 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2149 * src/stash.c, src/stash.h:
2150 Use typedef instead of pointer for widget_id function arguments.
2153 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2155 * src/pluginutils.c:
2156 Don't expand Plugin Preferences page spacing vertically to fill the
2157 height of the dialog.
2158 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2159 geany.glade, plugins/splitwindow.c:
2160 Allow GeanyKeyBinding label field to contain underscores, which won't
2161 be displayed by Geany. This saves adding near-duplicate translation
2163 Add mnemonics for 3 Edit->Format menu items.
2164 Add keybindings_get_label().
2165 * src/interface.c, geany.glade:
2166 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2170 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2173 Desensitize Edit->Commands menu item when no docs are open.
2174 * src/interface.c, src/keybindings.c, src/callbacks.c,
2175 src/callbacks.h, geany.glade:
2176 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2177 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2178 Add general function sci_get_string() that works with any string
2179 buffer messages that follow the Windows message convention.
2180 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2181 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2182 src/pluginutils.c, src/pluginutils.h, geany.glade:
2183 Add 'Edit->Plugin Preferences' menu item and keybinding.
2184 Don't include plugindata.h in pluginutils.h because it redefines the
2185 GEANY() macro for plugin use.
2186 * doc/geany.txt, doc/geany.html:
2187 Update for Plugin Preferences keybinding.
2190 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2193 Sort document word completion list.
2194 * src/interface.c, src/keybindings.c, src/callbacks.c,
2195 src/callbacks.h, geany.glade:
2196 Add some useful commands to editor popup menu under "Commands"
2197 submenu (thanks to Lex).
2198 Move 'Duplicate line or selection' from Format -> Commands submenu.
2199 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2200 Enable switching the sidebar to the right on Windows again, as it
2201 apparently works after all.
2203 Fix using tab to autocomplete in some other situations that word part
2204 completion doesn't apply in.
2205 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2206 Add Edit->Commands submenu which is shared with the editor popup
2208 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2209 Change editor popup Commands submenu to start as child of menubar
2210 Edit menu, as this is more usual e.g. for keybindings initialization.
2211 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2213 Share a single Format submenu for menubar Edit and popup menu.
2216 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2219 Fix a compiler warning about an uninitialised variable.
2221 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2222 sciwrappers.h, build.h (for the Waf build system,
2223 accordingly to r4366).
2226 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2228 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2229 src/toolbar.c, src/toolbar.h:
2230 Add missing dox for types/files in the API.
2231 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2232 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2233 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2234 of functions not in the API).
2235 Warning: any plugins that include these headers should remove them.
2236 * src/build.c, src/build.h:
2237 Move function doc-comments to build.c so they stay in sync. Note:
2238 these functions are still not in the API.
2240 Add 'Doc-comments' plugin API subsection.
2241 * plugins/filebrowser.c:
2242 Fix packing configure widgets equally.
2243 Use spacing multiples of 6 as recommended by Gnome HIG.
2244 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2245 Disable switching the sidebar to the right on Windows as it will
2246 probably fail like the Split Window plugin.
2248 Improve 'Detect from file' indentation pref by ignoring lines with
2249 indentation wider than 24 characters as this is more likely to be
2250 alignment than indentation.
2253 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2255 * plugins/saveactions.c:
2256 Fix adding the filetype's default extension when using the
2257 Instant Save plugin (closes #2885142).
2259 Before looking for line and column numbers specified as part
2260 of a filename, ensure the file doesn't exist on disk. This allows
2261 opening of files like "test:0".
2263 Rename "select" variables into "selection" to avoid shadowed names.
2264 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2265 Add ui_widget_modify_font_from_string() and sci_goto_line()
2267 * plugins/filebrowser.c:
2268 Rename "select" variables into "selection" to avoid shadowed names.
2269 Make use of ui_widget_modify_font_from_string().
2272 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2274 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2275 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2277 Add sidebar position interface pref.
2280 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2282 * doc/geany.txt, doc/geany.html:
2283 Add missing underscores to links.
2286 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2288 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2289 Add 'Move line(s) up/down' keybindings.
2292 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2294 * src/build.c, src/build.h, src/filetypes.h:
2295 Include code for project filetype execute commands and fix bug in
2296 saving project filetypes list.
2297 * src/project.c, src/build.c, doc/geany.txt:
2298 Make non-project execute configuration save to filetypes not
2300 Fix closing of project failing to remove build commands dialog entry.
2303 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2305 * src/project.c, src/ui_utils.c:
2306 Set border width for project properties build table.
2307 * geany.glade, src/interface.c:
2308 Don't expand hard tab width alignment.
2311 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2313 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2314 doc/geany.txt, doc/geany.html:
2315 Support loading global tags files for custom filetypes.
2316 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2317 doc/geany.txt, doc/geany.html:
2318 Add 'Word part completion' keybinding so keys other than Tab can be
2319 used, or to clear/change the combination so Tab does full completion
2321 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2322 Add 'Select to previous/next word part' keybindings.
2323 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2324 Add 'Switch to Messages' focus keybinding.
2327 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2329 * doc/geany.txt, doc/geany.html:
2330 Add 'Custom filetypes' section.
2331 * src/filetypes.c, src/filetypes.h, src/document.c,
2332 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2333 tagmanager/include/tm_source_file.h:
2334 Add filetype "tag_parser" key so custom filetypes can use an existing
2336 Add tm_source_file_get_named_lang().
2337 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2339 Add filetype "lexer_filetype" key so custom filetypes can use an
2343 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2345 * THANKS, src/about.c:
2346 Add Xhacker Liu for his work at zh_CN translation to long list of
2350 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2352 * src/sciwrappers.c:
2353 Remove unnecessary line number margin padding.
2354 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2355 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2357 Improve word part autocompletion so AC list is not cancelled and
2358 reshown (this also stops the selection changing).
2359 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2361 Improve CamelCase word part autocompletion for runs of capital
2364 Don't complete snippets if there's a selection.
2367 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2370 Fix crash opening project when Geany started with no geany.conf.
2373 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2375 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2376 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2378 Add word part autocompletion for the current selected item when
2379 pressing Tab - Enter still completes normally.
2380 Add foreach_str() API macro.
2381 Temporarily modify scintilla to say if tab was used for
2383 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2384 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2385 plugins/classbuilder.c:
2386 Revert r4301 - utils_free_pointers() taking 4 arguments.
2387 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2388 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2389 plugins/splitwindow.c:
2390 Add highlighting_set_styles() to API, use for Split Window plugin so
2391 filetypes.common settings get set too.
2392 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2394 * src/document.c, src/editor.c, plugins/splitwindow.c:
2395 Call editor_apply_update_prefs() from editor_create_widget() so
2396 correct tab width and other settings are applied for Split Window
2400 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2402 * src/keybindings.c:
2403 Don't include trailing newlines when using reflow command.
2405 Add stock close buttons to notebook tab popup menu.
2406 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2407 plugins/geanyfunctions.h:
2408 Add document_get_notebook_page() to API.
2410 * data/templates/files/file.html, data/templates/files/file.php:
2411 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2412 * src/interface.c, src/ui_utils.c, geany.glade:
2413 Move Tools configuration items to top of menu.
2414 * src/keybindings.c, src/search.c:
2415 Fix warning when using Find in Files with no documents open; make
2416 keybinding work in this case.
2419 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2421 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2422 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2423 Make Split Window 'Show current document' button have a drop-down
2424 menu to select the other documents.
2425 Add new API function ui_menu_add_document_items().
2428 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2431 Fix sensitivity settings for compile and build toolbar items.
2434 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2437 Don't use filetype submenus for templates (slower to navigate, often
2438 only 1 per-filetype anyway).
2440 Put old filetype template menu items in 'Old' submenu as they should
2441 be removed after the 0.19 release.
2442 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2443 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2444 to be ignored if inappropriate so a later keybinding with the same
2445 key combination can intercept it. (Also group callbacks are usually
2446 tidier than separate callbacks).
2447 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2448 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2449 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2450 plugins/classbuilder.c:
2451 Make utils_free_pointers() take 4 arguments, add to API.
2452 * src/templates.c, src/tools.c, src/ui_utils.c:
2453 Fix memory leaks with gtk_container_get_children().
2456 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2459 Ensure that old style build config is not loaded if it does
2463 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2465 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2466 Added Galician translation.
2467 Thanks to José Manuel Castroagudín Silva.
2470 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2472 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2474 Apply set default encoding for existing files only if the files are
2475 non-Unicode (patch by Alexey Antipov, thanks).
2478 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2480 * src/highlighting.c:
2481 Move new_styleset() and preprocessor setup code into
2483 * src/highlighting.c:
2484 Call apply_filetype_properties() from styleset_c_like().
2487 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2489 * doc/geany.txt, doc/geany.html:
2490 Improve information about predefined keybindings which are
2491 commonly used across applications (patch by Lex Trotman, thanks).
2493 Enable embedded page setup properties in the (Unix) Print dialog
2494 on newer GTK versions (closes #2870596).
2495 * src/highlighting.c:
2496 Map global types (read from tags files) to keyword style for
2500 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2503 Fix wrong creation of filetype template menu items for custom
2505 * src/highlighting.c:
2506 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2508 Group 'New with template' items by filetype submenu (currently only
2510 Show custom file template items before filetype template items.
2511 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2513 Only use one 'New with template' submenu - reparent as needed.
2515 Don't create templates/filetype.none either.
2517 Warn if custom template file no longer exists.
2520 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2523 Add missing icon for Java packages in the Symbol List.
2526 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2528 * src/highlighting.c, data/filetypes.vala:
2529 Add Vala keywords to conf file.
2530 * src/templates.c, doc/geany.txt, doc/geany.html:
2531 Read custom file templates from $prefix/share/geany/templates/files
2532 as well as user dir.
2533 * src/templates.c, data/templates, data/templates/files,
2534 data/templates/files/file.rb, data/templates/files/file.html,
2535 data/templates/files/main.java, data/templates/files/main.c,
2536 data/templates/files/main.cxx, data/templates/files/file.php,
2537 data/templates/files/main.d, data/templates/files/program.pas,
2538 data/templates/files/main.py, data/templates/files/file.tex,
2539 wscript, Makefile.am:
2540 Move filetype template defaults into custom file template files.
2543 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2545 * src/symbols.c, tagmanager/perl.c:
2546 Change Perl tag parser to ctags SVN r601. This removes support for
2547 buggy local/my/our but it parses constant/format/labels and should
2548 be less buggy overall (closes #2861232).
2549 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2550 Add utils_get_file_list_full() which can optionally sort or include
2551 a full path for each list item.
2552 * src/utils.c, src/plugindata.h, src/plugins.c:
2553 Add utils_get_file_list_full() to API.
2556 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2558 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2559 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2560 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2561 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2562 po/POTFILES.in, wscript:
2563 Rename treeviews.[hc] -> sidebar.[hc].
2564 * data/filetypes.common:
2565 Remove unused [styling] arguments.
2566 * src/highlighting.c, data/filetypes.markdown,
2567 data/filetypes.restructuredtext:
2568 Remove style defaults from the code - just read them from
2569 configuration files.
2570 * src/highlighting.c, HACKING:
2571 Add apply_style_entries() to simplify implementing styleset_foo().
2572 * src/highlighting.c:
2573 Remove filetype keyword defaults from the code - just read them from
2574 configuration files.
2575 * src/highlighting.c:
2576 Add sci_set_keywords() wrapper.
2579 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2581 * scripts/create_py_tags.py:
2582 Make the code a bit more pythonic.
2583 * doc/images/build_menu_commands_dialog.png,
2584 doc/images/main_window.png:
2585 Add new images referenced in the documentation.
2586 * doc/geany.html, doc/geany.txt:
2587 Several documentation improvements (patch by Lex Trotman, thanks).
2588 * src/pluginutils.c:
2589 Fix setting the appropriate page of the combined plugins
2593 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2595 * src/keybindings.c:
2596 Only focus toolbar goto line entry when pressing keybinding if it's
2597 visible (patch by Eugene Arshinov, thanks).
2599 Focus editor after entering a number in the goto line toolbar entry.
2601 Use AC_PATH_PROG instead of which for portability (patch by Erik
2602 Southworth, thanks).
2604 Show plugins that only implement plugin_configure_single() in the
2605 multiple-configure dialog as a page with a configure button on it.
2606 Add padding for multiple-configure dialog.
2607 Make the multiple-configure dialog notebook tabs scrollable.
2608 * src/pluginutils.c, src/pluginutils.h:
2609 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2610 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2611 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2612 plugins/geanyfunctions.h, plugins/filebrowser.c:
2613 Add plugin_show_configure() API utility function.
2614 Add File Browser popup menu 'Preferences' item.
2615 * src/highlighting.c:
2616 Add get_keyfile_ints() instead of using tmp_style hack.
2617 * src/highlighting.c, data/filetypes.xml:
2618 Change new html_asp_default_language markup pref to use integer,
2619 not hex in config file.
2620 Fix minor issue with changing pref back to 0.
2621 * src/highlighting.c:
2622 Fix possible segfault in get_keyfile_int() if key value is malformed.
2625 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2627 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2628 Add "html_asp_default_language" pseudo style to filetypes.xml
2629 to allow setting the used language in embedded ASP code
2630 (patch by Ross McKay, thanks).
2631 * src/filetypes.xml:
2632 Update VBScript keywords (patch by Ross McKay, thanks).
2635 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2637 * src/keybindings.c, THANKS:
2638 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2639 keybinding use line breaking column when enabled.
2641 Fix showing the document before reload dialog when opening an
2643 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2644 Add plugin_configure_single() plugin symbol which is easier to
2645 implement than plugin_configure() but won't support a
2646 multiple-plugin configure dialog.
2648 Show multiple plugins in the 'Configure Plugins' dialog.
2651 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2653 * doc/geany.txt, doc/geany.html:
2654 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2656 * doc/geany.txt, doc/geany.html:
2657 Add 'Toolbar entries' section.
2658 * doc/geany.txt, doc/geany.html:
2659 Update 'Go to line' keybinding description.
2660 * doc/geany.txt, doc/geany.html:
2661 Split keybinding table into group tables; update KB links.
2664 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2667 Fix compiler warnings about uninitialised variables.
2668 * src/callbacks.c, src/document.c:
2669 When reloading files, use the previously set encoding instead of
2670 detecting it again (closes #2862041).
2672 Turn on automake silent rules if supported.
2675 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2678 Speed up sorting in utils_get_file_list(). This reduces the file
2679 browser delay on displaying a big directory, e.g. /usr/bin.
2681 Expand command entry width when expanding Build Commands dialog.
2683 Split Build Commands dialog notes label and edit text.
2685 Add padding for Build Commands dialog separators.
2686 Add colons for regex field labels; fix 1 capitalisation.
2688 Fix none filetype Build Commands dialog label.
2689 Make group labels bold.
2690 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2692 Add & use ui_label_set_markup(), ui_label_new_bold().
2693 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2694 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2695 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2696 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2697 * src/keybindings.c:
2698 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2701 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2703 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2704 tagmanager/parsers.h, tagmanager/makefile.win32,
2705 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2706 data/filetype_extensions.conf, wscript:
2707 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2709 Merge recent changes from the CTags project to further improve
2713 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2716 Fix wrong alignment of printed pages when page headers are
2717 disabled (closes #2856822).
2718 Plug a small memory leak and improve function signature of
2721 Save an if expression.
2723 After clearing a text field using the embedded clear icon, put the
2724 input focus into this text field.
2727 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2729 * plugins/filebrowser.c:
2730 Free file list memory whilst iterating the list.
2731 Minor formatting fixes.
2732 * src/utils.c, src/utils.h:
2733 Add foreach_dir() API macro.
2734 Update API docs for utils_get_file_list().
2735 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2737 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2738 Beep if there are no more snippet positions.
2739 Limit length of snippet positions queue to 20.
2742 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2744 * src/keybindings.c, src/callbacks.c, src/search.c:
2745 Make Goto Tag commands use the current selection if present (useful
2746 for selecting part of a tag or for ReST section names with spaces
2749 Don't move the cursor when reloading.
2750 * src/plugindata.h, src/editor.c, src/editor.h:
2751 Make editor_prefs.snippets hash table private (not a pref).
2754 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2757 Remove deprecated --debug flag. Please use --verbose/-v instead.
2760 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2763 Show Find in Files stderr output in messages window instead of
2764 debug window so that invalid regex messages can be seen easily.
2765 Combine FIF stdout and stderr callback code.
2768 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2771 Fix opening filenames beginning with two dots (closes #2858487).
2772 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2773 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2774 data/filetypes.common, geany.glade:
2775 Update syntax highlighting after changing the 'Invert syntax
2776 highlighting colors' pref, instead of requiring a restart.
2777 Remove filetypes.common invert_all option - use 'Invert syntax
2778 highlighting colors' pref instead (closes #2854525).
2779 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2780 Add 'Allow' button when showing the conflicting keybinding dialog.
2781 Make dialogs_show_question_full() use GTK dialog on Windows if
2782 button text is not the stock yes/no items.
2783 Add dialogs_show_prompt() which also has an 'Apply' button.
2784 * src/queue.c, src/queue.h:
2785 Add warning that GeanyQueue may be removed.
2786 * src/keybindings.c, src/editor.c, src/editor.h:
2787 Change snippet_goto_next_cursor() to
2788 editor_goto_next_snippet_cursor() as it's in editor.h.
2789 Avoid using GPOINTER_TO_INT macro.
2792 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2794 * src/keybindings.c:
2795 Fix 'Reflow block' command when at the last paragraph and there's
2796 no last newline (patch by Eugene Arshinov, thanks).
2798 Add 'Compiler options & warnings' section.
2799 Update Style section to be clearer about code alignment and show
2804 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2806 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2807 src/plugindata.h, src/plugins.c, src/editor.c,
2808 plugins/geanyfunctions.h:
2809 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2810 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2812 Add sci_toggle_marker_at_line().
2813 Fix SciFuncs alignment.
2816 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2819 Fix erroneous free of returned string in prepare_run_script.
2822 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2824 * data/filetypes.latex:
2825 Changing default value for showing pdf and dvi to ensure to take
2826 *.pdf and *.dvi file.
2829 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2831 * src/about.c, THANKS:
2832 Change language string for Slovenian translation.
2835 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2837 * tagmanager/txt2tags.c:
2838 Fix multi-byte character constant comparison.
2840 Fix Gtk warning when trying to update documents popup menu item
2841 sensitivity before they exist.
2844 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2847 Improve the opening string in the plugin manager dialog.
2849 Use "max-width" to set the document width of the generated
2850 HTML documentation to let the text be auto-wrapped.
2851 * src/prefs.c, src/tagmanager/include/guregex.h,
2852 src/tagmanager/include/tm_tagmanager.h:
2853 Remove trailing spaces (patch by André Hentschel, thanks).
2855 Fix a compiler warning.
2857 Fix crash when opening documents.
2858 * src/build.c, src/build.h, src/project.c:
2859 Adjust coding style (no code changes).
2860 * src/build.c, src/project.c:
2861 Use NZV() macro instead of strlen() to check for empty strings.
2862 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2863 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2864 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2865 src/plugins.c, THANKS:
2866 Add new plugin signal: "document-before-save".
2867 Add get_line_end_position(), set_target_start(), set_target_end(),
2868 replace_target() to the plugin API
2869 (patch by Eugene Arshinov, thanks).
2870 Add new plugin signal: "document-filetype-set" (closes #2852286).
2871 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2872 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2873 tagmanager/Makefile.am, tagmanager/makefile.win32,
2874 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2876 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2879 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2881 * src/treeviews.c, src/document.c:
2882 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2883 Use gtk_notebook_set_current_page() instead of
2884 document_open_file_full() when choosing an item from the documents
2886 Avoid using goto in document_open_file_full().
2889 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2891 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2892 Enable type-ahead find for sidebar symbols and documents tabs
2893 (patch by Thomas Martitz, thanks).
2895 Fix 2 free's of possibly uninitialized pointers.
2898 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
2900 * src/build.c, src/filetypes.h, src/filetypes.c:
2901 Only write filetype config files when build command or regex is
2902 actually changed. Removed commented code in src/filetypes.c.
2904 Ensure uses of filename are protected against nulls when running
2905 a build command and give status message if not.
2908 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2911 Remove plugin from plugin manager dialog on unloading if it no
2912 longer exists or is incompatible.
2915 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2918 Add warning if only one of the plugin_key_group[_info] symbols is
2919 defined for a plugin.
2920 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
2921 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
2923 Merge custom-filetypes branch:
2924 Support adding custom filetype files e.g. filetypes.Foo.conf.
2926 Allow GeanyFiletype::extension to be NULL.
2927 Add note about using GeanyFiletype pointer instead of filetype_id
2928 for filetypes.c function arguments.
2929 Replace styleset_none() with styleset_default().
2932 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2935 Show the sidebar if either the documents or the symbols list are
2936 enabled (related to #1876107).
2939 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2941 * src/build.c, src/filetypes.c:
2942 Fix compiler warnings.
2944 Fix removing leading double slashes in filenames which are used for
2945 network resources on Windows (closes #2844085).
2948 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2950 * src/keybindings.c:
2951 Fix Make keybindings (patch by Lex Trotman, thanks).
2953 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
2955 Mention Files link at top for header files; demoplugin.c.
2956 Minor edits; remove 'far from being complete'.
2957 * src/keyfile.c, src/keyfile.h, src/main.c,
2958 data/filetype_extensions.conf, HACKING:
2959 Remove --generate-data-files argument & code - just edit
2960 filetype_extensions.conf by hand (filetype order was broken
2962 Add *.H extension for C++ (useful for non-Windows systems).
2965 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
2968 Fix implementation of loading old project files with base
2969 directories. Use project_make_base_path instead of re-
2970 implementing. Now depends on project.c reading base dir
2971 prior to calling load_build_menu.
2973 Change usage of project base directory to conform with
2974 previous documented behavior when loading old project files.
2976 Change make custom and make object to ignore make in base path
2977 when reading old project file settings. Changed some indent
2978 spaces to tabs. Fix missing compile menu accelerator.
2981 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2984 Add warning about not using undocumented features.
2985 Add reference to HACKING for plugin API development.
2987 Add section 'Plugin API/ABI design'.
2988 * src/keybindings.h, src/makefile.win32, src/project.h,
2989 src/filetypes.h, src/Makefile.am, wscript:
2990 Use GEANY_PRIVATE to hide some fields from plugins.
2992 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
2993 * src/build.c, src/build.h, src/project.c:
2994 Use build_ prefix for 3 functions in build.h; add a static modifier.
2997 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3000 Improve parsing of PHP functions by requiring a valid modifier or
3001 whitespace before the 'function' keyword to ignore some false
3002 positives like function tags inside comments
3003 (patch by Harold Aling, thanks).
3004 * tagmanager/python.c:
3005 Don't parse comments after import statements and other tags
3006 (closes #2838938, patch by Huandari Lopez, thanks).
3009 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3011 * data/filetypes.markdown:
3012 Add filetypes.markdown for configuration (thanks to Jon Strait).
3013 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3014 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3015 plugins/geanyfunctions.h:
3016 Remove GeanyKeyGroup struct from the API - plugins should not set
3018 Make keybindings_set_item() duplicate the name and label fields
3019 (needed by GeanyLua) and return a keybinding pointer.
3020 Add keybindings_get_item() to the API (in case it's useful).
3021 Move some keybinding code out of plugin source files.
3024 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3026 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3027 Don't generate build.h API docs until everything is approved and
3028 functions are actually in geany_functions.
3029 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3030 as they may be changed or made private later.
3031 Break ABI for fields removed.
3034 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3036 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3037 src/keyfile.c, src/project.c:
3038 Changed names of symbols visible in build API to GEANY_xxx.
3041 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3043 * src/project.h, src/project.c, src/build.c:
3044 Remove make_in_base_dir and run_cmd fields from project structure.
3045 Replaced by build functionality. Remove incorrect use in src/build.c
3046 build_run_cmd function.
3049 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3051 * src/project.h, src/project.c:
3052 Removed unused project_get_make_dir function, this is now per
3056 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3058 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3060 Fix some more warnings.
3061 Fix commented out execute/stop toolbar code in build.c.
3062 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3063 Changed build.h api so all functions prefixed with build_.
3066 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3068 * src/build.c, src/build.h, src/project.c:
3069 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3072 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3075 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3076 strings when reading old format configuration & project files.
3077 * src/build.c, src/project.c:
3078 Fixed GLib array assertion warnings when no project filetypes are
3079 available to be saved.
3081 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3087 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3089 * src/build.h, src/build.c, src/project.c:
3090 Created and documented plugins interface to build menu.
3091 Factored out new get_cmd_group function.
3092 Changed name of remove_command function to be consistent with the
3093 rest of the interface & changed calls in project.c.
3094 * src/Makefile.am, wscript:
3095 Added build.h to installed files lists.
3097 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3100 Updated manual to match build-menu capability.
3103 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3105 * src/build.c, src/build.h:
3106 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3107 Improved interpretation of run_in_base_dir from old [build-settings]
3108 Added spacing to build commands dialog
3110 Removed run in base path option from project dialog and added button
3111 to set working directories to d the same.
3114 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3117 Re-incorporated toolbar changes in trunk accidently excluded in merge
3119 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3122 Fixed substitute %f etc in commands
3123 Fixed potential leak in build_replace_placeholder
3124 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3125 Fixed build_replace_placeholder to not require document.
3127 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3129 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3130 Fixed crash and lots of warnings, deleted some commented out code.
3131 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3132 Removed make command from preferences and associated code
3134 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3136 * src/build.c, src/build.h:
3137 Incorporated patch for working directory field (thanks Thomas)
3138 Removed run_in_base_dir option and associated code that it replaces
3139 Improved handling of old config files and mapping to new ones.
3141 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3143 * src/build.h, src/build.c:
3144 Changed to itterate over entries in build commands dialog to allow
3145 additional fields to be added
3146 Implement support for multiple run commands
3147 * data/filetypes.latex:
3148 Implement configured commands and labels for latex.
3151 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3153 * src/build.h, src/build.c:
3154 added dialog support for error regular expressions from multiple
3155 sources and storing and loading them fixed some typos and memory
3157 * src/filetypes.c, src/filetypes.h, project.c:
3158 added support for using error regexes from multiple sources
3161 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3163 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3165 Removal of build menu item source made redundant by the following fix
3167 Corrected priority oreder and loading of filetype dependent build
3168 menu items saved in the project file. Added print routine for
3169 debugging command sources and priorities set compile symbol
3170 PRINTBUILDCMDS true to enable
3172 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3175 fixed problem loading old format filetype files, some formatting
3176 fixes fixed saving new format files
3177 added operation for clear button on build commands dialog
3179 fixed loading and saving filetype files
3182 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3184 Configurable Build Menu Changes
3186 * doc/geany.html, doc/geany.txt:
3187 Updated build menu section to new functionality
3188 * src/build.h, src/build.c:
3189 Largly re-written, configurability added, Latex code removed
3190 * src/filetypes.h, src/filetypes.c:
3191 Filetype structure updated to add new command pointers, configuration
3192 load and store changed
3193 * src/keybindings.h, src/keybindings.c:
3194 Changed to address new command storage structure.
3196 Changed to load/store new configuration.
3198 Minor change to initialisation order.
3200 Changed to address new menu item storage structure.
3201 * src/project.h, src/project.c:
3202 Changed to load/store the new configuration info.
3204 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3206 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3207 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3208 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3209 plugins/splitwindow.c:
3210 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3211 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3212 the ABI when adding fields to them.
3213 Add plugin_set_key_group() for plugins to dynamically set a
3214 keybinding group (e.g. for the Lua script plugin). Used in Split
3215 Window plugin as an example.
3216 Improve keybinding docs a little.
3219 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3221 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3222 Add geanyfunctions.h to API docs.
3223 * plugins/splitwindow.c:
3224 Set the cursor color for the split window.
3227 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3230 Fix 'Open Selected File' for unsaved new documents.
3231 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3232 Fix updating main menu accelerators after changing keybindings
3233 (thanks to Lex Trotman).
3235 Fix using 'Insert date' keybinding when a custom date string has
3237 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3238 Merge Plugin and GeanyPluginPrivate structs.
3241 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3243 * src/keybindings.c:
3244 Fix non-working Home and End keys on numpads.
3247 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3249 * doc/geany.txt, doc/geany.html, NEWS:
3250 Add 'Scope autocompletion' section.
3251 Add 'Tools menu items' section to explain configuration files
3252 submenu, reload configuration item.
3253 Minor updates/fixes.
3256 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3259 Add a translation hint to an ambiguous format string.
3261 Add missing include path to fix 'make distcheck'.
3263 Fix opening of local files in the browser on Windows.
3264 * New release: Geany 0.18 "Kaine".
3265 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3266 src/geany.h, doc/geany.html, doc/geany.txt:
3267 Post-release version bump.
3270 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3273 Temporarily disable reshowing calltips when the autocompletion
3274 list was closed implicitly by not choosing an item to fix
3275 problems with wrongly displayed calltips.
3277 Add missing 'coding' cookie to the Python filetype template.
3278 * doc/images/pref_dialog_edit_completions.png,
3279 doc/images/pref_dialog_toolbar.png:
3280 Update images for Geany 0.18.
3283 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3286 Add command '--hackingdoc' to create the HTML form of the
3290 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3292 * po/pt_PT.po, po/LINGUAS:
3293 Added a first Portugese (Portugal) translation based on work done at
3294 launchpad by e.g. André Glória and Alexandre Jesus.
3295 * src/main.c: Fix a minor typo on --help call.
3298 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3300 * src/highlighting.c:
3301 Call get_keyfile_wordchars() in highlighting_init_styles().
3304 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3306 * data/filetypes.ada:
3308 * src/keybindings.c:
3309 Switching notebook tabs now works for the currently used notebook
3310 widget instead of always using the documents notebook.
3311 * src/document.c, src/document.h, src/documentprivate.h,
3313 Small corrections to some API docs.
3316 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3318 * src/build.c, src/win32.h, src/win32.c:
3319 Expand system environment variables (%variableName%) on Windows when
3320 running Build commands.
3323 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3325 * src/keybindings.c:
3326 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3327 future using an indent block is more useful e.g. for ChangeLog
3329 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3330 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3331 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3332 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3333 tagmanager/parsers.h, tagmanager/makefile.win32,
3334 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3335 Add Markdown filetype (patch by Jon Strait, thanks).
3336 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3337 Fix disconnecting plugin signal id when not using geany_object.
3339 Add filetype_make_title() instead of using:
3340 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3341 It also supports "%s file" strings.
3344 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3346 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3347 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3348 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3349 plugins/filebrowser.c:
3350 Add plugin_signal_connect() for connecting plugin signals at
3351 runtime and also for connecting to any GObject signal.
3352 Add 'Plugin Utility Functions' on main page.
3353 Add foreach_array() macro.
3354 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3355 src/document.c, src/editor.c:
3356 Rename 3 sci functions to sci_set_target_start(),
3357 sci_set_target_end(), sci_replace_target() to match the SCI_
3361 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3363 * wscript: Fix compiling error with waf.
3366 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3368 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3369 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3370 src/Makefile.am, wscript:
3371 Move plugin_* utility functions to pluginutils.c.
3372 Add pluginprivate.h.
3374 Fix reshowing calltip in the wrong document.
3377 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3379 * doc/geany.txt, doc/geany.html:
3380 Add some general information about auto-completion capabilities
3381 (patch by Lex Trotman, thanks).
3384 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3386 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3387 Added a first Slovenian translation. Thanks to Joze Klepec.
3390 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3392 * src/highlighting.c:
3393 Use full styleset_foo[_init] function name as argument to
3394 init_styleset_case() and styleset_case() macros so it's easier to
3395 understand the code.
3396 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3397 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3398 doc/geany.txt, doc/geany.html:
3399 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3400 Heavily based on a patch by Eugene Arshinov (thanks).
3401 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3402 editor_strip_line_trailing_spaces().
3405 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3408 Attempt to fix reshowing calltips after the autocompletion list
3410 Reshow calltips also when the autocompletion list was closed
3411 implicitly by not choosing an item.
3413 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3415 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3416 plugins/splitwindow.c:
3417 Change utils_str_remove_chars() to work in place; fix allocating on
3418 the stack (the string length could exhaust the stack size).
3419 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3420 src/printing.c, src/callbacks.c:
3421 Rename utils_str_replace() utils_str_replace_all(), setting a
3422 'gchar **haystack' argument instead of returning a new string.
3424 For the Tabs indent type, remove spaces when unindenting (only) if
3425 there are no tabs on the line.
3426 Group undo actions for (un)indenting of multiple lines.
3427 * src/document.c, src/editor.c:
3428 Fix scrolling horizontally after finding a search match with the
3429 search bar or Find Next/Previous which is off-screen.
3430 * src/keybindings.c:
3431 Fix GLib warning when pressing a key with no documents open.
3434 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3437 Start unifying usage of @a and @c markup elements in API docs,
3439 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3440 Show/hide the toolbar without a restart when the setting in the
3441 preferences dialog is changed (closes #2824785).
3442 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3443 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3444 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3446 Continue unifying usage of @a and @c markup elements in API docs.
3449 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3452 Remove relative/untidy path elements when creating new documents
3453 with a filename (e.g. from the command-line) (#2823998).
3456 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3459 Disable 'Recent Projects' menu item if the list of recent projects
3462 Fix some harmless compiler warnings.
3463 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3464 src/plugins.c, src/utils.c, src/utils.h:
3465 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3466 src/utils.c and add it to the plugin API.
3467 Make utils_str_remove_chars() work on a new copy of the input string
3468 instead of modifying it in place.
3470 Remove underscores from the toolbar items labels.
3473 * plugins/splitwindow.c:
3474 Fix broken 'Show the current document' tool button icon.
3477 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3479 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3481 Add stash_group_add_widget_property() so we can save any widget's
3482 read/write properties.
3483 Use Stash for ui_prefs.sidebar_page setting.
3484 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3485 Make foreach_ptr_array() use an integer argument for its
3486 implementation, as this is more useful potentially than a gpointer*
3487 argument, and more straightforward.
3488 Add foreach_c_array(), foreach_ptr_array() to API.
3489 * src/utils.c, src/utils.h, src/document.c:
3490 Remove relative/untidy path elements when opening documents (closes
3493 Fix showing project name for documents list files with no
3494 subdirectory (oops).
3496 Fix checking whether to overwrite when using the Rename button in
3497 the 'Save As' dialog.
3500 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3503 Don't use the main window as parent for dialog boxes if it is not
3505 Set titles for message dialogs.
3508 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3511 Display item labels instead of raw names in the toolbar editor.
3512 Apply changes in the toolbar editor instantly.
3513 Show icons in the toolbar editor.
3514 Speed up toolbar editor dialog creation.
3516 Improve inserting of comment templates like File header or licence
3517 notices. The comment information are now read from the filetype
3518 configuration files.
3520 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3523 Enable file monitoring for files which are written to disk by Geany
3526 Fix broken special case handling when detecting filetypes from a
3527 shebang or other special file headers.
3530 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3533 Make Mark All keybinding clear search highlighting when there's no
3536 Fix wrong match length when using Mark with regex.
3537 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3538 src/keyfile.c, src/main.c:
3539 Add 'Show Paths' documents list popup item.
3540 Add "load_settings" core-only signal emitted just after loading
3541 main keyfile settings; useful to delay building UI elements until
3542 settings have been read.
3544 Fix GTK warning when right-clicking on default tag tree.
3545 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3546 Add treeviews_finalize().
3547 Remove tv.popup_openfiles field.
3550 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3552 * src/highlighting.c:
3553 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3556 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3559 Quote the uri before passing it to the browser when opening a
3560 website (closes #2818635).
3562 Fix broken 'builtin' Run command for HTML files on Windows.
3565 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3568 Properly fix wrong brace highlighting of non-brace character.
3570 Allow autocompletion in Perl double-quoted strings.
3571 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3572 Don't autocomplete in Perl q() strings.
3573 * data/filetypes.common:
3574 Make Mark highlighting brighter.
3575 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3576 Use hyphen for auto-feature terms.
3577 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3578 src/document.h, src/main.c:
3579 Add documents_foreach() API macro that skips invalid docs.
3580 Make filetypes[], documents[] part of the API again.
3581 Add GEANY() macro for sharing geany symbols between API and core.
3582 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3583 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3584 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3585 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3586 plugins/classbuilder.c, wscript:
3587 Add geanyplugin.h single include for plugin API; update all core
3589 Add sci_set_font() to API.
3590 Update plugin howto.
3591 * src/filetypes.c, src/filetypes.h:
3592 Remove filetypes_foreach_named().
3595 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3597 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3598 src/document.h, src/main.c, THANKS:
3599 Apply patch from Eugene Arshinov to reload color schemes via menu
3602 Reload filetypes.common after saving it.
3604 Improve wrong brace highlighting of non-brace character.
3607 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3610 Delay highlighting matching braces by 100ms, which speeds up
3611 scrolling with the arrow keys.
3612 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3613 Add 'Mark All' keybinding.
3614 * tagmanager/diff.c:
3615 Show relative paths in diff filename tags.
3618 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3620 * src/highlighting.c:
3621 Fix setting keyword list 'classes' for Haxe
3622 (pointed out by Andreas Mokros, thanks).
3625 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3627 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3628 doc/geany.txt, doc/geany.html, geany.glade:
3629 Add 'Drop rest of word on completion' pref.
3630 * src/editor.c, doc/geany.txt, doc/geany.html:
3631 If autocompletion is already visible when forcing completion, show
3632 document word completion instead of tag completion.
3633 Docs: Minor edits of related prefs items.
3634 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3635 Add warning when printing and editor font is not monospaced.
3636 Fix using GtkMessageType instead of gint param for
3637 dialogs_show_msgbox*().
3638 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3640 Support 'tab indents, space aligns' style for auto-indentation
3644 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3646 * src/document.c, src/documentprivate.h:
3647 Rework the GIO based file monitoring code. Now it is used only
3648 to indicate a possible change of the file, the real check if the
3649 file has been changed is performed by stat().
3650 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3651 Add style 'line_height' to increase the line height.
3652 Add style 'marker_mark' and change style 'marker_search' to
3653 define the style used for marked search results.
3654 * doc/geany.txt, doc/geany.html:
3655 Add the new 'Autocomplete all words in document' pref to the docs.
3658 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3660 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3661 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3662 Add 'Autocomplete all words in document' pref.
3663 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3665 Fix limiting number of word completion entries too much.
3666 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3667 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3668 Show autocompletion icons for tag symbols - for now only tags with
3669 an arglist have the 'function/method' icon, all others have the
3671 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3673 * src/highlighting.c:
3674 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3678 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3680 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3681 Fix removing underscores in translated string using no_underscore()
3683 Set a tooltip for the Split Window plugin's Show Current tool button.
3684 Add utils_strdupa() macro.
3685 * src/interface.c, geany.glade:
3686 Use stock Select All icon now we have >= GTK 2.8.
3688 Fix using project name for document items that start with the
3689 project base path but don't match it e.g. ".../geany-plugins"
3690 instead of ".../geany" when project name is 'geany'.
3693 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3696 Fix warnings when the toolbar does not contain the Run button.
3698 Fix wrong parsing of complex expressions in the Lua parser.
3699 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3701 Remove unnecessary enums.
3702 * scintilla/*, scintilla/include/*, src/plugindata.h:
3703 Update Scintilla to version 1.79.
3704 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3706 Use the new Scintilla struct names prefixed with 'Sci_'.
3707 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3709 Add second argument to the 'line_wrap_indent' styling setting to
3710 control the new Scintilla indentation mode for wrapped lines.
3712 Properly close the toolbar editor on delete-events.
3713 Fix warnings and possible crashes in the toolbar editor when the list
3714 of displayed toolbar items is empty.
3715 * data/filetypes.tcl:
3716 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3718 Make the plugin manager dialog a bit bigger.
3721 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3723 * doc/geany.html, doc/geany.txt:
3724 Fix wrong default values for the 'Show Calltip' keybinding.
3727 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3729 * data/filetypes.tcl, src/symbols.c:
3730 Fix duplicate "context_action_cmd" key.
3731 Use different icons for "Methods" and "Procedures" in the symbol
3734 Fix a small memory leak.
3735 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3736 src/keybindings.h, src/plugindata.h:
3737 Make the Scintilla keybindings 'Delete to end of line' and
3738 'Go to end of display line' configurable.
3740 Fix a typo (closes #2813624).
3743 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3745 * tagmanager/tcl.c, src/symbol.c:
3746 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3747 methods and namespaces).
3748 Patch by Witek Mozga, thanks.
3751 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3753 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3754 src/toolbar.c, src/toolbar.h:
3755 Remove ui_toolbar.xml Configuration Files menu item.
3756 Add a real toolbar editor dialog.
3757 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3759 Add a button in the preferences dialog and an item for the toolbar
3760 popup menu to run the toolbar editor dialog.
3763 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3766 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3767 Fix using locale encoding for default Save As dialog path.
3769 Beep when trying to activate the '...' autocompletion item.
3770 Limit (forced) document word completion to
3771 autocompletion_max_entries.
3772 Beep if no completions are shown when forcing autocompletion.
3775 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3777 * data/ui_toolbar.xml, src/toolbar.c:
3778 Add 'Build' toolbar button to the default layout.
3781 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3784 If forcing autocompletion and there's nothing else to show, complete
3785 from words in the current document (using code from Enrico's
3786 'AutoComplete Test' plugin).
3789 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3792 Add debug message if plugin has not set a name for its keybinding
3794 * data/filetype_extensions.conf:
3795 Add *.m4 for shell scripts.
3798 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3800 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3801 data/filetypes.common, TODO:
3802 Make filetypes.common named styles use the "default" named style for
3803 all missing style fields.
3804 Set named styles to usually leave the background style empty. This
3805 currently allows C-like filetypes to have a common default
3807 Allow hard-coded colors to use -1 for the default color.
3808 Add some highlighting style examples to the manual.
3811 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3814 Create initial template files with proper platform-specific line
3818 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3820 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3821 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3822 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3823 src/ui_utils.c, src/ui_utils.h:
3824 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3826 Refactor some related code.
3827 * tagmanager/conf.c:
3828 Strip trailing spaces from "Key" tags.
3830 Quote the full filename to the Geany executable when creating the
3831 "Open with Geany" context menu item.
3832 * plugins/splitwindow.c:
3833 Avoid using deprecated GTK API.
3834 * src/log.c, src/main.c:
3835 Properly clean up the logging mechanism.
3837 Fix LaTeX view commands on Windows (part of #2807688).
3839 Add a popup menu for the keybinding list in the preferences dialog
3840 to easily expand and collapse all groups.
3841 Refactor the keybindings code for the preferences dialog, prefix all
3843 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3844 Init stock items before creating the toolbar (closes #2809324).
3846 Generate the geany.pc file also on Windows.
3848 Invert the logic to determine which Save All we want to use:
3849 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3850 like icon for any other themes.
3853 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3855 * src/highlighting.c, README.Packagers, HACKING:
3856 Remove gsd_* default styles, use named styles instead.
3857 Note: this relies on filetypes.common being installed.
3858 Add load_style_entries(), which makes style initialization
3859 simpler, used in styleset_c_like_init().
3862 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3865 Prevent possible crash on Windows when not setting an initial
3866 directory for native File Open/Save dialogs.
3867 * data/filetypes.xml, src/highlighting.c:
3868 Add style 'jscript_regex' for filetype HTML
3869 (patch by Chris Macksey, thanks).
3872 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3874 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3875 Make GeanyDocument::file_type always be non-NULL, even for a new
3876 document with no filetype set.
3878 Only autocomplete scope for scopes matching the current filetype's
3880 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3881 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3882 data/filetypes.actionscript, data/filetypes.cs,
3883 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3884 data/filetypes.javascript, HACKING:
3885 Make C++, D lexer filetypes use named styles (apart from uuid,
3886 verbatim, regex styles).
3889 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3892 Don't explicitly change the current directory of the Save As dialog
3893 so that it uses the last used directory.
3896 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3898 * src/encodings.c, src/encodings.h, src/plugindata.h:
3899 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
3902 When completing from the macro list, put the cursor after
3906 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3908 * tagmanager/pascal.c:
3909 Fix type definitions being parsed as functions.
3911 Don't autocomplete in unterminated strings as well.
3912 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
3913 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
3914 Remove data_ptr argument to foreach_[s]list() macros, as using
3915 node->data is enough sometimes; this makes the macro a bit more
3917 Add foreach_[s]list() macros to the plugin API docs.
3920 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3922 * scintilla/LexPascal.cxx:
3923 Backport fix from Scintilla CVS:
3924 Pascal lexer hanging on file that starts with 'interface' after
3928 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3931 Update Waf to 1.5.7.
3933 Overwrite installation prefix on Windows only if it wasn't
3934 specified explicitly.
3937 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3940 Display calltips for Pascal symbols in the Pascal way (#2803945).
3941 * tagmanager/pascal.c:
3942 Fix wrongly set return values for procedures (closes #2803945).
3943 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
3944 tagmanager/include/tm_source_file.h,
3945 tagmanager/include/tm_workspace.h:
3946 Fix doxygen warnings.
3949 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3951 * src/editor.c, tagmanager/include/tm_workspace.h,
3952 tagmanager/tm_workspace.c, TODO:
3953 Autocomplete scoped fields like struct members when typing '.' (and
3954 also '->' or '::' in C/C++).
3955 Save all tag types for C/C++ when generating a global tags file, so
3956 we can use autocompletion for structs also.
3957 Merge tm_workspace_find_scope_members(),
3958 tm_workspace_find_namespace_members() (currently not built) from
3959 Anjuta 2.24.1 tagmanager.
3962 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3964 * tagmanager/pascal.c:
3965 Parse Pascal calltips (closes #2802640).
3968 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3970 * src/filetypes.c, src/ui_utils.c:
3971 Add filetypes.common Configuration Files menu item.
3974 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3977 Add backslash to the wordchars on Windows when using
3978 'Open Selected File'.
3980 Add support (configure, build and install) for building on Windows
3981 and cross-compiling for Windows using the Waf build system.
3984 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3987 Set status bar text instead of showing a dialog when saving
3988 ui_toolbar.xml because the user might save several times.
3990 Fix redrawing due to colourising just after the document is first
3991 drawn. Now colourising should happen before the first draw.
3992 * src/utils.c, src/highlighting.c, data/filetypes.common:
3993 Fix segfault on parsing a filetypes.* style definition that has < 4
3995 Allow style definitions to have missing fields to use the default
3999 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4001 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4002 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4003 * plugins/classbuilder.c:
4004 Fix wrongly created header guards when the class filenames contains
4005 dashes (patch by PCMan, thanks).
4006 * data/filetypes.matlab:
4007 Add build_settings section to allow executing Matlab scripts.
4009 When closing a document, mark it as invalid before removing it from
4010 the documents notebook (this fixes wrong Save All button state when
4011 closing an unsaved document because the "switch-page" signal handler
4012 was using old data).
4015 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4017 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4018 Support toggling bold/italic when using a named style, e.g.:
4019 commentdockeyword=commentdoc,bold,italic
4020 Improve named style docs.
4023 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4025 * src/build.c, src/editor.c:
4026 Fix crashes when parsing the output of a compiler which reports
4030 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4032 * src/highlighting.c:
4033 Support named styles also for filetypes.common [styling] entries.
4034 * doc/geany.txt, doc/geany.html, HACKING:
4035 Update docs for named styles in filetypes.* files.
4037 Fix grouping symbol list children when parent name has "." character
4038 in for reStructuredText and Conf filetypes.
4039 * tagmanager/python.c:
4040 Fix grouping functions/classes under a nested function.
4043 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4046 Adjust icon paths (patch by Dominic Hopf, thanks).
4047 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4048 Add 'Replace' toolbar button (closes #2798225).
4051 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4053 * src/utils.c, src/highlighting.c, TODO:
4054 Implement named styles support for filetypes.* using a
4055 filetypes.common [named_styles] section e.g.:
4056 foo=0xc00000;0xffffff;false;true
4058 These can be used in e.g. filetypes.c as:
4062 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4065 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4068 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4070 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4071 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4074 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4077 Remove quote_executable() as it is not used anymore.
4078 When creating the geany_run_script.bat use the "%0" variable
4079 expansion and quote it for the "del" command (closes #2797172).
4081 On Windows, fallback to the literal build command line if searching
4082 for the command in the system path failed (related to #2795923).
4083 Properly terminate the resulting strings when reading the stdout
4084 and stderr of any spawned commands on Windows.
4087 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4090 Use the wide character versions of native Windows File dialogs.
4092 Fix wrong initialisation of the default project path button callback
4093 in the preferences dialog.
4094 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4095 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4096 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4097 icons/Makefile.am, icons/geany.ico, icons/scalable,
4098 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4100 Move the icons geany.png and geany.ico into the icons directory.
4101 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4102 Drop the pixmaps directory.
4105 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4107 * src/keybindings.c:
4108 Improve MRU document switching so there are no duplicates in the
4109 list and documents switched to whilst the dialog is open are
4110 ignored. Also beep when cycling through to the first document in the
4114 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4117 Fix broken 'Cancel' button in the Save As dialog.
4120 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4123 Fix multiline indent when selection covers text on the last line.
4125 Show current document in bold in tab popup menu.
4126 * src/editor.c, tagmanager/python.c, TODO:
4127 Parse Python calltips.
4130 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4132 * src/symbols.c, tagmanager/python.c:
4133 Parse Python import statements to get symbol completion for the
4134 imported module names.
4135 * src/editor.c, src/editor.h:
4136 Make some only locally used functions static.
4137 Fix wrong sanity check.
4139 Fix quoting the build command string on Windows (closes #2791769).
4140 This broke when we made build commands run synchronously on Windows,
4141 now we don't need to special quote the commands anymore.
4144 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4147 Drop rest of word to the right of cursor when autocompleting (do we
4148 need a pref for this?).
4151 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4153 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4154 Add sci_set_selection().
4155 * doc/geany.txt, doc/geany.html:
4156 Update manual for MRU switching.
4157 * src/callbacks.c, src/editor.c, src/editor.h:
4158 Make indenting with the Tabs indent type preserve spaces on the line,
4159 so it works for the 'tab indents, space aligns' formatting style.
4162 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4164 * tagmanager/python.c:
4165 Fix missing symbols for variables when an equal sign is used
4166 in a comment on the same line as the variable declaration.
4167 Backport change from CTags SVN to keep the parser more in sync:
4168 Add support for Cython constructs to the Python parser.
4170 Remember the additional Find in Files search flags at startup.
4172 Don't close the Save As dialog when saving the file didn't succeed.
4175 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4178 Remember scribble cursor position.
4179 * src/keybindings.c, TODO:
4180 Implement Most-Recently-Used document switching when pressing
4181 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4184 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4186 * data/latex.tags: Added some more commands from unit.sty and
4190 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4192 * src/symbols.c, doc/geany.txt, doc/geany.html,
4193 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4194 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4195 tagmanager/Makefile.am, wscript:
4196 Merge unstable branch:
4197 Add reStructuredText scope information for tags (for symbol list
4199 Read custom system global tags files from $prefix/share/geany/tags;
4201 Show the number of tags in a user global tags file (instead of the
4202 running total) in the debug message.
4203 Also print debug messages when loading a tag file manually or for
4204 default global tags files e.g. python.tags.
4206 Move NestingLevel tags code into a separate file, add functions.
4208 Add 'Installation prefix' section instead of quoting '/usr/local'
4210 Update for custom system global tags files.
4213 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4215 * src/highlighting.c:
4216 Unset maybe previously keywords when setting up Scintilla for
4217 XML files. This fixed wrong highlighting after switching back to
4218 filetype XML from another one.
4220 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4221 is only used when explicitly requested.
4223 Remove unnecessary call to g_intern_string() to fix build with
4224 GLib 2.8 (closes #2790051).
4227 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4230 Make the clear icon of entry fields act on the release event, not
4231 on the press event like for other buttons.
4233 Refactor some multiple used code into get_multiline_comment_style().
4235 Create parent directories if necessary when checking for the
4236 configuration directory on startup (closes #2784577).
4239 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4241 * plugins/filebrowser.c:
4242 When a filter is set, apply it only to files, not directories and
4243 apply the filter to the UTF-8 name of the file as the filter string
4244 itself is also UTF-8.
4245 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4246 Add utils_color_invert() and use it in highlighting.c and printing.c.
4247 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4248 Backport change from Scintilla CVS:
4249 Change capitalisation of header file to suit cross-compilation on
4253 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4255 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4256 Update Scintilla to version 1.78.
4257 * src/editor.c, src/highlighting.c:
4258 Update Pascal styles as they changed in Scintilla.
4261 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4264 Ignore the invert syntax highlighting colours setting when printing
4265 to not print characters on a dark background (closes #2785244).
4266 * New release: Geany 0.17 "Wessex".
4267 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4268 src/geany.h, doc/geany.html, doc/geany.txt:
4269 Post-release version bump.
4272 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4274 * src/callbacks.c, src/callbacks.h, src/main.c:
4275 Update the View->Fullscreen menu item when fullscreen state is
4276 changed externally (e.g. by the window manager).
4278 Fix passing wrong pointer to the File Open dialog for the Run
4279 command in the Project Properties dialog.
4282 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4284 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4286 Remember the active sidebar page between sessions.
4288 Add a recent project item after creating a new project.
4289 * tagmanager/ruby.c:
4290 Fix wrong parsing of string literals (closes #2781264).
4292 Fix setting focus to the editor widget after changing the selection
4296 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4299 Prevent crashes when two or more top level items in the symbol
4300 list have the same name (closes #2778246).
4303 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4305 * src/keybindings.c:
4306 Manually show the main notebook tab bar menu when Shift-F10 is
4307 pressed. This broke when we disabled the default GTK tab bar menu.
4309 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4310 which was reloaded shortly before.
4312 When the editor menu is opened by the Menu key, use the text cursor
4313 position for retrieving the current word. This fixes disabled
4314 Go to Tag items in the menu (#2780044).
4316 Set the "ellipsize" property of GtkCellRendererText to automatically
4317 shorten the path and file names in the Documents list.
4318 * doc/geany.html, doc/geany.txt, src/build.h:
4319 Increase the amount of highlighted build error messages to 100.
4320 At least for LaTeX we need higher values as there is a lot of
4321 informative output before any errors are reported.
4322 * src/filebrowser.c:
4323 Use the startup path as the initial directory for the filebrowser
4324 plugin when no project and no files are opened
4325 (patch by Matias Gea, thanks; closes #2780521).
4328 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4330 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4331 src/utils.c, src/utils.h:
4332 Ellipsize tab labels and some status messages for very long
4333 filenames (closes #2777348).
4334 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4335 Add utils_str_middle_truncate() and
4336 document_get_basename_for_display() to the plugin API.
4337 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4338 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4339 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4341 Add a hidden preference 'use_safe_file_saving' to save files to disk
4342 by creating a temporary file first. This has serious side effects,
4343 please read the documentation before enabling this.
4345 Make build commands on Windows run synchronously to avoid problems
4346 with reading build commands' output.
4347 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4348 Limit the amount of highlighted build error messages in the
4349 Compiler window to 50 for performance reasons.
4352 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4354 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4356 Replace our own GEANY_KEYS_MODIFIER_MASK by
4357 gtk_accelerator_get_default_mod_mask() which gives the same result.
4358 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4359 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4360 Add a trivial symbol parser for NSIS files.
4363 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4366 Hide the extra file open dialog options in an expander to make the
4367 dialog more compact by default and to provide more space for the
4369 Remove the filename field as it is also provided by GTK itself with
4370 more features like auto-completion.
4371 Watch the 'show-hidden' property of the file chooser widget using
4372 GObject's "notify" signal which gives accurate results and remove
4373 the hack using the "selection-changed" signal.
4376 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4378 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4379 Prevent double execution of radio menu item "activate" or "toggled"
4381 Move 'Set Encoding' callback function into encodings.c.
4384 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4387 Add some missing 'void's in function definitions.
4388 If the project base path is './', just use the path of the project
4389 config file instead of appending './'.
4390 * src/treeviews.c, src/project.c:
4391 When a project is loaded, replace the project base path with the
4392 project name in the Documents sidebar for parent items
4396 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4398 * src/keyfile.c, src/keyfile.h, src/project.c:
4399 Fix duplicating the recent files and projects lists when closing
4401 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4402 src/editor.c, src/encodings.c, src/filetypes.c,
4403 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4404 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4405 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4406 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4407 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4408 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4409 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4411 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4412 sense to keep the code more readable.
4415 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4418 When updating global type definitions for opened documents, take
4419 also C++ namespace symbols into account and don't ignore symbols
4420 which are defined inside a scope.
4423 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4426 Don't show 'plugin is not binary compatible' messages on the status
4427 bar, only the status window.
4430 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4433 When opening files from a remote instance on X11, set the window
4434 server time to encourage window managers to pop up the main window
4435 (related to #2735467 and #2276179).
4437 When finished sending filenames to a remote instance, notify the
4438 environment that we finished starting up.
4441 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4443 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4444 Sort Configuration Files menu.
4445 Add ui_menu_sort_by_label().
4446 Add foreach_list() macro.
4451 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4454 Fix setting a wrong default window size when starting without an
4455 existing configuration.
4456 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4457 Make editor_highlight_braces() static.
4458 Remove unused wrapper functions.
4459 * src/editor.c, src/symbols.c, src/symbols.h:
4460 Prevent showing an empty macro list.
4461 Show only macros of the same filetype instead of all macros of all
4464 Don't add opened project files to the GtkRecentManager.
4467 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4470 Add Configuration Files item for snippets.conf.
4471 * src/highlighting.c, src/symbols.c:
4472 Fix 2 old uses of filetype IDs.
4475 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4477 * src/interface.c, src/printing.c, geany.glade:
4478 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4481 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4484 Add sanity checks in ui_lookup_widget() just to be safe.
4485 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4486 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4487 src/project.h, src/ui_utils.c, src/ui_utils.h:
4488 Add "Recent Projects" menu to the Project menu
4489 (#2728630, patch by Elias Pschernig, thanks).
4490 * doc/geany.txt, doc/geany.html:
4491 Describe how to build Geany using the Waf build system.
4492 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4493 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4494 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4495 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4496 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4497 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4498 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4499 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4500 src/utils.c, src/utils.h, src/vte.c:
4501 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4502 performance when building the code with gcc.
4503 * src/highlighting.c:
4504 Fix typo in the G_LIKELY checks, introduced in last commit.
4505 Fix the size of the styles array.
4507 Show a message dialog when renaming a file fails.
4510 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4513 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4514 (as we did for all other files in SVN r3382).
4517 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4519 * src/filetypes.c, doc/geany.txt:
4520 Move ActionScript to the Script group.
4522 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4523 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4524 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4525 plugins/htmlchars.c:
4526 Merge reorder-filetypes branch:
4527 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4528 append randomly without breaking the ABI).
4529 Make None filetype name = title = _("None").
4530 Add foreach_slist() macro.
4531 Add filetypes_by_title list to GeanyData for plugin API access
4532 - a list of filetype pointers, which includes the None filetype
4533 first. This list stays constant by the time plugins are initialized,
4534 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4535 index the sorted list.
4538 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4540 * doc/geany.txt, doc/geany.html, src/main.c:
4541 Add widget names for the menubar and toolbar.
4543 When hiding the messages window, set the input focus back to the
4544 editor widget (part of #1910393).
4547 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4549 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4550 Backport recent changes from Scintilla CVS to add partial support
4551 for RFC2822 styled text using the Properties lexer.
4552 Ignore leading whitespace for config files and RFC2822 text.
4553 * data/filetypes.actionscript:
4554 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4555 * THANKS, src/treeviews.c:
4556 Display file/directory icons in the Documents sidebar
4557 (patch by Simon Treny, thanks).
4560 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4562 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4563 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4564 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4565 Add an option to allow appending the toolbar to the main menu bar
4566 to save some vertical space.
4567 Allow setting toolbar icon size to very small (menu icon size).
4570 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4572 * src/keyfile.c, src/utils.c, src/utils.h:
4573 Add utils_path_skip_root(), a relative path safe variant of
4574 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4575 * src/keyfile.c, src/main.c:
4576 Allow negative window coordinates when saving and restoring the
4577 position of the main window.
4578 Restore the main window position and size *after* the window has
4579 been realised to get it positioned accordingly
4580 (this affects at least Windows).
4583 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4585 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4586 Use g_win32_get_package_installation_directory_of_module() on Windows
4587 with newer GLib versions instead of deprecated API.
4588 * src/keybindings.c:
4589 Don't manage the last used documents list when quitting to prevent
4590 errors by accessing invalid memory (may close #2533990).
4593 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4596 Delete the geany_run_script.sh immediately after execution
4597 to prevent leaking old copies when the script was quit unexpectedly
4598 (closes #2710482, patch by Martin Olsson, thanks).
4600 Check whether skipping the root element of a document's filename
4601 succeeded and use the filename itself if not (e.g. on relative
4602 filenames, #2702844).
4603 Use the locale encoded filename when saving session files.
4605 Re-set the quitting status after all documents have been closed on
4609 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4611 * plugins/htmlchars.c:
4612 Remove usage of deprecated sci_get_selected_text() from plugin.
4615 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4618 Delay disk file checks when switching between documents a little
4619 bit to avoid fast, unintentional page switching in some cases.
4620 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4621 src/sciwrappers.c, src/sciwrappers.h:
4622 Deprecate sci_get_text(), sci_get_selected_text() and
4623 sci_get_text_range().
4624 Add sci_get_contents(), sci_get_contents_range() and
4625 sci_get_selection_contents() as replacement functions to provide
4626 an easier and cleaner API (initial patch by Frank).
4629 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4632 Fix wrong parsing of CSS tags when the definition block starts on
4633 a new line (reported by Dominic Hopf, thanks).
4636 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4638 * plugins/htmlchars.c:
4639 Extend plugin by feature to bulk replace and replace on input for
4640 special characters to their HTML entities.
4643 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4646 Update build menu items after changing anything in the
4647 'Set Includes and Arguments' dialog.
4648 Disable Compile/Run buttons/menu items when Compile/Run commands are
4650 Reset current build directory to the base directory after reading a
4651 "Leaving directory" message when parsing Make output
4652 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4654 Fix wrong display of the filename in the tab bar menu for new files.
4656 Set the initial directory for the Save As dialog only once on
4658 Add a shortcut of the project's base directory to the
4659 File Open/Save As dialogs when a project is open for faster access.
4660 * src/splitwindow.c:
4661 Add keybindings for the split actions.
4664 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4667 When using Find All in the Find dialog (in Session and Document),
4668 display the right amount of matches.
4669 Fix the display of the matches once per line (I broke the original
4672 Fix wrong directory selection behaviour in all Open Folder dialogs
4673 (closes #2688020, patch by Marcel Stimberg, thanks).
4675 Don't present the main window of a running instance when starting
4676 a second instance separately.
4679 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4682 Reduce default file permissions on the Unix Domain socket file
4683 (reported by Jörg Sommer, thanks).
4686 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4688 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4689 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4691 Add an option to set an additional plugin lookup path.
4693 When using Find All in the Find dialog, display matches only once
4694 per line in the messages window (patch by Bert Vermeulen, thanks).
4697 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4699 * data/filetype_extensions.conf, data/filetypes.actionscript,
4700 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4701 src/highlighting.c, src/plugindata.h, src/symbols.c,
4702 tagmanager/Makefile.am, tagmanager/actionscript.c,
4703 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4704 Add filetype ActionScript (patch by Chris Macksey, thanks).
4705 Update type keywords only for real C-like languages.
4706 Fix wrong sorting of Assembler and Ada filetypes.
4707 * plugins/classbuilder.c:
4708 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4709 Other minor cleanups.
4712 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4715 Don't use menu item images for the tab bar menu to save some
4717 * data/filetypes.fortran, tagmanager/fortran.c:
4718 Add keyword 'extends' and fix Fortran parser to support the
4719 'extends' keyword (closes #2654492).
4720 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4721 src/search.c, src/toolbar.c:
4725 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4727 * src/about.c, THANKS:
4728 Added Jari Rahkonen to list of Finnish translators.
4731 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4734 Adjust minimum required GTK version.
4735 * src/Makefile.am, wscript:
4736 Add main.h to the list of installed header files.
4737 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4738 src/notebook.c, src/ui_utils.c:
4739 Remove GeanyDocumentPrivate::tabmenu_label.
4740 Disable the default tab bar menu for the main notebook widget and
4741 use a custom menu instead which lists all open files as usual plus
4742 'Close Other Documents' and 'Close All' menu items.
4745 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4747 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4748 Move ui_set_search_entry_background() into ui_utils.c.
4749 Change the background colour of the search entries in the Find
4750 and Replace dialogs according to the search results like in the
4751 toolbar search field.
4752 Add images to the 'Replace' and 'Replace and Find' buttons in the
4754 Minor cleanups in search.c.
4755 * tagmanager/tm_source_file.c:
4756 Update source files upon creation.
4758 Update C tags for glibc 2.9.
4759 * src/callbacks.c, src/toolbar.c:
4760 Fix broken non-incremental search with the toolbar search entry when
4761 pressing Enter (closes #2638180).
4762 * plugins/splitwindow.c:
4763 Fix possible crash on non-32-bit systems (patch by
4764 Wolfgang Ocker, thanks).
4766 Update the Packager tag due to Dominic's various contributions.
4767 Update description and feature list.
4768 Change Source tag to the gzip'ed tarball to be in sync with the
4769 Makefile target (thanks to Wolfgang Ocker for reporting).
4772 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4774 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4775 Removed deprecated plugin VC Diff
4778 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4781 Fix wrong Fortran 90 comment characters when inserting templates.
4782 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4783 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4784 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4786 Add 'Send Selection to Terminal' command to the Edit->Format menu
4787 (initial patch by David Gleich, thanks).
4788 * geany.glade, src/interface.c:
4789 Fix mnemonic for the Edit->Preferences menu item.
4792 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4794 * configure.in, plugins/Makefile.am:
4795 Enable socket support when cross-compiling.
4796 Enable plugin compilation when cross-compiling.
4798 Fix missing NULL checks when reading the colour value of compiler
4800 * src/main.c, src/win32.c, src/win32.h:
4801 On Windows, change the working directory to the Geany installation
4802 path at startup to avoid unwanted directory locking(closes #2626124).
4804 Fix broken selection of "Document->Set Encoding" menu items.
4805 * src/document.c, tagmanager/include/tm_source_file.h,
4806 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4807 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4808 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4809 Don't let the tagmanager automatically reparse files if they
4810 seem to be changed on disk (affects all files in the current session,
4811 not the current one). This should speed up file saving a little bit,
4812 especially with remote files.
4813 Remove now unnecessary calls to tm_workspace_update().
4815 Allow an empty value for the date format in the print settings to
4816 omit the date/time string in the print header.
4819 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4821 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4825 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4828 Add missing header include (closes #2615808).
4831 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4834 Fix a possible crash when comparing symbol names
4835 (could be related to Ubuntu bug #147151).
4836 Fix broken symbol list tooltips when tag names contain ampersands.
4839 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4841 * plugins/makefile.win32:
4842 Don't build Split Window plugin on Windows (doesn't work).
4845 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4847 * ChangeLog, Makefile.am: Rotate ChangeLog.
4848 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4849 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4850 Post-release version bump.
4853 *** See ChangeLog.pre-0-17 for earlier changes ***