Revision: 2288
http://geany.svn.sourceforge.net/geany/?rev=2288&view=rev
Author: eht16
Date: 2008-02-27 06:21:34 -0800 (Wed, 27 Feb 2008)
Log Message:
-----------
Fix ignoring of some keybindings when caps lock is active (introduced in r2253).
Modified Paths:
--------------
trunk/src/keybindings.c
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2008-02-27 13:17:29 UTC (rev 2287)
+++ trunk/src/keybindings.c 2008-02-27 14:21:34 UTC (rev 2288)
@@ -742,10 +742,12 @@
state = ev->state & GEANY_KEYS_MODIFIER_MASK;
/* hack to get around that CTRL+Shift+r results in GDK_R not GDK_r */
- if (state & GDK_SHIFT_MASK)
+ if ((ev->state & GDK_SHIFT_MASK) || (ev->state & GDK_LOCK_MASK))
if (keyval >= GDK_A && keyval <= GDK_Z)
keyval += GDK_a - GDK_A;
+ /*geany_debug("%d (%d) %d (%d)", keyval, ev->keyval, state, ev->state);*/
+
/* special cases */
#ifdef HAVE_VTE
if (vte_info.have_vte && check_vte(state, keyval))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2286
http://geany.svn.sourceforge.net/geany/?rev=2286&view=rev
Author: ntrel
Date: 2008-02-26 09:11:49 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
Load ignore.tags even when global tags loading is disabled on the
command-line, so that local tags in each open file can be ignored.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/symbols.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-02-26 17:11:02 UTC (rev 2285)
+++ trunk/ChangeLog 2008-02-26 17:11:49 UTC (rev 2286)
@@ -1,3 +1,12 @@
+2008-02-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/highlighting.c:
+ Move symbols_global_tags_loaded() out of styleset_common().
+ * src/symbols.c:
+ Load ignore.tags even when global tags loading is disabled on the
+ command-line, so that local tags in each open file can be ignored.
+
+
2008-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c 2008-02-26 17:11:02 UTC (rev 2285)
+++ trunk/src/symbols.c 2008-02-26 17:11:49 UTC (rev 2286)
@@ -103,17 +103,13 @@
}
-// Ensure that the global tags file for the file_type_idx filetype is loaded.
+/* Ensure that the global tags file(s) for the file_type_idx filetype is loaded.
+ * This provides autocompletion, calltips, etc. */
void symbols_global_tags_loaded(gint file_type_idx)
{
TagFileInfo *tfi;
gint tag_type;
- if (cl_options.ignore_global_tags || app->tm_workspace == NULL)
- return;
-
- load_user_tags(file_type_idx);
-
// load ignore list for C/C++ parser
if ((file_type_idx == GEANY_FILETYPES_C || file_type_idx == GEANY_FILETYPES_CPP) &&
c_tags_ignore == NULL)
@@ -121,6 +117,11 @@
load_c_ignore_tags();
}
+ if (cl_options.ignore_global_tags || app->tm_workspace == NULL)
+ return;
+
+ load_user_tags(file_type_idx);
+
switch (file_type_idx)
{
case GEANY_FILETYPES_PHP:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2284
http://geany.svn.sourceforge.net/geany/?rev=2284&view=rev
Author: ntrel
Date: 2008-02-26 08:36:24 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
Add a few items for 1.0, custom template file support, some reordering.
Modified Paths:
--------------
trunk/TODO
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2008-02-25 17:27:54 UTC (rev 2283)
+++ trunk/TODO 2008-02-26 16:36:24 UTC (rev 2284)
@@ -1,16 +1,15 @@
TODO List:
----------
-(features included in () have lower priority)
+(features included in brackets have lower priority)
Fix bugs:
o fix bug that prevents UTF-16, UTF-32 files from being loaded.
o tagmanager fails on UTF-16/32
+
Next version or later:
-
o documentation: list and explain filetype modes
o documentation: preferences
- o line breaking mode to limit words on a line for e.g. XML content
o common default highlighting styles configurable for all
programming languages
o basic support for adding custom filetypes?
@@ -19,8 +18,7 @@
o recent projects menu
o project indentation settings support
o plugin keybindings
- o include standard library tags only for C global.tags (offer
- separate GTK tags file for download)
+ o (line breaking mode to limit words on a line for e.g. XML content)
o (DBUS)
o (startup notification)
o (indent wrapped lines - Scintilla issue)
@@ -34,8 +32,18 @@
target...)
o (tango-like icons for the symbol list)
o (show autocompletion symbol icons - see SCI_REGISTERIMAGE)
+ o (custom template file support)
+ 1.0:
+ o generating tags for latex/pascal/php
+ o include standard library tags only for C global.tags (offer
+ separate GTK tags file for download)
+ o stable plugin ABI for the 1.0 series? (Split up geany_data, prefs,
+ GeanyKeyCommand enum into groups)
+ o review documentation
+
+
Wishlist
--------
Note: These items might not get worked on.
@@ -43,6 +51,6 @@
o Some kind of support for ctags files.
o Scope resolution for object members.
o Multiline regex support (requires work on Scintilla)
+ o Split window editing.
o Python scripting plugin? (not as efficient as Lua, but perhaps
more widely known)
- o Split window editing.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2282
http://geany.svn.sourceforge.net/geany/?rev=2282&view=rev
Author: ntrel
Date: 2008-02-25 09:02:23 -0800 (Mon, 25 Feb 2008)
Log Message:
-----------
When closing a tab when using left-to-right tabs, focus the next
document, not the previous.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/notebook.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-02-25 16:37:46 UTC (rev 2281)
+++ trunk/ChangeLog 2008-02-25 17:02:23 UTC (rev 2282)
@@ -1,3 +1,10 @@
+2008-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/notebook.c:
+ When closing a tab when using left-to-right tabs, focus the next
+ document, not the previous.
+
+
2008-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/options.c, src/symbols.c, src/symbols.h:
Modified: trunk/src/notebook.c
===================================================================
--- trunk/src/notebook.c 2008-02-25 16:37:46 UTC (rev 2281)
+++ trunk/src/notebook.c 2008-02-25 17:02:23 UTC (rev 2282)
@@ -406,11 +406,22 @@
}
-// Always use this instead of gtk_notebook_remove_page().
+/* Always use this instead of gtk_notebook_remove_page(). */
void notebook_remove_page(gint page_num)
{
+ gint oldpage = gtk_notebook_get_current_page(GTK_NOTEBOOK(app->notebook));
+
gtk_notebook_remove_page(GTK_NOTEBOOK(app->notebook), page_num);
+
tab_count_changed();
+
+ /* Focus the next page, not the previous */
+ if (oldpage == page_num && prefs.tab_order_ltr)
+ {
+ /* Unless the first tab was closed */
+ if (oldpage > 0)
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(app->notebook), oldpage);
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2280
http://geany.svn.sourceforge.net/geany/?rev=2280&view=rev
Author: eht16
Date: 2008-02-24 02:30:57 -0800 (Sun, 24 Feb 2008)
Log Message:
-----------
Make the make command overwritable, patch by Pierre Joye. Thanks.
Modified Paths:
--------------
trunk/ChangeLog
trunk/makefile.win32
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-02-24 10:27:32 UTC (rev 2279)
+++ trunk/ChangeLog 2008-02-24 10:30:57 UTC (rev 2280)
@@ -10,6 +10,8 @@
Apply patch by Pierre Joye to add new process spawning implementation
for Windows. Make utils_spawn_* available to plugin API.
This makes the VCdiff plugin to work on Windows (thanks).
+ * makefile.win32:
+ Make the make command overwritable, patch by Pierre Joye. Thanks.
2008-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/makefile.win32
===================================================================
--- trunk/makefile.win32 2008-02-24 10:27:32 UTC (rev 2279)
+++ trunk/makefile.win32 2008-02-24 10:30:57 UTC (rev 2280)
@@ -16,15 +16,16 @@
CXX = g++
CP = copy
RM = del
+MAKE = make
-include localwin32.mk
# Note: && is needed after cd because each line is executed in a different
# shell. (cd .. is just for clarity).
all: check-tools config.h
- cd tagmanager && make -f makefile.win32 && cd ..
- cd scintilla && make -f makefile.win32 && cd ..
- cd plugins && make -f makefile.win32 && cd ..
- cd src && make -f makefile.win32 && cd ..
+ cd tagmanager && $(MAKE) -f makefile.win32 && cd ..
+ cd scintilla && $(MAKE) -f makefile.win32 && cd ..
+ cd plugins && $(MAKE) -f makefile.win32 && cd ..
+ cd src && $(MAKE) -f makefile.win32 && cd ..
# first check the required tools are installed
check-tools:
@@ -43,7 +44,7 @@
-$(RM) geany_private.res geany.exe
clean: deps
- cd tagmanager && make -f makefile.win32 clean && cd ..
- cd scintilla && make -f makefile.win32 clean && cd ..
- cd plugins && make -f makefile.win32 clean && cd ..
- cd src && make -f makefile.win32 clean && cd ..
+ cd tagmanager && $(MAKE) -f makefile.win32 clean && cd ..
+ cd scintilla && $(MAKE) -f makefile.win32 clean && cd ..
+ cd plugins && $(MAKE) -f makefile.win32 clean && cd ..
+ cd src && $(MAKE) -f makefile.win32 clean && cd ..
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.