Permalink
Commits on Aug 22, 2016
  1. @b4n

    VTE: Fix crash when trying to change VTE directory at startup

    2150302 introduced a bug, because
    configuration_load_session_files() calls VTE code if vte_info.have_vte
    is non-FALSE, before vte_init() has been called.  So, it relied in the
    implicit 0-initialization of the vte_info global, which the above
    commit changed carelessly.
    
    So, instead of altering vte_info.have_vte early, add a specific flag
    for whether VTE is disabled on the command line.
    
    Also, explicitly initialize vte_info to suggest to the reader the
    default values does matter.
    b4n committed Aug 22, 2016
Commits on Aug 21, 2016
  1. @b4n

    Merge pull request #1154 from b4n/lines-around-scroll

    Add support for keeping the cursor a number of lines from the edges
    b4n committed Aug 21, 2016
  2. @b4n
Commits on Aug 20, 2016
  1. @b4n

    Merge pull request #1174 from b4n/escape-markup

    Escape format arguments passed to ui_label_set_markup(), and deprecate
    ui_frame_new_with_alignment() which exposed a broken API because of it.
    b4n committed Aug 20, 2016
  2. @b4n

    Merge pull request #1155 from b4n/cxx-check

    Test whether the C++ compiler works by compiling a test program
    b4n committed Aug 20, 2016
Commits on Aug 19, 2016
  1. @b4n

    Merge pull request #651 from b4n/vte-in-various-prefs

    Show some hidden VTE preferences in the Various preferences page
    b4n committed Aug 19, 2016
  2. @b4n
  3. @b4n

    Deprecate ui_frame_new_with_alignment()

    It has no usage inside Geany itself, had a bug in handling of markup
    in the label, has only one user in Geany-Plugins, and is fairly easy
    to reproduce.
    b4n committed Aug 19, 2016
Commits on Aug 10, 2016
  1. @b4n
  2. @b4n

    search: Fix the tooltip to mention Perl-like, not PCRE regular expres…

    …sions
    
    Follow-up to #1168.
    Closes #1170.
    b4n committed Aug 10, 2016
Commits on Aug 9, 2016
  1. @stefan-it @frlan
Commits on Aug 8, 2016
  1. @b4n

    search: Fix the tooltip to mention PCRE, not POSIX regular expressions

    b4n committed Aug 8, 2016
Commits on Jul 30, 2016
  1. @b4n

    Test whether the C++ compiler works by compiling a test program

    This is more reliable than using `which`, which doesn't work if the CXX
    environment variable is set to something else than an executable (e.g
    contains options), and is apparently less portable on some systems.
    
    See:
     * http://lists.geany.org/pipermail/devel/2009-September/001367.html,
       which lead to 5bb2882.
     * https://sourceforge.net/p/geany/bugs/455/, which lead to a revert
       of the above, 5b9605a.
    
    Fixes #829.
    b4n committed Jul 30, 2016
Commits on Jul 25, 2016
  1. @b4n

    Merge pull request #1070 from techee/tm_move

    Move TM and ctags files
    b4n committed Jul 25, 2016
  2. @b4n

    Merge pull request #1133 from techee/readme_rst

    Minor README updates
    b4n committed Jul 25, 2016
Commits on Jul 24, 2016
  1. @techee
Commits on Jul 22, 2016
  1. @techee
  2. @techee

    Store "equal" tags into binary trees instead of lists in Symbol tree

    At the moment tags with identical names are stored into a linked list in
    tags_table and parents_table. This however leads to quadratic complexity
    when looking up the nearest parent or tag in tree because the whole list
    has to be traversed.
    
    Use binary trees indexed by line number instead of lists so the lookup can
    be performed in log(N) time and the overall complexity is N*log(N) instead
    of N^2.
    
    The GTree API is a little stupid because during the search it doesn't give
    access to the value and it doesn't tell when a leaf node was reached. For
    this reason the lookup has to be made in two steps - first, the best line
    number is found (returned in user_data) and then a normal search for the
    found line number is made to get the value stored in the tree.
    
    This patch fixes the problem described in #577 when e.g. a big json export
    file contains many identically named tags.
    techee committed Feb 29, 2016
Commits on Jul 21, 2016
  1. @techee

    Remove makefile.win32 based build system

    No more needed using MSYS2.
    techee committed Jun 12, 2016
  2. @techee
  3. @techee
  4. @techee

    Update paths for doxygen

    techee committed Jun 11, 2016
  5. @techee
  6. @techee

    Use the single-file implementation of MIO from universal-ctags

    The version of MIO corresponds to commit 509a47dbc in universal-ctags
    which contains just minimal changes mostly related to changing MIO from
    a library into a single ctags source file:
    
    - replaced the glib types with ordinary C types
    - removed the "virtual" calls and replaced them with simple if/else
    - made the implementation in a single file
    - reformatted the library to more or less match universal-ctags style
    - removed the MIO_FORCE_ANSI ifdef as it included some glib file and
      we don't really need it
    - added mio_flush() - of course makes sense just for the file backend
      (calls fflush())
    - made mio_free() return error code from fclose()
    - changed mio_new_fp() to return NULL when the passed FILE is NULL
      (simplifies logic at one place in ctags and makes sense IMO)
    techee committed Jun 11, 2016
  7. @techee

    Move TM into src

    Move the tag manager implementation to src as it really is part of Geany
    sources and start making the ctags directory structure similar to
    the universal-ctags one.
    
    In principle, the patch does
    
    mv tagmanager/src src/tagmanager
    mv tagmanager/ctags tagmanager/main
    mv tagmanager ctags
    
    plus corresponding Makefile.am and configure.ac updates.
    techee committed Jun 11, 2016
Commits on Jul 16, 2016
  1. @b4n

    Merge pull request #1137 from b4n/adwaita-fixes

    Custom theming fixes for Adwaita 3.20/GTK 3.20
    b4n committed Jul 16, 2016
  2. @b4n

    Set custom selection color on no-match search entry on GTK2

    Follows the GTK3 behavior, and avoid text becoming invisible if the
    selection background is too light (unlikely, but possible).
    b4n committed Jul 14, 2016
  3. @b4n
  4. @b4n

    Fix custom search entry background on Adwaita 3.20 under GTK2

    Adwaita 3.20 on GTK2 uses the pixmap engine to set a background image
    on all states of all GtkEntries.  Earlier versions did the same but
    with a transparent background, thus not hiding our background color.
    
    Fixes #1135, fixes #1101.
    b4n committed Jul 14, 2016
Commits on Jul 13, 2016
  1. @codebrainz

    Move enumerator to end of enum (oops)

    This fixes the plugin ABI break that happened in previous commmit.
    codebrainz committed Jul 13, 2016
  2. @Akronix @codebrainz
Commits on Jul 11, 2016
  1. @techee
  2. @techee

    Minor formal updates of README

    - slight rst formatting improvements
    - Mac OSX -> Mac OS
    - punctuation
    techee committed Jul 11, 2016
Commits on Jul 10, 2016
  1. @eht16
  2. @b4n

    Improve making-a-release a little

    b4n committed Jul 10, 2016