Colomban Wendling
bdc0f720e7
Remove unused flags from document_search_bar_find()
...
Passed-in flags was always 0, so the argument is not useful.
Also, this function expected Scintilla search flags rather than Geany
ones, making the API confusing for no good reason.
2014-08-19 03:40:52 +02:00
Colomban Wendling
8812e39e2e
Fix searching backwards from the Find dialog
...
search_find_prev() wasn't properly updated to work on GeanyFindFlags
leading to incorrect flags handling.
2014-08-19 03:31:34 +02:00
asmblur
0a063c1a72
Fix regexp search & replace.
2014-08-18 19:06:27 -05:00
Colomban Wendling
1d08d3cc80
Merge branch 'freebasic-ft-update'
2014-08-19 00:29:03 +02:00
Colomban Wendling
bb25ba6ed2
FreeBasic: Update keywords
...
Patch from TJF. Part of [feature-requests:#691]
2014-08-19 00:12:45 +02:00
Colomban Wendling
8278d7f9f0
FreeBasic: Fix preprocessor keywords list
...
See http://www.freebasic.net/wiki/wikka.php?wakka=CatPgFunctIndex
Part of [feature-requests:#691]
2014-08-19 00:09:31 +02:00
Colomban Wendling
7276c49949
Sort FreeBasic keywords alphabetically
2014-08-18 23:55:03 +02:00
Nick Treleaven
1f8d2de53b
Remove doc, hacking-doc targets (Windows)
2014-08-18 16:29:33 +01:00
Colomban Wendling
cf6724240a
Fix "Contributing to this document" for new HTML/PDF generation process
2014-08-18 00:07:43 +02:00
James Lownie
874b019e4e
Clarified the location of the "Use project-based session files" option
2014-08-17 22:24:57 +02:00
Colomban Wendling
7435a81d83
Fix a named style misspelling in the Lua filetype
2014-08-17 01:31:40 +02:00
Colomban Wendling
768659b89f
i18n: don't restrict LINGUAS at configure time
...
Don't use the $LINGUAS at configure time to set ALL_LINGUAS, and let
the translations Makefile properly honor the $LINGUAS itself, which it
already does better than we do, cleanly ignoring translations it
doesn't know.
If we do set ALL_LINGUAS=$LINGUAS, it will result in a build failure if
we do not have a translation for some of the language(s) specified in
$LINGUAS, and would make it impossible to build other languages without
re-configuring. So, just drop that part and let the build-time support
kick in.
Closes #507 .
2014-08-16 17:59:10 +02:00
Colomban Wendling
91d0ed2183
Find in Files: start search when pressing return in all field
...
Patch partly from Yosef Or Boczko, thanks. Closes #959 .
2014-08-14 17:12:58 +02:00
Colomban Wendling
328c22eaf6
Update Scintilla to version 3.5.0
2014-08-13 14:07:03 +02:00
Colomban Wendling
521778ad31
Color scheme dialog: scroll to the initially selected item
2014-08-12 20:40:21 +02:00
Colomban Wendling
df964312b2
Remove a global in colorscheme dialog code
2014-08-12 20:38:59 +02:00
Colomban Wendling
8b0990e52a
Fix relative project base path when creating a new project
...
Closes #1062 .
2014-08-12 16:42:50 +02:00
Colomban Wendling
cc1c36d009
project: Sanitize entries_modified scope
2014-08-12 16:42:46 +02:00
Colomban Wendling
87c6cefc19
Remove dead assignment
...
`entries_modified` global is only used by on_name_entry_changed() and
on_entries_changed(), both of which are only ever called from
project_new() scope -- which already initializes this variable.
2014-08-12 16:17:39 +02:00
Colomban Wendling
0b2b647a6d
Remove an unnecessary dynamic allocation
2014-08-12 14:39:53 +02:00
Colomban Wendling
6ed6a99565
about: Don't leak global variables to the program scope
2014-08-12 14:38:48 +02:00
Colomban Wendling
ba8899b09c
Merge branch 'small-dialogs-cleanup'
2014-08-12 14:18:04 +02:00
Colomban Wendling
36a6dd2e2c
dialogs: Don't abuse GObject data
2014-08-11 16:52:26 +02:00
Colomban Wendling
571239e0bf
dialogs: Remove an unnecessary function indirection
...
Having add_input_widgets() didn't really make the code any simpler,
rather obfuscating it a little.
2014-08-11 16:38:09 +02:00
Colomban Wendling
5fcacf066d
Add user data to GeanyInputCallback, avoiding global variable hacks
2014-08-11 15:44:51 +02:00
Colomban Wendling
5832c4b64c
Merge branch 'prefs-less-globals'
2014-08-10 16:28:56 +02:00
Colomban Wendling
2559cda954
prefs: Remove some global state in keybinding-related code
...
Use gtk_dialog_run() to run the key input dialog, which is modal anyway.
This avoids having to pass the label and the iter around for the dialog
response callback to have them, as they now only are used directly in the
function setting them in the first place.
2014-08-10 15:47:18 +02:00
Colomban Wendling
852f326650
prefs: Pack keybinding-related globals together and avoid much direct access
...
This however doesn't get rid of any of the global data itself, it only pack it
in a struct and passes pointer to this struct around instead of accessing the
global whenever possible.
2014-08-10 15:46:44 +02:00
Colomban Wendling
a8a6ef7d13
Merge branch 'scintilla-update-350-pre'
2014-08-10 02:23:21 +02:00
Colomban Wendling
74ef1b8344
Update for new Scintilla styles
2014-08-10 02:21:54 +02:00
Colomban Wendling
d77fe4c6b7
Update Scintilla to 3.5.0 pre-release
2014-08-10 02:17:32 +02:00
Colomban Wendling
593b9dd2c9
Merge branch 'single-line-regex'
2014-08-10 01:51:48 +02:00
Colomban Wendling
83deafedda
Update the documentation for single-line regular expressions
2014-08-10 01:47:35 +02:00
Colomban Wendling
673c3c36a3
Add UI elements to control single-line regex settings
2014-08-10 01:46:31 +02:00
Colomban Wendling
482d2732af
Add support for single-line regular expressions
2014-08-10 01:46:16 +02:00
Frank Lanitz
604e05cb2d
Adding message to client/log keywords to SQL type
2014-08-07 15:30:54 +02:00
Colomban Wendling
a26bdd628f
Fix crash when closing a document with visible infobars
...
Apparently the ::unrealize symbol is sent too late, after we destroyed
the widget and freed the GeanyDocument, and some signals like
::focus-in-event can still be fired on the widget after that.
So, properly use the ::destroy signal that is supposed to be fired when
others should release references to that instance.
2014-08-07 15:14:22 +02:00
elextr
ed20a4373d
Make reflow paragraph leave cursor at end.
...
The cursor was left at the beginning of the last line, leaving
it at the end is more likely to be a useful position to continue
typing.
2014-08-06 13:15:07 +10:00
Colomban Wendling
8341228ffa
JavaScript: fix handling of parentheses around an rvalue
...
Properly skip parentheses around an rvalue, and then properly recognize
the surrounded value. This allows to properly recognize e.g. rvalue
`({...})` as an object, or `(function(){})` as a function. As the
implementation is tolerant regarding garbage after the statement,
function expressions called straight away (`(function(){})()`) are
implicitly supported.
This however removes support for the following invalid JavaScript
syntax that was previously supported as a function/method declaration:
var func = () {}
This syntax is not present in the ECMA standard nor is supported by
popular JavaScript engines.
See:
* http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
section 13, "Function Definition"
* http://ecma262-5.com/ELS5_HTML.htm#Section_13
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope#Defining_functions
2014-08-04 00:23:13 +02:00
Colomban Wendling
35e8fbbe28
JavaScript: fix handling of various missing semicolons in loops
2014-08-03 23:24:33 +02:00
Colomban Wendling
3ff01aeeb3
JavaScript: recognize assignation to a parenthesized expression
2014-08-03 19:07:59 +02:00
Colomban Wendling
b596aa14e8
JavaScript: don't choke when returning object literals
2014-08-03 16:57:26 +02:00
Colomban Wendling
bc9b2fa444
JavaScript: don't choke on array lists
2014-08-03 16:52:11 +02:00
Matthew Brush
3c2d93eca4
Refactor win32 native dialog-mainloop update code
...
Just cleaning up last commit.
2014-08-03 04:23:19 -07:00
Matthew Brush
eb267d30cb
For native win32 dialogs, pump main window loop a bit
...
Mostly gets rid of re-drawing issues, however is not great.
2014-08-02 20:29:02 -07:00
Dominic Hopf
fc0e8fa566
Merge pull request #311 from philippwiesemann/fix-typo-doc
...
Fix typo in documentation
2014-08-02 23:02:21 +02:00
Philipp Wiesemann
c47c84820e
Fix typo in documentation
2014-08-02 22:03:34 +02:00
Nick Treleaven
d4acd1e061
*View->Change Font* should respect native dialog setting (Windows, #1059 )
2014-08-02 16:29:08 +02:00
Colomban Wendling
4cfe71a487
Merge branch 'tm/faster-current-tag'
...
This makes tm_get_current_tag() roughly 4.5 times faster.
2014-08-01 17:34:24 +02:00
Colomban Wendling
257de6597c
fortran: Make sure not to index kinds out of bounds
...
This also makes recent GCC shut up about indexing below the bounds as
it detected the code checked for a negative index yet didn't guard the
actual access. For now GCC doesn't understand the more comprehensive
check, but it might come back if GCC becomes smart enough.
Anyway, this makes the Assert() more correct, and addition of the
explicit kinds array size makes sure any future kind addition won't
miss its entry.
2014-08-01 16:05:09 +02:00