117 Commits

Author SHA1 Message Date
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
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Enrico Tröger
4e122c97b7 Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and  PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
Nick Treleaven
05cebe9931 Disable the Compiler tab instead of hiding it so that messages window tabs have the right index on switching
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 14:29:30 +00:00
Enrico Tröger
902379738b Removed some unneeded functions to avoid duplicate code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 12:46:08 +00:00
Enrico Tröger
a7361b6464 Save default encoding for new files as charset string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 09:12:51 +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
4ec2bd121b Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Enrico Tröger
978a6fee93 Added menu item View->Show Sidebar and improved code around it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 11:41:33 +00:00
Enrico Tröger
6a9c283cb9 Moved HTML entities from sci_cb.h to data/html_entities.tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 22:02:31 +00:00
Enrico Tröger
77ef665218 Removed code for alternative scrolling(it was not better).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 21:31:09 +00:00
Nick Treleaven
1c8d62ed5d Added basic Find in files search functionality.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Nick Treleaven
1ae05d6a35 Prefix command-line opened files with the current directory so relative paths will work better
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@547 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 13:48:24 +00:00
Nick Treleaven
82efaa626f Improve switching out of fullscreen after startup
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-08 17:37:41 +00:00
Enrico Tröger
f1529b0435 Little redesign of the preferences dialog.
New options for setting the placement of notebook tabs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@525 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 16:21:35 +00:00
Enrico Tröger
d6102046a4 Deiconify the main window when a new file is opened from the named pipe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 14:47:08 +00:00
Enrico Tröger
cc511a78d8 Ignore SIGPIPE to prevent crashes when running external programs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:10:17 +00:00
Enrico Tröger
378d614885 Added some sanity checks to prevent crashes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@477 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:46:08 +00:00
Nick Treleaven
e885f520ed Don't include keybindings.h in geany.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 19:58:26 +00:00
Nick Treleaven
14e6966568 Added currently disabled drag reordering of notebook tabs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 11:17:52 +00:00
Enrico Tröger
0603ee5ef2 Added translator credits. Defined N_() again, so command line args are really translatable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-12 13:17:11 +00:00
Enrico Tröger
e8cb22a8d7 Improved the handling of GIOChannels(for named pipes), ensure they are closed in a proper way.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 19:03:39 +00:00
Enrico Tröger
5aab71bb88 Made command line options translatable, hide compiler message treeview under Win32.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-10 14:38:45 +00:00
Enrico Tröger
9446020898 fixed wrong setting of filetype when using "All files" as filetype
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-05 15:10:40 +00:00
Enrico Tröger
f4b7b988ec Removed unneeded function dialogs_show_fifo_error(), fixed small memory leak in dialogs_show_question()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:27:38 +00:00
Enrico Tröger
daebef5351 - do not create VTE settings in the preferences dialog if VTE is disabled at runtime
- added option to preferences dialog to disable load of VTE at startup


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 00:25:19 +00:00
Enrico Tröger
d47e10998f make keyboard shortcuts user-definable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:18:06 +00:00
Enrico Tröger
6db843b072 added commandline option to use an alternate way to draw the text, could improve scrolling, has to be tested
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-11 23:01:50 +00:00
Enrico Tröger
cf7b4bf6fd fixed a crash when starting Geany without debug messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-29 23:55:50 +00:00
Enrico Tröger
c80b8a576a removed compiler settings, minor improvements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:05:57 +00:00
Enrico Tröger
226a25f769 improved reading and writing of the named pipe, so Geany does not go into in an endless loop after opening a file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-18 17:35:53 +00:00
Enrico Tröger
504017aeea set minimal size to 620x440, default size to 900x600, added command line option -m or --no-msgwin to disable message window at startup
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-15 23:19:45 +00:00
Enrico Tröger
6409cf8926 implemented folding
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-26 18:19:28 +00:00