1 2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/build.c, doc/geany.txt, doc/geany.html:
4 Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
6 * doc/geany.txt, doc/geany.html:
7 Use 'Filetype build commands' and 'Independent build commands'.
8 Fix saying project *independent* execute can only be set by hand.
11 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
13 * src/keybindings.c, src/editor.c, src/editor.h:
14 Make Reflow Lines/Block command use the current indented block, not
15 the whole paragraph, which could have mixed indentation.
16 Fix memory leak and off-by-one bug on first line when using Select
18 * src/utils.c, src/highlighting.c, src/highlighting.h,
19 src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
20 plugins/geanyfunctions.h:
21 Add API functions (patch by Eugene Arshinov, thanks):
22 Move editor.c: is_{string,comment,code}_style() functions to
23 highlighting.c, add to API.
24 Add editor_find_snippet(), editor_insert_snippet(),
25 utils_find_open_xml_tag() to API.
28 2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
30 * src/editor.c, doc/geany.txt, doc/geany.html:
31 Don't use XML tag auto-indentation when '</' is to the right of the
32 cursor; allow auto-indentation when XML tag auto-closing is also
34 * doc/geany.txt, doc/geany.html:
35 Rename 'Format' section 'Filetype configuration'.
38 2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
41 Update Waf to current SVN version.
44 2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
47 Update Waf to version 1.6.1.
48 Update wscript for new Waf version, make it Python 3 compatible.
51 2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
54 Display better error messages when saving a document fails (patch by
55 Dimitar Zhekov, thanks).
57 Fix wrong snippet indentation when original cursor line has
58 non-indentation whitespace (patch by david, thanks).
59 * doc/geany.txt, doc/geany.html, data/filetypes.php,
60 data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
61 Enable XML tag autoindentation for PHP, Docbook and add docs for
62 this setting (patch by Eugene Arshinov, thanks).
65 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
67 * src/templates.c, src/document.c:
68 Use LF line endings for templates internally instead of default
69 pref because the default can change. This fixes missing line
70 endings sometimes when changing default setting.
72 Fix not reporting an error message when saving a document fails.
73 Check result of fclose().
74 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
75 data/filetypes.xml, data/filetypes.html:
76 Add xml_indent_tags filetype setting for documents using the
77 HTML/XML lexers (patch by Eugene Arshinov, thanks).
79 Set errno to 0 before doing disk I/O to prevent confusing error
80 messages on save failure.
83 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
85 * src/templates.c, src/filetypes.c:
86 Save build commands for filetype None (patch by Lex, thanks).
87 Make filetypes_get_conf_extension() return "common" for filetype
90 Convert line endings for file templates.
91 Fix line endings when using file header template in a file template
93 * src/utils.c, src/utils.h:
94 Make utils_ensure_same_eol_characters() convert all wrong line
95 endings to the desired one, not just the most common one.
98 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
101 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
103 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
104 Restore top-level editor popup item 'Find Document Usage'.
105 * src/interface.c, src/ui_utils.c, geany.glade:
106 Remove duplicates in 'Insert Comments' editor popup menu; rename
108 Separate main menu insertion comments depending on number of times
110 * data/filetypes.*, data/colorschemes/alt.conf:
111 Rename word/word2 named styles to keyword/keyword2.
112 * doc/geany.txt, doc/geany.html:
113 Mention that indentation settings can be overridden per-project.
114 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
115 doc/geany.txt, doc/geany.html, geany.glade:
116 Add 'Project->Apply Default Indentation' menu command to override
117 every document's indentation settings.
118 Improve 'Indentation' section docs.
121 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
124 Fix build with GTK 2.12: explicitly include gio.h if GIO
125 is available and to be used regardless of the USE_GIO_FILEMON flag.
127 Fix installation of template files.
128 Show which regex implementation is used.
130 Use non-GIO mime-type icon lookup if GIO lookup fails.
132 Allow skipping configure during autogen by setting NOCONFIGURE=1
133 (thanks to Chow Loong Jin).
136 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
139 Make use_safe_file_saving hidden pref apply even when GIO is
140 available, because g_file_replace_contents() doesn't handle disk
143 Show GIO/built-in regex support in startup debug message as well as
145 * doc/geany.txt, doc/geany.html:
146 Add docs for the HTMLChars plugin (patch by Frank).
149 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
152 Do not translate 'name' field for filetype None because it is used
153 for hash table lookup. This fixes missing files in the Open dialog
154 for the 'All files' filter with non-English locales (thanks to Sardem
155 FF7, fixes #3094771).
156 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
158 Add filetypes_get_display_name() to get translations for filetype
161 Fix resource leak when saving files with GIO (patch by Colomban
165 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
167 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
168 Add sci_get_lexer() to plugin API.
169 * plugins/htmlchars.c:
170 Only automatically replace characters when the current document is
172 * plugins/htmlchars.c:
173 Rename submenu item labels to be more descriptive.
175 Fix Alt+[0-9] switching tabs when other modifiers are also held.
177 Don't allow pasting of numbers followed by other characters in the
178 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
180 Print "GIO" and "built-in regex" if enabled with --version.
182 Use g_file_replace_contents() if available to save documents - this
183 should help workaround bugs in GVFS (based on patch by Alexey
187 Fix wrongly adding newlines for templates on disk that don't have
188 LF line endings when default line endings are not LF, e.g. Windows.
191 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
193 * src/utils.c, src/main.c:
194 Remove trailing directory separator for app->datadir and
195 app->docdir for consistency with the other directory fields.
197 Detect user and system filetype configuration files as Conf
200 Respect 'Smart' home key for Shift+Home (fixes #3100290).
203 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
205 * data/filetypes.ada:
206 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
209 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
212 Add install-data-only target to only install data/* to speed up
215 Fix not autocompleting when breaking lines.
216 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
217 data/colorschemes/alt.conf, data/filetypes.haxe,
218 data/filetypes.common, data/filetypes.glsl,
219 data/filetypes.actionscript, data/filetypes.cs,
220 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
221 data/filetypes.Genie.conf:
222 Add named style 'extra', use for C-like filetypes.
225 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
227 * data/filetypes.xml:
228 Match data-* and aria-* as HTML attributes.
229 * data/colorschemes/alt.conf, data/filetypes.common,
230 data/filetypes.python:
231 Make Python use named styles for color scheme support - use
232 alt.conf color scheme if you want the old colors.
233 Add named style 'function'.
235 Move plugin_set_info prototype and parenthesize arguments for
236 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
238 Fix putting pointer symbol before name, not after type.
241 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
243 * src/filetypes.c, src/ui_utils.c:
244 Fix notebook tab menu icons using theme for "text/plain" filetypes.
245 Make filetype mime_type "text/plain" instead of NULL.
248 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
250 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
251 Edit XML tag autocompletion pref and tooltip to include HTML.
252 * doc/geany.txt, doc/geany.html:
253 Add docs for 'Ensure consistent line endings' pref.
255 Change default for 'Override Geany keybindings' to on.
257 Sort filetypes_by_title last instead of on insertion to prevent
259 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
260 Add filetype mimetype field (patch by Colomban Wendling, thanks).
261 * src/sidebar.c, src/document.c:
262 Show mimetype icon in sidebar Documents list (patch by Colomban
265 Add notebook tab document icons (based on patch by Colomban
268 Leave text/plain mime_type fields as NULL (like custom filetypes).
271 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
273 * src/editor.c, data/snippets.conf:
274 Move HTML automatic <table> tag completion into a 'table' snippet
275 so the user can decide when to use it (patch by Eugene Arshinov,
277 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
278 src/document.c, src/document.h, THANKS, geany.glade:
279 Add 'Ensure consistent line endings' file saving pref (patch by
281 * src/utils.c, src/utils.h, src/editor.c:
282 Auto-indent after an HTML/XML line with a missing closing tag (patch
283 by Eugene Arshinov, thanks).
284 Behaviour only applies if XML tag autoclosing is off.
285 * src/templates.c, src/build.c, src/document.c, src/editor.c,
286 src/symbols.c, plugins/saveactions.c:
287 Remove unnecessary uses of FILETYPE_ID() macro with
288 GeanyDocument::file_type.
289 * data/filetypes.xml:
290 Add HTML5 attributes (thanks to Ross McKay).
293 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
296 Fix not changing edited keybindings when cancelling the Preferences
298 * data/filetypes.xml:
299 Add HTML5 element names (thanks to Ross McKay).
302 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
304 * src/utils.c, src/filetypes.c:
305 Remove filetype default extensions from code.
307 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
309 Refactor shared code with kb_cell_edited_cb().
312 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
314 * src/highlighting.c:
315 Use radio buttons for View->Editor->Color Schemes menu.
316 Don't hide the menu when only the default item is available.
317 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
318 Add alternative color scheme based on Python colors.
319 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
320 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
321 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
322 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
323 Add Erlang filetype (patch by Taylor Venable, thanks).
324 * src/filetypes.c, data/filetypes.*:
325 Move filetype 'extension' default into data files.
326 * src/filetypes.c, data/filetypes.vala:
327 Move filetype comment_{open,close} defaults into data files.
330 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
332 * data/filetypes.c, data/filetypes.d:
333 Add missing C99 keyword 'restrict' (#3046716).
334 Add missing D1 keywords 'ref' and 'macro'.
337 Parse Vala functions with contracts (#3080232).
339 Fix saving project indent prefs straight after using project
341 * src/highlighting.c, src/filetypes.c:
342 Prevent debug message about a missing 'default' named style when
343 using just a user color scheme file.
346 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
349 Fix off-by-one bug in 'search_mark_all'.
352 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
355 Ignore D /+ +/ comments.
357 Ignore D unittest blocks.
358 Parse D template functions with constraints.
359 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
360 Add 'Insert New Line Before/After Current' keybindings (based on
361 patch by Eugene Arshinov, thanks).
363 Use secondary text for 'file not found on disk' dialog.
366 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
369 Fix build with GLib 2.8.
372 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
374 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
375 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
376 Revert X11 workspace socket support as it needs more work; moved
377 to workspace-sockets branch.
380 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
382 * src/geanywraplabel.c:
383 Fix build with GLib 2.8.
384 * src/dialogs.c, src/about.c, THANKS:
385 Group Open dialog encoding options by submenus (patch by Adam Ples,
387 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
388 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
389 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
390 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
391 Add Lisp filetype (patch by Mário Silva, thanks).
392 Note: Lisp lexer was taken from Scintilla instead.
395 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
397 * po/kk.po, THANKS, src/about.c:
398 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
402 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
404 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
405 Don't cache overridden lexer properties.
406 Add foreach_strv() to plugin API.
407 Add utils_strv_join().
408 * tagmanager/basic.c:
409 Parse property, constructor, destructor as functions (patch by
410 pottersson, thanks; #2992167).
413 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
415 * src/tools.c, doc/geany.txt, doc/geany.html:
416 Fix passing quoted arguments when using 'Send Selection to'. This
417 means sed 's/\./(dot)/g' now works.
419 Add snippet keybinding support for keys in user snippets.conf (based
420 on patch by Eugene Arshinov, thanks). No docs yet.
421 * doc/geany.txt, doc/geany.html:
422 Add some subheadings for Snippets section.
423 * doc/geany.txt, doc/geany.html:
424 Add snippet keybindings docs.
425 * src/highlighting.c, src/utils.h:
426 Move foreach_strv to utils.h.
427 * src/editor.c, data/snippets.conf:
428 Read snippet keybindings from system keyfile also.
429 Add keybinding example to default snippet.conf.
432 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
434 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
435 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
436 data/filetypes.txt2tags, data/filetypes.markdown,
437 data/filetypes.restructuredtext:
438 Add symbol_list_sort_mode per-filetype setting, set to sort by line
439 number by default for Markdown, reStructuredText and Txt2Tags.
440 Add utils_get_setting() macro for reading a key from a home or
442 Move GeanyFiletypePrivate to filetypesprivate.h.
443 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
444 Link with X11 if found to fix linking with a recent GNU ld.
446 Avoid delay and redrawing when automatically opening a new document
448 * scintilla/LexForth.cxx, scintilla/makefile.win32,
449 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
450 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
451 data/filetypes.forth, data/filetype_extensions.conf, wscript:
452 Add Forth filetype (patch by Thomas Huth, thanks).
454 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
455 commands for 'Send Selection to' (oops).
458 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
461 When commenting/uncommenting with single-line comment characters,
462 ignore any end of line characters before evaluating the current line.
463 * data/filetypes.python:
464 Simplify Python Compile/Syntax Check command.
467 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
469 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
471 Add hidden pref 'find_selection_type' with option to repeat last
472 search when there's no selection.
473 Change default Find Selection behaviour to not let the X selection
474 override the current word (can be confusing).
475 Add docs for Find Selection commands.
477 Fix segfault on idle callback when quitting.
478 * src/interface.c, src/keybindings.c, geany.glade:
479 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
481 * src/interface.c, geany.glade:
482 Move editor popup menu Insert Comments submenu to top of Insert menu.
483 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
485 Add hidden pref new_document_after_close for whether to open a new
486 document automatically, off by default.
488 Add 'Bugs to watch out for' section.
491 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
493 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
494 doc/stash-gui-example.c:
495 Improve Stash GUI example.
498 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
500 * src/interface.c, geany.glade:
501 Move Go to Marker menu items to Search menu.
502 Rename popup editor menu item Commands -> Edit.
503 * src/callbacks.c, src/search.c, src/search.h:
504 Move find_again() to search.c.
506 Make Find Selected commands repeat the last search if the selection
508 * doc/geany.txt, doc/geany.html:
509 Add docs for Find Selection keybindings.
510 * src/interface.c, src/keybindings.c, geany.glade:
511 Unify Find Selection strings.
512 * src/interface.c, src/ui_utils.c, geany.glade:
513 Group editor popup Insert commands in a submenu, with extra items
514 for the most commonly used Insert Comments commands.
515 Show Edit->Commands before Format in menubar Edit menu (to match
517 Show Open Selected F_ile popup item below submenus.
520 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
523 Refactor shared submenu code with GeanySharedMenu array.
524 * src/interface.c, src/ui_utils.c, geany.glade:
525 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
526 shared with the editor popup menu.
528 Open a new document automatically after closing all documents.
531 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
534 Prompt for reloading if the document has an undo stack to avoid
535 losing undo ability on accidental reloading (patch by Colomban
537 * src/project.c, src/geanyobject.c, src/geanyobject.h,
539 Add plugin signals project-dialog-create and
540 project-dialog-confirmed so plugins can append a Project Properties
541 notebook tab (patch by Jiří Techet, thanks).
542 * src/ui_utils.h, src/plugindata.h, src/main.c:
543 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
544 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
545 src/plugins.c, plugins/geanyfunctions.h:
546 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
549 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
552 Save document indent width with the session.
553 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
554 doc/geany.html, TODO:
555 Use a separate socket per workspace on X (patch by Erik de Castro
559 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
562 Ignore directories passed on the command-line (based on patch by
563 Erik de Castro Lopo, thanks).
565 Parse D function template names.
566 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
567 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
569 Allow per-document indent width setting (patch by Jiří Techet,
570 updated by Erik de Castro Lopo - thanks).
571 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
572 Combine indent width menu item callbacks.
573 * src/interface.c, geany.glade:
574 Don't translate indent width menu items as they are now used for
578 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
580 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
581 Remove 3 popup menu items to save space:
582 Find Document Usage because Find Usage can be used instead.
583 Go to Tag Declaration because Go to Tag Definition is more common.
584 Go to Line because the toolbar item can be used instead.
585 * src/tools.c, src/search.c, tagmanager/python.c:
586 Fix some 'possible' NULL pointer dereferences (based on patch by
587 Erik de Castro Lopo).
588 * src/keybindings.c, src/keybindings.h, src/prefs.c:
589 Simplify keybindings_check_event().
592 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
595 Use up/down icons for Previous/Next Error.
596 * src/interface.c, src/keybindings.c, src/callbacks.c,
597 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
599 Add Find Usage and Go to Tag items to Search menu for easier
601 * tagmanager/tm_symbol.c:
602 Fix possible NULL dereference.
604 Add link to glade-2.12.2.tar.gz on geany.org.
605 * doc/geany.txt, doc/geany.html:
606 Mention the filetype wordchars setting can be overridden by the
607 whitespace_chars filetypes.common setting.
608 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
609 Remove NULL checks when calling g_free() (patch by Erik de Castro
612 Show Save As when saving if the document filename doesn't have an
613 absolute path, so command-line new files can be saved without a
614 prompt, but file templates still prompt the user.
617 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
620 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
624 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
626 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
627 Add GeanyMainWidgets::message_window_notebook for plugins to append
628 a new notebook page (#3061342).
630 Add Close button to the detected file changed dialog.
631 * src/interface.c, geany.glade:
632 Add separator between Find Previous and Find in Files.
633 Add up/down icons for Previous/Next Message.
636 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
638 * data/snippets.conf:
639 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
643 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
646 Fix broken editing of build menu labels.
647 * src/encodings.c, src/filetypes.c, configure.ac:
648 Auto-enable building with included regex if no regcomp function is
650 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
651 regex support is required.
653 Backport fix for possible infinite loop from CTags.
654 * scintilla/PlatGTK.cxx:
655 Backport list box memory leak fixes from Scintilla 2.20.
658 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
661 Make the Properties dialog filename a label and put it first (patch
662 by Jiří Techet, thanks).
663 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
665 Remove the "Set build working directories" button from the project
666 properties dialog (patch by Jiří Techet, thanks).
668 Include all files if the Find in Files pattern field is enabled and
671 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
674 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
676 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
677 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
678 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
679 data/filetypes.txt2tags, wscript:
680 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
681 * m4, configure.ac, Makefile.am:
682 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
684 Only prompt for reloading if the document has unsaved changes
685 (patch by Jiří Techet, thanks).
688 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
691 Apply a patch by Jiří Techet which is preventing warnings when using
692 -Wmissing-prototypes on compiling. Thanks.
695 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
697 * scintilla/KeyWords.cxx:
698 Link Octave instead of Matlab.
699 Add comment about not being autogenerated.
700 Minor changes to fit Scintilla order.
701 * src/build.c, src/build.h:
702 Replace GeanyBuildCommand::entries array with separate fields.
703 Similar to r5077 in the bs2 branch, but with less loop unrolling.
705 Remove buildcmd_* accessor functions.
708 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
710 * src/highlighting.c, src/editor.c:
711 Use Octave lexer instead of Matlab to support Octave # comment char.
714 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
717 Fix segfault on Tools->Reload Configuration when no documents are
719 * scintilla/LexMarkdown.cxx:
720 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
723 Fix saving non-project filetype error regex.
725 Fix memory leak in read_regex().
728 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
731 Check for libsocket on OpenSolaris to fix build.
733 Rewrite the logic to auto detect encodings a bit to make it more
734 readable and fix a slightly wrong detection on Windows
736 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
738 Add editor_goto_pos() to the plugin API.
741 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
744 Check for git-svn repo, not just git because find-rev doesn't
745 always fail with a git-only repo.
748 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
751 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
754 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
756 * doc/geany.txt, doc/geany.html:
757 Reorder Focus keybindings.
760 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
763 Applying a patch by Erik de Castro Lopo for checking against
764 pkg-config when running autogen.sh. Thanks for the patch.
766 Applying a patch by Colomban Wendling to print out log domains.
770 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
772 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
773 Use single binding_ids keybinding array instead of individual
774 arrays for core keybindings. This allows the keybinding IDs to be
775 merged into one enum; the order of keybindings is now just the
776 order they are added to each group. Keybindings can be reordered
777 without breaking the plugin ABI but groups must stay the same.
779 Fix writing the default value when a key is missing for hidden
780 prefs, even if it was overridden when it was originally read.
781 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
782 Move some interface hidden prefs to ui_utils.c.
784 Revert r4840 scope completion mode as it sometimes breaks
786 * src/keybindings.h, src/plugindata.h:
787 Randomly sort keybinding IDs to show there should be no order.
789 Reorder Focus keybindings.
792 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
794 * src/ui_utils.c, src/ui_utils.h:
795 Make ui_label_new_bold() a function.
796 Escape the name of the current document for markup when using
797 document name for menu items (closes #3038844).
799 Inherit 'beep on errors' preference for the audible bell preference
800 for the VTE (closes #3038215).
803 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
805 * src/utils.c, src/utils.h:
806 Add utils_get_eol_char().
807 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
808 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
810 Ensure inserted templates always have proper line ending characters
811 according to the current document's preference.
812 This is also fixes problems with templates on Windows which had
813 always Unix line ending characters but now since they are read
814 from files, these have Windows line ending characters and had been
818 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
821 Fix build with GTK 2.8, use the stock icon name directly instead
822 of the macro. Though, the icon is still missing for GTK 2.8.
824 Make make_comment_block() work with a GString. This is not yet
825 perfect but a bit better than before.
828 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
830 * src/keybindings.c, src/vte.c, src/vte.h:
831 Implement 'Select All' for the VTE widget.
834 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
837 Fix missing template files in the Windows installer.
840 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
842 * data/filetypes.python:
843 Update list of Python builtins, based on Python 2.6.
846 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
849 On Windows, convert filetype extensions read from config files
850 to lower case (closes #3028856).
853 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
856 Focus toolbar item when pressing Go to Line keybinding only when
857 it's not in the toolbar's drop down overflow menu (fixes #3027454).
860 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
863 Fix build menu translation problems.
866 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
872 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
875 Fix scrolling the editor line in view after loading a session and
876 switching document tabs. Note this causes repainting so needs
878 * doc/geany.txt, doc/geany.html:
879 Add note to restart Geany after installing/updating before editing
881 * src/ui_utils.h, src/main.c, src/ui_utils.c:
882 Use Stash to save statusbar_template setting, instead of the
883 load/save-settings signal.
887 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
889 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
890 Fix writing empty hidden pref "statusbar_template" key so users can
891 find it (patch by Dimitar Zhekov, thanks).
892 * src/ui_utils.c, src/ui_utils.h, src/main.c:
893 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
896 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
898 * src/build.c, src/project.c, src/project.h:
899 Show the Project Properties build tab when choosing 'Set Build
900 Commands' for now to prevent confusion with non-project commands.
903 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
905 * src/search.c, doc/geany.txt, doc/geany.html:
906 Fix Grep --exclude-dir example.
909 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
912 Add sidebar Documents popup menu item 'Find in Files'.
913 * src/keyfile.c, src/main.c, src/editor.c:
914 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
915 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
918 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
920 * doc/geany.txt, doc/geany.html:
921 Fix wording - restarting is required for hidden prefs.
922 File templates don't need manual reloading anymore.
924 Fix only adding project base path to Find in Files history if it
925 isn't already there (oops).
927 Parse lines in the Messages window even if Find in Files hasn't
928 been used yet (patch by Jiří Techet, thanks).
931 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
933 * scintilla/LexCPP.cxx, src/highlighting.c:
934 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
936 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
937 data/filetypes.common:
938 Add filetypes.common fold_symbol_highlight color setting.
939 Add API macro foreach_range().
940 * src/printing.c, doc/geany.txt, doc/geany.html:
941 Always use white background color when printing (except for text
942 with a white foreground) to save ink (should fix #2968998).
943 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
944 Limit build error editor indicators to 50, but parse all errors in
945 the Compiler tab (fixes #3019823).
948 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
950 * src/highlighting.c:
951 Re-enable fold.comment for lexers - it was disabled to prevent C
952 //{ explicit folding, but that also disables stream comment folding
954 * tagmanager/tm_workspace.c, tagmanager/get.c:
955 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
957 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
958 doesn't affect the bug with document switching not scrolling cursor
959 in view after loading a session.
962 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
964 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
965 Add statusbar_template hidden pref (based on patch by Dimitar
967 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
968 Add spaces after RO when using %r in statusbar_template setting.
969 Add space between encoding and BOM.
970 Note \t means tab for default text.
973 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
976 Restore tabbing past Find in Files combo box drop down menus.
979 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
981 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
982 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
984 Move plugin signals docs to pluginsignals.c, using function
985 pointer syntax instead of @signaldef as this puts a summary of
986 the signal names at the top of the page and sorts alphabetically.
987 (Note: the syntax is similar to Vala signal syntax).
990 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
993 Make default dialog entries use GTK_STATE_INSENSITIVE color not
994 a fixed color (Suggestion by Ditmar Zhekov)
997 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
999 * src/search.c, doc/geany.txt, doc/geany.html:
1000 Implement Find in Files file pattern search.
1002 Add file pattern to combo box history.
1003 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
1005 Use ui_hookup_widget() instead of g_object_set_data_full() for
1009 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1012 Add Files checkbox and combo to Find in Files dialog, currently
1013 does nothing & is disabled.
1014 Don't try to focus the next entry on pressing tab anymore as this
1015 is more complicated now.
1018 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 Put Find in Files Search field above Directory field.
1022 * src/search.c, doc/geany.txt:
1023 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
1024 regular expressions' radio buttons with a 'Use regular expressions'
1025 checkbox. This uses the extended syntax (which is the same as the
1026 Find/Replace regex syntax).
1028 Move 2 Find in Files checkboxes for even spacing.
1031 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1033 * tagmanager/tm_work_object.c:
1034 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
1038 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1040 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
1041 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
1042 Add ui_combo_box_add_to_history() to API.
1043 * plugins/filebrowser.c:
1044 Add history to path entry.
1045 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
1046 Fix not loading plugins built against a newer API when Geany doesn't
1047 provide the required version given in PLUGIN_VERSION_CHECK().
1048 Improve documentation for PLUGIN_VERSION_CHECK().
1049 * plugins/filebrowser.c:
1050 Allow Find in Files when no items are selected.
1051 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
1052 Add API signal "build-start" (patch by Jiří Techet, thanks).
1055 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1058 Replace /home/user with ~ in the documents list (patch by Jon
1061 Make default Build dialog entries grey, not light grey (too hard to
1062 read on a white background).
1064 Display 'new instance' on title bar (patch by Eugene Arshinov,
1067 Remove any duplicate on adding to combo box histories.
1070 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1073 Align notebook tab close buttons centred vertically - thanks to
1075 * Merge unstable branch:
1077 Make build config entries light grey until set.
1078 - src/keybindings.c, src/about.c, THANKS:
1079 Fix the wrong file being put on top of the stack when switching tabs
1080 too quickly (patch from Jiří Techet, thanks).
1081 - src/templates.c, data/templates/gpl, data/templates/function,
1082 data/templates/changelog, data/templates/bsd,
1083 data/templates/fileheader, wscript, Makefile.am:
1084 Move general templates from source code into files.
1085 Load general templates from system path instead of creating them in
1086 the user's config dir.
1089 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1092 Add doc/stash-example.c to fix 'make distcheck'.
1094 Change the RequestExecutionLevel for the Windows installer to
1096 * New release: Geany 0.19 "Vellam".
1097 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1098 geany_private.rc, win32-config.h, wscript, src/geany.h:
1099 Post-release version bump.
1102 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1105 Group undo action for Insert Multiline Comment.
1108 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1111 Don't individually install data/*.tags as all data/* files will be
1115 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1117 * tagmanager/tm_project.c:
1118 Fix a double free. (patch by Daniel Marjamaki, thanks).
1121 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1123 * tagmanager/tm_workspace.c:
1124 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1126 Fix reducing paths to project name in the Documents list
1127 (patch by Eugene Arshinov, thanks).
1129 Fix crash when trying to sort NULL pointers as tags in the Symbols
1130 list (closes #3011986).
1131 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1132 Update Scintilla to version 2.12.
1133 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1134 scintilla/LexCrontab.cxx:
1135 Remove unused Crontab lexer.
1136 * data/filetypes.css, src/highlighting.c:
1137 Add new style "media" for filetype CSS.
1140 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1142 * doc/geany.txt, doc/geany.html:
1143 Build section: minor rewording, formatting fixes; move some
1147 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1150 Explicitly try to localise build menu item labels with
1151 gettext to enforce getting default labels translated.
1152 * tagmanager/tm_workspace.c:
1153 Fix not closed FILE pointer on early exit
1154 (patch by Daniel Marjamaki, thanks).
1156 Update images for Geany 0.19.
1158 Destroy the default symbol list treeview only once
1159 (fixes gtk_widget_destroy warning on exit).
1162 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1164 * tagmanager/sort.c:
1165 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1167 Fix parsing of C++ classes contain attributes with bitfields
1168 (patch by Lex Trotman, thanks).
1169 * src/plugindata.h, src/plugins.c:
1170 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1171 plugins' meta information can be translated already in the
1172 plugin manager dialog (patch by Colomban Wendling, thanks).
1175 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1178 Print locale information in debug output.
1180 Fix some labels which were marked as translatable but were not
1181 handled properly by gettext().
1182 Add a missing const.
1184 Try to convert text into UTF-8 before adding it to the Compiler and
1185 Messages Window (closes #3007919).
1188 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1190 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1192 Pass G_LOG_DOMAIN to source files for better logging.
1195 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1197 * THANKS, src/about.c:
1198 Update of translation credits to reflect a change on Spanish
1199 translation team better.
1202 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1205 Fix infinite loop reading build command output
1208 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1211 Fix duplicate accelerators for Clear and Copy in the
1212 Messages Window popup menu.
1213 * src/pluginutils.c:
1214 Expand child widgets in the Plugin Preferences dialog
1215 (patch by Colomban Wendling, thanks).
1218 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1221 Fix Undo/Redo button state after the last document has been closed.
1222 Add Print and Replace toolbar items to the list of document
1225 Fix crash when the toolbar is reloaded without any open documents.
1227 Fix Run toolbar item sensitivity after the last document has been
1229 * plugins/classbuilder.c:
1230 Remove two unnecessary g_strdups().
1231 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1232 src/plugindata.h, src/ui_utils.h:
1233 Add hidden preference to disable automatic scrolling in the
1234 Compiler tab (closes #3004714).
1237 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1239 * plugins/classbuilder.c:
1240 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1243 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1245 * src/prefs.c, src/project.c:
1246 win32.h can be included unconditionally.
1248 Fix project base_path detection if the path has a trailing slash.
1249 * src/document.c, src/editor.c, src/project.c:
1250 Small improvements to speed up quit process with many open documents.
1251 Avoid calling gtk_notebook_remove_page() on exit as it takes
1253 * src/geanymenubuttonaction.c:
1254 Explicitly check for the type when iterating the action's proxies.
1255 For some reason on Windows, a GtkImageMenuItem proxy is created.
1256 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1257 src/plugindata.h, scintilla/*, scintilla/include/*:
1258 Update Scintilla to version 2.11.
1259 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1261 Add new GTK define also for Mingw cross compilation and
1262 makefile.win32 based Windows builds.
1263 * plugins/filebrowser.c:
1264 Implement reading and evaluating hidden file attribute on Windows.
1265 Fix broken "Go Up" if the current path ends with a slash.
1266 * THANKS, src/about.c, src/prefix.c:
1267 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1268 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1269 src/main.c, src/notebook.c, src/prefs.c:
1270 Add preference to add new document tabs beside the current one
1271 (patch by Colomban Wendling, thanks).
1272 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1273 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1274 Add a preference for choosing between GTK and native
1275 File Open/Save dialogs (only available on Windows).
1276 * doc/geany.html, doc/geany.txt:
1277 Update documentation.
1280 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1283 Sort file filters for the native Windows file open dialog by name.
1284 Don't use file filters for the native Windows Save As dialog.
1285 * src/dialogs.c, src/win32.c, src/win32.h:
1287 Pass and use also parent and title arguments to
1288 win32_show_document_open_dialog().
1290 Call handle_save_as() only when the Save As dialog was not cancelled.
1292 Improve adding/removing of the special separator between menubar and
1293 toolbar when the toolbar is appended to the menubar.
1294 * src/toolbar.c, src/templates.c:
1295 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1296 not trigger updating the menus on each item removal.
1299 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1302 Replace one non breaking space by normal space. Patch by
1306 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1308 * plugins/classbuilder.c:
1309 Don't make the 'Create Class' menu item document-sensitive
1310 (patch by Colomban Wendling, thanks).
1311 Add namespace support for GTK+ classes.
1312 Add GET_CLASS() macro for GTK+ classes.
1313 Add typedef of the private structure in the header file instead
1315 (all the above from a patch by Colomban Wendling, thanks).
1316 * src/highlighting.c:
1317 Set common default "fold.comment" to 0 to disable it. This can
1318 be overridden if desired.
1320 Improve sorting of document list items
1321 (patch by Colomban Wendling, thanks).
1323 Remove unnecessary textdomain() call.
1326 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1329 Fix search_find_text not returning -1 when match is out of range.
1330 This fixes invalid memory reads and wrong template filename
1331 wildcard replacement.
1332 * src/search.c, src/document.c:
1333 Only replace template filename matching start of word on saving.
1334 * plugins/filebrowser.c:
1335 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1336 * src/build.c, src/build.h, src/project.c:
1337 Make some ugly build.h global variables static.
1338 * src/build.c, src/build.h, src/project.c:
1339 Add Build prefix for TableFields, TableData.
1342 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1345 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1346 * src/dialogs.c, src/win32.c, src/win32.h:
1347 (Re-)Implement a (still basic) native Windows Save As dialog when
1348 compiled with GEANY_USE_WIN32_DIALOG.
1351 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1353 * THANKS, src/about.c, plugins/classbuilder.c:
1354 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1355 * src/ui_utils.h, src/ui_utils.c:
1356 Add public, generic callback ui_editable_insert_text_callback()
1357 to restrict GtkEntry text inputs to +/- and numeric values only.
1358 * src/dialogs.h, src/dialogs.c:
1359 Add special variant dialogs_show_input_goto_line() to use a normal
1360 GtkEntry together with dialogs_show_input_goto_line() for text input.
1361 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1362 Allow '+<number' and '-<number>' as values for Goto Line inputs
1363 to jump relative to the current line (closes #2997238).
1366 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1368 * src/highlighting.c:
1369 Apply foreground and background colours of the folding margin
1370 style properly (closes #2998347).
1372 Don't auto-close short XML tags (closes #2994852).
1373 * THANKS, src/about.c, src/keybindings.c:
1374 Improve jumping to matching braces by consistently position the
1375 cursor before or after the matching brace dependent where it
1376 was before (patch by Dimitar Zhekov, thanks).
1378 Fix crash when generating global tags files (patch by Colomban
1382 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1385 Avoid connecting signals more than once.
1388 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1391 Don't ignore the 'intltool' check on non-Windows systems, instead
1392 raise a configure error.
1395 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1398 Fix marking some strings as translatable (cannot be done in the
1400 * src/templates.c, doc/geany.txt, doc/geany.html:
1401 Reload templates if saving a document in the templates config dir.
1404 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1406 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1408 Fix replacing {filename} template wildcard for custom file
1409 templates with non-default file extension.
1410 Add search_find_text() for POSIX regex searches.
1411 * src/templates.c, doc/geany.txt, doc/geany.html:
1412 Add {project}, {description} template wildcards (#2954737).
1413 * doc/geany.txt, doc/geany.html:
1414 Divide template wildcards into groups.
1415 * src/plugindata.h, src/plugins.c, src/symbols.c,
1416 plugins/geanyfunctions.h:
1417 Add symbols_get_context_separator() to plugin API (patch by Colomban
1421 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1423 * src/keybindings.c:
1424 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1425 Anonymous, thanks; #2995593).
1426 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1427 plugins/geanyfunctions.h:
1428 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1429 (patch by Colomban Wendling, thanks).
1432 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1435 Warn user if hidden hard tab width setting is not 8.
1438 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1440 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1441 doc/geany.txt, doc/geany.html:
1442 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1443 always be 8. (Hidden setting kept in case users have modified it).
1446 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1448 * doc/geany.txt, doc/geany.html:
1449 Add Folding section link to filetypes.common custom settings.
1452 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1455 When switching documents, don't call document_set_text_changed()
1456 as this does much more than necessary. Instead call the necessary
1457 UI update functions explicitly.
1460 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1462 * tagmanager/vstring.c:
1463 Fix invalid memory read (patch by Colomban Wendling, thanks).
1466 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1468 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1469 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1470 strings in case of reaching the buffer size limit (part of #2979697).
1472 Change the limit for the command line length when executing commands
1473 to a maximum of 32768 characters (closes #2979697).
1474 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1475 * tagmanager/ctags.c:
1476 Change eFree() to simply ignore NULL pointers instead of asserting.
1478 Remove malloc() fallback since we completely rely on g_malloc()
1480 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1481 plugins/saveactions.c:
1482 Make string arguments const where appropriate (patch by
1483 Colomban Wendling, thanks).
1484 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1485 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1486 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1487 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1488 src/symbols.c, src/templates.c, src/ui_utils.c:
1489 Make string arguments const where appropriate (patch by
1490 Colomban Wendling, thanks).
1493 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1495 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1496 Make plugin_signal_connect() string argument const (patch by
1497 Colomban Wendling, thanks).
1498 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1499 Constify some more string pointers in the API (patch by
1500 Colomban Wendling, thanks).
1501 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1503 Support {pc} wildcard in snippets to escape percent char.
1505 Recalculate line margin width when zooming (fixes #2990553).
1506 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1507 data/filetypes.common:
1508 Support more folding icon styles: arrows, +/- and no lines
1512 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1515 Fix Windows build by properly guarding Unix-only code.
1518 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1520 * src/templates.c, doc/geany.txt, doc/geany.html:
1521 Support {ob} and {cb} in fileheader and file templates; they are
1522 replaced last with { and }. This allows 'escaping' of wildcard
1524 * src/editor.c, plugins/classbuilder.c:
1525 Fix Class Builder plugin to use correct indentation instead of
1527 Make editor_insert_text_block() only replace leading tabs for the
1528 'Tabs' indent type; also group edits for undo.
1529 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1531 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1534 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1536 * tagmanager/pascal.c:
1537 More fixes to prevent possible crashes by trying to free NULL
1540 Automatically show and hide the sidebar notebook tabs according
1541 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1543 Add a static global variable to monitor autocompletion mode in order
1544 to prevent cancellation of the struct/class (C/C++) auto completion
1545 list (patch by Thomas Martitz, thanks).
1547 When starting and trying to access the Unix Domain socket of a
1548 potentially running instance, first compare file ownership with the
1549 user id of the running process to prevent accessing a wrong socket
1550 file (part of #2985463, this might not yet be the final solution).
1553 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1555 * plugins/filebrowser.c:
1556 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1557 Files' option (fixes #2989288).
1560 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1562 * tagmanager/entry.c, tagmanager/entry.h,
1563 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1564 tagmanager/parse.h, tagmanager/tm_source_file.c:
1565 Add tm_source_file_set_tag_arglist() to manually set the argument
1567 * tagmanager/python.c:
1568 Use tm_source_file_set_tag_arglist() to set the argument list
1569 field of Python class tags to the argument list of their
1571 Backport a fix from CTags SVN to prevent possible crashes by trying
1572 to free NULL pointers.
1575 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1577 * tagmanager/txt2tags.c:
1578 Remove duplicate code from Txt2Tags parser.
1579 Remove the title control characters ('=') when parsing titles.
1580 Also parse numbered titles (closes #2984703).
1581 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1583 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1584 Add missing documentation for 'Reset Zoom' keybinding.
1586 Another attempt to fix the PHP parser regexp for parsing functions.
1587 Fix wrong parsing of function arguments when those contain nested
1588 brackets (as reported by Harold Aling).
1590 Fix Ctrl-Click on notebook tab if Numpad is active.
1593 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1595 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1596 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1597 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1598 src/ui_utils.c, src/ui_utils.h:
1599 Add option 'System Default' for toolbar icon style and size to
1600 use the GTK default value.
1601 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1602 src/toolbar.c, src/toolbar.h:
1603 Shorten the toolbar popup menu, only provide items for Toolbar
1604 Preferences and to Hide the toolbar.
1606 Instantly update the toolbar icon size and style when the
1607 corresponding global GTK settings are changed.
1608 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1609 src/plugindata.h, src/socket.c:
1610 Add new command line option --list-documents to return a list
1611 of currently opened documents (closes #2979933).
1614 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1616 * plugins/htmlchars.c:
1617 Make plugin remember whether replacement of special characters was
1618 activated even after restart of Geany or reloading of plugin.
1621 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1624 Fix inserting snippets with an indent when using Mac CR line
1627 Update status bar after using Document->Set Line Endings.
1629 Improve API docs for editor_insert_text_block().
1632 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1635 Refactor snippets_complete_constructs().
1636 Remove an unnecessary TODO.
1638 Fix indenting a snippet when there is whitespace after the
1642 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1644 * doc/geany.txt, doc/geany.html:
1646 * src/build.c, src/msgwindow.c:
1647 Fix disabled compiler message tracking if using indicators to
1648 show build errors is disabled (closes #2982834).
1651 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1653 * scintilla/Editor.cxx:
1654 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1655 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1656 replacing in a rectangular selection.
1659 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1662 Re-detect any document filetypes set to None after reloading
1663 filetype extensions (closes #2979661).
1665 Fix showing '...' item last instead of first for document word
1669 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1671 * data/filetypes.perl:
1672 Adjust Perl Compile command to use the -c command
1673 line option to perform a syntax check instead of using the
1674 deprecated ByteCompile module.
1675 Add error_regex to parse error messages and warnings when performing
1676 syntax checks on Perl files.
1679 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1681 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1682 Add API docs for keybinding enums.
1683 * src/notebook.c, doc/geany.txt, doc/geany.html:
1684 Make Ctrl-click on any notebook tab switch to the last used
1688 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1690 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1691 src/geanyentryaction.c, src/geanyentryaction.h,
1692 src/geanywraplabel.c:
1693 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1694 object for efficiency.
1697 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1699 * plugins/classbuilder.c:
1700 Beep if the user hasn't entered a class name on pressing OK.
1702 Fix replacing '^' regex.
1703 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1704 plugins/geanyfunctions.h:
1705 Add Stash widget functions to API.
1707 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1711 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1713 * THANKS, src/vte.c:
1714 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1716 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1717 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1718 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1719 Add Stash setting functions to API.
1720 Remove unnecessary argument to stash_group_load_from_file().
1721 * src/geanyobject.c, plugins/classbuilder.c:
1722 Don't generate FOO_GET_PRIVATE() macro because caching the result
1723 in Foo::priv can be much more efficient.
1726 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1729 Fix cursor positioning when toggling comments
1730 (patch by Thomas Martitz, thanks).
1733 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1735 * src/keybindings.[hc]:
1736 Added Control+0 for zoom reset, see suggestion from #2969886.
1739 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1741 * src/search.c, src/document.c:
1742 Fix wrong selection range after Replace in Selection.
1745 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1748 Make CreateChildProcess() working with Unicode strings, e.g.
1749 directory names (closes #2972606).
1751 Remove reference to already removed latex.tags file.
1752 Future releases probably still depend on GTK 2.16.
1753 * scintilla/ScintillaGTK.cxx:
1754 Backport fix from Scintilla CVS to not paste text beyond the end
1755 of lines (closes #2969096).
1756 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1758 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1759 to not set Geany's minimum window size anymore (closes #2972992).
1760 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1763 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1766 Make adding string and string vector settings initialise the setting
1768 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1769 Add stash_group_load_from_file() and stash_group_save_to_file().
1772 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1774 * data/filetypes.common:
1775 Set default for wrapped lines to show marker at end of line only
1776 (more expected and doesn't change line alignment - closes #2972386).
1777 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1778 src/pluginutils.c, doc/plugins.dox:
1779 Improve API docs contents page by listing all commonly-used files.
1780 Fix 'Date' appearing twice on the date line.
1781 Don't generate API docs for prefs.h, toolbar.h (unused).
1782 Move some '@file' doc-comments to the .c file.
1783 * src/interface.c, geany.glade:
1784 Add frame for 'Printing' prefs dialog page.
1785 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1786 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1787 doc/stash-example.c:
1788 Rename Stash data types to be independently named from Geany (so
1789 Stash can be reused for other projects).
1790 Rename GeanyPrefGroup to StashGroup.
1793 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1795 * tagmanager/python.c:
1796 Apply patch from Colomban Wendling to parse Python lambda functions
1797 (thanks) - modified to only parse toplevel or class member lambdas.
1798 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1799 doc/stash-example.c:
1800 Add doc-comments for Stash setting functions.
1801 Add an example file showing usage of Stash.
1802 (Not enabled yet until added to the plugin API).
1805 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1808 Fix using return value without checking return status, caused
1809 incorrect sensitivity settings on build dialog.
1812 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1815 Add tip about gcc optimization & warnings/debugging.
1816 Add Testing section.
1817 Update Libraries section about synchronizing with other projects.
1820 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1823 For now revert the recent patch which set real_path of newly
1824 open non-existent configuration files as this seems hackish and
1825 causes 'file not found' warnings.
1827 Fix/Improve GIT repository detection
1828 (patch by Thomas Martitz, thanks).
1829 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1831 Add utils_copy_environment() to the plugin API.
1834 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1836 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1837 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1839 Use 3rd person for more API dox.
1840 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1842 Change 'After all...' to 'Afterwards...'.
1843 * src/interface.c, geany.glade:
1844 Apply patch from Eugene Arshinov to make frame packing/alignment
1845 more consistent (thanks).
1848 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1851 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1852 that gtk_button_[sg]et_label() work as expected.
1853 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1854 Make Build Commands dialog show menu item labels as a button (to
1855 help show that menu labels don't normally need to be edited &
1856 display the mnemonic correctly). Clicking shows an input dialog to
1857 set a new menu item label.
1858 Split dialogs_show_input() into 2 functions: one simple, one for
1859 a persistent dialog.
1860 Fix possible double-destroy of input dialog when closed by user.
1862 Fix not destroying 'Make Custom Target' input dialog after first
1865 Make Long Line Marker settings for existing projects default to
1866 general settings instead of 0 (thanks to Eugene Arshinov).
1867 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1868 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1869 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1870 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1871 Use 3rd person (gets not get) for API function brief descriptions.
1872 Avoid using 'convenience function' in API brief descriptions.
1875 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1877 * doc/geany.txt, doc/geany.html:
1878 Warn about some GNU extensions for regular expressions & clarify
1880 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1881 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1882 src/editor.h, geany.glade:
1883 Apply patch from Eugene Arshinov to add project long line marker
1884 customisation (thanks).
1885 * src/interface.c, geany.glade:
1886 Edit/tidy 'Long line marker' labels.
1889 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1891 * src/build.c, src/project.c:
1892 Fix crash due to NULL in project build preferences (thanks to
1896 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1898 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1899 src/document.c, doc/geany.txt, doc/geany.html:
1900 Merge gnu-regex branch:
1901 Use POSIX system/GNU regex engine for find & replace 'Use regular
1902 expressions' option. This alters regex syntax a bit - see the docs
1903 for details; we now support '?' operator and replacement backslash
1904 escaping is more standard.
1905 Make regex search imply replacing escaped chars.
1906 Allow \0 backreference replacement for the whole match.
1907 Note: Replace All may be slower; if this is a problem please let me
1910 Add argument to utils_str_replace_escape() for keeping
1911 uninterpreted backslash escapes e.g. '\\', '\e'.
1912 * scintilla/LexMarkdown.cxx:
1913 Backport minor formatting/style changes from Scintilla project.
1914 * doc/geany.txt, doc/geany.html:
1915 Remove warning about no visual indication for zero-column-mode
1919 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1922 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1925 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1927 * wscript, scintilla/*, scintilla/include/*:
1928 Update Scintilla to version 2.03.
1929 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1930 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1931 Add preference for virtual spaces.
1933 Fix wrong default response for the Debug Messages dialog.
1935 Fix crashes when using Save As with no open files (closes #2964406).
1937 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1938 move the question from the secondary to the main text to be
1939 more compatible with the Gnome HIG.
1940 Fix broken 'Save' action in 'Resave missing file' dialog.
1942 Improve PHP parser to parse also the argument lists of PHP functions.
1944 Correctly set the parent widget for the keybinding overwrite
1945 confirmation dialog.
1947 Fix setting the icon for some dialogs if the parent itself is also
1950 When editing non-existent config files using the Tools->Configuration
1951 Files menu, explicitly set the real_path to avoid presenting the Save
1952 As dialog when saving the file (patch by Tony Rick, thanks).
1954 Focus the editor widget after hiding the sidebar when it had the
1955 input focus (patch by Can Koy, thanks).
1956 Properly show/hide the mesages window when using the View menu item
1958 * plugins/filebrowser.c:
1959 After opening files, focus the editor widget
1960 (based on a patch by Can Koy, thanks).
1961 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1962 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1963 src/ui_utils.h, src/vte.c:
1964 Add and use convenience function ui_is_keyval_enter_or_return() and
1965 add it to the plugin API.
1968 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1970 * src/about.c, THANKS, po/ast.po:
1971 Added Asturian translation. Thanks to Marcos Costales for providing.
1974 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1977 Fix keyboard accelerators in debug messages window
1981 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1983 * scintilla/LexR.cxx:
1984 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1985 (Scintilla bug #2956543).
1986 * src/sidebar.c, src/about.c, THANKS:
1987 Make Space on the symbol and document list not focus the editor
1988 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1989 * src/document.c, src/document.h:
1990 Fix document_try_focus() to make it work with the sidebar document
1992 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1993 Make Space on the compiler and messages widgets not focus the editor
1994 widget while Enter does (patch by Can Koy, thanks).
1996 Fix wrongly auto-detected multiline comments
1997 (patch by Eugene Arshinov, thanks).
2000 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2003 Show number of lines of current document inside statusbar. Thanks to
2004 Can Koy for providing the patch.
2007 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2009 * src/keybindings.c, doc/geany.txt, doc/geany.html:
2010 Make Switch to Editor keybinding reshow the document statistics
2011 line, so user doesn't have to move the cursor.
2014 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2017 Update keywords for the R language (patch by Jon Senior, thanks).
2020 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2023 Fix the instruction how to insert unicode characters
2027 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2029 * scripts/create_py_tags.py:
2031 Replace tabs by spaces.
2032 * plugins/genapi.py:
2034 Replace tabs by spaces.
2035 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
2036 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
2037 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
2038 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
2039 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
2040 src/plugindata.h, src/sidebar.c, src/sidebar.h:
2041 Add keybindings to switch to the sidebar's Document and Symbol list
2042 as well as to the Message Window's current tab
2043 (patch by Eugene Arshinov, thanks).
2045 Update primary keywords for the R language
2046 (patch by Jon Senior, thanks).
2049 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
2052 Add more detailed hints about reloading configuration
2053 (thanks to Tony Rick).
2054 * data/filetypes.javascript:
2055 Correct the keyword list for JavaScript (thanks to Jonas).
2058 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2060 * New release: Geany 0.18.1 "Balfour".
2063 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2065 * src/keybindings.c:
2066 Add special cases for handling the Select All keybinding (Ctrl-A) in
2067 the toolbar search and goto line text entries (closes #2948040).
2068 Strip trailing spaces after reflowing a paragraph, patch by
2069 Dominik Wagenfuehr, thanks (closes #2945497).
2072 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2074 * src/geanymenubuttonaction.c, src/templates.c:
2075 Partly revert last commit:
2076 Unref the new files toolbar menu when freeing templates as it
2077 was done before but unref it *after* the menu has been removed
2078 from the GeanyMenuButtonAction.
2080 Fix possible endless loop when trying to detect the encoding of
2081 non-text files (patch by Alexey Antipov, thanks).
2084 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2087 Allow saving remote files using g_file_set_contents() as well
2088 (patch by Алексей Антипов, thanks).
2089 * data/filetypes.python:
2090 Adjust style for secondary keywords to be less aggressive.
2091 Add Python 2.5 builtins keywords.
2092 * src/geanymenubuttonaction.c, src/templates.c:
2093 Unref the new files toolbar menu when setting a new menu to fix
2094 possible crashes when reloading configuration.
2096 When reloading configuration, process the current document at last
2097 so the symbol list will be updated correctly.
2100 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2103 Explicitly read filetype configuration files before generating
2104 global tags to get settings for custom filetypes.
2107 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2110 Fix GLib warning when toggling 'no plugins available' item.
2113 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2115 * icons/Makefile.am:
2116 Include geany.ico in the distribution tarball.
2118 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2119 * scripts/create_py_tags.py:
2120 Make the script a bit more robust with newer Python versions.
2122 Use utils_spawn_sync() instead of g_spawn_sync().
2125 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2128 Close meta tag for export date properly.
2131 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2134 Update RPM Spec file (patch by Dominic Hopf, thanks).
2137 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2140 Fix renaming sci_send_message(), sci_send_command() function
2144 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2146 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2147 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2148 plugins/geanyfunctions.h, plugins/Makefile.am,
2149 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2150 Use full function name for GeanyFunctions function pointers. This
2151 avoids naming conflicts e.g. with C++'s 'new' keyword.
2152 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2156 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2158 * src/utils.c, src/utils.h, src/vte.c:
2159 Add utils_copy_environment() and make use of it.
2160 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2161 src/editor.c, src/templates.c, src/templates.h:
2162 Add new special template wildcard "{command:...}" to use the
2163 output of a command in templates.
2164 Adjust template functions to mostly work with GeanyDocuments.
2165 Minor cleanups in the template code.
2167 Replace the old icons with smiley icons from the Rodent icon theme.
2168 Fix showing the same icon for two or more slots.
2170 * src/editor.c, src/editor.h, src/keybindings.c:
2171 Rename fold_symbol_click() to editor_toggle_fold().
2172 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2173 was used to respect the 'Fold/unfold all children' preference
2177 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2180 Prevent possible segfault in get_build_group().
2182 Fix GLib warning & beep if trying to insert multiline comment for a
2183 filetype that doesn't support it.
2186 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2189 Add gcc commands to build a plugin to the HowTo.
2190 * src/search.c, src/document.c, src/document.h:
2191 Show 'Replaced X matches in Y documents' message when using
2195 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2197 * scripts/plugin_test.c:
2198 Add a little test program which can load and test Geany plugins to
2199 verify it is loadable at runtime and all necessary symbols are
2201 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2203 Add new signal: "geany-startup-complete" which is sent once all
2204 initialization and startup tasks has been done.
2205 * README.I18N, configure.ac, wscript, po/LINGUAS:
2206 Remove po/LINGUAS from the repository.
2207 Generate it automatically if needed by reading available
2208 message catalogs from the po directory.
2209 Also respect the LINGUAS environment variable properly.
2212 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2215 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2219 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2221 * src/editor.c, src/templates.c, src/templates.h:
2222 Refactor templates_replace_all() into templates_replace_valist()
2223 to save some code duplication.
2226 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2228 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2229 src/plugindata.h, src/plugins.c:
2230 Add editor_insert_text_block() to plugin API.
2233 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2236 Update copyright information.
2237 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2238 doc/geany.txt, doc/geany.html:
2239 Add keybinding to open the last closed tab (closes #2912692).
2242 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2244 * autogen.sh, configure.in, configure.ac:
2245 Rename configure.in to configure.ac.
2246 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2248 Add sci_find_text() to the plugin API.
2249 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2250 src/interface.c, src/prefs.c:
2251 Add a checkbox in the preferences dialog to explicitly toggle
2252 the visibility of the sidebar (closes #2923340).
2255 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2257 * src/editor.c, src/plugins.c, src/plugindata.h,
2258 plugins/geanyfunctions.h:
2259 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2260 editor_get_eol_char() to the plugin API.
2261 * src/callbacks.c, src/plugins.c, src/plugins.h:
2262 Fix sensitivity of the Edit->Plugin Preferences menu item
2263 if plugins are loaded which do not provide a configuration dialog.
2264 * scripts/create_py_tags.py:
2265 Rewrite and extend the Python tags parsing script to use
2266 Python's inspect module to read symbols from Python modules
2267 including scope information.
2268 * data/filetypes.restructuredtext:
2269 Add the default comment character sequence for reStructuredText.
2271 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2272 clicked but their text fields are not part of the toolbar (#2920807).
2273 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2275 Add new style to change foreground and background colours for
2276 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2278 Remember the window position of the Find, Replace and Find in Files
2279 dialogs (closes #2877988).
2282 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2285 Fix a minor typo inside plugin API reference.
2288 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2290 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2291 Make dialogs_show_prompt() more flexible to take up to three
2292 button/response code pairs to be shown.
2293 Add a close button to the dialog when asking to Re-Save a
2295 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2297 Fix LaTeX environment auto completion with CR/LF line endings.
2298 Add some sanity checks.
2300 When closing a document after it was deleted from the filesystem,
2301 don't ask whether it should be saved first.
2302 Mark the document only as changed if it is not closed afterwards.
2303 Prevent possible segfaults if the document was closed when it is
2304 missing from the filesystem.
2305 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2306 src/msgwindow.h, src/prefs.c:
2307 Add MessageWindow::scribble and use it instead of searching the
2308 widget pointer everytime.
2309 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2310 Add preferences for hiding single tabs from the messages window
2311 (no GUI preferences yet, still to be implemented).
2312 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2313 Set the correct parent window for the toolbar editor
2314 dialog (closes #2913334).
2315 * src/win32.c, src/win32.h, src/ui_utils.c:
2316 Rename win32_show_project_folder_dialog() to
2317 win32_show_folder_dialog() as it is not related and not used by any
2318 project management related code.
2319 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2320 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2321 as it is specialised for opening documents.
2322 Implement win32_show_file_dialog() as a generic file open dialog and
2323 use it with ui_path_box_new().
2326 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2329 Extend auto_latex() function to check whether an environment has been
2330 closed within the next lines to avoid auto adding double \end{}.
2332 Remove LaTeX tags from SVN. Can be found at
2333 http://download.geany.org/contrib/tags/ if needed.
2336 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2338 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2339 Add document_need_save_as().
2340 Show the Save As also for documents created from filetype templates
2341 instead of saving them directly with the untitled filename.
2344 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2346 * geany.glade, src/interface.c:
2347 Move 'Send Selection to Terminal' menu item from Format to Commands
2350 When going to a build error, try the current document's path if
2351 the parsed filename doesn't exist. (This can happen when we receive
2352 build messages in the wrong order - after the 'Leaving directory'
2355 Refactor msgwin_goto_compiler_file_line().
2356 * src/interface.c, src/keybindings.c, geany.glade:
2357 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2360 Refactor/reformat on_replace_dialog_response().
2363 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2366 Improve geany.spec (split the package into a binary and devel
2367 package, update BuildRequires and other minor improvements).
2368 Patch by Dominic Hopf, thanks.
2371 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2373 * src/filetypes.c, src/filetypes.h:
2374 Make group for custom filetypes.
2375 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2376 Add custom filetype Genie.
2379 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2381 * src/highlighting.c:
2382 Highlight D & Java types from a global tags file.
2383 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2384 Add debug message warning if recursive lexer_filetype is set.
2385 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2386 Remove duplicate sci_set_keywords(), make argument const.
2387 * src/highlighting.c:
2388 Only show debug message once if recursive lexer_filetype is set.
2389 Tidy highlighting_init_styles code for filetype None handling.
2390 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2391 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2392 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2393 tagmanager/parsers.h, tagmanager/makefile.win32,
2394 tagmanager/verilog.c, tagmanager/Makefile.am,
2395 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2396 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2397 * src/highlighting.c:
2398 Fix segfault on startup (oops).
2399 * data/filetypes.verilog:
2400 Fix using common style colours for Verilog.
2403 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2405 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2406 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2407 Move C-like filetype properties into configuration files.
2408 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2410 Remove now unnecessary "styling_within_preprocessor" C style key.
2411 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2412 data/filetypes.glsl, data/filetypes.cs:
2413 Use lexer_filetype=C configuration file key instead of duplicate
2414 styleset functions for C++, C#, GLSL, Vala.
2417 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2419 * doc/geany.txt, doc/geany.html:
2420 Warn about not using BOM for configuration files (confuses GKeyFile
2421 parser, at least on my system).
2423 Add/improve debug messages for custom filetypes.
2426 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2429 Add a couple of further latex-beamer commands to list of LaTeX tags.
2432 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2434 * plugins/filebrowser.c:
2435 Add an in-entry clear icon to the filebrowser plugin's filter
2436 entry (patch by Dominic Hopf, thanks).
2437 * src/prefs.c, src/ui_utils.c:
2438 Fix two compiler warnings about possibly uninitialised variables.
2441 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2443 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2444 plugins/geanyfunctions.h:
2445 Add main_is_realized() to the plugin API.
2446 * tagmanager/include/tm_tagmanager.h:
2447 Update partly outdated and wrong doc comment.
2448 * src/main.c, src/main.h, src/socket.c:
2449 Allow opening Geany projects remotely.
2450 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2451 Add a hidden pref to allow executing text which was sent to the
2452 terminal directly, i.e. do not strip trailing newline characters.
2453 Also fix the stripping of trailing newline characters if there was
2457 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2459 * src/about.c, THANKS:
2460 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2461 Kurt de Bree into section of previous translators.
2464 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2466 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2467 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2471 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2473 * src/highlighting.c:
2474 Make stylesets take a ft_id argument so they can be reused fully with
2475 custom filetypes, so custom styles and keywords can be set.
2476 * src/highlighting.c:
2477 Fix setting filetype properties when both the system and the user
2478 file have properties set.
2479 * src/symbols.c, tagmanager/vhdl.c:
2481 * src/highlighting.c:
2482 Fix lexer settings for custom filetypes.
2485 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2488 Remove duplicate regular expression for parsing classes.
2489 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2490 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2491 src/main.h, THANKS, src/about.c:
2492 Add new command line option "--socket-file" to be able to specify
2493 separate socket filenames for instances
2494 (closes #2896027, patch by Jörn Reder, thanks).
2495 * src/keybindings.c, src/keybindings.h:
2496 Add keybindings_check_event() to manually check GdkKeyEvents against
2497 Geany's keybindings.
2498 * src/callbacks.c, src/utils.c, src/utils.h:
2499 Add and use utils_get_help_url().
2500 * geany.glade, src/interface.c, src/prefs.c:
2501 Add a Help button to the preferences dialog.
2502 Handle Help keybinding events for the preferences dialog especially
2503 and open the manual with the corresponding anchor link to the current
2504 preferences page (same goes for the new Help button).
2507 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2509 * src/toolbar.c, src/geanymenubuttonaction.c,
2510 src/geanymenubuttonaction.h:
2511 Use separate tooltips for toolbar menu buttons and their attached
2513 * tagmanager/latex.c:
2514 Improve parsing of sections and chapters by ignoring shortnames
2515 like \section[shortname]{label} (closes #2890477).
2518 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2520 * src/geanymenubuttonaction.c:
2521 Try to fix Gtk warning when using Tools->Reload Configuration.
2524 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2526 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2527 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2528 data/filetypes.pascal, data/filetypes.docbook,
2529 data/filetypes.python, data/filetypes.conf:
2530 Use filetypes.foo [lexer_properties] group instead of hardcoding
2531 lexer properties (more flexible e.g. for custom filetypes).
2532 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2533 Replace filetypes.xml html_asp_default_language key with
2534 filetypes.html asp.default.language property in [lexer_properties]
2538 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2540 * doc/geany.txt, doc/geany.html:
2541 Fix slightly wrong description of how to insert Unicode characters.
2543 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2544 ui_setup_open_button_callback().
2545 * src/prefs.c, src/prefs.c, src/vte.c:
2546 Refactor color and font button callback functions in the
2547 preferences dialog. Move the VTE related callback functions
2549 Make use of ui_setup_open_button_callback().
2551 Improve printing status texts (patch by Dominic Hopf, thanks).
2552 * src/prefs.c, src/vte.c:
2553 Use the default dialog title set by ui_setup_open_button_callback()
2554 to be more consistent and to save one string.
2557 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2560 Separate DKinds from CKinds.
2561 Don't generate macro tags for D, Java.
2564 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2566 * tagmanager/ctags.c, tagmanager/general.h:
2567 Make TagManager Assert statements cause g_warning on failure.
2568 * src/keybindings.c:
2569 Fix reflow paragraph command when cursor < anchor using
2570 sci_fix_selection().
2573 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2575 * tagmanager/perl.c:
2576 Fix Geany segfault with constant tags (#2895168).
2578 Fix invalid tree iter access when using tv_iters.tag_other but not
2579 using tv_iters.tag_variable.
2580 * HACKING, tagmanager/perl.c:
2581 Fix parsing Perl format statements ("other" type doesn't seem
2583 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2584 Fix using "other" tag type.
2587 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2590 Remove useless comment about applying settings only when libvte.so
2591 could be loaded which is only displayed *if* libvte.so is loaded.
2593 Allow autocompletion for HTML entities even within a word.
2594 * src/geanymenubuttonaction.c:
2595 Only set the menu of the button if a non-empty GtkMenu is passed to
2596 geany_menu_button_action_set_menu() so the menu arrow keeps
2600 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2603 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2606 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2609 Parse D functions with contracts (fixes #1885480).
2610 Parse D alias statement like typedef.
2611 (Ignore some more D keywords).
2613 Fix creating D interface tags properly.
2615 Parse contents of D extern{} and version{} blocks.
2618 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2624 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2626 * src/plugindata.h, HACKING:
2627 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2630 Show number of files saved on status bar when using Save All.
2631 * src/highlighting.c:
2632 Use default color scheme if pref color scheme file doesn't exist.
2633 * src/keybindings.c:
2634 Fix moving correct lines after selecting whole line(s).
2637 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2639 * tagmanager/makefile.win32:
2640 Fix broken build on Windows because of a typo
2641 (patch by Timothy Boronczyk, thanks).
2644 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2646 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2648 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2649 scheme files exist in a colorschemes config directory. Color scheme
2650 files must end in ".conf" and currently only the [named_styles]
2652 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2653 Add utils_get_config_files().
2654 * src/highlighting.c:
2655 Fix issue with default color not being reset if overridden with a
2656 system default color.
2657 * src/highlighting.c:
2658 Only reload filetype files when changing color scheme, not all
2659 configuration files.
2660 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2661 Deprecate documents_foreach() as it looks more like a function; use
2662 foreach_document() instead.
2663 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2666 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2668 * src/stash.c, src/stash.h:
2669 Use typedef instead of pointer for widget_id function arguments.
2672 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2674 * src/pluginutils.c:
2675 Don't expand Plugin Preferences page spacing vertically to fill the
2676 height of the dialog.
2677 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2678 geany.glade, plugins/splitwindow.c:
2679 Allow GeanyKeyBinding label field to contain underscores, which won't
2680 be displayed by Geany. This saves adding near-duplicate translation
2682 Add mnemonics for 3 Edit->Format menu items.
2683 Add keybindings_get_label().
2684 * src/interface.c, geany.glade:
2685 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2689 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2692 Desensitize Edit->Commands menu item when no docs are open.
2693 * src/interface.c, src/keybindings.c, src/callbacks.c,
2694 src/callbacks.h, geany.glade:
2695 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2696 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2697 Add general function sci_get_string() that works with any string
2698 buffer messages that follow the Windows message convention.
2699 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2700 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2701 src/pluginutils.c, src/pluginutils.h, geany.glade:
2702 Add 'Edit->Plugin Preferences' menu item and keybinding.
2703 Don't include plugindata.h in pluginutils.h because it redefines the
2704 GEANY() macro for plugin use.
2705 * doc/geany.txt, doc/geany.html:
2706 Update for Plugin Preferences keybinding.
2709 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2712 Sort document word completion list.
2713 * src/interface.c, src/keybindings.c, src/callbacks.c,
2714 src/callbacks.h, geany.glade:
2715 Add some useful commands to editor popup menu under "Commands"
2716 submenu (thanks to Lex).
2717 Move 'Duplicate line or selection' from Format -> Commands submenu.
2718 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2719 Enable switching the sidebar to the right on Windows again, as it
2720 apparently works after all.
2722 Fix using tab to autocomplete in some other situations that word part
2723 completion doesn't apply in.
2724 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2725 Add Edit->Commands submenu which is shared with the editor popup
2727 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2728 Change editor popup Commands submenu to start as child of menubar
2729 Edit menu, as this is more usual e.g. for keybindings initialization.
2730 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2732 Share a single Format submenu for menubar Edit and popup menu.
2735 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2738 Fix a compiler warning about an uninitialised variable.
2740 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2741 sciwrappers.h, build.h (for the Waf build system,
2742 accordingly to r4366).
2745 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2747 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2748 src/toolbar.c, src/toolbar.h:
2749 Add missing dox for types/files in the API.
2750 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2751 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2752 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2753 of functions not in the API).
2754 Warning: any plugins that include these headers should remove them.
2755 * src/build.c, src/build.h:
2756 Move function doc-comments to build.c so they stay in sync. Note:
2757 these functions are still not in the API.
2759 Add 'Doc-comments' plugin API subsection.
2760 * plugins/filebrowser.c:
2761 Fix packing configure widgets equally.
2762 Use spacing multiples of 6 as recommended by Gnome HIG.
2763 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2764 Disable switching the sidebar to the right on Windows as it will
2765 probably fail like the Split Window plugin.
2767 Improve 'Detect from file' indentation pref by ignoring lines with
2768 indentation wider than 24 characters as this is more likely to be
2769 alignment than indentation.
2772 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2774 * plugins/saveactions.c:
2775 Fix adding the filetype's default extension when using the
2776 Instant Save plugin (closes #2885142).
2778 Before looking for line and column numbers specified as part
2779 of a filename, ensure the file doesn't exist on disk. This allows
2780 opening of files like "test:0".
2782 Rename "select" variables into "selection" to avoid shadowed names.
2783 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2784 Add ui_widget_modify_font_from_string() and sci_goto_line()
2786 * plugins/filebrowser.c:
2787 Rename "select" variables into "selection" to avoid shadowed names.
2788 Make use of ui_widget_modify_font_from_string().
2791 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2793 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2794 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2796 Add sidebar position interface pref.
2799 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2801 * doc/geany.txt, doc/geany.html:
2802 Add missing underscores to links.
2805 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2807 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2808 Add 'Move line(s) up/down' keybindings.
2811 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2813 * src/build.c, src/build.h, src/filetypes.h:
2814 Include code for project filetype execute commands and fix bug in
2815 saving project filetypes list.
2816 * src/project.c, src/build.c, doc/geany.txt:
2817 Make non-project execute configuration save to filetypes not
2819 Fix closing of project failing to remove build commands dialog entry.
2822 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2824 * src/project.c, src/ui_utils.c:
2825 Set border width for project properties build table.
2826 * geany.glade, src/interface.c:
2827 Don't expand hard tab width alignment.
2830 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2832 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2833 doc/geany.txt, doc/geany.html:
2834 Support loading global tags files for custom filetypes.
2835 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2836 doc/geany.txt, doc/geany.html:
2837 Add 'Word part completion' keybinding so keys other than Tab can be
2838 used, or to clear/change the combination so Tab does full completion
2840 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2841 Add 'Select to previous/next word part' keybindings.
2842 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2843 Add 'Switch to Messages' focus keybinding.
2846 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2848 * doc/geany.txt, doc/geany.html:
2849 Add 'Custom filetypes' section.
2850 * src/filetypes.c, src/filetypes.h, src/document.c,
2851 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2852 tagmanager/include/tm_source_file.h:
2853 Add filetype "tag_parser" key so custom filetypes can use an existing
2855 Add tm_source_file_get_named_lang().
2856 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2858 Add filetype "lexer_filetype" key so custom filetypes can use an
2862 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2864 * THANKS, src/about.c:
2865 Add Xhacker Liu for his work at zh_CN translation to long list of
2869 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2871 * src/sciwrappers.c:
2872 Remove unnecessary line number margin padding.
2873 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2874 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2876 Improve word part autocompletion so AC list is not cancelled and
2877 reshown (this also stops the selection changing).
2878 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2880 Improve CamelCase word part autocompletion for runs of capital
2883 Don't complete snippets if there's a selection.
2886 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2889 Fix crash opening project when Geany started with no geany.conf.
2892 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2894 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2895 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2897 Add word part autocompletion for the current selected item when
2898 pressing Tab - Enter still completes normally.
2899 Add foreach_str() API macro.
2900 Temporarily modify scintilla to say if tab was used for
2902 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2903 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2904 plugins/classbuilder.c:
2905 Revert r4301 - utils_free_pointers() taking 4 arguments.
2906 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2907 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2908 plugins/splitwindow.c:
2909 Add highlighting_set_styles() to API, use for Split Window plugin so
2910 filetypes.common settings get set too.
2911 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2913 * src/document.c, src/editor.c, plugins/splitwindow.c:
2914 Call editor_apply_update_prefs() from editor_create_widget() so
2915 correct tab width and other settings are applied for Split Window
2919 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2921 * src/keybindings.c:
2922 Don't include trailing newlines when using reflow command.
2924 Add stock close buttons to notebook tab popup menu.
2925 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2926 plugins/geanyfunctions.h:
2927 Add document_get_notebook_page() to API.
2929 * data/templates/files/file.html, data/templates/files/file.php:
2930 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2931 * src/interface.c, src/ui_utils.c, geany.glade:
2932 Move Tools configuration items to top of menu.
2933 * src/keybindings.c, src/search.c:
2934 Fix warning when using Find in Files with no documents open; make
2935 keybinding work in this case.
2938 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2940 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2941 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2942 Make Split Window 'Show current document' button have a drop-down
2943 menu to select the other documents.
2944 Add new API function ui_menu_add_document_items().
2947 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2950 Fix sensitivity settings for compile and build toolbar items.
2953 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2956 Don't use filetype submenus for templates (slower to navigate, often
2957 only 1 per-filetype anyway).
2959 Put old filetype template menu items in 'Old' submenu as they should
2960 be removed after the 0.19 release.
2961 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2962 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2963 to be ignored if inappropriate so a later keybinding with the same
2964 key combination can intercept it. (Also group callbacks are usually
2965 tidier than separate callbacks).
2966 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2967 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2968 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2969 plugins/classbuilder.c:
2970 Make utils_free_pointers() take 4 arguments, add to API.
2971 * src/templates.c, src/tools.c, src/ui_utils.c:
2972 Fix memory leaks with gtk_container_get_children().
2975 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2978 Ensure that old style build config is not loaded if it does
2982 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2984 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2985 Added Galician translation.
2986 Thanks to José Manuel Castroagudín Silva.
2989 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2991 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2993 Apply set default encoding for existing files only if the files are
2994 non-Unicode (patch by Alexey Antipov, thanks).
2997 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2999 * src/highlighting.c:
3000 Move new_styleset() and preprocessor setup code into
3002 * src/highlighting.c:
3003 Call apply_filetype_properties() from styleset_c_like().
3006 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3008 * doc/geany.txt, doc/geany.html:
3009 Improve information about predefined keybindings which are
3010 commonly used across applications (patch by Lex Trotman, thanks).
3012 Enable embedded page setup properties in the (Unix) Print dialog
3013 on newer GTK versions (closes #2870596).
3014 * src/highlighting.c:
3015 Map global types (read from tags files) to keyword style for
3019 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3022 Fix wrong creation of filetype template menu items for custom
3024 * src/highlighting.c:
3025 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
3027 Group 'New with template' items by filetype submenu (currently only
3029 Show custom file template items before filetype template items.
3030 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
3032 Only use one 'New with template' submenu - reparent as needed.
3034 Don't create templates/filetype.none either.
3036 Warn if custom template file no longer exists.
3039 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3042 Add missing icon for Java packages in the Symbol List.
3045 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3047 * src/highlighting.c, data/filetypes.vala:
3048 Add Vala keywords to conf file.
3049 * src/templates.c, doc/geany.txt, doc/geany.html:
3050 Read custom file templates from $prefix/share/geany/templates/files
3051 as well as user dir.
3052 * src/templates.c, data/templates, data/templates/files,
3053 data/templates/files/file.rb, data/templates/files/file.html,
3054 data/templates/files/main.java, data/templates/files/main.c,
3055 data/templates/files/main.cxx, data/templates/files/file.php,
3056 data/templates/files/main.d, data/templates/files/program.pas,
3057 data/templates/files/main.py, data/templates/files/file.tex,
3058 wscript, Makefile.am:
3059 Move filetype template defaults into custom file template files.
3062 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3064 * src/symbols.c, tagmanager/perl.c:
3065 Change Perl tag parser to ctags SVN r601. This removes support for
3066 buggy local/my/our but it parses constant/format/labels and should
3067 be less buggy overall (closes #2861232).
3068 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3069 Add utils_get_file_list_full() which can optionally sort or include
3070 a full path for each list item.
3071 * src/utils.c, src/plugindata.h, src/plugins.c:
3072 Add utils_get_file_list_full() to API.
3075 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3077 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3078 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3079 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3080 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3081 po/POTFILES.in, wscript:
3082 Rename treeviews.[hc] -> sidebar.[hc].
3083 * data/filetypes.common:
3084 Remove unused [styling] arguments.
3085 * src/highlighting.c, data/filetypes.markdown,
3086 data/filetypes.restructuredtext:
3087 Remove style defaults from the code - just read them from
3088 configuration files.
3089 * src/highlighting.c, HACKING:
3090 Add apply_style_entries() to simplify implementing styleset_foo().
3091 * src/highlighting.c:
3092 Remove filetype keyword defaults from the code - just read them from
3093 configuration files.
3094 * src/highlighting.c:
3095 Add sci_set_keywords() wrapper.
3098 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3100 * scripts/create_py_tags.py:
3101 Make the code a bit more pythonic.
3102 * doc/images/build_menu_commands_dialog.png,
3103 doc/images/main_window.png:
3104 Add new images referenced in the documentation.
3105 * doc/geany.html, doc/geany.txt:
3106 Several documentation improvements (patch by Lex Trotman, thanks).
3107 * src/pluginutils.c:
3108 Fix setting the appropriate page of the combined plugins
3112 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3114 * src/keybindings.c:
3115 Only focus toolbar goto line entry when pressing keybinding if it's
3116 visible (patch by Eugene Arshinov, thanks).
3118 Focus editor after entering a number in the goto line toolbar entry.
3120 Use AC_PATH_PROG instead of which for portability (patch by Erik
3121 Southworth, thanks).
3123 Show plugins that only implement plugin_configure_single() in the
3124 multiple-configure dialog as a page with a configure button on it.
3125 Add padding for multiple-configure dialog.
3126 Make the multiple-configure dialog notebook tabs scrollable.
3127 * src/pluginutils.c, src/pluginutils.h:
3128 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3129 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3130 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3131 plugins/geanyfunctions.h, plugins/filebrowser.c:
3132 Add plugin_show_configure() API utility function.
3133 Add File Browser popup menu 'Preferences' item.
3134 * src/highlighting.c:
3135 Add get_keyfile_ints() instead of using tmp_style hack.
3136 * src/highlighting.c, data/filetypes.xml:
3137 Change new html_asp_default_language markup pref to use integer,
3138 not hex in config file.
3139 Fix minor issue with changing pref back to 0.
3140 * src/highlighting.c:
3141 Fix possible segfault in get_keyfile_int() if key value is malformed.
3144 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3146 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3147 Add "html_asp_default_language" pseudo style to filetypes.xml
3148 to allow setting the used language in embedded ASP code
3149 (patch by Ross McKay, thanks).
3150 * src/filetypes.xml:
3151 Update VBScript keywords (patch by Ross McKay, thanks).
3154 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3156 * src/keybindings.c, THANKS:
3157 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3158 keybinding use line breaking column when enabled.
3160 Fix showing the document before reload dialog when opening an
3162 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3163 Add plugin_configure_single() plugin symbol which is easier to
3164 implement than plugin_configure() but won't support a
3165 multiple-plugin configure dialog.
3167 Show multiple plugins in the 'Configure Plugins' dialog.
3170 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3172 * doc/geany.txt, doc/geany.html:
3173 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3175 * doc/geany.txt, doc/geany.html:
3176 Add 'Toolbar entries' section.
3177 * doc/geany.txt, doc/geany.html:
3178 Update 'Go to line' keybinding description.
3179 * doc/geany.txt, doc/geany.html:
3180 Split keybinding table into group tables; update KB links.
3183 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3186 Fix compiler warnings about uninitialised variables.
3187 * src/callbacks.c, src/document.c:
3188 When reloading files, use the previously set encoding instead of
3189 detecting it again (closes #2862041).
3191 Turn on automake silent rules if supported.
3194 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3197 Speed up sorting in utils_get_file_list(). This reduces the file
3198 browser delay on displaying a big directory, e.g. /usr/bin.
3200 Expand command entry width when expanding Build Commands dialog.
3202 Split Build Commands dialog notes label and edit text.
3204 Add padding for Build Commands dialog separators.
3205 Add colons for regex field labels; fix 1 capitalisation.
3207 Fix none filetype Build Commands dialog label.
3208 Make group labels bold.
3209 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3211 Add & use ui_label_set_markup(), ui_label_new_bold().
3212 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3213 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3214 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3215 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3216 * src/keybindings.c:
3217 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3220 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3222 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3223 tagmanager/parsers.h, tagmanager/makefile.win32,
3224 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3225 data/filetype_extensions.conf, wscript:
3226 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3228 Merge recent changes from the CTags project to further improve
3232 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3235 Fix wrong alignment of printed pages when page headers are
3236 disabled (closes #2856822).
3237 Plug a small memory leak and improve function signature of
3240 Save an if expression.
3242 After clearing a text field using the embedded clear icon, put the
3243 input focus into this text field.
3246 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3248 * plugins/filebrowser.c:
3249 Free file list memory whilst iterating the list.
3250 Minor formatting fixes.
3251 * src/utils.c, src/utils.h:
3252 Add foreach_dir() API macro.
3253 Update API docs for utils_get_file_list().
3254 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3256 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3257 Beep if there are no more snippet positions.
3258 Limit length of snippet positions queue to 20.
3261 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3263 * src/keybindings.c, src/callbacks.c, src/search.c:
3264 Make Goto Tag commands use the current selection if present (useful
3265 for selecting part of a tag or for ReST section names with spaces
3268 Don't move the cursor when reloading.
3269 * src/plugindata.h, src/editor.c, src/editor.h:
3270 Make editor_prefs.snippets hash table private (not a pref).
3273 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3276 Remove deprecated --debug flag. Please use --verbose/-v instead.
3279 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3282 Show Find in Files stderr output in messages window instead of
3283 debug window so that invalid regex messages can be seen easily.
3284 Combine FIF stdout and stderr callback code.
3287 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3290 Fix opening filenames beginning with two dots (closes #2858487).
3291 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3292 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3293 data/filetypes.common, geany.glade:
3294 Update syntax highlighting after changing the 'Invert syntax
3295 highlighting colors' pref, instead of requiring a restart.
3296 Remove filetypes.common invert_all option - use 'Invert syntax
3297 highlighting colors' pref instead (closes #2854525).
3298 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3299 Add 'Allow' button when showing the conflicting keybinding dialog.
3300 Make dialogs_show_question_full() use GTK dialog on Windows if
3301 button text is not the stock yes/no items.
3302 Add dialogs_show_prompt() which also has an 'Apply' button.
3303 * src/queue.c, src/queue.h:
3304 Add warning that GeanyQueue may be removed.
3305 * src/keybindings.c, src/editor.c, src/editor.h:
3306 Change snippet_goto_next_cursor() to
3307 editor_goto_next_snippet_cursor() as it's in editor.h.
3308 Avoid using GPOINTER_TO_INT macro.
3311 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3313 * src/keybindings.c:
3314 Fix 'Reflow block' command when at the last paragraph and there's
3315 no last newline (patch by Eugene Arshinov, thanks).
3317 Add 'Compiler options & warnings' section.
3318 Update Style section to be clearer about code alignment and show
3323 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3325 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3326 src/plugindata.h, src/plugins.c, src/editor.c,
3327 plugins/geanyfunctions.h:
3328 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3329 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3331 Add sci_toggle_marker_at_line().
3332 Fix SciFuncs alignment.
3335 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3338 Fix erroneous free of returned string in prepare_run_script.
3341 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3343 * data/filetypes.latex:
3344 Changing default value for showing pdf and dvi to ensure to take
3345 *.pdf and *.dvi file.
3348 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3350 * src/about.c, THANKS:
3351 Change language string for Slovenian translation.
3354 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3356 * tagmanager/txt2tags.c:
3357 Fix multi-byte character constant comparison.
3359 Fix Gtk warning when trying to update documents popup menu item
3360 sensitivity before they exist.
3363 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3366 Improve the opening string in the plugin manager dialog.
3368 Use "max-width" to set the document width of the generated
3369 HTML documentation to let the text be auto-wrapped.
3370 * src/prefs.c, src/tagmanager/include/guregex.h,
3371 src/tagmanager/include/tm_tagmanager.h:
3372 Remove trailing spaces (patch by André Hentschel, thanks).
3374 Fix a compiler warning.
3376 Fix crash when opening documents.
3377 * src/build.c, src/build.h, src/project.c:
3378 Adjust coding style (no code changes).
3379 * src/build.c, src/project.c:
3380 Use NZV() macro instead of strlen() to check for empty strings.
3381 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3382 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3383 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3384 src/plugins.c, THANKS:
3385 Add new plugin signal: "document-before-save".
3386 Add get_line_end_position(), set_target_start(), set_target_end(),
3387 replace_target() to the plugin API
3388 (patch by Eugene Arshinov, thanks).
3389 Add new plugin signal: "document-filetype-set" (closes #2852286).
3390 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3391 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3392 tagmanager/Makefile.am, tagmanager/makefile.win32,
3393 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3395 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3398 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3400 * src/treeviews.c, src/document.c:
3401 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3402 Use gtk_notebook_set_current_page() instead of
3403 document_open_file_full() when choosing an item from the documents
3405 Avoid using goto in document_open_file_full().
3408 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3410 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3411 Enable type-ahead find for sidebar symbols and documents tabs
3412 (patch by Thomas Martitz, thanks).
3414 Fix 2 free's of possibly uninitialized pointers.
3417 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3419 * src/build.c, src/filetypes.h, src/filetypes.c:
3420 Only write filetype config files when build command or regex is
3421 actually changed. Removed commented code in src/filetypes.c.
3423 Ensure uses of filename are protected against nulls when running
3424 a build command and give status message if not.
3427 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3430 Remove plugin from plugin manager dialog on unloading if it no
3431 longer exists or is incompatible.
3434 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3437 Add warning if only one of the plugin_key_group[_info] symbols is
3438 defined for a plugin.
3439 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3440 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3442 Merge custom-filetypes branch:
3443 Support adding custom filetype files e.g. filetypes.Foo.conf.
3445 Allow GeanyFiletype::extension to be NULL.
3446 Add note about using GeanyFiletype pointer instead of filetype_id
3447 for filetypes.c function arguments.
3448 Replace styleset_none() with styleset_default().
3451 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3454 Show the sidebar if either the documents or the symbols list are
3455 enabled (related to #1876107).
3458 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3460 * src/build.c, src/filetypes.c:
3461 Fix compiler warnings.
3463 Fix removing leading double slashes in filenames which are used for
3464 network resources on Windows (closes #2844085).
3467 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3469 * src/keybindings.c:
3470 Fix Make keybindings (patch by Lex Trotman, thanks).
3472 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3474 Mention Files link at top for header files; demoplugin.c.
3475 Minor edits; remove 'far from being complete'.
3476 * src/keyfile.c, src/keyfile.h, src/main.c,
3477 data/filetype_extensions.conf, HACKING:
3478 Remove --generate-data-files argument & code - just edit
3479 filetype_extensions.conf by hand (filetype order was broken
3481 Add *.H extension for C++ (useful for non-Windows systems).
3484 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3487 Fix implementation of loading old project files with base
3488 directories. Use project_make_base_path instead of re-
3489 implementing. Now depends on project.c reading base dir
3490 prior to calling load_build_menu.
3492 Change usage of project base directory to conform with
3493 previous documented behavior when loading old project files.
3495 Change make custom and make object to ignore make in base path
3496 when reading old project file settings. Changed some indent
3497 spaces to tabs. Fix missing compile menu accelerator.
3500 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3503 Add warning about not using undocumented features.
3504 Add reference to HACKING for plugin API development.
3506 Add section 'Plugin API/ABI design'.
3507 * src/keybindings.h, src/makefile.win32, src/project.h,
3508 src/filetypes.h, src/Makefile.am, wscript:
3509 Use GEANY_PRIVATE to hide some fields from plugins.
3511 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3512 * src/build.c, src/build.h, src/project.c:
3513 Use build_ prefix for 3 functions in build.h; add a static modifier.
3516 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3519 Improve parsing of PHP functions by requiring a valid modifier or
3520 whitespace before the 'function' keyword to ignore some false
3521 positives like function tags inside comments
3522 (patch by Harold Aling, thanks).
3523 * tagmanager/python.c:
3524 Don't parse comments after import statements and other tags
3525 (closes #2838938, patch by Huandari Lopez, thanks).
3528 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3530 * data/filetypes.markdown:
3531 Add filetypes.markdown for configuration (thanks to Jon Strait).
3532 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3533 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3534 plugins/geanyfunctions.h:
3535 Remove GeanyKeyGroup struct from the API - plugins should not set
3537 Make keybindings_set_item() duplicate the name and label fields
3538 (needed by GeanyLua) and return a keybinding pointer.
3539 Add keybindings_get_item() to the API (in case it's useful).
3540 Move some keybinding code out of plugin source files.
3543 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3545 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3546 Don't generate build.h API docs until everything is approved and
3547 functions are actually in geany_functions.
3548 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3549 as they may be changed or made private later.
3550 Break ABI for fields removed.
3553 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3555 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3556 src/keyfile.c, src/project.c:
3557 Changed names of symbols visible in build API to GEANY_xxx.
3560 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3562 * src/project.h, src/project.c, src/build.c:
3563 Remove make_in_base_dir and run_cmd fields from project structure.
3564 Replaced by build functionality. Remove incorrect use in src/build.c
3565 build_run_cmd function.
3568 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3570 * src/project.h, src/project.c:
3571 Removed unused project_get_make_dir function, this is now per
3575 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3577 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3579 Fix some more warnings.
3580 Fix commented out execute/stop toolbar code in build.c.
3581 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3582 Changed build.h api so all functions prefixed with build_.
3585 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3587 * src/build.c, src/build.h, src/project.c:
3588 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3591 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3594 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3595 strings when reading old format configuration & project files.
3596 * src/build.c, src/project.c:
3597 Fixed GLib array assertion warnings when no project filetypes are
3598 available to be saved.
3600 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3606 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3608 * src/build.h, src/build.c, src/project.c:
3609 Created and documented plugins interface to build menu.
3610 Factored out new get_cmd_group function.
3611 Changed name of remove_command function to be consistent with the
3612 rest of the interface & changed calls in project.c.
3613 * src/Makefile.am, wscript:
3614 Added build.h to installed files lists.
3616 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3619 Updated manual to match build-menu capability.
3622 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3624 * src/build.c, src/build.h:
3625 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3626 Improved interpretation of run_in_base_dir from old [build-settings]
3627 Added spacing to build commands dialog
3629 Removed run in base path option from project dialog and added button
3630 to set working directories to d the same.
3633 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3636 Re-incorporated toolbar changes in trunk accidently excluded in merge
3638 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3641 Fixed substitute %f etc in commands
3642 Fixed potential leak in build_replace_placeholder
3643 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3644 Fixed build_replace_placeholder to not require document.
3646 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3648 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3649 Fixed crash and lots of warnings, deleted some commented out code.
3650 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3651 Removed make command from preferences and associated code
3653 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3655 * src/build.c, src/build.h:
3656 Incorporated patch for working directory field (thanks Thomas)
3657 Removed run_in_base_dir option and associated code that it replaces
3658 Improved handling of old config files and mapping to new ones.
3660 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3662 * src/build.h, src/build.c:
3663 Changed to itterate over entries in build commands dialog to allow
3664 additional fields to be added
3665 Implement support for multiple run commands
3666 * data/filetypes.latex:
3667 Implement configured commands and labels for latex.
3670 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3672 * src/build.h, src/build.c:
3673 added dialog support for error regular expressions from multiple
3674 sources and storing and loading them fixed some typos and memory
3676 * src/filetypes.c, src/filetypes.h, project.c:
3677 added support for using error regexes from multiple sources
3680 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3682 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3684 Removal of build menu item source made redundant by the following fix
3686 Corrected priority oreder and loading of filetype dependent build
3687 menu items saved in the project file. Added print routine for
3688 debugging command sources and priorities set compile symbol
3689 PRINTBUILDCMDS true to enable
3691 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3694 fixed problem loading old format filetype files, some formatting
3695 fixes fixed saving new format files
3696 added operation for clear button on build commands dialog
3698 fixed loading and saving filetype files
3701 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3703 Configurable Build Menu Changes
3705 * doc/geany.html, doc/geany.txt:
3706 Updated build menu section to new functionality
3707 * src/build.h, src/build.c:
3708 Largly re-written, configurability added, Latex code removed
3709 * src/filetypes.h, src/filetypes.c:
3710 Filetype structure updated to add new command pointers, configuration
3711 load and store changed
3712 * src/keybindings.h, src/keybindings.c:
3713 Changed to address new command storage structure.
3715 Changed to load/store new configuration.
3717 Minor change to initialisation order.
3719 Changed to address new menu item storage structure.
3720 * src/project.h, src/project.c:
3721 Changed to load/store the new configuration info.
3723 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3725 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3726 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3727 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3728 plugins/splitwindow.c:
3729 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3730 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3731 the ABI when adding fields to them.
3732 Add plugin_set_key_group() for plugins to dynamically set a
3733 keybinding group (e.g. for the Lua script plugin). Used in Split
3734 Window plugin as an example.
3735 Improve keybinding docs a little.
3738 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3740 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3741 Add geanyfunctions.h to API docs.
3742 * plugins/splitwindow.c:
3743 Set the cursor color for the split window.
3746 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3749 Fix 'Open Selected File' for unsaved new documents.
3750 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3751 Fix updating main menu accelerators after changing keybindings
3752 (thanks to Lex Trotman).
3754 Fix using 'Insert date' keybinding when a custom date string has
3756 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3757 Merge Plugin and GeanyPluginPrivate structs.
3760 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3762 * src/keybindings.c:
3763 Fix non-working Home and End keys on numpads.
3766 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3768 * doc/geany.txt, doc/geany.html, NEWS:
3769 Add 'Scope autocompletion' section.
3770 Add 'Tools menu items' section to explain configuration files
3771 submenu, reload configuration item.
3772 Minor updates/fixes.
3775 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3778 Add a translation hint to an ambiguous format string.
3780 Add missing include path to fix 'make distcheck'.
3782 Fix opening of local files in the browser on Windows.
3783 * New release: Geany 0.18 "Kaine".
3784 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3785 src/geany.h, doc/geany.html, doc/geany.txt:
3786 Post-release version bump.
3789 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3792 Temporarily disable reshowing calltips when the autocompletion
3793 list was closed implicitly by not choosing an item to fix
3794 problems with wrongly displayed calltips.
3796 Add missing 'coding' cookie to the Python filetype template.
3797 * doc/images/pref_dialog_edit_completions.png,
3798 doc/images/pref_dialog_toolbar.png:
3799 Update images for Geany 0.18.
3802 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3805 Add command '--hackingdoc' to create the HTML form of the
3809 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3811 * po/pt_PT.po, po/LINGUAS:
3812 Added a first Portugese (Portugal) translation based on work done at
3813 launchpad by e.g. André Glória and Alexandre Jesus.
3814 * src/main.c: Fix a minor typo on --help call.
3817 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3819 * src/highlighting.c:
3820 Call get_keyfile_wordchars() in highlighting_init_styles().
3823 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3825 * data/filetypes.ada:
3827 * src/keybindings.c:
3828 Switching notebook tabs now works for the currently used notebook
3829 widget instead of always using the documents notebook.
3830 * src/document.c, src/document.h, src/documentprivate.h,
3832 Small corrections to some API docs.
3835 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3837 * src/build.c, src/win32.h, src/win32.c:
3838 Expand system environment variables (%variableName%) on Windows when
3839 running Build commands.
3842 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3844 * src/keybindings.c:
3845 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3846 future using an indent block is more useful e.g. for ChangeLog
3848 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3849 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3850 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3851 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3852 tagmanager/parsers.h, tagmanager/makefile.win32,
3853 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3854 Add Markdown filetype (patch by Jon Strait, thanks).
3855 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3856 Fix disconnecting plugin signal id when not using geany_object.
3858 Add filetype_make_title() instead of using:
3859 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3860 It also supports "%s file" strings.
3863 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3865 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3866 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3867 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3868 plugins/filebrowser.c:
3869 Add plugin_signal_connect() for connecting plugin signals at
3870 runtime and also for connecting to any GObject signal.
3871 Add 'Plugin Utility Functions' on main page.
3872 Add foreach_array() macro.
3873 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3874 src/document.c, src/editor.c:
3875 Rename 3 sci functions to sci_set_target_start(),
3876 sci_set_target_end(), sci_replace_target() to match the SCI_
3880 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3882 * wscript: Fix compiling error with waf.
3885 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3887 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3888 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3889 src/Makefile.am, wscript:
3890 Move plugin_* utility functions to pluginutils.c.
3891 Add pluginprivate.h.
3893 Fix reshowing calltip in the wrong document.
3896 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3898 * doc/geany.txt, doc/geany.html:
3899 Add some general information about auto-completion capabilities
3900 (patch by Lex Trotman, thanks).
3903 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3905 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3906 Added a first Slovenian translation. Thanks to Joze Klepec.
3909 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3911 * src/highlighting.c:
3912 Use full styleset_foo[_init] function name as argument to
3913 init_styleset_case() and styleset_case() macros so it's easier to
3914 understand the code.
3915 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3916 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3917 doc/geany.txt, doc/geany.html:
3918 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3919 Heavily based on a patch by Eugene Arshinov (thanks).
3920 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3921 editor_strip_line_trailing_spaces().
3924 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3927 Attempt to fix reshowing calltips after the autocompletion list
3929 Reshow calltips also when the autocompletion list was closed
3930 implicitly by not choosing an item.
3932 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3934 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3935 plugins/splitwindow.c:
3936 Change utils_str_remove_chars() to work in place; fix allocating on
3937 the stack (the string length could exhaust the stack size).
3938 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3939 src/printing.c, src/callbacks.c:
3940 Rename utils_str_replace() utils_str_replace_all(), setting a
3941 'gchar **haystack' argument instead of returning a new string.
3943 For the Tabs indent type, remove spaces when unindenting (only) if
3944 there are no tabs on the line.
3945 Group undo actions for (un)indenting of multiple lines.
3946 * src/document.c, src/editor.c:
3947 Fix scrolling horizontally after finding a search match with the
3948 search bar or Find Next/Previous which is off-screen.
3949 * src/keybindings.c:
3950 Fix GLib warning when pressing a key with no documents open.
3953 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3956 Start unifying usage of @a and @c markup elements in API docs,
3958 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3959 Show/hide the toolbar without a restart when the setting in the
3960 preferences dialog is changed (closes #2824785).
3961 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3962 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3963 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3965 Continue unifying usage of @a and @c markup elements in API docs.
3968 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3971 Remove relative/untidy path elements when creating new documents
3972 with a filename (e.g. from the command-line) (#2823998).
3975 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3978 Disable 'Recent Projects' menu item if the list of recent projects
3981 Fix some harmless compiler warnings.
3982 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3983 src/plugins.c, src/utils.c, src/utils.h:
3984 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3985 src/utils.c and add it to the plugin API.
3986 Make utils_str_remove_chars() work on a new copy of the input string
3987 instead of modifying it in place.
3989 Remove underscores from the toolbar items labels.
3992 * plugins/splitwindow.c:
3993 Fix broken 'Show the current document' tool button icon.
3996 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3998 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
4000 Add stash_group_add_widget_property() so we can save any widget's
4001 read/write properties.
4002 Use Stash for ui_prefs.sidebar_page setting.
4003 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
4004 Make foreach_ptr_array() use an integer argument for its
4005 implementation, as this is more useful potentially than a gpointer*
4006 argument, and more straightforward.
4007 Add foreach_c_array(), foreach_ptr_array() to API.
4008 * src/utils.c, src/utils.h, src/document.c:
4009 Remove relative/untidy path elements when opening documents (closes
4012 Fix showing project name for documents list files with no
4013 subdirectory (oops).
4015 Fix checking whether to overwrite when using the Rename button in
4016 the 'Save As' dialog.
4019 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4022 Don't use the main window as parent for dialog boxes if it is not
4024 Set titles for message dialogs.
4027 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4030 Display item labels instead of raw names in the toolbar editor.
4031 Apply changes in the toolbar editor instantly.
4032 Show icons in the toolbar editor.
4033 Speed up toolbar editor dialog creation.
4035 Improve inserting of comment templates like File header or licence
4036 notices. The comment information are now read from the filetype
4037 configuration files.
4039 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4042 Enable file monitoring for files which are written to disk by Geany
4045 Fix broken special case handling when detecting filetypes from a
4046 shebang or other special file headers.
4049 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4052 Make Mark All keybinding clear search highlighting when there's no
4055 Fix wrong match length when using Mark with regex.
4056 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
4057 src/keyfile.c, src/main.c:
4058 Add 'Show Paths' documents list popup item.
4059 Add "load_settings" core-only signal emitted just after loading
4060 main keyfile settings; useful to delay building UI elements until
4061 settings have been read.
4063 Fix GTK warning when right-clicking on default tag tree.
4064 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
4065 Add treeviews_finalize().
4066 Remove tv.popup_openfiles field.
4069 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4071 * src/highlighting.c:
4072 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4075 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4078 Quote the uri before passing it to the browser when opening a
4079 website (closes #2818635).
4081 Fix broken 'builtin' Run command for HTML files on Windows.
4084 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4087 Properly fix wrong brace highlighting of non-brace character.
4089 Allow autocompletion in Perl double-quoted strings.
4090 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4091 Don't autocomplete in Perl q() strings.
4092 * data/filetypes.common:
4093 Make Mark highlighting brighter.
4094 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4095 Use hyphen for auto-feature terms.
4096 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4097 src/document.h, src/main.c:
4098 Add documents_foreach() API macro that skips invalid docs.
4099 Make filetypes[], documents[] part of the API again.
4100 Add GEANY() macro for sharing geany symbols between API and core.
4101 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4102 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4103 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4104 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4105 plugins/classbuilder.c, wscript:
4106 Add geanyplugin.h single include for plugin API; update all core
4108 Add sci_set_font() to API.
4109 Update plugin howto.
4110 * src/filetypes.c, src/filetypes.h:
4111 Remove filetypes_foreach_named().
4114 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4116 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4117 src/document.h, src/main.c, THANKS:
4118 Apply patch from Eugene Arshinov to reload color schemes via menu
4121 Reload filetypes.common after saving it.
4123 Improve wrong brace highlighting of non-brace character.
4126 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4129 Delay highlighting matching braces by 100ms, which speeds up
4130 scrolling with the arrow keys.
4131 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4132 Add 'Mark All' keybinding.
4133 * tagmanager/diff.c:
4134 Show relative paths in diff filename tags.
4137 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4139 * src/highlighting.c:
4140 Fix setting keyword list 'classes' for Haxe
4141 (pointed out by Andreas Mokros, thanks).
4144 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4146 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4147 doc/geany.txt, doc/geany.html, geany.glade:
4148 Add 'Drop rest of word on completion' pref.
4149 * src/editor.c, doc/geany.txt, doc/geany.html:
4150 If autocompletion is already visible when forcing completion, show
4151 document word completion instead of tag completion.
4152 Docs: Minor edits of related prefs items.
4153 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4154 Add warning when printing and editor font is not monospaced.
4155 Fix using GtkMessageType instead of gint param for
4156 dialogs_show_msgbox*().
4157 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4159 Support 'tab indents, space aligns' style for auto-indentation
4163 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4165 * src/document.c, src/documentprivate.h:
4166 Rework the GIO based file monitoring code. Now it is used only
4167 to indicate a possible change of the file, the real check if the
4168 file has been changed is performed by stat().
4169 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4170 Add style 'line_height' to increase the line height.
4171 Add style 'marker_mark' and change style 'marker_search' to
4172 define the style used for marked search results.
4173 * doc/geany.txt, doc/geany.html:
4174 Add the new 'Autocomplete all words in document' pref to the docs.
4177 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4179 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4180 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4181 Add 'Autocomplete all words in document' pref.
4182 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4184 Fix limiting number of word completion entries too much.
4185 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4186 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4187 Show autocompletion icons for tag symbols - for now only tags with
4188 an arglist have the 'function/method' icon, all others have the
4190 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4192 * src/highlighting.c:
4193 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4197 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4199 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4200 Fix removing underscores in translated string using no_underscore()
4202 Set a tooltip for the Split Window plugin's Show Current tool button.
4203 Add utils_strdupa() macro.
4204 * src/interface.c, geany.glade:
4205 Use stock Select All icon now we have >= GTK 2.8.
4207 Fix using project name for document items that start with the
4208 project base path but don't match it e.g. ".../geany-plugins"
4209 instead of ".../geany" when project name is 'geany'.
4212 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4215 Fix warnings when the toolbar does not contain the Run button.
4217 Fix wrong parsing of complex expressions in the Lua parser.
4218 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4220 Remove unnecessary enums.
4221 * scintilla/*, scintilla/include/*, src/plugindata.h:
4222 Update Scintilla to version 1.79.
4223 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4225 Use the new Scintilla struct names prefixed with 'Sci_'.
4226 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4228 Add second argument to the 'line_wrap_indent' styling setting to
4229 control the new Scintilla indentation mode for wrapped lines.
4231 Properly close the toolbar editor on delete-events.
4232 Fix warnings and possible crashes in the toolbar editor when the list
4233 of displayed toolbar items is empty.
4234 * data/filetypes.tcl:
4235 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4237 Make the plugin manager dialog a bit bigger.
4240 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4242 * doc/geany.html, doc/geany.txt:
4243 Fix wrong default values for the 'Show Calltip' keybinding.
4246 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4248 * data/filetypes.tcl, src/symbols.c:
4249 Fix duplicate "context_action_cmd" key.
4250 Use different icons for "Methods" and "Procedures" in the symbol
4253 Fix a small memory leak.
4254 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4255 src/keybindings.h, src/plugindata.h:
4256 Make the Scintilla keybindings 'Delete to end of line' and
4257 'Go to end of display line' configurable.
4259 Fix a typo (closes #2813624).
4262 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4264 * tagmanager/tcl.c, src/symbol.c:
4265 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4266 methods and namespaces).
4267 Patch by Witek Mozga, thanks.
4270 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4272 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4273 src/toolbar.c, src/toolbar.h:
4274 Remove ui_toolbar.xml Configuration Files menu item.
4275 Add a real toolbar editor dialog.
4276 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4278 Add a button in the preferences dialog and an item for the toolbar
4279 popup menu to run the toolbar editor dialog.
4282 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4285 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4286 Fix using locale encoding for default Save As dialog path.
4288 Beep when trying to activate the '...' autocompletion item.
4289 Limit (forced) document word completion to
4290 autocompletion_max_entries.
4291 Beep if no completions are shown when forcing autocompletion.
4294 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4296 * data/ui_toolbar.xml, src/toolbar.c:
4297 Add 'Build' toolbar button to the default layout.
4300 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4303 If forcing autocompletion and there's nothing else to show, complete
4304 from words in the current document (using code from Enrico's
4305 'AutoComplete Test' plugin).
4308 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4311 Add debug message if plugin has not set a name for its keybinding
4313 * data/filetype_extensions.conf:
4314 Add *.m4 for shell scripts.
4317 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4319 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4320 data/filetypes.common, TODO:
4321 Make filetypes.common named styles use the "default" named style for
4322 all missing style fields.
4323 Set named styles to usually leave the background style empty. This
4324 currently allows C-like filetypes to have a common default
4326 Allow hard-coded colors to use -1 for the default color.
4327 Add some highlighting style examples to the manual.
4330 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4333 Create initial template files with proper platform-specific line
4337 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4339 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4340 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4341 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4342 src/ui_utils.c, src/ui_utils.h:
4343 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4345 Refactor some related code.
4346 * tagmanager/conf.c:
4347 Strip trailing spaces from "Key" tags.
4349 Quote the full filename to the Geany executable when creating the
4350 "Open with Geany" context menu item.
4351 * plugins/splitwindow.c:
4352 Avoid using deprecated GTK API.
4353 * src/log.c, src/main.c:
4354 Properly clean up the logging mechanism.
4356 Fix LaTeX view commands on Windows (part of #2807688).
4358 Add a popup menu for the keybinding list in the preferences dialog
4359 to easily expand and collapse all groups.
4360 Refactor the keybindings code for the preferences dialog, prefix all
4362 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4363 Init stock items before creating the toolbar (closes #2809324).
4365 Generate the geany.pc file also on Windows.
4367 Invert the logic to determine which Save All we want to use:
4368 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4369 like icon for any other themes.
4372 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4374 * src/highlighting.c, README.Packagers, HACKING:
4375 Remove gsd_* default styles, use named styles instead.
4376 Note: this relies on filetypes.common being installed.
4377 Add load_style_entries(), which makes style initialization
4378 simpler, used in styleset_c_like_init().
4381 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4384 Prevent possible crash on Windows when not setting an initial
4385 directory for native File Open/Save dialogs.
4386 * data/filetypes.xml, src/highlighting.c:
4387 Add style 'jscript_regex' for filetype HTML
4388 (patch by Chris Macksey, thanks).
4391 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4393 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4394 Make GeanyDocument::file_type always be non-NULL, even for a new
4395 document with no filetype set.
4397 Only autocomplete scope for scopes matching the current filetype's
4399 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4400 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4401 data/filetypes.actionscript, data/filetypes.cs,
4402 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4403 data/filetypes.javascript, HACKING:
4404 Make C++, D lexer filetypes use named styles (apart from uuid,
4405 verbatim, regex styles).
4408 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4411 Don't explicitly change the current directory of the Save As dialog
4412 so that it uses the last used directory.
4415 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4417 * src/encodings.c, src/encodings.h, src/plugindata.h:
4418 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4421 When completing from the macro list, put the cursor after
4425 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4427 * tagmanager/pascal.c:
4428 Fix type definitions being parsed as functions.
4430 Don't autocomplete in unterminated strings as well.
4431 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4432 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4433 Remove data_ptr argument to foreach_[s]list() macros, as using
4434 node->data is enough sometimes; this makes the macro a bit more
4436 Add foreach_[s]list() macros to the plugin API docs.
4439 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4441 * scintilla/LexPascal.cxx:
4442 Backport fix from Scintilla CVS:
4443 Pascal lexer hanging on file that starts with 'interface' after
4447 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4450 Update Waf to 1.5.7.
4452 Overwrite installation prefix on Windows only if it wasn't
4453 specified explicitly.
4456 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4459 Display calltips for Pascal symbols in the Pascal way (#2803945).
4460 * tagmanager/pascal.c:
4461 Fix wrongly set return values for procedures (closes #2803945).
4462 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4463 tagmanager/include/tm_source_file.h,
4464 tagmanager/include/tm_workspace.h:
4465 Fix doxygen warnings.
4468 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4470 * src/editor.c, tagmanager/include/tm_workspace.h,
4471 tagmanager/tm_workspace.c, TODO:
4472 Autocomplete scoped fields like struct members when typing '.' (and
4473 also '->' or '::' in C/C++).
4474 Save all tag types for C/C++ when generating a global tags file, so
4475 we can use autocompletion for structs also.
4476 Merge tm_workspace_find_scope_members(),
4477 tm_workspace_find_namespace_members() (currently not built) from
4478 Anjuta 2.24.1 tagmanager.
4481 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4483 * tagmanager/pascal.c:
4484 Parse Pascal calltips (closes #2802640).
4487 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4489 * src/filetypes.c, src/ui_utils.c:
4490 Add filetypes.common Configuration Files menu item.
4493 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4496 Add backslash to the wordchars on Windows when using
4497 'Open Selected File'.
4499 Add support (configure, build and install) for building on Windows
4500 and cross-compiling for Windows using the Waf build system.
4503 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4506 Set status bar text instead of showing a dialog when saving
4507 ui_toolbar.xml because the user might save several times.
4509 Fix redrawing due to colourising just after the document is first
4510 drawn. Now colourising should happen before the first draw.
4511 * src/utils.c, src/highlighting.c, data/filetypes.common:
4512 Fix segfault on parsing a filetypes.* style definition that has < 4
4514 Allow style definitions to have missing fields to use the default
4518 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4520 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4521 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4522 * plugins/classbuilder.c:
4523 Fix wrongly created header guards when the class filenames contains
4524 dashes (patch by PCMan, thanks).
4525 * data/filetypes.matlab:
4526 Add build_settings section to allow executing Matlab scripts.
4528 When closing a document, mark it as invalid before removing it from
4529 the documents notebook (this fixes wrong Save All button state when
4530 closing an unsaved document because the "switch-page" signal handler
4531 was using old data).
4534 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4536 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4537 Support toggling bold/italic when using a named style, e.g.:
4538 commentdockeyword=commentdoc,bold,italic
4539 Improve named style docs.
4542 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4544 * src/build.c, src/editor.c:
4545 Fix crashes when parsing the output of a compiler which reports
4549 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4551 * src/highlighting.c:
4552 Support named styles also for filetypes.common [styling] entries.
4553 * doc/geany.txt, doc/geany.html, HACKING:
4554 Update docs for named styles in filetypes.* files.
4556 Fix grouping symbol list children when parent name has "." character
4557 in for reStructuredText and Conf filetypes.
4558 * tagmanager/python.c:
4559 Fix grouping functions/classes under a nested function.
4562 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4565 Adjust icon paths (patch by Dominic Hopf, thanks).
4566 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4567 Add 'Replace' toolbar button (closes #2798225).
4570 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4572 * src/utils.c, src/highlighting.c, TODO:
4573 Implement named styles support for filetypes.* using a
4574 filetypes.common [named_styles] section e.g.:
4575 foo=0xc00000;0xffffff;false;true
4577 These can be used in e.g. filetypes.c as:
4581 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4584 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4587 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4589 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4590 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4593 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4596 Remove quote_executable() as it is not used anymore.
4597 When creating the geany_run_script.bat use the "%0" variable
4598 expansion and quote it for the "del" command (closes #2797172).
4600 On Windows, fallback to the literal build command line if searching
4601 for the command in the system path failed (related to #2795923).
4602 Properly terminate the resulting strings when reading the stdout
4603 and stderr of any spawned commands on Windows.
4606 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4609 Use the wide character versions of native Windows File dialogs.
4611 Fix wrong initialisation of the default project path button callback
4612 in the preferences dialog.
4613 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4614 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4615 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4616 icons/Makefile.am, icons/geany.ico, icons/scalable,
4617 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4619 Move the icons geany.png and geany.ico into the icons directory.
4620 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4621 Drop the pixmaps directory.
4624 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4626 * src/keybindings.c:
4627 Improve MRU document switching so there are no duplicates in the
4628 list and documents switched to whilst the dialog is open are
4629 ignored. Also beep when cycling through to the first document in the
4633 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4636 Fix broken 'Cancel' button in the Save As dialog.
4639 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4642 Fix multiline indent when selection covers text on the last line.
4644 Show current document in bold in tab popup menu.
4645 * src/editor.c, tagmanager/python.c, TODO:
4646 Parse Python calltips.
4649 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4651 * src/symbols.c, tagmanager/python.c:
4652 Parse Python import statements to get symbol completion for the
4653 imported module names.
4654 * src/editor.c, src/editor.h:
4655 Make some only locally used functions static.
4656 Fix wrong sanity check.
4658 Fix quoting the build command string on Windows (closes #2791769).
4659 This broke when we made build commands run synchronously on Windows,
4660 now we don't need to special quote the commands anymore.
4663 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4666 Drop rest of word to the right of cursor when autocompleting (do we
4667 need a pref for this?).
4670 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4672 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4673 Add sci_set_selection().
4674 * doc/geany.txt, doc/geany.html:
4675 Update manual for MRU switching.
4676 * src/callbacks.c, src/editor.c, src/editor.h:
4677 Make indenting with the Tabs indent type preserve spaces on the line,
4678 so it works for the 'tab indents, space aligns' formatting style.
4681 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4683 * tagmanager/python.c:
4684 Fix missing symbols for variables when an equal sign is used
4685 in a comment on the same line as the variable declaration.
4686 Backport change from CTags SVN to keep the parser more in sync:
4687 Add support for Cython constructs to the Python parser.
4689 Remember the additional Find in Files search flags at startup.
4691 Don't close the Save As dialog when saving the file didn't succeed.
4694 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4697 Remember scribble cursor position.
4698 * src/keybindings.c, TODO:
4699 Implement Most-Recently-Used document switching when pressing
4700 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4703 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4705 * data/latex.tags: Added some more commands from unit.sty and
4709 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4711 * src/symbols.c, doc/geany.txt, doc/geany.html,
4712 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4713 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4714 tagmanager/Makefile.am, wscript:
4715 Merge unstable branch:
4716 Add reStructuredText scope information for tags (for symbol list
4718 Read custom system global tags files from $prefix/share/geany/tags;
4720 Show the number of tags in a user global tags file (instead of the
4721 running total) in the debug message.
4722 Also print debug messages when loading a tag file manually or for
4723 default global tags files e.g. python.tags.
4725 Move NestingLevel tags code into a separate file, add functions.
4727 Add 'Installation prefix' section instead of quoting '/usr/local'
4729 Update for custom system global tags files.
4732 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4734 * src/highlighting.c:
4735 Unset maybe previously keywords when setting up Scintilla for
4736 XML files. This fixed wrong highlighting after switching back to
4737 filetype XML from another one.
4739 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4740 is only used when explicitly requested.
4742 Remove unnecessary call to g_intern_string() to fix build with
4743 GLib 2.8 (closes #2790051).
4746 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4749 Make the clear icon of entry fields act on the release event, not
4750 on the press event like for other buttons.
4752 Refactor some multiple used code into get_multiline_comment_style().
4754 Create parent directories if necessary when checking for the
4755 configuration directory on startup (closes #2784577).
4758 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4760 * plugins/filebrowser.c:
4761 When a filter is set, apply it only to files, not directories and
4762 apply the filter to the UTF-8 name of the file as the filter string
4763 itself is also UTF-8.
4764 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4765 Add utils_color_invert() and use it in highlighting.c and printing.c.
4766 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4767 Backport change from Scintilla CVS:
4768 Change capitalisation of header file to suit cross-compilation on
4772 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4774 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4775 Update Scintilla to version 1.78.
4776 * src/editor.c, src/highlighting.c:
4777 Update Pascal styles as they changed in Scintilla.
4780 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4783 Ignore the invert syntax highlighting colours setting when printing
4784 to not print characters on a dark background (closes #2785244).
4785 * New release: Geany 0.17 "Wessex".
4786 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4787 src/geany.h, doc/geany.html, doc/geany.txt:
4788 Post-release version bump.
4791 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4793 * src/callbacks.c, src/callbacks.h, src/main.c:
4794 Update the View->Fullscreen menu item when fullscreen state is
4795 changed externally (e.g. by the window manager).
4797 Fix passing wrong pointer to the File Open dialog for the Run
4798 command in the Project Properties dialog.
4801 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4803 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4805 Remember the active sidebar page between sessions.
4807 Add a recent project item after creating a new project.
4808 * tagmanager/ruby.c:
4809 Fix wrong parsing of string literals (closes #2781264).
4811 Fix setting focus to the editor widget after changing the selection
4815 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4818 Prevent crashes when two or more top level items in the symbol
4819 list have the same name (closes #2778246).
4822 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4824 * src/keybindings.c:
4825 Manually show the main notebook tab bar menu when Shift-F10 is
4826 pressed. This broke when we disabled the default GTK tab bar menu.
4828 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4829 which was reloaded shortly before.
4831 When the editor menu is opened by the Menu key, use the text cursor
4832 position for retrieving the current word. This fixes disabled
4833 Go to Tag items in the menu (#2780044).
4835 Set the "ellipsize" property of GtkCellRendererText to automatically
4836 shorten the path and file names in the Documents list.
4837 * doc/geany.html, doc/geany.txt, src/build.h:
4838 Increase the amount of highlighted build error messages to 100.
4839 At least for LaTeX we need higher values as there is a lot of
4840 informative output before any errors are reported.
4841 * src/filebrowser.c:
4842 Use the startup path as the initial directory for the filebrowser
4843 plugin when no project and no files are opened
4844 (patch by Matias Gea, thanks; closes #2780521).
4847 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4849 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4850 src/utils.c, src/utils.h:
4851 Ellipsize tab labels and some status messages for very long
4852 filenames (closes #2777348).
4853 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4854 Add utils_str_middle_truncate() and
4855 document_get_basename_for_display() to the plugin API.
4856 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4857 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4858 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4860 Add a hidden preference 'use_safe_file_saving' to save files to disk
4861 by creating a temporary file first. This has serious side effects,
4862 please read the documentation before enabling this.
4864 Make build commands on Windows run synchronously to avoid problems
4865 with reading build commands' output.
4866 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4867 Limit the amount of highlighted build error messages in the
4868 Compiler window to 50 for performance reasons.
4871 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4873 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4875 Replace our own GEANY_KEYS_MODIFIER_MASK by
4876 gtk_accelerator_get_default_mod_mask() which gives the same result.
4877 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4878 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4879 Add a trivial symbol parser for NSIS files.
4882 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4885 Hide the extra file open dialog options in an expander to make the
4886 dialog more compact by default and to provide more space for the
4888 Remove the filename field as it is also provided by GTK itself with
4889 more features like auto-completion.
4890 Watch the 'show-hidden' property of the file chooser widget using
4891 GObject's "notify" signal which gives accurate results and remove
4892 the hack using the "selection-changed" signal.
4895 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4897 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4898 Prevent double execution of radio menu item "activate" or "toggled"
4900 Move 'Set Encoding' callback function into encodings.c.
4903 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4906 Add some missing 'void's in function definitions.
4907 If the project base path is './', just use the path of the project
4908 config file instead of appending './'.
4909 * src/treeviews.c, src/project.c:
4910 When a project is loaded, replace the project base path with the
4911 project name in the Documents sidebar for parent items
4915 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4917 * src/keyfile.c, src/keyfile.h, src/project.c:
4918 Fix duplicating the recent files and projects lists when closing
4920 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4921 src/editor.c, src/encodings.c, src/filetypes.c,
4922 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4923 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4924 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4925 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4926 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4927 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4928 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4930 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4931 sense to keep the code more readable.
4934 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4937 When updating global type definitions for opened documents, take
4938 also C++ namespace symbols into account and don't ignore symbols
4939 which are defined inside a scope.
4942 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4945 Don't show 'plugin is not binary compatible' messages on the status
4946 bar, only the status window.
4949 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4952 When opening files from a remote instance on X11, set the window
4953 server time to encourage window managers to pop up the main window
4954 (related to #2735467 and #2276179).
4956 When finished sending filenames to a remote instance, notify the
4957 environment that we finished starting up.
4960 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4962 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4963 Sort Configuration Files menu.
4964 Add ui_menu_sort_by_label().
4965 Add foreach_list() macro.
4970 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4973 Fix setting a wrong default window size when starting without an
4974 existing configuration.
4975 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4976 Make editor_highlight_braces() static.
4977 Remove unused wrapper functions.
4978 * src/editor.c, src/symbols.c, src/symbols.h:
4979 Prevent showing an empty macro list.
4980 Show only macros of the same filetype instead of all macros of all
4983 Don't add opened project files to the GtkRecentManager.
4986 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4989 Add Configuration Files item for snippets.conf.
4990 * src/highlighting.c, src/symbols.c:
4991 Fix 2 old uses of filetype IDs.
4994 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4996 * src/interface.c, src/printing.c, geany.glade:
4997 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
5000 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5003 Add sanity checks in ui_lookup_widget() just to be safe.
5004 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
5005 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
5006 src/project.h, src/ui_utils.c, src/ui_utils.h:
5007 Add "Recent Projects" menu to the Project menu
5008 (#2728630, patch by Elias Pschernig, thanks).
5009 * doc/geany.txt, doc/geany.html:
5010 Describe how to build Geany using the Waf build system.
5011 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
5012 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
5013 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
5014 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
5015 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
5016 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
5017 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
5018 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
5019 src/utils.c, src/utils.h, src/vte.c:
5020 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
5021 performance when building the code with gcc.
5022 * src/highlighting.c:
5023 Fix typo in the G_LIKELY checks, introduced in last commit.
5024 Fix the size of the styles array.
5026 Show a message dialog when renaming a file fails.
5029 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5032 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
5033 (as we did for all other files in SVN r3382).
5036 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5038 * src/filetypes.c, doc/geany.txt:
5039 Move ActionScript to the Script group.
5041 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
5042 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
5043 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
5044 plugins/htmlchars.c:
5045 Merge reorder-filetypes branch:
5046 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
5047 append randomly without breaking the ABI).
5048 Make None filetype name = title = _("None").
5049 Add foreach_slist() macro.
5050 Add filetypes_by_title list to GeanyData for plugin API access
5051 - a list of filetype pointers, which includes the None filetype
5052 first. This list stays constant by the time plugins are initialized,
5053 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
5054 index the sorted list.
5057 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5059 * doc/geany.txt, doc/geany.html, src/main.c:
5060 Add widget names for the menubar and toolbar.
5062 When hiding the messages window, set the input focus back to the
5063 editor widget (part of #1910393).
5066 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5068 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5069 Backport recent changes from Scintilla CVS to add partial support
5070 for RFC2822 styled text using the Properties lexer.
5071 Ignore leading whitespace for config files and RFC2822 text.
5072 * data/filetypes.actionscript:
5073 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5074 * THANKS, src/treeviews.c:
5075 Display file/directory icons in the Documents sidebar
5076 (patch by Simon Treny, thanks).
5079 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5081 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5082 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5083 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5084 Add an option to allow appending the toolbar to the main menu bar
5085 to save some vertical space.
5086 Allow setting toolbar icon size to very small (menu icon size).
5089 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5091 * src/keyfile.c, src/utils.c, src/utils.h:
5092 Add utils_path_skip_root(), a relative path safe variant of
5093 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5094 * src/keyfile.c, src/main.c:
5095 Allow negative window coordinates when saving and restoring the
5096 position of the main window.
5097 Restore the main window position and size *after* the window has
5098 been realised to get it positioned accordingly
5099 (this affects at least Windows).
5102 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5104 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5105 Use g_win32_get_package_installation_directory_of_module() on Windows
5106 with newer GLib versions instead of deprecated API.
5107 * src/keybindings.c:
5108 Don't manage the last used documents list when quitting to prevent
5109 errors by accessing invalid memory (may close #2533990).
5112 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5115 Delete the geany_run_script.sh immediately after execution
5116 to prevent leaking old copies when the script was quit unexpectedly
5117 (closes #2710482, patch by Martin Olsson, thanks).
5119 Check whether skipping the root element of a document's filename
5120 succeeded and use the filename itself if not (e.g. on relative
5121 filenames, #2702844).
5122 Use the locale encoded filename when saving session files.
5124 Re-set the quitting status after all documents have been closed on
5128 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5130 * plugins/htmlchars.c:
5131 Remove usage of deprecated sci_get_selected_text() from plugin.
5134 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5137 Delay disk file checks when switching between documents a little
5138 bit to avoid fast, unintentional page switching in some cases.
5139 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5140 src/sciwrappers.c, src/sciwrappers.h:
5141 Deprecate sci_get_text(), sci_get_selected_text() and
5142 sci_get_text_range().
5143 Add sci_get_contents(), sci_get_contents_range() and
5144 sci_get_selection_contents() as replacement functions to provide
5145 an easier and cleaner API (initial patch by Frank).
5148 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5151 Fix wrong parsing of CSS tags when the definition block starts on
5152 a new line (reported by Dominic Hopf, thanks).
5155 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5157 * plugins/htmlchars.c:
5158 Extend plugin by feature to bulk replace and replace on input for
5159 special characters to their HTML entities.
5162 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5165 Update build menu items after changing anything in the
5166 'Set Includes and Arguments' dialog.
5167 Disable Compile/Run buttons/menu items when Compile/Run commands are
5169 Reset current build directory to the base directory after reading a
5170 "Leaving directory" message when parsing Make output
5171 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5173 Fix wrong display of the filename in the tab bar menu for new files.
5175 Set the initial directory for the Save As dialog only once on
5177 Add a shortcut of the project's base directory to the
5178 File Open/Save As dialogs when a project is open for faster access.
5179 * src/splitwindow.c:
5180 Add keybindings for the split actions.
5183 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5186 When using Find All in the Find dialog (in Session and Document),
5187 display the right amount of matches.
5188 Fix the display of the matches once per line (I broke the original
5191 Fix wrong directory selection behaviour in all Open Folder dialogs
5192 (closes #2688020, patch by Marcel Stimberg, thanks).
5194 Don't present the main window of a running instance when starting
5195 a second instance separately.
5198 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5201 Reduce default file permissions on the Unix Domain socket file
5202 (reported by Jörg Sommer, thanks).
5205 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5207 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5208 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5210 Add an option to set an additional plugin lookup path.
5212 When using Find All in the Find dialog, display matches only once
5213 per line in the messages window (patch by Bert Vermeulen, thanks).
5216 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5218 * data/filetype_extensions.conf, data/filetypes.actionscript,
5219 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5220 src/highlighting.c, src/plugindata.h, src/symbols.c,
5221 tagmanager/Makefile.am, tagmanager/actionscript.c,
5222 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5223 Add filetype ActionScript (patch by Chris Macksey, thanks).
5224 Update type keywords only for real C-like languages.
5225 Fix wrong sorting of Assembler and Ada filetypes.
5226 * plugins/classbuilder.c:
5227 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5228 Other minor cleanups.
5231 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5234 Don't use menu item images for the tab bar menu to save some
5236 * data/filetypes.fortran, tagmanager/fortran.c:
5237 Add keyword 'extends' and fix Fortran parser to support the
5238 'extends' keyword (closes #2654492).
5239 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5240 src/search.c, src/toolbar.c:
5244 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5246 * src/about.c, THANKS:
5247 Added Jari Rahkonen to list of Finnish translators.
5250 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5253 Adjust minimum required GTK version.
5254 * src/Makefile.am, wscript:
5255 Add main.h to the list of installed header files.
5256 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5257 src/notebook.c, src/ui_utils.c:
5258 Remove GeanyDocumentPrivate::tabmenu_label.
5259 Disable the default tab bar menu for the main notebook widget and
5260 use a custom menu instead which lists all open files as usual plus
5261 'Close Other Documents' and 'Close All' menu items.
5264 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5266 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5267 Move ui_set_search_entry_background() into ui_utils.c.
5268 Change the background colour of the search entries in the Find
5269 and Replace dialogs according to the search results like in the
5270 toolbar search field.
5271 Add images to the 'Replace' and 'Replace and Find' buttons in the
5273 Minor cleanups in search.c.
5274 * tagmanager/tm_source_file.c:
5275 Update source files upon creation.
5277 Update C tags for glibc 2.9.
5278 * src/callbacks.c, src/toolbar.c:
5279 Fix broken non-incremental search with the toolbar search entry when
5280 pressing Enter (closes #2638180).
5281 * plugins/splitwindow.c:
5282 Fix possible crash on non-32-bit systems (patch by
5283 Wolfgang Ocker, thanks).
5285 Update the Packager tag due to Dominic's various contributions.
5286 Update description and feature list.
5287 Change Source tag to the gzip'ed tarball to be in sync with the
5288 Makefile target (thanks to Wolfgang Ocker for reporting).
5291 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5293 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5294 Removed deprecated plugin VC Diff
5297 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5300 Fix wrong Fortran 90 comment characters when inserting templates.
5301 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5302 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5303 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5305 Add 'Send Selection to Terminal' command to the Edit->Format menu
5306 (initial patch by David Gleich, thanks).
5307 * geany.glade, src/interface.c:
5308 Fix mnemonic for the Edit->Preferences menu item.
5311 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5313 * configure.in, plugins/Makefile.am:
5314 Enable socket support when cross-compiling.
5315 Enable plugin compilation when cross-compiling.
5317 Fix missing NULL checks when reading the colour value of compiler
5319 * src/main.c, src/win32.c, src/win32.h:
5320 On Windows, change the working directory to the Geany installation
5321 path at startup to avoid unwanted directory locking(closes #2626124).
5323 Fix broken selection of "Document->Set Encoding" menu items.
5324 * src/document.c, tagmanager/include/tm_source_file.h,
5325 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5326 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5327 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5328 Don't let the tagmanager automatically reparse files if they
5329 seem to be changed on disk (affects all files in the current session,
5330 not the current one). This should speed up file saving a little bit,
5331 especially with remote files.
5332 Remove now unnecessary calls to tm_workspace_update().
5334 Allow an empty value for the date format in the print settings to
5335 omit the date/time string in the print header.
5338 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5340 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5344 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5347 Add missing header include (closes #2615808).
5350 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5353 Fix a possible crash when comparing symbol names
5354 (could be related to Ubuntu bug #147151).
5355 Fix broken symbol list tooltips when tag names contain ampersands.
5358 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5360 * plugins/makefile.win32:
5361 Don't build Split Window plugin on Windows (doesn't work).
5364 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5366 * ChangeLog, Makefile.am: Rotate ChangeLog.
5367 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5368 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5369 Post-release version bump.
5372 *** See ChangeLog.pre-0-17 for earlier changes ***