1 2010-10-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4 Strip the output of {command: } templates (closes #3079063).
5 * doc/geany.txt, doc/geany.html:
6 Document hidden msgwin_*_visible preferences.
9 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
11 * src/tools.c, doc/geany.txt, doc/geany.html:
12 Fix passing quoted arguments when using 'Send Selection to'. This
13 means sed 's/\./(dot)/g' now works.
15 Add snippet keybinding support for keys in user snippets.conf (based
16 on patch by Eugene Arshinov, thanks). No docs yet.
19 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
21 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
22 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
23 data/filetypes.txt2tags, data/filetypes.markdown,
24 data/filetypes.restructuredtext:
25 Add symbol_list_sort_mode per-filetype setting, set to sort by line
26 number by default for Markdown, reStructuredText and Txt2Tags.
27 Add utils_get_setting() macro for reading a key from a home or
29 Move GeanyFiletypePrivate to filetypesprivate.h.
30 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
31 Link with X11 if found to fix linking with a recent GNU ld.
33 Avoid delay and redrawing when automatically opening a new document
35 * scintilla/LexForth.cxx, scintilla/makefile.win32,
36 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
37 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
38 data/filetypes.forth, data/filetype_extensions.conf, ChangeLog,
40 Add Forth filetype (patch by Thomas Huth, thanks).
42 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
43 commands for 'Send Selection to' (oops).
46 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
49 When commenting/uncommenting with single-line comment characters,
50 ignore any end of line characters before evaluating the current line.
51 * data/filetypes.python:
52 Simplify Python Compile/Syntax Check command.
55 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
57 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
59 Add hidden pref 'find_selection_type' with option to repeat last
60 search when there's no selection.
61 Change default Find Selection behaviour to not let the X selection
62 override the current word (can be confusing).
63 Add docs for Find Selection commands.
65 Fix segfault on idle callback when quitting.
66 * src/interface.c, src/keybindings.c, geany.glade:
67 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
69 * src/interface.c, geany.glade:
70 Move editor popup menu Insert Comments submenu to top of Insert menu.
71 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
73 Add hidden pref new_document_after_close for whether to open a new
74 document automatically, off by default.
76 Add 'Bugs to watch out for' section.
79 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
81 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
82 doc/stash-gui-example.c:
83 Improve Stash GUI example.
86 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
88 * src/interface.c, geany.glade:
89 Move Go to Marker menu items to Search menu.
90 Rename popup editor menu item Commands -> Edit.
91 * src/callbacks.c, src/search.c, src/search.h:
92 Move find_again() to search.c.
94 Make Find Selected commands repeat the last search if the selection
96 * doc/geany.txt, doc/geany.html:
97 Add docs for Find Selection keybindings.
98 * src/interface.c, src/keybindings.c, geany.glade:
99 Unify Find Selection strings.
100 * src/interface.c, src/ui_utils.c, geany.glade:
101 Group editor popup Insert commands in a submenu, with extra items
102 for the most commonly used Insert Comments commands.
103 Show Edit->Commands before Format in menubar Edit menu (to match
105 Show Open Selected F_ile popup item below submenus.
108 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
111 Refactor shared submenu code with GeanySharedMenu array.
112 * src/interface.c, src/ui_utils.c, geany.glade:
113 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
114 shared with the editor popup menu.
116 Open a new document automatically after closing all documents.
119 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
122 Prompt for reloading if the document has an undo stack to avoid
123 losing undo ability on accidental reloading (patch by Colomban
125 * src/project.c, src/geanyobject.c, src/geanyobject.h,
127 Add plugin signals project-dialog-create and
128 project-dialog-confirmed so plugins can append a Project Properties
129 notebook tab (patch by Jiří Techet, thanks).
130 * src/ui_utils.h, src/plugindata.h, src/main.c:
131 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
132 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
133 src/plugins.c, plugins/geanyfunctions.h:
134 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
137 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
140 Save document indent width with the session.
141 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
142 doc/geany.html, TODO:
143 Use a separate socket per workspace on X (patch by Erik de Castro
147 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
150 Ignore directories passed on the command-line (based on patch by
151 Erik de Castro Lopo, thanks).
153 Parse D function template names.
154 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
155 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
157 Allow per-document indent width setting (patch by Jiří Techet,
158 updated by Erik de Castro Lopo - thanks).
159 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
160 Combine indent width menu item callbacks.
161 * src/interface.c, geany.glade:
162 Don't translate indent width menu items as they are now used for
166 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
168 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
169 Remove 3 popup menu items to save space:
170 Find Document Usage because Find Usage can be used instead.
171 Go to Tag Declaration because Go to Tag Definition is more common.
172 Go to Line because the toolbar item can be used instead.
173 * src/tools.c, src/search.c, tagmanager/python.c:
174 Fix some 'possible' NULL pointer dereferences (based on patch by
175 Erik de Castro Lopo).
176 * src/keybindings.c, src/keybindings.h, src/prefs.c:
177 Simplify keybindings_check_event().
180 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
183 Use up/down icons for Previous/Next Error.
184 * src/interface.c, src/keybindings.c, src/callbacks.c,
185 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
187 Add Find Usage and Go to Tag items to Search menu for easier
189 * tagmanager/tm_symbol.c:
190 Fix possible NULL dereference.
192 Add link to glade-2.12.2.tar.gz on geany.org.
193 * doc/geany.txt, doc/geany.html:
194 Mention the filetype wordchars setting can be overridden by the
195 whitespace_chars filetypes.common setting.
196 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
197 Remove NULL checks when calling g_free() (patch by Erik de Castro
200 Show Save As when saving if the document filename doesn't have an
201 absolute path, so command-line new files can be saved without a
202 prompt, but file templates still prompt the user.
205 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
208 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
212 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
214 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
215 Add GeanyMainWidgets::message_window_notebook for plugins to append
216 a new notebook page (#3061342).
218 Add Close button to the detected file changed dialog.
219 * src/interface.c, geany.glade:
220 Add separator between Find Previous and Find in Files.
221 Add up/down icons for Previous/Next Message.
224 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
226 * data/snippets.conf:
227 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
231 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
234 Fix broken editing of build menu labels.
235 * src/encodings.c, src/filetypes.c, configure.ac:
236 Auto-enable building with included regex if no regcomp function is
238 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
239 regex support is required.
241 Backport fix for possible infinite loop from CTags.
242 * scintilla/PlatGTK.cxx:
243 Backport list box memory leak fixes from Scintilla 2.20.
246 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
249 Make the Properties dialog filename a label and put it first (patch
250 by Jiří Techet, thanks).
251 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
253 Remove the "Set build working directories" button from the project
254 properties dialog (patch by Jiří Techet, thanks).
256 Include all files if the Find in Files pattern field is enabled and
259 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
262 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
264 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
265 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
266 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
267 data/filetypes.txt2tags, wscript:
268 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
269 * m4, configure.ac, Makefile.am:
270 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
272 Only prompt for reloading if the document has unsaved changes
273 (patch by Jiří Techet, thanks).
276 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
279 Apply a patch by Jiří Techet which is preventing warnings when using
280 -Wmissing-prototypes on compiling. Thanks.
283 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
285 * scintilla/KeyWords.cxx:
286 Link Octave instead of Matlab.
287 Add comment about not being autogenerated.
288 Minor changes to fit Scintilla order.
289 * src/build.c, src/build.h:
290 Replace GeanyBuildCommand::entries array with separate fields.
291 Similar to r5077 in the bs2 branch, but with less loop unrolling.
293 Remove buildcmd_* accessor functions.
296 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
298 * src/highlighting.c, src/editor.c:
299 Use Octave lexer instead of Matlab to support Octave # comment char.
302 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
305 Fix segfault on Tools->Reload Configuration when no documents are
307 * scintilla/LexMarkdown.cxx:
308 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
311 Fix saving non-project filetype error regex.
313 Fix memory leak in read_regex().
316 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
319 Check for libsocket on OpenSolaris to fix build.
321 Rewrite the logic to auto detect encodings a bit to make it more
322 readable and fix a slightly wrong detection on Windows
324 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
326 Add editor_goto_pos() to the plugin API.
329 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
332 Check for git-svn repo, not just git because find-rev doesn't
333 always fail with a git-only repo.
336 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
339 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
342 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
344 * doc/geany.txt, doc/geany.html:
345 Reorder Focus keybindings.
348 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
351 Applying a patch by Erik de Castro Lopo for checking against
352 pkg-config when running autogen.sh. Thanks for the patch.
354 Applying a patch by Colomban Wendling to print out log domains.
358 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
360 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
361 Use single binding_ids keybinding array instead of individual
362 arrays for core keybindings. This allows the keybinding IDs to be
363 merged into one enum; the order of keybindings is now just the
364 order they are added to each group. Keybindings can be reordered
365 without breaking the plugin ABI but groups must stay the same.
367 Fix writing the default value when a key is missing for hidden
368 prefs, even if it was overridden when it was originally read.
369 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
370 Move some interface hidden prefs to ui_utils.c.
372 Revert r4840 scope completion mode as it sometimes breaks
374 * src/keybindings.h, src/plugindata.h:
375 Randomly sort keybinding IDs to show there should be no order.
377 Reorder Focus keybindings.
380 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
382 * src/ui_utils.c, src/ui_utils.h:
383 Make ui_label_new_bold() a function.
384 Escape the name of the current document for markup when using
385 document name for menu items (closes #3038844).
387 Inherit 'beep on errors' preference for the audible bell preference
388 for the VTE (closes #3038215).
391 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
393 * src/utils.c, src/utils.h:
394 Add utils_get_eol_char().
395 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
396 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
398 Ensure inserted templates always have proper line ending characters
399 according to the current document's preference.
400 This is also fixes problems with templates on Windows which had
401 always Unix line ending characters but now since they are read
402 from files, these have Windows line ending characters and had been
406 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
409 Fix build with GTK 2.8, use the stock icon name directly instead
410 of the macro. Though, the icon is still missing for GTK 2.8.
412 Make make_comment_block() work with a GString. This is not yet
413 perfect but a bit better than before.
416 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
418 * src/keybindings.c, src/vte.c, src/vte.h:
419 Implement 'Select All' for the VTE widget.
422 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
425 Fix missing template files in the Windows installer.
428 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
430 * data/filetypes.python:
431 Update list of Python builtins, based on Python 2.6.
434 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
437 On Windows, convert filetype extensions read from config files
438 to lower case (closes #3028856).
441 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
444 Focus toolbar item when pressing Go to Line keybinding only when
445 it's not in the toolbar's drop down overflow menu (fixes #3027454).
448 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
451 Fix build menu translation problems.
454 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
460 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
463 Fix scrolling the editor line in view after loading a session and
464 switching document tabs. Note this causes repainting so needs
466 * doc/geany.txt, doc/geany.html:
467 Add note to restart Geany after installing/updating before editing
469 * src/ui_utils.h, src/main.c, src/ui_utils.c:
470 Use Stash to save statusbar_template setting, instead of the
471 load/save-settings signal.
475 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
477 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
478 Fix writing empty hidden pref "statusbar_template" key so users can
479 find it (patch by Dimitar Zhekov, thanks).
480 * src/ui_utils.c, src/ui_utils.h, src/main.c:
481 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
484 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
486 * src/build.c, src/project.c, src/project.h:
487 Show the Project Properties build tab when choosing 'Set Build
488 Commands' for now to prevent confusion with non-project commands.
491 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
493 * src/search.c, doc/geany.txt, doc/geany.html:
494 Fix Grep --exclude-dir example.
497 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
500 Add sidebar Documents popup menu item 'Find in Files'.
501 * src/keyfile.c, src/main.c, src/editor.c:
502 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
503 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
506 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
508 * doc/geany.txt, doc/geany.html:
509 Fix wording - restarting is required for hidden prefs.
510 File templates don't need manual reloading anymore.
512 Fix only adding project base path to Find in Files history if it
513 isn't already there (oops).
515 Parse lines in the Messages window even if Find in Files hasn't
516 been used yet (patch by Jiří Techet, thanks).
519 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
521 * scintilla/LexCPP.cxx, src/highlighting.c:
522 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
524 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
525 data/filetypes.common:
526 Add filetypes.common fold_symbol_highlight color setting.
527 Add API macro foreach_range().
528 * src/printing.c, doc/geany.txt, doc/geany.html:
529 Always use white background color when printing (except for text
530 with a white foreground) to save ink (should fix #2968998).
531 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
532 Limit build error editor indicators to 50, but parse all errors in
533 the Compiler tab (fixes #3019823).
536 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
538 * src/highlighting.c:
539 Re-enable fold.comment for lexers - it was disabled to prevent C
540 //{ explicit folding, but that also disables stream comment folding
542 * tagmanager/tm_workspace.c, tagmanager/get.c:
543 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
545 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
546 doesn't affect the bug with document switching not scrolling cursor
547 in view after loading a session.
550 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
552 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
553 Add statusbar_template hidden pref (based on patch by Dimitar
555 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
556 Add spaces after RO when using %r in statusbar_template setting.
557 Add space between encoding and BOM.
558 Note \t means tab for default text.
561 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
564 Restore tabbing past Find in Files combo box drop down menus.
567 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
569 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
570 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
572 Move plugin signals docs to pluginsignals.c, using function
573 pointer syntax instead of @signaldef as this puts a summary of
574 the signal names at the top of the page and sorts alphabetically.
575 (Note: the syntax is similar to Vala signal syntax).
578 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
581 Make default dialog entries use GTK_STATE_INSENSITIVE color not
582 a fixed color (Suggestion by Ditmar Zhekov)
585 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
587 * src/search.c, doc/geany.txt, doc/geany.html:
588 Implement Find in Files file pattern search.
590 Add file pattern to combo box history.
591 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
593 Use ui_hookup_widget() instead of g_object_set_data_full() for
597 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
600 Add Files checkbox and combo to Find in Files dialog, currently
601 does nothing & is disabled.
602 Don't try to focus the next entry on pressing tab anymore as this
603 is more complicated now.
606 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
609 Put Find in Files Search field above Directory field.
610 * src/search.c, doc/geany.txt:
611 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
612 regular expressions' radio buttons with a 'Use regular expressions'
613 checkbox. This uses the extended syntax (which is the same as the
614 Find/Replace regex syntax).
616 Move 2 Find in Files checkboxes for even spacing.
619 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
621 * tagmanager/tm_work_object.c:
622 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
626 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
628 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
629 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
630 Add ui_combo_box_add_to_history() to API.
631 * plugins/filebrowser.c:
632 Add history to path entry.
633 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
634 Fix not loading plugins built against a newer API when Geany doesn't
635 provide the required version given in PLUGIN_VERSION_CHECK().
636 Improve documentation for PLUGIN_VERSION_CHECK().
637 * plugins/filebrowser.c:
638 Allow Find in Files when no items are selected.
639 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
640 Add API signal "build-start" (patch by Jiří Techet, thanks).
643 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
646 Replace /home/user with ~ in the documents list (patch by Jon
649 Make default Build dialog entries grey, not light grey (too hard to
650 read on a white background).
652 Display 'new instance' on title bar (patch by Eugene Arshinov,
655 Remove any duplicate on adding to combo box histories.
658 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
661 Align notebook tab close buttons centred vertically - thanks to
663 * Merge unstable branch:
665 Make build config entries light grey until set.
666 - src/keybindings.c, src/about.c, THANKS:
667 Fix the wrong file being put on top of the stack when switching tabs
668 too quickly (patch from Jiří Techet, thanks).
669 - src/templates.c, data/templates/gpl, data/templates/function,
670 data/templates/changelog, data/templates/bsd,
671 data/templates/fileheader, wscript, Makefile.am:
672 Move general templates from source code into files.
673 Load general templates from system path instead of creating them in
674 the user's config dir.
677 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
680 Add doc/stash-example.c to fix 'make distcheck'.
682 Change the RequestExecutionLevel for the Windows installer to
684 * New release: Geany 0.19 "Vellam".
685 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
686 geany_private.rc, win32-config.h, wscript, src/geany.h:
687 Post-release version bump.
690 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
693 Group undo action for Insert Multiline Comment.
696 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
699 Don't individually install data/*.tags as all data/* files will be
703 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
705 * tagmanager/tm_project.c:
706 Fix a double free. (patch by Daniel Marjamaki, thanks).
709 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
711 * tagmanager/tm_workspace.c:
712 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
714 Fix reducing paths to project name in the Documents list
715 (patch by Eugene Arshinov, thanks).
717 Fix crash when trying to sort NULL pointers as tags in the Symbols
718 list (closes #3011986).
719 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
720 Update Scintilla to version 2.12.
721 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
722 scintilla/LexCrontab.cxx:
723 Remove unused Crontab lexer.
724 * data/filetypes.css, src/highlighting.c:
725 Add new style "media" for filetype CSS.
728 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
730 * doc/geany.txt, doc/geany.html:
731 Build section: minor rewording, formatting fixes; move some
735 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
738 Explicitly try to localise build menu item labels with
739 gettext to enforce getting default labels translated.
740 * tagmanager/tm_workspace.c:
741 Fix not closed FILE pointer on early exit
742 (patch by Daniel Marjamaki, thanks).
744 Update images for Geany 0.19.
746 Destroy the default symbol list treeview only once
747 (fixes gtk_widget_destroy warning on exit).
750 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
753 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
755 Fix parsing of C++ classes contain attributes with bitfields
756 (patch by Lex Trotman, thanks).
757 * src/plugindata.h, src/plugins.c:
758 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
759 plugins' meta information can be translated already in the
760 plugin manager dialog (patch by Colomban Wendling, thanks).
763 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
766 Print locale information in debug output.
768 Fix some labels which were marked as translatable but were not
769 handled properly by gettext().
772 Try to convert text into UTF-8 before adding it to the Compiler and
773 Messages Window (closes #3007919).
776 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
778 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
780 Pass G_LOG_DOMAIN to source files for better logging.
783 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
785 * THANKS, src/about.c:
786 Update of translation credits to reflect a change on Spanish
787 translation team better.
790 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
793 Fix infinite loop reading build command output
796 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
799 Fix duplicate accelerators for Clear and Copy in the
800 Messages Window popup menu.
802 Expand child widgets in the Plugin Preferences dialog
803 (patch by Colomban Wendling, thanks).
806 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
809 Fix Undo/Redo button state after the last document has been closed.
810 Add Print and Replace toolbar items to the list of document
813 Fix crash when the toolbar is reloaded without any open documents.
815 Fix Run toolbar item sensitivity after the last document has been
817 * plugins/classbuilder.c:
818 Remove two unnecessary g_strdups().
819 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
820 src/plugindata.h, src/ui_utils.h:
821 Add hidden preference to disable automatic scrolling in the
822 Compiler tab (closes #3004714).
825 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
827 * plugins/classbuilder.c:
828 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
831 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
833 * src/prefs.c, src/project.c:
834 win32.h can be included unconditionally.
836 Fix project base_path detection if the path has a trailing slash.
837 * src/document.c, src/editor.c, src/project.c:
838 Small improvements to speed up quit process with many open documents.
839 Avoid calling gtk_notebook_remove_page() on exit as it takes
841 * src/geanymenubuttonaction.c:
842 Explicitly check for the type when iterating the action's proxies.
843 For some reason on Windows, a GtkImageMenuItem proxy is created.
844 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
845 src/plugindata.h, scintilla/*, scintilla/include/*:
846 Update Scintilla to version 2.11.
847 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
849 Add new GTK define also for Mingw cross compilation and
850 makefile.win32 based Windows builds.
851 * plugins/filebrowser.c:
852 Implement reading and evaluating hidden file attribute on Windows.
853 Fix broken "Go Up" if the current path ends with a slash.
854 * THANKS, src/about.c, src/prefix.c:
855 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
856 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
857 src/main.c, src/notebook.c, src/prefs.c:
858 Add preference to add new document tabs beside the current one
859 (patch by Colomban Wendling, thanks).
860 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
861 src/keyfile.c, src/prefs.c, src/ui_utils.h:
862 Add a preference for choosing between GTK and native
863 File Open/Save dialogs (only available on Windows).
864 * doc/geany.html, doc/geany.txt:
865 Update documentation.
868 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
871 Sort file filters for the native Windows file open dialog by name.
872 Don't use file filters for the native Windows Save As dialog.
873 * src/dialogs.c, src/win32.c, src/win32.h:
875 Pass and use also parent and title arguments to
876 win32_show_document_open_dialog().
878 Call handle_save_as() only when the Save As dialog was not cancelled.
880 Improve adding/removing of the special separator between menubar and
881 toolbar when the toolbar is appended to the menubar.
882 * src/toolbar.c, src/templates.c:
883 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
884 not trigger updating the menus on each item removal.
887 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
890 Replace one non breaking space by normal space. Patch by
894 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
896 * plugins/classbuilder.c:
897 Don't make the 'Create Class' menu item document-sensitive
898 (patch by Colomban Wendling, thanks).
899 Add namespace support for GTK+ classes.
900 Add GET_CLASS() macro for GTK+ classes.
901 Add typedef of the private structure in the header file instead
903 (all the above from a patch by Colomban Wendling, thanks).
904 * src/highlighting.c:
905 Set common default "fold.comment" to 0 to disable it. This can
906 be overridden if desired.
908 Improve sorting of document list items
909 (patch by Colomban Wendling, thanks).
911 Remove unnecessary textdomain() call.
914 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
917 Fix search_find_text not returning -1 when match is out of range.
918 This fixes invalid memory reads and wrong template filename
919 wildcard replacement.
920 * src/search.c, src/document.c:
921 Only replace template filename matching start of word on saving.
922 * plugins/filebrowser.c:
923 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
924 * src/build.c, src/build.h, src/project.c:
925 Make some ugly build.h global variables static.
926 * src/build.c, src/build.h, src/project.c:
927 Add Build prefix for TableFields, TableData.
930 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
933 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
934 * src/dialogs.c, src/win32.c, src/win32.h:
935 (Re-)Implement a (still basic) native Windows Save As dialog when
936 compiled with GEANY_USE_WIN32_DIALOG.
939 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
941 * THANKS, src/about.c, plugins/classbuilder.c:
942 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
943 * src/ui_utils.h, src/ui_utils.c:
944 Add public, generic callback ui_editable_insert_text_callback()
945 to restrict GtkEntry text inputs to +/- and numeric values only.
946 * src/dialogs.h, src/dialogs.c:
947 Add special variant dialogs_show_input_goto_line() to use a normal
948 GtkEntry together with dialogs_show_input_goto_line() for text input.
949 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
950 Allow '+<number' and '-<number>' as values for Goto Line inputs
951 to jump relative to the current line (closes #2997238).
954 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
956 * src/highlighting.c:
957 Apply foreground and background colours of the folding margin
958 style properly (closes #2998347).
960 Don't auto-close short XML tags (closes #2994852).
961 * THANKS, src/about.c, src/keybindings.c:
962 Improve jumping to matching braces by consistently position the
963 cursor before or after the matching brace dependent where it
964 was before (patch by Dimitar Zhekov, thanks).
966 Fix crash when generating global tags files (patch by Colomban
970 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
973 Avoid connecting signals more than once.
976 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
979 Don't ignore the 'intltool' check on non-Windows systems, instead
980 raise a configure error.
983 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
986 Fix marking some strings as translatable (cannot be done in the
988 * src/templates.c, doc/geany.txt, doc/geany.html:
989 Reload templates if saving a document in the templates config dir.
992 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
994 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
996 Fix replacing {filename} template wildcard for custom file
997 templates with non-default file extension.
998 Add search_find_text() for POSIX regex searches.
999 * src/templates.c, doc/geany.txt, doc/geany.html:
1000 Add {project}, {description} template wildcards (#2954737).
1001 * doc/geany.txt, doc/geany.html:
1002 Divide template wildcards into groups.
1003 * src/plugindata.h, src/plugins.c, src/symbols.c,
1004 plugins/geanyfunctions.h:
1005 Add symbols_get_context_separator() to plugin API (patch by Colomban
1009 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1011 * src/keybindings.c:
1012 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1013 Anonymous, thanks; #2995593).
1014 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1015 plugins/geanyfunctions.h:
1016 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1017 (patch by Colomban Wendling, thanks).
1020 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1023 Warn user if hidden hard tab width setting is not 8.
1026 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1028 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1029 doc/geany.txt, doc/geany.html:
1030 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1031 always be 8. (Hidden setting kept in case users have modified it).
1034 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1036 * doc/geany.txt, doc/geany.html:
1037 Add Folding section link to filetypes.common custom settings.
1040 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1043 When switching documents, don't call document_set_text_changed()
1044 as this does much more than necessary. Instead call the necessary
1045 UI update functions explicitly.
1048 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1050 * tagmanager/vstring.c:
1051 Fix invalid memory read (patch by Colomban Wendling, thanks).
1054 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1056 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1057 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1058 strings in case of reaching the buffer size limit (part of #2979697).
1060 Change the limit for the command line length when executing commands
1061 to a maximum of 32768 characters (closes #2979697).
1062 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1063 * tagmanager/ctags.c:
1064 Change eFree() to simply ignore NULL pointers instead of asserting.
1066 Remove malloc() fallback since we completely rely on g_malloc()
1068 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1069 plugins/saveactions.c:
1070 Make string arguments const where appropriate (patch by
1071 Colomban Wendling, thanks).
1072 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1073 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1074 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1075 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1076 src/symbols.c, src/templates.c, src/ui_utils.c:
1077 Make string arguments const where appropriate (patch by
1078 Colomban Wendling, thanks).
1081 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1083 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1084 Make plugin_signal_connect() string argument const (patch by
1085 Colomban Wendling, thanks).
1086 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1087 Constify some more string pointers in the API (patch by
1088 Colomban Wendling, thanks).
1089 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1091 Support {pc} wildcard in snippets to escape percent char.
1093 Recalculate line margin width when zooming (fixes #2990553).
1094 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1095 data/filetypes.common:
1096 Support more folding icon styles: arrows, +/- and no lines
1100 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1103 Fix Windows build by properly guarding Unix-only code.
1106 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1108 * src/templates.c, doc/geany.txt, doc/geany.html:
1109 Support {ob} and {cb} in fileheader and file templates; they are
1110 replaced last with { and }. This allows 'escaping' of wildcard
1112 * src/editor.c, plugins/classbuilder.c:
1113 Fix Class Builder plugin to use correct indentation instead of
1115 Make editor_insert_text_block() only replace leading tabs for the
1116 'Tabs' indent type; also group edits for undo.
1117 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1119 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1122 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1124 * tagmanager/pascal.c:
1125 More fixes to prevent possible crashes by trying to free NULL
1128 Automatically show and hide the sidebar notebook tabs according
1129 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1131 Add a static global variable to monitor autocompletion mode in order
1132 to prevent cancellation of the struct/class (C/C++) auto completion
1133 list (patch by Thomas Martitz, thanks).
1135 When starting and trying to access the Unix Domain socket of a
1136 potentially running instance, first compare file ownership with the
1137 user id of the running process to prevent accessing a wrong socket
1138 file (part of #2985463, this might not yet be the final solution).
1141 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1143 * plugins/filebrowser.c:
1144 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1145 Files' option (fixes #2989288).
1148 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1150 * tagmanager/entry.c, tagmanager/entry.h,
1151 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1152 tagmanager/parse.h, tagmanager/tm_source_file.c:
1153 Add tm_source_file_set_tag_arglist() to manually set the argument
1155 * tagmanager/python.c:
1156 Use tm_source_file_set_tag_arglist() to set the argument list
1157 field of Python class tags to the argument list of their
1159 Backport a fix from CTags SVN to prevent possible crashes by trying
1160 to free NULL pointers.
1163 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1165 * tagmanager/txt2tags.c:
1166 Remove duplicate code from Txt2Tags parser.
1167 Remove the title control characters ('=') when parsing titles.
1168 Also parse numbered titles (closes #2984703).
1169 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1171 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1172 Add missing documentation for 'Reset Zoom' keybinding.
1174 Another attempt to fix the PHP parser regexp for parsing functions.
1175 Fix wrong parsing of function arguments when those contain nested
1176 brackets (as reported by Harold Aling).
1178 Fix Ctrl-Click on notebook tab if Numpad is active.
1181 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1183 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1184 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1185 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1186 src/ui_utils.c, src/ui_utils.h:
1187 Add option 'System Default' for toolbar icon style and size to
1188 use the GTK default value.
1189 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1190 src/toolbar.c, src/toolbar.h:
1191 Shorten the toolbar popup menu, only provide items for Toolbar
1192 Preferences and to Hide the toolbar.
1194 Instantly update the toolbar icon size and style when the
1195 corresponding global GTK settings are changed.
1196 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1197 src/plugindata.h, src/socket.c:
1198 Add new command line option --list-documents to return a list
1199 of currently opened documents (closes #2979933).
1202 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1204 * plugins/htmlchars.c:
1205 Make plugin remember whether replacement of special characters was
1206 activated even after restart of Geany or reloading of plugin.
1209 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1212 Fix inserting snippets with an indent when using Mac CR line
1215 Update status bar after using Document->Set Line Endings.
1217 Improve API docs for editor_insert_text_block().
1220 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1223 Refactor snippets_complete_constructs().
1224 Remove an unnecessary TODO.
1226 Fix indenting a snippet when there is whitespace after the
1230 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1232 * doc/geany.txt, doc/geany.html:
1234 * src/build.c, src/msgwindow.c:
1235 Fix disabled compiler message tracking if using indicators to
1236 show build errors is disabled (closes #2982834).
1239 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1241 * scintilla/Editor.cxx:
1242 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1243 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1244 replacing in a rectangular selection.
1247 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1250 Re-detect any document filetypes set to None after reloading
1251 filetype extensions (closes #2979661).
1253 Fix showing '...' item last instead of first for document word
1257 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1259 * data/filetypes.perl:
1260 Adjust Perl Compile command to use the -c command
1261 line option to perform a syntax check instead of using the
1262 deprecated ByteCompile module.
1263 Add error_regex to parse error messages and warnings when performing
1264 syntax checks on Perl files.
1267 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1269 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1270 Add API docs for keybinding enums.
1271 * src/notebook.c, doc/geany.txt, doc/geany.html:
1272 Make Ctrl-click on any notebook tab switch to the last used
1276 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1278 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1279 src/geanyentryaction.c, src/geanyentryaction.h,
1280 src/geanywraplabel.c:
1281 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1282 object for efficiency.
1285 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1287 * plugins/classbuilder.c:
1288 Beep if the user hasn't entered a class name on pressing OK.
1290 Fix replacing '^' regex.
1291 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1292 plugins/geanyfunctions.h:
1293 Add Stash widget functions to API.
1295 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1299 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1301 * THANKS, src/vte.c:
1302 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1304 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1305 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1306 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1307 Add Stash setting functions to API.
1308 Remove unnecessary argument to stash_group_load_from_file().
1309 * src/geanyobject.c, plugins/classbuilder.c:
1310 Don't generate FOO_GET_PRIVATE() macro because caching the result
1311 in Foo::priv can be much more efficient.
1314 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1317 Fix cursor positioning when toggling comments
1318 (patch by Thomas Martitz, thanks).
1321 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1323 * src/keybindings.[hc]:
1324 Added Control+0 for zoom reset, see suggestion from #2969886.
1327 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1329 * src/search.c, src/document.c:
1330 Fix wrong selection range after Replace in Selection.
1333 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1336 Make CreateChildProcess() working with Unicode strings, e.g.
1337 directory names (closes #2972606).
1339 Remove reference to already removed latex.tags file.
1340 Future releases probably still depend on GTK 2.16.
1341 * scintilla/ScintillaGTK.cxx:
1342 Backport fix from Scintilla CVS to not paste text beyond the end
1343 of lines (closes #2969096).
1344 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1346 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1347 to not set Geany's minimum window size anymore (closes #2972992).
1348 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1351 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1354 Make adding string and string vector settings initialise the setting
1356 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1357 Add stash_group_load_from_file() and stash_group_save_to_file().
1360 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1362 * data/filetypes.common:
1363 Set default for wrapped lines to show marker at end of line only
1364 (more expected and doesn't change line alignment - closes #2972386).
1365 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1366 src/pluginutils.c, doc/plugins.dox:
1367 Improve API docs contents page by listing all commonly-used files.
1368 Fix 'Date' appearing twice on the date line.
1369 Don't generate API docs for prefs.h, toolbar.h (unused).
1370 Move some '@file' doc-comments to the .c file.
1371 * src/interface.c, geany.glade:
1372 Add frame for 'Printing' prefs dialog page.
1373 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1374 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1375 doc/stash-example.c:
1376 Rename Stash data types to be independently named from Geany (so
1377 Stash can be reused for other projects).
1378 Rename GeanyPrefGroup to StashGroup.
1381 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1383 * tagmanager/python.c:
1384 Apply patch from Colomban Wendling to parse Python lambda functions
1385 (thanks) - modified to only parse toplevel or class member lambdas.
1386 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1387 doc/stash-example.c:
1388 Add doc-comments for Stash setting functions.
1389 Add an example file showing usage of Stash.
1390 (Not enabled yet until added to the plugin API).
1393 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1396 Fix using return value without checking return status, caused
1397 incorrect sensitivity settings on build dialog.
1400 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1403 Add tip about gcc optimization & warnings/debugging.
1404 Add Testing section.
1405 Update Libraries section about synchronizing with other projects.
1408 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1411 For now revert the recent patch which set real_path of newly
1412 open non-existent configuration files as this seems hackish and
1413 causes 'file not found' warnings.
1415 Fix/Improve GIT repository detection
1416 (patch by Thomas Martitz, thanks).
1417 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1419 Add utils_copy_environment() to the plugin API.
1422 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1424 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1425 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1427 Use 3rd person for more API dox.
1428 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1430 Change 'After all...' to 'Afterwards...'.
1431 * src/interface.c, geany.glade:
1432 Apply patch from Eugene Arshinov to make frame packing/alignment
1433 more consistent (thanks).
1436 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1439 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1440 that gtk_button_[sg]et_label() work as expected.
1441 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1442 Make Build Commands dialog show menu item labels as a button (to
1443 help show that menu labels don't normally need to be edited &
1444 display the mnemonic correctly). Clicking shows an input dialog to
1445 set a new menu item label.
1446 Split dialogs_show_input() into 2 functions: one simple, one for
1447 a persistent dialog.
1448 Fix possible double-destroy of input dialog when closed by user.
1450 Fix not destroying 'Make Custom Target' input dialog after first
1453 Make Long Line Marker settings for existing projects default to
1454 general settings instead of 0 (thanks to Eugene Arshinov).
1455 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1456 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1457 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1458 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1459 Use 3rd person (gets not get) for API function brief descriptions.
1460 Avoid using 'convenience function' in API brief descriptions.
1463 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1465 * doc/geany.txt, doc/geany.html:
1466 Warn about some GNU extensions for regular expressions & clarify
1468 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1469 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1470 src/editor.h, geany.glade:
1471 Apply patch from Eugene Arshinov to add project long line marker
1472 customisation (thanks).
1473 * src/interface.c, geany.glade:
1474 Edit/tidy 'Long line marker' labels.
1477 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1479 * src/build.c, src/project.c:
1480 Fix crash due to NULL in project build preferences (thanks to
1484 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1486 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1487 src/document.c, doc/geany.txt, doc/geany.html:
1488 Merge gnu-regex branch:
1489 Use POSIX system/GNU regex engine for find & replace 'Use regular
1490 expressions' option. This alters regex syntax a bit - see the docs
1491 for details; we now support '?' operator and replacement backslash
1492 escaping is more standard.
1493 Make regex search imply replacing escaped chars.
1494 Allow \0 backreference replacement for the whole match.
1495 Note: Replace All may be slower; if this is a problem please let me
1498 Add argument to utils_str_replace_escape() for keeping
1499 uninterpreted backslash escapes e.g. '\\', '\e'.
1500 * scintilla/LexMarkdown.cxx:
1501 Backport minor formatting/style changes from Scintilla project.
1502 * doc/geany.txt, doc/geany.html:
1503 Remove warning about no visual indication for zero-column-mode
1507 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1510 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1513 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1515 * wscript, scintilla/*, scintilla/include/*:
1516 Update Scintilla to version 2.03.
1517 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1518 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1519 Add preference for virtual spaces.
1521 Fix wrong default response for the Debug Messages dialog.
1523 Fix crashes when using Save As with no open files (closes #2964406).
1525 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1526 move the question from the secondary to the main text to be
1527 more compatible with the Gnome HIG.
1528 Fix broken 'Save' action in 'Resave missing file' dialog.
1530 Improve PHP parser to parse also the argument lists of PHP functions.
1532 Correctly set the parent widget for the keybinding overwrite
1533 confirmation dialog.
1535 Fix setting the icon for some dialogs if the parent itself is also
1538 When editing non-existent config files using the Tools->Configuration
1539 Files menu, explicitly set the real_path to avoid presenting the Save
1540 As dialog when saving the file (patch by Tony Rick, thanks).
1542 Focus the editor widget after hiding the sidebar when it had the
1543 input focus (patch by Can Koy, thanks).
1544 Properly show/hide the mesages window when using the View menu item
1546 * plugins/filebrowser.c:
1547 After opening files, focus the editor widget
1548 (based on a patch by Can Koy, thanks).
1549 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1550 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1551 src/ui_utils.h, src/vte.c:
1552 Add and use convenience function ui_is_keyval_enter_or_return() and
1553 add it to the plugin API.
1556 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1558 * src/about.c, THANKS, po/ast.po:
1559 Added Asturian translation. Thanks to Marcos Costales for providing.
1562 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1565 Fix keyboard accelerators in debug messages window
1569 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1571 * scintilla/LexR.cxx:
1572 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1573 (Scintilla bug #2956543).
1574 * src/sidebar.c, src/about.c, THANKS:
1575 Make Space on the symbol and document list not focus the editor
1576 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1577 * src/document.c, src/document.h:
1578 Fix document_try_focus() to make it work with the sidebar document
1580 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1581 Make Space on the compiler and messages widgets not focus the editor
1582 widget while Enter does (patch by Can Koy, thanks).
1584 Fix wrongly auto-detected multiline comments
1585 (patch by Eugene Arshinov, thanks).
1588 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1591 Show number of lines of current document inside statusbar. Thanks to
1592 Can Koy for providing the patch.
1595 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1597 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1598 Make Switch to Editor keybinding reshow the document statistics
1599 line, so user doesn't have to move the cursor.
1602 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1605 Update keywords for the R language (patch by Jon Senior, thanks).
1608 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1611 Fix the instruction how to insert unicode characters
1615 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1617 * scripts/create_py_tags.py:
1619 Replace tabs by spaces.
1620 * plugins/genapi.py:
1622 Replace tabs by spaces.
1623 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1624 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1625 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1626 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1627 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1628 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1629 Add keybindings to switch to the sidebar's Document and Symbol list
1630 as well as to the Message Window's current tab
1631 (patch by Eugene Arshinov, thanks).
1633 Update primary keywords for the R language
1634 (patch by Jon Senior, thanks).
1637 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1640 Add more detailed hints about reloading configuration
1641 (thanks to Tony Rick).
1642 * data/filetypes.javascript:
1643 Correct the keyword list for JavaScript (thanks to Jonas).
1646 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1648 * New release: Geany 0.18.1 "Balfour".
1651 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1653 * src/keybindings.c:
1654 Add special cases for handling the Select All keybinding (Ctrl-A) in
1655 the toolbar search and goto line text entries (closes #2948040).
1656 Strip trailing spaces after reflowing a paragraph, patch by
1657 Dominik Wagenfuehr, thanks (closes #2945497).
1660 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1662 * src/geanymenubuttonaction.c, src/templates.c:
1663 Partly revert last commit:
1664 Unref the new files toolbar menu when freeing templates as it
1665 was done before but unref it *after* the menu has been removed
1666 from the GeanyMenuButtonAction.
1668 Fix possible endless loop when trying to detect the encoding of
1669 non-text files (patch by Alexey Antipov, thanks).
1672 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1675 Allow saving remote files using g_file_set_contents() as well
1676 (patch by Алексей Антипов, thanks).
1677 * data/filetypes.python:
1678 Adjust style for secondary keywords to be less aggressive.
1679 Add Python 2.5 builtins keywords.
1680 * src/geanymenubuttonaction.c, src/templates.c:
1681 Unref the new files toolbar menu when setting a new menu to fix
1682 possible crashes when reloading configuration.
1684 When reloading configuration, process the current document at last
1685 so the symbol list will be updated correctly.
1688 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1691 Explicitly read filetype configuration files before generating
1692 global tags to get settings for custom filetypes.
1695 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1698 Fix GLib warning when toggling 'no plugins available' item.
1701 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1703 * icons/Makefile.am:
1704 Include geany.ico in the distribution tarball.
1706 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1707 * scripts/create_py_tags.py:
1708 Make the script a bit more robust with newer Python versions.
1710 Use utils_spawn_sync() instead of g_spawn_sync().
1713 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1716 Close meta tag for export date properly.
1719 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1722 Update RPM Spec file (patch by Dominic Hopf, thanks).
1725 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1728 Fix renaming sci_send_message(), sci_send_command() function
1732 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1734 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1735 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1736 plugins/geanyfunctions.h, plugins/Makefile.am,
1737 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
1738 Use full function name for GeanyFunctions function pointers. This
1739 avoids naming conflicts e.g. with C++'s 'new' keyword.
1740 Remove deprecated header pluginmacros.h - use geanyfunctions.h
1744 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1746 * src/utils.c, src/utils.h, src/vte.c:
1747 Add utils_copy_environment() and make use of it.
1748 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
1749 src/editor.c, src/templates.c, src/templates.h:
1750 Add new special template wildcard "{command:...}" to use the
1751 output of a command in templates.
1752 Adjust template functions to mostly work with GeanyDocuments.
1753 Minor cleanups in the template code.
1755 Replace the old icons with smiley icons from the Rodent icon theme.
1756 Fix showing the same icon for two or more slots.
1758 * src/editor.c, src/editor.h, src/keybindings.c:
1759 Rename fold_symbol_click() to editor_toggle_fold().
1760 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
1761 was used to respect the 'Fold/unfold all children' preference
1765 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1768 Prevent possible segfault in get_build_group().
1770 Fix GLib warning & beep if trying to insert multiline comment for a
1771 filetype that doesn't support it.
1774 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1777 Add gcc commands to build a plugin to the HowTo.
1778 * src/search.c, src/document.c, src/document.h:
1779 Show 'Replaced X matches in Y documents' message when using
1783 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1785 * scripts/plugin_test.c:
1786 Add a little test program which can load and test Geany plugins to
1787 verify it is loadable at runtime and all necessary symbols are
1789 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
1791 Add new signal: "geany-startup-complete" which is sent once all
1792 initialization and startup tasks has been done.
1793 * README.I18N, configure.ac, wscript, po/LINGUAS:
1794 Remove po/LINGUAS from the repository.
1795 Generate it automatically if needed by reading available
1796 message catalogs from the po directory.
1797 Also respect the LINGUAS environment variable properly.
1800 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1803 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
1807 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1809 * src/editor.c, src/templates.c, src/templates.h:
1810 Refactor templates_replace_all() into templates_replace_valist()
1811 to save some code duplication.
1814 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1816 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
1817 src/plugindata.h, src/plugins.c:
1818 Add editor_insert_text_block() to plugin API.
1821 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1824 Update copyright information.
1825 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1826 doc/geany.txt, doc/geany.html:
1827 Add keybinding to open the last closed tab (closes #2912692).
1830 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1832 * autogen.sh, configure.in, configure.ac:
1833 Rename configure.in to configure.ac.
1834 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
1836 Add sci_find_text() to the plugin API.
1837 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
1838 src/interface.c, src/prefs.c:
1839 Add a checkbox in the preferences dialog to explicitly toggle
1840 the visibility of the sidebar (closes #2923340).
1843 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1845 * src/editor.c, src/plugins.c, src/plugindata.h,
1846 plugins/geanyfunctions.h:
1847 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
1848 editor_get_eol_char() to the plugin API.
1849 * src/callbacks.c, src/plugins.c, src/plugins.h:
1850 Fix sensitivity of the Edit->Plugin Preferences menu item
1851 if plugins are loaded which do not provide a configuration dialog.
1852 * scripts/create_py_tags.py:
1853 Rewrite and extend the Python tags parsing script to use
1854 Python's inspect module to read symbols from Python modules
1855 including scope information.
1856 * data/filetypes.restructuredtext:
1857 Add the default comment character sequence for reStructuredText.
1859 Show the Find/Goto dialogs if the corresponding toolbar buttons are
1860 clicked but their text fields are not part of the toolbar (#2920807).
1861 * data/filetypes.common, doc/geany.html, doc/geany.txt,
1863 Add new style to change foreground and background colours for
1864 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
1866 Remember the window position of the Find, Replace and Find in Files
1867 dialogs (closes #2877988).
1870 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
1873 Fix a minor typo inside plugin API reference.
1876 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1878 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
1879 Make dialogs_show_prompt() more flexible to take up to three
1880 button/response code pairs to be shown.
1881 Add a close button to the dialog when asking to Re-Save a
1883 (closes #2916954, based on a patch by Dominik Stadler, thanks).
1885 Fix LaTeX environment auto completion with CR/LF line endings.
1886 Add some sanity checks.
1888 When closing a document after it was deleted from the filesystem,
1889 don't ask whether it should be saved first.
1890 Mark the document only as changed if it is not closed afterwards.
1891 Prevent possible segfaults if the document was closed when it is
1892 missing from the filesystem.
1893 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
1894 src/msgwindow.h, src/prefs.c:
1895 Add MessageWindow::scribble and use it instead of searching the
1896 widget pointer everytime.
1897 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
1898 Add preferences for hiding single tabs from the messages window
1899 (no GUI preferences yet, still to be implemented).
1900 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
1901 Set the correct parent window for the toolbar editor
1902 dialog (closes #2913334).
1903 * src/win32.c, src/win32.h, src/ui_utils.c:
1904 Rename win32_show_project_folder_dialog() to
1905 win32_show_folder_dialog() as it is not related and not used by any
1906 project management related code.
1907 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
1908 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
1909 as it is specialised for opening documents.
1910 Implement win32_show_file_dialog() as a generic file open dialog and
1911 use it with ui_path_box_new().
1914 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1917 Extend auto_latex() function to check whether an environment has been
1918 closed within the next lines to avoid auto adding double \end{}.
1920 Remove LaTeX tags from SVN. Can be found at
1921 http://download.geany.org/contrib/tags/ if needed.
1924 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1926 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
1927 Add document_need_save_as().
1928 Show the Save As also for documents created from filetype templates
1929 instead of saving them directly with the untitled filename.
1932 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1934 * geany.glade, src/interface.c:
1935 Move 'Send Selection to Terminal' menu item from Format to Commands
1938 When going to a build error, try the current document's path if
1939 the parsed filename doesn't exist. (This can happen when we receive
1940 build messages in the wrong order - after the 'Leaving directory'
1943 Refactor msgwin_goto_compiler_file_line().
1944 * src/interface.c, src/keybindings.c, geany.glade:
1945 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
1948 Refactor/reformat on_replace_dialog_response().
1951 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1954 Improve geany.spec (split the package into a binary and devel
1955 package, update BuildRequires and other minor improvements).
1956 Patch by Dominic Hopf, thanks.
1959 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1961 * src/filetypes.c, src/filetypes.h:
1962 Make group for custom filetypes.
1963 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
1964 Add custom filetype Genie.
1967 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1969 * src/highlighting.c:
1970 Highlight D & Java types from a global tags file.
1971 * src/highlighting.c, doc/geany.txt, doc/geany.html:
1972 Add debug message warning if recursive lexer_filetype is set.
1973 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
1974 Remove duplicate sci_set_keywords(), make argument const.
1975 * src/highlighting.c:
1976 Only show debug message once if recursive lexer_filetype is set.
1977 Tidy highlighting_init_styles code for filetype None handling.
1978 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
1979 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
1980 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
1981 tagmanager/parsers.h, tagmanager/makefile.win32,
1982 tagmanager/verilog.c, tagmanager/Makefile.am,
1983 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
1984 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
1985 * src/highlighting.c:
1986 Fix segfault on startup (oops).
1987 * data/filetypes.verilog:
1988 Fix using common style colours for Verilog.
1991 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1993 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
1994 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
1995 Move C-like filetype properties into configuration files.
1996 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
1998 Remove now unnecessary "styling_within_preprocessor" C style key.
1999 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2000 data/filetypes.glsl, data/filetypes.cs:
2001 Use lexer_filetype=C configuration file key instead of duplicate
2002 styleset functions for C++, C#, GLSL, Vala.
2005 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2007 * doc/geany.txt, doc/geany.html:
2008 Warn about not using BOM for configuration files (confuses GKeyFile
2009 parser, at least on my system).
2011 Add/improve debug messages for custom filetypes.
2014 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2017 Add a couple of further latex-beamer commands to list of LaTeX tags.
2020 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2022 * plugins/filebrowser.c:
2023 Add an in-entry clear icon to the filebrowser plugin's filter
2024 entry (patch by Dominic Hopf, thanks).
2025 * src/prefs.c, src/ui_utils.c:
2026 Fix two compiler warnings about possibly uninitialised variables.
2029 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2031 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2032 plugins/geanyfunctions.h:
2033 Add main_is_realized() to the plugin API.
2034 * tagmanager/include/tm_tagmanager.h:
2035 Update partly outdated and wrong doc comment.
2036 * src/main.c, src/main.h, src/socket.c:
2037 Allow opening Geany projects remotely.
2038 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2039 Add a hidden pref to allow executing text which was sent to the
2040 terminal directly, i.e. do not strip trailing newline characters.
2041 Also fix the stripping of trailing newline characters if there was
2045 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2047 * src/about.c, THANKS:
2048 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2049 Kurt de Bree into section of previous translators.
2052 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2054 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2055 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2059 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2061 * src/highlighting.c:
2062 Make stylesets take a ft_id argument so they can be reused fully with
2063 custom filetypes, so custom styles and keywords can be set.
2064 * src/highlighting.c:
2065 Fix setting filetype properties when both the system and the user
2066 file have properties set.
2067 * src/symbols.c, tagmanager/vhdl.c:
2069 * src/highlighting.c:
2070 Fix lexer settings for custom filetypes.
2073 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2076 Remove duplicate regular expression for parsing classes.
2077 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2078 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2079 src/main.h, THANKS, src/about.c:
2080 Add new command line option "--socket-file" to be able to specify
2081 separate socket filenames for instances
2082 (closes #2896027, patch by Jörn Reder, thanks).
2083 * src/keybindings.c, src/keybindings.h:
2084 Add keybindings_check_event() to manually check GdkKeyEvents against
2085 Geany's keybindings.
2086 * src/callbacks.c, src/utils.c, src/utils.h:
2087 Add and use utils_get_help_url().
2088 * geany.glade, src/interface.c, src/prefs.c:
2089 Add a Help button to the preferences dialog.
2090 Handle Help keybinding events for the preferences dialog especially
2091 and open the manual with the corresponding anchor link to the current
2092 preferences page (same goes for the new Help button).
2095 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2097 * src/toolbar.c, src/geanymenubuttonaction.c,
2098 src/geanymenubuttonaction.h:
2099 Use separate tooltips for toolbar menu buttons and their attached
2101 * tagmanager/latex.c:
2102 Improve parsing of sections and chapters by ignoring shortnames
2103 like \section[shortname]{label} (closes #2890477).
2106 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2108 * src/geanymenubuttonaction.c:
2109 Try to fix Gtk warning when using Tools->Reload Configuration.
2112 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2114 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2115 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2116 data/filetypes.pascal, data/filetypes.docbook,
2117 data/filetypes.python, data/filetypes.conf:
2118 Use filetypes.foo [lexer_properties] group instead of hardcoding
2119 lexer properties (more flexible e.g. for custom filetypes).
2120 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2121 Replace filetypes.xml html_asp_default_language key with
2122 filetypes.html asp.default.language property in [lexer_properties]
2126 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2128 * doc/geany.txt, doc/geany.html:
2129 Fix slightly wrong description of how to insert Unicode characters.
2131 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2132 ui_setup_open_button_callback().
2133 * src/prefs.c, src/prefs.c, src/vte.c:
2134 Refactor color and font button callback functions in the
2135 preferences dialog. Move the VTE related callback functions
2137 Make use of ui_setup_open_button_callback().
2139 Improve printing status texts (patch by Dominic Hopf, thanks).
2140 * src/prefs.c, src/vte.c:
2141 Use the default dialog title set by ui_setup_open_button_callback()
2142 to be more consistent and to save one string.
2145 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2148 Separate DKinds from CKinds.
2149 Don't generate macro tags for D, Java.
2152 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2154 * tagmanager/ctags.c, tagmanager/general.h:
2155 Make TagManager Assert statements cause g_warning on failure.
2156 * src/keybindings.c:
2157 Fix reflow paragraph command when cursor < anchor using
2158 sci_fix_selection().
2161 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2163 * tagmanager/perl.c:
2164 Fix Geany segfault with constant tags (#2895168).
2166 Fix invalid tree iter access when using tv_iters.tag_other but not
2167 using tv_iters.tag_variable.
2168 * HACKING, tagmanager/perl.c:
2169 Fix parsing Perl format statements ("other" type doesn't seem
2171 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2172 Fix using "other" tag type.
2175 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2178 Remove useless comment about applying settings only when libvte.so
2179 could be loaded which is only displayed *if* libvte.so is loaded.
2181 Allow autocompletion for HTML entities even within a word.
2182 * src/geanymenubuttonaction.c:
2183 Only set the menu of the button if a non-empty GtkMenu is passed to
2184 geany_menu_button_action_set_menu() so the menu arrow keeps
2188 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2191 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2194 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2197 Parse D functions with contracts (fixes #1885480).
2198 Parse D alias statement like typedef.
2199 (Ignore some more D keywords).
2201 Fix creating D interface tags properly.
2203 Parse contents of D extern{} and version{} blocks.
2206 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2212 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2214 * src/plugindata.h, HACKING:
2215 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2218 Show number of files saved on status bar when using Save All.
2219 * src/highlighting.c:
2220 Use default color scheme if pref color scheme file doesn't exist.
2221 * src/keybindings.c:
2222 Fix moving correct lines after selecting whole line(s).
2225 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2227 * tagmanager/makefile.win32:
2228 Fix broken build on Windows because of a typo
2229 (patch by Timothy Boronczyk, thanks).
2232 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2234 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2236 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2237 scheme files exist in a colorschemes config directory. Color scheme
2238 files must end in ".conf" and currently only the [named_styles]
2240 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2241 Add utils_get_config_files().
2242 * src/highlighting.c:
2243 Fix issue with default color not being reset if overridden with a
2244 system default color.
2245 * src/highlighting.c:
2246 Only reload filetype files when changing color scheme, not all
2247 configuration files.
2248 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2249 Deprecate documents_foreach() as it looks more like a function; use
2250 foreach_document() instead.
2251 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2254 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2256 * src/stash.c, src/stash.h:
2257 Use typedef instead of pointer for widget_id function arguments.
2260 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2262 * src/pluginutils.c:
2263 Don't expand Plugin Preferences page spacing vertically to fill the
2264 height of the dialog.
2265 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2266 geany.glade, plugins/splitwindow.c:
2267 Allow GeanyKeyBinding label field to contain underscores, which won't
2268 be displayed by Geany. This saves adding near-duplicate translation
2270 Add mnemonics for 3 Edit->Format menu items.
2271 Add keybindings_get_label().
2272 * src/interface.c, geany.glade:
2273 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2277 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2280 Desensitize Edit->Commands menu item when no docs are open.
2281 * src/interface.c, src/keybindings.c, src/callbacks.c,
2282 src/callbacks.h, geany.glade:
2283 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2284 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2285 Add general function sci_get_string() that works with any string
2286 buffer messages that follow the Windows message convention.
2287 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2288 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2289 src/pluginutils.c, src/pluginutils.h, geany.glade:
2290 Add 'Edit->Plugin Preferences' menu item and keybinding.
2291 Don't include plugindata.h in pluginutils.h because it redefines the
2292 GEANY() macro for plugin use.
2293 * doc/geany.txt, doc/geany.html:
2294 Update for Plugin Preferences keybinding.
2297 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2300 Sort document word completion list.
2301 * src/interface.c, src/keybindings.c, src/callbacks.c,
2302 src/callbacks.h, geany.glade:
2303 Add some useful commands to editor popup menu under "Commands"
2304 submenu (thanks to Lex).
2305 Move 'Duplicate line or selection' from Format -> Commands submenu.
2306 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2307 Enable switching the sidebar to the right on Windows again, as it
2308 apparently works after all.
2310 Fix using tab to autocomplete in some other situations that word part
2311 completion doesn't apply in.
2312 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2313 Add Edit->Commands submenu which is shared with the editor popup
2315 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2316 Change editor popup Commands submenu to start as child of menubar
2317 Edit menu, as this is more usual e.g. for keybindings initialization.
2318 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2320 Share a single Format submenu for menubar Edit and popup menu.
2323 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2326 Fix a compiler warning about an uninitialised variable.
2328 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2329 sciwrappers.h, build.h (for the Waf build system,
2330 accordingly to r4366).
2333 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2335 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2336 src/toolbar.c, src/toolbar.h:
2337 Add missing dox for types/files in the API.
2338 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2339 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2340 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2341 of functions not in the API).
2342 Warning: any plugins that include these headers should remove them.
2343 * src/build.c, src/build.h:
2344 Move function doc-comments to build.c so they stay in sync. Note:
2345 these functions are still not in the API.
2347 Add 'Doc-comments' plugin API subsection.
2348 * plugins/filebrowser.c:
2349 Fix packing configure widgets equally.
2350 Use spacing multiples of 6 as recommended by Gnome HIG.
2351 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2352 Disable switching the sidebar to the right on Windows as it will
2353 probably fail like the Split Window plugin.
2355 Improve 'Detect from file' indentation pref by ignoring lines with
2356 indentation wider than 24 characters as this is more likely to be
2357 alignment than indentation.
2360 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2362 * plugins/saveactions.c:
2363 Fix adding the filetype's default extension when using the
2364 Instant Save plugin (closes #2885142).
2366 Before looking for line and column numbers specified as part
2367 of a filename, ensure the file doesn't exist on disk. This allows
2368 opening of files like "test:0".
2370 Rename "select" variables into "selection" to avoid shadowed names.
2371 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2372 Add ui_widget_modify_font_from_string() and sci_goto_line()
2374 * plugins/filebrowser.c:
2375 Rename "select" variables into "selection" to avoid shadowed names.
2376 Make use of ui_widget_modify_font_from_string().
2379 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2381 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2382 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2384 Add sidebar position interface pref.
2387 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2389 * doc/geany.txt, doc/geany.html:
2390 Add missing underscores to links.
2393 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2395 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2396 Add 'Move line(s) up/down' keybindings.
2399 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2401 * src/build.c, src/build.h, src/filetypes.h:
2402 Include code for project filetype execute commands and fix bug in
2403 saving project filetypes list.
2404 * src/project.c, src/build.c, doc/geany.txt:
2405 Make non-project execute configuration save to filetypes not
2407 Fix closing of project failing to remove build commands dialog entry.
2410 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2412 * src/project.c, src/ui_utils.c:
2413 Set border width for project properties build table.
2414 * geany.glade, src/interface.c:
2415 Don't expand hard tab width alignment.
2418 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2420 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2421 doc/geany.txt, doc/geany.html:
2422 Support loading global tags files for custom filetypes.
2423 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2424 doc/geany.txt, doc/geany.html:
2425 Add 'Word part completion' keybinding so keys other than Tab can be
2426 used, or to clear/change the combination so Tab does full completion
2428 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2429 Add 'Select to previous/next word part' keybindings.
2430 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2431 Add 'Switch to Messages' focus keybinding.
2434 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2436 * doc/geany.txt, doc/geany.html:
2437 Add 'Custom filetypes' section.
2438 * src/filetypes.c, src/filetypes.h, src/document.c,
2439 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2440 tagmanager/include/tm_source_file.h:
2441 Add filetype "tag_parser" key so custom filetypes can use an existing
2443 Add tm_source_file_get_named_lang().
2444 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2446 Add filetype "lexer_filetype" key so custom filetypes can use an
2450 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2452 * THANKS, src/about.c:
2453 Add Xhacker Liu for his work at zh_CN translation to long list of
2457 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2459 * src/sciwrappers.c:
2460 Remove unnecessary line number margin padding.
2461 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2462 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2464 Improve word part autocompletion so AC list is not cancelled and
2465 reshown (this also stops the selection changing).
2466 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2468 Improve CamelCase word part autocompletion for runs of capital
2471 Don't complete snippets if there's a selection.
2474 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2477 Fix crash opening project when Geany started with no geany.conf.
2480 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2482 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2483 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2485 Add word part autocompletion for the current selected item when
2486 pressing Tab - Enter still completes normally.
2487 Add foreach_str() API macro.
2488 Temporarily modify scintilla to say if tab was used for
2490 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2491 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2492 plugins/classbuilder.c:
2493 Revert r4301 - utils_free_pointers() taking 4 arguments.
2494 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2495 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2496 plugins/splitwindow.c:
2497 Add highlighting_set_styles() to API, use for Split Window plugin so
2498 filetypes.common settings get set too.
2499 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2501 * src/document.c, src/editor.c, plugins/splitwindow.c:
2502 Call editor_apply_update_prefs() from editor_create_widget() so
2503 correct tab width and other settings are applied for Split Window
2507 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2509 * src/keybindings.c:
2510 Don't include trailing newlines when using reflow command.
2512 Add stock close buttons to notebook tab popup menu.
2513 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2514 plugins/geanyfunctions.h:
2515 Add document_get_notebook_page() to API.
2517 * data/templates/files/file.html, data/templates/files/file.php:
2518 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2519 * src/interface.c, src/ui_utils.c, geany.glade:
2520 Move Tools configuration items to top of menu.
2521 * src/keybindings.c, src/search.c:
2522 Fix warning when using Find in Files with no documents open; make
2523 keybinding work in this case.
2526 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2528 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2529 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2530 Make Split Window 'Show current document' button have a drop-down
2531 menu to select the other documents.
2532 Add new API function ui_menu_add_document_items().
2535 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2538 Fix sensitivity settings for compile and build toolbar items.
2541 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2544 Don't use filetype submenus for templates (slower to navigate, often
2545 only 1 per-filetype anyway).
2547 Put old filetype template menu items in 'Old' submenu as they should
2548 be removed after the 0.19 release.
2549 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2550 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2551 to be ignored if inappropriate so a later keybinding with the same
2552 key combination can intercept it. (Also group callbacks are usually
2553 tidier than separate callbacks).
2554 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2555 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2556 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2557 plugins/classbuilder.c:
2558 Make utils_free_pointers() take 4 arguments, add to API.
2559 * src/templates.c, src/tools.c, src/ui_utils.c:
2560 Fix memory leaks with gtk_container_get_children().
2563 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2566 Ensure that old style build config is not loaded if it does
2570 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2572 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2573 Added Galician translation.
2574 Thanks to José Manuel Castroagudín Silva.
2577 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2579 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2581 Apply set default encoding for existing files only if the files are
2582 non-Unicode (patch by Alexey Antipov, thanks).
2585 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2587 * src/highlighting.c:
2588 Move new_styleset() and preprocessor setup code into
2590 * src/highlighting.c:
2591 Call apply_filetype_properties() from styleset_c_like().
2594 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2596 * doc/geany.txt, doc/geany.html:
2597 Improve information about predefined keybindings which are
2598 commonly used across applications (patch by Lex Trotman, thanks).
2600 Enable embedded page setup properties in the (Unix) Print dialog
2601 on newer GTK versions (closes #2870596).
2602 * src/highlighting.c:
2603 Map global types (read from tags files) to keyword style for
2607 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2610 Fix wrong creation of filetype template menu items for custom
2612 * src/highlighting.c:
2613 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2615 Group 'New with template' items by filetype submenu (currently only
2617 Show custom file template items before filetype template items.
2618 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2620 Only use one 'New with template' submenu - reparent as needed.
2622 Don't create templates/filetype.none either.
2624 Warn if custom template file no longer exists.
2627 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2630 Add missing icon for Java packages in the Symbol List.
2633 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2635 * src/highlighting.c, data/filetypes.vala:
2636 Add Vala keywords to conf file.
2637 * src/templates.c, doc/geany.txt, doc/geany.html:
2638 Read custom file templates from $prefix/share/geany/templates/files
2639 as well as user dir.
2640 * src/templates.c, data/templates, data/templates/files,
2641 data/templates/files/file.rb, data/templates/files/file.html,
2642 data/templates/files/main.java, data/templates/files/main.c,
2643 data/templates/files/main.cxx, data/templates/files/file.php,
2644 data/templates/files/main.d, data/templates/files/program.pas,
2645 data/templates/files/main.py, data/templates/files/file.tex,
2646 wscript, Makefile.am:
2647 Move filetype template defaults into custom file template files.
2650 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2652 * src/symbols.c, tagmanager/perl.c:
2653 Change Perl tag parser to ctags SVN r601. This removes support for
2654 buggy local/my/our but it parses constant/format/labels and should
2655 be less buggy overall (closes #2861232).
2656 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2657 Add utils_get_file_list_full() which can optionally sort or include
2658 a full path for each list item.
2659 * src/utils.c, src/plugindata.h, src/plugins.c:
2660 Add utils_get_file_list_full() to API.
2663 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2665 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2666 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2667 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2668 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2669 po/POTFILES.in, wscript:
2670 Rename treeviews.[hc] -> sidebar.[hc].
2671 * data/filetypes.common:
2672 Remove unused [styling] arguments.
2673 * src/highlighting.c, data/filetypes.markdown,
2674 data/filetypes.restructuredtext:
2675 Remove style defaults from the code - just read them from
2676 configuration files.
2677 * src/highlighting.c, HACKING:
2678 Add apply_style_entries() to simplify implementing styleset_foo().
2679 * src/highlighting.c:
2680 Remove filetype keyword defaults from the code - just read them from
2681 configuration files.
2682 * src/highlighting.c:
2683 Add sci_set_keywords() wrapper.
2686 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2688 * scripts/create_py_tags.py:
2689 Make the code a bit more pythonic.
2690 * doc/images/build_menu_commands_dialog.png,
2691 doc/images/main_window.png:
2692 Add new images referenced in the documentation.
2693 * doc/geany.html, doc/geany.txt:
2694 Several documentation improvements (patch by Lex Trotman, thanks).
2695 * src/pluginutils.c:
2696 Fix setting the appropriate page of the combined plugins
2700 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2702 * src/keybindings.c:
2703 Only focus toolbar goto line entry when pressing keybinding if it's
2704 visible (patch by Eugene Arshinov, thanks).
2706 Focus editor after entering a number in the goto line toolbar entry.
2708 Use AC_PATH_PROG instead of which for portability (patch by Erik
2709 Southworth, thanks).
2711 Show plugins that only implement plugin_configure_single() in the
2712 multiple-configure dialog as a page with a configure button on it.
2713 Add padding for multiple-configure dialog.
2714 Make the multiple-configure dialog notebook tabs scrollable.
2715 * src/pluginutils.c, src/pluginutils.h:
2716 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2717 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2718 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2719 plugins/geanyfunctions.h, plugins/filebrowser.c:
2720 Add plugin_show_configure() API utility function.
2721 Add File Browser popup menu 'Preferences' item.
2722 * src/highlighting.c:
2723 Add get_keyfile_ints() instead of using tmp_style hack.
2724 * src/highlighting.c, data/filetypes.xml:
2725 Change new html_asp_default_language markup pref to use integer,
2726 not hex in config file.
2727 Fix minor issue with changing pref back to 0.
2728 * src/highlighting.c:
2729 Fix possible segfault in get_keyfile_int() if key value is malformed.
2732 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2734 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2735 Add "html_asp_default_language" pseudo style to filetypes.xml
2736 to allow setting the used language in embedded ASP code
2737 (patch by Ross McKay, thanks).
2738 * src/filetypes.xml:
2739 Update VBScript keywords (patch by Ross McKay, thanks).
2742 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2744 * src/keybindings.c, THANKS:
2745 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
2746 keybinding use line breaking column when enabled.
2748 Fix showing the document before reload dialog when opening an
2750 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
2751 Add plugin_configure_single() plugin symbol which is easier to
2752 implement than plugin_configure() but won't support a
2753 multiple-plugin configure dialog.
2755 Show multiple plugins in the 'Configure Plugins' dialog.
2758 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2760 * doc/geany.txt, doc/geany.html:
2761 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
2763 * doc/geany.txt, doc/geany.html:
2764 Add 'Toolbar entries' section.
2765 * doc/geany.txt, doc/geany.html:
2766 Update 'Go to line' keybinding description.
2767 * doc/geany.txt, doc/geany.html:
2768 Split keybinding table into group tables; update KB links.
2771 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2774 Fix compiler warnings about uninitialised variables.
2775 * src/callbacks.c, src/document.c:
2776 When reloading files, use the previously set encoding instead of
2777 detecting it again (closes #2862041).
2779 Turn on automake silent rules if supported.
2782 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2785 Speed up sorting in utils_get_file_list(). This reduces the file
2786 browser delay on displaying a big directory, e.g. /usr/bin.
2788 Expand command entry width when expanding Build Commands dialog.
2790 Split Build Commands dialog notes label and edit text.
2792 Add padding for Build Commands dialog separators.
2793 Add colons for regex field labels; fix 1 capitalisation.
2795 Fix none filetype Build Commands dialog label.
2796 Make group labels bold.
2797 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
2799 Add & use ui_label_set_markup(), ui_label_new_bold().
2800 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
2801 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
2802 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
2803 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
2804 * src/keybindings.c:
2805 Make 'Go to Line' keybinding focus the toolbar entry if visible.
2808 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2810 * src/filetypes.c, src/filetypes.h, src/symbols.c,
2811 tagmanager/parsers.h, tagmanager/makefile.win32,
2812 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
2813 data/filetype_extensions.conf, wscript:
2814 Add new filetype: Abc (patch by Eric Forgeot, thanks).
2816 Merge recent changes from the CTags project to further improve
2820 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2823 Fix wrong alignment of printed pages when page headers are
2824 disabled (closes #2856822).
2825 Plug a small memory leak and improve function signature of
2828 Save an if expression.
2830 After clearing a text field using the embedded clear icon, put the
2831 input focus into this text field.
2834 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2836 * plugins/filebrowser.c:
2837 Free file list memory whilst iterating the list.
2838 Minor formatting fixes.
2839 * src/utils.c, src/utils.h:
2840 Add foreach_dir() API macro.
2841 Update API docs for utils_get_file_list().
2842 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
2844 Remove queue.[hc] - use GQueue instead of GeanyQueue.
2845 Beep if there are no more snippet positions.
2846 Limit length of snippet positions queue to 20.
2849 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2851 * src/keybindings.c, src/callbacks.c, src/search.c:
2852 Make Goto Tag commands use the current selection if present (useful
2853 for selecting part of a tag or for ReST section names with spaces
2856 Don't move the cursor when reloading.
2857 * src/plugindata.h, src/editor.c, src/editor.h:
2858 Make editor_prefs.snippets hash table private (not a pref).
2861 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2864 Remove deprecated --debug flag. Please use --verbose/-v instead.
2867 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2870 Show Find in Files stderr output in messages window instead of
2871 debug window so that invalid regex messages can be seen easily.
2872 Combine FIF stdout and stderr callback code.
2875 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2878 Fix opening filenames beginning with two dots (closes #2858487).
2879 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
2880 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
2881 data/filetypes.common, geany.glade:
2882 Update syntax highlighting after changing the 'Invert syntax
2883 highlighting colors' pref, instead of requiring a restart.
2884 Remove filetypes.common invert_all option - use 'Invert syntax
2885 highlighting colors' pref instead (closes #2854525).
2886 * src/prefs.c, src/dialogs.c, src/dialogs.h:
2887 Add 'Allow' button when showing the conflicting keybinding dialog.
2888 Make dialogs_show_question_full() use GTK dialog on Windows if
2889 button text is not the stock yes/no items.
2890 Add dialogs_show_prompt() which also has an 'Apply' button.
2891 * src/queue.c, src/queue.h:
2892 Add warning that GeanyQueue may be removed.
2893 * src/keybindings.c, src/editor.c, src/editor.h:
2894 Change snippet_goto_next_cursor() to
2895 editor_goto_next_snippet_cursor() as it's in editor.h.
2896 Avoid using GPOINTER_TO_INT macro.
2899 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2901 * src/keybindings.c:
2902 Fix 'Reflow block' command when at the last paragraph and there's
2903 no last newline (patch by Eugene Arshinov, thanks).
2905 Add 'Compiler options & warnings' section.
2906 Update Style section to be clearer about code alignment and show
2911 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2913 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2914 src/plugindata.h, src/plugins.c, src/editor.c,
2915 plugins/geanyfunctions.h:
2916 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
2917 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
2919 Add sci_toggle_marker_at_line().
2920 Fix SciFuncs alignment.
2923 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
2926 Fix erroneous free of returned string in prepare_run_script.
2929 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2931 * data/filetypes.latex:
2932 Changing default value for showing pdf and dvi to ensure to take
2933 *.pdf and *.dvi file.
2936 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2938 * src/about.c, THANKS:
2939 Change language string for Slovenian translation.
2942 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2944 * tagmanager/txt2tags.c:
2945 Fix multi-byte character constant comparison.
2947 Fix Gtk warning when trying to update documents popup menu item
2948 sensitivity before they exist.
2951 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2954 Improve the opening string in the plugin manager dialog.
2956 Use "max-width" to set the document width of the generated
2957 HTML documentation to let the text be auto-wrapped.
2958 * src/prefs.c, src/tagmanager/include/guregex.h,
2959 src/tagmanager/include/tm_tagmanager.h:
2960 Remove trailing spaces (patch by André Hentschel, thanks).
2962 Fix a compiler warning.
2964 Fix crash when opening documents.
2965 * src/build.c, src/build.h, src/project.c:
2966 Adjust coding style (no code changes).
2967 * src/build.c, src/project.c:
2968 Use NZV() macro instead of strlen() to check for empty strings.
2969 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
2970 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
2971 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
2972 src/plugins.c, THANKS:
2973 Add new plugin signal: "document-before-save".
2974 Add get_line_end_position(), set_target_start(), set_target_end(),
2975 replace_target() to the plugin API
2976 (patch by Eugene Arshinov, thanks).
2977 Add new plugin signal: "document-filetype-set" (closes #2852286).
2978 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
2979 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
2980 tagmanager/Makefile.am, tagmanager/makefile.win32,
2981 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
2983 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2986 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2988 * src/treeviews.c, src/document.c:
2989 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
2990 Use gtk_notebook_set_current_page() instead of
2991 document_open_file_full() when choosing an item from the documents
2993 Avoid using goto in document_open_file_full().
2996 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2998 * src/treeviews.c, src/document.c, src/document.h, THANKS:
2999 Enable type-ahead find for sidebar symbols and documents tabs
3000 (patch by Thomas Martitz, thanks).
3002 Fix 2 free's of possibly uninitialized pointers.
3005 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3007 * src/build.c, src/filetypes.h, src/filetypes.c:
3008 Only write filetype config files when build command or regex is
3009 actually changed. Removed commented code in src/filetypes.c.
3011 Ensure uses of filename are protected against nulls when running
3012 a build command and give status message if not.
3015 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3018 Remove plugin from plugin manager dialog on unloading if it no
3019 longer exists or is incompatible.
3022 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3025 Add warning if only one of the plugin_key_group[_info] symbols is
3026 defined for a plugin.
3027 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3028 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3030 Merge custom-filetypes branch:
3031 Support adding custom filetype files e.g. filetypes.Foo.conf.
3033 Allow GeanyFiletype::extension to be NULL.
3034 Add note about using GeanyFiletype pointer instead of filetype_id
3035 for filetypes.c function arguments.
3036 Replace styleset_none() with styleset_default().
3039 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3042 Show the sidebar if either the documents or the symbols list are
3043 enabled (related to #1876107).
3046 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3048 * src/build.c, src/filetypes.c:
3049 Fix compiler warnings.
3051 Fix removing leading double slashes in filenames which are used for
3052 network resources on Windows (closes #2844085).
3055 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3057 * src/keybindings.c:
3058 Fix Make keybindings (patch by Lex Trotman, thanks).
3060 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3062 Mention Files link at top for header files; demoplugin.c.
3063 Minor edits; remove 'far from being complete'.
3064 * src/keyfile.c, src/keyfile.h, src/main.c,
3065 data/filetype_extensions.conf, HACKING:
3066 Remove --generate-data-files argument & code - just edit
3067 filetype_extensions.conf by hand (filetype order was broken
3069 Add *.H extension for C++ (useful for non-Windows systems).
3072 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3075 Fix implementation of loading old project files with base
3076 directories. Use project_make_base_path instead of re-
3077 implementing. Now depends on project.c reading base dir
3078 prior to calling load_build_menu.
3080 Change usage of project base directory to conform with
3081 previous documented behavior when loading old project files.
3083 Change make custom and make object to ignore make in base path
3084 when reading old project file settings. Changed some indent
3085 spaces to tabs. Fix missing compile menu accelerator.
3088 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3091 Add warning about not using undocumented features.
3092 Add reference to HACKING for plugin API development.
3094 Add section 'Plugin API/ABI design'.
3095 * src/keybindings.h, src/makefile.win32, src/project.h,
3096 src/filetypes.h, src/Makefile.am, wscript:
3097 Use GEANY_PRIVATE to hide some fields from plugins.
3099 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3100 * src/build.c, src/build.h, src/project.c:
3101 Use build_ prefix for 3 functions in build.h; add a static modifier.
3104 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3107 Improve parsing of PHP functions by requiring a valid modifier or
3108 whitespace before the 'function' keyword to ignore some false
3109 positives like function tags inside comments
3110 (patch by Harold Aling, thanks).
3111 * tagmanager/python.c:
3112 Don't parse comments after import statements and other tags
3113 (closes #2838938, patch by Huandari Lopez, thanks).
3116 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3118 * data/filetypes.markdown:
3119 Add filetypes.markdown for configuration (thanks to Jon Strait).
3120 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3121 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3122 plugins/geanyfunctions.h:
3123 Remove GeanyKeyGroup struct from the API - plugins should not set
3125 Make keybindings_set_item() duplicate the name and label fields
3126 (needed by GeanyLua) and return a keybinding pointer.
3127 Add keybindings_get_item() to the API (in case it's useful).
3128 Move some keybinding code out of plugin source files.
3131 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3133 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3134 Don't generate build.h API docs until everything is approved and
3135 functions are actually in geany_functions.
3136 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3137 as they may be changed or made private later.
3138 Break ABI for fields removed.
3141 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3143 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3144 src/keyfile.c, src/project.c:
3145 Changed names of symbols visible in build API to GEANY_xxx.
3148 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3150 * src/project.h, src/project.c, src/build.c:
3151 Remove make_in_base_dir and run_cmd fields from project structure.
3152 Replaced by build functionality. Remove incorrect use in src/build.c
3153 build_run_cmd function.
3156 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3158 * src/project.h, src/project.c:
3159 Removed unused project_get_make_dir function, this is now per
3163 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3165 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3167 Fix some more warnings.
3168 Fix commented out execute/stop toolbar code in build.c.
3169 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3170 Changed build.h api so all functions prefixed with build_.
3173 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3175 * src/build.c, src/build.h, src/project.c:
3176 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3179 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3182 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3183 strings when reading old format configuration & project files.
3184 * src/build.c, src/project.c:
3185 Fixed GLib array assertion warnings when no project filetypes are
3186 available to be saved.
3188 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3194 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3196 * src/build.h, src/build.c, src/project.c:
3197 Created and documented plugins interface to build menu.
3198 Factored out new get_cmd_group function.
3199 Changed name of remove_command function to be consistent with the
3200 rest of the interface & changed calls in project.c.
3201 * src/Makefile.am, wscript:
3202 Added build.h to installed files lists.
3204 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3207 Updated manual to match build-menu capability.
3210 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3212 * src/build.c, src/build.h:
3213 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3214 Improved interpretation of run_in_base_dir from old [build-settings]
3215 Added spacing to build commands dialog
3217 Removed run in base path option from project dialog and added button
3218 to set working directories to d the same.
3221 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3224 Re-incorporated toolbar changes in trunk accidently excluded in merge
3226 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3229 Fixed substitute %f etc in commands
3230 Fixed potential leak in build_replace_placeholder
3231 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3232 Fixed build_replace_placeholder to not require document.
3234 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3236 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3237 Fixed crash and lots of warnings, deleted some commented out code.
3238 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3239 Removed make command from preferences and associated code
3241 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3243 * src/build.c, src/build.h:
3244 Incorporated patch for working directory field (thanks Thomas)
3245 Removed run_in_base_dir option and associated code that it replaces
3246 Improved handling of old config files and mapping to new ones.
3248 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3250 * src/build.h, src/build.c:
3251 Changed to itterate over entries in build commands dialog to allow
3252 additional fields to be added
3253 Implement support for multiple run commands
3254 * data/filetypes.latex:
3255 Implement configured commands and labels for latex.
3258 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3260 * src/build.h, src/build.c:
3261 added dialog support for error regular expressions from multiple
3262 sources and storing and loading them fixed some typos and memory
3264 * src/filetypes.c, src/filetypes.h, project.c:
3265 added support for using error regexes from multiple sources
3268 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3270 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3272 Removal of build menu item source made redundant by the following fix
3274 Corrected priority oreder and loading of filetype dependent build
3275 menu items saved in the project file. Added print routine for
3276 debugging command sources and priorities set compile symbol
3277 PRINTBUILDCMDS true to enable
3279 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3282 fixed problem loading old format filetype files, some formatting
3283 fixes fixed saving new format files
3284 added operation for clear button on build commands dialog
3286 fixed loading and saving filetype files
3289 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3291 Configurable Build Menu Changes
3293 * doc/geany.html, doc/geany.txt:
3294 Updated build menu section to new functionality
3295 * src/build.h, src/build.c:
3296 Largly re-written, configurability added, Latex code removed
3297 * src/filetypes.h, src/filetypes.c:
3298 Filetype structure updated to add new command pointers, configuration
3299 load and store changed
3300 * src/keybindings.h, src/keybindings.c:
3301 Changed to address new command storage structure.
3303 Changed to load/store new configuration.
3305 Minor change to initialisation order.
3307 Changed to address new menu item storage structure.
3308 * src/project.h, src/project.c:
3309 Changed to load/store the new configuration info.
3311 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3313 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3314 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3315 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3316 plugins/splitwindow.c:
3317 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3318 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3319 the ABI when adding fields to them.
3320 Add plugin_set_key_group() for plugins to dynamically set a
3321 keybinding group (e.g. for the Lua script plugin). Used in Split
3322 Window plugin as an example.
3323 Improve keybinding docs a little.
3326 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3328 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3329 Add geanyfunctions.h to API docs.
3330 * plugins/splitwindow.c:
3331 Set the cursor color for the split window.
3334 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3337 Fix 'Open Selected File' for unsaved new documents.
3338 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3339 Fix updating main menu accelerators after changing keybindings
3340 (thanks to Lex Trotman).
3342 Fix using 'Insert date' keybinding when a custom date string has
3344 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3345 Merge Plugin and GeanyPluginPrivate structs.
3348 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3350 * src/keybindings.c:
3351 Fix non-working Home and End keys on numpads.
3354 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3356 * doc/geany.txt, doc/geany.html, NEWS:
3357 Add 'Scope autocompletion' section.
3358 Add 'Tools menu items' section to explain configuration files
3359 submenu, reload configuration item.
3360 Minor updates/fixes.
3363 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3366 Add a translation hint to an ambiguous format string.
3368 Add missing include path to fix 'make distcheck'.
3370 Fix opening of local files in the browser on Windows.
3371 * New release: Geany 0.18 "Kaine".
3372 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3373 src/geany.h, doc/geany.html, doc/geany.txt:
3374 Post-release version bump.
3377 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3380 Temporarily disable reshowing calltips when the autocompletion
3381 list was closed implicitly by not choosing an item to fix
3382 problems with wrongly displayed calltips.
3384 Add missing 'coding' cookie to the Python filetype template.
3385 * doc/images/pref_dialog_edit_completions.png,
3386 doc/images/pref_dialog_toolbar.png:
3387 Update images for Geany 0.18.
3390 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3393 Add command '--hackingdoc' to create the HTML form of the
3397 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3399 * po/pt_PT.po, po/LINGUAS:
3400 Added a first Portugese (Portugal) translation based on work done at
3401 launchpad by e.g. André Glória and Alexandre Jesus.
3402 * src/main.c: Fix a minor typo on --help call.
3405 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3407 * src/highlighting.c:
3408 Call get_keyfile_wordchars() in highlighting_init_styles().
3411 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3413 * data/filetypes.ada:
3415 * src/keybindings.c:
3416 Switching notebook tabs now works for the currently used notebook
3417 widget instead of always using the documents notebook.
3418 * src/document.c, src/document.h, src/documentprivate.h,
3420 Small corrections to some API docs.
3423 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3425 * src/build.c, src/win32.h, src/win32.c:
3426 Expand system environment variables (%variableName%) on Windows when
3427 running Build commands.
3430 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3432 * src/keybindings.c:
3433 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3434 future using an indent block is more useful e.g. for ChangeLog
3436 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3437 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3438 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3439 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3440 tagmanager/parsers.h, tagmanager/makefile.win32,
3441 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3442 Add Markdown filetype (patch by Jon Strait, thanks).
3443 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3444 Fix disconnecting plugin signal id when not using geany_object.
3446 Add filetype_make_title() instead of using:
3447 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3448 It also supports "%s file" strings.
3451 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3453 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3454 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3455 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3456 plugins/filebrowser.c:
3457 Add plugin_signal_connect() for connecting plugin signals at
3458 runtime and also for connecting to any GObject signal.
3459 Add 'Plugin Utility Functions' on main page.
3460 Add foreach_array() macro.
3461 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3462 src/document.c, src/editor.c:
3463 Rename 3 sci functions to sci_set_target_start(),
3464 sci_set_target_end(), sci_replace_target() to match the SCI_
3468 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3470 * wscript: Fix compiling error with waf.
3473 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3475 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3476 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3477 src/Makefile.am, wscript:
3478 Move plugin_* utility functions to pluginutils.c.
3479 Add pluginprivate.h.
3481 Fix reshowing calltip in the wrong document.
3484 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3486 * doc/geany.txt, doc/geany.html:
3487 Add some general information about auto-completion capabilities
3488 (patch by Lex Trotman, thanks).
3491 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3493 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3494 Added a first Slovenian translation. Thanks to Joze Klepec.
3497 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3499 * src/highlighting.c:
3500 Use full styleset_foo[_init] function name as argument to
3501 init_styleset_case() and styleset_case() macros so it's easier to
3502 understand the code.
3503 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3504 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3505 doc/geany.txt, doc/geany.html:
3506 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3507 Heavily based on a patch by Eugene Arshinov (thanks).
3508 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3509 editor_strip_line_trailing_spaces().
3512 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3515 Attempt to fix reshowing calltips after the autocompletion list
3517 Reshow calltips also when the autocompletion list was closed
3518 implicitly by not choosing an item.
3520 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3522 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3523 plugins/splitwindow.c:
3524 Change utils_str_remove_chars() to work in place; fix allocating on
3525 the stack (the string length could exhaust the stack size).
3526 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3527 src/printing.c, src/callbacks.c:
3528 Rename utils_str_replace() utils_str_replace_all(), setting a
3529 'gchar **haystack' argument instead of returning a new string.
3531 For the Tabs indent type, remove spaces when unindenting (only) if
3532 there are no tabs on the line.
3533 Group undo actions for (un)indenting of multiple lines.
3534 * src/document.c, src/editor.c:
3535 Fix scrolling horizontally after finding a search match with the
3536 search bar or Find Next/Previous which is off-screen.
3537 * src/keybindings.c:
3538 Fix GLib warning when pressing a key with no documents open.
3541 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3544 Start unifying usage of @a and @c markup elements in API docs,
3546 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3547 Show/hide the toolbar without a restart when the setting in the
3548 preferences dialog is changed (closes #2824785).
3549 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3550 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3551 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3553 Continue unifying usage of @a and @c markup elements in API docs.
3556 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3559 Remove relative/untidy path elements when creating new documents
3560 with a filename (e.g. from the command-line) (#2823998).
3563 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3566 Disable 'Recent Projects' menu item if the list of recent projects
3569 Fix some harmless compiler warnings.
3570 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3571 src/plugins.c, src/utils.c, src/utils.h:
3572 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3573 src/utils.c and add it to the plugin API.
3574 Make utils_str_remove_chars() work on a new copy of the input string
3575 instead of modifying it in place.
3577 Remove underscores from the toolbar items labels.
3580 * plugins/splitwindow.c:
3581 Fix broken 'Show the current document' tool button icon.
3584 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3586 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3588 Add stash_group_add_widget_property() so we can save any widget's
3589 read/write properties.
3590 Use Stash for ui_prefs.sidebar_page setting.
3591 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3592 Make foreach_ptr_array() use an integer argument for its
3593 implementation, as this is more useful potentially than a gpointer*
3594 argument, and more straightforward.
3595 Add foreach_c_array(), foreach_ptr_array() to API.
3596 * src/utils.c, src/utils.h, src/document.c:
3597 Remove relative/untidy path elements when opening documents (closes
3600 Fix showing project name for documents list files with no
3601 subdirectory (oops).
3603 Fix checking whether to overwrite when using the Rename button in
3604 the 'Save As' dialog.
3607 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3610 Don't use the main window as parent for dialog boxes if it is not
3612 Set titles for message dialogs.
3615 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3618 Display item labels instead of raw names in the toolbar editor.
3619 Apply changes in the toolbar editor instantly.
3620 Show icons in the toolbar editor.
3621 Speed up toolbar editor dialog creation.
3623 Improve inserting of comment templates like File header or licence
3624 notices. The comment information are now read from the filetype
3625 configuration files.
3627 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3630 Enable file monitoring for files which are written to disk by Geany
3633 Fix broken special case handling when detecting filetypes from a
3634 shebang or other special file headers.
3637 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3640 Make Mark All keybinding clear search highlighting when there's no
3643 Fix wrong match length when using Mark with regex.
3644 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3645 src/keyfile.c, src/main.c:
3646 Add 'Show Paths' documents list popup item.
3647 Add "load_settings" core-only signal emitted just after loading
3648 main keyfile settings; useful to delay building UI elements until
3649 settings have been read.
3651 Fix GTK warning when right-clicking on default tag tree.
3652 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3653 Add treeviews_finalize().
3654 Remove tv.popup_openfiles field.
3657 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3659 * src/highlighting.c:
3660 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3663 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3666 Quote the uri before passing it to the browser when opening a
3667 website (closes #2818635).
3669 Fix broken 'builtin' Run command for HTML files on Windows.
3672 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3675 Properly fix wrong brace highlighting of non-brace character.
3677 Allow autocompletion in Perl double-quoted strings.
3678 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3679 Don't autocomplete in Perl q() strings.
3680 * data/filetypes.common:
3681 Make Mark highlighting brighter.
3682 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3683 Use hyphen for auto-feature terms.
3684 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3685 src/document.h, src/main.c:
3686 Add documents_foreach() API macro that skips invalid docs.
3687 Make filetypes[], documents[] part of the API again.
3688 Add GEANY() macro for sharing geany symbols between API and core.
3689 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3690 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3691 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3692 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3693 plugins/classbuilder.c, wscript:
3694 Add geanyplugin.h single include for plugin API; update all core
3696 Add sci_set_font() to API.
3697 Update plugin howto.
3698 * src/filetypes.c, src/filetypes.h:
3699 Remove filetypes_foreach_named().
3702 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3704 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3705 src/document.h, src/main.c, THANKS:
3706 Apply patch from Eugene Arshinov to reload color schemes via menu
3709 Reload filetypes.common after saving it.
3711 Improve wrong brace highlighting of non-brace character.
3714 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3717 Delay highlighting matching braces by 100ms, which speeds up
3718 scrolling with the arrow keys.
3719 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3720 Add 'Mark All' keybinding.
3721 * tagmanager/diff.c:
3722 Show relative paths in diff filename tags.
3725 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3727 * src/highlighting.c:
3728 Fix setting keyword list 'classes' for Haxe
3729 (pointed out by Andreas Mokros, thanks).
3732 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3734 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3735 doc/geany.txt, doc/geany.html, geany.glade:
3736 Add 'Drop rest of word on completion' pref.
3737 * src/editor.c, doc/geany.txt, doc/geany.html:
3738 If autocompletion is already visible when forcing completion, show
3739 document word completion instead of tag completion.
3740 Docs: Minor edits of related prefs items.
3741 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3742 Add warning when printing and editor font is not monospaced.
3743 Fix using GtkMessageType instead of gint param for
3744 dialogs_show_msgbox*().
3745 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
3747 Support 'tab indents, space aligns' style for auto-indentation
3751 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3753 * src/document.c, src/documentprivate.h:
3754 Rework the GIO based file monitoring code. Now it is used only
3755 to indicate a possible change of the file, the real check if the
3756 file has been changed is performed by stat().
3757 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
3758 Add style 'line_height' to increase the line height.
3759 Add style 'marker_mark' and change style 'marker_search' to
3760 define the style used for marked search results.
3761 * doc/geany.txt, doc/geany.html:
3762 Add the new 'Autocomplete all words in document' pref to the docs.
3765 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3767 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3768 doc/geany.txt, doc/geany.html, geany.glade, TODO:
3769 Add 'Autocomplete all words in document' pref.
3770 Use 'autocompletion' in dialog and docs, not 'auto completion'.
3772 Fix limiting number of word completion entries too much.
3773 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
3774 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
3775 Show autocompletion icons for tag symbols - for now only tags with
3776 an arglist have the 'function/method' icon, all others have the
3778 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
3780 * src/highlighting.c:
3781 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
3785 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3787 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
3788 Fix removing underscores in translated string using no_underscore()
3790 Set a tooltip for the Split Window plugin's Show Current tool button.
3791 Add utils_strdupa() macro.
3792 * src/interface.c, geany.glade:
3793 Use stock Select All icon now we have >= GTK 2.8.
3795 Fix using project name for document items that start with the
3796 project base path but don't match it e.g. ".../geany-plugins"
3797 instead of ".../geany" when project name is 'geany'.
3800 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3803 Fix warnings when the toolbar does not contain the Run button.
3805 Fix wrong parsing of complex expressions in the Lua parser.
3806 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
3808 Remove unnecessary enums.
3809 * scintilla/*, scintilla/include/*, src/plugindata.h:
3810 Update Scintilla to version 1.79.
3811 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
3813 Use the new Scintilla struct names prefixed with 'Sci_'.
3814 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
3816 Add second argument to the 'line_wrap_indent' styling setting to
3817 control the new Scintilla indentation mode for wrapped lines.
3819 Properly close the toolbar editor on delete-events.
3820 Fix warnings and possible crashes in the toolbar editor when the list
3821 of displayed toolbar items is empty.
3822 * data/filetypes.tcl:
3823 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
3825 Make the plugin manager dialog a bit bigger.
3828 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3830 * doc/geany.html, doc/geany.txt:
3831 Fix wrong default values for the 'Show Calltip' keybinding.
3834 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3836 * data/filetypes.tcl, src/symbols.c:
3837 Fix duplicate "context_action_cmd" key.
3838 Use different icons for "Methods" and "Procedures" in the symbol
3841 Fix a small memory leak.
3842 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
3843 src/keybindings.h, src/plugindata.h:
3844 Make the Scintilla keybindings 'Delete to end of line' and
3845 'Go to end of display line' configurable.
3847 Fix a typo (closes #2813624).
3850 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3852 * tagmanager/tcl.c, src/symbol.c:
3853 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
3854 methods and namespaces).
3855 Patch by Witek Mozga, thanks.
3858 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3860 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
3861 src/toolbar.c, src/toolbar.h:
3862 Remove ui_toolbar.xml Configuration Files menu item.
3863 Add a real toolbar editor dialog.
3864 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
3866 Add a button in the preferences dialog and an item for the toolbar
3867 popup menu to run the toolbar editor dialog.
3870 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3873 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
3874 Fix using locale encoding for default Save As dialog path.
3876 Beep when trying to activate the '...' autocompletion item.
3877 Limit (forced) document word completion to
3878 autocompletion_max_entries.
3879 Beep if no completions are shown when forcing autocompletion.
3882 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3884 * data/ui_toolbar.xml, src/toolbar.c:
3885 Add 'Build' toolbar button to the default layout.
3888 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3891 If forcing autocompletion and there's nothing else to show, complete
3892 from words in the current document (using code from Enrico's
3893 'AutoComplete Test' plugin).
3896 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3899 Add debug message if plugin has not set a name for its keybinding
3901 * data/filetype_extensions.conf:
3902 Add *.m4 for shell scripts.
3905 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3907 * src/highlighting.c, doc/geany.txt, doc/geany.html,
3908 data/filetypes.common, TODO:
3909 Make filetypes.common named styles use the "default" named style for
3910 all missing style fields.
3911 Set named styles to usually leave the background style empty. This
3912 currently allows C-like filetypes to have a common default
3914 Allow hard-coded colors to use -1 for the default color.
3915 Add some highlighting style examples to the manual.
3918 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3921 Create initial template files with proper platform-specific line
3925 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3927 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
3928 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
3929 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
3930 src/ui_utils.c, src/ui_utils.h:
3931 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
3933 Refactor some related code.
3934 * tagmanager/conf.c:
3935 Strip trailing spaces from "Key" tags.
3937 Quote the full filename to the Geany executable when creating the
3938 "Open with Geany" context menu item.
3939 * plugins/splitwindow.c:
3940 Avoid using deprecated GTK API.
3941 * src/log.c, src/main.c:
3942 Properly clean up the logging mechanism.
3944 Fix LaTeX view commands on Windows (part of #2807688).
3946 Add a popup menu for the keybinding list in the preferences dialog
3947 to easily expand and collapse all groups.
3948 Refactor the keybindings code for the preferences dialog, prefix all
3950 * src/main.c, src/ui_utils.c, src/ui_utils.h:
3951 Init stock items before creating the toolbar (closes #2809324).
3953 Generate the geany.pc file also on Windows.
3955 Invert the logic to determine which Save All we want to use:
3956 Use the Tango like icon only for the Tango theme and the Gnome / GTK
3957 like icon for any other themes.
3960 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3962 * src/highlighting.c, README.Packagers, HACKING:
3963 Remove gsd_* default styles, use named styles instead.
3964 Note: this relies on filetypes.common being installed.
3965 Add load_style_entries(), which makes style initialization
3966 simpler, used in styleset_c_like_init().
3969 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3972 Prevent possible crash on Windows when not setting an initial
3973 directory for native File Open/Save dialogs.
3974 * data/filetypes.xml, src/highlighting.c:
3975 Add style 'jscript_regex' for filetype HTML
3976 (patch by Chris Macksey, thanks).
3979 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3981 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
3982 Make GeanyDocument::file_type always be non-NULL, even for a new
3983 document with no filetype set.
3985 Only autocomplete scope for scopes matching the current filetype's
3987 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
3988 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
3989 data/filetypes.actionscript, data/filetypes.cs,
3990 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
3991 data/filetypes.javascript, HACKING:
3992 Make C++, D lexer filetypes use named styles (apart from uuid,
3993 verbatim, regex styles).
3996 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3999 Don't explicitly change the current directory of the Save As dialog
4000 so that it uses the last used directory.
4003 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4005 * src/encodings.c, src/encodings.h, src/plugindata.h:
4006 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4009 When completing from the macro list, put the cursor after
4013 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4015 * tagmanager/pascal.c:
4016 Fix type definitions being parsed as functions.
4018 Don't autocomplete in unterminated strings as well.
4019 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4020 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4021 Remove data_ptr argument to foreach_[s]list() macros, as using
4022 node->data is enough sometimes; this makes the macro a bit more
4024 Add foreach_[s]list() macros to the plugin API docs.
4027 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4029 * scintilla/LexPascal.cxx:
4030 Backport fix from Scintilla CVS:
4031 Pascal lexer hanging on file that starts with 'interface' after
4035 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4038 Update Waf to 1.5.7.
4040 Overwrite installation prefix on Windows only if it wasn't
4041 specified explicitly.
4044 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4047 Display calltips for Pascal symbols in the Pascal way (#2803945).
4048 * tagmanager/pascal.c:
4049 Fix wrongly set return values for procedures (closes #2803945).
4050 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4051 tagmanager/include/tm_source_file.h,
4052 tagmanager/include/tm_workspace.h:
4053 Fix doxygen warnings.
4056 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4058 * src/editor.c, tagmanager/include/tm_workspace.h,
4059 tagmanager/tm_workspace.c, TODO:
4060 Autocomplete scoped fields like struct members when typing '.' (and
4061 also '->' or '::' in C/C++).
4062 Save all tag types for C/C++ when generating a global tags file, so
4063 we can use autocompletion for structs also.
4064 Merge tm_workspace_find_scope_members(),
4065 tm_workspace_find_namespace_members() (currently not built) from
4066 Anjuta 2.24.1 tagmanager.
4069 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4071 * tagmanager/pascal.c:
4072 Parse Pascal calltips (closes #2802640).
4075 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4077 * src/filetypes.c, src/ui_utils.c:
4078 Add filetypes.common Configuration Files menu item.
4081 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4084 Add backslash to the wordchars on Windows when using
4085 'Open Selected File'.
4087 Add support (configure, build and install) for building on Windows
4088 and cross-compiling for Windows using the Waf build system.
4091 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4094 Set status bar text instead of showing a dialog when saving
4095 ui_toolbar.xml because the user might save several times.
4097 Fix redrawing due to colourising just after the document is first
4098 drawn. Now colourising should happen before the first draw.
4099 * src/utils.c, src/highlighting.c, data/filetypes.common:
4100 Fix segfault on parsing a filetypes.* style definition that has < 4
4102 Allow style definitions to have missing fields to use the default
4106 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4108 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4109 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4110 * plugins/classbuilder.c:
4111 Fix wrongly created header guards when the class filenames contains
4112 dashes (patch by PCMan, thanks).
4113 * data/filetypes.matlab:
4114 Add build_settings section to allow executing Matlab scripts.
4116 When closing a document, mark it as invalid before removing it from
4117 the documents notebook (this fixes wrong Save All button state when
4118 closing an unsaved document because the "switch-page" signal handler
4119 was using old data).
4122 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4124 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4125 Support toggling bold/italic when using a named style, e.g.:
4126 commentdockeyword=commentdoc,bold,italic
4127 Improve named style docs.
4130 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4132 * src/build.c, src/editor.c:
4133 Fix crashes when parsing the output of a compiler which reports
4137 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4139 * src/highlighting.c:
4140 Support named styles also for filetypes.common [styling] entries.
4141 * doc/geany.txt, doc/geany.html, HACKING:
4142 Update docs for named styles in filetypes.* files.
4144 Fix grouping symbol list children when parent name has "." character
4145 in for reStructuredText and Conf filetypes.
4146 * tagmanager/python.c:
4147 Fix grouping functions/classes under a nested function.
4150 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4153 Adjust icon paths (patch by Dominic Hopf, thanks).
4154 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4155 Add 'Replace' toolbar button (closes #2798225).
4158 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4160 * src/utils.c, src/highlighting.c, TODO:
4161 Implement named styles support for filetypes.* using a
4162 filetypes.common [named_styles] section e.g.:
4163 foo=0xc00000;0xffffff;false;true
4165 These can be used in e.g. filetypes.c as:
4169 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4172 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4175 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4177 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4178 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4181 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4184 Remove quote_executable() as it is not used anymore.
4185 When creating the geany_run_script.bat use the "%0" variable
4186 expansion and quote it for the "del" command (closes #2797172).
4188 On Windows, fallback to the literal build command line if searching
4189 for the command in the system path failed (related to #2795923).
4190 Properly terminate the resulting strings when reading the stdout
4191 and stderr of any spawned commands on Windows.
4194 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4197 Use the wide character versions of native Windows File dialogs.
4199 Fix wrong initialisation of the default project path button callback
4200 in the preferences dialog.
4201 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4202 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4203 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4204 icons/Makefile.am, icons/geany.ico, icons/scalable,
4205 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4207 Move the icons geany.png and geany.ico into the icons directory.
4208 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4209 Drop the pixmaps directory.
4212 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4214 * src/keybindings.c:
4215 Improve MRU document switching so there are no duplicates in the
4216 list and documents switched to whilst the dialog is open are
4217 ignored. Also beep when cycling through to the first document in the
4221 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4224 Fix broken 'Cancel' button in the Save As dialog.
4227 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4230 Fix multiline indent when selection covers text on the last line.
4232 Show current document in bold in tab popup menu.
4233 * src/editor.c, tagmanager/python.c, TODO:
4234 Parse Python calltips.
4237 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4239 * src/symbols.c, tagmanager/python.c:
4240 Parse Python import statements to get symbol completion for the
4241 imported module names.
4242 * src/editor.c, src/editor.h:
4243 Make some only locally used functions static.
4244 Fix wrong sanity check.
4246 Fix quoting the build command string on Windows (closes #2791769).
4247 This broke when we made build commands run synchronously on Windows,
4248 now we don't need to special quote the commands anymore.
4251 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4254 Drop rest of word to the right of cursor when autocompleting (do we
4255 need a pref for this?).
4258 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4260 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4261 Add sci_set_selection().
4262 * doc/geany.txt, doc/geany.html:
4263 Update manual for MRU switching.
4264 * src/callbacks.c, src/editor.c, src/editor.h:
4265 Make indenting with the Tabs indent type preserve spaces on the line,
4266 so it works for the 'tab indents, space aligns' formatting style.
4269 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4271 * tagmanager/python.c:
4272 Fix missing symbols for variables when an equal sign is used
4273 in a comment on the same line as the variable declaration.
4274 Backport change from CTags SVN to keep the parser more in sync:
4275 Add support for Cython constructs to the Python parser.
4277 Remember the additional Find in Files search flags at startup.
4279 Don't close the Save As dialog when saving the file didn't succeed.
4282 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4285 Remember scribble cursor position.
4286 * src/keybindings.c, TODO:
4287 Implement Most-Recently-Used document switching when pressing
4288 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4291 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4293 * data/latex.tags: Added some more commands from unit.sty and
4297 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4299 * src/symbols.c, doc/geany.txt, doc/geany.html,
4300 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4301 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4302 tagmanager/Makefile.am, wscript:
4303 Merge unstable branch:
4304 Add reStructuredText scope information for tags (for symbol list
4306 Read custom system global tags files from $prefix/share/geany/tags;
4308 Show the number of tags in a user global tags file (instead of the
4309 running total) in the debug message.
4310 Also print debug messages when loading a tag file manually or for
4311 default global tags files e.g. python.tags.
4313 Move NestingLevel tags code into a separate file, add functions.
4315 Add 'Installation prefix' section instead of quoting '/usr/local'
4317 Update for custom system global tags files.
4320 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4322 * src/highlighting.c:
4323 Unset maybe previously keywords when setting up Scintilla for
4324 XML files. This fixed wrong highlighting after switching back to
4325 filetype XML from another one.
4327 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4328 is only used when explicitly requested.
4330 Remove unnecessary call to g_intern_string() to fix build with
4331 GLib 2.8 (closes #2790051).
4334 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4337 Make the clear icon of entry fields act on the release event, not
4338 on the press event like for other buttons.
4340 Refactor some multiple used code into get_multiline_comment_style().
4342 Create parent directories if necessary when checking for the
4343 configuration directory on startup (closes #2784577).
4346 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4348 * plugins/filebrowser.c:
4349 When a filter is set, apply it only to files, not directories and
4350 apply the filter to the UTF-8 name of the file as the filter string
4351 itself is also UTF-8.
4352 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4353 Add utils_color_invert() and use it in highlighting.c and printing.c.
4354 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4355 Backport change from Scintilla CVS:
4356 Change capitalisation of header file to suit cross-compilation on
4360 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4362 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4363 Update Scintilla to version 1.78.
4364 * src/editor.c, src/highlighting.c:
4365 Update Pascal styles as they changed in Scintilla.
4368 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4371 Ignore the invert syntax highlighting colours setting when printing
4372 to not print characters on a dark background (closes #2785244).
4373 * New release: Geany 0.17 "Wessex".
4374 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4375 src/geany.h, doc/geany.html, doc/geany.txt:
4376 Post-release version bump.
4379 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4381 * src/callbacks.c, src/callbacks.h, src/main.c:
4382 Update the View->Fullscreen menu item when fullscreen state is
4383 changed externally (e.g. by the window manager).
4385 Fix passing wrong pointer to the File Open dialog for the Run
4386 command in the Project Properties dialog.
4389 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4391 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4393 Remember the active sidebar page between sessions.
4395 Add a recent project item after creating a new project.
4396 * tagmanager/ruby.c:
4397 Fix wrong parsing of string literals (closes #2781264).
4399 Fix setting focus to the editor widget after changing the selection
4403 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4406 Prevent crashes when two or more top level items in the symbol
4407 list have the same name (closes #2778246).
4410 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4412 * src/keybindings.c:
4413 Manually show the main notebook tab bar menu when Shift-F10 is
4414 pressed. This broke when we disabled the default GTK tab bar menu.
4416 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4417 which was reloaded shortly before.
4419 When the editor menu is opened by the Menu key, use the text cursor
4420 position for retrieving the current word. This fixes disabled
4421 Go to Tag items in the menu (#2780044).
4423 Set the "ellipsize" property of GtkCellRendererText to automatically
4424 shorten the path and file names in the Documents list.
4425 * doc/geany.html, doc/geany.txt, src/build.h:
4426 Increase the amount of highlighted build error messages to 100.
4427 At least for LaTeX we need higher values as there is a lot of
4428 informative output before any errors are reported.
4429 * src/filebrowser.c:
4430 Use the startup path as the initial directory for the filebrowser
4431 plugin when no project and no files are opened
4432 (patch by Matias Gea, thanks; closes #2780521).
4435 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4437 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4438 src/utils.c, src/utils.h:
4439 Ellipsize tab labels and some status messages for very long
4440 filenames (closes #2777348).
4441 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4442 Add utils_str_middle_truncate() and
4443 document_get_basename_for_display() to the plugin API.
4444 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4445 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4446 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4448 Add a hidden preference 'use_safe_file_saving' to save files to disk
4449 by creating a temporary file first. This has serious side effects,
4450 please read the documentation before enabling this.
4452 Make build commands on Windows run synchronously to avoid problems
4453 with reading build commands' output.
4454 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4455 Limit the amount of highlighted build error messages in the
4456 Compiler window to 50 for performance reasons.
4459 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4461 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4463 Replace our own GEANY_KEYS_MODIFIER_MASK by
4464 gtk_accelerator_get_default_mod_mask() which gives the same result.
4465 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4466 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4467 Add a trivial symbol parser for NSIS files.
4470 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4473 Hide the extra file open dialog options in an expander to make the
4474 dialog more compact by default and to provide more space for the
4476 Remove the filename field as it is also provided by GTK itself with
4477 more features like auto-completion.
4478 Watch the 'show-hidden' property of the file chooser widget using
4479 GObject's "notify" signal which gives accurate results and remove
4480 the hack using the "selection-changed" signal.
4483 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4485 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4486 Prevent double execution of radio menu item "activate" or "toggled"
4488 Move 'Set Encoding' callback function into encodings.c.
4491 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4494 Add some missing 'void's in function definitions.
4495 If the project base path is './', just use the path of the project
4496 config file instead of appending './'.
4497 * src/treeviews.c, src/project.c:
4498 When a project is loaded, replace the project base path with the
4499 project name in the Documents sidebar for parent items
4503 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4505 * src/keyfile.c, src/keyfile.h, src/project.c:
4506 Fix duplicating the recent files and projects lists when closing
4508 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4509 src/editor.c, src/encodings.c, src/filetypes.c,
4510 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4511 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4512 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4513 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4514 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4515 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4516 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4518 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4519 sense to keep the code more readable.
4522 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4525 When updating global type definitions for opened documents, take
4526 also C++ namespace symbols into account and don't ignore symbols
4527 which are defined inside a scope.
4530 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4533 Don't show 'plugin is not binary compatible' messages on the status
4534 bar, only the status window.
4537 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4540 When opening files from a remote instance on X11, set the window
4541 server time to encourage window managers to pop up the main window
4542 (related to #2735467 and #2276179).
4544 When finished sending filenames to a remote instance, notify the
4545 environment that we finished starting up.
4548 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4550 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4551 Sort Configuration Files menu.
4552 Add ui_menu_sort_by_label().
4553 Add foreach_list() macro.
4558 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4561 Fix setting a wrong default window size when starting without an
4562 existing configuration.
4563 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4564 Make editor_highlight_braces() static.
4565 Remove unused wrapper functions.
4566 * src/editor.c, src/symbols.c, src/symbols.h:
4567 Prevent showing an empty macro list.
4568 Show only macros of the same filetype instead of all macros of all
4571 Don't add opened project files to the GtkRecentManager.
4574 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4577 Add Configuration Files item for snippets.conf.
4578 * src/highlighting.c, src/symbols.c:
4579 Fix 2 old uses of filetype IDs.
4582 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4584 * src/interface.c, src/printing.c, geany.glade:
4585 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4588 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4591 Add sanity checks in ui_lookup_widget() just to be safe.
4592 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4593 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4594 src/project.h, src/ui_utils.c, src/ui_utils.h:
4595 Add "Recent Projects" menu to the Project menu
4596 (#2728630, patch by Elias Pschernig, thanks).
4597 * doc/geany.txt, doc/geany.html:
4598 Describe how to build Geany using the Waf build system.
4599 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4600 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4601 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4602 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4603 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4604 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4605 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4606 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4607 src/utils.c, src/utils.h, src/vte.c:
4608 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4609 performance when building the code with gcc.
4610 * src/highlighting.c:
4611 Fix typo in the G_LIKELY checks, introduced in last commit.
4612 Fix the size of the styles array.
4614 Show a message dialog when renaming a file fails.
4617 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4620 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4621 (as we did for all other files in SVN r3382).
4624 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4626 * src/filetypes.c, doc/geany.txt:
4627 Move ActionScript to the Script group.
4629 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4630 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4631 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4632 plugins/htmlchars.c:
4633 Merge reorder-filetypes branch:
4634 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4635 append randomly without breaking the ABI).
4636 Make None filetype name = title = _("None").
4637 Add foreach_slist() macro.
4638 Add filetypes_by_title list to GeanyData for plugin API access
4639 - a list of filetype pointers, which includes the None filetype
4640 first. This list stays constant by the time plugins are initialized,
4641 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4642 index the sorted list.
4645 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4647 * doc/geany.txt, doc/geany.html, src/main.c:
4648 Add widget names for the menubar and toolbar.
4650 When hiding the messages window, set the input focus back to the
4651 editor widget (part of #1910393).
4654 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4656 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4657 Backport recent changes from Scintilla CVS to add partial support
4658 for RFC2822 styled text using the Properties lexer.
4659 Ignore leading whitespace for config files and RFC2822 text.
4660 * data/filetypes.actionscript:
4661 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4662 * THANKS, src/treeviews.c:
4663 Display file/directory icons in the Documents sidebar
4664 (patch by Simon Treny, thanks).
4667 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4669 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4670 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4671 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4672 Add an option to allow appending the toolbar to the main menu bar
4673 to save some vertical space.
4674 Allow setting toolbar icon size to very small (menu icon size).
4677 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4679 * src/keyfile.c, src/utils.c, src/utils.h:
4680 Add utils_path_skip_root(), a relative path safe variant of
4681 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4682 * src/keyfile.c, src/main.c:
4683 Allow negative window coordinates when saving and restoring the
4684 position of the main window.
4685 Restore the main window position and size *after* the window has
4686 been realised to get it positioned accordingly
4687 (this affects at least Windows).
4690 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4692 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4693 Use g_win32_get_package_installation_directory_of_module() on Windows
4694 with newer GLib versions instead of deprecated API.
4695 * src/keybindings.c:
4696 Don't manage the last used documents list when quitting to prevent
4697 errors by accessing invalid memory (may close #2533990).
4700 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4703 Delete the geany_run_script.sh immediately after execution
4704 to prevent leaking old copies when the script was quit unexpectedly
4705 (closes #2710482, patch by Martin Olsson, thanks).
4707 Check whether skipping the root element of a document's filename
4708 succeeded and use the filename itself if not (e.g. on relative
4709 filenames, #2702844).
4710 Use the locale encoded filename when saving session files.
4712 Re-set the quitting status after all documents have been closed on
4716 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4718 * plugins/htmlchars.c:
4719 Remove usage of deprecated sci_get_selected_text() from plugin.
4722 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4725 Delay disk file checks when switching between documents a little
4726 bit to avoid fast, unintentional page switching in some cases.
4727 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4728 src/sciwrappers.c, src/sciwrappers.h:
4729 Deprecate sci_get_text(), sci_get_selected_text() and
4730 sci_get_text_range().
4731 Add sci_get_contents(), sci_get_contents_range() and
4732 sci_get_selection_contents() as replacement functions to provide
4733 an easier and cleaner API (initial patch by Frank).
4736 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4739 Fix wrong parsing of CSS tags when the definition block starts on
4740 a new line (reported by Dominic Hopf, thanks).
4743 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4745 * plugins/htmlchars.c:
4746 Extend plugin by feature to bulk replace and replace on input for
4747 special characters to their HTML entities.
4750 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4753 Update build menu items after changing anything in the
4754 'Set Includes and Arguments' dialog.
4755 Disable Compile/Run buttons/menu items when Compile/Run commands are
4757 Reset current build directory to the base directory after reading a
4758 "Leaving directory" message when parsing Make output
4759 (closes #2694479, patch by Andrea Mazzoleni, thanks).
4761 Fix wrong display of the filename in the tab bar menu for new files.
4763 Set the initial directory for the Save As dialog only once on
4765 Add a shortcut of the project's base directory to the
4766 File Open/Save As dialogs when a project is open for faster access.
4767 * src/splitwindow.c:
4768 Add keybindings for the split actions.
4771 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4774 When using Find All in the Find dialog (in Session and Document),
4775 display the right amount of matches.
4776 Fix the display of the matches once per line (I broke the original
4779 Fix wrong directory selection behaviour in all Open Folder dialogs
4780 (closes #2688020, patch by Marcel Stimberg, thanks).
4782 Don't present the main window of a running instance when starting
4783 a second instance separately.
4786 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4789 Reduce default file permissions on the Unix Domain socket file
4790 (reported by Jörg Sommer, thanks).
4793 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4795 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
4796 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
4798 Add an option to set an additional plugin lookup path.
4800 When using Find All in the Find dialog, display matches only once
4801 per line in the messages window (patch by Bert Vermeulen, thanks).
4804 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4806 * data/filetype_extensions.conf, data/filetypes.actionscript,
4807 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
4808 src/highlighting.c, src/plugindata.h, src/symbols.c,
4809 tagmanager/Makefile.am, tagmanager/actionscript.c,
4810 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
4811 Add filetype ActionScript (patch by Chris Macksey, thanks).
4812 Update type keywords only for real C-like languages.
4813 Fix wrong sorting of Assembler and Ada filetypes.
4814 * plugins/classbuilder.c:
4815 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
4816 Other minor cleanups.
4819 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4822 Don't use menu item images for the tab bar menu to save some
4824 * data/filetypes.fortran, tagmanager/fortran.c:
4825 Add keyword 'extends' and fix Fortran parser to support the
4826 'extends' keyword (closes #2654492).
4827 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
4828 src/search.c, src/toolbar.c:
4832 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4834 * src/about.c, THANKS:
4835 Added Jari Rahkonen to list of Finnish translators.
4838 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4841 Adjust minimum required GTK version.
4842 * src/Makefile.am, wscript:
4843 Add main.h to the list of installed header files.
4844 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
4845 src/notebook.c, src/ui_utils.c:
4846 Remove GeanyDocumentPrivate::tabmenu_label.
4847 Disable the default tab bar menu for the main notebook widget and
4848 use a custom menu instead which lists all open files as usual plus
4849 'Close Other Documents' and 'Close All' menu items.
4852 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4854 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
4855 Move ui_set_search_entry_background() into ui_utils.c.
4856 Change the background colour of the search entries in the Find
4857 and Replace dialogs according to the search results like in the
4858 toolbar search field.
4859 Add images to the 'Replace' and 'Replace and Find' buttons in the
4861 Minor cleanups in search.c.
4862 * tagmanager/tm_source_file.c:
4863 Update source files upon creation.
4865 Update C tags for glibc 2.9.
4866 * src/callbacks.c, src/toolbar.c:
4867 Fix broken non-incremental search with the toolbar search entry when
4868 pressing Enter (closes #2638180).
4869 * plugins/splitwindow.c:
4870 Fix possible crash on non-32-bit systems (patch by
4871 Wolfgang Ocker, thanks).
4873 Update the Packager tag due to Dominic's various contributions.
4874 Update description and feature list.
4875 Change Source tag to the gzip'ed tarball to be in sync with the
4876 Makefile target (thanks to Wolfgang Ocker for reporting).
4879 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4881 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
4882 Removed deprecated plugin VC Diff
4885 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4888 Fix wrong Fortran 90 comment characters when inserting templates.
4889 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4890 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
4891 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
4893 Add 'Send Selection to Terminal' command to the Edit->Format menu
4894 (initial patch by David Gleich, thanks).
4895 * geany.glade, src/interface.c:
4896 Fix mnemonic for the Edit->Preferences menu item.
4899 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4901 * configure.in, plugins/Makefile.am:
4902 Enable socket support when cross-compiling.
4903 Enable plugin compilation when cross-compiling.
4905 Fix missing NULL checks when reading the colour value of compiler
4907 * src/main.c, src/win32.c, src/win32.h:
4908 On Windows, change the working directory to the Geany installation
4909 path at startup to avoid unwanted directory locking(closes #2626124).
4911 Fix broken selection of "Document->Set Encoding" menu items.
4912 * src/document.c, tagmanager/include/tm_source_file.h,
4913 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
4914 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
4915 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
4916 Don't let the tagmanager automatically reparse files if they
4917 seem to be changed on disk (affects all files in the current session,
4918 not the current one). This should speed up file saving a little bit,
4919 especially with remote files.
4920 Remove now unnecessary calls to tm_workspace_update().
4922 Allow an empty value for the date format in the print settings to
4923 omit the date/time string in the print header.
4926 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4928 * src/editor.c: Set cursor for LaTeX at auto closing of environment
4932 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4935 Add missing header include (closes #2615808).
4938 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4941 Fix a possible crash when comparing symbol names
4942 (could be related to Ubuntu bug #147151).
4943 Fix broken symbol list tooltips when tag names contain ampersands.
4946 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4948 * plugins/makefile.win32:
4949 Don't build Split Window plugin on Windows (doesn't work).
4952 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4954 * ChangeLog, Makefile.am: Rotate ChangeLog.
4955 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
4956 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
4957 Post-release version bump.
4960 *** See ChangeLog.pre-0-17 for earlier changes ***