Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
6845 lines (4849 sloc) 259 KB
2007-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, doc/ Update for 0.12.
2007-10-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/highlighting.c, src/symbols.c, src/symbols.h:
Fix wrong colouring of type keywords of tags from different
* src/treeviews.c: Add full file name as tooltip in the open files list
(only for GTK 2.12 and above).
2007-10-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix inserting spaces instead of tab when using 'Suppress construct
completion' and spaces are used for indentation.
2007-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/keybindings.c:
Fix wrong insert position of Insert Date function when using keyboard
shortcut and place the cursor behind the inserted date.
* src/treeviews.c: Enable horizontal scrollbar for the Open Files list.
2007-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Fix segfault when manually editing a keybinding and selecting another
* src/vte.c:
Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.
2007-10-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Attempt to fix problem with tab close button size.
* src/keyfile.c, doc/geany.txt, doc/geany.html:
Don't overwrite hidden prefs when quitting unless they are missing.
* src/keybindings.c, src/keyfile.c, src/vte.h, doc/geany.txt,
doc/geany.html, NEWS:
Move and rename the bash shortcuts hidden preference - it's now in
geany.conf, [VTE] section, called 'enable_bash_keys'.
2007-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix scrolling bugs when searching text and the cursor
is outside of the current visible area.
Unfold search result.
* src/main.c: Also print version of Geany together with GTK/GLib
version information.
2007-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Show parent class for inner classes.
* src/notebook.c:
Use stock close image for notebook tab close buttons.
2007-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Also ignore Ctrl-L for VTE bash command.
Allow 'Switch to editor' command to override any bash commands.
Also disable the popup menu to avoid VTE bash conflicts.
* src/main.c, src/symbols.c, src/symbols.h:
Add --no-preprocessing, -P option when generating tags files to
disable preprocessing of C/C++ source files.
* doc/geany.txt, doc/geany.html, doc/, NEWS:
Add documentation for --no-preprocessing option.
* src/keybindings.c:
Add Project Properties menu accelerator.
* tagmanager/vstring.h, tagmanager/vstring.c:
Fix a possible segfault with vStringPut() - backported from CTags
5.7. This appears to fix a segfault on Windows 2000 when loading
It also adds vStringChop() - chop last character from string.
2007-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Don't load invalid window geometry data from the config file.
2007-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Add enable_vte_bash_keys keybindings.conf hidden pref in [Settings].
Refactor keybindings_init().
* src/msgwindow.c, src/document.c, src/plugins.c, NEWS:
Don't show file opened/saved/closed messages on the status bar.
Add temporary function msgwin_status_add_new() for v0.12 (to avoid
many code changes updating msgwin_status_add() before the release).
* src/utils.h, src/keyfile.c:
Fix possible conflict of 'tmp' variable name in setptr macro.
* src/build.c, NEWS:
Fix displaying error indicators with Make after entering a
2007-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix selecting text with Shift-{PageUp,PageDown} (closes #1801315).
* src/keybindings.c, src/vte.c:
Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
(Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).
2007-09-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/navqueue.c, src/navqueue.h, src/treeviews.c,
src/callbacks.c, src/symbols.c, src/symbols.h:
Fix bug when using Navigate backwards after using the keyboard to
set the cursor position on the current word.
Add symbols_goto_tag().
Replace navqueue_append() with navqueue_goto_line().
Updated for project and plugins improvements, and others.
Added wishlist items (which are unlikely to be worked on).
* plugins/export.c, src/plugindata.h, src/plugins.c:
Add ui->set_statusbar() to the plugin API.
Make plugin function msgwin->status_add() not set the statusbar - but
ui->set_statusbar() can now be used to do both with the log argument.
After Geany 0.12 this is how the core versions of those functions
will work, so the status window can be set independently.
* src/utils.c, src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/navqueue.c, src/callbacks.c, src/editor.c:
Remove pos argument from sci_get_current_line(), because
sci_get_line_from_position() can be used instead and it's clearer.
Remove unused sci_get_line_end_styled() - it's also the same as
2007-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Fix bug with 'Delete lines' when cursor is at the start of a
multi-line selection.
* src/keybindings.c, src/msgwindow.c, src/msgwindow.h:
Add msgwin_switch_tab(), msgwin_clear_tab() functions.
2007-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c:
Undo r1891 so that 'Delete lines' again includes the cursor line
even when at the start of a line - like Cut/Copy lines do.
2007-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Make 'Select lines' not include an extra line when whole lines are
Make 'Delete lines' not include an extra line when whole lines are
* src/keybindings.c, src/callbacks.c:
Make 'Duplicate lines' work for whole lines when more than one line
has a selection.
2007-09-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Save and restore the current notebook page when quitting.
2007-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.h, src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add build_info and
msgwindow->compiler_add() to the plugin API (thanks).
* src/symbols.c, tagmanager/haxe.c:
Apply code from blackdog to parse Haxe typedef tags (thanks).
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.
* tagmanager/haxe.c:
Show Haxe enum types in the symbol list.
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Add foreground colouring to messages items.
2007-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Speed up Save All for C-like files by avoiding unnecessary
recolourising after user typenames have changed.
* src/keybindings.c, src/document.c, doc/geany.txt, doc/geany.html:
Change scroll by line default keybindings to Alt-{Up, Down}.
Change Previous/Next Paragraph Scintilla commands to Ctrl-{Up, Down}.
Adding Shift extends selection by paragraph.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add Find keybinding (re-uses existing string).
Group search-related callbacks together.
Docs: Add table headings to group related keybindings together.
* src/keybindings.c:
Make some keybinding titles use existing string capitalization.
* src/images.c:
Apply patch from Christoph Berg to update main window icon and
About dialog icon (thanks).
2007-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h:
Fix return type for document->open_file().
(Tidy up field name indentation).
* doc/geany.txt, doc/geany.html:
Apply patch from John Gabriele for an overview in the Tags section
(Format paragraph with fmt -w72).
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
Allow autocompletion on a line with trailing whitespace.
Add auto_complete_whilst_editing hidden preference.
* src/ui_utils.h, src/callbacks.c, src/main.c, src/ui_utils.c:
Make Toggle Case use the current word if there's no selection.
Make Toggle Case keep an existing selection.
Rename ui_widgets.popup_items to popup_copy_items.
* doc/geany.txt, doc/geany.html:
Edit how to manually edit geany.conf hidden prefs.
* src/win32.c, src/about.c, src/ui_utils.c:
Use G_N_ELEMENTS(arr) instead of sizeof(arr) / sizeof(arr[0]).
Correct prev_translators email address.
2007-09-11 Enrico Tröger <>
* src/callbacks.c: HTML manual is called Manual.html on Windows, so
open this file.
2007-09-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, plugins/classbuilder.c, src/utils.c, src/win32.c,
src/utils.h, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
src/keyfile.c, src/document.c, src/plugins.c, src/document.h,
src/main.c, src/socket.c, src/ui_utils.c:
Neaten up the plugin API:
Make document_open_file() now wrap document_open_file_full(),
without the idx for reloading or pos arguments.
Replace str_replace() with string_replace_all() in the plugin API.
Add utils_string_replace_all(), taking a GString argument.
* src/plugindata.h, src/document.c, src/plugins.c, src/document.h:
Add reload_file() document function to the plugin API.
2007-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, pixmaps/geany.ico, pixmaps/geany.png:
Replace Geany's icon by a new one by Sebastian Kraft (thanks).
* plugins/ Add makefile.win32 to EXTRA_DIST files.
* plugins/export.c, src/plugins.c, src/plugindata.h:
Remove get_zoom from plugin API.
2007-09-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/callbacks.c: Change quotes in some error messages to
be more consistent (thanks Frank).
* doc/geany.txt: Add notice about code navigation history.
* src/geany.nsi:
Install symbol list icons with the installer.
Use Geany's icon for the installer.
2007-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.txt, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/utils.c, src/utils.h, src/ui_utils.h:
Remove convert to lower-/upper-case keybindings.
Add toggle case keybinding and change shortcut to Ctrl-Alt-U.
* src/about.c: Improved error message if license text could not be
found (thanks Frank).
2007-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Move document left' and 'Move document right' keybindings.
Make fixed keybindings overridable.
Add fixed keybindings for switching to leftmost/rightmost document,
Docs: Add 'Switching documents' keybindings section.
* src/interface.c, src/prefs.c,
Replace 'Use tabs...' preference checkbox with Tabs, Spaces radio
buttons (should be a bit clearer).
* doc/geany.txt, doc/geany.html:
Minor update of Preferences dialog section.
2007-09-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix missing syntax colouring when saving new files.
* src/document.c, src/keybindings.c, src/keybindings.h:
Make keybinding for scrolling by one line changeable.
* src/prefs.c: Store the index of a keybinding in the treeview store
to fix problems getting the correct index when editing
a cell of the treeview.
2007-09-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/document.c:
Rewrite document_find_by_filename() to work when the filename
argument contains relative path elements or symlinks.
2007-09-03 Enrico Tröger <>
* src/makefile.win32, src/ui_utils.c, src/win32.c,
Sort list of files to build on Windows.
Add geanyobject.c to the list of files to build on Windows.
Fix some warnings and build errors on Windows.
2007-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Set copy lines default KB to Ctrl-Shift-C.
Set cut lines default KB to Ctrl-Shift-X.
* plugins/classbuilder.c, src/templates.c, src/keybindings.c,
src/plugindata.h, src/callbacks.c, src/document.c, src/document.h,
src/main.c, src/socket.c:
Add text argument for document_new_file(), so that it's independent
from filetype templates.
Make File->New create a blank document, rather than using the None
filetype template.
Add None option for the 'New with Template' menu commands.
* src/interface.c,
Move 'Insert #include' menu item below other insert menu items.
2007-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html,
Include \n\r newline chars in Scintilla whitespace chars.
* data/filetypes.common:
Undo last commit, because it makes selecting text with the mouse
include all trailing lines with no wordchars on them.
2007-08-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c,
Change 'Goto' to 'Go to' everywhere.
* doc/geany.txt, doc/geany.html:
Add Plugins section, describe using a second instance to edit
geany.conf in 'Hidden preferences' appendix.
* src/keybindings.c:
Rename non-menu keybinding titles, e.g. Tags menu -> Tags commands.
* src/keybindings.c:
Fix Ctrl-Shift bindings not working when caps lock is on.
* src/treeviews.c:
Only focus the current document after switching pages if the open
files treeview currently has focus (otherwise focus commands can be
overridden, e.g. when pressing F4 during opening several files).
* src/editor.c:
Prevent calltip after typing '(' when in a comment or string.
Allow forced autocompletion in a comment or string.
2007-08-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
Add 'Current chars' indentation mode, rename 'Advanced' indentation
to 'Match braces' (closes #1726880).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.
* doc/geany.txt, doc/geany.html:
Added 'Inserting unicode characters' Editing section, adapted from
a patch by John Gabriele (thanks).
* plugins/
Don't install Demo plugin.
2007-08-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Group settings in load_dialog_prefs() by dialog tab.
* src/keyfile.c, src/document.c, src/editor.h, doc/geany.txt,
Add hidden editor preference 'use_gtk_word_boundaries'.
Add docs appendix 'Hidden preferences'.
Add more complete information for adding a filetype.
2007-08-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/keybindings.c, src/main.c:
Remove useless callback wrapper function.
2007-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c,
Add Prefs dialog 'Editor tabs' frame in Interface tab and group
related preferences.
Change some table spacing to multiples of 3.
Rename Misc., Behaviour -> Miscellaneous.
* src/plugindata.h:
Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
* src/keyfile.c:
Group prefs in order for save_dialog_prefs().
* src/keyfile.c:
Refactor configuration_load().
2007-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, plugins/classbuilder.c, plugins/demoplugin.c,
plugins/export.c, plugins/htmlchars.c, src/interface.c,
src/keyfile.c, src/notebook.c, src/plugindata.c, src/prefs.c,
Add version to plugin info fields and two other fields for future
Add option to show/hide the small crosses on each file tab
(closes #1757680).
2007-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Fix saving the wrong document when using Save All with unnamed
* src/utils.c, src/highlighting.c, src/sciwrappers.c, src/document.c,
Fix wrong brace formatting.
* src/about.c, src/callbacks.c, src/keyfile.c, src/editor.c:
Fix wrong // comment spacing.
* src/keyfile.c:
Refactor configuration_save() to group new struct settings together.
Move 'Enable plugin support' keyfile pref to the 'geany' group.
* src/prefs.c, src/prefs.h, src/plugindata.h, src/callbacks.c,
src/keyfile.c, src/document.c, src/document.h, src/main.c,
src/editor.h, src/ui_utils.c:
Move file-related fields from EditorPrefs -> GeanyPrefs.
Rename line_breaking -> line_wrapping for EditorPrefs and document.
2007-08-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix invalid filetype setting when using Save All and
files with filetype None (thanks to Omair Eshkenazi
for reporting).
2007-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, src/templates.c, src/build.c, src/utils.c,
src/ui_utils.h, src/build.h, src/utils.h, src/highlighting.c,
src/keybindings.c, src/tools.c, src/prefs.c, src/dialogs.c,
src/prefs.h, src/navqueue.c, src/plugindata.h, src/geany.h,
src/treeviews.c, src/msgwindow.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/keyfile.c, src/vte.c, src/search.c,
src/document.c, src/plugins.c, src/main.c, src/editor.c,
src/symbols.c, src/main.h, src/editor.h, src/ui_utils.c:
Rename MyApp -> GeanyApp.
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
Apply patch from blackdog to add "document-activate" plugin signal,
which is sent when switching notebook pages (thanks).
2007-08-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c:
Fix some minor LaTeX code errors.
Add generation date to HTML header and as comment in the generated
LaTeX code.
2007-08-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.h: Remove unused struct.
2007-08-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c, plugins/, plugins/makefile.win32,
po/, src/plugins.c, src/plugindata.h:
New plugin: Export as HTML and LaTeX.
Add some functions to the plugin API needed by the Export plugin.
* src/utils.c: Include error code string in the debug message if a file
could not be written.
2007-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
that use signals when quitting (thanks).
* tagmanager/get.c:
Fix parsing C macro argument list.
2007-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c:
Apply patch from Jon Senior to fix parsing Apache Ant compiler
error messages (thanks).
* src/interface.c, src/prefs.c, src/keyfile.c, src/main.c, src/main.h,
Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.
* scintilla/include/Scintilla.h, scintilla/Editor.cxx,
scintilla/ScintillaGTK.cxx, src/document.c, doc/geany.txt:
Use sci_assign_cmdkey() to set GtkEntry-like word boundary handling.
Clear unnecessary default Scintilla Ctrl-D duplicate keybinding.
Add SCI_DELWORDRIGHTEND command (patch sent to Scintilla ML).
Remove previous ScintillaGTK::KeyCommand override.
* src/symbols.c:
Fix symbol list sort by appearance order for e.g. geany.txt.
2007-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/PositionCache.cxx:
Apply patch from Scintilla ML to fix problems with selections
including the first and second character of a line.
2007-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/symbols.h, src/treeviews.c:
Add menu items for different sorting of the symbol list to the symbol
list popup menu.
2007-08-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.
* src/plugins.c:
Disconnect plugin callback signals when unloading plugins, to prevent
a segfault when emitting signals.
* src/templates.c, src/build.c, src/utils.c,
src/keybindings.c, src/highlighting.h, src/sciwrappers.h,
src/dialogs.c, src/geany.h, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/filetypes.h, src/document.c,
src/plugins.c, src/document.h, src/main.c, src/editor.c,
src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c
Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
* src/msgwindow.c:
Add support for Java Apache Ant compiler error messages.
2007-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/symbols.c,
tagmanager/parsers.h, tagmanager/makefile.win32, tagmanager/rest.c,
Add reStructuredText filetype and parser.
* src/filetypes.c, src/filetypes.h:
Sort filetype groups alphabetically.
* src/keyfile.c, src/filetypes.c, data/filetype_extensions.conf:
Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.
* src/filetypes.c:
Rewrite filetypes_get_from_uid() for easier maintenance.
Add more information for adding a filetype.
2 minor edits.
* src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add document_save_file() to the plugin
API (thanks).
Add document_open_file() to plugin API.
2007-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c: Increase border space in credits tab and align developer
names left.
* src/keyfile.c: Fix wrong debug message if a session file couldn't be
2007-08-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.freebasic: Add many keywordsGeanyObjectPrivate
(patch by Arthur Skowronek, thanks).
* geanyobject.c: Fix a runtime warning.
* doc/, doc/geany.txt, doc/geany.html:
Don't use output redirection since the reST tools accept output
Apply patch from John Gabriele to add some tweaks/fixes (thanks).
2007-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Make 'Delete current line' and 'Select current line' work for all
lines that have a selection.
Implement 'Copy current line'.
* doc/geany.txt, doc/geany.html:
Update selected line(s) keybindings.
* src/plugindata.h:
Tidy up struct typedefs.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/document.c, src/plugins.c, src/main.c, src/
Add plugin symbol geany_callbacks (see plugindata.h for details).
Add GeanyObject type with "document-new", "document-open",
"document-save" signals.
2007-08-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c: Fix parsing classes with modifiers like 'final'.
2007-08-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/classbuilder.c:
Fix missing GTypeInfo field initializer when generating
'objectname'_get_type() for GObject classes.
* doc/geany.txt, doc/geany.html:
Move 'About this document' section to end of Introduction.
Update 'Contributing to this document' section.
* doc/
Update for -g and -p options.
* data/autocomplete.conf:
Add %cursor% for default 'else' completion.
Add space before while for 'do' completion.
* src/keybindings.c:
Prevent warning when trying to focus non-existent VTE.
2007-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/*, doc/html/*:
Remove all docbook related files and use reST to generate the
documentation. Thanks to John Gabriele for his great work on
converting from docbook to the reST format.
2007-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/python.c:
Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.
2007-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/geany.h, src/interface.c, src/keyfile.c,
src/msgwindow.c, src/prefs.c, src/ui_utils.c:
Add option to suppress messages in the status bar.
* src/dialogs.c: Use UTF-8 filename in Save As dialog when setting
non-existing filename.
2007-08-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Fix error in "make install" caused by old automake
versions and intltool.
* src/plugins.c: Prevent loading the same plugin in different paths.
2007-08-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, src/editor.h, HACKING:
Add filetypes, editor_prefs fields to plugin API.
Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
to the plugin API (thanks).
Increment plugin ABI version.
2007-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/ Removed.
* src/symbols.c:
Fix crash when saving a file after setting encoding "None".
2007-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/tools.c, src/sciwrappers.c, src/callbacks.c, src/search.c:
Add allocation for NULL-terminated selection ends.
2007-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx, scintilla/
Backport of LexHTML from Scintilla CVS to fix #1759166.
Disable debug build of Scintilla and use -Os.
* src/about.c: Rework credits page to fix some display issues.
2007-07-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/editor.h, src/keybindings.c:
Rename editor_auto_forif() in editor_auto_complete().
Allow using auto completion in PHP files outside of the PHP tags,
generally in comments, for news files without filetype and on
non-empty lines.
* src/, src/plugins.c:
Only show the separator between built-in Tools menu items and plugins
if there are any plugins.
Load plugins in ~/.geany/plugins/ prior to the default location.
* src/symbols.c: Hide empty symbol types in the symbol list.
* makefile.win32, win32-config.h, plugins/makefile.win32,
src/plugins.c: Make plugins working and compiling on Windows.
2007-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/htmlchars.c, plugins/classbuilder.c,
src/plugindata.h, src/plugins.c:
Add GeanyData* geany_data symbol for plugins so they don't have to
keep a copy of the init() argument.
Rename PluginData GeanyData (but use a typedef for backward
Update plugins to use newer API symbols.
* src/utils.c, src/utils.h, src/tools.c, src/tools.h, src/dialogs.c,
src/callbacks.c, src/callbacks.h:
Move Color Chooser and Word Count tools to tools.c.
* src/plugins.c:
Add separator between built-in Tools menu items and plugins.
* src/interface.c, src/keybindings.c,
Use AE spelling of 'color'.
2007-07-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Ignore whitespace_chars for Haxe.
* src/plugins.c:
Use a single PluginData struct for all plugins.
2007-07-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, data/filetype_extensions.conf, data/filetypes.haxe,
tagmanager/haxe.c, tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/, src/templates.c, src/highlighting.c,
src/highlighting.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/symbols.c:
Add filetype Haxe (patch by blackdog, thank you).
* ChangeLog, po/ChangeLog, README: Change format of email addresses.
2007-07-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* po/
Translate the HTML Characters plugin.
* src/main.c:
Set app->debug_mode when GEANY_DEBUG is defined.
* plugins/htmlchars.c, src/plugindata.h, src/plugins.c:
Don't destroy plugin_fields->menu_item automatically - plugin_fields
should be owned by the plugin, so the plugin is responsible for
destroying it, and any other memory it allocated.
Print a warning message in debug mode if a plugin has no cleanup()
2007-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix wrong selection handling when using Color Chooser.
2007-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add plugin functions for getting
a file list and modifying scintilla text selections (thanks).
* src/document.c:
Fix hang when replacing all '[ ]*' regex matches (closes #1757748).
2007-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/, icons/, plugins/,
scintilla/include/, src/
Fix make distcheck.
2007-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/htmlchars.c, plugins/, src/interface.c,
src/keybindings.c, src/tools.c, src/tools.h, src/plugindata.h,
src/callbacks.c, src/callbacks.h, src/plugins.c, src/plugins.h,
src/ui_utils.c, HACKING,
Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.
* plugins/htmlchars.c:
Fix warning.
2007-07-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c: Adjust symbol list icon path on Windows.
2007-07-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/treeviews.c, src/treeviews.h, src/utils.c,
Extend icon search path to get symbol list icons working when using
a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().
* data/filetypes.common: Clarified description of white_space setting.
2007-07-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS,po/LINGUAS,po/en_GB.po:
Added British English translation (Thanks to Jeff Bailes).
2007-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/geany.h, src/callbacks.c, src/document.c,
src/main.c, src/ui_utils.c:
Rename ui_close_buttons_toggle() ui_document_buttons_update().
Move app->sensitive_buttons to ui_utils.c for easier maintenance,
rename to document_buttons.
*, src/treeviews.c, src/treeviews.h,
src/symbols.c, THANKS,, icons, icons/16x16,
icons/16x16/classviewer-member.png, icons/16x16/classviewer-var.png,
icons/16x16/classviewer-method.png, icons/16x16/,
icons/16x16/classviewer-macro.png, icons/16x16/classviewer-other.png,
icons/16x16/classviewer-class.png, icons/
Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.
2007-07-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when clicking on symbol list parent items.
* src/geany.h, src/filetypes.c, src/filetypes.h, src/main.c:
Use extern 'app' and 'filetypes' global variables in headers, so that
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.
2007-07-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix gcc warning, add comment for editor_scroll_to_line().
* src/navqueue.c:
Fix possible segfault when a file is closed and using go forward.
Fix 2 possible memory leaks when files have been closed.
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h,
Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.
2007-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c, src/callbacks.h, src/document.c,
Move font & file open/save dialog callbacks to dialogs.c.
Add document_clone() in document.c (for Save As open in new tab).
* src/utils.c, src/navqueue.c, src/navqueue.h, src/treeviews.c:
Add a navigation queue position when clicking on symbol list items.
Prevent duplicates in the navigation queue.
Add navqueue_append() which adds the current document position to the
queue before adding the new position.
2007-07-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Improve selection handling when decreasing indent by one space.
Avoid using SCI_DELETEBACK for simple text removal.
Fix a typo in is_doc_comment_char().
* src/callbacks.c, src/ui_utils.c, src/utils.c:
Fix warnings about shadowing local variables.
*, src/interface.c: Fix typo.
*,,, po/,
Add --disable-deprecated option to configure to build without
deprecated GLib and GTK code.
Use intltool to make geany.desktop translatable
Rename to
Add in po/ to get translation status from msgfmt
when running make.
* src/win32.c: Fix creation of wrong hex colours when inserting colours
from the colour chooser dialog.
* tagmanager/ctags.c, tagmanager/entry.c, tagmanager/tm_source_file.c,
tagmanager/strlist.c, tagmanager/tm_project.c, tagmanager/sort.c,
tagmanager/tm_work_object.c, tagmanager/read.c, tagmanager/regex.c,
tagmanager/tm_workspace.c, tagmanager/parse.c,
tagmanager/tm_file_entry.c, src/build.c, src/document.c, src/utils.c:
Always use g_fopen() and g_stat() instead of fopen() and stat() to
fix several problems with filenames containing special characters on
Use GetFullPathName() instead of lrealpath() to get Tagmanager
working on files containing special characters on Windows.
* Fix broken configure when using autoconf < 2.60.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
Add keybinding for scroll to current line.
2007-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Fix possible selection errors on commenting multiple lines when using
CR/LF line endings.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
Add keybindings for smart indent and indent/deindent by one space.
Fix failing linking on some systems (needs to be solved cleanly).
2007-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Use Rename button instead of checkbox for Save As dialog.
Add tooltips for Save As dialog's other options.
* src/callbacks.c:
Fix segfault (oops).
2007-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when closing files when Geany is busy (e.g. pressing
Ctrl-W when opening files).
* src/main.c:
If -i, --new-instance options are passed, disable loading & saving of
session files.
* src/plugins.c:
Remove init_function_pointers(), use static initializers.
* plugins/classbuilder.c, src/plugindata.h, src/plugins.c:
Make Class Builder 'Create Class' dialog use Glade-style frames and
remove some unnecessary border width.
Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
functions to the plugin API.
* src/ui_utils.h, src/utils.h, src/project.c, src/geany.h,
Add ui_table_add_row() for easily adding widgets to a GtkTable, and
use it in project_new().
Group 'generic' functions related to GTK+ together at the top of
Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.
2007-07-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Use again the usual, previous way of line scrolling and use
SCI_SETXCARETPOLICY for horizontal scrolling.
* src/filetypes.c:
Add shebang-like detection for PHP files starting with "<?php".
2007-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Make Escape close the 'Grab Key' dialog.
* src/keybindings.c, src/tools.c, src/dialogs.c, src/search.c
Capitalize some dialog titles.
* src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).
2007-07-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS,, plugins/, scintilla/,
src/, tagmanager/
Apply patch from Shiv to make build system more compatible with other
compilers than gcc.
* src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h:
Experimental change of scrolling to get horizontal scrolling working.
* src/callbacks.c, src/search.c, src/search.h:
Also change background colour of search bar when using find
next/previous after using the search bar.
2007-07-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Add custom wordchars and whitespace_chars support for Python & Ruby.
Group setting lexer, wordchars, autocompletion height together in
* src/interface.c, src/prefs.c,
Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.
2007-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h:
Change name of XML filetype to "XML document".
Add sub menus to "Set Filetype" menu.
* src/editor.c: Always show calltip for PHP files.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Use a TreeView for keybinding list in the preferences dialog and add
descriptive sections for better usability.
* src/keybindings.c: Use Ctrl-B for Goto matching brace.
* src/symbols.c, tagmanager/php.c:
Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.
* src/treeviews.c: Focus the editor widget after switching between
files with the open files list.
* src/callbacks.c, src/document.c, src/document.h:
Change the background colour of the search bar in the toolbar
according to the search result.
2007-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Fix missing descriptive text in message box when
closing an unsaved file on Windows.
2007-07-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Include new line character(s) when selecting a paragraph.
* doc/geany.docbook, src/document.c, src/editor.c, src/editor.h,
src/keybindings.c, src/keybindings.h:
Add keybinding for Select, Transpose, Cut, Copy and Delete line.
* src/keybindings.c: Change default shortcut for Find Next/Previous to
Ctrl-G and Ctrl-Shift-G.
* src/editor.c, src/geany.h:
Use an extra space after comment toggle mark.
Also comment blank lines when using toggle comment.
Also comment already commented lines when using toggle comment.
Fix some selection issues when using toggle comment.
2007-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaGTK.cxx, src/highlighting.c, doc/geany.docbook,
Make Scintilla's move to word commands use the word end boundaries
when moving to the right (like e.g. GtkEntry).
Treat punctuation chars as whitespace.
Add filetypes.common setting: whitespace_chars.
* src/highlighting.c, data/filetypes.python:
Add decorator (and word2) styling for Python.
* src/interface.c, src/prefs.c,
Move Context Action command to Tools tab, group with Print command.
2007-07-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
src/keybindings.h: Add keybinding for select current paragraph.
* doc/geany.docbook, src/callbacks.c, src/dialogs.c, src/document.c:
Use the default GTK file save dialog on Windows.
Prevent some (probably) unnecessary filename encoding conversions.
2007-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fix usage of wrong dialog pointer.
* src/callbacks.c, src/editor.c, src/editor.h, src/geany.h,
Change comment toggle shortcut to Ctrl-E, undefine shortcuts for
Improve some selection issues when using comment/uncomment.
Improve comment toggling by adding an additional character to mark.
2007-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, doc/geany.docbook:
Add -p, --no-plugins options to disable plugin support.
* src/main.c:
Capitalize first letter of command-line argument descriptions.
2007-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.docbook, src/interface.c, src/keybindings.c,
Change Help shortcut to F1, use Ctrl-H for Replace.
* src/callbacks.c, src/dialogs.c, src/dialogs.h, src/document.c,
src/document.h, src/editor.c, src/project.c, src/search.c,
src/utils.c, src/win32.c, src/win32.h:
Fix focus problem when using the Find dialog.
* src/socket.c: Use a unique mutex name on Windows to be able to load
multiple instances like on non-Windows systems.
2007-07-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h:
Add comment for utils_free_pointers() warning not to use it if any
pointers may be NULL.
* plugins/, plugins/classbuilder.c, src/templates.c,
src/interface.c, src/templates.h, src/tools.c, src/tools.h,
src/plugindata.h, src/callbacks.c, src/callbacks.h, src/plugins.c,
Make Class Builder into a plugin.
Add some function pointers to the plugin API (for the class builder).
Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
potentially get unresolved symbols at runtime, causing a segfault.
Capitalize 2 menu item labels.
* plugins/classbuilder.c:
Make Class Builder dialog close when pressing escape.
* src/symbols.c:
Create $configdir/tags directory if it doesn't exist when loading
global tags.
2007-07-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/conf.c:
Parse also sections in configuration files.
Allow whitespace in keys and section names.
* scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexConf.cxx, scintilla/
Remove unused LexConf.cxx.
* scintilla/LexOthers.cxx:
Highlight also space separated key value pairs.
* src/win32.c:
Fix crash when trying to open the Save As dialog on Windows.
2007-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Set also previous colour when setting the colour for the dialog.
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and
remove compiler warning.
* src/search.c: Improve many mnemonics in the Search, Find in Files and
Replace dialogs.
2007-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/document.c:
Fix hang with Find All/Usage with regex '^' or '$'.
Fix replacing '^' or '$' regexes.
Use double quotes for search strings.
2007-06-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add palette to Colour Chooser Dialog.
Fix picking colours starting with '#'.
Replace existing selection with chosen colour.
* src/callbacks.c, src/document.c, src/document.h, src/sciwrappers.c,
src/sciwrappers.h, src/win32.c:
Change signature of sci_replace_sel() to take a const gchar*.
Move code to insert a colour to document.c
Let the code also work on Windows (untested).
2007-06-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, src/plugindata.h, src/plugins.c:
Move plugin name and description into a separate struct, which is set
by calling the PLUGIN_INFO() macro - this can be read before the
plugin is initialized.
Added more comments for plugin authors.
2007-06-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/,,
src/makefile.win32, src/plugindata.h, src/plugins.c, src/main.c,
src/plugins.h, src/, win32-config.h, HACKING,,
Added very basic plugin support - any plugins found in
$prefix/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.
2007-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/document.c, src/editor.h, src/interface.c,
src/keyfile.c, src/prefs.c:
Add option to set a default encoding when opening files and disable
auto detection of the file encoding.
* geany.nsi: Change file encoding from ISO-8859-1 to UTF-8.
*, plugins/, scintilla/,
src/, tagmanager/
Change label of GTK check in from PACKAGE to GTK
(only cosmetic).
2007-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Use setlocale to enable translation of strings before
GLib command line parser gets active.
2007-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi: Fix wrong working directory in generated shortcuts.
2007-06-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c: Merge recent changes from CTags SVN.
*, src/interface.c:
Apply patch from Gabor Kmetyko to improve wording (thanks).
2007-06-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Use get.c and get.h from CTags SVN.
Merged CSharp parser support into from CTags SVN.
* data/filetype_extensions.conf, data/filetypes.cs,
data/filetypes.freebasic, scintilla/KeyWords.cxx,
scintilla/LexBasic.cxx, scintilla/, src/editor.c,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/msgwindow.c,
src/templates.c, tagmanager/basic.c, tagmanager/,
tagmanager/makefile.win32, tagmanager/parsers.h:
Add new filetypes CSharp and FreeBasic.
2007-06-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Prevent segfault when using Goto Tag from an untitled file.
2007-06-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Added 'About this file' and links for some Windows developer tools.
Added notes on adding a source file to src/ and brief notes on adding
a filetype.
* src/build.c:
Hopefully fix gtk_widget_set_sensitive assertion failed warning on
2007-06-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*, scintilla/include/*: Updated Scintilla to version 1.74.
* src/editor.c: Fix mem leak in auto completion and prevent completion
of words with trailing spaces.
2007-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/tools.c: Apply patch from Alexander Rodin to
improve the class builder code(thanks).
*, TODO, data/autocomplete.conf, doc/,
doc/geany.docbook, src/editor.c, src/editor.h, src/keyfile.c,
src/keyfile.h, src/main.c:
Add new command line option --ft-names to get a list of supported
filetype names.
Complete rewrite of auto completion to make it user-definable and
much more flexible.
2007-06-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c: Update of about dialog.
* THANKS: Added Spanish translator Nacho Cabanes.
2007-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/tools.c: Fix spelling of GTK.
* src/tools.c:
Fix bug when reopening the Insert special characters dialog after it
was closed by a delete event.
Fix creation of class files with an empty name and some code
* src/utils.c: Fix sanity checks in utils_str_replace().
* src/tools.c:
Fix several memleaks.
Avoid using broken functions g_strdown() and g_strup().
Only create header and source files if filename is not empty.
2007-06-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/tools.c: Fixed a small typo.
2007-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Avoid creation of unwanted undo action when opening
a saved-as file in a new tab.
2007-06-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/interface.c, src/templates.h, src/tools.c,
src/tools.h, src/callbacks.c, src/callbacks.h,, THANKS:
Apply class builder patch from Alexander Rodin (thanks).
2007-06-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c:
Use g_io_channel_win32_new_fd() as recommended in GLib docs for
utils_set_up_io_channel() on Windows. (Unlikely to change behaviour
* src/callbacks.c:
Fix segfault when attempting to rename a new file from the Save As
2007-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add "Open file in a new tab" and "Rename file" to the "Save as"
dialog for more control over saved file.
2007-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/sciwrappers.c, src/sciwrappers.h, src/prefs.c,
src/callbacks.c, src/callbacks.h, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/editor.c, src/editor.h,
Rename some menubar widget names.
Use indentation spelling in variable names.
2007-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/callbacks.h, src/document.c,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/vte.c: Add auto focus (to auto focus widgets below mouse cursor).
2007-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: Prevent double jump to line when clicking on a
symbol list item.
* src/build.c: Hide Next Error menu item and unnecessary separator from
build menu on Windows.
* src/callbacks.c: Fix broken help menu item on Windows.
* src/utils.c: Add additional directory separator to generated READMEs.
2007-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/document.c:
Apply patch from François Cami and Guillaume Duviol to improve
replacement of tabs by spaces (thank you).
* src/templates.c: Change PHP short open tag to the full open tag.
* src/document.c: Prevent hang if searching for a regular expression
fails (closes #1733676).
2007-06-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Added new translator Adrovane Marques Kade.
2007-06-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Add rpl_malloc() for better compatibility with non-GNU
systems (thanks to Harri Koskinen for reporting).
* po/ Add navqueue.c.
* po/ Add revision time to the output.
* src/callbacks.c, src/callbacks.h:
Remove unneeded functions destroyapp and on_window_configure_event.
* src/keyfile.c, src/main.c:
Re-maximize the main window on startup when closed in maximized state
(closes #1730369).
* src/geany.h, src/keyfile.c, src/main.c:
Improve code to avoid hiding the messages window
(caused by last commit).
* tagmanager/sort.c, tagmanager/tm_workspace.c:
Replace malloc() by g_malloc().
2007-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybindings for forward/back code navigation.
* src/navqueue.c, src/navqueue.h:
Add Id SVN keyword and short file description.
2007-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keyfile.c, src/main.c, src/,
src/navqueue.h, src/navqueue.c, src/prefs.c, src/ui_utils.c:
Apply patch from Dave Moore to add simple code navigation
(thank you).
2007-05-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c: Add Haskell to make_comment_block().
2007-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
src/prefs.c, src/geany.h, src/callbacks.c, src/keyfile.c,
src/document.c, src/main.c, src/editor.c, src/editor.h,
Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.
2007-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Remove app_small entity.
Add description for global configuration file.
2007-05-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/document.c, src/ui_utils.c:
Show current project name in window title.
*, src/
Force debug mode for a SVN working copy.
* src/highlighting.c, src/keybindings.c, src/makefile.win32,
src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/search.c,
src/document.c, src/main.c, src/editor.c, src/,
src/editor.h, po/
Rename sci_cb.[hc] editor.[hc].
2007-05-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/filetypes.c, src/filetypes.h, src/document.c:
Replace filetype::has_tags member with filetype_has_tags().
Add note about Adding a TagManager parser.
2007-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c: Ignore case of filename extensions on Windows.
* src/ui_utils.c: Add missing header file.
* src/keyfile.c:
Use current locale as default encoding for new files.
Don't keep comments in configuration file to work around a bug in
newer GLib versions.
If config file doesn't exist, try to load a global one from
* src/utils.c:
Don't create an empty geany.conf as write test, use access() instead.
2007-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c, tagmanager/sh.c:
Add *.ash and *.bash as filetype entensions for filetype SH.
Add ash and wish to the shebang patterns.
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/main.c, src/ui_utils.c:
Improve sensitivity of recent files sub menus.
* src/filetypes.c: Add shebang-like detection for XML files.
2007-05-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Comment out stopping make process.
Remove note about editing build commands manually.
* src/build.c, doc/geany.docbook:
Add support for %e, %f in project run command.
* src/about.c:
Show SVN revision as '>=' because 'svn up' may not have caused a
re-run of configure.
Show build date as 'on or after' compilation of about.o.
2007-05-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h:
Add setptr() macro to free data and reassign to the same pointer.
* src/build.c:
Use get_build_executable() in prepare_run_script().
2007-05-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix loading of UTF-16/32 encoded files with a BOM.
2007-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Add popup menu item: Change current working directory.
*, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c:
Add default startup directory option (closes #1704988).
* tagmanager/ruby.c, tagmanager/strlist.c, tagmanager/strlist.h:
Backport changes from CTags SVN to fix parse problems in the Ruby
* data/filetype_extensions.conf, src/filetypes.c:
Add filetype extension "*.ruby".
* scintilla/ScintillaGTK.cxx:
Fix wrong target list for PRIMARY clipboard.
2007-05-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
tagmanager/makefile.win32, tagmanager/haskell.c,
Add Haskell tags support from CTags patch on written by Peter
Strand (thanks).
* src/symbols.c:
Use tag_list_add_groups() in init_tag_list().
2007-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/read.c, tagmanager/read.h, tagmanager/get.h:
Move C-only isident(), isident1() functions to get.h.
2007-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, geany_private.rc, win32-config.h, doc/,
doc/geany.docbook, doc/geany.txt, doc/images/*, doc/html/*:
Updated for Geany 0.11.
* New release: Geany 0.11 "Bandor".
*, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2007-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, po/LINGUAS, po/bg.po:
Added Bulgarian translation (Thanks to Dilyan Rusev).
2007-05-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Fix bug when loading custom filetypes.common styles.
* src/sci_cb.c:
Add workaround for PHP/TCL closing brace de-indenting.
2007-05-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.common:
Show fold line by default (so it's clearer there are hidden lines).
2007-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx:
Fixed wrong clipboard target (closes #1711483).
* doc/geany.docbook, src/callbacks.c:
Hide notebooks tabs instead of sidebar when toggling additional
* doc/geany.docbook, src/about.c, src/build.c, src/dialogs.c,
src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
src/ui_utils.c: Added many widget names to different dialogs for use
with custom styles. Menu items still don't work.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Applied patch from Michal Kurgan to disable separately use of global
white space foreground and background colours (thanks).
2007-05-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Add some menu separators to group filetype menu items.
Reorder Haskell, O-Matrix, VHDL filetypes.
* src/document.c:
Fix removing indent spaces after switching back to tab indenting.
* scintilla/LexHTML.cxx:
Hopefully fix #1718532 - 'Crashes when open a special file';
backported from Scintilla 1.73.
2007-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/sql.c:
Fix #1717418, Hang on SQL file load.
2007-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/search.c:
Move search_get_file_list() to utils.c.
* src/highlighting.c, src/highlighting.h, src/symbols.c:
Load global tag files stored in ~/.geany/tags when needed.
* doc/geany.docbook:
Update docs for loading user tags at startup.
* doc/geany.docbook:
Rename 'confdialog' to 'prefs'.
Move compile time options section into an appendix (most users
shouldn't change these options).
* src/highlighting.c:
Prevent double loading of common styles when filetype none is used
before other filetypes.
Replace init_styles() with direct initialization of style_sets.
* src/ui_utils.h, src/project.c, src/search.c, src/ui_utils.c:
Use open folder dialog for project base path instead of create folder
dialog (better for choosing existing directories, and can still
create new folders).
Add optional title parameter for open dialog with ui_path_box_new()
and ui_setup_open_button_callback().
Use Windows folder dialog in ui_path_box_open_clicked().
* src/utils.c:
Wrap notebook pages when switching tabs.
* src/utils.c:
Fix bug when directory doesn't exist in utils_get_file_list().
2007-05-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/global.tags:
Update C global tags for GTK+ 2.10 and it's dependencies.
2007-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make backspace unindent when using spaces for indentation.
2007-05-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Fix auto-indentation when the filetype is not set.
2007-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_line_indentation() and sci_set_line_indentation().
* src/callbacks.c: Fixed broken increase/decrease indentation when
using only spaces for indentation.
2007-05-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell: Added build instructions.
* geany.nsi: Prevent installation in a directory without proper
write permissions under Windows.
Display an error message instead.
2007-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell, scintilla/KeyWords.cxx,
scintilla/LexHaskell.cxx, scintilla/,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/sci_cb.c, THANKS:
Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
*, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h:
Added menu item to hide or show all additional widgets and renamed
keybinding to menu_toggleall.
2007-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Make marker and matching brace keybindings global.
(Also indent some case statement bodies).
* src/sci_cb.c:
Add brace indenting support for Perl and TCL.
2007-05-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Applied patch from John Gabriele which adds some
text to the preferences section, thanks.
2007-05-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/main.c, src/prefs.c:
Set widget names for the main widgets to allow users to define custom
styles in .gtkrc-2.0.
* doc/geany.docbook, src/keybindings.c, src/keybindings.h, src/prefs.c,
src/ui_utils.c, src/ui_utils.h:
Added keybinding to show and hide all additional widgets(statusbar,
toolbar, sidebar and messages window).
2007-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Add keybinding to show project properties dialog.
* src/keybindings.c:
Merge file menu keybinding callbacks into cb_func_file_action().
2007-05-02 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Update of e-mail of Jean-Philippe Moal.
2007-05-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.gladep:
Don't regenerate the support.[hc] files, to prevent unnecessary
rebuilding of files dependent on support.h.
* src/project.c:
Hide the unused File Patterns field in the project properties dialog.
* src/build.c, src/project.c:
Allow run for any file (with a path) when a valid project run command
is set.
* src/project.c:
Allow a blank project base path to use the default Make All command.
Update the 'project already open' & 'base path not found' dialogs.
2007-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Use g_printerr (if necessary) when generating global tags to convert
UTF-8 automatically; mark error messages for translation.
* src/search.c:
Allow replacing identical text if case sensitive is not checked.
* src/document.c:
Fix reloading of read-only documents.
* src/document.c:
Make replace all commands report no matches for read-only documents.
* src/search.c:
Switch to status window when using Replace In Session to show which
documents had replacements made.
* src/search.c:
Show number of matches when using Mark command.
* src/utils.h:
Add NZV() macro for checking a char* points to a non-empty string.
* src/build.c:
Disable the Build Includes run command field when there is a project
open with a valid run command set.
2007-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c,
Rename 'tabulators' 'tabs'.
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add ui_path_box_new() for creating a path text entry with an open
button, which runs a file chooser to set the text entry.
Add ui_setup_open_button_callback() for setting up a button callback
that behaves like the open button in ui_path_box_new().
Use ui_path_box_new() in FIF dialog setup.
* src/interface.c, src/project.c, src/project.h, src/prefs.c,
Add project file path preferences option in General tab.
2007-04-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h: Changed default browser to firefox.
2007-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_source_file.c, tagmanager/include/tm_source_file.h:
Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
in parse.c.
* src/main.c, src/symbols.c, tagmanager/tm_workspace.c,
Add support for generating global tags files for non-C-like
* doc/geany.docbook:
Update Global Tags section now all filetypes can be generated.
Comment out 'should be written' from Preferences section.
* doc/geany.docbook:
Add Project Management section.
2007-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c:
Separate filetype menu item creation from filetypes_init_types() so
it can be called without initializing GTK (for non-GUI commands).
2007-04-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Disable FIF extra options entry when checkbox is not checked.
* src/sci_cb.c:
Remove duplicate calltips (e.g. from function def and prototype).
2007-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
When linking (or using Make Custom), remove error indicators in all
documents (should fix #1705374).
* src/symbols.c:
Sort symbol list tags also by line number (fixes #1703575).
* src/utils.c, src/utils.h:
Add G_GNUC_NULL_TERMINATED to ensure variable arglists are NULL
terminated (for GLib >= 2.8).
2007-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/project.h, src/keyfile.c, src/main.c:
Restore the current project when restarting Geany.
* src/project.c:
Fix no response with Project dialogs when the user enters invalid
information (oops).
2007-04-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update generating global tags section.
* src/keyfile.c:
Move save_recent_files(), save_session_files() code out of
Move load_file_lists() code out of configuration_load().
2007-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/vte.c:
Fixed handling of command line arguments within the shell command for
the VTE to enable use of shells as login shells.
2007-04-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update Search section: escape sequences, Find All, Mark, Replace All.
* src/filetypes.c, src/filetypes.h, src/document.c:
Split filetypes_get_from_filename() into filetypes_detect_from_file()
and filetypes_detect_from_filename().
* tagmanager/tm_tag.c:
Use the usual TM parser for all langTypes except pascal, php, latex
when loading global tags files.
* tagmanager/tm_workspace.c:
Keep tag names with different argument lists when loading global
Prevent segfault if using tm_workspace_find_scoped() with global
* src/interface.c, src/callbacks.c, src/callbacks.h, src/symbols.c,
Add Load Tags command in the File menu.
2007-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/document.c, src/utils.c:
Use g_stat() instead of stat() to prevent file read errors on Win32.
Prevent unnecessary filename encoding conversions on Win32.
2007-04-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Remove wrong UTF-8 conversion in filetypes_get_from_filename().
2007-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, data/filetypes.*, doc/geany.docbook, src/callbacks.c,
src/callbacks.h, src/filetypes.c, src/filetypes.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/main.c, src/prefs.c:
Added context actions to run custom commands on current selection or
the current word below cursor.
* src/document.c, src/keyfile.c:
Run print command asynchronously to prevent blocking of the main
process (closes #1695786).
2007-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Prevent D module tag lookup for D constructor calltips.
* tagmanager/tm_workspace.c:
Allow overloaded argument lists in global tag files.
* tagmanager/tm_workspace.c:
Add tm_tag_function_t tags in global tags files, so that inline C++
methods (and D functions) get parsed.
* src/keyfile.c, src/search.c, src/search.h:
Save FIF extra options string in the keyfile.
* src/search.c:
Move 'Recurse in subfolders' FIF option below the others.
Add tooltip for extra options entry.
2007-04-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed missing calltip display when using a space after
a symbol name (thanks to Anh Phạm for reporting).
2007-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Show up and down arrows when there are multiple calltip matches.
2007-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/document.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c, src/ui_utils.c:
Added options to show or hide the statusbar as well as the editor
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
2007-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*,, doc/, scintilla/,
src/, tagmanager/
Made "distcheck" working.
2007-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Only insert a space if construct completion occurs, to prevent
unusual undo history.
* doc/geany.docbook:
Add Construct completion in the Editing section.
Add Tags section, including how to generate a replacement global.tags
2007-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_workspace.c:
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.
* doc/geany.docbook:
Add filtering out version control files with Extra options info to
Find in Files section.
* src/keybindings.c:
Only construct-complete when the editor widget has focus.
* src/symbols.c, tagmanager/tm_workspace.c:
Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.
2007-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Add recursive option to Find in Files dialog.
* src/search.c:
Add 'Extra options' field and checkbox to FIF dialog.
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.
2007-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, doc/geany.docbook:
Make file header optional for filetype templates - use the string
'{fileheader}' to mark where the file header should be placed, which
can be anywhere in the filetype template.
2007-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
thanks to Iñaki Rodriguez.
* src/search.c:
Prevent Find in Files directory combo being vertically stretched.
2007-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed warning about shadowing a local variable.
* doc_geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybinding for switching to the search bar
(as suggested by Nikolas Arend).
2007-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Check size of construct completion buffer, remove unneeded static in
Reorder some of sci_cb_close_block().
* src/keybindings.c, src/keybindings.h:
Add headings for the Keyboard Shortcuts dialog to group related
Shorten the 'Send to custom command' labels slightly.
2007-03-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Don't auto-indent {} braces for filetypes that don't use them.
Add lexer_has_braces(), do_indent() for in place buffer indentation.
Rewrite some of get_indent().
2007-03-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sci_cb.c, src/sci_cb.h,
Add keybinding for construct completion, and set the default to tab.
Separate complete_constructs() code from sci_cb_auto_forif().
2007-03-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, TODO:
Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.
* src/sci_cb.c:
Separate on_margin_click(), on_update_ui(), on_char_added()
Scintilla notifications.
2007-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h, src/utils.c, src/utils.h:
Use Ctrl+Shift+Space always for showing calltips because Alt+Space is
used often by window managers (not only under Windows).
Added keybinding for inserting alternative whitespace characters.
2007-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, src/symbols.c:
Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).
* src/build.c, src/build.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c, src/callbacks.h:
Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.
* src/keybindings.c:
Ignore Caps Lock in keybindings_got_event() (could cause problems
with e.g. Shift-F9).
* src/search.c:
Don't beep when pressing escape to close the Find or Replace dialogs.
2007-03-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Add Edit button to Keyboard Shortcuts dialog.
* src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
* src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
2007-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h:
Applied patch from Anh Phạm to add a keybinding for selecting the
current word under the cursor (thanks).
2007-03-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Made all project dialogs modal.
* src/main.c, src/symbols.c, src/symbols.h, tagmanager/tm_workspace.c:
Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h
Separate alternative PHP/LaTeX global tags parser into
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
2007-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added option to change the caret width.
2007-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
Make sci_marker_next() and sci_marker_previous() return marker line
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
Add Toggle Marker keybinding (Ctrl-M).
* THANKS, doc/geany.docbook:
Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.
2007-03-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.
* src/treeviews.c, src/notebook.c:
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
* src/project.c:
Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.
2007-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Fixed wrong margin colours for filetype All/None.
* src/highlighting.c: Init the default styles before first usage.
2007-03-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Use tab stops for status bar line, column and selection data to stop
the other fields being moved so often when browsing code or typing.
Rearrange status bar statistics to be clearer/more concise.
* src/document.c:
Count total replacements made when replacing in a rectangular
* src/keybindings.c, src/keybindings.h, src/callbacks.c,
src/callbacks.h, doc/geany.docbook:
Add 'Switch to last used document' keybinding.
2007-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Added description for disable-server command line
option for Xfce Terminal.
* src/project.c: Added missing whitespace (found by Frank).
2007-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Switch to Compiler window when using Next Error command.
* src/utils.c, src/document.c:
Update the status bar after setting the document file type, if it
has changed.
Update the status bar after colourising open files, so the current
tag is accurate.
2007-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Separate New Project dialog from Project Properties dialog.
Make Properties Filename field read-only, below Name field.
Capitalize dialog titles.
* src/utils.c, src/utils.h, src/project.c:
Make New Project dialog create parent directories of the chosen base
path if necessary.
Prevent warnings when setting open dialog directory to a path whose
parent directory doesn't exist.
Add create_parent_dirs argument for utils_mkdir().
2007-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/encodings.c, src/encodings.h, highlighting.c,
src/msgwindow.c, src/notebook.c, src/project.c, src/sci_cb.c,
src/search.c, src/tools.c, src/ui_utils.c, src/utils.c:
Fixed several compiler warnings (mainly shadowing local variables
and unreachable code).
* src/sci_cb.c: Auto completion of multi line comments is now (again)
configurable with the auto complete constructs option.
* src/highlighting.c:
Set default highlighting style for filetype None to get it also
inverted if invert_all is set.
Reset all previously defined styles when switching filetype to None.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added style "default" to filetypes.common to be able to change the
default style for files without a filetype set.
2007-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, doc/geany.docbook, data/filetypes.*,
Fix indentation spelling.
2007-03-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix not setting existing project typenames for C-like files if they
don't contain typenames themselves (bug introduced in r1323).
* doc/geany.docbook:
Updated Templates section for filetype templates and added some
subsection titles.
2007-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c: Fixed wrong tooltip.
*, doc/geany.docbook, src/document.c, src/document.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/sci_cb.c, src/ui_utils.c:
Added different auto indention modes to select how should Geany
indent new lines (closes #1615605).
2007-03-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/callbacks.c, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/socket.c:
Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.
2007-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Added single line comment examples for clarification.
2007-03-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Add project run command support. Run command is a custom command-line
and can include arguments.
Make 'Choose project filename' dialog use a Save button.
2007-03-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Moved all code for checking and creating the geany run script
temporary file from build_run_cmd() to prepare_run_script().
* src/build.c, src/utils.c:
Fix memory leak with utils_remove_ext_from_filename().
* src/build.c:
Fix memory leak, remove unused build_create_shellscript() argument.
* src/build.c:
Use UTF-8 for missing executable error message.
2007-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Added new file filter for Open File dialog to only show supported
source files (for native Win32 dialog).
* src/main.c: Changed location of translation files to lib\locale
on Win32.
* geany.nsi: Added NSIS installer script for the Win32 installer.
* data/filetypes.c, data/filetypes.cpp, src/highlighting.c:
Added support for secondary keywords for filetypes C and C++.
* doc/geany.docbook: Fixed typo (thanks to John Gabriele).
2007-03-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Run Make All and Make Custom from the project base directory, if set.
Add project_get_make_dir().
2007-03-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c, src/utils.c:
Applied patch from Jeff Pohlmeyer to improve the custom command
execution code(thanks).
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_selection_mode(), sci_set_selection_mode(),
sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
* src/document.c:
Improved replacing in rectangle selections (closes #1665571).
* src/build.c, src/tools.c, src/utils.c, src/utils.h:
Set IO channels for custom commands to blocking mode
(thanks to Jeff Pohlmeyer).
* data/filetypes.python, src/highlighting.c:
Added missing keywords: as, with, False, None and True.
* src/dialogs.c, src/filetypes.c, src/filetypes.h:
Added new file filter for Open File dialog to only show supported
source files (list of all defined filename extensions).
2007-02-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Show number of matches when using Find All or Find in Files.
Add msgwin_msg_add_fmt().
* src/build.c:
Make build_spawn_cmd() take a command string instead of joining an
array of strings.
2007-02-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Use utils_strv_new() for all filetype patterns.
2007-02-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c: Fixed wrong sensitiveness of custom commands menu items.
Applied patch from Slava Semushin to improve SVN checks (thank you).
2007-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, doc/geany.docbook, src/geany.h, src/interface.c,
src/keybindings.c, src/keybindings.h, src/keyfile.c, src/main.c,
src/tools.c, src/tools.h:
Added custom commands to send selected text through some definable
commands and replace the selection with the output.
* data/filetype_extensions.conf, src/filetypes.c:
Added *.pod to Perl file patterns.
* src/sci_cb.c: Auto complete multi line comments only when auto
completion of constructs is enabled.
2007-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Prevent undefined behaviour when using the Stop command that can kill
X when Geany is run from the KDE or Xfce menu (not from a terminal).
Should close #1668017.
2007-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*,, README.I18N, po/, po/LINGUAS:
Moved list of available translations to new file po/LINGUAS.
Added readme file for translation information.
Added little shell script to display some basic
translation statistics.
2007-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/*.c:
Add descriptions for all .c source files below the file header.
2007-02-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/document.c, src/document.h, src/main.c:
Speed up loading multiple C-like files when restoring session or
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().
* src/dialogs.c, src/document.c, src/document.h:
Fixed switching to the wrong tab when showing the unsaved dialog.
* src/templates.c:
Don't include filetype.none in the new file template menus.
2007-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c, src/sci_cb.h:
Made auto_close_bracket() static and auto close brackets only when
auto completion of constructs is enabled (closes #1665015).
* doc/ Fixed typo.
*, src/interface.c: Improved tooltip for auto completion.
2007-02-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Remove the yellow error line marker also when using 'Remove Error
2007-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fixed compiler warning.
* src/project.c, src/win32.c, src/win32.h:
Added Windows dialogs for Project new and Project open actions.
Fixed some mem leaks in the Windows code.
2007-02-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/templates.h, src/highlighting.c,
src/callbacks.c, src/callbacks.h, src/filetypes.c, src/main.c:
Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default filetype templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.
2007-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ruby, src/highlighting.c:
Added several missing style types for filetype Ruby.
* doc/geany.docbook: Added notice about contributing to the docs
(patch from John Gabriele, thanks).
2007-02-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Scroll Compiler and Messages window in view when using Next Error
or Next Message.
* src/search.c:
Add Mark button as a Find All option in the Find dialog.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.
2007-02-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h, src/sci_cb.c, src/document.c:
Rename sci_get_line_end_from_position() with line argument, not
Don't autocomplete for/if constructs when editing an existing line.
* src/document.c:
Set single undo action when using document_strip_trailing_spaces().
* src/search.c:
Show grep command and directory when using Find in Files.
2007-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl, src/highlighting.c:
Added several missing style types for filetype Perl
(thanks to John Gabriele for reporting).
* src/treeviews.c: Aligned "No symbols found" label to top.
* src/callbacks.c, src/document.c, src/document.h, src/keybindings.c,
src/main.c, src/socket.c:
Added possibility to create and open non-existent files from command
line (closes #1635094 and #1652917).
2007-02-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
*, src/interface.c: Fixed a typo.
2007-02-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Add MimeType text/x-diff.
* scintilla/ScintillaGTK.cxx:
Redraw instead of scrolling in ScintillaGTK::ScrollText if there is
an existing update region.
Revert earlier ScintillaGTK::ExposeTextThis change.
* tagmanager/c.c:
Fix wrong D function return type after a class definition.
2007-02-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Allow popup Symbols menu when the current document has no tags, so
the sidebar can be hidden.
Use a GtkLabel to display 'No tags found'.
2007-02-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Convert config, application and documentation dir paths
to locale encoding before using it.
2007-02-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/filetypes.c,
Add *.rej as a Diff filename pattern.
Add utils_strv_new() to duplicate a va_list of strings.
2007-02-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/pascal.tags, THANKS: Fixed a wrong autocompletion. Thanks to
Dirk Weber for reporting.
2007-02-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Fix missing global tags for C files when a C++ source file was
loaded first.
2007-02-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent right click in Symbol list from selecting a tag.
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/treeviews.h,
src/document.c, src/main.c, src/ui_utils.c:
Move ui_update_tag_list() to treeviews.c.
Make treeviews_prepare_taglist() static.
2007-02-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Prevent scroll bar from moving when using document_find_text() and
no match is found.
* tagmanager/c.c:
Make anonymous typenames use anon_typename_n instead of
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).
* src/build.c:
Allow Make for files with no extension - prevent Build when the
output filename would be the same as the source file.
2007-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Show file path on window title after file name.
2007-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Prevent compiling or executing of files without a
filename extension(closes #1642029).
* src/document.c: Made --line and --column also working for already
open files (thanks to Mark Knoop for his help).
* THANKS, src/treeviews.c:
Applied patch from Tomás Vírseda to sort the list of open files in
the sidebar alphabetically (thanks).
2007-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx, src/document.c, src/document.h,
src/keybindings.c, src/sci_cb.c, src/sciwrappers.c,
src/sciwrappers.h, src/utils.c:
Improved the auto scrolling of documents (actually done by Nick).
2007-01-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
*, THANKS, src/about.c, po/fi.po:
Added Finnish translation (Thanks to Harri Koskinen).
2007-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c, src/document.h, src/keyfile.c,
src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h:
Fixed some scrolling issues with session files and files remotely
open via the socket. Added need_scrolling flag to document struct.
2007-01-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Applied patch from Jeff Pohlmeyer to clear the line
marker when clearing the compile error markers.
*, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added an option to disable auto completion of known symbols while
typing (still can be forced by pressing the keybinding).
2007-01-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Applied patch from Jeff Pohlmeyer to improve loading of
the VTE library.
* src/ui_utils.c: Applied patch from Jeff Pohlmeyer to make the
window title Gnome HIG compatible.
2007-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c:
Added *.xsd to XML file patterns.
*, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/sci_cb.c, src/sci_cb.h, src/search.c:
Added keybinding and menu entry to open a file which is selected
in current tab.
Made Insert Special HTML characters insensitive if there are no
open tabs.
Removed Zoom items from popup menu.
* tagmanager/latex.c: Allow \section*{} and other commands with *.
* doc/, doc/geany.docbook, src/document.c, src/main.c,
src/main.h, src/socket.c:
Added command line option --column to allow setting the initial
column for the first opened file on command line.
Don't apply the --line and --column options to the first opened
session file.
Make --line and --column options work for opening files in an already
running instance.
* src/document.c: Oops. Revert the change to ignore --line setting when
opening session files.
2007-01-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c:
Setup Find Next/Previous to use the same search text after using
Find Selected/Prev Selected.
2007-01-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h, src/search.c, src/search.h,
Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
'Find Prev Selected' Search commands and keybindings (thanks).
2007-01-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c: Implemented loading and saving of the project file
and minor improvements.
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Applied patch from Jeff Pohlmeyer to avoid parsing of compiler errors
by the va_list system.
* src/project.c: Replaced the New button by a Create button.
2007-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/makefile.win32: Fixed typo.
* scintilla/*, src/sci_cb.c: Updated Scintilla to version 1.72.
* doc/geany.docbook:
Added a notice of changed DnD behaviour in Scintilla 1.72.
2007-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Use "rm" to delete the run script because unlink is not
available on all systems.
* Added more mimetypes supplied by Nick Schermer.
* doc/geany.docbook: Documented GEANY_PROJECT_EXT.
* src/dialogs.c, src/prefs.c, src/prefs.h, src/search.c:
Fixed crashes when using some dialogs after they were closed before.
2007-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c: Do not auto complete project filename and base path
when they were changed manually.
* src/geany.h, src/project.c:
Implemented project open dialog, but open doesn't do anything yet.
*, src/interface.c:
Removed unintended keybindings for the project menu items.
* Added MimeType entry as suggested by Nick Schermer.
2007-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Change default keybinding for Close All to Ctrl-Shift-W to avoid
conflict with Document menu (thanks to Jeff Pohlmeyer).
Remove Alt-P default KB for Preferences to avoid conflict with
Project menu.
2007-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c, src/project.h:
Added properties dialog (still far away from state ready).
Added file_patterns field.
* src/utils.c, src/utils.h: Added utils_mkdir().
2007-01-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, doc/geany.docbook:
Make Go to Tag Definition work for all tags except forward
declarations and externs.
2007-01-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Use g_shell_quote to avoid problems with special
characters in the path of a filename.
2007-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Backport improvements from Anjuta 2.02.
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.
* tagmanager/include/tm_symbol.h, tagmanager/tm_symbol.c:
Add tm_arglist_compare().
Fix comparison in tm_symbol_tag_compare().
2007-01-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Fixed changing directories when the path contains whitespace.
* src/callbacks.c: When using Save As the returned filename needs to be
converted into UTF-8.
*, po/, src/callbacks.c, src/callbacks.h,
src/geany.h, src/interface.c, src/main.c, src/makefile.win32,
src/, src/project.c, src/project.h:
Started to implement project management (still unusable).
Added project.[c|h].
2007-01-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Reorder symbol list by Namespaces, Classes, Functions, Members,
Structs, Macros, Variables.
Add D Variables, rename D Methods -> Functions.
2007-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/build.c, src/document.c, src/geany.h,
src/highlighting.c, src/interface.c, src/keyfile.c, src/prefs.c,
src/sci_cb.c, src/sci_wrappers.c, src/sciwrappers.h, src/utils.c,
Added sci_set_use_tabs().
Fixed mem leak in sci_cb_auto_forif().
Moved free_pointers() to utils.c.
Applied patch from Jeff Pohlmeyer to add an option for using spaces
or tabulators when inserting some whitespace.
* src/about.c: Updated copyright information.
* geany_private.rc, README, src/*.c, src/*.h:
Updated copyright information.
* data/filetype_extensions.conf, src/filetypes.c:
jsp is a Java extension.
* src/sci_cb.c:
Enabled auto completion of constructs for filetype JavaScript.
2007-01-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/treeviews.h, src/symbols.c, po/
Move treeviews_init_tag_list() and symbol list GtkTreeIters to
* src/highlighting.c:
Fix segfault when setting Lua filetype.
2007-01-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.javascript,
data/filetypes.lua, scintilla/KeyWords.cxx, scintilla/LexLua.cxx,
scintilla/, scintilla/makefile.win32, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/highlighting.h,
src/sci_cb.c, src/templates.c, tagmanager/js.c, tagmanager/lua.c,
tagmanager/, tagmanager/makefile.win32,
tagmanager/parsers.h: Added new filetypes Javascript and Lua.
*, THANKS, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Applied patch from Jeff Pohlmeyer to add an option for disabling DnD
in the editor widget.
2007-01-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, src/socket.c, po/
Print an error message (instead of debug message) when a
command-line file cannot be loaded.
* src/utils.c, src/utils.h, src/geany.h, src/symbols.c,
src/ui_utils.c, src/symbols.h:
Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
to symbols.c.
* src/document.c:
Update the symbol list when starting a new document.
2007-01-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Use '::' context separator for C also (so C/C++ share the same
syntax, and C++ .h headers use correct syntax).
Add symbols_get_context_separator() and use for calltips and the
symbol list.
* src/treeviews.c, src/document.c:
Don't select the current document when reordering tabs (fixes
* src/utils.c:
Fix g_strconcat leaks in utils_make_settings_dir().
2007-01-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Fix commenting multiple lines (oops).
Set single undo action when toggling multiple lines.
2007-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Try to fix paste problems on Windows (should close #1628951).
2007-01-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c, src/sciwrappers.c:
Prevent some possible buffer overflows.
2007-01-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Added keyboard shortcut for Save As.
Added missing documentation for some keyboard shortcuts.
* src/vte.c: Improved tool tip for terminal emulation.
2007-01-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/encodings.c, src/document.c,
src/encodings.h, src/dialogs.c, src/ui_utils.c:
Fix memory leak when using utils_scan_unicode_bom().
Prevent invalid memory read in utils_scan_unicode_bom() when text
length is < 4.
Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
Read the BOM length in handle_bom().
2007-01-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c: Fixed typo.
2007-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/templates.c,
Removed multiline template because it makes not much sense, instead
just comment three lines using the general comment functionality.
Removed special templates for Pascal and some other filetypes using
"#" as comment char. The comment characters for fileheader and GPL
templates are now added dynamically according to the current
*, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/templates.c, src/templates.h:
Added template for BSD licence.
* src/document.c: Fixed missing colouring of tab menu label.
* doc/geany.docbook, src/geany.h, src/utils.c, src/templates.c:
Save template files in a subdirectory "templates" inside Geany's
configuration directory.
2007-01-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Ensure the VTE visual settings are applied when switching to VTE
when the Message Window is hidden.
Show the Message Window when switching to Scribble.
* src/document.c:
Use load_text_file() in document_open_file() to read, verify and
handle encoding using FileData struct.
Refactored handle_[forced_]encoding with FileData* argument.
Update data length after removing BOM chars in handle_bom().
2007-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h:
Make build_parse_make_dir() more efficient.
2007-01-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, tagmanager/entry.h, tagmanager/tm_tag.c,
tagmanager/include/tm_tag.h, tagmanager/c.c:
Parse pointers in function return type for C-like files.
Show scope in calltips.
Made tm_tag_destroy() static.
* src/treeviews.c:
Fix for C89 compatibility.
* src/templates.c, src/build.c, src/templates.h, src/build.h,
src/highlighting.c, src/filetypes.h:
Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
when debugging (also renamed some filetype_id variable names).
2006-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: When opening a file, set the current selected
entry in the open files list to the file's filename.
2006-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Don't use gtk_rc_get_style() in ui_update_tab_status() because it
can cause an invalid memory read on some systems.
* src/build.c, src/build.h, src/msgwindow.c, src/msgwindow.h:
Applied patch from Josef Whiter to parse 'Entering directory' build
messages so that subsequent error messages are handled correctly
Assume gcc-style error messages when filetype is not set.
2006-12-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h:
Fix missed matches in tm_tags_find().
* src/sci_cb.c, tagmanager/tm_workspace.c,
Add calltip support for D constructors.
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
2006-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c:
Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
Separate find_calltip() from sci_cb_show_calltip().
* src/sciwrappers.c:
Improve accuracy of sci_scroll_to_line() when line wrapping and/or
folding is used.
2006-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Don't reparse the current function when fold level is higher than
the function fold level (when the line has only changed by 1).
2006-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/, doc/, doc/geany.docbook, doc/images/*,
Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.
Updated date in documentation and manpage.
* src/callbacks.c: Fixed wrong paste behaviour under Windows with some
* src/ui_utils.c: Start column count from 0 in the statusbar display.
* New release: Geany 0.10 "Sander".
*, src/geany.h, geany_private.rc:
Version bump and updated codename for the next release.
2006-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.
2006-12-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Fix strv leak in configuration_open_files().
* src/treeviews.c, src/ui_utils.c:
Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().
* src/vte.c:
Stop Valgrind complaining about a vc->emulation leak.
* src/callbacks.c, src/search.c:
Remove unneeded static from current word strings.
2006-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c: Completed list of special characters, implemented
expanding and collapsing of categories at double click.
* src/geany.h: Updated codename (not really important).
2006-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c, src/document.c:
Don't log simple error messages like 'No text to find'.
* src/keyfile.c:
Open tabs left to right by default.
* src/keyfile.c:
Scroll cursor to 50% of the view for session files at startup.
* src/callbacks.c, src/dialogs.c:
Always switch to the tab when showing the unsaved file dialog.
* src/document.c:
Don't set the cursor to the start of the document when attempting to
open an already open file.
* src/utils.c, src/utils.h, src/callbacks.c, src/sci_cb.c,
Force a file changed check when attempting to open an already open
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.
2006-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c:
Made the sidebar notebook tabs scrollable.
*, src/callbacks.c, src/callbacks.h, src/interface.c,
Fixed wrong insert position when the cursor was moved by keyboard
and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes
at a position prior to some deleted text.
* src/document.c: Fixed disabled build menu items after opening the
first file of a filetype.
2006-12-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Fix using the current word on first use of the Find in Files dialog.
* src/document.c:
Don't log 'replaced 0 occurrences' status messages.
* src/search.c:
Remove unneeded 'missing response' debug messages.
2006-12-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix memory leak in utils_check_disk_status().
* src/highlighting.c, src/sci_cb.c, src/sci_cb.h, src/document.c,
src/symbols.c, src/symbols.h:
Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a
lexer supports typename colouring.
2006-12-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/sci_cb.c, src/sci_cb.h, src/symbols.c,
Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of
comments when auto completing or showing calltips.
* src/search.c: Bring the Find, Replace and FIF dialog back to top if
they are already shown but lost focus.
2006-12-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Only remove extra space indent after a multiline comment if the
indent contains one too many spaces.
* src/highlighting.c, data/filetypes.d:
Show D typedefs in bold.
* src/sci_cb.c, src/sci_cb.h, src/document.c:
Fix setting project typenames for the new D lexer.
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
2006-12-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c: Fixed a typo.
2006-12-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix updating the symbol list when a file is saved.
Update C-like typedef keywords when reloading a file.
* src/sci_cb.c:
Fix adding a multiline comment character after pressing enter on the
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
2006-12-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Small update of contact data and small fix of translated
2006-12-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/document.c, src/prefs.c,
src/main.c, src/ui_utils.c:
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
Capitalize main window title.
Add ui_widget_modify_font_from_string().
* src/build.c, src/keybindings.c, src/msgwindow.c, src/msgwindow.h,
src/vte.c, src/main.c:
Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
* src/interface.c,
Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).
2006-12-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/geany.h, src/keyfile.c, src/sciwrappers.c,
src/sciwrappers.h: Added option to toggle usage of Tab button for
*, po/, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h,
src/, src/makefile.win32, src/tools.c, src/tools.h:
New files tools.c and tools.h.
Added a dialog to insert HTML special characters.
2006-12-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/callbacks.c, src/ui_utils.c,
Use GNOME HIG Header style capitalization for all menu items.
* src/main.c:
Make files loaded from the command-line at startup get added to the
recent files menus.
2006-12-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.vhdl: Fixed typo in "number" and "string" styles.
2006-12-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Show GTK+, GLib runtime version debug message after socket_init().
* src/callbacks.c:
Make indenting and unindenting keep the same cursor position when
the cursor is within the indentation characters.
Link with libsocket if necessary to fix building on Solaris.
2006-12-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/callbacks.c, src/document.c, src/keyfile.c,
src/prefs.c, src/vte.c, src/vte.h:
Added option to execute programs in the VTE instead of executing
them in a terminal emulation window (closes #1594456).
* src/dialogs.c: Use a table to layout the word count dialog.
2006-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Fix building on win32; also fix some warnings.
* src/document.c:
Read the file's modification timestamp after saving because on
Windows it can be later than expected (closes #1611530).
* src/keybindings.c:
Show the Message window when switching to the vte.
* src/build.c, src/keybindings.c, src/keybindings.h:
Add keybindings for Next Message and Next Error commands.
2006-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/ui_utils.h, src/build.h,
src/keybindings.c, src/msgwindow.c, src/callbacks.c,
src/msgwindow.h, src/callbacks.h, src/main.c, src/ui_utils.c,
Add Next Message and Next Error menu items.
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.
* src/dialogs.c, src/ui_utils.c:
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
2006-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Made the created run script for command execution a bit
more portable to other shells than bash (thanks to
Nacho Cabanes for reporting).
* src/document.c, src/document.h, src/sciwrappers.c, src/ui_utils.h,
Fixed broken overtype update in the statusbar.
Removed unused field do_overwrite in document struct.
* src/msgwindow.c: Removed compiler warning.
* src/sci_cb.c, src/sci_cb.h:
Made sci_cb_get_indent and sci_Cb_auto_multiline static.
Improved auto completion of multi line comments and support
/+ +/ for D files.
* src/msgwindow.c: Fixed wrong check button state in view menu if
message window was shown automatically.
2006-12-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS,, po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal).
2006-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Create new tm file object when changing the filetype
of a document to avoid a confused tagmanager.
* data/filetypes.d, scintilla/KeyWords.cxx, scintilla/LexD.cxx,
scintilla/, scintilla/makefile.win32,
scintilla/include/SciLexer.h, src/highlighting.c:
Added new scintilla lexer for D. It needs testing and there is more
work to do to get it working properly.
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h, src/dialogs.c, src/vte.c:
Revert the last change to utils_str_equal() and use it again because
g_str_equal() is not NULL-safe.
2006-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Don't insert extra indentation in Python files after a
colon if the line is a comment (closes #1609761).
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h: Removed utils_str_equal() and use g_str_equal() from
GLib because it does exactly the same.
2006-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, tagmanager/latex.c:
Let the LaTeX parser recognise the keyword \chapter.
2006-12-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/socket.c:
Prevent Valgrind warning with unlink(NULL).
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/notebook.h, src/document.c, src/document.h,
Show read-only notebook tabs in green.
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
2006-12-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.d:
Move C/C++ styling_within_preprocessor code out of C-like styles.
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
2006-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Use default GTK foreground colour for filenames on
notebook tabs instead of hardcoded colour black.
* src/sci_cb.c: Fixed broken auto completion for LaTeX files.
2006-12-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.c, data/filetypes.cpp, data/filetypes.d,
data/filetypes.ferite, data/, src/highlighting.c:
Added new style for doc keyword error and added some doc key words
for Doxygen and Javadoc.
*, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added new preference to unfold all children of a fold point if the
fold point is unfolded.
* src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
messages when parsing the output of make (thanks).
* src/sci_cb.c, src/sci_cb.h:
Made handle_xml() static.
Fixed wrong XML auto completion in PHP files when inserting '>',
thanks to Bob Doan for reporting.
2006-12-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Use the same style for unknown doc keywords
(/** @something */) as for known keywords.
2006-12-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/geany.h, src/main.c,
Removed invisible place holder menu item in recent files menu.
Create separate sub menu for the recent files menu in the toolbar to
prevent GTK warnings when using GTK >= 2.10.
2006-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c:
Make the switch to vte menu shortcut override work before the VTE
has been realized.
2006-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Disable open toolbutton recent files menu for now because on
GTK+2.10 packing the recent files menu twice causes warnings.
* src/build.c, src/build.h, src/keybindings.c, src/callbacks.c,
src/filetypes.c, src/filetypes.h, src/dialogs.c:
Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
2006-11-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h, src/keybindings.c, src/filetypes.c,
Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
2006-11-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Show build result on status bar if Compiler window is not selected.
2006-11-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/notebook.c, src/msgwindow.h, src/notebook.h:
Add some const char* argument modifiers, remove unneeded static from
some local vars.
* src/vte.c:
Remove vte_char_size_changed() workaround, not needed since r988;
this also fixes an issue where the VTE is limited to 30x5 chars.
* src/search.c, src/document.c, src/document.h:
When replacing in session, use notebook page order and show a count
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
* src/build.c, src/ui_utils.h, src/msgwindow.c, src/search.c,
src/document.c, src/ui_utils.c:
Make ui_set_statusbar() use printf-style arguments & assume the
message should not be overridden.
* data/filetypes.python:
Change python default compile command to create a compiled python
.pyc file (thanks to Bajusz Tamás).
2006-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/prefs.c, src/dialogs.c, src/ui_utils.c:
Add frame for VTE Preferences tab, update packing.
Replace ui_frame_new() with ui_frame_new_with_alignment().
* src/callbacks.c, src/callbacks.h, src/vte.c, src/vte.h, src/prefs.c,
Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.
2006-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Fixed segfault when opening the preferences dialog for
the first time from the VTE widget.
2006-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/geany.h, doc/geany.docbook,
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
with word matching when using Find & Replace functions.
* src/keybindings.c:
Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
switches to the last tab.
* src/geany.h, data/filetypes.*:
Add underscore to default wordchars again (oops).
2006-11-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/hu.po, src/about.c, THANKS,
Added Hungarian translation (Thanks to Gabor Kmetyko aka
kilo <kg_kilo(at)freemail(dot)hu>).
2006-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c, src/notebook.h, src/document.c:
Ensure tab DnD is enabled when tabs are added; use
notebook_remove_page() instead of gtk_notebook_remove_page().
Unified notebook_[en|dis]able_dnd_for_dropping_files() in
2006-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/document.c, src/main.c,
src/notebook.c, src/notebook.h:
Removed DnD handler for the main window (not very useful).
Fixed broken tab reordering by only enabling DnD for dropping files
when there are no open file tabs, otherwise disable it and enable
DnD for moving file tabs. Dropping files into Geany when file tabs
are open still works because then it is handled by the Scintilla
* src/msgwin.c: Applied patch from Bob Doan to parse PHP compile
errors better (thanks).
2006-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_first_visible_line().
* src/interface.c, src/geany.h, src/sci_cb.h, src/keyfile.c,
src/vte.c, src/search.c, src/document.c, src/prefs.c,
Applied patch from Bob Doan to prevent scrolling when wrap searching
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
* src/interface.c,
Add Preferences frame alignment for Tools, Templates, Keybindings.
Revert tab placement label text.
2006-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/main.c:
Fixed compile error under Win32.
Ignore pressed Stop button under Win32 (at least for the moment,
not yet implemented).
2006-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Change Find Next/Previous buttons to use better stock icons.
* src/callbacks.c, src/sci_cb.c, src/document.c, src/document.h:
Fix sign comparison warnings.
2006-11-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Enabled DnD also for the main notebook widget to drop
files in the main area of Geany.
2006-11-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Don't unload the VTE module on exit to avoid crashes on
some systems.
* src/main.c: Fixed small memory leak.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/main.c, src/sci_cb.c:
Enabled drag and drop for the whole main window to be able to drop
files even if no tabs are open.
Moved code for getting the file list to document_open_file_list().
2006-11-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c,, THANKS, po/zh_TW.po:
Added tranditional Chinese translation (Thanks to KoViCH
2006-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add search history for Find in Files.
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
* src/build.c:
Remove the stop button in build_exit_cb() when using Make commands.
Fix set_stop_button() when using Make when the current file has no
2006-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
2006-11-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/zh_CN.po, src/about.c,, THANKS:
Added simple Chinese (zh_CN) translation (Thanks to
Dormouse Young <mouselinux(at)163(dot)com>).
2006-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/templates.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/document.c, src/document.h:
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
2006-11-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/highlighting.h, src/treeviews.c, scintilla/,
scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexVHDL.cxx, tagmanager/vhdl.c, tagmanager/parsers.h,
tagmanager/, tagmanager/makefile.win32,
data/filetype_extensions.conf, data/filetypes.vhdl:
Added new filetype VHDL.
*, src/interface.c, src/keybindings.c:
Use plural for line commentation description labels.
* src/build.c: Added missing inclusion of signal.h.
2006-11-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent().
* src/callbacks.c: Fix invalid memory write in on_exit_clicked().
2006-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c: Fix message window horizontal scrollbar being too tall on
some systems (thanks to Rob van der Linde).
2006-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Probe different versions of, not only
* src/keyfile.c: Fixed a segfault when closing preferences dialog and
loading VTE was enabled after it was disabled.
* src/build.c, src/build.h, src/main.c:
Extended the build_info struct with useful information of the
current running command.
Added stop button(using the Run button) to cancel the execution of a
command like Run, Compile or Build.
Fixed a typo in an error message.
* doc/geany.docbook:
Described new folding_horiz_line setting in filetypes.common.
Added documentation for stopping of running processes.
2006-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/, data/filetypes.cpp,
data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
data/filetypes.pascal, data/filetypes.sql, data/filetypes.xml:
Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a
light blue.
2006-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/main.c:
Fix a possible bug with g_file_test when opening files at startup.
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
2006-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/highlighting.c, src/utils.h, src/callbacks.c,
src/sci_cb.c, src/document.c, src/symbols.c, src/ui_utils.c,
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
Move symbols_get_global_keywords() to get_global_typenames() in
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
* src/ui_utils.c:
Never show the Sidebar if app->show_sidebar is false (prevents
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
* src/utils.c, src/utils.h, src/about.c, src/callbacks.c,
src/sci_cb.c, src/keyfile.c, src/search.c, src/encodings.c,
src/document.c, src/prefs.c, src/gb.c, src/symbols.c:
Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).
2006-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: Fixed unintentional appearance of sidebar after it
was hidden and the preferences dialog was closed.
* data/filetypes.common, src/highlighting.c:
Added an option to draw an horizontal line above or below folded
* src/dialogs.c: Don't set width of file open dialog.
2006-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c,
src/dialogs.c, src/dialogs.h:
Don't close any tabs when quitting until all unsaved changes have
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
2006-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/, src/highlighting.c:
Added Java keywords true and false.
Converted "NULL" to lower case.
* src/sci_cb.c: Little code cleanup in brace_match().
2006-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
inserting '}'.
2006-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, src/highlighting.h:
Applied patch from Bob Doan to do not set keywords for XML
Made styleset_markup() static.
2006-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c: Fix pressing enter to search from the Find dialog.
* src/keyfile.c, src/keyfile.h, src/main.c:
Make filetype_extensions.conf generation only available with a debug
build of Geany.
* src/filetypes.c, data/filetype_extensions.conf:
Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.
2006-11-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c:
Don't set error indicators when clicking on an error message if the
document has been modified.
* src/notebook.c: Focus the current document after clicking on a tab.
* src/utils.c, src/keybindings.c, src/callbacks.c, src/sci_cb.c,
src/sciwrappers.c, src/search.c, src/sciwrappers.h, src/document.c,
Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.
2006-11-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs:
Run set includes build dialogs for LaTeX files modally, too.
2006-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.perl, data/filetypes.pascal,
data/, data/filetypes.makefile, data/filetypes.ruby,
Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
2006-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Changed tooltip of checkbox "Close dialog" to be more
* src/keybindings.c: Changed keybinding for Print to Ctrl+P.
* scintilla/LexBash.cxx: Fixed wrong detection of some words.
2006-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c: Prevent possible invalid memory read.
* src/ui_utils.h, src/search.c, src/search.h, src/ui_utils.c,
Add Find Previous, Find All in File/Session buttons to the Find
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
* src/utils.c: Prevent end of line char showing for current function.
* src/search.c: Update Save All state after Replace in Session.
* src/callbacks.c: Update Undo items when switching notebook pages.
2006-10-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Add extra indentation for Python after a colon.
* tagmanager/latex.c, src/treeviews.c:
Removed "begin" section in symbol list and sort it at environment.
2006-10-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/ui_utils.c, src/main.c:
Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.
* src/document.c, src/treeviews.c, src/treeviews.h:
Colour also the open files list items according to their changed
* src/callbacks.c, src/callbacks.h, src/msgwindow.c, src/msgwindow.h,
src/treeviews.c, src/treeviews.h, src/geany.h:
Moved all treeview related callback functions from callbacks.c to
msgwindow.c and treeviews.c.
* src/document.c: Fixed bug when setting colour of open files list
entry on new, unnamed files.
2006-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Add temporary fix for sci infinite loop in Document::GetColumn(int)
when current pos is beyond document end (can occur when removing
blocks of selected lines especially brace sections near end of
2006-10-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Some small updates.
Got rid of &app; entitity.
Extended description of encoding support.
2006-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/filetypes.c, src/filetypes.h,
data/, data/filetypes.cpp, data/filetypes.ferite,
data/filetypes.c, data/filetypes.d:
Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
* src/utils.c:
Limit parse depth to 500 chars when parsing C-like function name.
* src/sci_cb.c:
Find last unmatched open bracket for Show Calltip so nested matched
brackets are ignored (except LaTeX).
2006-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Only accept editing keybindings when the current Scintilla widget
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.
2006-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
When replacing tabs by space, prevent the scroll position changing,
and fix a possible change of cursor position.
2006-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/dialogs.h, src/build.c, src/prefs.c, src/win32.c
Added warning message dialog, united dialogs_show_info() and
dialogs_show_error() to dialogs_show_msgbox().
* src/document.c: Added warning message when opening files that cannot
be handled correctly and set them to read-only mode.
* src/document.c, src/encodings.c, src/encodings.h, src/utils.c,
src/utils.h: Moved utils_convert_to_utf8() and
utils_convert_to_utf8_from_charset() to encodings.c.
2006-10-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/socket.c: Fixed compiler warnings under Windows.
* win32-config.h, src/dialogs.c:
Use GTK's file open dialog also under Windows to have the extended
options(kept old dialog code for optional use).
* win32-config.h, src/dialogs.c, src/geany.h:
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
2006-10-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.h, src/sciwrappers.c, src/document.h,
Fix setting document unchanged state when using Undo/Redo for
encoding or BOM changes.
Add sci_is_modified().
Added useful doc() function used only when debugging.
* src/search.c:
Reorder Replace All buttons.
* src/msgwindow.c src/callbacks.c:
Change Messages and Compiler window to go to line with a single
click instead of double click.
2006-10-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c, src/encodings.h, src/document.c, src/callbacks.c,
src/dialogs.c: Added new encoding "None" to open files without any
character conversions (fixes #1580456).
* src/callbacks.c: Don't allow changing the encoding or setting a BOM
if the file is read only.
2006-10-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/keyfile.c, src/main.c:
Added configuration option for the alignment of toolbar quit button.
*, src/interface.c, src/geany.h, src/keyfile.c,
src/main.c: Removed previously added configuration option and
removed the right alignment of the toolbar quit button.
* src/sci_cb.c, src/sci_cb.h, src/search.c:
Let the Find, Replace and FIF dialogs use the word at current cursor
position if there is no selection.
* src/filetypes.c: Added shebang detection for D files (dmd).
* src/callbacks.c, src/dialogs.c, src/document.c:
Added drop down box to the file open dialog to select an encoding.
Added possibility to open a file without any character set
conversions (could already fix #1580456, have to be continued).
2006-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/search.c, src/document.c, src/dialogs.c,
src/document.h, src/ui_utils.c:
Add separate Replace button, rename old button Replace & Find.
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
2006-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make search bar automatically wraparound if necessary.
Detect when Find has searched all text and display a 'not found'
message on the status bar.
* src/build.c: Remove unused argument.
* src/callbacks.c, src/document.c, src/document.h:
Rename document_find_next() document_search_bar_find().
* src/msgwindow.h, src/dialogs.h, src/main.h:
Add G_GNUC_PRINTF checks for variable argument function prototypes.
* src/build.c, src/utils.c, src/highlighting.c, src/geany.h,
src/callbacks.c, src/sci_cb.c, src/vte.c, src/search.c, src/main.h:
Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.
* src/callbacks.c, src/main.c, src/main.h:
Moved finalization code from destroyapp() to main_quit().
2006-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/main.c,
Add drop-down recent files menu to Open toolbar button.
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
2006-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/about.c, src/dialogs.c:
Added 6pt border, changed padding for all dialogs in dialogs.c;
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
2006-10-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/treeviews.c, tagmanager/c.c:
Use "::" as context separator only for C++, otherwise use ".".
Detect module declarations in D and put them in the symbol list.
* src/callbacks.c, src/geany.h, src/msgwindow.c, src/treeviews.c:
Use enum values to reference different treeview widgets
(code cleanup).
2006-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h, src/ui_utils.h, src/ui_utils.c,
src/keybindings.c, src/callbacks.c, src/callbacks.h, src/document.c,
Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.
2006-10-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/filetypes.h, src/ui_utils.c:
Disable Make All, Make Custom menu items for unnamed files.
Allow Run and Make Object for C header files.
* src/document.c:
Fixed Undo/Redo setting the wrong document changed state when making
edits after saving a file.
2006-10-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS,, src/about.c:
Added Italian translation (thanks to M. Baldinelli and
Dario Santomarco).
2006-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c: Change goto matching brace default keybinding to
CTRL-SHIFT-< (requires shift on some keyboards).
* src/build.c, src/build.h, src/geany.h, src/callbacks.c:
Don't overwrite Make Custom string when using Make Object.
Move app->build_make_custopt to build_options struct in build.c.
* src/build.c, src/build.h, src/msgwindow.c, src/callbacks.c,
Move build_info struct to build.c and merge with build_options.
2006-10-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c, src/treeviews.c:
Improved symbol list view for filetype Java.
2006-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c: Fix infinite loop from parsing current function name.
2006-10-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Improved function name parsing to fix some invalid
parsed function names.
2006-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix parsing the current function name for Java.
When the document is unedited, get the current function name from
the previous function tag parsed by tagmanager.
Don't update the current function if the cursor is 1 line from the
previous call and the fold level is unchanged.
* tagmanager/tm_workspace.c, tagmanager/include/tm_workspace.h:
Backported tm_get_current_function() from Anjuta.
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_last_child(), sci_get_fold_parent().
* src/keyfile.c: Small fix for sign warning.
2006-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/geany.h: Removed hard limit of session files.
* doc/geany.docbook: Updated section about session files limit.
* tagmanager/makefile.win32, tagmanager/,
tagmanager/parsers.h, tagmanager/diff.c, src/filetypes.c,
src/treeviews.c: Added simple parser for filetype Diff to create
tags for each patched file in a diff file.
* src/sci_wrappers.c: Added sci_find_bracematch().
* src/keybindings.c: Added keyboard shortcut Ctrl+< to jump between
matching braces(closes #1571283).
* doc/geany.docbook: Updated missing keybindings.
2006-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Connect only once to the "sci-notify" signal.
* scintilla/CellBuffer.cxx, scintilla/Document.cxx,
Applied patch from Armel Asselin (thanks). It adds SC_START_ACTION
notification which is required for Geany's new Undo system.
* src/document.c, src/sci_cb.c, src/callbacks.c:
Finished new Undo system. Now some more actions can be undone and
also redone.
* src/sci_cb.c: Got rid of goto usage and added auto completion for
monitor construct for filetype Ferite.
* src/highlighting.c, data/filetypes.css:
Fixed several highlighting errors, added new styles: identifier2,
important and id.
2006-10-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/geany.h, src/callbacks.c, src/search.c,
src/document.c, src/document.h, src/prefs.c, src/dialogs.c,
src/main.c, src/ui_utils.c:
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
2006-10-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Made string "Permissions" in the file property dialog translatable.
2006-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.ferite: Added some new keywords.
* src/sci_cb.c:
Added auto completion for iferr construct for filetype Ferite.
* src/socket.c:
Added additional header files for compatibility with FreeBSD.
2006-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_source_file.c:
Only parse tags once for simple parsers.
2006-10-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c: Improved Python parser to support nested classes.
* src/filetypes.c, src/document.c:
Implemented simple "shebang" detection. It is used prior to the
filename extension detection.
* src/highlighting.c, data/filetypes.latex:
Changed foreground colour for LaTeX style "math" to differentiate it
from the "comment" style.
2006-10-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c, src/main.c, src/document.c, src/callbacks.c:
Renamed ui_build_show_hide() in ui_update_build_menu().
* src/filetypes.c, src/ui_utils.c:
Fixed crash when using "Make object" on new files(closes #1570818).
2006-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Save configuration(i.e. list of open files) as late
as possible and save the filetype build commands
first shortly before quitting.
* doc/geany.docbook, doc/, src/main.c, src/document.c:
Reordered command line options alphabetically.
Added new command line option --line to set the initial line for the
first opened file.
* data/, src/highlighting.c: Added keyword "until".
2006-10-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Added a blank line indent for templates D, HTML, PHP.
* src/symbols.c, src/symbols.h, src/highlighting.c,
src/makefile.win32, src/, po/
Move global tags code to symbols.c.
Added symbols_global_tags_loaded(), symbols_get_global_keywords().
* src/callbacks.c, src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h,
Change sci_get_line to return a NULL terminated string.
Fix memory leak and possible invalid read in sci_cb_auto_latex().
2006-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Use datarootdir for defining paths to fix autoconf
2.60 problems(thanks to Christoph Berg for reporting).
2006-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/filetypes.c, src/filetypes.h, TODO:
Save the build includes and arguments on quitting.
2006-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/highlighting.h:
Changed StyleSet struct to use Style array, which can use less
memory. Added separate struct for the common style set. Also
use a struct for tracking the loaded global tags files. Renamed
some static functions.
* src/document.c, src/ui_utils.c:
Clear the symbol list when opening a file with no tags.
2006-09-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, data/filetype_extensions.conf:
Added pattern *.agi for filetype Perl (closes #1567355).
* doc/geany.docbook:
Updated information for Debian and Gentoo packages.
* New release: Geany 0.9 "Kintaro".
* THANKS, src/about.c: Changed credits of topi.
2006-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c: Change VTE word selection chars to include paths.
* src/highlighting.c, data/filetypes.common:
Only override the default Scintilla selection style if foreground
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.
2006-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed broken autocompletion for filetype PHP.
2006-09-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* win32-config.h: Enabled socket code on Windows.
* src/socket.c: Re-enabled the gtk_window_present() call for Windows
to pop up the main window.
* src/utils.c, src/sci_cb.c:
Enabled notification if file on disk has changed under Windows, it
seems to work (closes #1557689).
2006-09-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/nl.po, THANKS,, src/about.c:
Added Dutch translation (Thanks to Kurt De Bree).
2006-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Apply toolbar style on startup (Fixes #1563125).
* src/build.c, src/geany.h:
Prevent a segfault if the Terminal tool is not set.
Use cmd.exe as default Terminal tool on Windows.
* scintilla/makefile.win32, src/makefile.win32,
tagmanager/makefile.win32, makefile.win32:
Let make clean continue when a file can't be deleted.
2006-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Fix a bug when clicking on a recent file.
* src/callbacks.c, src/sciwrappers.c:
Prevent a partial selection on a line being deleted when using
CTRL-I to indent; also improve CTRL-Shift-I unindenting. Closes
2006-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Don't start autocompletion in strings and comments.
2006-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/search.h:
Add whole word only matching option for Find in Files.
Add fixed string matching option for Find in Files.
Make fixed string, case sensitive matching default for efficiency.
Sort filenames passed to Grep alphabetically.
* src/socket.c:
Don't move Geany to the current desktop when opening files remotely.
2006-09-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/callbacks.c:
Fixed compiler warnings and removed unnecessary signal handler.
2006-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.h, src/templates.c:
Move all static strings from templates.h to templates.c.
* src/sci_cb.c: Fix sign comparison warning.
* src/utils.c, src/msgwindow.c:
Improve utils_get_current_time_string().
* src/ui_utils.c:
Only reorder recent files menu when recent file loaded correctly.
Reorder the recent file menu instead of recreating it.
2006-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c, src/dialogs.c:
Add ui_frame_new().
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout & text.
* src/build.c: Don't print the g_spawn argv strings in build_run_cmd()
on the status bar.
2006-09-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c, src/callbacks.c, src/keybindings.c:
Added menu items for toggle line commentation.
Changed some mnemonics in the "format" submenu.
* src/callbacks.c, src/keybindings.c:
Added keyboard shortcuts for "Convert Selection to lower-case".
2006-09-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/pascal.tags: Adding data for unit x86.
2006-09-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c: Made socket code for detecting running instances
working under Windows.
* src/win32.c, src/ui_utils.c, src/dialogs.c:
Fixed compile warnings under Windows.
* src/highlighting.c: Fixed a typo.
* src/callbacks.c, src/build.c, src/main.c, src/prefs.c,
src/ui_utils.c: Implemented Run command (from the build menu) under
Windows, the other commands will follow somewhen.
2006-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c, src/keybindings.c, src/callbacks.c:
Added comment toggle functionality to easily comment and uncomment a
line with one shortcut (default Ctrl+B) (closes #1552184).
2006-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c, src/ui_utils.c:
Reorder the recent files list if necessary when a file is
(re)opened - closes #1552178.
* src/msgwindow.c: Check msgwin visible before scrolling.
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c,
src/callbacks.h, src/dialogs.c, src/dialogs.h, src/main.c:
Move on_recent_file_activate, dialogs_create_recent_menu,
dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
ui_utils.c. Also make some functions static.
2006-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Show parsable errors in red; stderr and compile failure in dark red.
* src/callbacks.c: Fix compilation problem with sci_cb_do_comment.
* src/document.c: Quick fix for C89 compatibility.
* src/msgwindow.c:
Make C, C++, Ruby and Java error message parsing more tolerant so
that linker errors are also parsed if debug line info is available.
Group all gcc-like error message parsing information together.
* src/msgwindow.c, src/msgwindow.h:
Allow compiler and find messages to be added when the messages
window is hidden.
Add msgwin_show().
* src/build.c:
Show messages window on build failure.
Show build success message on status bar if messages window hidden.
* src/document.c:
Use handle_forced_encoding(), handle_encoding() and handle_bom()
when opening files.
2006-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c, src/main.c, src/callbacks.c:
Moved the socket code from main.c to socket.c.
* src/document.c: Remove an unchanged empty document when loading a
new file (closes #1545129).
2006-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c, src/ui_utils.c, src/sci_cb.c:
Added own implementation of an Undo stack (not yet working).
* src/utils.c, src/document.c:
Convert tag names to UTF-8 before showing them in the sidebar.
* src/document.c:
Fixed a crash when a compiler output reports an error in a blank
line(can happen in LaTeX). Thanks to Frank for reporting.
2006-09-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/document.c, src/filetypes.c:
Added new file template for filetype HTML.
* src/document.c, src/dialogs.c:
Don't quit when an error occurs while saving changed files.
2006-09-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/ui_utils.c, src/ui_utils.h,
src/keybindings.c, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/notebook.c, src/sci_cb.c, src/keyfile.c,
src/vte.c, src/document.c, src/prefs.c, src/main.c,
po/, src/, src/makefile.win32:
Moved UI related utils from utils.c to ui_utils.c.
2006-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/main.c, src/main.h:
Rename --no-socket, -s command-line option to --new-instance, -i.
Add --no-session, -s command-line option to not load session files.
Only save session when session files were loaded at startup.
* doc/geany.docbook:
Update command-line options and running instance behaviour.
* src/callbacks.c, src/callbacks.h, src/sci_cb.c, src/sci_cb.h,
src/keybindings.c, src/document.c:
Move current_word and clickpos to editor_info struct in sci_cb.c.
Move on_editor_button_press_event to sci_cb.c.
2006-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Open a new instance without loading session files if
socket already exists and no filenames are specified
on the command-line.
2006-09-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Save All button is also active when only one file is
changed(improves usability).
2006-09-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/search.c:
Escape special characters when shown in the status window after
"Replace All" or replacing a selection.
Set the focus to the replace entry widget when pressing the
tabulator key in the find entry widget in the replace dialog.
Set the focus to the find entry widget when pressing the tabulator
key in the directory entry widget in the FIF dialog.
2006-09-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c, src/main.c:
Fixed C89 variable declaration and two sign comparison warnings.
* src/document.c, src/document.h: Add document_get_current().
* src/msgwindow.c:
Use parse_file_line() for grep and compiler error messages.
Add error message support for D, also for the GDC frontend.
2006-09-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/dialogs.c, src/prefs.c, src/callbacks.c,
src/interface.c, Fixed some typos.
* src/filetypes.c, src/highlighting.c, src/keybindings.c,
src/sci_cb.c, data/filetypes.html, data/filetype_extensions.conf,
src/callbacks.c, src/msgwindow.c:
Split filetype PHP/HTML into PHP and HTML.
2006-09-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
*, po/vi.po:
Added Vietnamese translation (Thanks Clytie Siddall).
* THANKS, src/about.c: Added translator credits.
2006-08-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c, data/filetypes.ferite:
Improved parsing compiler messages when using the ferite compiler.
Added some primitives and improved compiler settings for Ferite.
2006-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/callbacks.c, src/geany.h, src/main.c:
Removed the whole FIFO code and replaced it with support for
(Unix Domain) Sockets(including Windows support, but not yet done).
* src/vte.c, src/callbacks.c, src/document.c:
Change the current working directory within the VTE also when a new
file is saved.
2006-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Added auto completion for LaTeX command "begin".
2006-08-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
*, src/interface.c: Fixed typo in a tooltip text.
* THANKS, src/about.c: Added translator credits.
* src/treeviews.c, src/utils.c:
Fixed a crash when switching between several filetypes.
2006-08-27 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
*, po/cs.po:
Added Czech translation (Thanks Petr Messner).
2006-08-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/parsers.h, tagmanager/c.c, data/filetype_extensions.conf,
data/filetypes.diff, data/filetypes.ferite, src/highlighting.c,
src/filetypes.c, src/msgwindow.c:
Added new filetypes Diff and Ferite.
* src/search.c: Applied patch from Stefan Oltmanns to add the
possibility to keep the Replace dialog open.
2006-08-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/main.c, src/utils.c:
Fixed weird behaviour of Save all tool button and menu item.
* src/document.c:
Fixed missing styling settings on new files (needs to be tested).
Now the filetype sub menu in the document file menu will be updated
when the filetype is set by the filename on new files.
2006-08-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/vte.c:
Added new VTE settings to the preferences dialog.
Improved ignore menu bar accelerator setting.