1 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Display better error messages when saving a document fails (patch by
5 Dimitar Zhekov, thanks).
7 Fix wrong snippet indentation when original cursor line has
8 non-indentation whitespace (patch by david, thanks).
11 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
13 * src/templates.c, src/document.c:
14 Use LF line endings for templates internally instead of default
15 pref because the default can change. This fixes missing line
16 endings sometimes when changing default setting.
18 Fix not reporting an error message when saving a document fails.
19 Check result of fclose().
20 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
21 data/filetypes.xml, data/filetypes.html:
22 Add xml_indent_tags filetype setting for documents using the
23 HTML/XML lexers (patch by Eugene Arshinov, thanks).
25 Set errno to 0 before doing disk I/O to prevent confusing error
26 messages on save failure.
29 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
31 * src/templates.c, src/filetypes.c:
32 Save build commands for filetype None (patch by Lex, thanks).
33 Make filetypes_get_conf_extension() return "common" for filetype
36 Convert line endings for file templates.
37 Fix line endings when using file header template in a file template
39 * src/utils.c, src/utils.h:
40 Make utils_ensure_same_eol_characters() convert all wrong line
41 endings to the desired one, not just the most common one.
44 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
47 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
49 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
50 Restore top-level editor popup item 'Find Document Usage'.
51 * src/interface.c, src/ui_utils.c, geany.glade:
52 Remove duplicates in 'Insert Comments' editor popup menu; rename
54 Separate main menu insertion comments depending on number of times
56 * data/filetypes.*, data/colorschemes/alt.conf:
57 Rename word/word2 named styles to keyword/keyword2.
58 * doc/geany.txt, doc/geany.html:
59 Mention that indentation settings can be overridden per-project.
60 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
61 doc/geany.txt, doc/geany.html, geany.glade:
62 Add 'Project->Apply Default Indentation' menu command to override
63 every document's indentation settings.
64 Improve 'Indentation' section docs.
67 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
70 Fix build with GTK 2.12: explicitly include gio.h if GIO
71 is available and to be used regardless of the USE_GIO_FILEMON flag.
73 Fix installation of template files.
74 Show which regex implementation is used.
76 Use non-GIO mime-type icon lookup if GIO lookup fails.
78 Allow skipping configure during autogen by setting NOCONFIGURE=1
79 (thanks to Chow Loong Jin).
82 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
85 Make use_safe_file_saving hidden pref apply even when GIO is
86 available, because g_file_replace_contents() doesn't handle disk
89 Show GIO/built-in regex support in startup debug message as well as
91 * doc/geany.txt, doc/geany.html:
92 Add docs for the HTMLChars plugin (patch by Frank).
95 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
98 Do not translate 'name' field for filetype None because it is used
99 for hash table lookup. This fixes missing files in the Open dialog
100 for the 'All files' filter with non-English locales (thanks to Sardem
101 FF7, fixes #3094771).
102 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
104 Add filetypes_get_display_name() to get translations for filetype
107 Fix resource leak when saving files with GIO (patch by Colomban
111 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
113 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
114 Add sci_get_lexer() to plugin API.
115 * plugins/htmlchars.c:
116 Only automatically replace characters when the current document is
118 * plugins/htmlchars.c:
119 Rename submenu item labels to be more descriptive.
121 Fix Alt+[0-9] switching tabs when other modifiers are also held.
123 Don't allow pasting of numbers followed by other characters in the
124 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
126 Print "GIO" and "built-in regex" if enabled with --version.
128 Use g_file_replace_contents() if available to save documents - this
129 should help workaround bugs in GVFS (based on patch by Alexey
133 Fix wrongly adding newlines for templates on disk that don't have
134 LF line endings when default line endings are not LF, e.g. Windows.
137 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
139 * src/utils.c, src/main.c:
140 Remove trailing directory separator for app->datadir and
141 app->docdir for consistency with the other directory fields.
143 Detect user and system filetype configuration files as Conf
146 Respect 'Smart' home key for Shift+Home (fixes #3100290).
149 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
151 * data/filetypes.ada:
152 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
155 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
158 Add install-data-only target to only install data/* to speed up
161 Fix not autocompleting when breaking lines.
162 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
163 data/colorschemes/alt.conf, data/filetypes.haxe,
164 data/filetypes.common, data/filetypes.glsl,
165 data/filetypes.actionscript, data/filetypes.cs,
166 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
167 data/filetypes.Genie.conf:
168 Add named style 'extra', use for C-like filetypes.
171 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
173 * data/filetypes.xml:
174 Match data-* and aria-* as HTML attributes.
175 * data/colorschemes/alt.conf, data/filetypes.common,
176 data/filetypes.python:
177 Make Python use named styles for color scheme support - use
178 alt.conf color scheme if you want the old colors.
179 Add named style 'function'.
181 Move plugin_set_info prototype and parenthesize arguments for
182 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
184 Fix putting pointer symbol before name, not after type.
187 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
189 * src/filetypes.c, src/ui_utils.c:
190 Fix notebook tab menu icons using theme for "text/plain" filetypes.
191 Make filetype mime_type "text/plain" instead of NULL.
194 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
196 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
197 Edit XML tag autocompletion pref and tooltip to include HTML.
198 * doc/geany.txt, doc/geany.html:
199 Add docs for 'Ensure consistent line endings' pref.
201 Change default for 'Override Geany keybindings' to on.
203 Sort filetypes_by_title last instead of on insertion to prevent
205 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
206 Add filetype mimetype field (patch by Colomban Wendling, thanks).
207 * src/sidebar.c, src/document.c:
208 Show mimetype icon in sidebar Documents list (patch by Colomban
211 Add notebook tab document icons (based on patch by Colomban
214 Leave text/plain mime_type fields as NULL (like custom filetypes).
217 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
219 * src/editor.c, data/snippets.conf:
220 Move HTML automatic <table> tag completion into a 'table' snippet
221 so the user can decide when to use it (patch by Eugene Arshinov,
223 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
224 src/document.c, src/document.h, THANKS, geany.glade:
225 Add 'Ensure consistent line endings' file saving pref (patch by
227 * src/utils.c, src/utils.h, src/editor.c:
228 Auto-indent after an HTML/XML line with a missing closing tag (patch
229 by Eugene Arshinov, thanks).
230 Behaviour only applies if XML tag autoclosing is off.
231 * src/templates.c, src/build.c, src/document.c, src/editor.c,
232 src/symbols.c, plugins/saveactions.c:
233 Remove unnecessary uses of FILETYPE_ID() macro with
234 GeanyDocument::file_type.
235 * data/filetypes.xml:
236 Add HTML5 attributes (thanks to Ross McKay).
239 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
242 Fix not changing edited keybindings when cancelling the Preferences
244 * data/filetypes.xml:
245 Add HTML5 element names (thanks to Ross McKay).
248 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
250 * src/utils.c, src/filetypes.c:
251 Remove filetype default extensions from code.
253 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
255 Refactor shared code with kb_cell_edited_cb().
258 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
260 * src/highlighting.c:
261 Use radio buttons for View->Editor->Color Schemes menu.
262 Don't hide the menu when only the default item is available.
263 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
264 Add alternative color scheme based on Python colors.
265 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
266 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
267 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
268 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
269 Add Erlang filetype (patch by Taylor Venable, thanks).
270 * src/filetypes.c, data/filetypes.*:
271 Move filetype 'extension' default into data files.
272 * src/filetypes.c, data/filetypes.vala:
273 Move filetype comment_{open,close} defaults into data files.
276 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
278 * data/filetypes.c, data/filetypes.d:
279 Add missing C99 keyword 'restrict' (#3046716).
280 Add missing D1 keywords 'ref' and 'macro'.
283 Parse Vala functions with contracts (#3080232).
285 Fix saving project indent prefs straight after using project
287 * src/highlighting.c, src/filetypes.c:
288 Prevent debug message about a missing 'default' named style when
289 using just a user color scheme file.
292 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
295 Fix off-by-one bug in 'search_mark_all'.
298 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
301 Ignore D /+ +/ comments.
303 Ignore D unittest blocks.
304 Parse D template functions with constraints.
305 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
306 Add 'Insert New Line Before/After Current' keybindings (based on
307 patch by Eugene Arshinov, thanks).
309 Use secondary text for 'file not found on disk' dialog.
312 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
315 Fix build with GLib 2.8.
318 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
320 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
321 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
322 Revert X11 workspace socket support as it needs more work; moved
323 to workspace-sockets branch.
326 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
328 * src/geanywraplabel.c:
329 Fix build with GLib 2.8.
330 * src/dialogs.c, src/about.c, THANKS:
331 Group Open dialog encoding options by submenus (patch by Adam Ples,
333 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
334 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
335 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
336 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
337 Add Lisp filetype (patch by Mário Silva, thanks).
338 Note: Lisp lexer was taken from Scintilla instead.
341 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
343 * po/kk.po, THANKS, src/about.c:
344 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
348 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
350 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
351 Don't cache overridden lexer properties.
352 Add foreach_strv() to plugin API.
353 Add utils_strv_join().
354 * tagmanager/basic.c:
355 Parse property, constructor, destructor as functions (patch by
356 pottersson, thanks; #2992167).
359 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
361 * src/tools.c, doc/geany.txt, doc/geany.html:
362 Fix passing quoted arguments when using 'Send Selection to'. This
363 means sed 's/\./(dot)/g' now works.
365 Add snippet keybinding support for keys in user snippets.conf (based
366 on patch by Eugene Arshinov, thanks). No docs yet.
367 * doc/geany.txt, doc/geany.html:
368 Add some subheadings for Snippets section.
369 * doc/geany.txt, doc/geany.html:
370 Add snippet keybindings docs.
371 * src/highlighting.c, src/utils.h:
372 Move foreach_strv to utils.h.
373 * src/editor.c, data/snippets.conf:
374 Read snippet keybindings from system keyfile also.
375 Add keybinding example to default snippet.conf.
378 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
380 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
381 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
382 data/filetypes.txt2tags, data/filetypes.markdown,
383 data/filetypes.restructuredtext:
384 Add symbol_list_sort_mode per-filetype setting, set to sort by line
385 number by default for Markdown, reStructuredText and Txt2Tags.
386 Add utils_get_setting() macro for reading a key from a home or
388 Move GeanyFiletypePrivate to filetypesprivate.h.
389 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
390 Link with X11 if found to fix linking with a recent GNU ld.
392 Avoid delay and redrawing when automatically opening a new document
394 * scintilla/LexForth.cxx, scintilla/makefile.win32,
395 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
396 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
397 data/filetypes.forth, data/filetype_extensions.conf, wscript:
398 Add Forth filetype (patch by Thomas Huth, thanks).
400 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
401 commands for 'Send Selection to' (oops).
404 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
407 When commenting/uncommenting with single-line comment characters,
408 ignore any end of line characters before evaluating the current line.
409 * data/filetypes.python:
410 Simplify Python Compile/Syntax Check command.
413 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
415 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
417 Add hidden pref 'find_selection_type' with option to repeat last
418 search when there's no selection.
419 Change default Find Selection behaviour to not let the X selection
420 override the current word (can be confusing).
421 Add docs for Find Selection commands.
423 Fix segfault on idle callback when quitting.
424 * src/interface.c, src/keybindings.c, geany.glade:
425 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
427 * src/interface.c, geany.glade:
428 Move editor popup menu Insert Comments submenu to top of Insert menu.
429 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
431 Add hidden pref new_document_after_close for whether to open a new
432 document automatically, off by default.
434 Add 'Bugs to watch out for' section.
437 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
439 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
440 doc/stash-gui-example.c:
441 Improve Stash GUI example.
444 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
446 * src/interface.c, geany.glade:
447 Move Go to Marker menu items to Search menu.
448 Rename popup editor menu item Commands -> Edit.
449 * src/callbacks.c, src/search.c, src/search.h:
450 Move find_again() to search.c.
452 Make Find Selected commands repeat the last search if the selection
454 * doc/geany.txt, doc/geany.html:
455 Add docs for Find Selection keybindings.
456 * src/interface.c, src/keybindings.c, geany.glade:
457 Unify Find Selection strings.
458 * src/interface.c, src/ui_utils.c, geany.glade:
459 Group editor popup Insert commands in a submenu, with extra items
460 for the most commonly used Insert Comments commands.
461 Show Edit->Commands before Format in menubar Edit menu (to match
463 Show Open Selected F_ile popup item below submenus.
466 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
469 Refactor shared submenu code with GeanySharedMenu array.
470 * src/interface.c, src/ui_utils.c, geany.glade:
471 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
472 shared with the editor popup menu.
474 Open a new document automatically after closing all documents.
477 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
480 Prompt for reloading if the document has an undo stack to avoid
481 losing undo ability on accidental reloading (patch by Colomban
483 * src/project.c, src/geanyobject.c, src/geanyobject.h,
485 Add plugin signals project-dialog-create and
486 project-dialog-confirmed so plugins can append a Project Properties
487 notebook tab (patch by Jiří Techet, thanks).
488 * src/ui_utils.h, src/plugindata.h, src/main.c:
489 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
490 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
491 src/plugins.c, plugins/geanyfunctions.h:
492 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
495 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
498 Save document indent width with the session.
499 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
500 doc/geany.html, TODO:
501 Use a separate socket per workspace on X (patch by Erik de Castro
505 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
508 Ignore directories passed on the command-line (based on patch by
509 Erik de Castro Lopo, thanks).
511 Parse D function template names.
512 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
513 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
515 Allow per-document indent width setting (patch by Jiří Techet,
516 updated by Erik de Castro Lopo - thanks).
517 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
518 Combine indent width menu item callbacks.
519 * src/interface.c, geany.glade:
520 Don't translate indent width menu items as they are now used for
524 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
527 Remove 3 popup menu items to save space:
528 Find Document Usage because Find Usage can be used instead.
529 Go to Tag Declaration because Go to Tag Definition is more common.
530 Go to Line because the toolbar item can be used instead.
531 * src/tools.c, src/search.c, tagmanager/python.c:
532 Fix some 'possible' NULL pointer dereferences (based on patch by
533 Erik de Castro Lopo).
534 * src/keybindings.c, src/keybindings.h, src/prefs.c:
535 Simplify keybindings_check_event().
538 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
541 Use up/down icons for Previous/Next Error.
542 * src/interface.c, src/keybindings.c, src/callbacks.c,
543 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
545 Add Find Usage and Go to Tag items to Search menu for easier
547 * tagmanager/tm_symbol.c:
548 Fix possible NULL dereference.
550 Add link to glade-2.12.2.tar.gz on geany.org.
551 * doc/geany.txt, doc/geany.html:
552 Mention the filetype wordchars setting can be overridden by the
553 whitespace_chars filetypes.common setting.
554 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
555 Remove NULL checks when calling g_free() (patch by Erik de Castro
558 Show Save As when saving if the document filename doesn't have an
559 absolute path, so command-line new files can be saved without a
560 prompt, but file templates still prompt the user.
563 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
566 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
570 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
572 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
573 Add GeanyMainWidgets::message_window_notebook for plugins to append
574 a new notebook page (#3061342).
576 Add Close button to the detected file changed dialog.
577 * src/interface.c, geany.glade:
578 Add separator between Find Previous and Find in Files.
579 Add up/down icons for Previous/Next Message.
582 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
584 * data/snippets.conf:
585 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
589 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
592 Fix broken editing of build menu labels.
593 * src/encodings.c, src/filetypes.c, configure.ac:
594 Auto-enable building with included regex if no regcomp function is
596 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
597 regex support is required.
599 Backport fix for possible infinite loop from CTags.
600 * scintilla/PlatGTK.cxx:
601 Backport list box memory leak fixes from Scintilla 2.20.
604 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
607 Make the Properties dialog filename a label and put it first (patch
608 by Jiří Techet, thanks).
609 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
611 Remove the "Set build working directories" button from the project
612 properties dialog (patch by Jiří Techet, thanks).
614 Include all files if the Find in Files pattern field is enabled and
617 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
620 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
622 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
623 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
624 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
625 data/filetypes.txt2tags, wscript:
626 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
627 * m4, configure.ac, Makefile.am:
628 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
630 Only prompt for reloading if the document has unsaved changes
631 (patch by Jiří Techet, thanks).
634 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
637 Apply a patch by Jiří Techet which is preventing warnings when using
638 -Wmissing-prototypes on compiling. Thanks.
641 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
643 * scintilla/KeyWords.cxx:
644 Link Octave instead of Matlab.
645 Add comment about not being autogenerated.
646 Minor changes to fit Scintilla order.
647 * src/build.c, src/build.h:
648 Replace GeanyBuildCommand::entries array with separate fields.
649 Similar to r5077 in the bs2 branch, but with less loop unrolling.
651 Remove buildcmd_* accessor functions.
654 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
656 * src/highlighting.c, src/editor.c:
657 Use Octave lexer instead of Matlab to support Octave # comment char.
660 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
663 Fix segfault on Tools->Reload Configuration when no documents are
665 * scintilla/LexMarkdown.cxx:
666 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
669 Fix saving non-project filetype error regex.
671 Fix memory leak in read_regex().
674 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
677 Check for libsocket on OpenSolaris to fix build.
679 Rewrite the logic to auto detect encodings a bit to make it more
680 readable and fix a slightly wrong detection on Windows
682 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
684 Add editor_goto_pos() to the plugin API.
687 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
690 Check for git-svn repo, not just git because find-rev doesn't
691 always fail with a git-only repo.
694 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
697 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
700 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
702 * doc/geany.txt, doc/geany.html:
703 Reorder Focus keybindings.
706 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
709 Applying a patch by Erik de Castro Lopo for checking against
710 pkg-config when running autogen.sh. Thanks for the patch.
712 Applying a patch by Colomban Wendling to print out log domains.
716 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
719 Use single binding_ids keybinding array instead of individual
720 arrays for core keybindings. This allows the keybinding IDs to be
721 merged into one enum; the order of keybindings is now just the
722 order they are added to each group. Keybindings can be reordered
723 without breaking the plugin ABI but groups must stay the same.
725 Fix writing the default value when a key is missing for hidden
726 prefs, even if it was overridden when it was originally read.
727 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
728 Move some interface hidden prefs to ui_utils.c.
730 Revert r4840 scope completion mode as it sometimes breaks
732 * src/keybindings.h, src/plugindata.h:
733 Randomly sort keybinding IDs to show there should be no order.
735 Reorder Focus keybindings.
738 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
740 * src/ui_utils.c, src/ui_utils.h:
741 Make ui_label_new_bold() a function.
742 Escape the name of the current document for markup when using
743 document name for menu items (closes #3038844).
745 Inherit 'beep on errors' preference for the audible bell preference
746 for the VTE (closes #3038215).
749 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
751 * src/utils.c, src/utils.h:
752 Add utils_get_eol_char().
753 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
754 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
756 Ensure inserted templates always have proper line ending characters
757 according to the current document's preference.
758 This is also fixes problems with templates on Windows which had
759 always Unix line ending characters but now since they are read
760 from files, these have Windows line ending characters and had been
764 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
767 Fix build with GTK 2.8, use the stock icon name directly instead
768 of the macro. Though, the icon is still missing for GTK 2.8.
770 Make make_comment_block() work with a GString. This is not yet
771 perfect but a bit better than before.
774 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
776 * src/keybindings.c, src/vte.c, src/vte.h:
777 Implement 'Select All' for the VTE widget.
780 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
783 Fix missing template files in the Windows installer.
786 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
788 * data/filetypes.python:
789 Update list of Python builtins, based on Python 2.6.
792 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
795 On Windows, convert filetype extensions read from config files
796 to lower case (closes #3028856).
799 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
802 Focus toolbar item when pressing Go to Line keybinding only when
803 it's not in the toolbar's drop down overflow menu (fixes #3027454).
806 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
809 Fix build menu translation problems.
812 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
818 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
821 Fix scrolling the editor line in view after loading a session and
822 switching document tabs. Note this causes repainting so needs
824 * doc/geany.txt, doc/geany.html:
825 Add note to restart Geany after installing/updating before editing
827 * src/ui_utils.h, src/main.c, src/ui_utils.c:
828 Use Stash to save statusbar_template setting, instead of the
829 load/save-settings signal.
833 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
835 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
836 Fix writing empty hidden pref "statusbar_template" key so users can
837 find it (patch by Dimitar Zhekov, thanks).
838 * src/ui_utils.c, src/ui_utils.h, src/main.c:
839 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
842 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
844 * src/build.c, src/project.c, src/project.h:
845 Show the Project Properties build tab when choosing 'Set Build
846 Commands' for now to prevent confusion with non-project commands.
849 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
851 * src/search.c, doc/geany.txt, doc/geany.html:
852 Fix Grep --exclude-dir example.
855 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
858 Add sidebar Documents popup menu item 'Find in Files'.
859 * src/keyfile.c, src/main.c, src/editor.c:
860 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
861 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
864 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
866 * doc/geany.txt, doc/geany.html:
867 Fix wording - restarting is required for hidden prefs.
868 File templates don't need manual reloading anymore.
870 Fix only adding project base path to Find in Files history if it
871 isn't already there (oops).
873 Parse lines in the Messages window even if Find in Files hasn't
874 been used yet (patch by Jiří Techet, thanks).
877 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
879 * scintilla/LexCPP.cxx, src/highlighting.c:
880 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
882 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
883 data/filetypes.common:
884 Add filetypes.common fold_symbol_highlight color setting.
885 Add API macro foreach_range().
886 * src/printing.c, doc/geany.txt, doc/geany.html:
887 Always use white background color when printing (except for text
888 with a white foreground) to save ink (should fix #2968998).
889 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
890 Limit build error editor indicators to 50, but parse all errors in
891 the Compiler tab (fixes #3019823).
894 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
896 * src/highlighting.c:
897 Re-enable fold.comment for lexers - it was disabled to prevent C
898 //{ explicit folding, but that also disables stream comment folding
900 * tagmanager/tm_workspace.c, tagmanager/get.c:
901 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
903 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
904 doesn't affect the bug with document switching not scrolling cursor
905 in view after loading a session.
908 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
910 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
911 Add statusbar_template hidden pref (based on patch by Dimitar
913 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
914 Add spaces after RO when using %r in statusbar_template setting.
915 Add space between encoding and BOM.
916 Note \t means tab for default text.
919 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
922 Restore tabbing past Find in Files combo box drop down menus.
925 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
927 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
928 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
930 Move plugin signals docs to pluginsignals.c, using function
931 pointer syntax instead of @signaldef as this puts a summary of
932 the signal names at the top of the page and sorts alphabetically.
933 (Note: the syntax is similar to Vala signal syntax).
936 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
939 Make default dialog entries use GTK_STATE_INSENSITIVE color not
940 a fixed color (Suggestion by Ditmar Zhekov)
943 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
945 * src/search.c, doc/geany.txt, doc/geany.html:
946 Implement Find in Files file pattern search.
948 Add file pattern to combo box history.
949 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
951 Use ui_hookup_widget() instead of g_object_set_data_full() for
955 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
958 Add Files checkbox and combo to Find in Files dialog, currently
959 does nothing & is disabled.
960 Don't try to focus the next entry on pressing tab anymore as this
961 is more complicated now.
964 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
967 Put Find in Files Search field above Directory field.
968 * src/search.c, doc/geany.txt:
969 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
970 regular expressions' radio buttons with a 'Use regular expressions'
971 checkbox. This uses the extended syntax (which is the same as the
972 Find/Replace regex syntax).
974 Move 2 Find in Files checkboxes for even spacing.
977 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
979 * tagmanager/tm_work_object.c:
980 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
984 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
986 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
987 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
988 Add ui_combo_box_add_to_history() to API.
989 * plugins/filebrowser.c:
990 Add history to path entry.
991 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
992 Fix not loading plugins built against a newer API when Geany doesn't
993 provide the required version given in PLUGIN_VERSION_CHECK().
994 Improve documentation for PLUGIN_VERSION_CHECK().
995 * plugins/filebrowser.c:
996 Allow Find in Files when no items are selected.
997 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
998 Add API signal "build-start" (patch by Jiří Techet, thanks).
1001 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1004 Replace /home/user with ~ in the documents list (patch by Jon
1007 Make default Build dialog entries grey, not light grey (too hard to
1008 read on a white background).
1010 Display 'new instance' on title bar (patch by Eugene Arshinov,
1013 Remove any duplicate on adding to combo box histories.
1016 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1019 Align notebook tab close buttons centred vertically - thanks to
1021 * Merge unstable branch:
1023 Make build config entries light grey until set.
1024 - src/keybindings.c, src/about.c, THANKS:
1025 Fix the wrong file being put on top of the stack when switching tabs
1026 too quickly (patch from Jiří Techet, thanks).
1027 - src/templates.c, data/templates/gpl, data/templates/function,
1028 data/templates/changelog, data/templates/bsd,
1029 data/templates/fileheader, wscript, Makefile.am:
1030 Move general templates from source code into files.
1031 Load general templates from system path instead of creating them in
1032 the user's config dir.
1035 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1038 Add doc/stash-example.c to fix 'make distcheck'.
1040 Change the RequestExecutionLevel for the Windows installer to
1042 * New release: Geany 0.19 "Vellam".
1043 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1044 geany_private.rc, win32-config.h, wscript, src/geany.h:
1045 Post-release version bump.
1048 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1051 Group undo action for Insert Multiline Comment.
1054 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1057 Don't individually install data/*.tags as all data/* files will be
1061 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1063 * tagmanager/tm_project.c:
1064 Fix a double free. (patch by Daniel Marjamaki, thanks).
1067 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1069 * tagmanager/tm_workspace.c:
1070 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1072 Fix reducing paths to project name in the Documents list
1073 (patch by Eugene Arshinov, thanks).
1075 Fix crash when trying to sort NULL pointers as tags in the Symbols
1076 list (closes #3011986).
1077 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1078 Update Scintilla to version 2.12.
1079 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1080 scintilla/LexCrontab.cxx:
1081 Remove unused Crontab lexer.
1082 * data/filetypes.css, src/highlighting.c:
1083 Add new style "media" for filetype CSS.
1086 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1088 * doc/geany.txt, doc/geany.html:
1089 Build section: minor rewording, formatting fixes; move some
1093 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1096 Explicitly try to localise build menu item labels with
1097 gettext to enforce getting default labels translated.
1098 * tagmanager/tm_workspace.c:
1099 Fix not closed FILE pointer on early exit
1100 (patch by Daniel Marjamaki, thanks).
1102 Update images for Geany 0.19.
1104 Destroy the default symbol list treeview only once
1105 (fixes gtk_widget_destroy warning on exit).
1108 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1110 * tagmanager/sort.c:
1111 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1113 Fix parsing of C++ classes contain attributes with bitfields
1114 (patch by Lex Trotman, thanks).
1115 * src/plugindata.h, src/plugins.c:
1116 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1117 plugins' meta information can be translated already in the
1118 plugin manager dialog (patch by Colomban Wendling, thanks).
1121 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1124 Print locale information in debug output.
1126 Fix some labels which were marked as translatable but were not
1127 handled properly by gettext().
1128 Add a missing const.
1130 Try to convert text into UTF-8 before adding it to the Compiler and
1131 Messages Window (closes #3007919).
1134 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1136 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1138 Pass G_LOG_DOMAIN to source files for better logging.
1141 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1143 * THANKS, src/about.c:
1144 Update of translation credits to reflect a change on Spanish
1145 translation team better.
1148 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1151 Fix infinite loop reading build command output
1154 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1157 Fix duplicate accelerators for Clear and Copy in the
1158 Messages Window popup menu.
1159 * src/pluginutils.c:
1160 Expand child widgets in the Plugin Preferences dialog
1161 (patch by Colomban Wendling, thanks).
1164 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1167 Fix Undo/Redo button state after the last document has been closed.
1168 Add Print and Replace toolbar items to the list of document
1171 Fix crash when the toolbar is reloaded without any open documents.
1173 Fix Run toolbar item sensitivity after the last document has been
1175 * plugins/classbuilder.c:
1176 Remove two unnecessary g_strdups().
1177 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1178 src/plugindata.h, src/ui_utils.h:
1179 Add hidden preference to disable automatic scrolling in the
1180 Compiler tab (closes #3004714).
1183 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1185 * plugins/classbuilder.c:
1186 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1189 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1191 * src/prefs.c, src/project.c:
1192 win32.h can be included unconditionally.
1194 Fix project base_path detection if the path has a trailing slash.
1195 * src/document.c, src/editor.c, src/project.c:
1196 Small improvements to speed up quit process with many open documents.
1197 Avoid calling gtk_notebook_remove_page() on exit as it takes
1199 * src/geanymenubuttonaction.c:
1200 Explicitly check for the type when iterating the action's proxies.
1201 For some reason on Windows, a GtkImageMenuItem proxy is created.
1202 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1203 src/plugindata.h, scintilla/*, scintilla/include/*:
1204 Update Scintilla to version 2.11.
1205 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1207 Add new GTK define also for Mingw cross compilation and
1208 makefile.win32 based Windows builds.
1209 * plugins/filebrowser.c:
1210 Implement reading and evaluating hidden file attribute on Windows.
1211 Fix broken "Go Up" if the current path ends with a slash.
1212 * THANKS, src/about.c, src/prefix.c:
1213 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1214 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1215 src/main.c, src/notebook.c, src/prefs.c:
1216 Add preference to add new document tabs beside the current one
1217 (patch by Colomban Wendling, thanks).
1218 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1219 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1220 Add a preference for choosing between GTK and native
1221 File Open/Save dialogs (only available on Windows).
1222 * doc/geany.html, doc/geany.txt:
1223 Update documentation.
1226 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1229 Sort file filters for the native Windows file open dialog by name.
1230 Don't use file filters for the native Windows Save As dialog.
1231 * src/dialogs.c, src/win32.c, src/win32.h:
1233 Pass and use also parent and title arguments to
1234 win32_show_document_open_dialog().
1236 Call handle_save_as() only when the Save As dialog was not cancelled.
1238 Improve adding/removing of the special separator between menubar and
1239 toolbar when the toolbar is appended to the menubar.
1240 * src/toolbar.c, src/templates.c:
1241 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1242 not trigger updating the menus on each item removal.
1245 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1248 Replace one non breaking space by normal space. Patch by
1252 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1254 * plugins/classbuilder.c:
1255 Don't make the 'Create Class' menu item document-sensitive
1256 (patch by Colomban Wendling, thanks).
1257 Add namespace support for GTK+ classes.
1258 Add GET_CLASS() macro for GTK+ classes.
1259 Add typedef of the private structure in the header file instead
1261 (all the above from a patch by Colomban Wendling, thanks).
1262 * src/highlighting.c:
1263 Set common default "fold.comment" to 0 to disable it. This can
1264 be overridden if desired.
1266 Improve sorting of document list items
1267 (patch by Colomban Wendling, thanks).
1269 Remove unnecessary textdomain() call.
1272 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1275 Fix search_find_text not returning -1 when match is out of range.
1276 This fixes invalid memory reads and wrong template filename
1277 wildcard replacement.
1278 * src/search.c, src/document.c:
1279 Only replace template filename matching start of word on saving.
1280 * plugins/filebrowser.c:
1281 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1282 * src/build.c, src/build.h, src/project.c:
1283 Make some ugly build.h global variables static.
1284 * src/build.c, src/build.h, src/project.c:
1285 Add Build prefix for TableFields, TableData.
1288 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1291 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1292 * src/dialogs.c, src/win32.c, src/win32.h:
1293 (Re-)Implement a (still basic) native Windows Save As dialog when
1294 compiled with GEANY_USE_WIN32_DIALOG.
1297 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1299 * THANKS, src/about.c, plugins/classbuilder.c:
1300 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1301 * src/ui_utils.h, src/ui_utils.c:
1302 Add public, generic callback ui_editable_insert_text_callback()
1303 to restrict GtkEntry text inputs to +/- and numeric values only.
1304 * src/dialogs.h, src/dialogs.c:
1305 Add special variant dialogs_show_input_goto_line() to use a normal
1306 GtkEntry together with dialogs_show_input_goto_line() for text input.
1307 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1308 Allow '+<number' and '-<number>' as values for Goto Line inputs
1309 to jump relative to the current line (closes #2997238).
1312 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1314 * src/highlighting.c:
1315 Apply foreground and background colours of the folding margin
1316 style properly (closes #2998347).
1318 Don't auto-close short XML tags (closes #2994852).
1319 * THANKS, src/about.c, src/keybindings.c:
1320 Improve jumping to matching braces by consistently position the
1321 cursor before or after the matching brace dependent where it
1322 was before (patch by Dimitar Zhekov, thanks).
1324 Fix crash when generating global tags files (patch by Colomban
1328 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1331 Avoid connecting signals more than once.
1334 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1337 Don't ignore the 'intltool' check on non-Windows systems, instead
1338 raise a configure error.
1341 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1344 Fix marking some strings as translatable (cannot be done in the
1346 * src/templates.c, doc/geany.txt, doc/geany.html:
1347 Reload templates if saving a document in the templates config dir.
1350 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1352 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1354 Fix replacing {filename} template wildcard for custom file
1355 templates with non-default file extension.
1356 Add search_find_text() for POSIX regex searches.
1357 * src/templates.c, doc/geany.txt, doc/geany.html:
1358 Add {project}, {description} template wildcards (#2954737).
1359 * doc/geany.txt, doc/geany.html:
1360 Divide template wildcards into groups.
1361 * src/plugindata.h, src/plugins.c, src/symbols.c,
1362 plugins/geanyfunctions.h:
1363 Add symbols_get_context_separator() to plugin API (patch by Colomban
1367 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1369 * src/keybindings.c:
1370 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1371 Anonymous, thanks; #2995593).
1372 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1373 plugins/geanyfunctions.h:
1374 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1375 (patch by Colomban Wendling, thanks).
1378 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1381 Warn user if hidden hard tab width setting is not 8.
1384 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1386 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1387 doc/geany.txt, doc/geany.html:
1388 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1389 always be 8. (Hidden setting kept in case users have modified it).
1392 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1394 * doc/geany.txt, doc/geany.html:
1395 Add Folding section link to filetypes.common custom settings.
1398 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1401 When switching documents, don't call document_set_text_changed()
1402 as this does much more than necessary. Instead call the necessary
1403 UI update functions explicitly.
1406 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1408 * tagmanager/vstring.c:
1409 Fix invalid memory read (patch by Colomban Wendling, thanks).
1412 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1414 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1415 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1416 strings in case of reaching the buffer size limit (part of #2979697).
1418 Change the limit for the command line length when executing commands
1419 to a maximum of 32768 characters (closes #2979697).
1420 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1421 * tagmanager/ctags.c:
1422 Change eFree() to simply ignore NULL pointers instead of asserting.
1424 Remove malloc() fallback since we completely rely on g_malloc()
1426 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1427 plugins/saveactions.c:
1428 Make string arguments const where appropriate (patch by
1429 Colomban Wendling, thanks).
1430 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1431 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1432 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1433 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1434 src/symbols.c, src/templates.c, src/ui_utils.c:
1435 Make string arguments const where appropriate (patch by
1436 Colomban Wendling, thanks).
1439 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1441 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1442 Make plugin_signal_connect() string argument const (patch by
1443 Colomban Wendling, thanks).
1444 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1445 Constify some more string pointers in the API (patch by
1446 Colomban Wendling, thanks).
1447 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1449 Support {pc} wildcard in snippets to escape percent char.
1451 Recalculate line margin width when zooming (fixes #2990553).
1452 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1453 data/filetypes.common:
1454 Support more folding icon styles: arrows, +/- and no lines
1458 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1461 Fix Windows build by properly guarding Unix-only code.
1464 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1466 * src/templates.c, doc/geany.txt, doc/geany.html:
1467 Support {ob} and {cb} in fileheader and file templates; they are
1468 replaced last with { and }. This allows 'escaping' of wildcard
1470 * src/editor.c, plugins/classbuilder.c:
1471 Fix Class Builder plugin to use correct indentation instead of
1473 Make editor_insert_text_block() only replace leading tabs for the
1474 'Tabs' indent type; also group edits for undo.
1475 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1477 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1480 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1482 * tagmanager/pascal.c:
1483 More fixes to prevent possible crashes by trying to free NULL
1486 Automatically show and hide the sidebar notebook tabs according
1487 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1489 Add a static global variable to monitor autocompletion mode in order
1490 to prevent cancellation of the struct/class (C/C++) auto completion
1491 list (patch by Thomas Martitz, thanks).
1493 When starting and trying to access the Unix Domain socket of a
1494 potentially running instance, first compare file ownership with the
1495 user id of the running process to prevent accessing a wrong socket
1496 file (part of #2985463, this might not yet be the final solution).
1499 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1501 * plugins/filebrowser.c:
1502 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1503 Files' option (fixes #2989288).
1506 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1508 * tagmanager/entry.c, tagmanager/entry.h,
1509 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1510 tagmanager/parse.h, tagmanager/tm_source_file.c:
1511 Add tm_source_file_set_tag_arglist() to manually set the argument
1513 * tagmanager/python.c:
1514 Use tm_source_file_set_tag_arglist() to set the argument list
1515 field of Python class tags to the argument list of their
1517 Backport a fix from CTags SVN to prevent possible crashes by trying
1518 to free NULL pointers.
1521 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1523 * tagmanager/txt2tags.c:
1524 Remove duplicate code from Txt2Tags parser.
1525 Remove the title control characters ('=') when parsing titles.
1526 Also parse numbered titles (closes #2984703).
1527 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1529 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1530 Add missing documentation for 'Reset Zoom' keybinding.
1532 Another attempt to fix the PHP parser regexp for parsing functions.
1533 Fix wrong parsing of function arguments when those contain nested
1534 brackets (as reported by Harold Aling).
1536 Fix Ctrl-Click on notebook tab if Numpad is active.
1539 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1541 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1542 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1543 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1544 src/ui_utils.c, src/ui_utils.h:
1545 Add option 'System Default' for toolbar icon style and size to
1546 use the GTK default value.
1547 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1548 src/toolbar.c, src/toolbar.h:
1549 Shorten the toolbar popup menu, only provide items for Toolbar
1550 Preferences and to Hide the toolbar.
1552 Instantly update the toolbar icon size and style when the
1553 corresponding global GTK settings are changed.
1554 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1555 src/plugindata.h, src/socket.c:
1556 Add new command line option --list-documents to return a list
1557 of currently opened documents (closes #2979933).
1560 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1562 * plugins/htmlchars.c:
1563 Make plugin remember whether replacement of special characters was
1564 activated even after restart of Geany or reloading of plugin.
1567 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1570 Fix inserting snippets with an indent when using Mac CR line
1573 Update status bar after using Document->Set Line Endings.
1575 Improve API docs for editor_insert_text_block().
1578 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1581 Refactor snippets_complete_constructs().
1582 Remove an unnecessary TODO.
1584 Fix indenting a snippet when there is whitespace after the
1588 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1590 * doc/geany.txt, doc/geany.html:
1592 * src/build.c, src/msgwindow.c:
1593 Fix disabled compiler message tracking if using indicators to
1594 show build errors is disabled (closes #2982834).
1597 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1599 * scintilla/Editor.cxx:
1600 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1601 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1602 replacing in a rectangular selection.
1605 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1608 Re-detect any document filetypes set to None after reloading
1609 filetype extensions (closes #2979661).
1611 Fix showing '...' item last instead of first for document word
1615 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1617 * data/filetypes.perl:
1618 Adjust Perl Compile command to use the -c command
1619 line option to perform a syntax check instead of using the
1620 deprecated ByteCompile module.
1621 Add error_regex to parse error messages and warnings when performing
1622 syntax checks on Perl files.
1625 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1627 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1628 Add API docs for keybinding enums.
1629 * src/notebook.c, doc/geany.txt, doc/geany.html:
1630 Make Ctrl-click on any notebook tab switch to the last used
1634 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1636 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1637 src/geanyentryaction.c, src/geanyentryaction.h,
1638 src/geanywraplabel.c:
1639 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1640 object for efficiency.
1643 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1645 * plugins/classbuilder.c:
1646 Beep if the user hasn't entered a class name on pressing OK.
1648 Fix replacing '^' regex.
1649 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1650 plugins/geanyfunctions.h:
1651 Add Stash widget functions to API.
1653 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1657 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1659 * THANKS, src/vte.c:
1660 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1662 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1663 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1664 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1665 Add Stash setting functions to API.
1666 Remove unnecessary argument to stash_group_load_from_file().
1667 * src/geanyobject.c, plugins/classbuilder.c:
1668 Don't generate FOO_GET_PRIVATE() macro because caching the result
1669 in Foo::priv can be much more efficient.
1672 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1675 Fix cursor positioning when toggling comments
1676 (patch by Thomas Martitz, thanks).
1679 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1681 * src/keybindings.[hc]:
1682 Added Control+0 for zoom reset, see suggestion from #2969886.
1685 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1687 * src/search.c, src/document.c:
1688 Fix wrong selection range after Replace in Selection.
1691 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1694 Make CreateChildProcess() working with Unicode strings, e.g.
1695 directory names (closes #2972606).
1697 Remove reference to already removed latex.tags file.
1698 Future releases probably still depend on GTK 2.16.
1699 * scintilla/ScintillaGTK.cxx:
1700 Backport fix from Scintilla CVS to not paste text beyond the end
1701 of lines (closes #2969096).
1702 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1704 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1705 to not set Geany's minimum window size anymore (closes #2972992).
1706 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1709 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1712 Make adding string and string vector settings initialise the setting
1714 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1715 Add stash_group_load_from_file() and stash_group_save_to_file().
1718 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1720 * data/filetypes.common:
1721 Set default for wrapped lines to show marker at end of line only
1722 (more expected and doesn't change line alignment - closes #2972386).
1723 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1724 src/pluginutils.c, doc/plugins.dox:
1725 Improve API docs contents page by listing all commonly-used files.
1726 Fix 'Date' appearing twice on the date line.
1727 Don't generate API docs for prefs.h, toolbar.h (unused).
1728 Move some '@file' doc-comments to the .c file.
1729 * src/interface.c, geany.glade:
1730 Add frame for 'Printing' prefs dialog page.
1731 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1732 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1733 doc/stash-example.c:
1734 Rename Stash data types to be independently named from Geany (so
1735 Stash can be reused for other projects).
1736 Rename GeanyPrefGroup to StashGroup.
1739 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1741 * tagmanager/python.c:
1742 Apply patch from Colomban Wendling to parse Python lambda functions
1743 (thanks) - modified to only parse toplevel or class member lambdas.
1744 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1745 doc/stash-example.c:
1746 Add doc-comments for Stash setting functions.
1747 Add an example file showing usage of Stash.
1748 (Not enabled yet until added to the plugin API).
1751 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1754 Fix using return value without checking return status, caused
1755 incorrect sensitivity settings on build dialog.
1758 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1761 Add tip about gcc optimization & warnings/debugging.
1762 Add Testing section.
1763 Update Libraries section about synchronizing with other projects.
1766 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1769 For now revert the recent patch which set real_path of newly
1770 open non-existent configuration files as this seems hackish and
1771 causes 'file not found' warnings.
1773 Fix/Improve GIT repository detection
1774 (patch by Thomas Martitz, thanks).
1775 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1777 Add utils_copy_environment() to the plugin API.
1780 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1782 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1783 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1785 Use 3rd person for more API dox.
1786 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1788 Change 'After all...' to 'Afterwards...'.
1789 * src/interface.c, geany.glade:
1790 Apply patch from Eugene Arshinov to make frame packing/alignment
1791 more consistent (thanks).
1794 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1797 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1798 that gtk_button_[sg]et_label() work as expected.
1799 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1800 Make Build Commands dialog show menu item labels as a button (to
1801 help show that menu labels don't normally need to be edited &
1802 display the mnemonic correctly). Clicking shows an input dialog to
1803 set a new menu item label.
1804 Split dialogs_show_input() into 2 functions: one simple, one for
1805 a persistent dialog.
1806 Fix possible double-destroy of input dialog when closed by user.
1808 Fix not destroying 'Make Custom Target' input dialog after first
1811 Make Long Line Marker settings for existing projects default to
1812 general settings instead of 0 (thanks to Eugene Arshinov).
1813 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1814 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1815 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1816 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1817 Use 3rd person (gets not get) for API function brief descriptions.
1818 Avoid using 'convenience function' in API brief descriptions.
1821 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1823 * doc/geany.txt, doc/geany.html:
1824 Warn about some GNU extensions for regular expressions & clarify
1826 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1827 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1828 src/editor.h, geany.glade:
1829 Apply patch from Eugene Arshinov to add project long line marker
1830 customisation (thanks).
1831 * src/interface.c, geany.glade:
1832 Edit/tidy 'Long line marker' labels.
1835 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1837 * src/build.c, src/project.c:
1838 Fix crash due to NULL in project build preferences (thanks to
1842 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1844 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1845 src/document.c, doc/geany.txt, doc/geany.html:
1846 Merge gnu-regex branch:
1847 Use POSIX system/GNU regex engine for find & replace 'Use regular
1848 expressions' option. This alters regex syntax a bit - see the docs
1849 for details; we now support '?' operator and replacement backslash
1850 escaping is more standard.
1851 Make regex search imply replacing escaped chars.
1852 Allow \0 backreference replacement for the whole match.
1853 Note: Replace All may be slower; if this is a problem please let me
1856 Add argument to utils_str_replace_escape() for keeping
1857 uninterpreted backslash escapes e.g. '\\', '\e'.
1858 * scintilla/LexMarkdown.cxx:
1859 Backport minor formatting/style changes from Scintilla project.
1860 * doc/geany.txt, doc/geany.html:
1861 Remove warning about no visual indication for zero-column-mode
1865 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1868 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1871 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1873 * wscript, scintilla/*, scintilla/include/*:
1874 Update Scintilla to version 2.03.
1875 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1876 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1877 Add preference for virtual spaces.
1879 Fix wrong default response for the Debug Messages dialog.
1881 Fix crashes when using Save As with no open files (closes #2964406).
1883 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1884 move the question from the secondary to the main text to be
1885 more compatible with the Gnome HIG.
1886 Fix broken 'Save' action in 'Resave missing file' dialog.
1888 Improve PHP parser to parse also the argument lists of PHP functions.
1890 Correctly set the parent widget for the keybinding overwrite
1891 confirmation dialog.
1893 Fix setting the icon for some dialogs if the parent itself is also
1896 When editing non-existent config files using the Tools->Configuration
1897 Files menu, explicitly set the real_path to avoid presenting the Save
1898 As dialog when saving the file (patch by Tony Rick, thanks).
1900 Focus the editor widget after hiding the sidebar when it had the
1901 input focus (patch by Can Koy, thanks).
1902 Properly show/hide the mesages window when using the View menu item
1904 * plugins/filebrowser.c:
1905 After opening files, focus the editor widget
1906 (based on a patch by Can Koy, thanks).
1907 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1908 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1909 src/ui_utils.h, src/vte.c:
1910 Add and use convenience function ui_is_keyval_enter_or_return() and
1911 add it to the plugin API.
1914 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1916 * src/about.c, THANKS, po/ast.po:
1917 Added Asturian translation. Thanks to Marcos Costales for providing.
1920 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1923 Fix keyboard accelerators in debug messages window
1927 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1929 * scintilla/LexR.cxx:
1930 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1931 (Scintilla bug #2956543).
1932 * src/sidebar.c, src/about.c, THANKS:
1933 Make Space on the symbol and document list not focus the editor
1934 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1935 * src/document.c, src/document.h:
1936 Fix document_try_focus() to make it work with the sidebar document
1938 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1939 Make Space on the compiler and messages widgets not focus the editor
1940 widget while Enter does (patch by Can Koy, thanks).
1942 Fix wrongly auto-detected multiline comments
1943 (patch by Eugene Arshinov, thanks).
1946 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1949 Show number of lines of current document inside statusbar. Thanks to
1950 Can Koy for providing the patch.
1953 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1955 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1956 Make Switch to Editor keybinding reshow the document statistics
1957 line, so user doesn't have to move the cursor.
1960 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1963 Update keywords for the R language (patch by Jon Senior, thanks).
1966 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1969 Fix the instruction how to insert unicode characters
1973 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1975 * scripts/create_py_tags.py:
1977 Replace tabs by spaces.
1978 * plugins/genapi.py:
1980 Replace tabs by spaces.
1981 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1982 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1983 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1984 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1985 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1986 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1987 Add keybindings to switch to the sidebar's Document and Symbol list
1988 as well as to the Message Window's current tab
1989 (patch by Eugene Arshinov, thanks).
1991 Update primary keywords for the R language
1992 (patch by Jon Senior, thanks).
1995 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1998 Add more detailed hints about reloading configuration
1999 (thanks to Tony Rick).
2000 * data/filetypes.javascript:
2001 Correct the keyword list for JavaScript (thanks to Jonas).
2004 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2006 * New release: Geany 0.18.1 "Balfour".
2009 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2011 * src/keybindings.c:
2012 Add special cases for handling the Select All keybinding (Ctrl-A) in
2013 the toolbar search and goto line text entries (closes #2948040).
2014 Strip trailing spaces after reflowing a paragraph, patch by
2015 Dominik Wagenfuehr, thanks (closes #2945497).
2018 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2020 * src/geanymenubuttonaction.c, src/templates.c:
2021 Partly revert last commit:
2022 Unref the new files toolbar menu when freeing templates as it
2023 was done before but unref it *after* the menu has been removed
2024 from the GeanyMenuButtonAction.
2026 Fix possible endless loop when trying to detect the encoding of
2027 non-text files (patch by Alexey Antipov, thanks).
2030 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2033 Allow saving remote files using g_file_set_contents() as well
2034 (patch by Алексей Антипов, thanks).
2035 * data/filetypes.python:
2036 Adjust style for secondary keywords to be less aggressive.
2037 Add Python 2.5 builtins keywords.
2038 * src/geanymenubuttonaction.c, src/templates.c:
2039 Unref the new files toolbar menu when setting a new menu to fix
2040 possible crashes when reloading configuration.
2042 When reloading configuration, process the current document at last
2043 so the symbol list will be updated correctly.
2046 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2049 Explicitly read filetype configuration files before generating
2050 global tags to get settings for custom filetypes.
2053 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2056 Fix GLib warning when toggling 'no plugins available' item.
2059 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2061 * icons/Makefile.am:
2062 Include geany.ico in the distribution tarball.
2064 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2065 * scripts/create_py_tags.py:
2066 Make the script a bit more robust with newer Python versions.
2068 Use utils_spawn_sync() instead of g_spawn_sync().
2071 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2074 Close meta tag for export date properly.
2077 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2080 Update RPM Spec file (patch by Dominic Hopf, thanks).
2083 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2086 Fix renaming sci_send_message(), sci_send_command() function
2090 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2092 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2093 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2094 plugins/geanyfunctions.h, plugins/Makefile.am,
2095 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2096 Use full function name for GeanyFunctions function pointers. This
2097 avoids naming conflicts e.g. with C++'s 'new' keyword.
2098 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2102 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2104 * src/utils.c, src/utils.h, src/vte.c:
2105 Add utils_copy_environment() and make use of it.
2106 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2107 src/editor.c, src/templates.c, src/templates.h:
2108 Add new special template wildcard "{command:...}" to use the
2109 output of a command in templates.
2110 Adjust template functions to mostly work with GeanyDocuments.
2111 Minor cleanups in the template code.
2113 Replace the old icons with smiley icons from the Rodent icon theme.
2114 Fix showing the same icon for two or more slots.
2116 * src/editor.c, src/editor.h, src/keybindings.c:
2117 Rename fold_symbol_click() to editor_toggle_fold().
2118 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2119 was used to respect the 'Fold/unfold all children' preference
2123 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2126 Prevent possible segfault in get_build_group().
2128 Fix GLib warning & beep if trying to insert multiline comment for a
2129 filetype that doesn't support it.
2132 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2135 Add gcc commands to build a plugin to the HowTo.
2136 * src/search.c, src/document.c, src/document.h:
2137 Show 'Replaced X matches in Y documents' message when using
2141 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2143 * scripts/plugin_test.c:
2144 Add a little test program which can load and test Geany plugins to
2145 verify it is loadable at runtime and all necessary symbols are
2147 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2149 Add new signal: "geany-startup-complete" which is sent once all
2150 initialization and startup tasks has been done.
2151 * README.I18N, configure.ac, wscript, po/LINGUAS:
2152 Remove po/LINGUAS from the repository.
2153 Generate it automatically if needed by reading available
2154 message catalogs from the po directory.
2155 Also respect the LINGUAS environment variable properly.
2158 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2161 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2165 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2167 * src/editor.c, src/templates.c, src/templates.h:
2168 Refactor templates_replace_all() into templates_replace_valist()
2169 to save some code duplication.
2172 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2174 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2175 src/plugindata.h, src/plugins.c:
2176 Add editor_insert_text_block() to plugin API.
2179 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2182 Update copyright information.
2183 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2184 doc/geany.txt, doc/geany.html:
2185 Add keybinding to open the last closed tab (closes #2912692).
2188 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2190 * autogen.sh, configure.in, configure.ac:
2191 Rename configure.in to configure.ac.
2192 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2194 Add sci_find_text() to the plugin API.
2195 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2196 src/interface.c, src/prefs.c:
2197 Add a checkbox in the preferences dialog to explicitly toggle
2198 the visibility of the sidebar (closes #2923340).
2201 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2203 * src/editor.c, src/plugins.c, src/plugindata.h,
2204 plugins/geanyfunctions.h:
2205 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2206 editor_get_eol_char() to the plugin API.
2207 * src/callbacks.c, src/plugins.c, src/plugins.h:
2208 Fix sensitivity of the Edit->Plugin Preferences menu item
2209 if plugins are loaded which do not provide a configuration dialog.
2210 * scripts/create_py_tags.py:
2211 Rewrite and extend the Python tags parsing script to use
2212 Python's inspect module to read symbols from Python modules
2213 including scope information.
2214 * data/filetypes.restructuredtext:
2215 Add the default comment character sequence for reStructuredText.
2217 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2218 clicked but their text fields are not part of the toolbar (#2920807).
2219 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2221 Add new style to change foreground and background colours for
2222 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2224 Remember the window position of the Find, Replace and Find in Files
2225 dialogs (closes #2877988).
2228 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2231 Fix a minor typo inside plugin API reference.
2234 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2236 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2237 Make dialogs_show_prompt() more flexible to take up to three
2238 button/response code pairs to be shown.
2239 Add a close button to the dialog when asking to Re-Save a
2241 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2243 Fix LaTeX environment auto completion with CR/LF line endings.
2244 Add some sanity checks.
2246 When closing a document after it was deleted from the filesystem,
2247 don't ask whether it should be saved first.
2248 Mark the document only as changed if it is not closed afterwards.
2249 Prevent possible segfaults if the document was closed when it is
2250 missing from the filesystem.
2251 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2252 src/msgwindow.h, src/prefs.c:
2253 Add MessageWindow::scribble and use it instead of searching the
2254 widget pointer everytime.
2255 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2256 Add preferences for hiding single tabs from the messages window
2257 (no GUI preferences yet, still to be implemented).
2258 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2259 Set the correct parent window for the toolbar editor
2260 dialog (closes #2913334).
2261 * src/win32.c, src/win32.h, src/ui_utils.c:
2262 Rename win32_show_project_folder_dialog() to
2263 win32_show_folder_dialog() as it is not related and not used by any
2264 project management related code.
2265 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2266 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2267 as it is specialised for opening documents.
2268 Implement win32_show_file_dialog() as a generic file open dialog and
2269 use it with ui_path_box_new().
2272 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2275 Extend auto_latex() function to check whether an environment has been
2276 closed within the next lines to avoid auto adding double \end{}.
2278 Remove LaTeX tags from SVN. Can be found at
2279 http://download.geany.org/contrib/tags/ if needed.
2282 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2284 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2285 Add document_need_save_as().
2286 Show the Save As also for documents created from filetype templates
2287 instead of saving them directly with the untitled filename.
2290 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2292 * geany.glade, src/interface.c:
2293 Move 'Send Selection to Terminal' menu item from Format to Commands
2296 When going to a build error, try the current document's path if
2297 the parsed filename doesn't exist. (This can happen when we receive
2298 build messages in the wrong order - after the 'Leaving directory'
2301 Refactor msgwin_goto_compiler_file_line().
2302 * src/interface.c, src/keybindings.c, geany.glade:
2303 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2306 Refactor/reformat on_replace_dialog_response().
2309 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2312 Improve geany.spec (split the package into a binary and devel
2313 package, update BuildRequires and other minor improvements).
2314 Patch by Dominic Hopf, thanks.
2317 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2319 * src/filetypes.c, src/filetypes.h:
2320 Make group for custom filetypes.
2321 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2322 Add custom filetype Genie.
2325 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2327 * src/highlighting.c:
2328 Highlight D & Java types from a global tags file.
2329 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2330 Add debug message warning if recursive lexer_filetype is set.
2331 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2332 Remove duplicate sci_set_keywords(), make argument const.
2333 * src/highlighting.c:
2334 Only show debug message once if recursive lexer_filetype is set.
2335 Tidy highlighting_init_styles code for filetype None handling.
2336 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2337 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2338 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2339 tagmanager/parsers.h, tagmanager/makefile.win32,
2340 tagmanager/verilog.c, tagmanager/Makefile.am,
2341 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2342 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2343 * src/highlighting.c:
2344 Fix segfault on startup (oops).
2345 * data/filetypes.verilog:
2346 Fix using common style colours for Verilog.
2349 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2351 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2352 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2353 Move C-like filetype properties into configuration files.
2354 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2356 Remove now unnecessary "styling_within_preprocessor" C style key.
2357 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2358 data/filetypes.glsl, data/filetypes.cs:
2359 Use lexer_filetype=C configuration file key instead of duplicate
2360 styleset functions for C++, C#, GLSL, Vala.
2363 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2365 * doc/geany.txt, doc/geany.html:
2366 Warn about not using BOM for configuration files (confuses GKeyFile
2367 parser, at least on my system).
2369 Add/improve debug messages for custom filetypes.
2372 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2375 Add a couple of further latex-beamer commands to list of LaTeX tags.
2378 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2380 * plugins/filebrowser.c:
2381 Add an in-entry clear icon to the filebrowser plugin's filter
2382 entry (patch by Dominic Hopf, thanks).
2383 * src/prefs.c, src/ui_utils.c:
2384 Fix two compiler warnings about possibly uninitialised variables.
2387 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2389 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2390 plugins/geanyfunctions.h:
2391 Add main_is_realized() to the plugin API.
2392 * tagmanager/include/tm_tagmanager.h:
2393 Update partly outdated and wrong doc comment.
2394 * src/main.c, src/main.h, src/socket.c:
2395 Allow opening Geany projects remotely.
2396 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2397 Add a hidden pref to allow executing text which was sent to the
2398 terminal directly, i.e. do not strip trailing newline characters.
2399 Also fix the stripping of trailing newline characters if there was
2403 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2405 * src/about.c, THANKS:
2406 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2407 Kurt de Bree into section of previous translators.
2410 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2412 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2413 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2417 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2419 * src/highlighting.c:
2420 Make stylesets take a ft_id argument so they can be reused fully with
2421 custom filetypes, so custom styles and keywords can be set.
2422 * src/highlighting.c:
2423 Fix setting filetype properties when both the system and the user
2424 file have properties set.
2425 * src/symbols.c, tagmanager/vhdl.c:
2427 * src/highlighting.c:
2428 Fix lexer settings for custom filetypes.
2431 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2434 Remove duplicate regular expression for parsing classes.
2435 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2436 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2437 src/main.h, THANKS, src/about.c:
2438 Add new command line option "--socket-file" to be able to specify
2439 separate socket filenames for instances
2440 (closes #2896027, patch by Jörn Reder, thanks).
2441 * src/keybindings.c, src/keybindings.h:
2442 Add keybindings_check_event() to manually check GdkKeyEvents against
2443 Geany's keybindings.
2444 * src/callbacks.c, src/utils.c, src/utils.h:
2445 Add and use utils_get_help_url().
2446 * geany.glade, src/interface.c, src/prefs.c:
2447 Add a Help button to the preferences dialog.
2448 Handle Help keybinding events for the preferences dialog especially
2449 and open the manual with the corresponding anchor link to the current
2450 preferences page (same goes for the new Help button).
2453 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2455 * src/toolbar.c, src/geanymenubuttonaction.c,
2456 src/geanymenubuttonaction.h:
2457 Use separate tooltips for toolbar menu buttons and their attached
2459 * tagmanager/latex.c:
2460 Improve parsing of sections and chapters by ignoring shortnames
2461 like \section[shortname]{label} (closes #2890477).
2464 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2466 * src/geanymenubuttonaction.c:
2467 Try to fix Gtk warning when using Tools->Reload Configuration.
2470 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2472 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2473 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2474 data/filetypes.pascal, data/filetypes.docbook,
2475 data/filetypes.python, data/filetypes.conf:
2476 Use filetypes.foo [lexer_properties] group instead of hardcoding
2477 lexer properties (more flexible e.g. for custom filetypes).
2478 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2479 Replace filetypes.xml html_asp_default_language key with
2480 filetypes.html asp.default.language property in [lexer_properties]
2484 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2486 * doc/geany.txt, doc/geany.html:
2487 Fix slightly wrong description of how to insert Unicode characters.
2489 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2490 ui_setup_open_button_callback().
2491 * src/prefs.c, src/prefs.c, src/vte.c:
2492 Refactor color and font button callback functions in the
2493 preferences dialog. Move the VTE related callback functions
2495 Make use of ui_setup_open_button_callback().
2497 Improve printing status texts (patch by Dominic Hopf, thanks).
2498 * src/prefs.c, src/vte.c:
2499 Use the default dialog title set by ui_setup_open_button_callback()
2500 to be more consistent and to save one string.
2503 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2506 Separate DKinds from CKinds.
2507 Don't generate macro tags for D, Java.
2510 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2512 * tagmanager/ctags.c, tagmanager/general.h:
2513 Make TagManager Assert statements cause g_warning on failure.
2514 * src/keybindings.c:
2515 Fix reflow paragraph command when cursor < anchor using
2516 sci_fix_selection().
2519 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2521 * tagmanager/perl.c:
2522 Fix Geany segfault with constant tags (#2895168).
2524 Fix invalid tree iter access when using tv_iters.tag_other but not
2525 using tv_iters.tag_variable.
2526 * HACKING, tagmanager/perl.c:
2527 Fix parsing Perl format statements ("other" type doesn't seem
2529 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2530 Fix using "other" tag type.
2533 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2536 Remove useless comment about applying settings only when libvte.so
2537 could be loaded which is only displayed *if* libvte.so is loaded.
2539 Allow autocompletion for HTML entities even within a word.
2540 * src/geanymenubuttonaction.c:
2541 Only set the menu of the button if a non-empty GtkMenu is passed to
2542 geany_menu_button_action_set_menu() so the menu arrow keeps
2546 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2549 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2552 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2555 Parse D functions with contracts (fixes #1885480).
2556 Parse D alias statement like typedef.
2557 (Ignore some more D keywords).
2559 Fix creating D interface tags properly.
2561 Parse contents of D extern{} and version{} blocks.
2564 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2570 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2572 * src/plugindata.h, HACKING:
2573 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2576 Show number of files saved on status bar when using Save All.
2577 * src/highlighting.c:
2578 Use default color scheme if pref color scheme file doesn't exist.
2579 * src/keybindings.c:
2580 Fix moving correct lines after selecting whole line(s).
2583 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2585 * tagmanager/makefile.win32:
2586 Fix broken build on Windows because of a typo
2587 (patch by Timothy Boronczyk, thanks).
2590 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2592 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2594 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2595 scheme files exist in a colorschemes config directory. Color scheme
2596 files must end in ".conf" and currently only the [named_styles]
2598 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2599 Add utils_get_config_files().
2600 * src/highlighting.c:
2601 Fix issue with default color not being reset if overridden with a
2602 system default color.
2603 * src/highlighting.c:
2604 Only reload filetype files when changing color scheme, not all
2605 configuration files.
2606 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2607 Deprecate documents_foreach() as it looks more like a function; use
2608 foreach_document() instead.
2609 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2612 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2614 * src/stash.c, src/stash.h:
2615 Use typedef instead of pointer for widget_id function arguments.
2618 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2620 * src/pluginutils.c:
2621 Don't expand Plugin Preferences page spacing vertically to fill the
2622 height of the dialog.
2623 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2624 geany.glade, plugins/splitwindow.c:
2625 Allow GeanyKeyBinding label field to contain underscores, which won't
2626 be displayed by Geany. This saves adding near-duplicate translation
2628 Add mnemonics for 3 Edit->Format menu items.
2629 Add keybindings_get_label().
2630 * src/interface.c, geany.glade:
2631 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2635 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2638 Desensitize Edit->Commands menu item when no docs are open.
2639 * src/interface.c, src/keybindings.c, src/callbacks.c,
2640 src/callbacks.h, geany.glade:
2641 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2642 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2643 Add general function sci_get_string() that works with any string
2644 buffer messages that follow the Windows message convention.
2645 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2646 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2647 src/pluginutils.c, src/pluginutils.h, geany.glade:
2648 Add 'Edit->Plugin Preferences' menu item and keybinding.
2649 Don't include plugindata.h in pluginutils.h because it redefines the
2650 GEANY() macro for plugin use.
2651 * doc/geany.txt, doc/geany.html:
2652 Update for Plugin Preferences keybinding.
2655 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2658 Sort document word completion list.
2659 * src/interface.c, src/keybindings.c, src/callbacks.c,
2660 src/callbacks.h, geany.glade:
2661 Add some useful commands to editor popup menu under "Commands"
2662 submenu (thanks to Lex).
2663 Move 'Duplicate line or selection' from Format -> Commands submenu.
2664 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2665 Enable switching the sidebar to the right on Windows again, as it
2666 apparently works after all.
2668 Fix using tab to autocomplete in some other situations that word part
2669 completion doesn't apply in.
2670 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2671 Add Edit->Commands submenu which is shared with the editor popup
2673 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2674 Change editor popup Commands submenu to start as child of menubar
2675 Edit menu, as this is more usual e.g. for keybindings initialization.
2676 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2678 Share a single Format submenu for menubar Edit and popup menu.
2681 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2684 Fix a compiler warning about an uninitialised variable.
2686 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2687 sciwrappers.h, build.h (for the Waf build system,
2688 accordingly to r4366).
2691 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2693 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2694 src/toolbar.c, src/toolbar.h:
2695 Add missing dox for types/files in the API.
2696 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2697 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2698 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2699 of functions not in the API).
2700 Warning: any plugins that include these headers should remove them.
2701 * src/build.c, src/build.h:
2702 Move function doc-comments to build.c so they stay in sync. Note:
2703 these functions are still not in the API.
2705 Add 'Doc-comments' plugin API subsection.
2706 * plugins/filebrowser.c:
2707 Fix packing configure widgets equally.
2708 Use spacing multiples of 6 as recommended by Gnome HIG.
2709 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2710 Disable switching the sidebar to the right on Windows as it will
2711 probably fail like the Split Window plugin.
2713 Improve 'Detect from file' indentation pref by ignoring lines with
2714 indentation wider than 24 characters as this is more likely to be
2715 alignment than indentation.
2718 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2720 * plugins/saveactions.c:
2721 Fix adding the filetype's default extension when using the
2722 Instant Save plugin (closes #2885142).
2724 Before looking for line and column numbers specified as part
2725 of a filename, ensure the file doesn't exist on disk. This allows
2726 opening of files like "test:0".
2728 Rename "select" variables into "selection" to avoid shadowed names.
2729 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2730 Add ui_widget_modify_font_from_string() and sci_goto_line()
2732 * plugins/filebrowser.c:
2733 Rename "select" variables into "selection" to avoid shadowed names.
2734 Make use of ui_widget_modify_font_from_string().
2737 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2739 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2740 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2742 Add sidebar position interface pref.
2745 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2747 * doc/geany.txt, doc/geany.html:
2748 Add missing underscores to links.
2751 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2753 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2754 Add 'Move line(s) up/down' keybindings.
2757 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2759 * src/build.c, src/build.h, src/filetypes.h:
2760 Include code for project filetype execute commands and fix bug in
2761 saving project filetypes list.
2762 * src/project.c, src/build.c, doc/geany.txt:
2763 Make non-project execute configuration save to filetypes not
2765 Fix closing of project failing to remove build commands dialog entry.
2768 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2770 * src/project.c, src/ui_utils.c:
2771 Set border width for project properties build table.
2772 * geany.glade, src/interface.c:
2773 Don't expand hard tab width alignment.
2776 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2778 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2779 doc/geany.txt, doc/geany.html:
2780 Support loading global tags files for custom filetypes.
2781 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2782 doc/geany.txt, doc/geany.html:
2783 Add 'Word part completion' keybinding so keys other than Tab can be
2784 used, or to clear/change the combination so Tab does full completion
2786 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2787 Add 'Select to previous/next word part' keybindings.
2788 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2789 Add 'Switch to Messages' focus keybinding.
2792 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2794 * doc/geany.txt, doc/geany.html:
2795 Add 'Custom filetypes' section.
2796 * src/filetypes.c, src/filetypes.h, src/document.c,
2797 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2798 tagmanager/include/tm_source_file.h:
2799 Add filetype "tag_parser" key so custom filetypes can use an existing
2801 Add tm_source_file_get_named_lang().
2802 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2804 Add filetype "lexer_filetype" key so custom filetypes can use an
2808 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2810 * THANKS, src/about.c:
2811 Add Xhacker Liu for his work at zh_CN translation to long list of
2815 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2817 * src/sciwrappers.c:
2818 Remove unnecessary line number margin padding.
2819 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2820 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2822 Improve word part autocompletion so AC list is not cancelled and
2823 reshown (this also stops the selection changing).
2824 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2826 Improve CamelCase word part autocompletion for runs of capital
2829 Don't complete snippets if there's a selection.
2832 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2835 Fix crash opening project when Geany started with no geany.conf.
2838 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2840 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2841 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2843 Add word part autocompletion for the current selected item when
2844 pressing Tab - Enter still completes normally.
2845 Add foreach_str() API macro.
2846 Temporarily modify scintilla to say if tab was used for
2848 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2849 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2850 plugins/classbuilder.c:
2851 Revert r4301 - utils_free_pointers() taking 4 arguments.
2852 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2853 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2854 plugins/splitwindow.c:
2855 Add highlighting_set_styles() to API, use for Split Window plugin so
2856 filetypes.common settings get set too.
2857 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2859 * src/document.c, src/editor.c, plugins/splitwindow.c:
2860 Call editor_apply_update_prefs() from editor_create_widget() so
2861 correct tab width and other settings are applied for Split Window
2865 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2867 * src/keybindings.c:
2868 Don't include trailing newlines when using reflow command.
2870 Add stock close buttons to notebook tab popup menu.
2871 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2872 plugins/geanyfunctions.h:
2873 Add document_get_notebook_page() to API.
2875 * data/templates/files/file.html, data/templates/files/file.php:
2876 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2877 * src/interface.c, src/ui_utils.c, geany.glade:
2878 Move Tools configuration items to top of menu.
2879 * src/keybindings.c, src/search.c:
2880 Fix warning when using Find in Files with no documents open; make
2881 keybinding work in this case.
2884 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2886 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2887 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2888 Make Split Window 'Show current document' button have a drop-down
2889 menu to select the other documents.
2890 Add new API function ui_menu_add_document_items().
2893 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2896 Fix sensitivity settings for compile and build toolbar items.
2899 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2902 Don't use filetype submenus for templates (slower to navigate, often
2903 only 1 per-filetype anyway).
2905 Put old filetype template menu items in 'Old' submenu as they should
2906 be removed after the 0.19 release.
2907 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2908 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2909 to be ignored if inappropriate so a later keybinding with the same
2910 key combination can intercept it. (Also group callbacks are usually
2911 tidier than separate callbacks).
2912 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2913 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2914 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2915 plugins/classbuilder.c:
2916 Make utils_free_pointers() take 4 arguments, add to API.
2917 * src/templates.c, src/tools.c, src/ui_utils.c:
2918 Fix memory leaks with gtk_container_get_children().
2921 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2924 Ensure that old style build config is not loaded if it does
2928 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2930 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2931 Added Galician translation.
2932 Thanks to José Manuel Castroagudín Silva.
2935 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2937 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2939 Apply set default encoding for existing files only if the files are
2940 non-Unicode (patch by Alexey Antipov, thanks).
2943 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2945 * src/highlighting.c:
2946 Move new_styleset() and preprocessor setup code into
2948 * src/highlighting.c:
2949 Call apply_filetype_properties() from styleset_c_like().
2952 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2954 * doc/geany.txt, doc/geany.html:
2955 Improve information about predefined keybindings which are
2956 commonly used across applications (patch by Lex Trotman, thanks).
2958 Enable embedded page setup properties in the (Unix) Print dialog
2959 on newer GTK versions (closes #2870596).
2960 * src/highlighting.c:
2961 Map global types (read from tags files) to keyword style for
2965 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2968 Fix wrong creation of filetype template menu items for custom
2970 * src/highlighting.c:
2971 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2973 Group 'New with template' items by filetype submenu (currently only
2975 Show custom file template items before filetype template items.
2976 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2978 Only use one 'New with template' submenu - reparent as needed.
2980 Don't create templates/filetype.none either.
2982 Warn if custom template file no longer exists.
2985 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2988 Add missing icon for Java packages in the Symbol List.
2991 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2993 * src/highlighting.c, data/filetypes.vala:
2994 Add Vala keywords to conf file.
2995 * src/templates.c, doc/geany.txt, doc/geany.html:
2996 Read custom file templates from $prefix/share/geany/templates/files
2997 as well as user dir.
2998 * src/templates.c, data/templates, data/templates/files,
2999 data/templates/files/file.rb, data/templates/files/file.html,
3000 data/templates/files/main.java, data/templates/files/main.c,
3001 data/templates/files/main.cxx, data/templates/files/file.php,
3002 data/templates/files/main.d, data/templates/files/program.pas,
3003 data/templates/files/main.py, data/templates/files/file.tex,
3004 wscript, Makefile.am:
3005 Move filetype template defaults into custom file template files.
3008 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3010 * src/symbols.c, tagmanager/perl.c:
3011 Change Perl tag parser to ctags SVN r601. This removes support for
3012 buggy local/my/our but it parses constant/format/labels and should
3013 be less buggy overall (closes #2861232).
3014 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3015 Add utils_get_file_list_full() which can optionally sort or include
3016 a full path for each list item.
3017 * src/utils.c, src/plugindata.h, src/plugins.c:
3018 Add utils_get_file_list_full() to API.
3021 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3023 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3024 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3025 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3026 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3027 po/POTFILES.in, wscript:
3028 Rename treeviews.[hc] -> sidebar.[hc].
3029 * data/filetypes.common:
3030 Remove unused [styling] arguments.
3031 * src/highlighting.c, data/filetypes.markdown,
3032 data/filetypes.restructuredtext:
3033 Remove style defaults from the code - just read them from
3034 configuration files.
3035 * src/highlighting.c, HACKING:
3036 Add apply_style_entries() to simplify implementing styleset_foo().
3037 * src/highlighting.c:
3038 Remove filetype keyword defaults from the code - just read them from
3039 configuration files.
3040 * src/highlighting.c:
3041 Add sci_set_keywords() wrapper.
3044 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3046 * scripts/create_py_tags.py:
3047 Make the code a bit more pythonic.
3048 * doc/images/build_menu_commands_dialog.png,
3049 doc/images/main_window.png:
3050 Add new images referenced in the documentation.
3051 * doc/geany.html, doc/geany.txt:
3052 Several documentation improvements (patch by Lex Trotman, thanks).
3053 * src/pluginutils.c:
3054 Fix setting the appropriate page of the combined plugins
3058 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3060 * src/keybindings.c:
3061 Only focus toolbar goto line entry when pressing keybinding if it's
3062 visible (patch by Eugene Arshinov, thanks).
3064 Focus editor after entering a number in the goto line toolbar entry.
3066 Use AC_PATH_PROG instead of which for portability (patch by Erik
3067 Southworth, thanks).
3069 Show plugins that only implement plugin_configure_single() in the
3070 multiple-configure dialog as a page with a configure button on it.
3071 Add padding for multiple-configure dialog.
3072 Make the multiple-configure dialog notebook tabs scrollable.
3073 * src/pluginutils.c, src/pluginutils.h:
3074 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3075 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3076 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3077 plugins/geanyfunctions.h, plugins/filebrowser.c:
3078 Add plugin_show_configure() API utility function.
3079 Add File Browser popup menu 'Preferences' item.
3080 * src/highlighting.c:
3081 Add get_keyfile_ints() instead of using tmp_style hack.
3082 * src/highlighting.c, data/filetypes.xml:
3083 Change new html_asp_default_language markup pref to use integer,
3084 not hex in config file.
3085 Fix minor issue with changing pref back to 0.
3086 * src/highlighting.c:
3087 Fix possible segfault in get_keyfile_int() if key value is malformed.
3090 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3092 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3093 Add "html_asp_default_language" pseudo style to filetypes.xml
3094 to allow setting the used language in embedded ASP code
3095 (patch by Ross McKay, thanks).
3096 * src/filetypes.xml:
3097 Update VBScript keywords (patch by Ross McKay, thanks).
3100 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3102 * src/keybindings.c, THANKS:
3103 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3104 keybinding use line breaking column when enabled.
3106 Fix showing the document before reload dialog when opening an
3108 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3109 Add plugin_configure_single() plugin symbol which is easier to
3110 implement than plugin_configure() but won't support a
3111 multiple-plugin configure dialog.
3113 Show multiple plugins in the 'Configure Plugins' dialog.
3116 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3118 * doc/geany.txt, doc/geany.html:
3119 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3121 * doc/geany.txt, doc/geany.html:
3122 Add 'Toolbar entries' section.
3123 * doc/geany.txt, doc/geany.html:
3124 Update 'Go to line' keybinding description.
3125 * doc/geany.txt, doc/geany.html:
3126 Split keybinding table into group tables; update KB links.
3129 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3132 Fix compiler warnings about uninitialised variables.
3133 * src/callbacks.c, src/document.c:
3134 When reloading files, use the previously set encoding instead of
3135 detecting it again (closes #2862041).
3137 Turn on automake silent rules if supported.
3140 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3143 Speed up sorting in utils_get_file_list(). This reduces the file
3144 browser delay on displaying a big directory, e.g. /usr/bin.
3146 Expand command entry width when expanding Build Commands dialog.
3148 Split Build Commands dialog notes label and edit text.
3150 Add padding for Build Commands dialog separators.
3151 Add colons for regex field labels; fix 1 capitalisation.
3153 Fix none filetype Build Commands dialog label.
3154 Make group labels bold.
3155 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3157 Add & use ui_label_set_markup(), ui_label_new_bold().
3158 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3159 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3160 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3161 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3162 * src/keybindings.c:
3163 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3166 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3168 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3169 tagmanager/parsers.h, tagmanager/makefile.win32,
3170 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3171 data/filetype_extensions.conf, wscript:
3172 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3174 Merge recent changes from the CTags project to further improve
3178 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3181 Fix wrong alignment of printed pages when page headers are
3182 disabled (closes #2856822).
3183 Plug a small memory leak and improve function signature of
3186 Save an if expression.
3188 After clearing a text field using the embedded clear icon, put the
3189 input focus into this text field.
3192 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3194 * plugins/filebrowser.c:
3195 Free file list memory whilst iterating the list.
3196 Minor formatting fixes.
3197 * src/utils.c, src/utils.h:
3198 Add foreach_dir() API macro.
3199 Update API docs for utils_get_file_list().
3200 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3202 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3203 Beep if there are no more snippet positions.
3204 Limit length of snippet positions queue to 20.
3207 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3209 * src/keybindings.c, src/callbacks.c, src/search.c:
3210 Make Goto Tag commands use the current selection if present (useful
3211 for selecting part of a tag or for ReST section names with spaces
3214 Don't move the cursor when reloading.
3215 * src/plugindata.h, src/editor.c, src/editor.h:
3216 Make editor_prefs.snippets hash table private (not a pref).
3219 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3222 Remove deprecated --debug flag. Please use --verbose/-v instead.
3225 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3228 Show Find in Files stderr output in messages window instead of
3229 debug window so that invalid regex messages can be seen easily.
3230 Combine FIF stdout and stderr callback code.
3233 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3236 Fix opening filenames beginning with two dots (closes #2858487).
3237 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3238 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3239 data/filetypes.common, geany.glade:
3240 Update syntax highlighting after changing the 'Invert syntax
3241 highlighting colors' pref, instead of requiring a restart.
3242 Remove filetypes.common invert_all option - use 'Invert syntax
3243 highlighting colors' pref instead (closes #2854525).
3244 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3245 Add 'Allow' button when showing the conflicting keybinding dialog.
3246 Make dialogs_show_question_full() use GTK dialog on Windows if
3247 button text is not the stock yes/no items.
3248 Add dialogs_show_prompt() which also has an 'Apply' button.
3249 * src/queue.c, src/queue.h:
3250 Add warning that GeanyQueue may be removed.
3251 * src/keybindings.c, src/editor.c, src/editor.h:
3252 Change snippet_goto_next_cursor() to
3253 editor_goto_next_snippet_cursor() as it's in editor.h.
3254 Avoid using GPOINTER_TO_INT macro.
3257 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3259 * src/keybindings.c:
3260 Fix 'Reflow block' command when at the last paragraph and there's
3261 no last newline (patch by Eugene Arshinov, thanks).
3263 Add 'Compiler options & warnings' section.
3264 Update Style section to be clearer about code alignment and show
3269 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3271 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3272 src/plugindata.h, src/plugins.c, src/editor.c,
3273 plugins/geanyfunctions.h:
3274 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3275 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3277 Add sci_toggle_marker_at_line().
3278 Fix SciFuncs alignment.
3281 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3284 Fix erroneous free of returned string in prepare_run_script.
3287 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3289 * data/filetypes.latex:
3290 Changing default value for showing pdf and dvi to ensure to take
3291 *.pdf and *.dvi file.
3294 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3296 * src/about.c, THANKS:
3297 Change language string for Slovenian translation.
3300 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3302 * tagmanager/txt2tags.c:
3303 Fix multi-byte character constant comparison.
3305 Fix Gtk warning when trying to update documents popup menu item
3306 sensitivity before they exist.
3309 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3312 Improve the opening string in the plugin manager dialog.
3314 Use "max-width" to set the document width of the generated
3315 HTML documentation to let the text be auto-wrapped.
3316 * src/prefs.c, src/tagmanager/include/guregex.h,
3317 src/tagmanager/include/tm_tagmanager.h:
3318 Remove trailing spaces (patch by André Hentschel, thanks).
3320 Fix a compiler warning.
3322 Fix crash when opening documents.
3323 * src/build.c, src/build.h, src/project.c:
3324 Adjust coding style (no code changes).
3325 * src/build.c, src/project.c:
3326 Use NZV() macro instead of strlen() to check for empty strings.
3327 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3328 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3329 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3330 src/plugins.c, THANKS:
3331 Add new plugin signal: "document-before-save".
3332 Add get_line_end_position(), set_target_start(), set_target_end(),
3333 replace_target() to the plugin API
3334 (patch by Eugene Arshinov, thanks).
3335 Add new plugin signal: "document-filetype-set" (closes #2852286).
3336 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3337 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3338 tagmanager/Makefile.am, tagmanager/makefile.win32,
3339 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3341 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3344 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3346 * src/treeviews.c, src/document.c:
3347 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3348 Use gtk_notebook_set_current_page() instead of
3349 document_open_file_full() when choosing an item from the documents
3351 Avoid using goto in document_open_file_full().
3354 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3356 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3357 Enable type-ahead find for sidebar symbols and documents tabs
3358 (patch by Thomas Martitz, thanks).
3360 Fix 2 free's of possibly uninitialized pointers.
3363 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3365 * src/build.c, src/filetypes.h, src/filetypes.c:
3366 Only write filetype config files when build command or regex is
3367 actually changed. Removed commented code in src/filetypes.c.
3369 Ensure uses of filename are protected against nulls when running
3370 a build command and give status message if not.
3373 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3376 Remove plugin from plugin manager dialog on unloading if it no
3377 longer exists or is incompatible.
3380 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3383 Add warning if only one of the plugin_key_group[_info] symbols is
3384 defined for a plugin.
3385 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3386 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3388 Merge custom-filetypes branch:
3389 Support adding custom filetype files e.g. filetypes.Foo.conf.
3391 Allow GeanyFiletype::extension to be NULL.
3392 Add note about using GeanyFiletype pointer instead of filetype_id
3393 for filetypes.c function arguments.
3394 Replace styleset_none() with styleset_default().
3397 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3400 Show the sidebar if either the documents or the symbols list are
3401 enabled (related to #1876107).
3404 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3406 * src/build.c, src/filetypes.c:
3407 Fix compiler warnings.
3409 Fix removing leading double slashes in filenames which are used for
3410 network resources on Windows (closes #2844085).
3413 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3415 * src/keybindings.c:
3416 Fix Make keybindings (patch by Lex Trotman, thanks).
3418 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3420 Mention Files link at top for header files; demoplugin.c.
3421 Minor edits; remove 'far from being complete'.
3422 * src/keyfile.c, src/keyfile.h, src/main.c,
3423 data/filetype_extensions.conf, HACKING:
3424 Remove --generate-data-files argument & code - just edit
3425 filetype_extensions.conf by hand (filetype order was broken
3427 Add *.H extension for C++ (useful for non-Windows systems).
3430 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3433 Fix implementation of loading old project files with base
3434 directories. Use project_make_base_path instead of re-
3435 implementing. Now depends on project.c reading base dir
3436 prior to calling load_build_menu.
3438 Change usage of project base directory to conform with
3439 previous documented behavior when loading old project files.
3441 Change make custom and make object to ignore make in base path
3442 when reading old project file settings. Changed some indent
3443 spaces to tabs. Fix missing compile menu accelerator.
3446 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3449 Add warning about not using undocumented features.
3450 Add reference to HACKING for plugin API development.
3452 Add section 'Plugin API/ABI design'.
3453 * src/keybindings.h, src/makefile.win32, src/project.h,
3454 src/filetypes.h, src/Makefile.am, wscript:
3455 Use GEANY_PRIVATE to hide some fields from plugins.
3457 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3458 * src/build.c, src/build.h, src/project.c:
3459 Use build_ prefix for 3 functions in build.h; add a static modifier.
3462 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3465 Improve parsing of PHP functions by requiring a valid modifier or
3466 whitespace before the 'function' keyword to ignore some false
3467 positives like function tags inside comments
3468 (patch by Harold Aling, thanks).
3469 * tagmanager/python.c:
3470 Don't parse comments after import statements and other tags
3471 (closes #2838938, patch by Huandari Lopez, thanks).
3474 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3476 * data/filetypes.markdown:
3477 Add filetypes.markdown for configuration (thanks to Jon Strait).
3478 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3479 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3480 plugins/geanyfunctions.h:
3481 Remove GeanyKeyGroup struct from the API - plugins should not set
3483 Make keybindings_set_item() duplicate the name and label fields
3484 (needed by GeanyLua) and return a keybinding pointer.
3485 Add keybindings_get_item() to the API (in case it's useful).
3486 Move some keybinding code out of plugin source files.
3489 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3491 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3492 Don't generate build.h API docs until everything is approved and
3493 functions are actually in geany_functions.
3494 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3495 as they may be changed or made private later.
3496 Break ABI for fields removed.
3499 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3501 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3502 src/keyfile.c, src/project.c:
3503 Changed names of symbols visible in build API to GEANY_xxx.
3506 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3508 * src/project.h, src/project.c, src/build.c:
3509 Remove make_in_base_dir and run_cmd fields from project structure.
3510 Replaced by build functionality. Remove incorrect use in src/build.c
3511 build_run_cmd function.
3514 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3516 * src/project.h, src/project.c:
3517 Removed unused project_get_make_dir function, this is now per
3521 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3523 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3525 Fix some more warnings.
3526 Fix commented out execute/stop toolbar code in build.c.
3527 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3528 Changed build.h api so all functions prefixed with build_.
3531 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3533 * src/build.c, src/build.h, src/project.c:
3534 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3537 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3540 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3541 strings when reading old format configuration & project files.
3542 * src/build.c, src/project.c:
3543 Fixed GLib array assertion warnings when no project filetypes are
3544 available to be saved.
3546 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3552 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3554 * src/build.h, src/build.c, src/project.c:
3555 Created and documented plugins interface to build menu.
3556 Factored out new get_cmd_group function.
3557 Changed name of remove_command function to be consistent with the
3558 rest of the interface & changed calls in project.c.
3559 * src/Makefile.am, wscript:
3560 Added build.h to installed files lists.
3562 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3565 Updated manual to match build-menu capability.
3568 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3570 * src/build.c, src/build.h:
3571 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3572 Improved interpretation of run_in_base_dir from old [build-settings]
3573 Added spacing to build commands dialog
3575 Removed run in base path option from project dialog and added button
3576 to set working directories to d the same.
3579 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3582 Re-incorporated toolbar changes in trunk accidently excluded in merge
3584 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3587 Fixed substitute %f etc in commands
3588 Fixed potential leak in build_replace_placeholder
3589 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3590 Fixed build_replace_placeholder to not require document.
3592 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3594 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3595 Fixed crash and lots of warnings, deleted some commented out code.
3596 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3597 Removed make command from preferences and associated code
3599 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3601 * src/build.c, src/build.h:
3602 Incorporated patch for working directory field (thanks Thomas)
3603 Removed run_in_base_dir option and associated code that it replaces
3604 Improved handling of old config files and mapping to new ones.
3606 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3608 * src/build.h, src/build.c:
3609 Changed to itterate over entries in build commands dialog to allow
3610 additional fields to be added
3611 Implement support for multiple run commands
3612 * data/filetypes.latex:
3613 Implement configured commands and labels for latex.
3616 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3618 * src/build.h, src/build.c:
3619 added dialog support for error regular expressions from multiple
3620 sources and storing and loading them fixed some typos and memory
3622 * src/filetypes.c, src/filetypes.h, project.c:
3623 added support for using error regexes from multiple sources
3626 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3628 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3630 Removal of build menu item source made redundant by the following fix
3632 Corrected priority oreder and loading of filetype dependent build
3633 menu items saved in the project file. Added print routine for
3634 debugging command sources and priorities set compile symbol
3635 PRINTBUILDCMDS true to enable
3637 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3640 fixed problem loading old format filetype files, some formatting
3641 fixes fixed saving new format files
3642 added operation for clear button on build commands dialog
3644 fixed loading and saving filetype files
3647 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3649 Configurable Build Menu Changes
3651 * doc/geany.html, doc/geany.txt:
3652 Updated build menu section to new functionality
3653 * src/build.h, src/build.c:
3654 Largly re-written, configurability added, Latex code removed
3655 * src/filetypes.h, src/filetypes.c:
3656 Filetype structure updated to add new command pointers, configuration
3657 load and store changed
3658 * src/keybindings.h, src/keybindings.c:
3659 Changed to address new command storage structure.
3661 Changed to load/store new configuration.
3663 Minor change to initialisation order.
3665 Changed to address new menu item storage structure.
3666 * src/project.h, src/project.c:
3667 Changed to load/store the new configuration info.
3669 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3671 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3672 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3673 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3674 plugins/splitwindow.c:
3675 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3676 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3677 the ABI when adding fields to them.
3678 Add plugin_set_key_group() for plugins to dynamically set a
3679 keybinding group (e.g. for the Lua script plugin). Used in Split
3680 Window plugin as an example.
3681 Improve keybinding docs a little.
3684 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3686 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3687 Add geanyfunctions.h to API docs.
3688 * plugins/splitwindow.c:
3689 Set the cursor color for the split window.
3692 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3695 Fix 'Open Selected File' for unsaved new documents.
3696 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3697 Fix updating main menu accelerators after changing keybindings
3698 (thanks to Lex Trotman).
3700 Fix using 'Insert date' keybinding when a custom date string has
3702 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3703 Merge Plugin and GeanyPluginPrivate structs.
3706 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3708 * src/keybindings.c:
3709 Fix non-working Home and End keys on numpads.
3712 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3714 * doc/geany.txt, doc/geany.html, NEWS:
3715 Add 'Scope autocompletion' section.
3716 Add 'Tools menu items' section to explain configuration files
3717 submenu, reload configuration item.
3718 Minor updates/fixes.
3721 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3724 Add a translation hint to an ambiguous format string.
3726 Add missing include path to fix 'make distcheck'.
3728 Fix opening of local files in the browser on Windows.
3729 * New release: Geany 0.18 "Kaine".
3730 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3731 src/geany.h, doc/geany.html, doc/geany.txt:
3732 Post-release version bump.
3735 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3738 Temporarily disable reshowing calltips when the autocompletion
3739 list was closed implicitly by not choosing an item to fix
3740 problems with wrongly displayed calltips.
3742 Add missing 'coding' cookie to the Python filetype template.
3743 * doc/images/pref_dialog_edit_completions.png,
3744 doc/images/pref_dialog_toolbar.png:
3745 Update images for Geany 0.18.
3748 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3751 Add command '--hackingdoc' to create the HTML form of the
3755 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3757 * po/pt_PT.po, po/LINGUAS:
3758 Added a first Portugese (Portugal) translation based on work done at
3759 launchpad by e.g. André Glória and Alexandre Jesus.
3760 * src/main.c: Fix a minor typo on --help call.
3763 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3765 * src/highlighting.c:
3766 Call get_keyfile_wordchars() in highlighting_init_styles().
3769 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3771 * data/filetypes.ada:
3773 * src/keybindings.c:
3774 Switching notebook tabs now works for the currently used notebook
3775 widget instead of always using the documents notebook.
3776 * src/document.c, src/document.h, src/documentprivate.h,
3778 Small corrections to some API docs.
3781 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3783 * src/build.c, src/win32.h, src/win32.c:
3784 Expand system environment variables (%variableName%) on Windows when
3785 running Build commands.
3788 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3790 * src/keybindings.c:
3791 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3792 future using an indent block is more useful e.g. for ChangeLog
3794 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3795 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3796 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3797 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3798 tagmanager/parsers.h, tagmanager/makefile.win32,
3799 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3800 Add Markdown filetype (patch by Jon Strait, thanks).
3801 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3802 Fix disconnecting plugin signal id when not using geany_object.
3804 Add filetype_make_title() instead of using:
3805 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3806 It also supports "%s file" strings.
3809 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3811 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3812 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3813 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3814 plugins/filebrowser.c:
3815 Add plugin_signal_connect() for connecting plugin signals at
3816 runtime and also for connecting to any GObject signal.
3817 Add 'Plugin Utility Functions' on main page.
3818 Add foreach_array() macro.
3819 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3820 src/document.c, src/editor.c:
3821 Rename 3 sci functions to sci_set_target_start(),
3822 sci_set_target_end(), sci_replace_target() to match the SCI_
3826 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3828 * wscript: Fix compiling error with waf.
3831 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3833 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3834 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3835 src/Makefile.am, wscript:
3836 Move plugin_* utility functions to pluginutils.c.
3837 Add pluginprivate.h.
3839 Fix reshowing calltip in the wrong document.
3842 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3844 * doc/geany.txt, doc/geany.html:
3845 Add some general information about auto-completion capabilities
3846 (patch by Lex Trotman, thanks).
3849 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3851 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3852 Added a first Slovenian translation. Thanks to Joze Klepec.
3855 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3857 * src/highlighting.c:
3858 Use full styleset_foo[_init] function name as argument to
3859 init_styleset_case() and styleset_case() macros so it's easier to
3860 understand the code.
3861 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3862 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3863 doc/geany.txt, doc/geany.html:
3864 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3865 Heavily based on a patch by Eugene Arshinov (thanks).
3866 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3867 editor_strip_line_trailing_spaces().
3870 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3873 Attempt to fix reshowing calltips after the autocompletion list
3875 Reshow calltips also when the autocompletion list was closed
3876 implicitly by not choosing an item.
3878 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3880 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3881 plugins/splitwindow.c:
3882 Change utils_str_remove_chars() to work in place; fix allocating on
3883 the stack (the string length could exhaust the stack size).
3884 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3885 src/printing.c, src/callbacks.c:
3886 Rename utils_str_replace() utils_str_replace_all(), setting a
3887 'gchar **haystack' argument instead of returning a new string.
3889 For the Tabs indent type, remove spaces when unindenting (only) if
3890 there are no tabs on the line.
3891 Group undo actions for (un)indenting of multiple lines.
3892 * src/document.c, src/editor.c:
3893 Fix scrolling horizontally after finding a search match with the
3894 search bar or Find Next/Previous which is off-screen.
3895 * src/keybindings.c:
3896 Fix GLib warning when pressing a key with no documents open.
3899 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3902 Start unifying usage of @a and @c markup elements in API docs,
3904 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3905 Show/hide the toolbar without a restart when the setting in the
3906 preferences dialog is changed (closes #2824785).
3907 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3908 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3909 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3911 Continue unifying usage of @a and @c markup elements in API docs.
3914 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3917 Remove relative/untidy path elements when creating new documents
3918 with a filename (e.g. from the command-line) (#2823998).
3921 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3924 Disable 'Recent Projects' menu item if the list of recent projects
3927 Fix some harmless compiler warnings.
3928 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3929 src/plugins.c, src/utils.c, src/utils.h:
3930 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3931 src/utils.c and add it to the plugin API.
3932 Make utils_str_remove_chars() work on a new copy of the input string
3933 instead of modifying it in place.
3935 Remove underscores from the toolbar items labels.
3938 * plugins/splitwindow.c:
3939 Fix broken 'Show the current document' tool button icon.
3942 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3944 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3946 Add stash_group_add_widget_property() so we can save any widget's
3947 read/write properties.
3948 Use Stash for ui_prefs.sidebar_page setting.
3949 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3950 Make foreach_ptr_array() use an integer argument for its
3951 implementation, as this is more useful potentially than a gpointer*
3952 argument, and more straightforward.
3953 Add foreach_c_array(), foreach_ptr_array() to API.
3954 * src/utils.c, src/utils.h, src/document.c:
3955 Remove relative/untidy path elements when opening documents (closes
3958 Fix showing project name for documents list files with no
3959 subdirectory (oops).
3961 Fix checking whether to overwrite when using the Rename button in
3962 the 'Save As' dialog.
3965 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3968 Don't use the main window as parent for dialog boxes if it is not
3970 Set titles for message dialogs.
3973 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3976 Display item labels instead of raw names in the toolbar editor.
3977 Apply changes in the toolbar editor instantly.
3978 Show icons in the toolbar editor.
3979 Speed up toolbar editor dialog creation.
3981 Improve inserting of comment templates like File header or licence
3982 notices. The comment information are now read from the filetype
3983 configuration files.
3985 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3988 Enable file monitoring for files which are written to disk by Geany
3991 Fix broken special case handling when detecting filetypes from a
3992 shebang or other special file headers.
3995 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3998 Make Mark All keybinding clear search highlighting when there's no
4001 Fix wrong match length when using Mark with regex.
4002 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4003 src/keyfile.c, src/main.c:
4004 Add 'Show Paths' documents list popup item.
4005 Add "load_settings" core-only signal emitted just after loading
4006 main keyfile settings; useful to delay building UI elements until
4007 settings have been read.
4009 Fix GTK warning when right-clicking on default tag tree.
4010 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4011 Add treeviews_finalize().
4012 Remove tv.popup_openfiles field.
4015 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4017 * src/highlighting.c:
4018 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4021 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4024 Quote the uri before passing it to the browser when opening a
4025 website (closes #2818635).
4027 Fix broken 'builtin' Run command for HTML files on Windows.
4030 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4033 Properly fix wrong brace highlighting of non-brace character.
4035 Allow autocompletion in Perl double-quoted strings.
4036 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4037 Don't autocomplete in Perl q() strings.
4038 * data/filetypes.common:
4039 Make Mark highlighting brighter.
4040 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4041 Use hyphen for auto-feature terms.
4042 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4043 src/document.h, src/main.c:
4044 Add documents_foreach() API macro that skips invalid docs.
4045 Make filetypes[], documents[] part of the API again.
4046 Add GEANY() macro for sharing geany symbols between API and core.
4047 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4048 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4049 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4050 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4051 plugins/classbuilder.c, wscript:
4052 Add geanyplugin.h single include for plugin API; update all core
4054 Add sci_set_font() to API.
4055 Update plugin howto.
4056 * src/filetypes.c, src/filetypes.h:
4057 Remove filetypes_foreach_named().
4060 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4062 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4063 src/document.h, src/main.c, THANKS:
4064 Apply patch from Eugene Arshinov to reload color schemes via menu
4067 Reload filetypes.common after saving it.
4069 Improve wrong brace highlighting of non-brace character.
4072 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4075 Delay highlighting matching braces by 100ms, which speeds up
4076 scrolling with the arrow keys.
4077 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4078 Add 'Mark All' keybinding.
4079 * tagmanager/diff.c:
4080 Show relative paths in diff filename tags.
4083 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4085 * src/highlighting.c:
4086 Fix setting keyword list 'classes' for Haxe
4087 (pointed out by Andreas Mokros, thanks).
4090 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4092 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4093 doc/geany.txt, doc/geany.html, geany.glade:
4094 Add 'Drop rest of word on completion' pref.
4095 * src/editor.c, doc/geany.txt, doc/geany.html:
4096 If autocompletion is already visible when forcing completion, show
4097 document word completion instead of tag completion.
4098 Docs: Minor edits of related prefs items.
4099 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4100 Add warning when printing and editor font is not monospaced.
4101 Fix using GtkMessageType instead of gint param for
4102 dialogs_show_msgbox*().
4103 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4105 Support 'tab indents, space aligns' style for auto-indentation
4109 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4111 * src/document.c, src/documentprivate.h:
4112 Rework the GIO based file monitoring code. Now it is used only
4113 to indicate a possible change of the file, the real check if the
4114 file has been changed is performed by stat().
4115 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4116 Add style 'line_height' to increase the line height.
4117 Add style 'marker_mark' and change style 'marker_search' to
4118 define the style used for marked search results.
4119 * doc/geany.txt, doc/geany.html:
4120 Add the new 'Autocomplete all words in document' pref to the docs.
4123 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4125 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4126 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4127 Add 'Autocomplete all words in document' pref.
4128 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4130 Fix limiting number of word completion entries too much.
4131 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4132 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4133 Show autocompletion icons for tag symbols - for now only tags with
4134 an arglist have the 'function/method' icon, all others have the
4136 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4138 * src/highlighting.c:
4139 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4143 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4145 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4146 Fix removing underscores in translated string using no_underscore()
4148 Set a tooltip for the Split Window plugin's Show Current tool button.
4149 Add utils_strdupa() macro.
4150 * src/interface.c, geany.glade:
4151 Use stock Select All icon now we have >= GTK 2.8.
4153 Fix using project name for document items that start with the
4154 project base path but don't match it e.g. ".../geany-plugins"
4155 instead of ".../geany" when project name is 'geany'.
4158 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4161 Fix warnings when the toolbar does not contain the Run button.
4163 Fix wrong parsing of complex expressions in the Lua parser.
4164 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4166 Remove unnecessary enums.
4167 * scintilla/*, scintilla/include/*, src/plugindata.h:
4168 Update Scintilla to version 1.79.
4169 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4171 Use the new Scintilla struct names prefixed with 'Sci_'.
4172 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4174 Add second argument to the 'line_wrap_indent' styling setting to
4175 control the new Scintilla indentation mode for wrapped lines.
4177 Properly close the toolbar editor on delete-events.
4178 Fix warnings and possible crashes in the toolbar editor when the list
4179 of displayed toolbar items is empty.
4180 * data/filetypes.tcl:
4181 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4183 Make the plugin manager dialog a bit bigger.
4186 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4188 * doc/geany.html, doc/geany.txt:
4189 Fix wrong default values for the 'Show Calltip' keybinding.
4192 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4194 * data/filetypes.tcl, src/symbols.c:
4195 Fix duplicate "context_action_cmd" key.
4196 Use different icons for "Methods" and "Procedures" in the symbol
4199 Fix a small memory leak.
4200 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4201 src/keybindings.h, src/plugindata.h:
4202 Make the Scintilla keybindings 'Delete to end of line' and
4203 'Go to end of display line' configurable.
4205 Fix a typo (closes #2813624).
4208 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4210 * tagmanager/tcl.c, src/symbol.c:
4211 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4212 methods and namespaces).
4213 Patch by Witek Mozga, thanks.
4216 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4218 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4219 src/toolbar.c, src/toolbar.h:
4220 Remove ui_toolbar.xml Configuration Files menu item.
4221 Add a real toolbar editor dialog.
4222 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4224 Add a button in the preferences dialog and an item for the toolbar
4225 popup menu to run the toolbar editor dialog.
4228 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4231 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4232 Fix using locale encoding for default Save As dialog path.
4234 Beep when trying to activate the '...' autocompletion item.
4235 Limit (forced) document word completion to
4236 autocompletion_max_entries.
4237 Beep if no completions are shown when forcing autocompletion.
4240 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4242 * data/ui_toolbar.xml, src/toolbar.c:
4243 Add 'Build' toolbar button to the default layout.
4246 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4249 If forcing autocompletion and there's nothing else to show, complete
4250 from words in the current document (using code from Enrico's
4251 'AutoComplete Test' plugin).
4254 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4257 Add debug message if plugin has not set a name for its keybinding
4259 * data/filetype_extensions.conf:
4260 Add *.m4 for shell scripts.
4263 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4265 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4266 data/filetypes.common, TODO:
4267 Make filetypes.common named styles use the "default" named style for
4268 all missing style fields.
4269 Set named styles to usually leave the background style empty. This
4270 currently allows C-like filetypes to have a common default
4272 Allow hard-coded colors to use -1 for the default color.
4273 Add some highlighting style examples to the manual.
4276 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4279 Create initial template files with proper platform-specific line
4283 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4285 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4286 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4287 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4288 src/ui_utils.c, src/ui_utils.h:
4289 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4291 Refactor some related code.
4292 * tagmanager/conf.c:
4293 Strip trailing spaces from "Key" tags.
4295 Quote the full filename to the Geany executable when creating the
4296 "Open with Geany" context menu item.
4297 * plugins/splitwindow.c:
4298 Avoid using deprecated GTK API.
4299 * src/log.c, src/main.c:
4300 Properly clean up the logging mechanism.
4302 Fix LaTeX view commands on Windows (part of #2807688).
4304 Add a popup menu for the keybinding list in the preferences dialog
4305 to easily expand and collapse all groups.
4306 Refactor the keybindings code for the preferences dialog, prefix all
4308 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4309 Init stock items before creating the toolbar (closes #2809324).
4311 Generate the geany.pc file also on Windows.
4313 Invert the logic to determine which Save All we want to use:
4314 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4315 like icon for any other themes.
4318 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4320 * src/highlighting.c, README.Packagers, HACKING:
4321 Remove gsd_* default styles, use named styles instead.
4322 Note: this relies on filetypes.common being installed.
4323 Add load_style_entries(), which makes style initialization
4324 simpler, used in styleset_c_like_init().
4327 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4330 Prevent possible crash on Windows when not setting an initial
4331 directory for native File Open/Save dialogs.
4332 * data/filetypes.xml, src/highlighting.c:
4333 Add style 'jscript_regex' for filetype HTML
4334 (patch by Chris Macksey, thanks).
4337 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4339 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4340 Make GeanyDocument::file_type always be non-NULL, even for a new
4341 document with no filetype set.
4343 Only autocomplete scope for scopes matching the current filetype's
4345 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4346 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4347 data/filetypes.actionscript, data/filetypes.cs,
4348 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4349 data/filetypes.javascript, HACKING:
4350 Make C++, D lexer filetypes use named styles (apart from uuid,
4351 verbatim, regex styles).
4354 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4357 Don't explicitly change the current directory of the Save As dialog
4358 so that it uses the last used directory.
4361 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4363 * src/encodings.c, src/encodings.h, src/plugindata.h:
4364 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4367 When completing from the macro list, put the cursor after
4371 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4373 * tagmanager/pascal.c:
4374 Fix type definitions being parsed as functions.
4376 Don't autocomplete in unterminated strings as well.
4377 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4378 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4379 Remove data_ptr argument to foreach_[s]list() macros, as using
4380 node->data is enough sometimes; this makes the macro a bit more
4382 Add foreach_[s]list() macros to the plugin API docs.
4385 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4387 * scintilla/LexPascal.cxx:
4388 Backport fix from Scintilla CVS:
4389 Pascal lexer hanging on file that starts with 'interface' after
4393 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4396 Update Waf to 1.5.7.
4398 Overwrite installation prefix on Windows only if it wasn't
4399 specified explicitly.
4402 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4405 Display calltips for Pascal symbols in the Pascal way (#2803945).
4406 * tagmanager/pascal.c:
4407 Fix wrongly set return values for procedures (closes #2803945).
4408 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4409 tagmanager/include/tm_source_file.h,
4410 tagmanager/include/tm_workspace.h:
4411 Fix doxygen warnings.
4414 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4416 * src/editor.c, tagmanager/include/tm_workspace.h,
4417 tagmanager/tm_workspace.c, TODO:
4418 Autocomplete scoped fields like struct members when typing '.' (and
4419 also '->' or '::' in C/C++).
4420 Save all tag types for C/C++ when generating a global tags file, so
4421 we can use autocompletion for structs also.
4422 Merge tm_workspace_find_scope_members(),
4423 tm_workspace_find_namespace_members() (currently not built) from
4424 Anjuta 2.24.1 tagmanager.
4427 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4429 * tagmanager/pascal.c:
4430 Parse Pascal calltips (closes #2802640).
4433 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4435 * src/filetypes.c, src/ui_utils.c:
4436 Add filetypes.common Configuration Files menu item.
4439 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4442 Add backslash to the wordchars on Windows when using
4443 'Open Selected File'.
4445 Add support (configure, build and install) for building on Windows
4446 and cross-compiling for Windows using the Waf build system.
4449 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4452 Set status bar text instead of showing a dialog when saving
4453 ui_toolbar.xml because the user might save several times.
4455 Fix redrawing due to colourising just after the document is first
4456 drawn. Now colourising should happen before the first draw.
4457 * src/utils.c, src/highlighting.c, data/filetypes.common:
4458 Fix segfault on parsing a filetypes.* style definition that has < 4
4460 Allow style definitions to have missing fields to use the default
4464 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4466 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4467 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4468 * plugins/classbuilder.c:
4469 Fix wrongly created header guards when the class filenames contains
4470 dashes (patch by PCMan, thanks).
4471 * data/filetypes.matlab:
4472 Add build_settings section to allow executing Matlab scripts.
4474 When closing a document, mark it as invalid before removing it from
4475 the documents notebook (this fixes wrong Save All button state when
4476 closing an unsaved document because the "switch-page" signal handler
4477 was using old data).
4480 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4482 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4483 Support toggling bold/italic when using a named style, e.g.:
4484 commentdockeyword=commentdoc,bold,italic
4485 Improve named style docs.
4488 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4490 * src/build.c, src/editor.c:
4491 Fix crashes when parsing the output of a compiler which reports
4495 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4497 * src/highlighting.c:
4498 Support named styles also for filetypes.common [styling] entries.
4499 * doc/geany.txt, doc/geany.html, HACKING:
4500 Update docs for named styles in filetypes.* files.
4502 Fix grouping symbol list children when parent name has "." character
4503 in for reStructuredText and Conf filetypes.
4504 * tagmanager/python.c:
4505 Fix grouping functions/classes under a nested function.
4508 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4511 Adjust icon paths (patch by Dominic Hopf, thanks).
4512 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4513 Add 'Replace' toolbar button (closes #2798225).
4516 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4518 * src/utils.c, src/highlighting.c, TODO:
4519 Implement named styles support for filetypes.* using a
4520 filetypes.common [named_styles] section e.g.:
4521 foo=0xc00000;0xffffff;false;true
4523 These can be used in e.g. filetypes.c as:
4527 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4530 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4533 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4535 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4536 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4539 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4542 Remove quote_executable() as it is not used anymore.
4543 When creating the geany_run_script.bat use the "%0" variable
4544 expansion and quote it for the "del" command (closes #2797172).
4546 On Windows, fallback to the literal build command line if searching
4547 for the command in the system path failed (related to #2795923).
4548 Properly terminate the resulting strings when reading the stdout
4549 and stderr of any spawned commands on Windows.
4552 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4555 Use the wide character versions of native Windows File dialogs.
4557 Fix wrong initialisation of the default project path button callback
4558 in the preferences dialog.
4559 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4560 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4561 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4562 icons/Makefile.am, icons/geany.ico, icons/scalable,
4563 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4565 Move the icons geany.png and geany.ico into the icons directory.
4566 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4567 Drop the pixmaps directory.
4570 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4572 * src/keybindings.c:
4573 Improve MRU document switching so there are no duplicates in the
4574 list and documents switched to whilst the dialog is open are
4575 ignored. Also beep when cycling through to the first document in the
4579 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4582 Fix broken 'Cancel' button in the Save As dialog.
4585 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4588 Fix multiline indent when selection covers text on the last line.
4590 Show current document in bold in tab popup menu.
4591 * src/editor.c, tagmanager/python.c, TODO:
4592 Parse Python calltips.
4595 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4597 * src/symbols.c, tagmanager/python.c:
4598 Parse Python import statements to get symbol completion for the
4599 imported module names.
4600 * src/editor.c, src/editor.h:
4601 Make some only locally used functions static.
4602 Fix wrong sanity check.
4604 Fix quoting the build command string on Windows (closes #2791769).
4605 This broke when we made build commands run synchronously on Windows,
4606 now we don't need to special quote the commands anymore.
4609 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4612 Drop rest of word to the right of cursor when autocompleting (do we
4613 need a pref for this?).
4616 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4618 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4619 Add sci_set_selection().
4620 * doc/geany.txt, doc/geany.html:
4621 Update manual for MRU switching.
4622 * src/callbacks.c, src/editor.c, src/editor.h:
4623 Make indenting with the Tabs indent type preserve spaces on the line,
4624 so it works for the 'tab indents, space aligns' formatting style.
4627 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4629 * tagmanager/python.c:
4630 Fix missing symbols for variables when an equal sign is used
4631 in a comment on the same line as the variable declaration.
4632 Backport change from CTags SVN to keep the parser more in sync:
4633 Add support for Cython constructs to the Python parser.
4635 Remember the additional Find in Files search flags at startup.
4637 Don't close the Save As dialog when saving the file didn't succeed.
4640 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4643 Remember scribble cursor position.
4644 * src/keybindings.c, TODO:
4645 Implement Most-Recently-Used document switching when pressing
4646 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4649 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4651 * data/latex.tags: Added some more commands from unit.sty and
4655 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4657 * src/symbols.c, doc/geany.txt, doc/geany.html,
4658 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4659 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4660 tagmanager/Makefile.am, wscript:
4661 Merge unstable branch:
4662 Add reStructuredText scope information for tags (for symbol list
4664 Read custom system global tags files from $prefix/share/geany/tags;
4666 Show the number of tags in a user global tags file (instead of the
4667 running total) in the debug message.
4668 Also print debug messages when loading a tag file manually or for
4669 default global tags files e.g. python.tags.
4671 Move NestingLevel tags code into a separate file, add functions.
4673 Add 'Installation prefix' section instead of quoting '/usr/local'
4675 Update for custom system global tags files.
4678 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4680 * src/highlighting.c:
4681 Unset maybe previously keywords when setting up Scintilla for
4682 XML files. This fixed wrong highlighting after switching back to
4683 filetype XML from another one.
4685 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4686 is only used when explicitly requested.
4688 Remove unnecessary call to g_intern_string() to fix build with
4689 GLib 2.8 (closes #2790051).
4692 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4695 Make the clear icon of entry fields act on the release event, not
4696 on the press event like for other buttons.
4698 Refactor some multiple used code into get_multiline_comment_style().
4700 Create parent directories if necessary when checking for the
4701 configuration directory on startup (closes #2784577).
4704 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4706 * plugins/filebrowser.c:
4707 When a filter is set, apply it only to files, not directories and
4708 apply the filter to the UTF-8 name of the file as the filter string
4709 itself is also UTF-8.
4710 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4711 Add utils_color_invert() and use it in highlighting.c and printing.c.
4712 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4713 Backport change from Scintilla CVS:
4714 Change capitalisation of header file to suit cross-compilation on
4718 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4720 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4721 Update Scintilla to version 1.78.
4722 * src/editor.c, src/highlighting.c:
4723 Update Pascal styles as they changed in Scintilla.
4726 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4729 Ignore the invert syntax highlighting colours setting when printing
4730 to not print characters on a dark background (closes #2785244).
4731 * New release: Geany 0.17 "Wessex".
4732 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4733 src/geany.h, doc/geany.html, doc/geany.txt:
4734 Post-release version bump.
4737 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4739 * src/callbacks.c, src/callbacks.h, src/main.c:
4740 Update the View->Fullscreen menu item when fullscreen state is
4741 changed externally (e.g. by the window manager).
4743 Fix passing wrong pointer to the File Open dialog for the Run
4744 command in the Project Properties dialog.
4747 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4749 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4751 Remember the active sidebar page between sessions.
4753 Add a recent project item after creating a new project.
4754 * tagmanager/ruby.c:
4755 Fix wrong parsing of string literals (closes #2781264).
4757 Fix setting focus to the editor widget after changing the selection
4761 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4764 Prevent crashes when two or more top level items in the symbol
4765 list have the same name (closes #2778246).
4768 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4770 * src/keybindings.c:
4771 Manually show the main notebook tab bar menu when Shift-F10 is
4772 pressed. This broke when we disabled the default GTK tab bar menu.
4774 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4775 which was reloaded shortly before.
4777 When the editor menu is opened by the Menu key, use the text cursor
4778 position for retrieving the current word. This fixes disabled
4779 Go to Tag items in the menu (#2780044).
4781 Set the "ellipsize" property of GtkCellRendererText to automatically
4782 shorten the path and file names in the Documents list.
4783 * doc/geany.html, doc/geany.txt, src/build.h:
4784 Increase the amount of highlighted build error messages to 100.
4785 At least for LaTeX we need higher values as there is a lot of
4786 informative output before any errors are reported.
4787 * src/filebrowser.c:
4788 Use the startup path as the initial directory for the filebrowser
4789 plugin when no project and no files are opened
4790 (patch by Matias Gea, thanks; closes #2780521).
4793 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4795 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4796 src/utils.c, src/utils.h:
4797 Ellipsize tab labels and some status messages for very long
4798 filenames (closes #2777348).
4799 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4800 Add utils_str_middle_truncate() and
4801 document_get_basename_for_display() to the plugin API.
4802 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4803 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4804 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4806 Add a hidden preference 'use_safe_file_saving' to save files to disk
4807 by creating a temporary file first. This has serious side effects,
4808 please read the documentation before enabling this.
4810 Make build commands on Windows run synchronously to avoid problems
4811 with reading build commands' output.
4812 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4813 Limit the amount of highlighted build error messages in the
4814 Compiler window to 50 for performance reasons.
4817 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4819 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4821 Replace our own GEANY_KEYS_MODIFIER_MASK by
4822 gtk_accelerator_get_default_mod_mask() which gives the same result.
4823 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4824 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4825 Add a trivial symbol parser for NSIS files.
4828 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4831 Hide the extra file open dialog options in an expander to make the
4832 dialog more compact by default and to provide more space for the
4834 Remove the filename field as it is also provided by GTK itself with
4835 more features like auto-completion.
4836 Watch the 'show-hidden' property of the file chooser widget using
4837 GObject's "notify" signal which gives accurate results and remove
4838 the hack using the "selection-changed" signal.
4841 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4843 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4844 Prevent double execution of radio menu item "activate" or "toggled"
4846 Move 'Set Encoding' callback function into encodings.c.
4849 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4852 Add some missing 'void's in function definitions.
4853 If the project base path is './', just use the path of the project
4854 config file instead of appending './'.
4855 * src/treeviews.c, src/project.c:
4856 When a project is loaded, replace the project base path with the
4857 project name in the Documents sidebar for parent items
4861 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4863 * src/keyfile.c, src/keyfile.h, src/project.c:
4864 Fix duplicating the recent files and projects lists when closing
4866 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4867 src/editor.c, src/encodings.c, src/filetypes.c,
4868 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4869 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4870 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4871 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4872 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4873 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4874 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4876 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4877 sense to keep the code more readable.
4880 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4883 When updating global type definitions for opened documents, take
4884 also C++ namespace symbols into account and don't ignore symbols
4885 which are defined inside a scope.
4888 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4891 Don't show 'plugin is not binary compatible' messages on the status
4892 bar, only the status window.
4895 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4898 When opening files from a remote instance on X11, set the window
4899 server time to encourage window managers to pop up the main window
4900 (related to #2735467 and #2276179).
4902 When finished sending filenames to a remote instance, notify the
4903 environment that we finished starting up.
4906 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4908 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4909 Sort Configuration Files menu.
4910 Add ui_menu_sort_by_label().
4911 Add foreach_list() macro.
4916 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4919 Fix setting a wrong default window size when starting without an
4920 existing configuration.
4921 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4922 Make editor_highlight_braces() static.
4923 Remove unused wrapper functions.
4924 * src/editor.c, src/symbols.c, src/symbols.h:
4925 Prevent showing an empty macro list.
4926 Show only macros of the same filetype instead of all macros of all
4929 Don't add opened project files to the GtkRecentManager.
4932 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4935 Add Configuration Files item for snippets.conf.
4936 * src/highlighting.c, src/symbols.c:
4937 Fix 2 old uses of filetype IDs.
4940 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4942 * src/interface.c, src/printing.c, geany.glade:
4943 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4946 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4949 Add sanity checks in ui_lookup_widget() just to be safe.
4950 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4951 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4952 src/project.h, src/ui_utils.c, src/ui_utils.h:
4953 Add "Recent Projects" menu to the Project menu
4954 (#2728630, patch by Elias Pschernig, thanks).
4955 * doc/geany.txt, doc/geany.html:
4956 Describe how to build Geany using the Waf build system.
4957 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4958 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4959 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4960 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4961 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4962 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4963 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4964 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4965 src/utils.c, src/utils.h, src/vte.c:
4966 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4967 performance when building the code with gcc.
4968 * src/highlighting.c:
4969 Fix typo in the G_LIKELY checks, introduced in last commit.
4970 Fix the size of the styles array.
4972 Show a message dialog when renaming a file fails.
4975 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4978 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4979 (as we did for all other files in SVN r3382).
4982 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4984 * src/filetypes.c, doc/geany.txt:
4985 Move ActionScript to the Script group.
4987 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4988 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4989 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4990 plugins/htmlchars.c:
4991 Merge reorder-filetypes branch:
4992 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4993 append randomly without breaking the ABI).
4994 Make None filetype name = title = _("None").
4995 Add foreach_slist() macro.
4996 Add filetypes_by_title list to GeanyData for plugin API access
4997 - a list of filetype pointers, which includes the None filetype
4998 first. This list stays constant by the time plugins are initialized,
4999 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5000 index the sorted list.
5003 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5005 * doc/geany.txt, doc/geany.html, src/main.c:
5006 Add widget names for the menubar and toolbar.
5008 When hiding the messages window, set the input focus back to the
5009 editor widget (part of #1910393).
5012 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5014 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5015 Backport recent changes from Scintilla CVS to add partial support
5016 for RFC2822 styled text using the Properties lexer.
5017 Ignore leading whitespace for config files and RFC2822 text.
5018 * data/filetypes.actionscript:
5019 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5020 * THANKS, src/treeviews.c:
5021 Display file/directory icons in the Documents sidebar
5022 (patch by Simon Treny, thanks).
5025 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5027 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5028 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5029 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5030 Add an option to allow appending the toolbar to the main menu bar
5031 to save some vertical space.
5032 Allow setting toolbar icon size to very small (menu icon size).
5035 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5037 * src/keyfile.c, src/utils.c, src/utils.h:
5038 Add utils_path_skip_root(), a relative path safe variant of
5039 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5040 * src/keyfile.c, src/main.c:
5041 Allow negative window coordinates when saving and restoring the
5042 position of the main window.
5043 Restore the main window position and size *after* the window has
5044 been realised to get it positioned accordingly
5045 (this affects at least Windows).
5048 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5050 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5051 Use g_win32_get_package_installation_directory_of_module() on Windows
5052 with newer GLib versions instead of deprecated API.
5053 * src/keybindings.c:
5054 Don't manage the last used documents list when quitting to prevent
5055 errors by accessing invalid memory (may close #2533990).
5058 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5061 Delete the geany_run_script.sh immediately after execution
5062 to prevent leaking old copies when the script was quit unexpectedly
5063 (closes #2710482, patch by Martin Olsson, thanks).
5065 Check whether skipping the root element of a document's filename
5066 succeeded and use the filename itself if not (e.g. on relative
5067 filenames, #2702844).
5068 Use the locale encoded filename when saving session files.
5070 Re-set the quitting status after all documents have been closed on
5074 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5076 * plugins/htmlchars.c:
5077 Remove usage of deprecated sci_get_selected_text() from plugin.
5080 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5083 Delay disk file checks when switching between documents a little
5084 bit to avoid fast, unintentional page switching in some cases.
5085 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5086 src/sciwrappers.c, src/sciwrappers.h:
5087 Deprecate sci_get_text(), sci_get_selected_text() and
5088 sci_get_text_range().
5089 Add sci_get_contents(), sci_get_contents_range() and
5090 sci_get_selection_contents() as replacement functions to provide
5091 an easier and cleaner API (initial patch by Frank).
5094 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5097 Fix wrong parsing of CSS tags when the definition block starts on
5098 a new line (reported by Dominic Hopf, thanks).
5101 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5103 * plugins/htmlchars.c:
5104 Extend plugin by feature to bulk replace and replace on input for
5105 special characters to their HTML entities.
5108 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5111 Update build menu items after changing anything in the
5112 'Set Includes and Arguments' dialog.
5113 Disable Compile/Run buttons/menu items when Compile/Run commands are
5115 Reset current build directory to the base directory after reading a
5116 "Leaving directory" message when parsing Make output
5117 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5119 Fix wrong display of the filename in the tab bar menu for new files.
5121 Set the initial directory for the Save As dialog only once on
5123 Add a shortcut of the project's base directory to the
5124 File Open/Save As dialogs when a project is open for faster access.
5125 * src/splitwindow.c:
5126 Add keybindings for the split actions.
5129 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5132 When using Find All in the Find dialog (in Session and Document),
5133 display the right amount of matches.
5134 Fix the display of the matches once per line (I broke the original
5137 Fix wrong directory selection behaviour in all Open Folder dialogs
5138 (closes #2688020, patch by Marcel Stimberg, thanks).
5140 Don't present the main window of a running instance when starting
5141 a second instance separately.
5144 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5147 Reduce default file permissions on the Unix Domain socket file
5148 (reported by Jörg Sommer, thanks).
5151 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5153 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5154 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5156 Add an option to set an additional plugin lookup path.
5158 When using Find All in the Find dialog, display matches only once
5159 per line in the messages window (patch by Bert Vermeulen, thanks).
5162 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5164 * data/filetype_extensions.conf, data/filetypes.actionscript,
5165 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5166 src/highlighting.c, src/plugindata.h, src/symbols.c,
5167 tagmanager/Makefile.am, tagmanager/actionscript.c,
5168 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5169 Add filetype ActionScript (patch by Chris Macksey, thanks).
5170 Update type keywords only for real C-like languages.
5171 Fix wrong sorting of Assembler and Ada filetypes.
5172 * plugins/classbuilder.c:
5173 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5174 Other minor cleanups.
5177 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5180 Don't use menu item images for the tab bar menu to save some
5182 * data/filetypes.fortran, tagmanager/fortran.c:
5183 Add keyword 'extends' and fix Fortran parser to support the
5184 'extends' keyword (closes #2654492).
5185 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5186 src/search.c, src/toolbar.c:
5190 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5192 * src/about.c, THANKS:
5193 Added Jari Rahkonen to list of Finnish translators.
5196 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5199 Adjust minimum required GTK version.
5200 * src/Makefile.am, wscript:
5201 Add main.h to the list of installed header files.
5202 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5203 src/notebook.c, src/ui_utils.c:
5204 Remove GeanyDocumentPrivate::tabmenu_label.
5205 Disable the default tab bar menu for the main notebook widget and
5206 use a custom menu instead which lists all open files as usual plus
5207 'Close Other Documents' and 'Close All' menu items.
5210 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5212 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5213 Move ui_set_search_entry_background() into ui_utils.c.
5214 Change the background colour of the search entries in the Find
5215 and Replace dialogs according to the search results like in the
5216 toolbar search field.
5217 Add images to the 'Replace' and 'Replace and Find' buttons in the
5219 Minor cleanups in search.c.
5220 * tagmanager/tm_source_file.c:
5221 Update source files upon creation.
5223 Update C tags for glibc 2.9.
5224 * src/callbacks.c, src/toolbar.c:
5225 Fix broken non-incremental search with the toolbar search entry when
5226 pressing Enter (closes #2638180).
5227 * plugins/splitwindow.c:
5228 Fix possible crash on non-32-bit systems (patch by
5229 Wolfgang Ocker, thanks).
5231 Update the Packager tag due to Dominic's various contributions.
5232 Update description and feature list.
5233 Change Source tag to the gzip'ed tarball to be in sync with the
5234 Makefile target (thanks to Wolfgang Ocker for reporting).
5237 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5239 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5240 Removed deprecated plugin VC Diff
5243 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5246 Fix wrong Fortran 90 comment characters when inserting templates.
5247 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5248 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5249 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5251 Add 'Send Selection to Terminal' command to the Edit->Format menu
5252 (initial patch by David Gleich, thanks).
5253 * geany.glade, src/interface.c:
5254 Fix mnemonic for the Edit->Preferences menu item.
5257 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5259 * configure.in, plugins/Makefile.am:
5260 Enable socket support when cross-compiling.
5261 Enable plugin compilation when cross-compiling.
5263 Fix missing NULL checks when reading the colour value of compiler
5265 * src/main.c, src/win32.c, src/win32.h:
5266 On Windows, change the working directory to the Geany installation
5267 path at startup to avoid unwanted directory locking(closes #2626124).
5269 Fix broken selection of "Document->Set Encoding" menu items.
5270 * src/document.c, tagmanager/include/tm_source_file.h,
5271 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5272 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5273 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5274 Don't let the tagmanager automatically reparse files if they
5275 seem to be changed on disk (affects all files in the current session,
5276 not the current one). This should speed up file saving a little bit,
5277 especially with remote files.
5278 Remove now unnecessary calls to tm_workspace_update().
5280 Allow an empty value for the date format in the print settings to
5281 omit the date/time string in the print header.
5284 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5286 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5290 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5293 Add missing header include (closes #2615808).
5296 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5299 Fix a possible crash when comparing symbol names
5300 (could be related to Ubuntu bug #147151).
5301 Fix broken symbol list tooltips when tag names contain ampersands.
5304 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5306 * plugins/makefile.win32:
5307 Don't build Split Window plugin on Windows (doesn't work).
5310 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5312 * ChangeLog, Makefile.am: Rotate ChangeLog.
5313 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5314 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5315 Post-release version bump.
5318 *** See ChangeLog.pre-0-17 for earlier changes ***