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
ed66c2b293
Remove LW() macro
2012-01-25 13:46:31 +00:00
Colomban Wendling
9031335971
Set prefs' encoding combo boxes "wrap with" in the Glade file directly
2012-01-20 19:31:57 +01:00
Colomban Wendling
7f16b9a4fb
Fix content of encodings and EOL style prefs ComboBoxes (oops)
...
I broke them in ca922e0ddc8022283ec3c1f49aaa15ab7c5ba213
Now the two encoding combo boxes shares the same data, which is
built only once.
2012-01-20 19:28:35 +01:00
Colomban Wendling
9130b84d86
Add ui_builder_get_object()
...
This is used to get any object built from the UI file, not widgets only.
2012-01-20 19:14:31 +01:00
Nick Treleaven
21cd7bb213
Add Project overrides for 'Saving files' checkbox options
2012-01-19 18:17:12 +00:00
Jiří Techet
5cc8a96d44
Do not show document change notification dialog when MRU switch is in progress
...
When switching between MRU documents, Geany pops up a dialog about
document change even for the intermediate non-final documents.
This leads to both reload dialog and document switch dialog displayed
at the same time and termination of document switching because the
newly displayed dialog takes focus.
This patch disables reload checks for the intermediate documents and
forces reload check for the final document.
2012-01-12 00:33:50 +01:00
Jiří Techet
73f345eb09
Use standard include paths for "open selected file"
...
Under linux, try to locate the file with the given
name also under /usr/local/include and /usr/include.
This feature is probably most often used for
opening include files so this helps for the system
ones.
In addition, fix locale/utf8 encoding usage.
2012-01-11 22:57:31 +01:00
Jiří Techet
d4b2b89d00
Maybe != may be
2012-01-11 22:57:31 +01:00
Nick Treleaven
8a928956a4
Fix project dialog recreation (oops)
...
Remove memset - rely on static data to be zeroed.
2012-01-09 16:43:14 +00:00
Nick Treleaven
5288dbe5d3
Add Project New, Close keybindings
2012-01-09 16:35:29 +00:00
Nick Treleaven
1fcff6f7bf
Fix unused variable warning
2012-01-09 15:58:10 +00:00
Nick Treleaven
fa3b07bcff
Fix missing initializers warning on = {0}
2012-01-09 15:56:59 +00:00
Matthew Brush
0755b44db1
Merge branch 'project-dialog-fix'
2012-01-08 15:58:37 -08:00
Colomban Wendling
aa96bc2cbf
Add missing ComboBox cell renderers in Glade rather than manually
...
This also fixes the duplicated renderers when there was already one
in Glade, and a second one got added manually.
2012-01-08 22:55:28 +01:00
Matthew Brush
31bc70d0f3
Fix one-off leak by allocating PropertyDialogElements on the stack
...
Also prevents following a whole code path for nothing, by only calling
create_properties_dialog() once per run.
2012-01-08 11:48:54 -08:00
Matthew Brush
6968a1a957
Make it so project properties form errors can be corrected (oops)
...
Was broken during last commit.
2012-01-08 11:34:27 -08:00
Matthew Brush
c85b89afdd
Port more of the Project properties dialog to Glade
...
Fixes issue where dialog was being destroyed and would not show 2nd time.
2012-01-08 11:24:21 -08:00
Nick Treleaven
3cb3826aad
Fix using 'All files' instead of 'None' in Open dialogs (Windows)
2012-01-08 17:53:49 +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
8f44132dcd
Add 'Open Project' keybinding
2012-01-08 17:14:04 +00:00
Nick Treleaven
6935af0485
Fix showing calltips for single character tags
2012-01-08 16:38:45 +00:00
Enrico Tröger
85b5e08c47
Recognize #!/bin/dash as shebang for Shell files ( closes #3470986 )
2012-01-08 13:44:21 +01:00
Nick Treleaven
5b02efb6f8
Separate interfaces and structs in the symbol list
2012-01-06 13:39:26 +00:00
Nick Treleaven
39ff492e4b
Show D struct constructor calltips also
2012-01-04 16:09:49 +00:00
Matthew Brush
6c31ed4bc0
Re-highlight type keywords on notebook page switch
2012-01-03 10:21:09 -08:00
Matthew Brush
8f489fc9fb
Use static to avoid clashing with plugins' symbols
2012-01-03 08:54:12 -08:00
Nick Treleaven
f0ca50cf20
Fix showing Find/Replace regex errors on status bar
2012-01-03 16:21:12 +00:00
Nick Treleaven
308f98a2b9
Use gssize to avoid casts for encodings_convert_to_utf8_*()
2012-01-03 13:30:38 +00:00
Nick Treleaven
6de8f97cb3
Remove GNU regex now we have GRegex
2012-01-02 18:03:21 +00:00
Nick Treleaven
da8160ac98
Fix gcc 'ordered comparison of pointer' warnings
2011-12-30 16:13:40 +00:00
Nick Treleaven
e4d2e31b82
Simplify encoding regex using \s now we have GRegex
2011-12-30 16:12:17 +00:00
Nick Treleaven
ab02beff5a
Use GRegex for encoding regex matching
2011-12-30 15:55:06 +00:00
Colomban Wendling
f86ab3e419
Merge branch 'techee/mru-patches'
2011-12-26 20:08:53 +01:00
Colomban Wendling
7c348e6847
Fix "vergeany" -> "version" typo in some license headers
...
Honestly, WTF?
2011-12-26 19:16:36 +01:00
Nick Treleaven
6c7e709652
Fix memory leak when build regex changes
2011-12-26 17:42:15 +00:00
Nick Treleaven
e503f8262a
Use GRegex for build error regex matching
2011-12-26 17:42:13 +00:00
Colomban Wendling
fa70c16023
Fix page switching after closing the first page in RTL non-MRU mode (oops)
2011-12-26 16:56:36 +01:00
Colomban Wendling
d79268b346
Fix a theoretically possible use of an uninitialized value
2011-12-26 16:06:02 +01:00
Colomban Wendling
804de2572e
Properly include notebook.h for notebook_switch_tablastused() declaration
2011-12-26 16:04:52 +01:00
Nick Treleaven
387d071b60
Fix escaping replacement text for regex matching (oops)
2011-12-26 13:01:54 +00:00
Nick Treleaven
89a0a954e0
Remove unused parameter ft_id
2011-12-26 12:56:30 +00:00
Matthew Brush
b347b4a611
Improve handling of named styles and named colors
2011-12-26 00:37:16 -08:00
Matthew Brush
f3af82d40d
Handle failure of reading named style by trying to read it as a named color
...
TODO: find a better way to handle this and restore the removed warning
2011-12-25 16:40:18 -08:00
Matthew Brush
fb8e061242
Prevent warning about comparing signed and unsigned values
...
The g_match_info_fetch_pos() function uses a signed value for the match_num
parameter, even though values less than 0 are not valid, so a cast is used.
2011-12-25 14:44:32 -08:00
Matthew Brush
2fe42bfc0c
Support [named_colors] in filetypes.* and color schemes
2011-12-25 14:34:04 -08:00
Matthew Brush
8a04222301
Support normal and abbreviated HTML hex triplets in color schemes
2011-12-25 13:43:20 -08:00
Nick Treleaven
773d7e42d2
Let GRegex handle escape sequences itself
2011-12-25 17:22:06 +00:00
Nick Treleaven
21f0715381
Fix \b regex word boundary always matching at start of search
2011-12-25 13:42:19 +00:00
Nick Treleaven
c2481ccb95
Use GRegex matching for Find & Replace commands
2011-12-25 13:23:06 +00:00