Nick Treleaven
4495997fcf
Add menu separator so users don't accidentally click revert and lose
...
all their work.
Capitalize revert menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:09:04 +00:00
Nick Treleaven
4c6f97d148
Fix gtk_widget_destroy() warning when unloading plugin and no svn
...
binary is in /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/nmt/bin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:05:20 +00:00
Nick Treleaven
190a7e9d33
Fix sign comparison warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 12:54:04 +00:00
Enrico Tröger
e99a263013
Fix compile error on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 18:05:49 +00:00
Nick Treleaven
c3db657c01
Update 'Adding a filetype' section for new highlighting.c code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 16:15:58 +00:00
Enrico Tröger
c5f7867aea
Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 15:09:13 +00:00
Frank Lanitz
293bba1692
Added support for svn revert and a little patch from Yura Siamashka to re-use an already created tab for a new diff on the same file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 14:21:46 +00:00
Enrico Tröger
f819bde65a
Use g_unlink() instead of unlink(). Minor code cleanups and add some sanity checks. Fix broken Run command on Windows by not changing Geany's working directory (this might break other things, unfinished).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 19:26:02 +00:00
Enrico Tröger
cd77937561
Use g_unlink() instead of unlink().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 16:31:47 +00:00
Enrico Tröger
7cc8825ef1
Fix crashes on Windows when configuration directory could not be created. Fix problems when configuration directory path contains special characters.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 15:48:14 +00:00
Enrico Tröger
9610c0f63d
Add document_set_text_changed() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:12:15 +00:00
Enrico Tröger
dc4bc34e36
Add support for env wrapper in shebang detection (inspired by a patch from Yura Siamashka).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:06:06 +00:00
Enrico Tröger
281641de55
Fix error in Compile and Build commands on Windows if the command contains double quotes. Fix error in Build command when the executable file name contains spaces(Linux and Windows).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 09:57:47 +00:00
Nick Treleaven
046d5ef796
Fix bug with using the default extension, not the user set one, if
...
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 17:44:05 +00:00
Nick Treleaven
be322a8703
Show line wrap symbol at start of line for wrapped lines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:57:51 +00:00
Enrico Tröger
c25e30510d
Remove Scintilla keybinding Alt-Backspace for Undo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:07:01 +00:00
Enrico Tröger
dba689edf2
Fix broken window maximization.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 13:03:54 +00:00
Enrico Tröger
bceb2ce942
Add exit code detection for Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 12:58:38 +00:00
Nick Treleaven
79ff87713a
Add configurable default file extension setting for filetype
...
definition files.
Note: There is a bug with using the default extension, not the user
set one, if 'New with template' is used before any documents of the
same filetype are open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:33:06 +00:00
Nick Treleaven
648735da9e
Update 2 completed items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:15:48 +00:00
Nick Treleaven
dcd06b21af
Ensure document_update_tag_list() always shows the empty symbol list
...
when tags cannot be parsed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 13:00:32 +00:00
Nick Treleaven
fbb8fb5f54
Enable build support on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:54:38 +00:00
Nick Treleaven
340c76f01c
Prevent prefs dialog being hidden after using the prefs file dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:53:00 +00:00
Enrico Tröger
331a7848fc
Oops.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:10:28 +00:00
Enrico Tröger
991a6c7811
Create tagmanager status file in configuration directory, not in a guessed temporary directory to ensure having write access. Fix crashes if status file can't be written.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 11:49:29 +00:00
Nick Treleaven
deb7a04d14
Only translate '%s source file' instead of whole title for filetypes
...
(easier for new translations).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 16:41:01 +00:00
Nick Treleaven
d8c3ecaf11
Ensure empty symbol list is shown when tags cannot be parsed (fixes
...
wrong symbol list shown when creating a new document with an unsaved
filename set).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 16:22:01 +00:00
Nick Treleaven
6ca340f015
item: parsing tags from a memory buffer instead of a file on disk.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 16:20:13 +00:00
Nick Treleaven
05f87ce949
item: show autocompletion symbol icons - see SCI_REGISTERIMAGE.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 13:31:22 +00:00
Nick Treleaven
c1205dc504
Use newline as autocompletion list separator, so that reST entries
...
show correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:56:12 +00:00
Nick Treleaven
f836bbcd7f
Set reStructuredText default file extension .rst.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:16:48 +00:00
Frank Lanitz
c1fa31f3d6
Update of German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 10:19:34 +00:00
Frank Lanitz
35c84d4cbc
Make svn error messages better readable
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 10:16:43 +00:00
Nick Treleaven
b01425321e
Rename tagm macro tagmanager (should be clearer).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 17:16:51 +00:00
Nick Treleaven
7e704a20ea
Don't dereference symlinks.
...
Make sure current_dir always has a full path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 17:15:03 +00:00
Nick Treleaven
25b85ba09c
Make Fold All/Unfold All attempt to scroll the current line in view.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 16:53:40 +00:00
Nick Treleaven
28504ed889
Add a separate menu item for diff from the current directory.
...
Disable file and directory diff menu items if the current document
has no filename.
Disable project menu item when no project is open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 16:34:12 +00:00
Nick Treleaven
563ea7180d
Factor out common make_diff() and show_output() functions for both
...
file and directory diffs.
Show any SVN error message on the status bar.
Use directory name as prefix for output filename when doing a
directory diff.
Don't remove filename extension for file diffs.
Fix some memory leaks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 12:57:23 +00:00
Enrico Tröger
560341bfcf
Replace "Hide" popup menu items of the symbol and document list with "Show Document List" and "Show Symbol List" check menu items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-28 21:14:35 +00:00
Enrico Tröger
dd67516ac9
Add macro project for app->project.
...
Rename macro tm to tagm to avoid conflicts with tm struct of time.h.
Fix a warning about shadowing a global symbol.
Use plugin macros in Export and SVNDiff plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-28 20:54:25 +00:00
Enrico Tröger
2d77d3013a
Add support for relative project base path.
...
Improve and synchronize base path tooltips in project new and properties dialogs.
Fix minor GUI annoyances in project dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-28 17:02:36 +00:00
Nick Treleaven
e4a593a4e6
Show icons only in the file browser toolbar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 16:09:00 +00:00
Nick Treleaven
cf3f0594d4
Capitalize menu item text.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 16:07:36 +00:00
Nick Treleaven
9dceb9b263
Capitalize menu item text.
...
Minor editing of some strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 16:04:38 +00:00
Nick Treleaven
bdeaee38f0
Prevent conflict with document::encoding (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 15:54:28 +00:00
Nick Treleaven
58c702dafa
Prevent conflict with document::encoding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 15:53:19 +00:00
Nick Treleaven
1825a8dd40
Make all plugins distributed with Geany have the same version number
...
as Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-26 12:32:23 +00:00
Frank Lanitz
634bc6c328
Added feature to make a diff from an open project or a current directory
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-25 17:38:35 +00:00
Frank Lanitz
8a2d296ece
Update of Swedish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-25 07:21:31 +00:00
Nick Treleaven
3d91095b64
Fix bug with choosing 'show full path name' from documents list popup
...
menu when there is no selected item (can happen after using the command
twice).
Fix hiding the sidebar/documents list from the popup menu when there's
no selected item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 16:10:56 +00:00