Enrico Tröger
6241a4520f
Remove KEY prefix from GDK_KEY_BackSpace constant
...
GDK_KEY_* is GTK3 and doesn't work on older GTK versions.
2012-12-16 10:21:01 +01:00
Steven Blatnick
550b2c1219
Use a backspace to browse up a directory.
2012-12-13 10:45:08 -07:00
Colomban Wendling
c1a7b1b475
Fix various packing issue affecting GTK3 but compatible with GTK2
2012-09-28 18:06:58 +02:00
Colomban Wendling
3b14cca451
Don't use long-deprecated gtk_widget_{ref,unref}()
2012-09-13 16:34:18 +02:00
Colomban Wendling
5ada77df70
Don't use deprecated gtk_box_pack_start_defaults()
2012-09-13 16:34:18 +02:00
Colomban Wendling
d80bc7ce56
Update FSF address
...
Closes #3557875 .
2012-08-24 19:25:57 +02:00
Matthew Brush
d36db75bcb
ClassBuilder: Defy GTK+ conventions and instead generate valid C code
2012-08-10 21:05:41 -07:00
Nick Treleaven
74959b9cb9
Support MSYS=1 to enable building with MSYS; use $/ instead of DIRSEP
...
Defining MSYS=1 is cleaner than requiring users to define CP, RM, etc.
2012-07-04 17:13:14 +01:00
Nick Treleaven
65fe863691
Use PREFIX=C:/libs and minor cleanup (Windows makefiles)
...
This PREFIX works on both cmd.exe and MSYS, whereas backslash confuses
MSYS.
Use copy /y in doc/makefile.win32.
Remove unused targets binclean, exec.
2012-07-04 16:47:38 +01:00
Nick Treleaven
c72dce06a5
Merge remote-tracking branch 'origin/master' into tm/tree-refactoring
...
Conflicts:
makefile.win32
src/makefile.win32
2012-07-04 12:15:53 +01:00
Chow Loong Jin
8187268ad0
Link export plugin against libm (-lm)
...
The export plugin uses the pow() function from libm without linking against
it. It has worked so far because Geany itself has a link against libm, but
should that be removed in the future, this would fail to resolve symbols.
Signed-off-by: Chow Loong Jin <hyperair@debian.org>
Signed-off-by: Colomban Wendling <ban@herbesfolles.org>
2012-06-21 16:03:20 +02:00
Colomban Wendling
1c2c455b1d
Update copyright information
2012-06-18 01:15:04 +02:00
Nick Treleaven
18cec1fb81
Fix Windows build
2012-06-06 15:21:00 +01:00
Colomban Wendling
d69a153bb4
Refactor tagmanager source files architecture
...
Split ctags and tagmanager sources, as follows:
tagmanager/ctags: the parsers, more or less upstream CTags;
tagmanager/mio: local MIO library copy;
tagmanager/src: actual tagmanager sources.
2012-05-08 23:01:23 +02:00
Enrico Tröger
3d1c7e3f57
PEP8 fixes
2012-05-04 23:11:40 +02:00
Enrico Tröger
af70c1dbcb
Make the script Python3 compatible
2012-05-04 23:10:43 +02:00
Dimitar Zhekov
f2d33bc16e
Add stash_group_free_settings() function to API
...
Frees the memory allocated for setting values in a group.
2012-04-06 14:04:01 +01:00
Lex Trotman
fa118fb12a
Add build command access to plugin interface
...
Add ability for plugins to read and edit the fields of the build commands.
2012-02-15 14:18:34 +11:00
Nick Treleaven
b287553e4a
Use 'SETPTR' instead of 'setptr'
...
This makes it clearer we're using a macro.
2012-01-25 16:26:16 +00:00
Nick Treleaven
011dd017e0
Enable default Scintilla editing menu for Split Window
...
This allows copying and pasting, undo etc.
2012-01-25 13:40:39 +00:00
Nick Treleaven
eb04c514ba
Add API function ui_lookup_stock_label()
...
Using this can avoid adding i18n strings unnecessarily.
2012-01-08 17:37:58 +00:00
Nick Treleaven
34e6bddde8
Add File Browser path entry tooltip
2012-01-03 16:29:32 +00:00
Nick Treleaven
a5995468ef
Show marker margin in split window
...
Although go to marker commands (or other keybindings) don't work, the
marker margin can still be useful, and improves alignment with the
original sci widget when using the Top & Bottom split.
2011-12-19 18:23:46 +00:00
Nick Treleaven
ffb33c5299
Show/hide fold margin on sync, not on split
2011-12-19 17:58:51 +00:00
Nick Treleaven
8bdc2d376b
Don't manually disconnect "sci-notify" signal
...
This will get disconnected when the widget is destroyed.
2011-12-19 17:50:58 +00:00
Nick Treleaven
8818ee3fc9
Include gdk-pixbuf-2.0 path for recent GTK+ dev (Windows build)
...
Fixes #3396195 .
Note: GTK+ 2.24 is the current maintained version of the developer
files bundle:
http://www.gtk.org/download/win32.php
2011-12-08 12:53:11 +00:00
Nick Treleaven
58729d4de9
Use foo.o instead of foo.dll.o to enable Make Object (Windows build)
2011-11-16 17:27:31 +00:00
Nick Treleaven
f1b9c58612
Fix auto-saving documents when the current document has no filename
2011-11-02 15:10:50 +00:00
Colomban Wendling
36ebb1f2b7
Use canonical macros for stock items rather than plain strings
...
This makes the code more readable, potentially more future-proof (if
the actual string changes) and better style (catches possible typos at
build-time).
2011-10-30 22:01:49 +01:00
Matthew Brush
a23e999b7b
Bump GTK+ version to 2.16
2011-10-28 10:25:58 -07:00
Matthew Brush
c4980f8c1e
classbuilder: Move caret to start of generated documents
2011-10-28 01:12:29 -07:00
Matthew Brush
65e20780e4
classbuilder: Use GTK/GNU code style for generated GTK+ code
...
Use two spaces instead of tabs, spaces between function and opening
argument bracket, and various minor changes.
Add dummy gpointer to private struct so the class can be compiled
without modification.
2011-10-28 00:31:26 -07:00
Matthew Brush
bd5fba7eb5
Remove extra whitespace at end of lines in all source files.
...
* Processed with rstrip-whitespace.py script added to scripts/ directory.
* Script run on all .c and .h files in src/ and plugins/ directories.
* Also remove more than one newline at the end of files.
2011-10-11 21:52:58 -07:00
Matthew Brush
182bdc3b17
Replace GTK_BIN(...)->child with gtk_bin_get_child(...)
2011-10-11 21:30:28 -07:00
Colomban Wendling
d06e9f4575
Remove $Id$ and $Date$ SVN keywords
2011-10-09 22:57:35 +02:00
Colomban Wendling
5bad25e2ab
Only include config.h when building Geany
...
config.h is not distributed, and we includ it from geany.h. Even
though it was only included it HAVE_CONFIG_H was defined, an Autotools
based build system is likely to define it, and it becomes a problem if
that very build system uses another header name than config.h.
Closes #3384026
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-03 15:20:26 +00:00
Colomban Wendling
9fa8cd8bf9
Fix a few GCC warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:43 +00:00
Colomban Wendling
3bd6a01525
Fix a few signed vs. unsigned and differently-sized integer problems
...
Most notably, utils_get_line_endings() and document_open_file_list()
don't support -1 as the size anymore. If the size should be computed
from null-terminated data, the caller code must take care of doing so.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5855 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:17 +00:00
Colomban Wendling
6380810550
Remove treeview-related pre GTK 2.12 support
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 23:03:19 +00:00
Colomban Wendling
5d606ce351
Deprecate ui_widget_set_tooltip_text() in favor of gtk_widget_set_tooltip_text()
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-13 18:41:50 +00:00
Colomban Wendling
24705610ab
Enable SplitWindow build on Windows again
...
Re-apply r5638 now the SplitWindow plugin is fixed for real.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-09 13:22:02 +00:00
Colomban Wendling
e8b724ca05
Remove widget reparenting in Split Window plugin
...
Instead of reparenting the documents notebook full of
ScintillaObjects, just ref it, remove it from the old parent, add
it to the new parent, and then unref it. This fixes the display
issue on Windows and seems to have no issues on Linux.
Patch by Matthew Brush, thanks.
Closes #2725342 .
Re-apply this patch now the X PRIMARY selection bug is fixed in
Scintilla's side (see r5692).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-09 13:21:45 +00:00
Nick Treleaven
2a45938205
Add utils_find_open_xml_tag_pos() API function (patch by Eugene
...
Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-23 11:44:31 +00:00
Enrico Tröger
9f8c5103a8
Add document_compare_by_tab_order() and document_compare_by_tab_order_reverse() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-17 13:40:04 +00:00
Enrico Tröger
d478a5cc01
Add missing parts from previous commit, oops
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-12 17:24:13 +00:00
Nick Treleaven
3aa483d82f
Update path when saving a new document for the first time if the
...
follow path option is enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-11 12:07:19 +00:00
Enrico Tröger
66c8b7faee
Add ui_menu_add_document_items_sorted() and document_sort_by_display_name() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 17:03:41 +00:00
Nick Treleaven
07fed6de1e
Don't hide directories matching hidden file extensions e.g. foo.o.
...
Refactor with check_object().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-31 17:58:01 +00:00
Nick Treleaven
e6c579c624
Fix optimization for filter check when pattern is '*'.
...
Use foreach_strv() instead of foreach_c_array().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-31 17:28:03 +00:00
Nick Treleaven
b41b021674
Fix applying default setting for hide_object_files (oops).
...
Fix warning when enabling plugin from the Plugin Manager.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-31 15:34:55 +00:00