openskies 0.0.5.2 → 0.0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +0 -87
- data/bin/openskies +31 -5
- metadata +4 -593
- data/guides/assets/images/belongs_to.png +0 -0
- data/guides/assets/images/book_icon.gif +0 -0
- data/guides/assets/images/bullet.gif +0 -0
- data/guides/assets/images/challenge.png +0 -0
- data/guides/assets/images/chapters_icon.gif +0 -0
- data/guides/assets/images/check_bullet.gif +0 -0
- data/guides/assets/images/credits_pic_blank.gif +0 -0
- data/guides/assets/images/csrf.png +0 -0
- data/guides/assets/images/customized_error_messages.png +0 -0
- data/guides/assets/images/edge_badge.png +0 -0
- data/guides/assets/images/error_messages.png +0 -0
- data/guides/assets/images/feature_tile.gif +0 -0
- data/guides/assets/images/footer_tile.gif +0 -0
- data/guides/assets/images/fxn.png +0 -0
- data/guides/assets/images/grey_bullet.gif +0 -0
- data/guides/assets/images/habtm.png +0 -0
- data/guides/assets/images/has_many.png +0 -0
- data/guides/assets/images/has_many_through.png +0 -0
- data/guides/assets/images/has_one.png +0 -0
- data/guides/assets/images/has_one_through.png +0 -0
- data/guides/assets/images/header_backdrop.png +0 -0
- data/guides/assets/images/header_tile.gif +0 -0
- data/guides/assets/images/i18n/demo_html_safe.png +0 -0
- data/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
- data/guides/assets/images/i18n/demo_translated_en.png +0 -0
- data/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
- data/guides/assets/images/i18n/demo_translation_missing.png +0 -0
- data/guides/assets/images/i18n/demo_untranslated.png +0 -0
- data/guides/assets/images/icons/README +0 -5
- data/guides/assets/images/icons/callouts/1.png +0 -0
- data/guides/assets/images/icons/callouts/10.png +0 -0
- data/guides/assets/images/icons/callouts/11.png +0 -0
- data/guides/assets/images/icons/callouts/12.png +0 -0
- data/guides/assets/images/icons/callouts/13.png +0 -0
- data/guides/assets/images/icons/callouts/14.png +0 -0
- data/guides/assets/images/icons/callouts/15.png +0 -0
- data/guides/assets/images/icons/callouts/2.png +0 -0
- data/guides/assets/images/icons/callouts/3.png +0 -0
- data/guides/assets/images/icons/callouts/4.png +0 -0
- data/guides/assets/images/icons/callouts/5.png +0 -0
- data/guides/assets/images/icons/callouts/6.png +0 -0
- data/guides/assets/images/icons/callouts/7.png +0 -0
- data/guides/assets/images/icons/callouts/8.png +0 -0
- data/guides/assets/images/icons/callouts/9.png +0 -0
- data/guides/assets/images/icons/caution.png +0 -0
- data/guides/assets/images/icons/example.png +0 -0
- data/guides/assets/images/icons/home.png +0 -0
- data/guides/assets/images/icons/important.png +0 -0
- data/guides/assets/images/icons/next.png +0 -0
- data/guides/assets/images/icons/note.png +0 -0
- data/guides/assets/images/icons/prev.png +0 -0
- data/guides/assets/images/icons/tip.png +0 -0
- data/guides/assets/images/icons/up.png +0 -0
- data/guides/assets/images/icons/warning.png +0 -0
- data/guides/assets/images/jaimeiniesta.jpg +0 -0
- data/guides/assets/images/nav_arrow.gif +0 -0
- data/guides/assets/images/polymorphic.png +0 -0
- data/guides/assets/images/posts_index.png +0 -0
- data/guides/assets/images/radar.png +0 -0
- data/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
- data/guides/assets/images/rails_guides_logo.gif +0 -0
- data/guides/assets/images/rails_logo_remix.gif +0 -0
- data/guides/assets/images/rails_welcome.png +0 -0
- data/guides/assets/images/session_fixation.png +0 -0
- data/guides/assets/images/tab_grey.gif +0 -0
- data/guides/assets/images/tab_info.gif +0 -0
- data/guides/assets/images/tab_note.gif +0 -0
- data/guides/assets/images/tab_red.gif +0 -0
- data/guides/assets/images/tab_yellow.gif +0 -0
- data/guides/assets/images/tab_yellow.png +0 -0
- data/guides/assets/images/validation_error_messages.png +0 -0
- data/guides/assets/images/vijaydev.jpg +0 -0
- data/guides/assets/javascripts/guides.js +0 -7
- data/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +0 -59
- data/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +0 -75
- data/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +0 -59
- data/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +0 -65
- data/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +0 -100
- data/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +0 -97
- data/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +0 -91
- data/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +0 -55
- data/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +0 -41
- data/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +0 -52
- data/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +0 -67
- data/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +0 -52
- data/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +0 -57
- data/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +0 -58
- data/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +0 -72
- data/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +0 -88
- data/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +0 -33
- data/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +0 -74
- data/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +0 -64
- data/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +0 -55
- data/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +0 -94
- data/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +0 -51
- data/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +0 -66
- data/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +0 -56
- data/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +0 -69
- data/guides/assets/javascripts/syntaxhighlighter/shCore.js +0 -17
- data/guides/assets/stylesheets/fixes.css +0 -16
- data/guides/assets/stylesheets/kindle.css +0 -11
- data/guides/assets/stylesheets/main.css +0 -453
- data/guides/assets/stylesheets/print.css +0 -52
- data/guides/assets/stylesheets/reset.css +0 -43
- data/guides/assets/stylesheets/style.css +0 -13
- data/guides/assets/stylesheets/syntaxhighlighter/shCore.css +0 -226
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +0 -328
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +0 -331
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +0 -339
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +0 -324
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +0 -328
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +0 -324
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +0 -324
- data/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +0 -324
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +0 -117
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +0 -120
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +0 -128
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +0 -113
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +0 -117
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +0 -113
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +0 -113
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +0 -113
- data/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +0 -116
- data/guides/code/getting_started/Gemfile +0 -38
- data/guides/code/getting_started/README.rdoc +0 -261
- data/guides/code/getting_started/Rakefile +0 -7
- data/guides/code/getting_started/app/assets/images/rails.png +0 -0
- data/guides/code/getting_started/app/assets/javascripts/application.js +0 -15
- data/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +0 -3
- data/guides/code/getting_started/app/assets/javascripts/home.js.coffee +0 -3
- data/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +0 -3
- data/guides/code/getting_started/app/assets/stylesheets/application.css +0 -13
- data/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +0 -3
- data/guides/code/getting_started/app/assets/stylesheets/home.css.scss +0 -3
- data/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +0 -3
- data/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +0 -56
- data/guides/code/getting_started/app/controllers/application_controller.rb +0 -3
- data/guides/code/getting_started/app/controllers/comments_controller.rb +0 -16
- data/guides/code/getting_started/app/controllers/home_controller.rb +0 -5
- data/guides/code/getting_started/app/controllers/posts_controller.rb +0 -84
- data/guides/code/getting_started/app/helpers/application_helper.rb +0 -2
- data/guides/code/getting_started/app/helpers/comments_helper.rb +0 -2
- data/guides/code/getting_started/app/helpers/home_helper.rb +0 -2
- data/guides/code/getting_started/app/helpers/posts_helper.rb +0 -5
- data/guides/code/getting_started/app/models/comment.rb +0 -3
- data/guides/code/getting_started/app/models/post.rb +0 -11
- data/guides/code/getting_started/app/models/tag.rb +0 -3
- data/guides/code/getting_started/app/views/comments/_comment.html.erb +0 -15
- data/guides/code/getting_started/app/views/comments/_form.html.erb +0 -13
- data/guides/code/getting_started/app/views/home/index.html.erb +0 -2
- data/guides/code/getting_started/app/views/layouts/application.html.erb +0 -14
- data/guides/code/getting_started/app/views/posts/_form.html.erb +0 -32
- data/guides/code/getting_started/app/views/posts/edit.html.erb +0 -6
- data/guides/code/getting_started/app/views/posts/index.html.erb +0 -27
- data/guides/code/getting_started/app/views/posts/new.html.erb +0 -5
- data/guides/code/getting_started/app/views/posts/show.html.erb +0 -31
- data/guides/code/getting_started/app/views/tags/_form.html.erb +0 -12
- data/guides/code/getting_started/config/application.rb +0 -59
- data/guides/code/getting_started/config/boot.rb +0 -6
- data/guides/code/getting_started/config/database.yml +0 -25
- data/guides/code/getting_started/config/environment.rb +0 -5
- data/guides/code/getting_started/config/environments/development.rb +0 -37
- data/guides/code/getting_started/config/environments/production.rb +0 -67
- data/guides/code/getting_started/config/environments/test.rb +0 -37
- data/guides/code/getting_started/config/initializers/backtrace_silencers.rb +0 -7
- data/guides/code/getting_started/config/initializers/inflections.rb +0 -15
- data/guides/code/getting_started/config/initializers/mime_types.rb +0 -5
- data/guides/code/getting_started/config/initializers/secret_token.rb +0 -7
- data/guides/code/getting_started/config/initializers/session_store.rb +0 -8
- data/guides/code/getting_started/config/initializers/wrap_parameters.rb +0 -14
- data/guides/code/getting_started/config/locales/en.yml +0 -5
- data/guides/code/getting_started/config/routes.rb +0 -64
- data/guides/code/getting_started/config.ru +0 -4
- data/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +0 -11
- data/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +0 -12
- data/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +0 -11
- data/guides/code/getting_started/db/schema.rb +0 -43
- data/guides/code/getting_started/db/seeds.rb +0 -7
- data/guides/code/getting_started/doc/README_FOR_APP +0 -2
- data/guides/code/getting_started/public/404.html +0 -26
- data/guides/code/getting_started/public/422.html +0 -26
- data/guides/code/getting_started/public/500.html +0 -25
- data/guides/code/getting_started/public/favicon.ico +0 -0
- data/guides/code/getting_started/public/robots.txt +0 -5
- data/guides/code/getting_started/script/rails +0 -6
- data/guides/code/getting_started/test/fixtures/comments.yml +0 -11
- data/guides/code/getting_started/test/fixtures/posts.yml +0 -11
- data/guides/code/getting_started/test/fixtures/tags.yml +0 -9
- data/guides/code/getting_started/test/functional/comments_controller_test.rb +0 -7
- data/guides/code/getting_started/test/functional/home_controller_test.rb +0 -9
- data/guides/code/getting_started/test/functional/posts_controller_test.rb +0 -49
- data/guides/code/getting_started/test/performance/browsing_test.rb +0 -12
- data/guides/code/getting_started/test/test_helper.rb +0 -13
- data/guides/code/getting_started/test/unit/comment_test.rb +0 -7
- data/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +0 -4
- data/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +0 -4
- data/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +0 -4
- data/guides/code/getting_started/test/unit/post_test.rb +0 -7
- data/guides/code/getting_started/test/unit/tag_test.rb +0 -7
- data/guides/rails_guides/generator.rb +0 -310
- data/guides/rails_guides/helpers.rb +0 -45
- data/guides/rails_guides/indexer.rb +0 -69
- data/guides/rails_guides/levenshtein.rb +0 -31
- data/guides/rails_guides/textile_extensions.rb +0 -63
- data/guides/rails_guides.rb +0 -50
- data/guides/source/2_2_release_notes.textile +0 -422
- data/guides/source/2_3_release_notes.textile +0 -610
- data/guides/source/3_0_release_notes.textile +0 -595
- data/guides/source/3_1_release_notes.textile +0 -553
- data/guides/source/3_2_release_notes.textile +0 -540
- data/guides/source/_license.html.erb +0 -2
- data/guides/source/_welcome.html.erb +0 -19
- data/guides/source/action_controller_overview.textile +0 -820
- data/guides/source/action_mailer_basics.textile +0 -516
- data/guides/source/action_view_overview.textile +0 -1497
- data/guides/source/active_model_basics.textile +0 -205
- data/guides/source/active_record_basics.textile +0 -218
- data/guides/source/active_record_querying.textile +0 -1433
- data/guides/source/active_record_validations_callbacks.textile +0 -1283
- data/guides/source/active_resource_basics.textile +0 -120
- data/guides/source/active_support_core_extensions.textile +0 -3713
- data/guides/source/ajax_on_rails.textile +0 -267
- data/guides/source/api_documentation_guidelines.textile +0 -185
- data/guides/source/asset_pipeline.textile +0 -707
- data/guides/source/association_basics.textile +0 -1959
- data/guides/source/caching_with_rails.textile +0 -437
- data/guides/source/command_line.textile +0 -574
- data/guides/source/configuring.textile +0 -641
- data/guides/source/contributing_to_ruby_on_rails.textile +0 -448
- data/guides/source/credits.html.erb +0 -72
- data/guides/source/debugging_rails_applications.textile +0 -714
- data/guides/source/documents.yaml +0 -157
- data/guides/source/engines.textile +0 -618
- data/guides/source/form_helpers.textile +0 -798
- data/guides/source/generators.textile +0 -621
- data/guides/source/getting_started.textile +0 -1929
- data/guides/source/i18n.textile +0 -931
- data/guides/source/index.html.erb +0 -30
- data/guides/source/initialization.textile +0 -1116
- data/guides/source/kindle/KINDLE.md +0 -26
- data/guides/source/kindle/copyright.html.erb +0 -1
- data/guides/source/kindle/layout.html.erb +0 -27
- data/guides/source/kindle/rails_guides.opf.erb +0 -52
- data/guides/source/kindle/toc.html.erb +0 -24
- data/guides/source/kindle/toc.ncx.erb +0 -64
- data/guides/source/kindle/welcome.html.erb +0 -5
- data/guides/source/layout.html.erb +0 -124
- data/guides/source/layouts_and_rendering.textile +0 -1237
- data/guides/source/migrations.textile +0 -900
- data/guides/source/nested_model_forms.textile +0 -222
- data/guides/source/performance_testing.textile +0 -597
- data/guides/source/plugins.textile +0 -464
- data/guides/source/rails_application_templates.textile +0 -240
- data/guides/source/rails_on_rack.textile +0 -236
- data/guides/source/routing.textile +0 -885
- data/guides/source/ruby_on_rails_guides_guidelines.textile +0 -79
- data/guides/source/security.textile +0 -1004
- data/guides/source/testing.textile +0 -947
- data/guides/w3c_validator.rb +0 -91
- data/lib/rails/all.rb +0 -15
- data/lib/rails/application/bootstrap.rb +0 -73
- data/lib/rails/application/configuration.rb +0 -151
- data/lib/rails/application/finisher.rb +0 -98
- data/lib/rails/application/railties.rb +0 -13
- data/lib/rails/application/route_inspector.rb +0 -84
- data/lib/rails/application/routes_reloader.rb +0 -56
- data/lib/rails/application.rb +0 -320
- data/lib/rails/backtrace_cleaner.rb +0 -42
- data/lib/rails/cli.rb +0 -16
- data/lib/rails/code_statistics.rb +0 -118
- data/lib/rails/commands/application.rb +0 -36
- data/lib/rails/commands/benchmarker.rb +0 -34
- data/lib/rails/commands/console.rb +0 -55
- data/lib/rails/commands/dbconsole.rb +0 -123
- data/lib/rails/commands/destroy.rb +0 -10
- data/lib/rails/commands/generate.rb +0 -12
- data/lib/rails/commands/plugin.rb +0 -544
- data/lib/rails/commands/plugin_new.rb +0 -11
- data/lib/rails/commands/profiler.rb +0 -32
- data/lib/rails/commands/runner.rb +0 -54
- data/lib/rails/commands/server.rb +0 -100
- data/lib/rails/commands/update.rb +0 -9
- data/lib/rails/commands.rb +0 -104
- data/lib/rails/configuration.rb +0 -89
- data/lib/rails/console/app.rb +0 -36
- data/lib/rails/console/helpers.rb +0 -11
- data/lib/rails/engine/commands.rb +0 -43
- data/lib/rails/engine/configuration.rb +0 -84
- data/lib/rails/engine/railties.rb +0 -33
- data/lib/rails/engine.rb +0 -657
- data/lib/rails/generators/actions.rb +0 -325
- data/lib/rails/generators/active_model.rb +0 -78
- data/lib/rails/generators/app_base.rb +0 -266
- data/lib/rails/generators/base.rb +0 -390
- data/lib/rails/generators/css/assets/assets_generator.rb +0 -13
- data/lib/rails/generators/css/assets/templates/stylesheet.css +0 -4
- data/lib/rails/generators/css/scaffold/scaffold_generator.rb +0 -16
- data/lib/rails/generators/erb/controller/controller_generator.rb +0 -20
- data/lib/rails/generators/erb/controller/templates/view.html.erb +0 -2
- data/lib/rails/generators/erb/mailer/mailer_generator.rb +0 -13
- data/lib/rails/generators/erb/mailer/templates/view.text.erb +0 -3
- data/lib/rails/generators/erb/scaffold/scaffold_generator.rb +0 -29
- data/lib/rails/generators/erb/scaffold/templates/_form.html.erb +0 -23
- data/lib/rails/generators/erb/scaffold/templates/edit.html.erb +0 -6
- data/lib/rails/generators/erb/scaffold/templates/index.html.erb +0 -27
- data/lib/rails/generators/erb/scaffold/templates/new.html.erb +0 -5
- data/lib/rails/generators/erb/scaffold/templates/show.html.erb +0 -12
- data/lib/rails/generators/erb.rb +0 -21
- data/lib/rails/generators/generated_attribute.rb +0 -107
- data/lib/rails/generators/js/assets/assets_generator.rb +0 -13
- data/lib/rails/generators/js/assets/templates/javascript.js +0 -2
- data/lib/rails/generators/migration.rb +0 -68
- data/lib/rails/generators/named_base.rb +0 -202
- data/lib/rails/generators/rails/app/USAGE +0 -15
- data/lib/rails/generators/rails/app/app_generator.rb +0 -312
- data/lib/rails/generators/rails/app/templates/Gemfile +0 -21
- data/lib/rails/generators/rails/app/templates/README +0 -261
- data/lib/rails/generators/rails/app/templates/Rakefile +0 -7
- data/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
- data/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +0 -17
- data/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +0 -13
- data/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +0 -3
- data/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +0 -2
- data/lib/rails/generators/rails/app/templates/app/mailers/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/app/models/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +0 -14
- data/lib/rails/generators/rails/app/templates/config/application.rb +0 -68
- data/lib/rails/generators/rails/app/templates/config/boot.rb +0 -6
- data/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +0 -31
- data/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +0 -86
- data/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +0 -62
- data/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +0 -33
- data/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +0 -43
- data/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +0 -20
- data/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +0 -54
- data/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +0 -39
- data/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +0 -55
- data/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +0 -25
- data/lib/rails/generators/rails/app/templates/config/environment.rb +0 -5
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +0 -41
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +0 -73
- data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +0 -39
- data/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +0 -7
- data/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +0 -15
- data/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +0 -5
- data/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +0 -7
- data/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +0 -8
- data/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +0 -16
- data/lib/rails/generators/rails/app/templates/config/locales/en.yml +0 -5
- data/lib/rails/generators/rails/app/templates/config/routes.rb +0 -58
- data/lib/rails/generators/rails/app/templates/config.ru +0 -4
- data/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +0 -7
- data/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +0 -2
- data/lib/rails/generators/rails/app/templates/gitignore +0 -15
- data/lib/rails/generators/rails/app/templates/public/404.html +0 -26
- data/lib/rails/generators/rails/app/templates/public/422.html +0 -26
- data/lib/rails/generators/rails/app/templates/public/500.html +0 -25
- data/lib/rails/generators/rails/app/templates/public/robots.txt +0 -5
- data/lib/rails/generators/rails/app/templates/public/stylesheets/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/script/openskies +0 -5
- data/lib/rails/generators/rails/app/templates/test/fixtures/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/test/functional/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/test/integration/.empty_directory +0 -0
- data/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +0 -12
- data/lib/rails/generators/rails/app/templates/test/test_helper.rb +0 -15
- data/lib/rails/generators/rails/app/templates/test/unit/.empty_directory +0 -0
- data/lib/rails/generators/rails/assets/USAGE +0 -20
- data/lib/rails/generators/rails/assets/assets_generator.rb +0 -25
- data/lib/rails/generators/rails/assets/templates/javascript.js +0 -2
- data/lib/rails/generators/rails/assets/templates/stylesheet.css +0 -4
- data/lib/rails/generators/rails/controller/USAGE +0 -18
- data/lib/rails/generators/rails/controller/controller_generator.rb +0 -20
- data/lib/rails/generators/rails/controller/templates/controller.rb +0 -13
- data/lib/rails/generators/rails/generator/USAGE +0 -12
- data/lib/rails/generators/rails/generator/generator_generator.rb +0 -25
- data/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +0 -3
- data/lib/rails/generators/rails/generator/templates/USAGE.tt +0 -8
- data/lib/rails/generators/rails/generator/templates/templates/.empty_directory +0 -0
- data/lib/rails/generators/rails/helper/USAGE +0 -17
- data/lib/rails/generators/rails/helper/helper_generator.rb +0 -13
- data/lib/rails/generators/rails/helper/templates/helper.rb +0 -4
- data/lib/rails/generators/rails/integration_test/USAGE +0 -10
- data/lib/rails/generators/rails/integration_test/integration_test_generator.rb +0 -7
- data/lib/rails/generators/rails/migration/USAGE +0 -29
- data/lib/rails/generators/rails/migration/migration_generator.rb +0 -8
- data/lib/rails/generators/rails/model/USAGE +0 -45
- data/lib/rails/generators/rails/model/model_generator.rb +0 -8
- data/lib/rails/generators/rails/observer/USAGE +0 -12
- data/lib/rails/generators/rails/observer/observer_generator.rb +0 -7
- data/lib/rails/generators/rails/performance_test/USAGE +0 -10
- data/lib/rails/generators/rails/performance_test/performance_test_generator.rb +0 -7
- data/lib/rails/generators/rails/plugin_new/USAGE +0 -10
- data/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +0 -318
- data/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +0 -29
- data/lib/rails/generators/rails/plugin_new/templates/Gemfile +0 -23
- data/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +0 -20
- data/lib/rails/generators/rails/plugin_new/templates/README.rdoc +0 -3
- data/lib/rails/generators/rails/plugin_new/templates/Rakefile +0 -31
- data/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +0 -4
- data/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +0 -4
- data/lib/rails/generators/rails/plugin_new/templates/app/mailers/.empty_directory +0 -0
- data/lib/rails/generators/rails/plugin_new/templates/app/models/.empty_directory +0 -0
- data/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +0 -14
- data/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +0 -6
- data/lib/rails/generators/rails/plugin_new/templates/gitignore +0 -7
- data/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +0 -7
- data/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +0 -3
- data/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +0 -6
- data/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +0 -4
- data/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +0 -18
- data/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +0 -10
- data/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +0 -4
- data/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +0 -7
- data/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +0 -7
- data/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +0 -12
- data/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +0 -15
- data/lib/rails/generators/rails/resource/USAGE +0 -23
- data/lib/rails/generators/rails/resource/resource_generator.rb +0 -20
- data/lib/rails/generators/rails/resource_route/resource_route_generator.rb +0 -50
- data/lib/rails/generators/rails/scaffold/USAGE +0 -35
- data/lib/rails/generators/rails/scaffold/scaffold_generator.rb +0 -23
- data/lib/rails/generators/rails/scaffold/templates/scaffold.css +0 -56
- data/lib/rails/generators/rails/scaffold_controller/USAGE +0 -19
- data/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +0 -25
- data/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +0 -89
- data/lib/rails/generators/rails/session_migration/USAGE +0 -8
- data/lib/rails/generators/rails/session_migration/session_migration_generator.rb +0 -8
- data/lib/rails/generators/rails/task/USAGE +0 -9
- data/lib/rails/generators/rails/task/task_generator.rb +0 -12
- data/lib/rails/generators/rails/task/templates/task.rb +0 -8
- data/lib/rails/generators/resource_helpers.rb +0 -80
- data/lib/rails/generators/test_case.rb +0 -247
- data/lib/rails/generators/test_unit/controller/controller_generator.rb +0 -15
- data/lib/rails/generators/test_unit/controller/templates/functional_test.rb +0 -19
- data/lib/rails/generators/test_unit/helper/helper_generator.rb +0 -13
- data/lib/rails/generators/test_unit/helper/templates/helper_test.rb +0 -6
- data/lib/rails/generators/test_unit/integration/integration_generator.rb +0 -13
- data/lib/rails/generators/test_unit/integration/templates/integration_test.rb +0 -7
- data/lib/rails/generators/test_unit/mailer/mailer_generator.rb +0 -14
- data/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +0 -21
- data/lib/rails/generators/test_unit/model/model_generator.rb +0 -24
- data/lib/rails/generators/test_unit/model/templates/fixtures.yml +0 -23
- data/lib/rails/generators/test_unit/model/templates/unit_test.rb +0 -9
- data/lib/rails/generators/test_unit/observer/observer_generator.rb +0 -13
- data/lib/rails/generators/test_unit/observer/templates/unit_test.rb +0 -9
- data/lib/rails/generators/test_unit/performance/performance_generator.rb +0 -13
- data/lib/rails/generators/test_unit/performance/templates/performance_test.rb +0 -12
- data/lib/rails/generators/test_unit/plugin/plugin_generator.rb +0 -13
- data/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +0 -7
- data/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +0 -3
- data/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +0 -38
- data/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +0 -51
- data/lib/rails/generators/test_unit.rb +0 -8
- data/lib/rails/generators.rb +0 -339
- data/lib/rails/info.rb +0 -116
- data/lib/rails/info_controller.rb +0 -15
- data/lib/rails/initializable.rb +0 -89
- data/lib/rails/paths.rb +0 -211
- data/lib/rails/performance_test_help.rb +0 -3
- data/lib/rails/plugin.rb +0 -92
- data/lib/rails/rack/debugger.rb +0 -24
- data/lib/rails/rack/log_tailer.rb +0 -34
- data/lib/rails/rack/logger.rb +0 -60
- data/lib/rails/rack.rb +0 -7
- data/lib/rails/railtie/configurable.rb +0 -35
- data/lib/rails/railtie/configuration.rb +0 -90
- data/lib/rails/railtie.rb +0 -202
- data/lib/rails/ruby_version_check.rb +0 -23
- data/lib/rails/rubyprof_ext.rb +0 -35
- data/lib/rails/script_rails_loader.rb +0 -29
- data/lib/rails/source_annotation_extractor.rb +0 -104
- data/lib/rails/tasks/annotations.rake +0 -20
- data/lib/rails/tasks/documentation.rake +0 -155
- data/lib/rails/tasks/engine.rake +0 -72
- data/lib/rails/tasks/framework.rake +0 -76
- data/lib/rails/tasks/log.rake +0 -9
- data/lib/rails/tasks/middleware.rake +0 -7
- data/lib/rails/tasks/misc.rake +0 -67
- data/lib/rails/tasks/routes.rake +0 -9
- data/lib/rails/tasks/statistics.rake +0 -16
- data/lib/rails/tasks/tmp.rake +0 -37
- data/lib/rails/tasks.rb +0 -16
- data/lib/rails/test_help.rb +0 -56
- data/lib/rails/test_unit/railtie.rb +0 -15
- data/lib/rails/test_unit/sub_test_task.rb +0 -8
- data/lib/rails/test_unit/testing.rake +0 -146
- data/lib/rails.rb +0 -121
- data/lib/version.rb +0 -16
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,59 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
// Created by Peter Atoria @ http://iAtoria.com
|
25
|
-
|
26
|
-
var inits = 'class interface function package';
|
27
|
-
|
28
|
-
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
|
29
|
-
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
|
30
|
-
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
|
31
|
-
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
|
32
|
-
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
|
33
|
-
'return set static String super switch this throw true try typeof uint undefined unescape ' +
|
34
|
-
'use void while with'
|
35
|
-
;
|
36
|
-
|
37
|
-
this.regexList = [
|
38
|
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
39
|
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
40
|
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
41
|
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
42
|
-
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
43
|
-
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
|
44
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
45
|
-
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
|
46
|
-
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
|
47
|
-
];
|
48
|
-
|
49
|
-
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
50
|
-
};
|
51
|
-
|
52
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53
|
-
Brush.aliases = ['actionscript3', 'as3'];
|
54
|
-
|
55
|
-
SyntaxHighlighter.brushes.AS3 = Brush;
|
56
|
-
|
57
|
-
// CommonJS
|
58
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59
|
-
})();
|
@@ -1,75 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
// AppleScript brush by David Chambers
|
25
|
-
// http://davidchambersdesign.com/
|
26
|
-
var keywords = 'after before beginning continue copy each end every from return get global in local named of set some that the then times to where whose with without';
|
27
|
-
var ordinals = 'first second third fourth fifth sixth seventh eighth ninth tenth last front back middle';
|
28
|
-
var specials = 'activate add alias AppleScript ask attachment boolean class constant delete duplicate empty exists false id integer list make message modal modified new no paragraph pi properties quit real record remove rest result reveal reverse run running save string true word yes';
|
29
|
-
|
30
|
-
this.regexList = [
|
31
|
-
|
32
|
-
{ regex: /(--|#).*$/gm,
|
33
|
-
css: 'comments' },
|
34
|
-
|
35
|
-
{ regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments
|
36
|
-
css: 'comments' },
|
37
|
-
|
38
|
-
{ regex: /"[\s\S]*?"/gm,
|
39
|
-
css: 'string' },
|
40
|
-
|
41
|
-
{ regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g,
|
42
|
-
css: 'color1' },
|
43
|
-
|
44
|
-
{ regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers
|
45
|
-
css: 'color1' },
|
46
|
-
|
47
|
-
{ regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g,
|
48
|
-
css: 'color2' },
|
49
|
-
|
50
|
-
{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(n't| not) equal|(is(n't| not)? )?(greater|less) than( or equal( to)?)?|(comes|does(n't| not) come) (after|before)|is(n't| not)?( in)? (back|front) of|is(n't| not)? behind|is(n't| not)?( (in|contained by))?|does(n't| not) contain|contain(s)?|(start|begin|end)(s)? with|((but|end) )?(consider|ignor)ing|prop(erty)?|(a )?ref(erence)?( to)?|repeat (until|while|with)|((end|exit) )?repeat|((else|end) )?if|else|(end )?(script|tell|try)|(on )?error|(put )?into|(of )?(it|me)|its|my|with (timeout( of)?|transaction)|end (timeout|transaction))\b/g,
|
51
|
-
css: 'keyword' },
|
52
|
-
|
53
|
-
{ regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals
|
54
|
-
css: 'keyword' },
|
55
|
-
|
56
|
-
{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(instead|out) of|into|on(to)?|over|since|thr(ough|u)|under)\b/g,
|
57
|
-
css: 'color3' },
|
58
|
-
|
59
|
-
{ regex: /\b(?:adding folder items to|after receiving|choose( ((remote )?application|color|folder|from list|URL))?|clipboard info|set the clipboard to|(the )?clipboard|entire contents|display(ing| (alert|dialog|mode))?|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|quoted form|return(ed)?|second(?! item)(s)?|list (disks|folder)|text item(s| delimiters)?|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|case|diacriticals|hyphens|numeric strings|punctuation|white space|folder creation|application(s( folder)?| (processes|scripts position|support))?|((desktop )?(pictures )?|(documents|downloads|favorites|home|keychain|library|movies|music|public|scripts|sites|system|users|utilities|workflows) )folder|desktop|Folder Action scripts|font(s| panel)?|help|internet plugins|modem scripts|(system )?preferences|printer descriptions|scripting (additions|components)|shared (documents|libraries)|startup (disk|items)|temporary items|trash|on server|in AppleTalk zone|((as|long|short) )?user name|user (ID|locale)|(with )?password|in (bundle( with identifier)?|directory)|(close|open for) access|read|write( permission)?|(g|s)et eof|using( delimiters)?|starting at|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor)|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|(do( shell)?|load|run|store) script|administrator privileges|altering line endings|get volume settings|(alert|boot|input|mount|output|set) volume|output muted|(fax|random )?number|round(ing)?|up|down|toward zero|to nearest|as taught in school|system (attribute|info)|((AppleScript( Studio)?|system) )?version|(home )?directory|(IPv4|primary Ethernet) address|CPU (type|speed)|physical memory|time (stamp|to GMT)|replacing|ASCII (character|number)|localized string|from table|offset|summarize|beep|delay|say|(empty|multiple) selections allowed|(of|preferred) type|invisibles|showing( package contents)?|editable URL|(File|FTP|News|Media|Web) [Ss]ervers|Telnet hosts|Directory services|Remote applications|waiting until completion|saving( (in|to))?|path (for|to( (((current|frontmost) )?application|resource))?)|POSIX (file|path)|(background|RGB) color|(OK|cancel) button name|cancel button|button(s)?|cubic ((centi)?met(re|er)s|yards|feet|inches)|square ((kilo)?met(re|er)s|miles|yards|feet)|(centi|kilo)?met(re|er)s|miles|yards|feet|inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees (Celsius|Fahrenheit|Kelvin)|print( (dialog|settings))?|clos(e(able)?|ing)|(de)?miniaturized|miniaturizable|zoom(ed|able)|attribute run|action (method|property|title)|phone|email|((start|end)ing|home) page|((birth|creation|current|custom|modification) )?date|((((phonetic )?(first|last|middle))|computer|host|maiden|related) |nick)?name|aim|icq|jabber|msn|yahoo|address(es)?|save addressbook|should enable action|city|country( code)?|formatte(r|d address)|(palette )?label|state|street|zip|AIM [Hh]andle(s)?|my card|select(ion| all)?|unsaved|(alpha )?value|entr(y|ies)|group|(ICQ|Jabber|MSN) handle|person|people|company|department|icon image|job title|note|organization|suffix|vcard|url|copies|collating|pages (across|down)|request print time|target( printer)?|((GUI Scripting|Script menu) )?enabled|show Computer scripts|(de)?activated|awake from nib|became (key|main)|call method|of (class|object)|center|clicked toolbar item|closed|for document|exposed|(can )?hide|idle|keyboard (down|up)|event( (number|type))?|launch(ed)?|load (image|movie|nib|sound)|owner|log|mouse (down|dragged|entered|exited|moved|up)|move|column|localization|resource|script|register|drag (info|types)|resigned (active|key|main)|resiz(e(d)?|able)|right mouse (down|dragged|up)|scroll wheel|(at )?index|should (close|open( untitled)?|quit( after last window closed)?|zoom)|((proposed|screen) )?bounds|show(n)?|behind|in front of|size (mode|to fit)|update(d| toolbar item)?|was (hidden|miniaturized)|will (become active|close|finish launching|hide|miniaturize|move|open|quit|(resign )?active|((maximum|minimum|proposed) )?size|show|zoom)|bundle|data source|movie|pasteboard|sound|tool(bar| tip)|(color|open|save) panel|coordinate system|frontmost|main( (bundle|menu|window))?|((services|(excluded from )?windows) )?menu|((executable|frameworks|resource|scripts|shared (frameworks|support)) )?path|(selected item )?identifier|data|content(s| view)?|character(s)?|click count|(command|control|option|shift) key down|context|delta (x|y|z)|key( code)?|location|pressure|unmodified characters|types|(first )?responder|playing|(allowed|selectable) identifiers|allows customization|(auto saves )?configuration|visible|image( name)?|menu form representation|tag|user(-| )defaults|associated file name|(auto|needs) display|current field editor|floating|has (resize indicator|shadow)|hides when deactivated|level|minimized (image|title)|opaque|position|release when closed|sheet|title(d)?)\b/g,
|
60
|
-
css: 'color3' },
|
61
|
-
|
62
|
-
{ regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
|
63
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
64
|
-
{ regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
|
65
|
-
];
|
66
|
-
};
|
67
|
-
|
68
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
69
|
-
Brush.aliases = ['applescript'];
|
70
|
-
|
71
|
-
SyntaxHighlighter.brushes.AppleScript = Brush;
|
72
|
-
|
73
|
-
// CommonJS
|
74
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
75
|
-
})();
|
@@ -1,59 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne ge le';
|
25
|
-
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
|
26
|
-
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
|
27
|
-
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
|
28
|
-
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
|
29
|
-
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
|
30
|
-
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
|
31
|
-
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
|
32
|
-
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
|
33
|
-
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
|
34
|
-
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
|
35
|
-
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
|
36
|
-
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
|
37
|
-
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
|
38
|
-
'vi watch wc whereis which who whoami Wget xargs yes'
|
39
|
-
;
|
40
|
-
|
41
|
-
this.regexList = [
|
42
|
-
{ regex: /^#!.*$/gm, css: 'preprocessor bold' },
|
43
|
-
{ regex: /\/[\w-\/]+/gm, css: 'plain' },
|
44
|
-
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
45
|
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
46
|
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
47
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
48
|
-
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
|
49
|
-
];
|
50
|
-
}
|
51
|
-
|
52
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53
|
-
Brush.aliases = ['bash', 'shell'];
|
54
|
-
|
55
|
-
SyntaxHighlighter.brushes.Bash = Brush;
|
56
|
-
|
57
|
-
// CommonJS
|
58
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59
|
-
})();
|
@@ -1,65 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
|
25
|
-
'continue decimal default delegate do double else enum event explicit ' +
|
26
|
-
'extern false finally fixed float for foreach get goto if implicit in int ' +
|
27
|
-
'interface internal is lock long namespace new null object operator out ' +
|
28
|
-
'override params private protected public readonly ref return sbyte sealed set ' +
|
29
|
-
'short sizeof stackalloc static string struct switch this throw true try ' +
|
30
|
-
'typeof uint ulong unchecked unsafe ushort using virtual void while';
|
31
|
-
|
32
|
-
function fixComments(match, regexInfo)
|
33
|
-
{
|
34
|
-
var css = (match[0].indexOf("///") == 0)
|
35
|
-
? 'color1'
|
36
|
-
: 'comments'
|
37
|
-
;
|
38
|
-
|
39
|
-
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
|
40
|
-
}
|
41
|
-
|
42
|
-
this.regexList = [
|
43
|
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
|
44
|
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
45
|
-
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
|
46
|
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
47
|
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
48
|
-
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
49
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
|
50
|
-
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
|
51
|
-
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
|
52
|
-
];
|
53
|
-
|
54
|
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55
|
-
};
|
56
|
-
|
57
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
58
|
-
Brush.aliases = ['c#', 'c-sharp', 'csharp'];
|
59
|
-
|
60
|
-
SyntaxHighlighter.brushes.CSharp = Brush;
|
61
|
-
|
62
|
-
// CommonJS
|
63
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
64
|
-
})();
|
65
|
-
|
@@ -1,100 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
// Contributed by Jen
|
25
|
-
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
|
26
|
-
|
27
|
-
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
|
28
|
-
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
|
29
|
-
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
|
30
|
-
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
|
31
|
-
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
|
32
|
-
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
|
33
|
-
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
|
34
|
-
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
|
35
|
-
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
|
36
|
-
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
|
37
|
-
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
|
38
|
-
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
|
39
|
-
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
|
40
|
-
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
|
41
|
-
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
|
42
|
-
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
|
43
|
-
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
|
44
|
-
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
|
45
|
-
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
|
46
|
-
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
|
47
|
-
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
|
48
|
-
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
|
49
|
-
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
|
50
|
-
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
|
51
|
-
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
|
52
|
-
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
|
53
|
-
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
|
54
|
-
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
|
55
|
-
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
|
56
|
-
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
|
57
|
-
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
|
58
|
-
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
|
59
|
-
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
|
60
|
-
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
|
61
|
-
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
|
62
|
-
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
|
63
|
-
'XmlValidate Year YesNoFormat';
|
64
|
-
|
65
|
-
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
|
66
|
-
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
|
67
|
-
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
|
68
|
-
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
|
69
|
-
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
|
70
|
-
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
|
71
|
-
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
|
72
|
-
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
|
73
|
-
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
|
74
|
-
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
|
75
|
-
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
|
76
|
-
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
|
77
|
-
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
|
78
|
-
'cfwindow cfxml cfzip cfzipparam';
|
79
|
-
|
80
|
-
var operators = 'all and any between cross in join like not null or outer some';
|
81
|
-
|
82
|
-
this.regexList = [
|
83
|
-
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
|
84
|
-
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
|
85
|
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
86
|
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
87
|
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
|
88
|
-
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
89
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
90
|
-
];
|
91
|
-
}
|
92
|
-
|
93
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
94
|
-
Brush.aliases = ['coldfusion','cf'];
|
95
|
-
|
96
|
-
SyntaxHighlighter.brushes.ColdFusion = Brush;
|
97
|
-
|
98
|
-
// CommonJS
|
99
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
100
|
-
})();
|
@@ -1,97 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* SyntaxHighlighter
|
3
|
-
* http://alexgorbatchev.com/SyntaxHighlighter
|
4
|
-
*
|
5
|
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6
|
-
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7
|
-
*
|
8
|
-
* @version
|
9
|
-
* 3.0.83 (July 02 2010)
|
10
|
-
*
|
11
|
-
* @copyright
|
12
|
-
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13
|
-
*
|
14
|
-
* @license
|
15
|
-
* Dual licensed under the MIT and GPL licenses.
|
16
|
-
*/
|
17
|
-
;(function()
|
18
|
-
{
|
19
|
-
// CommonJS
|
20
|
-
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21
|
-
|
22
|
-
function Brush()
|
23
|
-
{
|
24
|
-
// Copyright 2006 Shin, YoungJin
|
25
|
-
|
26
|
-
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
|
27
|
-
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
|
28
|
-
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
|
29
|
-
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
|
30
|
-
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
|
31
|
-
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
|
32
|
-
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
|
33
|
-
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
|
34
|
-
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
|
35
|
-
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
|
36
|
-
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
|
37
|
-
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
|
38
|
-
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
|
39
|
-
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
|
40
|
-
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
|
41
|
-
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
|
42
|
-
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
|
43
|
-
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
|
44
|
-
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
|
45
|
-
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
|
46
|
-
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
|
47
|
-
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
|
48
|
-
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
|
49
|
-
'va_list wchar_t wctrans_t wctype_t wint_t signed';
|
50
|
-
|
51
|
-
var keywords = 'break case catch class const __finally __exception __try ' +
|
52
|
-
'const_cast continue private public protected __declspec ' +
|
53
|
-
'default delete deprecated dllexport dllimport do dynamic_cast ' +
|
54
|
-
'else enum explicit extern if for friend goto inline ' +
|
55
|
-
'mutable naked namespace new noinline noreturn nothrow ' +
|
56
|
-
'register reinterpret_cast return selectany ' +
|
57
|
-
'sizeof static static_cast struct switch template this ' +
|
58
|
-
'thread throw true false try typedef typeid typename union ' +
|
59
|
-
'using uuid virtual void volatile whcar_t while';
|
60
|
-
|
61
|
-
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
|
62
|
-
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
|
63
|
-
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
|
64
|
-
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
|
65
|
-
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
|
66
|
-
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
|
67
|
-
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
|
68
|
-
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
|
69
|
-
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
|
70
|
-
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
|
71
|
-
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
|
72
|
-
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
|
73
|
-
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
|
74
|
-
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
|
75
|
-
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
|
76
|
-
'clock ctime difftime gmtime localtime mktime strftime time';
|
77
|
-
|
78
|
-
this.regexList = [
|
79
|
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
80
|
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
81
|
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
82
|
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
83
|
-
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
84
|
-
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
|
85
|
-
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
|
86
|
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
|
87
|
-
];
|
88
|
-
};
|
89
|
-
|
90
|
-
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
91
|
-
Brush.aliases = ['cpp', 'c'];
|
92
|
-
|
93
|
-
SyntaxHighlighter.brushes.Cpp = Brush;
|
94
|
-
|
95
|
-
// CommonJS
|
96
|
-
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
97
|
-
})();
|