kitabu 0.4.7 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.gitmodules +3 -0
- data/.rspec +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +62 -0
- data/README.rdoc +187 -0
- data/Rakefile +4 -36
- data/bin/kitabu +2 -5
- data/examples/RailsGuides/config/helper.rb +29 -0
- data/examples/RailsGuides/config/kitabu.yml +48 -0
- data/examples/RailsGuides/images/challenge.png +0 -0
- data/examples/RailsGuides/images/posts_index.png +0 -0
- data/examples/RailsGuides/images/rails_welcome.png +0 -0
- data/examples/RailsGuides/output/RailsGuides.epub +0 -0
- data/examples/RailsGuides/output/RailsGuides.html +1556 -0
- data/examples/RailsGuides/output/RailsGuides.pdf +4930 -7
- data/examples/RailsGuides/templates/cover.erb +16 -0
- data/examples/RailsGuides/templates/layout.css +352 -0
- data/examples/RailsGuides/templates/layout.erb +43 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/idle.css → examples/RailsGuides/templates/syntax.css} +0 -0
- data/examples/RailsGuides/templates/user.css +19 -0
- data/examples/RailsGuides/text/01_Guide_Assumptions.mkdn +13 -0
- data/examples/RailsGuides/text/02_What_is_Rails.mkdn +106 -0
- data/examples/RailsGuides/text/03_Creating_a_new_Rails_project.mkdn +200 -0
- data/examples/RailsGuides/text/04_Hello_Rails.mkdn +62 -0
- data/examples/RailsGuides/text/05_Getting_Up_and_Running_Quickly_with_Scaffolding.mkdn +4 -0
- data/examples/RailsGuides/text/06_Creating_a_resource.mkdn +503 -0
- data/examples/RailsGuides/text/07_Adding_a_second_model.mkdn +232 -0
- data/examples/RailsGuides/text/08_Refactoring.mkdn +123 -0
- data/examples/RailsGuides/text/09_Deleting_comments.mkdn +57 -0
- data/examples/RailsGuides/text/09_Security.mkdn +56 -0
- data/examples/RailsGuides/text/10_Building_a_multi_model_form.mkdn +130 -0
- data/examples/RailsGuides/text/11_View_helpers.mkdn +50 -0
- data/examples/RailsGuides/text/12_Whats_next.mkdn +14 -0
- data/examples/RailsGuides/text/13_Configuration_gotchas.mkdn +10 -0
- data/kitabu.gemspec +28 -491
- data/lib/kitabu.rb +54 -46
- data/lib/kitabu/cli.rb +88 -0
- data/lib/kitabu/errors.rb +3 -0
- data/lib/kitabu/exporter.rb +81 -0
- data/lib/kitabu/extensions/redcloth.rb +65 -0
- data/lib/kitabu/extensions/string.rb +11 -0
- data/lib/kitabu/generator.rb +74 -0
- data/lib/kitabu/parser.rb +34 -0
- data/lib/kitabu/parser/epub.rb +131 -0
- data/lib/kitabu/parser/html.rb +174 -0
- data/lib/kitabu/parser/mobi.rb +17 -0
- data/lib/kitabu/parser/pdf.rb +41 -0
- data/lib/kitabu/parser/txt.rb +22 -0
- data/lib/kitabu/stream.rb +27 -0
- data/lib/kitabu/syntax.rb +109 -107
- data/lib/kitabu/toc.rb +62 -33
- data/lib/kitabu/version.rb +8 -0
- data/spec/kitabu/cli/export_spec.rb +17 -0
- data/spec/kitabu/cli/new_spec.rb +21 -0
- data/spec/kitabu/cli/permalinks_spec.rb +12 -0
- data/spec/kitabu/cli/version_spec.rb +12 -0
- data/spec/kitabu/extensions/redcloth_spec.rb +52 -0
- data/spec/kitabu/extensions/string_spec.rb +21 -0
- data/spec/kitabu/generator_spec.rb +10 -0
- data/spec/kitabu/parser/epub_spec.rb +10 -0
- data/spec/kitabu/parser/html_spec.rb +75 -0
- data/spec/kitabu/parser/pdf_spec.rb +14 -0
- data/spec/kitabu/syntax_spec.rb +80 -76
- data/spec/kitabu/toc_spec.rb +42 -68
- data/spec/kitabu_spec.rb +4 -0
- data/spec/spec_helper.rb +20 -24
- data/spec/support/exit_with_code.rb +26 -0
- data/spec/support/have_tag.rb +115 -0
- data/spec/support/helper.rb +18 -0
- data/spec/support/mybook/.gitignore +1 -0
- data/spec/support/mybook/code/.gitkeep +0 -0
- data/spec/support/mybook/code/code.rb +13 -0
- data/spec/support/mybook/config/helper.rb +29 -0
- data/spec/support/mybook/config/kitabu.yml +59 -0
- data/spec/support/mybook/images/.gitkeep +0 -0
- data/spec/support/mybook/images/logo.gif +0 -0
- data/spec/support/mybook/output/.gitkeep +0 -0
- data/spec/support/mybook/templates/cover.erb +16 -0
- data/spec/support/mybook/templates/epub.css +1 -0
- data/spec/support/mybook/templates/epub.erb +15 -0
- data/spec/support/mybook/templates/layout.css +137 -0
- data/{templates/layouts/boom/layout.html → spec/support/mybook/templates/layout.erb} +26 -17
- data/{templates/themes/mac_classic.css → spec/support/mybook/templates/syntax.css} +63 -0
- data/spec/support/mybook/templates/user.css +1 -0
- data/spec/support/mybook/text/.gitkeep +0 -0
- data/spec/support/mybook/text/01_Markdown_Chapter.markdown +8 -0
- data/spec/support/mybook/text/02_Textile_Chapter.textile +3 -0
- data/spec/support/mybook/text/03_HTML_Chapter.html +3 -0
- data/spec/support/mybook/text/04_With_Directory/Some_Chapter.mkdn +3 -0
- data/spec/support/mybook/text/CHANGELOG.textile +6 -0
- data/spec/support/mybook/text/TOC.textile +0 -0
- data/spec/support/mybook/text/_00_Introduction.markdown +3 -0
- data/spec/support/shared.rb +16 -0
- data/templates/config.erb +48 -0
- data/templates/cover.erb +16 -0
- data/templates/ebook.png +0 -0
- data/templates/epub.css +0 -0
- data/templates/epub.erb +15 -0
- data/templates/helper.rb +29 -0
- data/templates/layout.css +353 -0
- data/templates/layout.erb +44 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/active4d.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/all_hallows_eve.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/amy.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/blackboard.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_black.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/brilliance_dull.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/cobalt.css +0 -0
- data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/dawn.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/eiffel.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/espresso_libre.css +0 -0
- data/{lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css → templates/styles}/idle.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/iplastic.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/lazy.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/mac_classic.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/magicwb_amiga.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/pastels_on_dark.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/slush_poppies.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/spacecadet.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/sunburst.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/twilight.css +0 -0
- data/{lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css → templates/styles}/zenburnesque.css +0 -0
- data/templates/user.css +1 -1
- metadata +395 -501
- data/README.markdown +0 -60
- data/VERSION +0 -1
- data/lib/kitabu/base.rb +0 -271
- data/lib/kitabu/blackcloth.rb +0 -184
- data/lib/kitabu/command.rb +0 -94
- data/lib/kitabu/redcloth.rb +0 -964
- data/lib/kitabu/tasks.rb +0 -113
- data/lib/kitabu/templates.rb +0 -54
- data/lib/kitabu/vendor/colorize/colorize.rb +0 -81
- data/lib/kitabu/vendor/ruby1.8/plist/plist.rb +0 -22
- data/lib/kitabu/vendor/ruby1.8/plist/plist/generator.rb +0 -224
- data/lib/kitabu/vendor/ruby1.8/plist/plist/parser.rb +0 -224
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow.rb +0 -10
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/debug_processor.rb +0 -36
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/score_manager.rb +0 -65
- data/lib/kitabu/vendor/ruby1.8/textpow/textpow/syntax.rb +0 -284
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/active4d.render +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/all_hallows_eve.render +0 -104
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/amy.render +0 -179
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/blackboard.render +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_black.render +0 -560
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/brilliance_dull.render +0 -569
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/cobalt.render +0 -170
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/dawn.render +0 -134
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/eiffel.render +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/espresso_libre.render +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/files/css/dawn.css +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/idle.render +0 -101
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/iplastic.render +0 -107
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/lazy.render +0 -104
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/mac_classic.render +0 -143
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/magicwb_amiga.render +0 -125
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/pastels_on_dark.render +0 -212
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/slush_poppies.render +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/spacecadet.render +0 -89
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/sunburst.render +0 -194
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/twilight.render +0 -161
- data/lib/kitabu/vendor/ruby1.8/uv/render/xhtml/zenburnesque.render +0 -134
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/actionscript.syntax +0 -97
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d.syntax +0 -276
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_html.syntax +0 -311
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_ini.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/active4d_library.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ada.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/antlr.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/apache.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/applescript.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp.syntax +0 -70
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/asp_vb.net.syntax +0 -129
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/bibtex.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_html.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_markdown.syntax +0 -42
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_text.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/blog_textile.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/buggy/nemerle.syntax +0 -74
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/build.syntax +0 -53
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/bulletin_board.syntax +0 -287
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/c++.syntax +0 -109
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/c.syntax +0 -326
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cake.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/camlp4.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cm.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/coldfusion.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/context_free.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/cs.syntax +0 -59
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/css.syntax +0 -195
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/css_experimental.syntax +0 -1925
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/csv.syntax +0 -68
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/d.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/diff.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dokuwiki.syntax +0 -204
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dot.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/doxygen.syntax +0 -43
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/dylan.syntax +0 -62
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/eiffel.syntax +0 -78
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/erlang.syntax +0 -922
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/f-script.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/fortran.syntax +0 -141
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/fxscript.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/greasemonkey.syntax +0 -34
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gri.syntax +0 -83
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/groovy.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtd.syntax +0 -22
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/gtdalt.syntax +0 -143
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/haml.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/haskell.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html-asp.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html.syntax +0 -362
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_django.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_for_asp.net.syntax +0 -424
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_mason.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_rails.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/html_tcl.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/icalendar.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/inform.syntax +0 -48
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ini.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/installer_distribution_script.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/io.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/java.syntax +0 -211
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javaproperties.syntax +0 -20
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript.syntax +0 -256
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype.syntax +0 -72
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/jquery_javascript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/json.syntax +0 -136
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/languagedefinition.syntax +0 -708
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex.syntax +0 -566
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_beamer.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_log.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/latex_memoir.syntax +0 -64
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lexflex.syntax +0 -219
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lighttpd.syntax +0 -54
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lilypond.syntax +0 -492
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lisp.syntax +0 -61
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/literate_haskell.syntax +0 -24
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/logo.syntax +0 -29
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/logtalk.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/lua.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/m.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/macports_portfile.syntax +0 -163
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mail.syntax +0 -118
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/makefile.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/man.syntax +0 -17
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/markdown.syntax +0 -543
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mediawiki.syntax +0 -567
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mel.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mips.syntax +0 -66
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mod_perl.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/modula-3.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/moinmoin.syntax +0 -189
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/mootools.syntax +0 -572
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/movable_type.syntax +0 -162
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/multimarkdown.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c++.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/objective-c.syntax +0 -233
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocaml.syntax +0 -764
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamllex.syntax +0 -167
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ocamlyacc.syntax +0 -184
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/YAML.yaml +0 -160
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/old/txt2tags.yaml +0 -139
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/opengl.syntax +0 -14
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/pascal.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/perl.syntax +0 -1115
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/php.syntax +0 -1253
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/plain_text.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/pmwiki.syntax +0 -113
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/postscript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/processing.syntax +0 -106
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/prolog.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/property_list.syntax +0 -635
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/python.syntax +0 -868
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/python_django.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/qmake_project.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/qt_c++.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/quake3_config.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/r.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/r_console.syntax +0 -16
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ragel.syntax +0 -201
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/rd_r_documentation.syntax +0 -91
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regexp.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_oniguruma.syntax +0 -107
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/regular_expressions_python.syntax +0 -109
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/release_notes.syntax +0 -46
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/remind.syntax +0 -253
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/restructuredtext.syntax +0 -250
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/rez.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby.syntax +0 -1035
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_experimental.syntax +0 -145
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ruby_on_rails.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/s5.syntax +0 -69
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/scheme.syntax +0 -347
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/scilab.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/setext.syntax +0 -147
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/shell-unix-generic.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/slate.syntax +0 -149
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/smarty.syntax +0 -63
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql.syntax +0 -237
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sql_rails.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/ssh-config.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/standard_ml.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/strings_file.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/subversion_commit_message.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/sweave.syntax +0 -84
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/swig.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tcl.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/template_toolkit.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tex_math.syntax +0 -49
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/textile.syntax +0 -215
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/tsv.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/twiki.syntax +0 -241
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/txt2tags.syntax +0 -79
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/vectorscript.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xhtml_1.0.syntax +0 -4027
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml.syntax +0 -180
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xml_strict.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/xsl.syntax +0 -60
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/yaml.syntax +0 -160
- data/lib/kitabu/vendor/ruby1.8/uv/syntax/yui_javascript.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.8/uv/uv.rb +0 -88
- data/lib/kitabu/vendor/ruby1.8/uv/uv/render_processor.rb +0 -131
- data/lib/kitabu/vendor/ruby1.8/uv/uv/utility.rb +0 -67
- data/lib/kitabu/vendor/ruby1.9/plist/plist.rb +0 -23
- data/lib/kitabu/vendor/ruby1.9/plist/plist/generator.rb +0 -228
- data/lib/kitabu/vendor/ruby1.9/plist/plist/parser.rb +0 -225
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow.rb +0 -10
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/debug_processor.rb +0 -37
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/score_manager.rb +0 -66
- data/lib/kitabu/vendor/ruby1.9/textpow/textpow/syntax.rb +0 -286
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/active4d.render +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/all_hallows_eve.render +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/amy.render +0 -179
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/blackboard.render +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_black.render +0 -560
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/brilliance_dull.render +0 -569
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/cobalt.render +0 -170
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/dawn.render +0 -134
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/eiffel.render +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/espresso_libre.render +0 -131
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/active4d.css +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/all_hallows_eve.css +0 -72
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/amy.css +0 -147
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/blackboard.css +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_black.css +0 -605
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/brilliance_dull.css +0 -599
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/cobalt.css +0 -149
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/eiffel.css +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/espresso_libre.css +0 -109
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/iplastic.css +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/lazy.css +0 -73
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/mac_classic.css +0 -123
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/magicwb_amiga.css +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/pastels_on_dark.css +0 -188
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/slush_poppies.css +0 -85
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/spacecadet.css +0 -51
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/sunburst.css +0 -180
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/twilight.css +0 -137
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/files/css/zenburnesque.css +0 -91
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/idle.render +0 -101
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/iplastic.render +0 -107
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/lazy.render +0 -104
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/mac_classic.render +0 -143
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/magicwb_amiga.render +0 -125
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/pastels_on_dark.render +0 -212
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/slush_poppies.render +0 -131
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/spacecadet.render +0 -89
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/sunburst.render +0 -194
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/twilight.render +0 -161
- data/lib/kitabu/vendor/ruby1.9/uv/render/xhtml/zenburnesque.render +0 -134
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/actionscript.syntax +0 -97
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d.syntax +0 -276
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_html.syntax +0 -311
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_ini.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/active4d_library.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ada.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/antlr.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/apache.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/applescript.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp.syntax +0 -70
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/asp_vb.net.syntax +0 -129
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/bibtex.syntax +0 -151
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_html.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_markdown.syntax +0 -42
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_text.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/blog_textile.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/build.syntax +0 -53
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/bulletin_board.syntax +0 -287
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cake.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/camlp4.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cm.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/coldfusion.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/context_free.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/cs.syntax +0 -59
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/css.syntax +0 -195
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/css_experimental.syntax +0 -1925
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/csv.syntax +0 -68
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/d.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/diff.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dokuwiki.syntax +0 -204
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dot.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/doxygen.syntax +0 -43
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/dylan.syntax +0 -62
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/eiffel.syntax +0 -78
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/erlang.syntax +0 -922
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/f-script.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/fortran.syntax +0 -141
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/fxscript.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/greasemonkey.syntax +0 -34
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gri.syntax +0 -83
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/groovy.syntax +0 -191
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtd.syntax +0 -22
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/gtdalt.syntax +0 -143
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/haml.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/haskell.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html-asp.syntax +0 -27
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html.syntax +0 -362
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_django.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_for_asp.net.syntax +0 -424
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_mason.syntax +0 -119
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_rails.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/html_tcl.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/icalendar.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/inform.syntax +0 -48
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ini.syntax +0 -55
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/installer_distribution_script.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/io.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/java.syntax +0 -211
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javaproperties.syntax +0 -20
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript.syntax +0 -256
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype.syntax +0 -72
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/javascript_+_prototype_bracketed.syntax +0 -140
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/jquery_javascript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/json.syntax +0 -136
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/languagedefinition.syntax +0 -708
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex.syntax +0 -566
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_beamer.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_log.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/latex_memoir.syntax +0 -64
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lexflex.syntax +0 -219
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lighttpd.syntax +0 -54
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lilypond.syntax +0 -492
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lisp.syntax +0 -61
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/literate_haskell.syntax +0 -24
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/logo.syntax +0 -29
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/logtalk.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/lua.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/m.syntax +0 -142
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/macports_portfile.syntax +0 -163
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/makefile.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/man.syntax +0 -17
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mediawiki.syntax +0 -567
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mips.syntax +0 -66
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mod_perl.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/modula-3.syntax +0 -47
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/moinmoin.syntax +0 -189
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/mootools.syntax +0 -572
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/movable_type.syntax +0 -162
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/multimarkdown.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c++.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/objective-c.syntax +0 -233
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocaml.syntax +0 -764
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamllex.syntax +0 -167
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ocamlyacc.syntax +0 -184
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/opengl.syntax +0 -14
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/pascal.syntax +0 -77
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/perl.syntax +0 -1115
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/plain_text.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/postscript.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/processing.syntax +0 -106
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/prolog.syntax +0 -40
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/property_list.syntax +0 -635
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/python.syntax +0 -868
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/python_django.syntax +0 -21
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/qmake_project.syntax +0 -114
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/qt_c++.syntax +0 -26
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/quake3_config.syntax +0 -32
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/r.syntax +0 -81
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/r_console.syntax +0 -16
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ragel.syntax +0 -201
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/rd_r_documentation.syntax +0 -91
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/regexp.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/release_notes.syntax +0 -46
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/remind.syntax +0 -253
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/restructuredtext.syntax +0 -250
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/rez.syntax +0 -80
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby.syntax +0 -1035
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_experimental.syntax +0 -145
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ruby_on_rails.syntax +0 -88
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/s5.syntax +0 -69
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/scheme.syntax +0 -347
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/scilab.syntax +0 -41
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/setext.syntax +0 -147
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/shell-unix-generic.syntax +0 -384
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/slate.syntax +0 -149
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql.syntax +0 -237
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sql_rails.syntax +0 -18
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/ssh-config.syntax +0 -33
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/standard_ml.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/strings_file.syntax +0 -39
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/subversion_commit_message.syntax +0 -36
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/sweave.syntax +0 -84
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/swig.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tcl.syntax +0 -152
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/template_toolkit.syntax +0 -121
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex.syntax +0 -86
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tex_math.syntax +0 -49
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/textile.syntax +0 -215
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/tsv.syntax +0 -50
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/twiki.syntax +0 -241
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/txt2tags.syntax +0 -79
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/vectorscript.syntax +0 -57
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xhtml_1.0.syntax +0 -4027
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml.syntax +0 -180
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xml_strict.syntax +0 -92
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/xsl.syntax +0 -60
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/yaml.syntax +0 -160
- data/lib/kitabu/vendor/ruby1.9/uv/syntax/yui_javascript.syntax +0 -176
- data/lib/kitabu/vendor/ruby1.9/uv/uv.rb +0 -89
- data/lib/kitabu/vendor/ruby1.9/uv/uv/render_processor.rb +0 -132
- data/lib/kitabu/vendor/ruby1.9/uv/uv/utility.rb +0 -68
- data/spec/exit_matcher.rb +0 -45
- data/spec/fixtures/rails-guides/code/sample.rb +0 -7
- data/spec/kitabu/base_spec.rb +0 -159
- data/spec/kitabu/blackcloth_spec.rb +0 -41
- data/spec/kitabu/bug_fix_spec.rb +0 -25
- data/spec/kitabu/command_spec.rb +0 -82
- data/templates/Rakefile +0 -3
- data/templates/config.yml +0 -9
- data/templates/layouts/boom/layout.css +0 -469
- data/templates/syntax.css +0 -1065
- data/templates/themes/active4d.css +0 -114
- data/templates/themes/blackboard.css +0 -88
- data/templates/themes/dawn.css +0 -121
- data/templates/themes/eiffel.css +0 -121
- data/templates/themes/idle.css +0 -62
- data/templates/themes/iplastic.css +0 -80
- data/templates/themes/lazy.css +0 -73
- data/templates/themes/slush_poppies.css +0 -85
- data/templates/themes/sunburst.css +0 -180
@@ -1,326 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: C
|
3
|
-
fileTypes:
|
4
|
-
- c
|
5
|
-
- h
|
6
|
-
firstLineMatch: -[*]-( Mode:)? C -[*]-
|
7
|
-
scopeName: source.c
|
8
|
-
repository:
|
9
|
-
pragma-mark:
|
10
|
-
name: meta.section
|
11
|
-
captures:
|
12
|
-
"1":
|
13
|
-
name: meta.preprocessor.c
|
14
|
-
"2":
|
15
|
-
name: keyword.control.import.pragma.c
|
16
|
-
"3":
|
17
|
-
name: meta.toc-list.pragma-mark.c
|
18
|
-
match: ^\s*(#\s*(pragma\s+mark)\s+(.*))
|
19
|
-
preprocessor-rule-enabled:
|
20
|
-
captures:
|
21
|
-
"1":
|
22
|
-
name: meta.preprocessor.c
|
23
|
-
"2":
|
24
|
-
name: keyword.control.import.if.c
|
25
|
-
"3":
|
26
|
-
name: constant.numeric.preprocessor.c
|
27
|
-
begin: ^\s*(#(if)\s+(0*1)\b)
|
28
|
-
end: ^\s*(#\s*(endif)\b)
|
29
|
-
patterns:
|
30
|
-
- captures:
|
31
|
-
"1":
|
32
|
-
name: meta.preprocessor.c
|
33
|
-
"2":
|
34
|
-
name: keyword.control.import.else.c
|
35
|
-
begin: |
|
36
|
-
^\s*(#\s*(else)\b).*
|
37
|
-
|
38
|
-
contentName: comment.block.preprocessor.else-branch
|
39
|
-
end: (?=^\s*#\s*endif\b.*$)
|
40
|
-
patterns:
|
41
|
-
- include: "#disabled"
|
42
|
-
- include: "#pragma-mark"
|
43
|
-
- begin: ""
|
44
|
-
end: (?=^\s*#\s*(else|endif)\b.*$)
|
45
|
-
patterns:
|
46
|
-
- include: $base
|
47
|
-
string_escaped_char:
|
48
|
-
patterns:
|
49
|
-
- name: constant.character.escape.c
|
50
|
-
match: \\(\\|[abefnprtv'"?]|[0-3]\d{,2}|[4-7]\d?|x[a-fA-F0-9]{,2})
|
51
|
-
- name: invalid.illegal.unknown-escape.c
|
52
|
-
match: \\.
|
53
|
-
disabled:
|
54
|
-
begin: ^\s*#\s*if(n?def)?\b.*$
|
55
|
-
end: ^\s*#\s*endif\b.*$
|
56
|
-
patterns:
|
57
|
-
- include: "#disabled"
|
58
|
-
- include: "#pragma-mark"
|
59
|
-
comment: eat nested preprocessor if(def)s
|
60
|
-
preprocessor-rule-other:
|
61
|
-
captures:
|
62
|
-
"1":
|
63
|
-
name: meta.preprocessor.c
|
64
|
-
"2":
|
65
|
-
name: keyword.control.import.c
|
66
|
-
begin: ^\s*(#\s*(if(n?def)?)\b.*?(?:(?=(?://|/\*))|$))
|
67
|
-
end: ^\s*(#\s*(endif)\b).*$
|
68
|
-
patterns:
|
69
|
-
- include: $base
|
70
|
-
preprocessor-rule-disabled:
|
71
|
-
captures:
|
72
|
-
"1":
|
73
|
-
name: meta.preprocessor.c
|
74
|
-
"2":
|
75
|
-
name: keyword.control.import.if.c
|
76
|
-
"3":
|
77
|
-
name: constant.numeric.preprocessor.c
|
78
|
-
begin: |
|
79
|
-
^\s*(#(if)\s+(0)\b).*
|
80
|
-
|
81
|
-
end: ^\s*(#\s*(endif)\b)
|
82
|
-
patterns:
|
83
|
-
- captures:
|
84
|
-
"1":
|
85
|
-
name: meta.preprocessor.c
|
86
|
-
"2":
|
87
|
-
name: keyword.control.import.else.c
|
88
|
-
begin: ^\s*(#\s*(else)\b)
|
89
|
-
end: (?=^\s*#\s*endif\b.*$)
|
90
|
-
patterns:
|
91
|
-
- include: $base
|
92
|
-
- name: comment.block.preprocessor.if-branch
|
93
|
-
begin: ""
|
94
|
-
end: (?=^\s*#\s*(else|endif)\b.*$)
|
95
|
-
patterns:
|
96
|
-
- include: "#disabled"
|
97
|
-
- include: "#pragma-mark"
|
98
|
-
string_placeholder:
|
99
|
-
patterns:
|
100
|
-
- name: constant.other.placeholder.c
|
101
|
-
match: "(?x)%\n\
|
102
|
-
\t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n\
|
103
|
-
\t\t\t\t\t\t[#0\\- +']* # flags\n\
|
104
|
-
\t\t\t\t\t\t[,;:_]? # separator character (AltiVec)\n\
|
105
|
-
\t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n\
|
106
|
-
\t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n\
|
107
|
-
\t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n\
|
108
|
-
\t\t\t\t\t\t[diouxXDOUeEfFgGaACcSspn%] # conversion type\n\
|
109
|
-
\t\t\t\t\t"
|
110
|
-
- name: invalid.illegal.placeholder.c
|
111
|
-
match: "%"
|
112
|
-
uuid: 25066DC2-6B1D-11D9-9D5B-000D93589AF6
|
113
|
-
foldingStartMarker: "(?x)\n\
|
114
|
-
\t\t /\\*\\*(?!\\*)\n\
|
115
|
-
\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
|
116
|
-
\t"
|
117
|
-
patterns:
|
118
|
-
- include: "#preprocessor-rule-enabled"
|
119
|
-
- include: "#preprocessor-rule-disabled"
|
120
|
-
- include: "#preprocessor-rule-other"
|
121
|
-
- name: comment.block.c
|
122
|
-
captures:
|
123
|
-
"0":
|
124
|
-
name: punctuation.definition.comment.c
|
125
|
-
begin: /\*
|
126
|
-
end: \*/
|
127
|
-
- name: comment.line.double-slash.c++
|
128
|
-
begin: //
|
129
|
-
beginCaptures:
|
130
|
-
"0":
|
131
|
-
name: punctuation.definition.comment.c
|
132
|
-
end: $\n?
|
133
|
-
patterns:
|
134
|
-
- name: punctuation.separator.continuation.c++
|
135
|
-
match: (?>\\\s*\n)
|
136
|
-
- name: keyword.control.c
|
137
|
-
match: \b(break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while)\b
|
138
|
-
- name: storage.type.c
|
139
|
-
match: \b(asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\b
|
140
|
-
- name: storage.modifier.c
|
141
|
-
match: \b(const|extern|register|restrict|static|volatile|inline)\b
|
142
|
-
- name: constant.other.variable.mac-classic.c
|
143
|
-
match: \bk[A-Z]\w*\b
|
144
|
-
comment: common C constant naming idiom -- kConstantVariable
|
145
|
-
- name: variable.other.readwrite.global.mac-classic.c
|
146
|
-
match: \bg[A-Z]\w*\b
|
147
|
-
- name: variable.other.readwrite.static.mac-classic.c
|
148
|
-
match: \bs[A-Z]\w*\b
|
149
|
-
- name: constant.language.c
|
150
|
-
match: \b(NULL|true|false|TRUE|FALSE)\b
|
151
|
-
- name: keyword.operator.sizeof.c
|
152
|
-
match: \b(sizeof)\b
|
153
|
-
- name: constant.numeric.c
|
154
|
-
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
|
155
|
-
- name: string.quoted.double.c
|
156
|
-
endCaptures:
|
157
|
-
"0":
|
158
|
-
name: punctuation.definition.string.end.c
|
159
|
-
begin: "\""
|
160
|
-
beginCaptures:
|
161
|
-
"0":
|
162
|
-
name: punctuation.definition.string.begin.c
|
163
|
-
end: "\""
|
164
|
-
patterns:
|
165
|
-
- include: "#string_escaped_char"
|
166
|
-
- include: "#string_placeholder"
|
167
|
-
- name: string.quoted.single.c
|
168
|
-
endCaptures:
|
169
|
-
"0":
|
170
|
-
name: punctuation.definition.string.end.c
|
171
|
-
begin: "'"
|
172
|
-
beginCaptures:
|
173
|
-
"0":
|
174
|
-
name: punctuation.definition.string.begin.c
|
175
|
-
end: "'"
|
176
|
-
patterns:
|
177
|
-
- include: "#string_escaped_char"
|
178
|
-
- name: meta.preprocessor.macro.c
|
179
|
-
begin: "(?x)\n\
|
180
|
-
\t\t\t\t^\\s*\\#\\s*(define)\\s+ # define\n\
|
181
|
-
\t\t\t\t((?<id>[a-zA-Z_][a-zA-Z0-9_]*)) # macro name\n\
|
182
|
-
\t\t\t\t(?: # and optionally:\n\
|
183
|
-
\t\t\t\t (\\() # an open parenthesis\n\
|
184
|
-
\t\t\t\t (\n\
|
185
|
-
\t\t\t\t \\s* \\g<id> \\s* # first argument\n\
|
186
|
-
\t\t\t\t ((,) \\s* \\g<id> \\s*)* # additional arguments\n\
|
187
|
-
\t\t\t\t (?:\\.\\.\\.)? # varargs ellipsis?\n\
|
188
|
-
\t\t\t\t )\n\
|
189
|
-
\t\t\t\t (\\)) # a close parenthesis\n\
|
190
|
-
\t\t\t\t)?\n\
|
191
|
-
\t\t\t"
|
192
|
-
beginCaptures:
|
193
|
-
"7":
|
194
|
-
name: punctuation.separator.parameters.c
|
195
|
-
"8":
|
196
|
-
name: punctuation.definition.parameters.c
|
197
|
-
"1":
|
198
|
-
name: keyword.control.import.define.c
|
199
|
-
"2":
|
200
|
-
name: entity.name.function.preprocessor.c
|
201
|
-
"4":
|
202
|
-
name: punctuation.definition.parameters.c
|
203
|
-
"5":
|
204
|
-
name: variable.parameter.preprocessor.c
|
205
|
-
end: (?=(?://|/\*))|$
|
206
|
-
patterns:
|
207
|
-
- name: punctuation.separator.continuation.c
|
208
|
-
match: (?>\\\s*\n)
|
209
|
-
- include: $base
|
210
|
-
- name: meta.preprocessor.diagnostic.c
|
211
|
-
captures:
|
212
|
-
"1":
|
213
|
-
name: keyword.control.import.error.c
|
214
|
-
begin: ^\s*#\s*(error|warning)\b
|
215
|
-
end: $
|
216
|
-
patterns:
|
217
|
-
- name: punctuation.separator.continuation.c
|
218
|
-
match: (?>\\\s*\n)
|
219
|
-
- name: meta.preprocessor.c.include
|
220
|
-
captures:
|
221
|
-
"1":
|
222
|
-
name: keyword.control.import.include.c
|
223
|
-
begin: ^\s*#\s*(include|import)\b\s+
|
224
|
-
end: (?=(?://|/\*))|$
|
225
|
-
patterns:
|
226
|
-
- name: punctuation.separator.continuation.c
|
227
|
-
match: (?>\\\s*\n)
|
228
|
-
- name: string.quoted.double.include.c
|
229
|
-
endCaptures:
|
230
|
-
"0":
|
231
|
-
name: punctuation.definition.string.end.c
|
232
|
-
begin: "\""
|
233
|
-
beginCaptures:
|
234
|
-
"0":
|
235
|
-
name: punctuation.definition.string.begin.c
|
236
|
-
end: "\""
|
237
|
-
- name: string.quoted.other.lt-gt.include.c
|
238
|
-
endCaptures:
|
239
|
-
"0":
|
240
|
-
name: punctuation.definition.string.end.c
|
241
|
-
begin: <
|
242
|
-
beginCaptures:
|
243
|
-
"0":
|
244
|
-
name: punctuation.definition.string.begin.c
|
245
|
-
end: ">"
|
246
|
-
- include: "#pragma-mark"
|
247
|
-
- name: meta.preprocessor.c
|
248
|
-
captures:
|
249
|
-
"1":
|
250
|
-
name: keyword.control.import.c
|
251
|
-
begin: ^\s*#\s*(define|defined|elif|else|if|ifdef|ifndef|line|pragma|undef)\b
|
252
|
-
end: (?=(?://|/\*))|$
|
253
|
-
patterns:
|
254
|
-
- name: punctuation.separator.continuation.c
|
255
|
-
match: (?>\\\s*\n)
|
256
|
-
- name: support.type.sys-types.c
|
257
|
-
match: \b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\b
|
258
|
-
- name: support.type.pthread.c
|
259
|
-
match: \b(pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t)\b
|
260
|
-
- name: support.type.stdint.c
|
261
|
-
match: \b(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t|uintmax_t|uintmax_t)\b
|
262
|
-
- name: support.constant.mac-classic.c
|
263
|
-
match: \b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\b
|
264
|
-
- name: support.type.mac-classic.c
|
265
|
-
match: \b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\b
|
266
|
-
- name: support.function.C99.c
|
267
|
-
match: \b(hypot(f|l)?|s(scanf|ystem|nprintf|ca(nf|lb(n(f|l)?|ln(f|l)?))|i(n(h(f|l)?|f|l)?|gn(al|bit))|tr(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(jmp|vbuf|locale|buf)|qrt(f|l)?|w(scanf|printf)|rand)|n(e(arbyint(f|l)?|xt(toward(f|l)?|after(f|l)?))|an(f|l)?)|c(s(in(h(f|l)?|f|l)?|qrt(f|l)?)|cos(h(f)?|f|l)?|imag(f|l)?|t(ime|an(h(f|l)?|f|l)?)|o(s(h(f|l)?|f|l)?|nj(f|l)?|pysign(f|l)?)|p(ow(f|l)?|roj(f|l)?)|e(il(f|l)?|xp(f|l)?)|l(o(ck|g(f|l)?)|earerr)|a(sin(h(f|l)?|f|l)?|cos(h(f|l)?|f|l)?|tan(h(f|l)?|f|l)?|lloc|rg(f|l)?|bs(f|l)?)|real(f|l)?|brt(f|l)?)|t(ime|o(upper|lower)|an(h(f|l)?|f|l)?|runc(f|l)?|gamma(f|l)?|mp(nam|file))|i(s(space|n(ormal|an)|cntrl|inf|digit|u(nordered|pper)|p(unct|rint)|finite|w(space|c(ntrl|type)|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit|blank)|l(ower|ess(equal|greater)?)|al(num|pha)|gr(eater(equal)?|aph)|xdigit|blank)|logb(f|l)?|max(div|abs))|di(v|fftime)|_Exit|unget(c|wc)|p(ow(f|l)?|ut(s|c(har)?|wc(har)?)|error|rintf)|e(rf(c(f|l)?|f|l)?|x(it|p(2(f|l)?|f|l|m1(f|l)?)?))|v(s(scanf|nprintf|canf|printf|w(scanf|printf))|printf|f(scanf|printf|w(scanf|printf))|w(scanf|printf)|a_(start|copy|end|arg))|qsort|f(s(canf|e(tpos|ek))|close|tell|open|dim(f|l)?|p(classify|ut(s|c|w(s|c))|rintf)|e(holdexcept|set(e(nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(aiseexcept|ror)|get(e(nv|xceptflag)|round))|flush|w(scanf|ide|printf|rite)|loor(f|l)?|abs(f|l)?|get(s|c|pos|w(s|c))|re(open|e|ad|xp(f|l)?)|m(in(f|l)?|od(f|l)?|a(f|l|x(f|l)?)?))|l(d(iv|exp(f|l)?)|o(ngjmp|cal(time|econv)|g(1(p(f|l)?|0(f|l)?)|2(f|l)?|f|l|b(f|l)?)?)|abs|l(div|abs|r(int(f|l)?|ound(f|l)?))|r(int(f|l)?|ound(f|l)?)|gamma(f|l)?)|w(scanf|c(s(s(tr|pn)|nc(py|at|mp)|c(spn|hr|oll|py|at|mp)|to(imax|d|u(l(l)?|max)|k|f|l(d|l)?|mbs)|pbrk|ftime|len|r(chr|tombs)|xfrm)|to(b|mb)|rtomb)|printf|mem(set|c(hr|py|mp)|move))|a(s(sert|ctime|in(h(f|l)?|f|l)?)|cos(h(f|l)?|f|l)?|t(o(i|f|l(l)?)|exit|an(h(f|l)?|2(f|l)?|f|l)?)|b(s|ort))|g(et(s|c(har)?|env|wc(har)?)|mtime)|r(int(f|l)?|ound(f|l)?|e(name|alloc|wind|m(ove|quo(f|l)?|ainder(f|l)?))|a(nd|ise))|b(search|towc)|m(odf(f|l)?|em(set|c(hr|py|mp)|move)|ktime|alloc|b(s(init|towcs|rtowcs)|towc|len|r(towc|len))))\b
|
268
|
-
- name: meta.function.c
|
269
|
-
endCaptures:
|
270
|
-
"0":
|
271
|
-
name: punctuation.definition.parameters.c
|
272
|
-
begin: "(?x)\n\
|
273
|
-
\t\t\t\t(?: ^ # begin-of-line\n\
|
274
|
-
\t\t\t\t | \n\
|
275
|
-
\t\t\t\t (?: (?= \\s ) (?<!else|new) (?<=\\w)\\s+ # or word + space before name\n\
|
276
|
-
\t\t\t\t | (?= \\s*[A-Za-z_] ) (?<!&&) (?<=[*&>])\\s* # or type modifier before name\n\
|
277
|
-
\t\t\t\t )\n\
|
278
|
-
\t\t\t\t)\n\
|
279
|
-
\t\t\t\t(\n\
|
280
|
-
\t\t\t\t\t([A-Za-z_][A-Za-z0-9_]|::)* # actual name\n\
|
281
|
-
\t\t\t\t\t(?: (?<=operator) (?: [-*&<>=+!]+ | \\(\\) | \\[\\] ) )? # if it is a C++ operator\n\
|
282
|
-
\t\t\t\t)\n\
|
283
|
-
\t\t\t\t \\s*(\\() (?= # match \"(\"\n\
|
284
|
-
\t\t\t\t (?<fun> [^()]++ | \\( \\g<fun>*+ \\) )*+ # function arguments\n\
|
285
|
-
\t\t\t\t \\) \t\t # match \")\"\n\
|
286
|
-
\t\t\t\t (\\s+const)?\\s* # optional const modifier\n\
|
287
|
-
\t\t\t\t (\\{|\\n|//|/\\*)) # start bracket or end-of-line\n\
|
288
|
-
\t\t\t"
|
289
|
-
beginCaptures:
|
290
|
-
"1":
|
291
|
-
name: entity.name.function.c
|
292
|
-
"2":
|
293
|
-
name: punctuation.definition.parameters.c
|
294
|
-
end: \)
|
295
|
-
patterns:
|
296
|
-
- include: $base
|
297
|
-
- name: meta.function.prototype.c
|
298
|
-
endCaptures:
|
299
|
-
"0":
|
300
|
-
name: punctuation.definition.parameters.c
|
301
|
-
begin: "(?x)\n\
|
302
|
-
\t\t\t\t(?: ^ # begin-of-line\n\
|
303
|
-
\t\t\t\t | (?: (?= \\s ) (?<!else|new|return) (?<=\\w)\\s+ # or word + space before name\n\
|
304
|
-
\t\t\t\t | (?= \\s*[A-Za-z_] ) (?<!&&) (?<=[*&])\\s* # or type modifier before name\n\
|
305
|
-
\t\t\t\t )\n\
|
306
|
-
\t\t\t\t)\n\
|
307
|
-
\t\t\t\t(\n\
|
308
|
-
\t\t\t\t\t[A-Za-z_][A-Za-z0-9_:]* # actual name\n\
|
309
|
-
\t\t\t\t\t(?: (?<=operator) (?: [-*&<>=+!]+ | \\(\\) | \\[\\] ) )? # if it is a C++ operator\n\
|
310
|
-
\t\t\t\t)\n\
|
311
|
-
\t\t\t\t \\s+(\\() (?= # match \"(\"\n\
|
312
|
-
\t\t\t\t (?<fun> [^()]++ | \\( \\g<fun>*+ \\) )*+ # function arguments\n\
|
313
|
-
\t\t\t\t \\) # match \")\"\n\
|
314
|
-
\t\t\t\t (\\s+const)?\\s* # optional const modifier\n\
|
315
|
-
\t\t\t\t ;) # terminating semi-colon\n\
|
316
|
-
\t\t\t"
|
317
|
-
beginCaptures:
|
318
|
-
"1":
|
319
|
-
name: entity.name.function.c
|
320
|
-
"2":
|
321
|
-
name: punctuation.definition.parameters.c
|
322
|
-
end: \)
|
323
|
-
patterns:
|
324
|
-
- include: $base
|
325
|
-
foldingStopMarker: (?<!\*)\*\*/|^\s*\}
|
326
|
-
keyEquivalent: ^~C
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Cake
|
3
|
-
fileTypes:
|
4
|
-
- thtml
|
5
|
-
scopeName: source.php.cake
|
6
|
-
uuid: 3DF2FE0B-94CC-4EE2-A50A-BD4823D1B09D
|
7
|
-
foldingStartMarker: (/\*|\{|\()
|
8
|
-
patterns:
|
9
|
-
- name: support.function.model.cake
|
10
|
-
match: \b(bindModel|unbindModel|hasField|read|field|save|saveField|remove|del|delete|exists|hasAny|find|findAll|findCount|execute|query|validates|invalidate|invalidFields|isForeignKey|getDisplayField|generateList|getID|getLastInsertID|getInsertID|getNumRows|getAffectedRows|setDatasource|beforeFind|afterFind|beforeSave|afterSave|beforeDelete|afterDelete)\b
|
11
|
-
- name: support.function.controller.cake
|
12
|
-
match: \b(redirect|set|setAction|validate|validateErrors|render|referer|flash|flashOut|generateFieldNames|postCondtions|cleanUpFields|beforeFilter|beforeRender|afterFilter)\b
|
13
|
-
- name: support.constant.core.cake
|
14
|
-
match: \b(ACL_CLASSNAME|ACL_FILENAME|APP|APP_DIR|APP_PATH|AUTO_OUTPUT|AUTO_SESSION|CACHE|CACHE_CHECK|CAKE|CAKE_CORE_INCLUDE_PATH|CAKE_SECURITY|CAKE_SESSION_COOKIE|CAKE_SESSION_SAVE|CAKE_SESSION_STRING|CAKE_SESSION_TIMEOUT|COMPONENTS|COMPRESS_CSS|CONFIGS|CONTROLLER_TESTS|CONTROLLERS|CORE_PATH|CSS|DAY|DEBUG|DS|ELEMENTS|HELPER_TESTS|HELPERS|HOUR|INFLECTIONS|JS|LAYOUTS|LIB_TESTS|LIBS|LOG_ERROR|LOGS|MAX_MD5SIZE|MINUTE|MODEL_TESTS|MODELS|MODULES|MONTH|PEAR|ROOT|SCRIPTS|SECOND|TAG_DIV|TAG_FIELDSET|TAG_LABEL|TAG_P_CLASS|TESTS|TMP|VALID_EMAIL|VALID_NOT_EMPTY|VALID_NUMBER|VALID_YEAR|VENDORS|VIEWS|WEBROOT_DIR|WEBSERVICES|WEEK|WWW_ROOT|YEAR)\b
|
15
|
-
- name: invalid.deprecated.model.cake
|
16
|
-
match: \b(setId|findBySql)\b
|
17
|
-
- name: invalid.deprecated.helper.html.cake
|
18
|
-
match: \b(areaTag|charsetTag|checkboxTag|contentTag|cssTag|fileTag|formTag|guiListTag|hiddenTag|imageTag|inputTag|javascriptIncludeTag|javascriptTag|linkEmail|linkOut|linkTo|parseHtmlOptions|passwordTag|radioTags|submitTag|tag|urlFor)\b
|
19
|
-
- name: invalid.deprecated.helper.ajax.cake
|
20
|
-
match: \b(linkToRemote)\b
|
21
|
-
- name: support.function.helper.cake
|
22
|
-
match: \b(isFieldError|labelTag|divTag|pTag|generate(Input|Checkbox|Area|Select|submit)Div|generate(Date|DateTime|Fields))\b
|
23
|
-
- name: support.function.helper.html.cake
|
24
|
-
match: \b(addCrumb|charset|url|link|submit|password|textarea|checkbox|css|file|getCrumbs|hidden|image|input|radio|tableHeaders|tableCells|validate|tagIsValid|validateErrors|tagErrorMsg|selectTag|(day|year|month|hour|minute|meridian|date)OptionTag)\b
|
25
|
-
- name: support.function.helper.ajax.cake
|
26
|
-
match: \b(link|remoteFunction|remoteTimer|form|submit|observe(Field|Form)|autoComplete|drag|drop|dropRemote|slider|editor|sortable)\b
|
27
|
-
- name: support.function.file.cake
|
28
|
-
match: \b(read|append|write|get(Md5|Size|Ext|Name|Owner|Group|Folder|Chmod|FullPath)|create|exists|delete|writable|executable|readable|last(Access|Change))\b
|
29
|
-
- name: support.function.log.cake
|
30
|
-
match: \b(write)\b
|
31
|
-
- name: support.function.helper.number.cake
|
32
|
-
match: \b(precision|toReadableSize|toPercentage)\b
|
33
|
-
- name: support.function.component.requestHandler.cake
|
34
|
-
match: \b(startup|setAjax|is(Ajax|Xml|Rss|Atom|Post|Get|Delete|Mobile)|getAjaxVersion|setContent|get(Referer|ClientIP)|strip(WhiteSpace|Images|Scripts|All|tags)|accepts|prefers)\b
|
35
|
-
- name: support.function.component.session.cake
|
36
|
-
match: \b(write|read|del|delete|check|error|setFlash|flash|renew|valid)\b
|
37
|
-
- name: support.function.component.security.cake
|
38
|
-
match: \b(startup|blackHole|requirePost|requireAuth)\b
|
39
|
-
- name: support.function.component.sanitize.cake
|
40
|
-
match: \b(paranoid|sql|html|cleanArray|cleanArrayR|cleanValue|formatColumns)\b
|
41
|
-
- name: support.function.helper.time.cake
|
42
|
-
match: \b(trim|fromString|nice|niceShort|isToday|daysAsSql|dayAsSql|isThisYear|wasYesterday|isTomorrow|toUnix|toAtom|toRSS|timeAgoInWords|relativeTime|wasWithinLast)\b
|
43
|
-
- name: support.function.helper.text.cake
|
44
|
-
match: \b(highlight|stripLinks|autoLinkUrls|autoLinkEmails|autoLink|truncate|excerpt|flay)\b
|
45
|
-
- name: support.function.helper.javascript.cake
|
46
|
-
match: \b(codeBlock|link|linkOut|escape(String|Script)|event|(cache|write)Events|includeScript|object)\b
|
47
|
-
- name: support.function.neatArray.cake
|
48
|
-
match: \b(findIn|cleanup|add|plus|totals|filter|walk|sprintf|extract|unique|makeUnique|joinWith|threaded|multi_search)\b
|
49
|
-
- name: support.function.neatString.cake
|
50
|
-
match: \b(toArray|toRoman|toCompressed|randomPassword)\b
|
51
|
-
- name: support.function.basics.cake
|
52
|
-
match: \b(load(Models|PluginModels|View|Model|Controllers|PluginController)|listClasses|config|gendor|debug|aa|ha|a|e|low|up|r|pr|params|am|setUri|env|cache|clearCache|stripslashes_deep|countDim|LogError|fileExistsInPAth|convertSlash)\b
|
53
|
-
- include: source.php
|
54
|
-
- include: text.html.basic
|
55
|
-
foldingStopMarker: (\*/|\}|\))
|
@@ -1,36 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: camlp4
|
3
|
-
scopeName: source.camlp4.ocaml
|
4
|
-
repository:
|
5
|
-
camlpppp-streams:
|
6
|
-
patterns:
|
7
|
-
- name: meta.camlp4-stream.element.ocaml
|
8
|
-
endCaptures:
|
9
|
-
"1":
|
10
|
-
name: punctuation.separator.camlp4.ocaml
|
11
|
-
begin: (')
|
12
|
-
beginCaptures:
|
13
|
-
"1":
|
14
|
-
name: punctuation.definition.camlp4.simple-element.ocaml
|
15
|
-
end: (;)(?=\s*')|(?=\s*>])
|
16
|
-
patterns:
|
17
|
-
- include: source.ocaml
|
18
|
-
uuid: 37538B6B-CEFA-4DAE-B1E4-1218DB82B37F
|
19
|
-
foldingStartMarker: (\bEXTEND\B)
|
20
|
-
patterns:
|
21
|
-
- name: meta.camlp4-stream.ocaml
|
22
|
-
endCaptures:
|
23
|
-
"1":
|
24
|
-
name: punctuation.definition.camlp4-stream.ocaml
|
25
|
-
begin: (\[<)(?=.*?>])
|
26
|
-
beginCaptures:
|
27
|
-
"1":
|
28
|
-
name: punctuation.definition.camlp4-stream.ocaml
|
29
|
-
end: (?=>])
|
30
|
-
patterns:
|
31
|
-
- include: "#camlpppp-streams"
|
32
|
-
- name: punctuation.definition.camlp4-stream.ocaml
|
33
|
-
match: \[<|>]
|
34
|
-
- name: keyword.other.camlp4.ocaml
|
35
|
-
match: \bparser\b|<(<|:)|>>|\$(:|\${0,1})
|
36
|
-
foldingStopMarker: (\bEND\b)
|
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: CM
|
3
|
-
fileTypes:
|
4
|
-
- cm
|
5
|
-
scopeName: source.cm
|
6
|
-
uuid: AEF91285-0D21-4BB0-B702-F5D0CEDBA4B8
|
7
|
-
foldingStartMarker: \(\*
|
8
|
-
patterns:
|
9
|
-
- name: comment.block.cm
|
10
|
-
captures:
|
11
|
-
"0":
|
12
|
-
name: punctuation.definition.comment.cm
|
13
|
-
begin: \(\*
|
14
|
-
end: \*\)
|
15
|
-
- name: keyword.other.cm
|
16
|
-
match: \b(Library|is|Group|structure|signature|functor)\b
|
17
|
-
- name: meta.directive.cm
|
18
|
-
captures:
|
19
|
-
"1":
|
20
|
-
name: meta.preprocessor.cm
|
21
|
-
"2":
|
22
|
-
name: keyword.control.import.if.cm
|
23
|
-
begin: ^\s*(#(if).*)
|
24
|
-
end: ^\s*(#(endif))
|
25
|
-
- name: string.quoted.double.cm
|
26
|
-
begin: "\""
|
27
|
-
end: "\""
|
28
|
-
patterns:
|
29
|
-
- name: constant.character.escape.cm
|
30
|
-
match: \\.
|
31
|
-
foldingStopMarker: \*\)
|
32
|
-
comment: CM is the SML Compilation Manager, a sophisticated make that determines dependencies for you.
|