Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 23, 2011
  1. @gebart @b4n

    Fix broken default statusbar_template in Swedish translation.

    gebart authored b4n committed
  2. @b4n

    Don't leave some fields initialization to implicit initialization

    b4n authored
    Although this doesn't change anything in practice, it started to be a
    nightmare trying to deal with compilers warnings about "missing"
    initializers, which are generally good but not in that file.
Commits on Nov 22, 2011
  1. @b4n
  2. @b4n

    Fix finding duplicated keybindings

    b4n authored
    When checking whether a keybinding is already in use before updating
    it in the preferences, check against the keybindings the user may have
    updated, not the ones that are currently applied.
    This fixes changing action A from key K to key L and action B from key
    L to key K, which led to conflicts back and forth since when setting B
    to K the check found A as a duplicate even after having changed it.
Commits on Nov 21, 2011
  1. @zhekov @b4n

    --read-only cleanup

    zhekov authored b4n committed
    Use the global variable only when needed and add an initializer for it
    in the default options.
  2. @b4n

    Prevent GCC to warn about missing initializers in highlightingmappings.h

    b4n authored
    Use a GCC pragma to disable -Wmissing-field-initializers in this file.
    This works with both GCC and CLang, and should be harmless on other
    compilers since unknown pragmas are supposed to be ignored.
  3. @b4n
  4. @b4n
  5. @b4n

    Rewrite symbols tree updating code

    b4n authored
    Old implementation was not really fitting the updating needs and had a
    bug making symbols disappear if they haven't changed but their parent
    did (e.g. when a C++ constructor's signature changed).
    New implementation does:
    1) walk old tree, updating or removing rows;
    2) add remaining tags.
    It walks less than (new_tags + old_tags + new_tags) in the worst case,
    thanks to some hash table-based caching;  and also gets rid of the
    "valid" column in the symbols tree, saving a few bytes in memory.
    Finally, there is a ~7% performance gain (from 21 to 18ms) upon common
    tree updates, sometimes more.
Commits on Nov 20, 2011
  1. @eht16

    Add Close menu item to the notebook tab menu

    eht16 authored
    This is especially useful if tab close buttons are disabled.
  2. @eht16

    Fix using the current document on 'Close Other Documents' from the Gt…

    eht16 authored
    …kNotebook tab menu
    Instead we should use that tab which is under mouse cursor where the user clicked (this might be a
    different one than the current document). To be able to do so, we need to handle the right-click signal
    per tab not on the GtkNotebook tab area to identify the tab under the mouse cursor.
  3. @eht16

    Mention new openro command

    eht16 authored
  4. @eht16
  5. @eht16
  6. @eht16
  7. @eht16

    Remove double underscores around header guards (closes #3440258)

    eht16 authored
    While this is a violation of the C standard in theory, it should not affect anything.
    Anyway, removing the double underscores makes the header guard scheme more
    consistent with the rest of Geany header files so it's still a good thing.
Commits on Nov 18, 2011
  1. @b4n

    Fix walking a tree branch twice when removing the last leaf

    b4n authored
    When removing the last leaf of a symbols tree branch, make sure not
    to start walking parent's children again.
Commits on Nov 17, 2011
  1. @ntrel

    Mention 'Go to tag' commands can use the current selection

    ntrel authored
    Cleanup 'Go to tag' sections and keybinding descriptions.
  2. @ntrel

    Add default keybindings for Go to Tag, remove Transpose default

    ntrel authored
    This does not affect existing users.
    Ctrl-T          Go to tag definition
    Ctrl-Shift-T    Go to tag declaration
    A default keybinding for 'Transpose current line' is no longer
    necessary as it does the same as 'Move line(s) up', which we now have
    a default for.
  3. @ntrel

    Set Move Line(s) default keybindings, change Move Tab defaults

    ntrel authored
    This does not affect existing users.
    Ctrl-Shift-PageUp   Move document left
    Ctrl-Shift-PageDown Move document right
    The above shortcuts were aliases for selecting left/rightmost
    documents, but those are not necessary as Alt-1/Alt-0 does the same.
    Alt-PageUp      Move line(s) up
    Alt-PageDown    Move line(s) down
    Alt is easier to press than Ctrl-Shift, so is better for moving lines
    as this needs more accuracy.
  4. @kugel- @b4n

    New --read-only commandline option

    kugel- authored b4n committed
    This adds a new commandline option --read-only (or -r). It's implemented
    according to the behavior agreed on on the mailing list:
    --read-only applies to all files on the command line
    irrespective of positioning and has no effect on any other files
    opened by session or menu (...)
    Current behaviour on attempting to re-open a file with different
    read-only status is that nothing happens, the already open
    file is raised but not changed. (...)
  5. @b4n

    Revert granting an unexpected check to an assertion

    b4n authored
    It actually happens, and until fixing this properly, don't output
    useless useless scary warnings.  Anyway, this is not a big problem
    or anything.
  6. @b4n

    Add a configurable prefix for commands sent to the shell in the VTE

    b4n authored
    This adds an hidden VTE preference, send_cmd_prefix, that allows to
    define a prefix for the commands Geany sends to the shell in the VTE
    like "cd" when following current path.
    This can be used for example to prevent some shells (Bash, ZSH, maybe
    others) from putting these commands in the history by setting this to
    a space.
Commits on Nov 16, 2011
  1. @ntrel
  2. @ntrel

    Verify active plugin paths on startup

    ntrel authored
    Geany saves the path for each active plugin on shutdown, but the 3
    valid plugin paths can each change.
  3. @ntrel
Commits on Nov 15, 2011
  1. @b4n

    Fix an assertion logic

    b4n authored
  2. @b4n
  3. @ntrel

    Deprecate setptr in favour of SETPTR

    ntrel authored
    SETPTR makes it clear that a macro is being used in code.
    Restore setptr without do/while in case of use without semi-colon.
  4. @ntrel

    Add default shortcuts for Find Usage, Forward/Back, Make Object

    ntrel authored
    Note: This doesn't affect existing user shortcuts.
    Ctrl-Shift-D    Find Document Usage
    Ctrl-Shift-E    Find [Session] Usage (one letter after doc usage and
                    close on the keyboard)
    These are standard shortcuts for browsers:
    Alt-Right   Forward
    Alt-Left    Back
    This matches the build/make symmetry for compile (F8):
    Shift-F8    Make Object
  5. @ntrel

    Fix setptr to work in an 'if' clause & improve documentation

    ntrel authored
    Use do {...} while (0) instead of {...}.
    Document the order of events and purpose of setptr properly.
Commits on Nov 14, 2011
  1. @b4n
  2. @ntrel

    Workaround gcc function address comparison warning

    ntrel authored
    highlighting.c:950:3: error: the address of
    'highlighting_styles_ADA' will always evaluate as 'true'
    Note: This commit also contains some trailing whitespace removal.
  3. @b4n
  4. @elextr

    Provide error message for extract regex

    elextr authored
    Print the GError message if the users filetype extract regex does
    not compile.
Something went wrong with that request. Please try again.