1 2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * doc/geany.txt, doc/geany.html:
4 Move and update 'Custom filetypes' section.
5 Add 'Creating a custom filetype from an existing filetype' section.
8 2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 * src/interface.c, src/keybindings.c, geany.glade:
11 Add Edit->Insert Alternative White Space menu item (was previously
12 removed from Edit->Commands submenu).
15 2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
17 * src/interface.c, geany.glade:
18 Split Preferences dialog Interface tab into subnotebook to reduce
19 height of dialog (fixes #3141277). Reuses existing strings.
21 Scroll to the current line when moving the cursor to the next
22 cursor position in a snippet (#3139490).
23 * doc/geany.txt, doc/geany.html:
24 Add short 'View menu' section and 'Color schemes menu' section.
25 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
26 Add filetypes_get_display_name() to API.
29 2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
32 Reduce Set Build Commands dialog column 1 width by using '#' label.
35 Use italic for note labels in the Build Commands dialog.
38 2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
40 * src/build.c, src/build.h:
41 Replace doc-comments with '/* *' comments to show there's no build
45 2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
47 * src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
48 Fix segfaults when using 'Send Selection to Terminal' and the VTE
49 is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
50 pref (patch by Dimitar Zhekov, thanks).
51 * src/build.c, src/keyfile.c:
52 Fix some more wrong uses of vte_info.load_vte instead of
55 Disable 'Send Selection to Terminal' item when not available
56 instead of removing it to avoid trailing separator.
57 * doc/geany.txt, doc/geany.html:
58 Add 'Configuration file paths' section and link to it instead of
59 repeating typical system data and user config directory paths.
60 List 2 Tools->Configuration Files menu items.
61 Add 'Plugin Manager' section break.
62 Edit some related sections.
63 * doc/geany.txt, doc/geany.html:
64 Update Ignore Tags section with example and menu item.
65 * doc/geany.txt, doc/geany.html:
66 List 'Tools->Configuration Files->filetypes.common' menu item.
69 2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
72 Improve error message for document_save_file() if doc->file_name is
73 NULL (reusing existing strings).
74 Add warning about this in the API docs.
77 2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
79 * scintilla/ScintillaGTK.cxx:
80 Backport Scintilla HG fix: Remove styling idle in destructor to
81 avoid crashing when idle called after ScintillaGTK instance
82 destroyed (fixes #3111058).
83 This prevents a crash when closing a modified document (usually
84 without a trailing newline) and choosing Save.
87 2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
90 Warn about file truncation if unsafe file saving fails.
93 2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
96 Check result of fclose() for utils_write_file().
99 2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
102 Enable GIO and built-in regex support on Windows
103 when compiling without Waf.
106 2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
109 Reformat and improve the Windows resource file.
112 2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
114 * data/filetype_extensions.conf:
116 * src/interface.c, geany.glade:
117 Add note to indentation prefs page about using Project->Apply
118 Default Indentation for currently open documents.
121 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
123 * src/interface.c, src/keybindings.c, src/callbacks.c,
124 src/callbacks.h, geany.glade:
125 Add 'Mark All' Search menu command.
126 * src/symbols.c, doc/geany.txt, doc/geany.html:
127 If the current word's tag is on the current line, make Go to Tag
128 Definition look for a tag declaration instead, as this is more
129 useful. Likewise make Go to Tag Declaration search for a tag
130 definition in this case also.
131 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
132 Don't use 'Enable' in pref labels when unnecessary.
133 Rename XML/HTML tag autocompletion -> auto-closing.
134 * src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
136 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
138 * src/keybindings.c, src/editor.c, src/editor.h:
139 Add editor_get_prefs() instead of editor_get_long_line_*()
140 functions. This general function can be extended to support
141 various project and document overrides.
142 * src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
143 src/editor.c, src/editor.h:
144 Remove unnecessary 'global' from long line editor pref field names.
147 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
149 * doc/geany.txt, doc/geany.html:
150 Explain how to grep the source for Scintilla lexer properties.
151 * src/sidebar.c, src/callbacks.c, src/main.c:
152 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
153 Only auto-display symbols and documents tabs when showing the
154 sidebar if there are no plugin tabs.
155 Don't hide the sidebar on startup if only plugin tabs are visible
158 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
159 so you can protect code with '#if GEANY_API_VERSION >= 200'.
161 Warn about preprocessor testing GEANY_API_VERSION below 200 because
162 those tests will always fail.
165 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
167 * data/filetypes.xml:
168 Add 'instanceof' keyword for PHP (closes #3109330).
171 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
173 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
174 Re-focus Set Build Commands/Project dialogs after editing a build
176 Add 'parent' argument to some dialogs_show_input*() functions because
177 the dialog parent may not always be the main window.
178 * src/build.c, src/dialogs.c, src/callbacks.c:
179 Don't change default build command entry color when cancelling
181 Make dialogs_show_input() return NULL when cancelled.
183 Parse PHP final functions (fixes #3111171).
184 * src/dialogs.c, src/plugindata.h, src/plugins.c,
185 plugins/geanyfunctions.h:
186 Add dialogs_show_input() to API.
189 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
191 * src/build.c, doc/geany.txt, doc/geany.html:
192 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
193 Build Commands dialog.
194 * doc/geany.txt, doc/geany.html:
195 Use 'Filetype build commands' and 'Independent build commands'.
196 Fix saying project *independent* execute can only be set by hand.
199 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
201 * src/keybindings.c, src/editor.c, src/editor.h:
202 Make Reflow Lines/Block command use the current indented block, not
203 the whole paragraph, which could have mixed indentation.
204 Fix memory leak and off-by-one bug on first line when using Select
206 * src/utils.c, src/highlighting.c, src/highlighting.h,
207 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
208 plugins/geanyfunctions.h:
209 Add API functions (patch by Eugene Arshinov, thanks):
210 Move editor.c: is_{string,comment,code}_style() functions to
211 highlighting.c, add to API.
212 Add editor_find_snippet(), editor_insert_snippet(),
213 utils_find_open_xml_tag() to API.
216 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
218 * src/editor.c, doc/geany.txt, doc/geany.html:
219 Don't use XML tag auto-indentation when '</' is to the right of the
220 cursor; allow auto-indentation when XML tag auto-closing is also
222 * doc/geany.txt, doc/geany.html:
223 Rename 'Format' section 'Filetype configuration'.
226 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
229 Update Waf to current SVN version.
232 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
235 Update Waf to version 1.6.1.
236 Update wscript for new Waf version, make it Python 3 compatible.
239 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
242 Display better error messages when saving a document fails (patch by
243 Dimitar Zhekov, thanks).
245 Fix wrong snippet indentation when original cursor line has
246 non-indentation whitespace (patch by david, thanks).
247 * doc/geany.txt, doc/geany.html, data/filetypes.php,
248 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
249 Enable XML tag autoindentation for PHP, Docbook and add docs for
250 this setting (patch by Eugene Arshinov, thanks).
253 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
255 * src/templates.c, src/document.c:
256 Use LF line endings for templates internally instead of default
257 pref because the default can change. This fixes missing line
258 endings sometimes when changing default setting.
260 Fix not reporting an error message when saving a document fails.
261 Check result of fclose().
262 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
263 data/filetypes.xml, data/filetypes.html:
264 Add xml_indent_tags filetype setting for documents using the
265 HTML/XML lexers (patch by Eugene Arshinov, thanks).
267 Set errno to 0 before doing disk I/O to prevent confusing error
268 messages on save failure.
271 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
273 * src/templates.c, src/filetypes.c:
274 Save build commands for filetype None (patch by Lex, thanks).
275 Make filetypes_get_conf_extension() return "common" for filetype
278 Convert line endings for file templates.
279 Fix line endings when using file header template in a file template
281 * src/utils.c, src/utils.h:
282 Make utils_ensure_same_eol_characters() convert all wrong line
283 endings to the desired one, not just the most common one.
286 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
289 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
291 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
292 Restore top-level editor popup item 'Find Document Usage'.
293 * src/interface.c, src/ui_utils.c, geany.glade:
294 Remove duplicates in 'Insert Comments' editor popup menu; rename
296 Separate main menu insertion comments depending on number of times
298 * data/filetypes.*, data/colorschemes/alt.conf:
299 Rename word/word2 named styles to keyword/keyword2.
300 * doc/geany.txt, doc/geany.html:
301 Mention that indentation settings can be overridden per-project.
302 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
303 doc/geany.txt, doc/geany.html, geany.glade:
304 Add 'Project->Apply Default Indentation' menu command to override
305 every document's indentation settings.
306 Improve 'Indentation' section docs.
309 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
312 Fix build with GTK 2.12: explicitly include gio.h if GIO
313 is available and to be used regardless of the USE_GIO_FILEMON flag.
315 Fix installation of template files.
316 Show which regex implementation is used.
318 Use non-GIO mime-type icon lookup if GIO lookup fails.
320 Allow skipping configure during autogen by setting NOCONFIGURE=1
321 (thanks to Chow Loong Jin).
324 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
327 Make use_safe_file_saving hidden pref apply even when GIO is
328 available, because g_file_replace_contents() doesn't handle disk
331 Show GIO/built-in regex support in startup debug message as well as
333 * doc/geany.txt, doc/geany.html:
334 Add docs for the HTMLChars plugin (patch by Frank).
337 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
340 Do not translate 'name' field for filetype None because it is used
341 for hash table lookup. This fixes missing files in the Open dialog
342 for the 'All files' filter with non-English locales (thanks to Sardem
343 FF7, fixes #3094771).
344 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
346 Add filetypes_get_display_name() to get translations for filetype
349 Fix resource leak when saving files with GIO (patch by Colomban
353 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
355 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
356 Add sci_get_lexer() to plugin API.
357 * plugins/htmlchars.c:
358 Only automatically replace characters when the current document is
360 * plugins/htmlchars.c:
361 Rename submenu item labels to be more descriptive.
363 Fix Alt+[0-9] switching tabs when other modifiers are also held.
365 Don't allow pasting of numbers followed by other characters in the
366 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
368 Print "GIO" and "built-in regex" if enabled with --version.
370 Use g_file_replace_contents() if available to save documents - this
371 should help workaround bugs in GVFS (based on patch by Alexey
375 Fix wrongly adding newlines for templates on disk that don't have
376 LF line endings when default line endings are not LF, e.g. Windows.
379 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
381 * src/utils.c, src/main.c:
382 Remove trailing directory separator for app->datadir and
383 app->docdir for consistency with the other directory fields.
385 Detect user and system filetype configuration files as Conf
388 Respect 'Smart' home key for Shift+Home (fixes #3100290).
391 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
393 * data/filetypes.ada:
394 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
397 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
400 Add install-data-only target to only install data/* to speed up
403 Fix not autocompleting when breaking lines.
404 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
405 data/colorschemes/alt.conf, data/filetypes.haxe,
406 data/filetypes.common, data/filetypes.glsl,
407 data/filetypes.actionscript, data/filetypes.cs,
408 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
409 data/filetypes.Genie.conf:
410 Add named style 'extra', use for C-like filetypes.
413 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
415 * data/filetypes.xml:
416 Match data-* and aria-* as HTML attributes.
417 * data/colorschemes/alt.conf, data/filetypes.common,
418 data/filetypes.python:
419 Make Python use named styles for color scheme support - use
420 alt.conf color scheme if you want the old colors.
421 Add named style 'function'.
423 Move plugin_set_info prototype and parenthesize arguments for
424 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
426 Fix putting pointer symbol before name, not after type.
429 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
431 * src/filetypes.c, src/ui_utils.c:
432 Fix notebook tab menu icons using theme for "text/plain" filetypes.
433 Make filetype mime_type "text/plain" instead of NULL.
436 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
438 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
439 Edit XML tag autocompletion pref and tooltip to include HTML.
440 * doc/geany.txt, doc/geany.html:
441 Add docs for 'Ensure consistent line endings' pref.
443 Change default for 'Override Geany keybindings' to on.
445 Sort filetypes_by_title last instead of on insertion to prevent
447 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
448 Add filetype mimetype field (patch by Colomban Wendling, thanks).
449 * src/sidebar.c, src/document.c:
450 Show mimetype icon in sidebar Documents list (patch by Colomban
453 Add notebook tab document icons (based on patch by Colomban
456 Leave text/plain mime_type fields as NULL (like custom filetypes).
459 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
461 * src/editor.c, data/snippets.conf:
462 Move HTML automatic <table> tag completion into a 'table' snippet
463 so the user can decide when to use it (patch by Eugene Arshinov,
465 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
466 src/document.c, src/document.h, THANKS, geany.glade:
467 Add 'Ensure consistent line endings' file saving pref (patch by
469 * src/utils.c, src/utils.h, src/editor.c:
470 Auto-indent after an HTML/XML line with a missing closing tag (patch
471 by Eugene Arshinov, thanks).
472 Behaviour only applies if XML tag autoclosing is off.
473 * src/templates.c, src/build.c, src/document.c, src/editor.c,
474 src/symbols.c, plugins/saveactions.c:
475 Remove unnecessary uses of FILETYPE_ID() macro with
476 GeanyDocument::file_type.
477 * data/filetypes.xml:
478 Add HTML5 attributes (thanks to Ross McKay).
481 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
484 Fix not changing edited keybindings when cancelling the Preferences
486 * data/filetypes.xml:
487 Add HTML5 element names (thanks to Ross McKay).
490 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
492 * src/utils.c, src/filetypes.c:
493 Remove filetype default extensions from code.
495 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
497 Refactor shared code with kb_cell_edited_cb().
500 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
502 * src/highlighting.c:
503 Use radio buttons for View->Editor->Color Schemes menu.
504 Don't hide the menu when only the default item is available.
505 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
506 Add alternative color scheme based on Python colors.
507 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
508 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
509 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
510 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
511 Add Erlang filetype (patch by Taylor Venable, thanks).
512 * src/filetypes.c, data/filetypes.*:
513 Move filetype 'extension' default into data files.
514 * src/filetypes.c, data/filetypes.vala:
515 Move filetype comment_{open,close} defaults into data files.
518 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
520 * data/filetypes.c, data/filetypes.d:
521 Add missing C99 keyword 'restrict' (#3046716).
522 Add missing D1 keywords 'ref' and 'macro'.
525 Parse Vala functions with contracts (#3080232).
527 Fix saving project indent prefs straight after using project
529 * src/highlighting.c, src/filetypes.c:
530 Prevent debug message about a missing 'default' named style when
531 using just a user color scheme file.
534 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
537 Fix off-by-one bug in 'search_mark_all'.
540 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
543 Ignore D /+ +/ comments.
545 Ignore D unittest blocks.
546 Parse D template functions with constraints.
547 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
548 Add 'Insert New Line Before/After Current' keybindings (based on
549 patch by Eugene Arshinov, thanks).
551 Use secondary text for 'file not found on disk' dialog.
554 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
557 Fix build with GLib 2.8.
560 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
562 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
563 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
564 Revert X11 workspace socket support as it needs more work; moved
565 to workspace-sockets branch.
568 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
570 * src/geanywraplabel.c:
571 Fix build with GLib 2.8.
572 * src/dialogs.c, src/about.c, THANKS:
573 Group Open dialog encoding options by submenus (patch by Adam Ples,
575 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
576 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
577 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
578 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
579 Add Lisp filetype (patch by Mário Silva, thanks).
580 Note: Lisp lexer was taken from Scintilla instead.
583 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
585 * po/kk.po, THANKS, src/about.c:
586 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
590 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
592 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
593 Don't cache overridden lexer properties.
594 Add foreach_strv() to plugin API.
595 Add utils_strv_join().
596 * tagmanager/basic.c:
597 Parse property, constructor, destructor as functions (patch by
598 pottersson, thanks; #2992167).
601 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
603 * src/tools.c, doc/geany.txt, doc/geany.html:
604 Fix passing quoted arguments when using 'Send Selection to'. This
605 means sed 's/\./(dot)/g' now works.
607 Add snippet keybinding support for keys in user snippets.conf (based
608 on patch by Eugene Arshinov, thanks). No docs yet.
609 * doc/geany.txt, doc/geany.html:
610 Add some subheadings for Snippets section.
611 * doc/geany.txt, doc/geany.html:
612 Add snippet keybindings docs.
613 * src/highlighting.c, src/utils.h:
614 Move foreach_strv to utils.h.
615 * src/editor.c, data/snippets.conf:
616 Read snippet keybindings from system keyfile also.
617 Add keybinding example to default snippet.conf.
620 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
622 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
623 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
624 data/filetypes.txt2tags, data/filetypes.markdown,
625 data/filetypes.restructuredtext:
626 Add symbol_list_sort_mode per-filetype setting, set to sort by line
627 number by default for Markdown, reStructuredText and Txt2Tags.
628 Add utils_get_setting() macro for reading a key from a home or
630 Move GeanyFiletypePrivate to filetypesprivate.h.
631 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
632 Link with X11 if found to fix linking with a recent GNU ld.
634 Avoid delay and redrawing when automatically opening a new document
636 * scintilla/LexForth.cxx, scintilla/makefile.win32,
637 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
638 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
639 data/filetypes.forth, data/filetype_extensions.conf, wscript:
640 Add Forth filetype (patch by Thomas Huth, thanks).
642 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
643 commands for 'Send Selection to' (oops).
646 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
649 When commenting/uncommenting with single-line comment characters,
650 ignore any end of line characters before evaluating the current line.
651 * data/filetypes.python:
652 Simplify Python Compile/Syntax Check command.
655 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
657 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
659 Add hidden pref 'find_selection_type' with option to repeat last
660 search when there's no selection.
661 Change default Find Selection behaviour to not let the X selection
662 override the current word (can be confusing).
663 Add docs for Find Selection commands.
665 Fix segfault on idle callback when quitting.
666 * src/interface.c, src/keybindings.c, geany.glade:
667 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
669 * src/interface.c, geany.glade:
670 Move editor popup menu Insert Comments submenu to top of Insert menu.
671 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
673 Add hidden pref new_document_after_close for whether to open a new
674 document automatically, off by default.
676 Add 'Bugs to watch out for' section.
679 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
681 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
682 doc/stash-gui-example.c:
683 Improve Stash GUI example.
686 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
688 * src/interface.c, geany.glade:
689 Move Go to Marker menu items to Search menu.
690 Rename popup editor menu item Commands -> Edit.
691 * src/callbacks.c, src/search.c, src/search.h:
692 Move find_again() to search.c.
694 Make Find Selected commands repeat the last search if the selection
696 * doc/geany.txt, doc/geany.html:
697 Add docs for Find Selection keybindings.
698 * src/interface.c, src/keybindings.c, geany.glade:
699 Unify Find Selection strings.
700 * src/interface.c, src/ui_utils.c, geany.glade:
701 Group editor popup Insert commands in a submenu, with extra items
702 for the most commonly used Insert Comments commands.
703 Show Edit->Commands before Format in menubar Edit menu (to match
705 Show Open Selected F_ile popup item below submenus.
708 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
711 Refactor shared submenu code with GeanySharedMenu array.
712 * src/interface.c, src/ui_utils.c, geany.glade:
713 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
714 shared with the editor popup menu.
716 Open a new document automatically after closing all documents.
719 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
722 Prompt for reloading if the document has an undo stack to avoid
723 losing undo ability on accidental reloading (patch by Colomban
725 * src/project.c, src/geanyobject.c, src/geanyobject.h,
727 Add plugin signals project-dialog-create and
728 project-dialog-confirmed so plugins can append a Project Properties
729 notebook tab (patch by Jiří Techet, thanks).
730 * src/ui_utils.h, src/plugindata.h, src/main.c:
731 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
732 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
733 src/plugins.c, plugins/geanyfunctions.h:
734 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
737 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
740 Save document indent width with the session.
741 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
742 doc/geany.html, TODO:
743 Use a separate socket per workspace on X (patch by Erik de Castro
747 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
750 Ignore directories passed on the command-line (based on patch by
751 Erik de Castro Lopo, thanks).
753 Parse D function template names.
754 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
755 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
757 Allow per-document indent width setting (patch by Jiří Techet,
758 updated by Erik de Castro Lopo - thanks).
759 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
760 Combine indent width menu item callbacks.
761 * src/interface.c, geany.glade:
762 Don't translate indent width menu items as they are now used for
766 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
768 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
769 Remove 3 popup menu items to save space:
770 Find Document Usage because Find Usage can be used instead.
771 Go to Tag Declaration because Go to Tag Definition is more common.
772 Go to Line because the toolbar item can be used instead.
773 * src/tools.c, src/search.c, tagmanager/python.c:
774 Fix some 'possible' NULL pointer dereferences (based on patch by
775 Erik de Castro Lopo).
776 * src/keybindings.c, src/keybindings.h, src/prefs.c:
777 Simplify keybindings_check_event().
780 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
783 Use up/down icons for Previous/Next Error.
784 * src/interface.c, src/keybindings.c, src/callbacks.c,
785 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
787 Add Find Usage and Go to Tag items to Search menu for easier
789 * tagmanager/tm_symbol.c:
790 Fix possible NULL dereference.
792 Add link to glade-2.12.2.tar.gz on geany.org.
793 * doc/geany.txt, doc/geany.html:
794 Mention the filetype wordchars setting can be overridden by the
795 whitespace_chars filetypes.common setting.
796 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
797 Remove NULL checks when calling g_free() (patch by Erik de Castro
800 Show Save As when saving if the document filename doesn't have an
801 absolute path, so command-line new files can be saved without a
802 prompt, but file templates still prompt the user.
805 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
808 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
812 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
814 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
815 Add GeanyMainWidgets::message_window_notebook for plugins to append
816 a new notebook page (#3061342).
818 Add Close button to the detected file changed dialog.
819 * src/interface.c, geany.glade:
820 Add separator between Find Previous and Find in Files.
821 Add up/down icons for Previous/Next Message.
824 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
826 * data/snippets.conf:
827 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
831 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
834 Fix broken editing of build menu labels.
835 * src/encodings.c, src/filetypes.c, configure.ac:
836 Auto-enable building with included regex if no regcomp function is
838 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
839 regex support is required.
841 Backport fix for possible infinite loop from CTags.
842 * scintilla/PlatGTK.cxx:
843 Backport list box memory leak fixes from Scintilla 2.20.
846 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
849 Make the Properties dialog filename a label and put it first (patch
850 by Jiří Techet, thanks).
851 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
853 Remove the "Set build working directories" button from the project
854 properties dialog (patch by Jiří Techet, thanks).
856 Include all files if the Find in Files pattern field is enabled and
859 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
862 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
864 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
865 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
866 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
867 data/filetypes.txt2tags, wscript:
868 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
869 * m4, configure.ac, Makefile.am:
870 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
872 Only prompt for reloading if the document has unsaved changes
873 (patch by Jiří Techet, thanks).
876 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
879 Apply a patch by Jiří Techet which is preventing warnings when using
880 -Wmissing-prototypes on compiling. Thanks.
883 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
885 * scintilla/KeyWords.cxx:
886 Link Octave instead of Matlab.
887 Add comment about not being autogenerated.
888 Minor changes to fit Scintilla order.
889 * src/build.c, src/build.h:
890 Replace GeanyBuildCommand::entries array with separate fields.
891 Similar to r5077 in the bs2 branch, but with less loop unrolling.
893 Remove buildcmd_* accessor functions.
896 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
898 * src/highlighting.c, src/editor.c:
899 Use Octave lexer instead of Matlab to support Octave # comment char.
902 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
905 Fix segfault on Tools->Reload Configuration when no documents are
907 * scintilla/LexMarkdown.cxx:
908 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
911 Fix saving non-project filetype error regex.
913 Fix memory leak in read_regex().
916 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
919 Check for libsocket on OpenSolaris to fix build.
921 Rewrite the logic to auto detect encodings a bit to make it more
922 readable and fix a slightly wrong detection on Windows
924 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
926 Add editor_goto_pos() to the plugin API.
929 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
932 Check for git-svn repo, not just git because find-rev doesn't
933 always fail with a git-only repo.
936 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
939 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
942 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
944 * doc/geany.txt, doc/geany.html:
945 Reorder Focus keybindings.
948 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
951 Applying a patch by Erik de Castro Lopo for checking against
952 pkg-config when running autogen.sh. Thanks for the patch.
954 Applying a patch by Colomban Wendling to print out log domains.
958 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
960 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
961 Use single binding_ids keybinding array instead of individual
962 arrays for core keybindings. This allows the keybinding IDs to be
963 merged into one enum; the order of keybindings is now just the
964 order they are added to each group. Keybindings can be reordered
965 without breaking the plugin ABI but groups must stay the same.
967 Fix writing the default value when a key is missing for hidden
968 prefs, even if it was overridden when it was originally read.
969 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
970 Move some interface hidden prefs to ui_utils.c.
972 Revert r4840 scope completion mode as it sometimes breaks
974 * src/keybindings.h, src/plugindata.h:
975 Randomly sort keybinding IDs to show there should be no order.
977 Reorder Focus keybindings.
980 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
982 * src/ui_utils.c, src/ui_utils.h:
983 Make ui_label_new_bold() a function.
984 Escape the name of the current document for markup when using
985 document name for menu items (closes #3038844).
987 Inherit 'beep on errors' preference for the audible bell preference
988 for the VTE (closes #3038215).
991 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
993 * src/utils.c, src/utils.h:
994 Add utils_get_eol_char().
995 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
996 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
998 Ensure inserted templates always have proper line ending characters
999 according to the current document's preference.
1000 This is also fixes problems with templates on Windows which had
1001 always Unix line ending characters but now since they are read
1002 from files, these have Windows line ending characters and had been
1006 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1009 Fix build with GTK 2.8, use the stock icon name directly instead
1010 of the macro. Though, the icon is still missing for GTK 2.8.
1012 Make make_comment_block() work with a GString. This is not yet
1013 perfect but a bit better than before.
1016 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1018 * src/keybindings.c, src/vte.c, src/vte.h:
1019 Implement 'Select All' for the VTE widget.
1022 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1025 Fix missing template files in the Windows installer.
1028 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1030 * data/filetypes.python:
1031 Update list of Python builtins, based on Python 2.6.
1034 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1037 On Windows, convert filetype extensions read from config files
1038 to lower case (closes #3028856).
1041 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1043 * src/keybindings.c:
1044 Focus toolbar item when pressing Go to Line keybinding only when
1045 it's not in the toolbar's drop down overflow menu (fixes #3027454).
1048 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1051 Fix build menu translation problems.
1054 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1057 Fix './waf install'.
1060 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1063 Fix scrolling the editor line in view after loading a session and
1064 switching document tabs. Note this causes repainting so needs
1066 * doc/geany.txt, doc/geany.html:
1067 Add note to restart Geany after installing/updating before editing
1069 * src/ui_utils.h, src/main.c, src/ui_utils.c:
1070 Use Stash to save statusbar_template setting, instead of the
1071 load/save-settings signal.
1072 Add ui_init_prefs().
1075 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1077 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1078 Fix writing empty hidden pref "statusbar_template" key so users can
1079 find it (patch by Dimitar Zhekov, thanks).
1080 * src/ui_utils.c, src/ui_utils.h, src/main.c:
1081 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
1084 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1086 * src/build.c, src/project.c, src/project.h:
1087 Show the Project Properties build tab when choosing 'Set Build
1088 Commands' for now to prevent confusion with non-project commands.
1091 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1093 * src/search.c, doc/geany.txt, doc/geany.html:
1094 Fix Grep --exclude-dir example.
1097 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1100 Add sidebar Documents popup menu item 'Find in Files'.
1101 * src/keyfile.c, src/main.c, src/editor.c:
1102 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
1103 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
1106 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1108 * doc/geany.txt, doc/geany.html:
1109 Fix wording - restarting is required for hidden prefs.
1110 File templates don't need manual reloading anymore.
1112 Fix only adding project base path to Find in Files history if it
1113 isn't already there (oops).
1115 Parse lines in the Messages window even if Find in Files hasn't
1116 been used yet (patch by Jiří Techet, thanks).
1119 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1121 * scintilla/LexCPP.cxx, src/highlighting.c:
1122 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
1124 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
1125 data/filetypes.common:
1126 Add filetypes.common fold_symbol_highlight color setting.
1127 Add API macro foreach_range().
1128 * src/printing.c, doc/geany.txt, doc/geany.html:
1129 Always use white background color when printing (except for text
1130 with a white foreground) to save ink (should fix #2968998).
1131 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
1132 Limit build error editor indicators to 50, but parse all errors in
1133 the Compiler tab (fixes #3019823).
1136 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1138 * src/highlighting.c:
1139 Re-enable fold.comment for lexers - it was disabled to prevent C
1140 //{ explicit folding, but that also disables stream comment folding
1142 * tagmanager/tm_workspace.c, tagmanager/get.c:
1143 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
1145 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
1146 doesn't affect the bug with document switching not scrolling cursor
1147 in view after loading a session.
1150 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1152 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
1153 Add statusbar_template hidden pref (based on patch by Dimitar
1155 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1156 Add spaces after RO when using %r in statusbar_template setting.
1157 Add space between encoding and BOM.
1158 Note \t means tab for default text.
1161 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1164 Restore tabbing past Find in Files combo box drop down menus.
1167 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1169 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
1170 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
1172 Move plugin signals docs to pluginsignals.c, using function
1173 pointer syntax instead of @signaldef as this puts a summary of
1174 the signal names at the top of the page and sorts alphabetically.
1175 (Note: the syntax is similar to Vala signal syntax).
1178 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
1181 Make default dialog entries use GTK_STATE_INSENSITIVE color not
1182 a fixed color (Suggestion by Ditmar Zhekov)
1185 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1187 * src/search.c, doc/geany.txt, doc/geany.html:
1188 Implement Find in Files file pattern search.
1190 Add file pattern to combo box history.
1191 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
1193 Use ui_hookup_widget() instead of g_object_set_data_full() for
1197 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1200 Add Files checkbox and combo to Find in Files dialog, currently
1201 does nothing & is disabled.
1202 Don't try to focus the next entry on pressing tab anymore as this
1203 is more complicated now.
1206 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1209 Put Find in Files Search field above Directory field.
1210 * src/search.c, doc/geany.txt:
1211 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
1212 regular expressions' radio buttons with a 'Use regular expressions'
1213 checkbox. This uses the extended syntax (which is the same as the
1214 Find/Replace regex syntax).
1216 Move 2 Find in Files checkboxes for even spacing.
1219 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1221 * tagmanager/tm_work_object.c:
1222 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
1226 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1228 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
1229 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
1230 Add ui_combo_box_add_to_history() to API.
1231 * plugins/filebrowser.c:
1232 Add history to path entry.
1233 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
1234 Fix not loading plugins built against a newer API when Geany doesn't
1235 provide the required version given in PLUGIN_VERSION_CHECK().
1236 Improve documentation for PLUGIN_VERSION_CHECK().
1237 * plugins/filebrowser.c:
1238 Allow Find in Files when no items are selected.
1239 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
1240 Add API signal "build-start" (patch by Jiří Techet, thanks).
1243 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1246 Replace /home/user with ~ in the documents list (patch by Jon
1249 Make default Build dialog entries grey, not light grey (too hard to
1250 read on a white background).
1252 Display 'new instance' on title bar (patch by Eugene Arshinov,
1255 Remove any duplicate on adding to combo box histories.
1258 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1261 Align notebook tab close buttons centred vertically - thanks to
1263 * Merge unstable branch:
1265 Make build config entries light grey until set.
1266 - src/keybindings.c, src/about.c, THANKS:
1267 Fix the wrong file being put on top of the stack when switching tabs
1268 too quickly (patch from Jiří Techet, thanks).
1269 - src/templates.c, data/templates/gpl, data/templates/function,
1270 data/templates/changelog, data/templates/bsd,
1271 data/templates/fileheader, wscript, Makefile.am:
1272 Move general templates from source code into files.
1273 Load general templates from system path instead of creating them in
1274 the user's config dir.
1277 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1280 Add doc/stash-example.c to fix 'make distcheck'.
1282 Change the RequestExecutionLevel for the Windows installer to
1284 * New release: Geany 0.19 "Vellam".
1285 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1286 geany_private.rc, win32-config.h, wscript, src/geany.h:
1287 Post-release version bump.
1290 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1293 Group undo action for Insert Multiline Comment.
1296 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1299 Don't individually install data/*.tags as all data/* files will be
1303 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1305 * tagmanager/tm_project.c:
1306 Fix a double free. (patch by Daniel Marjamaki, thanks).
1309 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1311 * tagmanager/tm_workspace.c:
1312 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1314 Fix reducing paths to project name in the Documents list
1315 (patch by Eugene Arshinov, thanks).
1317 Fix crash when trying to sort NULL pointers as tags in the Symbols
1318 list (closes #3011986).
1319 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1320 Update Scintilla to version 2.12.
1321 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1322 scintilla/LexCrontab.cxx:
1323 Remove unused Crontab lexer.
1324 * data/filetypes.css, src/highlighting.c:
1325 Add new style "media" for filetype CSS.
1328 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1330 * doc/geany.txt, doc/geany.html:
1331 Build section: minor rewording, formatting fixes; move some
1335 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1338 Explicitly try to localise build menu item labels with
1339 gettext to enforce getting default labels translated.
1340 * tagmanager/tm_workspace.c:
1341 Fix not closed FILE pointer on early exit
1342 (patch by Daniel Marjamaki, thanks).
1344 Update images for Geany 0.19.
1346 Destroy the default symbol list treeview only once
1347 (fixes gtk_widget_destroy warning on exit).
1350 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1352 * tagmanager/sort.c:
1353 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1355 Fix parsing of C++ classes contain attributes with bitfields
1356 (patch by Lex Trotman, thanks).
1357 * src/plugindata.h, src/plugins.c:
1358 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1359 plugins' meta information can be translated already in the
1360 plugin manager dialog (patch by Colomban Wendling, thanks).
1363 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1366 Print locale information in debug output.
1368 Fix some labels which were marked as translatable but were not
1369 handled properly by gettext().
1370 Add a missing const.
1372 Try to convert text into UTF-8 before adding it to the Compiler and
1373 Messages Window (closes #3007919).
1376 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1378 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1380 Pass G_LOG_DOMAIN to source files for better logging.
1383 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1385 * THANKS, src/about.c:
1386 Update of translation credits to reflect a change on Spanish
1387 translation team better.
1390 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1393 Fix infinite loop reading build command output
1396 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1399 Fix duplicate accelerators for Clear and Copy in the
1400 Messages Window popup menu.
1401 * src/pluginutils.c:
1402 Expand child widgets in the Plugin Preferences dialog
1403 (patch by Colomban Wendling, thanks).
1406 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1409 Fix Undo/Redo button state after the last document has been closed.
1410 Add Print and Replace toolbar items to the list of document
1413 Fix crash when the toolbar is reloaded without any open documents.
1415 Fix Run toolbar item sensitivity after the last document has been
1417 * plugins/classbuilder.c:
1418 Remove two unnecessary g_strdups().
1419 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1420 src/plugindata.h, src/ui_utils.h:
1421 Add hidden preference to disable automatic scrolling in the
1422 Compiler tab (closes #3004714).
1425 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1427 * plugins/classbuilder.c:
1428 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1431 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1433 * src/prefs.c, src/project.c:
1434 win32.h can be included unconditionally.
1436 Fix project base_path detection if the path has a trailing slash.
1437 * src/document.c, src/editor.c, src/project.c:
1438 Small improvements to speed up quit process with many open documents.
1439 Avoid calling gtk_notebook_remove_page() on exit as it takes
1441 * src/geanymenubuttonaction.c:
1442 Explicitly check for the type when iterating the action's proxies.
1443 For some reason on Windows, a GtkImageMenuItem proxy is created.
1444 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1445 src/plugindata.h, scintilla/*, scintilla/include/*:
1446 Update Scintilla to version 2.11.
1447 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1449 Add new GTK define also for Mingw cross compilation and
1450 makefile.win32 based Windows builds.
1451 * plugins/filebrowser.c:
1452 Implement reading and evaluating hidden file attribute on Windows.
1453 Fix broken "Go Up" if the current path ends with a slash.
1454 * THANKS, src/about.c, src/prefix.c:
1455 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1456 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1457 src/main.c, src/notebook.c, src/prefs.c:
1458 Add preference to add new document tabs beside the current one
1459 (patch by Colomban Wendling, thanks).
1460 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1461 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1462 Add a preference for choosing between GTK and native
1463 File Open/Save dialogs (only available on Windows).
1464 * doc/geany.html, doc/geany.txt:
1465 Update documentation.
1468 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1471 Sort file filters for the native Windows file open dialog by name.
1472 Don't use file filters for the native Windows Save As dialog.
1473 * src/dialogs.c, src/win32.c, src/win32.h:
1475 Pass and use also parent and title arguments to
1476 win32_show_document_open_dialog().
1478 Call handle_save_as() only when the Save As dialog was not cancelled.
1480 Improve adding/removing of the special separator between menubar and
1481 toolbar when the toolbar is appended to the menubar.
1482 * src/toolbar.c, src/templates.c:
1483 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1484 not trigger updating the menus on each item removal.
1487 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1490 Replace one non breaking space by normal space. Patch by
1494 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1496 * plugins/classbuilder.c:
1497 Don't make the 'Create Class' menu item document-sensitive
1498 (patch by Colomban Wendling, thanks).
1499 Add namespace support for GTK+ classes.
1500 Add GET_CLASS() macro for GTK+ classes.
1501 Add typedef of the private structure in the header file instead
1503 (all the above from a patch by Colomban Wendling, thanks).
1504 * src/highlighting.c:
1505 Set common default "fold.comment" to 0 to disable it. This can
1506 be overridden if desired.
1508 Improve sorting of document list items
1509 (patch by Colomban Wendling, thanks).
1511 Remove unnecessary textdomain() call.
1514 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1517 Fix search_find_text not returning -1 when match is out of range.
1518 This fixes invalid memory reads and wrong template filename
1519 wildcard replacement.
1520 * src/search.c, src/document.c:
1521 Only replace template filename matching start of word on saving.
1522 * plugins/filebrowser.c:
1523 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1524 * src/build.c, src/build.h, src/project.c:
1525 Make some ugly build.h global variables static.
1526 * src/build.c, src/build.h, src/project.c:
1527 Add Build prefix for TableFields, TableData.
1530 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1533 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1534 * src/dialogs.c, src/win32.c, src/win32.h:
1535 (Re-)Implement a (still basic) native Windows Save As dialog when
1536 compiled with GEANY_USE_WIN32_DIALOG.
1539 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1541 * THANKS, src/about.c, plugins/classbuilder.c:
1542 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1543 * src/ui_utils.h, src/ui_utils.c:
1544 Add public, generic callback ui_editable_insert_text_callback()
1545 to restrict GtkEntry text inputs to +/- and numeric values only.
1546 * src/dialogs.h, src/dialogs.c:
1547 Add special variant dialogs_show_input_goto_line() to use a normal
1548 GtkEntry together with dialogs_show_input_goto_line() for text input.
1549 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1550 Allow '+<number' and '-<number>' as values for Goto Line inputs
1551 to jump relative to the current line (closes #2997238).
1554 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1556 * src/highlighting.c:
1557 Apply foreground and background colours of the folding margin
1558 style properly (closes #2998347).
1560 Don't auto-close short XML tags (closes #2994852).
1561 * THANKS, src/about.c, src/keybindings.c:
1562 Improve jumping to matching braces by consistently position the
1563 cursor before or after the matching brace dependent where it
1564 was before (patch by Dimitar Zhekov, thanks).
1566 Fix crash when generating global tags files (patch by Colomban
1570 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1573 Avoid connecting signals more than once.
1576 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1579 Don't ignore the 'intltool' check on non-Windows systems, instead
1580 raise a configure error.
1583 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1586 Fix marking some strings as translatable (cannot be done in the
1588 * src/templates.c, doc/geany.txt, doc/geany.html:
1589 Reload templates if saving a document in the templates config dir.
1592 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1594 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1596 Fix replacing {filename} template wildcard for custom file
1597 templates with non-default file extension.
1598 Add search_find_text() for POSIX regex searches.
1599 * src/templates.c, doc/geany.txt, doc/geany.html:
1600 Add {project}, {description} template wildcards (#2954737).
1601 * doc/geany.txt, doc/geany.html:
1602 Divide template wildcards into groups.
1603 * src/plugindata.h, src/plugins.c, src/symbols.c,
1604 plugins/geanyfunctions.h:
1605 Add symbols_get_context_separator() to plugin API (patch by Colomban
1609 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1611 * src/keybindings.c:
1612 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1613 Anonymous, thanks; #2995593).
1614 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1615 plugins/geanyfunctions.h:
1616 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1617 (patch by Colomban Wendling, thanks).
1620 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1623 Warn user if hidden hard tab width setting is not 8.
1626 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1628 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1629 doc/geany.txt, doc/geany.html:
1630 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1631 always be 8. (Hidden setting kept in case users have modified it).
1634 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1636 * doc/geany.txt, doc/geany.html:
1637 Add Folding section link to filetypes.common custom settings.
1640 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1643 When switching documents, don't call document_set_text_changed()
1644 as this does much more than necessary. Instead call the necessary
1645 UI update functions explicitly.
1648 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1650 * tagmanager/vstring.c:
1651 Fix invalid memory read (patch by Colomban Wendling, thanks).
1654 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1656 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1657 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1658 strings in case of reaching the buffer size limit (part of #2979697).
1660 Change the limit for the command line length when executing commands
1661 to a maximum of 32768 characters (closes #2979697).
1662 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1663 * tagmanager/ctags.c:
1664 Change eFree() to simply ignore NULL pointers instead of asserting.
1666 Remove malloc() fallback since we completely rely on g_malloc()
1668 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1669 plugins/saveactions.c:
1670 Make string arguments const where appropriate (patch by
1671 Colomban Wendling, thanks).
1672 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1673 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1674 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1675 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1676 src/symbols.c, src/templates.c, src/ui_utils.c:
1677 Make string arguments const where appropriate (patch by
1678 Colomban Wendling, thanks).
1681 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1683 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1684 Make plugin_signal_connect() string argument const (patch by
1685 Colomban Wendling, thanks).
1686 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1687 Constify some more string pointers in the API (patch by
1688 Colomban Wendling, thanks).
1689 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1691 Support {pc} wildcard in snippets to escape percent char.
1693 Recalculate line margin width when zooming (fixes #2990553).
1694 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1695 data/filetypes.common:
1696 Support more folding icon styles: arrows, +/- and no lines
1700 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1703 Fix Windows build by properly guarding Unix-only code.
1706 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1708 * src/templates.c, doc/geany.txt, doc/geany.html:
1709 Support {ob} and {cb} in fileheader and file templates; they are
1710 replaced last with { and }. This allows 'escaping' of wildcard
1712 * src/editor.c, plugins/classbuilder.c:
1713 Fix Class Builder plugin to use correct indentation instead of
1715 Make editor_insert_text_block() only replace leading tabs for the
1716 'Tabs' indent type; also group edits for undo.
1717 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1719 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1722 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1724 * tagmanager/pascal.c:
1725 More fixes to prevent possible crashes by trying to free NULL
1728 Automatically show and hide the sidebar notebook tabs according
1729 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1731 Add a static global variable to monitor autocompletion mode in order
1732 to prevent cancellation of the struct/class (C/C++) auto completion
1733 list (patch by Thomas Martitz, thanks).
1735 When starting and trying to access the Unix Domain socket of a
1736 potentially running instance, first compare file ownership with the
1737 user id of the running process to prevent accessing a wrong socket
1738 file (part of #2985463, this might not yet be the final solution).
1741 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1743 * plugins/filebrowser.c:
1744 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1745 Files' option (fixes #2989288).
1748 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1750 * tagmanager/entry.c, tagmanager/entry.h,
1751 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1752 tagmanager/parse.h, tagmanager/tm_source_file.c:
1753 Add tm_source_file_set_tag_arglist() to manually set the argument
1755 * tagmanager/python.c:
1756 Use tm_source_file_set_tag_arglist() to set the argument list
1757 field of Python class tags to the argument list of their
1759 Backport a fix from CTags SVN to prevent possible crashes by trying
1760 to free NULL pointers.
1763 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1765 * tagmanager/txt2tags.c:
1766 Remove duplicate code from Txt2Tags parser.
1767 Remove the title control characters ('=') when parsing titles.
1768 Also parse numbered titles (closes #2984703).
1769 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1771 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1772 Add missing documentation for 'Reset Zoom' keybinding.
1774 Another attempt to fix the PHP parser regexp for parsing functions.
1775 Fix wrong parsing of function arguments when those contain nested
1776 brackets (as reported by Harold Aling).
1778 Fix Ctrl-Click on notebook tab if Numpad is active.
1781 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1783 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1784 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1785 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1786 src/ui_utils.c, src/ui_utils.h:
1787 Add option 'System Default' for toolbar icon style and size to
1788 use the GTK default value.
1789 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1790 src/toolbar.c, src/toolbar.h:
1791 Shorten the toolbar popup menu, only provide items for Toolbar
1792 Preferences and to Hide the toolbar.
1794 Instantly update the toolbar icon size and style when the
1795 corresponding global GTK settings are changed.
1796 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1797 src/plugindata.h, src/socket.c:
1798 Add new command line option --list-documents to return a list
1799 of currently opened documents (closes #2979933).
1802 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1804 * plugins/htmlchars.c:
1805 Make plugin remember whether replacement of special characters was
1806 activated even after restart of Geany or reloading of plugin.
1809 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1812 Fix inserting snippets with an indent when using Mac CR line
1815 Update status bar after using Document->Set Line Endings.
1817 Improve API docs for editor_insert_text_block().
1820 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1823 Refactor snippets_complete_constructs().
1824 Remove an unnecessary TODO.
1826 Fix indenting a snippet when there is whitespace after the
1830 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1832 * doc/geany.txt, doc/geany.html:
1834 * src/build.c, src/msgwindow.c:
1835 Fix disabled compiler message tracking if using indicators to
1836 show build errors is disabled (closes #2982834).
1839 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1841 * scintilla/Editor.cxx:
1842 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1843 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1844 replacing in a rectangular selection.
1847 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1850 Re-detect any document filetypes set to None after reloading
1851 filetype extensions (closes #2979661).
1853 Fix showing '...' item last instead of first for document word
1857 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1859 * data/filetypes.perl:
1860 Adjust Perl Compile command to use the -c command
1861 line option to perform a syntax check instead of using the
1862 deprecated ByteCompile module.
1863 Add error_regex to parse error messages and warnings when performing
1864 syntax checks on Perl files.
1867 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1869 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1870 Add API docs for keybinding enums.
1871 * src/notebook.c, doc/geany.txt, doc/geany.html:
1872 Make Ctrl-click on any notebook tab switch to the last used
1876 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1878 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1879 src/geanyentryaction.c, src/geanyentryaction.h,
1880 src/geanywraplabel.c:
1881 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1882 object for efficiency.
1885 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1887 * plugins/classbuilder.c:
1888 Beep if the user hasn't entered a class name on pressing OK.
1890 Fix replacing '^' regex.
1891 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1892 plugins/geanyfunctions.h:
1893 Add Stash widget functions to API.
1895 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1899 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1901 * THANKS, src/vte.c:
1902 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1904 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1905 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1906 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1907 Add Stash setting functions to API.
1908 Remove unnecessary argument to stash_group_load_from_file().
1909 * src/geanyobject.c, plugins/classbuilder.c:
1910 Don't generate FOO_GET_PRIVATE() macro because caching the result
1911 in Foo::priv can be much more efficient.
1914 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1917 Fix cursor positioning when toggling comments
1918 (patch by Thomas Martitz, thanks).
1921 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1923 * src/keybindings.[hc]:
1924 Added Control+0 for zoom reset, see suggestion from #2969886.
1927 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1929 * src/search.c, src/document.c:
1930 Fix wrong selection range after Replace in Selection.
1933 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1936 Make CreateChildProcess() working with Unicode strings, e.g.
1937 directory names (closes #2972606).
1939 Remove reference to already removed latex.tags file.
1940 Future releases probably still depend on GTK 2.16.
1941 * scintilla/ScintillaGTK.cxx:
1942 Backport fix from Scintilla CVS to not paste text beyond the end
1943 of lines (closes #2969096).
1944 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1946 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1947 to not set Geany's minimum window size anymore (closes #2972992).
1948 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1951 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1954 Make adding string and string vector settings initialise the setting
1956 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1957 Add stash_group_load_from_file() and stash_group_save_to_file().
1960 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1962 * data/filetypes.common:
1963 Set default for wrapped lines to show marker at end of line only
1964 (more expected and doesn't change line alignment - closes #2972386).
1965 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1966 src/pluginutils.c, doc/plugins.dox:
1967 Improve API docs contents page by listing all commonly-used files.
1968 Fix 'Date' appearing twice on the date line.
1969 Don't generate API docs for prefs.h, toolbar.h (unused).
1970 Move some '@file' doc-comments to the .c file.
1971 * src/interface.c, geany.glade:
1972 Add frame for 'Printing' prefs dialog page.
1973 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1974 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1975 doc/stash-example.c:
1976 Rename Stash data types to be independently named from Geany (so
1977 Stash can be reused for other projects).
1978 Rename GeanyPrefGroup to StashGroup.
1981 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1983 * tagmanager/python.c:
1984 Apply patch from Colomban Wendling to parse Python lambda functions
1985 (thanks) - modified to only parse toplevel or class member lambdas.
1986 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1987 doc/stash-example.c:
1988 Add doc-comments for Stash setting functions.
1989 Add an example file showing usage of Stash.
1990 (Not enabled yet until added to the plugin API).
1993 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1996 Fix using return value without checking return status, caused
1997 incorrect sensitivity settings on build dialog.
2000 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2003 Add tip about gcc optimization & warnings/debugging.
2004 Add Testing section.
2005 Update Libraries section about synchronizing with other projects.
2008 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2011 For now revert the recent patch which set real_path of newly
2012 open non-existent configuration files as this seems hackish and
2013 causes 'file not found' warnings.
2015 Fix/Improve GIT repository detection
2016 (patch by Thomas Martitz, thanks).
2017 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
2019 Add utils_copy_environment() to the plugin API.
2022 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2024 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
2025 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
2027 Use 3rd person for more API dox.
2028 Change 'This is a wrapper function for...' to 'Wraps...' in brief
2030 Change 'After all...' to 'Afterwards...'.
2031 * src/interface.c, geany.glade:
2032 Apply patch from Eugene Arshinov to make frame packing/alignment
2033 more consistent (thanks).
2036 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2039 Fix ui_button_new_with_image() to call gtk_button_set_image() so
2040 that gtk_button_[sg]et_label() work as expected.
2041 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
2042 Make Build Commands dialog show menu item labels as a button (to
2043 help show that menu labels don't normally need to be edited &
2044 display the mnemonic correctly). Clicking shows an input dialog to
2045 set a new menu item label.
2046 Split dialogs_show_input() into 2 functions: one simple, one for
2047 a persistent dialog.
2048 Fix possible double-destroy of input dialog when closed by user.
2050 Fix not destroying 'Make Custom Target' input dialog after first
2053 Make Long Line Marker settings for existing projects default to
2054 general settings instead of 0 (thanks to Eugene Arshinov).
2055 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
2056 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
2057 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
2058 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
2059 Use 3rd person (gets not get) for API function brief descriptions.
2060 Avoid using 'convenience function' in API brief descriptions.
2063 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2065 * doc/geany.txt, doc/geany.html:
2066 Warn about some GNU extensions for regular expressions & clarify
2068 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
2069 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
2070 src/editor.h, geany.glade:
2071 Apply patch from Eugene Arshinov to add project long line marker
2072 customisation (thanks).
2073 * src/interface.c, geany.glade:
2074 Edit/tidy 'Long line marker' labels.
2077 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
2079 * src/build.c, src/project.c:
2080 Fix crash due to NULL in project build preferences (thanks to
2084 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2086 * src/utils.c, src/utils.h, src/search.c, src/search.h,
2087 src/document.c, doc/geany.txt, doc/geany.html:
2088 Merge gnu-regex branch:
2089 Use POSIX system/GNU regex engine for find & replace 'Use regular
2090 expressions' option. This alters regex syntax a bit - see the docs
2091 for details; we now support '?' operator and replacement backslash
2092 escaping is more standard.
2093 Make regex search imply replacing escaped chars.
2094 Allow \0 backreference replacement for the whole match.
2095 Note: Replace All may be slower; if this is a problem please let me
2098 Add argument to utils_str_replace_escape() for keeping
2099 uninterpreted backslash escapes e.g. '\\', '\e'.
2100 * scintilla/LexMarkdown.cxx:
2101 Backport minor formatting/style changes from Scintilla project.
2102 * doc/geany.txt, doc/geany.html:
2103 Remove warning about no visual indication for zero-column-mode
2107 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2110 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
2113 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2115 * wscript, scintilla/*, scintilla/include/*:
2116 Update Scintilla to version 2.03.
2117 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
2118 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
2119 Add preference for virtual spaces.
2121 Fix wrong default response for the Debug Messages dialog.
2123 Fix crashes when using Save As with no open files (closes #2964406).
2125 Fix duplicate mnemonics on 'Resave missing file' dialog, also
2126 move the question from the secondary to the main text to be
2127 more compatible with the Gnome HIG.
2128 Fix broken 'Save' action in 'Resave missing file' dialog.
2130 Improve PHP parser to parse also the argument lists of PHP functions.
2132 Correctly set the parent widget for the keybinding overwrite
2133 confirmation dialog.
2135 Fix setting the icon for some dialogs if the parent itself is also
2138 When editing non-existent config files using the Tools->Configuration
2139 Files menu, explicitly set the real_path to avoid presenting the Save
2140 As dialog when saving the file (patch by Tony Rick, thanks).
2142 Focus the editor widget after hiding the sidebar when it had the
2143 input focus (patch by Can Koy, thanks).
2144 Properly show/hide the mesages window when using the View menu item
2146 * plugins/filebrowser.c:
2147 After opening files, focus the editor widget
2148 (based on a patch by Can Koy, thanks).
2149 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
2150 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
2151 src/ui_utils.h, src/vte.c:
2152 Add and use convenience function ui_is_keyval_enter_or_return() and
2153 add it to the plugin API.
2156 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2158 * src/about.c, THANKS, po/ast.po:
2159 Added Asturian translation. Thanks to Marcos Costales for providing.
2162 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2165 Fix keyboard accelerators in debug messages window
2169 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2171 * scintilla/LexR.cxx:
2172 Backport R lexer from Scintilla CVS to fix case sensitive keywords
2173 (Scintilla bug #2956543).
2174 * src/sidebar.c, src/about.c, THANKS:
2175 Make Space on the symbol and document list not focus the editor
2176 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
2177 * src/document.c, src/document.h:
2178 Fix document_try_focus() to make it work with the sidebar document
2180 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
2181 Make Space on the compiler and messages widgets not focus the editor
2182 widget while Enter does (patch by Can Koy, thanks).
2184 Fix wrongly auto-detected multiline comments
2185 (patch by Eugene Arshinov, thanks).
2188 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2191 Show number of lines of current document inside statusbar. Thanks to
2192 Can Koy for providing the patch.
2195 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2197 * src/keybindings.c, doc/geany.txt, doc/geany.html:
2198 Make Switch to Editor keybinding reshow the document statistics
2199 line, so user doesn't have to move the cursor.
2202 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2205 Update keywords for the R language (patch by Jon Senior, thanks).
2208 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2211 Fix the instruction how to insert unicode characters
2215 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2217 * scripts/create_py_tags.py:
2219 Replace tabs by spaces.
2220 * plugins/genapi.py:
2222 Replace tabs by spaces.
2223 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
2224 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2225 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
2226 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
2227 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2228 src/plugindata.h, src/sidebar.c, src/sidebar.h:
2229 Add keybindings to switch to the sidebar's Document and Symbol list
2230 as well as to the Message Window's current tab
2231 (patch by Eugene Arshinov, thanks).
2233 Update primary keywords for the R language
2234 (patch by Jon Senior, thanks).
2237 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2240 Add more detailed hints about reloading configuration
2241 (thanks to Tony Rick).
2242 * data/filetypes.javascript:
2243 Correct the keyword list for JavaScript (thanks to Jonas).
2246 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2248 * New release: Geany 0.18.1 "Balfour".
2251 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2253 * src/keybindings.c:
2254 Add special cases for handling the Select All keybinding (Ctrl-A) in
2255 the toolbar search and goto line text entries (closes #2948040).
2256 Strip trailing spaces after reflowing a paragraph, patch by
2257 Dominik Wagenfuehr, thanks (closes #2945497).
2260 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2262 * src/geanymenubuttonaction.c, src/templates.c:
2263 Partly revert last commit:
2264 Unref the new files toolbar menu when freeing templates as it
2265 was done before but unref it *after* the menu has been removed
2266 from the GeanyMenuButtonAction.
2268 Fix possible endless loop when trying to detect the encoding of
2269 non-text files (patch by Alexey Antipov, thanks).
2272 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2275 Allow saving remote files using g_file_set_contents() as well
2276 (patch by Алексей Антипов, thanks).
2277 * data/filetypes.python:
2278 Adjust style for secondary keywords to be less aggressive.
2279 Add Python 2.5 builtins keywords.
2280 * src/geanymenubuttonaction.c, src/templates.c:
2281 Unref the new files toolbar menu when setting a new menu to fix
2282 possible crashes when reloading configuration.
2284 When reloading configuration, process the current document at last
2285 so the symbol list will be updated correctly.
2288 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2291 Explicitly read filetype configuration files before generating
2292 global tags to get settings for custom filetypes.
2295 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2298 Fix GLib warning when toggling 'no plugins available' item.
2301 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2303 * icons/Makefile.am:
2304 Include geany.ico in the distribution tarball.
2306 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2307 * scripts/create_py_tags.py:
2308 Make the script a bit more robust with newer Python versions.
2310 Use utils_spawn_sync() instead of g_spawn_sync().
2313 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2316 Close meta tag for export date properly.
2319 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2322 Update RPM Spec file (patch by Dominic Hopf, thanks).
2325 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2328 Fix renaming sci_send_message(), sci_send_command() function
2332 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2334 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2335 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2336 plugins/geanyfunctions.h, plugins/Makefile.am,
2337 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2338 Use full function name for GeanyFunctions function pointers. This
2339 avoids naming conflicts e.g. with C++'s 'new' keyword.
2340 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2344 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2346 * src/utils.c, src/utils.h, src/vte.c:
2347 Add utils_copy_environment() and make use of it.
2348 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2349 src/editor.c, src/templates.c, src/templates.h:
2350 Add new special template wildcard "{command:...}" to use the
2351 output of a command in templates.
2352 Adjust template functions to mostly work with GeanyDocuments.
2353 Minor cleanups in the template code.
2355 Replace the old icons with smiley icons from the Rodent icon theme.
2356 Fix showing the same icon for two or more slots.
2358 * src/editor.c, src/editor.h, src/keybindings.c:
2359 Rename fold_symbol_click() to editor_toggle_fold().
2360 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2361 was used to respect the 'Fold/unfold all children' preference
2365 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2368 Prevent possible segfault in get_build_group().
2370 Fix GLib warning & beep if trying to insert multiline comment for a
2371 filetype that doesn't support it.
2374 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2377 Add gcc commands to build a plugin to the HowTo.
2378 * src/search.c, src/document.c, src/document.h:
2379 Show 'Replaced X matches in Y documents' message when using
2383 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2385 * scripts/plugin_test.c:
2386 Add a little test program which can load and test Geany plugins to
2387 verify it is loadable at runtime and all necessary symbols are
2389 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2391 Add new signal: "geany-startup-complete" which is sent once all
2392 initialization and startup tasks has been done.
2393 * README.I18N, configure.ac, wscript, po/LINGUAS:
2394 Remove po/LINGUAS from the repository.
2395 Generate it automatically if needed by reading available
2396 message catalogs from the po directory.
2397 Also respect the LINGUAS environment variable properly.
2400 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2403 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2407 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2409 * src/editor.c, src/templates.c, src/templates.h:
2410 Refactor templates_replace_all() into templates_replace_valist()
2411 to save some code duplication.
2414 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2416 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2417 src/plugindata.h, src/plugins.c:
2418 Add editor_insert_text_block() to plugin API.
2421 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2424 Update copyright information.
2425 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2426 doc/geany.txt, doc/geany.html:
2427 Add keybinding to open the last closed tab (closes #2912692).
2430 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2432 * autogen.sh, configure.in, configure.ac:
2433 Rename configure.in to configure.ac.
2434 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2436 Add sci_find_text() to the plugin API.
2437 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2438 src/interface.c, src/prefs.c:
2439 Add a checkbox in the preferences dialog to explicitly toggle
2440 the visibility of the sidebar (closes #2923340).
2443 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2445 * src/editor.c, src/plugins.c, src/plugindata.h,
2446 plugins/geanyfunctions.h:
2447 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2448 editor_get_eol_char() to the plugin API.
2449 * src/callbacks.c, src/plugins.c, src/plugins.h:
2450 Fix sensitivity of the Edit->Plugin Preferences menu item
2451 if plugins are loaded which do not provide a configuration dialog.
2452 * scripts/create_py_tags.py:
2453 Rewrite and extend the Python tags parsing script to use
2454 Python's inspect module to read symbols from Python modules
2455 including scope information.
2456 * data/filetypes.restructuredtext:
2457 Add the default comment character sequence for reStructuredText.
2459 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2460 clicked but their text fields are not part of the toolbar (#2920807).
2461 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2463 Add new style to change foreground and background colours for
2464 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2466 Remember the window position of the Find, Replace and Find in Files
2467 dialogs (closes #2877988).
2470 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2473 Fix a minor typo inside plugin API reference.
2476 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2478 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2479 Make dialogs_show_prompt() more flexible to take up to three
2480 button/response code pairs to be shown.
2481 Add a close button to the dialog when asking to Re-Save a
2483 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2485 Fix LaTeX environment auto completion with CR/LF line endings.
2486 Add some sanity checks.
2488 When closing a document after it was deleted from the filesystem,
2489 don't ask whether it should be saved first.
2490 Mark the document only as changed if it is not closed afterwards.
2491 Prevent possible segfaults if the document was closed when it is
2492 missing from the filesystem.
2493 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2494 src/msgwindow.h, src/prefs.c:
2495 Add MessageWindow::scribble and use it instead of searching the
2496 widget pointer everytime.
2497 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2498 Add preferences for hiding single tabs from the messages window
2499 (no GUI preferences yet, still to be implemented).
2500 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2501 Set the correct parent window for the toolbar editor
2502 dialog (closes #2913334).
2503 * src/win32.c, src/win32.h, src/ui_utils.c:
2504 Rename win32_show_project_folder_dialog() to
2505 win32_show_folder_dialog() as it is not related and not used by any
2506 project management related code.
2507 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2508 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2509 as it is specialised for opening documents.
2510 Implement win32_show_file_dialog() as a generic file open dialog and
2511 use it with ui_path_box_new().
2514 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2517 Extend auto_latex() function to check whether an environment has been
2518 closed within the next lines to avoid auto adding double \end{}.
2520 Remove LaTeX tags from SVN. Can be found at
2521 http://download.geany.org/contrib/tags/ if needed.
2524 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2526 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2527 Add document_need_save_as().
2528 Show the Save As also for documents created from filetype templates
2529 instead of saving them directly with the untitled filename.
2532 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2534 * geany.glade, src/interface.c:
2535 Move 'Send Selection to Terminal' menu item from Format to Commands
2538 When going to a build error, try the current document's path if
2539 the parsed filename doesn't exist. (This can happen when we receive
2540 build messages in the wrong order - after the 'Leaving directory'
2543 Refactor msgwin_goto_compiler_file_line().
2544 * src/interface.c, src/keybindings.c, geany.glade:
2545 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2548 Refactor/reformat on_replace_dialog_response().
2551 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2554 Improve geany.spec (split the package into a binary and devel
2555 package, update BuildRequires and other minor improvements).
2556 Patch by Dominic Hopf, thanks.
2559 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2561 * src/filetypes.c, src/filetypes.h:
2562 Make group for custom filetypes.
2563 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2564 Add custom filetype Genie.
2567 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2569 * src/highlighting.c:
2570 Highlight D & Java types from a global tags file.
2571 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2572 Add debug message warning if recursive lexer_filetype is set.
2573 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2574 Remove duplicate sci_set_keywords(), make argument const.
2575 * src/highlighting.c:
2576 Only show debug message once if recursive lexer_filetype is set.
2577 Tidy highlighting_init_styles code for filetype None handling.
2578 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2579 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2580 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2581 tagmanager/parsers.h, tagmanager/makefile.win32,
2582 tagmanager/verilog.c, tagmanager/Makefile.am,
2583 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2584 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2585 * src/highlighting.c:
2586 Fix segfault on startup (oops).
2587 * data/filetypes.verilog:
2588 Fix using common style colours for Verilog.
2591 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2593 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2594 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2595 Move C-like filetype properties into configuration files.
2596 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2598 Remove now unnecessary "styling_within_preprocessor" C style key.
2599 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2600 data/filetypes.glsl, data/filetypes.cs:
2601 Use lexer_filetype=C configuration file key instead of duplicate
2602 styleset functions for C++, C#, GLSL, Vala.
2605 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2607 * doc/geany.txt, doc/geany.html:
2608 Warn about not using BOM for configuration files (confuses GKeyFile
2609 parser, at least on my system).
2611 Add/improve debug messages for custom filetypes.
2614 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2617 Add a couple of further latex-beamer commands to list of LaTeX tags.
2620 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2622 * plugins/filebrowser.c:
2623 Add an in-entry clear icon to the filebrowser plugin's filter
2624 entry (patch by Dominic Hopf, thanks).
2625 * src/prefs.c, src/ui_utils.c:
2626 Fix two compiler warnings about possibly uninitialised variables.
2629 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2631 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2632 plugins/geanyfunctions.h:
2633 Add main_is_realized() to the plugin API.
2634 * tagmanager/include/tm_tagmanager.h:
2635 Update partly outdated and wrong doc comment.
2636 * src/main.c, src/main.h, src/socket.c:
2637 Allow opening Geany projects remotely.
2638 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2639 Add a hidden pref to allow executing text which was sent to the
2640 terminal directly, i.e. do not strip trailing newline characters.
2641 Also fix the stripping of trailing newline characters if there was
2645 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2647 * src/about.c, THANKS:
2648 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2649 Kurt de Bree into section of previous translators.
2652 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2654 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2655 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2659 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2661 * src/highlighting.c:
2662 Make stylesets take a ft_id argument so they can be reused fully with
2663 custom filetypes, so custom styles and keywords can be set.
2664 * src/highlighting.c:
2665 Fix setting filetype properties when both the system and the user
2666 file have properties set.
2667 * src/symbols.c, tagmanager/vhdl.c:
2669 * src/highlighting.c:
2670 Fix lexer settings for custom filetypes.
2673 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2676 Remove duplicate regular expression for parsing classes.
2677 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2678 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2679 src/main.h, THANKS, src/about.c:
2680 Add new command line option "--socket-file" to be able to specify
2681 separate socket filenames for instances
2682 (closes #2896027, patch by Jörn Reder, thanks).
2683 * src/keybindings.c, src/keybindings.h:
2684 Add keybindings_check_event() to manually check GdkKeyEvents against
2685 Geany's keybindings.
2686 * src/callbacks.c, src/utils.c, src/utils.h:
2687 Add and use utils_get_help_url().
2688 * geany.glade, src/interface.c, src/prefs.c:
2689 Add a Help button to the preferences dialog.
2690 Handle Help keybinding events for the preferences dialog especially
2691 and open the manual with the corresponding anchor link to the current
2692 preferences page (same goes for the new Help button).
2695 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2697 * src/toolbar.c, src/geanymenubuttonaction.c,
2698 src/geanymenubuttonaction.h:
2699 Use separate tooltips for toolbar menu buttons and their attached
2701 * tagmanager/latex.c:
2702 Improve parsing of sections and chapters by ignoring shortnames
2703 like \section[shortname]{label} (closes #2890477).
2706 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2708 * src/geanymenubuttonaction.c:
2709 Try to fix Gtk warning when using Tools->Reload Configuration.
2712 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2714 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2715 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2716 data/filetypes.pascal, data/filetypes.docbook,
2717 data/filetypes.python, data/filetypes.conf:
2718 Use filetypes.foo [lexer_properties] group instead of hardcoding
2719 lexer properties (more flexible e.g. for custom filetypes).
2720 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2721 Replace filetypes.xml html_asp_default_language key with
2722 filetypes.html asp.default.language property in [lexer_properties]
2726 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2728 * doc/geany.txt, doc/geany.html:
2729 Fix slightly wrong description of how to insert Unicode characters.
2731 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2732 ui_setup_open_button_callback().
2733 * src/prefs.c, src/prefs.c, src/vte.c:
2734 Refactor color and font button callback functions in the
2735 preferences dialog. Move the VTE related callback functions
2737 Make use of ui_setup_open_button_callback().
2739 Improve printing status texts (patch by Dominic Hopf, thanks).
2740 * src/prefs.c, src/vte.c:
2741 Use the default dialog title set by ui_setup_open_button_callback()
2742 to be more consistent and to save one string.
2745 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2748 Separate DKinds from CKinds.
2749 Don't generate macro tags for D, Java.
2752 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2754 * tagmanager/ctags.c, tagmanager/general.h:
2755 Make TagManager Assert statements cause g_warning on failure.
2756 * src/keybindings.c:
2757 Fix reflow paragraph command when cursor < anchor using
2758 sci_fix_selection().
2761 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2763 * tagmanager/perl.c:
2764 Fix Geany segfault with constant tags (#2895168).
2766 Fix invalid tree iter access when using tv_iters.tag_other but not
2767 using tv_iters.tag_variable.
2768 * HACKING, tagmanager/perl.c:
2769 Fix parsing Perl format statements ("other" type doesn't seem
2771 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2772 Fix using "other" tag type.
2775 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2778 Remove useless comment about applying settings only when libvte.so
2779 could be loaded which is only displayed *if* libvte.so is loaded.
2781 Allow autocompletion for HTML entities even within a word.
2782 * src/geanymenubuttonaction.c:
2783 Only set the menu of the button if a non-empty GtkMenu is passed to
2784 geany_menu_button_action_set_menu() so the menu arrow keeps
2788 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2791 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2794 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2797 Parse D functions with contracts (fixes #1885480).
2798 Parse D alias statement like typedef.
2799 (Ignore some more D keywords).
2801 Fix creating D interface tags properly.
2803 Parse contents of D extern{} and version{} blocks.
2806 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2812 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2814 * src/plugindata.h, HACKING:
2815 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2818 Show number of files saved on status bar when using Save All.
2819 * src/highlighting.c:
2820 Use default color scheme if pref color scheme file doesn't exist.
2821 * src/keybindings.c:
2822 Fix moving correct lines after selecting whole line(s).
2825 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2827 * tagmanager/makefile.win32:
2828 Fix broken build on Windows because of a typo
2829 (patch by Timothy Boronczyk, thanks).
2832 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2834 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2836 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2837 scheme files exist in a colorschemes config directory. Color scheme
2838 files must end in ".conf" and currently only the [named_styles]
2840 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2841 Add utils_get_config_files().
2842 * src/highlighting.c:
2843 Fix issue with default color not being reset if overridden with a
2844 system default color.
2845 * src/highlighting.c:
2846 Only reload filetype files when changing color scheme, not all
2847 configuration files.
2848 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2849 Deprecate documents_foreach() as it looks more like a function; use
2850 foreach_document() instead.
2851 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2854 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2856 * src/stash.c, src/stash.h:
2857 Use typedef instead of pointer for widget_id function arguments.
2860 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2862 * src/pluginutils.c:
2863 Don't expand Plugin Preferences page spacing vertically to fill the
2864 height of the dialog.
2865 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2866 geany.glade, plugins/splitwindow.c:
2867 Allow GeanyKeyBinding label field to contain underscores, which won't
2868 be displayed by Geany. This saves adding near-duplicate translation
2870 Add mnemonics for 3 Edit->Format menu items.
2871 Add keybindings_get_label().
2872 * src/interface.c, geany.glade:
2873 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2877 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2880 Desensitize Edit->Commands menu item when no docs are open.
2881 * src/interface.c, src/keybindings.c, src/callbacks.c,
2882 src/callbacks.h, geany.glade:
2883 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2884 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2885 Add general function sci_get_string() that works with any string
2886 buffer messages that follow the Windows message convention.
2887 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2888 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2889 src/pluginutils.c, src/pluginutils.h, geany.glade:
2890 Add 'Edit->Plugin Preferences' menu item and keybinding.
2891 Don't include plugindata.h in pluginutils.h because it redefines the
2892 GEANY() macro for plugin use.
2893 * doc/geany.txt, doc/geany.html:
2894 Update for Plugin Preferences keybinding.
2897 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2900 Sort document word completion list.
2901 * src/interface.c, src/keybindings.c, src/callbacks.c,
2902 src/callbacks.h, geany.glade:
2903 Add some useful commands to editor popup menu under "Commands"
2904 submenu (thanks to Lex).
2905 Move 'Duplicate line or selection' from Format -> Commands submenu.
2906 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2907 Enable switching the sidebar to the right on Windows again, as it
2908 apparently works after all.
2910 Fix using tab to autocomplete in some other situations that word part
2911 completion doesn't apply in.
2912 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2913 Add Edit->Commands submenu which is shared with the editor popup
2915 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2916 Change editor popup Commands submenu to start as child of menubar
2917 Edit menu, as this is more usual e.g. for keybindings initialization.
2918 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2920 Share a single Format submenu for menubar Edit and popup menu.
2923 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2926 Fix a compiler warning about an uninitialised variable.
2928 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2929 sciwrappers.h, build.h (for the Waf build system,
2930 accordingly to r4366).
2933 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2935 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2936 src/toolbar.c, src/toolbar.h:
2937 Add missing dox for types/files in the API.
2938 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2939 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2940 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2941 of functions not in the API).
2942 Warning: any plugins that include these headers should remove them.
2943 * src/build.c, src/build.h:
2944 Move function doc-comments to build.c so they stay in sync. Note:
2945 these functions are still not in the API.
2947 Add 'Doc-comments' plugin API subsection.
2948 * plugins/filebrowser.c:
2949 Fix packing configure widgets equally.
2950 Use spacing multiples of 6 as recommended by Gnome HIG.
2951 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2952 Disable switching the sidebar to the right on Windows as it will
2953 probably fail like the Split Window plugin.
2955 Improve 'Detect from file' indentation pref by ignoring lines with
2956 indentation wider than 24 characters as this is more likely to be
2957 alignment than indentation.
2960 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2962 * plugins/saveactions.c:
2963 Fix adding the filetype's default extension when using the
2964 Instant Save plugin (closes #2885142).
2966 Before looking for line and column numbers specified as part
2967 of a filename, ensure the file doesn't exist on disk. This allows
2968 opening of files like "test:0".
2970 Rename "select" variables into "selection" to avoid shadowed names.
2971 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2972 Add ui_widget_modify_font_from_string() and sci_goto_line()
2974 * plugins/filebrowser.c:
2975 Rename "select" variables into "selection" to avoid shadowed names.
2976 Make use of ui_widget_modify_font_from_string().
2979 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2981 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2982 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2984 Add sidebar position interface pref.
2987 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2989 * doc/geany.txt, doc/geany.html:
2990 Add missing underscores to links.
2993 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2995 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2996 Add 'Move line(s) up/down' keybindings.
2999 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
3001 * src/build.c, src/build.h, src/filetypes.h:
3002 Include code for project filetype execute commands and fix bug in
3003 saving project filetypes list.
3004 * src/project.c, src/build.c, doc/geany.txt:
3005 Make non-project execute configuration save to filetypes not
3007 Fix closing of project failing to remove build commands dialog entry.
3010 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3012 * src/project.c, src/ui_utils.c:
3013 Set border width for project properties build table.
3014 * geany.glade, src/interface.c:
3015 Don't expand hard tab width alignment.
3018 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3020 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
3021 doc/geany.txt, doc/geany.html:
3022 Support loading global tags files for custom filetypes.
3023 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
3024 doc/geany.txt, doc/geany.html:
3025 Add 'Word part completion' keybinding so keys other than Tab can be
3026 used, or to clear/change the combination so Tab does full completion
3028 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3029 Add 'Select to previous/next word part' keybindings.
3030 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
3031 Add 'Switch to Messages' focus keybinding.
3034 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3036 * doc/geany.txt, doc/geany.html:
3037 Add 'Custom filetypes' section.
3038 * src/filetypes.c, src/filetypes.h, src/document.c,
3039 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
3040 tagmanager/include/tm_source_file.h:
3041 Add filetype "tag_parser" key so custom filetypes can use an existing
3043 Add tm_source_file_get_named_lang().
3044 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
3046 Add filetype "lexer_filetype" key so custom filetypes can use an
3050 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3052 * THANKS, src/about.c:
3053 Add Xhacker Liu for his work at zh_CN translation to long list of
3057 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3059 * src/sciwrappers.c:
3060 Remove unnecessary line number margin padding.
3061 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
3062 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
3064 Improve word part autocompletion so AC list is not cancelled and
3065 reshown (this also stops the selection changing).
3066 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
3068 Improve CamelCase word part autocompletion for runs of capital
3071 Don't complete snippets if there's a selection.
3074 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
3077 Fix crash opening project when Geany started with no geany.conf.
3080 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3082 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
3083 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
3085 Add word part autocompletion for the current selected item when
3086 pressing Tab - Enter still completes normally.
3087 Add foreach_str() API macro.
3088 Temporarily modify scintilla to say if tab was used for
3090 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3091 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3092 plugins/classbuilder.c:
3093 Revert r4301 - utils_free_pointers() taking 4 arguments.
3094 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
3095 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
3096 plugins/splitwindow.c:
3097 Add highlighting_set_styles() to API, use for Split Window plugin so
3098 filetypes.common settings get set too.
3099 Make highlighting_set_styles() take GeanyFiletype pointer instead of
3101 * src/document.c, src/editor.c, plugins/splitwindow.c:
3102 Call editor_apply_update_prefs() from editor_create_widget() so
3103 correct tab width and other settings are applied for Split Window
3107 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3109 * src/keybindings.c:
3110 Don't include trailing newlines when using reflow command.
3112 Add stock close buttons to notebook tab popup menu.
3113 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
3114 plugins/geanyfunctions.h:
3115 Add document_get_notebook_page() to API.
3117 * data/templates/files/file.html, data/templates/files/file.php:
3118 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
3119 * src/interface.c, src/ui_utils.c, geany.glade:
3120 Move Tools configuration items to top of menu.
3121 * src/keybindings.c, src/search.c:
3122 Fix warning when using Find in Files with no documents open; make
3123 keybinding work in this case.
3126 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3128 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
3129 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
3130 Make Split Window 'Show current document' button have a drop-down
3131 menu to select the other documents.
3132 Add new API function ui_menu_add_document_items().
3135 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
3138 Fix sensitivity settings for compile and build toolbar items.
3141 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3144 Don't use filetype submenus for templates (slower to navigate, often
3145 only 1 per-filetype anyway).
3147 Put old filetype template menu items in 'Old' submenu as they should
3148 be removed after the 0.19 release.
3149 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
3150 Add GeanyKeyGroup callback support, which allow keybinding callbacks
3151 to be ignored if inappropriate so a later keybinding with the same
3152 key combination can intercept it. (Also group callbacks are usually
3153 tidier than separate callbacks).
3154 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
3155 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3156 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3157 plugins/classbuilder.c:
3158 Make utils_free_pointers() take 4 arguments, add to API.
3159 * src/templates.c, src/tools.c, src/ui_utils.c:
3160 Fix memory leaks with gtk_container_get_children().
3163 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
3166 Ensure that old style build config is not loaded if it does
3170 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3172 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
3173 Added Galician translation.
3174 Thanks to José Manuel Castroagudín Silva.
3177 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3179 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
3181 Apply set default encoding for existing files only if the files are
3182 non-Unicode (patch by Alexey Antipov, thanks).
3185 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3187 * src/highlighting.c:
3188 Move new_styleset() and preprocessor setup code into
3190 * src/highlighting.c:
3191 Call apply_filetype_properties() from styleset_c_like().
3194 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3196 * doc/geany.txt, doc/geany.html:
3197 Improve information about predefined keybindings which are
3198 commonly used across applications (patch by Lex Trotman, thanks).
3200 Enable embedded page setup properties in the (Unix) Print dialog
3201 on newer GTK versions (closes #2870596).
3202 * src/highlighting.c:
3203 Map global types (read from tags files) to keyword style for
3207 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3210 Fix wrong creation of filetype template menu items for custom
3212 * src/highlighting.c:
3213 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
3215 Group 'New with template' items by filetype submenu (currently only
3217 Show custom file template items before filetype template items.
3218 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
3220 Only use one 'New with template' submenu - reparent as needed.
3222 Don't create templates/filetype.none either.
3224 Warn if custom template file no longer exists.
3227 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3230 Add missing icon for Java packages in the Symbol List.
3233 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3235 * src/highlighting.c, data/filetypes.vala:
3236 Add Vala keywords to conf file.
3237 * src/templates.c, doc/geany.txt, doc/geany.html:
3238 Read custom file templates from $prefix/share/geany/templates/files
3239 as well as user dir.
3240 * src/templates.c, data/templates, data/templates/files,
3241 data/templates/files/file.rb, data/templates/files/file.html,
3242 data/templates/files/main.java, data/templates/files/main.c,
3243 data/templates/files/main.cxx, data/templates/files/file.php,
3244 data/templates/files/main.d, data/templates/files/program.pas,
3245 data/templates/files/main.py, data/templates/files/file.tex,
3246 wscript, Makefile.am:
3247 Move filetype template defaults into custom file template files.
3250 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3252 * src/symbols.c, tagmanager/perl.c:
3253 Change Perl tag parser to ctags SVN r601. This removes support for
3254 buggy local/my/our but it parses constant/format/labels and should
3255 be less buggy overall (closes #2861232).
3256 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3257 Add utils_get_file_list_full() which can optionally sort or include
3258 a full path for each list item.
3259 * src/utils.c, src/plugindata.h, src/plugins.c:
3260 Add utils_get_file_list_full() to API.
3263 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3265 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3266 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3267 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3268 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3269 po/POTFILES.in, wscript:
3270 Rename treeviews.[hc] -> sidebar.[hc].
3271 * data/filetypes.common:
3272 Remove unused [styling] arguments.
3273 * src/highlighting.c, data/filetypes.markdown,
3274 data/filetypes.restructuredtext:
3275 Remove style defaults from the code - just read them from
3276 configuration files.
3277 * src/highlighting.c, HACKING:
3278 Add apply_style_entries() to simplify implementing styleset_foo().
3279 * src/highlighting.c:
3280 Remove filetype keyword defaults from the code - just read them from
3281 configuration files.
3282 * src/highlighting.c:
3283 Add sci_set_keywords() wrapper.
3286 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3288 * scripts/create_py_tags.py:
3289 Make the code a bit more pythonic.
3290 * doc/images/build_menu_commands_dialog.png,
3291 doc/images/main_window.png:
3292 Add new images referenced in the documentation.
3293 * doc/geany.html, doc/geany.txt:
3294 Several documentation improvements (patch by Lex Trotman, thanks).
3295 * src/pluginutils.c:
3296 Fix setting the appropriate page of the combined plugins
3300 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3302 * src/keybindings.c:
3303 Only focus toolbar goto line entry when pressing keybinding if it's
3304 visible (patch by Eugene Arshinov, thanks).
3306 Focus editor after entering a number in the goto line toolbar entry.
3308 Use AC_PATH_PROG instead of which for portability (patch by Erik
3309 Southworth, thanks).
3311 Show plugins that only implement plugin_configure_single() in the
3312 multiple-configure dialog as a page with a configure button on it.
3313 Add padding for multiple-configure dialog.
3314 Make the multiple-configure dialog notebook tabs scrollable.
3315 * src/pluginutils.c, src/pluginutils.h:
3316 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3317 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3318 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3319 plugins/geanyfunctions.h, plugins/filebrowser.c:
3320 Add plugin_show_configure() API utility function.
3321 Add File Browser popup menu 'Preferences' item.
3322 * src/highlighting.c:
3323 Add get_keyfile_ints() instead of using tmp_style hack.
3324 * src/highlighting.c, data/filetypes.xml:
3325 Change new html_asp_default_language markup pref to use integer,
3326 not hex in config file.
3327 Fix minor issue with changing pref back to 0.
3328 * src/highlighting.c:
3329 Fix possible segfault in get_keyfile_int() if key value is malformed.
3332 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3334 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3335 Add "html_asp_default_language" pseudo style to filetypes.xml
3336 to allow setting the used language in embedded ASP code
3337 (patch by Ross McKay, thanks).
3338 * src/filetypes.xml:
3339 Update VBScript keywords (patch by Ross McKay, thanks).
3342 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3344 * src/keybindings.c, THANKS:
3345 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3346 keybinding use line breaking column when enabled.
3348 Fix showing the document before reload dialog when opening an
3350 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3351 Add plugin_configure_single() plugin symbol which is easier to
3352 implement than plugin_configure() but won't support a
3353 multiple-plugin configure dialog.
3355 Show multiple plugins in the 'Configure Plugins' dialog.
3358 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3360 * doc/geany.txt, doc/geany.html:
3361 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3363 * doc/geany.txt, doc/geany.html:
3364 Add 'Toolbar entries' section.
3365 * doc/geany.txt, doc/geany.html:
3366 Update 'Go to line' keybinding description.
3367 * doc/geany.txt, doc/geany.html:
3368 Split keybinding table into group tables; update KB links.
3371 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3374 Fix compiler warnings about uninitialised variables.
3375 * src/callbacks.c, src/document.c:
3376 When reloading files, use the previously set encoding instead of
3377 detecting it again (closes #2862041).
3379 Turn on automake silent rules if supported.
3382 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3385 Speed up sorting in utils_get_file_list(). This reduces the file
3386 browser delay on displaying a big directory, e.g. /usr/bin.
3388 Expand command entry width when expanding Build Commands dialog.
3390 Split Build Commands dialog notes label and edit text.
3392 Add padding for Build Commands dialog separators.
3393 Add colons for regex field labels; fix 1 capitalisation.
3395 Fix none filetype Build Commands dialog label.
3396 Make group labels bold.
3397 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3399 Add & use ui_label_set_markup(), ui_label_new_bold().
3400 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3401 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3402 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3403 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3404 * src/keybindings.c:
3405 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3408 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3410 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3411 tagmanager/parsers.h, tagmanager/makefile.win32,
3412 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3413 data/filetype_extensions.conf, wscript:
3414 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3416 Merge recent changes from the CTags project to further improve
3420 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 Fix wrong alignment of printed pages when page headers are
3424 disabled (closes #2856822).
3425 Plug a small memory leak and improve function signature of
3428 Save an if expression.
3430 After clearing a text field using the embedded clear icon, put the
3431 input focus into this text field.
3434 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3436 * plugins/filebrowser.c:
3437 Free file list memory whilst iterating the list.
3438 Minor formatting fixes.
3439 * src/utils.c, src/utils.h:
3440 Add foreach_dir() API macro.
3441 Update API docs for utils_get_file_list().
3442 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3444 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3445 Beep if there are no more snippet positions.
3446 Limit length of snippet positions queue to 20.
3449 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3451 * src/keybindings.c, src/callbacks.c, src/search.c:
3452 Make Goto Tag commands use the current selection if present (useful
3453 for selecting part of a tag or for ReST section names with spaces
3456 Don't move the cursor when reloading.
3457 * src/plugindata.h, src/editor.c, src/editor.h:
3458 Make editor_prefs.snippets hash table private (not a pref).
3461 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3464 Remove deprecated --debug flag. Please use --verbose/-v instead.
3467 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3470 Show Find in Files stderr output in messages window instead of
3471 debug window so that invalid regex messages can be seen easily.
3472 Combine FIF stdout and stderr callback code.
3475 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3478 Fix opening filenames beginning with two dots (closes #2858487).
3479 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3480 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3481 data/filetypes.common, geany.glade:
3482 Update syntax highlighting after changing the 'Invert syntax
3483 highlighting colors' pref, instead of requiring a restart.
3484 Remove filetypes.common invert_all option - use 'Invert syntax
3485 highlighting colors' pref instead (closes #2854525).
3486 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3487 Add 'Allow' button when showing the conflicting keybinding dialog.
3488 Make dialogs_show_question_full() use GTK dialog on Windows if
3489 button text is not the stock yes/no items.
3490 Add dialogs_show_prompt() which also has an 'Apply' button.
3491 * src/queue.c, src/queue.h:
3492 Add warning that GeanyQueue may be removed.
3493 * src/keybindings.c, src/editor.c, src/editor.h:
3494 Change snippet_goto_next_cursor() to
3495 editor_goto_next_snippet_cursor() as it's in editor.h.
3496 Avoid using GPOINTER_TO_INT macro.
3499 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3501 * src/keybindings.c:
3502 Fix 'Reflow block' command when at the last paragraph and there's
3503 no last newline (patch by Eugene Arshinov, thanks).
3505 Add 'Compiler options & warnings' section.
3506 Update Style section to be clearer about code alignment and show
3511 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3513 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3514 src/plugindata.h, src/plugins.c, src/editor.c,
3515 plugins/geanyfunctions.h:
3516 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3517 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3519 Add sci_toggle_marker_at_line().
3520 Fix SciFuncs alignment.
3523 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3526 Fix erroneous free of returned string in prepare_run_script.
3529 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3531 * data/filetypes.latex:
3532 Changing default value for showing pdf and dvi to ensure to take
3533 *.pdf and *.dvi file.
3536 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3538 * src/about.c, THANKS:
3539 Change language string for Slovenian translation.
3542 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3544 * tagmanager/txt2tags.c:
3545 Fix multi-byte character constant comparison.
3547 Fix Gtk warning when trying to update documents popup menu item
3548 sensitivity before they exist.
3551 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3554 Improve the opening string in the plugin manager dialog.
3556 Use "max-width" to set the document width of the generated
3557 HTML documentation to let the text be auto-wrapped.
3558 * src/prefs.c, src/tagmanager/include/guregex.h,
3559 src/tagmanager/include/tm_tagmanager.h:
3560 Remove trailing spaces (patch by André Hentschel, thanks).
3562 Fix a compiler warning.
3564 Fix crash when opening documents.
3565 * src/build.c, src/build.h, src/project.c:
3566 Adjust coding style (no code changes).
3567 * src/build.c, src/project.c:
3568 Use NZV() macro instead of strlen() to check for empty strings.
3569 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3570 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3571 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3572 src/plugins.c, THANKS:
3573 Add new plugin signal: "document-before-save".
3574 Add get_line_end_position(), set_target_start(), set_target_end(),
3575 replace_target() to the plugin API
3576 (patch by Eugene Arshinov, thanks).
3577 Add new plugin signal: "document-filetype-set" (closes #2852286).
3578 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3579 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3580 tagmanager/Makefile.am, tagmanager/makefile.win32,
3581 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3583 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3586 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3588 * src/treeviews.c, src/document.c:
3589 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3590 Use gtk_notebook_set_current_page() instead of
3591 document_open_file_full() when choosing an item from the documents
3593 Avoid using goto in document_open_file_full().
3596 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3598 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3599 Enable type-ahead find for sidebar symbols and documents tabs
3600 (patch by Thomas Martitz, thanks).
3602 Fix 2 free's of possibly uninitialized pointers.
3605 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3607 * src/build.c, src/filetypes.h, src/filetypes.c:
3608 Only write filetype config files when build command or regex is
3609 actually changed. Removed commented code in src/filetypes.c.
3611 Ensure uses of filename are protected against nulls when running
3612 a build command and give status message if not.
3615 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3618 Remove plugin from plugin manager dialog on unloading if it no
3619 longer exists or is incompatible.
3622 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3625 Add warning if only one of the plugin_key_group[_info] symbols is
3626 defined for a plugin.
3627 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3628 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3630 Merge custom-filetypes branch:
3631 Support adding custom filetype files e.g. filetypes.Foo.conf.
3633 Allow GeanyFiletype::extension to be NULL.
3634 Add note about using GeanyFiletype pointer instead of filetype_id
3635 for filetypes.c function arguments.
3636 Replace styleset_none() with styleset_default().
3639 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3642 Show the sidebar if either the documents or the symbols list are
3643 enabled (related to #1876107).
3646 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3648 * src/build.c, src/filetypes.c:
3649 Fix compiler warnings.
3651 Fix removing leading double slashes in filenames which are used for
3652 network resources on Windows (closes #2844085).
3655 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3657 * src/keybindings.c:
3658 Fix Make keybindings (patch by Lex Trotman, thanks).
3660 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3662 Mention Files link at top for header files; demoplugin.c.
3663 Minor edits; remove 'far from being complete'.
3664 * src/keyfile.c, src/keyfile.h, src/main.c,
3665 data/filetype_extensions.conf, HACKING:
3666 Remove --generate-data-files argument & code - just edit
3667 filetype_extensions.conf by hand (filetype order was broken
3669 Add *.H extension for C++ (useful for non-Windows systems).
3672 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3675 Fix implementation of loading old project files with base
3676 directories. Use project_make_base_path instead of re-
3677 implementing. Now depends on project.c reading base dir
3678 prior to calling load_build_menu.
3680 Change usage of project base directory to conform with
3681 previous documented behavior when loading old project files.
3683 Change make custom and make object to ignore make in base path
3684 when reading old project file settings. Changed some indent
3685 spaces to tabs. Fix missing compile menu accelerator.
3688 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3691 Add warning about not using undocumented features.
3692 Add reference to HACKING for plugin API development.
3694 Add section 'Plugin API/ABI design'.
3695 * src/keybindings.h, src/makefile.win32, src/project.h,
3696 src/filetypes.h, src/Makefile.am, wscript:
3697 Use GEANY_PRIVATE to hide some fields from plugins.
3699 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3700 * src/build.c, src/build.h, src/project.c:
3701 Use build_ prefix for 3 functions in build.h; add a static modifier.
3704 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3707 Improve parsing of PHP functions by requiring a valid modifier or
3708 whitespace before the 'function' keyword to ignore some false
3709 positives like function tags inside comments
3710 (patch by Harold Aling, thanks).
3711 * tagmanager/python.c:
3712 Don't parse comments after import statements and other tags
3713 (closes #2838938, patch by Huandari Lopez, thanks).
3716 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3718 * data/filetypes.markdown:
3719 Add filetypes.markdown for configuration (thanks to Jon Strait).
3720 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3721 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3722 plugins/geanyfunctions.h:
3723 Remove GeanyKeyGroup struct from the API - plugins should not set
3725 Make keybindings_set_item() duplicate the name and label fields
3726 (needed by GeanyLua) and return a keybinding pointer.
3727 Add keybindings_get_item() to the API (in case it's useful).
3728 Move some keybinding code out of plugin source files.
3731 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3733 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3734 Don't generate build.h API docs until everything is approved and
3735 functions are actually in geany_functions.
3736 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3737 as they may be changed or made private later.
3738 Break ABI for fields removed.
3741 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3743 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3744 src/keyfile.c, src/project.c:
3745 Changed names of symbols visible in build API to GEANY_xxx.
3748 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3750 * src/project.h, src/project.c, src/build.c:
3751 Remove make_in_base_dir and run_cmd fields from project structure.
3752 Replaced by build functionality. Remove incorrect use in src/build.c
3753 build_run_cmd function.
3756 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3758 * src/project.h, src/project.c:
3759 Removed unused project_get_make_dir function, this is now per
3763 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3765 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3767 Fix some more warnings.
3768 Fix commented out execute/stop toolbar code in build.c.
3769 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3770 Changed build.h api so all functions prefixed with build_.
3773 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3775 * src/build.c, src/build.h, src/project.c:
3776 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3779 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3782 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3783 strings when reading old format configuration & project files.
3784 * src/build.c, src/project.c:
3785 Fixed GLib array assertion warnings when no project filetypes are
3786 available to be saved.
3788 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3794 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3796 * src/build.h, src/build.c, src/project.c:
3797 Created and documented plugins interface to build menu.
3798 Factored out new get_cmd_group function.
3799 Changed name of remove_command function to be consistent with the
3800 rest of the interface & changed calls in project.c.
3801 * src/Makefile.am, wscript:
3802 Added build.h to installed files lists.
3804 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3807 Updated manual to match build-menu capability.
3810 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3812 * src/build.c, src/build.h:
3813 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3814 Improved interpretation of run_in_base_dir from old [build-settings]
3815 Added spacing to build commands dialog
3817 Removed run in base path option from project dialog and added button
3818 to set working directories to d the same.
3821 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3824 Re-incorporated toolbar changes in trunk accidently excluded in merge
3826 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3829 Fixed substitute %f etc in commands
3830 Fixed potential leak in build_replace_placeholder
3831 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3832 Fixed build_replace_placeholder to not require document.
3834 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3836 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3837 Fixed crash and lots of warnings, deleted some commented out code.
3838 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3839 Removed make command from preferences and associated code
3841 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3843 * src/build.c, src/build.h:
3844 Incorporated patch for working directory field (thanks Thomas)
3845 Removed run_in_base_dir option and associated code that it replaces
3846 Improved handling of old config files and mapping to new ones.
3848 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3850 * src/build.h, src/build.c:
3851 Changed to itterate over entries in build commands dialog to allow
3852 additional fields to be added
3853 Implement support for multiple run commands
3854 * data/filetypes.latex:
3855 Implement configured commands and labels for latex.
3858 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3860 * src/build.h, src/build.c:
3861 added dialog support for error regular expressions from multiple
3862 sources and storing and loading them fixed some typos and memory
3864 * src/filetypes.c, src/filetypes.h, project.c:
3865 added support for using error regexes from multiple sources
3868 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3870 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3872 Removal of build menu item source made redundant by the following fix
3874 Corrected priority oreder and loading of filetype dependent build
3875 menu items saved in the project file. Added print routine for
3876 debugging command sources and priorities set compile symbol
3877 PRINTBUILDCMDS true to enable
3879 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3882 fixed problem loading old format filetype files, some formatting
3883 fixes fixed saving new format files
3884 added operation for clear button on build commands dialog
3886 fixed loading and saving filetype files
3889 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3891 Configurable Build Menu Changes
3893 * doc/geany.html, doc/geany.txt:
3894 Updated build menu section to new functionality
3895 * src/build.h, src/build.c:
3896 Largly re-written, configurability added, Latex code removed
3897 * src/filetypes.h, src/filetypes.c:
3898 Filetype structure updated to add new command pointers, configuration
3899 load and store changed
3900 * src/keybindings.h, src/keybindings.c:
3901 Changed to address new command storage structure.
3903 Changed to load/store new configuration.
3905 Minor change to initialisation order.
3907 Changed to address new menu item storage structure.
3908 * src/project.h, src/project.c:
3909 Changed to load/store the new configuration info.
3911 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3913 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3914 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3915 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3916 plugins/splitwindow.c:
3917 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3918 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3919 the ABI when adding fields to them.
3920 Add plugin_set_key_group() for plugins to dynamically set a
3921 keybinding group (e.g. for the Lua script plugin). Used in Split
3922 Window plugin as an example.
3923 Improve keybinding docs a little.
3926 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3928 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3929 Add geanyfunctions.h to API docs.
3930 * plugins/splitwindow.c:
3931 Set the cursor color for the split window.
3934 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3937 Fix 'Open Selected File' for unsaved new documents.
3938 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3939 Fix updating main menu accelerators after changing keybindings
3940 (thanks to Lex Trotman).
3942 Fix using 'Insert date' keybinding when a custom date string has
3944 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3945 Merge Plugin and GeanyPluginPrivate structs.
3948 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3950 * src/keybindings.c:
3951 Fix non-working Home and End keys on numpads.
3954 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3956 * doc/geany.txt, doc/geany.html, NEWS:
3957 Add 'Scope autocompletion' section.
3958 Add 'Tools menu items' section to explain configuration files
3959 submenu, reload configuration item.
3960 Minor updates/fixes.
3963 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3966 Add a translation hint to an ambiguous format string.
3968 Add missing include path to fix 'make distcheck'.
3970 Fix opening of local files in the browser on Windows.
3971 * New release: Geany 0.18 "Kaine".
3972 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3973 src/geany.h, doc/geany.html, doc/geany.txt:
3974 Post-release version bump.
3977 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3980 Temporarily disable reshowing calltips when the autocompletion
3981 list was closed implicitly by not choosing an item to fix
3982 problems with wrongly displayed calltips.
3984 Add missing 'coding' cookie to the Python filetype template.
3985 * doc/images/pref_dialog_edit_completions.png,
3986 doc/images/pref_dialog_toolbar.png:
3987 Update images for Geany 0.18.
3990 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3993 Add command '--hackingdoc' to create the HTML form of the
3997 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3999 * po/pt_PT.po, po/LINGUAS:
4000 Added a first Portugese (Portugal) translation based on work done at
4001 launchpad by e.g. André Glória and Alexandre Jesus.
4002 * src/main.c: Fix a minor typo on --help call.
4005 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4007 * src/highlighting.c:
4008 Call get_keyfile_wordchars() in highlighting_init_styles().
4011 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4013 * data/filetypes.ada:
4015 * src/keybindings.c:
4016 Switching notebook tabs now works for the currently used notebook
4017 widget instead of always using the documents notebook.
4018 * src/document.c, src/document.h, src/documentprivate.h,
4020 Small corrections to some API docs.
4023 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4025 * src/build.c, src/win32.h, src/win32.c:
4026 Expand system environment variables (%variableName%) on Windows when
4027 running Build commands.
4030 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4032 * src/keybindings.c:
4033 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
4034 future using an indent block is more useful e.g. for ChangeLog
4036 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
4037 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
4038 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
4039 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
4040 tagmanager/parsers.h, tagmanager/makefile.win32,
4041 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
4042 Add Markdown filetype (patch by Jon Strait, thanks).
4043 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
4044 Fix disconnecting plugin signal id when not using geany_object.
4046 Add filetype_make_title() instead of using:
4047 ft->title = g_strdup_printf(_("%s source file"), ft->name);
4048 It also supports "%s file" strings.
4051 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4053 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
4054 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4055 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
4056 plugins/filebrowser.c:
4057 Add plugin_signal_connect() for connecting plugin signals at
4058 runtime and also for connecting to any GObject signal.
4059 Add 'Plugin Utility Functions' on main page.
4060 Add foreach_array() macro.
4061 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
4062 src/document.c, src/editor.c:
4063 Rename 3 sci functions to sci_set_target_start(),
4064 sci_set_target_end(), sci_replace_target() to match the SCI_
4068 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4070 * wscript: Fix compiling error with waf.
4073 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4075 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
4076 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
4077 src/Makefile.am, wscript:
4078 Move plugin_* utility functions to pluginutils.c.
4079 Add pluginprivate.h.
4081 Fix reshowing calltip in the wrong document.
4084 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4086 * doc/geany.txt, doc/geany.html:
4087 Add some general information about auto-completion capabilities
4088 (patch by Lex Trotman, thanks).
4091 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4093 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
4094 Added a first Slovenian translation. Thanks to Joze Klepec.
4097 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4099 * src/highlighting.c:
4100 Use full styleset_foo[_init] function name as argument to
4101 init_styleset_case() and styleset_case() macros so it's easier to
4102 understand the code.
4103 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
4104 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
4105 doc/geany.txt, doc/geany.html:
4106 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
4107 Heavily based on a patch by Eugene Arshinov (thanks).
4108 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
4109 editor_strip_line_trailing_spaces().
4112 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4115 Attempt to fix reshowing calltips after the autocompletion list
4117 Reshow calltips also when the autocompletion list was closed
4118 implicitly by not choosing an item.
4120 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4122 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
4123 plugins/splitwindow.c:
4124 Change utils_str_remove_chars() to work in place; fix allocating on
4125 the stack (the string length could exhaust the stack size).
4126 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
4127 src/printing.c, src/callbacks.c:
4128 Rename utils_str_replace() utils_str_replace_all(), setting a
4129 'gchar **haystack' argument instead of returning a new string.
4131 For the Tabs indent type, remove spaces when unindenting (only) if
4132 there are no tabs on the line.
4133 Group undo actions for (un)indenting of multiple lines.
4134 * src/document.c, src/editor.c:
4135 Fix scrolling horizontally after finding a search match with the
4136 search bar or Find Next/Previous which is off-screen.
4137 * src/keybindings.c:
4138 Fix GLib warning when pressing a key with no documents open.
4141 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4144 Start unifying usage of @a and @c markup elements in API docs,
4146 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
4147 Show/hide the toolbar without a restart when the setting in the
4148 preferences dialog is changed (closes #2824785).
4149 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
4150 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
4151 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
4153 Continue unifying usage of @a and @c markup elements in API docs.
4156 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4159 Remove relative/untidy path elements when creating new documents
4160 with a filename (e.g. from the command-line) (#2823998).
4163 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4166 Disable 'Recent Projects' menu item if the list of recent projects
4169 Fix some harmless compiler warnings.
4170 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
4171 src/plugins.c, src/utils.c, src/utils.h:
4172 Move utils_str_remove_chars() from the plugins/splitwindow.c to
4173 src/utils.c and add it to the plugin API.
4174 Make utils_str_remove_chars() work on a new copy of the input string
4175 instead of modifying it in place.
4177 Remove underscores from the toolbar items labels.
4180 * plugins/splitwindow.c:
4181 Fix broken 'Show the current document' tool button icon.
4184 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4186 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
4188 Add stash_group_add_widget_property() so we can save any widget's
4189 read/write properties.
4190 Use Stash for ui_prefs.sidebar_page setting.
4191 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
4192 Make foreach_ptr_array() use an integer argument for its
4193 implementation, as this is more useful potentially than a gpointer*
4194 argument, and more straightforward.
4195 Add foreach_c_array(), foreach_ptr_array() to API.
4196 * src/utils.c, src/utils.h, src/document.c:
4197 Remove relative/untidy path elements when opening documents (closes
4200 Fix showing project name for documents list files with no
4201 subdirectory (oops).
4203 Fix checking whether to overwrite when using the Rename button in
4204 the 'Save As' dialog.
4207 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4210 Don't use the main window as parent for dialog boxes if it is not
4212 Set titles for message dialogs.
4215 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4218 Display item labels instead of raw names in the toolbar editor.
4219 Apply changes in the toolbar editor instantly.
4220 Show icons in the toolbar editor.
4221 Speed up toolbar editor dialog creation.
4223 Improve inserting of comment templates like File header or licence
4224 notices. The comment information are now read from the filetype
4225 configuration files.
4227 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4230 Enable file monitoring for files which are written to disk by Geany
4233 Fix broken special case handling when detecting filetypes from a
4234 shebang or other special file headers.
4237 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4240 Make Mark All keybinding clear search highlighting when there's no
4243 Fix wrong match length when using Mark with regex.
4244 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4245 src/keyfile.c, src/main.c:
4246 Add 'Show Paths' documents list popup item.
4247 Add "load_settings" core-only signal emitted just after loading
4248 main keyfile settings; useful to delay building UI elements until
4249 settings have been read.
4251 Fix GTK warning when right-clicking on default tag tree.
4252 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4253 Add treeviews_finalize().
4254 Remove tv.popup_openfiles field.
4257 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4259 * src/highlighting.c:
4260 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4263 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4266 Quote the uri before passing it to the browser when opening a
4267 website (closes #2818635).
4269 Fix broken 'builtin' Run command for HTML files on Windows.
4272 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4275 Properly fix wrong brace highlighting of non-brace character.
4277 Allow autocompletion in Perl double-quoted strings.
4278 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4279 Don't autocomplete in Perl q() strings.
4280 * data/filetypes.common:
4281 Make Mark highlighting brighter.
4282 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4283 Use hyphen for auto-feature terms.
4284 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4285 src/document.h, src/main.c:
4286 Add documents_foreach() API macro that skips invalid docs.
4287 Make filetypes[], documents[] part of the API again.
4288 Add GEANY() macro for sharing geany symbols between API and core.
4289 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4290 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4291 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4292 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4293 plugins/classbuilder.c, wscript:
4294 Add geanyplugin.h single include for plugin API; update all core
4296 Add sci_set_font() to API.
4297 Update plugin howto.
4298 * src/filetypes.c, src/filetypes.h:
4299 Remove filetypes_foreach_named().
4302 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4304 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4305 src/document.h, src/main.c, THANKS:
4306 Apply patch from Eugene Arshinov to reload color schemes via menu
4309 Reload filetypes.common after saving it.
4311 Improve wrong brace highlighting of non-brace character.
4314 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4317 Delay highlighting matching braces by 100ms, which speeds up
4318 scrolling with the arrow keys.
4319 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4320 Add 'Mark All' keybinding.
4321 * tagmanager/diff.c:
4322 Show relative paths in diff filename tags.
4325 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4327 * src/highlighting.c:
4328 Fix setting keyword list 'classes' for Haxe
4329 (pointed out by Andreas Mokros, thanks).
4332 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4334 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4335 doc/geany.txt, doc/geany.html, geany.glade:
4336 Add 'Drop rest of word on completion' pref.
4337 * src/editor.c, doc/geany.txt, doc/geany.html:
4338 If autocompletion is already visible when forcing completion, show
4339 document word completion instead of tag completion.
4340 Docs: Minor edits of related prefs items.
4341 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4342 Add warning when printing and editor font is not monospaced.
4343 Fix using GtkMessageType instead of gint param for
4344 dialogs_show_msgbox*().
4345 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4347 Support 'tab indents, space aligns' style for auto-indentation
4351 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4353 * src/document.c, src/documentprivate.h:
4354 Rework the GIO based file monitoring code. Now it is used only
4355 to indicate a possible change of the file, the real check if the
4356 file has been changed is performed by stat().
4357 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4358 Add style 'line_height' to increase the line height.
4359 Add style 'marker_mark' and change style 'marker_search' to
4360 define the style used for marked search results.
4361 * doc/geany.txt, doc/geany.html:
4362 Add the new 'Autocomplete all words in document' pref to the docs.
4365 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4367 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4368 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4369 Add 'Autocomplete all words in document' pref.
4370 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4372 Fix limiting number of word completion entries too much.
4373 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4374 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4375 Show autocompletion icons for tag symbols - for now only tags with
4376 an arglist have the 'function/method' icon, all others have the
4378 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4380 * src/highlighting.c:
4381 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4385 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4387 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4388 Fix removing underscores in translated string using no_underscore()
4390 Set a tooltip for the Split Window plugin's Show Current tool button.
4391 Add utils_strdupa() macro.
4392 * src/interface.c, geany.glade:
4393 Use stock Select All icon now we have >= GTK 2.8.
4395 Fix using project name for document items that start with the
4396 project base path but don't match it e.g. ".../geany-plugins"
4397 instead of ".../geany" when project name is 'geany'.
4400 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4403 Fix warnings when the toolbar does not contain the Run button.
4405 Fix wrong parsing of complex expressions in the Lua parser.
4406 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4408 Remove unnecessary enums.
4409 * scintilla/*, scintilla/include/*, src/plugindata.h:
4410 Update Scintilla to version 1.79.
4411 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4413 Use the new Scintilla struct names prefixed with 'Sci_'.
4414 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4416 Add second argument to the 'line_wrap_indent' styling setting to
4417 control the new Scintilla indentation mode for wrapped lines.
4419 Properly close the toolbar editor on delete-events.
4420 Fix warnings and possible crashes in the toolbar editor when the list
4421 of displayed toolbar items is empty.
4422 * data/filetypes.tcl:
4423 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4425 Make the plugin manager dialog a bit bigger.
4428 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4430 * doc/geany.html, doc/geany.txt:
4431 Fix wrong default values for the 'Show Calltip' keybinding.
4434 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4436 * data/filetypes.tcl, src/symbols.c:
4437 Fix duplicate "context_action_cmd" key.
4438 Use different icons for "Methods" and "Procedures" in the symbol
4441 Fix a small memory leak.
4442 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4443 src/keybindings.h, src/plugindata.h:
4444 Make the Scintilla keybindings 'Delete to end of line' and
4445 'Go to end of display line' configurable.
4447 Fix a typo (closes #2813624).
4450 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4452 * tagmanager/tcl.c, src/symbol.c:
4453 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4454 methods and namespaces).
4455 Patch by Witek Mozga, thanks.
4458 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4460 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4461 src/toolbar.c, src/toolbar.h:
4462 Remove ui_toolbar.xml Configuration Files menu item.
4463 Add a real toolbar editor dialog.
4464 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4466 Add a button in the preferences dialog and an item for the toolbar
4467 popup menu to run the toolbar editor dialog.
4470 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4473 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4474 Fix using locale encoding for default Save As dialog path.
4476 Beep when trying to activate the '...' autocompletion item.
4477 Limit (forced) document word completion to
4478 autocompletion_max_entries.
4479 Beep if no completions are shown when forcing autocompletion.
4482 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4484 * data/ui_toolbar.xml, src/toolbar.c:
4485 Add 'Build' toolbar button to the default layout.
4488 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4491 If forcing autocompletion and there's nothing else to show, complete
4492 from words in the current document (using code from Enrico's
4493 'AutoComplete Test' plugin).
4496 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4499 Add debug message if plugin has not set a name for its keybinding
4501 * data/filetype_extensions.conf:
4502 Add *.m4 for shell scripts.
4505 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4507 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4508 data/filetypes.common, TODO:
4509 Make filetypes.common named styles use the "default" named style for
4510 all missing style fields.
4511 Set named styles to usually leave the background style empty. This
4512 currently allows C-like filetypes to have a common default
4514 Allow hard-coded colors to use -1 for the default color.
4515 Add some highlighting style examples to the manual.
4518 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4521 Create initial template files with proper platform-specific line
4525 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4527 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4528 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4529 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4530 src/ui_utils.c, src/ui_utils.h:
4531 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4533 Refactor some related code.
4534 * tagmanager/conf.c:
4535 Strip trailing spaces from "Key" tags.
4537 Quote the full filename to the Geany executable when creating the
4538 "Open with Geany" context menu item.
4539 * plugins/splitwindow.c:
4540 Avoid using deprecated GTK API.
4541 * src/log.c, src/main.c:
4542 Properly clean up the logging mechanism.
4544 Fix LaTeX view commands on Windows (part of #2807688).
4546 Add a popup menu for the keybinding list in the preferences dialog
4547 to easily expand and collapse all groups.
4548 Refactor the keybindings code for the preferences dialog, prefix all
4550 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4551 Init stock items before creating the toolbar (closes #2809324).
4553 Generate the geany.pc file also on Windows.
4555 Invert the logic to determine which Save All we want to use:
4556 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4557 like icon for any other themes.
4560 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4562 * src/highlighting.c, README.Packagers, HACKING:
4563 Remove gsd_* default styles, use named styles instead.
4564 Note: this relies on filetypes.common being installed.
4565 Add load_style_entries(), which makes style initialization
4566 simpler, used in styleset_c_like_init().
4569 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4572 Prevent possible crash on Windows when not setting an initial
4573 directory for native File Open/Save dialogs.
4574 * data/filetypes.xml, src/highlighting.c:
4575 Add style 'jscript_regex' for filetype HTML
4576 (patch by Chris Macksey, thanks).
4579 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4581 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4582 Make GeanyDocument::file_type always be non-NULL, even for a new
4583 document with no filetype set.
4585 Only autocomplete scope for scopes matching the current filetype's
4587 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4588 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4589 data/filetypes.actionscript, data/filetypes.cs,
4590 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4591 data/filetypes.javascript, HACKING:
4592 Make C++, D lexer filetypes use named styles (apart from uuid,
4593 verbatim, regex styles).
4596 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4599 Don't explicitly change the current directory of the Save As dialog
4600 so that it uses the last used directory.
4603 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4605 * src/encodings.c, src/encodings.h, src/plugindata.h:
4606 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4609 When completing from the macro list, put the cursor after
4613 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4615 * tagmanager/pascal.c:
4616 Fix type definitions being parsed as functions.
4618 Don't autocomplete in unterminated strings as well.
4619 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4620 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4621 Remove data_ptr argument to foreach_[s]list() macros, as using
4622 node->data is enough sometimes; this makes the macro a bit more
4624 Add foreach_[s]list() macros to the plugin API docs.
4627 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4629 * scintilla/LexPascal.cxx:
4630 Backport fix from Scintilla CVS:
4631 Pascal lexer hanging on file that starts with 'interface' after
4635 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4638 Update Waf to 1.5.7.
4640 Overwrite installation prefix on Windows only if it wasn't
4641 specified explicitly.
4644 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4647 Display calltips for Pascal symbols in the Pascal way (#2803945).
4648 * tagmanager/pascal.c:
4649 Fix wrongly set return values for procedures (closes #2803945).
4650 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4651 tagmanager/include/tm_source_file.h,
4652 tagmanager/include/tm_workspace.h:
4653 Fix doxygen warnings.
4656 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4658 * src/editor.c, tagmanager/include/tm_workspace.h,
4659 tagmanager/tm_workspace.c, TODO:
4660 Autocomplete scoped fields like struct members when typing '.' (and
4661 also '->' or '::' in C/C++).
4662 Save all tag types for C/C++ when generating a global tags file, so
4663 we can use autocompletion for structs also.
4664 Merge tm_workspace_find_scope_members(),
4665 tm_workspace_find_namespace_members() (currently not built) from
4666 Anjuta 2.24.1 tagmanager.
4669 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4671 * tagmanager/pascal.c:
4672 Parse Pascal calltips (closes #2802640).
4675 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4677 * src/filetypes.c, src/ui_utils.c:
4678 Add filetypes.common Configuration Files menu item.
4681 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4684 Add backslash to the wordchars on Windows when using
4685 'Open Selected File'.
4687 Add support (configure, build and install) for building on Windows
4688 and cross-compiling for Windows using the Waf build system.
4691 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4694 Set status bar text instead of showing a dialog when saving
4695 ui_toolbar.xml because the user might save several times.
4697 Fix redrawing due to colourising just after the document is first
4698 drawn. Now colourising should happen before the first draw.
4699 * src/utils.c, src/highlighting.c, data/filetypes.common:
4700 Fix segfault on parsing a filetypes.* style definition that has < 4
4702 Allow style definitions to have missing fields to use the default
4706 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4708 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4709 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4710 * plugins/classbuilder.c:
4711 Fix wrongly created header guards when the class filenames contains
4712 dashes (patch by PCMan, thanks).
4713 * data/filetypes.matlab:
4714 Add build_settings section to allow executing Matlab scripts.
4716 When closing a document, mark it as invalid before removing it from
4717 the documents notebook (this fixes wrong Save All button state when
4718 closing an unsaved document because the "switch-page" signal handler
4719 was using old data).
4722 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4724 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4725 Support toggling bold/italic when using a named style, e.g.:
4726 commentdockeyword=commentdoc,bold,italic
4727 Improve named style docs.
4730 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4732 * src/build.c, src/editor.c:
4733 Fix crashes when parsing the output of a compiler which reports
4737 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4739 * src/highlighting.c:
4740 Support named styles also for filetypes.common [styling] entries.
4741 * doc/geany.txt, doc/geany.html, HACKING:
4742 Update docs for named styles in filetypes.* files.
4744 Fix grouping symbol list children when parent name has "." character
4745 in for reStructuredText and Conf filetypes.
4746 * tagmanager/python.c:
4747 Fix grouping functions/classes under a nested function.
4750 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4753 Adjust icon paths (patch by Dominic Hopf, thanks).
4754 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4755 Add 'Replace' toolbar button (closes #2798225).
4758 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4760 * src/utils.c, src/highlighting.c, TODO:
4761 Implement named styles support for filetypes.* using a
4762 filetypes.common [named_styles] section e.g.:
4763 foo=0xc00000;0xffffff;false;true
4765 These can be used in e.g. filetypes.c as:
4769 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4772 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4775 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4777 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4778 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4781 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4784 Remove quote_executable() as it is not used anymore.
4785 When creating the geany_run_script.bat use the "%0" variable
4786 expansion and quote it for the "del" command (closes #2797172).
4788 On Windows, fallback to the literal build command line if searching
4789 for the command in the system path failed (related to #2795923).
4790 Properly terminate the resulting strings when reading the stdout
4791 and stderr of any spawned commands on Windows.
4794 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4797 Use the wide character versions of native Windows File dialogs.
4799 Fix wrong initialisation of the default project path button callback
4800 in the preferences dialog.
4801 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4802 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4803 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4804 icons/Makefile.am, icons/geany.ico, icons/scalable,
4805 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4807 Move the icons geany.png and geany.ico into the icons directory.
4808 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4809 Drop the pixmaps directory.
4812 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4814 * src/keybindings.c:
4815 Improve MRU document switching so there are no duplicates in the
4816 list and documents switched to whilst the dialog is open are
4817 ignored. Also beep when cycling through to the first document in the
4821 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4824 Fix broken 'Cancel' button in the Save As dialog.
4827 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4830 Fix multiline indent when selection covers text on the last line.
4832 Show current document in bold in tab popup menu.
4833 * src/editor.c, tagmanager/python.c, TODO:
4834 Parse Python calltips.
4837 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4839 * src/symbols.c, tagmanager/python.c:
4840 Parse Python import statements to get symbol completion for the
4841 imported module names.
4842 * src/editor.c, src/editor.h:
4843 Make some only locally used functions static.
4844 Fix wrong sanity check.
4846 Fix quoting the build command string on Windows (closes #2791769).
4847 This broke when we made build commands run synchronously on Windows,
4848 now we don't need to special quote the commands anymore.
4851 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4854 Drop rest of word to the right of cursor when autocompleting (do we
4855 need a pref for this?).
4858 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4860 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4861 Add sci_set_selection().
4862 * doc/geany.txt, doc/geany.html:
4863 Update manual for MRU switching.
4864 * src/callbacks.c, src/editor.c, src/editor.h:
4865 Make indenting with the Tabs indent type preserve spaces on the line,
4866 so it works for the 'tab indents, space aligns' formatting style.
4869 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4871 * tagmanager/python.c:
4872 Fix missing symbols for variables when an equal sign is used
4873 in a comment on the same line as the variable declaration.
4874 Backport change from CTags SVN to keep the parser more in sync:
4875 Add support for Cython constructs to the Python parser.
4877 Remember the additional Find in Files search flags at startup.
4879 Don't close the Save As dialog when saving the file didn't succeed.
4882 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4885 Remember scribble cursor position.
4886 * src/keybindings.c, TODO:
4887 Implement Most-Recently-Used document switching when pressing
4888 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4891 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4893 * data/latex.tags: Added some more commands from unit.sty and
4897 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4899 * src/symbols.c, doc/geany.txt, doc/geany.html,
4900 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4901 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4902 tagmanager/Makefile.am, wscript:
4903 Merge unstable branch:
4904 Add reStructuredText scope information for tags (for symbol list
4906 Read custom system global tags files from $prefix/share/geany/tags;
4908 Show the number of tags in a user global tags file (instead of the
4909 running total) in the debug message.
4910 Also print debug messages when loading a tag file manually or for
4911 default global tags files e.g. python.tags.
4913 Move NestingLevel tags code into a separate file, add functions.
4915 Add 'Installation prefix' section instead of quoting '/usr/local'
4917 Update for custom system global tags files.
4920 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4922 * src/highlighting.c:
4923 Unset maybe previously keywords when setting up Scintilla for
4924 XML files. This fixed wrong highlighting after switching back to
4925 filetype XML from another one.
4927 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4928 is only used when explicitly requested.
4930 Remove unnecessary call to g_intern_string() to fix build with
4931 GLib 2.8 (closes #2790051).
4934 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4937 Make the clear icon of entry fields act on the release event, not
4938 on the press event like for other buttons.
4940 Refactor some multiple used code into get_multiline_comment_style().
4942 Create parent directories if necessary when checking for the
4943 configuration directory on startup (closes #2784577).
4946 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4948 * plugins/filebrowser.c:
4949 When a filter is set, apply it only to files, not directories and
4950 apply the filter to the UTF-8 name of the file as the filter string
4951 itself is also UTF-8.
4952 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4953 Add utils_color_invert() and use it in highlighting.c and printing.c.
4954 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4955 Backport change from Scintilla CVS:
4956 Change capitalisation of header file to suit cross-compilation on
4960 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4962 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4963 Update Scintilla to version 1.78.
4964 * src/editor.c, src/highlighting.c:
4965 Update Pascal styles as they changed in Scintilla.
4968 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4971 Ignore the invert syntax highlighting colours setting when printing
4972 to not print characters on a dark background (closes #2785244).
4973 * New release: Geany 0.17 "Wessex".
4974 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4975 src/geany.h, doc/geany.html, doc/geany.txt:
4976 Post-release version bump.
4979 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4981 * src/callbacks.c, src/callbacks.h, src/main.c:
4982 Update the View->Fullscreen menu item when fullscreen state is
4983 changed externally (e.g. by the window manager).
4985 Fix passing wrong pointer to the File Open dialog for the Run
4986 command in the Project Properties dialog.
4989 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4991 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4993 Remember the active sidebar page between sessions.
4995 Add a recent project item after creating a new project.
4996 * tagmanager/ruby.c:
4997 Fix wrong parsing of string literals (closes #2781264).
4999 Fix setting focus to the editor widget after changing the selection
5003 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5006 Prevent crashes when two or more top level items in the symbol
5007 list have the same name (closes #2778246).
5010 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5012 * src/keybindings.c:
5013 Manually show the main notebook tab bar menu when Shift-F10 is
5014 pressed. This broke when we disabled the default GTK tab bar menu.
5016 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
5017 which was reloaded shortly before.
5019 When the editor menu is opened by the Menu key, use the text cursor
5020 position for retrieving the current word. This fixes disabled
5021 Go to Tag items in the menu (#2780044).
5023 Set the "ellipsize" property of GtkCellRendererText to automatically
5024 shorten the path and file names in the Documents list.
5025 * doc/geany.html, doc/geany.txt, src/build.h:
5026 Increase the amount of highlighted build error messages to 100.
5027 At least for LaTeX we need higher values as there is a lot of
5028 informative output before any errors are reported.
5029 * src/filebrowser.c:
5030 Use the startup path as the initial directory for the filebrowser
5031 plugin when no project and no files are opened
5032 (patch by Matias Gea, thanks; closes #2780521).
5035 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5037 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
5038 src/utils.c, src/utils.h:
5039 Ellipsize tab labels and some status messages for very long
5040 filenames (closes #2777348).
5041 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
5042 Add utils_str_middle_truncate() and
5043 document_get_basename_for_display() to the plugin API.
5044 * doc/geany.html, doc/geany.txt, src/toolbar.c:
5045 Add new toolbar element: Print (patch by Roland Baudin, thanks).
5046 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
5048 Add a hidden preference 'use_safe_file_saving' to save files to disk
5049 by creating a temporary file first. This has serious side effects,
5050 please read the documentation before enabling this.
5052 Make build commands on Windows run synchronously to avoid problems
5053 with reading build commands' output.
5054 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
5055 Limit the amount of highlighted build error messages in the
5056 Compiler window to 50 for performance reasons.
5059 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5061 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
5063 Replace our own GEANY_KEYS_MODIFIER_MASK by
5064 gtk_accelerator_get_default_mod_mask() which gives the same result.
5065 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
5066 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
5067 Add a trivial symbol parser for NSIS files.
5070 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5073 Hide the extra file open dialog options in an expander to make the
5074 dialog more compact by default and to provide more space for the
5076 Remove the filename field as it is also provided by GTK itself with
5077 more features like auto-completion.
5078 Watch the 'show-hidden' property of the file chooser widget using
5079 GObject's "notify" signal which gives accurate results and remove
5080 the hack using the "selection-changed" signal.
5083 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5085 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
5086 Prevent double execution of radio menu item "activate" or "toggled"
5088 Move 'Set Encoding' callback function into encodings.c.
5091 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5094 Add some missing 'void's in function definitions.
5095 If the project base path is './', just use the path of the project
5096 config file instead of appending './'.
5097 * src/treeviews.c, src/project.c:
5098 When a project is loaded, replace the project base path with the
5099 project name in the Documents sidebar for parent items
5103 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5105 * src/keyfile.c, src/keyfile.h, src/project.c:
5106 Fix duplicating the recent files and projects lists when closing
5108 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5109 src/editor.c, src/encodings.c, src/filetypes.c,
5110 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5111 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
5112 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
5113 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
5114 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
5115 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
5116 Remove all G_LIKELY macros inside g_return_if_fail() statements as
5118 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
5119 sense to keep the code more readable.
5122 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5125 When updating global type definitions for opened documents, take
5126 also C++ namespace symbols into account and don't ignore symbols
5127 which are defined inside a scope.
5130 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5133 Don't show 'plugin is not binary compatible' messages on the status
5134 bar, only the status window.
5137 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5140 When opening files from a remote instance on X11, set the window
5141 server time to encourage window managers to pop up the main window
5142 (related to #2735467 and #2276179).
5144 When finished sending filenames to a remote instance, notify the
5145 environment that we finished starting up.
5148 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5150 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
5151 Sort Configuration Files menu.
5152 Add ui_menu_sort_by_label().
5153 Add foreach_list() macro.
5158 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5161 Fix setting a wrong default window size when starting without an
5162 existing configuration.
5163 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
5164 Make editor_highlight_braces() static.
5165 Remove unused wrapper functions.
5166 * src/editor.c, src/symbols.c, src/symbols.h:
5167 Prevent showing an empty macro list.
5168 Show only macros of the same filetype instead of all macros of all
5171 Don't add opened project files to the GtkRecentManager.
5174 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5177 Add Configuration Files item for snippets.conf.
5178 * src/highlighting.c, src/symbols.c:
5179 Fix 2 old uses of filetype IDs.
5182 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5184 * src/interface.c, src/printing.c, geany.glade:
5185 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
5188 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5191 Add sanity checks in ui_lookup_widget() just to be safe.
5192 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
5193 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
5194 src/project.h, src/ui_utils.c, src/ui_utils.h:
5195 Add "Recent Projects" menu to the Project menu
5196 (#2728630, patch by Elias Pschernig, thanks).
5197 * doc/geany.txt, doc/geany.html:
5198 Describe how to build Geany using the Waf build system.
5199 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5200 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
5201 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5202 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
5203 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
5204 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
5205 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
5206 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
5207 src/utils.c, src/utils.h, src/vte.c:
5208 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
5209 performance when building the code with gcc.
5210 * src/highlighting.c:
5211 Fix typo in the G_LIKELY checks, introduced in last commit.
5212 Fix the size of the styles array.
5214 Show a message dialog when renaming a file fails.
5217 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5220 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
5221 (as we did for all other files in SVN r3382).
5224 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5226 * src/filetypes.c, doc/geany.txt:
5227 Move ActionScript to the Script group.
5229 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
5230 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
5231 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
5232 plugins/htmlchars.c:
5233 Merge reorder-filetypes branch:
5234 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
5235 append randomly without breaking the ABI).
5236 Make None filetype name = title = _("None").
5237 Add foreach_slist() macro.
5238 Add filetypes_by_title list to GeanyData for plugin API access
5239 - a list of filetype pointers, which includes the None filetype
5240 first. This list stays constant by the time plugins are initialized,
5241 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5242 index the sorted list.
5245 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5247 * doc/geany.txt, doc/geany.html, src/main.c:
5248 Add widget names for the menubar and toolbar.
5250 When hiding the messages window, set the input focus back to the
5251 editor widget (part of #1910393).
5254 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5256 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5257 Backport recent changes from Scintilla CVS to add partial support
5258 for RFC2822 styled text using the Properties lexer.
5259 Ignore leading whitespace for config files and RFC2822 text.
5260 * data/filetypes.actionscript:
5261 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5262 * THANKS, src/treeviews.c:
5263 Display file/directory icons in the Documents sidebar
5264 (patch by Simon Treny, thanks).
5267 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5269 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5270 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5271 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5272 Add an option to allow appending the toolbar to the main menu bar
5273 to save some vertical space.
5274 Allow setting toolbar icon size to very small (menu icon size).
5277 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5279 * src/keyfile.c, src/utils.c, src/utils.h:
5280 Add utils_path_skip_root(), a relative path safe variant of
5281 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5282 * src/keyfile.c, src/main.c:
5283 Allow negative window coordinates when saving and restoring the
5284 position of the main window.
5285 Restore the main window position and size *after* the window has
5286 been realised to get it positioned accordingly
5287 (this affects at least Windows).
5290 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5292 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5293 Use g_win32_get_package_installation_directory_of_module() on Windows
5294 with newer GLib versions instead of deprecated API.
5295 * src/keybindings.c:
5296 Don't manage the last used documents list when quitting to prevent
5297 errors by accessing invalid memory (may close #2533990).
5300 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5303 Delete the geany_run_script.sh immediately after execution
5304 to prevent leaking old copies when the script was quit unexpectedly
5305 (closes #2710482, patch by Martin Olsson, thanks).
5307 Check whether skipping the root element of a document's filename
5308 succeeded and use the filename itself if not (e.g. on relative
5309 filenames, #2702844).
5310 Use the locale encoded filename when saving session files.
5312 Re-set the quitting status after all documents have been closed on
5316 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5318 * plugins/htmlchars.c:
5319 Remove usage of deprecated sci_get_selected_text() from plugin.
5322 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5325 Delay disk file checks when switching between documents a little
5326 bit to avoid fast, unintentional page switching in some cases.
5327 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5328 src/sciwrappers.c, src/sciwrappers.h:
5329 Deprecate sci_get_text(), sci_get_selected_text() and
5330 sci_get_text_range().
5331 Add sci_get_contents(), sci_get_contents_range() and
5332 sci_get_selection_contents() as replacement functions to provide
5333 an easier and cleaner API (initial patch by Frank).
5336 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5339 Fix wrong parsing of CSS tags when the definition block starts on
5340 a new line (reported by Dominic Hopf, thanks).
5343 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5345 * plugins/htmlchars.c:
5346 Extend plugin by feature to bulk replace and replace on input for
5347 special characters to their HTML entities.
5350 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5353 Update build menu items after changing anything in the
5354 'Set Includes and Arguments' dialog.
5355 Disable Compile/Run buttons/menu items when Compile/Run commands are
5357 Reset current build directory to the base directory after reading a
5358 "Leaving directory" message when parsing Make output
5359 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5361 Fix wrong display of the filename in the tab bar menu for new files.
5363 Set the initial directory for the Save As dialog only once on
5365 Add a shortcut of the project's base directory to the
5366 File Open/Save As dialogs when a project is open for faster access.
5367 * src/splitwindow.c:
5368 Add keybindings for the split actions.
5371 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5374 When using Find All in the Find dialog (in Session and Document),
5375 display the right amount of matches.
5376 Fix the display of the matches once per line (I broke the original
5379 Fix wrong directory selection behaviour in all Open Folder dialogs
5380 (closes #2688020, patch by Marcel Stimberg, thanks).
5382 Don't present the main window of a running instance when starting
5383 a second instance separately.
5386 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5389 Reduce default file permissions on the Unix Domain socket file
5390 (reported by Jörg Sommer, thanks).
5393 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5395 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5396 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5398 Add an option to set an additional plugin lookup path.
5400 When using Find All in the Find dialog, display matches only once
5401 per line in the messages window (patch by Bert Vermeulen, thanks).
5404 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5406 * data/filetype_extensions.conf, data/filetypes.actionscript,
5407 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5408 src/highlighting.c, src/plugindata.h, src/symbols.c,
5409 tagmanager/Makefile.am, tagmanager/actionscript.c,
5410 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5411 Add filetype ActionScript (patch by Chris Macksey, thanks).
5412 Update type keywords only for real C-like languages.
5413 Fix wrong sorting of Assembler and Ada filetypes.
5414 * plugins/classbuilder.c:
5415 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5416 Other minor cleanups.
5419 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5422 Don't use menu item images for the tab bar menu to save some
5424 * data/filetypes.fortran, tagmanager/fortran.c:
5425 Add keyword 'extends' and fix Fortran parser to support the
5426 'extends' keyword (closes #2654492).
5427 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5428 src/search.c, src/toolbar.c:
5432 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5434 * src/about.c, THANKS:
5435 Added Jari Rahkonen to list of Finnish translators.
5438 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5441 Adjust minimum required GTK version.
5442 * src/Makefile.am, wscript:
5443 Add main.h to the list of installed header files.
5444 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5445 src/notebook.c, src/ui_utils.c:
5446 Remove GeanyDocumentPrivate::tabmenu_label.
5447 Disable the default tab bar menu for the main notebook widget and
5448 use a custom menu instead which lists all open files as usual plus
5449 'Close Other Documents' and 'Close All' menu items.
5452 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5454 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5455 Move ui_set_search_entry_background() into ui_utils.c.
5456 Change the background colour of the search entries in the Find
5457 and Replace dialogs according to the search results like in the
5458 toolbar search field.
5459 Add images to the 'Replace' and 'Replace and Find' buttons in the
5461 Minor cleanups in search.c.
5462 * tagmanager/tm_source_file.c:
5463 Update source files upon creation.
5465 Update C tags for glibc 2.9.
5466 * src/callbacks.c, src/toolbar.c:
5467 Fix broken non-incremental search with the toolbar search entry when
5468 pressing Enter (closes #2638180).
5469 * plugins/splitwindow.c:
5470 Fix possible crash on non-32-bit systems (patch by
5471 Wolfgang Ocker, thanks).
5473 Update the Packager tag due to Dominic's various contributions.
5474 Update description and feature list.
5475 Change Source tag to the gzip'ed tarball to be in sync with the
5476 Makefile target (thanks to Wolfgang Ocker for reporting).
5479 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5481 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5482 Removed deprecated plugin VC Diff
5485 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5488 Fix wrong Fortran 90 comment characters when inserting templates.
5489 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5490 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5491 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5493 Add 'Send Selection to Terminal' command to the Edit->Format menu
5494 (initial patch by David Gleich, thanks).
5495 * geany.glade, src/interface.c:
5496 Fix mnemonic for the Edit->Preferences menu item.
5499 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5501 * configure.in, plugins/Makefile.am:
5502 Enable socket support when cross-compiling.
5503 Enable plugin compilation when cross-compiling.
5505 Fix missing NULL checks when reading the colour value of compiler
5507 * src/main.c, src/win32.c, src/win32.h:
5508 On Windows, change the working directory to the Geany installation
5509 path at startup to avoid unwanted directory locking(closes #2626124).
5511 Fix broken selection of "Document->Set Encoding" menu items.
5512 * src/document.c, tagmanager/include/tm_source_file.h,
5513 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5514 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5515 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5516 Don't let the tagmanager automatically reparse files if they
5517 seem to be changed on disk (affects all files in the current session,
5518 not the current one). This should speed up file saving a little bit,
5519 especially with remote files.
5520 Remove now unnecessary calls to tm_workspace_update().
5522 Allow an empty value for the date format in the print settings to
5523 omit the date/time string in the print header.
5526 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5528 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5532 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5535 Add missing header include (closes #2615808).
5538 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5541 Fix a possible crash when comparing symbol names
5542 (could be related to Ubuntu bug #147151).
5543 Fix broken symbol list tooltips when tag names contain ampersands.
5546 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5548 * plugins/makefile.win32:
5549 Don't build Split Window plugin on Windows (doesn't work).
5552 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5554 * ChangeLog, Makefile.am: Rotate ChangeLog.
5555 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5556 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5557 Post-release version bump.
5560 *** See ChangeLog.pre-0-17 for earlier changes ***