1 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
6 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
7 Restore top-level editor popup item 'Find Document Usage'.
8 * src/interface.c, src/ui_utils.c, geany.glade:
9 Remove duplicates in 'Insert Comments' editor popup menu; rename
11 Separate main menu insertion comments depending on number of times
13 * data/filetypes.*, data/colorschemes/alt.conf:
14 Rename word/word2 named styles to keyword/keyword2.
17 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
20 Fix build with GTK 2.12: explicitly include gio.h if GIO
21 is available and to be used regardless of the USE_GIO_FILEMON flag.
23 Fix installation of template files.
24 Show which regex implementation is used.
26 Use non-GIO mime-type icon lookup if GIO lookup fails.
28 Allow skipping configure during autogen by setting NOCONFIGURE=1
29 (thanks to Chow Loong Jin).
32 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
35 Make use_safe_file_saving hidden pref apply even when GIO is
36 available, because g_file_replace_contents() doesn't handle disk
39 Show GIO/built-in regex support in startup debug message as well as
41 * doc/geany.txt, doc/geany.html:
42 Add docs for the HTMLChars plugin (patch by Frank).
45 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
48 Do not translate 'name' field for filetype None because it is used
49 for hash table lookup. This fixes missing files in the Open dialog
50 for the 'All files' filter with non-English locales (thanks to Sardem
52 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
54 Add filetypes_get_display_name() to get translations for filetype
57 Fix resource leak when saving files with GIO (patch by Colomban
61 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
63 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
64 Add sci_get_lexer() to plugin API.
65 * plugins/htmlchars.c:
66 Only automatically replace characters when the current document is
68 * plugins/htmlchars.c:
69 Rename submenu item labels to be more descriptive.
71 Fix Alt+[0-9] switching tabs when other modifiers are also held.
73 Don't allow pasting of numbers followed by other characters in the
74 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
76 Print "GIO" and "built-in regex" if enabled with --version.
78 Use g_file_replace_contents() if available to save documents - this
79 should help workaround bugs in GVFS (based on patch by Alexey
83 Fix wrongly adding newlines for templates on disk that don't have
84 LF line endings when default line endings are not LF, e.g. Windows.
87 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
89 * src/utils.c, src/main.c:
90 Remove trailing directory separator for app->datadir and
91 app->docdir for consistency with the other directory fields.
93 Detect user and system filetype configuration files as Conf
96 Respect 'Smart' home key for Shift+Home (fixes #3100290).
99 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
101 * data/filetypes.ada:
102 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
105 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
108 Add install-data-only target to only install data/* to speed up
111 Fix not autocompleting when breaking lines.
112 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
113 data/colorschemes/alt.conf, data/filetypes.haxe,
114 data/filetypes.common, data/filetypes.glsl,
115 data/filetypes.actionscript, data/filetypes.cs,
116 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
117 data/filetypes.Genie.conf:
118 Add named style 'extra', use for C-like filetypes.
121 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
123 * data/filetypes.xml:
124 Match data-* and aria-* as HTML attributes.
125 * data/colorschemes/alt.conf, data/filetypes.common,
126 data/filetypes.python:
127 Make Python use named styles for color scheme support - use
128 alt.conf color scheme if you want the old colors.
129 Add named style 'function'.
131 Move plugin_set_info prototype and parenthesize arguments for
132 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
134 Fix putting pointer symbol before name, not after type.
137 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
139 * src/filetypes.c, src/ui_utils.c:
140 Fix notebook tab menu icons using theme for "text/plain" filetypes.
141 Make filetype mime_type "text/plain" instead of NULL.
144 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
146 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
147 Edit XML tag autocompletion pref and tooltip to include HTML.
148 * doc/geany.txt, doc/geany.html:
149 Add docs for 'Ensure consistent line endings' pref.
151 Change default for 'Override Geany keybindings' to on.
153 Sort filetypes_by_title last instead of on insertion to prevent
155 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
156 Add filetype mimetype field (patch by Colomban Wendling, thanks).
157 * src/sidebar.c, src/document.c:
158 Show mimetype icon in sidebar Documents list (patch by Colomban
161 Add notebook tab document icons (based on patch by Colomban
164 Leave text/plain mime_type fields as NULL (like custom filetypes).
167 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
169 * src/editor.c, data/snippets.conf:
170 Move HTML automatic <table> tag completion into a 'table' snippet
171 so the user can decide when to use it (patch by Eugene Arshinov,
173 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
174 src/document.c, src/document.h, THANKS, geany.glade:
175 Add 'Ensure consistent line endings' file saving pref (patch by
177 * src/utils.c, src/utils.h, src/editor.c:
178 Auto-indent after an HTML/XML line with a missing closing tag (patch
179 by Eugene Arshinov, thanks).
180 Behaviour only applies if XML tag autoclosing is off.
181 * src/templates.c, src/build.c, src/document.c, src/editor.c,
182 src/symbols.c, plugins/saveactions.c:
183 Remove unnecessary uses of FILETYPE_ID() macro with
184 GeanyDocument::file_type.
185 * data/filetypes.xml:
186 Add HTML5 attributes (thanks to Ross McKay).
189 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
192 Fix not changing edited keybindings when cancelling the Preferences
194 * data/filetypes.xml:
195 Add HTML5 element names (thanks to Ross McKay).
198 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
200 * src/utils.c, src/filetypes.c:
201 Remove filetype default extensions from code.
203 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
205 Refactor shared code with kb_cell_edited_cb().
208 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
210 * src/highlighting.c:
211 Use radio buttons for View->Editor->Color Schemes menu.
212 Don't hide the menu when only the default item is available.
213 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
214 Add alternative color scheme based on Python colors.
215 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
216 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
217 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
218 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
219 Add Erlang filetype (patch by Taylor Venable, thanks).
220 * src/filetypes.c, data/filetypes.*:
221 Move filetype 'extension' default into data files.
222 * src/filetypes.c, data/filetypes.vala:
223 Move filetype comment_{open,close} defaults into data files.
226 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
228 * data/filetypes.c, data/filetypes.d:
229 Add missing C99 keyword 'restrict' (#3046716).
230 Add missing D1 keywords 'ref' and 'macro'.
233 Parse Vala functions with contracts (#3080232).
235 Fix saving project indent prefs straight after using project
237 * src/highlighting.c, src/filetypes.c:
238 Prevent debug message about a missing 'default' named style when
239 using just a user color scheme file.
242 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
245 Fix off-by-one bug in 'search_mark_all'.
248 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
251 Ignore D /+ +/ comments.
253 Ignore D unittest blocks.
254 Parse D template functions with constraints.
255 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
256 Add 'Insert New Line Before/After Current' keybindings (based on
257 patch by Eugene Arshinov, thanks).
259 Use secondary text for 'file not found on disk' dialog.
262 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
265 Fix build with GLib 2.8.
268 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
270 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
271 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
272 Revert X11 workspace socket support as it needs more work; moved
273 to workspace-sockets branch.
276 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
278 * src/geanywraplabel.c:
279 Fix build with GLib 2.8.
280 * src/dialogs.c, src/about.c, THANKS:
281 Group Open dialog encoding options by submenus (patch by Adam Ples,
283 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
284 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
285 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
286 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
287 Add Lisp filetype (patch by Mário Silva, thanks).
288 Note: Lisp lexer was taken from Scintilla instead.
291 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
293 * po/kk.po, THANKS, src/about.c:
294 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
298 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
300 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
301 Don't cache overridden lexer properties.
302 Add foreach_strv() to plugin API.
303 Add utils_strv_join().
304 * tagmanager/basic.c:
305 Parse property, constructor, destructor as functions (patch by
306 pottersson, thanks; #2992167).
309 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
311 * src/tools.c, doc/geany.txt, doc/geany.html:
312 Fix passing quoted arguments when using 'Send Selection to'. This
313 means sed 's/\./(dot)/g' now works.
315 Add snippet keybinding support for keys in user snippets.conf (based
316 on patch by Eugene Arshinov, thanks). No docs yet.
317 * doc/geany.txt, doc/geany.html:
318 Add some subheadings for Snippets section.
319 * doc/geany.txt, doc/geany.html:
320 Add snippet keybindings docs.
321 * src/highlighting.c, src/utils.h:
322 Move foreach_strv to utils.h.
323 * src/editor.c, data/snippets.conf:
324 Read snippet keybindings from system keyfile also.
325 Add keybinding example to default snippet.conf.
328 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
330 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
331 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
332 data/filetypes.txt2tags, data/filetypes.markdown,
333 data/filetypes.restructuredtext:
334 Add symbol_list_sort_mode per-filetype setting, set to sort by line
335 number by default for Markdown, reStructuredText and Txt2Tags.
336 Add utils_get_setting() macro for reading a key from a home or
338 Move GeanyFiletypePrivate to filetypesprivate.h.
339 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
340 Link with X11 if found to fix linking with a recent GNU ld.
342 Avoid delay and redrawing when automatically opening a new document
344 * scintilla/LexForth.cxx, scintilla/makefile.win32,
345 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
346 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
347 data/filetypes.forth, data/filetype_extensions.conf, wscript:
348 Add Forth filetype (patch by Thomas Huth, thanks).
350 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
351 commands for 'Send Selection to' (oops).
354 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
357 When commenting/uncommenting with single-line comment characters,
358 ignore any end of line characters before evaluating the current line.
359 * data/filetypes.python:
360 Simplify Python Compile/Syntax Check command.
363 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
365 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
367 Add hidden pref 'find_selection_type' with option to repeat last
368 search when there's no selection.
369 Change default Find Selection behaviour to not let the X selection
370 override the current word (can be confusing).
371 Add docs for Find Selection commands.
373 Fix segfault on idle callback when quitting.
374 * src/interface.c, src/keybindings.c, geany.glade:
375 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
377 * src/interface.c, geany.glade:
378 Move editor popup menu Insert Comments submenu to top of Insert menu.
379 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
381 Add hidden pref new_document_after_close for whether to open a new
382 document automatically, off by default.
384 Add 'Bugs to watch out for' section.
387 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
389 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
390 doc/stash-gui-example.c:
391 Improve Stash GUI example.
394 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
396 * src/interface.c, geany.glade:
397 Move Go to Marker menu items to Search menu.
398 Rename popup editor menu item Commands -> Edit.
399 * src/callbacks.c, src/search.c, src/search.h:
400 Move find_again() to search.c.
402 Make Find Selected commands repeat the last search if the selection
404 * doc/geany.txt, doc/geany.html:
405 Add docs for Find Selection keybindings.
406 * src/interface.c, src/keybindings.c, geany.glade:
407 Unify Find Selection strings.
408 * src/interface.c, src/ui_utils.c, geany.glade:
409 Group editor popup Insert commands in a submenu, with extra items
410 for the most commonly used Insert Comments commands.
411 Show Edit->Commands before Format in menubar Edit menu (to match
413 Show Open Selected F_ile popup item below submenus.
416 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
419 Refactor shared submenu code with GeanySharedMenu array.
420 * src/interface.c, src/ui_utils.c, geany.glade:
421 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
422 shared with the editor popup menu.
424 Open a new document automatically after closing all documents.
427 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
430 Prompt for reloading if the document has an undo stack to avoid
431 losing undo ability on accidental reloading (patch by Colomban
433 * src/project.c, src/geanyobject.c, src/geanyobject.h,
435 Add plugin signals project-dialog-create and
436 project-dialog-confirmed so plugins can append a Project Properties
437 notebook tab (patch by Jiří Techet, thanks).
438 * src/ui_utils.h, src/plugindata.h, src/main.c:
439 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
440 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
441 src/plugins.c, plugins/geanyfunctions.h:
442 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
445 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
448 Save document indent width with the session.
449 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
450 doc/geany.html, TODO:
451 Use a separate socket per workspace on X (patch by Erik de Castro
455 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
458 Ignore directories passed on the command-line (based on patch by
459 Erik de Castro Lopo, thanks).
461 Parse D function template names.
462 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
463 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
465 Allow per-document indent width setting (patch by Jiří Techet,
466 updated by Erik de Castro Lopo - thanks).
467 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
468 Combine indent width menu item callbacks.
469 * src/interface.c, geany.glade:
470 Don't translate indent width menu items as they are now used for
474 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
476 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
477 Remove 3 popup menu items to save space:
478 Find Document Usage because Find Usage can be used instead.
479 Go to Tag Declaration because Go to Tag Definition is more common.
480 Go to Line because the toolbar item can be used instead.
481 * src/tools.c, src/search.c, tagmanager/python.c:
482 Fix some 'possible' NULL pointer dereferences (based on patch by
483 Erik de Castro Lopo).
484 * src/keybindings.c, src/keybindings.h, src/prefs.c:
485 Simplify keybindings_check_event().
488 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
491 Use up/down icons for Previous/Next Error.
492 * src/interface.c, src/keybindings.c, src/callbacks.c,
493 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
495 Add Find Usage and Go to Tag items to Search menu for easier
497 * tagmanager/tm_symbol.c:
498 Fix possible NULL dereference.
500 Add link to glade-2.12.2.tar.gz on geany.org.
501 * doc/geany.txt, doc/geany.html:
502 Mention the filetype wordchars setting can be overridden by the
503 whitespace_chars filetypes.common setting.
504 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
505 Remove NULL checks when calling g_free() (patch by Erik de Castro
508 Show Save As when saving if the document filename doesn't have an
509 absolute path, so command-line new files can be saved without a
510 prompt, but file templates still prompt the user.
513 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
516 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
520 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
522 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
523 Add GeanyMainWidgets::message_window_notebook for plugins to append
524 a new notebook page (#3061342).
526 Add Close button to the detected file changed dialog.
527 * src/interface.c, geany.glade:
528 Add separator between Find Previous and Find in Files.
529 Add up/down icons for Previous/Next Message.
532 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
534 * data/snippets.conf:
535 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
539 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
542 Fix broken editing of build menu labels.
543 * src/encodings.c, src/filetypes.c, configure.ac:
544 Auto-enable building with included regex if no regcomp function is
546 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
547 regex support is required.
549 Backport fix for possible infinite loop from CTags.
550 * scintilla/PlatGTK.cxx:
551 Backport list box memory leak fixes from Scintilla 2.20.
554 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
557 Make the Properties dialog filename a label and put it first (patch
558 by Jiří Techet, thanks).
559 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
561 Remove the "Set build working directories" button from the project
562 properties dialog (patch by Jiří Techet, thanks).
564 Include all files if the Find in Files pattern field is enabled and
567 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
570 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
572 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
573 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
574 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
575 data/filetypes.txt2tags, wscript:
576 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
577 * m4, configure.ac, Makefile.am:
578 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
580 Only prompt for reloading if the document has unsaved changes
581 (patch by Jiří Techet, thanks).
584 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
587 Apply a patch by Jiří Techet which is preventing warnings when using
588 -Wmissing-prototypes on compiling. Thanks.
591 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
593 * scintilla/KeyWords.cxx:
594 Link Octave instead of Matlab.
595 Add comment about not being autogenerated.
596 Minor changes to fit Scintilla order.
597 * src/build.c, src/build.h:
598 Replace GeanyBuildCommand::entries array with separate fields.
599 Similar to r5077 in the bs2 branch, but with less loop unrolling.
601 Remove buildcmd_* accessor functions.
604 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
606 * src/highlighting.c, src/editor.c:
607 Use Octave lexer instead of Matlab to support Octave # comment char.
610 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
613 Fix segfault on Tools->Reload Configuration when no documents are
615 * scintilla/LexMarkdown.cxx:
616 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
619 Fix saving non-project filetype error regex.
621 Fix memory leak in read_regex().
624 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
627 Check for libsocket on OpenSolaris to fix build.
629 Rewrite the logic to auto detect encodings a bit to make it more
630 readable and fix a slightly wrong detection on Windows
632 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
634 Add editor_goto_pos() to the plugin API.
637 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
640 Check for git-svn repo, not just git because find-rev doesn't
641 always fail with a git-only repo.
644 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
647 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
650 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
652 * doc/geany.txt, doc/geany.html:
653 Reorder Focus keybindings.
656 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
659 Applying a patch by Erik de Castro Lopo for checking against
660 pkg-config when running autogen.sh. Thanks for the patch.
662 Applying a patch by Colomban Wendling to print out log domains.
666 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
668 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
669 Use single binding_ids keybinding array instead of individual
670 arrays for core keybindings. This allows the keybinding IDs to be
671 merged into one enum; the order of keybindings is now just the
672 order they are added to each group. Keybindings can be reordered
673 without breaking the plugin ABI but groups must stay the same.
675 Fix writing the default value when a key is missing for hidden
676 prefs, even if it was overridden when it was originally read.
677 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
678 Move some interface hidden prefs to ui_utils.c.
680 Revert r4840 scope completion mode as it sometimes breaks
682 * src/keybindings.h, src/plugindata.h:
683 Randomly sort keybinding IDs to show there should be no order.
685 Reorder Focus keybindings.
688 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
690 * src/ui_utils.c, src/ui_utils.h:
691 Make ui_label_new_bold() a function.
692 Escape the name of the current document for markup when using
693 document name for menu items (closes #3038844).
695 Inherit 'beep on errors' preference for the audible bell preference
696 for the VTE (closes #3038215).
699 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
701 * src/utils.c, src/utils.h:
702 Add utils_get_eol_char().
703 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
704 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
706 Ensure inserted templates always have proper line ending characters
707 according to the current document's preference.
708 This is also fixes problems with templates on Windows which had
709 always Unix line ending characters but now since they are read
710 from files, these have Windows line ending characters and had been
714 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
717 Fix build with GTK 2.8, use the stock icon name directly instead
718 of the macro. Though, the icon is still missing for GTK 2.8.
720 Make make_comment_block() work with a GString. This is not yet
721 perfect but a bit better than before.
724 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
726 * src/keybindings.c, src/vte.c, src/vte.h:
727 Implement 'Select All' for the VTE widget.
730 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
733 Fix missing template files in the Windows installer.
736 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
738 * data/filetypes.python:
739 Update list of Python builtins, based on Python 2.6.
742 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
745 On Windows, convert filetype extensions read from config files
746 to lower case (closes #3028856).
749 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
752 Focus toolbar item when pressing Go to Line keybinding only when
753 it's not in the toolbar's drop down overflow menu (fixes #3027454).
756 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
759 Fix build menu translation problems.
762 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
768 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
771 Fix scrolling the editor line in view after loading a session and
772 switching document tabs. Note this causes repainting so needs
774 * doc/geany.txt, doc/geany.html:
775 Add note to restart Geany after installing/updating before editing
777 * src/ui_utils.h, src/main.c, src/ui_utils.c:
778 Use Stash to save statusbar_template setting, instead of the
779 load/save-settings signal.
783 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
785 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
786 Fix writing empty hidden pref "statusbar_template" key so users can
787 find it (patch by Dimitar Zhekov, thanks).
788 * src/ui_utils.c, src/ui_utils.h, src/main.c:
789 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
792 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
794 * src/build.c, src/project.c, src/project.h:
795 Show the Project Properties build tab when choosing 'Set Build
796 Commands' for now to prevent confusion with non-project commands.
799 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
801 * src/search.c, doc/geany.txt, doc/geany.html:
802 Fix Grep --exclude-dir example.
805 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
808 Add sidebar Documents popup menu item 'Find in Files'.
809 * src/keyfile.c, src/main.c, src/editor.c:
810 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
811 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
814 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
816 * doc/geany.txt, doc/geany.html:
817 Fix wording - restarting is required for hidden prefs.
818 File templates don't need manual reloading anymore.
820 Fix only adding project base path to Find in Files history if it
821 isn't already there (oops).
823 Parse lines in the Messages window even if Find in Files hasn't
824 been used yet (patch by Jiří Techet, thanks).
827 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
829 * scintilla/LexCPP.cxx, src/highlighting.c:
830 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
832 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
833 data/filetypes.common:
834 Add filetypes.common fold_symbol_highlight color setting.
835 Add API macro foreach_range().
836 * src/printing.c, doc/geany.txt, doc/geany.html:
837 Always use white background color when printing (except for text
838 with a white foreground) to save ink (should fix #2968998).
839 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
840 Limit build error editor indicators to 50, but parse all errors in
841 the Compiler tab (fixes #3019823).
844 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
846 * src/highlighting.c:
847 Re-enable fold.comment for lexers - it was disabled to prevent C
848 //{ explicit folding, but that also disables stream comment folding
850 * tagmanager/tm_workspace.c, tagmanager/get.c:
851 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
853 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
854 doesn't affect the bug with document switching not scrolling cursor
855 in view after loading a session.
858 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
860 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
861 Add statusbar_template hidden pref (based on patch by Dimitar
863 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
864 Add spaces after RO when using %r in statusbar_template setting.
865 Add space between encoding and BOM.
866 Note \t means tab for default text.
869 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
872 Restore tabbing past Find in Files combo box drop down menus.
875 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
877 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
878 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
880 Move plugin signals docs to pluginsignals.c, using function
881 pointer syntax instead of @signaldef as this puts a summary of
882 the signal names at the top of the page and sorts alphabetically.
883 (Note: the syntax is similar to Vala signal syntax).
886 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
889 Make default dialog entries use GTK_STATE_INSENSITIVE color not
890 a fixed color (Suggestion by Ditmar Zhekov)
893 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
895 * src/search.c, doc/geany.txt, doc/geany.html:
896 Implement Find in Files file pattern search.
898 Add file pattern to combo box history.
899 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
901 Use ui_hookup_widget() instead of g_object_set_data_full() for
905 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
908 Add Files checkbox and combo to Find in Files dialog, currently
909 does nothing & is disabled.
910 Don't try to focus the next entry on pressing tab anymore as this
911 is more complicated now.
914 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
917 Put Find in Files Search field above Directory field.
918 * src/search.c, doc/geany.txt:
919 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
920 regular expressions' radio buttons with a 'Use regular expressions'
921 checkbox. This uses the extended syntax (which is the same as the
922 Find/Replace regex syntax).
924 Move 2 Find in Files checkboxes for even spacing.
927 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
929 * tagmanager/tm_work_object.c:
930 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
934 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
936 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
937 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
938 Add ui_combo_box_add_to_history() to API.
939 * plugins/filebrowser.c:
940 Add history to path entry.
941 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
942 Fix not loading plugins built against a newer API when Geany doesn't
943 provide the required version given in PLUGIN_VERSION_CHECK().
944 Improve documentation for PLUGIN_VERSION_CHECK().
945 * plugins/filebrowser.c:
946 Allow Find in Files when no items are selected.
947 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
948 Add API signal "build-start" (patch by Jiří Techet, thanks).
951 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
954 Replace /home/user with ~ in the documents list (patch by Jon
957 Make default Build dialog entries grey, not light grey (too hard to
958 read on a white background).
960 Display 'new instance' on title bar (patch by Eugene Arshinov,
963 Remove any duplicate on adding to combo box histories.
966 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
969 Align notebook tab close buttons centred vertically - thanks to
971 * Merge unstable branch:
973 Make build config entries light grey until set.
974 - src/keybindings.c, src/about.c, THANKS:
975 Fix the wrong file being put on top of the stack when switching tabs
976 too quickly (patch from Jiří Techet, thanks).
977 - src/templates.c, data/templates/gpl, data/templates/function,
978 data/templates/changelog, data/templates/bsd,
979 data/templates/fileheader, wscript, Makefile.am:
980 Move general templates from source code into files.
981 Load general templates from system path instead of creating them in
982 the user's config dir.
985 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
988 Add doc/stash-example.c to fix 'make distcheck'.
990 Change the RequestExecutionLevel for the Windows installer to
992 * New release: Geany 0.19 "Vellam".
993 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
994 geany_private.rc, win32-config.h, wscript, src/geany.h:
995 Post-release version bump.
998 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1001 Group undo action for Insert Multiline Comment.
1004 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1007 Don't individually install data/*.tags as all data/* files will be
1011 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1013 * tagmanager/tm_project.c:
1014 Fix a double free. (patch by Daniel Marjamaki, thanks).
1017 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1019 * tagmanager/tm_workspace.c:
1020 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1022 Fix reducing paths to project name in the Documents list
1023 (patch by Eugene Arshinov, thanks).
1025 Fix crash when trying to sort NULL pointers as tags in the Symbols
1026 list (closes #3011986).
1027 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1028 Update Scintilla to version 2.12.
1029 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1030 scintilla/LexCrontab.cxx:
1031 Remove unused Crontab lexer.
1032 * data/filetypes.css, src/highlighting.c:
1033 Add new style "media" for filetype CSS.
1036 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1038 * doc/geany.txt, doc/geany.html:
1039 Build section: minor rewording, formatting fixes; move some
1043 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1046 Explicitly try to localise build menu item labels with
1047 gettext to enforce getting default labels translated.
1048 * tagmanager/tm_workspace.c:
1049 Fix not closed FILE pointer on early exit
1050 (patch by Daniel Marjamaki, thanks).
1052 Update images for Geany 0.19.
1054 Destroy the default symbol list treeview only once
1055 (fixes gtk_widget_destroy warning on exit).
1058 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1060 * tagmanager/sort.c:
1061 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1063 Fix parsing of C++ classes contain attributes with bitfields
1064 (patch by Lex Trotman, thanks).
1065 * src/plugindata.h, src/plugins.c:
1066 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1067 plugins' meta information can be translated already in the
1068 plugin manager dialog (patch by Colomban Wendling, thanks).
1071 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1074 Print locale information in debug output.
1076 Fix some labels which were marked as translatable but were not
1077 handled properly by gettext().
1078 Add a missing const.
1080 Try to convert text into UTF-8 before adding it to the Compiler and
1081 Messages Window (closes #3007919).
1084 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1086 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1088 Pass G_LOG_DOMAIN to source files for better logging.
1091 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1093 * THANKS, src/about.c:
1094 Update of translation credits to reflect a change on Spanish
1095 translation team better.
1098 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1101 Fix infinite loop reading build command output
1104 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1107 Fix duplicate accelerators for Clear and Copy in the
1108 Messages Window popup menu.
1109 * src/pluginutils.c:
1110 Expand child widgets in the Plugin Preferences dialog
1111 (patch by Colomban Wendling, thanks).
1114 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1117 Fix Undo/Redo button state after the last document has been closed.
1118 Add Print and Replace toolbar items to the list of document
1121 Fix crash when the toolbar is reloaded without any open documents.
1123 Fix Run toolbar item sensitivity after the last document has been
1125 * plugins/classbuilder.c:
1126 Remove two unnecessary g_strdups().
1127 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1128 src/plugindata.h, src/ui_utils.h:
1129 Add hidden preference to disable automatic scrolling in the
1130 Compiler tab (closes #3004714).
1133 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1135 * plugins/classbuilder.c:
1136 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1139 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1141 * src/prefs.c, src/project.c:
1142 win32.h can be included unconditionally.
1144 Fix project base_path detection if the path has a trailing slash.
1145 * src/document.c, src/editor.c, src/project.c:
1146 Small improvements to speed up quit process with many open documents.
1147 Avoid calling gtk_notebook_remove_page() on exit as it takes
1149 * src/geanymenubuttonaction.c:
1150 Explicitly check for the type when iterating the action's proxies.
1151 For some reason on Windows, a GtkImageMenuItem proxy is created.
1152 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1153 src/plugindata.h, scintilla/*, scintilla/include/*:
1154 Update Scintilla to version 2.11.
1155 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1157 Add new GTK define also for Mingw cross compilation and
1158 makefile.win32 based Windows builds.
1159 * plugins/filebrowser.c:
1160 Implement reading and evaluating hidden file attribute on Windows.
1161 Fix broken "Go Up" if the current path ends with a slash.
1162 * THANKS, src/about.c, src/prefix.c:
1163 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1164 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1165 src/main.c, src/notebook.c, src/prefs.c:
1166 Add preference to add new document tabs beside the current one
1167 (patch by Colomban Wendling, thanks).
1168 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1169 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1170 Add a preference for choosing between GTK and native
1171 File Open/Save dialogs (only available on Windows).
1172 * doc/geany.html, doc/geany.txt:
1173 Update documentation.
1176 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1179 Sort file filters for the native Windows file open dialog by name.
1180 Don't use file filters for the native Windows Save As dialog.
1181 * src/dialogs.c, src/win32.c, src/win32.h:
1183 Pass and use also parent and title arguments to
1184 win32_show_document_open_dialog().
1186 Call handle_save_as() only when the Save As dialog was not cancelled.
1188 Improve adding/removing of the special separator between menubar and
1189 toolbar when the toolbar is appended to the menubar.
1190 * src/toolbar.c, src/templates.c:
1191 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1192 not trigger updating the menus on each item removal.
1195 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1198 Replace one non breaking space by normal space. Patch by
1202 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1204 * plugins/classbuilder.c:
1205 Don't make the 'Create Class' menu item document-sensitive
1206 (patch by Colomban Wendling, thanks).
1207 Add namespace support for GTK+ classes.
1208 Add GET_CLASS() macro for GTK+ classes.
1209 Add typedef of the private structure in the header file instead
1211 (all the above from a patch by Colomban Wendling, thanks).
1212 * src/highlighting.c:
1213 Set common default "fold.comment" to 0 to disable it. This can
1214 be overridden if desired.
1216 Improve sorting of document list items
1217 (patch by Colomban Wendling, thanks).
1219 Remove unnecessary textdomain() call.
1222 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1225 Fix search_find_text not returning -1 when match is out of range.
1226 This fixes invalid memory reads and wrong template filename
1227 wildcard replacement.
1228 * src/search.c, src/document.c:
1229 Only replace template filename matching start of word on saving.
1230 * plugins/filebrowser.c:
1231 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1232 * src/build.c, src/build.h, src/project.c:
1233 Make some ugly build.h global variables static.
1234 * src/build.c, src/build.h, src/project.c:
1235 Add Build prefix for TableFields, TableData.
1238 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1241 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1242 * src/dialogs.c, src/win32.c, src/win32.h:
1243 (Re-)Implement a (still basic) native Windows Save As dialog when
1244 compiled with GEANY_USE_WIN32_DIALOG.
1247 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1249 * THANKS, src/about.c, plugins/classbuilder.c:
1250 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1251 * src/ui_utils.h, src/ui_utils.c:
1252 Add public, generic callback ui_editable_insert_text_callback()
1253 to restrict GtkEntry text inputs to +/- and numeric values only.
1254 * src/dialogs.h, src/dialogs.c:
1255 Add special variant dialogs_show_input_goto_line() to use a normal
1256 GtkEntry together with dialogs_show_input_goto_line() for text input.
1257 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1258 Allow '+<number' and '-<number>' as values for Goto Line inputs
1259 to jump relative to the current line (closes #2997238).
1262 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1264 * src/highlighting.c:
1265 Apply foreground and background colours of the folding margin
1266 style properly (closes #2998347).
1268 Don't auto-close short XML tags (closes #2994852).
1269 * THANKS, src/about.c, src/keybindings.c:
1270 Improve jumping to matching braces by consistently position the
1271 cursor before or after the matching brace dependent where it
1272 was before (patch by Dimitar Zhekov, thanks).
1274 Fix crash when generating global tags files (patch by Colomban
1278 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1281 Avoid connecting signals more than once.
1284 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1287 Don't ignore the 'intltool' check on non-Windows systems, instead
1288 raise a configure error.
1291 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1294 Fix marking some strings as translatable (cannot be done in the
1296 * src/templates.c, doc/geany.txt, doc/geany.html:
1297 Reload templates if saving a document in the templates config dir.
1300 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1302 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1304 Fix replacing {filename} template wildcard for custom file
1305 templates with non-default file extension.
1306 Add search_find_text() for POSIX regex searches.
1307 * src/templates.c, doc/geany.txt, doc/geany.html:
1308 Add {project}, {description} template wildcards (#2954737).
1309 * doc/geany.txt, doc/geany.html:
1310 Divide template wildcards into groups.
1311 * src/plugindata.h, src/plugins.c, src/symbols.c,
1312 plugins/geanyfunctions.h:
1313 Add symbols_get_context_separator() to plugin API (patch by Colomban
1317 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1319 * src/keybindings.c:
1320 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1321 Anonymous, thanks; #2995593).
1322 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1323 plugins/geanyfunctions.h:
1324 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1325 (patch by Colomban Wendling, thanks).
1328 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1331 Warn user if hidden hard tab width setting is not 8.
1334 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1336 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1337 doc/geany.txt, doc/geany.html:
1338 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1339 always be 8. (Hidden setting kept in case users have modified it).
1342 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1344 * doc/geany.txt, doc/geany.html:
1345 Add Folding section link to filetypes.common custom settings.
1348 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1351 When switching documents, don't call document_set_text_changed()
1352 as this does much more than necessary. Instead call the necessary
1353 UI update functions explicitly.
1356 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1358 * tagmanager/vstring.c:
1359 Fix invalid memory read (patch by Colomban Wendling, thanks).
1362 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1364 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1365 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1366 strings in case of reaching the buffer size limit (part of #2979697).
1368 Change the limit for the command line length when executing commands
1369 to a maximum of 32768 characters (closes #2979697).
1370 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1371 * tagmanager/ctags.c:
1372 Change eFree() to simply ignore NULL pointers instead of asserting.
1374 Remove malloc() fallback since we completely rely on g_malloc()
1376 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1377 plugins/saveactions.c:
1378 Make string arguments const where appropriate (patch by
1379 Colomban Wendling, thanks).
1380 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1381 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1382 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1383 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1384 src/symbols.c, src/templates.c, src/ui_utils.c:
1385 Make string arguments const where appropriate (patch by
1386 Colomban Wendling, thanks).
1389 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1391 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1392 Make plugin_signal_connect() string argument const (patch by
1393 Colomban Wendling, thanks).
1394 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1395 Constify some more string pointers in the API (patch by
1396 Colomban Wendling, thanks).
1397 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1399 Support {pc} wildcard in snippets to escape percent char.
1401 Recalculate line margin width when zooming (fixes #2990553).
1402 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1403 data/filetypes.common:
1404 Support more folding icon styles: arrows, +/- and no lines
1408 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1411 Fix Windows build by properly guarding Unix-only code.
1414 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1416 * src/templates.c, doc/geany.txt, doc/geany.html:
1417 Support {ob} and {cb} in fileheader and file templates; they are
1418 replaced last with { and }. This allows 'escaping' of wildcard
1420 * src/editor.c, plugins/classbuilder.c:
1421 Fix Class Builder plugin to use correct indentation instead of
1423 Make editor_insert_text_block() only replace leading tabs for the
1424 'Tabs' indent type; also group edits for undo.
1425 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1427 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1430 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1432 * tagmanager/pascal.c:
1433 More fixes to prevent possible crashes by trying to free NULL
1436 Automatically show and hide the sidebar notebook tabs according
1437 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1439 Add a static global variable to monitor autocompletion mode in order
1440 to prevent cancellation of the struct/class (C/C++) auto completion
1441 list (patch by Thomas Martitz, thanks).
1443 When starting and trying to access the Unix Domain socket of a
1444 potentially running instance, first compare file ownership with the
1445 user id of the running process to prevent accessing a wrong socket
1446 file (part of #2985463, this might not yet be the final solution).
1449 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1451 * plugins/filebrowser.c:
1452 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1453 Files' option (fixes #2989288).
1456 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1458 * tagmanager/entry.c, tagmanager/entry.h,
1459 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1460 tagmanager/parse.h, tagmanager/tm_source_file.c:
1461 Add tm_source_file_set_tag_arglist() to manually set the argument
1463 * tagmanager/python.c:
1464 Use tm_source_file_set_tag_arglist() to set the argument list
1465 field of Python class tags to the argument list of their
1467 Backport a fix from CTags SVN to prevent possible crashes by trying
1468 to free NULL pointers.
1471 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1473 * tagmanager/txt2tags.c:
1474 Remove duplicate code from Txt2Tags parser.
1475 Remove the title control characters ('=') when parsing titles.
1476 Also parse numbered titles (closes #2984703).
1477 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1479 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1480 Add missing documentation for 'Reset Zoom' keybinding.
1482 Another attempt to fix the PHP parser regexp for parsing functions.
1483 Fix wrong parsing of function arguments when those contain nested
1484 brackets (as reported by Harold Aling).
1486 Fix Ctrl-Click on notebook tab if Numpad is active.
1489 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1491 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1492 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1493 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1494 src/ui_utils.c, src/ui_utils.h:
1495 Add option 'System Default' for toolbar icon style and size to
1496 use the GTK default value.
1497 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1498 src/toolbar.c, src/toolbar.h:
1499 Shorten the toolbar popup menu, only provide items for Toolbar
1500 Preferences and to Hide the toolbar.
1502 Instantly update the toolbar icon size and style when the
1503 corresponding global GTK settings are changed.
1504 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1505 src/plugindata.h, src/socket.c:
1506 Add new command line option --list-documents to return a list
1507 of currently opened documents (closes #2979933).
1510 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1512 * plugins/htmlchars.c:
1513 Make plugin remember whether replacement of special characters was
1514 activated even after restart of Geany or reloading of plugin.
1517 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1520 Fix inserting snippets with an indent when using Mac CR line
1523 Update status bar after using Document->Set Line Endings.
1525 Improve API docs for editor_insert_text_block().
1528 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1531 Refactor snippets_complete_constructs().
1532 Remove an unnecessary TODO.
1534 Fix indenting a snippet when there is whitespace after the
1538 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1540 * doc/geany.txt, doc/geany.html:
1542 * src/build.c, src/msgwindow.c:
1543 Fix disabled compiler message tracking if using indicators to
1544 show build errors is disabled (closes #2982834).
1547 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1549 * scintilla/Editor.cxx:
1550 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1551 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1552 replacing in a rectangular selection.
1555 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1558 Re-detect any document filetypes set to None after reloading
1559 filetype extensions (closes #2979661).
1561 Fix showing '...' item last instead of first for document word
1565 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1567 * data/filetypes.perl:
1568 Adjust Perl Compile command to use the -c command
1569 line option to perform a syntax check instead of using the
1570 deprecated ByteCompile module.
1571 Add error_regex to parse error messages and warnings when performing
1572 syntax checks on Perl files.
1575 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1577 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1578 Add API docs for keybinding enums.
1579 * src/notebook.c, doc/geany.txt, doc/geany.html:
1580 Make Ctrl-click on any notebook tab switch to the last used
1584 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1586 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1587 src/geanyentryaction.c, src/geanyentryaction.h,
1588 src/geanywraplabel.c:
1589 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1590 object for efficiency.
1593 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1595 * plugins/classbuilder.c:
1596 Beep if the user hasn't entered a class name on pressing OK.
1598 Fix replacing '^' regex.
1599 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1600 plugins/geanyfunctions.h:
1601 Add Stash widget functions to API.
1603 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1607 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1609 * THANKS, src/vte.c:
1610 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1612 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1613 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1614 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1615 Add Stash setting functions to API.
1616 Remove unnecessary argument to stash_group_load_from_file().
1617 * src/geanyobject.c, plugins/classbuilder.c:
1618 Don't generate FOO_GET_PRIVATE() macro because caching the result
1619 in Foo::priv can be much more efficient.
1622 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1625 Fix cursor positioning when toggling comments
1626 (patch by Thomas Martitz, thanks).
1629 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1631 * src/keybindings.[hc]:
1632 Added Control+0 for zoom reset, see suggestion from #2969886.
1635 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1637 * src/search.c, src/document.c:
1638 Fix wrong selection range after Replace in Selection.
1641 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1644 Make CreateChildProcess() working with Unicode strings, e.g.
1645 directory names (closes #2972606).
1647 Remove reference to already removed latex.tags file.
1648 Future releases probably still depend on GTK 2.16.
1649 * scintilla/ScintillaGTK.cxx:
1650 Backport fix from Scintilla CVS to not paste text beyond the end
1651 of lines (closes #2969096).
1652 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1654 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1655 to not set Geany's minimum window size anymore (closes #2972992).
1656 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1659 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1662 Make adding string and string vector settings initialise the setting
1664 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1665 Add stash_group_load_from_file() and stash_group_save_to_file().
1668 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1670 * data/filetypes.common:
1671 Set default for wrapped lines to show marker at end of line only
1672 (more expected and doesn't change line alignment - closes #2972386).
1673 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1674 src/pluginutils.c, doc/plugins.dox:
1675 Improve API docs contents page by listing all commonly-used files.
1676 Fix 'Date' appearing twice on the date line.
1677 Don't generate API docs for prefs.h, toolbar.h (unused).
1678 Move some '@file' doc-comments to the .c file.
1679 * src/interface.c, geany.glade:
1680 Add frame for 'Printing' prefs dialog page.
1681 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1682 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1683 doc/stash-example.c:
1684 Rename Stash data types to be independently named from Geany (so
1685 Stash can be reused for other projects).
1686 Rename GeanyPrefGroup to StashGroup.
1689 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1691 * tagmanager/python.c:
1692 Apply patch from Colomban Wendling to parse Python lambda functions
1693 (thanks) - modified to only parse toplevel or class member lambdas.
1694 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1695 doc/stash-example.c:
1696 Add doc-comments for Stash setting functions.
1697 Add an example file showing usage of Stash.
1698 (Not enabled yet until added to the plugin API).
1701 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1704 Fix using return value without checking return status, caused
1705 incorrect sensitivity settings on build dialog.
1708 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1711 Add tip about gcc optimization & warnings/debugging.
1712 Add Testing section.
1713 Update Libraries section about synchronizing with other projects.
1716 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1719 For now revert the recent patch which set real_path of newly
1720 open non-existent configuration files as this seems hackish and
1721 causes 'file not found' warnings.
1723 Fix/Improve GIT repository detection
1724 (patch by Thomas Martitz, thanks).
1725 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1727 Add utils_copy_environment() to the plugin API.
1730 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1732 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1733 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1735 Use 3rd person for more API dox.
1736 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1738 Change 'After all...' to 'Afterwards...'.
1739 * src/interface.c, geany.glade:
1740 Apply patch from Eugene Arshinov to make frame packing/alignment
1741 more consistent (thanks).
1744 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1747 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1748 that gtk_button_[sg]et_label() work as expected.
1749 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1750 Make Build Commands dialog show menu item labels as a button (to
1751 help show that menu labels don't normally need to be edited &
1752 display the mnemonic correctly). Clicking shows an input dialog to
1753 set a new menu item label.
1754 Split dialogs_show_input() into 2 functions: one simple, one for
1755 a persistent dialog.
1756 Fix possible double-destroy of input dialog when closed by user.
1758 Fix not destroying 'Make Custom Target' input dialog after first
1761 Make Long Line Marker settings for existing projects default to
1762 general settings instead of 0 (thanks to Eugene Arshinov).
1763 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1764 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1765 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1766 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1767 Use 3rd person (gets not get) for API function brief descriptions.
1768 Avoid using 'convenience function' in API brief descriptions.
1771 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1773 * doc/geany.txt, doc/geany.html:
1774 Warn about some GNU extensions for regular expressions & clarify
1776 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1777 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1778 src/editor.h, geany.glade:
1779 Apply patch from Eugene Arshinov to add project long line marker
1780 customisation (thanks).
1781 * src/interface.c, geany.glade:
1782 Edit/tidy 'Long line marker' labels.
1785 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1787 * src/build.c, src/project.c:
1788 Fix crash due to NULL in project build preferences (thanks to
1792 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1794 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1795 src/document.c, doc/geany.txt, doc/geany.html:
1796 Merge gnu-regex branch:
1797 Use POSIX system/GNU regex engine for find & replace 'Use regular
1798 expressions' option. This alters regex syntax a bit - see the docs
1799 for details; we now support '?' operator and replacement backslash
1800 escaping is more standard.
1801 Make regex search imply replacing escaped chars.
1802 Allow \0 backreference replacement for the whole match.
1803 Note: Replace All may be slower; if this is a problem please let me
1806 Add argument to utils_str_replace_escape() for keeping
1807 uninterpreted backslash escapes e.g. '\\', '\e'.
1808 * scintilla/LexMarkdown.cxx:
1809 Backport minor formatting/style changes from Scintilla project.
1810 * doc/geany.txt, doc/geany.html:
1811 Remove warning about no visual indication for zero-column-mode
1815 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1818 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1821 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1823 * wscript, scintilla/*, scintilla/include/*:
1824 Update Scintilla to version 2.03.
1825 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1826 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1827 Add preference for virtual spaces.
1829 Fix wrong default response for the Debug Messages dialog.
1831 Fix crashes when using Save As with no open files (closes #2964406).
1833 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1834 move the question from the secondary to the main text to be
1835 more compatible with the Gnome HIG.
1836 Fix broken 'Save' action in 'Resave missing file' dialog.
1838 Improve PHP parser to parse also the argument lists of PHP functions.
1840 Correctly set the parent widget for the keybinding overwrite
1841 confirmation dialog.
1843 Fix setting the icon for some dialogs if the parent itself is also
1846 When editing non-existent config files using the Tools->Configuration
1847 Files menu, explicitly set the real_path to avoid presenting the Save
1848 As dialog when saving the file (patch by Tony Rick, thanks).
1850 Focus the editor widget after hiding the sidebar when it had the
1851 input focus (patch by Can Koy, thanks).
1852 Properly show/hide the mesages window when using the View menu item
1854 * plugins/filebrowser.c:
1855 After opening files, focus the editor widget
1856 (based on a patch by Can Koy, thanks).
1857 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1858 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1859 src/ui_utils.h, src/vte.c:
1860 Add and use convenience function ui_is_keyval_enter_or_return() and
1861 add it to the plugin API.
1864 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1866 * src/about.c, THANKS, po/ast.po:
1867 Added Asturian translation. Thanks to Marcos Costales for providing.
1870 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1873 Fix keyboard accelerators in debug messages window
1877 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1879 * scintilla/LexR.cxx:
1880 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1881 (Scintilla bug #2956543).
1882 * src/sidebar.c, src/about.c, THANKS:
1883 Make Space on the symbol and document list not focus the editor
1884 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1885 * src/document.c, src/document.h:
1886 Fix document_try_focus() to make it work with the sidebar document
1888 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1889 Make Space on the compiler and messages widgets not focus the editor
1890 widget while Enter does (patch by Can Koy, thanks).
1892 Fix wrongly auto-detected multiline comments
1893 (patch by Eugene Arshinov, thanks).
1896 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1899 Show number of lines of current document inside statusbar. Thanks to
1900 Can Koy for providing the patch.
1903 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1905 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1906 Make Switch to Editor keybinding reshow the document statistics
1907 line, so user doesn't have to move the cursor.
1910 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1913 Update keywords for the R language (patch by Jon Senior, thanks).
1916 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1919 Fix the instruction how to insert unicode characters
1923 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1925 * scripts/create_py_tags.py:
1927 Replace tabs by spaces.
1928 * plugins/genapi.py:
1930 Replace tabs by spaces.
1931 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1932 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1933 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1934 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1935 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1936 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1937 Add keybindings to switch to the sidebar's Document and Symbol list
1938 as well as to the Message Window's current tab
1939 (patch by Eugene Arshinov, thanks).
1941 Update primary keywords for the R language
1942 (patch by Jon Senior, thanks).
1945 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1948 Add more detailed hints about reloading configuration
1949 (thanks to Tony Rick).
1950 * data/filetypes.javascript:
1951 Correct the keyword list for JavaScript (thanks to Jonas).
1954 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1956 * New release: Geany 0.18.1 "Balfour".
1959 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1961 * src/keybindings.c:
1962 Add special cases for handling the Select All keybinding (Ctrl-A) in
1963 the toolbar search and goto line text entries (closes #2948040).
1964 Strip trailing spaces after reflowing a paragraph, patch by
1965 Dominik Wagenfuehr, thanks (closes #2945497).
1968 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1970 * src/geanymenubuttonaction.c, src/templates.c:
1971 Partly revert last commit:
1972 Unref the new files toolbar menu when freeing templates as it
1973 was done before but unref it *after* the menu has been removed
1974 from the GeanyMenuButtonAction.
1976 Fix possible endless loop when trying to detect the encoding of
1977 non-text files (patch by Alexey Antipov, thanks).
1980 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1983 Allow saving remote files using g_file_set_contents() as well
1984 (patch by Алексей Антипов, thanks).
1985 * data/filetypes.python:
1986 Adjust style for secondary keywords to be less aggressive.
1987 Add Python 2.5 builtins keywords.
1988 * src/geanymenubuttonaction.c, src/templates.c:
1989 Unref the new files toolbar menu when setting a new menu to fix
1990 possible crashes when reloading configuration.
1992 When reloading configuration, process the current document at last
1993 so the symbol list will be updated correctly.
1996 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1999 Explicitly read filetype configuration files before generating
2000 global tags to get settings for custom filetypes.
2003 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2006 Fix GLib warning when toggling 'no plugins available' item.
2009 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2011 * icons/Makefile.am:
2012 Include geany.ico in the distribution tarball.
2014 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2015 * scripts/create_py_tags.py:
2016 Make the script a bit more robust with newer Python versions.
2018 Use utils_spawn_sync() instead of g_spawn_sync().
2021 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2024 Close meta tag for export date properly.
2027 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2030 Update RPM Spec file (patch by Dominic Hopf, thanks).
2033 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2036 Fix renaming sci_send_message(), sci_send_command() function
2040 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2042 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2043 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2044 plugins/geanyfunctions.h, plugins/Makefile.am,
2045 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2046 Use full function name for GeanyFunctions function pointers. This
2047 avoids naming conflicts e.g. with C++'s 'new' keyword.
2048 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2052 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2054 * src/utils.c, src/utils.h, src/vte.c:
2055 Add utils_copy_environment() and make use of it.
2056 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2057 src/editor.c, src/templates.c, src/templates.h:
2058 Add new special template wildcard "{command:...}" to use the
2059 output of a command in templates.
2060 Adjust template functions to mostly work with GeanyDocuments.
2061 Minor cleanups in the template code.
2063 Replace the old icons with smiley icons from the Rodent icon theme.
2064 Fix showing the same icon for two or more slots.
2066 * src/editor.c, src/editor.h, src/keybindings.c:
2067 Rename fold_symbol_click() to editor_toggle_fold().
2068 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2069 was used to respect the 'Fold/unfold all children' preference
2073 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2076 Prevent possible segfault in get_build_group().
2078 Fix GLib warning & beep if trying to insert multiline comment for a
2079 filetype that doesn't support it.
2082 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2085 Add gcc commands to build a plugin to the HowTo.
2086 * src/search.c, src/document.c, src/document.h:
2087 Show 'Replaced X matches in Y documents' message when using
2091 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2093 * scripts/plugin_test.c:
2094 Add a little test program which can load and test Geany plugins to
2095 verify it is loadable at runtime and all necessary symbols are
2097 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2099 Add new signal: "geany-startup-complete" which is sent once all
2100 initialization and startup tasks has been done.
2101 * README.I18N, configure.ac, wscript, po/LINGUAS:
2102 Remove po/LINGUAS from the repository.
2103 Generate it automatically if needed by reading available
2104 message catalogs from the po directory.
2105 Also respect the LINGUAS environment variable properly.
2108 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2111 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2115 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2117 * src/editor.c, src/templates.c, src/templates.h:
2118 Refactor templates_replace_all() into templates_replace_valist()
2119 to save some code duplication.
2122 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2124 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2125 src/plugindata.h, src/plugins.c:
2126 Add editor_insert_text_block() to plugin API.
2129 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2132 Update copyright information.
2133 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2134 doc/geany.txt, doc/geany.html:
2135 Add keybinding to open the last closed tab (closes #2912692).
2138 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2140 * autogen.sh, configure.in, configure.ac:
2141 Rename configure.in to configure.ac.
2142 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2144 Add sci_find_text() to the plugin API.
2145 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2146 src/interface.c, src/prefs.c:
2147 Add a checkbox in the preferences dialog to explicitly toggle
2148 the visibility of the sidebar (closes #2923340).
2151 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2153 * src/editor.c, src/plugins.c, src/plugindata.h,
2154 plugins/geanyfunctions.h:
2155 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2156 editor_get_eol_char() to the plugin API.
2157 * src/callbacks.c, src/plugins.c, src/plugins.h:
2158 Fix sensitivity of the Edit->Plugin Preferences menu item
2159 if plugins are loaded which do not provide a configuration dialog.
2160 * scripts/create_py_tags.py:
2161 Rewrite and extend the Python tags parsing script to use
2162 Python's inspect module to read symbols from Python modules
2163 including scope information.
2164 * data/filetypes.restructuredtext:
2165 Add the default comment character sequence for reStructuredText.
2167 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2168 clicked but their text fields are not part of the toolbar (#2920807).
2169 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2171 Add new style to change foreground and background colours for
2172 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2174 Remember the window position of the Find, Replace and Find in Files
2175 dialogs (closes #2877988).
2178 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2181 Fix a minor typo inside plugin API reference.
2184 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2186 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2187 Make dialogs_show_prompt() more flexible to take up to three
2188 button/response code pairs to be shown.
2189 Add a close button to the dialog when asking to Re-Save a
2191 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2193 Fix LaTeX environment auto completion with CR/LF line endings.
2194 Add some sanity checks.
2196 When closing a document after it was deleted from the filesystem,
2197 don't ask whether it should be saved first.
2198 Mark the document only as changed if it is not closed afterwards.
2199 Prevent possible segfaults if the document was closed when it is
2200 missing from the filesystem.
2201 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2202 src/msgwindow.h, src/prefs.c:
2203 Add MessageWindow::scribble and use it instead of searching the
2204 widget pointer everytime.
2205 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2206 Add preferences for hiding single tabs from the messages window
2207 (no GUI preferences yet, still to be implemented).
2208 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2209 Set the correct parent window for the toolbar editor
2210 dialog (closes #2913334).
2211 * src/win32.c, src/win32.h, src/ui_utils.c:
2212 Rename win32_show_project_folder_dialog() to
2213 win32_show_folder_dialog() as it is not related and not used by any
2214 project management related code.
2215 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2216 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2217 as it is specialised for opening documents.
2218 Implement win32_show_file_dialog() as a generic file open dialog and
2219 use it with ui_path_box_new().
2222 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2225 Extend auto_latex() function to check whether an environment has been
2226 closed within the next lines to avoid auto adding double \end{}.
2228 Remove LaTeX tags from SVN. Can be found at
2229 http://download.geany.org/contrib/tags/ if needed.
2232 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2234 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2235 Add document_need_save_as().
2236 Show the Save As also for documents created from filetype templates
2237 instead of saving them directly with the untitled filename.
2240 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2242 * geany.glade, src/interface.c:
2243 Move 'Send Selection to Terminal' menu item from Format to Commands
2246 When going to a build error, try the current document's path if
2247 the parsed filename doesn't exist. (This can happen when we receive
2248 build messages in the wrong order - after the 'Leaving directory'
2251 Refactor msgwin_goto_compiler_file_line().
2252 * src/interface.c, src/keybindings.c, geany.glade:
2253 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2256 Refactor/reformat on_replace_dialog_response().
2259 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2262 Improve geany.spec (split the package into a binary and devel
2263 package, update BuildRequires and other minor improvements).
2264 Patch by Dominic Hopf, thanks.
2267 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2269 * src/filetypes.c, src/filetypes.h:
2270 Make group for custom filetypes.
2271 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2272 Add custom filetype Genie.
2275 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2277 * src/highlighting.c:
2278 Highlight D & Java types from a global tags file.
2279 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2280 Add debug message warning if recursive lexer_filetype is set.
2281 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2282 Remove duplicate sci_set_keywords(), make argument const.
2283 * src/highlighting.c:
2284 Only show debug message once if recursive lexer_filetype is set.
2285 Tidy highlighting_init_styles code for filetype None handling.
2286 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2287 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2288 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2289 tagmanager/parsers.h, tagmanager/makefile.win32,
2290 tagmanager/verilog.c, tagmanager/Makefile.am,
2291 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2292 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2293 * src/highlighting.c:
2294 Fix segfault on startup (oops).
2295 * data/filetypes.verilog:
2296 Fix using common style colours for Verilog.
2299 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2301 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2302 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2303 Move C-like filetype properties into configuration files.
2304 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2306 Remove now unnecessary "styling_within_preprocessor" C style key.
2307 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2308 data/filetypes.glsl, data/filetypes.cs:
2309 Use lexer_filetype=C configuration file key instead of duplicate
2310 styleset functions for C++, C#, GLSL, Vala.
2313 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2315 * doc/geany.txt, doc/geany.html:
2316 Warn about not using BOM for configuration files (confuses GKeyFile
2317 parser, at least on my system).
2319 Add/improve debug messages for custom filetypes.
2322 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2325 Add a couple of further latex-beamer commands to list of LaTeX tags.
2328 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2330 * plugins/filebrowser.c:
2331 Add an in-entry clear icon to the filebrowser plugin's filter
2332 entry (patch by Dominic Hopf, thanks).
2333 * src/prefs.c, src/ui_utils.c:
2334 Fix two compiler warnings about possibly uninitialised variables.
2337 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2339 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2340 plugins/geanyfunctions.h:
2341 Add main_is_realized() to the plugin API.
2342 * tagmanager/include/tm_tagmanager.h:
2343 Update partly outdated and wrong doc comment.
2344 * src/main.c, src/main.h, src/socket.c:
2345 Allow opening Geany projects remotely.
2346 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2347 Add a hidden pref to allow executing text which was sent to the
2348 terminal directly, i.e. do not strip trailing newline characters.
2349 Also fix the stripping of trailing newline characters if there was
2353 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2355 * src/about.c, THANKS:
2356 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2357 Kurt de Bree into section of previous translators.
2360 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2362 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2363 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2367 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2369 * src/highlighting.c:
2370 Make stylesets take a ft_id argument so they can be reused fully with
2371 custom filetypes, so custom styles and keywords can be set.
2372 * src/highlighting.c:
2373 Fix setting filetype properties when both the system and the user
2374 file have properties set.
2375 * src/symbols.c, tagmanager/vhdl.c:
2377 * src/highlighting.c:
2378 Fix lexer settings for custom filetypes.
2381 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2384 Remove duplicate regular expression for parsing classes.
2385 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2386 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2387 src/main.h, THANKS, src/about.c:
2388 Add new command line option "--socket-file" to be able to specify
2389 separate socket filenames for instances
2390 (closes #2896027, patch by Jörn Reder, thanks).
2391 * src/keybindings.c, src/keybindings.h:
2392 Add keybindings_check_event() to manually check GdkKeyEvents against
2393 Geany's keybindings.
2394 * src/callbacks.c, src/utils.c, src/utils.h:
2395 Add and use utils_get_help_url().
2396 * geany.glade, src/interface.c, src/prefs.c:
2397 Add a Help button to the preferences dialog.
2398 Handle Help keybinding events for the preferences dialog especially
2399 and open the manual with the corresponding anchor link to the current
2400 preferences page (same goes for the new Help button).
2403 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2405 * src/toolbar.c, src/geanymenubuttonaction.c,
2406 src/geanymenubuttonaction.h:
2407 Use separate tooltips for toolbar menu buttons and their attached
2409 * tagmanager/latex.c:
2410 Improve parsing of sections and chapters by ignoring shortnames
2411 like \section[shortname]{label} (closes #2890477).
2414 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2416 * src/geanymenubuttonaction.c:
2417 Try to fix Gtk warning when using Tools->Reload Configuration.
2420 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2422 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2423 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2424 data/filetypes.pascal, data/filetypes.docbook,
2425 data/filetypes.python, data/filetypes.conf:
2426 Use filetypes.foo [lexer_properties] group instead of hardcoding
2427 lexer properties (more flexible e.g. for custom filetypes).
2428 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2429 Replace filetypes.xml html_asp_default_language key with
2430 filetypes.html asp.default.language property in [lexer_properties]
2434 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2436 * doc/geany.txt, doc/geany.html:
2437 Fix slightly wrong description of how to insert Unicode characters.
2439 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2440 ui_setup_open_button_callback().
2441 * src/prefs.c, src/prefs.c, src/vte.c:
2442 Refactor color and font button callback functions in the
2443 preferences dialog. Move the VTE related callback functions
2445 Make use of ui_setup_open_button_callback().
2447 Improve printing status texts (patch by Dominic Hopf, thanks).
2448 * src/prefs.c, src/vte.c:
2449 Use the default dialog title set by ui_setup_open_button_callback()
2450 to be more consistent and to save one string.
2453 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2456 Separate DKinds from CKinds.
2457 Don't generate macro tags for D, Java.
2460 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2462 * tagmanager/ctags.c, tagmanager/general.h:
2463 Make TagManager Assert statements cause g_warning on failure.
2464 * src/keybindings.c:
2465 Fix reflow paragraph command when cursor < anchor using
2466 sci_fix_selection().
2469 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2471 * tagmanager/perl.c:
2472 Fix Geany segfault with constant tags (#2895168).
2474 Fix invalid tree iter access when using tv_iters.tag_other but not
2475 using tv_iters.tag_variable.
2476 * HACKING, tagmanager/perl.c:
2477 Fix parsing Perl format statements ("other" type doesn't seem
2479 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2480 Fix using "other" tag type.
2483 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2486 Remove useless comment about applying settings only when libvte.so
2487 could be loaded which is only displayed *if* libvte.so is loaded.
2489 Allow autocompletion for HTML entities even within a word.
2490 * src/geanymenubuttonaction.c:
2491 Only set the menu of the button if a non-empty GtkMenu is passed to
2492 geany_menu_button_action_set_menu() so the menu arrow keeps
2496 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2499 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2502 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2505 Parse D functions with contracts (fixes #1885480).
2506 Parse D alias statement like typedef.
2507 (Ignore some more D keywords).
2509 Fix creating D interface tags properly.
2511 Parse contents of D extern{} and version{} blocks.
2514 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2520 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2522 * src/plugindata.h, HACKING:
2523 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2526 Show number of files saved on status bar when using Save All.
2527 * src/highlighting.c:
2528 Use default color scheme if pref color scheme file doesn't exist.
2529 * src/keybindings.c:
2530 Fix moving correct lines after selecting whole line(s).
2533 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2535 * tagmanager/makefile.win32:
2536 Fix broken build on Windows because of a typo
2537 (patch by Timothy Boronczyk, thanks).
2540 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2542 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2544 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2545 scheme files exist in a colorschemes config directory. Color scheme
2546 files must end in ".conf" and currently only the [named_styles]
2548 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2549 Add utils_get_config_files().
2550 * src/highlighting.c:
2551 Fix issue with default color not being reset if overridden with a
2552 system default color.
2553 * src/highlighting.c:
2554 Only reload filetype files when changing color scheme, not all
2555 configuration files.
2556 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2557 Deprecate documents_foreach() as it looks more like a function; use
2558 foreach_document() instead.
2559 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2562 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2564 * src/stash.c, src/stash.h:
2565 Use typedef instead of pointer for widget_id function arguments.
2568 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2570 * src/pluginutils.c:
2571 Don't expand Plugin Preferences page spacing vertically to fill the
2572 height of the dialog.
2573 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2574 geany.glade, plugins/splitwindow.c:
2575 Allow GeanyKeyBinding label field to contain underscores, which won't
2576 be displayed by Geany. This saves adding near-duplicate translation
2578 Add mnemonics for 3 Edit->Format menu items.
2579 Add keybindings_get_label().
2580 * src/interface.c, geany.glade:
2581 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2585 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2588 Desensitize Edit->Commands menu item when no docs are open.
2589 * src/interface.c, src/keybindings.c, src/callbacks.c,
2590 src/callbacks.h, geany.glade:
2591 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2592 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2593 Add general function sci_get_string() that works with any string
2594 buffer messages that follow the Windows message convention.
2595 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2596 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2597 src/pluginutils.c, src/pluginutils.h, geany.glade:
2598 Add 'Edit->Plugin Preferences' menu item and keybinding.
2599 Don't include plugindata.h in pluginutils.h because it redefines the
2600 GEANY() macro for plugin use.
2601 * doc/geany.txt, doc/geany.html:
2602 Update for Plugin Preferences keybinding.
2605 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2608 Sort document word completion list.
2609 * src/interface.c, src/keybindings.c, src/callbacks.c,
2610 src/callbacks.h, geany.glade:
2611 Add some useful commands to editor popup menu under "Commands"
2612 submenu (thanks to Lex).
2613 Move 'Duplicate line or selection' from Format -> Commands submenu.
2614 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2615 Enable switching the sidebar to the right on Windows again, as it
2616 apparently works after all.
2618 Fix using tab to autocomplete in some other situations that word part
2619 completion doesn't apply in.
2620 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2621 Add Edit->Commands submenu which is shared with the editor popup
2623 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2624 Change editor popup Commands submenu to start as child of menubar
2625 Edit menu, as this is more usual e.g. for keybindings initialization.
2626 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2628 Share a single Format submenu for menubar Edit and popup menu.
2631 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2634 Fix a compiler warning about an uninitialised variable.
2636 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2637 sciwrappers.h, build.h (for the Waf build system,
2638 accordingly to r4366).
2641 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2643 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2644 src/toolbar.c, src/toolbar.h:
2645 Add missing dox for types/files in the API.
2646 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2647 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2648 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2649 of functions not in the API).
2650 Warning: any plugins that include these headers should remove them.
2651 * src/build.c, src/build.h:
2652 Move function doc-comments to build.c so they stay in sync. Note:
2653 these functions are still not in the API.
2655 Add 'Doc-comments' plugin API subsection.
2656 * plugins/filebrowser.c:
2657 Fix packing configure widgets equally.
2658 Use spacing multiples of 6 as recommended by Gnome HIG.
2659 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2660 Disable switching the sidebar to the right on Windows as it will
2661 probably fail like the Split Window plugin.
2663 Improve 'Detect from file' indentation pref by ignoring lines with
2664 indentation wider than 24 characters as this is more likely to be
2665 alignment than indentation.
2668 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2670 * plugins/saveactions.c:
2671 Fix adding the filetype's default extension when using the
2672 Instant Save plugin (closes #2885142).
2674 Before looking for line and column numbers specified as part
2675 of a filename, ensure the file doesn't exist on disk. This allows
2676 opening of files like "test:0".
2678 Rename "select" variables into "selection" to avoid shadowed names.
2679 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2680 Add ui_widget_modify_font_from_string() and sci_goto_line()
2682 * plugins/filebrowser.c:
2683 Rename "select" variables into "selection" to avoid shadowed names.
2684 Make use of ui_widget_modify_font_from_string().
2687 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2689 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2690 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2692 Add sidebar position interface pref.
2695 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2697 * doc/geany.txt, doc/geany.html:
2698 Add missing underscores to links.
2701 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2703 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2704 Add 'Move line(s) up/down' keybindings.
2707 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2709 * src/build.c, src/build.h, src/filetypes.h:
2710 Include code for project filetype execute commands and fix bug in
2711 saving project filetypes list.
2712 * src/project.c, src/build.c, doc/geany.txt:
2713 Make non-project execute configuration save to filetypes not
2715 Fix closing of project failing to remove build commands dialog entry.
2718 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2720 * src/project.c, src/ui_utils.c:
2721 Set border width for project properties build table.
2722 * geany.glade, src/interface.c:
2723 Don't expand hard tab width alignment.
2726 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2728 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2729 doc/geany.txt, doc/geany.html:
2730 Support loading global tags files for custom filetypes.
2731 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2732 doc/geany.txt, doc/geany.html:
2733 Add 'Word part completion' keybinding so keys other than Tab can be
2734 used, or to clear/change the combination so Tab does full completion
2736 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2737 Add 'Select to previous/next word part' keybindings.
2738 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2739 Add 'Switch to Messages' focus keybinding.
2742 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2744 * doc/geany.txt, doc/geany.html:
2745 Add 'Custom filetypes' section.
2746 * src/filetypes.c, src/filetypes.h, src/document.c,
2747 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2748 tagmanager/include/tm_source_file.h:
2749 Add filetype "tag_parser" key so custom filetypes can use an existing
2751 Add tm_source_file_get_named_lang().
2752 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2754 Add filetype "lexer_filetype" key so custom filetypes can use an
2758 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2760 * THANKS, src/about.c:
2761 Add Xhacker Liu for his work at zh_CN translation to long list of
2765 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2767 * src/sciwrappers.c:
2768 Remove unnecessary line number margin padding.
2769 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2770 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2772 Improve word part autocompletion so AC list is not cancelled and
2773 reshown (this also stops the selection changing).
2774 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2776 Improve CamelCase word part autocompletion for runs of capital
2779 Don't complete snippets if there's a selection.
2782 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2785 Fix crash opening project when Geany started with no geany.conf.
2788 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2790 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2791 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2793 Add word part autocompletion for the current selected item when
2794 pressing Tab - Enter still completes normally.
2795 Add foreach_str() API macro.
2796 Temporarily modify scintilla to say if tab was used for
2798 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2799 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2800 plugins/classbuilder.c:
2801 Revert r4301 - utils_free_pointers() taking 4 arguments.
2802 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2803 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2804 plugins/splitwindow.c:
2805 Add highlighting_set_styles() to API, use for Split Window plugin so
2806 filetypes.common settings get set too.
2807 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2809 * src/document.c, src/editor.c, plugins/splitwindow.c:
2810 Call editor_apply_update_prefs() from editor_create_widget() so
2811 correct tab width and other settings are applied for Split Window
2815 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2817 * src/keybindings.c:
2818 Don't include trailing newlines when using reflow command.
2820 Add stock close buttons to notebook tab popup menu.
2821 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2822 plugins/geanyfunctions.h:
2823 Add document_get_notebook_page() to API.
2825 * data/templates/files/file.html, data/templates/files/file.php:
2826 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2827 * src/interface.c, src/ui_utils.c, geany.glade:
2828 Move Tools configuration items to top of menu.
2829 * src/keybindings.c, src/search.c:
2830 Fix warning when using Find in Files with no documents open; make
2831 keybinding work in this case.
2834 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2836 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2837 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2838 Make Split Window 'Show current document' button have a drop-down
2839 menu to select the other documents.
2840 Add new API function ui_menu_add_document_items().
2843 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2846 Fix sensitivity settings for compile and build toolbar items.
2849 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2852 Don't use filetype submenus for templates (slower to navigate, often
2853 only 1 per-filetype anyway).
2855 Put old filetype template menu items in 'Old' submenu as they should
2856 be removed after the 0.19 release.
2857 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2858 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2859 to be ignored if inappropriate so a later keybinding with the same
2860 key combination can intercept it. (Also group callbacks are usually
2861 tidier than separate callbacks).
2862 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2863 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2864 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2865 plugins/classbuilder.c:
2866 Make utils_free_pointers() take 4 arguments, add to API.
2867 * src/templates.c, src/tools.c, src/ui_utils.c:
2868 Fix memory leaks with gtk_container_get_children().
2871 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2874 Ensure that old style build config is not loaded if it does
2878 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2880 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2881 Added Galician translation.
2882 Thanks to José Manuel Castroagudín Silva.
2885 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2887 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2889 Apply set default encoding for existing files only if the files are
2890 non-Unicode (patch by Alexey Antipov, thanks).
2893 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2895 * src/highlighting.c:
2896 Move new_styleset() and preprocessor setup code into
2898 * src/highlighting.c:
2899 Call apply_filetype_properties() from styleset_c_like().
2902 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2904 * doc/geany.txt, doc/geany.html:
2905 Improve information about predefined keybindings which are
2906 commonly used across applications (patch by Lex Trotman, thanks).
2908 Enable embedded page setup properties in the (Unix) Print dialog
2909 on newer GTK versions (closes #2870596).
2910 * src/highlighting.c:
2911 Map global types (read from tags files) to keyword style for
2915 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2918 Fix wrong creation of filetype template menu items for custom
2920 * src/highlighting.c:
2921 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2923 Group 'New with template' items by filetype submenu (currently only
2925 Show custom file template items before filetype template items.
2926 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2928 Only use one 'New with template' submenu - reparent as needed.
2930 Don't create templates/filetype.none either.
2932 Warn if custom template file no longer exists.
2935 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2938 Add missing icon for Java packages in the Symbol List.
2941 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2943 * src/highlighting.c, data/filetypes.vala:
2944 Add Vala keywords to conf file.
2945 * src/templates.c, doc/geany.txt, doc/geany.html:
2946 Read custom file templates from $prefix/share/geany/templates/files
2947 as well as user dir.
2948 * src/templates.c, data/templates, data/templates/files,
2949 data/templates/files/file.rb, data/templates/files/file.html,
2950 data/templates/files/main.java, data/templates/files/main.c,
2951 data/templates/files/main.cxx, data/templates/files/file.php,
2952 data/templates/files/main.d, data/templates/files/program.pas,
2953 data/templates/files/main.py, data/templates/files/file.tex,
2954 wscript, Makefile.am:
2955 Move filetype template defaults into custom file template files.
2958 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2960 * src/symbols.c, tagmanager/perl.c:
2961 Change Perl tag parser to ctags SVN r601. This removes support for
2962 buggy local/my/our but it parses constant/format/labels and should
2963 be less buggy overall (closes #2861232).
2964 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2965 Add utils_get_file_list_full() which can optionally sort or include
2966 a full path for each list item.
2967 * src/utils.c, src/plugindata.h, src/plugins.c:
2968 Add utils_get_file_list_full() to API.
2971 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2973 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2974 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2975 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2976 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2977 po/POTFILES.in, wscript:
2978 Rename treeviews.[hc] -> sidebar.[hc].
2979 * data/filetypes.common:
2980 Remove unused [styling] arguments.
2981 * src/highlighting.c, data/filetypes.markdown,
2982 data/filetypes.restructuredtext:
2983 Remove style defaults from the code - just read them from
2984 configuration files.
2985 * src/highlighting.c, HACKING:
2986 Add apply_style_entries() to simplify implementing styleset_foo().
2987 * src/highlighting.c:
2988 Remove filetype keyword defaults from the code - just read them from
2989 configuration files.
2990 * src/highlighting.c:
2991 Add sci_set_keywords() wrapper.
2994 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2996 * scripts/create_py_tags.py:
2997 Make the code a bit more pythonic.
2998 * doc/images/build_menu_commands_dialog.png,
2999 doc/images/main_window.png:
3000 Add new images referenced in the documentation.
3001 * doc/geany.html, doc/geany.txt:
3002 Several documentation improvements (patch by Lex Trotman, thanks).
3003 * src/pluginutils.c:
3004 Fix setting the appropriate page of the combined plugins
3008 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3010 * src/keybindings.c:
3011 Only focus toolbar goto line entry when pressing keybinding if it's
3012 visible (patch by Eugene Arshinov, thanks).
3014 Focus editor after entering a number in the goto line toolbar entry.
3016 Use AC_PATH_PROG instead of which for portability (patch by Erik
3017 Southworth, thanks).
3019 Show plugins that only implement plugin_configure_single() in the
3020 multiple-configure dialog as a page with a configure button on it.
3021 Add padding for multiple-configure dialog.
3022 Make the multiple-configure dialog notebook tabs scrollable.
3023 * src/pluginutils.c, src/pluginutils.h:
3024 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3025 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3026 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3027 plugins/geanyfunctions.h, plugins/filebrowser.c:
3028 Add plugin_show_configure() API utility function.
3029 Add File Browser popup menu 'Preferences' item.
3030 * src/highlighting.c:
3031 Add get_keyfile_ints() instead of using tmp_style hack.
3032 * src/highlighting.c, data/filetypes.xml:
3033 Change new html_asp_default_language markup pref to use integer,
3034 not hex in config file.
3035 Fix minor issue with changing pref back to 0.
3036 * src/highlighting.c:
3037 Fix possible segfault in get_keyfile_int() if key value is malformed.
3040 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3042 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3043 Add "html_asp_default_language" pseudo style to filetypes.xml
3044 to allow setting the used language in embedded ASP code
3045 (patch by Ross McKay, thanks).
3046 * src/filetypes.xml:
3047 Update VBScript keywords (patch by Ross McKay, thanks).
3050 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3052 * src/keybindings.c, THANKS:
3053 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3054 keybinding use line breaking column when enabled.
3056 Fix showing the document before reload dialog when opening an
3058 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3059 Add plugin_configure_single() plugin symbol which is easier to
3060 implement than plugin_configure() but won't support a
3061 multiple-plugin configure dialog.
3063 Show multiple plugins in the 'Configure Plugins' dialog.
3066 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3068 * doc/geany.txt, doc/geany.html:
3069 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3071 * doc/geany.txt, doc/geany.html:
3072 Add 'Toolbar entries' section.
3073 * doc/geany.txt, doc/geany.html:
3074 Update 'Go to line' keybinding description.
3075 * doc/geany.txt, doc/geany.html:
3076 Split keybinding table into group tables; update KB links.
3079 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3082 Fix compiler warnings about uninitialised variables.
3083 * src/callbacks.c, src/document.c:
3084 When reloading files, use the previously set encoding instead of
3085 detecting it again (closes #2862041).
3087 Turn on automake silent rules if supported.
3090 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3093 Speed up sorting in utils_get_file_list(). This reduces the file
3094 browser delay on displaying a big directory, e.g. /usr/bin.
3096 Expand command entry width when expanding Build Commands dialog.
3098 Split Build Commands dialog notes label and edit text.
3100 Add padding for Build Commands dialog separators.
3101 Add colons for regex field labels; fix 1 capitalisation.
3103 Fix none filetype Build Commands dialog label.
3104 Make group labels bold.
3105 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3107 Add & use ui_label_set_markup(), ui_label_new_bold().
3108 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3109 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3110 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3111 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3112 * src/keybindings.c:
3113 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3116 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3118 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3119 tagmanager/parsers.h, tagmanager/makefile.win32,
3120 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3121 data/filetype_extensions.conf, wscript:
3122 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3124 Merge recent changes from the CTags project to further improve
3128 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3131 Fix wrong alignment of printed pages when page headers are
3132 disabled (closes #2856822).
3133 Plug a small memory leak and improve function signature of
3136 Save an if expression.
3138 After clearing a text field using the embedded clear icon, put the
3139 input focus into this text field.
3142 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3144 * plugins/filebrowser.c:
3145 Free file list memory whilst iterating the list.
3146 Minor formatting fixes.
3147 * src/utils.c, src/utils.h:
3148 Add foreach_dir() API macro.
3149 Update API docs for utils_get_file_list().
3150 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3152 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3153 Beep if there are no more snippet positions.
3154 Limit length of snippet positions queue to 20.
3157 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3159 * src/keybindings.c, src/callbacks.c, src/search.c:
3160 Make Goto Tag commands use the current selection if present (useful
3161 for selecting part of a tag or for ReST section names with spaces
3164 Don't move the cursor when reloading.
3165 * src/plugindata.h, src/editor.c, src/editor.h:
3166 Make editor_prefs.snippets hash table private (not a pref).
3169 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3172 Remove deprecated --debug flag. Please use --verbose/-v instead.
3175 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3178 Show Find in Files stderr output in messages window instead of
3179 debug window so that invalid regex messages can be seen easily.
3180 Combine FIF stdout and stderr callback code.
3183 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3186 Fix opening filenames beginning with two dots (closes #2858487).
3187 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3188 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3189 data/filetypes.common, geany.glade:
3190 Update syntax highlighting after changing the 'Invert syntax
3191 highlighting colors' pref, instead of requiring a restart.
3192 Remove filetypes.common invert_all option - use 'Invert syntax
3193 highlighting colors' pref instead (closes #2854525).
3194 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3195 Add 'Allow' button when showing the conflicting keybinding dialog.
3196 Make dialogs_show_question_full() use GTK dialog on Windows if
3197 button text is not the stock yes/no items.
3198 Add dialogs_show_prompt() which also has an 'Apply' button.
3199 * src/queue.c, src/queue.h:
3200 Add warning that GeanyQueue may be removed.
3201 * src/keybindings.c, src/editor.c, src/editor.h:
3202 Change snippet_goto_next_cursor() to
3203 editor_goto_next_snippet_cursor() as it's in editor.h.
3204 Avoid using GPOINTER_TO_INT macro.
3207 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3209 * src/keybindings.c:
3210 Fix 'Reflow block' command when at the last paragraph and there's
3211 no last newline (patch by Eugene Arshinov, thanks).
3213 Add 'Compiler options & warnings' section.
3214 Update Style section to be clearer about code alignment and show
3219 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3221 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3222 src/plugindata.h, src/plugins.c, src/editor.c,
3223 plugins/geanyfunctions.h:
3224 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3225 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3227 Add sci_toggle_marker_at_line().
3228 Fix SciFuncs alignment.
3231 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3234 Fix erroneous free of returned string in prepare_run_script.
3237 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3239 * data/filetypes.latex:
3240 Changing default value for showing pdf and dvi to ensure to take
3241 *.pdf and *.dvi file.
3244 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3246 * src/about.c, THANKS:
3247 Change language string for Slovenian translation.
3250 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3252 * tagmanager/txt2tags.c:
3253 Fix multi-byte character constant comparison.
3255 Fix Gtk warning when trying to update documents popup menu item
3256 sensitivity before they exist.
3259 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3262 Improve the opening string in the plugin manager dialog.
3264 Use "max-width" to set the document width of the generated
3265 HTML documentation to let the text be auto-wrapped.
3266 * src/prefs.c, src/tagmanager/include/guregex.h,
3267 src/tagmanager/include/tm_tagmanager.h:
3268 Remove trailing spaces (patch by André Hentschel, thanks).
3270 Fix a compiler warning.
3272 Fix crash when opening documents.
3273 * src/build.c, src/build.h, src/project.c:
3274 Adjust coding style (no code changes).
3275 * src/build.c, src/project.c:
3276 Use NZV() macro instead of strlen() to check for empty strings.
3277 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3278 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3279 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3280 src/plugins.c, THANKS:
3281 Add new plugin signal: "document-before-save".
3282 Add get_line_end_position(), set_target_start(), set_target_end(),
3283 replace_target() to the plugin API
3284 (patch by Eugene Arshinov, thanks).
3285 Add new plugin signal: "document-filetype-set" (closes #2852286).
3286 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3287 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3288 tagmanager/Makefile.am, tagmanager/makefile.win32,
3289 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3291 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3294 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3296 * src/treeviews.c, src/document.c:
3297 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3298 Use gtk_notebook_set_current_page() instead of
3299 document_open_file_full() when choosing an item from the documents
3301 Avoid using goto in document_open_file_full().
3304 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3306 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3307 Enable type-ahead find for sidebar symbols and documents tabs
3308 (patch by Thomas Martitz, thanks).
3310 Fix 2 free's of possibly uninitialized pointers.
3313 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3315 * src/build.c, src/filetypes.h, src/filetypes.c:
3316 Only write filetype config files when build command or regex is
3317 actually changed. Removed commented code in src/filetypes.c.
3319 Ensure uses of filename are protected against nulls when running
3320 a build command and give status message if not.
3323 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3326 Remove plugin from plugin manager dialog on unloading if it no
3327 longer exists or is incompatible.
3330 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3333 Add warning if only one of the plugin_key_group[_info] symbols is
3334 defined for a plugin.
3335 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3336 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3338 Merge custom-filetypes branch:
3339 Support adding custom filetype files e.g. filetypes.Foo.conf.
3341 Allow GeanyFiletype::extension to be NULL.
3342 Add note about using GeanyFiletype pointer instead of filetype_id
3343 for filetypes.c function arguments.
3344 Replace styleset_none() with styleset_default().
3347 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3350 Show the sidebar if either the documents or the symbols list are
3351 enabled (related to #1876107).
3354 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3356 * src/build.c, src/filetypes.c:
3357 Fix compiler warnings.
3359 Fix removing leading double slashes in filenames which are used for
3360 network resources on Windows (closes #2844085).
3363 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3365 * src/keybindings.c:
3366 Fix Make keybindings (patch by Lex Trotman, thanks).
3368 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3370 Mention Files link at top for header files; demoplugin.c.
3371 Minor edits; remove 'far from being complete'.
3372 * src/keyfile.c, src/keyfile.h, src/main.c,
3373 data/filetype_extensions.conf, HACKING:
3374 Remove --generate-data-files argument & code - just edit
3375 filetype_extensions.conf by hand (filetype order was broken
3377 Add *.H extension for C++ (useful for non-Windows systems).
3380 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3383 Fix implementation of loading old project files with base
3384 directories. Use project_make_base_path instead of re-
3385 implementing. Now depends on project.c reading base dir
3386 prior to calling load_build_menu.
3388 Change usage of project base directory to conform with
3389 previous documented behavior when loading old project files.
3391 Change make custom and make object to ignore make in base path
3392 when reading old project file settings. Changed some indent
3393 spaces to tabs. Fix missing compile menu accelerator.
3396 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3399 Add warning about not using undocumented features.
3400 Add reference to HACKING for plugin API development.
3402 Add section 'Plugin API/ABI design'.
3403 * src/keybindings.h, src/makefile.win32, src/project.h,
3404 src/filetypes.h, src/Makefile.am, wscript:
3405 Use GEANY_PRIVATE to hide some fields from plugins.
3407 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3408 * src/build.c, src/build.h, src/project.c:
3409 Use build_ prefix for 3 functions in build.h; add a static modifier.
3412 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3415 Improve parsing of PHP functions by requiring a valid modifier or
3416 whitespace before the 'function' keyword to ignore some false
3417 positives like function tags inside comments
3418 (patch by Harold Aling, thanks).
3419 * tagmanager/python.c:
3420 Don't parse comments after import statements and other tags
3421 (closes #2838938, patch by Huandari Lopez, thanks).
3424 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3426 * data/filetypes.markdown:
3427 Add filetypes.markdown for configuration (thanks to Jon Strait).
3428 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3429 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3430 plugins/geanyfunctions.h:
3431 Remove GeanyKeyGroup struct from the API - plugins should not set
3433 Make keybindings_set_item() duplicate the name and label fields
3434 (needed by GeanyLua) and return a keybinding pointer.
3435 Add keybindings_get_item() to the API (in case it's useful).
3436 Move some keybinding code out of plugin source files.
3439 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3441 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3442 Don't generate build.h API docs until everything is approved and
3443 functions are actually in geany_functions.
3444 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3445 as they may be changed or made private later.
3446 Break ABI for fields removed.
3449 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3451 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3452 src/keyfile.c, src/project.c:
3453 Changed names of symbols visible in build API to GEANY_xxx.
3456 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3458 * src/project.h, src/project.c, src/build.c:
3459 Remove make_in_base_dir and run_cmd fields from project structure.
3460 Replaced by build functionality. Remove incorrect use in src/build.c
3461 build_run_cmd function.
3464 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3466 * src/project.h, src/project.c:
3467 Removed unused project_get_make_dir function, this is now per
3471 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3473 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3475 Fix some more warnings.
3476 Fix commented out execute/stop toolbar code in build.c.
3477 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3478 Changed build.h api so all functions prefixed with build_.
3481 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3483 * src/build.c, src/build.h, src/project.c:
3484 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3487 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3490 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3491 strings when reading old format configuration & project files.
3492 * src/build.c, src/project.c:
3493 Fixed GLib array assertion warnings when no project filetypes are
3494 available to be saved.
3496 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3502 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3504 * src/build.h, src/build.c, src/project.c:
3505 Created and documented plugins interface to build menu.
3506 Factored out new get_cmd_group function.
3507 Changed name of remove_command function to be consistent with the
3508 rest of the interface & changed calls in project.c.
3509 * src/Makefile.am, wscript:
3510 Added build.h to installed files lists.
3512 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3515 Updated manual to match build-menu capability.
3518 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3520 * src/build.c, src/build.h:
3521 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3522 Improved interpretation of run_in_base_dir from old [build-settings]
3523 Added spacing to build commands dialog
3525 Removed run in base path option from project dialog and added button
3526 to set working directories to d the same.
3529 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3532 Re-incorporated toolbar changes in trunk accidently excluded in merge
3534 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3537 Fixed substitute %f etc in commands
3538 Fixed potential leak in build_replace_placeholder
3539 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3540 Fixed build_replace_placeholder to not require document.
3542 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3544 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3545 Fixed crash and lots of warnings, deleted some commented out code.
3546 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3547 Removed make command from preferences and associated code
3549 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3551 * src/build.c, src/build.h:
3552 Incorporated patch for working directory field (thanks Thomas)
3553 Removed run_in_base_dir option and associated code that it replaces
3554 Improved handling of old config files and mapping to new ones.
3556 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3558 * src/build.h, src/build.c:
3559 Changed to itterate over entries in build commands dialog to allow
3560 additional fields to be added
3561 Implement support for multiple run commands
3562 * data/filetypes.latex:
3563 Implement configured commands and labels for latex.
3566 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3568 * src/build.h, src/build.c:
3569 added dialog support for error regular expressions from multiple
3570 sources and storing and loading them fixed some typos and memory
3572 * src/filetypes.c, src/filetypes.h, project.c:
3573 added support for using error regexes from multiple sources
3576 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3578 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3580 Removal of build menu item source made redundant by the following fix
3582 Corrected priority oreder and loading of filetype dependent build
3583 menu items saved in the project file. Added print routine for
3584 debugging command sources and priorities set compile symbol
3585 PRINTBUILDCMDS true to enable
3587 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3590 fixed problem loading old format filetype files, some formatting
3591 fixes fixed saving new format files
3592 added operation for clear button on build commands dialog
3594 fixed loading and saving filetype files
3597 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3599 Configurable Build Menu Changes
3601 * doc/geany.html, doc/geany.txt:
3602 Updated build menu section to new functionality
3603 * src/build.h, src/build.c:
3604 Largly re-written, configurability added, Latex code removed
3605 * src/filetypes.h, src/filetypes.c:
3606 Filetype structure updated to add new command pointers, configuration
3607 load and store changed
3608 * src/keybindings.h, src/keybindings.c:
3609 Changed to address new command storage structure.
3611 Changed to load/store new configuration.
3613 Minor change to initialisation order.
3615 Changed to address new menu item storage structure.
3616 * src/project.h, src/project.c:
3617 Changed to load/store the new configuration info.
3619 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3621 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3622 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3623 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3624 plugins/splitwindow.c:
3625 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3626 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3627 the ABI when adding fields to them.
3628 Add plugin_set_key_group() for plugins to dynamically set a
3629 keybinding group (e.g. for the Lua script plugin). Used in Split
3630 Window plugin as an example.
3631 Improve keybinding docs a little.
3634 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3636 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3637 Add geanyfunctions.h to API docs.
3638 * plugins/splitwindow.c:
3639 Set the cursor color for the split window.
3642 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3645 Fix 'Open Selected File' for unsaved new documents.
3646 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3647 Fix updating main menu accelerators after changing keybindings
3648 (thanks to Lex Trotman).
3650 Fix using 'Insert date' keybinding when a custom date string has
3652 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3653 Merge Plugin and GeanyPluginPrivate structs.
3656 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3658 * src/keybindings.c:
3659 Fix non-working Home and End keys on numpads.
3662 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3664 * doc/geany.txt, doc/geany.html, NEWS:
3665 Add 'Scope autocompletion' section.
3666 Add 'Tools menu items' section to explain configuration files
3667 submenu, reload configuration item.
3668 Minor updates/fixes.
3671 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3674 Add a translation hint to an ambiguous format string.
3676 Add missing include path to fix 'make distcheck'.
3678 Fix opening of local files in the browser on Windows.
3679 * New release: Geany 0.18 "Kaine".
3680 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3681 src/geany.h, doc/geany.html, doc/geany.txt:
3682 Post-release version bump.
3685 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3688 Temporarily disable reshowing calltips when the autocompletion
3689 list was closed implicitly by not choosing an item to fix
3690 problems with wrongly displayed calltips.
3692 Add missing 'coding' cookie to the Python filetype template.
3693 * doc/images/pref_dialog_edit_completions.png,
3694 doc/images/pref_dialog_toolbar.png:
3695 Update images for Geany 0.18.
3698 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3701 Add command '--hackingdoc' to create the HTML form of the
3705 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3707 * po/pt_PT.po, po/LINGUAS:
3708 Added a first Portugese (Portugal) translation based on work done at
3709 launchpad by e.g. André Glória and Alexandre Jesus.
3710 * src/main.c: Fix a minor typo on --help call.
3713 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3715 * src/highlighting.c:
3716 Call get_keyfile_wordchars() in highlighting_init_styles().
3719 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3721 * data/filetypes.ada:
3723 * src/keybindings.c:
3724 Switching notebook tabs now works for the currently used notebook
3725 widget instead of always using the documents notebook.
3726 * src/document.c, src/document.h, src/documentprivate.h,
3728 Small corrections to some API docs.
3731 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3733 * src/build.c, src/win32.h, src/win32.c:
3734 Expand system environment variables (%variableName%) on Windows when
3735 running Build commands.
3738 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3740 * src/keybindings.c:
3741 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3742 future using an indent block is more useful e.g. for ChangeLog
3744 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3745 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3746 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3747 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3748 tagmanager/parsers.h, tagmanager/makefile.win32,
3749 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3750 Add Markdown filetype (patch by Jon Strait, thanks).
3751 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3752 Fix disconnecting plugin signal id when not using geany_object.
3754 Add filetype_make_title() instead of using:
3755 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3756 It also supports "%s file" strings.
3759 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3761 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3762 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3763 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3764 plugins/filebrowser.c:
3765 Add plugin_signal_connect() for connecting plugin signals at
3766 runtime and also for connecting to any GObject signal.
3767 Add 'Plugin Utility Functions' on main page.
3768 Add foreach_array() macro.
3769 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3770 src/document.c, src/editor.c:
3771 Rename 3 sci functions to sci_set_target_start(),
3772 sci_set_target_end(), sci_replace_target() to match the SCI_
3776 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3778 * wscript: Fix compiling error with waf.
3781 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3783 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3784 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3785 src/Makefile.am, wscript:
3786 Move plugin_* utility functions to pluginutils.c.
3787 Add pluginprivate.h.
3789 Fix reshowing calltip in the wrong document.
3792 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3794 * doc/geany.txt, doc/geany.html:
3795 Add some general information about auto-completion capabilities
3796 (patch by Lex Trotman, thanks).
3799 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3801 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3802 Added a first Slovenian translation. Thanks to Joze Klepec.
3805 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3807 * src/highlighting.c:
3808 Use full styleset_foo[_init] function name as argument to
3809 init_styleset_case() and styleset_case() macros so it's easier to
3810 understand the code.
3811 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3812 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3813 doc/geany.txt, doc/geany.html:
3814 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3815 Heavily based on a patch by Eugene Arshinov (thanks).
3816 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3817 editor_strip_line_trailing_spaces().
3820 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3823 Attempt to fix reshowing calltips after the autocompletion list
3825 Reshow calltips also when the autocompletion list was closed
3826 implicitly by not choosing an item.
3828 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3830 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3831 plugins/splitwindow.c:
3832 Change utils_str_remove_chars() to work in place; fix allocating on
3833 the stack (the string length could exhaust the stack size).
3834 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3835 src/printing.c, src/callbacks.c:
3836 Rename utils_str_replace() utils_str_replace_all(), setting a
3837 'gchar **haystack' argument instead of returning a new string.
3839 For the Tabs indent type, remove spaces when unindenting (only) if
3840 there are no tabs on the line.
3841 Group undo actions for (un)indenting of multiple lines.
3842 * src/document.c, src/editor.c:
3843 Fix scrolling horizontally after finding a search match with the
3844 search bar or Find Next/Previous which is off-screen.
3845 * src/keybindings.c:
3846 Fix GLib warning when pressing a key with no documents open.
3849 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3852 Start unifying usage of @a and @c markup elements in API docs,
3854 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3855 Show/hide the toolbar without a restart when the setting in the
3856 preferences dialog is changed (closes #2824785).
3857 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3858 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3859 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3861 Continue unifying usage of @a and @c markup elements in API docs.
3864 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3867 Remove relative/untidy path elements when creating new documents
3868 with a filename (e.g. from the command-line) (#2823998).
3871 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3874 Disable 'Recent Projects' menu item if the list of recent projects
3877 Fix some harmless compiler warnings.
3878 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3879 src/plugins.c, src/utils.c, src/utils.h:
3880 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3881 src/utils.c and add it to the plugin API.
3882 Make utils_str_remove_chars() work on a new copy of the input string
3883 instead of modifying it in place.
3885 Remove underscores from the toolbar items labels.
3888 * plugins/splitwindow.c:
3889 Fix broken 'Show the current document' tool button icon.
3892 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3894 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3896 Add stash_group_add_widget_property() so we can save any widget's
3897 read/write properties.
3898 Use Stash for ui_prefs.sidebar_page setting.
3899 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3900 Make foreach_ptr_array() use an integer argument for its
3901 implementation, as this is more useful potentially than a gpointer*
3902 argument, and more straightforward.
3903 Add foreach_c_array(), foreach_ptr_array() to API.
3904 * src/utils.c, src/utils.h, src/document.c:
3905 Remove relative/untidy path elements when opening documents (closes
3908 Fix showing project name for documents list files with no
3909 subdirectory (oops).
3911 Fix checking whether to overwrite when using the Rename button in
3912 the 'Save As' dialog.
3915 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3918 Don't use the main window as parent for dialog boxes if it is not
3920 Set titles for message dialogs.
3923 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3926 Display item labels instead of raw names in the toolbar editor.
3927 Apply changes in the toolbar editor instantly.
3928 Show icons in the toolbar editor.
3929 Speed up toolbar editor dialog creation.
3931 Improve inserting of comment templates like File header or licence
3932 notices. The comment information are now read from the filetype
3933 configuration files.
3935 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3938 Enable file monitoring for files which are written to disk by Geany
3941 Fix broken special case handling when detecting filetypes from a
3942 shebang or other special file headers.
3945 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3948 Make Mark All keybinding clear search highlighting when there's no
3951 Fix wrong match length when using Mark with regex.
3952 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3953 src/keyfile.c, src/main.c:
3954 Add 'Show Paths' documents list popup item.
3955 Add "load_settings" core-only signal emitted just after loading
3956 main keyfile settings; useful to delay building UI elements until
3957 settings have been read.
3959 Fix GTK warning when right-clicking on default tag tree.
3960 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3961 Add treeviews_finalize().
3962 Remove tv.popup_openfiles field.
3965 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3967 * src/highlighting.c:
3968 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3971 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3974 Quote the uri before passing it to the browser when opening a
3975 website (closes #2818635).
3977 Fix broken 'builtin' Run command for HTML files on Windows.
3980 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3983 Properly fix wrong brace highlighting of non-brace character.
3985 Allow autocompletion in Perl double-quoted strings.
3986 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3987 Don't autocomplete in Perl q() strings.
3988 * data/filetypes.common:
3989 Make Mark highlighting brighter.
3990 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3991 Use hyphen for auto-feature terms.
3992 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3993 src/document.h, src/main.c:
3994 Add documents_foreach() API macro that skips invalid docs.
3995 Make filetypes[], documents[] part of the API again.
3996 Add GEANY() macro for sharing geany symbols between API and core.
3997 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3998 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3999 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4000 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4001 plugins/classbuilder.c, wscript:
4002 Add geanyplugin.h single include for plugin API; update all core
4004 Add sci_set_font() to API.
4005 Update plugin howto.
4006 * src/filetypes.c, src/filetypes.h:
4007 Remove filetypes_foreach_named().
4010 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4012 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4013 src/document.h, src/main.c, THANKS:
4014 Apply patch from Eugene Arshinov to reload color schemes via menu
4017 Reload filetypes.common after saving it.
4019 Improve wrong brace highlighting of non-brace character.
4022 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4025 Delay highlighting matching braces by 100ms, which speeds up
4026 scrolling with the arrow keys.
4027 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4028 Add 'Mark All' keybinding.
4029 * tagmanager/diff.c:
4030 Show relative paths in diff filename tags.
4033 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4035 * src/highlighting.c:
4036 Fix setting keyword list 'classes' for Haxe
4037 (pointed out by Andreas Mokros, thanks).
4040 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4042 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4043 doc/geany.txt, doc/geany.html, geany.glade:
4044 Add 'Drop rest of word on completion' pref.
4045 * src/editor.c, doc/geany.txt, doc/geany.html:
4046 If autocompletion is already visible when forcing completion, show
4047 document word completion instead of tag completion.
4048 Docs: Minor edits of related prefs items.
4049 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4050 Add warning when printing and editor font is not monospaced.
4051 Fix using GtkMessageType instead of gint param for
4052 dialogs_show_msgbox*().
4053 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4055 Support 'tab indents, space aligns' style for auto-indentation
4059 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4061 * src/document.c, src/documentprivate.h:
4062 Rework the GIO based file monitoring code. Now it is used only
4063 to indicate a possible change of the file, the real check if the
4064 file has been changed is performed by stat().
4065 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4066 Add style 'line_height' to increase the line height.
4067 Add style 'marker_mark' and change style 'marker_search' to
4068 define the style used for marked search results.
4069 * doc/geany.txt, doc/geany.html:
4070 Add the new 'Autocomplete all words in document' pref to the docs.
4073 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4075 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4076 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4077 Add 'Autocomplete all words in document' pref.
4078 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4080 Fix limiting number of word completion entries too much.
4081 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4082 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4083 Show autocompletion icons for tag symbols - for now only tags with
4084 an arglist have the 'function/method' icon, all others have the
4086 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4088 * src/highlighting.c:
4089 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4093 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4095 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4096 Fix removing underscores in translated string using no_underscore()
4098 Set a tooltip for the Split Window plugin's Show Current tool button.
4099 Add utils_strdupa() macro.
4100 * src/interface.c, geany.glade:
4101 Use stock Select All icon now we have >= GTK 2.8.
4103 Fix using project name for document items that start with the
4104 project base path but don't match it e.g. ".../geany-plugins"
4105 instead of ".../geany" when project name is 'geany'.
4108 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4111 Fix warnings when the toolbar does not contain the Run button.
4113 Fix wrong parsing of complex expressions in the Lua parser.
4114 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4116 Remove unnecessary enums.
4117 * scintilla/*, scintilla/include/*, src/plugindata.h:
4118 Update Scintilla to version 1.79.
4119 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4121 Use the new Scintilla struct names prefixed with 'Sci_'.
4122 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4124 Add second argument to the 'line_wrap_indent' styling setting to
4125 control the new Scintilla indentation mode for wrapped lines.
4127 Properly close the toolbar editor on delete-events.
4128 Fix warnings and possible crashes in the toolbar editor when the list
4129 of displayed toolbar items is empty.
4130 * data/filetypes.tcl:
4131 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4133 Make the plugin manager dialog a bit bigger.
4136 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4138 * doc/geany.html, doc/geany.txt:
4139 Fix wrong default values for the 'Show Calltip' keybinding.
4142 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4144 * data/filetypes.tcl, src/symbols.c:
4145 Fix duplicate "context_action_cmd" key.
4146 Use different icons for "Methods" and "Procedures" in the symbol
4149 Fix a small memory leak.
4150 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4151 src/keybindings.h, src/plugindata.h:
4152 Make the Scintilla keybindings 'Delete to end of line' and
4153 'Go to end of display line' configurable.
4155 Fix a typo (closes #2813624).
4158 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4160 * tagmanager/tcl.c, src/symbol.c:
4161 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4162 methods and namespaces).
4163 Patch by Witek Mozga, thanks.
4166 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4168 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4169 src/toolbar.c, src/toolbar.h:
4170 Remove ui_toolbar.xml Configuration Files menu item.
4171 Add a real toolbar editor dialog.
4172 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4174 Add a button in the preferences dialog and an item for the toolbar
4175 popup menu to run the toolbar editor dialog.
4178 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4181 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4182 Fix using locale encoding for default Save As dialog path.
4184 Beep when trying to activate the '...' autocompletion item.
4185 Limit (forced) document word completion to
4186 autocompletion_max_entries.
4187 Beep if no completions are shown when forcing autocompletion.
4190 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4192 * data/ui_toolbar.xml, src/toolbar.c:
4193 Add 'Build' toolbar button to the default layout.
4196 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4199 If forcing autocompletion and there's nothing else to show, complete
4200 from words in the current document (using code from Enrico's
4201 'AutoComplete Test' plugin).
4204 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4207 Add debug message if plugin has not set a name for its keybinding
4209 * data/filetype_extensions.conf:
4210 Add *.m4 for shell scripts.
4213 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4215 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4216 data/filetypes.common, TODO:
4217 Make filetypes.common named styles use the "default" named style for
4218 all missing style fields.
4219 Set named styles to usually leave the background style empty. This
4220 currently allows C-like filetypes to have a common default
4222 Allow hard-coded colors to use -1 for the default color.
4223 Add some highlighting style examples to the manual.
4226 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4229 Create initial template files with proper platform-specific line
4233 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4235 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4236 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4237 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4238 src/ui_utils.c, src/ui_utils.h:
4239 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4241 Refactor some related code.
4242 * tagmanager/conf.c:
4243 Strip trailing spaces from "Key" tags.
4245 Quote the full filename to the Geany executable when creating the
4246 "Open with Geany" context menu item.
4247 * plugins/splitwindow.c:
4248 Avoid using deprecated GTK API.
4249 * src/log.c, src/main.c:
4250 Properly clean up the logging mechanism.
4252 Fix LaTeX view commands on Windows (part of #2807688).
4254 Add a popup menu for the keybinding list in the preferences dialog
4255 to easily expand and collapse all groups.
4256 Refactor the keybindings code for the preferences dialog, prefix all
4258 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4259 Init stock items before creating the toolbar (closes #2809324).
4261 Generate the geany.pc file also on Windows.
4263 Invert the logic to determine which Save All we want to use:
4264 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4265 like icon for any other themes.
4268 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4270 * src/highlighting.c, README.Packagers, HACKING:
4271 Remove gsd_* default styles, use named styles instead.
4272 Note: this relies on filetypes.common being installed.
4273 Add load_style_entries(), which makes style initialization
4274 simpler, used in styleset_c_like_init().
4277 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4280 Prevent possible crash on Windows when not setting an initial
4281 directory for native File Open/Save dialogs.
4282 * data/filetypes.xml, src/highlighting.c:
4283 Add style 'jscript_regex' for filetype HTML
4284 (patch by Chris Macksey, thanks).
4287 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4289 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4290 Make GeanyDocument::file_type always be non-NULL, even for a new
4291 document with no filetype set.
4293 Only autocomplete scope for scopes matching the current filetype's
4295 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4296 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4297 data/filetypes.actionscript, data/filetypes.cs,
4298 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4299 data/filetypes.javascript, HACKING:
4300 Make C++, D lexer filetypes use named styles (apart from uuid,
4301 verbatim, regex styles).
4304 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4307 Don't explicitly change the current directory of the Save As dialog
4308 so that it uses the last used directory.
4311 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4313 * src/encodings.c, src/encodings.h, src/plugindata.h:
4314 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4317 When completing from the macro list, put the cursor after
4321 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4323 * tagmanager/pascal.c:
4324 Fix type definitions being parsed as functions.
4326 Don't autocomplete in unterminated strings as well.
4327 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4328 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4329 Remove data_ptr argument to foreach_[s]list() macros, as using
4330 node->data is enough sometimes; this makes the macro a bit more
4332 Add foreach_[s]list() macros to the plugin API docs.
4335 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4337 * scintilla/LexPascal.cxx:
4338 Backport fix from Scintilla CVS:
4339 Pascal lexer hanging on file that starts with 'interface' after
4343 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4346 Update Waf to 1.5.7.
4348 Overwrite installation prefix on Windows only if it wasn't
4349 specified explicitly.
4352 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4355 Display calltips for Pascal symbols in the Pascal way (#2803945).
4356 * tagmanager/pascal.c:
4357 Fix wrongly set return values for procedures (closes #2803945).
4358 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4359 tagmanager/include/tm_source_file.h,
4360 tagmanager/include/tm_workspace.h:
4361 Fix doxygen warnings.
4364 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4366 * src/editor.c, tagmanager/include/tm_workspace.h,
4367 tagmanager/tm_workspace.c, TODO:
4368 Autocomplete scoped fields like struct members when typing '.' (and
4369 also '->' or '::' in C/C++).
4370 Save all tag types for C/C++ when generating a global tags file, so
4371 we can use autocompletion for structs also.
4372 Merge tm_workspace_find_scope_members(),
4373 tm_workspace_find_namespace_members() (currently not built) from
4374 Anjuta 2.24.1 tagmanager.
4377 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4379 * tagmanager/pascal.c:
4380 Parse Pascal calltips (closes #2802640).
4383 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4385 * src/filetypes.c, src/ui_utils.c:
4386 Add filetypes.common Configuration Files menu item.
4389 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4392 Add backslash to the wordchars on Windows when using
4393 'Open Selected File'.
4395 Add support (configure, build and install) for building on Windows
4396 and cross-compiling for Windows using the Waf build system.
4399 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4402 Set status bar text instead of showing a dialog when saving
4403 ui_toolbar.xml because the user might save several times.
4405 Fix redrawing due to colourising just after the document is first
4406 drawn. Now colourising should happen before the first draw.
4407 * src/utils.c, src/highlighting.c, data/filetypes.common:
4408 Fix segfault on parsing a filetypes.* style definition that has < 4
4410 Allow style definitions to have missing fields to use the default
4414 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4416 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4417 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4418 * plugins/classbuilder.c:
4419 Fix wrongly created header guards when the class filenames contains
4420 dashes (patch by PCMan, thanks).
4421 * data/filetypes.matlab:
4422 Add build_settings section to allow executing Matlab scripts.
4424 When closing a document, mark it as invalid before removing it from
4425 the documents notebook (this fixes wrong Save All button state when
4426 closing an unsaved document because the "switch-page" signal handler
4427 was using old data).
4430 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4432 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4433 Support toggling bold/italic when using a named style, e.g.:
4434 commentdockeyword=commentdoc,bold,italic
4435 Improve named style docs.
4438 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4440 * src/build.c, src/editor.c:
4441 Fix crashes when parsing the output of a compiler which reports
4445 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4447 * src/highlighting.c:
4448 Support named styles also for filetypes.common [styling] entries.
4449 * doc/geany.txt, doc/geany.html, HACKING:
4450 Update docs for named styles in filetypes.* files.
4452 Fix grouping symbol list children when parent name has "." character
4453 in for reStructuredText and Conf filetypes.
4454 * tagmanager/python.c:
4455 Fix grouping functions/classes under a nested function.
4458 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4461 Adjust icon paths (patch by Dominic Hopf, thanks).
4462 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4463 Add 'Replace' toolbar button (closes #2798225).
4466 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4468 * src/utils.c, src/highlighting.c, TODO:
4469 Implement named styles support for filetypes.* using a
4470 filetypes.common [named_styles] section e.g.:
4471 foo=0xc00000;0xffffff;false;true
4473 These can be used in e.g. filetypes.c as:
4477 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4480 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4483 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4485 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4486 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4489 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4492 Remove quote_executable() as it is not used anymore.
4493 When creating the geany_run_script.bat use the "%0" variable
4494 expansion and quote it for the "del" command (closes #2797172).
4496 On Windows, fallback to the literal build command line if searching
4497 for the command in the system path failed (related to #2795923).
4498 Properly terminate the resulting strings when reading the stdout
4499 and stderr of any spawned commands on Windows.
4502 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4505 Use the wide character versions of native Windows File dialogs.
4507 Fix wrong initialisation of the default project path button callback
4508 in the preferences dialog.
4509 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4510 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4511 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4512 icons/Makefile.am, icons/geany.ico, icons/scalable,
4513 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4515 Move the icons geany.png and geany.ico into the icons directory.
4516 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4517 Drop the pixmaps directory.
4520 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4522 * src/keybindings.c:
4523 Improve MRU document switching so there are no duplicates in the
4524 list and documents switched to whilst the dialog is open are
4525 ignored. Also beep when cycling through to the first document in the
4529 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4532 Fix broken 'Cancel' button in the Save As dialog.
4535 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4538 Fix multiline indent when selection covers text on the last line.
4540 Show current document in bold in tab popup menu.
4541 * src/editor.c, tagmanager/python.c, TODO:
4542 Parse Python calltips.
4545 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4547 * src/symbols.c, tagmanager/python.c:
4548 Parse Python import statements to get symbol completion for the
4549 imported module names.
4550 * src/editor.c, src/editor.h:
4551 Make some only locally used functions static.
4552 Fix wrong sanity check.
4554 Fix quoting the build command string on Windows (closes #2791769).
4555 This broke when we made build commands run synchronously on Windows,
4556 now we don't need to special quote the commands anymore.
4559 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4562 Drop rest of word to the right of cursor when autocompleting (do we
4563 need a pref for this?).
4566 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4568 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4569 Add sci_set_selection().
4570 * doc/geany.txt, doc/geany.html:
4571 Update manual for MRU switching.
4572 * src/callbacks.c, src/editor.c, src/editor.h:
4573 Make indenting with the Tabs indent type preserve spaces on the line,
4574 so it works for the 'tab indents, space aligns' formatting style.
4577 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4579 * tagmanager/python.c:
4580 Fix missing symbols for variables when an equal sign is used
4581 in a comment on the same line as the variable declaration.
4582 Backport change from CTags SVN to keep the parser more in sync:
4583 Add support for Cython constructs to the Python parser.
4585 Remember the additional Find in Files search flags at startup.
4587 Don't close the Save As dialog when saving the file didn't succeed.
4590 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4593 Remember scribble cursor position.
4594 * src/keybindings.c, TODO:
4595 Implement Most-Recently-Used document switching when pressing
4596 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4599 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4601 * data/latex.tags: Added some more commands from unit.sty and
4605 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4607 * src/symbols.c, doc/geany.txt, doc/geany.html,
4608 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4609 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4610 tagmanager/Makefile.am, wscript:
4611 Merge unstable branch:
4612 Add reStructuredText scope information for tags (for symbol list
4614 Read custom system global tags files from $prefix/share/geany/tags;
4616 Show the number of tags in a user global tags file (instead of the
4617 running total) in the debug message.
4618 Also print debug messages when loading a tag file manually or for
4619 default global tags files e.g. python.tags.
4621 Move NestingLevel tags code into a separate file, add functions.
4623 Add 'Installation prefix' section instead of quoting '/usr/local'
4625 Update for custom system global tags files.
4628 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4630 * src/highlighting.c:
4631 Unset maybe previously keywords when setting up Scintilla for
4632 XML files. This fixed wrong highlighting after switching back to
4633 filetype XML from another one.
4635 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4636 is only used when explicitly requested.
4638 Remove unnecessary call to g_intern_string() to fix build with
4639 GLib 2.8 (closes #2790051).
4642 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4645 Make the clear icon of entry fields act on the release event, not
4646 on the press event like for other buttons.
4648 Refactor some multiple used code into get_multiline_comment_style().
4650 Create parent directories if necessary when checking for the
4651 configuration directory on startup (closes #2784577).
4654 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4656 * plugins/filebrowser.c:
4657 When a filter is set, apply it only to files, not directories and
4658 apply the filter to the UTF-8 name of the file as the filter string
4659 itself is also UTF-8.
4660 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4661 Add utils_color_invert() and use it in highlighting.c and printing.c.
4662 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4663 Backport change from Scintilla CVS:
4664 Change capitalisation of header file to suit cross-compilation on
4668 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4670 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4671 Update Scintilla to version 1.78.
4672 * src/editor.c, src/highlighting.c:
4673 Update Pascal styles as they changed in Scintilla.
4676 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4679 Ignore the invert syntax highlighting colours setting when printing
4680 to not print characters on a dark background (closes #2785244).
4681 * New release: Geany 0.17 "Wessex".
4682 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4683 src/geany.h, doc/geany.html, doc/geany.txt:
4684 Post-release version bump.
4687 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4689 * src/callbacks.c, src/callbacks.h, src/main.c:
4690 Update the View->Fullscreen menu item when fullscreen state is
4691 changed externally (e.g. by the window manager).
4693 Fix passing wrong pointer to the File Open dialog for the Run
4694 command in the Project Properties dialog.
4697 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4699 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4701 Remember the active sidebar page between sessions.
4703 Add a recent project item after creating a new project.
4704 * tagmanager/ruby.c:
4705 Fix wrong parsing of string literals (closes #2781264).
4707 Fix setting focus to the editor widget after changing the selection
4711 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4714 Prevent crashes when two or more top level items in the symbol
4715 list have the same name (closes #2778246).
4718 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4720 * src/keybindings.c:
4721 Manually show the main notebook tab bar menu when Shift-F10 is
4722 pressed. This broke when we disabled the default GTK tab bar menu.
4724 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4725 which was reloaded shortly before.
4727 When the editor menu is opened by the Menu key, use the text cursor
4728 position for retrieving the current word. This fixes disabled
4729 Go to Tag items in the menu (#2780044).
4731 Set the "ellipsize" property of GtkCellRendererText to automatically
4732 shorten the path and file names in the Documents list.
4733 * doc/geany.html, doc/geany.txt, src/build.h:
4734 Increase the amount of highlighted build error messages to 100.
4735 At least for LaTeX we need higher values as there is a lot of
4736 informative output before any errors are reported.
4737 * src/filebrowser.c:
4738 Use the startup path as the initial directory for the filebrowser
4739 plugin when no project and no files are opened
4740 (patch by Matias Gea, thanks; closes #2780521).
4743 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4745 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4746 src/utils.c, src/utils.h:
4747 Ellipsize tab labels and some status messages for very long
4748 filenames (closes #2777348).
4749 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4750 Add utils_str_middle_truncate() and
4751 document_get_basename_for_display() to the plugin API.
4752 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4753 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4754 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4756 Add a hidden preference 'use_safe_file_saving' to save files to disk
4757 by creating a temporary file first. This has serious side effects,
4758 please read the documentation before enabling this.
4760 Make build commands on Windows run synchronously to avoid problems
4761 with reading build commands' output.
4762 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4763 Limit the amount of highlighted build error messages in the
4764 Compiler window to 50 for performance reasons.
4767 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4769 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4771 Replace our own GEANY_KEYS_MODIFIER_MASK by
4772 gtk_accelerator_get_default_mod_mask() which gives the same result.
4773 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4774 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4775 Add a trivial symbol parser for NSIS files.
4778 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4781 Hide the extra file open dialog options in an expander to make the
4782 dialog more compact by default and to provide more space for the
4784 Remove the filename field as it is also provided by GTK itself with
4785 more features like auto-completion.
4786 Watch the 'show-hidden' property of the file chooser widget using
4787 GObject's "notify" signal which gives accurate results and remove
4788 the hack using the "selection-changed" signal.
4791 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4793 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4794 Prevent double execution of radio menu item "activate" or "toggled"
4796 Move 'Set Encoding' callback function into encodings.c.
4799 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4802 Add some missing 'void's in function definitions.
4803 If the project base path is './', just use the path of the project
4804 config file instead of appending './'.
4805 * src/treeviews.c, src/project.c:
4806 When a project is loaded, replace the project base path with the
4807 project name in the Documents sidebar for parent items
4811 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4813 * src/keyfile.c, src/keyfile.h, src/project.c:
4814 Fix duplicating the recent files and projects lists when closing
4816 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4817 src/editor.c, src/encodings.c, src/filetypes.c,
4818 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4819 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4820 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4821 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4822 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4823 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4824 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4826 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4827 sense to keep the code more readable.
4830 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4833 When updating global type definitions for opened documents, take
4834 also C++ namespace symbols into account and don't ignore symbols
4835 which are defined inside a scope.
4838 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4841 Don't show 'plugin is not binary compatible' messages on the status
4842 bar, only the status window.
4845 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4848 When opening files from a remote instance on X11, set the window
4849 server time to encourage window managers to pop up the main window
4850 (related to #2735467 and #2276179).
4852 When finished sending filenames to a remote instance, notify the
4853 environment that we finished starting up.
4856 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4858 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4859 Sort Configuration Files menu.
4860 Add ui_menu_sort_by_label().
4861 Add foreach_list() macro.
4866 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4869 Fix setting a wrong default window size when starting without an
4870 existing configuration.
4871 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4872 Make editor_highlight_braces() static.
4873 Remove unused wrapper functions.
4874 * src/editor.c, src/symbols.c, src/symbols.h:
4875 Prevent showing an empty macro list.
4876 Show only macros of the same filetype instead of all macros of all
4879 Don't add opened project files to the GtkRecentManager.
4882 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4885 Add Configuration Files item for snippets.conf.
4886 * src/highlighting.c, src/symbols.c:
4887 Fix 2 old uses of filetype IDs.
4890 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4892 * src/interface.c, src/printing.c, geany.glade:
4893 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4896 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4899 Add sanity checks in ui_lookup_widget() just to be safe.
4900 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4901 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4902 src/project.h, src/ui_utils.c, src/ui_utils.h:
4903 Add "Recent Projects" menu to the Project menu
4904 (#2728630, patch by Elias Pschernig, thanks).
4905 * doc/geany.txt, doc/geany.html:
4906 Describe how to build Geany using the Waf build system.
4907 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4908 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4909 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4910 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4911 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4912 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4913 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4914 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4915 src/utils.c, src/utils.h, src/vte.c:
4916 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4917 performance when building the code with gcc.
4918 * src/highlighting.c:
4919 Fix typo in the G_LIKELY checks, introduced in last commit.
4920 Fix the size of the styles array.
4922 Show a message dialog when renaming a file fails.
4925 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4928 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4929 (as we did for all other files in SVN r3382).
4932 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4934 * src/filetypes.c, doc/geany.txt:
4935 Move ActionScript to the Script group.
4937 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4938 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4939 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4940 plugins/htmlchars.c:
4941 Merge reorder-filetypes branch:
4942 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4943 append randomly without breaking the ABI).
4944 Make None filetype name = title = _("None").
4945 Add foreach_slist() macro.
4946 Add filetypes_by_title list to GeanyData for plugin API access
4947 - a list of filetype pointers, which includes the None filetype
4948 first. This list stays constant by the time plugins are initialized,
4949 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4950 index the sorted list.
4953 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4955 * doc/geany.txt, doc/geany.html, src/main.c:
4956 Add widget names for the menubar and toolbar.
4958 When hiding the messages window, set the input focus back to the
4959 editor widget (part of #1910393).
4962 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4964 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4965 Backport recent changes from Scintilla CVS to add partial support
4966 for RFC2822 styled text using the Properties lexer.
4967 Ignore leading whitespace for config files and RFC2822 text.
4968 * data/filetypes.actionscript:
4969 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4970 * THANKS, src/treeviews.c:
4971 Display file/directory icons in the Documents sidebar
4972 (patch by Simon Treny, thanks).
4975 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4977 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4978 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4979 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4980 Add an option to allow appending the toolbar to the main menu bar
4981 to save some vertical space.
4982 Allow setting toolbar icon size to very small (menu icon size).
4985 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4987 * src/keyfile.c, src/utils.c, src/utils.h:
4988 Add utils_path_skip_root(), a relative path safe variant of
4989 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4990 * src/keyfile.c, src/main.c:
4991 Allow negative window coordinates when saving and restoring the
4992 position of the main window.
4993 Restore the main window position and size *after* the window has
4994 been realised to get it positioned accordingly
4995 (this affects at least Windows).
4998 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5000 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5001 Use g_win32_get_package_installation_directory_of_module() on Windows
5002 with newer GLib versions instead of deprecated API.
5003 * src/keybindings.c:
5004 Don't manage the last used documents list when quitting to prevent
5005 errors by accessing invalid memory (may close #2533990).
5008 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5011 Delete the geany_run_script.sh immediately after execution
5012 to prevent leaking old copies when the script was quit unexpectedly
5013 (closes #2710482, patch by Martin Olsson, thanks).
5015 Check whether skipping the root element of a document's filename
5016 succeeded and use the filename itself if not (e.g. on relative
5017 filenames, #2702844).
5018 Use the locale encoded filename when saving session files.
5020 Re-set the quitting status after all documents have been closed on
5024 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5026 * plugins/htmlchars.c:
5027 Remove usage of deprecated sci_get_selected_text() from plugin.
5030 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5033 Delay disk file checks when switching between documents a little
5034 bit to avoid fast, unintentional page switching in some cases.
5035 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5036 src/sciwrappers.c, src/sciwrappers.h:
5037 Deprecate sci_get_text(), sci_get_selected_text() and
5038 sci_get_text_range().
5039 Add sci_get_contents(), sci_get_contents_range() and
5040 sci_get_selection_contents() as replacement functions to provide
5041 an easier and cleaner API (initial patch by Frank).
5044 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5047 Fix wrong parsing of CSS tags when the definition block starts on
5048 a new line (reported by Dominic Hopf, thanks).
5051 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5053 * plugins/htmlchars.c:
5054 Extend plugin by feature to bulk replace and replace on input for
5055 special characters to their HTML entities.
5058 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5061 Update build menu items after changing anything in the
5062 'Set Includes and Arguments' dialog.
5063 Disable Compile/Run buttons/menu items when Compile/Run commands are
5065 Reset current build directory to the base directory after reading a
5066 "Leaving directory" message when parsing Make output
5067 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5069 Fix wrong display of the filename in the tab bar menu for new files.
5071 Set the initial directory for the Save As dialog only once on
5073 Add a shortcut of the project's base directory to the
5074 File Open/Save As dialogs when a project is open for faster access.
5075 * src/splitwindow.c:
5076 Add keybindings for the split actions.
5079 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5082 When using Find All in the Find dialog (in Session and Document),
5083 display the right amount of matches.
5084 Fix the display of the matches once per line (I broke the original
5087 Fix wrong directory selection behaviour in all Open Folder dialogs
5088 (closes #2688020, patch by Marcel Stimberg, thanks).
5090 Don't present the main window of a running instance when starting
5091 a second instance separately.
5094 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5097 Reduce default file permissions on the Unix Domain socket file
5098 (reported by Jörg Sommer, thanks).
5101 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5103 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5104 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5106 Add an option to set an additional plugin lookup path.
5108 When using Find All in the Find dialog, display matches only once
5109 per line in the messages window (patch by Bert Vermeulen, thanks).
5112 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5114 * data/filetype_extensions.conf, data/filetypes.actionscript,
5115 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5116 src/highlighting.c, src/plugindata.h, src/symbols.c,
5117 tagmanager/Makefile.am, tagmanager/actionscript.c,
5118 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5119 Add filetype ActionScript (patch by Chris Macksey, thanks).
5120 Update type keywords only for real C-like languages.
5121 Fix wrong sorting of Assembler and Ada filetypes.
5122 * plugins/classbuilder.c:
5123 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5124 Other minor cleanups.
5127 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5130 Don't use menu item images for the tab bar menu to save some
5132 * data/filetypes.fortran, tagmanager/fortran.c:
5133 Add keyword 'extends' and fix Fortran parser to support the
5134 'extends' keyword (closes #2654492).
5135 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5136 src/search.c, src/toolbar.c:
5140 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5142 * src/about.c, THANKS:
5143 Added Jari Rahkonen to list of Finnish translators.
5146 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5149 Adjust minimum required GTK version.
5150 * src/Makefile.am, wscript:
5151 Add main.h to the list of installed header files.
5152 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5153 src/notebook.c, src/ui_utils.c:
5154 Remove GeanyDocumentPrivate::tabmenu_label.
5155 Disable the default tab bar menu for the main notebook widget and
5156 use a custom menu instead which lists all open files as usual plus
5157 'Close Other Documents' and 'Close All' menu items.
5160 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5162 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5163 Move ui_set_search_entry_background() into ui_utils.c.
5164 Change the background colour of the search entries in the Find
5165 and Replace dialogs according to the search results like in the
5166 toolbar search field.
5167 Add images to the 'Replace' and 'Replace and Find' buttons in the
5169 Minor cleanups in search.c.
5170 * tagmanager/tm_source_file.c:
5171 Update source files upon creation.
5173 Update C tags for glibc 2.9.
5174 * src/callbacks.c, src/toolbar.c:
5175 Fix broken non-incremental search with the toolbar search entry when
5176 pressing Enter (closes #2638180).
5177 * plugins/splitwindow.c:
5178 Fix possible crash on non-32-bit systems (patch by
5179 Wolfgang Ocker, thanks).
5181 Update the Packager tag due to Dominic's various contributions.
5182 Update description and feature list.
5183 Change Source tag to the gzip'ed tarball to be in sync with the
5184 Makefile target (thanks to Wolfgang Ocker for reporting).
5187 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5189 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5190 Removed deprecated plugin VC Diff
5193 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5196 Fix wrong Fortran 90 comment characters when inserting templates.
5197 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5198 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5199 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5201 Add 'Send Selection to Terminal' command to the Edit->Format menu
5202 (initial patch by David Gleich, thanks).
5203 * geany.glade, src/interface.c:
5204 Fix mnemonic for the Edit->Preferences menu item.
5207 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5209 * configure.in, plugins/Makefile.am:
5210 Enable socket support when cross-compiling.
5211 Enable plugin compilation when cross-compiling.
5213 Fix missing NULL checks when reading the colour value of compiler
5215 * src/main.c, src/win32.c, src/win32.h:
5216 On Windows, change the working directory to the Geany installation
5217 path at startup to avoid unwanted directory locking(closes #2626124).
5219 Fix broken selection of "Document->Set Encoding" menu items.
5220 * src/document.c, tagmanager/include/tm_source_file.h,
5221 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5222 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5223 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5224 Don't let the tagmanager automatically reparse files if they
5225 seem to be changed on disk (affects all files in the current session,
5226 not the current one). This should speed up file saving a little bit,
5227 especially with remote files.
5228 Remove now unnecessary calls to tm_workspace_update().
5230 Allow an empty value for the date format in the print settings to
5231 omit the date/time string in the print header.
5234 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5236 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5240 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5243 Add missing header include (closes #2615808).
5246 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5249 Fix a possible crash when comparing symbol names
5250 (could be related to Ubuntu bug #147151).
5251 Fix broken symbol list tooltips when tag names contain ampersands.
5254 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5256 * plugins/makefile.win32:
5257 Don't build Split Window plugin on Windows (doesn't work).
5260 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5262 * ChangeLog, Makefile.am: Rotate ChangeLog.
5263 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5264 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5265 Post-release version bump.
5268 *** See ChangeLog.pre-0-17 for earlier changes ***