2909 Commits

Author SHA1 Message Date
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
Enrico Tröger
01c885c55c Save configuration(i.e. list of open files) as late as possible and save the filetype build commands first shortly before quitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-03 11:21:36 +00:00
Nick Treleaven
464e9b7d0b Change sci_get_line to return a NULL terminated string.
Fix memory leak and possible invalid read in sci_cb_auto_latex().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 15:22:29 +00:00
Nick Treleaven
762f4b5c91 Move global tags code to symbols.c.
Added symbols_global_tags_loaded(), symbols_get_global_keywords().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 11:31:54 +00:00
Nick Treleaven
13ed16e2c8 Added a blank line indent for templates D, HTML, PHP.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@859 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 11:14:36 +00:00
Enrico Tröger
a79ac62bc4 Use datarootdir for defining paths to fix autoconf 2.60 problems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@858 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-01 17:28:45 +00:00
Nick Treleaven
88ff2d5085 Save the build includes and arguments on quitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@857 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-01 16:14:45 +00:00
Nick Treleaven
f93a8f9df2 Clear the symbol list when opening a file with no tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-30 16:15:45 +00:00
Nick Treleaven
e721ae69b0 Changed StyleSet struct to use Style array, which can use less
memory. Added separate struct for the common style set. Also
use a struct for tracking the loaded global tags files. Renamed
some static functions.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@854 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-30 11:13:58 +00:00
Enrico Tröger
20863864b1 Updated credits of topi and Catalan translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@853 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-29 16:02:33 +00:00
Enrico Tröger
a72e332e6f Updated for Geany 0.9.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-29 08:14:39 +00:00
Enrico Tröger
5aaf298e10 Added pattern *.agi for filetype Perl (closes #1567355).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-29 07:22:46 +00:00
Nick Treleaven
4525dd227d Only override the default Scintilla selection style if foreground
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 15:08:46 +00:00
Nick Treleaven
2b8066b9ac Change VTE word selection chars to include paths
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 14:57:17 +00:00
Enrico Tröger
bb63808621 Fixed broken autocompletion for filetype PHP.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 12:48:13 +00:00
Enrico Tröger
c20171288d Enabled socket code on Windows.
Re-enabled the gtk_window_present() call for Windows to pop up the main window.
Enabled notification if file on disk has changed under Windows, it seems to work (closes #1557689).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-26 16:29:44 +00:00
Frank Lanitz
35ead66a3a Added Dutch translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@834 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-26 14:00:30 +00:00
Nick Treleaven
a5bf4b765d Let make clean continue when a file can't be deleted.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-22 12:09:53 +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
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
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
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
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
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
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
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
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
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
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