1 2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/interface.c, src/keybindings.c, src/callbacks.c,
4 src/callbacks.h, geany.glade:
5 Add 'Mark All' Search menu command.
6 * src/symbols.c, doc/geany.txt, doc/geany.html:
7 If the current word's tag is on the current line, make Go to Tag
8 Definition look for a tag declaration instead, as this is more
9 useful. Likewise make Go to Tag Declaration search for a tag
10 definition in this case also.
11 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
12 Don't use 'Enable' in pref labels when unnecessary.
13 Rename XML/HTML tag autocompletion -> auto-closing.
16 2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
18 * doc/geany.txt, doc/geany.html:
19 Explain how to grep the source for Scintilla lexer properties.
20 * src/sidebar.c, src/callbacks.c, src/main.c:
21 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
22 Only auto-display symbols and documents tabs when showing the
23 sidebar if there are no plugin tabs.
24 Don't hide the sidebar on startup if only plugin tabs are visible
27 Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
28 so you can protect code with '#if GEANY_API_VERSION >= 200'.
30 Warn about preprocessor testing GEANY_API_VERSION below 200 because
31 those tests will always fail.
34 2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
37 Add 'instanceof' keyword for PHP (closes #3109330).
40 2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
42 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
43 Re-focus Set Build Commands/Project dialogs after editing a build
45 Add 'parent' argument to some dialogs_show_input*() functions because
46 the dialog parent may not always be the main window.
47 * src/build.c, src/dialogs.c, src/callbacks.c:
48 Don't change default build command entry color when cancelling
50 Make dialogs_show_input() return NULL when cancelled.
52 Parse PHP final functions (fixes #3111171).
53 * src/dialogs.c, src/plugindata.h, src/plugins.c,
54 plugins/geanyfunctions.h:
55 Add dialogs_show_input() to API.
58 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
60 * src/build.c, doc/geany.txt, doc/geany.html:
61 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
62 Build Commands dialog.
63 * doc/geany.txt, doc/geany.html:
64 Use 'Filetype build commands' and 'Independent build commands'.
65 Fix saying project *independent* execute can only be set by hand.
68 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
70 * src/keybindings.c, src/editor.c, src/editor.h:
71 Make Reflow Lines/Block command use the current indented block, not
72 the whole paragraph, which could have mixed indentation.
73 Fix memory leak and off-by-one bug on first line when using Select
75 * src/utils.c, src/highlighting.c, src/highlighting.h,
76 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
77 plugins/geanyfunctions.h:
78 Add API functions (patch by Eugene Arshinov, thanks):
79 Move editor.c: is_{string,comment,code}_style() functions to
80 highlighting.c, add to API.
81 Add editor_find_snippet(), editor_insert_snippet(),
82 utils_find_open_xml_tag() to API.
85 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
87 * src/editor.c, doc/geany.txt, doc/geany.html:
88 Don't use XML tag auto-indentation when '</' is to the right of the
89 cursor; allow auto-indentation when XML tag auto-closing is also
91 * doc/geany.txt, doc/geany.html:
92 Rename 'Format' section 'Filetype configuration'.
95 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
98 Update Waf to current SVN version.
101 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
104 Update Waf to version 1.6.1.
105 Update wscript for new Waf version, make it Python 3 compatible.
108 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
111 Display better error messages when saving a document fails (patch by
112 Dimitar Zhekov, thanks).
114 Fix wrong snippet indentation when original cursor line has
115 non-indentation whitespace (patch by david, thanks).
116 * doc/geany.txt, doc/geany.html, data/filetypes.php,
117 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
118 Enable XML tag autoindentation for PHP, Docbook and add docs for
119 this setting (patch by Eugene Arshinov, thanks).
122 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
124 * src/templates.c, src/document.c:
125 Use LF line endings for templates internally instead of default
126 pref because the default can change. This fixes missing line
127 endings sometimes when changing default setting.
129 Fix not reporting an error message when saving a document fails.
130 Check result of fclose().
131 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
132 data/filetypes.xml, data/filetypes.html:
133 Add xml_indent_tags filetype setting for documents using the
134 HTML/XML lexers (patch by Eugene Arshinov, thanks).
136 Set errno to 0 before doing disk I/O to prevent confusing error
137 messages on save failure.
140 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
142 * src/templates.c, src/filetypes.c:
143 Save build commands for filetype None (patch by Lex, thanks).
144 Make filetypes_get_conf_extension() return "common" for filetype
147 Convert line endings for file templates.
148 Fix line endings when using file header template in a file template
150 * src/utils.c, src/utils.h:
151 Make utils_ensure_same_eol_characters() convert all wrong line
152 endings to the desired one, not just the most common one.
155 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
158 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
160 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
161 Restore top-level editor popup item 'Find Document Usage'.
162 * src/interface.c, src/ui_utils.c, geany.glade:
163 Remove duplicates in 'Insert Comments' editor popup menu; rename
165 Separate main menu insertion comments depending on number of times
167 * data/filetypes.*, data/colorschemes/alt.conf:
168 Rename word/word2 named styles to keyword/keyword2.
169 * doc/geany.txt, doc/geany.html:
170 Mention that indentation settings can be overridden per-project.
171 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
172 doc/geany.txt, doc/geany.html, geany.glade:
173 Add 'Project->Apply Default Indentation' menu command to override
174 every document's indentation settings.
175 Improve 'Indentation' section docs.
178 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
181 Fix build with GTK 2.12: explicitly include gio.h if GIO
182 is available and to be used regardless of the USE_GIO_FILEMON flag.
184 Fix installation of template files.
185 Show which regex implementation is used.
187 Use non-GIO mime-type icon lookup if GIO lookup fails.
189 Allow skipping configure during autogen by setting NOCONFIGURE=1
190 (thanks to Chow Loong Jin).
193 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
196 Make use_safe_file_saving hidden pref apply even when GIO is
197 available, because g_file_replace_contents() doesn't handle disk
200 Show GIO/built-in regex support in startup debug message as well as
202 * doc/geany.txt, doc/geany.html:
203 Add docs for the HTMLChars plugin (patch by Frank).
206 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
209 Do not translate 'name' field for filetype None because it is used
210 for hash table lookup. This fixes missing files in the Open dialog
211 for the 'All files' filter with non-English locales (thanks to Sardem
212 FF7, fixes #3094771).
213 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
215 Add filetypes_get_display_name() to get translations for filetype
218 Fix resource leak when saving files with GIO (patch by Colomban
222 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
224 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
225 Add sci_get_lexer() to plugin API.
226 * plugins/htmlchars.c:
227 Only automatically replace characters when the current document is
229 * plugins/htmlchars.c:
230 Rename submenu item labels to be more descriptive.
232 Fix Alt+[0-9] switching tabs when other modifiers are also held.
234 Don't allow pasting of numbers followed by other characters in the
235 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
237 Print "GIO" and "built-in regex" if enabled with --version.
239 Use g_file_replace_contents() if available to save documents - this
240 should help workaround bugs in GVFS (based on patch by Alexey
244 Fix wrongly adding newlines for templates on disk that don't have
245 LF line endings when default line endings are not LF, e.g. Windows.
248 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
250 * src/utils.c, src/main.c:
251 Remove trailing directory separator for app->datadir and
252 app->docdir for consistency with the other directory fields.
254 Detect user and system filetype configuration files as Conf
257 Respect 'Smart' home key for Shift+Home (fixes #3100290).
260 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
262 * data/filetypes.ada:
263 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
266 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
269 Add install-data-only target to only install data/* to speed up
272 Fix not autocompleting when breaking lines.
273 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
274 data/colorschemes/alt.conf, data/filetypes.haxe,
275 data/filetypes.common, data/filetypes.glsl,
276 data/filetypes.actionscript, data/filetypes.cs,
277 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
278 data/filetypes.Genie.conf:
279 Add named style 'extra', use for C-like filetypes.
282 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
284 * data/filetypes.xml:
285 Match data-* and aria-* as HTML attributes.
286 * data/colorschemes/alt.conf, data/filetypes.common,
287 data/filetypes.python:
288 Make Python use named styles for color scheme support - use
289 alt.conf color scheme if you want the old colors.
290 Add named style 'function'.
292 Move plugin_set_info prototype and parenthesize arguments for
293 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
295 Fix putting pointer symbol before name, not after type.
298 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
300 * src/filetypes.c, src/ui_utils.c:
301 Fix notebook tab menu icons using theme for "text/plain" filetypes.
302 Make filetype mime_type "text/plain" instead of NULL.
305 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
307 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
308 Edit XML tag autocompletion pref and tooltip to include HTML.
309 * doc/geany.txt, doc/geany.html:
310 Add docs for 'Ensure consistent line endings' pref.
312 Change default for 'Override Geany keybindings' to on.
314 Sort filetypes_by_title last instead of on insertion to prevent
316 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
317 Add filetype mimetype field (patch by Colomban Wendling, thanks).
318 * src/sidebar.c, src/document.c:
319 Show mimetype icon in sidebar Documents list (patch by Colomban
322 Add notebook tab document icons (based on patch by Colomban
325 Leave text/plain mime_type fields as NULL (like custom filetypes).
328 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
330 * src/editor.c, data/snippets.conf:
331 Move HTML automatic <table> tag completion into a 'table' snippet
332 so the user can decide when to use it (patch by Eugene Arshinov,
334 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
335 src/document.c, src/document.h, THANKS, geany.glade:
336 Add 'Ensure consistent line endings' file saving pref (patch by
338 * src/utils.c, src/utils.h, src/editor.c:
339 Auto-indent after an HTML/XML line with a missing closing tag (patch
340 by Eugene Arshinov, thanks).
341 Behaviour only applies if XML tag autoclosing is off.
342 * src/templates.c, src/build.c, src/document.c, src/editor.c,
343 src/symbols.c, plugins/saveactions.c:
344 Remove unnecessary uses of FILETYPE_ID() macro with
345 GeanyDocument::file_type.
346 * data/filetypes.xml:
347 Add HTML5 attributes (thanks to Ross McKay).
350 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
353 Fix not changing edited keybindings when cancelling the Preferences
355 * data/filetypes.xml:
356 Add HTML5 element names (thanks to Ross McKay).
359 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
361 * src/utils.c, src/filetypes.c:
362 Remove filetype default extensions from code.
364 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
366 Refactor shared code with kb_cell_edited_cb().
369 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
371 * src/highlighting.c:
372 Use radio buttons for View->Editor->Color Schemes menu.
373 Don't hide the menu when only the default item is available.
374 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
375 Add alternative color scheme based on Python colors.
376 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
377 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
378 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
379 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
380 Add Erlang filetype (patch by Taylor Venable, thanks).
381 * src/filetypes.c, data/filetypes.*:
382 Move filetype 'extension' default into data files.
383 * src/filetypes.c, data/filetypes.vala:
384 Move filetype comment_{open,close} defaults into data files.
387 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
389 * data/filetypes.c, data/filetypes.d:
390 Add missing C99 keyword 'restrict' (#3046716).
391 Add missing D1 keywords 'ref' and 'macro'.
394 Parse Vala functions with contracts (#3080232).
396 Fix saving project indent prefs straight after using project
398 * src/highlighting.c, src/filetypes.c:
399 Prevent debug message about a missing 'default' named style when
400 using just a user color scheme file.
403 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
406 Fix off-by-one bug in 'search_mark_all'.
409 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
412 Ignore D /+ +/ comments.
414 Ignore D unittest blocks.
415 Parse D template functions with constraints.
416 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
417 Add 'Insert New Line Before/After Current' keybindings (based on
418 patch by Eugene Arshinov, thanks).
420 Use secondary text for 'file not found on disk' dialog.
423 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
426 Fix build with GLib 2.8.
429 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
431 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
432 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
433 Revert X11 workspace socket support as it needs more work; moved
434 to workspace-sockets branch.
437 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
439 * src/geanywraplabel.c:
440 Fix build with GLib 2.8.
441 * src/dialogs.c, src/about.c, THANKS:
442 Group Open dialog encoding options by submenus (patch by Adam Ples,
444 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
445 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
446 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
447 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
448 Add Lisp filetype (patch by Mário Silva, thanks).
449 Note: Lisp lexer was taken from Scintilla instead.
452 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
454 * po/kk.po, THANKS, src/about.c:
455 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
459 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
461 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
462 Don't cache overridden lexer properties.
463 Add foreach_strv() to plugin API.
464 Add utils_strv_join().
465 * tagmanager/basic.c:
466 Parse property, constructor, destructor as functions (patch by
467 pottersson, thanks; #2992167).
470 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
472 * src/tools.c, doc/geany.txt, doc/geany.html:
473 Fix passing quoted arguments when using 'Send Selection to'. This
474 means sed 's/\./(dot)/g' now works.
476 Add snippet keybinding support for keys in user snippets.conf (based
477 on patch by Eugene Arshinov, thanks). No docs yet.
478 * doc/geany.txt, doc/geany.html:
479 Add some subheadings for Snippets section.
480 * doc/geany.txt, doc/geany.html:
481 Add snippet keybindings docs.
482 * src/highlighting.c, src/utils.h:
483 Move foreach_strv to utils.h.
484 * src/editor.c, data/snippets.conf:
485 Read snippet keybindings from system keyfile also.
486 Add keybinding example to default snippet.conf.
489 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
491 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
492 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
493 data/filetypes.txt2tags, data/filetypes.markdown,
494 data/filetypes.restructuredtext:
495 Add symbol_list_sort_mode per-filetype setting, set to sort by line
496 number by default for Markdown, reStructuredText and Txt2Tags.
497 Add utils_get_setting() macro for reading a key from a home or
499 Move GeanyFiletypePrivate to filetypesprivate.h.
500 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
501 Link with X11 if found to fix linking with a recent GNU ld.
503 Avoid delay and redrawing when automatically opening a new document
505 * scintilla/LexForth.cxx, scintilla/makefile.win32,
506 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
507 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
508 data/filetypes.forth, data/filetype_extensions.conf, wscript:
509 Add Forth filetype (patch by Thomas Huth, thanks).
511 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
512 commands for 'Send Selection to' (oops).
515 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
518 When commenting/uncommenting with single-line comment characters,
519 ignore any end of line characters before evaluating the current line.
520 * data/filetypes.python:
521 Simplify Python Compile/Syntax Check command.
524 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
526 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
528 Add hidden pref 'find_selection_type' with option to repeat last
529 search when there's no selection.
530 Change default Find Selection behaviour to not let the X selection
531 override the current word (can be confusing).
532 Add docs for Find Selection commands.
534 Fix segfault on idle callback when quitting.
535 * src/interface.c, src/keybindings.c, geany.glade:
536 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
538 * src/interface.c, geany.glade:
539 Move editor popup menu Insert Comments submenu to top of Insert menu.
540 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
542 Add hidden pref new_document_after_close for whether to open a new
543 document automatically, off by default.
545 Add 'Bugs to watch out for' section.
548 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
550 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
551 doc/stash-gui-example.c:
552 Improve Stash GUI example.
555 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
557 * src/interface.c, geany.glade:
558 Move Go to Marker menu items to Search menu.
559 Rename popup editor menu item Commands -> Edit.
560 * src/callbacks.c, src/search.c, src/search.h:
561 Move find_again() to search.c.
563 Make Find Selected commands repeat the last search if the selection
565 * doc/geany.txt, doc/geany.html:
566 Add docs for Find Selection keybindings.
567 * src/interface.c, src/keybindings.c, geany.glade:
568 Unify Find Selection strings.
569 * src/interface.c, src/ui_utils.c, geany.glade:
570 Group editor popup Insert commands in a submenu, with extra items
571 for the most commonly used Insert Comments commands.
572 Show Edit->Commands before Format in menubar Edit menu (to match
574 Show Open Selected F_ile popup item below submenus.
577 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
580 Refactor shared submenu code with GeanySharedMenu array.
581 * src/interface.c, src/ui_utils.c, geany.glade:
582 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
583 shared with the editor popup menu.
585 Open a new document automatically after closing all documents.
588 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
591 Prompt for reloading if the document has an undo stack to avoid
592 losing undo ability on accidental reloading (patch by Colomban
594 * src/project.c, src/geanyobject.c, src/geanyobject.h,
596 Add plugin signals project-dialog-create and
597 project-dialog-confirmed so plugins can append a Project Properties
598 notebook tab (patch by Jiří Techet, thanks).
599 * src/ui_utils.h, src/plugindata.h, src/main.c:
600 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
601 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
602 src/plugins.c, plugins/geanyfunctions.h:
603 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
606 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
609 Save document indent width with the session.
610 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
611 doc/geany.html, TODO:
612 Use a separate socket per workspace on X (patch by Erik de Castro
616 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
619 Ignore directories passed on the command-line (based on patch by
620 Erik de Castro Lopo, thanks).
622 Parse D function template names.
623 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
624 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
626 Allow per-document indent width setting (patch by Jiří Techet,
627 updated by Erik de Castro Lopo - thanks).
628 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
629 Combine indent width menu item callbacks.
630 * src/interface.c, geany.glade:
631 Don't translate indent width menu items as they are now used for
635 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
637 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
638 Remove 3 popup menu items to save space:
639 Find Document Usage because Find Usage can be used instead.
640 Go to Tag Declaration because Go to Tag Definition is more common.
641 Go to Line because the toolbar item can be used instead.
642 * src/tools.c, src/search.c, tagmanager/python.c:
643 Fix some 'possible' NULL pointer dereferences (based on patch by
644 Erik de Castro Lopo).
645 * src/keybindings.c, src/keybindings.h, src/prefs.c:
646 Simplify keybindings_check_event().
649 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
652 Use up/down icons for Previous/Next Error.
653 * src/interface.c, src/keybindings.c, src/callbacks.c,
654 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
656 Add Find Usage and Go to Tag items to Search menu for easier
658 * tagmanager/tm_symbol.c:
659 Fix possible NULL dereference.
661 Add link to glade-2.12.2.tar.gz on geany.org.
662 * doc/geany.txt, doc/geany.html:
663 Mention the filetype wordchars setting can be overridden by the
664 whitespace_chars filetypes.common setting.
665 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
666 Remove NULL checks when calling g_free() (patch by Erik de Castro
669 Show Save As when saving if the document filename doesn't have an
670 absolute path, so command-line new files can be saved without a
671 prompt, but file templates still prompt the user.
674 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
677 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
681 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
683 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
684 Add GeanyMainWidgets::message_window_notebook for plugins to append
685 a new notebook page (#3061342).
687 Add Close button to the detected file changed dialog.
688 * src/interface.c, geany.glade:
689 Add separator between Find Previous and Find in Files.
690 Add up/down icons for Previous/Next Message.
693 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
695 * data/snippets.conf:
696 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
700 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
703 Fix broken editing of build menu labels.
704 * src/encodings.c, src/filetypes.c, configure.ac:
705 Auto-enable building with included regex if no regcomp function is
707 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
708 regex support is required.
710 Backport fix for possible infinite loop from CTags.
711 * scintilla/PlatGTK.cxx:
712 Backport list box memory leak fixes from Scintilla 2.20.
715 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
718 Make the Properties dialog filename a label and put it first (patch
719 by Jiří Techet, thanks).
720 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
722 Remove the "Set build working directories" button from the project
723 properties dialog (patch by Jiří Techet, thanks).
725 Include all files if the Find in Files pattern field is enabled and
728 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
731 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
733 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
734 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
735 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
736 data/filetypes.txt2tags, wscript:
737 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
738 * m4, configure.ac, Makefile.am:
739 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
741 Only prompt for reloading if the document has unsaved changes
742 (patch by Jiří Techet, thanks).
745 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
748 Apply a patch by Jiří Techet which is preventing warnings when using
749 -Wmissing-prototypes on compiling. Thanks.
752 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
754 * scintilla/KeyWords.cxx:
755 Link Octave instead of Matlab.
756 Add comment about not being autogenerated.
757 Minor changes to fit Scintilla order.
758 * src/build.c, src/build.h:
759 Replace GeanyBuildCommand::entries array with separate fields.
760 Similar to r5077 in the bs2 branch, but with less loop unrolling.
762 Remove buildcmd_* accessor functions.
765 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
767 * src/highlighting.c, src/editor.c:
768 Use Octave lexer instead of Matlab to support Octave # comment char.
771 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
774 Fix segfault on Tools->Reload Configuration when no documents are
776 * scintilla/LexMarkdown.cxx:
777 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
780 Fix saving non-project filetype error regex.
782 Fix memory leak in read_regex().
785 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
788 Check for libsocket on OpenSolaris to fix build.
790 Rewrite the logic to auto detect encodings a bit to make it more
791 readable and fix a slightly wrong detection on Windows
793 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
795 Add editor_goto_pos() to the plugin API.
798 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
801 Check for git-svn repo, not just git because find-rev doesn't
802 always fail with a git-only repo.
805 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
808 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
811 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
813 * doc/geany.txt, doc/geany.html:
814 Reorder Focus keybindings.
817 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
820 Applying a patch by Erik de Castro Lopo for checking against
821 pkg-config when running autogen.sh. Thanks for the patch.
823 Applying a patch by Colomban Wendling to print out log domains.
827 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
829 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
830 Use single binding_ids keybinding array instead of individual
831 arrays for core keybindings. This allows the keybinding IDs to be
832 merged into one enum; the order of keybindings is now just the
833 order they are added to each group. Keybindings can be reordered
834 without breaking the plugin ABI but groups must stay the same.
836 Fix writing the default value when a key is missing for hidden
837 prefs, even if it was overridden when it was originally read.
838 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
839 Move some interface hidden prefs to ui_utils.c.
841 Revert r4840 scope completion mode as it sometimes breaks
843 * src/keybindings.h, src/plugindata.h:
844 Randomly sort keybinding IDs to show there should be no order.
846 Reorder Focus keybindings.
849 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
851 * src/ui_utils.c, src/ui_utils.h:
852 Make ui_label_new_bold() a function.
853 Escape the name of the current document for markup when using
854 document name for menu items (closes #3038844).
856 Inherit 'beep on errors' preference for the audible bell preference
857 for the VTE (closes #3038215).
860 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
862 * src/utils.c, src/utils.h:
863 Add utils_get_eol_char().
864 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
865 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
867 Ensure inserted templates always have proper line ending characters
868 according to the current document's preference.
869 This is also fixes problems with templates on Windows which had
870 always Unix line ending characters but now since they are read
871 from files, these have Windows line ending characters and had been
875 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
878 Fix build with GTK 2.8, use the stock icon name directly instead
879 of the macro. Though, the icon is still missing for GTK 2.8.
881 Make make_comment_block() work with a GString. This is not yet
882 perfect but a bit better than before.
885 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
887 * src/keybindings.c, src/vte.c, src/vte.h:
888 Implement 'Select All' for the VTE widget.
891 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
894 Fix missing template files in the Windows installer.
897 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
899 * data/filetypes.python:
900 Update list of Python builtins, based on Python 2.6.
903 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
906 On Windows, convert filetype extensions read from config files
907 to lower case (closes #3028856).
910 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
913 Focus toolbar item when pressing Go to Line keybinding only when
914 it's not in the toolbar's drop down overflow menu (fixes #3027454).
917 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
920 Fix build menu translation problems.
923 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
929 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
932 Fix scrolling the editor line in view after loading a session and
933 switching document tabs. Note this causes repainting so needs
935 * doc/geany.txt, doc/geany.html:
936 Add note to restart Geany after installing/updating before editing
938 * src/ui_utils.h, src/main.c, src/ui_utils.c:
939 Use Stash to save statusbar_template setting, instead of the
940 load/save-settings signal.
944 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
946 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
947 Fix writing empty hidden pref "statusbar_template" key so users can
948 find it (patch by Dimitar Zhekov, thanks).
949 * src/ui_utils.c, src/ui_utils.h, src/main.c:
950 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
953 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
955 * src/build.c, src/project.c, src/project.h:
956 Show the Project Properties build tab when choosing 'Set Build
957 Commands' for now to prevent confusion with non-project commands.
960 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
962 * src/search.c, doc/geany.txt, doc/geany.html:
963 Fix Grep --exclude-dir example.
966 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
969 Add sidebar Documents popup menu item 'Find in Files'.
970 * src/keyfile.c, src/main.c, src/editor.c:
971 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
972 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
975 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
977 * doc/geany.txt, doc/geany.html:
978 Fix wording - restarting is required for hidden prefs.
979 File templates don't need manual reloading anymore.
981 Fix only adding project base path to Find in Files history if it
982 isn't already there (oops).
984 Parse lines in the Messages window even if Find in Files hasn't
985 been used yet (patch by Jiří Techet, thanks).
988 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
990 * scintilla/LexCPP.cxx, src/highlighting.c:
991 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
993 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
994 data/filetypes.common:
995 Add filetypes.common fold_symbol_highlight color setting.
996 Add API macro foreach_range().
997 * src/printing.c, doc/geany.txt, doc/geany.html:
998 Always use white background color when printing (except for text
999 with a white foreground) to save ink (should fix #2968998).
1000 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
1001 Limit build error editor indicators to 50, but parse all errors in
1002 the Compiler tab (fixes #3019823).
1005 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1007 * src/highlighting.c:
1008 Re-enable fold.comment for lexers - it was disabled to prevent C
1009 //{ explicit folding, but that also disables stream comment folding
1011 * tagmanager/tm_workspace.c, tagmanager/get.c:
1012 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
1014 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
1015 doesn't affect the bug with document switching not scrolling cursor
1016 in view after loading a session.
1019 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
1022 Add statusbar_template hidden pref (based on patch by Dimitar
1024 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
1025 Add spaces after RO when using %r in statusbar_template setting.
1026 Add space between encoding and BOM.
1027 Note \t means tab for default text.
1030 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1033 Restore tabbing past Find in Files combo box drop down menus.
1036 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1038 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
1039 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
1041 Move plugin signals docs to pluginsignals.c, using function
1042 pointer syntax instead of @signaldef as this puts a summary of
1043 the signal names at the top of the page and sorts alphabetically.
1044 (Note: the syntax is similar to Vala signal syntax).
1047 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
1050 Make default dialog entries use GTK_STATE_INSENSITIVE color not
1051 a fixed color (Suggestion by Ditmar Zhekov)
1054 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1056 * src/search.c, doc/geany.txt, doc/geany.html:
1057 Implement Find in Files file pattern search.
1059 Add file pattern to combo box history.
1060 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
1062 Use ui_hookup_widget() instead of g_object_set_data_full() for
1066 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1069 Add Files checkbox and combo to Find in Files dialog, currently
1070 does nothing & is disabled.
1071 Don't try to focus the next entry on pressing tab anymore as this
1072 is more complicated now.
1075 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1078 Put Find in Files Search field above Directory field.
1079 * src/search.c, doc/geany.txt:
1080 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
1081 regular expressions' radio buttons with a 'Use regular expressions'
1082 checkbox. This uses the extended syntax (which is the same as the
1083 Find/Replace regex syntax).
1085 Move 2 Find in Files checkboxes for even spacing.
1088 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1090 * tagmanager/tm_work_object.c:
1091 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
1095 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1097 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
1098 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
1099 Add ui_combo_box_add_to_history() to API.
1100 * plugins/filebrowser.c:
1101 Add history to path entry.
1102 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
1103 Fix not loading plugins built against a newer API when Geany doesn't
1104 provide the required version given in PLUGIN_VERSION_CHECK().
1105 Improve documentation for PLUGIN_VERSION_CHECK().
1106 * plugins/filebrowser.c:
1107 Allow Find in Files when no items are selected.
1108 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
1109 Add API signal "build-start" (patch by Jiří Techet, thanks).
1112 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1115 Replace /home/user with ~ in the documents list (patch by Jon
1118 Make default Build dialog entries grey, not light grey (too hard to
1119 read on a white background).
1121 Display 'new instance' on title bar (patch by Eugene Arshinov,
1124 Remove any duplicate on adding to combo box histories.
1127 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1130 Align notebook tab close buttons centred vertically - thanks to
1132 * Merge unstable branch:
1134 Make build config entries light grey until set.
1135 - src/keybindings.c, src/about.c, THANKS:
1136 Fix the wrong file being put on top of the stack when switching tabs
1137 too quickly (patch from Jiří Techet, thanks).
1138 - src/templates.c, data/templates/gpl, data/templates/function,
1139 data/templates/changelog, data/templates/bsd,
1140 data/templates/fileheader, wscript, Makefile.am:
1141 Move general templates from source code into files.
1142 Load general templates from system path instead of creating them in
1143 the user's config dir.
1146 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1149 Add doc/stash-example.c to fix 'make distcheck'.
1151 Change the RequestExecutionLevel for the Windows installer to
1153 * New release: Geany 0.19 "Vellam".
1154 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1155 geany_private.rc, win32-config.h, wscript, src/geany.h:
1156 Post-release version bump.
1159 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1162 Group undo action for Insert Multiline Comment.
1165 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1168 Don't individually install data/*.tags as all data/* files will be
1172 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1174 * tagmanager/tm_project.c:
1175 Fix a double free. (patch by Daniel Marjamaki, thanks).
1178 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1180 * tagmanager/tm_workspace.c:
1181 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1183 Fix reducing paths to project name in the Documents list
1184 (patch by Eugene Arshinov, thanks).
1186 Fix crash when trying to sort NULL pointers as tags in the Symbols
1187 list (closes #3011986).
1188 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1189 Update Scintilla to version 2.12.
1190 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1191 scintilla/LexCrontab.cxx:
1192 Remove unused Crontab lexer.
1193 * data/filetypes.css, src/highlighting.c:
1194 Add new style "media" for filetype CSS.
1197 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1199 * doc/geany.txt, doc/geany.html:
1200 Build section: minor rewording, formatting fixes; move some
1204 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1207 Explicitly try to localise build menu item labels with
1208 gettext to enforce getting default labels translated.
1209 * tagmanager/tm_workspace.c:
1210 Fix not closed FILE pointer on early exit
1211 (patch by Daniel Marjamaki, thanks).
1213 Update images for Geany 0.19.
1215 Destroy the default symbol list treeview only once
1216 (fixes gtk_widget_destroy warning on exit).
1219 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1221 * tagmanager/sort.c:
1222 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1224 Fix parsing of C++ classes contain attributes with bitfields
1225 (patch by Lex Trotman, thanks).
1226 * src/plugindata.h, src/plugins.c:
1227 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1228 plugins' meta information can be translated already in the
1229 plugin manager dialog (patch by Colomban Wendling, thanks).
1232 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1235 Print locale information in debug output.
1237 Fix some labels which were marked as translatable but were not
1238 handled properly by gettext().
1239 Add a missing const.
1241 Try to convert text into UTF-8 before adding it to the Compiler and
1242 Messages Window (closes #3007919).
1245 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1247 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1249 Pass G_LOG_DOMAIN to source files for better logging.
1252 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1254 * THANKS, src/about.c:
1255 Update of translation credits to reflect a change on Spanish
1256 translation team better.
1259 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1262 Fix infinite loop reading build command output
1265 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1268 Fix duplicate accelerators for Clear and Copy in the
1269 Messages Window popup menu.
1270 * src/pluginutils.c:
1271 Expand child widgets in the Plugin Preferences dialog
1272 (patch by Colomban Wendling, thanks).
1275 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1278 Fix Undo/Redo button state after the last document has been closed.
1279 Add Print and Replace toolbar items to the list of document
1282 Fix crash when the toolbar is reloaded without any open documents.
1284 Fix Run toolbar item sensitivity after the last document has been
1286 * plugins/classbuilder.c:
1287 Remove two unnecessary g_strdups().
1288 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1289 src/plugindata.h, src/ui_utils.h:
1290 Add hidden preference to disable automatic scrolling in the
1291 Compiler tab (closes #3004714).
1294 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1296 * plugins/classbuilder.c:
1297 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1300 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1302 * src/prefs.c, src/project.c:
1303 win32.h can be included unconditionally.
1305 Fix project base_path detection if the path has a trailing slash.
1306 * src/document.c, src/editor.c, src/project.c:
1307 Small improvements to speed up quit process with many open documents.
1308 Avoid calling gtk_notebook_remove_page() on exit as it takes
1310 * src/geanymenubuttonaction.c:
1311 Explicitly check for the type when iterating the action's proxies.
1312 For some reason on Windows, a GtkImageMenuItem proxy is created.
1313 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1314 src/plugindata.h, scintilla/*, scintilla/include/*:
1315 Update Scintilla to version 2.11.
1316 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1318 Add new GTK define also for Mingw cross compilation and
1319 makefile.win32 based Windows builds.
1320 * plugins/filebrowser.c:
1321 Implement reading and evaluating hidden file attribute on Windows.
1322 Fix broken "Go Up" if the current path ends with a slash.
1323 * THANKS, src/about.c, src/prefix.c:
1324 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1325 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1326 src/main.c, src/notebook.c, src/prefs.c:
1327 Add preference to add new document tabs beside the current one
1328 (patch by Colomban Wendling, thanks).
1329 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1330 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1331 Add a preference for choosing between GTK and native
1332 File Open/Save dialogs (only available on Windows).
1333 * doc/geany.html, doc/geany.txt:
1334 Update documentation.
1337 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1340 Sort file filters for the native Windows file open dialog by name.
1341 Don't use file filters for the native Windows Save As dialog.
1342 * src/dialogs.c, src/win32.c, src/win32.h:
1344 Pass and use also parent and title arguments to
1345 win32_show_document_open_dialog().
1347 Call handle_save_as() only when the Save As dialog was not cancelled.
1349 Improve adding/removing of the special separator between menubar and
1350 toolbar when the toolbar is appended to the menubar.
1351 * src/toolbar.c, src/templates.c:
1352 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1353 not trigger updating the menus on each item removal.
1356 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1359 Replace one non breaking space by normal space. Patch by
1363 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1365 * plugins/classbuilder.c:
1366 Don't make the 'Create Class' menu item document-sensitive
1367 (patch by Colomban Wendling, thanks).
1368 Add namespace support for GTK+ classes.
1369 Add GET_CLASS() macro for GTK+ classes.
1370 Add typedef of the private structure in the header file instead
1372 (all the above from a patch by Colomban Wendling, thanks).
1373 * src/highlighting.c:
1374 Set common default "fold.comment" to 0 to disable it. This can
1375 be overridden if desired.
1377 Improve sorting of document list items
1378 (patch by Colomban Wendling, thanks).
1380 Remove unnecessary textdomain() call.
1383 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1386 Fix search_find_text not returning -1 when match is out of range.
1387 This fixes invalid memory reads and wrong template filename
1388 wildcard replacement.
1389 * src/search.c, src/document.c:
1390 Only replace template filename matching start of word on saving.
1391 * plugins/filebrowser.c:
1392 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1393 * src/build.c, src/build.h, src/project.c:
1394 Make some ugly build.h global variables static.
1395 * src/build.c, src/build.h, src/project.c:
1396 Add Build prefix for TableFields, TableData.
1399 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1402 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1403 * src/dialogs.c, src/win32.c, src/win32.h:
1404 (Re-)Implement a (still basic) native Windows Save As dialog when
1405 compiled with GEANY_USE_WIN32_DIALOG.
1408 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1410 * THANKS, src/about.c, plugins/classbuilder.c:
1411 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1412 * src/ui_utils.h, src/ui_utils.c:
1413 Add public, generic callback ui_editable_insert_text_callback()
1414 to restrict GtkEntry text inputs to +/- and numeric values only.
1415 * src/dialogs.h, src/dialogs.c:
1416 Add special variant dialogs_show_input_goto_line() to use a normal
1417 GtkEntry together with dialogs_show_input_goto_line() for text input.
1418 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1419 Allow '+<number' and '-<number>' as values for Goto Line inputs
1420 to jump relative to the current line (closes #2997238).
1423 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1425 * src/highlighting.c:
1426 Apply foreground and background colours of the folding margin
1427 style properly (closes #2998347).
1429 Don't auto-close short XML tags (closes #2994852).
1430 * THANKS, src/about.c, src/keybindings.c:
1431 Improve jumping to matching braces by consistently position the
1432 cursor before or after the matching brace dependent where it
1433 was before (patch by Dimitar Zhekov, thanks).
1435 Fix crash when generating global tags files (patch by Colomban
1439 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1442 Avoid connecting signals more than once.
1445 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1448 Don't ignore the 'intltool' check on non-Windows systems, instead
1449 raise a configure error.
1452 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1455 Fix marking some strings as translatable (cannot be done in the
1457 * src/templates.c, doc/geany.txt, doc/geany.html:
1458 Reload templates if saving a document in the templates config dir.
1461 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1463 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1465 Fix replacing {filename} template wildcard for custom file
1466 templates with non-default file extension.
1467 Add search_find_text() for POSIX regex searches.
1468 * src/templates.c, doc/geany.txt, doc/geany.html:
1469 Add {project}, {description} template wildcards (#2954737).
1470 * doc/geany.txt, doc/geany.html:
1471 Divide template wildcards into groups.
1472 * src/plugindata.h, src/plugins.c, src/symbols.c,
1473 plugins/geanyfunctions.h:
1474 Add symbols_get_context_separator() to plugin API (patch by Colomban
1478 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1480 * src/keybindings.c:
1481 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1482 Anonymous, thanks; #2995593).
1483 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1484 plugins/geanyfunctions.h:
1485 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1486 (patch by Colomban Wendling, thanks).
1489 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1492 Warn user if hidden hard tab width setting is not 8.
1495 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1497 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1498 doc/geany.txt, doc/geany.html:
1499 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1500 always be 8. (Hidden setting kept in case users have modified it).
1503 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1505 * doc/geany.txt, doc/geany.html:
1506 Add Folding section link to filetypes.common custom settings.
1509 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1512 When switching documents, don't call document_set_text_changed()
1513 as this does much more than necessary. Instead call the necessary
1514 UI update functions explicitly.
1517 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1519 * tagmanager/vstring.c:
1520 Fix invalid memory read (patch by Colomban Wendling, thanks).
1523 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1525 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1526 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1527 strings in case of reaching the buffer size limit (part of #2979697).
1529 Change the limit for the command line length when executing commands
1530 to a maximum of 32768 characters (closes #2979697).
1531 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1532 * tagmanager/ctags.c:
1533 Change eFree() to simply ignore NULL pointers instead of asserting.
1535 Remove malloc() fallback since we completely rely on g_malloc()
1537 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1538 plugins/saveactions.c:
1539 Make string arguments const where appropriate (patch by
1540 Colomban Wendling, thanks).
1541 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1542 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1543 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1544 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1545 src/symbols.c, src/templates.c, src/ui_utils.c:
1546 Make string arguments const where appropriate (patch by
1547 Colomban Wendling, thanks).
1550 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1552 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1553 Make plugin_signal_connect() string argument const (patch by
1554 Colomban Wendling, thanks).
1555 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1556 Constify some more string pointers in the API (patch by
1557 Colomban Wendling, thanks).
1558 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1560 Support {pc} wildcard in snippets to escape percent char.
1562 Recalculate line margin width when zooming (fixes #2990553).
1563 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1564 data/filetypes.common:
1565 Support more folding icon styles: arrows, +/- and no lines
1569 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1572 Fix Windows build by properly guarding Unix-only code.
1575 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1577 * src/templates.c, doc/geany.txt, doc/geany.html:
1578 Support {ob} and {cb} in fileheader and file templates; they are
1579 replaced last with { and }. This allows 'escaping' of wildcard
1581 * src/editor.c, plugins/classbuilder.c:
1582 Fix Class Builder plugin to use correct indentation instead of
1584 Make editor_insert_text_block() only replace leading tabs for the
1585 'Tabs' indent type; also group edits for undo.
1586 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1588 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1591 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1593 * tagmanager/pascal.c:
1594 More fixes to prevent possible crashes by trying to free NULL
1597 Automatically show and hide the sidebar notebook tabs according
1598 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1600 Add a static global variable to monitor autocompletion mode in order
1601 to prevent cancellation of the struct/class (C/C++) auto completion
1602 list (patch by Thomas Martitz, thanks).
1604 When starting and trying to access the Unix Domain socket of a
1605 potentially running instance, first compare file ownership with the
1606 user id of the running process to prevent accessing a wrong socket
1607 file (part of #2985463, this might not yet be the final solution).
1610 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1612 * plugins/filebrowser.c:
1613 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1614 Files' option (fixes #2989288).
1617 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1619 * tagmanager/entry.c, tagmanager/entry.h,
1620 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1621 tagmanager/parse.h, tagmanager/tm_source_file.c:
1622 Add tm_source_file_set_tag_arglist() to manually set the argument
1624 * tagmanager/python.c:
1625 Use tm_source_file_set_tag_arglist() to set the argument list
1626 field of Python class tags to the argument list of their
1628 Backport a fix from CTags SVN to prevent possible crashes by trying
1629 to free NULL pointers.
1632 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1634 * tagmanager/txt2tags.c:
1635 Remove duplicate code from Txt2Tags parser.
1636 Remove the title control characters ('=') when parsing titles.
1637 Also parse numbered titles (closes #2984703).
1638 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1640 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1641 Add missing documentation for 'Reset Zoom' keybinding.
1643 Another attempt to fix the PHP parser regexp for parsing functions.
1644 Fix wrong parsing of function arguments when those contain nested
1645 brackets (as reported by Harold Aling).
1647 Fix Ctrl-Click on notebook tab if Numpad is active.
1650 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1652 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1653 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1654 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1655 src/ui_utils.c, src/ui_utils.h:
1656 Add option 'System Default' for toolbar icon style and size to
1657 use the GTK default value.
1658 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1659 src/toolbar.c, src/toolbar.h:
1660 Shorten the toolbar popup menu, only provide items for Toolbar
1661 Preferences and to Hide the toolbar.
1663 Instantly update the toolbar icon size and style when the
1664 corresponding global GTK settings are changed.
1665 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1666 src/plugindata.h, src/socket.c:
1667 Add new command line option --list-documents to return a list
1668 of currently opened documents (closes #2979933).
1671 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1673 * plugins/htmlchars.c:
1674 Make plugin remember whether replacement of special characters was
1675 activated even after restart of Geany or reloading of plugin.
1678 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1681 Fix inserting snippets with an indent when using Mac CR line
1684 Update status bar after using Document->Set Line Endings.
1686 Improve API docs for editor_insert_text_block().
1689 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1692 Refactor snippets_complete_constructs().
1693 Remove an unnecessary TODO.
1695 Fix indenting a snippet when there is whitespace after the
1699 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1701 * doc/geany.txt, doc/geany.html:
1703 * src/build.c, src/msgwindow.c:
1704 Fix disabled compiler message tracking if using indicators to
1705 show build errors is disabled (closes #2982834).
1708 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1710 * scintilla/Editor.cxx:
1711 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1712 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1713 replacing in a rectangular selection.
1716 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1719 Re-detect any document filetypes set to None after reloading
1720 filetype extensions (closes #2979661).
1722 Fix showing '...' item last instead of first for document word
1726 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1728 * data/filetypes.perl:
1729 Adjust Perl Compile command to use the -c command
1730 line option to perform a syntax check instead of using the
1731 deprecated ByteCompile module.
1732 Add error_regex to parse error messages and warnings when performing
1733 syntax checks on Perl files.
1736 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1738 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1739 Add API docs for keybinding enums.
1740 * src/notebook.c, doc/geany.txt, doc/geany.html:
1741 Make Ctrl-click on any notebook tab switch to the last used
1745 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1747 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1748 src/geanyentryaction.c, src/geanyentryaction.h,
1749 src/geanywraplabel.c:
1750 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1751 object for efficiency.
1754 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1756 * plugins/classbuilder.c:
1757 Beep if the user hasn't entered a class name on pressing OK.
1759 Fix replacing '^' regex.
1760 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1761 plugins/geanyfunctions.h:
1762 Add Stash widget functions to API.
1764 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1768 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1770 * THANKS, src/vte.c:
1771 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1773 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1774 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1775 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1776 Add Stash setting functions to API.
1777 Remove unnecessary argument to stash_group_load_from_file().
1778 * src/geanyobject.c, plugins/classbuilder.c:
1779 Don't generate FOO_GET_PRIVATE() macro because caching the result
1780 in Foo::priv can be much more efficient.
1783 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1786 Fix cursor positioning when toggling comments
1787 (patch by Thomas Martitz, thanks).
1790 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1792 * src/keybindings.[hc]:
1793 Added Control+0 for zoom reset, see suggestion from #2969886.
1796 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1798 * src/search.c, src/document.c:
1799 Fix wrong selection range after Replace in Selection.
1802 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1805 Make CreateChildProcess() working with Unicode strings, e.g.
1806 directory names (closes #2972606).
1808 Remove reference to already removed latex.tags file.
1809 Future releases probably still depend on GTK 2.16.
1810 * scintilla/ScintillaGTK.cxx:
1811 Backport fix from Scintilla CVS to not paste text beyond the end
1812 of lines (closes #2969096).
1813 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1815 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1816 to not set Geany's minimum window size anymore (closes #2972992).
1817 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1820 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1823 Make adding string and string vector settings initialise the setting
1825 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1826 Add stash_group_load_from_file() and stash_group_save_to_file().
1829 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1831 * data/filetypes.common:
1832 Set default for wrapped lines to show marker at end of line only
1833 (more expected and doesn't change line alignment - closes #2972386).
1834 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1835 src/pluginutils.c, doc/plugins.dox:
1836 Improve API docs contents page by listing all commonly-used files.
1837 Fix 'Date' appearing twice on the date line.
1838 Don't generate API docs for prefs.h, toolbar.h (unused).
1839 Move some '@file' doc-comments to the .c file.
1840 * src/interface.c, geany.glade:
1841 Add frame for 'Printing' prefs dialog page.
1842 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1843 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1844 doc/stash-example.c:
1845 Rename Stash data types to be independently named from Geany (so
1846 Stash can be reused for other projects).
1847 Rename GeanyPrefGroup to StashGroup.
1850 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1852 * tagmanager/python.c:
1853 Apply patch from Colomban Wendling to parse Python lambda functions
1854 (thanks) - modified to only parse toplevel or class member lambdas.
1855 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1856 doc/stash-example.c:
1857 Add doc-comments for Stash setting functions.
1858 Add an example file showing usage of Stash.
1859 (Not enabled yet until added to the plugin API).
1862 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1865 Fix using return value without checking return status, caused
1866 incorrect sensitivity settings on build dialog.
1869 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1872 Add tip about gcc optimization & warnings/debugging.
1873 Add Testing section.
1874 Update Libraries section about synchronizing with other projects.
1877 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1880 For now revert the recent patch which set real_path of newly
1881 open non-existent configuration files as this seems hackish and
1882 causes 'file not found' warnings.
1884 Fix/Improve GIT repository detection
1885 (patch by Thomas Martitz, thanks).
1886 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1888 Add utils_copy_environment() to the plugin API.
1891 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1893 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1894 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1896 Use 3rd person for more API dox.
1897 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1899 Change 'After all...' to 'Afterwards...'.
1900 * src/interface.c, geany.glade:
1901 Apply patch from Eugene Arshinov to make frame packing/alignment
1902 more consistent (thanks).
1905 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1908 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1909 that gtk_button_[sg]et_label() work as expected.
1910 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1911 Make Build Commands dialog show menu item labels as a button (to
1912 help show that menu labels don't normally need to be edited &
1913 display the mnemonic correctly). Clicking shows an input dialog to
1914 set a new menu item label.
1915 Split dialogs_show_input() into 2 functions: one simple, one for
1916 a persistent dialog.
1917 Fix possible double-destroy of input dialog when closed by user.
1919 Fix not destroying 'Make Custom Target' input dialog after first
1922 Make Long Line Marker settings for existing projects default to
1923 general settings instead of 0 (thanks to Eugene Arshinov).
1924 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1925 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1926 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1927 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1928 Use 3rd person (gets not get) for API function brief descriptions.
1929 Avoid using 'convenience function' in API brief descriptions.
1932 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1934 * doc/geany.txt, doc/geany.html:
1935 Warn about some GNU extensions for regular expressions & clarify
1937 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1938 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1939 src/editor.h, geany.glade:
1940 Apply patch from Eugene Arshinov to add project long line marker
1941 customisation (thanks).
1942 * src/interface.c, geany.glade:
1943 Edit/tidy 'Long line marker' labels.
1946 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1948 * src/build.c, src/project.c:
1949 Fix crash due to NULL in project build preferences (thanks to
1953 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1955 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1956 src/document.c, doc/geany.txt, doc/geany.html:
1957 Merge gnu-regex branch:
1958 Use POSIX system/GNU regex engine for find & replace 'Use regular
1959 expressions' option. This alters regex syntax a bit - see the docs
1960 for details; we now support '?' operator and replacement backslash
1961 escaping is more standard.
1962 Make regex search imply replacing escaped chars.
1963 Allow \0 backreference replacement for the whole match.
1964 Note: Replace All may be slower; if this is a problem please let me
1967 Add argument to utils_str_replace_escape() for keeping
1968 uninterpreted backslash escapes e.g. '\\', '\e'.
1969 * scintilla/LexMarkdown.cxx:
1970 Backport minor formatting/style changes from Scintilla project.
1971 * doc/geany.txt, doc/geany.html:
1972 Remove warning about no visual indication for zero-column-mode
1976 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1979 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1982 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1984 * wscript, scintilla/*, scintilla/include/*:
1985 Update Scintilla to version 2.03.
1986 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1987 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1988 Add preference for virtual spaces.
1990 Fix wrong default response for the Debug Messages dialog.
1992 Fix crashes when using Save As with no open files (closes #2964406).
1994 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1995 move the question from the secondary to the main text to be
1996 more compatible with the Gnome HIG.
1997 Fix broken 'Save' action in 'Resave missing file' dialog.
1999 Improve PHP parser to parse also the argument lists of PHP functions.
2001 Correctly set the parent widget for the keybinding overwrite
2002 confirmation dialog.
2004 Fix setting the icon for some dialogs if the parent itself is also
2007 When editing non-existent config files using the Tools->Configuration
2008 Files menu, explicitly set the real_path to avoid presenting the Save
2009 As dialog when saving the file (patch by Tony Rick, thanks).
2011 Focus the editor widget after hiding the sidebar when it had the
2012 input focus (patch by Can Koy, thanks).
2013 Properly show/hide the mesages window when using the View menu item
2015 * plugins/filebrowser.c:
2016 After opening files, focus the editor widget
2017 (based on a patch by Can Koy, thanks).
2018 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
2019 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
2020 src/ui_utils.h, src/vte.c:
2021 Add and use convenience function ui_is_keyval_enter_or_return() and
2022 add it to the plugin API.
2025 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2027 * src/about.c, THANKS, po/ast.po:
2028 Added Asturian translation. Thanks to Marcos Costales for providing.
2031 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2034 Fix keyboard accelerators in debug messages window
2038 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2040 * scintilla/LexR.cxx:
2041 Backport R lexer from Scintilla CVS to fix case sensitive keywords
2042 (Scintilla bug #2956543).
2043 * src/sidebar.c, src/about.c, THANKS:
2044 Make Space on the symbol and document list not focus the editor
2045 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
2046 * src/document.c, src/document.h:
2047 Fix document_try_focus() to make it work with the sidebar document
2049 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
2050 Make Space on the compiler and messages widgets not focus the editor
2051 widget while Enter does (patch by Can Koy, thanks).
2053 Fix wrongly auto-detected multiline comments
2054 (patch by Eugene Arshinov, thanks).
2057 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2060 Show number of lines of current document inside statusbar. Thanks to
2061 Can Koy for providing the patch.
2064 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2066 * src/keybindings.c, doc/geany.txt, doc/geany.html:
2067 Make Switch to Editor keybinding reshow the document statistics
2068 line, so user doesn't have to move the cursor.
2071 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2074 Update keywords for the R language (patch by Jon Senior, thanks).
2077 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2080 Fix the instruction how to insert unicode characters
2084 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2086 * scripts/create_py_tags.py:
2088 Replace tabs by spaces.
2089 * plugins/genapi.py:
2091 Replace tabs by spaces.
2092 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
2093 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2094 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
2095 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
2096 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2097 src/plugindata.h, src/sidebar.c, src/sidebar.h:
2098 Add keybindings to switch to the sidebar's Document and Symbol list
2099 as well as to the Message Window's current tab
2100 (patch by Eugene Arshinov, thanks).
2102 Update primary keywords for the R language
2103 (patch by Jon Senior, thanks).
2106 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2109 Add more detailed hints about reloading configuration
2110 (thanks to Tony Rick).
2111 * data/filetypes.javascript:
2112 Correct the keyword list for JavaScript (thanks to Jonas).
2115 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2117 * New release: Geany 0.18.1 "Balfour".
2120 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2122 * src/keybindings.c:
2123 Add special cases for handling the Select All keybinding (Ctrl-A) in
2124 the toolbar search and goto line text entries (closes #2948040).
2125 Strip trailing spaces after reflowing a paragraph, patch by
2126 Dominik Wagenfuehr, thanks (closes #2945497).
2129 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2131 * src/geanymenubuttonaction.c, src/templates.c:
2132 Partly revert last commit:
2133 Unref the new files toolbar menu when freeing templates as it
2134 was done before but unref it *after* the menu has been removed
2135 from the GeanyMenuButtonAction.
2137 Fix possible endless loop when trying to detect the encoding of
2138 non-text files (patch by Alexey Antipov, thanks).
2141 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2144 Allow saving remote files using g_file_set_contents() as well
2145 (patch by Алексей Антипов, thanks).
2146 * data/filetypes.python:
2147 Adjust style for secondary keywords to be less aggressive.
2148 Add Python 2.5 builtins keywords.
2149 * src/geanymenubuttonaction.c, src/templates.c:
2150 Unref the new files toolbar menu when setting a new menu to fix
2151 possible crashes when reloading configuration.
2153 When reloading configuration, process the current document at last
2154 so the symbol list will be updated correctly.
2157 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2160 Explicitly read filetype configuration files before generating
2161 global tags to get settings for custom filetypes.
2164 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2167 Fix GLib warning when toggling 'no plugins available' item.
2170 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2172 * icons/Makefile.am:
2173 Include geany.ico in the distribution tarball.
2175 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2176 * scripts/create_py_tags.py:
2177 Make the script a bit more robust with newer Python versions.
2179 Use utils_spawn_sync() instead of g_spawn_sync().
2182 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2185 Close meta tag for export date properly.
2188 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2191 Update RPM Spec file (patch by Dominic Hopf, thanks).
2194 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2197 Fix renaming sci_send_message(), sci_send_command() function
2201 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2203 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2204 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2205 plugins/geanyfunctions.h, plugins/Makefile.am,
2206 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2207 Use full function name for GeanyFunctions function pointers. This
2208 avoids naming conflicts e.g. with C++'s 'new' keyword.
2209 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2213 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2215 * src/utils.c, src/utils.h, src/vte.c:
2216 Add utils_copy_environment() and make use of it.
2217 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2218 src/editor.c, src/templates.c, src/templates.h:
2219 Add new special template wildcard "{command:...}" to use the
2220 output of a command in templates.
2221 Adjust template functions to mostly work with GeanyDocuments.
2222 Minor cleanups in the template code.
2224 Replace the old icons with smiley icons from the Rodent icon theme.
2225 Fix showing the same icon for two or more slots.
2227 * src/editor.c, src/editor.h, src/keybindings.c:
2228 Rename fold_symbol_click() to editor_toggle_fold().
2229 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2230 was used to respect the 'Fold/unfold all children' preference
2234 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2237 Prevent possible segfault in get_build_group().
2239 Fix GLib warning & beep if trying to insert multiline comment for a
2240 filetype that doesn't support it.
2243 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2246 Add gcc commands to build a plugin to the HowTo.
2247 * src/search.c, src/document.c, src/document.h:
2248 Show 'Replaced X matches in Y documents' message when using
2252 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2254 * scripts/plugin_test.c:
2255 Add a little test program which can load and test Geany plugins to
2256 verify it is loadable at runtime and all necessary symbols are
2258 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2260 Add new signal: "geany-startup-complete" which is sent once all
2261 initialization and startup tasks has been done.
2262 * README.I18N, configure.ac, wscript, po/LINGUAS:
2263 Remove po/LINGUAS from the repository.
2264 Generate it automatically if needed by reading available
2265 message catalogs from the po directory.
2266 Also respect the LINGUAS environment variable properly.
2269 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2272 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2276 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2278 * src/editor.c, src/templates.c, src/templates.h:
2279 Refactor templates_replace_all() into templates_replace_valist()
2280 to save some code duplication.
2283 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2285 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2286 src/plugindata.h, src/plugins.c:
2287 Add editor_insert_text_block() to plugin API.
2290 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2293 Update copyright information.
2294 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2295 doc/geany.txt, doc/geany.html:
2296 Add keybinding to open the last closed tab (closes #2912692).
2299 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2301 * autogen.sh, configure.in, configure.ac:
2302 Rename configure.in to configure.ac.
2303 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2305 Add sci_find_text() to the plugin API.
2306 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2307 src/interface.c, src/prefs.c:
2308 Add a checkbox in the preferences dialog to explicitly toggle
2309 the visibility of the sidebar (closes #2923340).
2312 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2314 * src/editor.c, src/plugins.c, src/plugindata.h,
2315 plugins/geanyfunctions.h:
2316 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2317 editor_get_eol_char() to the plugin API.
2318 * src/callbacks.c, src/plugins.c, src/plugins.h:
2319 Fix sensitivity of the Edit->Plugin Preferences menu item
2320 if plugins are loaded which do not provide a configuration dialog.
2321 * scripts/create_py_tags.py:
2322 Rewrite and extend the Python tags parsing script to use
2323 Python's inspect module to read symbols from Python modules
2324 including scope information.
2325 * data/filetypes.restructuredtext:
2326 Add the default comment character sequence for reStructuredText.
2328 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2329 clicked but their text fields are not part of the toolbar (#2920807).
2330 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2332 Add new style to change foreground and background colours for
2333 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2335 Remember the window position of the Find, Replace and Find in Files
2336 dialogs (closes #2877988).
2339 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2342 Fix a minor typo inside plugin API reference.
2345 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2347 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2348 Make dialogs_show_prompt() more flexible to take up to three
2349 button/response code pairs to be shown.
2350 Add a close button to the dialog when asking to Re-Save a
2352 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2354 Fix LaTeX environment auto completion with CR/LF line endings.
2355 Add some sanity checks.
2357 When closing a document after it was deleted from the filesystem,
2358 don't ask whether it should be saved first.
2359 Mark the document only as changed if it is not closed afterwards.
2360 Prevent possible segfaults if the document was closed when it is
2361 missing from the filesystem.
2362 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2363 src/msgwindow.h, src/prefs.c:
2364 Add MessageWindow::scribble and use it instead of searching the
2365 widget pointer everytime.
2366 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2367 Add preferences for hiding single tabs from the messages window
2368 (no GUI preferences yet, still to be implemented).
2369 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2370 Set the correct parent window for the toolbar editor
2371 dialog (closes #2913334).
2372 * src/win32.c, src/win32.h, src/ui_utils.c:
2373 Rename win32_show_project_folder_dialog() to
2374 win32_show_folder_dialog() as it is not related and not used by any
2375 project management related code.
2376 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2377 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2378 as it is specialised for opening documents.
2379 Implement win32_show_file_dialog() as a generic file open dialog and
2380 use it with ui_path_box_new().
2383 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2386 Extend auto_latex() function to check whether an environment has been
2387 closed within the next lines to avoid auto adding double \end{}.
2389 Remove LaTeX tags from SVN. Can be found at
2390 http://download.geany.org/contrib/tags/ if needed.
2393 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2395 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2396 Add document_need_save_as().
2397 Show the Save As also for documents created from filetype templates
2398 instead of saving them directly with the untitled filename.
2401 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2403 * geany.glade, src/interface.c:
2404 Move 'Send Selection to Terminal' menu item from Format to Commands
2407 When going to a build error, try the current document's path if
2408 the parsed filename doesn't exist. (This can happen when we receive
2409 build messages in the wrong order - after the 'Leaving directory'
2412 Refactor msgwin_goto_compiler_file_line().
2413 * src/interface.c, src/keybindings.c, geany.glade:
2414 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2417 Refactor/reformat on_replace_dialog_response().
2420 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2423 Improve geany.spec (split the package into a binary and devel
2424 package, update BuildRequires and other minor improvements).
2425 Patch by Dominic Hopf, thanks.
2428 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2430 * src/filetypes.c, src/filetypes.h:
2431 Make group for custom filetypes.
2432 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2433 Add custom filetype Genie.
2436 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2438 * src/highlighting.c:
2439 Highlight D & Java types from a global tags file.
2440 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2441 Add debug message warning if recursive lexer_filetype is set.
2442 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2443 Remove duplicate sci_set_keywords(), make argument const.
2444 * src/highlighting.c:
2445 Only show debug message once if recursive lexer_filetype is set.
2446 Tidy highlighting_init_styles code for filetype None handling.
2447 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2448 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2449 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2450 tagmanager/parsers.h, tagmanager/makefile.win32,
2451 tagmanager/verilog.c, tagmanager/Makefile.am,
2452 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2453 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2454 * src/highlighting.c:
2455 Fix segfault on startup (oops).
2456 * data/filetypes.verilog:
2457 Fix using common style colours for Verilog.
2460 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2462 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2463 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2464 Move C-like filetype properties into configuration files.
2465 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2467 Remove now unnecessary "styling_within_preprocessor" C style key.
2468 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2469 data/filetypes.glsl, data/filetypes.cs:
2470 Use lexer_filetype=C configuration file key instead of duplicate
2471 styleset functions for C++, C#, GLSL, Vala.
2474 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2476 * doc/geany.txt, doc/geany.html:
2477 Warn about not using BOM for configuration files (confuses GKeyFile
2478 parser, at least on my system).
2480 Add/improve debug messages for custom filetypes.
2483 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2486 Add a couple of further latex-beamer commands to list of LaTeX tags.
2489 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2491 * plugins/filebrowser.c:
2492 Add an in-entry clear icon to the filebrowser plugin's filter
2493 entry (patch by Dominic Hopf, thanks).
2494 * src/prefs.c, src/ui_utils.c:
2495 Fix two compiler warnings about possibly uninitialised variables.
2498 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2500 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2501 plugins/geanyfunctions.h:
2502 Add main_is_realized() to the plugin API.
2503 * tagmanager/include/tm_tagmanager.h:
2504 Update partly outdated and wrong doc comment.
2505 * src/main.c, src/main.h, src/socket.c:
2506 Allow opening Geany projects remotely.
2507 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2508 Add a hidden pref to allow executing text which was sent to the
2509 terminal directly, i.e. do not strip trailing newline characters.
2510 Also fix the stripping of trailing newline characters if there was
2514 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2516 * src/about.c, THANKS:
2517 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2518 Kurt de Bree into section of previous translators.
2521 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2523 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2524 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2528 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2530 * src/highlighting.c:
2531 Make stylesets take a ft_id argument so they can be reused fully with
2532 custom filetypes, so custom styles and keywords can be set.
2533 * src/highlighting.c:
2534 Fix setting filetype properties when both the system and the user
2535 file have properties set.
2536 * src/symbols.c, tagmanager/vhdl.c:
2538 * src/highlighting.c:
2539 Fix lexer settings for custom filetypes.
2542 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2545 Remove duplicate regular expression for parsing classes.
2546 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2547 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2548 src/main.h, THANKS, src/about.c:
2549 Add new command line option "--socket-file" to be able to specify
2550 separate socket filenames for instances
2551 (closes #2896027, patch by Jörn Reder, thanks).
2552 * src/keybindings.c, src/keybindings.h:
2553 Add keybindings_check_event() to manually check GdkKeyEvents against
2554 Geany's keybindings.
2555 * src/callbacks.c, src/utils.c, src/utils.h:
2556 Add and use utils_get_help_url().
2557 * geany.glade, src/interface.c, src/prefs.c:
2558 Add a Help button to the preferences dialog.
2559 Handle Help keybinding events for the preferences dialog especially
2560 and open the manual with the corresponding anchor link to the current
2561 preferences page (same goes for the new Help button).
2564 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2566 * src/toolbar.c, src/geanymenubuttonaction.c,
2567 src/geanymenubuttonaction.h:
2568 Use separate tooltips for toolbar menu buttons and their attached
2570 * tagmanager/latex.c:
2571 Improve parsing of sections and chapters by ignoring shortnames
2572 like \section[shortname]{label} (closes #2890477).
2575 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2577 * src/geanymenubuttonaction.c:
2578 Try to fix Gtk warning when using Tools->Reload Configuration.
2581 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2583 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2584 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2585 data/filetypes.pascal, data/filetypes.docbook,
2586 data/filetypes.python, data/filetypes.conf:
2587 Use filetypes.foo [lexer_properties] group instead of hardcoding
2588 lexer properties (more flexible e.g. for custom filetypes).
2589 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2590 Replace filetypes.xml html_asp_default_language key with
2591 filetypes.html asp.default.language property in [lexer_properties]
2595 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2597 * doc/geany.txt, doc/geany.html:
2598 Fix slightly wrong description of how to insert Unicode characters.
2600 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2601 ui_setup_open_button_callback().
2602 * src/prefs.c, src/prefs.c, src/vte.c:
2603 Refactor color and font button callback functions in the
2604 preferences dialog. Move the VTE related callback functions
2606 Make use of ui_setup_open_button_callback().
2608 Improve printing status texts (patch by Dominic Hopf, thanks).
2609 * src/prefs.c, src/vte.c:
2610 Use the default dialog title set by ui_setup_open_button_callback()
2611 to be more consistent and to save one string.
2614 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2617 Separate DKinds from CKinds.
2618 Don't generate macro tags for D, Java.
2621 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2623 * tagmanager/ctags.c, tagmanager/general.h:
2624 Make TagManager Assert statements cause g_warning on failure.
2625 * src/keybindings.c:
2626 Fix reflow paragraph command when cursor < anchor using
2627 sci_fix_selection().
2630 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2632 * tagmanager/perl.c:
2633 Fix Geany segfault with constant tags (#2895168).
2635 Fix invalid tree iter access when using tv_iters.tag_other but not
2636 using tv_iters.tag_variable.
2637 * HACKING, tagmanager/perl.c:
2638 Fix parsing Perl format statements ("other" type doesn't seem
2640 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2641 Fix using "other" tag type.
2644 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2647 Remove useless comment about applying settings only when libvte.so
2648 could be loaded which is only displayed *if* libvte.so is loaded.
2650 Allow autocompletion for HTML entities even within a word.
2651 * src/geanymenubuttonaction.c:
2652 Only set the menu of the button if a non-empty GtkMenu is passed to
2653 geany_menu_button_action_set_menu() so the menu arrow keeps
2657 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2660 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2663 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2666 Parse D functions with contracts (fixes #1885480).
2667 Parse D alias statement like typedef.
2668 (Ignore some more D keywords).
2670 Fix creating D interface tags properly.
2672 Parse contents of D extern{} and version{} blocks.
2675 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2681 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2683 * src/plugindata.h, HACKING:
2684 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2687 Show number of files saved on status bar when using Save All.
2688 * src/highlighting.c:
2689 Use default color scheme if pref color scheme file doesn't exist.
2690 * src/keybindings.c:
2691 Fix moving correct lines after selecting whole line(s).
2694 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2696 * tagmanager/makefile.win32:
2697 Fix broken build on Windows because of a typo
2698 (patch by Timothy Boronczyk, thanks).
2701 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2703 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2705 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2706 scheme files exist in a colorschemes config directory. Color scheme
2707 files must end in ".conf" and currently only the [named_styles]
2709 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2710 Add utils_get_config_files().
2711 * src/highlighting.c:
2712 Fix issue with default color not being reset if overridden with a
2713 system default color.
2714 * src/highlighting.c:
2715 Only reload filetype files when changing color scheme, not all
2716 configuration files.
2717 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2718 Deprecate documents_foreach() as it looks more like a function; use
2719 foreach_document() instead.
2720 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2723 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2725 * src/stash.c, src/stash.h:
2726 Use typedef instead of pointer for widget_id function arguments.
2729 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2731 * src/pluginutils.c:
2732 Don't expand Plugin Preferences page spacing vertically to fill the
2733 height of the dialog.
2734 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2735 geany.glade, plugins/splitwindow.c:
2736 Allow GeanyKeyBinding label field to contain underscores, which won't
2737 be displayed by Geany. This saves adding near-duplicate translation
2739 Add mnemonics for 3 Edit->Format menu items.
2740 Add keybindings_get_label().
2741 * src/interface.c, geany.glade:
2742 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2746 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2749 Desensitize Edit->Commands menu item when no docs are open.
2750 * src/interface.c, src/keybindings.c, src/callbacks.c,
2751 src/callbacks.h, geany.glade:
2752 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2753 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2754 Add general function sci_get_string() that works with any string
2755 buffer messages that follow the Windows message convention.
2756 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2757 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2758 src/pluginutils.c, src/pluginutils.h, geany.glade:
2759 Add 'Edit->Plugin Preferences' menu item and keybinding.
2760 Don't include plugindata.h in pluginutils.h because it redefines the
2761 GEANY() macro for plugin use.
2762 * doc/geany.txt, doc/geany.html:
2763 Update for Plugin Preferences keybinding.
2766 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2769 Sort document word completion list.
2770 * src/interface.c, src/keybindings.c, src/callbacks.c,
2771 src/callbacks.h, geany.glade:
2772 Add some useful commands to editor popup menu under "Commands"
2773 submenu (thanks to Lex).
2774 Move 'Duplicate line or selection' from Format -> Commands submenu.
2775 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2776 Enable switching the sidebar to the right on Windows again, as it
2777 apparently works after all.
2779 Fix using tab to autocomplete in some other situations that word part
2780 completion doesn't apply in.
2781 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2782 Add Edit->Commands submenu which is shared with the editor popup
2784 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2785 Change editor popup Commands submenu to start as child of menubar
2786 Edit menu, as this is more usual e.g. for keybindings initialization.
2787 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2789 Share a single Format submenu for menubar Edit and popup menu.
2792 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2795 Fix a compiler warning about an uninitialised variable.
2797 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2798 sciwrappers.h, build.h (for the Waf build system,
2799 accordingly to r4366).
2802 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2804 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2805 src/toolbar.c, src/toolbar.h:
2806 Add missing dox for types/files in the API.
2807 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2808 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2809 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2810 of functions not in the API).
2811 Warning: any plugins that include these headers should remove them.
2812 * src/build.c, src/build.h:
2813 Move function doc-comments to build.c so they stay in sync. Note:
2814 these functions are still not in the API.
2816 Add 'Doc-comments' plugin API subsection.
2817 * plugins/filebrowser.c:
2818 Fix packing configure widgets equally.
2819 Use spacing multiples of 6 as recommended by Gnome HIG.
2820 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2821 Disable switching the sidebar to the right on Windows as it will
2822 probably fail like the Split Window plugin.
2824 Improve 'Detect from file' indentation pref by ignoring lines with
2825 indentation wider than 24 characters as this is more likely to be
2826 alignment than indentation.
2829 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2831 * plugins/saveactions.c:
2832 Fix adding the filetype's default extension when using the
2833 Instant Save plugin (closes #2885142).
2835 Before looking for line and column numbers specified as part
2836 of a filename, ensure the file doesn't exist on disk. This allows
2837 opening of files like "test:0".
2839 Rename "select" variables into "selection" to avoid shadowed names.
2840 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2841 Add ui_widget_modify_font_from_string() and sci_goto_line()
2843 * plugins/filebrowser.c:
2844 Rename "select" variables into "selection" to avoid shadowed names.
2845 Make use of ui_widget_modify_font_from_string().
2848 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2850 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2851 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2853 Add sidebar position interface pref.
2856 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2858 * doc/geany.txt, doc/geany.html:
2859 Add missing underscores to links.
2862 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2864 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2865 Add 'Move line(s) up/down' keybindings.
2868 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2870 * src/build.c, src/build.h, src/filetypes.h:
2871 Include code for project filetype execute commands and fix bug in
2872 saving project filetypes list.
2873 * src/project.c, src/build.c, doc/geany.txt:
2874 Make non-project execute configuration save to filetypes not
2876 Fix closing of project failing to remove build commands dialog entry.
2879 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2881 * src/project.c, src/ui_utils.c:
2882 Set border width for project properties build table.
2883 * geany.glade, src/interface.c:
2884 Don't expand hard tab width alignment.
2887 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2889 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2890 doc/geany.txt, doc/geany.html:
2891 Support loading global tags files for custom filetypes.
2892 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2893 doc/geany.txt, doc/geany.html:
2894 Add 'Word part completion' keybinding so keys other than Tab can be
2895 used, or to clear/change the combination so Tab does full completion
2897 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2898 Add 'Select to previous/next word part' keybindings.
2899 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2900 Add 'Switch to Messages' focus keybinding.
2903 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2905 * doc/geany.txt, doc/geany.html:
2906 Add 'Custom filetypes' section.
2907 * src/filetypes.c, src/filetypes.h, src/document.c,
2908 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2909 tagmanager/include/tm_source_file.h:
2910 Add filetype "tag_parser" key so custom filetypes can use an existing
2912 Add tm_source_file_get_named_lang().
2913 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2915 Add filetype "lexer_filetype" key so custom filetypes can use an
2919 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2921 * THANKS, src/about.c:
2922 Add Xhacker Liu for his work at zh_CN translation to long list of
2926 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2928 * src/sciwrappers.c:
2929 Remove unnecessary line number margin padding.
2930 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2931 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2933 Improve word part autocompletion so AC list is not cancelled and
2934 reshown (this also stops the selection changing).
2935 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2937 Improve CamelCase word part autocompletion for runs of capital
2940 Don't complete snippets if there's a selection.
2943 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2946 Fix crash opening project when Geany started with no geany.conf.
2949 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2951 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2952 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2954 Add word part autocompletion for the current selected item when
2955 pressing Tab - Enter still completes normally.
2956 Add foreach_str() API macro.
2957 Temporarily modify scintilla to say if tab was used for
2959 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2960 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2961 plugins/classbuilder.c:
2962 Revert r4301 - utils_free_pointers() taking 4 arguments.
2963 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2964 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2965 plugins/splitwindow.c:
2966 Add highlighting_set_styles() to API, use for Split Window plugin so
2967 filetypes.common settings get set too.
2968 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2970 * src/document.c, src/editor.c, plugins/splitwindow.c:
2971 Call editor_apply_update_prefs() from editor_create_widget() so
2972 correct tab width and other settings are applied for Split Window
2976 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2978 * src/keybindings.c:
2979 Don't include trailing newlines when using reflow command.
2981 Add stock close buttons to notebook tab popup menu.
2982 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2983 plugins/geanyfunctions.h:
2984 Add document_get_notebook_page() to API.
2986 * data/templates/files/file.html, data/templates/files/file.php:
2987 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2988 * src/interface.c, src/ui_utils.c, geany.glade:
2989 Move Tools configuration items to top of menu.
2990 * src/keybindings.c, src/search.c:
2991 Fix warning when using Find in Files with no documents open; make
2992 keybinding work in this case.
2995 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2997 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2998 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2999 Make Split Window 'Show current document' button have a drop-down
3000 menu to select the other documents.
3001 Add new API function ui_menu_add_document_items().
3004 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
3007 Fix sensitivity settings for compile and build toolbar items.
3010 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3013 Don't use filetype submenus for templates (slower to navigate, often
3014 only 1 per-filetype anyway).
3016 Put old filetype template menu items in 'Old' submenu as they should
3017 be removed after the 0.19 release.
3018 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
3019 Add GeanyKeyGroup callback support, which allow keybinding callbacks
3020 to be ignored if inappropriate so a later keybinding with the same
3021 key combination can intercept it. (Also group callbacks are usually
3022 tidier than separate callbacks).
3023 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
3024 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3025 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
3026 plugins/classbuilder.c:
3027 Make utils_free_pointers() take 4 arguments, add to API.
3028 * src/templates.c, src/tools.c, src/ui_utils.c:
3029 Fix memory leaks with gtk_container_get_children().
3032 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
3035 Ensure that old style build config is not loaded if it does
3039 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3041 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
3042 Added Galician translation.
3043 Thanks to José Manuel Castroagudín Silva.
3046 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3048 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
3050 Apply set default encoding for existing files only if the files are
3051 non-Unicode (patch by Alexey Antipov, thanks).
3054 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3056 * src/highlighting.c:
3057 Move new_styleset() and preprocessor setup code into
3059 * src/highlighting.c:
3060 Call apply_filetype_properties() from styleset_c_like().
3063 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3065 * doc/geany.txt, doc/geany.html:
3066 Improve information about predefined keybindings which are
3067 commonly used across applications (patch by Lex Trotman, thanks).
3069 Enable embedded page setup properties in the (Unix) Print dialog
3070 on newer GTK versions (closes #2870596).
3071 * src/highlighting.c:
3072 Map global types (read from tags files) to keyword style for
3076 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3079 Fix wrong creation of filetype template menu items for custom
3081 * src/highlighting.c:
3082 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
3084 Group 'New with template' items by filetype submenu (currently only
3086 Show custom file template items before filetype template items.
3087 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
3089 Only use one 'New with template' submenu - reparent as needed.
3091 Don't create templates/filetype.none either.
3093 Warn if custom template file no longer exists.
3096 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3099 Add missing icon for Java packages in the Symbol List.
3102 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3104 * src/highlighting.c, data/filetypes.vala:
3105 Add Vala keywords to conf file.
3106 * src/templates.c, doc/geany.txt, doc/geany.html:
3107 Read custom file templates from $prefix/share/geany/templates/files
3108 as well as user dir.
3109 * src/templates.c, data/templates, data/templates/files,
3110 data/templates/files/file.rb, data/templates/files/file.html,
3111 data/templates/files/main.java, data/templates/files/main.c,
3112 data/templates/files/main.cxx, data/templates/files/file.php,
3113 data/templates/files/main.d, data/templates/files/program.pas,
3114 data/templates/files/main.py, data/templates/files/file.tex,
3115 wscript, Makefile.am:
3116 Move filetype template defaults into custom file template files.
3119 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3121 * src/symbols.c, tagmanager/perl.c:
3122 Change Perl tag parser to ctags SVN r601. This removes support for
3123 buggy local/my/our but it parses constant/format/labels and should
3124 be less buggy overall (closes #2861232).
3125 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3126 Add utils_get_file_list_full() which can optionally sort or include
3127 a full path for each list item.
3128 * src/utils.c, src/plugindata.h, src/plugins.c:
3129 Add utils_get_file_list_full() to API.
3132 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3134 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3135 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3136 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3137 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3138 po/POTFILES.in, wscript:
3139 Rename treeviews.[hc] -> sidebar.[hc].
3140 * data/filetypes.common:
3141 Remove unused [styling] arguments.
3142 * src/highlighting.c, data/filetypes.markdown,
3143 data/filetypes.restructuredtext:
3144 Remove style defaults from the code - just read them from
3145 configuration files.
3146 * src/highlighting.c, HACKING:
3147 Add apply_style_entries() to simplify implementing styleset_foo().
3148 * src/highlighting.c:
3149 Remove filetype keyword defaults from the code - just read them from
3150 configuration files.
3151 * src/highlighting.c:
3152 Add sci_set_keywords() wrapper.
3155 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3157 * scripts/create_py_tags.py:
3158 Make the code a bit more pythonic.
3159 * doc/images/build_menu_commands_dialog.png,
3160 doc/images/main_window.png:
3161 Add new images referenced in the documentation.
3162 * doc/geany.html, doc/geany.txt:
3163 Several documentation improvements (patch by Lex Trotman, thanks).
3164 * src/pluginutils.c:
3165 Fix setting the appropriate page of the combined plugins
3169 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3171 * src/keybindings.c:
3172 Only focus toolbar goto line entry when pressing keybinding if it's
3173 visible (patch by Eugene Arshinov, thanks).
3175 Focus editor after entering a number in the goto line toolbar entry.
3177 Use AC_PATH_PROG instead of which for portability (patch by Erik
3178 Southworth, thanks).
3180 Show plugins that only implement plugin_configure_single() in the
3181 multiple-configure dialog as a page with a configure button on it.
3182 Add padding for multiple-configure dialog.
3183 Make the multiple-configure dialog notebook tabs scrollable.
3184 * src/pluginutils.c, src/pluginutils.h:
3185 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3186 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3187 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3188 plugins/geanyfunctions.h, plugins/filebrowser.c:
3189 Add plugin_show_configure() API utility function.
3190 Add File Browser popup menu 'Preferences' item.
3191 * src/highlighting.c:
3192 Add get_keyfile_ints() instead of using tmp_style hack.
3193 * src/highlighting.c, data/filetypes.xml:
3194 Change new html_asp_default_language markup pref to use integer,
3195 not hex in config file.
3196 Fix minor issue with changing pref back to 0.
3197 * src/highlighting.c:
3198 Fix possible segfault in get_keyfile_int() if key value is malformed.
3201 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3203 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3204 Add "html_asp_default_language" pseudo style to filetypes.xml
3205 to allow setting the used language in embedded ASP code
3206 (patch by Ross McKay, thanks).
3207 * src/filetypes.xml:
3208 Update VBScript keywords (patch by Ross McKay, thanks).
3211 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3213 * src/keybindings.c, THANKS:
3214 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3215 keybinding use line breaking column when enabled.
3217 Fix showing the document before reload dialog when opening an
3219 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3220 Add plugin_configure_single() plugin symbol which is easier to
3221 implement than plugin_configure() but won't support a
3222 multiple-plugin configure dialog.
3224 Show multiple plugins in the 'Configure Plugins' dialog.
3227 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3229 * doc/geany.txt, doc/geany.html:
3230 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3232 * doc/geany.txt, doc/geany.html:
3233 Add 'Toolbar entries' section.
3234 * doc/geany.txt, doc/geany.html:
3235 Update 'Go to line' keybinding description.
3236 * doc/geany.txt, doc/geany.html:
3237 Split keybinding table into group tables; update KB links.
3240 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3243 Fix compiler warnings about uninitialised variables.
3244 * src/callbacks.c, src/document.c:
3245 When reloading files, use the previously set encoding instead of
3246 detecting it again (closes #2862041).
3248 Turn on automake silent rules if supported.
3251 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3254 Speed up sorting in utils_get_file_list(). This reduces the file
3255 browser delay on displaying a big directory, e.g. /usr/bin.
3257 Expand command entry width when expanding Build Commands dialog.
3259 Split Build Commands dialog notes label and edit text.
3261 Add padding for Build Commands dialog separators.
3262 Add colons for regex field labels; fix 1 capitalisation.
3264 Fix none filetype Build Commands dialog label.
3265 Make group labels bold.
3266 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3268 Add & use ui_label_set_markup(), ui_label_new_bold().
3269 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3270 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3271 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3272 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3273 * src/keybindings.c:
3274 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3277 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3279 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3280 tagmanager/parsers.h, tagmanager/makefile.win32,
3281 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3282 data/filetype_extensions.conf, wscript:
3283 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3285 Merge recent changes from the CTags project to further improve
3289 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3292 Fix wrong alignment of printed pages when page headers are
3293 disabled (closes #2856822).
3294 Plug a small memory leak and improve function signature of
3297 Save an if expression.
3299 After clearing a text field using the embedded clear icon, put the
3300 input focus into this text field.
3303 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3305 * plugins/filebrowser.c:
3306 Free file list memory whilst iterating the list.
3307 Minor formatting fixes.
3308 * src/utils.c, src/utils.h:
3309 Add foreach_dir() API macro.
3310 Update API docs for utils_get_file_list().
3311 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3313 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3314 Beep if there are no more snippet positions.
3315 Limit length of snippet positions queue to 20.
3318 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3320 * src/keybindings.c, src/callbacks.c, src/search.c:
3321 Make Goto Tag commands use the current selection if present (useful
3322 for selecting part of a tag or for ReST section names with spaces
3325 Don't move the cursor when reloading.
3326 * src/plugindata.h, src/editor.c, src/editor.h:
3327 Make editor_prefs.snippets hash table private (not a pref).
3330 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3333 Remove deprecated --debug flag. Please use --verbose/-v instead.
3336 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3339 Show Find in Files stderr output in messages window instead of
3340 debug window so that invalid regex messages can be seen easily.
3341 Combine FIF stdout and stderr callback code.
3344 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3347 Fix opening filenames beginning with two dots (closes #2858487).
3348 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3349 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3350 data/filetypes.common, geany.glade:
3351 Update syntax highlighting after changing the 'Invert syntax
3352 highlighting colors' pref, instead of requiring a restart.
3353 Remove filetypes.common invert_all option - use 'Invert syntax
3354 highlighting colors' pref instead (closes #2854525).
3355 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3356 Add 'Allow' button when showing the conflicting keybinding dialog.
3357 Make dialogs_show_question_full() use GTK dialog on Windows if
3358 button text is not the stock yes/no items.
3359 Add dialogs_show_prompt() which also has an 'Apply' button.
3360 * src/queue.c, src/queue.h:
3361 Add warning that GeanyQueue may be removed.
3362 * src/keybindings.c, src/editor.c, src/editor.h:
3363 Change snippet_goto_next_cursor() to
3364 editor_goto_next_snippet_cursor() as it's in editor.h.
3365 Avoid using GPOINTER_TO_INT macro.
3368 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3370 * src/keybindings.c:
3371 Fix 'Reflow block' command when at the last paragraph and there's
3372 no last newline (patch by Eugene Arshinov, thanks).
3374 Add 'Compiler options & warnings' section.
3375 Update Style section to be clearer about code alignment and show
3380 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3382 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3383 src/plugindata.h, src/plugins.c, src/editor.c,
3384 plugins/geanyfunctions.h:
3385 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3386 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3388 Add sci_toggle_marker_at_line().
3389 Fix SciFuncs alignment.
3392 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3395 Fix erroneous free of returned string in prepare_run_script.
3398 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3400 * data/filetypes.latex:
3401 Changing default value for showing pdf and dvi to ensure to take
3402 *.pdf and *.dvi file.
3405 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3407 * src/about.c, THANKS:
3408 Change language string for Slovenian translation.
3411 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3413 * tagmanager/txt2tags.c:
3414 Fix multi-byte character constant comparison.
3416 Fix Gtk warning when trying to update documents popup menu item
3417 sensitivity before they exist.
3420 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 Improve the opening string in the plugin manager dialog.
3425 Use "max-width" to set the document width of the generated
3426 HTML documentation to let the text be auto-wrapped.
3427 * src/prefs.c, src/tagmanager/include/guregex.h,
3428 src/tagmanager/include/tm_tagmanager.h:
3429 Remove trailing spaces (patch by André Hentschel, thanks).
3431 Fix a compiler warning.
3433 Fix crash when opening documents.
3434 * src/build.c, src/build.h, src/project.c:
3435 Adjust coding style (no code changes).
3436 * src/build.c, src/project.c:
3437 Use NZV() macro instead of strlen() to check for empty strings.
3438 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3439 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3440 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3441 src/plugins.c, THANKS:
3442 Add new plugin signal: "document-before-save".
3443 Add get_line_end_position(), set_target_start(), set_target_end(),
3444 replace_target() to the plugin API
3445 (patch by Eugene Arshinov, thanks).
3446 Add new plugin signal: "document-filetype-set" (closes #2852286).
3447 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3448 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3449 tagmanager/Makefile.am, tagmanager/makefile.win32,
3450 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3452 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3455 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3457 * src/treeviews.c, src/document.c:
3458 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3459 Use gtk_notebook_set_current_page() instead of
3460 document_open_file_full() when choosing an item from the documents
3462 Avoid using goto in document_open_file_full().
3465 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3467 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3468 Enable type-ahead find for sidebar symbols and documents tabs
3469 (patch by Thomas Martitz, thanks).
3471 Fix 2 free's of possibly uninitialized pointers.
3474 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3476 * src/build.c, src/filetypes.h, src/filetypes.c:
3477 Only write filetype config files when build command or regex is
3478 actually changed. Removed commented code in src/filetypes.c.
3480 Ensure uses of filename are protected against nulls when running
3481 a build command and give status message if not.
3484 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3487 Remove plugin from plugin manager dialog on unloading if it no
3488 longer exists or is incompatible.
3491 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3494 Add warning if only one of the plugin_key_group[_info] symbols is
3495 defined for a plugin.
3496 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3497 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3499 Merge custom-filetypes branch:
3500 Support adding custom filetype files e.g. filetypes.Foo.conf.
3502 Allow GeanyFiletype::extension to be NULL.
3503 Add note about using GeanyFiletype pointer instead of filetype_id
3504 for filetypes.c function arguments.
3505 Replace styleset_none() with styleset_default().
3508 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3511 Show the sidebar if either the documents or the symbols list are
3512 enabled (related to #1876107).
3515 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3517 * src/build.c, src/filetypes.c:
3518 Fix compiler warnings.
3520 Fix removing leading double slashes in filenames which are used for
3521 network resources on Windows (closes #2844085).
3524 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3526 * src/keybindings.c:
3527 Fix Make keybindings (patch by Lex Trotman, thanks).
3529 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3531 Mention Files link at top for header files; demoplugin.c.
3532 Minor edits; remove 'far from being complete'.
3533 * src/keyfile.c, src/keyfile.h, src/main.c,
3534 data/filetype_extensions.conf, HACKING:
3535 Remove --generate-data-files argument & code - just edit
3536 filetype_extensions.conf by hand (filetype order was broken
3538 Add *.H extension for C++ (useful for non-Windows systems).
3541 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3544 Fix implementation of loading old project files with base
3545 directories. Use project_make_base_path instead of re-
3546 implementing. Now depends on project.c reading base dir
3547 prior to calling load_build_menu.
3549 Change usage of project base directory to conform with
3550 previous documented behavior when loading old project files.
3552 Change make custom and make object to ignore make in base path
3553 when reading old project file settings. Changed some indent
3554 spaces to tabs. Fix missing compile menu accelerator.
3557 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3560 Add warning about not using undocumented features.
3561 Add reference to HACKING for plugin API development.
3563 Add section 'Plugin API/ABI design'.
3564 * src/keybindings.h, src/makefile.win32, src/project.h,
3565 src/filetypes.h, src/Makefile.am, wscript:
3566 Use GEANY_PRIVATE to hide some fields from plugins.
3568 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3569 * src/build.c, src/build.h, src/project.c:
3570 Use build_ prefix for 3 functions in build.h; add a static modifier.
3573 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3576 Improve parsing of PHP functions by requiring a valid modifier or
3577 whitespace before the 'function' keyword to ignore some false
3578 positives like function tags inside comments
3579 (patch by Harold Aling, thanks).
3580 * tagmanager/python.c:
3581 Don't parse comments after import statements and other tags
3582 (closes #2838938, patch by Huandari Lopez, thanks).
3585 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3587 * data/filetypes.markdown:
3588 Add filetypes.markdown for configuration (thanks to Jon Strait).
3589 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3590 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3591 plugins/geanyfunctions.h:
3592 Remove GeanyKeyGroup struct from the API - plugins should not set
3594 Make keybindings_set_item() duplicate the name and label fields
3595 (needed by GeanyLua) and return a keybinding pointer.
3596 Add keybindings_get_item() to the API (in case it's useful).
3597 Move some keybinding code out of plugin source files.
3600 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3602 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3603 Don't generate build.h API docs until everything is approved and
3604 functions are actually in geany_functions.
3605 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3606 as they may be changed or made private later.
3607 Break ABI for fields removed.
3610 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3612 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3613 src/keyfile.c, src/project.c:
3614 Changed names of symbols visible in build API to GEANY_xxx.
3617 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3619 * src/project.h, src/project.c, src/build.c:
3620 Remove make_in_base_dir and run_cmd fields from project structure.
3621 Replaced by build functionality. Remove incorrect use in src/build.c
3622 build_run_cmd function.
3625 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3627 * src/project.h, src/project.c:
3628 Removed unused project_get_make_dir function, this is now per
3632 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3634 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3636 Fix some more warnings.
3637 Fix commented out execute/stop toolbar code in build.c.
3638 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3639 Changed build.h api so all functions prefixed with build_.
3642 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3644 * src/build.c, src/build.h, src/project.c:
3645 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3648 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3651 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3652 strings when reading old format configuration & project files.
3653 * src/build.c, src/project.c:
3654 Fixed GLib array assertion warnings when no project filetypes are
3655 available to be saved.
3657 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3663 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3665 * src/build.h, src/build.c, src/project.c:
3666 Created and documented plugins interface to build menu.
3667 Factored out new get_cmd_group function.
3668 Changed name of remove_command function to be consistent with the
3669 rest of the interface & changed calls in project.c.
3670 * src/Makefile.am, wscript:
3671 Added build.h to installed files lists.
3673 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3676 Updated manual to match build-menu capability.
3679 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3681 * src/build.c, src/build.h:
3682 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3683 Improved interpretation of run_in_base_dir from old [build-settings]
3684 Added spacing to build commands dialog
3686 Removed run in base path option from project dialog and added button
3687 to set working directories to d the same.
3690 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3693 Re-incorporated toolbar changes in trunk accidently excluded in merge
3695 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3698 Fixed substitute %f etc in commands
3699 Fixed potential leak in build_replace_placeholder
3700 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3701 Fixed build_replace_placeholder to not require document.
3703 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3705 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3706 Fixed crash and lots of warnings, deleted some commented out code.
3707 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3708 Removed make command from preferences and associated code
3710 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3712 * src/build.c, src/build.h:
3713 Incorporated patch for working directory field (thanks Thomas)
3714 Removed run_in_base_dir option and associated code that it replaces
3715 Improved handling of old config files and mapping to new ones.
3717 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3719 * src/build.h, src/build.c:
3720 Changed to itterate over entries in build commands dialog to allow
3721 additional fields to be added
3722 Implement support for multiple run commands
3723 * data/filetypes.latex:
3724 Implement configured commands and labels for latex.
3727 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3729 * src/build.h, src/build.c:
3730 added dialog support for error regular expressions from multiple
3731 sources and storing and loading them fixed some typos and memory
3733 * src/filetypes.c, src/filetypes.h, project.c:
3734 added support for using error regexes from multiple sources
3737 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3739 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3741 Removal of build menu item source made redundant by the following fix
3743 Corrected priority oreder and loading of filetype dependent build
3744 menu items saved in the project file. Added print routine for
3745 debugging command sources and priorities set compile symbol
3746 PRINTBUILDCMDS true to enable
3748 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3751 fixed problem loading old format filetype files, some formatting
3752 fixes fixed saving new format files
3753 added operation for clear button on build commands dialog
3755 fixed loading and saving filetype files
3758 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3760 Configurable Build Menu Changes
3762 * doc/geany.html, doc/geany.txt:
3763 Updated build menu section to new functionality
3764 * src/build.h, src/build.c:
3765 Largly re-written, configurability added, Latex code removed
3766 * src/filetypes.h, src/filetypes.c:
3767 Filetype structure updated to add new command pointers, configuration
3768 load and store changed
3769 * src/keybindings.h, src/keybindings.c:
3770 Changed to address new command storage structure.
3772 Changed to load/store new configuration.
3774 Minor change to initialisation order.
3776 Changed to address new menu item storage structure.
3777 * src/project.h, src/project.c:
3778 Changed to load/store the new configuration info.
3780 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3782 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3783 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3784 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3785 plugins/splitwindow.c:
3786 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3787 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3788 the ABI when adding fields to them.
3789 Add plugin_set_key_group() for plugins to dynamically set a
3790 keybinding group (e.g. for the Lua script plugin). Used in Split
3791 Window plugin as an example.
3792 Improve keybinding docs a little.
3795 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3797 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3798 Add geanyfunctions.h to API docs.
3799 * plugins/splitwindow.c:
3800 Set the cursor color for the split window.
3803 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3806 Fix 'Open Selected File' for unsaved new documents.
3807 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3808 Fix updating main menu accelerators after changing keybindings
3809 (thanks to Lex Trotman).
3811 Fix using 'Insert date' keybinding when a custom date string has
3813 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3814 Merge Plugin and GeanyPluginPrivate structs.
3817 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3819 * src/keybindings.c:
3820 Fix non-working Home and End keys on numpads.
3823 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3825 * doc/geany.txt, doc/geany.html, NEWS:
3826 Add 'Scope autocompletion' section.
3827 Add 'Tools menu items' section to explain configuration files
3828 submenu, reload configuration item.
3829 Minor updates/fixes.
3832 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3835 Add a translation hint to an ambiguous format string.
3837 Add missing include path to fix 'make distcheck'.
3839 Fix opening of local files in the browser on Windows.
3840 * New release: Geany 0.18 "Kaine".
3841 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3842 src/geany.h, doc/geany.html, doc/geany.txt:
3843 Post-release version bump.
3846 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3849 Temporarily disable reshowing calltips when the autocompletion
3850 list was closed implicitly by not choosing an item to fix
3851 problems with wrongly displayed calltips.
3853 Add missing 'coding' cookie to the Python filetype template.
3854 * doc/images/pref_dialog_edit_completions.png,
3855 doc/images/pref_dialog_toolbar.png:
3856 Update images for Geany 0.18.
3859 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3862 Add command '--hackingdoc' to create the HTML form of the
3866 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3868 * po/pt_PT.po, po/LINGUAS:
3869 Added a first Portugese (Portugal) translation based on work done at
3870 launchpad by e.g. André Glória and Alexandre Jesus.
3871 * src/main.c: Fix a minor typo on --help call.
3874 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3876 * src/highlighting.c:
3877 Call get_keyfile_wordchars() in highlighting_init_styles().
3880 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3882 * data/filetypes.ada:
3884 * src/keybindings.c:
3885 Switching notebook tabs now works for the currently used notebook
3886 widget instead of always using the documents notebook.
3887 * src/document.c, src/document.h, src/documentprivate.h,
3889 Small corrections to some API docs.
3892 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3894 * src/build.c, src/win32.h, src/win32.c:
3895 Expand system environment variables (%variableName%) on Windows when
3896 running Build commands.
3899 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3901 * src/keybindings.c:
3902 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3903 future using an indent block is more useful e.g. for ChangeLog
3905 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3906 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3907 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3908 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3909 tagmanager/parsers.h, tagmanager/makefile.win32,
3910 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3911 Add Markdown filetype (patch by Jon Strait, thanks).
3912 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3913 Fix disconnecting plugin signal id when not using geany_object.
3915 Add filetype_make_title() instead of using:
3916 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3917 It also supports "%s file" strings.
3920 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3922 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3923 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3924 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3925 plugins/filebrowser.c:
3926 Add plugin_signal_connect() for connecting plugin signals at
3927 runtime and also for connecting to any GObject signal.
3928 Add 'Plugin Utility Functions' on main page.
3929 Add foreach_array() macro.
3930 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3931 src/document.c, src/editor.c:
3932 Rename 3 sci functions to sci_set_target_start(),
3933 sci_set_target_end(), sci_replace_target() to match the SCI_
3937 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3939 * wscript: Fix compiling error with waf.
3942 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3944 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3945 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3946 src/Makefile.am, wscript:
3947 Move plugin_* utility functions to pluginutils.c.
3948 Add pluginprivate.h.
3950 Fix reshowing calltip in the wrong document.
3953 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3955 * doc/geany.txt, doc/geany.html:
3956 Add some general information about auto-completion capabilities
3957 (patch by Lex Trotman, thanks).
3960 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3962 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3963 Added a first Slovenian translation. Thanks to Joze Klepec.
3966 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3968 * src/highlighting.c:
3969 Use full styleset_foo[_init] function name as argument to
3970 init_styleset_case() and styleset_case() macros so it's easier to
3971 understand the code.
3972 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3973 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3974 doc/geany.txt, doc/geany.html:
3975 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3976 Heavily based on a patch by Eugene Arshinov (thanks).
3977 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3978 editor_strip_line_trailing_spaces().
3981 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3984 Attempt to fix reshowing calltips after the autocompletion list
3986 Reshow calltips also when the autocompletion list was closed
3987 implicitly by not choosing an item.
3989 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3991 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3992 plugins/splitwindow.c:
3993 Change utils_str_remove_chars() to work in place; fix allocating on
3994 the stack (the string length could exhaust the stack size).
3995 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3996 src/printing.c, src/callbacks.c:
3997 Rename utils_str_replace() utils_str_replace_all(), setting a
3998 'gchar **haystack' argument instead of returning a new string.
4000 For the Tabs indent type, remove spaces when unindenting (only) if
4001 there are no tabs on the line.
4002 Group undo actions for (un)indenting of multiple lines.
4003 * src/document.c, src/editor.c:
4004 Fix scrolling horizontally after finding a search match with the
4005 search bar or Find Next/Previous which is off-screen.
4006 * src/keybindings.c:
4007 Fix GLib warning when pressing a key with no documents open.
4010 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4013 Start unifying usage of @a and @c markup elements in API docs,
4015 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
4016 Show/hide the toolbar without a restart when the setting in the
4017 preferences dialog is changed (closes #2824785).
4018 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
4019 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
4020 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
4022 Continue unifying usage of @a and @c markup elements in API docs.
4025 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4028 Remove relative/untidy path elements when creating new documents
4029 with a filename (e.g. from the command-line) (#2823998).
4032 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4035 Disable 'Recent Projects' menu item if the list of recent projects
4038 Fix some harmless compiler warnings.
4039 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
4040 src/plugins.c, src/utils.c, src/utils.h:
4041 Move utils_str_remove_chars() from the plugins/splitwindow.c to
4042 src/utils.c and add it to the plugin API.
4043 Make utils_str_remove_chars() work on a new copy of the input string
4044 instead of modifying it in place.
4046 Remove underscores from the toolbar items labels.
4049 * plugins/splitwindow.c:
4050 Fix broken 'Show the current document' tool button icon.
4053 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4055 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
4057 Add stash_group_add_widget_property() so we can save any widget's
4058 read/write properties.
4059 Use Stash for ui_prefs.sidebar_page setting.
4060 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
4061 Make foreach_ptr_array() use an integer argument for its
4062 implementation, as this is more useful potentially than a gpointer*
4063 argument, and more straightforward.
4064 Add foreach_c_array(), foreach_ptr_array() to API.
4065 * src/utils.c, src/utils.h, src/document.c:
4066 Remove relative/untidy path elements when opening documents (closes
4069 Fix showing project name for documents list files with no
4070 subdirectory (oops).
4072 Fix checking whether to overwrite when using the Rename button in
4073 the 'Save As' dialog.
4076 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4079 Don't use the main window as parent for dialog boxes if it is not
4081 Set titles for message dialogs.
4084 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4087 Display item labels instead of raw names in the toolbar editor.
4088 Apply changes in the toolbar editor instantly.
4089 Show icons in the toolbar editor.
4090 Speed up toolbar editor dialog creation.
4092 Improve inserting of comment templates like File header or licence
4093 notices. The comment information are now read from the filetype
4094 configuration files.
4096 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4099 Enable file monitoring for files which are written to disk by Geany
4102 Fix broken special case handling when detecting filetypes from a
4103 shebang or other special file headers.
4106 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4109 Make Mark All keybinding clear search highlighting when there's no
4112 Fix wrong match length when using Mark with regex.
4113 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4114 src/keyfile.c, src/main.c:
4115 Add 'Show Paths' documents list popup item.
4116 Add "load_settings" core-only signal emitted just after loading
4117 main keyfile settings; useful to delay building UI elements until
4118 settings have been read.
4120 Fix GTK warning when right-clicking on default tag tree.
4121 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4122 Add treeviews_finalize().
4123 Remove tv.popup_openfiles field.
4126 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4128 * src/highlighting.c:
4129 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4132 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4135 Quote the uri before passing it to the browser when opening a
4136 website (closes #2818635).
4138 Fix broken 'builtin' Run command for HTML files on Windows.
4141 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4144 Properly fix wrong brace highlighting of non-brace character.
4146 Allow autocompletion in Perl double-quoted strings.
4147 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4148 Don't autocomplete in Perl q() strings.
4149 * data/filetypes.common:
4150 Make Mark highlighting brighter.
4151 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4152 Use hyphen for auto-feature terms.
4153 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4154 src/document.h, src/main.c:
4155 Add documents_foreach() API macro that skips invalid docs.
4156 Make filetypes[], documents[] part of the API again.
4157 Add GEANY() macro for sharing geany symbols between API and core.
4158 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4159 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4160 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4161 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4162 plugins/classbuilder.c, wscript:
4163 Add geanyplugin.h single include for plugin API; update all core
4165 Add sci_set_font() to API.
4166 Update plugin howto.
4167 * src/filetypes.c, src/filetypes.h:
4168 Remove filetypes_foreach_named().
4171 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4173 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4174 src/document.h, src/main.c, THANKS:
4175 Apply patch from Eugene Arshinov to reload color schemes via menu
4178 Reload filetypes.common after saving it.
4180 Improve wrong brace highlighting of non-brace character.
4183 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4186 Delay highlighting matching braces by 100ms, which speeds up
4187 scrolling with the arrow keys.
4188 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4189 Add 'Mark All' keybinding.
4190 * tagmanager/diff.c:
4191 Show relative paths in diff filename tags.
4194 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4196 * src/highlighting.c:
4197 Fix setting keyword list 'classes' for Haxe
4198 (pointed out by Andreas Mokros, thanks).
4201 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4203 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4204 doc/geany.txt, doc/geany.html, geany.glade:
4205 Add 'Drop rest of word on completion' pref.
4206 * src/editor.c, doc/geany.txt, doc/geany.html:
4207 If autocompletion is already visible when forcing completion, show
4208 document word completion instead of tag completion.
4209 Docs: Minor edits of related prefs items.
4210 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4211 Add warning when printing and editor font is not monospaced.
4212 Fix using GtkMessageType instead of gint param for
4213 dialogs_show_msgbox*().
4214 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4216 Support 'tab indents, space aligns' style for auto-indentation
4220 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4222 * src/document.c, src/documentprivate.h:
4223 Rework the GIO based file monitoring code. Now it is used only
4224 to indicate a possible change of the file, the real check if the
4225 file has been changed is performed by stat().
4226 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4227 Add style 'line_height' to increase the line height.
4228 Add style 'marker_mark' and change style 'marker_search' to
4229 define the style used for marked search results.
4230 * doc/geany.txt, doc/geany.html:
4231 Add the new 'Autocomplete all words in document' pref to the docs.
4234 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4236 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4237 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4238 Add 'Autocomplete all words in document' pref.
4239 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4241 Fix limiting number of word completion entries too much.
4242 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4243 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4244 Show autocompletion icons for tag symbols - for now only tags with
4245 an arglist have the 'function/method' icon, all others have the
4247 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4249 * src/highlighting.c:
4250 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4254 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4256 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4257 Fix removing underscores in translated string using no_underscore()
4259 Set a tooltip for the Split Window plugin's Show Current tool button.
4260 Add utils_strdupa() macro.
4261 * src/interface.c, geany.glade:
4262 Use stock Select All icon now we have >= GTK 2.8.
4264 Fix using project name for document items that start with the
4265 project base path but don't match it e.g. ".../geany-plugins"
4266 instead of ".../geany" when project name is 'geany'.
4269 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4272 Fix warnings when the toolbar does not contain the Run button.
4274 Fix wrong parsing of complex expressions in the Lua parser.
4275 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4277 Remove unnecessary enums.
4278 * scintilla/*, scintilla/include/*, src/plugindata.h:
4279 Update Scintilla to version 1.79.
4280 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4282 Use the new Scintilla struct names prefixed with 'Sci_'.
4283 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4285 Add second argument to the 'line_wrap_indent' styling setting to
4286 control the new Scintilla indentation mode for wrapped lines.
4288 Properly close the toolbar editor on delete-events.
4289 Fix warnings and possible crashes in the toolbar editor when the list
4290 of displayed toolbar items is empty.
4291 * data/filetypes.tcl:
4292 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4294 Make the plugin manager dialog a bit bigger.
4297 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4299 * doc/geany.html, doc/geany.txt:
4300 Fix wrong default values for the 'Show Calltip' keybinding.
4303 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4305 * data/filetypes.tcl, src/symbols.c:
4306 Fix duplicate "context_action_cmd" key.
4307 Use different icons for "Methods" and "Procedures" in the symbol
4310 Fix a small memory leak.
4311 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4312 src/keybindings.h, src/plugindata.h:
4313 Make the Scintilla keybindings 'Delete to end of line' and
4314 'Go to end of display line' configurable.
4316 Fix a typo (closes #2813624).
4319 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4321 * tagmanager/tcl.c, src/symbol.c:
4322 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4323 methods and namespaces).
4324 Patch by Witek Mozga, thanks.
4327 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4329 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4330 src/toolbar.c, src/toolbar.h:
4331 Remove ui_toolbar.xml Configuration Files menu item.
4332 Add a real toolbar editor dialog.
4333 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4335 Add a button in the preferences dialog and an item for the toolbar
4336 popup menu to run the toolbar editor dialog.
4339 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4342 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4343 Fix using locale encoding for default Save As dialog path.
4345 Beep when trying to activate the '...' autocompletion item.
4346 Limit (forced) document word completion to
4347 autocompletion_max_entries.
4348 Beep if no completions are shown when forcing autocompletion.
4351 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4353 * data/ui_toolbar.xml, src/toolbar.c:
4354 Add 'Build' toolbar button to the default layout.
4357 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4360 If forcing autocompletion and there's nothing else to show, complete
4361 from words in the current document (using code from Enrico's
4362 'AutoComplete Test' plugin).
4365 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4368 Add debug message if plugin has not set a name for its keybinding
4370 * data/filetype_extensions.conf:
4371 Add *.m4 for shell scripts.
4374 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4376 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4377 data/filetypes.common, TODO:
4378 Make filetypes.common named styles use the "default" named style for
4379 all missing style fields.
4380 Set named styles to usually leave the background style empty. This
4381 currently allows C-like filetypes to have a common default
4383 Allow hard-coded colors to use -1 for the default color.
4384 Add some highlighting style examples to the manual.
4387 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4390 Create initial template files with proper platform-specific line
4394 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4396 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4397 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4398 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4399 src/ui_utils.c, src/ui_utils.h:
4400 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4402 Refactor some related code.
4403 * tagmanager/conf.c:
4404 Strip trailing spaces from "Key" tags.
4406 Quote the full filename to the Geany executable when creating the
4407 "Open with Geany" context menu item.
4408 * plugins/splitwindow.c:
4409 Avoid using deprecated GTK API.
4410 * src/log.c, src/main.c:
4411 Properly clean up the logging mechanism.
4413 Fix LaTeX view commands on Windows (part of #2807688).
4415 Add a popup menu for the keybinding list in the preferences dialog
4416 to easily expand and collapse all groups.
4417 Refactor the keybindings code for the preferences dialog, prefix all
4419 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4420 Init stock items before creating the toolbar (closes #2809324).
4422 Generate the geany.pc file also on Windows.
4424 Invert the logic to determine which Save All we want to use:
4425 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4426 like icon for any other themes.
4429 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4431 * src/highlighting.c, README.Packagers, HACKING:
4432 Remove gsd_* default styles, use named styles instead.
4433 Note: this relies on filetypes.common being installed.
4434 Add load_style_entries(), which makes style initialization
4435 simpler, used in styleset_c_like_init().
4438 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4441 Prevent possible crash on Windows when not setting an initial
4442 directory for native File Open/Save dialogs.
4443 * data/filetypes.xml, src/highlighting.c:
4444 Add style 'jscript_regex' for filetype HTML
4445 (patch by Chris Macksey, thanks).
4448 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4450 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4451 Make GeanyDocument::file_type always be non-NULL, even for a new
4452 document with no filetype set.
4454 Only autocomplete scope for scopes matching the current filetype's
4456 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4457 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4458 data/filetypes.actionscript, data/filetypes.cs,
4459 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4460 data/filetypes.javascript, HACKING:
4461 Make C++, D lexer filetypes use named styles (apart from uuid,
4462 verbatim, regex styles).
4465 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4468 Don't explicitly change the current directory of the Save As dialog
4469 so that it uses the last used directory.
4472 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4474 * src/encodings.c, src/encodings.h, src/plugindata.h:
4475 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4478 When completing from the macro list, put the cursor after
4482 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4484 * tagmanager/pascal.c:
4485 Fix type definitions being parsed as functions.
4487 Don't autocomplete in unterminated strings as well.
4488 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4489 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4490 Remove data_ptr argument to foreach_[s]list() macros, as using
4491 node->data is enough sometimes; this makes the macro a bit more
4493 Add foreach_[s]list() macros to the plugin API docs.
4496 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4498 * scintilla/LexPascal.cxx:
4499 Backport fix from Scintilla CVS:
4500 Pascal lexer hanging on file that starts with 'interface' after
4504 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4507 Update Waf to 1.5.7.
4509 Overwrite installation prefix on Windows only if it wasn't
4510 specified explicitly.
4513 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4516 Display calltips for Pascal symbols in the Pascal way (#2803945).
4517 * tagmanager/pascal.c:
4518 Fix wrongly set return values for procedures (closes #2803945).
4519 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4520 tagmanager/include/tm_source_file.h,
4521 tagmanager/include/tm_workspace.h:
4522 Fix doxygen warnings.
4525 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4527 * src/editor.c, tagmanager/include/tm_workspace.h,
4528 tagmanager/tm_workspace.c, TODO:
4529 Autocomplete scoped fields like struct members when typing '.' (and
4530 also '->' or '::' in C/C++).
4531 Save all tag types for C/C++ when generating a global tags file, so
4532 we can use autocompletion for structs also.
4533 Merge tm_workspace_find_scope_members(),
4534 tm_workspace_find_namespace_members() (currently not built) from
4535 Anjuta 2.24.1 tagmanager.
4538 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4540 * tagmanager/pascal.c:
4541 Parse Pascal calltips (closes #2802640).
4544 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4546 * src/filetypes.c, src/ui_utils.c:
4547 Add filetypes.common Configuration Files menu item.
4550 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4553 Add backslash to the wordchars on Windows when using
4554 'Open Selected File'.
4556 Add support (configure, build and install) for building on Windows
4557 and cross-compiling for Windows using the Waf build system.
4560 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4563 Set status bar text instead of showing a dialog when saving
4564 ui_toolbar.xml because the user might save several times.
4566 Fix redrawing due to colourising just after the document is first
4567 drawn. Now colourising should happen before the first draw.
4568 * src/utils.c, src/highlighting.c, data/filetypes.common:
4569 Fix segfault on parsing a filetypes.* style definition that has < 4
4571 Allow style definitions to have missing fields to use the default
4575 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4577 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4578 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4579 * plugins/classbuilder.c:
4580 Fix wrongly created header guards when the class filenames contains
4581 dashes (patch by PCMan, thanks).
4582 * data/filetypes.matlab:
4583 Add build_settings section to allow executing Matlab scripts.
4585 When closing a document, mark it as invalid before removing it from
4586 the documents notebook (this fixes wrong Save All button state when
4587 closing an unsaved document because the "switch-page" signal handler
4588 was using old data).
4591 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4593 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4594 Support toggling bold/italic when using a named style, e.g.:
4595 commentdockeyword=commentdoc,bold,italic
4596 Improve named style docs.
4599 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4601 * src/build.c, src/editor.c:
4602 Fix crashes when parsing the output of a compiler which reports
4606 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4608 * src/highlighting.c:
4609 Support named styles also for filetypes.common [styling] entries.
4610 * doc/geany.txt, doc/geany.html, HACKING:
4611 Update docs for named styles in filetypes.* files.
4613 Fix grouping symbol list children when parent name has "." character
4614 in for reStructuredText and Conf filetypes.
4615 * tagmanager/python.c:
4616 Fix grouping functions/classes under a nested function.
4619 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4622 Adjust icon paths (patch by Dominic Hopf, thanks).
4623 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4624 Add 'Replace' toolbar button (closes #2798225).
4627 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4629 * src/utils.c, src/highlighting.c, TODO:
4630 Implement named styles support for filetypes.* using a
4631 filetypes.common [named_styles] section e.g.:
4632 foo=0xc00000;0xffffff;false;true
4634 These can be used in e.g. filetypes.c as:
4638 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4641 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4644 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4646 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4647 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4650 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4653 Remove quote_executable() as it is not used anymore.
4654 When creating the geany_run_script.bat use the "%0" variable
4655 expansion and quote it for the "del" command (closes #2797172).
4657 On Windows, fallback to the literal build command line if searching
4658 for the command in the system path failed (related to #2795923).
4659 Properly terminate the resulting strings when reading the stdout
4660 and stderr of any spawned commands on Windows.
4663 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4666 Use the wide character versions of native Windows File dialogs.
4668 Fix wrong initialisation of the default project path button callback
4669 in the preferences dialog.
4670 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4671 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4672 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4673 icons/Makefile.am, icons/geany.ico, icons/scalable,
4674 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4676 Move the icons geany.png and geany.ico into the icons directory.
4677 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4678 Drop the pixmaps directory.
4681 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4683 * src/keybindings.c:
4684 Improve MRU document switching so there are no duplicates in the
4685 list and documents switched to whilst the dialog is open are
4686 ignored. Also beep when cycling through to the first document in the
4690 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4693 Fix broken 'Cancel' button in the Save As dialog.
4696 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4699 Fix multiline indent when selection covers text on the last line.
4701 Show current document in bold in tab popup menu.
4702 * src/editor.c, tagmanager/python.c, TODO:
4703 Parse Python calltips.
4706 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4708 * src/symbols.c, tagmanager/python.c:
4709 Parse Python import statements to get symbol completion for the
4710 imported module names.
4711 * src/editor.c, src/editor.h:
4712 Make some only locally used functions static.
4713 Fix wrong sanity check.
4715 Fix quoting the build command string on Windows (closes #2791769).
4716 This broke when we made build commands run synchronously on Windows,
4717 now we don't need to special quote the commands anymore.
4720 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4723 Drop rest of word to the right of cursor when autocompleting (do we
4724 need a pref for this?).
4727 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4729 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4730 Add sci_set_selection().
4731 * doc/geany.txt, doc/geany.html:
4732 Update manual for MRU switching.
4733 * src/callbacks.c, src/editor.c, src/editor.h:
4734 Make indenting with the Tabs indent type preserve spaces on the line,
4735 so it works for the 'tab indents, space aligns' formatting style.
4738 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4740 * tagmanager/python.c:
4741 Fix missing symbols for variables when an equal sign is used
4742 in a comment on the same line as the variable declaration.
4743 Backport change from CTags SVN to keep the parser more in sync:
4744 Add support for Cython constructs to the Python parser.
4746 Remember the additional Find in Files search flags at startup.
4748 Don't close the Save As dialog when saving the file didn't succeed.
4751 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4754 Remember scribble cursor position.
4755 * src/keybindings.c, TODO:
4756 Implement Most-Recently-Used document switching when pressing
4757 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4760 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4762 * data/latex.tags: Added some more commands from unit.sty and
4766 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4768 * src/symbols.c, doc/geany.txt, doc/geany.html,
4769 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4770 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4771 tagmanager/Makefile.am, wscript:
4772 Merge unstable branch:
4773 Add reStructuredText scope information for tags (for symbol list
4775 Read custom system global tags files from $prefix/share/geany/tags;
4777 Show the number of tags in a user global tags file (instead of the
4778 running total) in the debug message.
4779 Also print debug messages when loading a tag file manually or for
4780 default global tags files e.g. python.tags.
4782 Move NestingLevel tags code into a separate file, add functions.
4784 Add 'Installation prefix' section instead of quoting '/usr/local'
4786 Update for custom system global tags files.
4789 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4791 * src/highlighting.c:
4792 Unset maybe previously keywords when setting up Scintilla for
4793 XML files. This fixed wrong highlighting after switching back to
4794 filetype XML from another one.
4796 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4797 is only used when explicitly requested.
4799 Remove unnecessary call to g_intern_string() to fix build with
4800 GLib 2.8 (closes #2790051).
4803 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4806 Make the clear icon of entry fields act on the release event, not
4807 on the press event like for other buttons.
4809 Refactor some multiple used code into get_multiline_comment_style().
4811 Create parent directories if necessary when checking for the
4812 configuration directory on startup (closes #2784577).
4815 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4817 * plugins/filebrowser.c:
4818 When a filter is set, apply it only to files, not directories and
4819 apply the filter to the UTF-8 name of the file as the filter string
4820 itself is also UTF-8.
4821 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4822 Add utils_color_invert() and use it in highlighting.c and printing.c.
4823 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4824 Backport change from Scintilla CVS:
4825 Change capitalisation of header file to suit cross-compilation on
4829 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4831 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4832 Update Scintilla to version 1.78.
4833 * src/editor.c, src/highlighting.c:
4834 Update Pascal styles as they changed in Scintilla.
4837 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4840 Ignore the invert syntax highlighting colours setting when printing
4841 to not print characters on a dark background (closes #2785244).
4842 * New release: Geany 0.17 "Wessex".
4843 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4844 src/geany.h, doc/geany.html, doc/geany.txt:
4845 Post-release version bump.
4848 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4850 * src/callbacks.c, src/callbacks.h, src/main.c:
4851 Update the View->Fullscreen menu item when fullscreen state is
4852 changed externally (e.g. by the window manager).
4854 Fix passing wrong pointer to the File Open dialog for the Run
4855 command in the Project Properties dialog.
4858 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4860 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4862 Remember the active sidebar page between sessions.
4864 Add a recent project item after creating a new project.
4865 * tagmanager/ruby.c:
4866 Fix wrong parsing of string literals (closes #2781264).
4868 Fix setting focus to the editor widget after changing the selection
4872 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4875 Prevent crashes when two or more top level items in the symbol
4876 list have the same name (closes #2778246).
4879 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4881 * src/keybindings.c:
4882 Manually show the main notebook tab bar menu when Shift-F10 is
4883 pressed. This broke when we disabled the default GTK tab bar menu.
4885 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4886 which was reloaded shortly before.
4888 When the editor menu is opened by the Menu key, use the text cursor
4889 position for retrieving the current word. This fixes disabled
4890 Go to Tag items in the menu (#2780044).
4892 Set the "ellipsize" property of GtkCellRendererText to automatically
4893 shorten the path and file names in the Documents list.
4894 * doc/geany.html, doc/geany.txt, src/build.h:
4895 Increase the amount of highlighted build error messages to 100.
4896 At least for LaTeX we need higher values as there is a lot of
4897 informative output before any errors are reported.
4898 * src/filebrowser.c:
4899 Use the startup path as the initial directory for the filebrowser
4900 plugin when no project and no files are opened
4901 (patch by Matias Gea, thanks; closes #2780521).
4904 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4906 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4907 src/utils.c, src/utils.h:
4908 Ellipsize tab labels and some status messages for very long
4909 filenames (closes #2777348).
4910 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4911 Add utils_str_middle_truncate() and
4912 document_get_basename_for_display() to the plugin API.
4913 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4914 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4915 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4917 Add a hidden preference 'use_safe_file_saving' to save files to disk
4918 by creating a temporary file first. This has serious side effects,
4919 please read the documentation before enabling this.
4921 Make build commands on Windows run synchronously to avoid problems
4922 with reading build commands' output.
4923 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4924 Limit the amount of highlighted build error messages in the
4925 Compiler window to 50 for performance reasons.
4928 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4930 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4932 Replace our own GEANY_KEYS_MODIFIER_MASK by
4933 gtk_accelerator_get_default_mod_mask() which gives the same result.
4934 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4935 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4936 Add a trivial symbol parser for NSIS files.
4939 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4942 Hide the extra file open dialog options in an expander to make the
4943 dialog more compact by default and to provide more space for the
4945 Remove the filename field as it is also provided by GTK itself with
4946 more features like auto-completion.
4947 Watch the 'show-hidden' property of the file chooser widget using
4948 GObject's "notify" signal which gives accurate results and remove
4949 the hack using the "selection-changed" signal.
4952 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4954 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4955 Prevent double execution of radio menu item "activate" or "toggled"
4957 Move 'Set Encoding' callback function into encodings.c.
4960 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4963 Add some missing 'void's in function definitions.
4964 If the project base path is './', just use the path of the project
4965 config file instead of appending './'.
4966 * src/treeviews.c, src/project.c:
4967 When a project is loaded, replace the project base path with the
4968 project name in the Documents sidebar for parent items
4972 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4974 * src/keyfile.c, src/keyfile.h, src/project.c:
4975 Fix duplicating the recent files and projects lists when closing
4977 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4978 src/editor.c, src/encodings.c, src/filetypes.c,
4979 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4980 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4981 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4982 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4983 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4984 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4985 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4987 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4988 sense to keep the code more readable.
4991 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4994 When updating global type definitions for opened documents, take
4995 also C++ namespace symbols into account and don't ignore symbols
4996 which are defined inside a scope.
4999 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5002 Don't show 'plugin is not binary compatible' messages on the status
5003 bar, only the status window.
5006 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5009 When opening files from a remote instance on X11, set the window
5010 server time to encourage window managers to pop up the main window
5011 (related to #2735467 and #2276179).
5013 When finished sending filenames to a remote instance, notify the
5014 environment that we finished starting up.
5017 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5019 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
5020 Sort Configuration Files menu.
5021 Add ui_menu_sort_by_label().
5022 Add foreach_list() macro.
5027 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5030 Fix setting a wrong default window size when starting without an
5031 existing configuration.
5032 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
5033 Make editor_highlight_braces() static.
5034 Remove unused wrapper functions.
5035 * src/editor.c, src/symbols.c, src/symbols.h:
5036 Prevent showing an empty macro list.
5037 Show only macros of the same filetype instead of all macros of all
5040 Don't add opened project files to the GtkRecentManager.
5043 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5046 Add Configuration Files item for snippets.conf.
5047 * src/highlighting.c, src/symbols.c:
5048 Fix 2 old uses of filetype IDs.
5051 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5053 * src/interface.c, src/printing.c, geany.glade:
5054 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
5057 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5060 Add sanity checks in ui_lookup_widget() just to be safe.
5061 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
5062 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
5063 src/project.h, src/ui_utils.c, src/ui_utils.h:
5064 Add "Recent Projects" menu to the Project menu
5065 (#2728630, patch by Elias Pschernig, thanks).
5066 * doc/geany.txt, doc/geany.html:
5067 Describe how to build Geany using the Waf build system.
5068 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5069 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
5070 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5071 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
5072 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
5073 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
5074 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
5075 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
5076 src/utils.c, src/utils.h, src/vte.c:
5077 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
5078 performance when building the code with gcc.
5079 * src/highlighting.c:
5080 Fix typo in the G_LIKELY checks, introduced in last commit.
5081 Fix the size of the styles array.
5083 Show a message dialog when renaming a file fails.
5086 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5089 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
5090 (as we did for all other files in SVN r3382).
5093 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5095 * src/filetypes.c, doc/geany.txt:
5096 Move ActionScript to the Script group.
5098 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
5099 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
5100 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
5101 plugins/htmlchars.c:
5102 Merge reorder-filetypes branch:
5103 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
5104 append randomly without breaking the ABI).
5105 Make None filetype name = title = _("None").
5106 Add foreach_slist() macro.
5107 Add filetypes_by_title list to GeanyData for plugin API access
5108 - a list of filetype pointers, which includes the None filetype
5109 first. This list stays constant by the time plugins are initialized,
5110 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5111 index the sorted list.
5114 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5116 * doc/geany.txt, doc/geany.html, src/main.c:
5117 Add widget names for the menubar and toolbar.
5119 When hiding the messages window, set the input focus back to the
5120 editor widget (part of #1910393).
5123 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5125 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5126 Backport recent changes from Scintilla CVS to add partial support
5127 for RFC2822 styled text using the Properties lexer.
5128 Ignore leading whitespace for config files and RFC2822 text.
5129 * data/filetypes.actionscript:
5130 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5131 * THANKS, src/treeviews.c:
5132 Display file/directory icons in the Documents sidebar
5133 (patch by Simon Treny, thanks).
5136 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5138 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5139 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5140 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5141 Add an option to allow appending the toolbar to the main menu bar
5142 to save some vertical space.
5143 Allow setting toolbar icon size to very small (menu icon size).
5146 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5148 * src/keyfile.c, src/utils.c, src/utils.h:
5149 Add utils_path_skip_root(), a relative path safe variant of
5150 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5151 * src/keyfile.c, src/main.c:
5152 Allow negative window coordinates when saving and restoring the
5153 position of the main window.
5154 Restore the main window position and size *after* the window has
5155 been realised to get it positioned accordingly
5156 (this affects at least Windows).
5159 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5161 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5162 Use g_win32_get_package_installation_directory_of_module() on Windows
5163 with newer GLib versions instead of deprecated API.
5164 * src/keybindings.c:
5165 Don't manage the last used documents list when quitting to prevent
5166 errors by accessing invalid memory (may close #2533990).
5169 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5172 Delete the geany_run_script.sh immediately after execution
5173 to prevent leaking old copies when the script was quit unexpectedly
5174 (closes #2710482, patch by Martin Olsson, thanks).
5176 Check whether skipping the root element of a document's filename
5177 succeeded and use the filename itself if not (e.g. on relative
5178 filenames, #2702844).
5179 Use the locale encoded filename when saving session files.
5181 Re-set the quitting status after all documents have been closed on
5185 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5187 * plugins/htmlchars.c:
5188 Remove usage of deprecated sci_get_selected_text() from plugin.
5191 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5194 Delay disk file checks when switching between documents a little
5195 bit to avoid fast, unintentional page switching in some cases.
5196 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5197 src/sciwrappers.c, src/sciwrappers.h:
5198 Deprecate sci_get_text(), sci_get_selected_text() and
5199 sci_get_text_range().
5200 Add sci_get_contents(), sci_get_contents_range() and
5201 sci_get_selection_contents() as replacement functions to provide
5202 an easier and cleaner API (initial patch by Frank).
5205 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5208 Fix wrong parsing of CSS tags when the definition block starts on
5209 a new line (reported by Dominic Hopf, thanks).
5212 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5214 * plugins/htmlchars.c:
5215 Extend plugin by feature to bulk replace and replace on input for
5216 special characters to their HTML entities.
5219 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5222 Update build menu items after changing anything in the
5223 'Set Includes and Arguments' dialog.
5224 Disable Compile/Run buttons/menu items when Compile/Run commands are
5226 Reset current build directory to the base directory after reading a
5227 "Leaving directory" message when parsing Make output
5228 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5230 Fix wrong display of the filename in the tab bar menu for new files.
5232 Set the initial directory for the Save As dialog only once on
5234 Add a shortcut of the project's base directory to the
5235 File Open/Save As dialogs when a project is open for faster access.
5236 * src/splitwindow.c:
5237 Add keybindings for the split actions.
5240 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5243 When using Find All in the Find dialog (in Session and Document),
5244 display the right amount of matches.
5245 Fix the display of the matches once per line (I broke the original
5248 Fix wrong directory selection behaviour in all Open Folder dialogs
5249 (closes #2688020, patch by Marcel Stimberg, thanks).
5251 Don't present the main window of a running instance when starting
5252 a second instance separately.
5255 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5258 Reduce default file permissions on the Unix Domain socket file
5259 (reported by Jörg Sommer, thanks).
5262 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5264 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5265 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5267 Add an option to set an additional plugin lookup path.
5269 When using Find All in the Find dialog, display matches only once
5270 per line in the messages window (patch by Bert Vermeulen, thanks).
5273 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5275 * data/filetype_extensions.conf, data/filetypes.actionscript,
5276 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5277 src/highlighting.c, src/plugindata.h, src/symbols.c,
5278 tagmanager/Makefile.am, tagmanager/actionscript.c,
5279 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5280 Add filetype ActionScript (patch by Chris Macksey, thanks).
5281 Update type keywords only for real C-like languages.
5282 Fix wrong sorting of Assembler and Ada filetypes.
5283 * plugins/classbuilder.c:
5284 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5285 Other minor cleanups.
5288 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5291 Don't use menu item images for the tab bar menu to save some
5293 * data/filetypes.fortran, tagmanager/fortran.c:
5294 Add keyword 'extends' and fix Fortran parser to support the
5295 'extends' keyword (closes #2654492).
5296 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5297 src/search.c, src/toolbar.c:
5301 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5303 * src/about.c, THANKS:
5304 Added Jari Rahkonen to list of Finnish translators.
5307 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5310 Adjust minimum required GTK version.
5311 * src/Makefile.am, wscript:
5312 Add main.h to the list of installed header files.
5313 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5314 src/notebook.c, src/ui_utils.c:
5315 Remove GeanyDocumentPrivate::tabmenu_label.
5316 Disable the default tab bar menu for the main notebook widget and
5317 use a custom menu instead which lists all open files as usual plus
5318 'Close Other Documents' and 'Close All' menu items.
5321 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5323 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5324 Move ui_set_search_entry_background() into ui_utils.c.
5325 Change the background colour of the search entries in the Find
5326 and Replace dialogs according to the search results like in the
5327 toolbar search field.
5328 Add images to the 'Replace' and 'Replace and Find' buttons in the
5330 Minor cleanups in search.c.
5331 * tagmanager/tm_source_file.c:
5332 Update source files upon creation.
5334 Update C tags for glibc 2.9.
5335 * src/callbacks.c, src/toolbar.c:
5336 Fix broken non-incremental search with the toolbar search entry when
5337 pressing Enter (closes #2638180).
5338 * plugins/splitwindow.c:
5339 Fix possible crash on non-32-bit systems (patch by
5340 Wolfgang Ocker, thanks).
5342 Update the Packager tag due to Dominic's various contributions.
5343 Update description and feature list.
5344 Change Source tag to the gzip'ed tarball to be in sync with the
5345 Makefile target (thanks to Wolfgang Ocker for reporting).
5348 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5350 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5351 Removed deprecated plugin VC Diff
5354 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5357 Fix wrong Fortran 90 comment characters when inserting templates.
5358 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5359 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5360 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5362 Add 'Send Selection to Terminal' command to the Edit->Format menu
5363 (initial patch by David Gleich, thanks).
5364 * geany.glade, src/interface.c:
5365 Fix mnemonic for the Edit->Preferences menu item.
5368 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5370 * configure.in, plugins/Makefile.am:
5371 Enable socket support when cross-compiling.
5372 Enable plugin compilation when cross-compiling.
5374 Fix missing NULL checks when reading the colour value of compiler
5376 * src/main.c, src/win32.c, src/win32.h:
5377 On Windows, change the working directory to the Geany installation
5378 path at startup to avoid unwanted directory locking(closes #2626124).
5380 Fix broken selection of "Document->Set Encoding" menu items.
5381 * src/document.c, tagmanager/include/tm_source_file.h,
5382 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5383 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5384 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5385 Don't let the tagmanager automatically reparse files if they
5386 seem to be changed on disk (affects all files in the current session,
5387 not the current one). This should speed up file saving a little bit,
5388 especially with remote files.
5389 Remove now unnecessary calls to tm_workspace_update().
5391 Allow an empty value for the date format in the print settings to
5392 omit the date/time string in the print header.
5395 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5397 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5401 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5404 Add missing header include (closes #2615808).
5407 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5410 Fix a possible crash when comparing symbol names
5411 (could be related to Ubuntu bug #147151).
5412 Fix broken symbol list tooltips when tag names contain ampersands.
5415 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5417 * plugins/makefile.win32:
5418 Don't build Split Window plugin on Windows (doesn't work).
5421 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5423 * ChangeLog, Makefile.am: Rotate ChangeLog.
5424 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5425 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5426 Post-release version bump.
5429 *** See ChangeLog.pre-0-17 for earlier changes ***