1 2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3 * src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
4 src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
6 Use 3rd person for more API dox.
7 Change 'This is a wrapper function for...' to 'Wraps...' in brief
9 Change 'After all...' to 'Afterwards...'.
10 * src/interface.c, geany.glade:
11 Apply patch from Eugene Arshinov to make frame packing/alignment
12 more consistent (thanks).
15 2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
18 Fix ui_button_new_with_image() to call gtk_button_set_image() so
19 that gtk_button_[sg]et_label() work as expected.
20 * src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
21 Make Build Commands dialog show menu item labels as a button (to
22 help show that menu labels don't normally need to be edited &
23 display the mnemonic correctly). Clicking shows an input dialog to
24 set a new menu item label.
25 Split dialogs_show_input() into 2 functions: one simple, one for
27 Fix possible double-destroy of input dialog when closed by user.
29 Fix not destroying 'Make Custom Target' input dialog after first
32 Make Long Line Marker settings for existing projects default to
33 general settings instead of 0 (thanks to Eugene Arshinov).
34 * src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
35 src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
36 src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
37 src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
38 Use 3rd person (gets not get) for API function brief descriptions.
39 Avoid using 'convenience function' in API brief descriptions.
42 2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
44 * doc/geany.txt, doc/geany.html:
45 Warn about some GNU extensions for regular expressions & clarify
47 * src/interface.c, src/keybindings.c, src/project.c, src/project.h,
48 src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
49 src/editor.h, geany.glade:
50 Apply patch from Eugene Arshinov to add project long line marker
51 customisation (thanks).
52 * src/interface.c, geany.glade:
53 Edit/tidy 'Long line marker' labels.
56 2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
58 * src/build.c, src/project.c:
59 Fix crash due to NULL in project build preferences (thanks to
63 2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
65 * src/utils.c, src/utils.h, src/search.c, src/search.h,
66 src/document.c, doc/geany.txt, doc/geany.html:
67 Merge gnu-regex branch:
68 Use POSIX system/GNU regex engine for find & replace 'Use regular
69 expressions' option. This alters regex syntax a bit - see the docs
70 for details; we now support '?' operator and replacement backslash
71 escaping is more standard.
72 Make regex search imply replacing escaped chars.
73 Allow \0 backreference replacement for the whole match.
74 Note: Replace All may be slower; if this is a problem please let me
77 Add argument to utils_str_replace_escape() for keeping
78 uninterpreted backslash escapes e.g. '\\', '\e'.
79 * scintilla/LexMarkdown.cxx:
80 Backport minor formatting/style changes from Scintilla project.
81 * doc/geany.txt, doc/geany.html:
82 Remove warning about no visual indication for zero-column-mode
86 2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
89 Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
92 2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
94 * wscript, scintilla/*, scintilla/include/*:
95 Update Scintilla to version 2.03.
96 * geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
97 src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
98 Add preference for virtual spaces.
100 Fix wrong default response for the Debug Messages dialog.
102 Fix crashes when using Save As with no open files (closes #2964406).
104 Fix duplicate mnemonics on 'Resave missing file' dialog, also
105 move the question from the secondary to the main text to be
106 more compatible with the Gnome HIG.
107 Fix broken 'Save' action in 'Resave missing file' dialog.
109 Improve PHP parser to parse also the argument lists of PHP functions.
111 Correctly set the parent widget for the keybinding overwrite
114 Fix setting the icon for some dialogs if the parent itself is also
117 When editing non-existent config files using the Tools->Configuration
118 Files menu, explicitly set the real_path to avoid presenting the Save
119 As dialog when saving the file (patch by Tony Rick, thanks).
121 Focus the editor widget after hiding the sidebar when it had the
122 input focus (patch by Can Koy, thanks).
123 Properly show/hide the mesages window when using the View menu item
125 * plugins/filebrowser.c:
126 After opening files, focus the editor widget
127 (based on a patch by Can Koy, thanks).
128 * plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
129 src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
130 src/ui_utils.h, src/vte.c:
131 Add and use convenience function ui_is_keyval_enter_or_return() and
132 add it to the plugin API.
135 2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
137 * src/about.c, THANKS, po/ast.po:
138 Added Asturian translation. Thanks to Marcos Costales for providing.
141 2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
144 Fix keyboard accelerators in debug messages window
148 2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
150 * scintilla/LexR.cxx:
151 Backport R lexer from Scintilla CVS to fix case sensitive keywords
152 (Scintilla bug #2956543).
153 * src/sidebar.c, src/about.c, THANKS:
154 Make Space on the symbol and document list not focus the editor
155 widget while Enter does (closes #2919444, patch by Can Koy, thanks).
156 * src/document.c, src/document.h:
157 Fix document_try_focus() to make it work with the sidebar document
159 * src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
160 Make Space on the compiler and messages widgets not focus the editor
161 widget while Enter does (patch by Can Koy, thanks).
163 Fix wrongly auto-detected multiline comments
164 (patch by Eugene Arshinov, thanks).
167 2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
170 Show number of lines of current document inside statusbar. Thanks to
171 Can Koy for providing the patch.
174 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
176 * src/keybindings.c, doc/geany.txt, doc/geany.html:
177 Make Switch to Editor keybinding reshow the document statistics
178 line, so user doesn't have to move the cursor.
181 2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
184 Update keywords for the R language (patch by Jon Senior, thanks).
187 2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
190 Fix the instruction how to insert unicode characters
194 2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
196 * scripts/create_py_tags.py:
198 Replace tabs by spaces.
201 Replace tabs by spaces.
202 * tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
203 src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
204 tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
205 Add R tagmanager symbol parser (patch by Jon Senior, thanks).
206 * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
207 src/plugindata.h, src/sidebar.c, src/sidebar.h:
208 Add keybindings to switch to the sidebar's Document and Symbol list
209 as well as to the Message Window's current tab
210 (patch by Eugene Arshinov, thanks).
212 Update primary keywords for the R language
213 (patch by Jon Senior, thanks).
216 2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
219 Add more detailed hints about reloading configuration
220 (thanks to Tony Rick).
221 * data/filetypes.javascript:
222 Correct the keyword list for JavaScript (thanks to Jonas).
225 2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
227 * New release: Geany 0.18.1 "Balfour".
230 2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
233 Add special cases for handling the Select All keybinding (Ctrl-A) in
234 the toolbar search and goto line text entries (closes #2948040).
235 Strip trailing spaces after reflowing a paragraph, patch by
236 Dominik Wagenfuehr, thanks (closes #2945497).
239 2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
241 * src/geanymenubuttonaction.c, src/templates.c:
242 Partly revert last commit:
243 Unref the new files toolbar menu when freeing templates as it
244 was done before but unref it *after* the menu has been removed
245 from the GeanyMenuButtonAction.
247 Fix possible endless loop when trying to detect the encoding of
248 non-text files (patch by Alexey Antipov, thanks).
251 2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
254 Allow saving remote files using g_file_set_contents() as well
255 (patch by Алексей Антипов, thanks).
256 * data/filetypes.python:
257 Adjust style for secondary keywords to be less aggressive.
258 Add Python 2.5 builtins keywords.
259 * src/geanymenubuttonaction.c, src/templates.c:
260 Unref the new files toolbar menu when setting a new menu to fix
261 possible crashes when reloading configuration.
263 When reloading configuration, process the current document at last
264 so the symbol list will be updated correctly.
267 2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
270 Explicitly read filetype configuration files before generating
271 global tags to get settings for custom filetypes.
274 2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
277 Fix GLib warning when toggling 'no plugins available' item.
280 2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
283 Include geany.ico in the distribution tarball.
285 Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
286 * scripts/create_py_tags.py:
287 Make the script a bit more robust with newer Python versions.
289 Use utils_spawn_sync() instead of g_spawn_sync().
292 2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
295 Close meta tag for export date properly.
298 2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
301 Update RPM Spec file (patch by Dominic Hopf, thanks).
304 2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
307 Fix renaming sci_send_message(), sci_send_command() function pointers.
310 2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
312 * src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
313 src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
314 plugins/geanyfunctions.h, plugins/Makefile.am,
315 plugins/pluginmacros.h, plugins/genapi.py, ChangeLog, wscript:
316 Use full function name for GeanyFunctions function pointers. This
317 avoids naming conflicts e.g. with C++'s 'new' keyword.
318 Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
321 2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
323 * src/utils.c, src/utils.h, src/vte.c:
324 Add utils_copy_environment() and make use of it.
325 * data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
326 src/editor.c, src/templates.c, src/templates.h:
327 Add new special template wildcard "{command:...}" to use the
328 output of a command in templates.
329 Adjust template functions to mostly work with GeanyDocuments.
330 Minor cleanups in the template code.
332 Replace the old icons with smiley icons from the Rodent icon theme.
333 Fix showing the same icon for two or more slots.
335 * src/editor.c, src/editor.h, src/keybindings.c:
336 Rename fold_symbol_click() to editor_toggle_fold().
337 Use editor_toggle_fold() when the 'Toggle current fold' keybinding
338 was used to respect the 'Fold/unfold all children' preference
342 2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
345 Prevent possible segfault in get_build_group().
347 Fix GLib warning & beep if trying to insert multiline comment for a
348 filetype that doesn't support it.
351 2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
354 Add gcc commands to build a plugin to the HowTo.
355 * src/search.c, src/document.c, src/document.h:
356 Show 'Replaced X matches in Y documents' message when using Replace in
360 2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
362 * scripts/plugin_test.c:
363 Add a little test program which can load and test Geany plugins to
364 verify it is loadable at runtime and all necessary symbols are
366 * doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
368 Add new signal: "geany-startup-complete" which is sent once all
369 initialization and startup tasks has been done.
370 * README.I18N, configure.ac, wscript, po/LINGUAS:
371 Remove po/LINGUAS from the repository.
372 Generate it automatically if needed by reading available
373 message catalogs from the po directory.
374 Also respect the LINGUAS environment variable properly.
377 2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
380 Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
384 2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
386 * src/editor.c, src/templates.c, src/templates.h:
387 Refactor templates_replace_all() into templates_replace_valist()
388 to save some code duplication.
391 2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
393 * plugins/geanyfunctions.h, src/editor.c, src/editor.h,
394 src/plugindata.h, src/plugins.c:
395 Add editor_insert_text_block() to plugin API.
398 2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
401 Update copyright information.
402 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
403 doc/geany.txt, doc/geany.html:
404 Add keybinding to open the last closed tab (closes #2912692).
407 2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
409 * autogen.sh, configure.in, configure.ac:
410 Rename configure.in to configure.ac.
411 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
413 Add sci_find_text() to the plugin API.
414 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
415 src/interface.c, src/prefs.c:
416 Add a checkbox in the preferences dialog to explicitly toggle
417 the visibility of the sidebar (closes #2923340).
420 2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
422 * src/editor.c, src/plugins.c, src/plugindata.h,
423 plugins/geanyfunctions.h:
424 Add editor_get_eol_char_name(), editor_get_eol_char_len() and
425 editor_get_eol_char() to the plugin API.
426 * src/callbacks.c, src/plugins.c, src/plugins.h:
427 Fix sensitivity of the Edit->Plugin Preferences menu item
428 if plugins are loaded which do not provide a configuration dialog.
429 * scripts/create_py_tags.py:
430 Rewrite and extend the Python tags parsing script to use
431 Python's inspect module to read symbols from Python modules
432 including scope information.
433 * data/filetypes.restructuredtext:
434 Add the default comment character sequence for reStructuredText.
436 Show the Find/Goto dialogs if the corresponding toolbar buttons are
437 clicked but their text fields are not part of the toolbar (#2920807).
438 * data/filetypes.common, doc/geany.html, doc/geany.txt,
440 Add new style to change foreground and background colours for
441 calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
443 Remember the window position of the Find, Replace and Find in Files
444 dialogs (closes #2877988).
447 2009-12-26 Frank Lanitz <frank@frank.uvena.de>
450 Fix a minor typo inside plugin API reference.
453 2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
455 * src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
456 Make dialogs_show_prompt() more flexible to take up to three
457 button/response code pairs to be shown.
458 Add a close button to the dialog when asking to Re-Save a
460 (closes #2916954, based on a patch by Dominik Stadler, thanks).
462 Fix LaTeX environment auto completion with CR/LF line endings.
463 Add some sanity checks.
465 When closing a document after it was deleted from the filesystem,
466 don't ask whether it should be saved first.
467 Mark the document only as changed if it is not closed afterwards.
468 Prevent possible segfaults if the document was closed when it is
469 missing from the filesystem.
470 * src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
471 src/msgwindow.h, src/prefs.c:
472 Add MessageWindow::scribble and use it instead of searching the
473 widget pointer everytime.
474 * src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
475 Add preferences for hiding single tabs from the messages window
476 (no GUI preferences yet, still to be implemented).
477 * src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
478 Set the correct parent window for the toolbar editor
479 dialog (closes #2913334).
480 * src/win32.c, src/win32.h, src/ui_utils.c:
481 Rename win32_show_project_folder_dialog() to
482 win32_show_folder_dialog() as it is not related and not used by any
483 project management related code.
484 * src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
485 Rename win32_show_file_dialog() to win32_show_document_open_dialog()
486 as it is specialised for opening documents.
487 Implement win32_show_file_dialog() as a generic file open dialog and
488 use it with ui_path_box_new().
491 2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
494 Extend auto_latex() function to check whether an environment has been
495 closed within the next lines to avoid auto adding double \end{}.
497 Remove LaTeX tags from SVN. Can be found at
498 http://download.geany.org/contrib/tags/ if needed.
501 2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
503 * src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
504 Add document_need_save_as().
505 Show the Save As also for documents created from filetype templates
506 instead of saving them directly with the untitled filename.
509 2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
511 * geany.glade, src/interface.c:
512 Move 'Send Selection to Terminal' menu item from Format to Commands
515 When going to a build error, try the current document's path if
516 the parsed filename doesn't exist. (This can happen when we receive
517 build messages in the wrong order - after the 'Leaving directory'
520 Refactor msgwin_goto_compiler_file_line().
521 * src/interface.c, src/keybindings.c, geany.glade:
522 Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu item
525 Refactor/reformat on_replace_dialog_response().
528 2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
531 Improve geany.spec (split the package into a binary and devel
532 package, update BuildRequires and other minor improvements).
533 Patch by Dominic Hopf, thanks.
536 2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
538 * src/filetypes.c, src/filetypes.h:
539 Make group for custom filetypes.
540 * data/filetypes.Genie.conf, data/filetype_extensions.conf:
541 Add custom filetype Genie.
544 2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
546 * src/highlighting.c:
547 Highlight D & Java types from a global tags file.
548 * src/highlighting.c, doc/geany.txt, doc/geany.html:
549 Add debug message warning if recursive lexer_filetype is set.
550 * src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
551 Remove duplicate sci_set_keywords(), make argument const.
552 * src/highlighting.c:
553 Only show debug message once if recursive lexer_filetype is set.
554 Tidy highlighting_init_styles code for filetype None handling.
555 * scintilla/makefile.win32, scintilla/KeyWords.cxx,
556 scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
557 src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
558 tagmanager/parsers.h, tagmanager/makefile.win32,
559 tagmanager/verilog.c, tagmanager/Makefile.am,
560 data/filetypes.verilog, data/filetype_extensions.conf, wscript:
561 Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
562 * src/highlighting.c:
563 Fix segfault on startup (oops).
564 * data/filetypes.verilog:
565 Fix using common style colours for Verilog.
568 2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
570 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
571 data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
572 Move C-like filetype properties into configuration files.
573 * src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
575 Remove now unnecessary "styling_within_preprocessor" C style key.
576 * src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
577 data/filetypes.glsl, data/filetypes.cs:
578 Use lexer_filetype=C configuration file key instead of duplicate
579 styleset functions for C++, C#, GLSL, Vala.
582 2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
584 * doc/geany.txt, doc/geany.html:
585 Warn about not using BOM for configuration files (confuses GKeyFile
586 parser, at least on my system).
588 Add/improve debug messages for custom filetypes.
591 2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
594 Add a couple of further latex-beamer commands to list of LaTeX tags.
597 2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
599 * plugins/filebrowser.c:
600 Add an in-entry clear icon to the filebrowser plugin's filter
601 entry (patch by Dominic Hopf, thanks).
602 * src/prefs.c, src/ui_utils.c:
603 Fix two compiler warnings about possibly uninitialised variables.
606 2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
608 * src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
609 plugins/geanyfunctions.h:
610 Add main_is_realized() to the plugin API.
611 * tagmanager/include/tm_tagmanager.h:
612 Update partly outdated and wrong doc comment.
613 * src/main.c, src/main.h, src/socket.c:
614 Allow opening Geany projects remotely.
615 * doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
616 Add a hidden pref to allow executing text which was sent to the
617 terminal directly, i.e. do not strip trailing newline characters.
618 Also fix the stripping of trailing newline characters if there was
622 2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
624 * src/about.c, THANKS:
625 Add Peter Scholtens and Ayke van Laethem to list of translators. Move
626 Kurt de Bree into section of previous translators.
629 2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
631 * src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
632 Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
636 2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
638 * src/highlighting.c:
639 Make stylesets take a ft_id argument so they can be reused fully with
640 custom filetypes, so custom styles and keywords can be set.
641 * src/highlighting.c:
642 Fix setting filetype properties when both the system and the user file
644 * src/symbols.c, tagmanager/vhdl.c:
646 * src/highlighting.c:
647 Fix lexer settings for custom filetypes.
650 2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
653 Remove duplicate regular expression for parsing classes.
654 Fix and improve parsing of constants (patch by Harold Aling, thanks).
655 * doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
656 src/main.h, THANKS, src/about.c:
657 Add new command line option "--socket-file" to be able to specify
658 separate socket filenames for instances
659 (closes #2896027, patch by Jörn Reder, thanks).
660 * src/keybindings.c, src/keybindings.h:
661 Add keybindings_check_event() to manually check GdkKeyEvents against
663 * src/callbacks.c, src/utils.c, src/utils.h:
664 Add and use utils_get_help_url().
665 * geany.glade, src/interface.c, src/prefs.c:
666 Add a Help button to the preferences dialog.
667 Handle Help keybinding events for the preferences dialog especially
668 and open the manual with the corresponding anchor link to the current
669 preferences page (same goes for the new Help button).
672 2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
674 * src/toolbar.c, src/geanymenubuttonaction.c,
675 src/geanymenubuttonaction.h:
676 Use separate tooltips for toolbar menu buttons and their attached
678 * tagmanager/latex.c:
679 Improve parsing of sections and chapters by ignoring shortnames
680 like \section[shortname]{label} (closes #2890477).
683 2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
685 * src/geanymenubuttonaction.c:
686 Try to fix Gtk warning when using Tools->Reload Configuration.
689 2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
691 * src/highlighting.c, doc/geany.txt, doc/geany.html,
692 data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
693 data/filetypes.pascal, data/filetypes.docbook,
694 data/filetypes.python, data/filetypes.conf:
695 Use filetypes.foo [lexer_properties] group instead of hardcoding
696 lexer properties (more flexible e.g. for custom filetypes).
697 * src/highlighting.c, data/filetypes.xml, data/filetypes.html:
698 Replace filetypes.xml html_asp_default_language key with
699 filetypes.html asp.default.language property in [lexer_properties]
703 2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
705 * doc/geany.txt, doc/geany.html:
706 Fix slightly wrong description of how to insert Unicode characters.
708 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
709 ui_setup_open_button_callback().
710 * src/prefs.c, src/prefs.c, src/vte.c:
711 Refactor color and font button callback functions in the
712 preferences dialog. Move the VTE related callback functions
714 Make use of ui_setup_open_button_callback().
716 Improve printing status texts (patch by Dominic Hopf, thanks).
717 * src/prefs.c, src/vte.c:
718 Use the default dialog title set by ui_setup_open_button_callback()
719 to be more consistent and to save one string.
722 2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
725 Separate DKinds from CKinds.
726 Don't generate macro tags for D, Java.
729 2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
731 * tagmanager/ctags.c, tagmanager/general.h:
732 Make TagManager Assert statements cause g_warning on failure.
734 Fix reflow paragraph command when cursor < anchor using
738 2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
741 Fix Geany segfault with constant tags (#2895168).
743 Fix invalid tree iter access when using tv_iters.tag_other but not
744 using tv_iters.tag_variable.
745 * HACKING, tagmanager/perl.c:
746 Fix parsing Perl format statements ("other" type doesn't seem to work).
747 * tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
748 Fix using "other" tag type.
751 2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
754 Remove useless comment about applying settings only when libvte.so
755 could be loaded which is only displayed *if* libvte.so is loaded.
757 Allow autocompletion for HTML entities even within a word.
758 * src/geanymenubuttonaction.c:
759 Only set the menu of the button if a non-empty GtkMenu is passed to
760 geany_menu_button_action_set_menu() so the menu arrow keeps
764 2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
767 Fix parsing some Java code (e.g. filetypes.java) after r4407.
770 2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
773 Parse D functions with contracts (fixes #1885480).
774 Parse D alias statement like typedef.
775 (Ignore some more D keywords).
777 Fix creating D interface tags properly.
779 Parse contents of D extern{} and version{} blocks.
782 2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
788 2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
790 * src/plugindata.h, HACKING:
791 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
794 Show number of files saved on status bar when using Save All.
795 * src/highlighting.c:
796 Use default color scheme if pref color scheme file doesn't exist.
798 Fix moving correct lines after selecting whole line(s).
801 2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
803 * tagmanager/makefile.win32:
804 Fix broken build on Windows because of a typo
805 (patch by Timothy Boronczyk, thanks).
808 2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
810 * src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
812 Add 'View->Editor->Color Schemes' menu, for now only shown if color
813 scheme files exist in a colorschemes config directory. Color scheme
814 files must end in ".conf" and currently only the [named_styles]
816 * src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
817 Add utils_get_config_files().
818 * src/highlighting.c:
819 Fix issue with default color not being reset if overridden with a
820 system default color.
821 * src/highlighting.c:
822 Only reload filetype files when changing color scheme, not all
824 * src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
825 Deprecate documents_foreach() as it looks more like a function; use
826 foreach_document() instead.
827 Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
830 2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
832 * src/stash.c, src/stash.h:
833 Use typedef instead of pointer for widget_id function arguments.
836 2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
839 Don't expand Plugin Preferences page spacing vertically to fill the
840 height of the dialog.
841 * src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
842 geany.glade, plugins/splitwindow.c:
843 Allow GeanyKeyBinding label field to contain underscores, which won't
844 be displayed by Geany. This saves adding near-duplicate translation
846 Add mnemonics for 3 Edit->Format menu items.
847 Add keybindings_get_label().
848 * src/interface.c, geany.glade:
849 Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
853 2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
856 Desensitize Edit->Commands menu item when no docs are open.
857 * src/interface.c, src/keybindings.c, src/callbacks.c,
858 src/callbacks.h, geany.glade:
859 Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
860 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
861 Add general function sci_get_string() that works with any string
862 buffer messages that follow the Windows message convention.
863 * src/pluginprivate.h, src/interface.c, src/keybindings.c,
864 src/keybindings.h, src/callbacks.c, src/callbacks.h,
865 src/pluginutils.c, src/pluginutils.h, geany.glade:
866 Add 'Edit->Plugin Preferences' menu item and keybinding.
867 Don't include plugindata.h in pluginutils.h because it redefines the
868 GEANY() macro for plugin use.
869 * doc/geany.txt, doc/geany.html:
870 Update for Plugin Preferences keybinding.
873 2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
876 Sort document word completion list.
877 * src/interface.c, src/keybindings.c, src/callbacks.c,
878 src/callbacks.h, geany.glade:
879 Add some useful commands to editor popup menu under "Commands"
880 submenu (thanks to Lex).
881 Move 'Duplicate line or selection' from Format -> Commands submenu.
882 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
883 Enable switching the sidebar to the right on Windows again, as it
884 apparently works after all.
886 Fix using tab to autocomplete in some other situations that word part
887 completion doesn't apply in.
888 * src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
889 Add Edit->Commands submenu which is shared with the editor popup menu.
890 * src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
891 Change editor popup Commands submenu to start as child of menubar Edit
892 menu, as this is more usual e.g. for keybindings initialization.
893 * src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
895 Share a single Format submenu for menubar Edit and popup menu.
898 2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
901 Fix a compiler warning about an uninitialised variable.
903 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
904 sciwrappers.h, build.h (for the Waf build system,
905 accordingly to r4366).
908 2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
910 * src/prefs.h, src/search.h, src/support.h, src/templates.h,
911 src/toolbar.c, src/toolbar.h:
912 Add missing dox for types/files in the API.
913 * src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
914 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
915 sciwrappers.h, build.h. (This helps to get compiler warnings for uses
916 of functions not in the API).
917 Warning: any plugins that include these headers should remove them.
918 * src/build.c, src/build.h:
919 Move function doc-comments to build.c so they stay in sync. Note:
920 these functions are still not in the API.
922 Add 'Doc-comments' plugin API subsection.
923 * plugins/filebrowser.c:
924 Fix packing configure widgets equally.
925 Use spacing multiples of 6 as recommended by Gnome HIG.
926 * src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
927 Disable switching the sidebar to the right on Windows as it will
928 probably fail like the Split Window plugin.
930 Improve 'Detect from file' indentation pref by ignoring lines with
931 indentation wider than 24 characters as this is more likely to be
932 alignment than indentation.
935 2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
937 * plugins/saveactions.c:
938 Fix adding the filetype's default extension when using the
939 Instant Save plugin (closes #2885142).
941 Before looking for line and column numbers specified as part
942 of a filename, ensure the file doesn't exist on disk. This allows
943 opening of files like "test:0".
945 Rename "select" variables into "selection" to avoid shadowed names.
946 * plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
947 Add ui_widget_modify_font_from_string() and sci_goto_line()
949 * plugins/filebrowser.c:
950 Rename "select" variables into "selection" to avoid shadowed names.
951 Make use of ui_widget_modify_font_from_string().
954 2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
956 * src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
957 src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
959 Add sidebar position interface pref.
962 2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
964 * doc/geany.txt, doc/geany.html:
965 Add missing underscores to links.
968 2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
970 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
971 Add 'Move line(s) up/down' keybindings.
974 2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
976 * src/build.c, src/build.h, src/filetypes.h:
977 Include code for project filetype execute commands and fix bug in
978 saving project filetypes list.
979 * src/project.c, src/build.c, doc/geany.txt:
980 Make non-project execute configuration save to filetypes not geany.conf.
981 Fix closing of project failing to remove build commands dialog entry.
984 2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
986 * src/project.c, src/ui_utils.c:
987 Set border width for project properties build table.
988 * geany.glade, src/interface.c:
989 Don't expand hard tab width alignment.
992 2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
994 * src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
995 doc/geany.txt, doc/geany.html:
996 Support loading global tags files for custom filetypes.
997 * src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
998 doc/geany.txt, doc/geany.html:
999 Add 'Word part completion' keybinding so keys other than Tab can be
1000 used, or to clear/change the combination so Tab does full completion
1002 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1003 Add 'Select to previous/next word part' keybindings.
1004 * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
1005 Add 'Switch to Messages' focus keybinding.
1008 2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1010 * doc/geany.txt, doc/geany.html:
1011 Add 'Custom filetypes' section.
1012 * src/filetypes.c, src/filetypes.h, src/document.c,
1013 doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
1014 tagmanager/include/tm_source_file.h:
1015 Add filetype "tag_parser" key so custom filetypes can use an existing
1017 Add tm_source_file_get_named_lang().
1018 * src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
1020 Add filetype "lexer_filetype" key so custom filetypes can use an
1024 2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1026 * THANKS, src/about.c:
1027 Add Xhacker Liu for his work at zh_CN translation to long list of
1031 2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1033 * src/sciwrappers.c:
1034 Remove unnecessary line number margin padding.
1035 * scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
1036 scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
1038 Improve word part autocompletion so AC list is not cancelled and
1039 reshown (this also stops the selection changing).
1040 Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
1042 Improve CamelCase word part autocompletion for runs of capital letters.
1044 Don't complete snippets if there's a selection.
1047 2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
1050 Fix crash opening project when Geany started with no geany.conf.
1053 2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1055 * scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
1056 src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
1058 Add word part autocompletion for the current selected item when
1059 pressing Tab - Enter still completes normally.
1060 Add foreach_str() API macro.
1061 Temporarily modify scintilla to say if tab was used for
1063 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1064 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1065 plugins/classbuilder.c:
1066 Revert r4301 - utils_free_pointers() taking 4 arguments.
1067 * src/highlighting.c, src/highlighting.h, src/plugindata.h,
1068 src/document.c, src/plugins.c, plugins/geanyfunctions.h,
1069 plugins/splitwindow.c:
1070 Add highlighting_set_styles() to API, use for Split Window plugin so
1071 filetypes.common settings get set too.
1072 Make highlighting_set_styles() take GeanyFiletype pointer instead of
1074 * src/document.c, src/editor.c, plugins/splitwindow.c:
1075 Call editor_apply_update_prefs() from editor_create_widget() so
1076 correct tab width and other settings are applied for Split Window
1080 2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1082 * src/keybindings.c:
1083 Don't include trailing newlines when using reflow command.
1085 Add stock close buttons to notebook tab popup menu.
1086 * src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
1087 plugins/geanyfunctions.h:
1088 Add document_get_notebook_page() to API.
1090 * data/templates/files/file.html, data/templates/files/file.php:
1091 Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
1092 * src/interface.c, src/ui_utils.c, geany.glade:
1093 Move Tools configuration items to top of menu.
1094 * src/keybindings.c, src/search.c:
1095 Fix warning when using Find in Files with no documents open; make
1096 keybinding work in this case.
1099 2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1101 * src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
1102 src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
1103 Make Split Window 'Show current document' button have a drop-down menu
1104 to select the other documents.
1105 Add new API function ui_menu_add_document_items().
1108 2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
1111 Fix sensitivity settings for compile and build toolbar items.
1114 2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1117 Don't use filetype submenus for templates (slower to navigate, often
1118 only 1 per-filetype anyway).
1120 Put old filetype template menu items in 'Old' submenu as they should
1121 be removed after the 0.19 release.
1122 * src/keybindings.c, src/keybindings.h, src/pluginutils.c:
1123 Add GeanyKeyGroup callback support, which allow keybinding callbacks
1124 to be ignored if inappropriate so a later keybinding with the same
1125 key combination can intercept it. (Also group callbacks are usually
1126 tidier than separate callbacks).
1127 Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
1128 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
1129 src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
1130 plugins/classbuilder.c:
1131 Make utils_free_pointers() take 4 arguments, add to API.
1132 * src/templates.c, src/tools.c, src/ui_utils.c:
1133 Fix memory leaks with gtk_container_get_children().
1136 2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
1139 Ensure that old style build config is not loaded if it does not exist.
1142 2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1144 * THANKS, src/about.c, po/LINGUAS, po/gl.po:
1145 Added Galician translation. Thanks to José Manuel Castroagudín Silva.
1148 2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1150 * geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
1152 Apply set default encoding for existing files only if the files are
1153 non-Unicode (patch by Alexey Antipov, thanks).
1156 2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1158 * src/highlighting.c:
1159 Move new_styleset() and preprocessor setup code into styleset_c_like().
1160 * src/highlighting.c:
1161 Call apply_filetype_properties() from styleset_c_like().
1164 2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1166 * doc/geany.txt, doc/geany.html:
1167 Improve information about predefined keybindings which are
1168 commonly used across applications (patch by Lex Trotman, thanks).
1170 Enable embedded page setup properties in the (Unix) Print dialog
1171 on newer GTK versions (closes #2870596).
1172 * src/highlighting.c:
1173 Map global types (read from tags files) to keyword style for
1177 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1180 Fix wrong creation of filetype template menu items for custom
1182 * src/highlighting.c:
1183 Use jscript_keyword for SCE_HB[A]_WORD markup styles.
1185 Group 'New with template' items by filetype submenu (currently only for
1187 Show custom file template items before filetype template items.
1188 * src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
1190 Only use one 'New with template' submenu - reparent as needed.
1192 Don't create templates/filetype.none either.
1194 Warn if custom template file no longer exists.
1197 2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1200 Add missing icon for Java packages in the Symbol List.
1203 2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1205 * src/highlighting.c, data/filetypes.vala:
1206 Add Vala keywords to conf file.
1207 * src/templates.c, doc/geany.txt, doc/geany.html:
1208 Read custom file templates from $prefix/share/geany/templates/files as
1210 * src/templates.c, data/templates, data/templates/files,
1211 data/templates/files/file.rb, data/templates/files/file.html,
1212 data/templates/files/main.java, data/templates/files/main.c,
1213 data/templates/files/main.cxx, data/templates/files/file.php,
1214 data/templates/files/main.d, data/templates/files/program.pas,
1215 data/templates/files/main.py, data/templates/files/file.tex,
1216 wscript, Makefile.am:
1217 Move filetype template defaults into custom file template files.
1220 2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1222 * src/symbols.c, tagmanager/perl.c:
1223 Change Perl tag parser to ctags SVN r601. This removes support for
1224 buggy local/my/our but it parses constant/format/labels and should
1225 be less buggy overall (closes #2861232).
1226 * src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
1227 Add utils_get_file_list_full() which can optionally sort or include
1228 a full path for each list item.
1229 * src/utils.c, src/plugindata.h, src/plugins.c:
1230 Add utils_get_file_list_full() to API.
1233 2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1235 * src/keybindings.c, src/sidebar.c, src/sidebar.h,
1236 src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
1237 src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
1238 src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
1239 po/POTFILES.in, wscript:
1240 Rename treeviews.[hc] -> sidebar.[hc].
1241 * data/filetypes.common:
1242 Remove unused [styling] arguments.
1243 * src/highlighting.c, data/filetypes.markdown,
1244 data/filetypes.restructuredtext:
1245 Remove style defaults from the code - just read them from
1246 configuration files.
1247 * src/highlighting.c, HACKING:
1248 Add apply_style_entries() to simplify implementing styleset_foo().
1249 * src/highlighting.c:
1250 Remove filetype keyword defaults from the code - just read them from
1251 configuration files.
1252 * src/highlighting.c:
1253 Add sci_set_keywords() wrapper.
1256 2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1258 * scripts/create_py_tags.py:
1259 Make the code a bit more pythonic.
1260 * doc/images/build_menu_commands_dialog.png,
1261 doc/images/main_window.png:
1262 Add new images referenced in the documentation.
1263 * doc/geany.html, doc/geany.txt:
1264 Several documentation improvements (patch by Lex Trotman, thanks).
1265 * src/pluginutils.c:
1266 Fix setting the appropriate page of the combined plugins
1270 2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1272 * src/keybindings.c:
1273 Only focus toolbar goto line entry when pressing keybinding if it's
1274 visible (patch by Eugene Arshinov, thanks).
1276 Focus editor after entering a number in the goto line toolbar entry.
1278 Use AC_PATH_PROG instead of which for portability (patch by Erik
1279 Southworth, thanks).
1281 Show plugins that only implement plugin_configure_single() in the
1282 multiple-configure dialog as a page with a configure button on it.
1283 Add padding for multiple-configure dialog.
1284 Make the multiple-configure dialog notebook tabs scrollable.
1285 * src/pluginutils.c, src/pluginutils.h:
1286 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
1287 * src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
1288 src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
1289 plugins/geanyfunctions.h, plugins/filebrowser.c:
1290 Add plugin_show_configure() API utility function.
1291 Add File Browser popup menu 'Preferences' item.
1292 * src/highlighting.c:
1293 Add get_keyfile_ints() instead of using tmp_style hack.
1294 * src/highlighting.c, data/filetypes.xml:
1295 Change new html_asp_default_language markup pref to use integer,
1296 not hex in config file.
1297 Fix minor issue with changing pref back to 0.
1298 * src/highlighting.c:
1299 Fix possible segfault in get_keyfile_int() if key value is malformed.
1302 2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1304 * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
1305 Add "html_asp_default_language" pseudo style to filetypes.xml
1306 to allow setting the used language in embedded ASP code
1307 (patch by Ross McKay, thanks).
1308 * src/filetypes.xml:
1309 Update VBScript keywords (patch by Ross McKay, thanks).
1312 2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1314 * src/keybindings.c, THANKS:
1315 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
1316 keybinding use line breaking column when enabled.
1318 Fix showing the document before reload dialog when opening an
1320 * src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
1321 Add plugin_configure_single() plugin symbol which is easier to
1322 implement than plugin_configure() but won't support a
1323 multiple-plugin configure dialog.
1325 Show multiple plugins in the 'Configure Plugins' dialog.
1328 2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1330 * doc/geany.txt, doc/geany.html:
1331 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
1333 * doc/geany.txt, doc/geany.html:
1334 Add 'Toolbar entries' section.
1335 * doc/geany.txt, doc/geany.html:
1336 Update 'Go to line' keybinding description.
1337 * doc/geany.txt, doc/geany.html:
1338 Split keybinding table into group tables; update KB links.
1341 2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1344 Fix compiler warnings about uninitialised variables.
1345 * src/callbacks.c, src/document.c:
1346 When reloading files, use the previously set encoding instead of
1347 detecting it again (closes #2862041).
1349 Turn on automake silent rules if supported.
1352 2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1355 Speed up sorting in utils_get_file_list(). This reduces the file
1356 browser delay on displaying a big directory, e.g. /usr/bin.
1358 Expand command entry width when expanding Build Commands dialog.
1360 Split Build Commands dialog notes label and edit text.
1362 Add padding for Build Commands dialog separators.
1363 Add colons for regex field labels; fix 1 capitalisation.
1365 Fix none filetype Build Commands dialog label.
1366 Make group labels bold.
1367 * src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
1369 Add & use ui_label_set_markup(), ui_label_new_bold().
1370 * src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
1371 src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
1372 src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
1373 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
1374 * src/keybindings.c:
1375 Make 'Go to Line' keybinding focus the toolbar entry if visible.
1378 2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1380 * src/filetypes.c, src/filetypes.h, src/symbols.c,
1381 tagmanager/parsers.h, tagmanager/makefile.win32,
1382 tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
1383 data/filetype_extensions.conf, wscript:
1384 Add new filetype: Abc (patch by Eric Forgeot, thanks).
1386 Merge recent changes from the CTags project to further improve
1390 2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1393 Fix wrong alignment of printed pages when page headers are
1394 disabled (closes #2856822).
1395 Plug a small memory leak and improve function signature of
1398 Save an if expression.
1400 After clearing a text field using the embedded clear icon, put the
1401 input focus into this text field.
1404 2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1406 * plugins/filebrowser.c:
1407 Free file list memory whilst iterating the list.
1408 Minor formatting fixes.
1409 * src/utils.c, src/utils.h:
1410 Add foreach_dir() API macro.
1411 Update API docs for utils_get_file_list().
1412 * wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
1414 Remove queue.[hc] - use GQueue instead of GeanyQueue.
1415 Beep if there are no more snippet positions.
1416 Limit length of snippet positions queue to 20.
1419 2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1421 * src/keybindings.c, src/callbacks.c, src/search.c:
1422 Make Goto Tag commands use the current selection if present (useful
1423 for selecting part of a tag or for ReST section names with spaces
1426 Don't move the cursor when reloading.
1427 * src/plugindata.h, src/editor.c, src/editor.h:
1428 Make editor_prefs.snippets hash table private (not a pref).
1431 2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1434 Remove deprecated --debug flag. Please use --verbose/-v instead.
1437 2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1440 Show Find in Files stderr output in messages window instead of
1441 debug window so that invalid regex messages can be seen easily.
1442 Combine FIF stdout and stderr callback code.
1445 2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1448 Fix opening filenames beginning with two dots (closes #2858487).
1449 * src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
1450 src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
1451 data/filetypes.common, geany.glade:
1452 Update syntax highlighting after changing the 'Invert syntax
1453 highlighting colors' pref, instead of requiring a restart.
1454 Remove filetypes.common invert_all option - use 'Invert syntax
1455 highlighting colors' pref instead (closes #2854525).
1456 * src/prefs.c, src/dialogs.c, src/dialogs.h:
1457 Add 'Allow' button when showing the conflicting keybinding dialog.
1458 Make dialogs_show_question_full() use GTK dialog on Windows if
1459 button text is not the stock yes/no items.
1460 Add dialogs_show_prompt() which also has an 'Apply' button.
1461 * src/queue.c, src/queue.h:
1462 Add warning that GeanyQueue may be removed.
1463 * src/keybindings.c, src/editor.c, src/editor.h:
1464 Change snippet_goto_next_cursor() to
1465 editor_goto_next_snippet_cursor() as it's in editor.h.
1466 Avoid using GPOINTER_TO_INT macro.
1469 2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1471 * src/keybindings.c:
1472 Fix 'Reflow block' command when at the last paragraph and there's
1473 no last newline (patch by Eugene Arshinov, thanks).
1475 Add 'Compiler options & warnings' section.
1476 Update Style section to be clearer about code alignment and show
1481 2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1483 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
1484 src/plugindata.h, src/plugins.c, src/editor.c,
1485 plugins/geanyfunctions.h:
1486 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
1487 sci_is_marker_set_at_line() to the plugin API (thanks to Yura
1489 Add sci_toggle_marker_at_line().
1490 Fix SciFuncs alignment.
1493 2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
1496 Fix erroneous free of returned string in prepare_run_script.
1499 2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1501 * data/filetypes.latex:
1502 Changing default value for showing pdf and dvi to ensure to take
1503 *.pdf and *.dvi file.
1506 2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1508 * src/about.c, THANKS:
1509 Change language string for Slovenian translation.
1512 2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1514 * tagmanager/txt2tags.c:
1515 Fix multi-byte character constant comparison.
1517 Fix Gtk warning when trying to update documents popup menu item
1518 sensitivity before they exist.
1521 2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1524 Improve the opening string in the plugin manager dialog.
1526 Use "max-width" to set the document width of the generated
1527 HTML documentation to let the text be auto-wrapped.
1528 * src/prefs.c, src/tagmanager/include/guregex.h,
1529 src/tagmanager/include/tm_tagmanager.h:
1530 Remove trailing spaces (patch by André Hentschel, thanks).
1532 Fix a compiler warning.
1534 Fix crash when opening documents.
1535 * src/build.c, src/build.h, src/project.c:
1536 Adjust coding style (no code changes).
1537 * src/build.c, src/project.c:
1538 Use NZV() macro instead of strlen() to check for empty strings.
1539 Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
1540 * doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
1541 src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
1542 src/plugins.c, THANKS:
1543 Add new plugin signal: "document-before-save".
1544 Add get_line_end_position(), set_target_start(), set_target_end(),
1545 replace_target() to the plugin API
1546 (patch by Eugene Arshinov, thanks).
1547 Add new plugin signal: "document-filetype-set" (closes #2852286).
1548 * data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
1549 src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
1550 tagmanager/Makefile.am, tagmanager/makefile.win32,
1551 tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
1553 Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
1556 2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1558 * src/treeviews.c, src/document.c:
1559 Apply patch from Thomas Martitz to improve sidebar type-ahead code:
1560 Use gtk_notebook_set_current_page() instead of
1561 document_open_file_full() when choosing an item from the documents
1563 Avoid using goto in document_open_file_full().
1566 2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1568 * src/treeviews.c, src/document.c, src/document.h, THANKS:
1569 Enable type-ahead find for sidebar symbols and documents tabs
1570 (patch by Thomas Martitz, thanks).
1572 Fix 2 free's of possibly uninitialized pointers.
1575 2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
1577 * src/build.c, src/filetypes.h, src/filetypes.c
1578 Only write filetype config files when build command or regex is
1579 actually changed. Removed commented code in src/filetypes.c.
1581 Ensure uses of filename are protected against nulls when running
1582 a build command and give status message if not.
1585 2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1588 Remove plugin from plugin manager dialog on unloading if it no
1589 longer exists or is incompatible.
1592 2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1595 Add warning if only one of the plugin_key_group[_info] symbols is
1596 defined for a plugin.
1597 * src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
1598 src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
1600 Merge custom-filetypes branch:
1601 Support adding custom filetype files e.g. filetypes.Foo.conf.
1603 Allow GeanyFiletype::extension to be NULL.
1604 Add note about using GeanyFiletype pointer instead of filetype_id
1605 for filetypes.c function arguments.
1606 Replace styleset_none() with styleset_default().
1609 2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1612 Show the sidebar if either the documents or the symbols list are
1613 enabled (related to #1876107).
1616 2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1618 * src/build.c, src/filetypes.c:
1619 Fix compiler warnings.
1621 Fix removing leading double slashes in filenames which are used for
1622 network resources on Windows (closes #2844085).
1625 2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1627 * src/keybindings.c:
1628 Fix Make keybindings (patch by Lex Trotman, thanks).
1630 Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
1632 Mention Files link at top for header files; demoplugin.c.
1633 Minor edits; remove 'far from being complete'.
1634 * src/keyfile.c, src/keyfile.h, src/main.c,
1635 data/filetype_extensions.conf, HACKING:
1636 Remove --generate-data-files argument & code - just edit
1637 filetype_extensions.conf by hand (filetype order was broken
1639 Add *.H extension for C++ (useful for non-Windows systems).
1642 2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
1645 Fix implementation of loading old project files with base
1646 directories. Use project_make_base_path instead of re-
1647 implementing. Now depends on project.c reading base dir
1648 prior to calling load_build_menu.
1650 Change usage of project base directory to conform with
1651 previous documented behavior when loading old project files.
1653 Change make custom and make object to ignore make in base path
1654 when reading old project file settings. Changed some indent
1655 spaces to tabs. Fix missing compile menu accelerator.
1658 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1661 Add warning about not using undocumented features.
1662 Add reference to HACKING for plugin API development.
1664 Add section 'Plugin API/ABI design'.
1665 * src/keybindings.h, src/makefile.win32, src/project.h,
1666 src/filetypes.h, src/Makefile.am, wscript:
1667 Use GEANY_PRIVATE to hide some fields from plugins.
1669 Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
1670 * src/build.c, src/build.h, src/project.c:
1671 Use build_ prefix for 3 functions in build.h; add a static modifier.
1674 2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1677 Improve parsing of PHP functions by requiring a valid modifier or
1678 whitespace before the 'function' keyword to ignore some false
1679 positives like function tags inside comments
1680 (patch by Harold Aling, thanks).
1681 * tagmanager/python.c:
1682 Don't parse comments after import statements and other tags
1683 (closes #2838938, patch by Huandari Lopez, thanks).
1686 2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1688 * data/filetypes.markdown:
1689 Add filetypes.markdown for configuration (thanks to Jon Strait).
1690 * src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
1691 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1692 plugins/geanyfunctions.h:
1693 Remove GeanyKeyGroup struct from the API - plugins should not set
1695 Make keybindings_set_item() duplicate the name and label fields
1696 (needed by GeanyLua) and return a keybinding pointer.
1697 Add keybindings_get_item() to the API (in case it's useful).
1698 Move some keybinding code out of plugin source files.
1701 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1703 * src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
1704 Don't generate build.h API docs until everything is approved and
1705 functions are actually in geany_functions.
1706 Move new GeanyFiletype and GeanyProject field(s) to end of struct
1707 as they may be changed or made private later.
1708 Break ABI for fields removed.
1711 2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
1713 * src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
1714 src/keyfile.c, src/project.c
1715 Changed names of symbols visible in build API to GEANY_xxx.
1718 2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
1720 * src/project.h, src/project.c, src/build.c
1721 Remove make_in_base_dir and run_cmd fields from project structure.
1722 Replaced by build functionality. Remove incorrect use in src/build.c
1723 build_run_cmd function.
1726 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1728 * src/project.h, src/project.c
1729 Removed unused project_get_make_dir function, this is now per
1733 2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
1735 * src/build.c, src/build.h, src/project.c, src/keyfile.c, src/filetypes.c
1736 Fix some more warnings.
1737 Fix commented out execute/stop toolbar code in build.c.
1738 Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
1739 Changed build.h api so all functions prefixed with build_.
1742 2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1744 * src/build.c, src/build.h, src/project.c:
1745 Fix some gcc warnings with '-Wall -W -ansi' enabled.
1748 2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
1751 Fixed leaks and crashes due to inconsistent use of static vs dynamic strings
1752 when reading old format configuration & project files.
1753 * src/build.c, src/project.c
1754 Fixed GLib array assertion warnings when no project filetypes are
1755 available to be saved.
1757 2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
1763 2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
1765 * src/build.h, src/build.c, src/project.c
1766 Created and documented plugins interface to build menu.
1767 Factored out new get_cmd_group function.
1768 Changed name of remove_command function to be consistent with the rest
1769 of the interface & changed calls in project.c.
1770 * src/Makefile.am, wscript
1771 Added build.h to installed files lists.
1773 2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
1776 Updated manual to match build-menu capability.
1779 2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
1781 * src/build.c, src/build.h
1782 Added set_build_non_ft_wd_to_proj() for use by project dialog.
1783 Improved interpretation of run_in_base_dir from old [build-settings]
1784 Added spacing to build commands dialog
1786 Removed run in base path option from project dialog and added button to
1787 set working directories to d the same.
1790 2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
1793 Re-incorporated toolbar changes in trunk accidently excluded in merge
1795 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1798 Fixed substitute %f etc in commands
1799 Fixed potential leak in build_replace_placeholder
1800 Fixed leak in prepare_run_script (Thanks for patch Thomas)
1801 Fixed build_replace_placeholder to not require document.
1803 2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
1805 * src/build.c, src/build.h, src/filetypes.h, src/filetypes.c
1806 Fixed crash and lots of warnings, deleted some commented out code.
1807 * geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c
1808 Removed make command from preferences and associated code
1810 2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
1812 * src/build.c, src/build.h
1813 Incorporated patch for working directory field (thanks Thomas)
1814 Removed run_in_base_dir option and associated code that it replaces
1815 Improved handling of old config files and mapping to new ones.
1817 2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
1819 * src/build.h, src/build.c
1820 Changed to itterate over entries in build commands dialog to allow
1821 additional fields to be added
1822 Implement support for multiple run commands
1823 * data/filetypes.latex
1824 Implement configured commands and labels for latex.
1827 2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
1829 * src/build.h, src/build.c
1830 added dialog support for error regular expressions from multiple sources
1831 and storing and loading them
1832 fixed some typos and memory leaks
1833 * src/filetypes.c, src/filetypes.h, project.c
1834 added support for using error regexes from multiple sources
1837 2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
1839 * src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
1841 Removal of build menu item source made redundant by the following fix
1843 Corrected priority oreder and loading of filetype dependent build
1844 menu items saved in the project file. Added print routine for
1845 debugging command sources and priorities set compile symbol
1846 PRINTBUILDCMDS true to enable
1848 2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
1851 fixed problem loading old format filetype files, some formatting fixes
1852 fixed saving new format files
1853 added operation for clear button on build commands dialog
1855 fixed loading and saving filetype files
1858 2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
1860 Configurable Build Menu Changes
1862 * doc/geany.html, doc/geany.txt:
1863 Updated build menu section to new functionality
1864 * src/build.h, src/build.c:
1865 Largly re-written, configurability added, Latex code removed
1866 * src/filetypes.h, src/filetypes.c:
1867 Filetype structure updated to add new command pointers, configuration
1868 load and store changed
1869 * src/keybindings.h, src/keybindings.c:
1870 Changed to address new command storage structure.
1872 Changed to load/store new configuration.
1874 Minor change to initialisation order.
1876 Changed to address new menu item storage structure.
1877 * src/project.h, src/project.c:
1878 Changed to load/store the new configuration info.
1880 2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1882 * src/keybindings.c, src/keybindings.h, src/plugindata.h,
1883 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
1884 doc/pluginsymbols.c, plugins/geanyfunctions.h,
1885 plugins/splitwindow.c:
1886 Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
1887 GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
1888 the ABI when adding fields to them.
1889 Add plugin_set_key_group() for plugins to dynamically set a
1890 keybinding group (e.g. for the Lua script plugin). Used in Split
1891 Window plugin as an example.
1892 Improve keybinding docs a little.
1895 2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1897 * doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
1898 Add geanyfunctions.h to API docs.
1899 * plugins/splitwindow.c:
1900 Set the cursor color for the split window.
1903 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1906 Fix 'Open Selected File' for unsaved new documents.
1907 * src/keybindings.c, src/keybindings.h, src/prefs.c:
1908 Fix updating main menu accelerators after changing keybindings
1909 (thanks to Lex Trotman).
1911 Fix using 'Insert date' keybinding when a custom date string has
1913 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
1914 Merge Plugin and GeanyPluginPrivate structs.
1917 2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1919 * src/keybindings.c:
1920 Fix non-working Home and End keys on numpads.
1923 2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1925 * doc/geany.txt, doc/geany.html, NEWS:
1926 Add 'Scope autocompletion' section.
1927 Add 'Tools menu items' section to explain configuration files
1928 submenu, reload configuration item.
1929 Minor updates/fixes.
1932 2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1935 Add a translation hint to an ambiguous format string.
1937 Add missing include path to fix 'make distcheck'.
1939 Fix opening of local files in the browser on Windows.
1940 * New release: Geany 0.18 "Kaine".
1941 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
1942 src/geany.h, doc/geany.html, doc/geany.txt:
1943 Post-release version bump.
1946 2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1949 Temporarily disable reshowing calltips when the autocompletion
1950 list was closed implicitly by not choosing an item to fix
1951 problems with wrongly displayed calltips.
1953 Add missing 'coding' cookie to the Python filetype template.
1954 * doc/images/pref_dialog_edit_completions.png,
1955 doc/images/pref_dialog_toolbar.png:
1956 Update images for Geany 0.18.
1959 2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1962 Add command '--hackingdoc' to create the HTML form of the
1966 2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
1968 * po/pt_PT.po, po/LINGUAS:
1969 Added a first Portugese (Portugal) translation based on work done at
1970 launchpad by e.g. André Glória and Alexandre Jesus.
1971 * src/main.c: Fix a minor typo on --help call.
1974 2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
1976 * src/highlighting.c:
1977 Call get_keyfile_wordchars() in highlighting_init_styles().
1980 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1982 * data/filetypes.ada:
1984 * src/keybindings.c:
1985 Switching notebook tabs now works for the currently used notebook
1986 widget instead of always using the documents notebook.
1987 * src/document.c, src/document.h, src/documentprivate.h,
1989 Small corrections to some API docs.
1992 2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
1994 * src/build.c, src/win32.h, src/win32.c:
1995 Expand system environment variables (%variableName%) on Windows when
1996 running Build commands.
1999 2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2001 * src/keybindings.c:
2002 Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
2003 future using an indent block is more useful e.g. for ChangeLog
2005 * scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
2006 scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
2007 scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
2008 src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
2009 tagmanager/parsers.h, tagmanager/makefile.win32,
2010 tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
2011 Add Markdown filetype (patch by Jon Strait, thanks).
2012 * src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
2013 Fix disconnecting plugin signal id when not using geany_object.
2015 Add filetype_make_title() instead of using:
2016 ft->title = g_strdup_printf(_("%s source file"), ft->name);
2017 It also supports "%s file" strings.
2020 2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2022 * src/pluginprivate.h, src/utils.h, src/plugindata.h,
2023 src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2024 doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
2025 plugins/filebrowser.c:
2026 Add plugin_signal_connect() for connecting plugin signals at
2027 runtime and also for connecting to any GObject signal.
2028 Add 'Plugin Utility Functions' on main page.
2029 Add foreach_array() macro.
2030 * src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
2031 src/document.c, src/editor.c:
2032 Rename 3 sci functions to sci_set_target_start(),
2033 sci_set_target_end(), sci_replace_target() to match the SCI_
2037 2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2039 * wscript: Fix compiling error with waf.
2042 2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2044 * src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
2045 src/pluginutils.c, src/plugins.c, src/pluginutils.h,
2046 src/Makefile.am, wscript:
2047 Move plugin_* utility functions to pluginutils.c.
2048 Add pluginprivate.h.
2050 Fix reshowing calltip in the wrong document.
2053 2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2055 * doc/geany.txt, doc/geany.html:
2056 Add some general information about auto-completion capabilities
2057 (patch by Lex Trotman, thanks).
2060 2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2062 * po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
2063 Added a first Slovenian translation. Thanks to Joze Klepec.
2066 2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2068 * src/highlighting.c:
2069 Use full styleset_foo[_init] function name as argument to
2070 init_styleset_case() and styleset_case() macros so it's easier to
2071 understand the code.
2072 * src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
2073 src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
2074 doc/geany.txt, doc/geany.html:
2075 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
2076 Heavily based on a patch by Eugene Arshinov (thanks).
2077 Add sci_lines_split(), sci_lines_join(), sci_text_width(),
2078 editor_strip_line_trailing_spaces().
2081 2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2084 Attempt to fix reshowing calltips after the autocompletion list
2086 Reshow calltips also when the autocompletion list was closed
2087 implicitly by not choosing an item.
2089 2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2091 * src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
2092 plugins/splitwindow.c:
2093 Change utils_str_remove_chars() to work in place; fix allocating on
2094 the stack (the string length could exhaust the stack size).
2095 * src/templates.c, src/build.c, src/utils.c, src/utils.h,
2096 src/printing.c, src/callbacks.c:
2097 Rename utils_str_replace() utils_str_replace_all(), setting a
2098 'gchar **haystack' argument instead of returning a new string.
2100 For the Tabs indent type, remove spaces when unindenting (only) if
2101 there are no tabs on the line.
2102 Group undo actions for (un)indenting of multiple lines.
2103 * src/document.c, src/editor.c:
2104 Fix scrolling horizontally after finding a search match with the
2105 search bar or Find Next/Previous which is off-screen.
2106 * src/keybindings.c:
2107 Fix GLib warning when pressing a key with no documents open.
2110 2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2113 Start unifying usage of @a and @c markup elements in API docs,
2115 * src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
2116 Show/hide the toolbar without a restart when the setting in the
2117 preferences dialog is changed (closes #2824785).
2118 * src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
2119 src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
2120 src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
2122 Continue unifying usage of @a and @c markup elements in API docs.
2125 2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2128 Remove relative/untidy path elements when creating new documents
2129 with a filename (e.g. from the command-line) (#2823998).
2132 2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2135 Disable 'Recent Projects' menu item if the list of recent projects
2138 Fix some harmless compiler warnings.
2139 * plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
2140 src/plugins.c, src/utils.c, src/utils.h:
2141 Move utils_str_remove_chars() from the plugins/splitwindow.c to
2142 src/utils.c and add it to the plugin API.
2143 Make utils_str_remove_chars() work on a new copy of the input string
2144 instead of modifying it in place.
2146 Remove underscores from the toolbar items labels.
2149 * plugins/splitwindow.c:
2150 Fix broken 'Show the current document' tool button icon.
2153 2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2155 * src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
2157 Add stash_group_add_widget_property() so we can save any widget's
2158 read/write properties.
2159 Use Stash for ui_prefs.sidebar_page setting.
2160 * src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
2161 Make foreach_ptr_array() use an integer argument for its
2162 implementation, as this is more useful potentially than a gpointer*
2163 argument, and more straightforward.
2164 Add foreach_c_array(), foreach_ptr_array() to API.
2165 * src/utils.c, src/utils.h, src/document.c:
2166 Remove relative/untidy path elements when opening documents (closes
2169 Fix showing project name for documents list files with no
2170 subdirectory (oops).
2172 Fix checking whether to overwrite when using the Rename button in
2173 the 'Save As' dialog.
2176 2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2179 Don't use the main window as parent for dialog boxes if it is not
2181 Set titles for message dialogs.
2184 2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2187 Display item labels instead of raw names in the toolbar editor.
2188 Apply changes in the toolbar editor instantly.
2189 Show icons in the toolbar editor.
2190 Speed up toolbar editor dialog creation.
2192 Improve inserting of comment templates like File header or licence
2193 notices. The comment information are now read from the filetype
2194 configuration files.
2196 2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2199 Enable file monitoring for files which are written to disk by Geany
2202 Fix broken special case handling when detecting filetypes from a
2203 shebang or other special file headers.
2206 2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2209 Make Mark All keybinding clear search highlighting when there's no
2212 Fix wrong match length when using Mark with regex.
2213 * src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
2214 src/keyfile.c, src/main.c:
2215 Add 'Show Paths' documents list popup item.
2216 Add "load_settings" core-only signal emitted just after loading
2217 main keyfile settings; useful to delay building UI elements until
2218 settings have been read.
2220 Fix GTK warning when right-clicking on default tag tree.
2221 * src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
2222 Add treeviews_finalize().
2223 Remove tv.popup_openfiles field.
2226 2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2228 * src/highlighting.c:
2229 Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2232 2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2235 Quote the uri before passing it to the browser when opening a
2236 website (closes #2818635).
2238 Fix broken 'builtin' Run command for HTML files on Windows.
2241 2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2244 Properly fix wrong brace highlighting of non-brace character.
2246 Allow autocompletion in Perl double-quoted strings.
2247 Don't autocomplete in Perl single-quoted strings (closes #2821061).
2248 Don't autocomplete in Perl q() strings.
2249 * data/filetypes.common:
2250 Make Mark highlighting brighter.
2251 * src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
2252 Use hyphen for auto-feature terms.
2253 * src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
2254 src/document.h, src/main.c:
2255 Add documents_foreach() API macro that skips invalid docs.
2256 Make filetypes[], documents[] part of the API again.
2257 Add GEANY() macro for sharing geany symbols between API and core.
2258 * src/plugindata.h, src/plugins.c, doc/plugins.dox,
2259 plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
2260 plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
2261 plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
2262 plugins/classbuilder.c, wscript:
2263 Add geanyplugin.h single include for plugin API; update all core
2265 Add sci_set_font() to API.
2266 Update plugin howto.
2267 * src/filetypes.c, src/filetypes.h:
2268 Remove filetypes_foreach_named().
2271 2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2273 * src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
2274 src/document.h, src/main.c, THANKS:
2275 Apply patch from Eugene Arshinov to reload color schemes via menu
2278 Reload filetypes.common after saving it.
2280 Improve wrong brace highlighting of non-brace character.
2283 2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2286 Delay highlighting matching braces by 100ms, which speeds up
2287 scrolling with the arrow keys.
2288 * src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
2289 Add 'Mark All' keybinding.
2290 * tagmanager/diff.c:
2291 Show relative paths in diff filename tags.
2294 2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2296 * src/highlighting.c:
2297 Fix setting keyword list 'classes' for Haxe
2298 (pointed out by Andreas Mokros, thanks).
2301 2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2303 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2304 doc/geany.txt, doc/geany.html, geany.glade:
2305 Add 'Drop rest of word on completion' pref.
2306 * src/editor.c, doc/geany.txt, doc/geany.html:
2307 If autocompletion is already visible when forcing completion, show
2308 document word completion instead of tag completion.
2309 Docs: Minor edits of related prefs items.
2310 * src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
2311 Add warning when printing and editor font is not monospaced.
2312 Fix using GtkMessageType instead of gint param for
2313 dialogs_show_msgbox*().
2314 Add missing G_GNUC_PRINTF macro check to API dialog funcs.
2316 Support 'tab indents, space aligns' style for auto-indentation
2320 2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2322 * src/document.c, src/documentprivate.h:
2323 Rework the GIO based file monitoring code. Now it is used only
2324 to indicate a possible change of the file, the real check if the
2325 file has been changed is performed by stat().
2326 * data/filetypes.common, doc/geany.txt, src/highlighting.c:
2327 Add style 'line_height' to increase the line height.
2328 Add style 'marker_mark' and change style 'marker_search' to
2329 define the style used for marked search results.
2330 * doc/geany.txt, doc/geany.html:
2331 Add the new 'Autocomplete all words in document' pref to the docs.
2334 2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2336 * src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
2337 doc/geany.txt, doc/geany.html, geany.glade, TODO:
2338 Add 'Autocomplete all words in document' pref.
2339 Use 'autocompletion' in dialog and docs, not 'auto completion'.
2341 Fix limiting number of word completion entries too much.
2342 * src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
2343 icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
2344 Show autocompletion icons for tag symbols - for now only tags with
2345 an arglist have the 'function/method' icon, all others have the
2347 Note: XPMs were created from the PNGs with the ImageMagick 'convert'
2349 * src/highlighting.c:
2350 Highlight D WYSIWYG backtick `strings` and r"strings" (closes
2354 2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2356 * src/highlighting.c, src/utils.h, plugins/splitwindow.c:
2357 Fix removing underscores in translated string using no_underscore()
2359 Set a tooltip for the Split Window plugin's Show Current tool button.
2360 Add utils_strdupa() macro.
2361 * src/interface.c, geany.glade:
2362 Use stock Select All icon now we have >= GTK 2.8.
2364 Fix using project name for document items that start with the
2365 project base path but don't match it e.g. ".../geany-plugins"
2366 instead of ".../geany" when project name is 'geany'.
2369 2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2372 Fix warnings when the toolbar does not contain the Run button.
2374 Fix wrong parsing of complex expressions in the Lua parser.
2375 * src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
2377 Remove unnecessary enums.
2378 * scintilla/*, scintilla/include/*, src/plugindata.h:
2379 Update Scintilla to version 1.79.
2380 * src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
2382 Use the new Scintilla struct names prefixed with 'Sci_'.
2383 * TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
2385 Add second argument to the 'line_wrap_indent' styling setting to
2386 control the new Scintilla indentation mode for wrapped lines.
2388 Properly close the toolbar editor on delete-events.
2389 Fix warnings and possible crashes in the toolbar editor when the list
2390 of displayed toolbar items is empty.
2391 * data/filetypes.tcl:
2392 Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
2394 Make the plugin manager dialog a bit bigger.
2397 2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2399 * doc/geany.html, doc/geany.txt:
2400 Fix wrong default values for the 'Show Calltip' keybinding.
2403 2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2405 * data/filetypes.tcl, src/symbols.c:
2406 Fix duplicate "context_action_cmd" key.
2407 Use different icons for "Methods" and "Procedures" in the symbol
2410 Fix a small memory leak.
2411 * doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
2412 src/keybindings.h, src/plugindata.h:
2413 Make the Scintilla keybindings 'Delete to end of line' and
2414 'Go to end of display line' configurable.
2416 Fix a typo (closes #2813624).
2419 2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2421 * tagmanager/tcl.c, src/symbol.c:
2422 Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
2423 methods and namespaces).
2424 Patch by Witek Mozga, thanks.
2427 2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2429 * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
2430 src/toolbar.c, src/toolbar.h:
2431 Remove ui_toolbar.xml Configuration Files menu item.
2432 Add a real toolbar editor dialog.
2433 * geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
2435 Add a button in the preferences dialog and an item for the toolbar
2436 popup menu to run the toolbar editor dialog.
2439 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2442 Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
2443 Fix using locale encoding for default Save As dialog path.
2445 Beep when trying to activate the '...' autocompletion item.
2446 Limit (forced) document word completion to
2447 autocompletion_max_entries.
2448 Beep if no completions are shown when forcing autocompletion.
2451 2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2453 * data/ui_toolbar.xml, src/toolbar.c:
2454 Add 'Build' toolbar button to the default layout.
2457 2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2460 If forcing autocompletion and there's nothing else to show, complete
2461 from words in the current document (using code from Enrico's
2462 'AutoComplete Test' plugin).
2465 2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2468 Add debug message if plugin has not set a name for its keybinding
2470 * data/filetype_extensions.conf:
2471 Add *.m4 for shell scripts.
2474 2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2476 * src/highlighting.c, doc/geany.txt, doc/geany.html,
2477 data/filetypes.common, TODO:
2478 Make filetypes.common named styles use the "default" named style for
2479 all missing style fields.
2480 Set named styles to usually leave the background style empty. This
2481 currently allows C-like filetypes to have a common default
2483 Allow hard-coded colors to use -1 for the default color.
2484 Add some highlighting style examples to the manual.
2487 2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2490 Create initial template files with proper platform-specific line
2494 2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2496 * data/ui_toolbar.xml, doc/geany.txt, src/build.c,
2497 src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
2498 src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
2499 src/ui_utils.c, src/ui_utils.h:
2500 Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
2502 Refactor some related code.
2503 * tagmanager/conf.c:
2504 Strip trailing spaces from "Key" tags.
2506 Quote the full filename to the Geany executable when creating the
2507 "Open with Geany" context menu item.
2508 * plugins/splitwindow.c:
2509 Avoid using deprecated GTK API.
2510 * src/log.c, src/main.c:
2511 Properly clean up the logging mechanism.
2513 Fix LaTeX view commands on Windows (part of #2807688).
2515 Add a popup menu for the keybinding list in the preferences dialog
2516 to easily expand and collapse all groups.
2517 Refactor the keybindings code for the preferences dialog, prefix all
2519 * src/main.c, src/ui_utils.c, src/ui_utils.h:
2520 Init stock items before creating the toolbar (closes #2809324).
2522 Generate the geany.pc file also on Windows.
2524 Invert the logic to determine which Save All we want to use:
2525 Use the Tango like icon only for the Tango theme and the Gnome / GTK
2526 like icon for any other themes.
2529 2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2531 * src/highlighting.c, README.Packagers, HACKING:
2532 Remove gsd_* default styles, use named styles instead.
2533 Note: this relies on filetypes.common being installed.
2534 Add load_style_entries(), which makes style initialization
2535 simpler, used in styleset_c_like_init().
2538 2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2541 Prevent possible crash on Windows when not setting an initial
2542 directory for native File Open/Save dialogs.
2543 * data/filetypes.xml, src/highlighting.c:
2544 Add style 'jscript_regex' for filetype HTML
2545 (patch by Chris Macksey, thanks).
2548 2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2550 * src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
2551 Make GeanyDocument::file_type always be non-NULL, even for a new
2552 document with no filetype set.
2554 Only autocomplete scope for scopes matching the current filetype's
2556 * data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
2557 data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
2558 data/filetypes.actionscript, data/filetypes.cs,
2559 data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
2560 data/filetypes.javascript, HACKING:
2561 Make C++, D lexer filetypes use named styles (apart from uuid,
2562 verbatim, regex styles).
2565 2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2568 Don't explicitly change the current directory of the Save As dialog
2569 so that it uses the last used directory.
2572 2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2574 * src/encodings.c, src/encodings.h, src/plugindata.h:
2575 Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
2578 When completing from the macro list, put the cursor after
2582 2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2584 * tagmanager/pascal.c:
2585 Fix type definitions being parsed as functions.
2587 Don't autocomplete in unterminated strings as well.
2588 * src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
2589 src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
2590 Remove data_ptr argument to foreach_[s]list() macros, as using
2591 node->data is enough sometimes; this makes the macro a bit more
2593 Add foreach_[s]list() macros to the plugin API docs.
2596 2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2598 * scintilla/LexPascal.cxx:
2599 Backport fix from Scintilla CVS:
2600 Pascal lexer hanging on file that starts with 'interface' after
2604 2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2607 Update Waf to 1.5.7.
2609 Overwrite installation prefix on Windows only if it wasn't
2610 specified explicitly.
2613 2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2616 Display calltips for Pascal symbols in the Pascal way (#2803945).
2617 * tagmanager/pascal.c:
2618 Fix wrongly set return values for procedures (closes #2803945).
2619 * doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
2620 tagmanager/include/tm_source_file.h,
2621 tagmanager/include/tm_workspace.h:
2622 Fix doxygen warnings.
2625 2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2627 * src/editor.c, tagmanager/include/tm_workspace.h,
2628 tagmanager/tm_workspace.c, TODO:
2629 Autocomplete scoped fields like struct members when typing '.' (and
2630 also '->' or '::' in C/C++).
2631 Save all tag types for C/C++ when generating a global tags file, so
2632 we can use autocompletion for structs also.
2633 Merge tm_workspace_find_scope_members(),
2634 tm_workspace_find_namespace_members() (currently not built) from
2635 Anjuta 2.24.1 tagmanager.
2638 2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2640 * tagmanager/pascal.c:
2641 Parse Pascal calltips (closes #2802640).
2644 2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2646 * src/filetypes.c, src/ui_utils.c:
2647 Add filetypes.common Configuration Files menu item.
2650 2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2653 Add backslash to the wordchars on Windows when using
2654 'Open Selected File'.
2656 Add support (configure, build and install) for building on Windows
2657 and cross-compiling for Windows using the Waf build system.
2660 2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2663 Set status bar text instead of showing a dialog when saving
2664 ui_toolbar.xml because the user might save several times.
2666 Fix redrawing due to colourising just after the document is first
2667 drawn. Now colourising should happen before the first draw.
2668 * src/utils.c, src/highlighting.c, data/filetypes.common:
2669 Fix segfault on parsing a filetypes.* style definition that has < 4
2671 Allow style definitions to have missing fields to use the default
2675 2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2677 * src/images.c, src/about.c, src/ui_utils.c, THANKS:
2678 Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
2679 * plugins/classbuilder.c:
2680 Fix wrongly created header guards when the class filenames contains
2681 dashes (patch by PCMan, thanks).
2682 * data/filetypes.matlab:
2683 Add build_settings section to allow executing Matlab scripts.
2685 When closing a document, mark it as invalid before removing it from
2686 the documents notebook (this fixes wrong Save All button state when
2687 closing an unsaved document because the "switch-page" signal handler
2688 was using old data).
2691 2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2693 * src/highlighting.c, doc/geany.txt, doc/geany.html:
2694 Support toggling bold/italic when using a named style, e.g.:
2695 commentdockeyword=commentdoc,bold,italic
2696 Improve named style docs.
2699 2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2701 * src/build.c, src/editor.c:
2702 Fix crashes when parsing the output of a compiler which reports
2706 2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2708 * src/highlighting.c:
2709 Support named styles also for filetypes.common [styling] entries.
2710 * doc/geany.txt, doc/geany.html, HACKING:
2711 Update docs for named styles in filetypes.* files.
2713 Fix grouping symbol list children when parent name has "." character
2714 in for reStructuredText and Conf filetypes.
2715 * tagmanager/python.c:
2716 Fix grouping functions/classes under a nested function.
2719 2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2722 Adjust icon paths (patch by Dominic Hopf, thanks).
2723 * doc/geany.txt, doc/geany.html, src/toolbar.c:
2724 Add 'Replace' toolbar button (closes #2798225).
2727 2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2729 * src/utils.c, src/highlighting.c, TODO:
2730 Implement named styles support for filetypes.* using a
2731 filetypes.common [named_styles] section e.g.:
2732 foo=0xc00000;0xffffff;false;true
2734 These can be used in e.g. filetypes.c as:
2738 2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2741 Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2744 2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2746 * THANKS, src/about.c, po/lb.po, po/LINGUAS:
2747 Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2750 2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2753 Remove quote_executable() as it is not used anymore.
2754 When creating the geany_run_script.bat use the "%0" variable
2755 expansion and quote it for the "del" command (closes #2797172).
2757 On Windows, fallback to the literal build command line if searching
2758 for the command in the system path failed (related to #2795923).
2759 Properly terminate the resulting strings when reading the stdout
2760 and stderr of any spawned commands on Windows.
2763 2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2766 Use the wide character versions of native Windows File dialogs.
2768 Fix wrong initialisation of the default project path button callback
2769 in the preferences dialog.
2770 * Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
2771 geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
2772 icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
2773 icons/Makefile.am, icons/geany.ico, icons/scalable,
2774 icons/scalable/Makefile.am, icons/scalable/geany.svg,
2776 Move the icons geany.png and geany.ico into the icons directory.
2777 Add a 16x16 pixel Geany icon and the scalable SVG icon.
2778 Drop the pixmaps directory.
2781 2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2783 * src/keybindings.c:
2784 Improve MRU document switching so there are no duplicates in the
2785 list and documents switched to whilst the dialog is open are
2786 ignored. Also beep when cycling through to the first document in the
2790 2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2793 Fix broken 'Cancel' button in the Save As dialog.
2796 2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2799 Fix multiline indent when selection covers text on the last line.
2801 Show current document in bold in tab popup menu.
2802 * src/editor.c, tagmanager/python.c, TODO:
2803 Parse Python calltips.
2806 2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2808 * src/symbols.c, tagmanager/python.c:
2809 Parse Python import statements to get symbol completion for the
2810 imported module names.
2811 * src/editor.c, src/editor.h:
2812 Make some only locally used functions static.
2813 Fix wrong sanity check.
2815 Fix quoting the build command string on Windows (closes #2791769).
2816 This broke when we made build commands run synchronously on Windows,
2817 now we don't need to special quote the commands anymore.
2820 2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2823 Drop rest of word to the right of cursor when autocompleting (do we
2824 need a pref for this?).
2827 2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2829 * src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
2830 Add sci_set_selection().
2831 * doc/geany.txt, doc/geany.html:
2832 Update manual for MRU switching.
2833 * src/callbacks.c, src/editor.c, src/editor.h:
2834 Make indenting with the Tabs indent type preserve spaces on the line,
2835 so it works for the 'tab indents, space aligns' formatting style.
2838 2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2840 * tagmanager/python.c:
2841 Fix missing symbols for variables when an equal sign is used
2842 in a comment on the same line as the variable declaration.
2843 Backport change from CTags SVN to keep the parser more in sync:
2844 Add support for Cython constructs to the Python parser.
2846 Remember the additional Find in Files search flags at startup.
2848 Don't close the Save As dialog when saving the file didn't succeed.
2851 2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2854 Remember scribble cursor position.
2855 * src/keybindings.c, TODO:
2856 Implement Most-Recently-Used document switching when pressing
2857 Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2860 2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
2862 * data/latex.tags: Added some more commands from unit.sty and
2866 2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
2868 * src/symbols.c, doc/geany.txt, doc/geany.html,
2869 tagmanager/makefile.win32, tagmanager/nestlevel.c,
2870 tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
2871 tagmanager/Makefile.am, wscript:
2872 Merge unstable branch:
2873 Add reStructuredText scope information for tags (for symbol list
2875 Read custom system global tags files from $prefix/share/geany/tags;
2877 Show the number of tags in a user global tags file (instead of the
2878 running total) in the debug message.
2879 Also print debug messages when loading a tag file manually or for
2880 default global tags files e.g. python.tags.
2882 Move NestingLevel tags code into a separate file, add functions.
2884 Add 'Installation prefix' section instead of quoting '/usr/local'
2886 Update for custom system global tags files.
2889 2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2891 * src/highlighting.c:
2892 Unset maybe previously keywords when setting up Scintilla for
2893 XML files. This fixed wrong highlighting after switching back to
2894 filetype XML from another one.
2896 Use plain old fwrite() in utils_write_file(). g_file_set_contents()
2897 is only used when explicitly requested.
2899 Remove unnecessary call to g_intern_string() to fix build with
2900 GLib 2.8 (closes #2790051).
2903 2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2906 Make the clear icon of entry fields act on the release event, not
2907 on the press event like for other buttons.
2909 Refactor some multiple used code into get_multiline_comment_style().
2911 Create parent directories if necessary when checking for the
2912 configuration directory on startup (closes #2784577).
2915 2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2917 * plugins/filebrowser.c:
2918 When a filter is set, apply it only to files, not directories and
2919 apply the filter to the UTF-8 name of the file as the filter string
2920 itself is also UTF-8.
2921 * src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
2922 Add utils_color_invert() and use it in highlighting.c and printing.c.
2923 * scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
2924 Backport change from Scintilla CVS:
2925 Change capitalisation of header file to suit cross-compilation on
2929 2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2931 * wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
2932 Update Scintilla to version 1.78.
2933 * src/editor.c, src/highlighting.c:
2934 Update Pascal styles as they changed in Scintilla.
2937 2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2940 Ignore the invert syntax highlighting colours setting when printing
2941 to not print characters on a dark background (closes #2785244).
2942 * New release: Geany 0.17 "Wessex".
2943 * configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
2944 src/geany.h, doc/geany.html, doc/geany.txt:
2945 Post-release version bump.
2948 2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2950 * src/callbacks.c, src/callbacks.h, src/main.c:
2951 Update the View->Fullscreen menu item when fullscreen state is
2952 changed externally (e.g. by the window manager).
2954 Fix passing wrong pointer to the File Open dialog for the Run
2955 command in the Project Properties dialog.
2958 2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2960 * src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
2962 Remember the active sidebar page between sessions.
2964 Add a recent project item after creating a new project.
2965 * tagmanager/ruby.c:
2966 Fix wrong parsing of string literals (closes #2781264).
2968 Fix setting focus to the editor widget after changing the selection
2972 2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2975 Prevent crashes when two or more top level items in the symbol
2976 list have the same name (closes #2778246).
2979 2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
2981 * src/keybindings.c:
2982 Manually show the main notebook tab bar menu when Shift-F10 is
2983 pressed. This broke when we disabled the default GTK tab bar menu.
2985 Fix a crash when USE_GIO_FILEMON is enabled at closing a document
2986 which was reloaded shortly before.
2988 When the editor menu is opened by the Menu key, use the text cursor
2989 position for retrieving the current word. This fixes disabled
2990 Go to Tag items in the menu (#2780044).
2992 Set the "ellipsize" property of GtkCellRendererText to automatically
2993 shorten the path and file names in the Documents list.
2994 * doc/geany.html, doc/geany.txt, src/build.h:
2995 Increase the amount of highlighted build error messages to 100.
2996 At least for LaTeX we need higher values as there is a lot of
2997 informative output before any errors are reported.
2998 * src/filebrowser.c:
2999 Use the startup path as the initial directory for the filebrowser
3000 plugin when no project and no files are opened
3001 (patch by Matias Gea, thanks; closes #2780521).
3004 2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3006 * src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
3007 src/utils.c, src/utils.h:
3008 Ellipsize tab labels and some status messages for very long
3009 filenames (closes #2777348).
3010 * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
3011 Add utils_str_middle_truncate() and
3012 document_get_basename_for_display() to the plugin API.
3013 * doc/geany.html, doc/geany.txt, src/toolbar.c:
3014 Add new toolbar element: Print (patch by Roland Baudin, thanks).
3015 * doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
3017 Add a hidden preference 'use_safe_file_saving' to save files to disk
3018 by creating a temporary file first. This has serious side effects,
3019 please read the documentation before enabling this.
3021 Make build commands on Windows run synchronously to avoid problems
3022 with reading build commands' output.
3023 * doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
3024 Limit the amount of highlighted build error messages in the
3025 Compiler window to 50 for performance reasons.
3028 2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3030 * src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
3032 Replace our own GEANY_KEYS_MODIFIER_MASK by
3033 gtk_accelerator_get_default_mod_mask() which gives the same result.
3034 * src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
3035 tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
3036 Add a trivial symbol parser for NSIS files.
3039 2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3042 Hide the extra file open dialog options in an expander to make the
3043 dialog more compact by default and to provide more space for the
3045 Remove the filename field as it is also provided by GTK itself with
3046 more features like auto-completion.
3047 Watch the 'show-hidden' property of the file chooser widget using
3048 GObject's "notify" signal which gives accurate results and remove
3049 the hack using the "selection-changed" signal.
3052 2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3054 * src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
3055 Prevent double execution of radio menu item "activate" or "toggled"
3057 Move 'Set Encoding' callback function into encodings.c.
3060 2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3063 Add some missing 'void's in function definitions.
3064 If the project base path is './', just use the path of the project
3065 config file instead of appending './'.
3066 * src/treeviews.c, src/project.c:
3067 When a project is loaded, replace the project base path with the
3068 project name in the Documents sidebar for parent items
3072 2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3074 * src/keyfile.c, src/keyfile.h, src/project.c:
3075 Fix duplicating the recent files and projects lists when closing
3077 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3078 src/editor.c, src/encodings.c, src/filetypes.c,
3079 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3080 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
3081 src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
3082 src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
3083 src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
3084 src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
3085 Remove all G_LIKELY macros inside g_return_if_fail() statements as
3087 Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
3088 sense to keep the code more readable.
3091 2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3094 When updating global type definitions for opened documents, take
3095 also C++ namespace symbols into account and don't ignore symbols
3096 which are defined inside a scope.
3099 2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3102 Don't show 'plugin is not binary compatible' messages on the status
3103 bar, only the status window.
3106 2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3109 When opening files from a remote instance on X11, set the window
3110 server time to encourage window managers to pop up the main window
3111 (related to #2735467 and #2276179).
3113 When finished sending filenames to a remote instance, notify the
3114 environment that we finished starting up.
3117 2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3119 * src/ui_utils.h, src/utils.h, src/ui_utils.c:
3120 Sort Configuration Files menu.
3121 Add ui_menu_sort_by_label().
3122 Add foreach_list() macro.
3127 2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3130 Fix setting a wrong default window size when starting without an
3131 existing configuration.
3132 * src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
3133 Make editor_highlight_braces() static.
3134 Remove unused wrapper functions.
3135 * src/editor.c, src/symbols.c, src/symbols.h:
3136 Prevent showing an empty macro list.
3137 Show only macros of the same filetype instead of all macros of all
3140 Don't add opened project files to the GtkRecentManager.
3143 2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3146 Add Configuration Files item for snippets.conf.
3147 * src/highlighting.c, src/symbols.c:
3148 Fix 2 old uses of filetype IDs.
3151 2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3153 * src/interface.c, src/printing.c, geany.glade:
3154 Minor string improvements (spotted by Jean-Philippe Moal, thanks).
3157 2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3160 Add sanity checks in ui_lookup_widget() just to be safe.
3161 * THANKS, TODO, geany.glade, src/about.c, src/interface.c,
3162 src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
3163 src/project.h, src/ui_utils.c, src/ui_utils.h:
3164 Add "Recent Projects" menu to the Project menu
3165 (#2728630, patch by Elias Pschernig, thanks).
3166 * doc/geany.txt, doc/geany.html:
3167 Describe how to build Geany using the Waf build system.
3168 * src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
3169 src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
3170 src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
3171 src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
3172 src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
3173 src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
3174 src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
3175 src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
3176 src/utils.c, src/utils.h, src/vte.c:
3177 Start using G_LIKELY/G_UNLIKELY macros to gain a little more
3178 performance when building the code with gcc.
3179 * src/highlighting.c:
3180 Fix typo in the G_LIKELY checks, introduced in last commit.
3181 Fix the size of the styles array.
3183 Show a message dialog when renaming a file fails.
3186 2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3189 Remove checks for the .pdf or .dvi files when viewing a LaTeX file
3190 (as we did for all other files in SVN r3382).
3193 2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3195 * src/filetypes.c, doc/geany.txt:
3196 Move ActionScript to the Script group.
3198 * src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
3199 src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
3200 src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
3201 plugins/htmlchars.c:
3202 Merge reorder-filetypes branch:
3203 Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
3204 append randomly without breaking the ABI).
3205 Make None filetype name = title = _("None").
3206 Add foreach_slist() macro.
3207 Add filetypes_by_title list to GeanyData for plugin API access
3208 - a list of filetype pointers, which includes the None filetype
3209 first. This list stays constant by the time plugins are initialized,
3210 so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
3211 index the sorted list.
3214 2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3216 * doc/geany.txt, doc/geany.html, src/main.c:
3217 Add widget names for the menubar and toolbar.
3219 When hiding the messages window, set the input focus back to the
3220 editor widget (part of #1910393).
3223 2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3225 * scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
3226 Backport recent changes from Scintilla CVS to add partial support
3227 for RFC2822 styled text using the Properties lexer.
3228 Ignore leading whitespace for config files and RFC2822 text.
3229 * data/filetypes.actionscript:
3230 Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
3231 * THANKS, src/treeviews.c:
3232 Display file/directory icons in the Documents sidebar
3233 (patch by Simon Treny, thanks).
3236 2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3238 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3239 src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
3240 src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
3241 Add an option to allow appending the toolbar to the main menu bar
3242 to save some vertical space.
3243 Allow setting toolbar icon size to very small (menu icon size).
3246 2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3248 * src/keyfile.c, src/utils.c, src/utils.h:
3249 Add utils_path_skip_root(), a relative path safe variant of
3250 g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
3251 * src/keyfile.c, src/main.c:
3252 Allow negative window coordinates when saving and restoring the
3253 position of the main window.
3254 Restore the main window position and size *after* the window has
3255 been realised to get it positioned accordingly
3256 (this affects at least Windows).
3259 2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3261 * src/main.c, src/plugins.c, src/win32.c, src/win32.h:
3262 Use g_win32_get_package_installation_directory_of_module() on Windows
3263 with newer GLib versions instead of deprecated API.
3264 * src/keybindings.c:
3265 Don't manage the last used documents list when quitting to prevent
3266 errors by accessing invalid memory (may close #2533990).
3269 2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3272 Delete the geany_run_script.sh immediately after execution
3273 to prevent leaking old copies when the script was quit unexpectedly
3274 (closes #2710482, patch by Martin Olsson, thanks).
3276 Check whether skipping the root element of a document's filename
3277 succeeded and use the filename itself if not (e.g. on relative
3278 filenames, #2702844).
3279 Use the locale encoded filename when saving session files.
3281 Re-set the quitting status after all documents have been closed on
3285 2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3287 * plugins/htmlchars.c:
3288 Remove usage of deprecated sci_get_selected_text() from plugin.
3291 2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3294 Delay disk file checks when switching between documents a little
3295 bit to avoid fast, unintentional page switching in some cases.
3296 * plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
3297 src/sciwrappers.c, src/sciwrappers.h:
3298 Deprecate sci_get_text(), sci_get_selected_text() and
3299 sci_get_text_range().
3300 Add sci_get_contents(), sci_get_contents_range() and
3301 sci_get_selection_contents() as replacement functions to provide
3302 an easier and cleaner API (initial patch by Frank).
3305 2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3308 Fix wrong parsing of CSS tags when the definition block starts on
3309 a new line (reported by Dominic Hopf, thanks).
3312 2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3314 * plugins/htmlchars.c:
3315 Extend plugin by feature to bulk replace and replace on input for
3316 special characters to their HTML entities.
3319 2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3322 Update build menu items after changing anything in the
3323 'Set Includes and Arguments' dialog.
3324 Disable Compile/Run buttons/menu items when Compile/Run commands are
3326 Reset current build directory to the base directory after reading a
3327 "Leaving directory" message when parsing Make output
3328 (closes #2694479, patch by Andrea Mazzoleni, thanks).
3330 Fix wrong display of the filename in the tab bar menu for new files.
3332 Set the initial directory for the Save As dialog only once on
3334 Add a shortcut of the project's base directory to the
3335 File Open/Save As dialogs when a project is open for faster access.
3336 * src/splitwindow.c:
3337 Add keybindings for the split actions.
3340 2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3343 When using Find All in the Find dialog (in Session and Document),
3344 display the right amount of matches.
3345 Fix the display of the matches once per line (I broke the original
3348 Fix wrong directory selection behaviour in all Open Folder dialogs
3349 (closes #2688020, patch by Marcel Stimberg, thanks).
3351 Don't present the main window of a running instance when starting
3352 a second instance separately.
3355 2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3358 Reduce default file permissions on the Unix Domain socket file
3359 (reported by Jörg Sommer, thanks).
3362 2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3364 * doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
3365 src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
3367 Add an option to set an additional plugin lookup path.
3369 When using Find All in the Find dialog, display matches only once
3370 per line in the messages window (patch by Bert Vermeulen, thanks).
3373 2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3375 * data/filetype_extensions.conf, data/filetypes.actionscript,
3376 src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
3377 src/highlighting.c, src/plugindata.h, src/symbols.c,
3378 tagmanager/Makefile.am, tagmanager/actionscript.c,
3379 tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
3380 Add filetype ActionScript (patch by Chris Macksey, thanks).
3381 Update type keywords only for real C-like languages.
3382 Fix wrong sorting of Assembler and Ada filetypes.
3383 * plugins/classbuilder.c:
3384 Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
3385 Other minor cleanups.
3388 2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3391 Don't use menu item images for the tab bar menu to save some
3393 * data/filetypes.fortran, tagmanager/fortran.c:
3394 Add keyword 'extends' and fix Fortran parser to support the
3395 'extends' keyword (closes #2654492).
3396 * geany.glade, plugins/export.c, src/interface.c, src/printing.c,
3397 src/search.c, src/toolbar.c:
3401 2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3403 * src/about.c, THANKS:
3404 Added Jari Rahkonen to list of Finnish translators.
3407 2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3410 Adjust minimum required GTK version.
3411 * src/Makefile.am, wscript:
3412 Add main.h to the list of installed header files.
3413 * geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
3414 src/notebook.c, src/ui_utils.c:
3415 Remove GeanyDocumentPrivate::tabmenu_label.
3416 Disable the default tab bar menu for the main notebook widget and
3417 use a custom menu instead which lists all open files as usual plus
3418 'Close Other Documents' and 'Close All' menu items.
3421 2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3423 * src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
3424 Move ui_set_search_entry_background() into ui_utils.c.
3425 Change the background colour of the search entries in the Find
3426 and Replace dialogs according to the search results like in the
3427 toolbar search field.
3428 Add images to the 'Replace' and 'Replace and Find' buttons in the
3430 Minor cleanups in search.c.
3431 * tagmanager/tm_source_file.c:
3432 Update source files upon creation.
3434 Update C tags for glibc 2.9.
3435 * src/callbacks.c, src/toolbar.c:
3436 Fix broken non-incremental search with the toolbar search entry when
3437 pressing Enter (closes #2638180).
3438 * plugins/splitwindow.c:
3439 Fix possible crash on non-32-bit systems (patch by
3440 Wolfgang Ocker, thanks).
3442 Update the Packager tag due to Dominic's various contributions.
3443 Update description and feature list.
3444 Change Source tag to the gzip'ed tarball to be in sync with the
3445 Makefile target (thanks to Wolfgang Ocker for reporting).
3448 2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3450 * plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
3451 Removed deprecated plugin VC Diff
3454 2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3457 Fix wrong Fortran 90 comment characters when inserting templates.
3458 * doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
3459 src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
3460 src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
3462 Add 'Send Selection to Terminal' command to the Edit->Format menu
3463 (initial patch by David Gleich, thanks).
3464 * geany.glade, src/interface.c:
3465 Fix mnemonic for the Edit->Preferences menu item.
3468 2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3470 * configure.in, plugins/Makefile.am:
3471 Enable socket support when cross-compiling.
3472 Enable plugin compilation when cross-compiling.
3474 Fix missing NULL checks when reading the colour value of compiler
3476 * src/main.c, src/win32.c, src/win32.h:
3477 On Windows, change the working directory to the Geany installation
3478 path at startup to avoid unwanted directory locking(closes #2626124).
3480 Fix broken selection of "Document->Set Encoding" menu items.
3481 * src/document.c, tagmanager/include/tm_source_file.h,
3482 tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
3483 tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
3484 tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
3485 Don't let the tagmanager automatically reparse files if they
3486 seem to be changed on disk (affects all files in the current session,
3487 not the current one). This should speed up file saving a little bit,
3488 especially with remote files.
3489 Remove now unnecessary calls to tm_workspace_update().
3491 Allow an empty value for the date format in the print settings to
3492 omit the date/time string in the print header.
3495 2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
3497 * src/editor.c: Set cursor for LaTeX at auto closing of environment
3501 2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3504 Add missing header include (closes #2615808).
3507 2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3510 Fix a possible crash when comparing symbol names
3511 (could be related to Ubuntu bug #147151).
3512 Fix broken symbol list tooltips when tag names contain ampersands.
3515 2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
3517 * plugins/makefile.win32:
3518 Don't build Split Window plugin on Windows (doesn't work).
3521 2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
3523 * ChangeLog, Makefile.am: Rotate ChangeLog.
3524 * configure.in, geany.nsi, geany_private.rc, win32-config.h,
3525 wscript, doc/geany.txt, doc/geany.html, src/geany.h:
3526 Post-release version bump.
3529 *** See ChangeLog.pre-0-17 for earlier changes ***