100 Commits

Author SHA1 Message Date
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
Nick Treleaven
ad78c7e1a0 Print an error message (instead of debug message) when a
command-line file cannot be loaded.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 12:42:12 +00:00
Enrico Tröger
627e8f00ca 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 17:09:05 +00:00
Nick Treleaven
b71c227f55 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().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:41:25 +00:00
Nick Treleaven
533d61fb68 Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 15:18:49 +00:00
Nick Treleaven
25a97646d9 Make files loaded from the command-line at startup get added to the
recent files menus.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 17:21:22 +00:00
Nick Treleaven
41279bf573 Show GTK+, GLib runtime version debug message, after socket_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 12:20:30 +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
Enrico Tröger
ab258acf33 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 18:44:35 +00:00
Nick Treleaven
df70d928a8 Disable open toolbutton recent files menu for now because on
GTK+2.10 packing the recent files menu twice causes warnings.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 14:40:32 +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
f0ffdced4f Fixed compile error under Win32. Ignore pressed Stop button under Win32 (at least for the moment, not yet implemented).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-17 17:49:16 +00:00
Enrico Tröger
6077f3c420 Enabled DnD also for the main notebook widget to drop files in the main area of Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-16 16:10:18 +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
c99b178e03 Fixed small memory leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:21:46 +00:00
Enrico Tröger
59470aa381 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 18:51:33 +00:00
Nick Treleaven
ad74b0bc87 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-09 15:52:31 +00:00
Nick Treleaven
a20ce7ad45 Make filetype_extensions.conf generation only available with a debug
build of Geany.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:00 +00:00
Enrico Tröger
172558ea10 Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-29 01:28:58 +00:00
Enrico Tröger
6e4e05d957 Removed previously added configuration option and removed the right alignment of the toolbar quit button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:38:04 +00:00
Enrico Tröger
596a3c7e0a Added configuration option for the alignment of toolbar quit button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 16:07:36 +00:00
Nick Treleaven
6cd8983e36 Moved finalization code from destroyapp() to main_quit().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:34:18 +00:00
Nick Treleaven
119a256c15 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 12:31:22 +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
Nick Treleaven
93ba5ba45f Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 16:08:53 +00:00
Enrico Tröger
6f00febd3c Fixed crash when using "Make object" on new files(closes #1570818).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@866 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-04 19:14:57 +00:00
Enrico Tröger
642889e97a Reordered command line options alphabetically.
Added new command line option --line to set the initial line for the first opened file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@863 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-03 13:16:42 +00:00
Nick Treleaven
b25d8cc8d6 Apply toolbar style on startup (Fixes #1563125).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@830 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-22 11:38:14 +00:00
Enrico Tröger
9d2893c495 Implemented Run command (from the build menu) under Windows, the other commands will follow somewhen.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 11:13:36 +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
Enrico Tröger
bf5ae49665 Moved the socket code from main.c to socket.c.
Remove an unchanged empty document when loading a new file (closes #1545129).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-07 15:51:24 +00:00
Nick Treleaven
a63fc1e40e Moved UI related utils from utils.c to ui_utils.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Nick Treleaven
6a5a3d1d3f 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.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 11:16:07 +00:00
Nick Treleaven
5a4ffec4ba Open a new instance without loading session files if socket already exists and no filenames are specified on the command-line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-03 19:19:56 +00:00
Nick Treleaven
4c33cc29a1 Fixed C89 variable declaration and two sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 20:30:35 +00:00
Enrico Tröger
f4507528f9 Removed the whole FIFO code and replaced it with support for (Unix Domain) Sockets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-30 18:36:17 +00:00
Enrico Tröger
01127d7e0a Fixed weird behaviour of Save all tool button and menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@763 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-26 16:44:08 +00:00
Nick Treleaven
38bba30628 Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c; Prevent unnecessary 'does not look like a filename' debug messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 12:33:09 +00:00
Nick Treleaven
f93babed2f Fix opening more than one file from the command-line (with fifo)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@747 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 11:40:09 +00:00
Nick Treleaven
ac3d928453 Remember the VTE current directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 15:07:11 +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
bcb4c07971 Fix building on win32 - thanks to Củ Văn Chuối
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 16:17:38 +00:00
Nick Treleaven
35423691cc Fix Show messages window checkbox state when -m used
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 16:12:04 +00:00
Nick Treleaven
cf4fc1da1d Move signal_cb to main.c; Move main_init command line settings to parse_command_line_options; Use setup_paths, locale_init, parse_command_line_options, setup_config_dir in main()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 14:40:43 +00:00
Nick Treleaven
7ebb187b26 Store build information instead of using app->cur_idx; Assume C-like warning messages when running make when the current file is a Makefile; Moved some msgwin setup and cleanup code to msgwindow.c; Moved utils_parse_compiler_error_line to msgwindow.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 15:02:52 +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
354d422637 Add startup debug message showing GTK+ runtime version
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 11:06:51 +00:00
Nick Treleaven
a591dd027f Add hidden option -g to generate filetype_extensions.conf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 21:07:46 +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
689ee4243b Added Select All item to sensitive buttons.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 22:52:11 +00:00