1 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
4 Fix ui_button_new_with_image() to call gtk_button_set_image() so
5 that gtk_button_[sg]et_label() work as expected.
8 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
10 * doc/geany.txt, doc/geany.html:
11 Warn about some GNU extensions for regular expressions & clarify
13 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
14 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
15 src/editor.h, geany.glade:
16 Apply patch from Eugene Arshinov to add project long line marker
17 customisation (thanks).
18 * src/interface.c, geany.glade:
19 Edit/tidy 'Long line marker' labels.
22 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
24 * src/build.c, src/project.c:
25 Fix crash due to NULL in project build preferences (thanks to
29 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
31 * src/utils.c, src/utils.h, src/search.c, src/search.h,
32 src/document.c, doc/geany.txt, doc/geany.html:
33 Merge gnu-regex branch:
34 Use POSIX system/GNU regex engine for find & replace 'Use regular
35 expressions' option. This alters regex syntax a bit - see the docs
36 for details; we now support '?' operator and replacement backslash
37 escaping is more standard.
38 Make regex search imply replacing escaped chars.
39 Allow \0 backreference replacement for the whole match.
40 Note: Replace All may be slower; if this is a problem please let me
43 Add argument to utils_str_replace_escape() for keeping
44 uninterpreted backslash escapes e.g. '\\', '\e'.
45 * scintilla/LexMarkdown.cxx:
46 Backport minor formatting/style changes from Scintilla project.
47 * doc/geany.txt, doc/geany.html:
48 Remove warning about no visual indication for zero-column-mode
52 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
55 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
58 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
60 * wscript, scintilla/*, scintilla/include/*:
61 Update Scintilla to version 2.03.
62 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
63 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
64 Add preference for virtual spaces.
66 Fix wrong default response for the Debug Messages dialog.
68 Fix crashes when using Save As with no open files (closes #2964406).
70 Fix duplicate mnemonics on 'Resave missing file' dialog, also
71 move the question from the secondary to the main text to be
72 more compatible with the Gnome HIG.
73 Fix broken 'Save' action in 'Resave missing file' dialog.
75 Improve PHP parser to parse also the argument lists of PHP functions.
77 Correctly set the parent widget for the keybinding overwrite
80 Fix setting the icon for some dialogs if the parent itself is also
83 When editing non-existent config files using the Tools->Configuration
84 Files menu, explicitly set the real_path to avoid presenting the Save
85 As dialog when saving the file (patch by Tony Rick, thanks).
87 Focus the editor widget after hiding the sidebar when it had the
88 input focus (patch by Can Koy, thanks).
89 Properly show/hide the mesages window when using the View menu item
91 * plugins/filebrowser.c:
92 After opening files, focus the editor widget
93 (based on a patch by Can Koy, thanks).
94 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
95 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
96 src/ui_utils.h, src/vte.c:
97 Add and use convenience function ui_is_keyval_enter_or_return() and
98 add it to the plugin API.
101 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
103 * src/about.c, THANKS, po/ast.po:
104 Added Asturian translation. Thanks to Marcos Costales for providing.
107 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
110 Fix keyboard accelerators in debug messages window
114 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
116 * scintilla/LexR.cxx:
117 Backport R lexer from Scintilla CVS to fix case sensitive keywords
118 (Scintilla bug #2956543).
119 * src/sidebar.c, src/about.c, THANKS:
120 Make Space on the symbol and document list not focus the editor
121 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
122 * src/document.c, src/document.h:
123 Fix document_try_focus() to make it work with the sidebar document
125 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
126 Make Space on the compiler and messages widgets not focus the editor
127 widget while Enter does (patch by Can Koy, thanks).
129 Fix wrongly auto-detected multiline comments
130 (patch by Eugene Arshinov, thanks).
133 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
136 Show number of lines of current document inside statusbar. Thanks to
137 Can Koy for providing the patch.
140 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
142 * src/keybindings.c, doc/geany.txt, doc/geany.html:
143 Make Switch to Editor keybinding reshow the document statistics
144 line, so user doesn't have to move the cursor.
147 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
150 Update keywords for the R language (patch by Jon Senior, thanks).
153 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
156 Fix the instruction how to insert unicode characters
160 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
162 * scripts/create_py_tags.py:
164 Replace tabs by spaces.
167 Replace tabs by spaces.
168 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
169 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
170 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
171 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
172 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
173 src/plugindata.h, src/sidebar.c, src/sidebar.h:
174 Add keybindings to switch to the sidebar's Document and Symbol list
175 as well as to the Message Window's current tab
176 (patch by Eugene Arshinov, thanks).
178 Update primary keywords for the R language
179 (patch by Jon Senior, thanks).
182 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
185 Add more detailed hints about reloading configuration
186 (thanks to Tony Rick).
187 * data/filetypes.javascript:
188 Correct the keyword list for JavaScript (thanks to Jonas).
191 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
193 * New release: Geany 0.18.1 "Balfour".
196 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
199 Add special cases for handling the Select All keybinding (Ctrl-A) in
200 the toolbar search and goto line text entries (closes #2948040).
201 Strip trailing spaces after reflowing a paragraph, patch by
202 Dominik Wagenfuehr, thanks (closes #2945497).
205 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
207 * src/geanymenubuttonaction.c, src/templates.c:
208 Partly revert last commit:
209 Unref the new files toolbar menu when freeing templates as it
210 was done before but unref it *after* the menu has been removed
211 from the GeanyMenuButtonAction.
213 Fix possible endless loop when trying to detect the encoding of
214 non-text files (patch by Alexey Antipov, thanks).
217 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
220 Allow saving remote files using g_file_set_contents() as well
221 (patch by Алексей Антипов, thanks).
222 * data/filetypes.python:
223 Adjust style for secondary keywords to be less aggressive.
224 Add Python 2.5 builtins keywords.
225 * src/geanymenubuttonaction.c, src/templates.c:
226 Unref the new files toolbar menu when setting a new menu to fix
227 possible crashes when reloading configuration.
229 When reloading configuration, process the current document at last
230 so the symbol list will be updated correctly.
233 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
236 Explicitly read filetype configuration files before generating
237 global tags to get settings for custom filetypes.
240 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
243 Fix GLib warning when toggling 'no plugins available' item.
246 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
249 Include geany.ico in the distribution tarball.
251 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
252 * scripts/create_py_tags.py:
253 Make the script a bit more robust with newer Python versions.
255 Use utils_spawn_sync() instead of g_spawn_sync().
258 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
261 Close meta tag for export date properly.
264 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
267 Update RPM Spec file (patch by Dominic Hopf, thanks).
270 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
273 Fix renaming sci_send_message(), sci_send_command() function pointers.
276 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
278 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
279 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
280 plugins/geanyfunctions.h, plugins/Makefile.am,
281 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
282 Use full function name for GeanyFunctions function pointers. This
283 avoids naming conflicts e.g. with C++'s 'new' keyword.
284 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
287 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
289 * src/utils.c, src/utils.h, src/vte.c:
290 Add utils_copy_environment() and make use of it.
291 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
292 src/editor.c, src/templates.c, src/templates.h:
293 Add new special template wildcard "{command:...}" to use the
294 output of a command in templates.
295 Adjust template functions to mostly work with GeanyDocuments.
296 Minor cleanups in the template code.
298 Replace the old icons with smiley icons from the Rodent icon theme.
299 Fix showing the same icon for two or more slots.
301 * src/editor.c, src/editor.h, src/keybindings.c:
302 Rename fold_symbol_click() to editor_toggle_fold().
303 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
304 was used to respect the 'Fold/unfold all children' preference
308 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
311 Prevent possible segfault in get_build_group().
313 Fix GLib warning & beep if trying to insert multiline comment for a
314 filetype that doesn't support it.
317 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
320 Add gcc commands to build a plugin to the HowTo.
321 * src/search.c, src/document.c, src/document.h:
322 Show 'Replaced X matches in Y documents' message when using Replace in
326 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
328 * scripts/plugin_test.c:
329 Add a little test program which can load and test Geany plugins to
330 verify it is loadable at runtime and all necessary symbols are
332 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
334 Add new signal: "geany-startup-complete" which is sent once all
335 initialization and startup tasks has been done.
336 * README.I18N, configure.ac, wscript, po/LINGUAS:
337 Remove po/LINGUAS from the repository.
338 Generate it automatically if needed by reading available
339 message catalogs from the po directory.
340 Also respect the LINGUAS environment variable properly.
343 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
346 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
350 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
352 * src/editor.c, src/templates.c, src/templates.h:
353 Refactor templates_replace_all() into templates_replace_valist()
354 to save some code duplication.
357 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
359 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
360 src/plugindata.h, src/plugins.c:
361 Add editor_insert_text_block() to plugin API.
364 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
367 Update copyright information.
368 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
369 doc/geany.txt, doc/geany.html:
370 Add keybinding to open the last closed tab (closes #2912692).
373 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
375 * autogen.sh, configure.in, configure.ac:
376 Rename configure.in to configure.ac.
377 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
379 Add sci_find_text() to the plugin API.
380 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
381 src/interface.c, src/prefs.c:
382 Add a checkbox in the preferences dialog to explicitly toggle
383 the visibility of the sidebar (closes #2923340).
386 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
388 * src/editor.c, src/plugins.c, src/plugindata.h,
389 plugins/geanyfunctions.h:
390 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
391 editor_get_eol_char() to the plugin API.
392 * src/callbacks.c, src/plugins.c, src/plugins.h:
393 Fix sensitivity of the Edit->Plugin Preferences menu item
394 if plugins are loaded which do not provide a configuration dialog.
395 * scripts/create_py_tags.py:
396 Rewrite and extend the Python tags parsing script to use
397 Python's inspect module to read symbols from Python modules
398 including scope information.
399 * data/filetypes.restructuredtext:
400 Add the default comment character sequence for reStructuredText.
402 Show the Find/Goto dialogs if the corresponding toolbar buttons are
403 clicked but their text fields are not part of the toolbar (#2920807).
404 * data/filetypes.common, doc/geany.html, doc/geany.txt,
406 Add new style to change foreground and background colours for
407 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
409 Remember the window position of the Find, Replace and Find in Files
410 dialogs (closes #2877988).
413 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
416 Fix a minor typo inside plugin API reference.
419 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
421 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
422 Make dialogs_show_prompt() more flexible to take up to three
423 button/response code pairs to be shown.
424 Add a close button to the dialog when asking to Re-Save a
426 (closes #2916954, based on a patch by Dominik Stadler, thanks).
428 Fix LaTeX environment auto completion with CR/LF line endings.
429 Add some sanity checks.
431 When closing a document after it was deleted from the filesystem,
432 don't ask whether it should be saved first.
433 Mark the document only as changed if it is not closed afterwards.
434 Prevent possible segfaults if the document was closed when it is
435 missing from the filesystem.
436 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
437 src/msgwindow.h, src/prefs.c:
438 Add MessageWindow::scribble and use it instead of searching the
439 widget pointer everytime.
440 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
441 Add preferences for hiding single tabs from the messages window
442 (no GUI preferences yet, still to be implemented).
443 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
444 Set the correct parent window for the toolbar editor
445 dialog (closes #2913334).
446 * src/win32.c, src/win32.h, src/ui_utils.c:
447 Rename win32_show_project_folder_dialog() to
448 win32_show_folder_dialog() as it is not related and not used by any
449 project management related code.
450 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
451 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
452 as it is specialised for opening documents.
453 Implement win32_show_file_dialog() as a generic file open dialog and
454 use it with ui_path_box_new().
457 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
460 Extend auto_latex() function to check whether an environment has been
461 closed within the next lines to avoid auto adding double \end{}.
463 Remove LaTeX tags from SVN. Can be found at
464 http://download.geany.org/contrib/tags/ if needed.
467 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
469 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
470 Add document_need_save_as().
471 Show the Save As also for documents created from filetype templates
472 instead of saving them directly with the untitled filename.
475 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
477 * geany.glade, src/interface.c:
478 Move 'Send Selection to Terminal' menu item from Format to Commands
481 When going to a build error, try the current document's path if
482 the parsed filename doesn't exist. (This can happen when we receive
483 build messages in the wrong order - after the 'Leaving directory'
486 Refactor msgwin_goto_compiler_file_line().
487 * src/interface.c, src/keybindings.c, geany.glade:
488 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
491 Refactor/reformat on_replace_dialog_response().
494 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
497 Improve geany.spec (split the package into a binary and devel
498 package, update BuildRequires and other minor improvements).
499 Patch by Dominic Hopf, thanks.
502 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
504 * src/filetypes.c, src/filetypes.h:
505 Make group for custom filetypes.
506 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
507 Add custom filetype Genie.
510 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
512 * src/highlighting.c:
513 Highlight D & Java types from a global tags file.
514 * src/highlighting.c, doc/geany.txt, doc/geany.html:
515 Add debug message warning if recursive lexer_filetype is set.
516 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
517 Remove duplicate sci_set_keywords(), make argument const.
518 * src/highlighting.c:
519 Only show debug message once if recursive lexer_filetype is set.
520 Tidy highlighting_init_styles code for filetype None handling.
521 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
522 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
523 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
524 tagmanager/parsers.h, tagmanager/makefile.win32,
525 tagmanager/verilog.c, tagmanager/Makefile.am,
526 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
527 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
528 * src/highlighting.c:
529 Fix segfault on startup (oops).
530 * data/filetypes.verilog:
531 Fix using common style colours for Verilog.
534 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
536 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
537 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
538 Move C-like filetype properties into configuration files.
539 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
541 Remove now unnecessary "styling_within_preprocessor" C style key.
542 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
543 data/filetypes.glsl, data/filetypes.cs:
544 Use lexer_filetype=C configuration file key instead of duplicate
545 styleset functions for C++, C#, GLSL, Vala.
548 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
550 * doc/geany.txt, doc/geany.html:
551 Warn about not using BOM for configuration files (confuses GKeyFile
552 parser, at least on my system).
554 Add/improve debug messages for custom filetypes.
557 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
560 Add a couple of further latex-beamer commands to list of LaTeX tags.
563 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
565 * plugins/filebrowser.c:
566 Add an in-entry clear icon to the filebrowser plugin's filter
567 entry (patch by Dominic Hopf, thanks).
568 * src/prefs.c, src/ui_utils.c:
569 Fix two compiler warnings about possibly uninitialised variables.
572 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
574 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
575 plugins/geanyfunctions.h:
576 Add main_is_realized() to the plugin API.
577 * tagmanager/include/tm_tagmanager.h:
578 Update partly outdated and wrong doc comment.
579 * src/main.c, src/main.h, src/socket.c:
580 Allow opening Geany projects remotely.
581 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
582 Add a hidden pref to allow executing text which was sent to the
583 terminal directly, i.e. do not strip trailing newline characters.
584 Also fix the stripping of trailing newline characters if there was
588 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
590 * src/about.c, THANKS:
591 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
592 Kurt de Bree into section of previous translators.
595 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
597 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
598 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
602 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
604 * src/highlighting.c:
605 Make stylesets take a ft_id argument so they can be reused fully with
606 custom filetypes, so custom styles and keywords can be set.
607 * src/highlighting.c:
608 Fix setting filetype properties when both the system and the user file
610 * src/symbols.c, tagmanager/vhdl.c:
612 * src/highlighting.c:
613 Fix lexer settings for custom filetypes.
616 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
619 Remove duplicate regular expression for parsing classes.
620 Fix and improve parsing of constants (patch by Harold Aling, thanks).
621 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
622 src/main.h, THANKS, src/about.c:
623 Add new command line option "--socket-file" to be able to specify
624 separate socket filenames for instances
625 (closes #2896027, patch by Jörn Reder, thanks).
626 * src/keybindings.c, src/keybindings.h:
627 Add keybindings_check_event() to manually check GdkKeyEvents against
629 * src/callbacks.c, src/utils.c, src/utils.h:
630 Add and use utils_get_help_url().
631 * geany.glade, src/interface.c, src/prefs.c:
632 Add a Help button to the preferences dialog.
633 Handle Help keybinding events for the preferences dialog especially
634 and open the manual with the corresponding anchor link to the current
635 preferences page (same goes for the new Help button).
638 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
640 * src/toolbar.c, src/geanymenubuttonaction.c,
641 src/geanymenubuttonaction.h:
642 Use separate tooltips for toolbar menu buttons and their attached
644 * tagmanager/latex.c:
645 Improve parsing of sections and chapters by ignoring shortnames
646 like \section[shortname]{label} (closes #2890477).
649 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
651 * src/geanymenubuttonaction.c:
652 Try to fix Gtk warning when using Tools->Reload Configuration.
655 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
657 * src/highlighting.c, doc/geany.txt, doc/geany.html,
658 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
659 data/filetypes.pascal, data/filetypes.docbook,
660 data/filetypes.python, data/filetypes.conf:
661 Use filetypes.foo [lexer_properties] group instead of hardcoding
662 lexer properties (more flexible e.g. for custom filetypes).
663 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
664 Replace filetypes.xml html_asp_default_language key with
665 filetypes.html asp.default.language property in [lexer_properties]
669 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
671 * doc/geany.txt, doc/geany.html:
672 Fix slightly wrong description of how to insert Unicode characters.
674 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
675 ui_setup_open_button_callback().
676 * src/prefs.c, src/prefs.c, src/vte.c:
677 Refactor color and font button callback functions in the
678 preferences dialog. Move the VTE related callback functions
680 Make use of ui_setup_open_button_callback().
682 Improve printing status texts (patch by Dominic Hopf, thanks).
683 * src/prefs.c, src/vte.c:
684 Use the default dialog title set by ui_setup_open_button_callback()
685 to be more consistent and to save one string.
688 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
691 Separate DKinds from CKinds.
692 Don't generate macro tags for D, Java.
695 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
697 * tagmanager/ctags.c, tagmanager/general.h:
698 Make TagManager Assert statements cause g_warning on failure.
700 Fix reflow paragraph command when cursor < anchor using
704 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
707 Fix Geany segfault with constant tags (#2895168).
709 Fix invalid tree iter access when using tv_iters.tag_other but not
710 using tv_iters.tag_variable.
711 * HACKING, tagmanager/perl.c:
712 Fix parsing Perl format statements ("other" type doesn't seem to work).
713 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
714 Fix using "other" tag type.
717 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
720 Remove useless comment about applying settings only when libvte.so
721 could be loaded which is only displayed *if* libvte.so is loaded.
723 Allow autocompletion for HTML entities even within a word.
724 * src/geanymenubuttonaction.c:
725 Only set the menu of the button if a non-empty GtkMenu is passed to
726 geany_menu_button_action_set_menu() so the menu arrow keeps
730 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
733 Fix parsing some Java code (e.g. filetypes.java) after r4407.
736 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
739 Parse D functions with contracts (fixes #1885480).
740 Parse D alias statement like typedef.
741 (Ignore some more D keywords).
743 Fix creating D interface tags properly.
745 Parse contents of D extern{} and version{} blocks.
748 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
754 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
756 * src/plugindata.h, HACKING:
757 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
760 Show number of files saved on status bar when using Save All.
761 * src/highlighting.c:
762 Use default color scheme if pref color scheme file doesn't exist.
764 Fix moving correct lines after selecting whole line(s).
767 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
769 * tagmanager/makefile.win32:
770 Fix broken build on Windows because of a typo
771 (patch by Timothy Boronczyk, thanks).
774 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
776 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
778 Add 'View->Editor->Color Schemes' menu, for now only shown if color
779 scheme files exist in a colorschemes config directory. Color scheme
780 files must end in ".conf" and currently only the [named_styles]
782 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
783 Add utils_get_config_files().
784 * src/highlighting.c:
785 Fix issue with default color not being reset if overridden with a
786 system default color.
787 * src/highlighting.c:
788 Only reload filetype files when changing color scheme, not all
790 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
791 Deprecate documents_foreach() as it looks more like a function; use
792 foreach_document() instead.
793 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
796 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
798 * src/stash.c, src/stash.h:
799 Use typedef instead of pointer for widget_id function arguments.
802 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
805 Don't expand Plugin Preferences page spacing vertically to fill the
806 height of the dialog.
807 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
808 geany.glade, plugins/splitwindow.c:
809 Allow GeanyKeyBinding label field to contain underscores, which won't
810 be displayed by Geany. This saves adding near-duplicate translation
812 Add mnemonics for 3 Edit->Format menu items.
813 Add keybindings_get_label().
814 * src/interface.c, geany.glade:
815 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
819 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
822 Desensitize Edit->Commands menu item when no docs are open.
823 * src/interface.c, src/keybindings.c, src/callbacks.c,
824 src/callbacks.h, geany.glade:
825 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
826 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
827 Add general function sci_get_string() that works with any string
828 buffer messages that follow the Windows message convention.
829 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
830 src/keybindings.h, src/callbacks.c, src/callbacks.h,
831 src/pluginutils.c, src/pluginutils.h, geany.glade:
832 Add 'Edit->Plugin Preferences' menu item and keybinding.
833 Don't include plugindata.h in pluginutils.h because it redefines the
834 GEANY() macro for plugin use.
835 * doc/geany.txt, doc/geany.html:
836 Update for Plugin Preferences keybinding.
839 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
842 Sort document word completion list.
843 * src/interface.c, src/keybindings.c, src/callbacks.c,
844 src/callbacks.h, geany.glade:
845 Add some useful commands to editor popup menu under "Commands"
846 submenu (thanks to Lex).
847 Move 'Duplicate line or selection' from Format -> Commands submenu.
848 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
849 Enable switching the sidebar to the right on Windows again, as it
850 apparently works after all.
852 Fix using tab to autocomplete in some other situations that word part
853 completion doesn't apply in.
854 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
855 Add Edit->Commands submenu which is shared with the editor popup menu.
856 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
857 Change editor popup Commands submenu to start as child of menubar Edit
858 menu, as this is more usual e.g. for keybindings initialization.
859 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
861 Share a single Format submenu for menubar Edit and popup menu.
864 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
867 Fix a compiler warning about an uninitialised variable.
869 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
870 sciwrappers.h, build.h (for the Waf build system,
871 accordingly to r4366).
874 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
876 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
877 src/toolbar.c, src/toolbar.h:
878 Add missing dox for types/files in the API.
879 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
880 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
881 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
882 of functions not in the API).
883 Warning: any plugins that include these headers should remove them.
884 * src/build.c, src/build.h:
885 Move function doc-comments to build.c so they stay in sync. Note:
886 these functions are still not in the API.
888 Add 'Doc-comments' plugin API subsection.
889 * plugins/filebrowser.c:
890 Fix packing configure widgets equally.
891 Use spacing multiples of 6 as recommended by Gnome HIG.
892 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
893 Disable switching the sidebar to the right on Windows as it will
894 probably fail like the Split Window plugin.
896 Improve 'Detect from file' indentation pref by ignoring lines with
897 indentation wider than 24 characters as this is more likely to be
898 alignment than indentation.
901 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
903 * plugins/saveactions.c:
904 Fix adding the filetype's default extension when using the
905 Instant Save plugin (closes #2885142).
907 Before looking for line and column numbers specified as part
908 of a filename, ensure the file doesn't exist on disk. This allows
909 opening of files like "test:0".
911 Rename "select" variables into "selection" to avoid shadowed names.
912 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
913 Add ui_widget_modify_font_from_string() and sci_goto_line()
915 * plugins/filebrowser.c:
916 Rename "select" variables into "selection" to avoid shadowed names.
917 Make use of ui_widget_modify_font_from_string().
920 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
922 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
923 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
925 Add sidebar position interface pref.
928 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
930 * doc/geany.txt, doc/geany.html:
931 Add missing underscores to links.
934 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
936 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
937 Add 'Move line(s) up/down' keybindings.
940 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
942 * src/build.c, src/build.h, src/filetypes.h:
943 Include code for project filetype execute commands and fix bug in
944 saving project filetypes list.
945 * src/project.c, src/build.c, doc/geany.txt:
946 Make non-project execute configuration save to filetypes not geany.conf.
947 Fix closing of project failing to remove build commands dialog entry.
950 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
952 * src/project.c, src/ui_utils.c:
953 Set border width for project properties build table.
954 * geany.glade, src/interface.c:
955 Don't expand hard tab width alignment.
958 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
960 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
961 doc/geany.txt, doc/geany.html:
962 Support loading global tags files for custom filetypes.
963 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
964 doc/geany.txt, doc/geany.html:
965 Add 'Word part completion' keybinding so keys other than Tab can be
966 used, or to clear/change the combination so Tab does full completion
968 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
969 Add 'Select to previous/next word part' keybindings.
970 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
971 Add 'Switch to Messages' focus keybinding.
974 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
976 * doc/geany.txt, doc/geany.html:
977 Add 'Custom filetypes' section.
978 * src/filetypes.c, src/filetypes.h, src/document.c,
979 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
980 tagmanager/include/tm_source_file.h:
981 Add filetype "tag_parser" key so custom filetypes can use an existing
983 Add tm_source_file_get_named_lang().
984 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
986 Add filetype "lexer_filetype" key so custom filetypes can use an
990 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
992 * THANKS, src/about.c:
993 Add Xhacker Liu for his work at zh_CN translation to long list of
997 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1000 Remove unnecessary line number margin padding.
1001 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1002 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1004 Improve word part autocompletion so AC list is not cancelled and
1005 reshown (this also stops the selection changing).
1006 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1008 Improve CamelCase word part autocompletion for runs of capital letters.
1010 Don't complete snippets if there's a selection.
1013 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1016 Fix crash opening project when Geany started with no geany.conf.
1019 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1021 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1022 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1024 Add word part autocompletion for the current selected item when
1025 pressing Tab - Enter still completes normally.
1026 Add foreach_str() API macro.
1027 Temporarily modify scintilla to say if tab was used for
1029 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1030 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1031 plugins/classbuilder.c:
1032 Revert r4301 - utils_free_pointers() taking 4 arguments.
1033 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1034 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1035 plugins/splitwindow.c:
1036 Add highlighting_set_styles() to API, use for Split Window plugin so
1037 filetypes.common settings get set too.
1038 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1040 * src/document.c, src/editor.c, plugins/splitwindow.c:
1041 Call editor_apply_update_prefs() from editor_create_widget() so
1042 correct tab width and other settings are applied for Split Window
1046 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1048 * src/keybindings.c:
1049 Don't include trailing newlines when using reflow command.
1051 Add stock close buttons to notebook tab popup menu.
1052 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1053 plugins/geanyfunctions.h:
1054 Add document_get_notebook_page() to API.
1056 * data/templates/files/file.html, data/templates/files/file.php:
1057 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1058 * src/interface.c, src/ui_utils.c, geany.glade:
1059 Move Tools configuration items to top of menu.
1060 * src/keybindings.c, src/search.c:
1061 Fix warning when using Find in Files with no documents open; make
1062 keybinding work in this case.
1065 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1067 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1068 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1069 Make Split Window 'Show current document' button have a drop-down menu
1070 to select the other documents.
1071 Add new API function ui_menu_add_document_items().
1074 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1077 Fix sensitivity settings for compile and build toolbar items.
1080 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1083 Don't use filetype submenus for templates (slower to navigate, often
1084 only 1 per-filetype anyway).
1086 Put old filetype template menu items in 'Old' submenu as they should
1087 be removed after the 0.19 release.
1088 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1089 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1090 to be ignored if inappropriate so a later keybinding with the same
1091 key combination can intercept it. (Also group callbacks are usually
1092 tidier than separate callbacks).
1093 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1094 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1095 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1096 plugins/classbuilder.c:
1097 Make utils_free_pointers() take 4 arguments, add to API.
1098 * src/templates.c, src/tools.c, src/ui_utils.c:
1099 Fix memory leaks with gtk_container_get_children().
1102 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1105 Ensure that old style build config is not loaded if it does not exist.
1108 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1110 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1111 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1114 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1116 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1118 Apply set default encoding for existing files only if the files are
1119 non-Unicode (patch by Alexey Antipov, thanks).
1122 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1124 * src/highlighting.c:
1125 Move new_styleset() and preprocessor setup code into styleset_c_like().
1126 * src/highlighting.c:
1127 Call apply_filetype_properties() from styleset_c_like().
1130 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1132 * doc/geany.txt, doc/geany.html:
1133 Improve information about predefined keybindings which are
1134 commonly used across applications (patch by Lex Trotman, thanks).
1136 Enable embedded page setup properties in the (Unix) Print dialog
1137 on newer GTK versions (closes #2870596).
1138 * src/highlighting.c:
1139 Map global types (read from tags files) to keyword style for
1143 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1146 Fix wrong creation of filetype template menu items for custom
1148 * src/highlighting.c:
1149 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1151 Group 'New with template' items by filetype submenu (currently only for
1153 Show custom file template items before filetype template items.
1154 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1156 Only use one 'New with template' submenu - reparent as needed.
1158 Don't create templates/filetype.none either.
1160 Warn if custom template file no longer exists.
1163 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1166 Add missing icon for Java packages in the Symbol List.
1169 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1171 * src/highlighting.c, data/filetypes.vala:
1172 Add Vala keywords to conf file.
1173 * src/templates.c, doc/geany.txt, doc/geany.html:
1174 Read custom file templates from $prefix/share/geany/templates/files as
1176 * src/templates.c, data/templates, data/templates/files,
1177 data/templates/files/file.rb, data/templates/files/file.html,
1178 data/templates/files/main.java, data/templates/files/main.c,
1179 data/templates/files/main.cxx, data/templates/files/file.php,
1180 data/templates/files/main.d, data/templates/files/program.pas,
1181 data/templates/files/main.py, data/templates/files/file.tex,
1182 wscript, Makefile.am:
1183 Move filetype template defaults into custom file template files.
1186 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1188 * src/symbols.c, tagmanager/perl.c:
1189 Change Perl tag parser to ctags SVN r601. This removes support for
1190 buggy local/my/our but it parses constant/format/labels and should
1191 be less buggy overall (closes #2861232).
1192 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1193 Add utils_get_file_list_full() which can optionally sort or include
1194 a full path for each list item.
1195 * src/utils.c, src/plugindata.h, src/plugins.c:
1196 Add utils_get_file_list_full() to API.
1199 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1201 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1202 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1203 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1204 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1205 po/POTFILES.in, wscript:
1206 Rename treeviews.[hc] -> sidebar.[hc].
1207 * data/filetypes.common:
1208 Remove unused [styling] arguments.
1209 * src/highlighting.c, data/filetypes.markdown,
1210 data/filetypes.restructuredtext:
1211 Remove style defaults from the code - just read them from
1212 configuration files.
1213 * src/highlighting.c, HACKING:
1214 Add apply_style_entries() to simplify implementing styleset_foo().
1215 * src/highlighting.c:
1216 Remove filetype keyword defaults from the code - just read them from
1217 configuration files.
1218 * src/highlighting.c:
1219 Add sci_set_keywords() wrapper.
1222 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1224 * scripts/create_py_tags.py:
1225 Make the code a bit more pythonic.
1226 * doc/images/build_menu_commands_dialog.png,
1227 doc/images/main_window.png:
1228 Add new images referenced in the documentation.
1229 * doc/geany.html, doc/geany.txt:
1230 Several documentation improvements (patch by Lex Trotman, thanks).
1231 * src/pluginutils.c:
1232 Fix setting the appropriate page of the combined plugins
1236 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1238 * src/keybindings.c:
1239 Only focus toolbar goto line entry when pressing keybinding if it's
1240 visible (patch by Eugene Arshinov, thanks).
1242 Focus editor after entering a number in the goto line toolbar entry.
1244 Use AC_PATH_PROG instead of which for portability (patch by Erik
1245 Southworth, thanks).
1247 Show plugins that only implement plugin_configure_single() in the
1248 multiple-configure dialog as a page with a configure button on it.
1249 Add padding for multiple-configure dialog.
1250 Make the multiple-configure dialog notebook tabs scrollable.
1251 * src/pluginutils.c, src/pluginutils.h:
1252 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1253 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1254 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1255 plugins/geanyfunctions.h, plugins/filebrowser.c:
1256 Add plugin_show_configure() API utility function.
1257 Add File Browser popup menu 'Preferences' item.
1258 * src/highlighting.c:
1259 Add get_keyfile_ints() instead of using tmp_style hack.
1260 * src/highlighting.c, data/filetypes.xml:
1261 Change new html_asp_default_language markup pref to use integer,
1262 not hex in config file.
1263 Fix minor issue with changing pref back to 0.
1264 * src/highlighting.c:
1265 Fix possible segfault in get_keyfile_int() if key value is malformed.
1268 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1270 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1271 Add "html_asp_default_language" pseudo style to filetypes.xml
1272 to allow setting the used language in embedded ASP code
1273 (patch by Ross McKay, thanks).
1274 * src/filetypes.xml:
1275 Update VBScript keywords (patch by Ross McKay, thanks).
1278 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1280 * src/keybindings.c, THANKS:
1281 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1282 keybinding use line breaking column when enabled.
1284 Fix showing the document before reload dialog when opening an
1286 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1287 Add plugin_configure_single() plugin symbol which is easier to
1288 implement than plugin_configure() but won't support a
1289 multiple-plugin configure dialog.
1291 Show multiple plugins in the 'Configure Plugins' dialog.
1294 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1296 * doc/geany.txt, doc/geany.html:
1297 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1299 * doc/geany.txt, doc/geany.html:
1300 Add 'Toolbar entries' section.
1301 * doc/geany.txt, doc/geany.html:
1302 Update 'Go to line' keybinding description.
1303 * doc/geany.txt, doc/geany.html:
1304 Split keybinding table into group tables; update KB links.
1307 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1310 Fix compiler warnings about uninitialised variables.
1311 * src/callbacks.c, src/document.c:
1312 When reloading files, use the previously set encoding instead of
1313 detecting it again (closes #2862041).
1315 Turn on automake silent rules if supported.
1318 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1321 Speed up sorting in utils_get_file_list(). This reduces the file
1322 browser delay on displaying a big directory, e.g. /usr/bin.
1324 Expand command entry width when expanding Build Commands dialog.
1326 Split Build Commands dialog notes label and edit text.
1328 Add padding for Build Commands dialog separators.
1329 Add colons for regex field labels; fix 1 capitalisation.
1331 Fix none filetype Build Commands dialog label.
1332 Make group labels bold.
1333 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1335 Add & use ui_label_set_markup(), ui_label_new_bold().
1336 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1337 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1338 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1339 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1340 * src/keybindings.c:
1341 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1344 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1346 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1347 tagmanager/parsers.h, tagmanager/makefile.win32,
1348 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1349 data/filetype_extensions.conf, wscript:
1350 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1352 Merge recent changes from the CTags project to further improve
1356 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1359 Fix wrong alignment of printed pages when page headers are
1360 disabled (closes #2856822).
1361 Plug a small memory leak and improve function signature of
1364 Save an if expression.
1366 After clearing a text field using the embedded clear icon, put the
1367 input focus into this text field.
1370 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1372 * plugins/filebrowser.c:
1373 Free file list memory whilst iterating the list.
1374 Minor formatting fixes.
1375 * src/utils.c, src/utils.h:
1376 Add foreach_dir() API macro.
1377 Update API docs for utils_get_file_list().
1378 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1380 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1381 Beep if there are no more snippet positions.
1382 Limit length of snippet positions queue to 20.
1385 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1387 * src/keybindings.c, src/callbacks.c, src/search.c:
1388 Make Goto Tag commands use the current selection if present (useful
1389 for selecting part of a tag or for ReST section names with spaces
1392 Don't move the cursor when reloading.
1393 * src/plugindata.h, src/editor.c, src/editor.h:
1394 Make editor_prefs.snippets hash table private (not a pref).
1397 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1400 Remove deprecated --debug flag. Please use --verbose/-v instead.
1403 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1406 Show Find in Files stderr output in messages window instead of
1407 debug window so that invalid regex messages can be seen easily.
1408 Combine FIF stdout and stderr callback code.
1411 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1414 Fix opening filenames beginning with two dots (closes #2858487).
1415 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1416 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1417 data/filetypes.common, geany.glade:
1418 Update syntax highlighting after changing the 'Invert syntax
1419 highlighting colors' pref, instead of requiring a restart.
1420 Remove filetypes.common invert_all option - use 'Invert syntax
1421 highlighting colors' pref instead (closes #2854525).
1422 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1423 Add 'Allow' button when showing the conflicting keybinding dialog.
1424 Make dialogs_show_question_full() use GTK dialog on Windows if
1425 button text is not the stock yes/no items.
1426 Add dialogs_show_prompt() which also has an 'Apply' button.
1427 * src/queue.c, src/queue.h:
1428 Add warning that GeanyQueue may be removed.
1429 * src/keybindings.c, src/editor.c, src/editor.h:
1430 Change snippet_goto_next_cursor() to
1431 editor_goto_next_snippet_cursor() as it's in editor.h.
1432 Avoid using GPOINTER_TO_INT macro.
1435 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1437 * src/keybindings.c:
1438 Fix 'Reflow block' command when at the last paragraph and there's
1439 no last newline (patch by Eugene Arshinov, thanks).
1441 Add 'Compiler options & warnings' section.
1442 Update Style section to be clearer about code alignment and show
1447 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1449 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1450 src/plugindata.h, src/plugins.c, src/editor.c,
1451 plugins/geanyfunctions.h:
1452 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1453 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1455 Add sci_toggle_marker_at_line().
1456 Fix SciFuncs alignment.
1459 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1462 Fix erroneous free of returned string in prepare_run_script.
1465 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1467 * data/filetypes.latex:
1468 Changing default value for showing pdf and dvi to ensure to take
1469 *.pdf and *.dvi file.
1472 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1474 * src/about.c, THANKS:
1475 Change language string for Slovenian translation.
1478 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1480 * tagmanager/txt2tags.c:
1481 Fix multi-byte character constant comparison.
1483 Fix Gtk warning when trying to update documents popup menu item
1484 sensitivity before they exist.
1487 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1490 Improve the opening string in the plugin manager dialog.
1492 Use "max-width" to set the document width of the generated
1493 HTML documentation to let the text be auto-wrapped.
1494 * src/prefs.c, src/tagmanager/include/guregex.h,
1495 src/tagmanager/include/tm_tagmanager.h:
1496 Remove trailing spaces (patch by André Hentschel, thanks).
1498 Fix a compiler warning.
1500 Fix crash when opening documents.
1501 * src/build.c, src/build.h, src/project.c:
1502 Adjust coding style (no code changes).
1503 * src/build.c, src/project.c:
1504 Use NZV() macro instead of strlen() to check for empty strings.
1505 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1506 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1507 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1508 src/plugins.c, THANKS:
1509 Add new plugin signal: "document-before-save".
1510 Add get_line_end_position(), set_target_start(), set_target_end(),
1511 replace_target() to the plugin API
1512 (patch by Eugene Arshinov, thanks).
1513 Add new plugin signal: "document-filetype-set" (closes #2852286).
1514 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1515 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1516 tagmanager/Makefile.am, tagmanager/makefile.win32,
1517 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1519 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1522 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1524 * src/treeviews.c, src/document.c:
1525 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1526 Use gtk_notebook_set_current_page() instead of
1527 document_open_file_full() when choosing an item from the documents
1529 Avoid using goto in document_open_file_full().
1532 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1534 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1535 Enable type-ahead find for sidebar symbols and documents tabs
1536 (patch by Thomas Martitz, thanks).
1538 Fix 2 free's of possibly uninitialized pointers.
1541 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1543 * src/build.c, src/filetypes.h, src/filetypes.c
1544 Only write filetype config files when build command or regex is
1545 actually changed. Removed commented code in src/filetypes.c.
1547 Ensure uses of filename are protected against nulls when running
1548 a build command and give status message if not.
1551 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1554 Remove plugin from plugin manager dialog on unloading if it no
1555 longer exists or is incompatible.
1558 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1561 Add warning if only one of the plugin_key_group[_info] symbols is
1562 defined for a plugin.
1563 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1564 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1566 Merge custom-filetypes branch:
1567 Support adding custom filetype files e.g. filetypes.Foo.conf.
1569 Allow GeanyFiletype::extension to be NULL.
1570 Add note about using GeanyFiletype pointer instead of filetype_id
1571 for filetypes.c function arguments.
1572 Replace styleset_none() with styleset_default().
1575 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1578 Show the sidebar if either the documents or the symbols list are
1579 enabled (related to #1876107).
1582 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1584 * src/build.c, src/filetypes.c:
1585 Fix compiler warnings.
1587 Fix removing leading double slashes in filenames which are used for
1588 network resources on Windows (closes #2844085).
1591 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1593 * src/keybindings.c:
1594 Fix Make keybindings (patch by Lex Trotman, thanks).
1596 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1598 Mention Files link at top for header files; demoplugin.c.
1599 Minor edits; remove 'far from being complete'.
1600 * src/keyfile.c, src/keyfile.h, src/main.c,
1601 data/filetype_extensions.conf, HACKING:
1602 Remove --generate-data-files argument & code - just edit
1603 filetype_extensions.conf by hand (filetype order was broken
1605 Add *.H extension for C++ (useful for non-Windows systems).
1608 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1611 Fix implementation of loading old project files with base
1612 directories. Use project_make_base_path instead of re-
1613 implementing. Now depends on project.c reading base dir
1614 prior to calling load_build_menu.
1616 Change usage of project base directory to conform with
1617 previous documented behavior when loading old project files.
1619 Change make custom and make object to ignore make in base path
1620 when reading old project file settings. Changed some indent
1621 spaces to tabs. Fix missing compile menu accelerator.
1624 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1627 Add warning about not using undocumented features.
1628 Add reference to HACKING for plugin API development.
1630 Add section 'Plugin API/ABI design'.
1631 * src/keybindings.h, src/makefile.win32, src/project.h,
1632 src/filetypes.h, src/Makefile.am, wscript:
1633 Use GEANY_PRIVATE to hide some fields from plugins.
1635 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1636 * src/build.c, src/build.h, src/project.c:
1637 Use build_ prefix for 3 functions in build.h; add a static modifier.
1640 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1643 Improve parsing of PHP functions by requiring a valid modifier or
1644 whitespace before the 'function' keyword to ignore some false
1645 positives like function tags inside comments
1646 (patch by Harold Aling, thanks).
1647 * tagmanager/python.c:
1648 Don't parse comments after import statements and other tags
1649 (closes #2838938, patch by Huandari Lopez, thanks).
1652 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1654 * data/filetypes.markdown:
1655 Add filetypes.markdown for configuration (thanks to Jon Strait).
1656 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1657 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1658 plugins/geanyfunctions.h:
1659 Remove GeanyKeyGroup struct from the API - plugins should not set
1661 Make keybindings_set_item() duplicate the name and label fields
1662 (needed by GeanyLua) and return a keybinding pointer.
1663 Add keybindings_get_item() to the API (in case it's useful).
1664 Move some keybinding code out of plugin source files.
1667 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1669 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1670 Don't generate build.h API docs until everything is approved and
1671 functions are actually in geany_functions.
1672 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1673 as they may be changed or made private later.
1674 Break ABI for fields removed.
1677 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1679 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1680 src/keyfile.c, src/project.c
1681 Changed names of symbols visible in build API to GEANY_xxx.
1684 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1686 * src/project.h, src/project.c, src/build.c
1687 Remove make_in_base_dir and run_cmd fields from project structure.
1688 Replaced by build functionality. Remove incorrect use in src/build.c
1689 build_run_cmd function.
1692 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1694 * src/project.h, src/project.c
1695 Removed unused project_get_make_dir function, this is now per
1699 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1701 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1702 Fix some more warnings.
1703 Fix commented out execute/stop toolbar code in build.c.
1704 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1705 Changed build.h api so all functions prefixed with build_.
1708 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1710 * src/build.c, src/build.h, src/project.c:
1711 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1714 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1717 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1718 when reading old format configuration & project files.
1719 * src/build.c, src/project.c
1720 Fixed GLib array assertion warnings when no project filetypes are
1721 available to be saved.
1723 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1729 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1731 * src/build.h, src/build.c, src/project.c
1732 Created and documented plugins interface to build menu.
1733 Factored out new get_cmd_group function.
1734 Changed name of remove_command function to be consistent with the rest
1735 of the interface & changed calls in project.c.
1736 * src/Makefile.am, wscript
1737 Added build.h to installed files lists.
1739 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1742 Updated manual to match build-menu capability.
1745 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1747 * src/build.c, src/build.h
1748 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1749 Improved interpretation of run_in_base_dir from old [build-settings]
1750 Added spacing to build commands dialog
1752 Removed run in base path option from project dialog and added button to
1753 set working directories to d the same.
1756 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1759 Re-incorporated toolbar changes in trunk accidently excluded in merge
1761 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1764 Fixed substitute %f etc in commands
1765 Fixed potential leak in build_replace_placeholder
1766 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1767 Fixed build_replace_placeholder to not require document.
1769 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1771 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1772 Fixed crash and lots of warnings, deleted some commented out code.
1773 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1774 Removed make command from preferences and associated code
1776 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1778 * src/build.c, src/build.h
1779 Incorporated patch for working directory field (thanks Thomas)
1780 Removed run_in_base_dir option and associated code that it replaces
1781 Improved handling of old config files and mapping to new ones.
1783 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1785 * src/build.h, src/build.c
1786 Changed to itterate over entries in build commands dialog to allow
1787 additional fields to be added
1788 Implement support for multiple run commands
1789 * data/filetypes.latex
1790 Implement configured commands and labels for latex.
1793 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1795 * src/build.h, src/build.c
1796 added dialog support for error regular expressions from multiple sources
1797 and storing and loading them
1798 fixed some typos and memory leaks
1799 * src/filetypes.c, src/filetypes.h, project.c
1800 added support for using error regexes from multiple sources
1803 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1805 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1807 Removal of build menu item source made redundant by the following fix
1809 Corrected priority oreder and loading of filetype dependent build
1810 menu items saved in the project file. Added print routine for
1811 debugging command sources and priorities set compile symbol
1812 PRINTBUILDCMDS true to enable
1814 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1817 fixed problem loading old format filetype files, some formatting fixes
1818 fixed saving new format files
1819 added operation for clear button on build commands dialog
1821 fixed loading and saving filetype files
1824 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1826 Configurable Build Menu Changes
1828 * doc/geany.html, doc/geany.txt:
1829 Updated build menu section to new functionality
1830 * src/build.h, src/build.c:
1831 Largly re-written, configurability added, Latex code removed
1832 * src/filetypes.h, src/filetypes.c:
1833 Filetype structure updated to add new command pointers, configuration
1834 load and store changed
1835 * src/keybindings.h, src/keybindings.c:
1836 Changed to address new command storage structure.
1838 Changed to load/store new configuration.
1840 Minor change to initialisation order.
1842 Changed to address new menu item storage structure.
1843 * src/project.h, src/project.c:
1844 Changed to load/store the new configuration info.
1846 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1848 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1849 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1850 doc/pluginsymbols.c, plugins/geanyfunctions.h,
1851 plugins/splitwindow.c:
1852 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
1853 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
1854 the ABI when adding fields to them.
1855 Add plugin_set_key_group() for plugins to dynamically set a
1856 keybinding group (e.g. for the Lua script plugin). Used in Split
1857 Window plugin as an example.
1858 Improve keybinding docs a little.
1861 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1863 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
1864 Add geanyfunctions.h to API docs.
1865 * plugins/splitwindow.c:
1866 Set the cursor color for the split window.
1869 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1872 Fix 'Open Selected File' for unsaved new documents.
1873 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1874 Fix updating main menu accelerators after changing keybindings
1875 (thanks to Lex Trotman).
1877 Fix using 'Insert date' keybinding when a custom date string has
1879 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1880 Merge Plugin and GeanyPluginPrivate structs.
1883 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1885 * src/keybindings.c:
1886 Fix non-working Home and End keys on numpads.
1889 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1891 * doc/geany.txt, doc/geany.html, NEWS:
1892 Add 'Scope autocompletion' section.
1893 Add 'Tools menu items' section to explain configuration files
1894 submenu, reload configuration item.
1895 Minor updates/fixes.
1898 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1901 Add a translation hint to an ambiguous format string.
1903 Add missing include path to fix 'make distcheck'.
1905 Fix opening of local files in the browser on Windows.
1906 * New release: Geany 0.18 "Kaine".
1907 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1908 src/geany.h, doc/geany.html, doc/geany.txt:
1909 Post-release version bump.
1912 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1915 Temporarily disable reshowing calltips when the autocompletion
1916 list was closed implicitly by not choosing an item to fix
1917 problems with wrongly displayed calltips.
1919 Add missing 'coding' cookie to the Python filetype template.
1920 * doc/images/pref_dialog_edit_completions.png,
1921 doc/images/pref_dialog_toolbar.png:
1922 Update images for Geany 0.18.
1925 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1928 Add command '--hackingdoc' to create the HTML form of the
1932 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1934 * po/pt_PT.po, po/LINGUAS:
1935 Added a first Portugese (Portugal) translation based on work done at
1936 launchpad by e.g. André Glória and Alexandre Jesus.
1937 * src/main.c: Fix a minor typo on --help call.
1940 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1942 * src/highlighting.c:
1943 Call get_keyfile_wordchars() in highlighting_init_styles().
1946 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1948 * data/filetypes.ada:
1950 * src/keybindings.c:
1951 Switching notebook tabs now works for the currently used notebook
1952 widget instead of always using the documents notebook.
1953 * src/document.c, src/document.h, src/documentprivate.h,
1955 Small corrections to some API docs.
1958 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1960 * src/build.c, src/win32.h, src/win32.c:
1961 Expand system environment variables (%variableName%) on Windows when
1962 running Build commands.
1965 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1967 * src/keybindings.c:
1968 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
1969 future using an indent block is more useful e.g. for ChangeLog
1971 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
1972 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
1973 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
1974 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
1975 tagmanager/parsers.h, tagmanager/makefile.win32,
1976 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
1977 Add Markdown filetype (patch by Jon Strait, thanks).
1978 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1979 Fix disconnecting plugin signal id when not using geany_object.
1981 Add filetype_make_title() instead of using:
1982 ft->title = g_strdup_printf(_("%s source file"), ft->name);
1983 It also supports "%s file" strings.
1986 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1988 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
1989 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1990 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
1991 plugins/filebrowser.c:
1992 Add plugin_signal_connect() for connecting plugin signals at
1993 runtime and also for connecting to any GObject signal.
1994 Add 'Plugin Utility Functions' on main page.
1995 Add foreach_array() macro.
1996 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1997 src/document.c, src/editor.c:
1998 Rename 3 sci functions to sci_set_target_start(),
1999 sci_set_target_end(), sci_replace_target() to match the SCI_
2003 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2005 * wscript: Fix compiling error with waf.
2008 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2010 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2011 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2012 src/Makefile.am, wscript:
2013 Move plugin_* utility functions to pluginutils.c.
2014 Add pluginprivate.h.
2016 Fix reshowing calltip in the wrong document.
2019 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2021 * doc/geany.txt, doc/geany.html:
2022 Add some general information about auto-completion capabilities
2023 (patch by Lex Trotman, thanks).
2026 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2028 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2029 Added a first Slovenian translation. Thanks to Joze Klepec.
2032 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2034 * src/highlighting.c:
2035 Use full styleset_foo[_init] function name as argument to
2036 init_styleset_case() and styleset_case() macros so it's easier to
2037 understand the code.
2038 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2039 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2040 doc/geany.txt, doc/geany.html:
2041 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2042 Heavily based on a patch by Eugene Arshinov (thanks).
2043 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2044 editor_strip_line_trailing_spaces().
2047 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2050 Attempt to fix reshowing calltips after the autocompletion list
2052 Reshow calltips also when the autocompletion list was closed
2053 implicitly by not choosing an item.
2055 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2057 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2058 plugins/splitwindow.c:
2059 Change utils_str_remove_chars() to work in place; fix allocating on
2060 the stack (the string length could exhaust the stack size).
2061 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2062 src/printing.c, src/callbacks.c:
2063 Rename utils_str_replace() utils_str_replace_all(), setting a
2064 'gchar **haystack' argument instead of returning a new string.
2066 For the Tabs indent type, remove spaces when unindenting (only) if
2067 there are no tabs on the line.
2068 Group undo actions for (un)indenting of multiple lines.
2069 * src/document.c, src/editor.c:
2070 Fix scrolling horizontally after finding a search match with the
2071 search bar or Find Next/Previous which is off-screen.
2072 * src/keybindings.c:
2073 Fix GLib warning when pressing a key with no documents open.
2076 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2079 Start unifying usage of @a and @c markup elements in API docs,
2081 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2082 Show/hide the toolbar without a restart when the setting in the
2083 preferences dialog is changed (closes #2824785).
2084 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2085 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2086 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2088 Continue unifying usage of @a and @c markup elements in API docs.
2091 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2094 Remove relative/untidy path elements when creating new documents
2095 with a filename (e.g. from the command-line) (#2823998).
2098 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2101 Disable 'Recent Projects' menu item if the list of recent projects
2104 Fix some harmless compiler warnings.
2105 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2106 src/plugins.c, src/utils.c, src/utils.h:
2107 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2108 src/utils.c and add it to the plugin API.
2109 Make utils_str_remove_chars() work on a new copy of the input string
2110 instead of modifying it in place.
2112 Remove underscores from the toolbar items labels.
2115 * plugins/splitwindow.c:
2116 Fix broken 'Show the current document' tool button icon.
2119 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2121 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2123 Add stash_group_add_widget_property() so we can save any widget's
2124 read/write properties.
2125 Use Stash for ui_prefs.sidebar_page setting.
2126 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2127 Make foreach_ptr_array() use an integer argument for its
2128 implementation, as this is more useful potentially than a gpointer*
2129 argument, and more straightforward.
2130 Add foreach_c_array(), foreach_ptr_array() to API.
2131 * src/utils.c, src/utils.h, src/document.c:
2132 Remove relative/untidy path elements when opening documents (closes
2135 Fix showing project name for documents list files with no
2136 subdirectory (oops).
2138 Fix checking whether to overwrite when using the Rename button in
2139 the 'Save As' dialog.
2142 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2145 Don't use the main window as parent for dialog boxes if it is not
2147 Set titles for message dialogs.
2150 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2153 Display item labels instead of raw names in the toolbar editor.
2154 Apply changes in the toolbar editor instantly.
2155 Show icons in the toolbar editor.
2156 Speed up toolbar editor dialog creation.
2158 Improve inserting of comment templates like File header or licence
2159 notices. The comment information are now read from the filetype
2160 configuration files.
2162 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2165 Enable file monitoring for files which are written to disk by Geany
2168 Fix broken special case handling when detecting filetypes from a
2169 shebang or other special file headers.
2172 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2175 Make Mark All keybinding clear search highlighting when there's no
2178 Fix wrong match length when using Mark with regex.
2179 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2180 src/keyfile.c, src/main.c:
2181 Add 'Show Paths' documents list popup item.
2182 Add "load_settings" core-only signal emitted just after loading
2183 main keyfile settings; useful to delay building UI elements until
2184 settings have been read.
2186 Fix GTK warning when right-clicking on default tag tree.
2187 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2188 Add treeviews_finalize().
2189 Remove tv.popup_openfiles field.
2192 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2194 * src/highlighting.c:
2195 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2198 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2201 Quote the uri before passing it to the browser when opening a
2202 website (closes #2818635).
2204 Fix broken 'builtin' Run command for HTML files on Windows.
2207 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2210 Properly fix wrong brace highlighting of non-brace character.
2212 Allow autocompletion in Perl double-quoted strings.
2213 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2214 Don't autocomplete in Perl q() strings.
2215 * data/filetypes.common:
2216 Make Mark highlighting brighter.
2217 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2218 Use hyphen for auto-feature terms.
2219 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2220 src/document.h, src/main.c:
2221 Add documents_foreach() API macro that skips invalid docs.
2222 Make filetypes[], documents[] part of the API again.
2223 Add GEANY() macro for sharing geany symbols between API and core.
2224 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2225 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2226 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2227 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2228 plugins/classbuilder.c, wscript:
2229 Add geanyplugin.h single include for plugin API; update all core
2231 Add sci_set_font() to API.
2232 Update plugin howto.
2233 * src/filetypes.c, src/filetypes.h:
2234 Remove filetypes_foreach_named().
2237 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2239 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2240 src/document.h, src/main.c, THANKS:
2241 Apply patch from Eugene Arshinov to reload color schemes via menu
2244 Reload filetypes.common after saving it.
2246 Improve wrong brace highlighting of non-brace character.
2249 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2252 Delay highlighting matching braces by 100ms, which speeds up
2253 scrolling with the arrow keys.
2254 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2255 Add 'Mark All' keybinding.
2256 * tagmanager/diff.c:
2257 Show relative paths in diff filename tags.
2260 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2262 * src/highlighting.c:
2263 Fix setting keyword list 'classes' for Haxe
2264 (pointed out by Andreas Mokros, thanks).
2267 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2269 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2270 doc/geany.txt, doc/geany.html, geany.glade:
2271 Add 'Drop rest of word on completion' pref.
2272 * src/editor.c, doc/geany.txt, doc/geany.html:
2273 If autocompletion is already visible when forcing completion, show
2274 document word completion instead of tag completion.
2275 Docs: Minor edits of related prefs items.
2276 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2277 Add warning when printing and editor font is not monospaced.
2278 Fix using GtkMessageType instead of gint param for
2279 dialogs_show_msgbox*().
2280 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2282 Support 'tab indents, space aligns' style for auto-indentation
2286 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2288 * src/document.c, src/documentprivate.h:
2289 Rework the GIO based file monitoring code. Now it is used only
2290 to indicate a possible change of the file, the real check if the
2291 file has been changed is performed by stat().
2292 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2293 Add style 'line_height' to increase the line height.
2294 Add style 'marker_mark' and change style 'marker_search' to
2295 define the style used for marked search results.
2296 * doc/geany.txt, doc/geany.html:
2297 Add the new 'Autocomplete all words in document' pref to the docs.
2300 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2302 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2303 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2304 Add 'Autocomplete all words in document' pref.
2305 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2307 Fix limiting number of word completion entries too much.
2308 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2309 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2310 Show autocompletion icons for tag symbols - for now only tags with
2311 an arglist have the 'function/method' icon, all others have the
2313 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2315 * src/highlighting.c:
2316 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2320 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2322 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2323 Fix removing underscores in translated string using no_underscore()
2325 Set a tooltip for the Split Window plugin's Show Current tool button.
2326 Add utils_strdupa() macro.
2327 * src/interface.c, geany.glade:
2328 Use stock Select All icon now we have >= GTK 2.8.
2330 Fix using project name for document items that start with the
2331 project base path but don't match it e.g. ".../geany-plugins"
2332 instead of ".../geany" when project name is 'geany'.
2335 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2338 Fix warnings when the toolbar does not contain the Run button.
2340 Fix wrong parsing of complex expressions in the Lua parser.
2341 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2343 Remove unnecessary enums.
2344 * scintilla/*, scintilla/include/*, src/plugindata.h:
2345 Update Scintilla to version 1.79.
2346 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2348 Use the new Scintilla struct names prefixed with 'Sci_'.
2349 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2351 Add second argument to the 'line_wrap_indent' styling setting to
2352 control the new Scintilla indentation mode for wrapped lines.
2354 Properly close the toolbar editor on delete-events.
2355 Fix warnings and possible crashes in the toolbar editor when the list
2356 of displayed toolbar items is empty.
2357 * data/filetypes.tcl:
2358 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2360 Make the plugin manager dialog a bit bigger.
2363 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2365 * doc/geany.html, doc/geany.txt:
2366 Fix wrong default values for the 'Show Calltip' keybinding.
2369 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2371 * data/filetypes.tcl, src/symbols.c:
2372 Fix duplicate "context_action_cmd" key.
2373 Use different icons for "Methods" and "Procedures" in the symbol
2376 Fix a small memory leak.
2377 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2378 src/keybindings.h, src/plugindata.h:
2379 Make the Scintilla keybindings 'Delete to end of line' and
2380 'Go to end of display line' configurable.
2382 Fix a typo (closes #2813624).
2385 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2387 * tagmanager/tcl.c, src/symbol.c:
2388 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2389 methods and namespaces).
2390 Patch by Witek Mozga, thanks.
2393 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2395 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2396 src/toolbar.c, src/toolbar.h:
2397 Remove ui_toolbar.xml Configuration Files menu item.
2398 Add a real toolbar editor dialog.
2399 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2401 Add a button in the preferences dialog and an item for the toolbar
2402 popup menu to run the toolbar editor dialog.
2405 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2408 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2409 Fix using locale encoding for default Save As dialog path.
2411 Beep when trying to activate the '...' autocompletion item.
2412 Limit (forced) document word completion to
2413 autocompletion_max_entries.
2414 Beep if no completions are shown when forcing autocompletion.
2417 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2419 * data/ui_toolbar.xml, src/toolbar.c:
2420 Add 'Build' toolbar button to the default layout.
2423 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2426 If forcing autocompletion and there's nothing else to show, complete
2427 from words in the current document (using code from Enrico's
2428 'AutoComplete Test' plugin).
2431 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2434 Add debug message if plugin has not set a name for its keybinding
2436 * data/filetype_extensions.conf:
2437 Add *.m4 for shell scripts.
2440 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2442 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2443 data/filetypes.common, TODO:
2444 Make filetypes.common named styles use the "default" named style for
2445 all missing style fields.
2446 Set named styles to usually leave the background style empty. This
2447 currently allows C-like filetypes to have a common default
2449 Allow hard-coded colors to use -1 for the default color.
2450 Add some highlighting style examples to the manual.
2453 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2456 Create initial template files with proper platform-specific line
2460 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2462 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2463 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2464 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2465 src/ui_utils.c, src/ui_utils.h:
2466 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2468 Refactor some related code.
2469 * tagmanager/conf.c:
2470 Strip trailing spaces from "Key" tags.
2472 Quote the full filename to the Geany executable when creating the
2473 "Open with Geany" context menu item.
2474 * plugins/splitwindow.c:
2475 Avoid using deprecated GTK API.
2476 * src/log.c, src/main.c:
2477 Properly clean up the logging mechanism.
2479 Fix LaTeX view commands on Windows (part of #2807688).
2481 Add a popup menu for the keybinding list in the preferences dialog
2482 to easily expand and collapse all groups.
2483 Refactor the keybindings code for the preferences dialog, prefix all
2485 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2486 Init stock items before creating the toolbar (closes #2809324).
2488 Generate the geany.pc file also on Windows.
2490 Invert the logic to determine which Save All we want to use:
2491 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2492 like icon for any other themes.
2495 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2497 * src/highlighting.c, README.Packagers, HACKING:
2498 Remove gsd_* default styles, use named styles instead.
2499 Note: this relies on filetypes.common being installed.
2500 Add load_style_entries(), which makes style initialization
2501 simpler, used in styleset_c_like_init().
2504 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2507 Prevent possible crash on Windows when not setting an initial
2508 directory for native File Open/Save dialogs.
2509 * data/filetypes.xml, src/highlighting.c:
2510 Add style 'jscript_regex' for filetype HTML
2511 (patch by Chris Macksey, thanks).
2514 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2516 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2517 Make GeanyDocument::file_type always be non-NULL, even for a new
2518 document with no filetype set.
2520 Only autocomplete scope for scopes matching the current filetype's
2522 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2523 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2524 data/filetypes.actionscript, data/filetypes.cs,
2525 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2526 data/filetypes.javascript, HACKING:
2527 Make C++, D lexer filetypes use named styles (apart from uuid,
2528 verbatim, regex styles).
2531 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2534 Don't explicitly change the current directory of the Save As dialog
2535 so that it uses the last used directory.
2538 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2540 * src/encodings.c, src/encodings.h, src/plugindata.h:
2541 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2544 When completing from the macro list, put the cursor after
2548 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2550 * tagmanager/pascal.c:
2551 Fix type definitions being parsed as functions.
2553 Don't autocomplete in unterminated strings as well.
2554 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2555 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2556 Remove data_ptr argument to foreach_[s]list() macros, as using
2557 node->data is enough sometimes; this makes the macro a bit more
2559 Add foreach_[s]list() macros to the plugin API docs.
2562 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2564 * scintilla/LexPascal.cxx:
2565 Backport fix from Scintilla CVS:
2566 Pascal lexer hanging on file that starts with 'interface' after
2570 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2573 Update Waf to 1.5.7.
2575 Overwrite installation prefix on Windows only if it wasn't
2576 specified explicitly.
2579 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2582 Display calltips for Pascal symbols in the Pascal way (#2803945).
2583 * tagmanager/pascal.c:
2584 Fix wrongly set return values for procedures (closes #2803945).
2585 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2586 tagmanager/include/tm_source_file.h,
2587 tagmanager/include/tm_workspace.h:
2588 Fix doxygen warnings.
2591 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2593 * src/editor.c, tagmanager/include/tm_workspace.h,
2594 tagmanager/tm_workspace.c, TODO:
2595 Autocomplete scoped fields like struct members when typing '.' (and
2596 also '->' or '::' in C/C++).
2597 Save all tag types for C/C++ when generating a global tags file, so
2598 we can use autocompletion for structs also.
2599 Merge tm_workspace_find_scope_members(),
2600 tm_workspace_find_namespace_members() (currently not built) from
2601 Anjuta 2.24.1 tagmanager.
2604 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2606 * tagmanager/pascal.c:
2607 Parse Pascal calltips (closes #2802640).
2610 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2612 * src/filetypes.c, src/ui_utils.c:
2613 Add filetypes.common Configuration Files menu item.
2616 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2619 Add backslash to the wordchars on Windows when using
2620 'Open Selected File'.
2622 Add support (configure, build and install) for building on Windows
2623 and cross-compiling for Windows using the Waf build system.
2626 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2629 Set status bar text instead of showing a dialog when saving
2630 ui_toolbar.xml because the user might save several times.
2632 Fix redrawing due to colourising just after the document is first
2633 drawn. Now colourising should happen before the first draw.
2634 * src/utils.c, src/highlighting.c, data/filetypes.common:
2635 Fix segfault on parsing a filetypes.* style definition that has < 4
2637 Allow style definitions to have missing fields to use the default
2641 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2643 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2644 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2645 * plugins/classbuilder.c:
2646 Fix wrongly created header guards when the class filenames contains
2647 dashes (patch by PCMan, thanks).
2648 * data/filetypes.matlab:
2649 Add build_settings section to allow executing Matlab scripts.
2651 When closing a document, mark it as invalid before removing it from
2652 the documents notebook (this fixes wrong Save All button state when
2653 closing an unsaved document because the "switch-page" signal handler
2654 was using old data).
2657 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2659 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2660 Support toggling bold/italic when using a named style, e.g.:
2661 commentdockeyword=commentdoc,bold,italic
2662 Improve named style docs.
2665 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2667 * src/build.c, src/editor.c:
2668 Fix crashes when parsing the output of a compiler which reports
2672 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2674 * src/highlighting.c:
2675 Support named styles also for filetypes.common [styling] entries.
2676 * doc/geany.txt, doc/geany.html, HACKING:
2677 Update docs for named styles in filetypes.* files.
2679 Fix grouping symbol list children when parent name has "." character
2680 in for reStructuredText and Conf filetypes.
2681 * tagmanager/python.c:
2682 Fix grouping functions/classes under a nested function.
2685 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2688 Adjust icon paths (patch by Dominic Hopf, thanks).
2689 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2690 Add 'Replace' toolbar button (closes #2798225).
2693 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2695 * src/utils.c, src/highlighting.c, TODO:
2696 Implement named styles support for filetypes.* using a
2697 filetypes.common [named_styles] section e.g.:
2698 foo=0xc00000;0xffffff;false;true
2700 These can be used in e.g. filetypes.c as:
2704 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2707 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2710 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2712 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2713 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2716 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2719 Remove quote_executable() as it is not used anymore.
2720 When creating the geany_run_script.bat use the "%0" variable
2721 expansion and quote it for the "del" command (closes #2797172).
2723 On Windows, fallback to the literal build command line if searching
2724 for the command in the system path failed (related to #2795923).
2725 Properly terminate the resulting strings when reading the stdout
2726 and stderr of any spawned commands on Windows.
2729 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2732 Use the wide character versions of native Windows File dialogs.
2734 Fix wrong initialisation of the default project path button callback
2735 in the preferences dialog.
2736 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2737 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2738 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2739 icons/Makefile.am, icons/geany.ico, icons/scalable,
2740 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2742 Move the icons geany.png and geany.ico into the icons directory.
2743 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2744 Drop the pixmaps directory.
2747 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2749 * src/keybindings.c:
2750 Improve MRU document switching so there are no duplicates in the
2751 list and documents switched to whilst the dialog is open are
2752 ignored. Also beep when cycling through to the first document in the
2756 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2759 Fix broken 'Cancel' button in the Save As dialog.
2762 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2765 Fix multiline indent when selection covers text on the last line.
2767 Show current document in bold in tab popup menu.
2768 * src/editor.c, tagmanager/python.c, TODO:
2769 Parse Python calltips.
2772 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2774 * src/symbols.c, tagmanager/python.c:
2775 Parse Python import statements to get symbol completion for the
2776 imported module names.
2777 * src/editor.c, src/editor.h:
2778 Make some only locally used functions static.
2779 Fix wrong sanity check.
2781 Fix quoting the build command string on Windows (closes #2791769).
2782 This broke when we made build commands run synchronously on Windows,
2783 now we don't need to special quote the commands anymore.
2786 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2789 Drop rest of word to the right of cursor when autocompleting (do we
2790 need a pref for this?).
2793 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2795 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2796 Add sci_set_selection().
2797 * doc/geany.txt, doc/geany.html:
2798 Update manual for MRU switching.
2799 * src/callbacks.c, src/editor.c, src/editor.h:
2800 Make indenting with the Tabs indent type preserve spaces on the line,
2801 so it works for the 'tab indents, space aligns' formatting style.
2804 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2806 * tagmanager/python.c:
2807 Fix missing symbols for variables when an equal sign is used
2808 in a comment on the same line as the variable declaration.
2809 Backport change from CTags SVN to keep the parser more in sync:
2810 Add support for Cython constructs to the Python parser.
2812 Remember the additional Find in Files search flags at startup.
2814 Don't close the Save As dialog when saving the file didn't succeed.
2817 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2820 Remember scribble cursor position.
2821 * src/keybindings.c, TODO:
2822 Implement Most-Recently-Used document switching when pressing
2823 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2826 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2828 * data/latex.tags: Added some more commands from unit.sty and
2832 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2834 * src/symbols.c, doc/geany.txt, doc/geany.html,
2835 tagmanager/makefile.win32, tagmanager/nestlevel.c,
2836 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
2837 tagmanager/Makefile.am, wscript:
2838 Merge unstable branch:
2839 Add reStructuredText scope information for tags (for symbol list
2841 Read custom system global tags files from $prefix/share/geany/tags;
2843 Show the number of tags in a user global tags file (instead of the
2844 running total) in the debug message.
2845 Also print debug messages when loading a tag file manually or for
2846 default global tags files e.g. python.tags.
2848 Move NestingLevel tags code into a separate file, add functions.
2850 Add 'Installation prefix' section instead of quoting '/usr/local'
2852 Update for custom system global tags files.
2855 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2857 * src/highlighting.c:
2858 Unset maybe previously keywords when setting up Scintilla for
2859 XML files. This fixed wrong highlighting after switching back to
2860 filetype XML from another one.
2862 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
2863 is only used when explicitly requested.
2865 Remove unnecessary call to g_intern_string() to fix build with
2866 GLib 2.8 (closes #2790051).
2869 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2872 Make the clear icon of entry fields act on the release event, not
2873 on the press event like for other buttons.
2875 Refactor some multiple used code into get_multiline_comment_style().
2877 Create parent directories if necessary when checking for the
2878 configuration directory on startup (closes #2784577).
2881 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2883 * plugins/filebrowser.c:
2884 When a filter is set, apply it only to files, not directories and
2885 apply the filter to the UTF-8 name of the file as the filter string
2886 itself is also UTF-8.
2887 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
2888 Add utils_color_invert() and use it in highlighting.c and printing.c.
2889 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
2890 Backport change from Scintilla CVS:
2891 Change capitalisation of header file to suit cross-compilation on
2895 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2897 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
2898 Update Scintilla to version 1.78.
2899 * src/editor.c, src/highlighting.c:
2900 Update Pascal styles as they changed in Scintilla.
2903 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2906 Ignore the invert syntax highlighting colours setting when printing
2907 to not print characters on a dark background (closes #2785244).
2908 * New release: Geany 0.17 "Wessex".
2909 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2910 src/geany.h, doc/geany.html, doc/geany.txt:
2911 Post-release version bump.
2914 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2916 * src/callbacks.c, src/callbacks.h, src/main.c:
2917 Update the View->Fullscreen menu item when fullscreen state is
2918 changed externally (e.g. by the window manager).
2920 Fix passing wrong pointer to the File Open dialog for the Run
2921 command in the Project Properties dialog.
2924 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2926 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
2928 Remember the active sidebar page between sessions.
2930 Add a recent project item after creating a new project.
2931 * tagmanager/ruby.c:
2932 Fix wrong parsing of string literals (closes #2781264).
2934 Fix setting focus to the editor widget after changing the selection
2938 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2941 Prevent crashes when two or more top level items in the symbol
2942 list have the same name (closes #2778246).
2945 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2947 * src/keybindings.c:
2948 Manually show the main notebook tab bar menu when Shift-F10 is
2949 pressed. This broke when we disabled the default GTK tab bar menu.
2951 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
2952 which was reloaded shortly before.
2954 When the editor menu is opened by the Menu key, use the text cursor
2955 position for retrieving the current word. This fixes disabled
2956 Go to Tag items in the menu (#2780044).
2958 Set the "ellipsize" property of GtkCellRendererText to automatically
2959 shorten the path and file names in the Documents list.
2960 * doc/geany.html, doc/geany.txt, src/build.h:
2961 Increase the amount of highlighted build error messages to 100.
2962 At least for LaTeX we need higher values as there is a lot of
2963 informative output before any errors are reported.
2964 * src/filebrowser.c:
2965 Use the startup path as the initial directory for the filebrowser
2966 plugin when no project and no files are opened
2967 (patch by Matias Gea, thanks; closes #2780521).
2970 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2972 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
2973 src/utils.c, src/utils.h:
2974 Ellipsize tab labels and some status messages for very long
2975 filenames (closes #2777348).
2976 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
2977 Add utils_str_middle_truncate() and
2978 document_get_basename_for_display() to the plugin API.
2979 * doc/geany.html, doc/geany.txt, src/toolbar.c:
2980 Add new toolbar element: Print (patch by Roland Baudin, thanks).
2981 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
2983 Add a hidden preference 'use_safe_file_saving' to save files to disk
2984 by creating a temporary file first. This has serious side effects,
2985 please read the documentation before enabling this.
2987 Make build commands on Windows run synchronously to avoid problems
2988 with reading build commands' output.
2989 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
2990 Limit the amount of highlighted build error messages in the
2991 Compiler window to 50 for performance reasons.
2994 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2996 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
2998 Replace our own GEANY_KEYS_MODIFIER_MASK by
2999 gtk_accelerator_get_default_mod_mask() which gives the same result.
3000 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3001 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3002 Add a trivial symbol parser for NSIS files.
3005 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3008 Hide the extra file open dialog options in an expander to make the
3009 dialog more compact by default and to provide more space for the
3011 Remove the filename field as it is also provided by GTK itself with
3012 more features like auto-completion.
3013 Watch the 'show-hidden' property of the file chooser widget using
3014 GObject's "notify" signal which gives accurate results and remove
3015 the hack using the "selection-changed" signal.
3018 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3020 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3021 Prevent double execution of radio menu item "activate" or "toggled"
3023 Move 'Set Encoding' callback function into encodings.c.
3026 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3029 Add some missing 'void's in function definitions.
3030 If the project base path is './', just use the path of the project
3031 config file instead of appending './'.
3032 * src/treeviews.c, src/project.c:
3033 When a project is loaded, replace the project base path with the
3034 project name in the Documents sidebar for parent items
3038 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3040 * src/keyfile.c, src/keyfile.h, src/project.c:
3041 Fix duplicating the recent files and projects lists when closing
3043 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3044 src/editor.c, src/encodings.c, src/filetypes.c,
3045 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3046 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3047 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3048 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3049 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3050 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3051 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3053 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3054 sense to keep the code more readable.
3057 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3060 When updating global type definitions for opened documents, take
3061 also C++ namespace symbols into account and don't ignore symbols
3062 which are defined inside a scope.
3065 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3068 Don't show 'plugin is not binary compatible' messages on the status
3069 bar, only the status window.
3072 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3075 When opening files from a remote instance on X11, set the window
3076 server time to encourage window managers to pop up the main window
3077 (related to #2735467 and #2276179).
3079 When finished sending filenames to a remote instance, notify the
3080 environment that we finished starting up.
3083 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3085 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3086 Sort Configuration Files menu.
3087 Add ui_menu_sort_by_label().
3088 Add foreach_list() macro.
3093 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3096 Fix setting a wrong default window size when starting without an
3097 existing configuration.
3098 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3099 Make editor_highlight_braces() static.
3100 Remove unused wrapper functions.
3101 * src/editor.c, src/symbols.c, src/symbols.h:
3102 Prevent showing an empty macro list.
3103 Show only macros of the same filetype instead of all macros of all
3106 Don't add opened project files to the GtkRecentManager.
3109 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3112 Add Configuration Files item for snippets.conf.
3113 * src/highlighting.c, src/symbols.c:
3114 Fix 2 old uses of filetype IDs.
3117 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3119 * src/interface.c, src/printing.c, geany.glade:
3120 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3123 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3126 Add sanity checks in ui_lookup_widget() just to be safe.
3127 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3128 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3129 src/project.h, src/ui_utils.c, src/ui_utils.h:
3130 Add "Recent Projects" menu to the Project menu
3131 (#2728630, patch by Elias Pschernig, thanks).
3132 * doc/geany.txt, doc/geany.html:
3133 Describe how to build Geany using the Waf build system.
3134 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3135 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3136 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3137 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3138 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3139 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3140 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3141 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3142 src/utils.c, src/utils.h, src/vte.c:
3143 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3144 performance when building the code with gcc.
3145 * src/highlighting.c:
3146 Fix typo in the G_LIKELY checks, introduced in last commit.
3147 Fix the size of the styles array.
3149 Show a message dialog when renaming a file fails.
3152 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3155 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3156 (as we did for all other files in SVN r3382).
3159 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3161 * src/filetypes.c, doc/geany.txt:
3162 Move ActionScript to the Script group.
3164 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3165 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3166 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3167 plugins/htmlchars.c:
3168 Merge reorder-filetypes branch:
3169 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3170 append randomly without breaking the ABI).
3171 Make None filetype name = title = _("None").
3172 Add foreach_slist() macro.
3173 Add filetypes_by_title list to GeanyData for plugin API access
3174 - a list of filetype pointers, which includes the None filetype
3175 first. This list stays constant by the time plugins are initialized,
3176 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3177 index the sorted list.
3180 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3182 * doc/geany.txt, doc/geany.html, src/main.c:
3183 Add widget names for the menubar and toolbar.
3185 When hiding the messages window, set the input focus back to the
3186 editor widget (part of #1910393).
3189 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3191 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3192 Backport recent changes from Scintilla CVS to add partial support
3193 for RFC2822 styled text using the Properties lexer.
3194 Ignore leading whitespace for config files and RFC2822 text.
3195 * data/filetypes.actionscript:
3196 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3197 * THANKS, src/treeviews.c:
3198 Display file/directory icons in the Documents sidebar
3199 (patch by Simon Treny, thanks).
3202 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3204 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3205 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3206 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3207 Add an option to allow appending the toolbar to the main menu bar
3208 to save some vertical space.
3209 Allow setting toolbar icon size to very small (menu icon size).
3212 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3214 * src/keyfile.c, src/utils.c, src/utils.h:
3215 Add utils_path_skip_root(), a relative path safe variant of
3216 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3217 * src/keyfile.c, src/main.c:
3218 Allow negative window coordinates when saving and restoring the
3219 position of the main window.
3220 Restore the main window position and size *after* the window has
3221 been realised to get it positioned accordingly
3222 (this affects at least Windows).
3225 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3227 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3228 Use g_win32_get_package_installation_directory_of_module() on Windows
3229 with newer GLib versions instead of deprecated API.
3230 * src/keybindings.c:
3231 Don't manage the last used documents list when quitting to prevent
3232 errors by accessing invalid memory (may close #2533990).
3235 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3238 Delete the geany_run_script.sh immediately after execution
3239 to prevent leaking old copies when the script was quit unexpectedly
3240 (closes #2710482, patch by Martin Olsson, thanks).
3242 Check whether skipping the root element of a document's filename
3243 succeeded and use the filename itself if not (e.g. on relative
3244 filenames, #2702844).
3245 Use the locale encoded filename when saving session files.
3247 Re-set the quitting status after all documents have been closed on
3251 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3253 * plugins/htmlchars.c:
3254 Remove usage of deprecated sci_get_selected_text() from plugin.
3257 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3260 Delay disk file checks when switching between documents a little
3261 bit to avoid fast, unintentional page switching in some cases.
3262 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3263 src/sciwrappers.c, src/sciwrappers.h:
3264 Deprecate sci_get_text(), sci_get_selected_text() and
3265 sci_get_text_range().
3266 Add sci_get_contents(), sci_get_contents_range() and
3267 sci_get_selection_contents() as replacement functions to provide
3268 an easier and cleaner API (initial patch by Frank).
3271 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3274 Fix wrong parsing of CSS tags when the definition block starts on
3275 a new line (reported by Dominic Hopf, thanks).
3278 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3280 * plugins/htmlchars.c:
3281 Extend plugin by feature to bulk replace and replace on input for
3282 special characters to their HTML entities.
3285 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3288 Update build menu items after changing anything in the
3289 'Set Includes and Arguments' dialog.
3290 Disable Compile/Run buttons/menu items when Compile/Run commands are
3292 Reset current build directory to the base directory after reading a
3293 "Leaving directory" message when parsing Make output
3294 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3296 Fix wrong display of the filename in the tab bar menu for new files.
3298 Set the initial directory for the Save As dialog only once on
3300 Add a shortcut of the project's base directory to the
3301 File Open/Save As dialogs when a project is open for faster access.
3302 * src/splitwindow.c:
3303 Add keybindings for the split actions.
3306 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3309 When using Find All in the Find dialog (in Session and Document),
3310 display the right amount of matches.
3311 Fix the display of the matches once per line (I broke the original
3314 Fix wrong directory selection behaviour in all Open Folder dialogs
3315 (closes #2688020, patch by Marcel Stimberg, thanks).
3317 Don't present the main window of a running instance when starting
3318 a second instance separately.
3321 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3324 Reduce default file permissions on the Unix Domain socket file
3325 (reported by Jörg Sommer, thanks).
3328 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3330 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3331 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3333 Add an option to set an additional plugin lookup path.
3335 When using Find All in the Find dialog, display matches only once
3336 per line in the messages window (patch by Bert Vermeulen, thanks).
3339 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3341 * data/filetype_extensions.conf, data/filetypes.actionscript,
3342 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3343 src/highlighting.c, src/plugindata.h, src/symbols.c,
3344 tagmanager/Makefile.am, tagmanager/actionscript.c,
3345 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3346 Add filetype ActionScript (patch by Chris Macksey, thanks).
3347 Update type keywords only for real C-like languages.
3348 Fix wrong sorting of Assembler and Ada filetypes.
3349 * plugins/classbuilder.c:
3350 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3351 Other minor cleanups.
3354 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3357 Don't use menu item images for the tab bar menu to save some
3359 * data/filetypes.fortran, tagmanager/fortran.c:
3360 Add keyword 'extends' and fix Fortran parser to support the
3361 'extends' keyword (closes #2654492).
3362 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3363 src/search.c, src/toolbar.c:
3367 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3369 * src/about.c, THANKS:
3370 Added Jari Rahkonen to list of Finnish translators.
3373 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3376 Adjust minimum required GTK version.
3377 * src/Makefile.am, wscript:
3378 Add main.h to the list of installed header files.
3379 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3380 src/notebook.c, src/ui_utils.c:
3381 Remove GeanyDocumentPrivate::tabmenu_label.
3382 Disable the default tab bar menu for the main notebook widget and
3383 use a custom menu instead which lists all open files as usual plus
3384 'Close Other Documents' and 'Close All' menu items.
3387 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3389 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3390 Move ui_set_search_entry_background() into ui_utils.c.
3391 Change the background colour of the search entries in the Find
3392 and Replace dialogs according to the search results like in the
3393 toolbar search field.
3394 Add images to the 'Replace' and 'Replace and Find' buttons in the
3396 Minor cleanups in search.c.
3397 * tagmanager/tm_source_file.c:
3398 Update source files upon creation.
3400 Update C tags for glibc 2.9.
3401 * src/callbacks.c, src/toolbar.c:
3402 Fix broken non-incremental search with the toolbar search entry when
3403 pressing Enter (closes #2638180).
3404 * plugins/splitwindow.c:
3405 Fix possible crash on non-32-bit systems (patch by
3406 Wolfgang Ocker, thanks).
3408 Update the Packager tag due to Dominic's various contributions.
3409 Update description and feature list.
3410 Change Source tag to the gzip'ed tarball to be in sync with the
3411 Makefile target (thanks to Wolfgang Ocker for reporting).
3414 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3416 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3417 Removed deprecated plugin VC Diff
3420 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 Fix wrong Fortran 90 comment characters when inserting templates.
3424 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3425 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3426 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3428 Add 'Send Selection to Terminal' command to the Edit->Format menu
3429 (initial patch by David Gleich, thanks).
3430 * geany.glade, src/interface.c:
3431 Fix mnemonic for the Edit->Preferences menu item.
3434 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3436 * configure.in, plugins/Makefile.am:
3437 Enable socket support when cross-compiling.
3438 Enable plugin compilation when cross-compiling.
3440 Fix missing NULL checks when reading the colour value of compiler
3442 * src/main.c, src/win32.c, src/win32.h:
3443 On Windows, change the working directory to the Geany installation
3444 path at startup to avoid unwanted directory locking(closes #2626124).
3446 Fix broken selection of "Document->Set Encoding" menu items.
3447 * src/document.c, tagmanager/include/tm_source_file.h,
3448 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3449 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3450 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3451 Don't let the tagmanager automatically reparse files if they
3452 seem to be changed on disk (affects all files in the current session,
3453 not the current one). This should speed up file saving a little bit,
3454 especially with remote files.
3455 Remove now unnecessary calls to tm_workspace_update().
3457 Allow an empty value for the date format in the print settings to
3458 omit the date/time string in the print header.
3461 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3463 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3467 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3470 Add missing header include (closes #2615808).
3473 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3476 Fix a possible crash when comparing symbol names
3477 (could be related to Ubuntu bug #147151).
3478 Fix broken symbol list tooltips when tag names contain ampersands.
3481 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3483 * plugins/makefile.win32:
3484 Don't build Split Window plugin on Windows (doesn't work).
3487 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3489 * ChangeLog, Makefile.am: Rotate ChangeLog.
3490 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3491 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3492 Post-release version bump.
3495 *** See ChangeLog.pre-0-17 for earlier changes ***