2154 Commits

Author SHA1 Message Date
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
Nick Treleaven
94fbc4ba12 Add pluginmacros.h to define common macros for app, utils, etc.
Add more documentation/comments to demoplugin.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 12:04:15 +00:00
Nick Treleaven
58243ee302 Add 'Show hidden files' checkbox in the popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 11:15:00 +00:00
Nick Treleaven
b8cdb9774a Use the current directory when there are no documents open.
Add popup menu with Open command.
Separate toolbar code from init().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 11:02:43 +00:00
Nick Treleaven
601dfd69f7 Make msgwin_status_add() only log a message, not display it on the
status bar.
Make ui_set_statusbar() take a log argument for whether to record the
message in the Status window.
(Plugin API functions already do this).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 10:52:48 +00:00
Nick Treleaven
90f19ceb3f Remove unused variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-23 15:23:08 +00:00
Nick Treleaven
78c058816d Set the status bar instead of logging status messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-23 15:20:38 +00:00
Frank Lanitz
04c7d00af9 SVNdiff: Improvment of handling of non-UTF diffs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-23 11:49:28 +00:00
Enrico Tröger
0c79897dfe Don't make notebook tabs higher than necessary.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 17:10:02 +00:00
Nick Treleaven
a54ddf4795 Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:42:19 +00:00
Nick Treleaven
e38491184d item: make the VTE interpret keybindings first (not just some bash shortcuts).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:31:26 +00:00
Enrico Tröger
fbe1d5429d Fix possible wrong window title when loading session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-20 14:57:37 +00:00
Frank Lanitz
0cf185f4e5 Added Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 17:56:24 +00:00
Enrico Tröger
fd4881a7bd Forgot to commit, sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 16:55:04 +00:00
Enrico Tröger
6b94181466 Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 14:48:19 +00:00
Enrico Tröger
00afcbcc86 Add special key wordchars to autocomplete.conf to let the user redefine used wordchars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 19:55:21 +00:00
Enrico Tröger
89b9682145 Fix minor compiler warning about shadowed variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 18:19:17 +00:00
Enrico Tröger
62d31d6c92 Add encoding related functions to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 18:03:28 +00:00
Nick Treleaven
e20883cdcb Apply patch from Catalin Marinas to add a 'newline strips trailing
spaces' pref (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 12:00:43 +00:00
Nick Treleaven
5f688c6294 Apply patch from Catalin Marinas to add a 'newline strips trailing
spaces' pref (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 11:52:47 +00:00
Nick Treleaven
6da493990e Only connect vte_keypress() if enable_bash_keys pref is not set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 11:37:45 +00:00
Nick Treleaven
f0e2b35c0d Update plugin api_version for new indentation fields.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:55:47 +00:00
Nick Treleaven
a2589f87fa Add Indent Type option in the Document menu.
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 12:27:07 +00:00
Nick Treleaven
b14e5a7590 Parse arrays, const and pointers in C-like function return types
(and store in varType).
Fix some indentation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 11:55:59 +00:00
Nick Treleaven
ea11001ef5 item: calltips for more languages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 11:48:42 +00:00