978 Commits

Author SHA1 Message Date
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
Nick Treleaven
bada0d1705 Prevent a partial selection on a line being deleted when using
CTRL-I to indent; also improve CTRL-Shift-I unindenting. Closes
#1557963.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-21 10:31:06 +00:00
Nick Treleaven
c0d827a53b Fix a bug when clicking on a recent file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@828 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-21 09:55:50 +00:00
Enrico Tröger
cd1afef42b Don't start autocompletion in strings and comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-20 21:52:35 +00:00
Nick Treleaven
15dfd1d010 Don't move Geany to the current desktop when opening files remotely.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@826 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-20 12:49:41 +00:00
Nick Treleaven
a2c0d34c58 Add whole word only matching option for Find in Files.
Add fixed string matching option for Find in Files.
Make fixed string, case sensitive matching default for efficiency.
Sort filenames passed to Grep alphabetically.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-20 11:03:33 +00:00
Enrico Tröger
129af78235 Prevent display of a separator when it isn't needed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-19 13:48:19 +00:00
Frank Lanitz
dfe9398ddb Weekly update fo German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-18 12:38:04 +00:00
Enrico Tröger
6af166578d Fixed compiler warnings and removed unnecessary signal handler.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-18 08:19:40 +00:00
Nick Treleaven
4f4b3cdfc5 Only reorder recent files menu when recent file loaded correctly.
Reorder the recent file menu instead of recreating it.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@821 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-17 21:53:47 +00:00
Nick Treleaven
d186f909bd Improve utils_get_current_time_string().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-17 20:40:15 +00:00
Nick Treleaven
f180e9a863 Move all static strings from templates.h to templates.c.
Fix sign comparison warning.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-17 19:58:04 +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
Nick Treleaven
b89abc8586 Add ui_frame_new().
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-15 14:25:42 +00:00
Frank Lanitz
5e0eb21fae Small fix in German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-13 07:43:47 +00:00
Frank Lanitz
293a4ba8fd Update of German translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-12 09:18:43 +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
Frank Lanitz
6299f90f7d Adding data for freepascal unit x86
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@813 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-12 00:33:57 +00:00
Enrico Tröger
4fb85db05f 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@812 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 11:14:09 +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
Enrico Tröger
8dede470b1 Made socket code for detecting running instances working under Windows.
Fixed compile warnings under Windows.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 07:41:37 +00:00
Enrico Tröger
3b9a342452 Fixed a typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 07:39:37 +00:00
Enrico Tröger
aff687fd33 Added comment toggle functionality to easily comment and uncomment a line with one shortcut (default Ctrl+B) (closes #1552184).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-10 11:47:26 +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
04e39f8a39 Check msgwin visible before scrolling
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-09 14:26:54 +00:00
Nick Treleaven
913e783a43 Reorder the recent files list if necessary when a file is
(re)opened - closes #1552178.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-09 12:03:11 +00:00
Nick Treleaven
0701ee9941 Use handle_forced_encoding(), handle_encoding() and handle_bom()
when opening files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-08 15:05:32 +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
dedded8c37 Allow compiler and find messages to be added when the messages
window is hidden.
Add msgwin_show().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-08 13:39:32 +00:00
Nick Treleaven
a135c2405d Make C, C++, Ruby and Java error message parsing more tolerant so
that linker errors are also parsed if debug line info is available.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-08 11:25:56 +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
0f9f0490bb Moved the socket code from main.c to socket.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-07 17:40:44 +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
Enrico Tröger
4a44c1a000 Fixed wrong function call order when removing documents.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 18:26:08 +00:00
Enrico Tröger
557b86dc2b Fixed a crash when a compiler output reports an error in a blank line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 17:53:58 +00:00
Enrico Tröger
e1373a47fc Added sanity check.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 17:47:00 +00:00
Enrico Tröger
09d7f30aec Convert tag names to UTF-8 before showing them in the sidebar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 17:31:53 +00:00
Enrico Tröger
116728caae Added own implementation of an Undo stack (not yet working).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 16:09:08 +00:00
Enrico Tröger
5a05227d87 Don't quit when an error occurs while saving changed files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 18:33:48 +00:00
Enrico Tröger
d7951f66d0 Added new file template for filetype HTML.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 16:55:40 +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
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
Nick Treleaven
b864f95999 Update command-line options and running instance behaviour
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-04 13:44:15 +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
Frank Lanitz
9f77222d69 Update of german translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-03 22:25:24 +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
Enrico Tröger
c6b20543ac Save All button is also active when only one file is changed(improves usability).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@784 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-03 13:30:12 +00:00
Enrico Tröger
f74ae89922 Escape special characters when shown in the status window after "Replace All" or replacing a selection.
Set the focus to the replace entry widget when pressing the tabulator key in the find entry widget in the replace dialog.
Set the focus to the find entry widget when pressing the tabulator key in the directory entry widget in the FIF dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@783 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 23:28:34 +00:00
Nick Treleaven
d60ddb4e28 Use parse_file_line() for grep and compiler error messages.
Add error message support for D, also for the GDC frontend

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 21:04:47 +00:00
Nick Treleaven
973ea2144d Add document_get_current()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 20:49:11 +00:00