1 2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/templates.c, src/document.c:
4 Use LF line endings for templates internally instead of default
5 pref because the default can change. This fixes missing line
6 endings sometimes when changing default setting.
8 Fix not reporting an error message when saving a document fails.
9 Check result of fclose().
10 * src/filetypesprivate.h, src/filetypes.c, src/editor.c,
11 data/filetypes.xml, data/filetypes.html:
12 Add xml_indent_tags filetype setting for documents using the
13 HTML/XML lexers (patch by Eugene Arshinov, thanks).
16 2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
18 * src/templates.c, src/filetypes.c:
19 Save build commands for filetype None (patch by Lex, thanks).
20 Make filetypes_get_conf_extension() return "common" for filetype
23 Convert line endings for file templates.
24 Fix line endings when using file header template in a file template
26 * src/utils.c, src/utils.h:
27 Make utils_ensure_same_eol_characters() convert all wrong line
28 endings to the desired one, not just the most common one.
31 2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
34 Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
36 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
37 Restore top-level editor popup item 'Find Document Usage'.
38 * src/interface.c, src/ui_utils.c, geany.glade:
39 Remove duplicates in 'Insert Comments' editor popup menu; rename
41 Separate main menu insertion comments depending on number of times
43 * data/filetypes.*, data/colorschemes/alt.conf:
44 Rename word/word2 named styles to keyword/keyword2.
45 * doc/geany.txt, doc/geany.html:
46 Mention that indentation settings can be overridden per-project.
47 * src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
48 doc/geany.txt, doc/geany.html, geany.glade:
49 Add 'Project->Apply Default Indentation' menu command to override
50 every document's indentation settings.
51 Improve 'Indentation' section docs.
54 2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
57 Fix build with GTK 2.12: explicitly include gio.h if GIO
58 is available and to be used regardless of the USE_GIO_FILEMON flag.
60 Fix installation of template files.
61 Show which regex implementation is used.
63 Use non-GIO mime-type icon lookup if GIO lookup fails.
65 Allow skipping configure during autogen by setting NOCONFIGURE=1
66 (thanks to Chow Loong Jin).
69 2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
72 Make use_safe_file_saving hidden pref apply even when GIO is
73 available, because g_file_replace_contents() doesn't handle disk
76 Show GIO/built-in regex support in startup debug message as well as
78 * doc/geany.txt, doc/geany.html:
79 Add docs for the HTMLChars plugin (patch by Frank).
82 2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
85 Do not translate 'name' field for filetype None because it is used
86 for hash table lookup. This fixes missing files in the Open dialog
87 for the 'All files' filter with non-English locales (thanks to Sardem
89 * src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
91 Add filetypes_get_display_name() to get translations for filetype
94 Fix resource leak when saving files with GIO (patch by Colomban
98 2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
100 * src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
101 Add sci_get_lexer() to plugin API.
102 * plugins/htmlchars.c:
103 Only automatically replace characters when the current document is
105 * plugins/htmlchars.c:
106 Rename submenu item labels to be more descriptive.
108 Fix Alt+[0-9] switching tabs when other modifiers are also held.
110 Don't allow pasting of numbers followed by other characters in the
111 Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
113 Print "GIO" and "built-in regex" if enabled with --version.
115 Use g_file_replace_contents() if available to save documents - this
116 should help workaround bugs in GVFS (based on patch by Alexey
120 Fix wrongly adding newlines for templates on disk that don't have
121 LF line endings when default line endings are not LF, e.g. Windows.
124 2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
126 * src/utils.c, src/main.c:
127 Remove trailing directory separator for app->datadir and
128 app->docdir for consistency with the other directory fields.
130 Detect user and system filetype configuration files as Conf
133 Respect 'Smart' home key for Shift+Home (fixes #3100290).
136 2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
138 * data/filetypes.ada:
139 Fix comments for Ada. Thanks to Jonas Baggett for reporting.
142 2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
145 Add install-data-only target to only install data/* to speed up
148 Fix not autocompleting when breaking lines.
149 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
150 data/colorschemes/alt.conf, data/filetypes.haxe,
151 data/filetypes.common, data/filetypes.glsl,
152 data/filetypes.actionscript, data/filetypes.cs,
153 data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
154 data/filetypes.Genie.conf:
155 Add named style 'extra', use for C-like filetypes.
158 2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
160 * data/filetypes.xml:
161 Match data-* and aria-* as HTML attributes.
162 * data/colorschemes/alt.conf, data/filetypes.common,
163 data/filetypes.python:
164 Make Python use named styles for color scheme support - use
165 alt.conf color scheme if you want the old colors.
166 Add named style 'function'.
168 Move plugin_set_info prototype and parenthesize arguments for
169 PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
171 Fix putting pointer symbol before name, not after type.
174 2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
176 * src/filetypes.c, src/ui_utils.c:
177 Fix notebook tab menu icons using theme for "text/plain" filetypes.
178 Make filetype mime_type "text/plain" instead of NULL.
181 2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
183 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
184 Edit XML tag autocompletion pref and tooltip to include HTML.
185 * doc/geany.txt, doc/geany.html:
186 Add docs for 'Ensure consistent line endings' pref.
188 Change default for 'Override Geany keybindings' to on.
190 Sort filetypes_by_title last instead of on insertion to prevent
192 * src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
193 Add filetype mimetype field (patch by Colomban Wendling, thanks).
194 * src/sidebar.c, src/document.c:
195 Show mimetype icon in sidebar Documents list (patch by Colomban
198 Add notebook tab document icons (based on patch by Colomban
201 Leave text/plain mime_type fields as NULL (like custom filetypes).
204 2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
206 * src/editor.c, data/snippets.conf:
207 Move HTML automatic <table> tag completion into a 'table' snippet
208 so the user can decide when to use it (patch by Eugene Arshinov,
210 * src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
211 src/document.c, src/document.h, THANKS, geany.glade:
212 Add 'Ensure consistent line endings' file saving pref (patch by
214 * src/utils.c, src/utils.h, src/editor.c:
215 Auto-indent after an HTML/XML line with a missing closing tag (patch
216 by Eugene Arshinov, thanks).
217 Behaviour only applies if XML tag autoclosing is off.
218 * src/templates.c, src/build.c, src/document.c, src/editor.c,
219 src/symbols.c, plugins/saveactions.c:
220 Remove unnecessary uses of FILETYPE_ID() macro with
221 GeanyDocument::file_type.
222 * data/filetypes.xml:
223 Add HTML5 attributes (thanks to Ross McKay).
226 2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
229 Fix not changing edited keybindings when cancelling the Preferences
231 * data/filetypes.xml:
232 Add HTML5 element names (thanks to Ross McKay).
235 2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
237 * src/utils.c, src/filetypes.c:
238 Remove filetype default extensions from code.
240 Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
242 Refactor shared code with kb_cell_edited_cb().
245 2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
247 * src/highlighting.c:
248 Use radio buttons for View->Editor->Color Schemes menu.
249 Don't hide the menu when only the default item is available.
250 * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
251 Add alternative color scheme based on Python colors.
252 * scintilla/LexErlang.cxx, scintilla/makefile.win32,
253 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
254 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
255 data/filetype_extensions.conf, data/filetypes.erlang, wscript:
256 Add Erlang filetype (patch by Taylor Venable, thanks).
257 * src/filetypes.c, data/filetypes.*:
258 Move filetype 'extension' default into data files.
259 * src/filetypes.c, data/filetypes.vala:
260 Move filetype comment_{open,close} defaults into data files.
263 2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
265 * data/filetypes.c, data/filetypes.d:
266 Add missing C99 keyword 'restrict' (#3046716).
267 Add missing D1 keywords 'ref' and 'macro'.
270 Parse Vala functions with contracts (#3080232).
272 Fix saving project indent prefs straight after using project
274 * src/highlighting.c, src/filetypes.c:
275 Prevent debug message about a missing 'default' named style when
276 using just a user color scheme file.
279 2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
282 Fix off-by-one bug in 'search_mark_all'.
285 2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
288 Ignore D /+ +/ comments.
290 Ignore D unittest blocks.
291 Parse D template functions with constraints.
292 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
293 Add 'Insert New Line Before/After Current' keybindings (based on
294 patch by Eugene Arshinov, thanks).
296 Use secondary text for 'file not found on disk' dialog.
299 2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
302 Fix build with GLib 2.8.
305 2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
307 * src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
308 configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
309 Revert X11 workspace socket support as it needs more work; moved
310 to workspace-sockets branch.
313 2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
315 * src/geanywraplabel.c:
316 Fix build with GLib 2.8.
317 * src/dialogs.c, src/about.c, THANKS:
318 Group Open dialog encoding options by submenus (patch by Adam Ples,
320 * scintilla/LexLisp.cxx, scintilla/makefile.win32,
321 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
322 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
323 data/filetype_extensions.conf, data/filetypes.lisp, wscript:
324 Add Lisp filetype (patch by Mário Silva, thanks).
325 Note: Lisp lexer was taken from Scintilla instead.
328 2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
330 * po/kk.po, THANKS, src/about.c:
331 Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
335 2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
337 * src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
338 Don't cache overridden lexer properties.
339 Add foreach_strv() to plugin API.
340 Add utils_strv_join().
341 * tagmanager/basic.c:
342 Parse property, constructor, destructor as functions (patch by
343 pottersson, thanks; #2992167).
346 2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
348 * src/tools.c, doc/geany.txt, doc/geany.html:
349 Fix passing quoted arguments when using 'Send Selection to'. This
350 means sed 's/\./(dot)/g' now works.
352 Add snippet keybinding support for keys in user snippets.conf (based
353 on patch by Eugene Arshinov, thanks). No docs yet.
354 * doc/geany.txt, doc/geany.html:
355 Add some subheadings for Snippets section.
356 * doc/geany.txt, doc/geany.html:
357 Add snippet keybindings docs.
358 * src/highlighting.c, src/utils.h:
359 Move foreach_strv to utils.h.
360 * src/editor.c, data/snippets.conf:
361 Read snippet keybindings from system keyfile also.
362 Add keybinding example to default snippet.conf.
365 2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
367 * src/utils.h, src/filetypesprivate.h, src/filetypes.c,
368 src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
369 data/filetypes.txt2tags, data/filetypes.markdown,
370 data/filetypes.restructuredtext:
371 Add symbol_list_sort_mode per-filetype setting, set to sort by line
372 number by default for Markdown, reStructuredText and Txt2Tags.
373 Add utils_get_setting() macro for reading a key from a home or
375 Move GeanyFiletypePrivate to filetypesprivate.h.
376 * src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
377 Link with X11 if found to fix linking with a recent GNU ld.
379 Avoid delay and redrawing when automatically opening a new document
381 * scintilla/LexForth.cxx, scintilla/makefile.win32,
382 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
383 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
384 data/filetypes.forth, data/filetype_extensions.conf, wscript:
385 Add Forth filetype (patch by Thomas Huth, thanks).
387 Remove unnecessary 'fix' from r5224 as it breaks configuring custom
388 commands for 'Send Selection to' (oops).
391 2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
394 When commenting/uncommenting with single-line comment characters,
395 ignore any end of line characters before evaluating the current line.
396 * data/filetypes.python:
397 Simplify Python Compile/Syntax Check command.
400 2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
402 * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
404 Add hidden pref 'find_selection_type' with option to repeat last
405 search when there's no selection.
406 Change default Find Selection behaviour to not let the X selection
407 override the current word (can be confusing).
408 Add docs for Find Selection commands.
410 Fix segfault on idle callback when quitting.
411 * src/interface.c, src/keybindings.c, geany.glade:
412 Move 'Edit->Commands->Insert Alternative White Space' to editor popup
414 * src/interface.c, geany.glade:
415 Move editor popup menu Insert Comments submenu to top of Insert menu.
416 * src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
418 Add hidden pref new_document_after_close for whether to open a new
419 document automatically, off by default.
421 Add 'Bugs to watch out for' section.
424 2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
426 * src/stash.c, doc/Makefile.am, doc/stash-example.c,
427 doc/stash-gui-example.c:
428 Improve Stash GUI example.
431 2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
433 * src/interface.c, geany.glade:
434 Move Go to Marker menu items to Search menu.
435 Rename popup editor menu item Commands -> Edit.
436 * src/callbacks.c, src/search.c, src/search.h:
437 Move find_again() to search.c.
439 Make Find Selected commands repeat the last search if the selection
441 * doc/geany.txt, doc/geany.html:
442 Add docs for Find Selection keybindings.
443 * src/interface.c, src/keybindings.c, geany.glade:
444 Unify Find Selection strings.
445 * src/interface.c, src/ui_utils.c, geany.glade:
446 Group editor popup Insert commands in a submenu, with extra items
447 for the most commonly used Insert Comments commands.
448 Show Edit->Commands before Format in menubar Edit menu (to match
450 Show Open Selected F_ile popup item below submenus.
453 2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
456 Refactor shared submenu code with GeanySharedMenu array.
457 * src/interface.c, src/ui_utils.c, geany.glade:
458 Add Search submenu for Find Selected, Find Usage, Go to Tag items,
459 shared with the editor popup menu.
461 Open a new document automatically after closing all documents.
464 2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
467 Prompt for reloading if the document has an undo stack to avoid
468 losing undo ability on accidental reloading (patch by Colomban
470 * src/project.c, src/geanyobject.c, src/geanyobject.h,
472 Add plugin signals project-dialog-create and
473 project-dialog-confirmed so plugins can append a Project Properties
474 notebook tab (patch by Jiří Techet, thanks).
475 * src/ui_utils.h, src/plugindata.h, src/main.c:
476 Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
477 * src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
478 src/plugins.c, plugins/geanyfunctions.h:
479 Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
482 2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
485 Save document indent width with the session.
486 * src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
487 doc/geany.html, TODO:
488 Use a separate socket per workspace on X (patch by Erik de Castro
492 2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
495 Ignore directories passed on the command-line (based on patch by
496 Erik de Castro Lopo, thanks).
498 Parse D function template names.
499 * src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
500 src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
502 Allow per-document indent width setting (patch by Jiří Techet,
503 updated by Erik de Castro Lopo - thanks).
504 * src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
505 Combine indent width menu item callbacks.
506 * src/interface.c, geany.glade:
507 Don't translate indent width menu items as they are now used for
511 2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
513 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
514 Remove 3 popup menu items to save space:
515 Find Document Usage because Find Usage can be used instead.
516 Go to Tag Declaration because Go to Tag Definition is more common.
517 Go to Line because the toolbar item can be used instead.
518 * src/tools.c, src/search.c, tagmanager/python.c:
519 Fix some 'possible' NULL pointer dereferences (based on patch by
520 Erik de Castro Lopo).
521 * src/keybindings.c, src/keybindings.h, src/prefs.c:
522 Simplify keybindings_check_event().
525 2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
528 Use up/down icons for Previous/Next Error.
529 * src/interface.c, src/keybindings.c, src/callbacks.c,
530 src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
532 Add Find Usage and Go to Tag items to Search menu for easier
534 * tagmanager/tm_symbol.c:
535 Fix possible NULL dereference.
537 Add link to glade-2.12.2.tar.gz on geany.org.
538 * doc/geany.txt, doc/geany.html:
539 Mention the filetype wordchars setting can be overridden by the
540 whitespace_chars filetypes.common setting.
541 * src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
542 Remove NULL checks when calling g_free() (patch by Erik de Castro
545 Show Save As when saving if the document filename doesn't have an
546 absolute path, so command-line new files can be saved without a
547 prompt, but file templates still prompt the user.
550 2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
553 Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
557 2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
559 * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
560 Add GeanyMainWidgets::message_window_notebook for plugins to append
561 a new notebook page (#3061342).
563 Add Close button to the detected file changed dialog.
564 * src/interface.c, geany.glade:
565 Add separator between Find Previous and Find in Files.
566 Add up/down icons for Previous/Next Message.
569 2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
571 * data/snippets.conf:
572 Add dummy entry for "do" snippet for Haskell to explicitly avoid the
576 2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
579 Fix broken editing of build menu labels.
580 * src/encodings.c, src/filetypes.c, configure.ac:
581 Auto-enable building with included regex if no regcomp function is
583 Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
584 regex support is required.
586 Backport fix for possible infinite loop from CTags.
587 * scintilla/PlatGTK.cxx:
588 Backport list box memory leak fixes from Scintilla 2.20.
591 2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
594 Make the Properties dialog filename a label and put it first (patch
595 by Jiří Techet, thanks).
596 * src/build.c, src/build.h, src/project.c, doc/geany.txt,
598 Remove the "Set build working directories" button from the project
599 properties dialog (patch by Jiří Techet, thanks).
601 Include all files if the Find in Files pattern field is enabled and
604 Rename Matlab -> Matlab/Octave. Datafile name remains the same.
607 2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
609 * scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
610 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
611 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
612 data/filetypes.txt2tags, wscript:
613 Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
614 * m4, configure.ac, Makefile.am:
615 Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
617 Only prompt for reloading if the document has unsaved changes
618 (patch by Jiří Techet, thanks).
621 2010-08-21 Frank Lanitz <frank@frank.uvena.de>
624 Apply a patch by Jiří Techet which is preventing warnings when using
625 -Wmissing-prototypes on compiling. Thanks.
628 2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
630 * scintilla/KeyWords.cxx:
631 Link Octave instead of Matlab.
632 Add comment about not being autogenerated.
633 Minor changes to fit Scintilla order.
634 * src/build.c, src/build.h:
635 Replace GeanyBuildCommand::entries array with separate fields.
636 Similar to r5077 in the bs2 branch, but with less loop unrolling.
638 Remove buildcmd_* accessor functions.
641 2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
643 * src/highlighting.c, src/editor.c:
644 Use Octave lexer instead of Matlab to support Octave # comment char.
647 2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
650 Fix segfault on Tools->Reload Configuration when no documents are
652 * scintilla/LexMarkdown.cxx:
653 Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
656 Fix saving non-project filetype error regex.
658 Fix memory leak in read_regex().
661 2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
664 Check for libsocket on OpenSolaris to fix build.
666 Rewrite the logic to auto detect encodings a bit to make it more
667 readable and fix a slightly wrong detection on Windows
669 * plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
671 Add editor_goto_pos() to the plugin API.
674 2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
677 Check for git-svn repo, not just git because find-rev doesn't
678 always fail with a git-only repo.
681 2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
684 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
687 2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
689 * doc/geany.txt, doc/geany.html:
690 Reorder Focus keybindings.
693 2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
696 Applying a patch by Erik de Castro Lopo for checking against
697 pkg-config when running autogen.sh. Thanks for the patch.
699 Applying a patch by Colomban Wendling to print out log domains.
703 2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
705 * src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
706 Use single binding_ids keybinding array instead of individual
707 arrays for core keybindings. This allows the keybinding IDs to be
708 merged into one enum; the order of keybindings is now just the
709 order they are added to each group. Keybindings can be reordered
710 without breaking the plugin ABI but groups must stay the same.
712 Fix writing the default value when a key is missing for hidden
713 prefs, even if it was overridden when it was originally read.
714 * src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
715 Move some interface hidden prefs to ui_utils.c.
717 Revert r4840 scope completion mode as it sometimes breaks
719 * src/keybindings.h, src/plugindata.h:
720 Randomly sort keybinding IDs to show there should be no order.
722 Reorder Focus keybindings.
725 2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
727 * src/ui_utils.c, src/ui_utils.h:
728 Make ui_label_new_bold() a function.
729 Escape the name of the current document for markup when using
730 document name for menu items (closes #3038844).
732 Inherit 'beep on errors' preference for the audible bell preference
733 for the VTE (closes #3038215).
736 2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
738 * src/utils.c, src/utils.h:
739 Add utils_get_eol_char().
740 * plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
741 src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
743 Ensure inserted templates always have proper line ending characters
744 according to the current document's preference.
745 This is also fixes problems with templates on Windows which had
746 always Unix line ending characters but now since they are read
747 from files, these have Windows line ending characters and had been
751 2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
754 Fix build with GTK 2.8, use the stock icon name directly instead
755 of the macro. Though, the icon is still missing for GTK 2.8.
757 Make make_comment_block() work with a GString. This is not yet
758 perfect but a bit better than before.
761 2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
763 * src/keybindings.c, src/vte.c, src/vte.h:
764 Implement 'Select All' for the VTE widget.
767 2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
770 Fix missing template files in the Windows installer.
773 2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
775 * data/filetypes.python:
776 Update list of Python builtins, based on Python 2.6.
779 2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
782 On Windows, convert filetype extensions read from config files
783 to lower case (closes #3028856).
786 2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
789 Focus toolbar item when pressing Go to Line keybinding only when
790 it's not in the toolbar's drop down overflow menu (fixes #3027454).
793 2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
796 Fix build menu translation problems.
799 2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
805 2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
808 Fix scrolling the editor line in view after loading a session and
809 switching document tabs. Note this causes repainting so needs
811 * doc/geany.txt, doc/geany.html:
812 Add note to restart Geany after installing/updating before editing
814 * src/ui_utils.h, src/main.c, src/ui_utils.c:
815 Use Stash to save statusbar_template setting, instead of the
816 load/save-settings signal.
820 2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
822 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
823 Fix writing empty hidden pref "statusbar_template" key so users can
824 find it (patch by Dimitar Zhekov, thanks).
825 * src/ui_utils.c, src/ui_utils.h, src/main.c:
826 Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
829 2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
831 * src/build.c, src/project.c, src/project.h:
832 Show the Project Properties build tab when choosing 'Set Build
833 Commands' for now to prevent confusion with non-project commands.
836 2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
838 * src/search.c, doc/geany.txt, doc/geany.html:
839 Fix Grep --exclude-dir example.
842 2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
845 Add sidebar Documents popup menu item 'Find in Files'.
846 * src/keyfile.c, src/main.c, src/editor.c:
847 Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
848 G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
851 2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
853 * doc/geany.txt, doc/geany.html:
854 Fix wording - restarting is required for hidden prefs.
855 File templates don't need manual reloading anymore.
857 Fix only adding project base path to Find in Files history if it
858 isn't already there (oops).
860 Parse lines in the Messages window even if Find in Files hasn't
861 been used yet (patch by Jiří Techet, thanks).
864 2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
866 * scintilla/LexCPP.cxx, src/highlighting.c:
867 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
869 * src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
870 data/filetypes.common:
871 Add filetypes.common fold_symbol_highlight color setting.
872 Add API macro foreach_range().
873 * src/printing.c, doc/geany.txt, doc/geany.html:
874 Always use white background color when printing (except for text
875 with a white foreground) to save ink (should fix #2968998).
876 * src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
877 Limit build error editor indicators to 50, but parse all errors in
878 the Compiler tab (fixes #3019823).
881 2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
883 * src/highlighting.c:
884 Re-enable fold.comment for lexers - it was disabled to prevent C
885 //{ explicit folding, but that also disables stream comment folding
887 * tagmanager/tm_workspace.c, tagmanager/get.c:
888 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
890 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
891 doesn't affect the bug with document switching not scrolling cursor
892 in view after loading a session.
895 2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
897 * src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
898 Add statusbar_template hidden pref (based on patch by Dimitar
900 * src/ui_utils.c, doc/geany.txt, doc/geany.html:
901 Add spaces after RO when using %r in statusbar_template setting.
902 Add space between encoding and BOM.
903 Note \t means tab for default text.
906 2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
909 Restore tabbing past Find in Files combo box drop down menus.
912 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
914 * src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
915 doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
917 Move plugin signals docs to pluginsignals.c, using function
918 pointer syntax instead of @signaldef as this puts a summary of
919 the signal names at the top of the page and sorts alphabetically.
920 (Note: the syntax is similar to Vala signal syntax).
923 2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
926 Make default dialog entries use GTK_STATE_INSENSITIVE color not
927 a fixed color (Suggestion by Ditmar Zhekov)
930 2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
932 * src/search.c, doc/geany.txt, doc/geany.html:
933 Implement Find in Files file pattern search.
935 Add file pattern to combo box history.
936 * src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
938 Use ui_hookup_widget() instead of g_object_set_data_full() for
942 2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
945 Add Files checkbox and combo to Find in Files dialog, currently
946 does nothing & is disabled.
947 Don't try to focus the next entry on pressing tab anymore as this
948 is more complicated now.
951 2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
954 Put Find in Files Search field above Directory field.
955 * src/search.c, doc/geany.txt:
956 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
957 regular expressions' radio buttons with a 'Use regular expressions'
958 checkbox. This uses the extended syntax (which is the same as the
959 Find/Replace regex syntax).
961 Move 2 Find in Files checkboxes for even spacing.
964 2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
966 * tagmanager/tm_work_object.c:
967 Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
971 2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
973 * src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
974 src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
975 Add ui_combo_box_add_to_history() to API.
976 * plugins/filebrowser.c:
977 Add history to path entry.
978 * src/plugindata.h, src/plugins.c, doc/plugins.dox:
979 Fix not loading plugins built against a newer API when Geany doesn't
980 provide the required version given in PLUGIN_VERSION_CHECK().
981 Improve documentation for PLUGIN_VERSION_CHECK().
982 * plugins/filebrowser.c:
983 Allow Find in Files when no items are selected.
984 * src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
985 Add API signal "build-start" (patch by Jiří Techet, thanks).
988 2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
991 Replace /home/user with ~ in the documents list (patch by Jon
994 Make default Build dialog entries grey, not light grey (too hard to
995 read on a white background).
997 Display 'new instance' on title bar (patch by Eugene Arshinov,
1000 Remove any duplicate on adding to combo box histories.
1003 2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1006 Align notebook tab close buttons centred vertically - thanks to
1008 * Merge unstable branch:
1010 Make build config entries light grey until set.
1011 - src/keybindings.c, src/about.c, THANKS:
1012 Fix the wrong file being put on top of the stack when switching tabs
1013 too quickly (patch from Jiří Techet, thanks).
1014 - src/templates.c, data/templates/gpl, data/templates/function,
1015 data/templates/changelog, data/templates/bsd,
1016 data/templates/fileheader, wscript, Makefile.am:
1017 Move general templates from source code into files.
1018 Load general templates from system path instead of creating them in
1019 the user's config dir.
1022 2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1025 Add doc/stash-example.c to fix 'make distcheck'.
1027 Change the RequestExecutionLevel for the Windows installer to
1029 * New release: Geany 0.19 "Vellam".
1030 * configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
1031 geany_private.rc, win32-config.h, wscript, src/geany.h:
1032 Post-release version bump.
1035 2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1038 Group undo action for Insert Multiline Comment.
1041 2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1044 Don't individually install data/*.tags as all data/* files will be
1048 2010-06-07 Frank Lanitz <frank@frank.uvena.de>
1050 * tagmanager/tm_project.c:
1051 Fix a double free. (patch by Daniel Marjamaki, thanks).
1054 2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1056 * tagmanager/tm_workspace.c:
1057 Fix two memory leaks (patch by Daniel Marjamaki, thanks).
1059 Fix reducing paths to project name in the Documents list
1060 (patch by Eugene Arshinov, thanks).
1062 Fix crash when trying to sort NULL pointers as tags in the Symbols
1063 list (closes #3011986).
1064 * NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
1065 Update Scintilla to version 2.12.
1066 * wscript, scintilla/Makefile.am, scintilla/makefile.win32,
1067 scintilla/LexCrontab.cxx:
1068 Remove unused Crontab lexer.
1069 * data/filetypes.css, src/highlighting.c:
1070 Add new style "media" for filetype CSS.
1073 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1075 * doc/geany.txt, doc/geany.html:
1076 Build section: minor rewording, formatting fixes; move some
1080 2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1083 Explicitly try to localise build menu item labels with
1084 gettext to enforce getting default labels translated.
1085 * tagmanager/tm_workspace.c:
1086 Fix not closed FILE pointer on early exit
1087 (patch by Daniel Marjamaki, thanks).
1089 Update images for Geany 0.19.
1091 Destroy the default symbol list treeview only once
1092 (fixes gtk_widget_destroy warning on exit).
1095 2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1097 * tagmanager/sort.c:
1098 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1100 Fix parsing of C++ classes contain attributes with bitfields
1101 (patch by Lex Trotman, thanks).
1102 * src/plugindata.h, src/plugins.c:
1103 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
1104 plugins' meta information can be translated already in the
1105 plugin manager dialog (patch by Colomban Wendling, thanks).
1108 2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1111 Print locale information in debug output.
1113 Fix some labels which were marked as translatable but were not
1114 handled properly by gettext().
1115 Add a missing const.
1117 Try to convert text into UTF-8 before adding it to the Compiler and
1118 Messages Window (closes #3007919).
1121 2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1123 * plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
1125 Pass G_LOG_DOMAIN to source files for better logging.
1128 2010-05-24 Frank Lanitz <frank@frank.uvena.de>
1130 * THANKS, src/about.c:
1131 Update of translation credits to reflect a change on Spanish
1132 translation team better.
1135 2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
1138 Fix infinite loop reading build command output
1141 2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1144 Fix duplicate accelerators for Clear and Copy in the
1145 Messages Window popup menu.
1146 * src/pluginutils.c:
1147 Expand child widgets in the Plugin Preferences dialog
1148 (patch by Colomban Wendling, thanks).
1151 2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1154 Fix Undo/Redo button state after the last document has been closed.
1155 Add Print and Replace toolbar items to the list of document
1158 Fix crash when the toolbar is reloaded without any open documents.
1160 Fix Run toolbar item sensitivity after the last document has been
1162 * plugins/classbuilder.c:
1163 Remove two unnecessary g_strdups().
1164 * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
1165 src/plugindata.h, src/ui_utils.h:
1166 Add hidden preference to disable automatic scrolling in the
1167 Compiler tab (closes #3004714).
1170 2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1172 * plugins/classbuilder.c:
1173 Fix a memory leak. (patch by Daniel Marjamaki, thanks)
1176 2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1178 * src/prefs.c, src/project.c:
1179 win32.h can be included unconditionally.
1181 Fix project base_path detection if the path has a trailing slash.
1182 * src/document.c, src/editor.c, src/project.c:
1183 Small improvements to speed up quit process with many open documents.
1184 Avoid calling gtk_notebook_remove_page() on exit as it takes
1186 * src/geanymenubuttonaction.c:
1187 Explicitly check for the type when iterating the action's proxies.
1188 For some reason on Windows, a GtkImageMenuItem proxy is created.
1189 * geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
1190 src/plugindata.h, scintilla/*, scintilla/include/*:
1191 Update Scintilla to version 2.11.
1192 * plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
1194 Add new GTK define also for Mingw cross compilation and
1195 makefile.win32 based Windows builds.
1196 * plugins/filebrowser.c:
1197 Implement reading and evaluating hidden file attribute on Windows.
1198 Fix broken "Go Up" if the current path ends with a slash.
1199 * THANKS, src/about.c, src/prefix.c:
1200 Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
1201 * geany.glade, src/document.h, src/interface.c, src/keyfile.c,
1202 src/main.c, src/notebook.c, src/prefs.c:
1203 Add preference to add new document tabs beside the current one
1204 (patch by Colomban Wendling, thanks).
1205 * geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
1206 src/keyfile.c, src/prefs.c, src/ui_utils.h:
1207 Add a preference for choosing between GTK and native
1208 File Open/Save dialogs (only available on Windows).
1209 * doc/geany.html, doc/geany.txt:
1210 Update documentation.
1213 2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1216 Sort file filters for the native Windows file open dialog by name.
1217 Don't use file filters for the native Windows Save As dialog.
1218 * src/dialogs.c, src/win32.c, src/win32.h:
1220 Pass and use also parent and title arguments to
1221 win32_show_document_open_dialog().
1223 Call handle_save_as() only when the Save As dialog was not cancelled.
1225 Improve adding/removing of the special separator between menubar and
1226 toolbar when the toolbar is appended to the menubar.
1227 * src/toolbar.c, src/templates.c:
1228 Explicitly disconnect menus from GeanyMenuButtonAction on quit to
1229 not trigger updating the menus on each item removal.
1232 2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1235 Replace one non breaking space by normal space. Patch by
1239 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1241 * plugins/classbuilder.c:
1242 Don't make the 'Create Class' menu item document-sensitive
1243 (patch by Colomban Wendling, thanks).
1244 Add namespace support for GTK+ classes.
1245 Add GET_CLASS() macro for GTK+ classes.
1246 Add typedef of the private structure in the header file instead
1248 (all the above from a patch by Colomban Wendling, thanks).
1249 * src/highlighting.c:
1250 Set common default "fold.comment" to 0 to disable it. This can
1251 be overridden if desired.
1253 Improve sorting of document list items
1254 (patch by Colomban Wendling, thanks).
1256 Remove unnecessary textdomain() call.
1259 2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1262 Fix search_find_text not returning -1 when match is out of range.
1263 This fixes invalid memory reads and wrong template filename
1264 wildcard replacement.
1265 * src/search.c, src/document.c:
1266 Only replace template filename matching start of word on saving.
1267 * plugins/filebrowser.c:
1268 Add 'Refresh' popup menu item (part of geany-plugins #2999858).
1269 * src/build.c, src/build.h, src/project.c:
1270 Make some ugly build.h global variables static.
1271 * src/build.c, src/build.h, src/project.c:
1272 Add Build prefix for TableFields, TableData.
1275 2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1278 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
1279 * src/dialogs.c, src/win32.c, src/win32.h:
1280 (Re-)Implement a (still basic) native Windows Save As dialog when
1281 compiled with GEANY_USE_WIN32_DIALOG.
1284 2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1286 * THANKS, src/about.c, plugins/classbuilder.c:
1287 Add support for creating PHP classes (patch by Ondrej Donek, thanks).
1288 * src/ui_utils.h, src/ui_utils.c:
1289 Add public, generic callback ui_editable_insert_text_callback()
1290 to restrict GtkEntry text inputs to +/- and numeric values only.
1291 * src/dialogs.h, src/dialogs.c:
1292 Add special variant dialogs_show_input_goto_line() to use a normal
1293 GtkEntry together with dialogs_show_input_goto_line() for text input.
1294 * src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
1295 Allow '+<number' and '-<number>' as values for Goto Line inputs
1296 to jump relative to the current line (closes #2997238).
1299 2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1301 * src/highlighting.c:
1302 Apply foreground and background colours of the folding margin
1303 style properly (closes #2998347).
1305 Don't auto-close short XML tags (closes #2994852).
1306 * THANKS, src/about.c, src/keybindings.c:
1307 Improve jumping to matching braces by consistently position the
1308 cursor before or after the matching brace dependent where it
1309 was before (patch by Dimitar Zhekov, thanks).
1311 Fix crash when generating global tags files (patch by Colomban
1315 2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1318 Avoid connecting signals more than once.
1321 2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1324 Don't ignore the 'intltool' check on non-Windows systems, instead
1325 raise a configure error.
1328 2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1331 Fix marking some strings as translatable (cannot be done in the
1333 * src/templates.c, doc/geany.txt, doc/geany.html:
1334 Reload templates if saving a document in the templates config dir.
1337 2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1339 * src/search.c, src/search.h, src/document.c, doc/geany.txt,
1341 Fix replacing {filename} template wildcard for custom file
1342 templates with non-default file extension.
1343 Add search_find_text() for POSIX regex searches.
1344 * src/templates.c, doc/geany.txt, doc/geany.html:
1345 Add {project}, {description} template wildcards (#2954737).
1346 * doc/geany.txt, doc/geany.html:
1347 Divide template wildcards into groups.
1348 * src/plugindata.h, src/plugins.c, src/symbols.c,
1349 plugins/geanyfunctions.h:
1350 Add symbols_get_context_separator() to plugin API (patch by Colomban
1354 2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1356 * src/keybindings.c:
1357 Fix setting wrong accelerator for 2 Edit->Commands items (patch by
1358 Anonymous, thanks; #2995593).
1359 * src/sciwrappers.c, src/plugindata.h, src/plugins.c,
1360 plugins/geanyfunctions.h:
1361 Add sci_set_line_indentation(), sci_get_line_indentation() to API
1362 (patch by Colomban Wendling, thanks).
1365 2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1368 Warn user if hidden hard tab width setting is not 8.
1371 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1373 * src/interface.c, src/project.c, src/keyfile.c, geany.glade,
1374 doc/geany.txt, doc/geany.html:
1375 Hide 'Tabs and Spaces: Hard tab width' preference - it should
1376 always be 8. (Hidden setting kept in case users have modified it).
1379 2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1381 * doc/geany.txt, doc/geany.html:
1382 Add Folding section link to filetypes.common custom settings.
1385 2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1388 When switching documents, don't call document_set_text_changed()
1389 as this does much more than necessary. Instead call the necessary
1390 UI update functions explicitly.
1393 2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1395 * tagmanager/vstring.c:
1396 Fix invalid memory read (patch by Colomban Wendling, thanks).
1399 2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1401 * src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
1402 Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
1403 strings in case of reaching the buffer size limit (part of #2979697).
1405 Change the limit for the command line length when executing commands
1406 to a maximum of 32768 characters (closes #2979697).
1407 Fix broken opening URLs e.g. when using the 'builtin' Run command.
1408 * tagmanager/ctags.c:
1409 Change eFree() to simply ignore NULL pointers instead of asserting.
1411 Remove malloc() fallback since we completely rely on g_malloc()
1413 * plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
1414 plugins/saveactions.c:
1415 Make string arguments const where appropriate (patch by
1416 Colomban Wendling, thanks).
1417 * src/build.c, src/build.h, src/callbacks.c, src/editor.c,
1418 src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
1419 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
1420 src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
1421 src/symbols.c, src/templates.c, src/ui_utils.c:
1422 Make string arguments const where appropriate (patch by
1423 Colomban Wendling, thanks).
1426 2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1428 * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
1429 Make plugin_signal_connect() string argument const (patch by
1430 Colomban Wendling, thanks).
1431 * src/keybindings.c, src/keybindings.h, src/plugindata.h:
1432 Constify some more string pointers in the API (patch by
1433 Colomban Wendling, thanks).
1434 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1436 Support {pc} wildcard in snippets to escape percent char.
1438 Recalculate line margin width when zooming (fixes #2990553).
1439 * src/highlighting.c, doc/geany.txt, doc/geany.html,
1440 data/filetypes.common:
1441 Support more folding icon styles: arrows, +/- and no lines
1445 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1448 Fix Windows build by properly guarding Unix-only code.
1451 2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1453 * src/templates.c, doc/geany.txt, doc/geany.html:
1454 Support {ob} and {cb} in fileheader and file templates; they are
1455 replaced last with { and }. This allows 'escaping' of wildcard
1457 * src/editor.c, plugins/classbuilder.c:
1458 Fix Class Builder plugin to use correct indentation instead of
1460 Make editor_insert_text_block() only replace leading tabs for the
1461 'Tabs' indent type; also group edits for undo.
1462 * src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
1464 Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
1467 2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1469 * tagmanager/pascal.c:
1470 More fixes to prevent possible crashes by trying to free NULL
1473 Automatically show and hide the sidebar notebook tabs according
1474 to the amount of visible pages (patch by Adrian Dimitrov, thanks).
1476 Add a static global variable to monitor autocompletion mode in order
1477 to prevent cancellation of the struct/class (C/C++) auto completion
1478 list (patch by Thomas Martitz, thanks).
1480 When starting and trying to access the Unix Domain socket of a
1481 potentially running instance, first compare file ownership with the
1482 user id of the running process to prevent accessing a wrong socket
1483 file (part of #2985463, this might not yet be the final solution).
1486 2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1488 * plugins/filebrowser.c:
1489 Synchronize popup menu and plugin preferences dialog 'Show Hidden
1490 Files' option (fixes #2989288).
1493 2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1495 * tagmanager/entry.c, tagmanager/entry.h,
1496 tagmanager/include/tm_source_file.h, tagmanager/parse.c,
1497 tagmanager/parse.h, tagmanager/tm_source_file.c:
1498 Add tm_source_file_set_tag_arglist() to manually set the argument
1500 * tagmanager/python.c:
1501 Use tm_source_file_set_tag_arglist() to set the argument list
1502 field of Python class tags to the argument list of their
1504 Backport a fix from CTags SVN to prevent possible crashes by trying
1505 to free NULL pointers.
1508 2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1510 * tagmanager/txt2tags.c:
1511 Remove duplicate code from Txt2Tags parser.
1512 Remove the title control characters ('=') when parsing titles.
1513 Also parse numbered titles (closes #2984703).
1514 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1516 Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
1517 Add missing documentation for 'Reset Zoom' keybinding.
1519 Another attempt to fix the PHP parser regexp for parsing functions.
1520 Fix wrong parsing of function arguments when those contain nested
1521 brackets (as reported by Harold Aling).
1523 Fix Ctrl-Click on notebook tab if Numpad is active.
1526 2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1528 * geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
1529 src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
1530 src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
1531 src/ui_utils.c, src/ui_utils.h:
1532 Add option 'System Default' for toolbar icon style and size to
1533 use the GTK default value.
1534 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
1535 src/toolbar.c, src/toolbar.h:
1536 Shorten the toolbar popup menu, only provide items for Toolbar
1537 Preferences and to Hide the toolbar.
1539 Instantly update the toolbar icon size and style when the
1540 corresponding global GTK settings are changed.
1541 * doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
1542 src/plugindata.h, src/socket.c:
1543 Add new command line option --list-documents to return a list
1544 of currently opened documents (closes #2979933).
1547 2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1549 * plugins/htmlchars.c:
1550 Make plugin remember whether replacement of special characters was
1551 activated even after restart of Geany or reloading of plugin.
1554 2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1557 Fix inserting snippets with an indent when using Mac CR line
1560 Update status bar after using Document->Set Line Endings.
1562 Improve API docs for editor_insert_text_block().
1565 2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1568 Refactor snippets_complete_constructs().
1569 Remove an unnecessary TODO.
1571 Fix indenting a snippet when there is whitespace after the
1575 2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1577 * doc/geany.txt, doc/geany.html:
1579 * src/build.c, src/msgwindow.c:
1580 Fix disabled compiler message tracking if using indicators to
1581 show build errors is disabled (closes #2982834).
1584 2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1586 * scintilla/Editor.cxx:
1587 Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
1588 and SCI_GETSELECTIONEND with rectangular selections. This fixes
1589 replacing in a rectangular selection.
1592 2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1595 Re-detect any document filetypes set to None after reloading
1596 filetype extensions (closes #2979661).
1598 Fix showing '...' item last instead of first for document word
1602 2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1604 * data/filetypes.perl:
1605 Adjust Perl Compile command to use the -c command
1606 line option to perform a syntax check instead of using the
1607 deprecated ByteCompile module.
1608 Add error_regex to parse error messages and warnings when performing
1609 syntax checks on Perl files.
1612 2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1614 * src/keybindings.c, src/keybindings.h, doc/plugins.dox:
1615 Add API docs for keybinding enums.
1616 * src/notebook.c, doc/geany.txt, doc/geany.html:
1617 Make Ctrl-click on any notebook tab switch to the last used
1621 2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1623 * src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
1624 src/geanyentryaction.c, src/geanyentryaction.h,
1625 src/geanywraplabel.c:
1626 Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
1627 object for efficiency.
1630 2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1632 * plugins/classbuilder.c:
1633 Beep if the user hasn't entered a class name on pressing OK.
1635 Fix replacing '^' regex.
1636 * src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1637 plugins/geanyfunctions.h:
1638 Add Stash widget functions to API.
1640 Revert commit to use AC_PATH_PROG instead of 'which' (fixes
1644 2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1646 * THANKS, src/vte.c:
1647 Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
1649 * wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
1650 src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
1651 plugins/geanyfunctions.h, plugins/geanyplugin.h:
1652 Add Stash setting functions to API.
1653 Remove unnecessary argument to stash_group_load_from_file().
1654 * src/geanyobject.c, plugins/classbuilder.c:
1655 Don't generate FOO_GET_PRIVATE() macro because caching the result
1656 in Foo::priv can be much more efficient.
1659 2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1662 Fix cursor positioning when toggling comments
1663 (patch by Thomas Martitz, thanks).
1666 2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
1668 * src/keybindings.[hc]:
1669 Added Control+0 for zoom reset, see suggestion from #2969886.
1672 2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1674 * src/search.c, src/document.c:
1675 Fix wrong selection range after Replace in Selection.
1678 2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1681 Make CreateChildProcess() working with Unicode strings, e.g.
1682 directory names (closes #2972606).
1684 Remove reference to already removed latex.tags file.
1685 Future releases probably still depend on GTK 2.16.
1686 * scintilla/ScintillaGTK.cxx:
1687 Backport fix from Scintilla CVS to not paste text beyond the end
1688 of lines (closes #2969096).
1689 * plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
1691 Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
1692 to not set Geany's minimum window size anymore (closes #2972992).
1693 As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
1696 2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1699 Make adding string and string vector settings initialise the setting
1701 * src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
1702 Add stash_group_load_from_file() and stash_group_save_to_file().
1705 2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1707 * data/filetypes.common:
1708 Set default for wrapped lines to show marker at end of line only
1709 (more expected and doesn't change line alignment - closes #2972386).
1710 * src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
1711 src/pluginutils.c, doc/plugins.dox:
1712 Improve API docs contents page by listing all commonly-used files.
1713 Fix 'Date' appearing twice on the date line.
1714 Don't generate API docs for prefs.h, toolbar.h (unused).
1715 Move some '@file' doc-comments to the .c file.
1716 * src/interface.c, geany.glade:
1717 Add frame for 'Printing' prefs dialog page.
1718 * src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
1719 src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
1720 doc/stash-example.c:
1721 Rename Stash data types to be independently named from Geany (so
1722 Stash can be reused for other projects).
1723 Rename GeanyPrefGroup to StashGroup.
1726 2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1728 * tagmanager/python.c:
1729 Apply patch from Colomban Wendling to parse Python lambda functions
1730 (thanks) - modified to only parse toplevel or class member lambdas.
1731 * src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
1732 doc/stash-example.c:
1733 Add doc-comments for Stash setting functions.
1734 Add an example file showing usage of Stash.
1735 (Not enabled yet until added to the plugin API).
1738 2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
1741 Fix using return value without checking return status, caused
1742 incorrect sensitivity settings on build dialog.
1745 2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1748 Add tip about gcc optimization & warnings/debugging.
1749 Add Testing section.
1750 Update Libraries section about synchronizing with other projects.
1753 2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1756 For now revert the recent patch which set real_path of newly
1757 open non-existent configuration files as this seems hackish and
1758 causes 'file not found' warnings.
1760 Fix/Improve GIT repository detection
1761 (patch by Thomas Martitz, thanks).
1762 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
1764 Add utils_copy_environment() to the plugin API.
1767 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1769 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
1770 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
1772 Use 3rd person for more API dox.
1773 Change 'This is a wrapper function for...' to 'Wraps...' in brief
1775 Change 'After all...' to 'Afterwards...'.
1776 * src/interface.c, geany.glade:
1777 Apply patch from Eugene Arshinov to make frame packing/alignment
1778 more consistent (thanks).
1781 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1784 Fix ui_button_new_with_image() to call gtk_button_set_image() so
1785 that gtk_button_[sg]et_label() work as expected.
1786 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
1787 Make Build Commands dialog show menu item labels as a button (to
1788 help show that menu labels don't normally need to be edited &
1789 display the mnemonic correctly). Clicking shows an input dialog to
1790 set a new menu item label.
1791 Split dialogs_show_input() into 2 functions: one simple, one for
1792 a persistent dialog.
1793 Fix possible double-destroy of input dialog when closed by user.
1795 Fix not destroying 'Make Custom Target' input dialog after first
1798 Make Long Line Marker settings for existing projects default to
1799 general settings instead of 0 (thanks to Eugene Arshinov).
1800 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
1801 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
1802 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
1803 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
1804 Use 3rd person (gets not get) for API function brief descriptions.
1805 Avoid using 'convenience function' in API brief descriptions.
1808 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1810 * doc/geany.txt, doc/geany.html:
1811 Warn about some GNU extensions for regular expressions & clarify
1813 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
1814 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
1815 src/editor.h, geany.glade:
1816 Apply patch from Eugene Arshinov to add project long line marker
1817 customisation (thanks).
1818 * src/interface.c, geany.glade:
1819 Edit/tidy 'Long line marker' labels.
1822 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
1824 * src/build.c, src/project.c:
1825 Fix crash due to NULL in project build preferences (thanks to
1829 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1831 * src/utils.c, src/utils.h, src/search.c, src/search.h,
1832 src/document.c, doc/geany.txt, doc/geany.html:
1833 Merge gnu-regex branch:
1834 Use POSIX system/GNU regex engine for find & replace 'Use regular
1835 expressions' option. This alters regex syntax a bit - see the docs
1836 for details; we now support '?' operator and replacement backslash
1837 escaping is more standard.
1838 Make regex search imply replacing escaped chars.
1839 Allow \0 backreference replacement for the whole match.
1840 Note: Replace All may be slower; if this is a problem please let me
1843 Add argument to utils_str_replace_escape() for keeping
1844 uninterpreted backslash escapes e.g. '\\', '\e'.
1845 * scintilla/LexMarkdown.cxx:
1846 Backport minor formatting/style changes from Scintilla project.
1847 * doc/geany.txt, doc/geany.html:
1848 Remove warning about no visual indication for zero-column-mode
1852 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1855 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
1858 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1860 * wscript, scintilla/*, scintilla/include/*:
1861 Update Scintilla to version 2.03.
1862 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
1863 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
1864 Add preference for virtual spaces.
1866 Fix wrong default response for the Debug Messages dialog.
1868 Fix crashes when using Save As with no open files (closes #2964406).
1870 Fix duplicate mnemonics on 'Resave missing file' dialog, also
1871 move the question from the secondary to the main text to be
1872 more compatible with the Gnome HIG.
1873 Fix broken 'Save' action in 'Resave missing file' dialog.
1875 Improve PHP parser to parse also the argument lists of PHP functions.
1877 Correctly set the parent widget for the keybinding overwrite
1878 confirmation dialog.
1880 Fix setting the icon for some dialogs if the parent itself is also
1883 When editing non-existent config files using the Tools->Configuration
1884 Files menu, explicitly set the real_path to avoid presenting the Save
1885 As dialog when saving the file (patch by Tony Rick, thanks).
1887 Focus the editor widget after hiding the sidebar when it had the
1888 input focus (patch by Can Koy, thanks).
1889 Properly show/hide the mesages window when using the View menu item
1891 * plugins/filebrowser.c:
1892 After opening files, focus the editor widget
1893 (based on a patch by Can Koy, thanks).
1894 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
1895 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
1896 src/ui_utils.h, src/vte.c:
1897 Add and use convenience function ui_is_keyval_enter_or_return() and
1898 add it to the plugin API.
1901 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1903 * src/about.c, THANKS, po/ast.po:
1904 Added Asturian translation. Thanks to Marcos Costales for providing.
1907 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1910 Fix keyboard accelerators in debug messages window
1914 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1916 * scintilla/LexR.cxx:
1917 Backport R lexer from Scintilla CVS to fix case sensitive keywords
1918 (Scintilla bug #2956543).
1919 * src/sidebar.c, src/about.c, THANKS:
1920 Make Space on the symbol and document list not focus the editor
1921 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
1922 * src/document.c, src/document.h:
1923 Fix document_try_focus() to make it work with the sidebar document
1925 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
1926 Make Space on the compiler and messages widgets not focus the editor
1927 widget while Enter does (patch by Can Koy, thanks).
1929 Fix wrongly auto-detected multiline comments
1930 (patch by Eugene Arshinov, thanks).
1933 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1936 Show number of lines of current document inside statusbar. Thanks to
1937 Can Koy for providing the patch.
1940 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1942 * src/keybindings.c, doc/geany.txt, doc/geany.html:
1943 Make Switch to Editor keybinding reshow the document statistics
1944 line, so user doesn't have to move the cursor.
1947 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1950 Update keywords for the R language (patch by Jon Senior, thanks).
1953 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1956 Fix the instruction how to insert unicode characters
1960 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1962 * scripts/create_py_tags.py:
1964 Replace tabs by spaces.
1965 * plugins/genapi.py:
1967 Replace tabs by spaces.
1968 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
1969 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
1970 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
1971 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
1972 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
1973 src/plugindata.h, src/sidebar.c, src/sidebar.h:
1974 Add keybindings to switch to the sidebar's Document and Symbol list
1975 as well as to the Message Window's current tab
1976 (patch by Eugene Arshinov, thanks).
1978 Update primary keywords for the R language
1979 (patch by Jon Senior, thanks).
1982 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
1985 Add more detailed hints about reloading configuration
1986 (thanks to Tony Rick).
1987 * data/filetypes.javascript:
1988 Correct the keyword list for JavaScript (thanks to Jonas).
1991 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1993 * New release: Geany 0.18.1 "Balfour".
1996 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1998 * src/keybindings.c:
1999 Add special cases for handling the Select All keybinding (Ctrl-A) in
2000 the toolbar search and goto line text entries (closes #2948040).
2001 Strip trailing spaces after reflowing a paragraph, patch by
2002 Dominik Wagenfuehr, thanks (closes #2945497).
2005 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2007 * src/geanymenubuttonaction.c, src/templates.c:
2008 Partly revert last commit:
2009 Unref the new files toolbar menu when freeing templates as it
2010 was done before but unref it *after* the menu has been removed
2011 from the GeanyMenuButtonAction.
2013 Fix possible endless loop when trying to detect the encoding of
2014 non-text files (patch by Alexey Antipov, thanks).
2017 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2020 Allow saving remote files using g_file_set_contents() as well
2021 (patch by Алексей Антипов, thanks).
2022 * data/filetypes.python:
2023 Adjust style for secondary keywords to be less aggressive.
2024 Add Python 2.5 builtins keywords.
2025 * src/geanymenubuttonaction.c, src/templates.c:
2026 Unref the new files toolbar menu when setting a new menu to fix
2027 possible crashes when reloading configuration.
2029 When reloading configuration, process the current document at last
2030 so the symbol list will be updated correctly.
2033 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2036 Explicitly read filetype configuration files before generating
2037 global tags to get settings for custom filetypes.
2040 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2043 Fix GLib warning when toggling 'no plugins available' item.
2046 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2048 * icons/Makefile.am:
2049 Include geany.ico in the distribution tarball.
2051 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
2052 * scripts/create_py_tags.py:
2053 Make the script a bit more robust with newer Python versions.
2055 Use utils_spawn_sync() instead of g_spawn_sync().
2058 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2061 Close meta tag for export date properly.
2064 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2067 Update RPM Spec file (patch by Dominic Hopf, thanks).
2070 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2073 Fix renaming sci_send_message(), sci_send_command() function
2077 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2079 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
2080 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
2081 plugins/geanyfunctions.h, plugins/Makefile.am,
2082 plugins/pluginmacros.h, plugins/genapi.py, wscript:
2083 Use full function name for GeanyFunctions function pointers. This
2084 avoids naming conflicts e.g. with C++'s 'new' keyword.
2085 Remove deprecated header pluginmacros.h - use geanyfunctions.h
2089 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2091 * src/utils.c, src/utils.h, src/vte.c:
2092 Add utils_copy_environment() and make use of it.
2093 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
2094 src/editor.c, src/templates.c, src/templates.h:
2095 Add new special template wildcard "{command:...}" to use the
2096 output of a command in templates.
2097 Adjust template functions to mostly work with GeanyDocuments.
2098 Minor cleanups in the template code.
2100 Replace the old icons with smiley icons from the Rodent icon theme.
2101 Fix showing the same icon for two or more slots.
2103 * src/editor.c, src/editor.h, src/keybindings.c:
2104 Rename fold_symbol_click() to editor_toggle_fold().
2105 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
2106 was used to respect the 'Fold/unfold all children' preference
2110 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2113 Prevent possible segfault in get_build_group().
2115 Fix GLib warning & beep if trying to insert multiline comment for a
2116 filetype that doesn't support it.
2119 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2122 Add gcc commands to build a plugin to the HowTo.
2123 * src/search.c, src/document.c, src/document.h:
2124 Show 'Replaced X matches in Y documents' message when using
2128 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2130 * scripts/plugin_test.c:
2131 Add a little test program which can load and test Geany plugins to
2132 verify it is loadable at runtime and all necessary symbols are
2134 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
2136 Add new signal: "geany-startup-complete" which is sent once all
2137 initialization and startup tasks has been done.
2138 * README.I18N, configure.ac, wscript, po/LINGUAS:
2139 Remove po/LINGUAS from the repository.
2140 Generate it automatically if needed by reading available
2141 message catalogs from the po directory.
2142 Also respect the LINGUAS environment variable properly.
2145 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2148 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
2152 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2154 * src/editor.c, src/templates.c, src/templates.h:
2155 Refactor templates_replace_all() into templates_replace_valist()
2156 to save some code duplication.
2159 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2161 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
2162 src/plugindata.h, src/plugins.c:
2163 Add editor_insert_text_block() to plugin API.
2166 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2169 Update copyright information.
2170 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
2171 doc/geany.txt, doc/geany.html:
2172 Add keybinding to open the last closed tab (closes #2912692).
2175 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2177 * autogen.sh, configure.in, configure.ac:
2178 Rename configure.in to configure.ac.
2179 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
2181 Add sci_find_text() to the plugin API.
2182 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
2183 src/interface.c, src/prefs.c:
2184 Add a checkbox in the preferences dialog to explicitly toggle
2185 the visibility of the sidebar (closes #2923340).
2188 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2190 * src/editor.c, src/plugins.c, src/plugindata.h,
2191 plugins/geanyfunctions.h:
2192 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
2193 editor_get_eol_char() to the plugin API.
2194 * src/callbacks.c, src/plugins.c, src/plugins.h:
2195 Fix sensitivity of the Edit->Plugin Preferences menu item
2196 if plugins are loaded which do not provide a configuration dialog.
2197 * scripts/create_py_tags.py:
2198 Rewrite and extend the Python tags parsing script to use
2199 Python's inspect module to read symbols from Python modules
2200 including scope information.
2201 * data/filetypes.restructuredtext:
2202 Add the default comment character sequence for reStructuredText.
2204 Show the Find/Goto dialogs if the corresponding toolbar buttons are
2205 clicked but their text fields are not part of the toolbar (#2920807).
2206 * data/filetypes.common, doc/geany.html, doc/geany.txt,
2208 Add new style to change foreground and background colours for
2209 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
2211 Remember the window position of the Find, Replace and Find in Files
2212 dialogs (closes #2877988).
2215 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
2218 Fix a minor typo inside plugin API reference.
2221 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2223 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
2224 Make dialogs_show_prompt() more flexible to take up to three
2225 button/response code pairs to be shown.
2226 Add a close button to the dialog when asking to Re-Save a
2228 (closes #2916954, based on a patch by Dominik Stadler, thanks).
2230 Fix LaTeX environment auto completion with CR/LF line endings.
2231 Add some sanity checks.
2233 When closing a document after it was deleted from the filesystem,
2234 don't ask whether it should be saved first.
2235 Mark the document only as changed if it is not closed afterwards.
2236 Prevent possible segfaults if the document was closed when it is
2237 missing from the filesystem.
2238 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
2239 src/msgwindow.h, src/prefs.c:
2240 Add MessageWindow::scribble and use it instead of searching the
2241 widget pointer everytime.
2242 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
2243 Add preferences for hiding single tabs from the messages window
2244 (no GUI preferences yet, still to be implemented).
2245 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2246 Set the correct parent window for the toolbar editor
2247 dialog (closes #2913334).
2248 * src/win32.c, src/win32.h, src/ui_utils.c:
2249 Rename win32_show_project_folder_dialog() to
2250 win32_show_folder_dialog() as it is not related and not used by any
2251 project management related code.
2252 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
2253 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
2254 as it is specialised for opening documents.
2255 Implement win32_show_file_dialog() as a generic file open dialog and
2256 use it with ui_path_box_new().
2259 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2262 Extend auto_latex() function to check whether an environment has been
2263 closed within the next lines to avoid auto adding double \end{}.
2265 Remove LaTeX tags from SVN. Can be found at
2266 http://download.geany.org/contrib/tags/ if needed.
2269 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2271 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
2272 Add document_need_save_as().
2273 Show the Save As also for documents created from filetype templates
2274 instead of saving them directly with the untitled filename.
2277 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2279 * geany.glade, src/interface.c:
2280 Move 'Send Selection to Terminal' menu item from Format to Commands
2283 When going to a build error, try the current document's path if
2284 the parsed filename doesn't exist. (This can happen when we receive
2285 build messages in the wrong order - after the 'Leaving directory'
2288 Refactor msgwin_goto_compiler_file_line().
2289 * src/interface.c, src/keybindings.c, geany.glade:
2290 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
2293 Refactor/reformat on_replace_dialog_response().
2296 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2299 Improve geany.spec (split the package into a binary and devel
2300 package, update BuildRequires and other minor improvements).
2301 Patch by Dominic Hopf, thanks.
2304 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2306 * src/filetypes.c, src/filetypes.h:
2307 Make group for custom filetypes.
2308 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
2309 Add custom filetype Genie.
2312 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2314 * src/highlighting.c:
2315 Highlight D & Java types from a global tags file.
2316 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2317 Add debug message warning if recursive lexer_filetype is set.
2318 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
2319 Remove duplicate sci_set_keywords(), make argument const.
2320 * src/highlighting.c:
2321 Only show debug message once if recursive lexer_filetype is set.
2322 Tidy highlighting_init_styles code for filetype None handling.
2323 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
2324 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
2325 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
2326 tagmanager/parsers.h, tagmanager/makefile.win32,
2327 tagmanager/verilog.c, tagmanager/Makefile.am,
2328 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
2329 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
2330 * src/highlighting.c:
2331 Fix segfault on startup (oops).
2332 * data/filetypes.verilog:
2333 Fix using common style colours for Verilog.
2336 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2338 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2339 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
2340 Move C-like filetype properties into configuration files.
2341 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
2343 Remove now unnecessary "styling_within_preprocessor" C style key.
2344 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
2345 data/filetypes.glsl, data/filetypes.cs:
2346 Use lexer_filetype=C configuration file key instead of duplicate
2347 styleset functions for C++, C#, GLSL, Vala.
2350 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2352 * doc/geany.txt, doc/geany.html:
2353 Warn about not using BOM for configuration files (confuses GKeyFile
2354 parser, at least on my system).
2356 Add/improve debug messages for custom filetypes.
2359 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2362 Add a couple of further latex-beamer commands to list of LaTeX tags.
2365 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2367 * plugins/filebrowser.c:
2368 Add an in-entry clear icon to the filebrowser plugin's filter
2369 entry (patch by Dominic Hopf, thanks).
2370 * src/prefs.c, src/ui_utils.c:
2371 Fix two compiler warnings about possibly uninitialised variables.
2374 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2376 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
2377 plugins/geanyfunctions.h:
2378 Add main_is_realized() to the plugin API.
2379 * tagmanager/include/tm_tagmanager.h:
2380 Update partly outdated and wrong doc comment.
2381 * src/main.c, src/main.h, src/socket.c:
2382 Allow opening Geany projects remotely.
2383 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
2384 Add a hidden pref to allow executing text which was sent to the
2385 terminal directly, i.e. do not strip trailing newline characters.
2386 Also fix the stripping of trailing newline characters if there was
2390 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2392 * src/about.c, THANKS:
2393 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
2394 Kurt de Bree into section of previous translators.
2397 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2399 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
2400 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
2404 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2406 * src/highlighting.c:
2407 Make stylesets take a ft_id argument so they can be reused fully with
2408 custom filetypes, so custom styles and keywords can be set.
2409 * src/highlighting.c:
2410 Fix setting filetype properties when both the system and the user
2411 file have properties set.
2412 * src/symbols.c, tagmanager/vhdl.c:
2414 * src/highlighting.c:
2415 Fix lexer settings for custom filetypes.
2418 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2421 Remove duplicate regular expression for parsing classes.
2422 Fix and improve parsing of constants (patch by Harold Aling, thanks).
2423 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
2424 src/main.h, THANKS, src/about.c:
2425 Add new command line option "--socket-file" to be able to specify
2426 separate socket filenames for instances
2427 (closes #2896027, patch by Jörn Reder, thanks).
2428 * src/keybindings.c, src/keybindings.h:
2429 Add keybindings_check_event() to manually check GdkKeyEvents against
2430 Geany's keybindings.
2431 * src/callbacks.c, src/utils.c, src/utils.h:
2432 Add and use utils_get_help_url().
2433 * geany.glade, src/interface.c, src/prefs.c:
2434 Add a Help button to the preferences dialog.
2435 Handle Help keybinding events for the preferences dialog especially
2436 and open the manual with the corresponding anchor link to the current
2437 preferences page (same goes for the new Help button).
2440 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2442 * src/toolbar.c, src/geanymenubuttonaction.c,
2443 src/geanymenubuttonaction.h:
2444 Use separate tooltips for toolbar menu buttons and their attached
2446 * tagmanager/latex.c:
2447 Improve parsing of sections and chapters by ignoring shortnames
2448 like \section[shortname]{label} (closes #2890477).
2451 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2453 * src/geanymenubuttonaction.c:
2454 Try to fix Gtk warning when using Tools->Reload Configuration.
2457 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2459 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2460 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
2461 data/filetypes.pascal, data/filetypes.docbook,
2462 data/filetypes.python, data/filetypes.conf:
2463 Use filetypes.foo [lexer_properties] group instead of hardcoding
2464 lexer properties (more flexible e.g. for custom filetypes).
2465 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
2466 Replace filetypes.xml html_asp_default_language key with
2467 filetypes.html asp.default.language property in [lexer_properties]
2471 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2473 * doc/geany.txt, doc/geany.html:
2474 Fix slightly wrong description of how to insert Unicode characters.
2476 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
2477 ui_setup_open_button_callback().
2478 * src/prefs.c, src/prefs.c, src/vte.c:
2479 Refactor color and font button callback functions in the
2480 preferences dialog. Move the VTE related callback functions
2482 Make use of ui_setup_open_button_callback().
2484 Improve printing status texts (patch by Dominic Hopf, thanks).
2485 * src/prefs.c, src/vte.c:
2486 Use the default dialog title set by ui_setup_open_button_callback()
2487 to be more consistent and to save one string.
2490 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2493 Separate DKinds from CKinds.
2494 Don't generate macro tags for D, Java.
2497 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2499 * tagmanager/ctags.c, tagmanager/general.h:
2500 Make TagManager Assert statements cause g_warning on failure.
2501 * src/keybindings.c:
2502 Fix reflow paragraph command when cursor < anchor using
2503 sci_fix_selection().
2506 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2508 * tagmanager/perl.c:
2509 Fix Geany segfault with constant tags (#2895168).
2511 Fix invalid tree iter access when using tv_iters.tag_other but not
2512 using tv_iters.tag_variable.
2513 * HACKING, tagmanager/perl.c:
2514 Fix parsing Perl format statements ("other" type doesn't seem
2516 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
2517 Fix using "other" tag type.
2520 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2523 Remove useless comment about applying settings only when libvte.so
2524 could be loaded which is only displayed *if* libvte.so is loaded.
2526 Allow autocompletion for HTML entities even within a word.
2527 * src/geanymenubuttonaction.c:
2528 Only set the menu of the button if a non-empty GtkMenu is passed to
2529 geany_menu_button_action_set_menu() so the menu arrow keeps
2533 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2536 Fix parsing some Java code (e.g. filetypes.java) after r4407.
2539 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2542 Parse D functions with contracts (fixes #1885480).
2543 Parse D alias statement like typedef.
2544 (Ignore some more D keywords).
2546 Fix creating D interface tags properly.
2548 Parse contents of D extern{} and version{} blocks.
2551 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2557 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2559 * src/plugindata.h, HACKING:
2560 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
2563 Show number of files saved on status bar when using Save All.
2564 * src/highlighting.c:
2565 Use default color scheme if pref color scheme file doesn't exist.
2566 * src/keybindings.c:
2567 Fix moving correct lines after selecting whole line(s).
2570 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2572 * tagmanager/makefile.win32:
2573 Fix broken build on Windows because of a typo
2574 (patch by Timothy Boronczyk, thanks).
2577 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2579 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
2581 Add 'View->Editor->Color Schemes' menu, for now only shown if color
2582 scheme files exist in a colorschemes config directory. Color scheme
2583 files must end in ".conf" and currently only the [named_styles]
2585 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
2586 Add utils_get_config_files().
2587 * src/highlighting.c:
2588 Fix issue with default color not being reset if overridden with a
2589 system default color.
2590 * src/highlighting.c:
2591 Only reload filetype files when changing color scheme, not all
2592 configuration files.
2593 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
2594 Deprecate documents_foreach() as it looks more like a function; use
2595 foreach_document() instead.
2596 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2599 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2601 * src/stash.c, src/stash.h:
2602 Use typedef instead of pointer for widget_id function arguments.
2605 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2607 * src/pluginutils.c:
2608 Don't expand Plugin Preferences page spacing vertically to fill the
2609 height of the dialog.
2610 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
2611 geany.glade, plugins/splitwindow.c:
2612 Allow GeanyKeyBinding label field to contain underscores, which won't
2613 be displayed by Geany. This saves adding near-duplicate translation
2615 Add mnemonics for 3 Edit->Format menu items.
2616 Add keybindings_get_label().
2617 * src/interface.c, geany.glade:
2618 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
2622 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2625 Desensitize Edit->Commands menu item when no docs are open.
2626 * src/interface.c, src/keybindings.c, src/callbacks.c,
2627 src/callbacks.h, geany.glade:
2628 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
2629 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2630 Add general function sci_get_string() that works with any string
2631 buffer messages that follow the Windows message convention.
2632 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
2633 src/keybindings.h, src/callbacks.c, src/callbacks.h,
2634 src/pluginutils.c, src/pluginutils.h, geany.glade:
2635 Add 'Edit->Plugin Preferences' menu item and keybinding.
2636 Don't include plugindata.h in pluginutils.h because it redefines the
2637 GEANY() macro for plugin use.
2638 * doc/geany.txt, doc/geany.html:
2639 Update for Plugin Preferences keybinding.
2642 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2645 Sort document word completion list.
2646 * src/interface.c, src/keybindings.c, src/callbacks.c,
2647 src/callbacks.h, geany.glade:
2648 Add some useful commands to editor popup menu under "Commands"
2649 submenu (thanks to Lex).
2650 Move 'Duplicate line or selection' from Format -> Commands submenu.
2651 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2652 Enable switching the sidebar to the right on Windows again, as it
2653 apparently works after all.
2655 Fix using tab to autocomplete in some other situations that word part
2656 completion doesn't apply in.
2657 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
2658 Add Edit->Commands submenu which is shared with the editor popup
2660 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
2661 Change editor popup Commands submenu to start as child of menubar
2662 Edit menu, as this is more usual e.g. for keybindings initialization.
2663 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
2665 Share a single Format submenu for menubar Edit and popup menu.
2668 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2671 Fix a compiler warning about an uninitialised variable.
2673 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2674 sciwrappers.h, build.h (for the Waf build system,
2675 accordingly to r4366).
2678 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2680 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
2681 src/toolbar.c, src/toolbar.h:
2682 Add missing dox for types/files in the API.
2683 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
2684 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
2685 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
2686 of functions not in the API).
2687 Warning: any plugins that include these headers should remove them.
2688 * src/build.c, src/build.h:
2689 Move function doc-comments to build.c so they stay in sync. Note:
2690 these functions are still not in the API.
2692 Add 'Doc-comments' plugin API subsection.
2693 * plugins/filebrowser.c:
2694 Fix packing configure widgets equally.
2695 Use spacing multiples of 6 as recommended by Gnome HIG.
2696 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
2697 Disable switching the sidebar to the right on Windows as it will
2698 probably fail like the Split Window plugin.
2700 Improve 'Detect from file' indentation pref by ignoring lines with
2701 indentation wider than 24 characters as this is more likely to be
2702 alignment than indentation.
2705 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2707 * plugins/saveactions.c:
2708 Fix adding the filetype's default extension when using the
2709 Instant Save plugin (closes #2885142).
2711 Before looking for line and column numbers specified as part
2712 of a filename, ensure the file doesn't exist on disk. This allows
2713 opening of files like "test:0".
2715 Rename "select" variables into "selection" to avoid shadowed names.
2716 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
2717 Add ui_widget_modify_font_from_string() and sci_goto_line()
2719 * plugins/filebrowser.c:
2720 Rename "select" variables into "selection" to avoid shadowed names.
2721 Make use of ui_widget_modify_font_from_string().
2724 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2726 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
2727 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
2729 Add sidebar position interface pref.
2732 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
2734 * doc/geany.txt, doc/geany.html:
2735 Add missing underscores to links.
2738 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2740 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2741 Add 'Move line(s) up/down' keybindings.
2744 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
2746 * src/build.c, src/build.h, src/filetypes.h:
2747 Include code for project filetype execute commands and fix bug in
2748 saving project filetypes list.
2749 * src/project.c, src/build.c, doc/geany.txt:
2750 Make non-project execute configuration save to filetypes not
2752 Fix closing of project failing to remove build commands dialog entry.
2755 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2757 * src/project.c, src/ui_utils.c:
2758 Set border width for project properties build table.
2759 * geany.glade, src/interface.c:
2760 Don't expand hard tab width alignment.
2763 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2765 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
2766 doc/geany.txt, doc/geany.html:
2767 Support loading global tags files for custom filetypes.
2768 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
2769 doc/geany.txt, doc/geany.html:
2770 Add 'Word part completion' keybinding so keys other than Tab can be
2771 used, or to clear/change the combination so Tab does full completion
2773 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2774 Add 'Select to previous/next word part' keybindings.
2775 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
2776 Add 'Switch to Messages' focus keybinding.
2779 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2781 * doc/geany.txt, doc/geany.html:
2782 Add 'Custom filetypes' section.
2783 * src/filetypes.c, src/filetypes.h, src/document.c,
2784 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
2785 tagmanager/include/tm_source_file.h:
2786 Add filetype "tag_parser" key so custom filetypes can use an existing
2788 Add tm_source_file_get_named_lang().
2789 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
2791 Add filetype "lexer_filetype" key so custom filetypes can use an
2795 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2797 * THANKS, src/about.c:
2798 Add Xhacker Liu for his work at zh_CN translation to long list of
2802 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2804 * src/sciwrappers.c:
2805 Remove unnecessary line number margin padding.
2806 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
2807 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
2809 Improve word part autocompletion so AC list is not cancelled and
2810 reshown (this also stops the selection changing).
2811 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
2813 Improve CamelCase word part autocompletion for runs of capital
2816 Don't complete snippets if there's a selection.
2819 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
2822 Fix crash opening project when Geany started with no geany.conf.
2825 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2827 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
2828 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
2830 Add word part autocompletion for the current selected item when
2831 pressing Tab - Enter still completes normally.
2832 Add foreach_str() API macro.
2833 Temporarily modify scintilla to say if tab was used for
2835 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2836 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2837 plugins/classbuilder.c:
2838 Revert r4301 - utils_free_pointers() taking 4 arguments.
2839 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
2840 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
2841 plugins/splitwindow.c:
2842 Add highlighting_set_styles() to API, use for Split Window plugin so
2843 filetypes.common settings get set too.
2844 Make highlighting_set_styles() take GeanyFiletype pointer instead of
2846 * src/document.c, src/editor.c, plugins/splitwindow.c:
2847 Call editor_apply_update_prefs() from editor_create_widget() so
2848 correct tab width and other settings are applied for Split Window
2852 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2854 * src/keybindings.c:
2855 Don't include trailing newlines when using reflow command.
2857 Add stock close buttons to notebook tab popup menu.
2858 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
2859 plugins/geanyfunctions.h:
2860 Add document_get_notebook_page() to API.
2862 * data/templates/files/file.html, data/templates/files/file.php:
2863 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
2864 * src/interface.c, src/ui_utils.c, geany.glade:
2865 Move Tools configuration items to top of menu.
2866 * src/keybindings.c, src/search.c:
2867 Fix warning when using Find in Files with no documents open; make
2868 keybinding work in this case.
2871 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2873 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
2874 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
2875 Make Split Window 'Show current document' button have a drop-down
2876 menu to select the other documents.
2877 Add new API function ui_menu_add_document_items().
2880 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
2883 Fix sensitivity settings for compile and build toolbar items.
2886 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2889 Don't use filetype submenus for templates (slower to navigate, often
2890 only 1 per-filetype anyway).
2892 Put old filetype template menu items in 'Old' submenu as they should
2893 be removed after the 0.19 release.
2894 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
2895 Add GeanyKeyGroup callback support, which allow keybinding callbacks
2896 to be ignored if inappropriate so a later keybinding with the same
2897 key combination can intercept it. (Also group callbacks are usually
2898 tidier than separate callbacks).
2899 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
2900 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2901 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
2902 plugins/classbuilder.c:
2903 Make utils_free_pointers() take 4 arguments, add to API.
2904 * src/templates.c, src/tools.c, src/ui_utils.c:
2905 Fix memory leaks with gtk_container_get_children().
2908 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
2911 Ensure that old style build config is not loaded if it does
2915 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2917 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
2918 Added Galician translation.
2919 Thanks to José Manuel Castroagudín Silva.
2922 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2924 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
2926 Apply set default encoding for existing files only if the files are
2927 non-Unicode (patch by Alexey Antipov, thanks).
2930 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2932 * src/highlighting.c:
2933 Move new_styleset() and preprocessor setup code into
2935 * src/highlighting.c:
2936 Call apply_filetype_properties() from styleset_c_like().
2939 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2941 * doc/geany.txt, doc/geany.html:
2942 Improve information about predefined keybindings which are
2943 commonly used across applications (patch by Lex Trotman, thanks).
2945 Enable embedded page setup properties in the (Unix) Print dialog
2946 on newer GTK versions (closes #2870596).
2947 * src/highlighting.c:
2948 Map global types (read from tags files) to keyword style for
2952 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2955 Fix wrong creation of filetype template menu items for custom
2957 * src/highlighting.c:
2958 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
2960 Group 'New with template' items by filetype submenu (currently only
2962 Show custom file template items before filetype template items.
2963 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
2965 Only use one 'New with template' submenu - reparent as needed.
2967 Don't create templates/filetype.none either.
2969 Warn if custom template file no longer exists.
2972 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2975 Add missing icon for Java packages in the Symbol List.
2978 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2980 * src/highlighting.c, data/filetypes.vala:
2981 Add Vala keywords to conf file.
2982 * src/templates.c, doc/geany.txt, doc/geany.html:
2983 Read custom file templates from $prefix/share/geany/templates/files
2984 as well as user dir.
2985 * src/templates.c, data/templates, data/templates/files,
2986 data/templates/files/file.rb, data/templates/files/file.html,
2987 data/templates/files/main.java, data/templates/files/main.c,
2988 data/templates/files/main.cxx, data/templates/files/file.php,
2989 data/templates/files/main.d, data/templates/files/program.pas,
2990 data/templates/files/main.py, data/templates/files/file.tex,
2991 wscript, Makefile.am:
2992 Move filetype template defaults into custom file template files.
2995 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2997 * src/symbols.c, tagmanager/perl.c:
2998 Change Perl tag parser to ctags SVN r601. This removes support for
2999 buggy local/my/our but it parses constant/format/labels and should
3000 be less buggy overall (closes #2861232).
3001 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
3002 Add utils_get_file_list_full() which can optionally sort or include
3003 a full path for each list item.
3004 * src/utils.c, src/plugindata.h, src/plugins.c:
3005 Add utils_get_file_list_full() to API.
3008 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3010 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
3011 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
3012 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
3013 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
3014 po/POTFILES.in, wscript:
3015 Rename treeviews.[hc] -> sidebar.[hc].
3016 * data/filetypes.common:
3017 Remove unused [styling] arguments.
3018 * src/highlighting.c, data/filetypes.markdown,
3019 data/filetypes.restructuredtext:
3020 Remove style defaults from the code - just read them from
3021 configuration files.
3022 * src/highlighting.c, HACKING:
3023 Add apply_style_entries() to simplify implementing styleset_foo().
3024 * src/highlighting.c:
3025 Remove filetype keyword defaults from the code - just read them from
3026 configuration files.
3027 * src/highlighting.c:
3028 Add sci_set_keywords() wrapper.
3031 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3033 * scripts/create_py_tags.py:
3034 Make the code a bit more pythonic.
3035 * doc/images/build_menu_commands_dialog.png,
3036 doc/images/main_window.png:
3037 Add new images referenced in the documentation.
3038 * doc/geany.html, doc/geany.txt:
3039 Several documentation improvements (patch by Lex Trotman, thanks).
3040 * src/pluginutils.c:
3041 Fix setting the appropriate page of the combined plugins
3045 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3047 * src/keybindings.c:
3048 Only focus toolbar goto line entry when pressing keybinding if it's
3049 visible (patch by Eugene Arshinov, thanks).
3051 Focus editor after entering a number in the goto line toolbar entry.
3053 Use AC_PATH_PROG instead of which for portability (patch by Erik
3054 Southworth, thanks).
3056 Show plugins that only implement plugin_configure_single() in the
3057 multiple-configure dialog as a page with a configure button on it.
3058 Add padding for multiple-configure dialog.
3059 Make the multiple-configure dialog notebook tabs scrollable.
3060 * src/pluginutils.c, src/pluginutils.h:
3061 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
3062 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
3063 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
3064 plugins/geanyfunctions.h, plugins/filebrowser.c:
3065 Add plugin_show_configure() API utility function.
3066 Add File Browser popup menu 'Preferences' item.
3067 * src/highlighting.c:
3068 Add get_keyfile_ints() instead of using tmp_style hack.
3069 * src/highlighting.c, data/filetypes.xml:
3070 Change new html_asp_default_language markup pref to use integer,
3071 not hex in config file.
3072 Fix minor issue with changing pref back to 0.
3073 * src/highlighting.c:
3074 Fix possible segfault in get_keyfile_int() if key value is malformed.
3077 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3079 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
3080 Add "html_asp_default_language" pseudo style to filetypes.xml
3081 to allow setting the used language in embedded ASP code
3082 (patch by Ross McKay, thanks).
3083 * src/filetypes.xml:
3084 Update VBScript keywords (patch by Ross McKay, thanks).
3087 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3089 * src/keybindings.c, THANKS:
3090 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
3091 keybinding use line breaking column when enabled.
3093 Fix showing the document before reload dialog when opening an
3095 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
3096 Add plugin_configure_single() plugin symbol which is easier to
3097 implement than plugin_configure() but won't support a
3098 multiple-plugin configure dialog.
3100 Show multiple plugins in the 'Configure Plugins' dialog.
3103 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3105 * doc/geany.txt, doc/geany.html:
3106 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
3108 * doc/geany.txt, doc/geany.html:
3109 Add 'Toolbar entries' section.
3110 * doc/geany.txt, doc/geany.html:
3111 Update 'Go to line' keybinding description.
3112 * doc/geany.txt, doc/geany.html:
3113 Split keybinding table into group tables; update KB links.
3116 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3119 Fix compiler warnings about uninitialised variables.
3120 * src/callbacks.c, src/document.c:
3121 When reloading files, use the previously set encoding instead of
3122 detecting it again (closes #2862041).
3124 Turn on automake silent rules if supported.
3127 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3130 Speed up sorting in utils_get_file_list(). This reduces the file
3131 browser delay on displaying a big directory, e.g. /usr/bin.
3133 Expand command entry width when expanding Build Commands dialog.
3135 Split Build Commands dialog notes label and edit text.
3137 Add padding for Build Commands dialog separators.
3138 Add colons for regex field labels; fix 1 capitalisation.
3140 Fix none filetype Build Commands dialog label.
3141 Make group labels bold.
3142 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
3144 Add & use ui_label_set_markup(), ui_label_new_bold().
3145 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
3146 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
3147 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
3148 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
3149 * src/keybindings.c:
3150 Make 'Go to Line' keybinding focus the toolbar entry if visible.
3153 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3155 * src/filetypes.c, src/filetypes.h, src/symbols.c,
3156 tagmanager/parsers.h, tagmanager/makefile.win32,
3157 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
3158 data/filetype_extensions.conf, wscript:
3159 Add new filetype: Abc (patch by Eric Forgeot, thanks).
3161 Merge recent changes from the CTags project to further improve
3165 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3168 Fix wrong alignment of printed pages when page headers are
3169 disabled (closes #2856822).
3170 Plug a small memory leak and improve function signature of
3173 Save an if expression.
3175 After clearing a text field using the embedded clear icon, put the
3176 input focus into this text field.
3179 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3181 * plugins/filebrowser.c:
3182 Free file list memory whilst iterating the list.
3183 Minor formatting fixes.
3184 * src/utils.c, src/utils.h:
3185 Add foreach_dir() API macro.
3186 Update API docs for utils_get_file_list().
3187 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
3189 Remove queue.[hc] - use GQueue instead of GeanyQueue.
3190 Beep if there are no more snippet positions.
3191 Limit length of snippet positions queue to 20.
3194 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3196 * src/keybindings.c, src/callbacks.c, src/search.c:
3197 Make Goto Tag commands use the current selection if present (useful
3198 for selecting part of a tag or for ReST section names with spaces
3201 Don't move the cursor when reloading.
3202 * src/plugindata.h, src/editor.c, src/editor.h:
3203 Make editor_prefs.snippets hash table private (not a pref).
3206 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3209 Remove deprecated --debug flag. Please use --verbose/-v instead.
3212 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3215 Show Find in Files stderr output in messages window instead of
3216 debug window so that invalid regex messages can be seen easily.
3217 Combine FIF stdout and stderr callback code.
3220 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3223 Fix opening filenames beginning with two dots (closes #2858487).
3224 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
3225 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
3226 data/filetypes.common, geany.glade:
3227 Update syntax highlighting after changing the 'Invert syntax
3228 highlighting colors' pref, instead of requiring a restart.
3229 Remove filetypes.common invert_all option - use 'Invert syntax
3230 highlighting colors' pref instead (closes #2854525).
3231 * src/prefs.c, src/dialogs.c, src/dialogs.h:
3232 Add 'Allow' button when showing the conflicting keybinding dialog.
3233 Make dialogs_show_question_full() use GTK dialog on Windows if
3234 button text is not the stock yes/no items.
3235 Add dialogs_show_prompt() which also has an 'Apply' button.
3236 * src/queue.c, src/queue.h:
3237 Add warning that GeanyQueue may be removed.
3238 * src/keybindings.c, src/editor.c, src/editor.h:
3239 Change snippet_goto_next_cursor() to
3240 editor_goto_next_snippet_cursor() as it's in editor.h.
3241 Avoid using GPOINTER_TO_INT macro.
3244 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3246 * src/keybindings.c:
3247 Fix 'Reflow block' command when at the last paragraph and there's
3248 no last newline (patch by Eugene Arshinov, thanks).
3250 Add 'Compiler options & warnings' section.
3251 Update Style section to be clearer about code alignment and show
3256 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3258 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3259 src/plugindata.h, src/plugins.c, src/editor.c,
3260 plugins/geanyfunctions.h:
3261 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
3262 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
3264 Add sci_toggle_marker_at_line().
3265 Fix SciFuncs alignment.
3268 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
3271 Fix erroneous free of returned string in prepare_run_script.
3274 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3276 * data/filetypes.latex:
3277 Changing default value for showing pdf and dvi to ensure to take
3278 *.pdf and *.dvi file.
3281 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3283 * src/about.c, THANKS:
3284 Change language string for Slovenian translation.
3287 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3289 * tagmanager/txt2tags.c:
3290 Fix multi-byte character constant comparison.
3292 Fix Gtk warning when trying to update documents popup menu item
3293 sensitivity before they exist.
3296 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3299 Improve the opening string in the plugin manager dialog.
3301 Use "max-width" to set the document width of the generated
3302 HTML documentation to let the text be auto-wrapped.
3303 * src/prefs.c, src/tagmanager/include/guregex.h,
3304 src/tagmanager/include/tm_tagmanager.h:
3305 Remove trailing spaces (patch by André Hentschel, thanks).
3307 Fix a compiler warning.
3309 Fix crash when opening documents.
3310 * src/build.c, src/build.h, src/project.c:
3311 Adjust coding style (no code changes).
3312 * src/build.c, src/project.c:
3313 Use NZV() macro instead of strlen() to check for empty strings.
3314 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
3315 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
3316 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
3317 src/plugins.c, THANKS:
3318 Add new plugin signal: "document-before-save".
3319 Add get_line_end_position(), set_target_start(), set_target_end(),
3320 replace_target() to the plugin API
3321 (patch by Eugene Arshinov, thanks).
3322 Add new plugin signal: "document-filetype-set" (closes #2852286).
3323 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
3324 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
3325 tagmanager/Makefile.am, tagmanager/makefile.win32,
3326 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
3328 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
3331 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3333 * src/treeviews.c, src/document.c:
3334 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
3335 Use gtk_notebook_set_current_page() instead of
3336 document_open_file_full() when choosing an item from the documents
3338 Avoid using goto in document_open_file_full().
3341 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3343 * src/treeviews.c, src/document.c, src/document.h, THANKS:
3344 Enable type-ahead find for sidebar symbols and documents tabs
3345 (patch by Thomas Martitz, thanks).
3347 Fix 2 free's of possibly uninitialized pointers.
3350 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
3352 * src/build.c, src/filetypes.h, src/filetypes.c:
3353 Only write filetype config files when build command or regex is
3354 actually changed. Removed commented code in src/filetypes.c.
3356 Ensure uses of filename are protected against nulls when running
3357 a build command and give status message if not.
3360 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3363 Remove plugin from plugin manager dialog on unloading if it no
3364 longer exists or is incompatible.
3367 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3370 Add warning if only one of the plugin_key_group[_info] symbols is
3371 defined for a plugin.
3372 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
3373 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
3375 Merge custom-filetypes branch:
3376 Support adding custom filetype files e.g. filetypes.Foo.conf.
3378 Allow GeanyFiletype::extension to be NULL.
3379 Add note about using GeanyFiletype pointer instead of filetype_id
3380 for filetypes.c function arguments.
3381 Replace styleset_none() with styleset_default().
3384 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3387 Show the sidebar if either the documents or the symbols list are
3388 enabled (related to #1876107).
3391 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3393 * src/build.c, src/filetypes.c:
3394 Fix compiler warnings.
3396 Fix removing leading double slashes in filenames which are used for
3397 network resources on Windows (closes #2844085).
3400 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3402 * src/keybindings.c:
3403 Fix Make keybindings (patch by Lex Trotman, thanks).
3405 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
3407 Mention Files link at top for header files; demoplugin.c.
3408 Minor edits; remove 'far from being complete'.
3409 * src/keyfile.c, src/keyfile.h, src/main.c,
3410 data/filetype_extensions.conf, HACKING:
3411 Remove --generate-data-files argument & code - just edit
3412 filetype_extensions.conf by hand (filetype order was broken
3414 Add *.H extension for C++ (useful for non-Windows systems).
3417 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
3420 Fix implementation of loading old project files with base
3421 directories. Use project_make_base_path instead of re-
3422 implementing. Now depends on project.c reading base dir
3423 prior to calling load_build_menu.
3425 Change usage of project base directory to conform with
3426 previous documented behavior when loading old project files.
3428 Change make custom and make object to ignore make in base path
3429 when reading old project file settings. Changed some indent
3430 spaces to tabs. Fix missing compile menu accelerator.
3433 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3436 Add warning about not using undocumented features.
3437 Add reference to HACKING for plugin API development.
3439 Add section 'Plugin API/ABI design'.
3440 * src/keybindings.h, src/makefile.win32, src/project.h,
3441 src/filetypes.h, src/Makefile.am, wscript:
3442 Use GEANY_PRIVATE to hide some fields from plugins.
3444 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
3445 * src/build.c, src/build.h, src/project.c:
3446 Use build_ prefix for 3 functions in build.h; add a static modifier.
3449 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3452 Improve parsing of PHP functions by requiring a valid modifier or
3453 whitespace before the 'function' keyword to ignore some false
3454 positives like function tags inside comments
3455 (patch by Harold Aling, thanks).
3456 * tagmanager/python.c:
3457 Don't parse comments after import statements and other tags
3458 (closes #2838938, patch by Huandari Lopez, thanks).
3461 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3463 * data/filetypes.markdown:
3464 Add filetypes.markdown for configuration (thanks to Jon Strait).
3465 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
3466 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3467 plugins/geanyfunctions.h:
3468 Remove GeanyKeyGroup struct from the API - plugins should not set
3470 Make keybindings_set_item() duplicate the name and label fields
3471 (needed by GeanyLua) and return a keybinding pointer.
3472 Add keybindings_get_item() to the API (in case it's useful).
3473 Move some keybinding code out of plugin source files.
3476 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3478 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
3479 Don't generate build.h API docs until everything is approved and
3480 functions are actually in geany_functions.
3481 Move new GeanyFiletype and GeanyProject field(s) to end of struct
3482 as they may be changed or made private later.
3483 Break ABI for fields removed.
3486 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
3488 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
3489 src/keyfile.c, src/project.c:
3490 Changed names of symbols visible in build API to GEANY_xxx.
3493 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
3495 * src/project.h, src/project.c, src/build.c:
3496 Remove make_in_base_dir and run_cmd fields from project structure.
3497 Replaced by build functionality. Remove incorrect use in src/build.c
3498 build_run_cmd function.
3501 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3503 * src/project.h, src/project.c:
3504 Removed unused project_get_make_dir function, this is now per
3508 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
3510 * src/build.c, src/build.h, src/project.c, src/keyfile.c,
3512 Fix some more warnings.
3513 Fix commented out execute/stop toolbar code in build.c.
3514 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
3515 Changed build.h api so all functions prefixed with build_.
3518 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3520 * src/build.c, src/build.h, src/project.c:
3521 Fix some gcc warnings with '-Wall -W -ansi' enabled.
3524 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
3527 Fixed leaks and crashes due to inconsistent use of static vs dynamic
3528 strings when reading old format configuration & project files.
3529 * src/build.c, src/project.c:
3530 Fixed GLib array assertion warnings when no project filetypes are
3531 available to be saved.
3533 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
3539 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
3541 * src/build.h, src/build.c, src/project.c:
3542 Created and documented plugins interface to build menu.
3543 Factored out new get_cmd_group function.
3544 Changed name of remove_command function to be consistent with the
3545 rest of the interface & changed calls in project.c.
3546 * src/Makefile.am, wscript:
3547 Added build.h to installed files lists.
3549 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
3552 Updated manual to match build-menu capability.
3555 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
3557 * src/build.c, src/build.h:
3558 Added set_build_non_ft_wd_to_proj() for use by project dialog.
3559 Improved interpretation of run_in_base_dir from old [build-settings]
3560 Added spacing to build commands dialog
3562 Removed run in base path option from project dialog and added button
3563 to set working directories to d the same.
3566 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
3569 Re-incorporated toolbar changes in trunk accidently excluded in merge
3571 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3574 Fixed substitute %f etc in commands
3575 Fixed potential leak in build_replace_placeholder
3576 Fixed leak in prepare_run_script (Thanks for patch Thomas)
3577 Fixed build_replace_placeholder to not require document.
3579 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
3581 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
3582 Fixed crash and lots of warnings, deleted some commented out code.
3583 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
3584 Removed make command from preferences and associated code
3586 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
3588 * src/build.c, src/build.h:
3589 Incorporated patch for working directory field (thanks Thomas)
3590 Removed run_in_base_dir option and associated code that it replaces
3591 Improved handling of old config files and mapping to new ones.
3593 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
3595 * src/build.h, src/build.c:
3596 Changed to itterate over entries in build commands dialog to allow
3597 additional fields to be added
3598 Implement support for multiple run commands
3599 * data/filetypes.latex:
3600 Implement configured commands and labels for latex.
3603 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
3605 * src/build.h, src/build.c:
3606 added dialog support for error regular expressions from multiple
3607 sources and storing and loading them fixed some typos and memory
3609 * src/filetypes.c, src/filetypes.h, project.c:
3610 added support for using error regexes from multiple sources
3613 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
3615 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
3617 Removal of build menu item source made redundant by the following fix
3619 Corrected priority oreder and loading of filetype dependent build
3620 menu items saved in the project file. Added print routine for
3621 debugging command sources and priorities set compile symbol
3622 PRINTBUILDCMDS true to enable
3624 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
3627 fixed problem loading old format filetype files, some formatting
3628 fixes fixed saving new format files
3629 added operation for clear button on build commands dialog
3631 fixed loading and saving filetype files
3634 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
3636 Configurable Build Menu Changes
3638 * doc/geany.html, doc/geany.txt:
3639 Updated build menu section to new functionality
3640 * src/build.h, src/build.c:
3641 Largly re-written, configurability added, Latex code removed
3642 * src/filetypes.h, src/filetypes.c:
3643 Filetype structure updated to add new command pointers, configuration
3644 load and store changed
3645 * src/keybindings.h, src/keybindings.c:
3646 Changed to address new command storage structure.
3648 Changed to load/store new configuration.
3650 Minor change to initialisation order.
3652 Changed to address new menu item storage structure.
3653 * src/project.h, src/project.c:
3654 Changed to load/store the new configuration info.
3656 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3658 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
3659 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3660 doc/pluginsymbols.c, plugins/geanyfunctions.h,
3661 plugins/splitwindow.c:
3662 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
3663 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
3664 the ABI when adding fields to them.
3665 Add plugin_set_key_group() for plugins to dynamically set a
3666 keybinding group (e.g. for the Lua script plugin). Used in Split
3667 Window plugin as an example.
3668 Improve keybinding docs a little.
3671 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3673 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
3674 Add geanyfunctions.h to API docs.
3675 * plugins/splitwindow.c:
3676 Set the cursor color for the split window.
3679 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3682 Fix 'Open Selected File' for unsaved new documents.
3683 * src/keybindings.c, src/keybindings.h, src/prefs.c:
3684 Fix updating main menu accelerators after changing keybindings
3685 (thanks to Lex Trotman).
3687 Fix using 'Insert date' keybinding when a custom date string has
3689 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3690 Merge Plugin and GeanyPluginPrivate structs.
3693 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3695 * src/keybindings.c:
3696 Fix non-working Home and End keys on numpads.
3699 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3701 * doc/geany.txt, doc/geany.html, NEWS:
3702 Add 'Scope autocompletion' section.
3703 Add 'Tools menu items' section to explain configuration files
3704 submenu, reload configuration item.
3705 Minor updates/fixes.
3708 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3711 Add a translation hint to an ambiguous format string.
3713 Add missing include path to fix 'make distcheck'.
3715 Fix opening of local files in the browser on Windows.
3716 * New release: Geany 0.18 "Kaine".
3717 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
3718 src/geany.h, doc/geany.html, doc/geany.txt:
3719 Post-release version bump.
3722 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3725 Temporarily disable reshowing calltips when the autocompletion
3726 list was closed implicitly by not choosing an item to fix
3727 problems with wrongly displayed calltips.
3729 Add missing 'coding' cookie to the Python filetype template.
3730 * doc/images/pref_dialog_edit_completions.png,
3731 doc/images/pref_dialog_toolbar.png:
3732 Update images for Geany 0.18.
3735 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3738 Add command '--hackingdoc' to create the HTML form of the
3742 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3744 * po/pt_PT.po, po/LINGUAS:
3745 Added a first Portugese (Portugal) translation based on work done at
3746 launchpad by e.g. André Glória and Alexandre Jesus.
3747 * src/main.c: Fix a minor typo on --help call.
3750 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3752 * src/highlighting.c:
3753 Call get_keyfile_wordchars() in highlighting_init_styles().
3756 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3758 * data/filetypes.ada:
3760 * src/keybindings.c:
3761 Switching notebook tabs now works for the currently used notebook
3762 widget instead of always using the documents notebook.
3763 * src/document.c, src/document.h, src/documentprivate.h,
3765 Small corrections to some API docs.
3768 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3770 * src/build.c, src/win32.h, src/win32.c:
3771 Expand system environment variables (%variableName%) on Windows when
3772 running Build commands.
3775 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3777 * src/keybindings.c:
3778 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
3779 future using an indent block is more useful e.g. for ChangeLog
3781 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
3782 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
3783 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
3784 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
3785 tagmanager/parsers.h, tagmanager/makefile.win32,
3786 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
3787 Add Markdown filetype (patch by Jon Strait, thanks).
3788 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
3789 Fix disconnecting plugin signal id when not using geany_object.
3791 Add filetype_make_title() instead of using:
3792 ft->title = g_strdup_printf(_("%s source file"), ft->name);
3793 It also supports "%s file" strings.
3796 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3798 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
3799 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3800 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
3801 plugins/filebrowser.c:
3802 Add plugin_signal_connect() for connecting plugin signals at
3803 runtime and also for connecting to any GObject signal.
3804 Add 'Plugin Utility Functions' on main page.
3805 Add foreach_array() macro.
3806 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
3807 src/document.c, src/editor.c:
3808 Rename 3 sci functions to sci_set_target_start(),
3809 sci_set_target_end(), sci_replace_target() to match the SCI_
3813 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3815 * wscript: Fix compiling error with waf.
3818 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3820 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
3821 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
3822 src/Makefile.am, wscript:
3823 Move plugin_* utility functions to pluginutils.c.
3824 Add pluginprivate.h.
3826 Fix reshowing calltip in the wrong document.
3829 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3831 * doc/geany.txt, doc/geany.html:
3832 Add some general information about auto-completion capabilities
3833 (patch by Lex Trotman, thanks).
3836 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3838 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
3839 Added a first Slovenian translation. Thanks to Joze Klepec.
3842 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3844 * src/highlighting.c:
3845 Use full styleset_foo[_init] function name as argument to
3846 init_styleset_case() and styleset_case() macros so it's easier to
3847 understand the code.
3848 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
3849 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
3850 doc/geany.txt, doc/geany.html:
3851 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
3852 Heavily based on a patch by Eugene Arshinov (thanks).
3853 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
3854 editor_strip_line_trailing_spaces().
3857 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3860 Attempt to fix reshowing calltips after the autocompletion list
3862 Reshow calltips also when the autocompletion list was closed
3863 implicitly by not choosing an item.
3865 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3867 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
3868 plugins/splitwindow.c:
3869 Change utils_str_remove_chars() to work in place; fix allocating on
3870 the stack (the string length could exhaust the stack size).
3871 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
3872 src/printing.c, src/callbacks.c:
3873 Rename utils_str_replace() utils_str_replace_all(), setting a
3874 'gchar **haystack' argument instead of returning a new string.
3876 For the Tabs indent type, remove spaces when unindenting (only) if
3877 there are no tabs on the line.
3878 Group undo actions for (un)indenting of multiple lines.
3879 * src/document.c, src/editor.c:
3880 Fix scrolling horizontally after finding a search match with the
3881 search bar or Find Next/Previous which is off-screen.
3882 * src/keybindings.c:
3883 Fix GLib warning when pressing a key with no documents open.
3886 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3889 Start unifying usage of @a and @c markup elements in API docs,
3891 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
3892 Show/hide the toolbar without a restart when the setting in the
3893 preferences dialog is changed (closes #2824785).
3894 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
3895 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
3896 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
3898 Continue unifying usage of @a and @c markup elements in API docs.
3901 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3904 Remove relative/untidy path elements when creating new documents
3905 with a filename (e.g. from the command-line) (#2823998).
3908 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3911 Disable 'Recent Projects' menu item if the list of recent projects
3914 Fix some harmless compiler warnings.
3915 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
3916 src/plugins.c, src/utils.c, src/utils.h:
3917 Move utils_str_remove_chars() from the plugins/splitwindow.c to
3918 src/utils.c and add it to the plugin API.
3919 Make utils_str_remove_chars() work on a new copy of the input string
3920 instead of modifying it in place.
3922 Remove underscores from the toolbar items labels.
3925 * plugins/splitwindow.c:
3926 Fix broken 'Show the current document' tool button icon.
3929 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3931 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
3933 Add stash_group_add_widget_property() so we can save any widget's
3934 read/write properties.
3935 Use Stash for ui_prefs.sidebar_page setting.
3936 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
3937 Make foreach_ptr_array() use an integer argument for its
3938 implementation, as this is more useful potentially than a gpointer*
3939 argument, and more straightforward.
3940 Add foreach_c_array(), foreach_ptr_array() to API.
3941 * src/utils.c, src/utils.h, src/document.c:
3942 Remove relative/untidy path elements when opening documents (closes
3945 Fix showing project name for documents list files with no
3946 subdirectory (oops).
3948 Fix checking whether to overwrite when using the Rename button in
3949 the 'Save As' dialog.
3952 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3955 Don't use the main window as parent for dialog boxes if it is not
3957 Set titles for message dialogs.
3960 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3963 Display item labels instead of raw names in the toolbar editor.
3964 Apply changes in the toolbar editor instantly.
3965 Show icons in the toolbar editor.
3966 Speed up toolbar editor dialog creation.
3968 Improve inserting of comment templates like File header or licence
3969 notices. The comment information are now read from the filetype
3970 configuration files.
3972 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3975 Enable file monitoring for files which are written to disk by Geany
3978 Fix broken special case handling when detecting filetypes from a
3979 shebang or other special file headers.
3982 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3985 Make Mark All keybinding clear search highlighting when there's no
3988 Fix wrong match length when using Mark with regex.
3989 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
3990 src/keyfile.c, src/main.c:
3991 Add 'Show Paths' documents list popup item.
3992 Add "load_settings" core-only signal emitted just after loading
3993 main keyfile settings; useful to delay building UI elements until
3994 settings have been read.
3996 Fix GTK warning when right-clicking on default tag tree.
3997 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
3998 Add treeviews_finalize().
3999 Remove tv.popup_openfiles field.
4002 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4004 * src/highlighting.c:
4005 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
4008 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4011 Quote the uri before passing it to the browser when opening a
4012 website (closes #2818635).
4014 Fix broken 'builtin' Run command for HTML files on Windows.
4017 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4020 Properly fix wrong brace highlighting of non-brace character.
4022 Allow autocompletion in Perl double-quoted strings.
4023 Don't autocomplete in Perl single-quoted strings (closes #2821061).
4024 Don't autocomplete in Perl q() strings.
4025 * data/filetypes.common:
4026 Make Mark highlighting brighter.
4027 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
4028 Use hyphen for auto-feature terms.
4029 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
4030 src/document.h, src/main.c:
4031 Add documents_foreach() API macro that skips invalid docs.
4032 Make filetypes[], documents[] part of the API again.
4033 Add GEANY() macro for sharing geany symbols between API and core.
4034 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
4035 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
4036 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
4037 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
4038 plugins/classbuilder.c, wscript:
4039 Add geanyplugin.h single include for plugin API; update all core
4041 Add sci_set_font() to API.
4042 Update plugin howto.
4043 * src/filetypes.c, src/filetypes.h:
4044 Remove filetypes_foreach_named().
4047 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4049 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
4050 src/document.h, src/main.c, THANKS:
4051 Apply patch from Eugene Arshinov to reload color schemes via menu
4054 Reload filetypes.common after saving it.
4056 Improve wrong brace highlighting of non-brace character.
4059 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4062 Delay highlighting matching braces by 100ms, which speeds up
4063 scrolling with the arrow keys.
4064 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
4065 Add 'Mark All' keybinding.
4066 * tagmanager/diff.c:
4067 Show relative paths in diff filename tags.
4070 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4072 * src/highlighting.c:
4073 Fix setting keyword list 'classes' for Haxe
4074 (pointed out by Andreas Mokros, thanks).
4077 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4079 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4080 doc/geany.txt, doc/geany.html, geany.glade:
4081 Add 'Drop rest of word on completion' pref.
4082 * src/editor.c, doc/geany.txt, doc/geany.html:
4083 If autocompletion is already visible when forcing completion, show
4084 document word completion instead of tag completion.
4085 Docs: Minor edits of related prefs items.
4086 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
4087 Add warning when printing and editor font is not monospaced.
4088 Fix using GtkMessageType instead of gint param for
4089 dialogs_show_msgbox*().
4090 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
4092 Support 'tab indents, space aligns' style for auto-indentation
4096 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4098 * src/document.c, src/documentprivate.h:
4099 Rework the GIO based file monitoring code. Now it is used only
4100 to indicate a possible change of the file, the real check if the
4101 file has been changed is performed by stat().
4102 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
4103 Add style 'line_height' to increase the line height.
4104 Add style 'marker_mark' and change style 'marker_search' to
4105 define the style used for marked search results.
4106 * doc/geany.txt, doc/geany.html:
4107 Add the new 'Autocomplete all words in document' pref to the docs.
4110 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4112 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
4113 doc/geany.txt, doc/geany.html, geany.glade, TODO:
4114 Add 'Autocomplete all words in document' pref.
4115 Use 'autocompletion' in dialog and docs, not 'auto completion'.
4117 Fix limiting number of word completion entries too much.
4118 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
4119 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
4120 Show autocompletion icons for tag symbols - for now only tags with
4121 an arglist have the 'function/method' icon, all others have the
4123 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
4125 * src/highlighting.c:
4126 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
4130 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4132 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
4133 Fix removing underscores in translated string using no_underscore()
4135 Set a tooltip for the Split Window plugin's Show Current tool button.
4136 Add utils_strdupa() macro.
4137 * src/interface.c, geany.glade:
4138 Use stock Select All icon now we have >= GTK 2.8.
4140 Fix using project name for document items that start with the
4141 project base path but don't match it e.g. ".../geany-plugins"
4142 instead of ".../geany" when project name is 'geany'.
4145 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4148 Fix warnings when the toolbar does not contain the Run button.
4150 Fix wrong parsing of complex expressions in the Lua parser.
4151 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
4153 Remove unnecessary enums.
4154 * scintilla/*, scintilla/include/*, src/plugindata.h:
4155 Update Scintilla to version 1.79.
4156 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
4158 Use the new Scintilla struct names prefixed with 'Sci_'.
4159 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
4161 Add second argument to the 'line_wrap_indent' styling setting to
4162 control the new Scintilla indentation mode for wrapped lines.
4164 Properly close the toolbar editor on delete-events.
4165 Fix warnings and possible crashes in the toolbar editor when the list
4166 of displayed toolbar items is empty.
4167 * data/filetypes.tcl:
4168 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
4170 Make the plugin manager dialog a bit bigger.
4173 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4175 * doc/geany.html, doc/geany.txt:
4176 Fix wrong default values for the 'Show Calltip' keybinding.
4179 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4181 * data/filetypes.tcl, src/symbols.c:
4182 Fix duplicate "context_action_cmd" key.
4183 Use different icons for "Methods" and "Procedures" in the symbol
4186 Fix a small memory leak.
4187 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
4188 src/keybindings.h, src/plugindata.h:
4189 Make the Scintilla keybindings 'Delete to end of line' and
4190 'Go to end of display line' configurable.
4192 Fix a typo (closes #2813624).
4195 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4197 * tagmanager/tcl.c, src/symbol.c:
4198 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
4199 methods and namespaces).
4200 Patch by Witek Mozga, thanks.
4203 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4205 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
4206 src/toolbar.c, src/toolbar.h:
4207 Remove ui_toolbar.xml Configuration Files menu item.
4208 Add a real toolbar editor dialog.
4209 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
4211 Add a button in the preferences dialog and an item for the toolbar
4212 popup menu to run the toolbar editor dialog.
4215 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4218 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
4219 Fix using locale encoding for default Save As dialog path.
4221 Beep when trying to activate the '...' autocompletion item.
4222 Limit (forced) document word completion to
4223 autocompletion_max_entries.
4224 Beep if no completions are shown when forcing autocompletion.
4227 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4229 * data/ui_toolbar.xml, src/toolbar.c:
4230 Add 'Build' toolbar button to the default layout.
4233 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4236 If forcing autocompletion and there's nothing else to show, complete
4237 from words in the current document (using code from Enrico's
4238 'AutoComplete Test' plugin).
4241 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4244 Add debug message if plugin has not set a name for its keybinding
4246 * data/filetype_extensions.conf:
4247 Add *.m4 for shell scripts.
4250 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4252 * src/highlighting.c, doc/geany.txt, doc/geany.html,
4253 data/filetypes.common, TODO:
4254 Make filetypes.common named styles use the "default" named style for
4255 all missing style fields.
4256 Set named styles to usually leave the background style empty. This
4257 currently allows C-like filetypes to have a common default
4259 Allow hard-coded colors to use -1 for the default color.
4260 Add some highlighting style examples to the manual.
4263 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4266 Create initial template files with proper platform-specific line
4270 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4272 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
4273 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
4274 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
4275 src/ui_utils.c, src/ui_utils.h:
4276 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
4278 Refactor some related code.
4279 * tagmanager/conf.c:
4280 Strip trailing spaces from "Key" tags.
4282 Quote the full filename to the Geany executable when creating the
4283 "Open with Geany" context menu item.
4284 * plugins/splitwindow.c:
4285 Avoid using deprecated GTK API.
4286 * src/log.c, src/main.c:
4287 Properly clean up the logging mechanism.
4289 Fix LaTeX view commands on Windows (part of #2807688).
4291 Add a popup menu for the keybinding list in the preferences dialog
4292 to easily expand and collapse all groups.
4293 Refactor the keybindings code for the preferences dialog, prefix all
4295 * src/main.c, src/ui_utils.c, src/ui_utils.h:
4296 Init stock items before creating the toolbar (closes #2809324).
4298 Generate the geany.pc file also on Windows.
4300 Invert the logic to determine which Save All we want to use:
4301 Use the Tango like icon only for the Tango theme and the Gnome / GTK
4302 like icon for any other themes.
4305 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4307 * src/highlighting.c, README.Packagers, HACKING:
4308 Remove gsd_* default styles, use named styles instead.
4309 Note: this relies on filetypes.common being installed.
4310 Add load_style_entries(), which makes style initialization
4311 simpler, used in styleset_c_like_init().
4314 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4317 Prevent possible crash on Windows when not setting an initial
4318 directory for native File Open/Save dialogs.
4319 * data/filetypes.xml, src/highlighting.c:
4320 Add style 'jscript_regex' for filetype HTML
4321 (patch by Chris Macksey, thanks).
4324 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4326 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
4327 Make GeanyDocument::file_type always be non-NULL, even for a new
4328 document with no filetype set.
4330 Only autocomplete scope for scopes matching the current filetype's
4332 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
4333 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
4334 data/filetypes.actionscript, data/filetypes.cs,
4335 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
4336 data/filetypes.javascript, HACKING:
4337 Make C++, D lexer filetypes use named styles (apart from uuid,
4338 verbatim, regex styles).
4341 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4344 Don't explicitly change the current directory of the Save As dialog
4345 so that it uses the last used directory.
4348 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4350 * src/encodings.c, src/encodings.h, src/plugindata.h:
4351 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
4354 When completing from the macro list, put the cursor after
4358 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4360 * tagmanager/pascal.c:
4361 Fix type definitions being parsed as functions.
4363 Don't autocomplete in unterminated strings as well.
4364 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
4365 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
4366 Remove data_ptr argument to foreach_[s]list() macros, as using
4367 node->data is enough sometimes; this makes the macro a bit more
4369 Add foreach_[s]list() macros to the plugin API docs.
4372 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4374 * scintilla/LexPascal.cxx:
4375 Backport fix from Scintilla CVS:
4376 Pascal lexer hanging on file that starts with 'interface' after
4380 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4383 Update Waf to 1.5.7.
4385 Overwrite installation prefix on Windows only if it wasn't
4386 specified explicitly.
4389 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4392 Display calltips for Pascal symbols in the Pascal way (#2803945).
4393 * tagmanager/pascal.c:
4394 Fix wrongly set return values for procedures (closes #2803945).
4395 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
4396 tagmanager/include/tm_source_file.h,
4397 tagmanager/include/tm_workspace.h:
4398 Fix doxygen warnings.
4401 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4403 * src/editor.c, tagmanager/include/tm_workspace.h,
4404 tagmanager/tm_workspace.c, TODO:
4405 Autocomplete scoped fields like struct members when typing '.' (and
4406 also '->' or '::' in C/C++).
4407 Save all tag types for C/C++ when generating a global tags file, so
4408 we can use autocompletion for structs also.
4409 Merge tm_workspace_find_scope_members(),
4410 tm_workspace_find_namespace_members() (currently not built) from
4411 Anjuta 2.24.1 tagmanager.
4414 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4416 * tagmanager/pascal.c:
4417 Parse Pascal calltips (closes #2802640).
4420 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4422 * src/filetypes.c, src/ui_utils.c:
4423 Add filetypes.common Configuration Files menu item.
4426 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4429 Add backslash to the wordchars on Windows when using
4430 'Open Selected File'.
4432 Add support (configure, build and install) for building on Windows
4433 and cross-compiling for Windows using the Waf build system.
4436 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4439 Set status bar text instead of showing a dialog when saving
4440 ui_toolbar.xml because the user might save several times.
4442 Fix redrawing due to colourising just after the document is first
4443 drawn. Now colourising should happen before the first draw.
4444 * src/utils.c, src/highlighting.c, data/filetypes.common:
4445 Fix segfault on parsing a filetypes.* style definition that has < 4
4447 Allow style definitions to have missing fields to use the default
4451 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4453 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
4454 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
4455 * plugins/classbuilder.c:
4456 Fix wrongly created header guards when the class filenames contains
4457 dashes (patch by PCMan, thanks).
4458 * data/filetypes.matlab:
4459 Add build_settings section to allow executing Matlab scripts.
4461 When closing a document, mark it as invalid before removing it from
4462 the documents notebook (this fixes wrong Save All button state when
4463 closing an unsaved document because the "switch-page" signal handler
4464 was using old data).
4467 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4469 * src/highlighting.c, doc/geany.txt, doc/geany.html:
4470 Support toggling bold/italic when using a named style, e.g.:
4471 commentdockeyword=commentdoc,bold,italic
4472 Improve named style docs.
4475 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4477 * src/build.c, src/editor.c:
4478 Fix crashes when parsing the output of a compiler which reports
4482 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4484 * src/highlighting.c:
4485 Support named styles also for filetypes.common [styling] entries.
4486 * doc/geany.txt, doc/geany.html, HACKING:
4487 Update docs for named styles in filetypes.* files.
4489 Fix grouping symbol list children when parent name has "." character
4490 in for reStructuredText and Conf filetypes.
4491 * tagmanager/python.c:
4492 Fix grouping functions/classes under a nested function.
4495 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4498 Adjust icon paths (patch by Dominic Hopf, thanks).
4499 * doc/geany.txt, doc/geany.html, src/toolbar.c:
4500 Add 'Replace' toolbar button (closes #2798225).
4503 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4505 * src/utils.c, src/highlighting.c, TODO:
4506 Implement named styles support for filetypes.* using a
4507 filetypes.common [named_styles] section e.g.:
4508 foo=0xc00000;0xffffff;false;true
4510 These can be used in e.g. filetypes.c as:
4514 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4517 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
4520 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4522 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
4523 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
4526 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4529 Remove quote_executable() as it is not used anymore.
4530 When creating the geany_run_script.bat use the "%0" variable
4531 expansion and quote it for the "del" command (closes #2797172).
4533 On Windows, fallback to the literal build command line if searching
4534 for the command in the system path failed (related to #2795923).
4535 Properly terminate the resulting strings when reading the stdout
4536 and stderr of any spawned commands on Windows.
4539 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4542 Use the wide character versions of native Windows File dialogs.
4544 Fix wrong initialisation of the default project path button callback
4545 in the preferences dialog.
4546 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
4547 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
4548 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
4549 icons/Makefile.am, icons/geany.ico, icons/scalable,
4550 icons/scalable/Makefile.am, icons/scalable/geany.svg,
4552 Move the icons geany.png and geany.ico into the icons directory.
4553 Add a 16x16 pixel Geany icon and the scalable SVG icon.
4554 Drop the pixmaps directory.
4557 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4559 * src/keybindings.c:
4560 Improve MRU document switching so there are no duplicates in the
4561 list and documents switched to whilst the dialog is open are
4562 ignored. Also beep when cycling through to the first document in the
4566 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4569 Fix broken 'Cancel' button in the Save As dialog.
4572 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4575 Fix multiline indent when selection covers text on the last line.
4577 Show current document in bold in tab popup menu.
4578 * src/editor.c, tagmanager/python.c, TODO:
4579 Parse Python calltips.
4582 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4584 * src/symbols.c, tagmanager/python.c:
4585 Parse Python import statements to get symbol completion for the
4586 imported module names.
4587 * src/editor.c, src/editor.h:
4588 Make some only locally used functions static.
4589 Fix wrong sanity check.
4591 Fix quoting the build command string on Windows (closes #2791769).
4592 This broke when we made build commands run synchronously on Windows,
4593 now we don't need to special quote the commands anymore.
4596 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4599 Drop rest of word to the right of cursor when autocompleting (do we
4600 need a pref for this?).
4603 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4605 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
4606 Add sci_set_selection().
4607 * doc/geany.txt, doc/geany.html:
4608 Update manual for MRU switching.
4609 * src/callbacks.c, src/editor.c, src/editor.h:
4610 Make indenting with the Tabs indent type preserve spaces on the line,
4611 so it works for the 'tab indents, space aligns' formatting style.
4614 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4616 * tagmanager/python.c:
4617 Fix missing symbols for variables when an equal sign is used
4618 in a comment on the same line as the variable declaration.
4619 Backport change from CTags SVN to keep the parser more in sync:
4620 Add support for Cython constructs to the Python parser.
4622 Remember the additional Find in Files search flags at startup.
4624 Don't close the Save As dialog when saving the file didn't succeed.
4627 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4630 Remember scribble cursor position.
4631 * src/keybindings.c, TODO:
4632 Implement Most-Recently-Used document switching when pressing
4633 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
4636 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
4638 * data/latex.tags: Added some more commands from unit.sty and
4642 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4644 * src/symbols.c, doc/geany.txt, doc/geany.html,
4645 tagmanager/makefile.win32, tagmanager/nestlevel.c,
4646 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
4647 tagmanager/Makefile.am, wscript:
4648 Merge unstable branch:
4649 Add reStructuredText scope information for tags (for symbol list
4651 Read custom system global tags files from $prefix/share/geany/tags;
4653 Show the number of tags in a user global tags file (instead of the
4654 running total) in the debug message.
4655 Also print debug messages when loading a tag file manually or for
4656 default global tags files e.g. python.tags.
4658 Move NestingLevel tags code into a separate file, add functions.
4660 Add 'Installation prefix' section instead of quoting '/usr/local'
4662 Update for custom system global tags files.
4665 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4667 * src/highlighting.c:
4668 Unset maybe previously keywords when setting up Scintilla for
4669 XML files. This fixed wrong highlighting after switching back to
4670 filetype XML from another one.
4672 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
4673 is only used when explicitly requested.
4675 Remove unnecessary call to g_intern_string() to fix build with
4676 GLib 2.8 (closes #2790051).
4679 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4682 Make the clear icon of entry fields act on the release event, not
4683 on the press event like for other buttons.
4685 Refactor some multiple used code into get_multiline_comment_style().
4687 Create parent directories if necessary when checking for the
4688 configuration directory on startup (closes #2784577).
4691 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4693 * plugins/filebrowser.c:
4694 When a filter is set, apply it only to files, not directories and
4695 apply the filter to the UTF-8 name of the file as the filter string
4696 itself is also UTF-8.
4697 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
4698 Add utils_color_invert() and use it in highlighting.c and printing.c.
4699 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
4700 Backport change from Scintilla CVS:
4701 Change capitalisation of header file to suit cross-compilation on
4705 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4707 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
4708 Update Scintilla to version 1.78.
4709 * src/editor.c, src/highlighting.c:
4710 Update Pascal styles as they changed in Scintilla.
4713 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4716 Ignore the invert syntax highlighting colours setting when printing
4717 to not print characters on a dark background (closes #2785244).
4718 * New release: Geany 0.17 "Wessex".
4719 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
4720 src/geany.h, doc/geany.html, doc/geany.txt:
4721 Post-release version bump.
4724 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4726 * src/callbacks.c, src/callbacks.h, src/main.c:
4727 Update the View->Fullscreen menu item when fullscreen state is
4728 changed externally (e.g. by the window manager).
4730 Fix passing wrong pointer to the File Open dialog for the Run
4731 command in the Project Properties dialog.
4734 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4736 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
4738 Remember the active sidebar page between sessions.
4740 Add a recent project item after creating a new project.
4741 * tagmanager/ruby.c:
4742 Fix wrong parsing of string literals (closes #2781264).
4744 Fix setting focus to the editor widget after changing the selection
4748 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4751 Prevent crashes when two or more top level items in the symbol
4752 list have the same name (closes #2778246).
4755 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4757 * src/keybindings.c:
4758 Manually show the main notebook tab bar menu when Shift-F10 is
4759 pressed. This broke when we disabled the default GTK tab bar menu.
4761 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
4762 which was reloaded shortly before.
4764 When the editor menu is opened by the Menu key, use the text cursor
4765 position for retrieving the current word. This fixes disabled
4766 Go to Tag items in the menu (#2780044).
4768 Set the "ellipsize" property of GtkCellRendererText to automatically
4769 shorten the path and file names in the Documents list.
4770 * doc/geany.html, doc/geany.txt, src/build.h:
4771 Increase the amount of highlighted build error messages to 100.
4772 At least for LaTeX we need higher values as there is a lot of
4773 informative output before any errors are reported.
4774 * src/filebrowser.c:
4775 Use the startup path as the initial directory for the filebrowser
4776 plugin when no project and no files are opened
4777 (patch by Matias Gea, thanks; closes #2780521).
4780 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4782 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
4783 src/utils.c, src/utils.h:
4784 Ellipsize tab labels and some status messages for very long
4785 filenames (closes #2777348).
4786 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
4787 Add utils_str_middle_truncate() and
4788 document_get_basename_for_display() to the plugin API.
4789 * doc/geany.html, doc/geany.txt, src/toolbar.c:
4790 Add new toolbar element: Print (patch by Roland Baudin, thanks).
4791 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
4793 Add a hidden preference 'use_safe_file_saving' to save files to disk
4794 by creating a temporary file first. This has serious side effects,
4795 please read the documentation before enabling this.
4797 Make build commands on Windows run synchronously to avoid problems
4798 with reading build commands' output.
4799 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
4800 Limit the amount of highlighted build error messages in the
4801 Compiler window to 50 for performance reasons.
4804 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4806 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
4808 Replace our own GEANY_KEYS_MODIFIER_MASK by
4809 gtk_accelerator_get_default_mod_mask() which gives the same result.
4810 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
4811 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
4812 Add a trivial symbol parser for NSIS files.
4815 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4818 Hide the extra file open dialog options in an expander to make the
4819 dialog more compact by default and to provide more space for the
4821 Remove the filename field as it is also provided by GTK itself with
4822 more features like auto-completion.
4823 Watch the 'show-hidden' property of the file chooser widget using
4824 GObject's "notify" signal which gives accurate results and remove
4825 the hack using the "selection-changed" signal.
4828 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4830 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
4831 Prevent double execution of radio menu item "activate" or "toggled"
4833 Move 'Set Encoding' callback function into encodings.c.
4836 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4839 Add some missing 'void's in function definitions.
4840 If the project base path is './', just use the path of the project
4841 config file instead of appending './'.
4842 * src/treeviews.c, src/project.c:
4843 When a project is loaded, replace the project base path with the
4844 project name in the Documents sidebar for parent items
4848 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4850 * src/keyfile.c, src/keyfile.h, src/project.c:
4851 Fix duplicating the recent files and projects lists when closing
4853 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4854 src/editor.c, src/encodings.c, src/filetypes.c,
4855 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4856 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
4857 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
4858 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
4859 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
4860 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
4861 Remove all G_LIKELY macros inside g_return_if_fail() statements as
4863 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
4864 sense to keep the code more readable.
4867 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4870 When updating global type definitions for opened documents, take
4871 also C++ namespace symbols into account and don't ignore symbols
4872 which are defined inside a scope.
4875 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4878 Don't show 'plugin is not binary compatible' messages on the status
4879 bar, only the status window.
4882 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4885 When opening files from a remote instance on X11, set the window
4886 server time to encourage window managers to pop up the main window
4887 (related to #2735467 and #2276179).
4889 When finished sending filenames to a remote instance, notify the
4890 environment that we finished starting up.
4893 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4895 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
4896 Sort Configuration Files menu.
4897 Add ui_menu_sort_by_label().
4898 Add foreach_list() macro.
4903 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4906 Fix setting a wrong default window size when starting without an
4907 existing configuration.
4908 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
4909 Make editor_highlight_braces() static.
4910 Remove unused wrapper functions.
4911 * src/editor.c, src/symbols.c, src/symbols.h:
4912 Prevent showing an empty macro list.
4913 Show only macros of the same filetype instead of all macros of all
4916 Don't add opened project files to the GtkRecentManager.
4919 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4922 Add Configuration Files item for snippets.conf.
4923 * src/highlighting.c, src/symbols.c:
4924 Fix 2 old uses of filetype IDs.
4927 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4929 * src/interface.c, src/printing.c, geany.glade:
4930 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
4933 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4936 Add sanity checks in ui_lookup_widget() just to be safe.
4937 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
4938 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
4939 src/project.h, src/ui_utils.c, src/ui_utils.h:
4940 Add "Recent Projects" menu to the Project menu
4941 (#2728630, patch by Elias Pschernig, thanks).
4942 * doc/geany.txt, doc/geany.html:
4943 Describe how to build Geany using the Waf build system.
4944 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
4945 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
4946 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
4947 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
4948 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
4949 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
4950 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
4951 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
4952 src/utils.c, src/utils.h, src/vte.c:
4953 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
4954 performance when building the code with gcc.
4955 * src/highlighting.c:
4956 Fix typo in the G_LIKELY checks, introduced in last commit.
4957 Fix the size of the styles array.
4959 Show a message dialog when renaming a file fails.
4962 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4965 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
4966 (as we did for all other files in SVN r3382).
4969 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4971 * src/filetypes.c, doc/geany.txt:
4972 Move ActionScript to the Script group.
4974 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
4975 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
4976 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
4977 plugins/htmlchars.c:
4978 Merge reorder-filetypes branch:
4979 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
4980 append randomly without breaking the ABI).
4981 Make None filetype name = title = _("None").
4982 Add foreach_slist() macro.
4983 Add filetypes_by_title list to GeanyData for plugin API access
4984 - a list of filetype pointers, which includes the None filetype
4985 first. This list stays constant by the time plugins are initialized,
4986 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
4987 index the sorted list.
4990 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
4992 * doc/geany.txt, doc/geany.html, src/main.c:
4993 Add widget names for the menubar and toolbar.
4995 When hiding the messages window, set the input focus back to the
4996 editor widget (part of #1910393).
4999 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5001 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
5002 Backport recent changes from Scintilla CVS to add partial support
5003 for RFC2822 styled text using the Properties lexer.
5004 Ignore leading whitespace for config files and RFC2822 text.
5005 * data/filetypes.actionscript:
5006 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
5007 * THANKS, src/treeviews.c:
5008 Display file/directory icons in the Documents sidebar
5009 (patch by Simon Treny, thanks).
5012 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5014 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5015 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
5016 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
5017 Add an option to allow appending the toolbar to the main menu bar
5018 to save some vertical space.
5019 Allow setting toolbar icon size to very small (menu icon size).
5022 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5024 * src/keyfile.c, src/utils.c, src/utils.h:
5025 Add utils_path_skip_root(), a relative path safe variant of
5026 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
5027 * src/keyfile.c, src/main.c:
5028 Allow negative window coordinates when saving and restoring the
5029 position of the main window.
5030 Restore the main window position and size *after* the window has
5031 been realised to get it positioned accordingly
5032 (this affects at least Windows).
5035 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5037 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
5038 Use g_win32_get_package_installation_directory_of_module() on Windows
5039 with newer GLib versions instead of deprecated API.
5040 * src/keybindings.c:
5041 Don't manage the last used documents list when quitting to prevent
5042 errors by accessing invalid memory (may close #2533990).
5045 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5048 Delete the geany_run_script.sh immediately after execution
5049 to prevent leaking old copies when the script was quit unexpectedly
5050 (closes #2710482, patch by Martin Olsson, thanks).
5052 Check whether skipping the root element of a document's filename
5053 succeeded and use the filename itself if not (e.g. on relative
5054 filenames, #2702844).
5055 Use the locale encoded filename when saving session files.
5057 Re-set the quitting status after all documents have been closed on
5061 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5063 * plugins/htmlchars.c:
5064 Remove usage of deprecated sci_get_selected_text() from plugin.
5067 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5070 Delay disk file checks when switching between documents a little
5071 bit to avoid fast, unintentional page switching in some cases.
5072 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
5073 src/sciwrappers.c, src/sciwrappers.h:
5074 Deprecate sci_get_text(), sci_get_selected_text() and
5075 sci_get_text_range().
5076 Add sci_get_contents(), sci_get_contents_range() and
5077 sci_get_selection_contents() as replacement functions to provide
5078 an easier and cleaner API (initial patch by Frank).
5081 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5084 Fix wrong parsing of CSS tags when the definition block starts on
5085 a new line (reported by Dominic Hopf, thanks).
5088 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5090 * plugins/htmlchars.c:
5091 Extend plugin by feature to bulk replace and replace on input for
5092 special characters to their HTML entities.
5095 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5098 Update build menu items after changing anything in the
5099 'Set Includes and Arguments' dialog.
5100 Disable Compile/Run buttons/menu items when Compile/Run commands are
5102 Reset current build directory to the base directory after reading a
5103 "Leaving directory" message when parsing Make output
5104 (closes #2694479, patch by Andrea Mazzoleni, thanks).
5106 Fix wrong display of the filename in the tab bar menu for new files.
5108 Set the initial directory for the Save As dialog only once on
5110 Add a shortcut of the project's base directory to the
5111 File Open/Save As dialogs when a project is open for faster access.
5112 * src/splitwindow.c:
5113 Add keybindings for the split actions.
5116 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5119 When using Find All in the Find dialog (in Session and Document),
5120 display the right amount of matches.
5121 Fix the display of the matches once per line (I broke the original
5124 Fix wrong directory selection behaviour in all Open Folder dialogs
5125 (closes #2688020, patch by Marcel Stimberg, thanks).
5127 Don't present the main window of a running instance when starting
5128 a second instance separately.
5131 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5134 Reduce default file permissions on the Unix Domain socket file
5135 (reported by Jörg Sommer, thanks).
5138 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5140 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
5141 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
5143 Add an option to set an additional plugin lookup path.
5145 When using Find All in the Find dialog, display matches only once
5146 per line in the messages window (patch by Bert Vermeulen, thanks).
5149 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5151 * data/filetype_extensions.conf, data/filetypes.actionscript,
5152 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
5153 src/highlighting.c, src/plugindata.h, src/symbols.c,
5154 tagmanager/Makefile.am, tagmanager/actionscript.c,
5155 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
5156 Add filetype ActionScript (patch by Chris Macksey, thanks).
5157 Update type keywords only for real C-like languages.
5158 Fix wrong sorting of Assembler and Ada filetypes.
5159 * plugins/classbuilder.c:
5160 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
5161 Other minor cleanups.
5164 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5167 Don't use menu item images for the tab bar menu to save some
5169 * data/filetypes.fortran, tagmanager/fortran.c:
5170 Add keyword 'extends' and fix Fortran parser to support the
5171 'extends' keyword (closes #2654492).
5172 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
5173 src/search.c, src/toolbar.c:
5177 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5179 * src/about.c, THANKS:
5180 Added Jari Rahkonen to list of Finnish translators.
5183 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5186 Adjust minimum required GTK version.
5187 * src/Makefile.am, wscript:
5188 Add main.h to the list of installed header files.
5189 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
5190 src/notebook.c, src/ui_utils.c:
5191 Remove GeanyDocumentPrivate::tabmenu_label.
5192 Disable the default tab bar menu for the main notebook widget and
5193 use a custom menu instead which lists all open files as usual plus
5194 'Close Other Documents' and 'Close All' menu items.
5197 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5199 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
5200 Move ui_set_search_entry_background() into ui_utils.c.
5201 Change the background colour of the search entries in the Find
5202 and Replace dialogs according to the search results like in the
5203 toolbar search field.
5204 Add images to the 'Replace' and 'Replace and Find' buttons in the
5206 Minor cleanups in search.c.
5207 * tagmanager/tm_source_file.c:
5208 Update source files upon creation.
5210 Update C tags for glibc 2.9.
5211 * src/callbacks.c, src/toolbar.c:
5212 Fix broken non-incremental search with the toolbar search entry when
5213 pressing Enter (closes #2638180).
5214 * plugins/splitwindow.c:
5215 Fix possible crash on non-32-bit systems (patch by
5216 Wolfgang Ocker, thanks).
5218 Update the Packager tag due to Dominic's various contributions.
5219 Update description and feature list.
5220 Change Source tag to the gzip'ed tarball to be in sync with the
5221 Makefile target (thanks to Wolfgang Ocker for reporting).
5224 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5226 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
5227 Removed deprecated plugin VC Diff
5230 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5233 Fix wrong Fortran 90 comment characters when inserting templates.
5234 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
5235 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
5236 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
5238 Add 'Send Selection to Terminal' command to the Edit->Format menu
5239 (initial patch by David Gleich, thanks).
5240 * geany.glade, src/interface.c:
5241 Fix mnemonic for the Edit->Preferences menu item.
5244 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5246 * configure.in, plugins/Makefile.am:
5247 Enable socket support when cross-compiling.
5248 Enable plugin compilation when cross-compiling.
5250 Fix missing NULL checks when reading the colour value of compiler
5252 * src/main.c, src/win32.c, src/win32.h:
5253 On Windows, change the working directory to the Geany installation
5254 path at startup to avoid unwanted directory locking(closes #2626124).
5256 Fix broken selection of "Document->Set Encoding" menu items.
5257 * src/document.c, tagmanager/include/tm_source_file.h,
5258 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
5259 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
5260 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
5261 Don't let the tagmanager automatically reparse files if they
5262 seem to be changed on disk (affects all files in the current session,
5263 not the current one). This should speed up file saving a little bit,
5264 especially with remote files.
5265 Remove now unnecessary calls to tm_workspace_update().
5267 Allow an empty value for the date format in the print settings to
5268 omit the date/time string in the print header.
5271 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5273 * src/editor.c: Set cursor for LaTeX at auto closing of environment
5277 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5280 Add missing header include (closes #2615808).
5283 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5286 Fix a possible crash when comparing symbol names
5287 (could be related to Ubuntu bug #147151).
5288 Fix broken symbol list tooltips when tag names contain ampersands.
5291 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
5293 * plugins/makefile.win32:
5294 Don't build Split Window plugin on Windows (doesn't work).
5297 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5299 * ChangeLog, Makefile.am: Rotate ChangeLog.
5300 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
5301 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
5302 Post-release version bump.
5305 *** See ChangeLog.pre-0-17 for earlier changes ***