1. 04 Mar, 2016 1 kayıt (commit)
  2. 28 Şub, 2016 1 kayıt (commit)
  3. 26 Şub, 2016 2 kayıt (commit)
    • Jiří Techet's avatar
      292383c1
    • Jiří Techet's avatar
      Cleanup NONE/AUTO filetype definitions · 5030f7f3
      Jiří Techet yazdı
      At the moment the Geany code uses arbitrary combination of the following
      synonyms
      
      TM_PARSER_NONE / LANG_IGNORE / -2
      TM_PARSER_AUTO / LANG_AUTO / -1
      
      Especially using just the numbers makes things very confusing.
      
      In the Geany code this patch replaces all occurrences of -2 and LANG_IGNORE
      with TM_PARSER_NONE. It also removes LANG_IGNORE from the header which
      isn't needed any more.
      
      In addition, TM_PARSER_AUTO/LANG_AUTO shouldn't be used at all. We want
      filetype detection based on Geany's definitions and not based on the
      hard-coded ctags definitions. Remove it completely.
      
      Finally, as it's clearer now what the constants mean, the patch fixes the
      implementation of langs_compatible() (tag or file can never be of type
      AUTO but we should rather check for NONE filetypes which we should
      consider incompatible between each other).
      5030f7f3
  4. 17 Şub, 2016 1 kayıt (commit)
    • Jiří Techet's avatar
      Use the word "symbol" instead of "tag" in the UI and documentation · 9b686871
      Jiří Techet yazdı
      For users a tag is <this> so the naming can be confusing.
      
      The only exception where we probably shouldn't use the word symbol is the
      "tags file" (*.tags) containing global tags - this has already the "tags"
      extension and is more related to ctags and using "symbols file" is a bit
      strange in this case.
      
      As a result, the only places where this patch leaves the word "tag" are:
      
      * phrase "tags file(s)"
      * phrase "tags parser(s)"
      * documentation mentioning the "tags" directory
      * documentation mentioning the *.tags extension
      
      and of course where it means the HTML/XML markup <thing>. The rest of the
      uses of the word "tag" is replaced with "symbol".
      
      Documentation is updated accordingly.
      
      Fixes #579.
      9b686871
  5. 07 Şub, 2016 1 kayıt (commit)
  6. 11 Ock, 2016 1 kayıt (commit)
    • Jiří Techet's avatar
      Make it possible to define default symbol_list_sort_mode · 1ea072e1
      Jiří Techet yazdı
      Both sorting by name and appearance makes sense for most languages. Some
      users may prefer sorting by appearance so make it configurable in
      preferences (the possibility to override the settings for specific
      filetypes is preserved).
      
      Thanks to Colomban Wendling for lots of improvements of this patch.
      
      Fixes #313.
      1ea072e1
  7. 28 Haz, 2015 1 kayıt (commit)
  8. 15 Haz, 2015 1 kayıt (commit)
    • Jiří Techet's avatar
      Add filetype configuration menu entries · ecc4e028
      Jiří Techet yazdı
      This adds a "Filetype Configuration" under Tools->Configuration Files
      with all filetype configuration files (grouped by language type).
      
      This patch mostly reuses the stuff we already have in Geany - the menu
      creation code from Document->Set Filetype, file creation in the .config
      directory if it doesn't exist (similarly to filetypes.common) and config
      file reloading when the file gets updated.
      ecc4e028
  9. 10 Nis, 2015 1 kayıt (commit)
    • Colomban Wendling's avatar
      Define GEANY_{EXPORT,API}_SYMBOL from the build system · 9644fb0a
      Colomban Wendling yazdı
      This makes it easier to define it consistently to what the compiler
      and platform supports, and avoids having to include a special header
      everywhere, which is some kind of a problem for separate libraries
      like TagManager and especially Scintilla.
      
      As we only use these macros from the source and not the headers, it
      is fine for it to be defined to a configure-time check from the build
      system.
      
      Warning: Although Waf and Windows makefiles are updated they are not
               tested an will probably required tuning.
      9644fb0a
  10. 15 Mar, 2015 1 kayıt (commit)
  11. 10 Mar, 2015 1 kayıt (commit)
    • Matthew Brush's avatar
      Mark all plugin API functions to have "default" (public) visibility · 2f086707
      Matthew Brush yazdı
      Adds a new header `pluginexport.h` to put the macros in, could be
      moved into an existing header (support.h?) by I didn't want to drag
      a bunch of existing stuff into the source files for this one macro.
      
      TagManager has relative include, this could be fixed by changing the
      include directories for it if it's a problem. Mark the Scintilla
      functions exported by re-declaring them in sciwrappers.c with the
      attribute to avoid changing upstream Scintilla code.
      2f086707
  12. 30 Kas, 2014 1 kayıt (commit)
    • Jiří Techet's avatar
      Add the go ctags parser · ccb15a31
      Jiří Techet yazdı
      Make go one of the builtin filetypes, add the parser and update the related
      source and config files. While there, remove Rust from [Groups] in
      filetype_extensions.conf because it's already a builtin filetype as well.
      
      The parser itself is stolen from the fishman/ctags repo.
      ccb15a31
  13. 26 Kas, 2014 1 kayıt (commit)
  14. 24 Haz, 2014 1 kayıt (commit)
  15. 21 May, 2014 2 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
      Start to make it easier to compile the core in isolation · 23d9cad7
      Matthew Brush yazdı
      This is for work on making the files scannable by GObject-Introspection
      but is still useful otherwise (even fixes a FIXME in the comments). I
      made this by using a simple GNU Make file and trying to compile the
      sources each on their own without all the build system infrastructure.
      
      * Add keybindingsprivate.h file to hold private GeanyKeyGroup structure
      and remove it from the GEANY_PRIVATE guard in keybindings.h.
      * Move private members that were guarded by GEANY_PRIVATE from
      GeanyFiletypes to GeanyFiletypesPrivate and remove guarded build.h
      include.
      * Move private members that were guarded by GEANY_PRIVATE from
      GeanyProject to GeanyProjectPrivate.
      23d9cad7
  16. 15 May, 2014 1 kayıt (commit)
  17. 15 Şub, 2014 1 kayıt (commit)
  18. 13 Şub, 2014 1 kayıt (commit)
  19. 29 Ock, 2014 2 kayıt (commit)
  20. 28 Ock, 2014 2 kayıt (commit)
    • Matthew Brush's avatar
      Reformat builtin filetype initialization code into tabular format · 576be4ca
      Matthew Brush yazdı
      * Add an initialization function ft_init()
      * Add a function-like macro to call ft_init() with shorter arguments
      * Search and replace old code with FT_INIT() usage
      * Layout into columns and add documentation above
      576be4ca
    • Matthew Brush's avatar
      Cleanup filetype_make_title() a bit and use it more · c674f066
      Matthew Brush yazdı
      * Adds TITLE_NONE, TITLE_SCRIPT and TITLE_DOCUMENT.
      * Only a few filetype titles were tweaked but we should review the
        rest as we could use TITLE_SCRIPT and TITLE_DOCUMENT a lot more
        probably.
      * Make filetype_make_title() not care about GeanyFiletype type and
        return result instead of internally setting ft state.
      c674f066
  21. 22 Ock, 2014 1 kayıt (commit)
  22. 14 Ock, 2014 2 kayıt (commit)
  23. 10 Kas, 2013 1 kayıt (commit)
  24. 15 Eki, 2013 3 kayıt (commit)
    • Colomban Wendling's avatar
      Do not ignore keys inside inherited groups · b645eccf
      Colomban Wendling yazdı
      When inheriting a group in a filetypes file, do not ignore local keys.
      This allows for partial overrides of the parent group, like:
      
      	[settings=Parent]
      	key=value
      
      All keys from Parent's group "settings" would be imported, but now the
      "key" key wouldn't be ignored anymore and would override a "key" key
      from the group copied from Parent if it exists.
      b645eccf
    • Colomban Wendling's avatar
      Use GIcon for the filetype icon rather than rendered pixbuf · 01e7fe4b
      Colomban Wendling yazdı
      This allows to re-use the icon more easily since it's not rendered at
      a particular size but simply an icon description.  It also allows for
      implicit icon updating when the theme changes if the display code
      implements it (and GTK widgets does).
      01e7fe4b
    • Colomban Wendling's avatar
      Read filetype's mime type from the configuration files · d29b5912
      Colomban Wendling yazdı
      This allows custom filetypes to define a mime type, hence the icon
      displayed for this filetype;  as well as moving ones for built-in
      filetypes out of the code to the configuration files.
      d29b5912
  25. 16 Agu, 2013 1 kayıt (commit)
    • Igor Shaula's avatar
      Add PowerShell filetype · df589a9d
      Igor Shaula yazdı
      Windows PowerShell is a command-line shell and associated scripting language
      which comes out of the box with Windows 7/Server 2008/8/Server 2012.
      
      Original lexer from Scintilla is used.
      df589a9d
  26. 15 Agu, 2013 4 kayıt (commit)
  27. 12 Şub, 2013 1 kayıt (commit)
  28. 17 Ock, 2013 1 kayıt (commit)
    • Lex's avatar
      Add Asciidoc filetype · 8294ea2c
      Lex yazdı
      Add a filetype for Asciidoc with symbol parser, but not styling.
      8294ea2c
  29. 24 Agu, 2012 1 kayıt (commit)
  30. 10 Agu, 2012 1 kayıt (commit)