2585 Commits

Author SHA1 Message Date
Frank Lanitz
1399439865 Added some more commands from unit.sty and moderncv.sty to LaTeX tags file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 17:11:41 +00:00
Nick Treleaven
9af053536a Implement Most-Recently-Used document switching when pressing
Ctrl-Tab keybinding. (It's probably not perfect, but works OK).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 15:37:28 +00:00
Nick Treleaven
9b0d78ec2e Remember scribble cursor position.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-13 15:21:54 +00:00
Nick Treleaven
9facea2642 Merge unstable branch:
Add reStructuredText scope information for tags (for symbol list
grouping).
Read custom system global tags files from $prefix/share/geany/tags;
Closes #2778923.
Show the number of tags in a user global tags file (instead of the
running total) in the debug message.
Also print debug messages when loading a tag file manually or for
default global tags files e.g. python.tags.
- code:
Move NestingLevel tags code into a separate file, add functions.
- docs:
Add 'Installation prefix' section instead of quoting '/usr/local'
each time.
Update for custom system global tags files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 15:55:13 +00:00
Nick Treleaven
14653b1ba2 Remove NestingLevel::is_class field, use ::type instead.
Move addNestingLevel() back to python.c.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-12 14:59:29 +00:00
Enrico Tröger
23fc3ef0d7 Remove unnecessary call to g_intern_string() to fix build with GLib 2.8 (closes #2790051).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:57:02 +00:00
Enrico Tröger
035d6c3e22 Use plain old fwrite() in utils_write_file(). g_file_set_contents() is only used when explicitly requested.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:56:33 +00:00
Enrico Tröger
ecfbe40cdc Unset maybe previously keywords when setting up Scintilla for XML files. This fixed wrong highlighting after switching back to filetype XML from another one.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:56:08 +00:00
Nick Treleaven
58b5c053bc Add reStructuredText scope information for tags (for symbol list
grouping).
Add nestingLevelsPush(), nestingLevelsPop(),
nestingLevelsGetCurrent().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 15:36:46 +00:00
Nick Treleaven
95f99f4034 Move NestingLevel code into a separate file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-11 14:15:00 +00:00
Enrico Tröger
66b78ad961 Create parent directories if necessary when checking for the configuration directory on startup (closes #2784577).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:43 +00:00
Enrico Tröger
4d193805fc Refactor some multiple used code into get_multiline_comment_style().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:28 +00:00
Enrico Tröger
daf4c3478b Make the clear icon of entry fields act on the release event, not on the press event like for other buttons.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:14 +00:00
Enrico Tröger
ac50ceb983 Backport change from Scintilla CVS:
Change capitalisation of header file to suit cross-compilation on Unix for Windows.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-08 17:04:40 +00:00
Enrico Tröger
5c91e8aefd Add utils_color_invert() and use it in highlighting.c and printing.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-08 17:00:28 +00:00
Enrico Tröger
1330c145e1 When a filter is set, apply it only to files, not directories and apply the filter to the UTF-8 name of the file as the filter string itself is also UTF-8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-08 16:13:29 +00:00
Enrico Tröger
a6fe1f46f0 Update Pascal styles as they changed in Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3770 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-03 18:13:34 +00:00
Enrico Tröger
e2f7bdd3b6 Update Scintilla to version 1.78.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3769 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-03 17:49:33 +00:00
Enrico Tröger
689c2ed731 Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3768 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-02 19:12:15 +00:00
Enrico Tröger
155f2a84f6 New release: Geany 0.17 "Wessex".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3766 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-02 17:47:42 +00:00
Enrico Tröger
63dc62101a Ignore the invert syntax highlighting colours setting when printing to not print characters on a dark background (closes #2785244).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3764 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-02 17:27:59 +00:00
Nick Treleaven
bebb03c977 Also print debug messages when loading a tag file manually or for
default global tags files e.g. python.tags.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3761 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-01 15:04:46 +00:00
Nick Treleaven
f478125961 Show the number of tags in a user global tags file (instead of the
running total) in the debug message.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-01 14:45:31 +00:00
Enrico Tröger
ef87bbe5b7 Fix passing wrong pointer to the File Open dialog for the Run command in the Project Properties dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 17:17:28 +00:00
Enrico Tröger
6d1371eec2 Update the View->Fullscreen menu item when fullscreen state is changed externally (e.g. by the window manager).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 17:17:13 +00:00
Nick Treleaven
5a9bc1c43f Add 'Installation prefix' section instead of quoting '/usr/local'
each time.
Update for custom system global tags files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3752 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 12:56:02 +00:00
Nick Treleaven
236d99c763 Read custom system global tags files from $prefix/share/geany/tags.
Closes #2778923.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 12:54:15 +00:00
Enrico Tröger
a5521fca27 Fix setting focus to the editor widget after changing the selection in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 20:22:47 +00:00
Enrico Tröger
4b79502943 Fix wrong parsing of string literals (closes #2781264).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:31:21 +00:00
Enrico Tröger
63801f6e60 Add a recent project item after creating a new project.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:31:06 +00:00
Enrico Tröger
b5884be2fa Remember the active sidebar page between sessions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:30:29 +00:00
Enrico Tröger
26318a59ca Prevent crashes when two or more top level items in the symbol list have the same name (closes #2778246).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-25 09:30:07 +00:00
Enrico Tröger
a032a5c111 Use the startup path as the initial directory for the filebrowser plugin when no project and no files are opened
(patch by Matias Gea, thanks; closes #2780521).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:31:23 +00:00
Enrico Tröger
8d6a40a76b Increase the amount of highlighted build error messages to 100.
At least for LaTeX we need higher values as there is a lot of informative output before any errors are reported.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:31:00 +00:00
Enrico Tröger
52e733e305 Set the "ellipsize" property of GtkCellRendererText to automatically shorten the path and file names in the Documents list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:30:07 +00:00
Enrico Tröger
e4dfd09d7c When the editor menu is opened by the Menu key, use the text cursor position for retrieving the current word. This fixes disabled Go to Tag items in the menu (#2780044).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:29:45 +00:00
Enrico Tröger
01fec60c06 Fix a crash when USE_GIO_FILEMON is enabled at closing a document which was reloaded shortly before.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:29:20 +00:00
Enrico Tröger
e26052485c Manually show the main notebook tab bar menu when Shift-F10 is pressed. This broke when we disabled the default GTK tab bar menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-24 19:28:55 +00:00
Enrico Tröger
e908e38a89 Limit the amount of highlighted build error messages in the Compiler window to 50 for performance reasons.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:54:50 +00:00
Enrico Tröger
63809f5e16 Make build commands on Windows run synchronously to avoid problems with reading build commands' output.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:54:19 +00:00
Enrico Tröger
8fcef38e82 Add a hidden preference 'use_safe_file_saving' to save files to disk by creating a temporary file first. This has serious side effects, please read the documentation before enabling this.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:54:04 +00:00
Enrico Tröger
fae6486182 Add new toolbar element: Print (patch by Roland Baudin, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:53:42 +00:00
Enrico Tröger
5ff2057412 Add utils_str_middle_truncate() and document_get_basename_for_display() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:53:11 +00:00
Enrico Tröger
f1eb8dc22d Ellipsize tab labels and some status messages for very long filenames (closes #2777348).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3718 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:52:51 +00:00
Enrico Tröger
61f89d5c25 Add a trivial symbol parser for NSIS files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:52:19 +00:00
Enrico Tröger
6ae141fac0 Replace our own GEANY_KEYS_MODIFIER_MASK by gtk_accelerator_get_default_mod_mask() which gives the same result.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:51:53 +00:00
Enrico Tröger
ec6542fa18 Watch the 'show-hidden' property of the file chooser widget using GObject's "notify" signal which gives accurate results and remove the hack using the "selection-changed" signal.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-19 18:14:12 +00:00
Enrico Tröger
eab512dced Hide the extra file open dialog options in an expander to make the dialog more compact by default and to provide more space for the file view.
Remove the filename field as it is also provided by GTK itself with more features like auto-completion.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3713 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-19 17:54:09 +00:00
Enrico Tröger
0a4256565c Prevent double execution of radio menu item "activate" or "toggled" signal handlers.
Move 'Set Encoding' callback function into encodings.c.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-17 15:30:01 +00:00
Enrico Tröger
1c1306341b When a project is loaded, replace the project base path with the project name in the Documents sidebar for parent items (closes #2723679).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-16 17:55:42 +00:00