76 Commits

Author SHA1 Message Date
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
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