78 Commits

Author SHA1 Message Date
Enrico Tröger
e3201062c6 Update copyright information and change format of email addresses in source files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Enrico Tröger
2b07283739 Add plugin manager dialog to select plugins to load at startup and to call a plugin configure dialog.
Add configure symbol for plugins which is called by Geany when a configure dialog for the plugin is requested, optionally.
Add author field to plugin info struct.
Add sample configure dialog to the demo plugin.
Fix cleanup code in filebrowser plugin to remove it completely when unloaded.			


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-20 18:15:46 +00:00
Enrico Tröger
fff66178da Add native GTK printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00
Nick Treleaven
92a00f1f8e Add 'Strip Trailing Spaces' document menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:24:39 +00:00
Nick Treleaven
a2589f87fa Add Indent Type option in the Document menu.
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:27:07 +00:00
Enrico Tröger
0dc540e053 Suppress selection changed signal when switching between open files and symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-16 08:54:54 +00:00
Enrico Tröger
d390522727 Remove convert to lower-/upper-case keybindings.
Add toggle case keybinding and change shortcut to Ctrl-Alt-U.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-07 19:01:55 +00:00
Enrico Tröger
501c01aeb4 Remove useless callback wrapper function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 10:50:18 +00:00
Nick Treleaven
767b70dbb3 Move Color Chooser and Word Count tools to tools.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:28:17 +00:00
Nick Treleaven
109a7aee67 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
open.
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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Nick Treleaven
fc9e92cf0f Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 15:35:52 +00:00
Nick Treleaven
73007c11e8 Move font & file open/save dialog callbacks to dialogs.c.
Add document_clone() in document.c (for Save As open in new tab).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 14:52:57 +00:00
Nick Treleaven
451c5b0e7e 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 11:32:33 +00:00
Nick Treleaven
363690e9d4 Apply class builder patch from Alexander Rodin (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1616 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 13:10:51 +00:00
Nick Treleaven
05cbc77bab Rename some menubar widget names.
Use indentation spelling in variable names.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 15:16:17 +00:00
Enrico Tröger
8cae1cc3ee Add auto focus (to auto focus widgets below mouse cursor).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-11 08:58:37 +00:00
Enrico Tröger
167723236f Improved code to avoid hiding the messages window (caused by last commit).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 16:12:58 +00:00
Enrico Tröger
38d45d2549 Removed unneeded function destroyapp.
Re-maximize the main window on startup when closed in maximized state (closes #1730369).	  


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 15:37:11 +00:00
Enrico Tröger
3f30a4cc96 Applied patch from Dave Moore to add simple code navigation (thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-02 16:14:07 +00:00
Enrico Tröger
39dbad8829 Improve sensitivity of recent files sub menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 14:42:43 +00:00
Enrico Tröger
5b01f262e3 Added menu item to hide or show all additional widgets and renamed keybinding to menu_toggleall.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-06 14:49:51 +00:00
Nick Treleaven
b954dc8245 Add Load Tags command in the File menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:21:33 +00:00
Enrico Tröger
398ddf6d73 Added context actions to run custom commands on current selection or the current word below cursor.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +00:00
Nick Treleaven
6575d4f953 Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:40:20 +00:00
Nick Treleaven
20115f6f54 Add 'Switch to last used document' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-13 17:00:12 +00:00
Nick Treleaven
61146eb323 Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 13:26:06 +00:00
Nick Treleaven
6ca53610ba Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 18:06:08 +00:00
Enrico Tröger
8bd2debe4d 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 19:20:12 +00:00
Nick Treleaven
e8a22dee62 Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
'Find Prev Selected' Search commands and keybindings (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-23 17:51:30 +00:00
Enrico Tröger
716360ee6d Started to implement project management (still unusable).
Added project.[c|h].


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 18:12:32 +00:00
Enrico Tröger
7b61ad934d Updated copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Enrico Tröger
66df9594ed Added template for BSD licence.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:38:44 +00:00
Enrico Tröger
33e1f7e8d0 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 19:31:32 +00:00
Enrico Tröger
ad37f83878 New files tools.c and tools.h.
Added a dialog to insert HTML special characters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 00:46:14 +00:00
Nick Treleaven
978de6fe6f 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 15:50:10 +00:00
Nick Treleaven
4c9b41dfe4 Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:47:29 +00:00
Enrico Tröger
4306f9091a 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 widget.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-21 18:39:23 +00:00
Enrico Tröger
99806172b2 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().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 23:12:13 +00:00
Enrico Tröger
1aa3a761ac Moved all treeview related callback functions from callbacks.c to msgwindow.c and treeviews.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 13:48:39 +00:00
Nick Treleaven
e821acb863 Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 19:35:42 +00:00
Enrico Tröger
9f5b32cd9a Added menu items for toggle line commentation.
Changed some mnemonics in the "format" submenu.
Added keyboard shortcuts for "Convert Selection to lower-case".


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-12 08:32:52 +00:00
Nick Treleaven
6c511f413d 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-09 14:36:15 +00:00
Nick Treleaven
dff3122273 Move current_word and clickpos to editor_info struct in sci_cb.c.
Move on_editor_button_press_event to sci_cb.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 15:57:46 +00:00
Enrico Tröger
312579d70a Added menu items to insert configurable date/time strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
6415979cb8 Move signal_cb to main.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 14:38:57 +00:00
Nick Treleaven
f75fd1402a Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:12:49 +00:00
Nick Treleaven
4f7860b1a2 Disable word and word start matching when regexes are enabled; Don't hide the Find dialog after searching; use Close button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-04 12:21:41 +00:00
Enrico Tröger
2a30d0abe3 Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation (closes #1521717).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:35:32 +00:00
Enrico Tröger
e1f79b7d3e Added menu item to the document menu to add/remove BOM.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@620 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 20:23:56 +00:00
Enrico Tröger
0ba2c566da Oops, forgot these files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 02:06:30 +00:00