Permalink
Commits on Sep 22, 2016
  1. Fix double escaping of markup in bold labels (oops)

    2499b96 fixed missing escaping of
    markup text, but failed to remove explicit escaping from
    ui_label_new_bold(), leading to dual escaping of bold labels.
    b4n committed Sep 22, 2016
Commits on Sep 19, 2016
Commits on Sep 11, 2016
  1. Merge pull request #1166 from eht16/fix_template_error_message

    Improve template command error message
    eht16 committed on GitHub Sep 11, 2016
  2. Merge pull request #1203 from codebrainz/document-data

    Document data
    codebrainz committed on GitHub Sep 11, 2016
  3. Gracefully handle proxies registering invalid extensions (#1212)

    It is very hard to debug if the proxy plugin happens to give
    extensions starting with a dot. If they do, detect this case, warn
    in the debug messages, and fix the extension. It seems unlikely
    that files with two dot extensions will be desired, so it should
    case no harm.
    codebrainz committed on GitHub Sep 11, 2016
  4. Improve GeanyProxyProbeResults a litte (#1213)

    * Add GEANY_ prefix to enumerators.
    * Use a discrete set of enumerators so the proxy doesn't have to
      worry about flag bitmasks, which isn't required.
    * Update documentation.
    * Use the new enumerators in Geany.
    * Improve debug output for bogus values a bit.
    codebrainz committed on GitHub Sep 11, 2016
Commits on Sep 10, 2016
  1. Merge pull request #1160 from techee/ctags_sync

    Ctags sync, part 1
    b4n committed Sep 10, 2016
  2. Recognize .exp (Expect) files as Tcl

    Expect [1] scripts filenames generally end in .exp, although the code
    itself is actually in Tcl.  I find my self manually selecting Tcl quite
    often, so I think it would be nice if Geany would recognize it direcly
    as Tcl.
    
    [1] http://expect.sourceforge.net/
    
    Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
    simark committed with codebrainz Mar 28, 2016
Commits on Sep 9, 2016
  1. Add missing prototypes

    techee committed Sep 9, 2016
  2. Don't compare foreign values to enumeration type

    Clang warns when comparing an enumeration type with a value not found
    in this enumeration:
    
    warning: comparison of constant VALUE with expression of type 'TYPE' is
          always false [-Wtautological-constant-out-of-range-compare]
    
    If the compiler then decides to optimize the test away because it
    assumes the it is indeed always false, it can lead to pretty subtle and
    nasty issues.
    
    Ported universal-ctags patch from Colomban Wendling
    techee committed Sep 9, 2016
Commits on Sep 7, 2016
  1. Merge pull request #1217 from b4n/filetypes/c-lexer-properties

    Inherit C lexer_properties in all filetypes inheriting C styles
    b4n committed Sep 7, 2016
  2. GTK: Fix autoc font size on GTK >= 3.21.0

    GTK 3.21.0 fixed font size handling, leading to properly interpreting
    pixels and points in CSS declarations.  However, as older versions
    incorrectly handled those, the code has to handle both behaviours.
    
    From CSS, GTK < 3.21.0 actually applied the conversion to points, but
    incorrectly: 10px was used as 10pt, but 10pt was scaled up twice.
    
    So, assuming 96 DPI, it leads to:
    
    font-size | 3.20.0  | 3.21.0  |
    ----------|---------|---------|
    10px      | 13.33px | 10px    |
    10pt      | 17.77px | 13.33px |
    
    So, we need to fix the code to accommodate for both (either scaling
    ourselves, or adapting the unit: I chose the second, simpler, option).
    
    See https://git.gnome.org/browse/gtk+/commit/?id=df08fc91bdc1d2e4c866122304fabe4dd298a7de
    
    X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1859/
    X-Scintilla-Commit-ID: a4b5da8b3a0a05a1e67ba7eb08474106d421b088
    b4n committed Sep 6, 2016
  3. Improve template command error message

    The previous string was a bit confusing what the placeholders
    could mean. There was an error in the German translation where
    the second placeholder was interpreted as template name instead
    of the error message.
    This change should make it more clear and also put the error message
    to the end of the string.
    eht16 committed Aug 7, 2016
Commits on Sep 6, 2016
  1. Inherit C lexer_properties in all filetypes inheriting C styles

    `lexer.cpp.track.preprocessor` lexer properties affects which styles
    are used, and we don't set those, so no filetype inheriting C styles
    should set it to 1.
    
    Similarly, some properties like `styling.within.preprocessor` are
    mostly general settings rather than selecting syntax details, so they
    should probably match in all filetypes for consistency.
    
    So, inherit the C lexer_properties everywhere C styles are used, and
    only override specific properties in the inheriting filetype.
    b4n committed Sep 6, 2016
  2. Haxe: Do not track preprocessor for styling

    We don't set the styles for inactive preprocessor sections, so we
    should make sure they aren't used.  Also, Haxe has different
    preprocessor directives than C does, which confuses LexCPP tracking
    anyway.
    
    Fixes #936.
    b4n committed Sep 6, 2016
  3. Remove SciTE properties from filetype definitions

    Those are SciTE-specific things that Scintilla itself never used,
    and that were simply erroneously imported into Geany.
    b4n committed Sep 6, 2016
Commits on Sep 5, 2016
  1. Update Scintilla to version 3.6.7

    Fixes #1143.
    b4n committed Sep 5, 2016
  2. Update of Swedish translation

    frlan committed Sep 5, 2016
Commits on Sep 4, 2016
  1. Update Catalan translation (#1206)

    rbuj committed with frlan Sep 4, 2016
Commits on Sep 2, 2016
  1. i18n: Fixed incorrect word in pt_BR (#1202)

    * Changed gender of noun IDE
    
    * Fixed incorrect word in pt_BR
    haskellcamargo committed with frlan Sep 2, 2016
  2. Add plugin API functions to get/set document data

    TODO: add doc-comment annotations for GObject-Introspection
    codebrainz committed Sep 2, 2016
Commits on Sep 1, 2016
Commits on Aug 22, 2016
  1. 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
  2. Add CTAGS_ATTR_ prefix to UNUSED() and PRINTF() macros

    Also fix the macro use in objc.c to appear behind variables.
    techee committed Aug 22, 2016
Commits on Aug 21, 2016
  1. 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
Commits on Aug 20, 2016
  1. 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. 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. 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. 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
  3. Drop vi modelines

    techee committed Aug 19, 2016
Commits on Aug 16, 2016