Nick Treleaven
a0da812c93
Add keybindings for Next Message and Next Error commands.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1077 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 17:03:03 +00:00
Nick Treleaven
cb18b1aa79
Fix building on win32; also fix some warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 13:06:50 +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
2a596e1f17
Made the created run script for command execution a bit more portable to other shells than bash (thanks to Nacho Cabanes for reporting).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 09:56:31 +00:00
Enrico Tröger
37c230845a
Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:09:45 +00:00
Enrico Tröger
c461da68f1
Removed utils_str_equal() and use g_str_equal() from GLib because it does exactly the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 20:44:32 +00:00
Nick Treleaven
e458304ce3
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.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
e39cf19730
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.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-29 10:29:34 +00:00
Nick Treleaven
6bd89dc3ee
Show build result on status bar if Compiler window is not selected.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-27 11:32:45 +00:00
Nick Treleaven
01988714b3
Make ui_set_statusbar() use printf-style arguments & assume the
...
message should not be overridden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 16:33:38 +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
Nick Treleaven
7146b60c31
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
filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 17:07:15 +00:00
Enrico Tröger
3ae8ce6ebe
Added missing inclusion of signal.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 01:27:12 +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
Enrico Tröger
e3f6f0a890
Added warning message dialog, united dialogs_show_info() and dialogs_show_error() to dialogs_show_msgbox().
...
Added warning message when opening files that cannot be handled correctly and set them to read-only mode.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 14:38:48 +00:00
Enrico Tröger
3e9cbc0e01
Fixed compiler warnings under Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 18:02:38 +00:00
Nick Treleaven
72f287fe0f
Move geany_debug prototype to geany.h so that all files can use it
...
without a dependency on main.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:16:54 +00:00
Nick Treleaven
89b3f4c314
Remove unused argument. Rename document_find_next() document_search_bar_find().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:00:37 +00:00
Nick Treleaven
df64d0a535
Added 6pt border, changed padding for all dialogs in dialogs.c;
...
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-19 16:26:29 +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
078742fc5c
Move build_info struct to build.c and merge with build_options.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:41:57 +00:00
Nick Treleaven
3a721f02d1
Don't overwrite Make Custom string when using Make Object.
...
Move app->build_make_custopt to build_options struct in build.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-16 14:15:04 +00:00
Nick Treleaven
8520ef16e2
Prevent a segfault if the Terminal tool is not set.
...
Use cmd.exe as default Terminal tool on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-22 12:05:18 +00:00
Nick Treleaven
a4d058894e
Don't print the g_spawn argv strings in build_run_cmd() on the status bar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-15 15:09:13 +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
d242e5091d
Show messages window on build failure.
...
Show build success message on status bar if messages window hidden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-08 13:40:30 +00:00
Nick Treleaven
d3eb239d81
Show parsable errors in red; stderr and compile failure in dark red
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-08 10:20:15 +00:00
Enrico Tröger
d79e82f633
Moved prototype for geany_debug() to main.h.
...
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +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
Enrico Tröger
0dcbacec1f
Use utf8/locale encoding wrappers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 09:07:10 +00:00
Enrico Tröger
f3d72d6e33
Search terminal program in PATH ( closes #1527203 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 08:34:51 +00:00
Nick Treleaven
aff3e4f9dc
Don't include geany.h
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@595 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 21:16:12 +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
6cc29173be
Added new filetype D(patch by Christop Berg, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-09 14:41:53 +00:00
Enrico Tröger
852624b60e
Renamed tools settings from build_* in tools_*.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
99bb4a9977
Parse stdout of compiler output too.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:29:33 +00:00
Nick Treleaven
a59a4ae006
Don't open files or go to errors automatically whilst compiling. Rename utils_goto_workspace_tag to utils_goto_file_line
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:27:09 +00:00
Enrico Tröger
6f864d888d
build.c: Delete all indicators when starting a new compilation.
...
highlighting.c: Added keys for linenumber and folding margin, added key for inverting all colours(if you like dark background).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 14:28:53 +00:00
Enrico Tröger
73384bb248
Implemented code for setting indicators while compiling.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 19:37:21 +00:00
Enrico Tröger
002503decd
several bugfixes and improvements
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:06:35 +00:00
Enrico Tröger
4971898681
clicking on a compiler error message jumps to the correct file, if it is not the current one
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-02 23:28:52 +00:00
Enrico Tröger
605b178217
replaced usage of utils_beep()
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:58:08 +00:00
Enrico Tröger
7a6e73cc03
applied patch from Nick Treleaven to fix memory leaks
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-01 20:21:34 +00:00
Enrico Tröger
c02322ae35
improved build support for filetype LaTeX
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-18 12:11:44 +00:00
Enrico Tröger
9266f022d2
minor changes, added basic build support for LaTeX
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-11 18:44:52 +00:00
Enrico Tröger
8ecce6ed72
added new option "Beep on errors" to disable beeping
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-03 12:39:25 +00:00
Enrico Tröger
8cb2cf0997
Initial import
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00