1 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Do not translate 'name' field for filetype None because it is used
5 for hash table lookup. This fixes missing files in the Open dialog
6 for the 'All files' filter with non-English locales (thanks to Sardem
10 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
12 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
13 Add sci_get_lexer() to plugin API.
14 * plugins/htmlchars.c:
15 Only automatically replace characters when the current document is
17 * plugins/htmlchars.c:
18 Rename submenu item labels to be more descriptive.
20 Fix Alt+[0-9] switching tabs when other modifiers are also held.
22 Don't allow pasting of numbers followed by other characters in the
23 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
25 Print "GIO" and "built-in regex" if enabled with --version.
27 Use g_file_replace_contents() if available to save documents - this
28 should help workaround bugs in GVFS (based on patch by Alexey
32 Fix wrongly adding newlines for templates on disk that don't have
33 LF line endings when default line endings are not LF, e.g. Windows.
36 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
38 * src/utils.c, src/main.c:
39 Remove trailing directory separator for app->datadir and
40 app->docdir for consistency with the other directory fields.
42 Detect user and system filetype configuration files as Conf
45 Respect 'Smart' home key for Shift+Home (fixes #3100290).
48 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
51 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
54 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
57 Add install-data-only target to only install data/* to speed up
60 Fix not autocompleting when breaking lines.
61 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
62 data/colorschemes/alt.conf, data/filetypes.haxe,
63 data/filetypes.common, data/filetypes.glsl,
64 data/filetypes.actionscript, data/filetypes.cs,
65 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
66 data/filetypes.Genie.conf:
67 Add named style 'extra', use for C-like filetypes.
70 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
73 Match data-* and aria-* as HTML attributes.
74 * data/colorschemes/alt.conf, data/filetypes.common,
75 data/filetypes.python:
76 Make Python use named styles for color scheme support - use
77 alt.conf color scheme if you want the old colors.
78 Add named style 'function'.
80 Move plugin_set_info prototype and parenthesize arguments for
81 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
83 Fix putting pointer symbol before name, not after type.
86 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
88 * src/filetypes.c, src/ui_utils.c:
89 Fix notebook tab menu icons using theme for "text/plain" filetypes.
90 Make filetype mime_type "text/plain" instead of NULL.
93 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
95 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
96 Edit XML tag autocompletion pref and tooltip to include HTML.
97 * doc/geany.txt, doc/geany.html:
98 Add docs for 'Ensure consistent line endings' pref.
100 Change default for 'Override Geany keybindings' to on.
102 Sort filetypes_by_title last instead of on insertion to prevent
104 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
105 Add filetype mimetype field (patch by Colomban Wendling, thanks).
106 * src/sidebar.c, src/document.c:
107 Show mimetype icon in sidebar Documents list (patch by Colomban
110 Add notebook tab document icons (based on patch by Colomban
113 Leave text/plain mime_type fields as NULL (like custom filetypes).
116 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
118 * src/editor.c, data/snippets.conf:
119 Move HTML automatic <table> tag completion into a 'table' snippet
120 so the user can decide when to use it (patch by Eugene Arshinov,
122 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
123 src/document.c, src/document.h, THANKS, geany.glade:
124 Add 'Ensure consistent line endings' file saving pref (patch by
126 * src/utils.c, src/utils.h, src/editor.c:
127 Auto-indent after an HTML/XML line with a missing closing tag (patch
128 by Eugene Arshinov, thanks).
129 Behaviour only applies if XML tag autoclosing is off.
130 * src/templates.c, src/build.c, src/document.c, src/editor.c,
131 src/symbols.c, plugins/saveactions.c:
132 Remove unnecessary uses of FILETYPE_ID() macro with
133 GeanyDocument::file_type.
134 * data/filetypes.xml:
135 Add HTML5 attributes (thanks to Ross McKay).
138 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
141 Fix not changing edited keybindings when cancelling the Preferences
143 * data/filetypes.xml:
144 Add HTML5 element names (thanks to Ross McKay).
147 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
149 * src/utils.c, src/filetypes.c:
150 Remove filetype default extensions from code.
152 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
154 Refactor shared code with kb_cell_edited_cb().
157 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
159 * src/highlighting.c:
160 Use radio buttons for View->Editor->Color Schemes menu.
161 Don't hide the menu when only the default item is available.
162 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
163 Add alternative color scheme based on Python colors.
164 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
165 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
166 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
167 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
168 Add Erlang filetype (patch by Taylor Venable, thanks).
169 * src/filetypes.c, data/filetypes.*:
170 Move filetype 'extension' default into data files.
171 * src/filetypes.c, data/filetypes.vala:
172 Move filetype comment_{open,close} defaults into data files.
175 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
177 * data/filetypes.c, data/filetypes.d:
178 Add missing C99 keyword 'restrict' (#3046716).
179 Add missing D1 keywords 'ref' and 'macro'.
182 Parse Vala functions with contracts (#3080232).
184 Fix saving project indent prefs straight after using project
186 * src/highlighting.c, src/filetypes.c:
187 Prevent debug message about a missing 'default' named style when
188 using just a user color scheme file.
191 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
194 Fix off-by-one bug in 'search_mark_all'.
197 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
200 Ignore D /+ +/ comments.
202 Ignore D unittest blocks.
203 Parse D template functions with constraints.
204 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
205 Add 'Insert New Line Before/After Current' keybindings (based on
206 patch by Eugene Arshinov, thanks).
208 Use secondary text for 'file not found on disk' dialog.
211 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
214 Fix build with GLib 2.8.
217 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
219 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
220 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
221 Revert X11 workspace socket support as it needs more work; moved
222 to workspace-sockets branch.
225 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
227 * src/geanywraplabel.c:
228 Fix build with GLib 2.8.
229 * src/dialogs.c, src/about.c, THANKS:
230 Group Open dialog encoding options by submenus (patch by Adam Ples,
232 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
233 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
234 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
235 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
236 Add Lisp filetype (patch by Mário Silva, thanks).
237 Note: Lisp lexer was taken from Scintilla instead.
240 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
242 * po/kk.po, THANKS, src/about.c:
243 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
247 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
249 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
250 Don't cache overridden lexer properties.
251 Add foreach_strv() to plugin API.
252 Add utils_strv_join().
253 * tagmanager/basic.c:
254 Parse property, constructor, destructor as functions (patch by
255 pottersson, thanks; #2992167).
258 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
260 * src/tools.c, doc/geany.txt, doc/geany.html:
261 Fix passing quoted arguments when using 'Send Selection to'. This
262 means sed 's/\./(dot)/g' now works.
264 Add snippet keybinding support for keys in user snippets.conf (based
265 on patch by Eugene Arshinov, thanks). No docs yet.
266 * doc/geany.txt, doc/geany.html:
267 Add some subheadings for Snippets section.
268 * doc/geany.txt, doc/geany.html:
269 Add snippet keybindings docs.
270 * src/highlighting.c, src/utils.h:
271 Move foreach_strv to utils.h.
272 * src/editor.c, data/snippets.conf:
273 Read snippet keybindings from system keyfile also.
274 Add keybinding example to default snippet.conf.
277 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
279 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
280 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
281 data/filetypes.txt2tags, data/filetypes.markdown,
282 data/filetypes.restructuredtext:
283 Add symbol_list_sort_mode per-filetype setting, set to sort by line
284 number by default for Markdown, reStructuredText and Txt2Tags.
285 Add utils_get_setting() macro for reading a key from a home or
287 Move GeanyFiletypePrivate to filetypesprivate.h.
288 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
289 Link with X11 if found to fix linking with a recent GNU ld.
291 Avoid delay and redrawing when automatically opening a new document
293 * scintilla/LexForth.cxx, scintilla/makefile.win32,
294 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
295 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
296 data/filetypes.forth, data/filetype_extensions.conf, wscript:
297 Add Forth filetype (patch by Thomas Huth, thanks).
299 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
300 commands for 'Send Selection to' (oops).
303 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
306 When commenting/uncommenting with single-line comment characters,
307 ignore any end of line characters before evaluating the current line.
308 * data/filetypes.python:
309 Simplify Python Compile/Syntax Check command.
312 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
314 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
316 Add hidden pref 'find_selection_type' with option to repeat last
317 search when there's no selection.
318 Change default Find Selection behaviour to not let the X selection
319 override the current word (can be confusing).
320 Add docs for Find Selection commands.
322 Fix segfault on idle callback when quitting.
323 * src/interface.c, src/keybindings.c, geany.glade:
324 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
326 * src/interface.c, geany.glade:
327 Move editor popup menu Insert Comments submenu to top of Insert menu.
328 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
330 Add hidden pref new_document_after_close for whether to open a new
331 document automatically, off by default.
333 Add 'Bugs to watch out for' section.
336 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
338 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
339 doc/stash-gui-example.c:
340 Improve Stash GUI example.
343 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
345 * src/interface.c, geany.glade:
346 Move Go to Marker menu items to Search menu.
347 Rename popup editor menu item Commands -> Edit.
348 * src/callbacks.c, src/search.c, src/search.h:
349 Move find_again() to search.c.
351 Make Find Selected commands repeat the last search if the selection
353 * doc/geany.txt, doc/geany.html:
354 Add docs for Find Selection keybindings.
355 * src/interface.c, src/keybindings.c, geany.glade:
356 Unify Find Selection strings.
357 * src/interface.c, src/ui_utils.c, geany.glade:
358 Group editor popup Insert commands in a submenu, with extra items
359 for the most commonly used Insert Comments commands.
360 Show Edit->Commands before Format in menubar Edit menu (to match
362 Show Open Selected F_ile popup item below submenus.
365 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
368 Refactor shared submenu code with GeanySharedMenu array.
369 * src/interface.c, src/ui_utils.c, geany.glade:
370 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
371 shared with the editor popup menu.
373 Open a new document automatically after closing all documents.
376 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
379 Prompt for reloading if the document has an undo stack to avoid
380 losing undo ability on accidental reloading (patch by Colomban
382 * src/project.c, src/geanyobject.c, src/geanyobject.h,
384 Add plugin signals project-dialog-create and
385 project-dialog-confirmed so plugins can append a Project Properties
386 notebook tab (patch by Jiří Techet, thanks).
387 * src/ui_utils.h, src/plugindata.h, src/main.c:
388 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
389 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
390 src/plugins.c, plugins/geanyfunctions.h:
391 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
394 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
397 Save document indent width with the session.
398 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
399 doc/geany.html, TODO:
400 Use a separate socket per workspace on X (patch by Erik de Castro
404 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
407 Ignore directories passed on the command-line (based on patch by
408 Erik de Castro Lopo, thanks).
410 Parse D function template names.
411 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
412 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
414 Allow per-document indent width setting (patch by Jiří Techet,
415 updated by Erik de Castro Lopo - thanks).
416 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
417 Combine indent width menu item callbacks.
418 * src/interface.c, geany.glade:
419 Don't translate indent width menu items as they are now used for
423 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
425 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
426 Remove 3 popup menu items to save space:
427 Find Document Usage because Find Usage can be used instead.
428 Go to Tag Declaration because Go to Tag Definition is more common.
429 Go to Line because the toolbar item can be used instead.
430 * src/tools.c, src/search.c, tagmanager/python.c:
431 Fix some 'possible' NULL pointer dereferences (based on patch by
432 Erik de Castro Lopo).
433 * src/keybindings.c, src/keybindings.h, src/prefs.c:
434 Simplify keybindings_check_event().
437 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
440 Use up/down icons for Previous/Next Error.
441 * src/interface.c, src/keybindings.c, src/callbacks.c,
442 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
444 Add Find Usage and Go to Tag items to Search menu for easier
446 * tagmanager/tm_symbol.c:
447 Fix possible NULL dereference.
449 Add link to glade-2.12.2.tar.gz on geany.org.
450 * doc/geany.txt, doc/geany.html:
451 Mention the filetype wordchars setting can be overridden by the
452 whitespace_chars filetypes.common setting.
453 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
454 Remove NULL checks when calling g_free() (patch by Erik de Castro
457 Show Save As when saving if the document filename doesn't have an
458 absolute path, so command-line new files can be saved without a
459 prompt, but file templates still prompt the user.
462 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
465 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
469 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
471 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
472 Add GeanyMainWidgets::message_window_notebook for plugins to append
473 a new notebook page (#3061342).
475 Add Close button to the detected file changed dialog.
476 * src/interface.c, geany.glade:
477 Add separator between Find Previous and Find in Files.
478 Add up/down icons for Previous/Next Message.
481 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
483 * data/snippets.conf:
484 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
488 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
491 Fix broken editing of build menu labels.
492 * src/encodings.c, src/filetypes.c, configure.ac:
493 Auto-enable building with included regex if no regcomp function is
495 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
496 regex support is required.
498 Backport fix for possible infinite loop from CTags.
499 * scintilla/PlatGTK.cxx:
500 Backport list box memory leak fixes from Scintilla 2.20.
503 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
506 Make the Properties dialog filename a label and put it first (patch
507 by Jiří Techet, thanks).
508 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
510 Remove the "Set build working directories" button from the project
511 properties dialog (patch by Jiří Techet, thanks).
513 Include all files if the Find in Files pattern field is enabled and
516 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
519 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
521 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
522 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
523 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
524 data/filetypes.txt2tags, wscript:
525 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
526 * m4, configure.ac, Makefile.am:
527 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
529 Only prompt for reloading if the document has unsaved changes
530 (patch by Jiří Techet, thanks).
533 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
536 Apply a patch by Jiří Techet which is preventing warnings when using
537 -Wmissing-prototypes on compiling. Thanks.
540 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
542 * scintilla/KeyWords.cxx:
543 Link Octave instead of Matlab.
544 Add comment about not being autogenerated.
545 Minor changes to fit Scintilla order.
546 * src/build.c, src/build.h:
547 Replace GeanyBuildCommand::entries array with separate fields.
548 Similar to r5077 in the bs2 branch, but with less loop unrolling.
550 Remove buildcmd_* accessor functions.
553 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
555 * src/highlighting.c, src/editor.c:
556 Use Octave lexer instead of Matlab to support Octave # comment char.
559 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
562 Fix segfault on Tools->Reload Configuration when no documents are
564 * scintilla/LexMarkdown.cxx:
565 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
568 Fix saving non-project filetype error regex.
570 Fix memory leak in read_regex().
573 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
576 Check for libsocket on OpenSolaris to fix build.
578 Rewrite the logic to auto detect encodings a bit to make it more
579 readable and fix a slightly wrong detection on Windows
581 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
583 Add editor_goto_pos() to the plugin API.
586 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
589 Check for git-svn repo, not just git because find-rev doesn't
590 always fail with a git-only repo.
593 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
596 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
599 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
601 * doc/geany.txt, doc/geany.html:
602 Reorder Focus keybindings.
605 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
608 Applying a patch by Erik de Castro Lopo for checking against
609 pkg-config when running autogen.sh. Thanks for the patch.
611 Applying a patch by Colomban Wendling to print out log domains.
615 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
617 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
618 Use single binding_ids keybinding array instead of individual
619 arrays for core keybindings. This allows the keybinding IDs to be
620 merged into one enum; the order of keybindings is now just the
621 order they are added to each group. Keybindings can be reordered
622 without breaking the plugin ABI but groups must stay the same.
624 Fix writing the default value when a key is missing for hidden
625 prefs, even if it was overridden when it was originally read.
626 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
627 Move some interface hidden prefs to ui_utils.c.
629 Revert r4840 scope completion mode as it sometimes breaks
631 * src/keybindings.h, src/plugindata.h:
632 Randomly sort keybinding IDs to show there should be no order.
634 Reorder Focus keybindings.
637 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
639 * src/ui_utils.c, src/ui_utils.h:
640 Make ui_label_new_bold() a function.
641 Escape the name of the current document for markup when using
642 document name for menu items (closes #3038844).
644 Inherit 'beep on errors' preference for the audible bell preference
645 for the VTE (closes #3038215).
648 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
650 * src/utils.c, src/utils.h:
651 Add utils_get_eol_char().
652 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
653 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
655 Ensure inserted templates always have proper line ending characters
656 according to the current document's preference.
657 This is also fixes problems with templates on Windows which had
658 always Unix line ending characters but now since they are read
659 from files, these have Windows line ending characters and had been
663 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
666 Fix build with GTK 2.8, use the stock icon name directly instead
667 of the macro. Though, the icon is still missing for GTK 2.8.
669 Make make_comment_block() work with a GString. This is not yet
670 perfect but a bit better than before.
673 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
675 * src/keybindings.c, src/vte.c, src/vte.h:
676 Implement 'Select All' for the VTE widget.
679 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
682 Fix missing template files in the Windows installer.
685 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
687 * data/filetypes.python:
688 Update list of Python builtins, based on Python 2.6.
691 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
694 On Windows, convert filetype extensions read from config files
695 to lower case (closes #3028856).
698 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
701 Focus toolbar item when pressing Go to Line keybinding only when
702 it's not in the toolbar's drop down overflow menu (fixes #3027454).
705 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
708 Fix build menu translation problems.
711 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
717 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
720 Fix scrolling the editor line in view after loading a session and
721 switching document tabs. Note this causes repainting so needs
723 * doc/geany.txt, doc/geany.html:
724 Add note to restart Geany after installing/updating before editing
726 * src/ui_utils.h, src/main.c, src/ui_utils.c:
727 Use Stash to save statusbar_template setting, instead of the
728 load/save-settings signal.
732 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
734 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
735 Fix writing empty hidden pref "statusbar_template" key so users can
736 find it (patch by Dimitar Zhekov, thanks).
737 * src/ui_utils.c, src/ui_utils.h, src/main.c:
738 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
741 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
743 * src/build.c, src/project.c, src/project.h:
744 Show the Project Properties build tab when choosing 'Set Build
745 Commands' for now to prevent confusion with non-project commands.
748 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
750 * src/search.c, doc/geany.txt, doc/geany.html:
751 Fix Grep --exclude-dir example.
754 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
757 Add sidebar Documents popup menu item 'Find in Files'.
758 * src/keyfile.c, src/main.c, src/editor.c:
759 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
760 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
763 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
765 * doc/geany.txt, doc/geany.html:
766 Fix wording - restarting is required for hidden prefs.
767 File templates don't need manual reloading anymore.
769 Fix only adding project base path to Find in Files history if it
770 isn't already there (oops).
772 Parse lines in the Messages window even if Find in Files hasn't
773 been used yet (patch by Jiří Techet, thanks).
776 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
778 * scintilla/LexCPP.cxx, src/highlighting.c:
779 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
781 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
782 data/filetypes.common:
783 Add filetypes.common fold_symbol_highlight color setting.
784 Add API macro foreach_range().
785 * src/printing.c, doc/geany.txt, doc/geany.html:
786 Always use white background color when printing (except for text
787 with a white foreground) to save ink (should fix #2968998).
788 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
789 Limit build error editor indicators to 50, but parse all errors in
790 the Compiler tab (fixes #3019823).
793 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
795 * src/highlighting.c:
796 Re-enable fold.comment for lexers - it was disabled to prevent C
797 //{ explicit folding, but that also disables stream comment folding
799 * tagmanager/tm_workspace.c, tagmanager/get.c:
800 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
802 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
803 doesn't affect the bug with document switching not scrolling cursor
804 in view after loading a session.
807 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
809 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
810 Add statusbar_template hidden pref (based on patch by Dimitar
812 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
813 Add spaces after RO when using %r in statusbar_template setting.
814 Add space between encoding and BOM.
815 Note \t means tab for default text.
818 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
821 Restore tabbing past Find in Files combo box drop down menus.
824 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
826 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
827 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
829 Move plugin signals docs to pluginsignals.c, using function
830 pointer syntax instead of @signaldef as this puts a summary of
831 the signal names at the top of the page and sorts alphabetically.
832 (Note: the syntax is similar to Vala signal syntax).
835 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
838 Make default dialog entries use GTK_STATE_INSENSITIVE color not
839 a fixed color (Suggestion by Ditmar Zhekov)
842 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
844 * src/search.c, doc/geany.txt, doc/geany.html:
845 Implement Find in Files file pattern search.
847 Add file pattern to combo box history.
848 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
850 Use ui_hookup_widget() instead of g_object_set_data_full() for
854 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
857 Add Files checkbox and combo to Find in Files dialog, currently
858 does nothing & is disabled.
859 Don't try to focus the next entry on pressing tab anymore as this
860 is more complicated now.
863 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
866 Put Find in Files Search field above Directory field.
867 * src/search.c, doc/geany.txt:
868 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
869 regular expressions' radio buttons with a 'Use regular expressions'
870 checkbox. This uses the extended syntax (which is the same as the
871 Find/Replace regex syntax).
873 Move 2 Find in Files checkboxes for even spacing.
876 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
878 * tagmanager/tm_work_object.c:
879 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
883 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
885 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
886 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
887 Add ui_combo_box_add_to_history() to API.
888 * plugins/filebrowser.c:
889 Add history to path entry.
890 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
891 Fix not loading plugins built against a newer API when Geany doesn't
892 provide the required version given in PLUGIN_VERSION_CHECK().
893 Improve documentation for PLUGIN_VERSION_CHECK().
894 * plugins/filebrowser.c:
895 Allow Find in Files when no items are selected.
896 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
897 Add API signal "build-start" (patch by Jiří Techet, thanks).
900 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
903 Replace /home/user with ~ in the documents list (patch by Jon
906 Make default Build dialog entries grey, not light grey (too hard to
907 read on a white background).
909 Display 'new instance' on title bar (patch by Eugene Arshinov,
912 Remove any duplicate on adding to combo box histories.
915 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
918 Align notebook tab close buttons centred vertically - thanks to
920 * Merge unstable branch:
922 Make build config entries light grey until set.
923 - src/keybindings.c, src/about.c, THANKS:
924 Fix the wrong file being put on top of the stack when switching tabs
925 too quickly (patch from Jiří Techet, thanks).
926 - src/templates.c, data/templates/gpl, data/templates/function,
927 data/templates/changelog, data/templates/bsd,
928 data/templates/fileheader, wscript, Makefile.am:
929 Move general templates from source code into files.
930 Load general templates from system path instead of creating them in
931 the user's config dir.
934 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
937 Add doc/stash-example.c to fix 'make distcheck'.
939 Change the RequestExecutionLevel for the Windows installer to
941 * New release: Geany 0.19 "Vellam".
942 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
943 geany_private.rc, win32-config.h, wscript, src/geany.h:
944 Post-release version bump.
947 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
950 Group undo action for Insert Multiline Comment.
953 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
956 Don't individually install data/*.tags as all data/* files will be
960 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
962 * tagmanager/tm_project.c:
963 Fix a double free. (patch by Daniel Marjamaki, thanks).
966 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
968 * tagmanager/tm_workspace.c:
969 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
971 Fix reducing paths to project name in the Documents list
972 (patch by Eugene Arshinov, thanks).
974 Fix crash when trying to sort NULL pointers as tags in the Symbols
975 list (closes #3011986).
976 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
977 Update Scintilla to version 2.12.
978 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
979 scintilla/LexCrontab.cxx:
980 Remove unused Crontab lexer.
981 * data/filetypes.css, src/highlighting.c:
982 Add new style "media" for filetype CSS.
985 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
987 * doc/geany.txt, doc/geany.html:
988 Build section: minor rewording, formatting fixes; move some
992 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
995 Explicitly try to localise build menu item labels with
996 gettext to enforce getting default labels translated.
997 * tagmanager/tm_workspace.c:
998 Fix not closed FILE pointer on early exit
999 (patch by Daniel Marjamaki, thanks).
1001 Update images for Geany 0.19.
1003 Destroy the default symbol list treeview only once
1004 (fixes gtk_widget_destroy warning on exit).
1007 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1009 * tagmanager/sort.c:
1010 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1012 Fix parsing of C++ classes contain attributes with bitfields
1013 (patch by Lex Trotman, thanks).
1014 * src/plugindata.h, src/plugins.c:
1015 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1016 plugins' meta information can be translated already in the
1017 plugin manager dialog (patch by Colomban Wendling, thanks).
1020 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1023 Print locale information in debug output.
1025 Fix some labels which were marked as translatable but were not
1026 handled properly by gettext().
1027 Add a missing const.
1029 Try to convert text into UTF-8 before adding it to the Compiler and
1030 Messages Window (closes #3007919).
1033 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1035 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1037 Pass G_LOG_DOMAIN to source files for better logging.
1040 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1042 * THANKS, src/about.c:
1043 Update of translation credits to reflect a change on Spanish
1044 translation team better.
1047 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1050 Fix infinite loop reading build command output
1053 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1056 Fix duplicate accelerators for Clear and Copy in the
1057 Messages Window popup menu.
1058 * src/pluginutils.c:
1059 Expand child widgets in the Plugin Preferences dialog
1060 (patch by Colomban Wendling, thanks).
1063 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1066 Fix Undo/Redo button state after the last document has been closed.
1067 Add Print and Replace toolbar items to the list of document
1070 Fix crash when the toolbar is reloaded without any open documents.
1072 Fix Run toolbar item sensitivity after the last document has been
1074 * plugins/classbuilder.c:
1075 Remove two unnecessary g_strdups().
1076 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1077 src/plugindata.h, src/ui_utils.h:
1078 Add hidden preference to disable automatic scrolling in the
1079 Compiler tab (closes #3004714).
1082 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1084 * plugins/classbuilder.c:
1085 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1088 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1090 * src/prefs.c, src/project.c:
1091 win32.h can be included unconditionally.
1093 Fix project base_path detection if the path has a trailing slash.
1094 * src/document.c, src/editor.c, src/project.c:
1095 Small improvements to speed up quit process with many open documents.
1096 Avoid calling gtk_notebook_remove_page() on exit as it takes
1098 * src/geanymenubuttonaction.c:
1099 Explicitly check for the type when iterating the action's proxies.
1100 For some reason on Windows, a GtkImageMenuItem proxy is created.
1101 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1102 src/plugindata.h, scintilla/*, scintilla/include/*:
1103 Update Scintilla to version 2.11.
1104 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1106 Add new GTK define also for Mingw cross compilation and
1107 makefile.win32 based Windows builds.
1108 * plugins/filebrowser.c:
1109 Implement reading and evaluating hidden file attribute on Windows.
1110 Fix broken "Go Up" if the current path ends with a slash.
1111 * THANKS, src/about.c, src/prefix.c:
1112 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1113 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1114 src/main.c, src/notebook.c, src/prefs.c:
1115 Add preference to add new document tabs beside the current one
1116 (patch by Colomban Wendling, thanks).
1117 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1118 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1119 Add a preference for choosing between GTK and native
1120 File Open/Save dialogs (only available on Windows).
1121 * doc/geany.html, doc/geany.txt:
1122 Update documentation.
1125 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1128 Sort file filters for the native Windows file open dialog by name.
1129 Don't use file filters for the native Windows Save As dialog.
1130 * src/dialogs.c, src/win32.c, src/win32.h:
1132 Pass and use also parent and title arguments to
1133 win32_show_document_open_dialog().
1135 Call handle_save_as() only when the Save As dialog was not cancelled.
1137 Improve adding/removing of the special separator between menubar and
1138 toolbar when the toolbar is appended to the menubar.
1139 * src/toolbar.c, src/templates.c:
1140 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1141 not trigger updating the menus on each item removal.
1144 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1147 Replace one non breaking space by normal space. Patch by
1151 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1153 * plugins/classbuilder.c:
1154 Don't make the 'Create Class' menu item document-sensitive
1155 (patch by Colomban Wendling, thanks).
1156 Add namespace support for GTK+ classes.
1157 Add GET_CLASS() macro for GTK+ classes.
1158 Add typedef of the private structure in the header file instead
1160 (all the above from a patch by Colomban Wendling, thanks).
1161 * src/highlighting.c:
1162 Set common default "fold.comment" to 0 to disable it. This can
1163 be overridden if desired.
1165 Improve sorting of document list items
1166 (patch by Colomban Wendling, thanks).
1168 Remove unnecessary textdomain() call.
1171 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1174 Fix search_find_text not returning -1 when match is out of range.
1175 This fixes invalid memory reads and wrong template filename
1176 wildcard replacement.
1177 * src/search.c, src/document.c:
1178 Only replace template filename matching start of word on saving.
1179 * plugins/filebrowser.c:
1180 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1181 * src/build.c, src/build.h, src/project.c:
1182 Make some ugly build.h global variables static.
1183 * src/build.c, src/build.h, src/project.c:
1184 Add Build prefix for TableFields, TableData.
1187 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1190 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1191 * src/dialogs.c, src/win32.c, src/win32.h:
1192 (Re-)Implement a (still basic) native Windows Save As dialog when
1193 compiled with GEANY_USE_WIN32_DIALOG.
1196 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1198 * THANKS, src/about.c, plugins/classbuilder.c:
1199 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1200 * src/ui_utils.h, src/ui_utils.c:
1201 Add public, generic callback ui_editable_insert_text_callback()
1202 to restrict GtkEntry text inputs to +/- and numeric values only.
1203 * src/dialogs.h, src/dialogs.c:
1204 Add special variant dialogs_show_input_goto_line() to use a normal
1205 GtkEntry together with dialogs_show_input_goto_line() for text input.
1206 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1207 Allow '+<number' and '-<number>' as values for Goto Line inputs
1208 to jump relative to the current line (closes #2997238).
1211 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1213 * src/highlighting.c:
1214 Apply foreground and background colours of the folding margin
1215 style properly (closes #2998347).
1217 Don't auto-close short XML tags (closes #2994852).
1218 * THANKS, src/about.c, src/keybindings.c:
1219 Improve jumping to matching braces by consistently position the
1220 cursor before or after the matching brace dependent where it
1221 was before (patch by Dimitar Zhekov, thanks).
1223 Fix crash when generating global tags files (patch by Colomban
1227 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1230 Avoid connecting signals more than once.
1233 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1236 Don't ignore the 'intltool' check on non-Windows systems, instead
1237 raise a configure error.
1240 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1243 Fix marking some strings as translatable (cannot be done in the
1245 * src/templates.c, doc/geany.txt, doc/geany.html:
1246 Reload templates if saving a document in the templates config dir.
1249 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1251 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1253 Fix replacing {filename} template wildcard for custom file
1254 templates with non-default file extension.
1255 Add search_find_text() for POSIX regex searches.
1256 * src/templates.c, doc/geany.txt, doc/geany.html:
1257 Add {project}, {description} template wildcards (#2954737).
1258 * doc/geany.txt, doc/geany.html:
1259 Divide template wildcards into groups.
1260 * src/plugindata.h, src/plugins.c, src/symbols.c,
1261 plugins/geanyfunctions.h:
1262 Add symbols_get_context_separator() to plugin API (patch by Colomban
1266 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1268 * src/keybindings.c:
1269 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1270 Anonymous, thanks; #2995593).
1271 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1272 plugins/geanyfunctions.h:
1273 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1274 (patch by Colomban Wendling, thanks).
1277 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1280 Warn user if hidden hard tab width setting is not 8.
1283 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1285 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1286 doc/geany.txt, doc/geany.html:
1287 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1288 always be 8. (Hidden setting kept in case users have modified it).
1291 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1293 * doc/geany.txt, doc/geany.html:
1294 Add Folding section link to filetypes.common custom settings.
1297 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1300 When switching documents, don't call document_set_text_changed()
1301 as this does much more than necessary. Instead call the necessary
1302 UI update functions explicitly.
1305 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1307 * tagmanager/vstring.c:
1308 Fix invalid memory read (patch by Colomban Wendling, thanks).
1311 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1313 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1314 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1315 strings in case of reaching the buffer size limit (part of #2979697).
1317 Change the limit for the command line length when executing commands
1318 to a maximum of 32768 characters (closes #2979697).
1319 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1320 * tagmanager/ctags.c:
1321 Change eFree() to simply ignore NULL pointers instead of asserting.
1323 Remove malloc() fallback since we completely rely on g_malloc()
1325 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1326 plugins/saveactions.c:
1327 Make string arguments const where appropriate (patch by
1328 Colomban Wendling, thanks).
1329 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1330 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1331 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1332 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1333 src/symbols.c, src/templates.c, src/ui_utils.c:
1334 Make string arguments const where appropriate (patch by
1335 Colomban Wendling, thanks).
1338 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1340 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1341 Make plugin_signal_connect() string argument const (patch by
1342 Colomban Wendling, thanks).
1343 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1344 Constify some more string pointers in the API (patch by
1345 Colomban Wendling, thanks).
1346 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1348 Support {pc} wildcard in snippets to escape percent char.
1350 Recalculate line margin width when zooming (fixes #2990553).
1351 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1352 data/filetypes.common:
1353 Support more folding icon styles: arrows, +/- and no lines
1357 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1360 Fix Windows build by properly guarding Unix-only code.
1363 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1365 * src/templates.c, doc/geany.txt, doc/geany.html:
1366 Support {ob} and {cb} in fileheader and file templates; they are
1367 replaced last with { and }. This allows 'escaping' of wildcard
1369 * src/editor.c, plugins/classbuilder.c:
1370 Fix Class Builder plugin to use correct indentation instead of
1372 Make editor_insert_text_block() only replace leading tabs for the
1373 'Tabs' indent type; also group edits for undo.
1374 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1376 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1379 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1381 * tagmanager/pascal.c:
1382 More fixes to prevent possible crashes by trying to free NULL
1385 Automatically show and hide the sidebar notebook tabs according
1386 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1388 Add a static global variable to monitor autocompletion mode in order
1389 to prevent cancellation of the struct/class (C/C++) auto completion
1390 list (patch by Thomas Martitz, thanks).
1392 When starting and trying to access the Unix Domain socket of a
1393 potentially running instance, first compare file ownership with the
1394 user id of the running process to prevent accessing a wrong socket
1395 file (part of #2985463, this might not yet be the final solution).
1398 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1400 * plugins/filebrowser.c:
1401 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1402 Files' option (fixes #2989288).
1405 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1407 * tagmanager/entry.c, tagmanager/entry.h,
1408 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1409 tagmanager/parse.h, tagmanager/tm_source_file.c:
1410 Add tm_source_file_set_tag_arglist() to manually set the argument
1412 * tagmanager/python.c:
1413 Use tm_source_file_set_tag_arglist() to set the argument list
1414 field of Python class tags to the argument list of their
1416 Backport a fix from CTags SVN to prevent possible crashes by trying
1417 to free NULL pointers.
1420 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1422 * tagmanager/txt2tags.c:
1423 Remove duplicate code from Txt2Tags parser.
1424 Remove the title control characters ('=') when parsing titles.
1425 Also parse numbered titles (closes #2984703).
1426 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1428 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1429 Add missing documentation for 'Reset Zoom' keybinding.
1431 Another attempt to fix the PHP parser regexp for parsing functions.
1432 Fix wrong parsing of function arguments when those contain nested
1433 brackets (as reported by Harold Aling).
1435 Fix Ctrl-Click on notebook tab if Numpad is active.
1438 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1440 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1441 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1442 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1443 src/ui_utils.c, src/ui_utils.h:
1444 Add option 'System Default' for toolbar icon style and size to
1445 use the GTK default value.
1446 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1447 src/toolbar.c, src/toolbar.h:
1448 Shorten the toolbar popup menu, only provide items for Toolbar
1449 Preferences and to Hide the toolbar.
1451 Instantly update the toolbar icon size and style when the
1452 corresponding global GTK settings are changed.
1453 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1454 src/plugindata.h, src/socket.c:
1455 Add new command line option --list-documents to return a list
1456 of currently opened documents (closes #2979933).
1459 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1461 * plugins/htmlchars.c:
1462 Make plugin remember whether replacement of special characters was
1463 activated even after restart of Geany or reloading of plugin.
1466 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1469 Fix inserting snippets with an indent when using Mac CR line
1472 Update status bar after using Document->Set Line Endings.
1474 Improve API docs for editor_insert_text_block().
1477 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1480 Refactor snippets_complete_constructs().
1481 Remove an unnecessary TODO.
1483 Fix indenting a snippet when there is whitespace after the
1487 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1489 * doc/geany.txt, doc/geany.html:
1491 * src/build.c, src/msgwindow.c:
1492 Fix disabled compiler message tracking if using indicators to
1493 show build errors is disabled (closes #2982834).
1496 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1498 * scintilla/Editor.cxx:
1499 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1500 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1501 replacing in a rectangular selection.
1504 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1507 Re-detect any document filetypes set to None after reloading
1508 filetype extensions (closes #2979661).
1510 Fix showing '...' item last instead of first for document word
1514 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1516 * data/filetypes.perl:
1517 Adjust Perl Compile command to use the -c command
1518 line option to perform a syntax check instead of using the
1519 deprecated ByteCompile module.
1520 Add error_regex to parse error messages and warnings when performing
1521 syntax checks on Perl files.
1524 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1526 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1527 Add API docs for keybinding enums.
1528 * src/notebook.c, doc/geany.txt, doc/geany.html:
1529 Make Ctrl-click on any notebook tab switch to the last used
1533 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1535 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1536 src/geanyentryaction.c, src/geanyentryaction.h,
1537 src/geanywraplabel.c:
1538 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1539 object for efficiency.
1542 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1544 * plugins/classbuilder.c:
1545 Beep if the user hasn't entered a class name on pressing OK.
1547 Fix replacing '^' regex.
1548 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1549 plugins/geanyfunctions.h:
1550 Add Stash widget functions to API.
1552 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1556 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1558 * THANKS, src/vte.c:
1559 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1561 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1562 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1563 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1564 Add Stash setting functions to API.
1565 Remove unnecessary argument to stash_group_load_from_file().
1566 * src/geanyobject.c, plugins/classbuilder.c:
1567 Don't generate FOO_GET_PRIVATE() macro because caching the result
1568 in Foo::priv can be much more efficient.
1571 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1574 Fix cursor positioning when toggling comments
1575 (patch by Thomas Martitz, thanks).
1578 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1580 * src/keybindings.[hc]:
1581 Added Control+0 for zoom reset, see suggestion from #2969886.
1584 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1586 * src/search.c, src/document.c:
1587 Fix wrong selection range after Replace in Selection.
1590 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1593 Make CreateChildProcess() working with Unicode strings, e.g.
1594 directory names (closes #2972606).
1596 Remove reference to already removed latex.tags file.
1597 Future releases probably still depend on GTK 2.16.
1598 * scintilla/ScintillaGTK.cxx:
1599 Backport fix from Scintilla CVS to not paste text beyond the end
1600 of lines (closes #2969096).
1601 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1603 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1604 to not set Geany's minimum window size anymore (closes #2972992).
1605 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1608 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1611 Make adding string and string vector settings initialise the setting
1613 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1614 Add stash_group_load_from_file() and stash_group_save_to_file().
1617 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1619 * data/filetypes.common:
1620 Set default for wrapped lines to show marker at end of line only
1621 (more expected and doesn't change line alignment - closes #2972386).
1622 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1623 src/pluginutils.c, doc/plugins.dox:
1624 Improve API docs contents page by listing all commonly-used files.
1625 Fix 'Date' appearing twice on the date line.
1626 Don't generate API docs for prefs.h, toolbar.h (unused).
1627 Move some '@file' doc-comments to the .c file.
1628 * src/interface.c, geany.glade:
1629 Add frame for 'Printing' prefs dialog page.
1630 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1631 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1632 doc/stash-example.c:
1633 Rename Stash data types to be independently named from Geany (so
1634 Stash can be reused for other projects).
1635 Rename GeanyPrefGroup to StashGroup.
1638 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1640 * tagmanager/python.c:
1641 Apply patch from Colomban Wendling to parse Python lambda functions
1642 (thanks) - modified to only parse toplevel or class member lambdas.
1643 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1644 doc/stash-example.c:
1645 Add doc-comments for Stash setting functions.
1646 Add an example file showing usage of Stash.
1647 (Not enabled yet until added to the plugin API).
1650 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1653 Fix using return value without checking return status, caused
1654 incorrect sensitivity settings on build dialog.
1657 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1660 Add tip about gcc optimization & warnings/debugging.
1661 Add Testing section.
1662 Update Libraries section about synchronizing with other projects.
1665 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1668 For now revert the recent patch which set real_path of newly
1669 open non-existent configuration files as this seems hackish and
1670 causes 'file not found' warnings.
1672 Fix/Improve GIT repository detection
1673 (patch by Thomas Martitz, thanks).
1674 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1676 Add utils_copy_environment() to the plugin API.
1679 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1681 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1682 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1684 Use 3rd person for more API dox.
1685 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1687 Change 'After all...' to 'Afterwards...'.
1688 * src/interface.c, geany.glade:
1689 Apply patch from Eugene Arshinov to make frame packing/alignment
1690 more consistent (thanks).
1693 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1696 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1697 that gtk_button_[sg]et_label() work as expected.
1698 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1699 Make Build Commands dialog show menu item labels as a button (to
1700 help show that menu labels don't normally need to be edited &
1701 display the mnemonic correctly). Clicking shows an input dialog to
1702 set a new menu item label.
1703 Split dialogs_show_input() into 2 functions: one simple, one for
1704 a persistent dialog.
1705 Fix possible double-destroy of input dialog when closed by user.
1707 Fix not destroying 'Make Custom Target' input dialog after first
1710 Make Long Line Marker settings for existing projects default to
1711 general settings instead of 0 (thanks to Eugene Arshinov).
1712 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1713 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1714 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1715 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1716 Use 3rd person (gets not get) for API function brief descriptions.
1717 Avoid using 'convenience function' in API brief descriptions.
1720 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1722 * doc/geany.txt, doc/geany.html:
1723 Warn about some GNU extensions for regular expressions & clarify
1725 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1726 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1727 src/editor.h, geany.glade:
1728 Apply patch from Eugene Arshinov to add project long line marker
1729 customisation (thanks).
1730 * src/interface.c, geany.glade:
1731 Edit/tidy 'Long line marker' labels.
1734 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1736 * src/build.c, src/project.c:
1737 Fix crash due to NULL in project build preferences (thanks to
1741 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1743 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1744 src/document.c, doc/geany.txt, doc/geany.html:
1745 Merge gnu-regex branch:
1746 Use POSIX system/GNU regex engine for find & replace 'Use regular
1747 expressions' option. This alters regex syntax a bit - see the docs
1748 for details; we now support '?' operator and replacement backslash
1749 escaping is more standard.
1750 Make regex search imply replacing escaped chars.
1751 Allow \0 backreference replacement for the whole match.
1752 Note: Replace All may be slower; if this is a problem please let me
1755 Add argument to utils_str_replace_escape() for keeping
1756 uninterpreted backslash escapes e.g. '\\', '\e'.
1757 * scintilla/LexMarkdown.cxx:
1758 Backport minor formatting/style changes from Scintilla project.
1759 * doc/geany.txt, doc/geany.html:
1760 Remove warning about no visual indication for zero-column-mode
1764 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1767 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1770 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1772 * wscript, scintilla/*, scintilla/include/*:
1773 Update Scintilla to version 2.03.
1774 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1775 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1776 Add preference for virtual spaces.
1778 Fix wrong default response for the Debug Messages dialog.
1780 Fix crashes when using Save As with no open files (closes #2964406).
1782 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1783 move the question from the secondary to the main text to be
1784 more compatible with the Gnome HIG.
1785 Fix broken 'Save' action in 'Resave missing file' dialog.
1787 Improve PHP parser to parse also the argument lists of PHP functions.
1789 Correctly set the parent widget for the keybinding overwrite
1790 confirmation dialog.
1792 Fix setting the icon for some dialogs if the parent itself is also
1795 When editing non-existent config files using the Tools->Configuration
1796 Files menu, explicitly set the real_path to avoid presenting the Save
1797 As dialog when saving the file (patch by Tony Rick, thanks).
1799 Focus the editor widget after hiding the sidebar when it had the
1800 input focus (patch by Can Koy, thanks).
1801 Properly show/hide the mesages window when using the View menu item
1803 * plugins/filebrowser.c:
1804 After opening files, focus the editor widget
1805 (based on a patch by Can Koy, thanks).
1806 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1807 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1808 src/ui_utils.h, src/vte.c:
1809 Add and use convenience function ui_is_keyval_enter_or_return() and
1810 add it to the plugin API.
1813 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1815 * src/about.c, THANKS, po/ast.po:
1816 Added Asturian translation. Thanks to Marcos Costales for providing.
1819 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1822 Fix keyboard accelerators in debug messages window
1826 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1828 * scintilla/LexR.cxx:
1829 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1830 (Scintilla bug #2956543).
1831 * src/sidebar.c, src/about.c, THANKS:
1832 Make Space on the symbol and document list not focus the editor
1833 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1834 * src/document.c, src/document.h:
1835 Fix document_try_focus() to make it work with the sidebar document
1837 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1838 Make Space on the compiler and messages widgets not focus the editor
1839 widget while Enter does (patch by Can Koy, thanks).
1841 Fix wrongly auto-detected multiline comments
1842 (patch by Eugene Arshinov, thanks).
1845 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1848 Show number of lines of current document inside statusbar. Thanks to
1849 Can Koy for providing the patch.
1852 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1854 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1855 Make Switch to Editor keybinding reshow the document statistics
1856 line, so user doesn't have to move the cursor.
1859 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1862 Update keywords for the R language (patch by Jon Senior, thanks).
1865 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1868 Fix the instruction how to insert unicode characters
1872 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1874 * scripts/create_py_tags.py:
1876 Replace tabs by spaces.
1877 * plugins/genapi.py:
1879 Replace tabs by spaces.
1880 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1881 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1882 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1883 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1884 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1885 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1886 Add keybindings to switch to the sidebar's Document and Symbol list
1887 as well as to the Message Window's current tab
1888 (patch by Eugene Arshinov, thanks).
1890 Update primary keywords for the R language
1891 (patch by Jon Senior, thanks).
1894 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1897 Add more detailed hints about reloading configuration
1898 (thanks to Tony Rick).
1899 * data/filetypes.javascript:
1900 Correct the keyword list for JavaScript (thanks to Jonas).
1903 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1905 * New release: Geany 0.18.1 "Balfour".
1908 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1910 * src/keybindings.c:
1911 Add special cases for handling the Select All keybinding (Ctrl-A) in
1912 the toolbar search and goto line text entries (closes #2948040).
1913 Strip trailing spaces after reflowing a paragraph, patch by
1914 Dominik Wagenfuehr, thanks (closes #2945497).
1917 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1919 * src/geanymenubuttonaction.c, src/templates.c:
1920 Partly revert last commit:
1921 Unref the new files toolbar menu when freeing templates as it
1922 was done before but unref it *after* the menu has been removed
1923 from the GeanyMenuButtonAction.
1925 Fix possible endless loop when trying to detect the encoding of
1926 non-text files (patch by Alexey Antipov, thanks).
1929 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1932 Allow saving remote files using g_file_set_contents() as well
1933 (patch by Алексей Антипов, thanks).
1934 * data/filetypes.python:
1935 Adjust style for secondary keywords to be less aggressive.
1936 Add Python 2.5 builtins keywords.
1937 * src/geanymenubuttonaction.c, src/templates.c:
1938 Unref the new files toolbar menu when setting a new menu to fix
1939 possible crashes when reloading configuration.
1941 When reloading configuration, process the current document at last
1942 so the symbol list will be updated correctly.
1945 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1948 Explicitly read filetype configuration files before generating
1949 global tags to get settings for custom filetypes.
1952 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1955 Fix GLib warning when toggling 'no plugins available' item.
1958 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1960 * icons/Makefile.am:
1961 Include geany.ico in the distribution tarball.
1963 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
1964 * scripts/create_py_tags.py:
1965 Make the script a bit more robust with newer Python versions.
1967 Use utils_spawn_sync() instead of g_spawn_sync().
1970 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1973 Close meta tag for export date properly.
1976 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1979 Update RPM Spec file (patch by Dominic Hopf, thanks).
1982 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1985 Fix renaming sci_send_message(), sci_send_command() function
1989 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1991 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
1992 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
1993 plugins/geanyfunctions.h, plugins/Makefile.am,
1994 plugins/pluginmacros.h, plugins/genapi.py, wscript:
1995 Use full function name for GeanyFunctions function pointers. This
1996 avoids naming conflicts e.g. with C++'s 'new' keyword.
1997 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2001 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2003 * src/utils.c, src/utils.h, src/vte.c:
2004 Add utils_copy_environment() and make use of it.
2005 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2006 src/editor.c, src/templates.c, src/templates.h:
2007 Add new special template wildcard "{command:...}" to use the
2008 output of a command in templates.
2009 Adjust template functions to mostly work with GeanyDocuments.
2010 Minor cleanups in the template code.
2012 Replace the old icons with smiley icons from the Rodent icon theme.
2013 Fix showing the same icon for two or more slots.
2015 * src/editor.c, src/editor.h, src/keybindings.c:
2016 Rename fold_symbol_click() to editor_toggle_fold().
2017 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2018 was used to respect the 'Fold/unfold all children' preference
2022 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2025 Prevent possible segfault in get_build_group().
2027 Fix GLib warning & beep if trying to insert multiline comment for a
2028 filetype that doesn't support it.
2031 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2034 Add gcc commands to build a plugin to the HowTo.
2035 * src/search.c, src/document.c, src/document.h:
2036 Show 'Replaced X matches in Y documents' message when using
2040 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2042 * scripts/plugin_test.c:
2043 Add a little test program which can load and test Geany plugins to
2044 verify it is loadable at runtime and all necessary symbols are
2046 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2048 Add new signal: "geany-startup-complete" which is sent once all
2049 initialization and startup tasks has been done.
2050 * README.I18N, configure.ac, wscript, po/LINGUAS:
2051 Remove po/LINGUAS from the repository.
2052 Generate it automatically if needed by reading available
2053 message catalogs from the po directory.
2054 Also respect the LINGUAS environment variable properly.
2057 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2060 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2064 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2066 * src/editor.c, src/templates.c, src/templates.h:
2067 Refactor templates_replace_all() into templates_replace_valist()
2068 to save some code duplication.
2071 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2073 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2074 src/plugindata.h, src/plugins.c:
2075 Add editor_insert_text_block() to plugin API.
2078 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2081 Update copyright information.
2082 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2083 doc/geany.txt, doc/geany.html:
2084 Add keybinding to open the last closed tab (closes #2912692).
2087 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2089 * autogen.sh, configure.in, configure.ac:
2090 Rename configure.in to configure.ac.
2091 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2093 Add sci_find_text() to the plugin API.
2094 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2095 src/interface.c, src/prefs.c:
2096 Add a checkbox in the preferences dialog to explicitly toggle
2097 the visibility of the sidebar (closes #2923340).
2100 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2102 * src/editor.c, src/plugins.c, src/plugindata.h,
2103 plugins/geanyfunctions.h:
2104 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2105 editor_get_eol_char() to the plugin API.
2106 * src/callbacks.c, src/plugins.c, src/plugins.h:
2107 Fix sensitivity of the Edit->Plugin Preferences menu item
2108 if plugins are loaded which do not provide a configuration dialog.
2109 * scripts/create_py_tags.py:
2110 Rewrite and extend the Python tags parsing script to use
2111 Python's inspect module to read symbols from Python modules
2112 including scope information.
2113 * data/filetypes.restructuredtext:
2114 Add the default comment character sequence for reStructuredText.
2116 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2117 clicked but their text fields are not part of the toolbar (#2920807).
2118 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2120 Add new style to change foreground and background colours for
2121 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2123 Remember the window position of the Find, Replace and Find in Files
2124 dialogs (closes #2877988).
2127 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2130 Fix a minor typo inside plugin API reference.
2133 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2135 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2136 Make dialogs_show_prompt() more flexible to take up to three
2137 button/response code pairs to be shown.
2138 Add a close button to the dialog when asking to Re-Save a
2140 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2142 Fix LaTeX environment auto completion with CR/LF line endings.
2143 Add some sanity checks.
2145 When closing a document after it was deleted from the filesystem,
2146 don't ask whether it should be saved first.
2147 Mark the document only as changed if it is not closed afterwards.
2148 Prevent possible segfaults if the document was closed when it is
2149 missing from the filesystem.
2150 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2151 src/msgwindow.h, src/prefs.c:
2152 Add MessageWindow::scribble and use it instead of searching the
2153 widget pointer everytime.
2154 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2155 Add preferences for hiding single tabs from the messages window
2156 (no GUI preferences yet, still to be implemented).
2157 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2158 Set the correct parent window for the toolbar editor
2159 dialog (closes #2913334).
2160 * src/win32.c, src/win32.h, src/ui_utils.c:
2161 Rename win32_show_project_folder_dialog() to
2162 win32_show_folder_dialog() as it is not related and not used by any
2163 project management related code.
2164 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2165 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2166 as it is specialised for opening documents.
2167 Implement win32_show_file_dialog() as a generic file open dialog and
2168 use it with ui_path_box_new().
2171 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2174 Extend auto_latex() function to check whether an environment has been
2175 closed within the next lines to avoid auto adding double \end{}.
2177 Remove LaTeX tags from SVN. Can be found at
2178 http://download.geany.org/contrib/tags/ if needed.
2181 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2183 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2184 Add document_need_save_as().
2185 Show the Save As also for documents created from filetype templates
2186 instead of saving them directly with the untitled filename.
2189 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2191 * geany.glade, src/interface.c:
2192 Move 'Send Selection to Terminal' menu item from Format to Commands
2195 When going to a build error, try the current document's path if
2196 the parsed filename doesn't exist. (This can happen when we receive
2197 build messages in the wrong order - after the 'Leaving directory'
2200 Refactor msgwin_goto_compiler_file_line().
2201 * src/interface.c, src/keybindings.c, geany.glade:
2202 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2205 Refactor/reformat on_replace_dialog_response().
2208 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2211 Improve geany.spec (split the package into a binary and devel
2212 package, update BuildRequires and other minor improvements).
2213 Patch by Dominic Hopf, thanks.
2216 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2218 * src/filetypes.c, src/filetypes.h:
2219 Make group for custom filetypes.
2220 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2221 Add custom filetype Genie.
2224 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2226 * src/highlighting.c:
2227 Highlight D & Java types from a global tags file.
2228 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2229 Add debug message warning if recursive lexer_filetype is set.
2230 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2231 Remove duplicate sci_set_keywords(), make argument const.
2232 * src/highlighting.c:
2233 Only show debug message once if recursive lexer_filetype is set.
2234 Tidy highlighting_init_styles code for filetype None handling.
2235 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2236 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2237 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2238 tagmanager/parsers.h, tagmanager/makefile.win32,
2239 tagmanager/verilog.c, tagmanager/Makefile.am,
2240 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2241 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2242 * src/highlighting.c:
2243 Fix segfault on startup (oops).
2244 * data/filetypes.verilog:
2245 Fix using common style colours for Verilog.
2248 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2250 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2251 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2252 Move C-like filetype properties into configuration files.
2253 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2255 Remove now unnecessary "styling_within_preprocessor" C style key.
2256 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2257 data/filetypes.glsl, data/filetypes.cs:
2258 Use lexer_filetype=C configuration file key instead of duplicate
2259 styleset functions for C++, C#, GLSL, Vala.
2262 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2264 * doc/geany.txt, doc/geany.html:
2265 Warn about not using BOM for configuration files (confuses GKeyFile
2266 parser, at least on my system).
2268 Add/improve debug messages for custom filetypes.
2271 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2274 Add a couple of further latex-beamer commands to list of LaTeX tags.
2277 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2279 * plugins/filebrowser.c:
2280 Add an in-entry clear icon to the filebrowser plugin's filter
2281 entry (patch by Dominic Hopf, thanks).
2282 * src/prefs.c, src/ui_utils.c:
2283 Fix two compiler warnings about possibly uninitialised variables.
2286 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2288 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2289 plugins/geanyfunctions.h:
2290 Add main_is_realized() to the plugin API.
2291 * tagmanager/include/tm_tagmanager.h:
2292 Update partly outdated and wrong doc comment.
2293 * src/main.c, src/main.h, src/socket.c:
2294 Allow opening Geany projects remotely.
2295 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2296 Add a hidden pref to allow executing text which was sent to the
2297 terminal directly, i.e. do not strip trailing newline characters.
2298 Also fix the stripping of trailing newline characters if there was
2302 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2304 * src/about.c, THANKS:
2305 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2306 Kurt de Bree into section of previous translators.
2309 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2311 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2312 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2316 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2318 * src/highlighting.c:
2319 Make stylesets take a ft_id argument so they can be reused fully with
2320 custom filetypes, so custom styles and keywords can be set.
2321 * src/highlighting.c:
2322 Fix setting filetype properties when both the system and the user
2323 file have properties set.
2324 * src/symbols.c, tagmanager/vhdl.c:
2326 * src/highlighting.c:
2327 Fix lexer settings for custom filetypes.
2330 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2333 Remove duplicate regular expression for parsing classes.
2334 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2335 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2336 src/main.h, THANKS, src/about.c:
2337 Add new command line option "--socket-file" to be able to specify
2338 separate socket filenames for instances
2339 (closes #2896027, patch by Jörn Reder, thanks).
2340 * src/keybindings.c, src/keybindings.h:
2341 Add keybindings_check_event() to manually check GdkKeyEvents against
2342 Geany's keybindings.
2343 * src/callbacks.c, src/utils.c, src/utils.h:
2344 Add and use utils_get_help_url().
2345 * geany.glade, src/interface.c, src/prefs.c:
2346 Add a Help button to the preferences dialog.
2347 Handle Help keybinding events for the preferences dialog especially
2348 and open the manual with the corresponding anchor link to the current
2349 preferences page (same goes for the new Help button).
2352 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2354 * src/toolbar.c, src/geanymenubuttonaction.c,
2355 src/geanymenubuttonaction.h:
2356 Use separate tooltips for toolbar menu buttons and their attached
2358 * tagmanager/latex.c:
2359 Improve parsing of sections and chapters by ignoring shortnames
2360 like \section[shortname]{label} (closes #2890477).
2363 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2365 * src/geanymenubuttonaction.c:
2366 Try to fix Gtk warning when using Tools->Reload Configuration.
2369 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2371 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2372 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2373 data/filetypes.pascal, data/filetypes.docbook,
2374 data/filetypes.python, data/filetypes.conf:
2375 Use filetypes.foo [lexer_properties] group instead of hardcoding
2376 lexer properties (more flexible e.g. for custom filetypes).
2377 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2378 Replace filetypes.xml html_asp_default_language key with
2379 filetypes.html asp.default.language property in [lexer_properties]
2383 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2385 * doc/geany.txt, doc/geany.html:
2386 Fix slightly wrong description of how to insert Unicode characters.
2388 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2389 ui_setup_open_button_callback().
2390 * src/prefs.c, src/prefs.c, src/vte.c:
2391 Refactor color and font button callback functions in the
2392 preferences dialog. Move the VTE related callback functions
2394 Make use of ui_setup_open_button_callback().
2396 Improve printing status texts (patch by Dominic Hopf, thanks).
2397 * src/prefs.c, src/vte.c:
2398 Use the default dialog title set by ui_setup_open_button_callback()
2399 to be more consistent and to save one string.
2402 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2405 Separate DKinds from CKinds.
2406 Don't generate macro tags for D, Java.
2409 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2411 * tagmanager/ctags.c, tagmanager/general.h:
2412 Make TagManager Assert statements cause g_warning on failure.
2413 * src/keybindings.c:
2414 Fix reflow paragraph command when cursor < anchor using
2415 sci_fix_selection().
2418 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2420 * tagmanager/perl.c:
2421 Fix Geany segfault with constant tags (#2895168).
2423 Fix invalid tree iter access when using tv_iters.tag_other but not
2424 using tv_iters.tag_variable.
2425 * HACKING, tagmanager/perl.c:
2426 Fix parsing Perl format statements ("other" type doesn't seem
2428 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2429 Fix using "other" tag type.
2432 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2435 Remove useless comment about applying settings only when libvte.so
2436 could be loaded which is only displayed *if* libvte.so is loaded.
2438 Allow autocompletion for HTML entities even within a word.
2439 * src/geanymenubuttonaction.c:
2440 Only set the menu of the button if a non-empty GtkMenu is passed to
2441 geany_menu_button_action_set_menu() so the menu arrow keeps
2445 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2448 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2451 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2454 Parse D functions with contracts (fixes #1885480).
2455 Parse D alias statement like typedef.
2456 (Ignore some more D keywords).
2458 Fix creating D interface tags properly.
2460 Parse contents of D extern{} and version{} blocks.
2463 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2469 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2471 * src/plugindata.h, HACKING:
2472 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2475 Show number of files saved on status bar when using Save All.
2476 * src/highlighting.c:
2477 Use default color scheme if pref color scheme file doesn't exist.
2478 * src/keybindings.c:
2479 Fix moving correct lines after selecting whole line(s).
2482 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2484 * tagmanager/makefile.win32:
2485 Fix broken build on Windows because of a typo
2486 (patch by Timothy Boronczyk, thanks).
2489 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2491 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2493 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2494 scheme files exist in a colorschemes config directory. Color scheme
2495 files must end in ".conf" and currently only the [named_styles]
2497 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2498 Add utils_get_config_files().
2499 * src/highlighting.c:
2500 Fix issue with default color not being reset if overridden with a
2501 system default color.
2502 * src/highlighting.c:
2503 Only reload filetype files when changing color scheme, not all
2504 configuration files.
2505 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2506 Deprecate documents_foreach() as it looks more like a function; use
2507 foreach_document() instead.
2508 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2511 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2513 * src/stash.c, src/stash.h:
2514 Use typedef instead of pointer for widget_id function arguments.
2517 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2519 * src/pluginutils.c:
2520 Don't expand Plugin Preferences page spacing vertically to fill the
2521 height of the dialog.
2522 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2523 geany.glade, plugins/splitwindow.c:
2524 Allow GeanyKeyBinding label field to contain underscores, which won't
2525 be displayed by Geany. This saves adding near-duplicate translation
2527 Add mnemonics for 3 Edit->Format menu items.
2528 Add keybindings_get_label().
2529 * src/interface.c, geany.glade:
2530 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2534 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2537 Desensitize Edit->Commands menu item when no docs are open.
2538 * src/interface.c, src/keybindings.c, src/callbacks.c,
2539 src/callbacks.h, geany.glade:
2540 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2541 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2542 Add general function sci_get_string() that works with any string
2543 buffer messages that follow the Windows message convention.
2544 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2545 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2546 src/pluginutils.c, src/pluginutils.h, geany.glade:
2547 Add 'Edit->Plugin Preferences' menu item and keybinding.
2548 Don't include plugindata.h in pluginutils.h because it redefines the
2549 GEANY() macro for plugin use.
2550 * doc/geany.txt, doc/geany.html:
2551 Update for Plugin Preferences keybinding.
2554 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2557 Sort document word completion list.
2558 * src/interface.c, src/keybindings.c, src/callbacks.c,
2559 src/callbacks.h, geany.glade:
2560 Add some useful commands to editor popup menu under "Commands"
2561 submenu (thanks to Lex).
2562 Move 'Duplicate line or selection' from Format -> Commands submenu.
2563 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2564 Enable switching the sidebar to the right on Windows again, as it
2565 apparently works after all.
2567 Fix using tab to autocomplete in some other situations that word part
2568 completion doesn't apply in.
2569 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2570 Add Edit->Commands submenu which is shared with the editor popup
2572 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2573 Change editor popup Commands submenu to start as child of menubar
2574 Edit menu, as this is more usual e.g. for keybindings initialization.
2575 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2577 Share a single Format submenu for menubar Edit and popup menu.
2580 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2583 Fix a compiler warning about an uninitialised variable.
2585 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2586 sciwrappers.h, build.h (for the Waf build system,
2587 accordingly to r4366).
2590 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2592 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2593 src/toolbar.c, src/toolbar.h:
2594 Add missing dox for types/files in the API.
2595 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2596 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2597 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2598 of functions not in the API).
2599 Warning: any plugins that include these headers should remove them.
2600 * src/build.c, src/build.h:
2601 Move function doc-comments to build.c so they stay in sync. Note:
2602 these functions are still not in the API.
2604 Add 'Doc-comments' plugin API subsection.
2605 * plugins/filebrowser.c:
2606 Fix packing configure widgets equally.
2607 Use spacing multiples of 6 as recommended by Gnome HIG.
2608 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2609 Disable switching the sidebar to the right on Windows as it will
2610 probably fail like the Split Window plugin.
2612 Improve 'Detect from file' indentation pref by ignoring lines with
2613 indentation wider than 24 characters as this is more likely to be
2614 alignment than indentation.
2617 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2619 * plugins/saveactions.c:
2620 Fix adding the filetype's default extension when using the
2621 Instant Save plugin (closes #2885142).
2623 Before looking for line and column numbers specified as part
2624 of a filename, ensure the file doesn't exist on disk. This allows
2625 opening of files like "test:0".
2627 Rename "select" variables into "selection" to avoid shadowed names.
2628 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2629 Add ui_widget_modify_font_from_string() and sci_goto_line()
2631 * plugins/filebrowser.c:
2632 Rename "select" variables into "selection" to avoid shadowed names.
2633 Make use of ui_widget_modify_font_from_string().
2636 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2638 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2639 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2641 Add sidebar position interface pref.
2644 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2646 * doc/geany.txt, doc/geany.html:
2647 Add missing underscores to links.
2650 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2652 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2653 Add 'Move line(s) up/down' keybindings.
2656 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2658 * src/build.c, src/build.h, src/filetypes.h:
2659 Include code for project filetype execute commands and fix bug in
2660 saving project filetypes list.
2661 * src/project.c, src/build.c, doc/geany.txt:
2662 Make non-project execute configuration save to filetypes not
2664 Fix closing of project failing to remove build commands dialog entry.
2667 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2669 * src/project.c, src/ui_utils.c:
2670 Set border width for project properties build table.
2671 * geany.glade, src/interface.c:
2672 Don't expand hard tab width alignment.
2675 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2677 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2678 doc/geany.txt, doc/geany.html:
2679 Support loading global tags files for custom filetypes.
2680 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2681 doc/geany.txt, doc/geany.html:
2682 Add 'Word part completion' keybinding so keys other than Tab can be
2683 used, or to clear/change the combination so Tab does full completion
2685 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2686 Add 'Select to previous/next word part' keybindings.
2687 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2688 Add 'Switch to Messages' focus keybinding.
2691 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2693 * doc/geany.txt, doc/geany.html:
2694 Add 'Custom filetypes' section.
2695 * src/filetypes.c, src/filetypes.h, src/document.c,
2696 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2697 tagmanager/include/tm_source_file.h:
2698 Add filetype "tag_parser" key so custom filetypes can use an existing
2700 Add tm_source_file_get_named_lang().
2701 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2703 Add filetype "lexer_filetype" key so custom filetypes can use an
2707 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2709 * THANKS, src/about.c:
2710 Add Xhacker Liu for his work at zh_CN translation to long list of
2714 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2716 * src/sciwrappers.c:
2717 Remove unnecessary line number margin padding.
2718 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2719 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2721 Improve word part autocompletion so AC list is not cancelled and
2722 reshown (this also stops the selection changing).
2723 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2725 Improve CamelCase word part autocompletion for runs of capital
2728 Don't complete snippets if there's a selection.
2731 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2734 Fix crash opening project when Geany started with no geany.conf.
2737 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2739 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2740 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2742 Add word part autocompletion for the current selected item when
2743 pressing Tab - Enter still completes normally.
2744 Add foreach_str() API macro.
2745 Temporarily modify scintilla to say if tab was used for
2747 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2748 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2749 plugins/classbuilder.c:
2750 Revert r4301 - utils_free_pointers() taking 4 arguments.
2751 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2752 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2753 plugins/splitwindow.c:
2754 Add highlighting_set_styles() to API, use for Split Window plugin so
2755 filetypes.common settings get set too.
2756 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2758 * src/document.c, src/editor.c, plugins/splitwindow.c:
2759 Call editor_apply_update_prefs() from editor_create_widget() so
2760 correct tab width and other settings are applied for Split Window
2764 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2766 * src/keybindings.c:
2767 Don't include trailing newlines when using reflow command.
2769 Add stock close buttons to notebook tab popup menu.
2770 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2771 plugins/geanyfunctions.h:
2772 Add document_get_notebook_page() to API.
2774 * data/templates/files/file.html, data/templates/files/file.php:
2775 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2776 * src/interface.c, src/ui_utils.c, geany.glade:
2777 Move Tools configuration items to top of menu.
2778 * src/keybindings.c, src/search.c:
2779 Fix warning when using Find in Files with no documents open; make
2780 keybinding work in this case.
2783 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2785 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2786 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2787 Make Split Window 'Show current document' button have a drop-down
2788 menu to select the other documents.
2789 Add new API function ui_menu_add_document_items().
2792 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2795 Fix sensitivity settings for compile and build toolbar items.
2798 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2801 Don't use filetype submenus for templates (slower to navigate, often
2802 only 1 per-filetype anyway).
2804 Put old filetype template menu items in 'Old' submenu as they should
2805 be removed after the 0.19 release.
2806 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2807 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2808 to be ignored if inappropriate so a later keybinding with the same
2809 key combination can intercept it. (Also group callbacks are usually
2810 tidier than separate callbacks).
2811 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2812 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2813 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2814 plugins/classbuilder.c:
2815 Make utils_free_pointers() take 4 arguments, add to API.
2816 * src/templates.c, src/tools.c, src/ui_utils.c:
2817 Fix memory leaks with gtk_container_get_children().
2820 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2823 Ensure that old style build config is not loaded if it does
2827 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2829 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2830 Added Galician translation.
2831 Thanks to José Manuel Castroagudín Silva.
2834 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2836 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2838 Apply set default encoding for existing files only if the files are
2839 non-Unicode (patch by Alexey Antipov, thanks).
2842 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2844 * src/highlighting.c:
2845 Move new_styleset() and preprocessor setup code into
2847 * src/highlighting.c:
2848 Call apply_filetype_properties() from styleset_c_like().
2851 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2853 * doc/geany.txt, doc/geany.html:
2854 Improve information about predefined keybindings which are
2855 commonly used across applications (patch by Lex Trotman, thanks).
2857 Enable embedded page setup properties in the (Unix) Print dialog
2858 on newer GTK versions (closes #2870596).
2859 * src/highlighting.c:
2860 Map global types (read from tags files) to keyword style for
2864 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2867 Fix wrong creation of filetype template menu items for custom
2869 * src/highlighting.c:
2870 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2872 Group 'New with template' items by filetype submenu (currently only
2874 Show custom file template items before filetype template items.
2875 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2877 Only use one 'New with template' submenu - reparent as needed.
2879 Don't create templates/filetype.none either.
2881 Warn if custom template file no longer exists.
2884 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2887 Add missing icon for Java packages in the Symbol List.
2890 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2892 * src/highlighting.c, data/filetypes.vala:
2893 Add Vala keywords to conf file.
2894 * src/templates.c, doc/geany.txt, doc/geany.html:
2895 Read custom file templates from $prefix/share/geany/templates/files
2896 as well as user dir.
2897 * src/templates.c, data/templates, data/templates/files,
2898 data/templates/files/file.rb, data/templates/files/file.html,
2899 data/templates/files/main.java, data/templates/files/main.c,
2900 data/templates/files/main.cxx, data/templates/files/file.php,
2901 data/templates/files/main.d, data/templates/files/program.pas,
2902 data/templates/files/main.py, data/templates/files/file.tex,
2903 wscript, Makefile.am:
2904 Move filetype template defaults into custom file template files.
2907 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2909 * src/symbols.c, tagmanager/perl.c:
2910 Change Perl tag parser to ctags SVN r601. This removes support for
2911 buggy local/my/our but it parses constant/format/labels and should
2912 be less buggy overall (closes #2861232).
2913 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
2914 Add utils_get_file_list_full() which can optionally sort or include
2915 a full path for each list item.
2916 * src/utils.c, src/plugindata.h, src/plugins.c:
2917 Add utils_get_file_list_full() to API.
2920 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2922 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
2923 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
2924 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
2925 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
2926 po/POTFILES.in, wscript:
2927 Rename treeviews.[hc] -> sidebar.[hc].
2928 * data/filetypes.common:
2929 Remove unused [styling] arguments.
2930 * src/highlighting.c, data/filetypes.markdown,
2931 data/filetypes.restructuredtext:
2932 Remove style defaults from the code - just read them from
2933 configuration files.
2934 * src/highlighting.c, HACKING:
2935 Add apply_style_entries() to simplify implementing styleset_foo().
2936 * src/highlighting.c:
2937 Remove filetype keyword defaults from the code - just read them from
2938 configuration files.
2939 * src/highlighting.c:
2940 Add sci_set_keywords() wrapper.
2943 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2945 * scripts/create_py_tags.py:
2946 Make the code a bit more pythonic.
2947 * doc/images/build_menu_commands_dialog.png,
2948 doc/images/main_window.png:
2949 Add new images referenced in the documentation.
2950 * doc/geany.html, doc/geany.txt:
2951 Several documentation improvements (patch by Lex Trotman, thanks).
2952 * src/pluginutils.c:
2953 Fix setting the appropriate page of the combined plugins
2957 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2959 * src/keybindings.c:
2960 Only focus toolbar goto line entry when pressing keybinding if it's
2961 visible (patch by Eugene Arshinov, thanks).
2963 Focus editor after entering a number in the goto line toolbar entry.
2965 Use AC_PATH_PROG instead of which for portability (patch by Erik
2966 Southworth, thanks).
2968 Show plugins that only implement plugin_configure_single() in the
2969 multiple-configure dialog as a page with a configure button on it.
2970 Add padding for multiple-configure dialog.
2971 Make the multiple-configure dialog notebook tabs scrollable.
2972 * src/pluginutils.c, src/pluginutils.h:
2973 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2974 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
2975 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
2976 plugins/geanyfunctions.h, plugins/filebrowser.c:
2977 Add plugin_show_configure() API utility function.
2978 Add File Browser popup menu 'Preferences' item.
2979 * src/highlighting.c:
2980 Add get_keyfile_ints() instead of using tmp_style hack.
2981 * src/highlighting.c, data/filetypes.xml:
2982 Change new html_asp_default_language markup pref to use integer,
2983 not hex in config file.
2984 Fix minor issue with changing pref back to 0.
2985 * src/highlighting.c:
2986 Fix possible segfault in get_keyfile_int() if key value is malformed.
2989 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2991 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
2992 Add "html_asp_default_language" pseudo style to filetypes.xml
2993 to allow setting the used language in embedded ASP code
2994 (patch by Ross McKay, thanks).
2995 * src/filetypes.xml:
2996 Update VBScript keywords (patch by Ross McKay, thanks).
2999 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3001 * src/keybindings.c, THANKS:
3002 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3003 keybinding use line breaking column when enabled.
3005 Fix showing the document before reload dialog when opening an
3007 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3008 Add plugin_configure_single() plugin symbol which is easier to
3009 implement than plugin_configure() but won't support a
3010 multiple-plugin configure dialog.
3012 Show multiple plugins in the 'Configure Plugins' dialog.
3015 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3017 * doc/geany.txt, doc/geany.html:
3018 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3020 * doc/geany.txt, doc/geany.html:
3021 Add 'Toolbar entries' section.
3022 * doc/geany.txt, doc/geany.html:
3023 Update 'Go to line' keybinding description.
3024 * doc/geany.txt, doc/geany.html:
3025 Split keybinding table into group tables; update KB links.
3028 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3031 Fix compiler warnings about uninitialised variables.
3032 * src/callbacks.c, src/document.c:
3033 When reloading files, use the previously set encoding instead of
3034 detecting it again (closes #2862041).
3036 Turn on automake silent rules if supported.
3039 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3042 Speed up sorting in utils_get_file_list(). This reduces the file
3043 browser delay on displaying a big directory, e.g. /usr/bin.
3045 Expand command entry width when expanding Build Commands dialog.
3047 Split Build Commands dialog notes label and edit text.
3049 Add padding for Build Commands dialog separators.
3050 Add colons for regex field labels; fix 1 capitalisation.
3052 Fix none filetype Build Commands dialog label.
3053 Make group labels bold.
3054 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3056 Add & use ui_label_set_markup(), ui_label_new_bold().
3057 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3058 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3059 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3060 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3061 * src/keybindings.c:
3062 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3065 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3067 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3068 tagmanager/parsers.h, tagmanager/makefile.win32,
3069 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3070 data/filetype_extensions.conf, wscript:
3071 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3073 Merge recent changes from the CTags project to further improve
3077 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3080 Fix wrong alignment of printed pages when page headers are
3081 disabled (closes #2856822).
3082 Plug a small memory leak and improve function signature of
3085 Save an if expression.
3087 After clearing a text field using the embedded clear icon, put the
3088 input focus into this text field.
3091 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3093 * plugins/filebrowser.c:
3094 Free file list memory whilst iterating the list.
3095 Minor formatting fixes.
3096 * src/utils.c, src/utils.h:
3097 Add foreach_dir() API macro.
3098 Update API docs for utils_get_file_list().
3099 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3101 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3102 Beep if there are no more snippet positions.
3103 Limit length of snippet positions queue to 20.
3106 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3108 * src/keybindings.c, src/callbacks.c, src/search.c:
3109 Make Goto Tag commands use the current selection if present (useful
3110 for selecting part of a tag or for ReST section names with spaces
3113 Don't move the cursor when reloading.
3114 * src/plugindata.h, src/editor.c, src/editor.h:
3115 Make editor_prefs.snippets hash table private (not a pref).
3118 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3121 Remove deprecated --debug flag. Please use --verbose/-v instead.
3124 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3127 Show Find in Files stderr output in messages window instead of
3128 debug window so that invalid regex messages can be seen easily.
3129 Combine FIF stdout and stderr callback code.
3132 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3135 Fix opening filenames beginning with two dots (closes #2858487).
3136 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3137 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3138 data/filetypes.common, geany.glade:
3139 Update syntax highlighting after changing the 'Invert syntax
3140 highlighting colors' pref, instead of requiring a restart.
3141 Remove filetypes.common invert_all option - use 'Invert syntax
3142 highlighting colors' pref instead (closes #2854525).
3143 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3144 Add 'Allow' button when showing the conflicting keybinding dialog.
3145 Make dialogs_show_question_full() use GTK dialog on Windows if
3146 button text is not the stock yes/no items.
3147 Add dialogs_show_prompt() which also has an 'Apply' button.
3148 * src/queue.c, src/queue.h:
3149 Add warning that GeanyQueue may be removed.
3150 * src/keybindings.c, src/editor.c, src/editor.h:
3151 Change snippet_goto_next_cursor() to
3152 editor_goto_next_snippet_cursor() as it's in editor.h.
3153 Avoid using GPOINTER_TO_INT macro.
3156 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3158 * src/keybindings.c:
3159 Fix 'Reflow block' command when at the last paragraph and there's
3160 no last newline (patch by Eugene Arshinov, thanks).
3162 Add 'Compiler options & warnings' section.
3163 Update Style section to be clearer about code alignment and show
3168 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3170 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3171 src/plugindata.h, src/plugins.c, src/editor.c,
3172 plugins/geanyfunctions.h:
3173 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3174 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3176 Add sci_toggle_marker_at_line().
3177 Fix SciFuncs alignment.
3180 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3183 Fix erroneous free of returned string in prepare_run_script.
3186 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3188 * data/filetypes.latex:
3189 Changing default value for showing pdf and dvi to ensure to take
3190 *.pdf and *.dvi file.
3193 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3195 * src/about.c, THANKS:
3196 Change language string for Slovenian translation.
3199 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3201 * tagmanager/txt2tags.c:
3202 Fix multi-byte character constant comparison.
3204 Fix Gtk warning when trying to update documents popup menu item
3205 sensitivity before they exist.
3208 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3211 Improve the opening string in the plugin manager dialog.
3213 Use "max-width" to set the document width of the generated
3214 HTML documentation to let the text be auto-wrapped.
3215 * src/prefs.c, src/tagmanager/include/guregex.h,
3216 src/tagmanager/include/tm_tagmanager.h:
3217 Remove trailing spaces (patch by André Hentschel, thanks).
3219 Fix a compiler warning.
3221 Fix crash when opening documents.
3222 * src/build.c, src/build.h, src/project.c:
3223 Adjust coding style (no code changes).
3224 * src/build.c, src/project.c:
3225 Use NZV() macro instead of strlen() to check for empty strings.
3226 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3227 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3228 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3229 src/plugins.c, THANKS:
3230 Add new plugin signal: "document-before-save".
3231 Add get_line_end_position(), set_target_start(), set_target_end(),
3232 replace_target() to the plugin API
3233 (patch by Eugene Arshinov, thanks).
3234 Add new plugin signal: "document-filetype-set" (closes #2852286).
3235 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3236 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3237 tagmanager/Makefile.am, tagmanager/makefile.win32,
3238 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3240 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3243 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3245 * src/treeviews.c, src/document.c:
3246 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3247 Use gtk_notebook_set_current_page() instead of
3248 document_open_file_full() when choosing an item from the documents
3250 Avoid using goto in document_open_file_full().
3253 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3255 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3256 Enable type-ahead find for sidebar symbols and documents tabs
3257 (patch by Thomas Martitz, thanks).
3259 Fix 2 free's of possibly uninitialized pointers.
3262 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3264 * src/build.c, src/filetypes.h, src/filetypes.c:
3265 Only write filetype config files when build command or regex is
3266 actually changed. Removed commented code in src/filetypes.c.
3268 Ensure uses of filename are protected against nulls when running
3269 a build command and give status message if not.
3272 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3275 Remove plugin from plugin manager dialog on unloading if it no
3276 longer exists or is incompatible.
3279 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3282 Add warning if only one of the plugin_key_group[_info] symbols is
3283 defined for a plugin.
3284 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3285 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3287 Merge custom-filetypes branch:
3288 Support adding custom filetype files e.g. filetypes.Foo.conf.
3290 Allow GeanyFiletype::extension to be NULL.
3291 Add note about using GeanyFiletype pointer instead of filetype_id
3292 for filetypes.c function arguments.
3293 Replace styleset_none() with styleset_default().
3296 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3299 Show the sidebar if either the documents or the symbols list are
3300 enabled (related to #1876107).
3303 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3305 * src/build.c, src/filetypes.c:
3306 Fix compiler warnings.
3308 Fix removing leading double slashes in filenames which are used for
3309 network resources on Windows (closes #2844085).
3312 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3314 * src/keybindings.c:
3315 Fix Make keybindings (patch by Lex Trotman, thanks).
3317 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3319 Mention Files link at top for header files; demoplugin.c.
3320 Minor edits; remove 'far from being complete'.
3321 * src/keyfile.c, src/keyfile.h, src/main.c,
3322 data/filetype_extensions.conf, HACKING:
3323 Remove --generate-data-files argument & code - just edit
3324 filetype_extensions.conf by hand (filetype order was broken
3326 Add *.H extension for C++ (useful for non-Windows systems).
3329 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3332 Fix implementation of loading old project files with base
3333 directories. Use project_make_base_path instead of re-
3334 implementing. Now depends on project.c reading base dir
3335 prior to calling load_build_menu.
3337 Change usage of project base directory to conform with
3338 previous documented behavior when loading old project files.
3340 Change make custom and make object to ignore make in base path
3341 when reading old project file settings. Changed some indent
3342 spaces to tabs. Fix missing compile menu accelerator.
3345 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3348 Add warning about not using undocumented features.
3349 Add reference to HACKING for plugin API development.
3351 Add section 'Plugin API/ABI design'.
3352 * src/keybindings.h, src/makefile.win32, src/project.h,
3353 src/filetypes.h, src/Makefile.am, wscript:
3354 Use GEANY_PRIVATE to hide some fields from plugins.
3356 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3357 * src/build.c, src/build.h, src/project.c:
3358 Use build_ prefix for 3 functions in build.h; add a static modifier.
3361 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3364 Improve parsing of PHP functions by requiring a valid modifier or
3365 whitespace before the 'function' keyword to ignore some false
3366 positives like function tags inside comments
3367 (patch by Harold Aling, thanks).
3368 * tagmanager/python.c:
3369 Don't parse comments after import statements and other tags
3370 (closes #2838938, patch by Huandari Lopez, thanks).
3373 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3375 * data/filetypes.markdown:
3376 Add filetypes.markdown for configuration (thanks to Jon Strait).
3377 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3378 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3379 plugins/geanyfunctions.h:
3380 Remove GeanyKeyGroup struct from the API - plugins should not set
3382 Make keybindings_set_item() duplicate the name and label fields
3383 (needed by GeanyLua) and return a keybinding pointer.
3384 Add keybindings_get_item() to the API (in case it's useful).
3385 Move some keybinding code out of plugin source files.
3388 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3390 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3391 Don't generate build.h API docs until everything is approved and
3392 functions are actually in geany_functions.
3393 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3394 as they may be changed or made private later.
3395 Break ABI for fields removed.
3398 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3400 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3401 src/keyfile.c, src/project.c:
3402 Changed names of symbols visible in build API to GEANY_xxx.
3405 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3407 * src/project.h, src/project.c, src/build.c:
3408 Remove make_in_base_dir and run_cmd fields from project structure.
3409 Replaced by build functionality. Remove incorrect use in src/build.c
3410 build_run_cmd function.
3413 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3415 * src/project.h, src/project.c:
3416 Removed unused project_get_make_dir function, this is now per
3420 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3422 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3424 Fix some more warnings.
3425 Fix commented out execute/stop toolbar code in build.c.
3426 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3427 Changed build.h api so all functions prefixed with build_.
3430 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3432 * src/build.c, src/build.h, src/project.c:
3433 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3436 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3439 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3440 strings when reading old format configuration & project files.
3441 * src/build.c, src/project.c:
3442 Fixed GLib array assertion warnings when no project filetypes are
3443 available to be saved.
3445 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3451 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3453 * src/build.h, src/build.c, src/project.c:
3454 Created and documented plugins interface to build menu.
3455 Factored out new get_cmd_group function.
3456 Changed name of remove_command function to be consistent with the
3457 rest of the interface & changed calls in project.c.
3458 * src/Makefile.am, wscript:
3459 Added build.h to installed files lists.
3461 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3464 Updated manual to match build-menu capability.
3467 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3469 * src/build.c, src/build.h:
3470 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3471 Improved interpretation of run_in_base_dir from old [build-settings]
3472 Added spacing to build commands dialog
3474 Removed run in base path option from project dialog and added button
3475 to set working directories to d the same.
3478 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3481 Re-incorporated toolbar changes in trunk accidently excluded in merge
3483 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3486 Fixed substitute %f etc in commands
3487 Fixed potential leak in build_replace_placeholder
3488 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3489 Fixed build_replace_placeholder to not require document.
3491 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3493 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3494 Fixed crash and lots of warnings, deleted some commented out code.
3495 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3496 Removed make command from preferences and associated code
3498 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3500 * src/build.c, src/build.h:
3501 Incorporated patch for working directory field (thanks Thomas)
3502 Removed run_in_base_dir option and associated code that it replaces
3503 Improved handling of old config files and mapping to new ones.
3505 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3507 * src/build.h, src/build.c:
3508 Changed to itterate over entries in build commands dialog to allow
3509 additional fields to be added
3510 Implement support for multiple run commands
3511 * data/filetypes.latex:
3512 Implement configured commands and labels for latex.
3515 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3517 * src/build.h, src/build.c:
3518 added dialog support for error regular expressions from multiple
3519 sources and storing and loading them fixed some typos and memory
3521 * src/filetypes.c, src/filetypes.h, project.c:
3522 added support for using error regexes from multiple sources
3525 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3527 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3529 Removal of build menu item source made redundant by the following fix
3531 Corrected priority oreder and loading of filetype dependent build
3532 menu items saved in the project file. Added print routine for
3533 debugging command sources and priorities set compile symbol
3534 PRINTBUILDCMDS true to enable
3536 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3539 fixed problem loading old format filetype files, some formatting
3540 fixes fixed saving new format files
3541 added operation for clear button on build commands dialog
3543 fixed loading and saving filetype files
3546 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3548 Configurable Build Menu Changes
3550 * doc/geany.html, doc/geany.txt:
3551 Updated build menu section to new functionality
3552 * src/build.h, src/build.c:
3553 Largly re-written, configurability added, Latex code removed
3554 * src/filetypes.h, src/filetypes.c:
3555 Filetype structure updated to add new command pointers, configuration
3556 load and store changed
3557 * src/keybindings.h, src/keybindings.c:
3558 Changed to address new command storage structure.
3560 Changed to load/store new configuration.
3562 Minor change to initialisation order.
3564 Changed to address new menu item storage structure.
3565 * src/project.h, src/project.c:
3566 Changed to load/store the new configuration info.
3568 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3570 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3571 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3572 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3573 plugins/splitwindow.c:
3574 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3575 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3576 the ABI when adding fields to them.
3577 Add plugin_set_key_group() for plugins to dynamically set a
3578 keybinding group (e.g. for the Lua script plugin). Used in Split
3579 Window plugin as an example.
3580 Improve keybinding docs a little.
3583 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3585 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3586 Add geanyfunctions.h to API docs.
3587 * plugins/splitwindow.c:
3588 Set the cursor color for the split window.
3591 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3594 Fix 'Open Selected File' for unsaved new documents.
3595 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3596 Fix updating main menu accelerators after changing keybindings
3597 (thanks to Lex Trotman).
3599 Fix using 'Insert date' keybinding when a custom date string has
3601 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3602 Merge Plugin and GeanyPluginPrivate structs.
3605 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3607 * src/keybindings.c:
3608 Fix non-working Home and End keys on numpads.
3611 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3613 * doc/geany.txt, doc/geany.html, NEWS:
3614 Add 'Scope autocompletion' section.
3615 Add 'Tools menu items' section to explain configuration files
3616 submenu, reload configuration item.
3617 Minor updates/fixes.
3620 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3623 Add a translation hint to an ambiguous format string.
3625 Add missing include path to fix 'make distcheck'.
3627 Fix opening of local files in the browser on Windows.
3628 * New release: Geany 0.18 "Kaine".
3629 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3630 src/geany.h, doc/geany.html, doc/geany.txt:
3631 Post-release version bump.
3634 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3637 Temporarily disable reshowing calltips when the autocompletion
3638 list was closed implicitly by not choosing an item to fix
3639 problems with wrongly displayed calltips.
3641 Add missing 'coding' cookie to the Python filetype template.
3642 * doc/images/pref_dialog_edit_completions.png,
3643 doc/images/pref_dialog_toolbar.png:
3644 Update images for Geany 0.18.
3647 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3650 Add command '--hackingdoc' to create the HTML form of the
3654 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3656 * po/pt_PT.po, po/LINGUAS:
3657 Added a first Portugese (Portugal) translation based on work done at
3658 launchpad by e.g. André Glória and Alexandre Jesus.
3659 * src/main.c: Fix a minor typo on --help call.
3662 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3664 * src/highlighting.c:
3665 Call get_keyfile_wordchars() in highlighting_init_styles().
3668 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3670 * data/filetypes.ada:
3672 * src/keybindings.c:
3673 Switching notebook tabs now works for the currently used notebook
3674 widget instead of always using the documents notebook.
3675 * src/document.c, src/document.h, src/documentprivate.h,
3677 Small corrections to some API docs.
3680 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3682 * src/build.c, src/win32.h, src/win32.c:
3683 Expand system environment variables (%variableName%) on Windows when
3684 running Build commands.
3687 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3689 * src/keybindings.c:
3690 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3691 future using an indent block is more useful e.g. for ChangeLog
3693 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3694 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3695 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3696 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3697 tagmanager/parsers.h, tagmanager/makefile.win32,
3698 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3699 Add Markdown filetype (patch by Jon Strait, thanks).
3700 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3701 Fix disconnecting plugin signal id when not using geany_object.
3703 Add filetype_make_title() instead of using:
3704 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3705 It also supports "%s file" strings.
3708 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3710 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3711 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3712 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3713 plugins/filebrowser.c:
3714 Add plugin_signal_connect() for connecting plugin signals at
3715 runtime and also for connecting to any GObject signal.
3716 Add 'Plugin Utility Functions' on main page.
3717 Add foreach_array() macro.
3718 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3719 src/document.c, src/editor.c:
3720 Rename 3 sci functions to sci_set_target_start(),
3721 sci_set_target_end(), sci_replace_target() to match the SCI_
3725 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3727 * wscript: Fix compiling error with waf.
3730 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3732 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3733 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3734 src/Makefile.am, wscript:
3735 Move plugin_* utility functions to pluginutils.c.
3736 Add pluginprivate.h.
3738 Fix reshowing calltip in the wrong document.
3741 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3743 * doc/geany.txt, doc/geany.html:
3744 Add some general information about auto-completion capabilities
3745 (patch by Lex Trotman, thanks).
3748 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3750 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3751 Added a first Slovenian translation. Thanks to Joze Klepec.
3754 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3756 * src/highlighting.c:
3757 Use full styleset_foo[_init] function name as argument to
3758 init_styleset_case() and styleset_case() macros so it's easier to
3759 understand the code.
3760 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3761 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3762 doc/geany.txt, doc/geany.html:
3763 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3764 Heavily based on a patch by Eugene Arshinov (thanks).
3765 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3766 editor_strip_line_trailing_spaces().
3769 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3772 Attempt to fix reshowing calltips after the autocompletion list
3774 Reshow calltips also when the autocompletion list was closed
3775 implicitly by not choosing an item.
3777 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3779 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3780 plugins/splitwindow.c:
3781 Change utils_str_remove_chars() to work in place; fix allocating on
3782 the stack (the string length could exhaust the stack size).
3783 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3784 src/printing.c, src/callbacks.c:
3785 Rename utils_str_replace() utils_str_replace_all(), setting a
3786 'gchar **haystack' argument instead of returning a new string.
3788 For the Tabs indent type, remove spaces when unindenting (only) if
3789 there are no tabs on the line.
3790 Group undo actions for (un)indenting of multiple lines.
3791 * src/document.c, src/editor.c:
3792 Fix scrolling horizontally after finding a search match with the
3793 search bar or Find Next/Previous which is off-screen.
3794 * src/keybindings.c:
3795 Fix GLib warning when pressing a key with no documents open.
3798 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3801 Start unifying usage of @a and @c markup elements in API docs,
3803 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3804 Show/hide the toolbar without a restart when the setting in the
3805 preferences dialog is changed (closes #2824785).
3806 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3807 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3808 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3810 Continue unifying usage of @a and @c markup elements in API docs.
3813 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3816 Remove relative/untidy path elements when creating new documents
3817 with a filename (e.g. from the command-line) (#2823998).
3820 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3823 Disable 'Recent Projects' menu item if the list of recent projects
3826 Fix some harmless compiler warnings.
3827 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3828 src/plugins.c, src/utils.c, src/utils.h:
3829 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3830 src/utils.c and add it to the plugin API.
3831 Make utils_str_remove_chars() work on a new copy of the input string
3832 instead of modifying it in place.
3834 Remove underscores from the toolbar items labels.
3837 * plugins/splitwindow.c:
3838 Fix broken 'Show the current document' tool button icon.
3841 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3843 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3845 Add stash_group_add_widget_property() so we can save any widget's
3846 read/write properties.
3847 Use Stash for ui_prefs.sidebar_page setting.
3848 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3849 Make foreach_ptr_array() use an integer argument for its
3850 implementation, as this is more useful potentially than a gpointer*
3851 argument, and more straightforward.
3852 Add foreach_c_array(), foreach_ptr_array() to API.
3853 * src/utils.c, src/utils.h, src/document.c:
3854 Remove relative/untidy path elements when opening documents (closes
3857 Fix showing project name for documents list files with no
3858 subdirectory (oops).
3860 Fix checking whether to overwrite when using the Rename button in
3861 the 'Save As' dialog.
3864 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3867 Don't use the main window as parent for dialog boxes if it is not
3869 Set titles for message dialogs.
3872 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3875 Display item labels instead of raw names in the toolbar editor.
3876 Apply changes in the toolbar editor instantly.
3877 Show icons in the toolbar editor.
3878 Speed up toolbar editor dialog creation.
3880 Improve inserting of comment templates like File header or licence
3881 notices. The comment information are now read from the filetype
3882 configuration files.
3884 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3887 Enable file monitoring for files which are written to disk by Geany
3890 Fix broken special case handling when detecting filetypes from a
3891 shebang or other special file headers.
3894 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3897 Make Mark All keybinding clear search highlighting when there's no
3900 Fix wrong match length when using Mark with regex.
3901 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3902 src/keyfile.c, src/main.c:
3903 Add 'Show Paths' documents list popup item.
3904 Add "load_settings" core-only signal emitted just after loading
3905 main keyfile settings; useful to delay building UI elements until
3906 settings have been read.
3908 Fix GTK warning when right-clicking on default tag tree.
3909 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3910 Add treeviews_finalize().
3911 Remove tv.popup_openfiles field.
3914 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3916 * src/highlighting.c:
3917 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
3920 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3923 Quote the uri before passing it to the browser when opening a
3924 website (closes #2818635).
3926 Fix broken 'builtin' Run command for HTML files on Windows.
3929 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3932 Properly fix wrong brace highlighting of non-brace character.
3934 Allow autocompletion in Perl double-quoted strings.
3935 Don't autocomplete in Perl single-quoted strings (closes #2821061).
3936 Don't autocomplete in Perl q() strings.
3937 * data/filetypes.common:
3938 Make Mark highlighting brighter.
3939 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
3940 Use hyphen for auto-feature terms.
3941 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
3942 src/document.h, src/main.c:
3943 Add documents_foreach() API macro that skips invalid docs.
3944 Make filetypes[], documents[] part of the API again.
3945 Add GEANY() macro for sharing geany symbols between API and core.
3946 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
3947 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
3948 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
3949 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
3950 plugins/classbuilder.c, wscript:
3951 Add geanyplugin.h single include for plugin API; update all core
3953 Add sci_set_font() to API.
3954 Update plugin howto.
3955 * src/filetypes.c, src/filetypes.h:
3956 Remove filetypes_foreach_named().
3959 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3961 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
3962 src/document.h, src/main.c, THANKS:
3963 Apply patch from Eugene Arshinov to reload color schemes via menu
3966 Reload filetypes.common after saving it.
3968 Improve wrong brace highlighting of non-brace character.
3971 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3974 Delay highlighting matching braces by 100ms, which speeds up
3975 scrolling with the arrow keys.
3976 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
3977 Add 'Mark All' keybinding.
3978 * tagmanager/diff.c:
3979 Show relative paths in diff filename tags.
3982 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3984 * src/highlighting.c:
3985 Fix setting keyword list 'classes' for Haxe
3986 (pointed out by Andreas Mokros, thanks).
3989 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3991 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
3992 doc/geany.txt, doc/geany.html, geany.glade:
3993 Add 'Drop rest of word on completion' pref.
3994 * src/editor.c, doc/geany.txt, doc/geany.html:
3995 If autocompletion is already visible when forcing completion, show
3996 document word completion instead of tag completion.
3997 Docs: Minor edits of related prefs items.
3998 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
3999 Add warning when printing and editor font is not monospaced.
4000 Fix using GtkMessageType instead of gint param for
4001 dialogs_show_msgbox*().
4002 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4004 Support 'tab indents, space aligns' style for auto-indentation
4008 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4010 * src/document.c, src/documentprivate.h:
4011 Rework the GIO based file monitoring code. Now it is used only
4012 to indicate a possible change of the file, the real check if the
4013 file has been changed is performed by stat().
4014 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4015 Add style 'line_height' to increase the line height.
4016 Add style 'marker_mark' and change style 'marker_search' to
4017 define the style used for marked search results.
4018 * doc/geany.txt, doc/geany.html:
4019 Add the new 'Autocomplete all words in document' pref to the docs.
4022 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4024 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4025 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4026 Add 'Autocomplete all words in document' pref.
4027 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4029 Fix limiting number of word completion entries too much.
4030 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4031 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4032 Show autocompletion icons for tag symbols - for now only tags with
4033 an arglist have the 'function/method' icon, all others have the
4035 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4037 * src/highlighting.c:
4038 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4042 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4044 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4045 Fix removing underscores in translated string using no_underscore()
4047 Set a tooltip for the Split Window plugin's Show Current tool button.
4048 Add utils_strdupa() macro.
4049 * src/interface.c, geany.glade:
4050 Use stock Select All icon now we have >= GTK 2.8.
4052 Fix using project name for document items that start with the
4053 project base path but don't match it e.g. ".../geany-plugins"
4054 instead of ".../geany" when project name is 'geany'.
4057 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4060 Fix warnings when the toolbar does not contain the Run button.
4062 Fix wrong parsing of complex expressions in the Lua parser.
4063 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4065 Remove unnecessary enums.
4066 * scintilla/*, scintilla/include/*, src/plugindata.h:
4067 Update Scintilla to version 1.79.
4068 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4070 Use the new Scintilla struct names prefixed with 'Sci_'.
4071 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4073 Add second argument to the 'line_wrap_indent' styling setting to
4074 control the new Scintilla indentation mode for wrapped lines.
4076 Properly close the toolbar editor on delete-events.
4077 Fix warnings and possible crashes in the toolbar editor when the list
4078 of displayed toolbar items is empty.
4079 * data/filetypes.tcl:
4080 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4082 Make the plugin manager dialog a bit bigger.
4085 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4087 * doc/geany.html, doc/geany.txt:
4088 Fix wrong default values for the 'Show Calltip' keybinding.
4091 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4093 * data/filetypes.tcl, src/symbols.c:
4094 Fix duplicate "context_action_cmd" key.
4095 Use different icons for "Methods" and "Procedures" in the symbol
4098 Fix a small memory leak.
4099 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4100 src/keybindings.h, src/plugindata.h:
4101 Make the Scintilla keybindings 'Delete to end of line' and
4102 'Go to end of display line' configurable.
4104 Fix a typo (closes #2813624).
4107 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4109 * tagmanager/tcl.c, src/symbol.c:
4110 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4111 methods and namespaces).
4112 Patch by Witek Mozga, thanks.
4115 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4117 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4118 src/toolbar.c, src/toolbar.h:
4119 Remove ui_toolbar.xml Configuration Files menu item.
4120 Add a real toolbar editor dialog.
4121 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4123 Add a button in the preferences dialog and an item for the toolbar
4124 popup menu to run the toolbar editor dialog.
4127 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4130 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4131 Fix using locale encoding for default Save As dialog path.
4133 Beep when trying to activate the '...' autocompletion item.
4134 Limit (forced) document word completion to
4135 autocompletion_max_entries.
4136 Beep if no completions are shown when forcing autocompletion.
4139 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4141 * data/ui_toolbar.xml, src/toolbar.c:
4142 Add 'Build' toolbar button to the default layout.
4145 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4148 If forcing autocompletion and there's nothing else to show, complete
4149 from words in the current document (using code from Enrico's
4150 'AutoComplete Test' plugin).
4153 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4156 Add debug message if plugin has not set a name for its keybinding
4158 * data/filetype_extensions.conf:
4159 Add *.m4 for shell scripts.
4162 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4164 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4165 data/filetypes.common, TODO:
4166 Make filetypes.common named styles use the "default" named style for
4167 all missing style fields.
4168 Set named styles to usually leave the background style empty. This
4169 currently allows C-like filetypes to have a common default
4171 Allow hard-coded colors to use -1 for the default color.
4172 Add some highlighting style examples to the manual.
4175 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4178 Create initial template files with proper platform-specific line
4182 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4184 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4185 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4186 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4187 src/ui_utils.c, src/ui_utils.h:
4188 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4190 Refactor some related code.
4191 * tagmanager/conf.c:
4192 Strip trailing spaces from "Key" tags.
4194 Quote the full filename to the Geany executable when creating the
4195 "Open with Geany" context menu item.
4196 * plugins/splitwindow.c:
4197 Avoid using deprecated GTK API.
4198 * src/log.c, src/main.c:
4199 Properly clean up the logging mechanism.
4201 Fix LaTeX view commands on Windows (part of #2807688).
4203 Add a popup menu for the keybinding list in the preferences dialog
4204 to easily expand and collapse all groups.
4205 Refactor the keybindings code for the preferences dialog, prefix all
4207 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4208 Init stock items before creating the toolbar (closes #2809324).
4210 Generate the geany.pc file also on Windows.
4212 Invert the logic to determine which Save All we want to use:
4213 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4214 like icon for any other themes.
4217 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4219 * src/highlighting.c, README.Packagers, HACKING:
4220 Remove gsd_* default styles, use named styles instead.
4221 Note: this relies on filetypes.common being installed.
4222 Add load_style_entries(), which makes style initialization
4223 simpler, used in styleset_c_like_init().
4226 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4229 Prevent possible crash on Windows when not setting an initial
4230 directory for native File Open/Save dialogs.
4231 * data/filetypes.xml, src/highlighting.c:
4232 Add style 'jscript_regex' for filetype HTML
4233 (patch by Chris Macksey, thanks).
4236 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4238 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4239 Make GeanyDocument::file_type always be non-NULL, even for a new
4240 document with no filetype set.
4242 Only autocomplete scope for scopes matching the current filetype's
4244 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4245 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4246 data/filetypes.actionscript, data/filetypes.cs,
4247 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4248 data/filetypes.javascript, HACKING:
4249 Make C++, D lexer filetypes use named styles (apart from uuid,
4250 verbatim, regex styles).
4253 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4256 Don't explicitly change the current directory of the Save As dialog
4257 so that it uses the last used directory.
4260 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4262 * src/encodings.c, src/encodings.h, src/plugindata.h:
4263 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4266 When completing from the macro list, put the cursor after
4270 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4272 * tagmanager/pascal.c:
4273 Fix type definitions being parsed as functions.
4275 Don't autocomplete in unterminated strings as well.
4276 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4277 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4278 Remove data_ptr argument to foreach_[s]list() macros, as using
4279 node->data is enough sometimes; this makes the macro a bit more
4281 Add foreach_[s]list() macros to the plugin API docs.
4284 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4286 * scintilla/LexPascal.cxx:
4287 Backport fix from Scintilla CVS:
4288 Pascal lexer hanging on file that starts with 'interface' after
4292 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4295 Update Waf to 1.5.7.
4297 Overwrite installation prefix on Windows only if it wasn't
4298 specified explicitly.
4301 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4304 Display calltips for Pascal symbols in the Pascal way (#2803945).
4305 * tagmanager/pascal.c:
4306 Fix wrongly set return values for procedures (closes #2803945).
4307 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4308 tagmanager/include/tm_source_file.h,
4309 tagmanager/include/tm_workspace.h:
4310 Fix doxygen warnings.
4313 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4315 * src/editor.c, tagmanager/include/tm_workspace.h,
4316 tagmanager/tm_workspace.c, TODO:
4317 Autocomplete scoped fields like struct members when typing '.' (and
4318 also '->' or '::' in C/C++).
4319 Save all tag types for C/C++ when generating a global tags file, so
4320 we can use autocompletion for structs also.
4321 Merge tm_workspace_find_scope_members(),
4322 tm_workspace_find_namespace_members() (currently not built) from
4323 Anjuta 2.24.1 tagmanager.
4326 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4328 * tagmanager/pascal.c:
4329 Parse Pascal calltips (closes #2802640).
4332 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4334 * src/filetypes.c, src/ui_utils.c:
4335 Add filetypes.common Configuration Files menu item.
4338 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4341 Add backslash to the wordchars on Windows when using
4342 'Open Selected File'.
4344 Add support (configure, build and install) for building on Windows
4345 and cross-compiling for Windows using the Waf build system.
4348 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4351 Set status bar text instead of showing a dialog when saving
4352 ui_toolbar.xml because the user might save several times.
4354 Fix redrawing due to colourising just after the document is first
4355 drawn. Now colourising should happen before the first draw.
4356 * src/utils.c, src/highlighting.c, data/filetypes.common:
4357 Fix segfault on parsing a filetypes.* style definition that has < 4
4359 Allow style definitions to have missing fields to use the default
4363 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4365 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4366 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4367 * plugins/classbuilder.c:
4368 Fix wrongly created header guards when the class filenames contains
4369 dashes (patch by PCMan, thanks).
4370 * data/filetypes.matlab:
4371 Add build_settings section to allow executing Matlab scripts.
4373 When closing a document, mark it as invalid before removing it from
4374 the documents notebook (this fixes wrong Save All button state when
4375 closing an unsaved document because the "switch-page" signal handler
4376 was using old data).
4379 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4381 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4382 Support toggling bold/italic when using a named style, e.g.:
4383 commentdockeyword=commentdoc,bold,italic
4384 Improve named style docs.
4387 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4389 * src/build.c, src/editor.c:
4390 Fix crashes when parsing the output of a compiler which reports
4394 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4396 * src/highlighting.c:
4397 Support named styles also for filetypes.common [styling] entries.
4398 * doc/geany.txt, doc/geany.html, HACKING:
4399 Update docs for named styles in filetypes.* files.
4401 Fix grouping symbol list children when parent name has "." character
4402 in for reStructuredText and Conf filetypes.
4403 * tagmanager/python.c:
4404 Fix grouping functions/classes under a nested function.
4407 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4410 Adjust icon paths (patch by Dominic Hopf, thanks).
4411 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4412 Add 'Replace' toolbar button (closes #2798225).
4415 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4417 * src/utils.c, src/highlighting.c, TODO:
4418 Implement named styles support for filetypes.* using a
4419 filetypes.common [named_styles] section e.g.:
4420 foo=0xc00000;0xffffff;false;true
4422 These can be used in e.g. filetypes.c as:
4426 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4429 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4432 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4434 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4435 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4438 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4441 Remove quote_executable() as it is not used anymore.
4442 When creating the geany_run_script.bat use the "%0" variable
4443 expansion and quote it for the "del" command (closes #2797172).
4445 On Windows, fallback to the literal build command line if searching
4446 for the command in the system path failed (related to #2795923).
4447 Properly terminate the resulting strings when reading the stdout
4448 and stderr of any spawned commands on Windows.
4451 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4454 Use the wide character versions of native Windows File dialogs.
4456 Fix wrong initialisation of the default project path button callback
4457 in the preferences dialog.
4458 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4459 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4460 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4461 icons/Makefile.am, icons/geany.ico, icons/scalable,
4462 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4464 Move the icons geany.png and geany.ico into the icons directory.
4465 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4466 Drop the pixmaps directory.
4469 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4471 * src/keybindings.c:
4472 Improve MRU document switching so there are no duplicates in the
4473 list and documents switched to whilst the dialog is open are
4474 ignored. Also beep when cycling through to the first document in the
4478 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4481 Fix broken 'Cancel' button in the Save As dialog.
4484 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4487 Fix multiline indent when selection covers text on the last line.
4489 Show current document in bold in tab popup menu.
4490 * src/editor.c, tagmanager/python.c, TODO:
4491 Parse Python calltips.
4494 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4496 * src/symbols.c, tagmanager/python.c:
4497 Parse Python import statements to get symbol completion for the
4498 imported module names.
4499 * src/editor.c, src/editor.h:
4500 Make some only locally used functions static.
4501 Fix wrong sanity check.
4503 Fix quoting the build command string on Windows (closes #2791769).
4504 This broke when we made build commands run synchronously on Windows,
4505 now we don't need to special quote the commands anymore.
4508 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4511 Drop rest of word to the right of cursor when autocompleting (do we
4512 need a pref for this?).
4515 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4517 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4518 Add sci_set_selection().
4519 * doc/geany.txt, doc/geany.html:
4520 Update manual for MRU switching.
4521 * src/callbacks.c, src/editor.c, src/editor.h:
4522 Make indenting with the Tabs indent type preserve spaces on the line,
4523 so it works for the 'tab indents, space aligns' formatting style.
4526 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4528 * tagmanager/python.c:
4529 Fix missing symbols for variables when an equal sign is used
4530 in a comment on the same line as the variable declaration.
4531 Backport change from CTags SVN to keep the parser more in sync:
4532 Add support for Cython constructs to the Python parser.
4534 Remember the additional Find in Files search flags at startup.
4536 Don't close the Save As dialog when saving the file didn't succeed.
4539 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4542 Remember scribble cursor position.
4543 * src/keybindings.c, TODO:
4544 Implement Most-Recently-Used document switching when pressing
4545 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4548 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4550 * data/latex.tags: Added some more commands from unit.sty and
4554 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4556 * src/symbols.c, doc/geany.txt, doc/geany.html,
4557 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4558 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4559 tagmanager/Makefile.am, wscript:
4560 Merge unstable branch:
4561 Add reStructuredText scope information for tags (for symbol list
4563 Read custom system global tags files from $prefix/share/geany/tags;
4565 Show the number of tags in a user global tags file (instead of the
4566 running total) in the debug message.
4567 Also print debug messages when loading a tag file manually or for
4568 default global tags files e.g. python.tags.
4570 Move NestingLevel tags code into a separate file, add functions.
4572 Add 'Installation prefix' section instead of quoting '/usr/local'
4574 Update for custom system global tags files.
4577 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4579 * src/highlighting.c:
4580 Unset maybe previously keywords when setting up Scintilla for
4581 XML files. This fixed wrong highlighting after switching back to
4582 filetype XML from another one.
4584 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4585 is only used when explicitly requested.
4587 Remove unnecessary call to g_intern_string() to fix build with
4588 GLib 2.8 (closes #2790051).
4591 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4594 Make the clear icon of entry fields act on the release event, not
4595 on the press event like for other buttons.
4597 Refactor some multiple used code into get_multiline_comment_style().
4599 Create parent directories if necessary when checking for the
4600 configuration directory on startup (closes #2784577).
4603 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4605 * plugins/filebrowser.c:
4606 When a filter is set, apply it only to files, not directories and
4607 apply the filter to the UTF-8 name of the file as the filter string
4608 itself is also UTF-8.
4609 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4610 Add utils_color_invert() and use it in highlighting.c and printing.c.
4611 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4612 Backport change from Scintilla CVS:
4613 Change capitalisation of header file to suit cross-compilation on
4617 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4619 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4620 Update Scintilla to version 1.78.
4621 * src/editor.c, src/highlighting.c:
4622 Update Pascal styles as they changed in Scintilla.
4625 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4628 Ignore the invert syntax highlighting colours setting when printing
4629 to not print characters on a dark background (closes #2785244).
4630 * New release: Geany 0.17 "Wessex".
4631 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4632 src/geany.h, doc/geany.html, doc/geany.txt:
4633 Post-release version bump.
4636 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4638 * src/callbacks.c, src/callbacks.h, src/main.c:
4639 Update the View->Fullscreen menu item when fullscreen state is
4640 changed externally (e.g. by the window manager).
4642 Fix passing wrong pointer to the File Open dialog for the Run
4643 command in the Project Properties dialog.
4646 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4648 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4650 Remember the active sidebar page between sessions.
4652 Add a recent project item after creating a new project.
4653 * tagmanager/ruby.c:
4654 Fix wrong parsing of string literals (closes #2781264).
4656 Fix setting focus to the editor widget after changing the selection
4660 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4663 Prevent crashes when two or more top level items in the symbol
4664 list have the same name (closes #2778246).
4667 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4669 * src/keybindings.c:
4670 Manually show the main notebook tab bar menu when Shift-F10 is
4671 pressed. This broke when we disabled the default GTK tab bar menu.
4673 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4674 which was reloaded shortly before.
4676 When the editor menu is opened by the Menu key, use the text cursor
4677 position for retrieving the current word. This fixes disabled
4678 Go to Tag items in the menu (#2780044).
4680 Set the "ellipsize" property of GtkCellRendererText to automatically
4681 shorten the path and file names in the Documents list.
4682 * doc/geany.html, doc/geany.txt, src/build.h:
4683 Increase the amount of highlighted build error messages to 100.
4684 At least for LaTeX we need higher values as there is a lot of
4685 informative output before any errors are reported.
4686 * src/filebrowser.c:
4687 Use the startup path as the initial directory for the filebrowser
4688 plugin when no project and no files are opened
4689 (patch by Matias Gea, thanks; closes #2780521).
4692 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4694 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4695 src/utils.c, src/utils.h:
4696 Ellipsize tab labels and some status messages for very long
4697 filenames (closes #2777348).
4698 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4699 Add utils_str_middle_truncate() and
4700 document_get_basename_for_display() to the plugin API.
4701 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4702 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4703 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4705 Add a hidden preference 'use_safe_file_saving' to save files to disk
4706 by creating a temporary file first. This has serious side effects,
4707 please read the documentation before enabling this.
4709 Make build commands on Windows run synchronously to avoid problems
4710 with reading build commands' output.
4711 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4712 Limit the amount of highlighted build error messages in the
4713 Compiler window to 50 for performance reasons.
4716 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4718 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4720 Replace our own GEANY_KEYS_MODIFIER_MASK by
4721 gtk_accelerator_get_default_mod_mask() which gives the same result.
4722 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4723 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4724 Add a trivial symbol parser for NSIS files.
4727 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4730 Hide the extra file open dialog options in an expander to make the
4731 dialog more compact by default and to provide more space for the
4733 Remove the filename field as it is also provided by GTK itself with
4734 more features like auto-completion.
4735 Watch the 'show-hidden' property of the file chooser widget using
4736 GObject's "notify" signal which gives accurate results and remove
4737 the hack using the "selection-changed" signal.
4740 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4742 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4743 Prevent double execution of radio menu item "activate" or "toggled"
4745 Move 'Set Encoding' callback function into encodings.c.
4748 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4751 Add some missing 'void's in function definitions.
4752 If the project base path is './', just use the path of the project
4753 config file instead of appending './'.
4754 * src/treeviews.c, src/project.c:
4755 When a project is loaded, replace the project base path with the
4756 project name in the Documents sidebar for parent items
4760 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4762 * src/keyfile.c, src/keyfile.h, src/project.c:
4763 Fix duplicating the recent files and projects lists when closing
4765 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4766 src/editor.c, src/encodings.c, src/filetypes.c,
4767 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4768 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4769 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4770 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4771 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4772 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4773 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4775 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4776 sense to keep the code more readable.
4779 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4782 When updating global type definitions for opened documents, take
4783 also C++ namespace symbols into account and don't ignore symbols
4784 which are defined inside a scope.
4787 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4790 Don't show 'plugin is not binary compatible' messages on the status
4791 bar, only the status window.
4794 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4797 When opening files from a remote instance on X11, set the window
4798 server time to encourage window managers to pop up the main window
4799 (related to #2735467 and #2276179).
4801 When finished sending filenames to a remote instance, notify the
4802 environment that we finished starting up.
4805 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4807 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4808 Sort Configuration Files menu.
4809 Add ui_menu_sort_by_label().
4810 Add foreach_list() macro.
4815 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4818 Fix setting a wrong default window size when starting without an
4819 existing configuration.
4820 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4821 Make editor_highlight_braces() static.
4822 Remove unused wrapper functions.
4823 * src/editor.c, src/symbols.c, src/symbols.h:
4824 Prevent showing an empty macro list.
4825 Show only macros of the same filetype instead of all macros of all
4828 Don't add opened project files to the GtkRecentManager.
4831 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4834 Add Configuration Files item for snippets.conf.
4835 * src/highlighting.c, src/symbols.c:
4836 Fix 2 old uses of filetype IDs.
4839 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4841 * src/interface.c, src/printing.c, geany.glade:
4842 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4845 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4848 Add sanity checks in ui_lookup_widget() just to be safe.
4849 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4850 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4851 src/project.h, src/ui_utils.c, src/ui_utils.h:
4852 Add "Recent Projects" menu to the Project menu
4853 (#2728630, patch by Elias Pschernig, thanks).
4854 * doc/geany.txt, doc/geany.html:
4855 Describe how to build Geany using the Waf build system.
4856 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4857 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4858 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4859 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4860 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4861 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4862 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4863 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4864 src/utils.c, src/utils.h, src/vte.c:
4865 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4866 performance when building the code with gcc.
4867 * src/highlighting.c:
4868 Fix typo in the G_LIKELY checks, introduced in last commit.
4869 Fix the size of the styles array.
4871 Show a message dialog when renaming a file fails.
4874 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4877 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4878 (as we did for all other files in SVN r3382).
4881 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4883 * src/filetypes.c, doc/geany.txt:
4884 Move ActionScript to the Script group.
4886 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4887 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4888 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4889 plugins/htmlchars.c:
4890 Merge reorder-filetypes branch:
4891 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4892 append randomly without breaking the ABI).
4893 Make None filetype name = title = _("None").
4894 Add foreach_slist() macro.
4895 Add filetypes_by_title list to GeanyData for plugin API access
4896 - a list of filetype pointers, which includes the None filetype
4897 first. This list stays constant by the time plugins are initialized,
4898 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4899 index the sorted list.
4902 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4904 * doc/geany.txt, doc/geany.html, src/main.c:
4905 Add widget names for the menubar and toolbar.
4907 When hiding the messages window, set the input focus back to the
4908 editor widget (part of #1910393).
4911 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4913 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
4914 Backport recent changes from Scintilla CVS to add partial support
4915 for RFC2822 styled text using the Properties lexer.
4916 Ignore leading whitespace for config files and RFC2822 text.
4917 * data/filetypes.actionscript:
4918 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
4919 * THANKS, src/treeviews.c:
4920 Display file/directory icons in the Documents sidebar
4921 (patch by Simon Treny, thanks).
4924 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4926 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
4927 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
4928 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
4929 Add an option to allow appending the toolbar to the main menu bar
4930 to save some vertical space.
4931 Allow setting toolbar icon size to very small (menu icon size).
4934 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4936 * src/keyfile.c, src/utils.c, src/utils.h:
4937 Add utils_path_skip_root(), a relative path safe variant of
4938 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
4939 * src/keyfile.c, src/main.c:
4940 Allow negative window coordinates when saving and restoring the
4941 position of the main window.
4942 Restore the main window position and size *after* the window has
4943 been realised to get it positioned accordingly
4944 (this affects at least Windows).
4947 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4949 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
4950 Use g_win32_get_package_installation_directory_of_module() on Windows
4951 with newer GLib versions instead of deprecated API.
4952 * src/keybindings.c:
4953 Don't manage the last used documents list when quitting to prevent
4954 errors by accessing invalid memory (may close #2533990).
4957 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4960 Delete the geany_run_script.sh immediately after execution
4961 to prevent leaking old copies when the script was quit unexpectedly
4962 (closes #2710482, patch by Martin Olsson, thanks).
4964 Check whether skipping the root element of a document's filename
4965 succeeded and use the filename itself if not (e.g. on relative
4966 filenames, #2702844).
4967 Use the locale encoded filename when saving session files.
4969 Re-set the quitting status after all documents have been closed on
4973 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4975 * plugins/htmlchars.c:
4976 Remove usage of deprecated sci_get_selected_text() from plugin.
4979 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4982 Delay disk file checks when switching between documents a little
4983 bit to avoid fast, unintentional page switching in some cases.
4984 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
4985 src/sciwrappers.c, src/sciwrappers.h:
4986 Deprecate sci_get_text(), sci_get_selected_text() and
4987 sci_get_text_range().
4988 Add sci_get_contents(), sci_get_contents_range() and
4989 sci_get_selection_contents() as replacement functions to provide
4990 an easier and cleaner API (initial patch by Frank).
4993 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4996 Fix wrong parsing of CSS tags when the definition block starts on
4997 a new line (reported by Dominic Hopf, thanks).
5000 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5002 * plugins/htmlchars.c:
5003 Extend plugin by feature to bulk replace and replace on input for
5004 special characters to their HTML entities.
5007 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5010 Update build menu items after changing anything in the
5011 'Set Includes and Arguments' dialog.
5012 Disable Compile/Run buttons/menu items when Compile/Run commands are
5014 Reset current build directory to the base directory after reading a
5015 "Leaving directory" message when parsing Make output
5016 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5018 Fix wrong display of the filename in the tab bar menu for new files.
5020 Set the initial directory for the Save As dialog only once on
5022 Add a shortcut of the project's base directory to the
5023 File Open/Save As dialogs when a project is open for faster access.
5024 * src/splitwindow.c:
5025 Add keybindings for the split actions.
5028 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5031 When using Find All in the Find dialog (in Session and Document),
5032 display the right amount of matches.
5033 Fix the display of the matches once per line (I broke the original
5036 Fix wrong directory selection behaviour in all Open Folder dialogs
5037 (closes #2688020, patch by Marcel Stimberg, thanks).
5039 Don't present the main window of a running instance when starting
5040 a second instance separately.
5043 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5046 Reduce default file permissions on the Unix Domain socket file
5047 (reported by Jörg Sommer, thanks).
5050 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5052 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5053 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5055 Add an option to set an additional plugin lookup path.
5057 When using Find All in the Find dialog, display matches only once
5058 per line in the messages window (patch by Bert Vermeulen, thanks).
5061 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5063 * data/filetype_extensions.conf, data/filetypes.actionscript,
5064 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5065 src/highlighting.c, src/plugindata.h, src/symbols.c,
5066 tagmanager/Makefile.am, tagmanager/actionscript.c,
5067 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5068 Add filetype ActionScript (patch by Chris Macksey, thanks).
5069 Update type keywords only for real C-like languages.
5070 Fix wrong sorting of Assembler and Ada filetypes.
5071 * plugins/classbuilder.c:
5072 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5073 Other minor cleanups.
5076 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5079 Don't use menu item images for the tab bar menu to save some
5081 * data/filetypes.fortran, tagmanager/fortran.c:
5082 Add keyword 'extends' and fix Fortran parser to support the
5083 'extends' keyword (closes #2654492).
5084 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5085 src/search.c, src/toolbar.c:
5089 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5091 * src/about.c, THANKS:
5092 Added Jari Rahkonen to list of Finnish translators.
5095 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5098 Adjust minimum required GTK version.
5099 * src/Makefile.am, wscript:
5100 Add main.h to the list of installed header files.
5101 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5102 src/notebook.c, src/ui_utils.c:
5103 Remove GeanyDocumentPrivate::tabmenu_label.
5104 Disable the default tab bar menu for the main notebook widget and
5105 use a custom menu instead which lists all open files as usual plus
5106 'Close Other Documents' and 'Close All' menu items.
5109 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5111 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5112 Move ui_set_search_entry_background() into ui_utils.c.
5113 Change the background colour of the search entries in the Find
5114 and Replace dialogs according to the search results like in the
5115 toolbar search field.
5116 Add images to the 'Replace' and 'Replace and Find' buttons in the
5118 Minor cleanups in search.c.
5119 * tagmanager/tm_source_file.c:
5120 Update source files upon creation.
5122 Update C tags for glibc 2.9.
5123 * src/callbacks.c, src/toolbar.c:
5124 Fix broken non-incremental search with the toolbar search entry when
5125 pressing Enter (closes #2638180).
5126 * plugins/splitwindow.c:
5127 Fix possible crash on non-32-bit systems (patch by
5128 Wolfgang Ocker, thanks).
5130 Update the Packager tag due to Dominic's various contributions.
5131 Update description and feature list.
5132 Change Source tag to the gzip'ed tarball to be in sync with the
5133 Makefile target (thanks to Wolfgang Ocker for reporting).
5136 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5138 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5139 Removed deprecated plugin VC Diff
5142 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5145 Fix wrong Fortran 90 comment characters when inserting templates.
5146 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5147 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5148 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5150 Add 'Send Selection to Terminal' command to the Edit->Format menu
5151 (initial patch by David Gleich, thanks).
5152 * geany.glade, src/interface.c:
5153 Fix mnemonic for the Edit->Preferences menu item.
5156 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5158 * configure.in, plugins/Makefile.am:
5159 Enable socket support when cross-compiling.
5160 Enable plugin compilation when cross-compiling.
5162 Fix missing NULL checks when reading the colour value of compiler
5164 * src/main.c, src/win32.c, src/win32.h:
5165 On Windows, change the working directory to the Geany installation
5166 path at startup to avoid unwanted directory locking(closes #2626124).
5168 Fix broken selection of "Document->Set Encoding" menu items.
5169 * src/document.c, tagmanager/include/tm_source_file.h,
5170 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5171 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5172 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5173 Don't let the tagmanager automatically reparse files if they
5174 seem to be changed on disk (affects all files in the current session,
5175 not the current one). This should speed up file saving a little bit,
5176 especially with remote files.
5177 Remove now unnecessary calls to tm_workspace_update().
5179 Allow an empty value for the date format in the print settings to
5180 omit the date/time string in the print header.
5183 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5185 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5189 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5192 Add missing header include (closes #2615808).
5195 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5198 Fix a possible crash when comparing symbol names
5199 (could be related to Ubuntu bug #147151).
5200 Fix broken symbol list tooltips when tag names contain ampersands.
5203 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5205 * plugins/makefile.win32:
5206 Don't build Split Window plugin on Windows (doesn't work).
5209 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5211 * ChangeLog, Makefile.am: Rotate ChangeLog.
5212 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5213 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5214 Post-release version bump.
5217 *** See ChangeLog.pre-0-17 for earlier changes ***