1. 08 Eki, 2012 8 kayıt (commit)
    • Colomban Wendling's avatar
      Map GeanyWrapLabel to GtkLabel on GTK3 · fa5a00b4
      Colomban Wendling yazdı
      The GTK3 version of GtkLabel provides what GeanyWrapLabel is for given
      the appropriate settings are set, so no need to our own widget -- that
      would require being updated to support GTK3 anyway.
      fa5a00b4
    • Colomban Wendling's avatar
      Prevent most GTK3 deprecation warnings that can't be fixed on GTK2 · 3e649ddd
      Colomban Wendling yazdı
      Map the various horizontal and vertical deprecated constructors
      to their GtkOrientation-based equivalents on GTK3 to prevent most
      deprecation warnings.
      3e649ddd
    • Colomban Wendling's avatar
      Get rid of GtkComboBoxEntry API and use GtkComboBoxText API · 6409840d
      Colomban Wendling yazdı
      Use the GtkComboBoxText API and the GtkComboBoxEntry replacement API
      and map those to the old equivalents if not available.
      
      This changes the type exposed by ui_combo_box_add_to_history() from
      GtkComboBoxEntry to either GtkComboBox (under GTK2) or GtkComboBoxText
      (under GTK3).  This should not be too much of an issue since
      GtkComboBoxEntry and GtkComboBoxtext are subclasses of GtkComboBox,
      but this will still emit warnings when when the calling code passes
      a GtkComboBoxEntry pointer to ui_combo_box_add_to_history().
      
      However, this requires the calling code to use the same mapping as we
      do (GtkComboBoxText = GtkComboBox on GTK2, even on 2.24), or things
      will blow and it'll be hard to understand why.  This wouldn't be an
      issue if the calling code includes our gtkcompat.h header everywhere
      it deals with combo boxes, which will be the case if it includes the
      Geany headers everywhere but probably won't otherwise.  Oh dear.
      
      A possible kind of workaround may be for ui_combo_box_add_to_history()
      to do type-checking on its argument and use the actually correct API
      for that type.
      6409840d
    • Colomban Wendling's avatar
      Guard removed dialog separators on GTK3 · 5ec0eb47
      Colomban Wendling yazdı
      GtkDialog separators sere deprecated on GTK 2.22 and remove on 3.0,
      so define them to dummy values on GTK3.
      
      We don't get rid of them altogether because GTK 2.16 we depend on
      probably has separators enabled by default and we want to remove them.
      5ec0eb47
    • Colomban Wendling's avatar
      c54639c0
    • Colomban Wendling's avatar
      Don't access GtkWidget fields directly · a763e307
      Colomban Wendling yazdı
      Since many accessor are new in GTK versions we don't depend on, add
      a header that defines them to the direct access if they aren't
      available.
      a763e307
    • Colomban Wendling's avatar
    • Colomban Wendling's avatar
      eeddd6f7
  2. 05 Eki, 2012 3 kayıt (commit)
  3. 01 Eki, 2012 1 kayıt (commit)
  4. 30 Eyl, 2012 4 kayıt (commit)
  5. 28 Eyl, 2012 2 kayıt (commit)
  6. 26 Eyl, 2012 1 kayıt (commit)
  7. 25 Eyl, 2012 4 kayıt (commit)
  8. 24 Eyl, 2012 6 kayıt (commit)
  9. 22 Eyl, 2012 6 kayıt (commit)
    • Colomban Wendling's avatar
      JavaScript parser: don't set token position information again and again · be45924f
      Colomban Wendling yazdı
      There is no need to set the token position information in the loop
      searching for the initial token character, simply do that when we
      finally found the token start.
      be45924f
    • Colomban Wendling's avatar
      ctags: fix improper use of "const" type qualifier · 772509e8
      Colomban Wendling yazdı
      The external declaration of "File" in read.h (defined in read.c) was
      improperly tagged as "const" for it not to be modifiable outside of
      read.c.  Although it is good to protect this global variable against
      improper modification, the use of "const" here makes it perfectly valid
      for the compiler to assume that the fields in this structure never
      changes during runtime, thus allowing it to do optimizations on this
      assumption.  However, this assumption is wrong because this structure
      actually gets modified by many read.c's functions, and thus possibly
      lead to improper and unexpected behavior if the compiler sees a window
      for optimizing fields access.
      
      Moreover, protecting "File" as it was with the "const" type qualifier
      required a hack to be able to include read.h in read.c since "const"
      and non-"const" declarations conflicts.
      
      Actually, at least the JavaScript parser did suffer of the issue,
      because it calls getSourceLineNumber() macro (expanding to a direct
      "File" member access) several times in one single function, making it
      easy for the compilers to cache the value as an optimization.  Both GCC
      and CLang showed this behavior with optimization enabled.  As a result,
      the line numbers of JavaScript tags were often incorrect.
      772509e8
    • Lex Trotman's avatar
      Fix pointer warning · 9ef34bbe
      Lex Trotman yazdı
      GCC 4.7.1 gives a incompatible pointer warning because gtk_adjustment_new
      returns a GObject* not a GtkAdjustment* (new compiler default).
      9ef34bbe
    • Lex Trotman's avatar
      Fix multiline comments at end of file · 5ef6e162
      Lex Trotman yazdı
      Multiline comments did not work at end of file because there is no
      style there so also check if at end of file as well as style.
      Closes #3026691
      5ef6e162
    • Lex Trotman's avatar
      Remove illegal signal handling · fbb89f52
      Lex Trotman yazdı
      The SIGTERM handler called the standard exit callback which uses
      functions that are illegal in signal handlers.  Commented out as
      a prelude to full removal if no use case can be made.
      fbb89f52
    • Lex Trotman's avatar
      Use faster squiggle underlining · e5e37601
      Lex Trotman yazdı
      Geany performance suffered with a lot of error underlining visible.
      Matthew Brush developed an improved implementation that was accepted
      into Scintilla, this selects that implementation.
      e5e37601
  10. 21 Eyl, 2012 1 kayıt (commit)
  11. 17 Eyl, 2012 4 kayıt (commit)