Permalink
Commits on Oct 16, 2017
Commits on Oct 15, 2017
  1. Improve CLI argument help

    codebrainz committed Oct 15, 2017
Commits on Oct 12, 2017
  1. Merge pull request #1636 from techee/kb_osx_fix

    b4n committed Oct 12, 2017
    Make sure GDK_MOD2_MASK is cleared when getting modifiers.
  2. Make sure GDK_MOD2_MASK is cleared when getting modifiers

    techee committed Oct 12, 2017
    gtk_accelerator_get_default_mod_mask() behaves differently on OS X under
    GTK 3 when compared to GTK 2. On GTK 2 it used to clear the GDK_MOD2_MASK
    bit while on GTK 3 it's preserved. We need to clear it ourselves
    otherwise e.g. <Command>S leads to <Commands><Mod2>S and none of the
    keybindings work under GTK 3.
Commits on Oct 7, 2017
  1. Use non-symlinked VTE libraries on macOS (#1625)

    techee committed with elextr Oct 7, 2017
    * Try non-symlinked VTE libraries on macOS before the symlinked ones
    
    Plugins using VTE such as multiterm or debugger are linked against the
    non-symlinked version of the library like libvte.9.dylib and not
    libvte.dylib. When a bundle is created, all symlinks are replaced by
    a copy of the symlinked file. This means there are both libvte.dylib
    and libvte.9.dylib in the bundle both containing the same code. When
    Geany loads libvte.dylib and plugins load libvte.9.dylib the same code
    gets loaded twice and when the same type gets registered by GTK, it fails
    and the whole application freezes.
    
    This problem doesn't exist on linux or when running from the command line
    on macOS because the operating system detects it's the same library
    because of the symlink and it's loaded only once.
    
    Loading the same library as the one used by plugins fixes the issue with
    macOS bundle. The original symlinked name is still used as a fallback.
    
    The patch also adds #ifdef __APPLE__ around the Apple-specific library
    names which also prevents unnecessary retries on other platforms. Loading
    *.so libraries is still kept as a fallback on Apple as these are legal too
    and could in theory be used on OS X as well.
    
    * Try loading newer VTE versions before older ones on GTK 2
Commits on Oct 6, 2017
  1. Update of Swedish translation

    frlan committed Oct 6, 2017
Commits on Oct 3, 2017
  1. Update of German translation

    frlan committed Oct 3, 2017
Commits on Sep 18, 2017
  1. Keep the current tab when closing documents to the right of another tab

    b4n committed Aug 20, 2017
Commits on Sep 12, 2017
  1. Add Latvian translation

    frlan committed Sep 12, 2017
Commits on Sep 2, 2017
  1. Fix a typo (#1597)

    b4n committed with frlan Sep 2, 2017
Commits on Sep 1, 2017
  1. Add GNU assembler extensions

    codebrainz committed Feb 14, 2016
    Closes #904
Commits on Aug 28, 2017
Commits on Aug 21, 2017
  1. Mention G_GNUC_UNUSED macro. (#1582)

    LarsGit223 committed with elextr Aug 21, 2017
    Mention G_GNUC_UNUSED as an alternative to `-Wno-unused-parameter`.
Commits on Aug 20, 2017
  1. Mark a local function static

    b4n committed Aug 20, 2017
Commits on Aug 8, 2017
  1. bash may not found in the system (#1574)

    kloun committed with elextr Aug 8, 2017
    exampe openbsd.
Commits on Aug 4, 2017
  1. Mark tm_get_real_path with G_DEPRECATED_FOR

    codebrainz committed Sep 11, 2016
    This will allow the compiler to notify any callers that it's deprecated.
    The macro is guarded-out for when Geany is compiling so it won't cause
    warnings when tagmanager uses it internally and for the utils_ wrapper.
  2. Add utils_get_real_path() and use it

    codebrainz committed Sep 11, 2016
    This is a wrapper around tm_get_real_path() but is in a more suitable
    namespace/module.
  3. Re-enable SIGTERM handling

    codebrainz committed Oct 5, 2016
    Now that a new enough GLib is available the signal can be
    handled cleanly on the main loop using the GSource for Unix signals.
    This replaces the illegal SIGTERM handling that was disabled in
    fbb89f5.
    
    Closes #1255
  4. Add note about data types to HACKING

    codebrainz committed Oct 29, 2016
    Closes #1282
  5. Fixups

    codebrainz committed Oct 29, 2016
  6. Add "Close Documents to the Right" feature

    codebrainz committed Jan 12, 2017
    Similar to applications like Firefox and Chromium.
  7. filebrowser: Don't change directory on project save

    techee committed with codebrainz Feb 20, 2017
    This behavior might be unwanted when changing project settings which
    is unrelated to project base path and also fixes filebrowser behavior
    with the updated way project-save signal is emitted.
    
    The patch also handles the situation where "realized" is called after
    project-save is called and overrides file browser's path (which is
    something we don't want).
  8. Always emit the project-save signal when writing project file

    techee committed with codebrainz Feb 20, 2017
    For some reason "project-save" isn't emitted when closing project - see
    write_config(FALSE) in project_close(). This means that in this case
    plugins cannot save their configuration into the config file. This doesn't
    even correspond to the documentation of the signal
    
    "Sent when a project is saved (happens when the project is created, the
     properties dialog is closed or Geany is exited)"
    
    as the signal isn't emitted when exiting Geany because at this point Geany
    closes the project.
    
    The comment seems to indicate that the reason is that "project-save"
    shouldn't be emitted when "project-close" is emitted but I don't see any
    reason why.
    
    Bump API so plugins can rely on the changed behavior.
  9. api: the commits 745f424 and 169feae should have incremented the API …

    Thomas Martitz committed with codebrainz Aug 4, 2017
    …version, do so now
    
    Increment one time for both, and fix the corresponding doc comments.
    The comment for keybindings_load_keyfile() is reflowed to split into
    brief/detail sections properly.
  10. Added an option to save/reload either window position or

    delt committed with codebrainz Mar 31, 2017
    size, but optionally not both.
  11. Export keybindings_load_keyfile() for plugins

    techee committed with codebrainz Mar 15, 2017
    This allows plugins to reload keybindings later during their execution.
    For more info see the comment in the commit.
    
    Closes #1430
  12. api: export tm_tag_get_type()

    kugel- committed with codebrainz Apr 10, 2017
    This indicates that TMTag is GBoxed-derived, and can be copied/ref'd.
    
    This helps plugins that must store a tag pointer for later usage while the
    tagmanager might let it go in the meantime (can happen quickly if the user
    comments a function out when starting a doxygen-comment).
    
    Closes #1465
  13. Fix message formatting string

    codebrainz committed Aug 4, 2017
  14. Check Scintilla status in debug builds

    codebrainz committed Aug 4, 2017
    In the future, this could be moved to release-mode runtime errors which
    try and pop-up a dialog message and/or recover gracefully.
  15. Remove redundant SSM macros

    codebrainz committed Aug 4, 2017