2837 Commits

Author SHA1 Message Date
Frank Lanitz
abf984d690 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-12 06:02:35 +00:00
Frank Lanitz
acc16e7382 Corrected a wrong comma in German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 19:16:39 +00:00
Frank Lanitz
069e180ea7 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 18:59:01 +00:00
Enrico Tröger
f4c66b2fa9 Updated generated marshal code for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 17:30:04 +00:00
Enrico Tröger
c0c173d20e Create Makefiles for src, tagmanager and scintilla sub directories to be able to run make from within Geany.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 17:03:01 +00:00
Enrico Tröger
54cf3a19bd Fix wrong marshal type (pointer != int).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:41:11 +00:00
Enrico Tröger
95c9b0e751 Use proper quoted multi-line string check from CTags SVN.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:37:18 +00:00
Enrico Tröger
361a64c3fd Change format of PHP tags file to internal tagmanager format since it is auto-generated and is read maybe a little bit faster.
Add auto-generated notice and timestamp at the beginning of the file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:44:00 +00:00
Enrico Tröger
f36ff8ce07 Add create_py_tags.py to create a global tags file for Python (thanks to Dominic Hopf).
Add generated Python tags file (Python 2.5).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:39:17 +00:00
Enrico Tröger
3b1b9fd6d2 Fix endless loop when there are two triple strings on one line inside a multiline string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:18:08 +00:00
Enrico Tröger
0d4cbd60a1 Allow and use arguments to the browser command (closes #1989575).
Add 'xdg-open' as first browser fallback.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 13:51:45 +00:00
Nick Treleaven
9ab442e146 Remove unnecessary vStringClear(name) calls after using the name
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 12:16:27 +00:00
Enrico Tröger
5739654633 Windows changes: Install plugins into lib/ not into plugins/. Don't link against libiconv when compiling against GLib 2.14 and above (it's statically linked into GLib). Install Geany's message catalogs into share/locale rather than lib/locale as GTK does since 2.12.2.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2673 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 19:29:54 +00:00
Enrico Tröger
57b50763df Remove useless path separator.
Set $(docdir) if it is not set automatically.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:43:48 +00:00
Enrico Tröger
6a830028f8 Compile Scintilla without threading support to fix freezes with GLib >= 2.16 on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:29:25 +00:00
Enrico Tröger
680b133ea6 Remove useless check (left-over from testing).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:17:38 +00:00
Nick Treleaven
86b48c20fc Refactor using findVariable().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:12:19 +00:00
Nick Treleaven
8d71676280 Fix variable names sometimes having leading junk characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 15:03:53 +00:00
Frank Lanitz
b21dfe8e89 Update of Russian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 20:09:00 +00:00
Frank Lanitz
9fcf17b70a Update of Czech translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 19:42:28 +00:00
Enrico Tröger
234852ad8a Fix indentation of two lines.
List source files explicitly to avoid compiling foreign source files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 19:02:21 +00:00
Enrico Tröger
e816713cb2 Remove duplicate.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 15:15:30 +00:00
Enrico Tröger
89c0342ac1 Reshow a previously shown calltip if an auto completion list was cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:49:22 +00:00
Enrico Tröger
b7d6c80c47 Backport AutoCCancelled event implementation from Scintilla CVS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:38:01 +00:00
Enrico Tröger
ca0de44c11 Update Waf to its latest SVN version.
Don't update po files on normal build, add target --update-po for this task.
Fix wrong handling of CCFlags and CXXFlags which caused the build to hang if CFLAGS were not already set.
Don't make checks for header files and functions mandatory.
Update some method names to latest API changes in Waf.
Various other small fixes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:19:49 +00:00
Enrico Tröger
454a871de2 Use Python from CTags SVN.
Adapt variable parsing code from the old parser code.
Fix three bugs (see CTags bugs #1988026, 1988027 and 1988130).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:04:01 +00:00
Enrico Tröger
46feb9df7d Fix two ambiguous encoding names for better compatibility with libiconv (closes #1986134).
Improve the regular expression for detecting encoding cookies to allow more variants (e.g. "encoding: utf-8").

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 12:18:20 +00:00
Frank Lanitz
dd03f5e708 Little update of a string
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2658 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-07 11:42:31 +00:00
Frank Lanitz
37b515377d Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2657 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-07 11:30:09 +00:00
Nick Treleaven
6cb19c0ae1 Revert use of SCN_PAINTED - this is called much more often than
SCN_UPDATEUI and slows down Geany.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 16:53:48 +00:00
Enrico Tröger
3f33385c76 Remove unused imports.
Remove hacks for Doxyfile.in and geany.desktop.in.
Move htmldoc and apidoc targets into shutdown().         


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2655 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 16:38:34 +00:00
Enrico Tröger
3a5345c3d4 Fix diff output when files were manually added with 'git add' in GIT repositories (patch by Yura Siamashka).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 14:53:40 +00:00
Enrico Tröger
ffbc70bb69 Rename geany.desktop.in.in in geany.desktop.in as we need to process it only once.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 14:27:08 +00:00
Enrico Tröger
3918e53219 Display current file position in the status bar when compiled with GEANY_DEBUG.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 14:17:16 +00:00
Nick Treleaven
4c6be39e95 Add comment for last commit:
Also fix the document last_check assignment so that the disk is only
polled every file_prefs.disk_check_timeout seconds (not sure how
this got missing - maybe it was my fault?).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2651 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 12:37:10 +00:00
Nick Treleaven
17351f2534 Check that the current file is still on disk as well as checking the
modification time.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-06 12:31:05 +00:00
Enrico Tröger
d56ef68ae4 Remove check for unistd.h, assume it is available (already often used without checking).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 16:52:39 +00:00
Nick Treleaven
d4748f43dd Fix segfault after Save As (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2648 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 16:42:28 +00:00
Nick Treleaven
6e91b0aba1 Update documentation for real_path, minor edit of file_name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 16:07:39 +00:00
Enrico Tröger
ccb2b3ca78 Add alternative build system: Waf.
Use wafinit.sh to create a Makefile and configure files.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2646 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 14:05:55 +00:00
Nick Treleaven
9268c9a1dc Replace 2 macros only used locally with const char pointers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2645 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 12:43:10 +00:00
Nick Treleaven
4fb246b243 Only reorder recent files on closing documents that have existed on
disk.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 12:36:48 +00:00
Nick Treleaven
aff4cdbc69 Only save session documents that have existed on disk (don't save
documents with a filename set but have never been saved).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 12:21:50 +00:00
Nick Treleaven
73d817275a Only set GeanyDocument::real_path when the file exists on disk -
after a successful save or open.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 12:14:51 +00:00
Enrico Tröger
7c591fbebd Change preprocessor checks for sys/time.h and remove unnecessary sys/stat.h check.
Remove useless or unused configure checks.
Install THANKS file by default.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-04 15:43:52 +00:00
Enrico Tröger
85febd5fd7 Restore the previous state of main_status.quitting status when asking for reload a changed file instead of setting it to true. Oops.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2640 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-04 13:23:43 +00:00
Enrico Tröger
8a0bcccced When quitting, prevent inconsistent GUI elements when cancelling on an unsaved file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-03 18:15:52 +00:00
Nick Treleaven
4d3ba6e7a2 Fix using wrong encoding for document filename when doing a
directory diff.
Replace find_by_filename() with p_document->find_by_filename() (now
it does the same job).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-03 17:26:22 +00:00
Nick Treleaven
50b0a10654 Note: this breaks the plugin API for plugins using
document_find_by_filename().
Make document_find_by_filename() take only a utf8_filename argument,
and now match any documents that have a filename set but aren't saved
on disk.
Add document_find_by_realpath() to the plugin API.
Add filename argument for document_save_file_as().
Add GeanyDocument::real_path field, which if non-NULL indicates the
file once existed on disk (not just as an unsaved document filename).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2637 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-03 17:22:04 +00:00
Enrico Tröger
45c62d7e3b Fix slightly wrong preprocessor checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2636 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-03 16:30:54 +00:00