1. 07 Nis, 2019 1 kayıt (commit)
    • Enrico Tröger's avatar
      Update all copyright notices to mention only the first publish year · 1526af40
      Enrico Tröger yazdı
      And so remove the current year to ease maintenance and since it is not
      strictly necessary.
      Also remove individual copyright holders (where appropriate) and replace
      the name with "The Geany contributors". The detailed authorship
      information is still available in the GIT history.
      
      Also remove copyright notice and author names from READMEs.
      1526af40
  2. 17 Tem, 2017 1 kayıt (commit)
  3. 01 Eyl, 2016 1 kayıt (commit)
  4. 23 Haz, 2016 1 kayıt (commit)
  5. 22 Haz, 2016 1 kayıt (commit)
  6. 14 Mar, 2016 1 kayıt (commit)
    • Matthew Brush's avatar
      Remove `documents_array` global from plugin API · 76ede69e
      Matthew Brush yazdı
      The global was never accessible to plugins on Windows and hasn't been
      accessible to plugins on Linux and others since the linkage-cleanup
      changes.
      
      Move documentation from the global variable to the GeanyData member
      of the same name.
      
      Closes #964
      76ede69e
  7. 30 Eki, 2015 1 kayıt (commit)
    • Thomas Martitz's avatar
      document: show informational doc message after first reload · b1e9c4f3
      Thomas Martitz yazdı
      6f5d5db2 and d6d4728f disabled "maintain history on reload" by default,
      with the intention to reenable it when we have a better method to
      make it discoverable for the user. This was necessary since it became
      enabled by default but could be surprising given Geany warned about
      losing data before.
      
      This commit tries to resolve the discoverability, by providing an
      informational doc message that is shown once to the user, after the first
      reload. The doc message also gives the option to disable this feature.
      b1e9c4f3
  8. 21 Şub, 2015 1 kayıt (commit)
  9. 10 Şub, 2015 1 kayıt (commit)
  10. 18 Eki, 2014 1 kayıt (commit)
    • Jiří Techet's avatar
      Remove TmWorkObject and all the OO related stuff · 26587454
      Jiří Techet yazdı
      In addition, rename all functions, parameters, comments etc. mentioning
      work_object and remove unnecessary parameters of various functions.
      Delete dead code paths.
      
      Also move common functions like tm_get_real_path() from tm_work_object to
      tm_source_file.
      26587454
  11. 12 Eki, 2014 1 kayıt (commit)
    • Jiří Techet's avatar
      Fix doxygen warnings · 6d6dd744
      Jiří Techet yazdı
      Make documents_array public and accessible by doxygen and describe all
      parameters of tm_source_file_new().
      6d6dd744
  12. 09 Eki, 2014 1 kayıt (commit)
    • Jiří Techet's avatar
      Protect private definitions by the GEANY_PRIVATE macro in headers · 10a28b41
      Jiří Techet yazdı
      In addition, this patch defines the GEANY_PRIVATE macro for the tag
      manager library where it wasn't defined before, removes 2 tag manager
      headers from distribution as they are not needed by plugins and
      in the tag manager changes the docstrings to ordinary comments for
      private definitions.
      10a28b41
  13. 25 Eyl, 2014 1 kayıt (commit)
  14. 19 Agu, 2014 3 kayıt (commit)
  15. 24 Haz, 2014 1 kayıt (commit)
  16. 21 May, 2014 3 kayıt (commit)
    • Matthew Brush's avatar
      Include what you use · 4efcbab3
      Matthew Brush yazdı
      This is a mega-commit - because most of it had to be done in one go
      otherwise some commits would fail to compile - that attempts to fix a
      few problems with Geany's includes as well as various other related
      cleanups. After this change it's easier to use includes and there's
      little worry about which order things are included in or who includes
      what.
      
      Overview of changes:
      
      * Include config.h at the start of each source file if HAVE_CONFIG_H
        is defined (and never in headers).
      * Go through each source file and make the includes section generally
        like this:
        - Always config.h first as above
        - Then if the file has a header with the same name, include that
        - Then include in alphabetical order each other internal/geany header.
        - Then include standard headers
        - Then include non-standard system headers
        - Then include GLib/GTK+ related stuff
      * Doing as above makes it easier to find implicit header include
        dependencies and it exposed quite a few weird problems with includes
        or forward declarations, fix those.
      * Make geany.h contain not much besides some defines.
        - Add a little header file "app.h" for GeanyApp and move it there
        - Move "app" global to new "app.h" file
        - Move "ignore_callback" global to "callbacks.h"
        - Move "geany_object" global to "geanyobject.h"
      * Add an include in "geany.h" for "app.h" since GeanyApp used to be
        defined there and some plugins included this header to access
        GeanyApp.
      * Include "gtkcompat.h" everywhere instead of gtk/gtk.h so that
        everywhere sees the same definitions (not a problem in practice AFAIK
        so this could be changed back if better that way.
      * Remove forward declarations from previous commits as some people
        apparently consider this bad style, despite that it reduces inter-
        header dependencies.
      
      TODO:
      * As always, to test on win32
      * As always, to test with not Autotools
      * Test plugins better, both builtin and geany-plugins, likely API/ABI bump
      * Test with various defines/flags that may change what is included
      * win32.[ch] not really touched since I couldn't test
      4efcbab3
    • Matthew Brush's avatar
      Normalize use of header guards and extern "C" guards · 6f87aac1
      Matthew Brush yazdı
      * Always define GEANY_FOO_H to 1 in the header guards
      * Always put a G_BEGIN_DECLS/G_END_DECLS guard in every header for
      consistency, even private ones where it doesn't matter.
      * Always include either <glib.h>, <gtk/gtk.h> or some other header
      that will provide G_BEGIN_DECLS before using it. In a lot of headers
      that use glib.h and gtk/gtk.h stuff anyway, this resolves an implicit
      dependency they had on them being included before that header.
      * Always put a comment at the #endif part of the guard so it's
      easier to see what it applies to.
      * Always use an underscore between the header guard identifier's words
      even though the filename doesn't have one.
      6f87aac1
    • Matthew Brush's avatar
      Move typedefs out of geany.h and into their own headers · fec15c61
      Matthew Brush yazdı
      This helps to avoid the requirement that geany.h be included before
      using any of the changed headers.
      fec15c61
  17. 28 Nis, 2014 1 kayıt (commit)
  18. 27 Nis, 2014 1 kayıt (commit)
  19. 22 Ock, 2014 1 kayıt (commit)
  20. 10 Kas, 2013 1 kayıt (commit)
  21. 13 Nis, 2013 1 kayıt (commit)
    • Colomban Wendling's avatar
      Fix crash with bulk pattern replacements (introduced with c83a93eb) · 5412a244
      Colomban Wendling yazdı
      "regex_match_text" and "regex_matches" being globals, performing
      several searches and then the replacements separately lead to them
      having unexpected values, resulting in incorrect behavior and crash.
      
      Fix this by removing the globals and instead make the search functions
      return match details.  Not only this fixes the issue, but also make the
      code a lot more maintainable by not having globals introducing side
      effects (proof of them being an issue is that c83a93eb inadvertently
      broke things bad).
      5412a244
  22. 11 Şub, 2013 1 kayıt (commit)
    • Colomban Wendling's avatar
      Move document status color definition to the gtkrc file · 36581d66
      Colomban Wendling yazdı
      This allows for users to change the colors if needed (may be useful
      with some themes or color blind persons).
      
      On the sidebar, only the color is applied for now.  This is because
      it is not possible to style cell renderers through RC files, all having
      to be done in the code;  so currently only the color is applied.
      36581d66
  23. 12 Ara, 2012 1 kayıt (commit)
  24. 23 Kas, 2012 1 kayıt (commit)
    • Nick Treleaven's avatar
      Add 'Document->Clone' menu command · 85006b6d
      Nick Treleaven yazdı
      This copies the current document text and properties into a new
      document, similar to the old Save As 'Open file in a new tab'
      option, but easier to understand and decoupled from saving.
      
      One notable difference is that the new document does not copy the
      filename - the old behaviour was confusing and error-prone for the
      user (e.g. editing two documents with the same filename).
      85006b6d
  25. 24 Agu, 2012 1 kayıt (commit)
  26. 17 Haz, 2012 1 kayıt (commit)
  27. 31 Mar, 2012 1 kayıt (commit)
    • Matthew Brush's avatar
      Support plugins written in C++ · 51dc2e9b
      Matthew Brush yazdı
      Rename use of C++ `template` keyword in plugin API function argument
      and add `G_BEGIN_DECLS` and `G_END_DECLS` to public header files to
      make them easier to include in C++ code. TagManager and Scintilla
      headers already have these `extern "C"` blocks so they shouldn't
      require any modifications.
      
      The Autotools build system already adds in a `dummy.cxx` to hint
      Automake into C++ linking to support Scintilla, which is quite
      convenient for dynamically loading of C++ plugins at run-time into
      the otherwise C-only program. The other build systems seem to also
      use the correct linking.
      51dc2e9b
  28. 03 Ock, 2012 1 kayıt (commit)
  29. 24 Ara, 2011 1 kayıt (commit)
  30. 12 Kas, 2011 1 kayıt (commit)
    • Matthew Brush's avatar
      Real-time type keyword highlighting · 9bffb94c
      Matthew Brush yazdı
      * Add new function: document_update_tags().
      * Refactor the various tag update functions into document_update_tags().
      * Remove extra call to update the tags in document_new_file().
      9bffb94c
  31. 22 Eki, 2011 1 kayıt (commit)
  32. 20 Eki, 2011 1 kayıt (commit)
    • Matthew Brush's avatar
      Simplify updating Scintilla keywords on reload config and tab switch. · b1b88286
      Matthew Brush yazdı
      Remove type keywords caching function since it doesn't really speed up
      anything and we don't care if the keywords change since they can/should
      still be reloaded.  This also prevents "leaking" a static GString once
      when the application closes and saves a call to g_string_free() when the
      type keywords have changed.
      
      Rename document_update_highlighting() to document_update_type_keywords()
      since no re-highlighting is needed when updating Scintilla keywords.
      Scintilla highlights the new keywords automatically so this saves a call
      to queue_colourise().
      
      Remove update_type_keywords() function since this is now all handled
      in the document_update_type_keywords() function.  This function had a
      comment about updating all documents when sci is NULL but it was never
      used in this way since it was only called on document_load_config() which
      always operates on a single document and the sci should not be NULL.
      b1b88286
  33. 19 Eki, 2011 1 kayıt (commit)
  34. 09 Eki, 2011 1 kayıt (commit)
  35. 07 Eki, 2011 1 kayıt (commit)
  36. 25 Agu, 2011 1 kayıt (commit)