gtksourceview4 3.2.9-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/COPYING.LIB +502 -0
- data/README.md +24 -0
- data/Rakefile +61 -0
- data/dependency-check/Rakefile +43 -0
- data/gtksourceview4.gemspec +45 -0
- data/lib/gtksourceview4.rb +56 -0
- data/lib/gtksourceview4/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -0
- data/test/run-test.rb +62 -0
- data/test/test-mark-attributes.rb +26 -0
- data/test/test-source-gutter-renderer.rb +33 -0
- data/test/test-source-language-manager.rb +46 -0
- data/test/test-source-view.rb +55 -0
- data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-4.la +41 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
- data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
- data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
- data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
- data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
- data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
- data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
- data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
- data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
- data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
- data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
- data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
- data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
- data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
- data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
- data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
- data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
- data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
- data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
- data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
- data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
- data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
- data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
- data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
- data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
- data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
- data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
- data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
- data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
- data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
- data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
- data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
- data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
- metadata +437 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
/*
|
2
|
+
* This file is part of GtkSourceView
|
3
|
+
*
|
4
|
+
* Copyright (C) 2012-2016 - Sébastien Wilmet <swilmet@gnome.org>
|
5
|
+
*
|
6
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
8
|
+
* License as published by the Free Software Foundation; either
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
10
|
+
*
|
11
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14
|
+
* Lesser General Public License for more details.
|
15
|
+
*
|
16
|
+
* You should have received a copy of the GNU Lesser General Public License
|
17
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#ifndef GTK_SOURCE_TYPES_H
|
21
|
+
#define GTK_SOURCE_TYPES_H
|
22
|
+
|
23
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
24
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
25
|
+
#endif
|
26
|
+
|
27
|
+
#include <glib.h>
|
28
|
+
#include <gtksourceview/gtksourceversion.h>
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
/* This header exists to avoid cycles in header inclusions, when header A needs
|
33
|
+
* the type B and header B needs the type A. For an alternative way to solve
|
34
|
+
* this problem (in C11), see:
|
35
|
+
* https://bugzilla.gnome.org/show_bug.cgi?id=679424#c20
|
36
|
+
*/
|
37
|
+
|
38
|
+
typedef struct _GtkSourceBuffer GtkSourceBuffer;
|
39
|
+
typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;
|
40
|
+
typedef struct _GtkSourceCompletion GtkSourceCompletion;
|
41
|
+
typedef struct _GtkSourceCompletionInfo GtkSourceCompletionInfo;
|
42
|
+
typedef struct _GtkSourceCompletionItem GtkSourceCompletionItem;
|
43
|
+
typedef struct _GtkSourceCompletionProposal GtkSourceCompletionProposal;
|
44
|
+
typedef struct _GtkSourceCompletionProvider GtkSourceCompletionProvider;
|
45
|
+
typedef struct _GtkSourceEncoding GtkSourceEncoding;
|
46
|
+
typedef struct _GtkSourceFile GtkSourceFile;
|
47
|
+
typedef struct _GtkSourceFileLoader GtkSourceFileLoader;
|
48
|
+
typedef struct _GtkSourceFileSaver GtkSourceFileSaver;
|
49
|
+
typedef struct _GtkSourceGutter GtkSourceGutter;
|
50
|
+
typedef struct _GtkSourceGutterRenderer GtkSourceGutterRenderer;
|
51
|
+
typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;
|
52
|
+
typedef struct _GtkSourceGutterRendererText GtkSourceGutterRendererText;
|
53
|
+
typedef struct _GtkSourceLanguage GtkSourceLanguage;
|
54
|
+
typedef struct _GtkSourceLanguageManager GtkSourceLanguageManager;
|
55
|
+
typedef struct _GtkSourceMap GtkSourceMap;
|
56
|
+
typedef struct _GtkSourceMarkAttributes GtkSourceMarkAttributes;
|
57
|
+
typedef struct _GtkSourceMark GtkSourceMark;
|
58
|
+
typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;
|
59
|
+
typedef struct _GtkSourceSearchContext GtkSourceSearchContext;
|
60
|
+
typedef struct _GtkSourceSearchSettings GtkSourceSearchSettings;
|
61
|
+
typedef struct _GtkSourceSpaceDrawer GtkSourceSpaceDrawer;
|
62
|
+
typedef struct _GtkSourceStyle GtkSourceStyle;
|
63
|
+
typedef struct _GtkSourceStyleScheme GtkSourceStyleScheme;
|
64
|
+
typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;
|
65
|
+
typedef struct _GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButton;
|
66
|
+
typedef struct _GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidget;
|
67
|
+
typedef struct _GtkSourceStyleSchemeManager GtkSourceStyleSchemeManager;
|
68
|
+
typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
|
69
|
+
typedef struct _GtkSourceView GtkSourceView;
|
70
|
+
|
71
|
+
G_END_DECLS
|
72
|
+
|
73
|
+
#endif /* GTK_SOURCE_TYPES_H */
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
2
|
+
/*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
6
|
+
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
7
|
+
* Copyright (C) 2002, 2003 Paolo Maggi
|
8
|
+
*
|
9
|
+
* This library is free software; you can redistribute it and/or
|
10
|
+
* modify it under the terms of the GNU Lesser General Public
|
11
|
+
* License as published by the Free Software Foundation; either
|
12
|
+
* version 2.1 of the License, or (at your option) any later version.
|
13
|
+
*
|
14
|
+
* This library is distributed in the hope that it will be useful,
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
* Lesser General Public License for more details.
|
18
|
+
*
|
19
|
+
* You should have received a copy of the GNU Lesser General Public License
|
20
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
21
|
+
*/
|
22
|
+
|
23
|
+
#ifndef GTK_SOURCE_UNDO_MANAGER_H
|
24
|
+
#define GTK_SOURCE_UNDO_MANAGER_H
|
25
|
+
|
26
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
27
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
28
|
+
#endif
|
29
|
+
|
30
|
+
#include <gtk/gtk.h>
|
31
|
+
#include <gtksourceview/gtksourcetypes.h>
|
32
|
+
|
33
|
+
G_BEGIN_DECLS
|
34
|
+
|
35
|
+
#define GTK_SOURCE_TYPE_UNDO_MANAGER (gtk_source_undo_manager_get_type ())
|
36
|
+
#define GTK_SOURCE_UNDO_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER, GtkSourceUndoManager))
|
37
|
+
#define GTK_SOURCE_IS_UNDO_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER))
|
38
|
+
#define GTK_SOURCE_UNDO_MANAGER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER, GtkSourceUndoManagerIface))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceUndoManagerIface GtkSourceUndoManagerIface;
|
41
|
+
|
42
|
+
struct _GtkSourceUndoManagerIface
|
43
|
+
{
|
44
|
+
GTypeInterface parent;
|
45
|
+
|
46
|
+
/* Interface functions */
|
47
|
+
gboolean (*can_undo) (GtkSourceUndoManager *manager);
|
48
|
+
gboolean (*can_redo) (GtkSourceUndoManager *manager);
|
49
|
+
|
50
|
+
void (*undo) (GtkSourceUndoManager *manager);
|
51
|
+
void (*redo) (GtkSourceUndoManager *manager);
|
52
|
+
|
53
|
+
void (*begin_not_undoable_action) (GtkSourceUndoManager *manager);
|
54
|
+
void (*end_not_undoable_action) (GtkSourceUndoManager *manager);
|
55
|
+
|
56
|
+
/* Signals */
|
57
|
+
void (*can_undo_changed) (GtkSourceUndoManager *manager);
|
58
|
+
void (*can_redo_changed) (GtkSourceUndoManager *manager);
|
59
|
+
};
|
60
|
+
|
61
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
62
|
+
GType gtk_source_undo_manager_get_type (void) G_GNUC_CONST;
|
63
|
+
|
64
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
65
|
+
gboolean gtk_source_undo_manager_can_undo (GtkSourceUndoManager *manager);
|
66
|
+
|
67
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
68
|
+
gboolean gtk_source_undo_manager_can_redo (GtkSourceUndoManager *manager);
|
69
|
+
|
70
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
71
|
+
void gtk_source_undo_manager_undo (GtkSourceUndoManager *manager);
|
72
|
+
|
73
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
74
|
+
void gtk_source_undo_manager_redo (GtkSourceUndoManager *manager);
|
75
|
+
|
76
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
77
|
+
void gtk_source_undo_manager_begin_not_undoable_action (GtkSourceUndoManager *manager);
|
78
|
+
|
79
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
80
|
+
void gtk_source_undo_manager_end_not_undoable_action (GtkSourceUndoManager *manager);
|
81
|
+
|
82
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
83
|
+
void gtk_source_undo_manager_can_undo_changed (GtkSourceUndoManager *manager);
|
84
|
+
|
85
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
86
|
+
void gtk_source_undo_manager_can_redo_changed (GtkSourceUndoManager *manager);
|
87
|
+
|
88
|
+
G_END_DECLS
|
89
|
+
|
90
|
+
#endif /* GTK_SOURCE_UNDO_MANAGER_H */
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2013 - Sébastien Wilmet <swilmet@gnome.org>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_UTILS_H
|
22
|
+
#define GTK_SOURCE_UTILS_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <glib-object.h>
|
29
|
+
#include <gtksourceview/gtksourceversion.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
34
|
+
gchar *gtk_source_utils_unescape_search_text (const gchar *text);
|
35
|
+
|
36
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
37
|
+
gchar *gtk_source_utils_escape_search_text (const gchar *text);
|
38
|
+
|
39
|
+
G_END_DECLS
|
40
|
+
|
41
|
+
#endif /* GTK_SOURCE_UTILS_H */
|
@@ -0,0 +1,578 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourceversion.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2015 - Paolo Borelli <pborelli@gnome.org>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_VERSION_H
|
22
|
+
#define GTK_SOURCE_VERSION_H
|
23
|
+
|
24
|
+
#include <glib.h>
|
25
|
+
|
26
|
+
G_BEGIN_DECLS
|
27
|
+
|
28
|
+
/**
|
29
|
+
* GTK_SOURCE_MAJOR_VERSION:
|
30
|
+
*
|
31
|
+
* Like gtk_source_get_major_version(), but from the headers used at
|
32
|
+
* application compile time, rather than from the library linked
|
33
|
+
* against at application run time.
|
34
|
+
*
|
35
|
+
* Since: 3.20
|
36
|
+
*/
|
37
|
+
#define GTK_SOURCE_MAJOR_VERSION (4)
|
38
|
+
|
39
|
+
/**
|
40
|
+
* GTK_SOURCE_MINOR_VERSION:
|
41
|
+
*
|
42
|
+
* Like gtk_source_get_minor_version(), but from the headers used at
|
43
|
+
* application compile time, rather than from the library linked
|
44
|
+
* against at application run time.
|
45
|
+
*
|
46
|
+
* Since: 3.20
|
47
|
+
*/
|
48
|
+
#define GTK_SOURCE_MINOR_VERSION (0)
|
49
|
+
|
50
|
+
/**
|
51
|
+
* GTK_SOURCE_MICRO_VERSION:
|
52
|
+
*
|
53
|
+
* Like gtk_source_get_micro_version(), but from the headers used at
|
54
|
+
* application compile time, rather than from the library linked
|
55
|
+
* against at application run time.
|
56
|
+
*
|
57
|
+
* Since: 3.20
|
58
|
+
*/
|
59
|
+
#define GTK_SOURCE_MICRO_VERSION (2)
|
60
|
+
|
61
|
+
|
62
|
+
/**
|
63
|
+
* GTK_SOURCE_CHECK_VERSION:
|
64
|
+
* @major: major version (e.g. 3 for version 3.20.0)
|
65
|
+
* @minor: minor version (e.g. 20 for version 3.20.0)
|
66
|
+
* @micro: micro version (e.g. 0 for version 3.20.0)
|
67
|
+
*
|
68
|
+
* Macro to test the version of GtkSourceView being compiled against.
|
69
|
+
*
|
70
|
+
* Returns: %TRUE if the version of the GtkSourceView header files
|
71
|
+
* is the same as or newer than the passed-in version.
|
72
|
+
*
|
73
|
+
* Since: 3.20
|
74
|
+
*/
|
75
|
+
#define GTK_SOURCE_CHECK_VERSION(major, minor, micro) \
|
76
|
+
(GTK_SOURCE_MAJOR_VERSION > (major) || \
|
77
|
+
(GTK_SOURCE_MAJOR_VERSION == (major) && GTK_SOURCE_MINOR_VERSION > ((gint) (minor))) || \
|
78
|
+
(GTK_SOURCE_MAJOR_VERSION == (major) && GTK_SOURCE_MINOR_VERSION == (minor) && \
|
79
|
+
GTK_SOURCE_MICRO_VERSION >= (micro)))
|
80
|
+
|
81
|
+
#ifndef _GTK_SOURCE_EXTERN
|
82
|
+
#define _GTK_SOURCE_EXTERN extern
|
83
|
+
#endif
|
84
|
+
|
85
|
+
#ifndef __GTK_DOC_IGNORE__
|
86
|
+
#define GTK_SOURCE_ENUM_EXTERN _GTK_SOURCE_EXTERN
|
87
|
+
#endif
|
88
|
+
|
89
|
+
/**
|
90
|
+
* GTK_SOURCE_VERSION_3_0:
|
91
|
+
*
|
92
|
+
* A macro that evaluates to the 3.0 version of GtkSourceView,
|
93
|
+
* in a format that can be used by the C pre-processor.
|
94
|
+
*
|
95
|
+
* Since: 3.20
|
96
|
+
*/
|
97
|
+
#define GTK_SOURCE_VERSION_3_0 (G_ENCODE_VERSION (3, 0))
|
98
|
+
|
99
|
+
/**
|
100
|
+
* GTK_SOURCE_VERSION_3_2:
|
101
|
+
*
|
102
|
+
* A macro that evaluates to the 3.2 version of GtkSourceView,
|
103
|
+
* in a format that can be used by the C pre-processor.
|
104
|
+
*
|
105
|
+
* Since: 3.20
|
106
|
+
*/
|
107
|
+
#define GTK_SOURCE_VERSION_3_2 (G_ENCODE_VERSION (3, 2))
|
108
|
+
|
109
|
+
/**
|
110
|
+
* GTK_SOURCE_VERSION_3_4:
|
111
|
+
*
|
112
|
+
* A macro that evaluates to the 3.4 version of GtkSourceView,
|
113
|
+
* in a format that can be used by the C pre-processor.
|
114
|
+
*
|
115
|
+
* Since: 3.20
|
116
|
+
*/
|
117
|
+
#define GTK_SOURCE_VERSION_3_4 (G_ENCODE_VERSION (3, 4))
|
118
|
+
|
119
|
+
/**
|
120
|
+
* GTK_SOURCE_VERSION_3_6:
|
121
|
+
*
|
122
|
+
* A macro that evaluates to the 3.6 version of GtkSourceView,
|
123
|
+
* in a format that can be used by the C pre-processor.
|
124
|
+
*
|
125
|
+
* Since: 3.20
|
126
|
+
*/
|
127
|
+
#define GTK_SOURCE_VERSION_3_6 (G_ENCODE_VERSION (3, 6))
|
128
|
+
|
129
|
+
/**
|
130
|
+
* GTK_SOURCE_VERSION_3_8:
|
131
|
+
*
|
132
|
+
* A macro that evaluates to the 3.8 version of GtkSourceView,
|
133
|
+
* in a format that can be used by the C pre-processor.
|
134
|
+
*
|
135
|
+
* Since: 3.20
|
136
|
+
*/
|
137
|
+
#define GTK_SOURCE_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
|
138
|
+
|
139
|
+
/**
|
140
|
+
* GTK_SOURCE_VERSION_3_10:
|
141
|
+
*
|
142
|
+
* A macro that evaluates to the 3.10 version of GtkSourceView,
|
143
|
+
* in a format that can be used by the C pre-processor.
|
144
|
+
*
|
145
|
+
* Since: 3.20
|
146
|
+
*/
|
147
|
+
#define GTK_SOURCE_VERSION_3_10 (G_ENCODE_VERSION (3, 10))
|
148
|
+
|
149
|
+
/**
|
150
|
+
* GTK_SOURCE_VERSION_3_12:
|
151
|
+
*
|
152
|
+
* A macro that evaluates to the 3.12 version of GtkSourceView,
|
153
|
+
* in a format that can be used by the C pre-processor.
|
154
|
+
*
|
155
|
+
* Since: 3.20
|
156
|
+
*/
|
157
|
+
#define GTK_SOURCE_VERSION_3_12 (G_ENCODE_VERSION (3, 12))
|
158
|
+
|
159
|
+
/**
|
160
|
+
* GTK_SOURCE_VERSION_3_14:
|
161
|
+
*
|
162
|
+
* A macro that evaluates to the 3.14 version of GtkSourceView,
|
163
|
+
* in a format that can be used by the C pre-processor.
|
164
|
+
*
|
165
|
+
* Since: 3.20
|
166
|
+
*/
|
167
|
+
#define GTK_SOURCE_VERSION_3_14 (G_ENCODE_VERSION (3, 14))
|
168
|
+
|
169
|
+
/**
|
170
|
+
* GTK_SOURCE_VERSION_3_16:
|
171
|
+
*
|
172
|
+
* A macro that evaluates to the 3.16 version of GtkSourceView,
|
173
|
+
* in a format that can be used by the C pre-processor.
|
174
|
+
*
|
175
|
+
* Since: 3.20
|
176
|
+
*/
|
177
|
+
#define GTK_SOURCE_VERSION_3_16 (G_ENCODE_VERSION (3, 16))
|
178
|
+
|
179
|
+
/**
|
180
|
+
* GTK_SOURCE_VERSION_3_18:
|
181
|
+
*
|
182
|
+
* A macro that evaluates to the 3.18 version of GtkSourceView,
|
183
|
+
* in a format that can be used by the C pre-processor.
|
184
|
+
*
|
185
|
+
* Since: 3.20
|
186
|
+
*/
|
187
|
+
#define GTK_SOURCE_VERSION_3_18 (G_ENCODE_VERSION (3, 18))
|
188
|
+
|
189
|
+
/**
|
190
|
+
* GTK_SOURCE_VERSION_3_20:
|
191
|
+
*
|
192
|
+
* A macro that evaluates to the 3.20 version of GtkSourceView,
|
193
|
+
* in a format that can be used by the C pre-processor.
|
194
|
+
*
|
195
|
+
* Since: 3.20
|
196
|
+
*/
|
197
|
+
#define GTK_SOURCE_VERSION_3_20 (G_ENCODE_VERSION (3, 20))
|
198
|
+
|
199
|
+
/**
|
200
|
+
* GTK_SOURCE_VERSION_3_22:
|
201
|
+
*
|
202
|
+
* A macro that evaluates to the 3.22 version of GtkSourceView,
|
203
|
+
* in a format that can be used by the C pre-processor.
|
204
|
+
*
|
205
|
+
* Since: 3.22
|
206
|
+
*/
|
207
|
+
#define GTK_SOURCE_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
|
208
|
+
|
209
|
+
/**
|
210
|
+
* GTK_SOURCE_VERSION_3_24:
|
211
|
+
*
|
212
|
+
* A macro that evaluates to the 3.24 version of GtkSourceView,
|
213
|
+
* in a format that can be used by the C pre-processor.
|
214
|
+
*
|
215
|
+
* Since: 3.24
|
216
|
+
*/
|
217
|
+
#define GTK_SOURCE_VERSION_3_24 (G_ENCODE_VERSION (3, 24))
|
218
|
+
|
219
|
+
/**
|
220
|
+
* GTK_SOURCE_VERSION_4_0:
|
221
|
+
*
|
222
|
+
* A macro that evaluates to the 4.0 version of GtkSourceView,
|
223
|
+
* in a format that can be used by the C pre-processor.
|
224
|
+
*
|
225
|
+
* Since: 4.0
|
226
|
+
*/
|
227
|
+
#define GTK_SOURCE_VERSION_4_0 (G_ENCODE_VERSION (4, 0))
|
228
|
+
|
229
|
+
/* Define GTK_SOURCE_VERSION_CUR_STABLE */
|
230
|
+
#ifndef __GTK_DOC_IGNORE__
|
231
|
+
# if (GTK_SOURCE_MINOR_VERSION % 2)
|
232
|
+
# define GTK_SOURCE_VERSION_CUR_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION + 1))
|
233
|
+
# else
|
234
|
+
# define GTK_SOURCE_VERSION_CUR_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION))
|
235
|
+
# endif
|
236
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
237
|
+
|
238
|
+
/* Define GTK_SOURCE_VERSION_PREV_STABLE */
|
239
|
+
#ifndef __GTK_DOC_IGNORE__
|
240
|
+
#if (GTK_SOURCE_MINOR_VERSION % 2)
|
241
|
+
#define GTK_SOURCE_VERSION_PREV_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION - 1))
|
242
|
+
#else
|
243
|
+
#define GTK_SOURCE_VERSION_PREV_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION - 2))
|
244
|
+
#endif
|
245
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
246
|
+
|
247
|
+
/**
|
248
|
+
* GTK_SOURCE_VERSION_MIN_REQUIRED:
|
249
|
+
*
|
250
|
+
* A macro that should be defined by the user prior to including
|
251
|
+
* the gtksource.h header.
|
252
|
+
* The definition should be one of the predefined version
|
253
|
+
* macros: %GTK_SOURCE_VERSION_3_0, %GTK_SOURCE_VERSION_3_2, ...
|
254
|
+
*
|
255
|
+
* This macro defines the lower bound for the GtkSourceView API to use.
|
256
|
+
*
|
257
|
+
* If a function has been deprecated in a newer version of GtkSourceView,
|
258
|
+
* defining this symbol hides the compiler warnings for those functions
|
259
|
+
* without disabling warnings for the other deprecated functions.
|
260
|
+
*
|
261
|
+
* <warning>
|
262
|
+
* Warning: if you define this macro, do not forget to update it! Especially
|
263
|
+
* when writing new code. Otherwise you can miss the new deprecations.
|
264
|
+
* </warning>
|
265
|
+
*
|
266
|
+
* Since: 3.20
|
267
|
+
*/
|
268
|
+
#ifndef GTK_SOURCE_VERSION_MIN_REQUIRED
|
269
|
+
#define GTK_SOURCE_VERSION_MIN_REQUIRED (GTK_SOURCE_VERSION_CUR_STABLE)
|
270
|
+
#endif
|
271
|
+
|
272
|
+
/**
|
273
|
+
* GTK_SOURCE_VERSION_MAX_ALLOWED:
|
274
|
+
*
|
275
|
+
* A macro that should be defined by the user prior to including
|
276
|
+
* the gtksource.h header.
|
277
|
+
* The definition should be one of the predefined version
|
278
|
+
* macros: %GTK_SOURCE_VERSION_3_0, %GTK_SOURCE_VERSION_3_2, ...
|
279
|
+
*
|
280
|
+
* This macro defines the upper bound for the GtkSourceView API to use.
|
281
|
+
*
|
282
|
+
* If a function has been introduced in a newer version of GtkSourceView,
|
283
|
+
* it is possible to use this symbol to get compiler warnings when
|
284
|
+
* trying to use that function.
|
285
|
+
*
|
286
|
+
* Since: 3.20
|
287
|
+
*/
|
288
|
+
#ifndef GTK_SOURCE_VERSION_MAX_ALLOWED
|
289
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED > GTK_SOURCE_VERSION_PREV_STABLE
|
290
|
+
#define GTK_SOURCE_VERSION_MAX_ALLOWED GTK_SOURCE_VERSION_MIN_REQUIRED
|
291
|
+
#else
|
292
|
+
#define GTK_SOURCE_VERSION_MAX_ALLOWED GTK_SOURCE_VERSION_CUR_STABLE
|
293
|
+
#endif
|
294
|
+
#endif
|
295
|
+
|
296
|
+
/* sanity checks */
|
297
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_MIN_REQUIRED
|
298
|
+
#error "GTK_SOURCE_VERSION_MAX_ALLOWED must be >= GTK_SOURCE_VERSION_MIN_REQUIRED"
|
299
|
+
#endif
|
300
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED < GTK_SOURCE_VERSION_3_0
|
301
|
+
#error "GTK_SOURCE_VERSION_MIN_REQUIRED must be >= GTK_SOURCE_VERSION_3_0"
|
302
|
+
#endif
|
303
|
+
|
304
|
+
#ifndef __GTK_DOC_IGNORE__
|
305
|
+
#define GTK_SOURCE_AVAILABLE_IN_ALL _GTK_SOURCE_EXTERN
|
306
|
+
#endif
|
307
|
+
|
308
|
+
/* Every new stable minor release should add a set of macros here */
|
309
|
+
|
310
|
+
#ifndef __GTK_DOC_IGNORE__
|
311
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_0
|
312
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_0 G_DEPRECATED _GTK_SOURCE_EXTERN
|
313
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_0_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
314
|
+
#else
|
315
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_0 _GTK_SOURCE_EXTERN
|
316
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_0_FOR(f) _GTK_SOURCE_EXTERN
|
317
|
+
#endif
|
318
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
319
|
+
|
320
|
+
#ifndef __GTK_DOC_IGNORE__
|
321
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_0
|
322
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_0 G_UNAVAILABLE(3, 0) _GTK_SOURCE_EXTERN
|
323
|
+
#else
|
324
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_0 _GTK_SOURCE_EXTERN
|
325
|
+
#endif
|
326
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
327
|
+
|
328
|
+
#ifndef __GTK_DOC_IGNORE__
|
329
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_2
|
330
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_2 G_DEPRECATED _GTK_SOURCE_EXTERN
|
331
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_2_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
332
|
+
#else
|
333
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_2 _GTK_SOURCE_EXTERN
|
334
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_2_FOR(f) _GTK_SOURCE_EXTERN
|
335
|
+
#endif
|
336
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
337
|
+
|
338
|
+
#ifndef __GTK_DOC_IGNORE__
|
339
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_2
|
340
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_2 G_UNAVAILABLE(3, 2) _GTK_SOURCE_EXTERN
|
341
|
+
#else
|
342
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_2 _GTK_SOURCE_EXTERN
|
343
|
+
#endif
|
344
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
345
|
+
|
346
|
+
#ifndef __GTK_DOC_IGNORE__
|
347
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_4
|
348
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_4 G_DEPRECATED _GTK_SOURCE_EXTERN
|
349
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_4_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
350
|
+
#else
|
351
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_4 _GTK_SOURCE_EXTERN
|
352
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_4_FOR(f) _GTK_SOURCE_EXTERN
|
353
|
+
#endif
|
354
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
355
|
+
|
356
|
+
#ifndef __GTK_DOC_IGNORE__
|
357
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_4
|
358
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_4 G_UNAVAILABLE(3, 4) _GTK_SOURCE_EXTERN
|
359
|
+
#else
|
360
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_4 _GTK_SOURCE_EXTERN
|
361
|
+
#endif
|
362
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
363
|
+
|
364
|
+
#ifndef __GTK_DOC_IGNORE__
|
365
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_6
|
366
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_6 G_DEPRECATED _GTK_SOURCE_EXTERN
|
367
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_6_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
368
|
+
#else
|
369
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_6 _GTK_SOURCE_EXTERN
|
370
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_6_FOR(f) _GTK_SOURCE_EXTERN
|
371
|
+
#endif
|
372
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
373
|
+
|
374
|
+
#ifndef __GTK_DOC_IGNORE__
|
375
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_6
|
376
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_6 G_UNAVAILABLE(3, 6) _GTK_SOURCE_EXTERN
|
377
|
+
#else
|
378
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_6 _GTK_SOURCE_EXTERN
|
379
|
+
#endif
|
380
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
381
|
+
|
382
|
+
#ifndef __GTK_DOC_IGNORE__
|
383
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_8
|
384
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_8 G_DEPRECATED _GTK_SOURCE_EXTERN
|
385
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_8_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
386
|
+
#else
|
387
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_8 _GTK_SOURCE_EXTERN
|
388
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_8_FOR(f) _GTK_SOURCE_EXTERN
|
389
|
+
#endif
|
390
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
391
|
+
|
392
|
+
#ifndef __GTK_DOC_IGNORE__
|
393
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_8
|
394
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_8 G_UNAVAILABLE(3, 8) _GTK_SOURCE_EXTERN
|
395
|
+
#else
|
396
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_8 _GTK_SOURCE_EXTERN
|
397
|
+
#endif
|
398
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
399
|
+
|
400
|
+
#ifndef __GTK_DOC_IGNORE__
|
401
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_10
|
402
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_10 G_DEPRECATED _GTK_SOURCE_EXTERN
|
403
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_10_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
404
|
+
#else
|
405
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_10 _GTK_SOURCE_EXTERN
|
406
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_10_FOR(f) _GTK_SOURCE_EXTERN
|
407
|
+
#endif
|
408
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
409
|
+
|
410
|
+
#ifndef __GTK_DOC_IGNORE__
|
411
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_10
|
412
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_10 G_UNAVAILABLE(3, 10) _GTK_SOURCE_EXTERN
|
413
|
+
#else
|
414
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_10 _GTK_SOURCE_EXTERN
|
415
|
+
#endif
|
416
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
417
|
+
|
418
|
+
#ifndef __GTK_DOC_IGNORE__
|
419
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_12
|
420
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_12 G_DEPRECATED _GTK_SOURCE_EXTERN
|
421
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_12_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
422
|
+
#else
|
423
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_12 _GTK_SOURCE_EXTERN
|
424
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_12_FOR(f) _GTK_SOURCE_EXTERN
|
425
|
+
#endif
|
426
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
427
|
+
|
428
|
+
#ifndef __GTK_DOC_IGNORE__
|
429
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_12
|
430
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_12 G_UNAVAILABLE(3, 12) _GTK_SOURCE_EXTERN
|
431
|
+
#else
|
432
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_12 _GTK_SOURCE_EXTERN
|
433
|
+
#endif
|
434
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
435
|
+
|
436
|
+
#ifndef __GTK_DOC_IGNORE__
|
437
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_14
|
438
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_14 G_DEPRECATED _GTK_SOURCE_EXTERN
|
439
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_14_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
440
|
+
#else
|
441
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_14 _GTK_SOURCE_EXTERN
|
442
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_14_FOR(f) _GTK_SOURCE_EXTERN
|
443
|
+
#endif
|
444
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
445
|
+
|
446
|
+
#ifndef __GTK_DOC_IGNORE__
|
447
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_14
|
448
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_14 G_UNAVAILABLE(3, 14) _GTK_SOURCE_EXTERN
|
449
|
+
#else
|
450
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_14 _GTK_SOURCE_EXTERN
|
451
|
+
#endif
|
452
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
453
|
+
|
454
|
+
#ifndef __GTK_DOC_IGNORE__
|
455
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_16
|
456
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_16 G_DEPRECATED _GTK_SOURCE_EXTERN
|
457
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_16_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
458
|
+
#else
|
459
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_16 _GTK_SOURCE_EXTERN
|
460
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_16_FOR(f) _GTK_SOURCE_EXTERN
|
461
|
+
#endif
|
462
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
463
|
+
|
464
|
+
#ifndef __GTK_DOC_IGNORE__
|
465
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_16
|
466
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_16 G_UNAVAILABLE(3, 16) _GTK_SOURCE_EXTERN
|
467
|
+
#else
|
468
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_16 _GTK_SOURCE_EXTERN
|
469
|
+
#endif
|
470
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
471
|
+
|
472
|
+
#ifndef __GTK_DOC_IGNORE__
|
473
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_18
|
474
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_18 G_DEPRECATED _GTK_SOURCE_EXTERN
|
475
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_18_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
476
|
+
#else
|
477
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_18 _GTK_SOURCE_EXTERN
|
478
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_18_FOR(f) _GTK_SOURCE_EXTERN
|
479
|
+
#endif
|
480
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
481
|
+
|
482
|
+
#ifndef __GTK_DOC_IGNORE__
|
483
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_18
|
484
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_18 G_UNAVAILABLE(3, 18) _GTK_SOURCE_EXTERN
|
485
|
+
#else
|
486
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_18 _GTK_SOURCE_EXTERN
|
487
|
+
#endif
|
488
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
489
|
+
|
490
|
+
#ifndef __GTK_DOC_IGNORE__
|
491
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_20
|
492
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_20 G_DEPRECATED _GTK_SOURCE_EXTERN
|
493
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_20_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
494
|
+
#else
|
495
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_20 _GTK_SOURCE_EXTERN
|
496
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_20_FOR(f) _GTK_SOURCE_EXTERN
|
497
|
+
#endif
|
498
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
499
|
+
|
500
|
+
#ifndef __GTK_DOC_IGNORE__
|
501
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_20
|
502
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_20 G_UNAVAILABLE(3, 20) _GTK_SOURCE_EXTERN
|
503
|
+
#else
|
504
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_20 _GTK_SOURCE_EXTERN
|
505
|
+
#endif
|
506
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
507
|
+
|
508
|
+
#ifndef __GTK_DOC_IGNORE__
|
509
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_22
|
510
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_22 G_DEPRECATED _GTK_SOURCE_EXTERN
|
511
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_22_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
512
|
+
#else
|
513
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_22 _GTK_SOURCE_EXTERN
|
514
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_22_FOR(f) _GTK_SOURCE_EXTERN
|
515
|
+
#endif
|
516
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
517
|
+
|
518
|
+
#ifndef __GTK_DOC_IGNORE__
|
519
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_22
|
520
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_22 G_UNAVAILABLE(3, 22) _GTK_SOURCE_EXTERN
|
521
|
+
#else
|
522
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_22 _GTK_SOURCE_EXTERN
|
523
|
+
#endif
|
524
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
525
|
+
|
526
|
+
#ifndef __GTK_DOC_IGNORE__
|
527
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_24
|
528
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_24 G_DEPRECATED _GTK_SOURCE_EXTERN
|
529
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_24_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
530
|
+
#else
|
531
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_24 _GTK_SOURCE_EXTERN
|
532
|
+
#define GTK_SOURCE_DEPRECATED_IN_3_24_FOR(f) _GTK_SOURCE_EXTERN
|
533
|
+
#endif
|
534
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
535
|
+
|
536
|
+
#ifndef __GTK_DOC_IGNORE__
|
537
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_24
|
538
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_24 G_UNAVAILABLE(3, 24) _GTK_SOURCE_EXTERN
|
539
|
+
#else
|
540
|
+
#define GTK_SOURCE_AVAILABLE_IN_3_24 _GTK_SOURCE_EXTERN
|
541
|
+
#endif
|
542
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
543
|
+
|
544
|
+
#ifndef __GTK_DOC_IGNORE__
|
545
|
+
#if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_4_0
|
546
|
+
#define GTK_SOURCE_DEPRECATED_IN_4_0 G_DEPRECATED _GTK_SOURCE_EXTERN
|
547
|
+
#define GTK_SOURCE_DEPRECATED_IN_4_0_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
|
548
|
+
#else
|
549
|
+
#define GTK_SOURCE_DEPRECATED_IN_4_0 _GTK_SOURCE_EXTERN
|
550
|
+
#define GTK_SOURCE_DEPRECATED_IN_4_0_FOR(f) _GTK_SOURCE_EXTERN
|
551
|
+
#endif
|
552
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
553
|
+
|
554
|
+
#ifndef __GTK_DOC_IGNORE__
|
555
|
+
#if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_4_0
|
556
|
+
#define GTK_SOURCE_AVAILABLE_IN_4_0 G_UNAVAILABLE(4, 0) _GTK_SOURCE_EXTERN
|
557
|
+
#else
|
558
|
+
#define GTK_SOURCE_AVAILABLE_IN_4_0 _GTK_SOURCE_EXTERN
|
559
|
+
#endif
|
560
|
+
#endif /* __GTK_DOC_IGNORE__ */
|
561
|
+
|
562
|
+
GTK_SOURCE_AVAILABLE_IN_3_20
|
563
|
+
guint gtk_source_get_major_version (void);
|
564
|
+
|
565
|
+
GTK_SOURCE_AVAILABLE_IN_3_20
|
566
|
+
guint gtk_source_get_minor_version (void);
|
567
|
+
|
568
|
+
GTK_SOURCE_AVAILABLE_IN_3_20
|
569
|
+
guint gtk_source_get_micro_version (void);
|
570
|
+
|
571
|
+
GTK_SOURCE_AVAILABLE_IN_3_20
|
572
|
+
gboolean gtk_source_check_version (guint major,
|
573
|
+
guint minor,
|
574
|
+
guint micro);
|
575
|
+
|
576
|
+
G_END_DECLS
|
577
|
+
|
578
|
+
#endif /* GTK_SOURCE_VERSION_H */
|