erp_app 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -0
- data/app/controllers/erp_app/application_controller.rb +1 -0
- data/app/controllers/erp_app/desktop/base_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +180 -0
- data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +55 -0
- data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +129 -0
- data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/control_panel/desktop_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/control_panel/profile_management_controller.rb +14 -16
- data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -7
- data/app/controllers/erp_app/desktop/system_management/application_role_management_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +9 -9
- data/app/controllers/erp_app/desktop/user_management/base_controller.rb +1 -1
- data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +13 -8
- data/app/controllers/erp_app/mobile/base_controller.rb +21 -0
- data/app/controllers/erp_app/mobile/login_controller.rb +11 -0
- data/app/controllers/erp_app/mobile/user_management/base_controller.rb +24 -0
- data/app/controllers/erp_app/organizer/base_controller.rb +6 -5
- data/app/controllers/erp_app/organizer/crm/base_controller.rb +117 -15
- data/app/controllers/erp_app/public_controller.rb +73 -6
- data/app/controllers/erp_app/shared/configuration_controller.rb +53 -0
- data/app/controllers/erp_app/widget_proxy_controller.rb +1 -1
- data/app/models/app_container.rb +8 -2
- data/app/models/application.rb +1 -1
- data/app/models/configuration.rb +129 -0
- data/app/models/configuration_item.rb +45 -0
- data/app/models/configuration_item_type.rb +96 -0
- data/app/models/configuration_item_type_configuration_option.rb +10 -0
- data/app/models/configuration_option.rb +20 -0
- data/app/models/desktop.rb +7 -10
- data/app/models/extensions/user.rb +41 -2
- data/app/models/mobile.rb +10 -0
- data/app/models/mobile_application.rb +6 -0
- data/app/models/organizer.rb +3 -6
- data/app/models/preference.rb +2 -2
- data/app/models/preference_type.rb +1 -1
- data/app/models/user_preference.rb +3 -3
- data/app/models/valid_configuration.rb +4 -0
- data/app/models/valid_preference_type.rb +2 -2
- data/app/observers/user_app_container_observer.rb +7 -2
- data/app/views/erp_app/desktop/base/index.erb +25 -32
- data/app/views/erp_app/login/index.erb +3 -3
- data/app/views/erp_app/mobile/base/index.erb +37 -0
- data/app/views/erp_app/mobile/login/index.erb +22 -0
- data/app/views/erp_app/mobile/user_management/base/index.html.erb +28 -0
- data/app/views/erp_app/organizer/base/get_party_details.erb +19 -0
- data/app/views/erp_app/organizer/base/index.erb +20 -23
- data/app/views/erp_app/widget_proxy/index.erb +1 -1
- data/config/routes.rb +22 -0
- data/db/data_migrations/20110728201729_erp_app_setup.rb +3 -1
- data/db/data_migrations/20120229160222_add_userinfo_widget.rb +30 -0
- data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +10 -0
- data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +18 -0
- data/db/data_migrations/20120413000515_create_mobile_containers.rb +13 -0
- data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +22 -0
- data/db/data_migrations/upgrade/20120213182651_add_true_north_background.rb +16 -0
- data/db/migrate/20080805000096_base_app_framework.rb +125 -33
- data/db/migrate/20120316152543_add_is_template_to_configurations.rb +5 -0
- data/db/migrate/20120320182253_update_app_container.rb +20 -0
- data/db/migrate/20120325123722_remove_file_system_loader_column.rb +9 -0
- data/db/migrate/20120411151848_add_base_url_to_application.rb +5 -0
- data/db/migrate/20120427000446_add_user_defined_to_config_option.rb +17 -0
- data/db/migrate/20120429130430_update_configuration_join_tables.rb +16 -0
- data/db/migrate/upgrade/20120208201934_add_configuration_models.rb +109 -0
- data/db/migrate/upgrade/20120209194251_add_user_defined_to_config_type.rb +5 -0
- data/db/migrate/upgrade/20120210172929_add_config_types_to_configs.rb +23 -0
- data/lib/erp_app/application_resource_loader/base_loader.rb +17 -0
- data/lib/erp_app/application_resource_loader/{file_system_loader.rb → desktop_organizer_loader.rb} +15 -29
- data/lib/erp_app/application_resource_loader/mobile_loader.rb +46 -0
- data/lib/erp_app/application_resource_loader/shared_loader.rb +26 -0
- data/lib/erp_app/application_resource_loader.rb +4 -0
- data/lib/erp_app/config.rb +2 -2
- data/lib/erp_app/engine.rb +7 -4
- data/lib/erp_app/extensions/railties/action_view/base.rb +12 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +17 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +45 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +134 -0
- data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +27 -0
- data/lib/erp_app/extensions.rb +1 -2
- data/lib/erp_app/version.rb +8 -1
- data/lib/erp_app/widgets/base.rb +50 -43
- data/lib/erp_app/widgets/javascript_loader.rb +13 -20
- data/lib/erp_app/widgets/loader.rb +126 -0
- data/lib/erp_app/widgets/railties/action_view/base.rb +8 -0
- data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +57 -0
- data/lib/erp_app/widgets.rb +2 -2
- data/lib/erp_app.rb +3 -1
- data/lib/generators/cms_widget/templates/engine/engine_template.rb +0 -4
- data/lib/generators/cms_widget/templates/javascript/base.js.erb +2 -1
- data/lib/generators/desktop_application/USAGE +1 -1
- data/lib/generators/desktop_application/templates/controllers/controller_template.rb +7 -5
- data/lib/generators/desktop_application/templates/migrate/migration_template.rb +0 -4
- data/lib/generators/mobile_application/USAGE +24 -0
- data/lib/generators/mobile_application/mobile_application_generator.rb +27 -0
- data/lib/generators/mobile_application/templates/INSTALL +25 -0
- data/lib/generators/mobile_application/templates/controllers/controller_template.rb +11 -0
- data/lib/generators/mobile_application/templates/migrate/migration_template.rb +14 -0
- data/lib/generators/mobile_application/templates/public/app.js.erb +35 -0
- data/lib/generators/mobile_application/templates/views/index.html.erb +28 -0
- data/lib/generators/organizer_application/templates/controllers/controller_template.rb +9 -11
- data/public/images/icons/apartment/apartment_16x16.png +0 -0
- data/public/images/icons/apartment/apartment_24x24.png +0 -0
- data/public/images/icons/apartment/apartment_32x32.png +0 -0
- data/public/images/icons/apartment/apartment_48x48.png +0 -0
- data/public/images/wallpaper/truenorth.png +0 -0
- data/public/javascripts/erp_app/authentication/widget_manager.js +23 -2
- data/public/javascripts/erp_app/ckeditor/ckeditor.js +113 -111
- data/public/javascripts/erp_app/ckeditor/contents.css +2 -2
- data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +59 -59
- data/public/javascripts/erp_app/ckeditor/lang/af.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ar.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bg.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/bs.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/cs.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/cy.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/da.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/de.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/el.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-au.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/en.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/eo.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/es.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/et.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/eu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fa.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fo.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/fr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/gl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/gu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/he.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/hu.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/is.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/it.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ja.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ka.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/km.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ko.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/lt.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/lv.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/mn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ms.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/nb.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/nl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/no.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/pt.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ro.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/ru.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sk.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sl.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/sv.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/th.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/tr.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/uk.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/vi.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +1 -1
- data/public/javascripts/erp_app/ckeditor/lang/zh.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +2 -2
- data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +5 -5
- data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +85 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +96 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +24 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +1296 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +169 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +60 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +61 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +329 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +196 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +24 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +75 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +380 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +64 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +66 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +285 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +222 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +68 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +254 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +63 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +77 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +364 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +209 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +37 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +114 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +310 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +419 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +116 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +1208 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +67 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +233 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +58 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +141 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +541 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +214 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +214 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +114 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +91 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +284 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +847 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +118 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +23 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +45 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +82 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +428 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +241 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +22 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +59 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +56 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +267 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +13 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +93 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +99 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +96 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +552 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +234 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +457 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +965 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +55 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +158 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +15 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +59 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +43 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +55 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +60 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +86 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +1 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +1 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +82 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +53 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +254 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +582 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +1670 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +68 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +81 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +161 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +32 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +93 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +359 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +162 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +291 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +697 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +159 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +57 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +174 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +413 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +44 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +133 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +56 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +806 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +52 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +41 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +672 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +125 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +50 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +20 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +102 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +9 -0
- data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +27 -0
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +1 -1
- data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +4 -4
- data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +3 -3
- data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +1 -1
- data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +1 -1
- data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +2 -2
- data/public/javascripts/erp_app/ckeditor_example_config_override.js +44 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +229 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +482 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +425 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +95 -0
- data/public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js +68 -0
- data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +2 -1
- data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +48 -47
- data/public/javascripts/erp_app/desktop/applications/control_panel/profile_management_panel.js +141 -84
- data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/system_management/application_role_management_panel.js +1 -2
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +10 -6
- data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +3 -9
- data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +4 -10
- data/public/javascripts/erp_app/ecommerce/credit_card_window.js +1 -1
- data/public/javascripts/erp_app/jquery_support.js +5 -5
- data/public/javascripts/erp_app/login/mobile.js +52 -0
- data/public/javascripts/erp_app/mobile/app.js +46 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +14 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +19 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +24 -0
- data/public/javascripts/erp_app/mobile/applications/user_management/app.js +168 -0
- data/public/javascripts/erp_app/mobile/mobile_base.js +10 -0
- data/public/javascripts/erp_app/organizer/applications/crm/base.js +415 -117
- data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +8 -1
- data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +33 -36
- data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +215 -0
- data/public/javascripts/erp_app/organizer/layout.js +9 -11
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +1 -2
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +2 -3
- data/public/javascripts/erp_app/shared/compass_ckeditor.js +7 -6
- data/public/javascripts/erp_app/shared/compass_codemirror.js +161 -162
- data/public/javascripts/erp_app/shared/configuration/configuration_form.js +278 -0
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +109 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/coolclock.js +0 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/moreskins.js +0 -0
- data/public/javascripts/erp_app/{coolclock → shared/coolclock}/tray_clock.js +0 -0
- data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +29 -28
- data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +3 -3
- data/public/javascripts/erp_app/shared/file_manager_tree.js +41 -25
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.AwesomeUploader.js +1 -1
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.XHRUpload.js +1 -1
- data/public/javascripts/erp_app/shared/file_upload/upload_window.js +245 -242
- data/public/javascripts/erp_app/shared/google_map_panel.js +82 -83
- data/public/javascripts/erp_app/shared/notes_grid.js +1 -2
- data/public/javascripts/erp_app/shared/preference_form.js +3 -5
- data/public/javascripts/erp_app/tinymce/Ext.ux.TinyMCE.js +689 -0
- data/public/javascripts/erp_app/tinymce/center_region.js +611 -0
- data/public/javascripts/erp_app/utility.js +284 -246
- data/public/javascripts/erp_app/widgets.js +39 -35
- data/public/javascripts/extjs/Ext.ux.form.MultiSelect.js +422 -0
- data/public/javascripts/extjs/ext-all-debug.js +15973 -12927
- data/public/javascripts/extjs/ext-all.js +1 -1
- data/public/javascripts/extjs/overrides.js +61 -0
- data/public/javascripts/sencha_touch/sencha-touch-all-debug.js +78370 -0
- data/public/javascripts/sencha_touch/sencha-touch-all.js +15 -0
- data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +5 -0
- data/public/stylesheets/erp_app/mobile/mobile.css +336 -0
- data/public/stylesheets/erp_app/{compass-ext-all.css → shared/compass-ext-all.css} +37 -1
- data/public/stylesheets/extjs/resources/css/ext-all-access.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all-gray.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-all.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-ie-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-ie.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-sandbox.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-standard-scoped.css +1 -1
- data/public/stylesheets/extjs/resources/css/ext-standard.css +1 -1
- data/public/stylesheets/extjs/resources/sass/ext-all-access.scss +7 -0
- data/public/stylesheets/extjs/resources/sass/ext-all-gray.scss +6 -0
- data/public/stylesheets/extjs/resources/themes/images/access/boundlist/trigger-arrow.png +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/grid/refresh-disabled.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/{tab-bar-bg.gif → tab-bar-default-bg.gif} +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-above.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-append.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-below.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tab-bar/tab-bar-default-bg.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/tip/tip-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-bottom-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-left-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-right-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-corners.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-sides.gif +0 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_all.scss +3 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_mixins.scss +6 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_core.scss +17 -17
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_reset.scss +17 -7
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/layout/_layout.scss +10 -6
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_frame.scss +4 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_reset-extras.scss +144 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss +8 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_messagebox.scss +5 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_resizable.scss +6 -6
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_splitter.scss +8 -8
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_tool.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_core.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_menu.scss +1 -0
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_button.scss +38 -27
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss +7 -7
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss +1 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_grid.scss +56 -57
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss +22 -16
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_panel.scss +10 -4
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss +2 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_slider.scss +9 -11
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tab.scss +68 -43
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss +1 -1
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tree.scss +48 -31
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss +4 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss +3 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss +3 -2
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss +3 -3
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss +1 -5
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss +16 -15
- data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss +10 -10
- data/public/stylesheets/extjs/resources/themes/templates/resources/sass/config.rb +2 -4
- data/public/stylesheets/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss +1 -0
- data/public/stylesheets/sencha_touch/resources/css/android.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/apple.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/bb6.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/sencha-touch.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css/touch-charts.css +1 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/android.css +6757 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/apple.css +6766 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/bb6.css +6352 -0
- data/public/stylesheets/sencha_touch/resources/css-debug/sencha-touch.css +6755 -0
- data/public/stylesheets/sencha_touch/resources/images/icon1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/icon4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/images/welcome.png +0 -0
- data/public/stylesheets/sencha_touch/resources/sass/android.scss +37 -0
- data/public/stylesheets/sencha_touch/resources/sass/apple.scss +39 -0
- data/public/stylesheets/sencha_touch/resources/sass/bb6.scss +66 -0
- data/public/stylesheets/sencha_touch/resources/sass/config-debug.rb +11 -0
- data/public/stylesheets/sencha_touch/resources/sass/config.rb +11 -0
- data/public/stylesheets/sencha_touch/resources/sass/sencha-touch.scss +18 -0
- data/public/stylesheets/sencha_touch/resources/themes/compass_init.rb +6 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/check.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/clear_icon.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/dotgrid.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/loading.gif +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/action.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/address_book.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_left.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/at.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/atom.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/backspace.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_full.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_low.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_power.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/blank.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt_side.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmarks.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/broadcast.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bug.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bulb.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_dotted.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/clash.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_bolt.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_download.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/contract.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cube.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/data.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black_landscape.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_drawer.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_new.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_send.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download_screen.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/eject.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/event_complete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/expand.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/fforward.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/find.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flag.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flickr2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black_open.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_lock.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_open2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/font.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forbidden.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forward_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/headphones.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/hot.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/json.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lab.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/layout.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_closed.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_open.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/look.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop_circle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/magic.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/maps.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mic.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/more.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mouse.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/move.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nuclear.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/organize.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/outbox.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/pause.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/piechart.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/podcast.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power socket.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power_on.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/reply.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/replytoall.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rewind.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/screens.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/server.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/servers.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings10.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings11.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings5.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings6.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings7.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings8.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings9.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/share.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shuffle.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_backforth.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_cross.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_split.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_switch.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_uturn.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/star.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sync.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tabbed_book.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tags.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time_repeat.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tree.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tv.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tweak.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/upload2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_add.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_business.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_fave.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remote1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remove2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_send.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black1.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_down.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_mute.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_up.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warming_dotted.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warning_black.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi2.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi3.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi4.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/window.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/pullarrow.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/select_mask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_horizontal.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_right.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglebg.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglemask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumb.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbbg.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbmask.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/images/default/trackmask_outer.png +0 -0
- data/public/stylesheets/sencha_touch/resources/themes/lib/theme_images.rb +18 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_all.scss +2 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_core.scss +3 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_global.scss +2 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_mixins.scss +196 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_variables.scss +116 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_widgets.scss +16 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_core.scss +189 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_layout.scss +362 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_reset.scss +62 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_buttons.scss +354 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_carousel.scss +113 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders-basic.scss +102 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders.scss +149 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form.scss +608 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_img.scss +5 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_indexbar.scss +76 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_list.scss +401 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_loading-spinner.scss +121 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_map.scss +11 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_media.scss +21 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_msgbox.scss +94 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_panel.scss +79 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_picker.scss +154 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_sheets.scss +52 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_tabs.scss +269 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar-forms.scss +182 -0
- data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar.scss +156 -0
- data/public/stylesheets/sencha_touch/resources/themes/templates/project/manifest.rb +1 -0
- data/public/stylesheets/sencha_touch/resources/themes/templates/project/sencha-touch.scss +17 -0
- metadata +3251 -2688
- data/README.rdoc +0 -2
- data/config/initializers/erp_app.rb +0 -4
- data/lib/erp_app/extensions/active_record/acts_as_app_container.rb +0 -72
- data/lib/erp_app/extensions/railties/action_view.rb +0 -110
- data/lib/erp_app/widgets/railties/action_view.rb +0 -36
- data/lib/erp_app/widgets/railties/engine.rb +0 -55
- data/public/images/icons/add/Thumbs.db +0 -0
- data/public/images/icons/calendar/Thumbs.db +0 -0
- data/public/images/icons/copy/Thumbs.db +0 -0
- data/public/images/icons/cut/Thumbs.db +0 -0
- data/public/images/icons/delete/Thumbs.db +0 -0
- data/public/images/icons/edit/Thumbs.db +0 -0
- data/public/images/icons/folder/Thumbs.db +0 -0
- data/public/images/icons/gear/Thumbs.db +0 -0
- data/public/images/icons/globe/Thumbs.db +0 -0
- data/public/images/icons/grid/Thumbs.db +0 -0
- data/public/images/icons/help/Thumbs.db +0 -0
- data/public/images/icons/information/Thumbs.db +0 -0
- data/public/images/icons/key/Thumbs.db +0 -0
- data/public/images/icons/log_out/Thumbs.db +0 -0
- data/public/images/icons/mail/Thumbs.db +0 -0
- data/public/images/icons/new/Thumbs.db +0 -0
- data/public/images/icons/next/Thumbs.db +0 -0
- data/public/images/icons/open/Thumbs.db +0 -0
- data/public/images/icons/paste/Thumbs.db +0 -0
- data/public/images/icons/picture/Thumbs.db +0 -0
- data/public/images/icons/presentation/Thumbs.db +0 -0
- data/public/images/icons/preview/Thumbs.db +0 -0
- data/public/images/icons/previous/Thumbs.db +0 -0
- data/public/images/icons/print/Thumbs.db +0 -0
- data/public/images/icons/properties/Thumbs.db +0 -0
- data/public/images/icons/redo/Thumbs.db +0 -0
- data/public/images/icons/refresh/Thumbs.db +0 -0
- data/public/images/icons/remove/Thumbs.db +0 -0
- data/public/images/icons/rename/Thumbs.db +0 -0
- data/public/images/icons/save/Thumbs.db +0 -0
- data/public/images/icons/search/Thumbs.db +0 -0
- data/public/images/icons/send/Thumbs.db +0 -0
- data/public/images/icons/settings/Thumbs.db +0 -0
- data/public/images/icons/synchronize/Thumbs.db +0 -0
- data/public/images/icons/undo/Thumbs.db +0 -0
- data/public/images/icons/upload/Thumbs.db +0 -0
- data/public/images/icons/user/Thumbs.db +0 -0
- data/public/images/icons/zoom_in/Thumbs.db +0 -0
- data/public/images/icons/zoom_out/Thumbs.db +0 -0
- data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/Thumbs.db +0 -0
- data/public/javascripts/erp_app/shared/ajax_pagination.js +0 -33
- data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/tab-bar-bg.png +0 -0
- data/public/stylesheets/extjs/resources/themes/templates/resources/css/my-ext-theme.css +0 -59
- data/spec/dummy/db/schema.rb +0 -709
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/RAILS_ENV=spec.log +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/spec.log +0 -52150
@@ -0,0 +1,169 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>CodeMirror: Compression Helper</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="css/docs.css"/>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
+
<style type="text/css">
|
8
|
+
</style>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
|
12
|
+
<h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMirror</a></h1>
|
13
|
+
|
14
|
+
<pre class="grey">
|
15
|
+
<img src="css/baboon.png" class="logo" alt="logo"/>/* Script compression
|
16
|
+
helper */
|
17
|
+
</pre>
|
18
|
+
|
19
|
+
<p>The CodeMirror scripts, as distributed, are many, and full of
|
20
|
+
comments. To optimize page loading, it is recommended to
|
21
|
+
concatenate the scripts loaded in the CodeMirror frame, and
|
22
|
+
compress them. This page may be useful if you intend to do this:
|
23
|
+
it provides an interface to two different minifiers, <a
|
24
|
+
href="http://github.com/mishoo/UglifyJS/">UglifyJS</a> and
|
25
|
+
Google's <a href="http://closure-compiler.appspot.com/">Closure
|
26
|
+
compiler</a>, allowing you to easily feed them CodeMirror
|
27
|
+
scripts.</p>
|
28
|
+
|
29
|
+
<p>You will have to compress <code>codemirror.js</code>
|
30
|
+
separately, since that will be loaded into the top-level page from
|
31
|
+
which you use CodeMirror. Inside the frame, the
|
32
|
+
<code>parserfile</code> and <code>basefiles</code> options control
|
33
|
+
which files are loaded. If you combine the parser(s) you need with
|
34
|
+
the basefiles, you can set <code>basefiles</code> to point at your
|
35
|
+
compressed file, and leave <code>parserfiles</code> at
|
36
|
+
<code>[]</code>.</p>
|
37
|
+
|
38
|
+
<p>For example, you have a page that uses CodeMirror to edit some
|
39
|
+
JavaScript code. You could save a minimized version of
|
40
|
+
<code>codemirror.js</code> as <code>codemirror_min.js</code>, and
|
41
|
+
include that (with a <code><script></code> tag) in your page.
|
42
|
+
Next, you compress all the files under "In-frame base code", plus
|
43
|
+
<code>tokenizejavascript.js</code> and
|
44
|
+
<code>parsejavascript.js</code> into
|
45
|
+
<code>codemirror_base.js</code>, and load the editor like
|
46
|
+
this:</p>
|
47
|
+
|
48
|
+
<pre class="code">CodeMirror.fromTextArea("mytextarea", {
|
49
|
+
basefiles: ["js/codemirror_base.js"],
|
50
|
+
lineNumbers: true
|
51
|
+
});</pre>
|
52
|
+
|
53
|
+
<p>Clicking the "Compress with UglifyJS" button will download the
|
54
|
+
compressed file. If you use Closure, that doesn't support direct
|
55
|
+
downloads, so the button will take you to a file containing the
|
56
|
+
compressed code. Copy-paste this into your script file. ("Save as"
|
57
|
+
for that page is broken on some browsers, so be careful).</p>
|
58
|
+
|
59
|
+
<form id="form" action="http://marijnhaverbeke.nl/uglifyjs" method="post">
|
60
|
+
<input type="hidden" id="download" name="download" value=""/>
|
61
|
+
<p>Version: <select id="version" onchange="setVersion(this);" class="field" style="padding: 1px">
|
62
|
+
<option value="http://codemirror.net/" selected>Development head</option>
|
63
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.93;f=">v0.93</option>
|
64
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.92;f=">v0.92</option>
|
65
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.91;f=">v0.91</option>
|
66
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.9;f=">v0.9</option>
|
67
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.8;f=">v0.8</option>
|
68
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.7;f=">v0.7</option>
|
69
|
+
<option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v0.67;f=">v0.67</option>
|
70
|
+
</select></p>
|
71
|
+
|
72
|
+
<p><input type="hidden" value="compiled_code" name="output_info" id="output"/>
|
73
|
+
|
74
|
+
<select multiple="multiple" name="code_url" style="width: 40em;" class="field" id="files">
|
75
|
+
<optgroup label="CodeMirror Library">
|
76
|
+
<option value="http://codemirror.net/js/codemirror.js">codemirror.js</option>
|
77
|
+
</optgroup>
|
78
|
+
<optgroup label="In-frame base files">
|
79
|
+
<option value="http://codemirror.net/js/util.js">util.js</option>
|
80
|
+
<option value="http://codemirror.net/js/stringstream.js">stringstream.js</option>
|
81
|
+
<option value="http://codemirror.net/js/select.js">select.js</option>
|
82
|
+
<option value="http://codemirror.net/js/undo.js">undo.js</option>
|
83
|
+
<option value="http://codemirror.net/js/editor.js">editor.js</option>
|
84
|
+
<option value="http://codemirror.net/js/tokenize.js">tokenize.js</option>
|
85
|
+
</optgroup>
|
86
|
+
<optgroup label="Parsers">
|
87
|
+
<option value="http://codemirror.net/js/tokenizejavascript.js">tokenizejavascript.js</option>
|
88
|
+
<option value="http://codemirror.net/js/parsejavascript.js">parsejavascript.js</option>
|
89
|
+
<option value="http://codemirror.net/js/parsexml.js">parsexml.js</option>
|
90
|
+
<option value="http://codemirror.net/js/parsecss.js">parsecss.js</option>
|
91
|
+
<option value="http://codemirror.net/js/parsesparql.js">parsesparql.js</option>
|
92
|
+
<option value="http://codemirror.net/js/parsehtmlmixed.js">parsehtmlmixed.js</option>
|
93
|
+
<option value="http://codemirror.net/js/parsedummy.js">parsedummy.js</option>
|
94
|
+
</optgroup>
|
95
|
+
<optgroup label="Contributed parsers">
|
96
|
+
<option value="http://codemirror.net/contrib/lua/js/parselua.js">parselua.js</option>
|
97
|
+
<option value="http://codemirror.net/contrib/python/js/parsepython.js">parsepython.js</option>
|
98
|
+
<option value="http://codemirror.net/contrib/php/js/tokenizephp.js">tokenizephp.js</option>
|
99
|
+
<option value="http://codemirror.net/contrib/php/js/parsephp.js">parsephp.js</option>
|
100
|
+
<option value="http://codemirror.net/contrib/php/js/parsephphtmlmixed.js">parsephphtmlmixed.js</option>
|
101
|
+
<option value="http://codemirror.net/contrib/csharp/js/tokenizecsharp.js">tokenizecsharp.js</option>
|
102
|
+
<option value="http://codemirror.net/contrib/csharp/js/parsecsharp.js">parsecsharp.js</option>
|
103
|
+
<option value="http://codemirror.net/contrib/sql/js/parsesql.js">parsesql.js</option>
|
104
|
+
<option value="http://codemirror.net/contrib/plsql/js/parseplsql.js">parseplsql.js</option>
|
105
|
+
<option value="http://codemirror.net/contrib/scheme/js/tokenizescheme.js">tokenizescheme.js</option>
|
106
|
+
<option value="http://codemirror.net/contrib/scheme/js/parsescheme.js">parsescheme.js</option>
|
107
|
+
<option value="http://codemirror.net/contrib/ometa/js/tokenizeometa.js">tokenizeometa.js</option>
|
108
|
+
<option value="http://codemirror.net/contrib/ometa/js/parseometa.js">parseometa.js</option>
|
109
|
+
<option value="http://codemirror.net/contrib/xquery/js/tokenizexquery.js">tokenizexquery.js</option>
|
110
|
+
<option value="http://codemirror.net/contrib/xquery/js/parsexquery.js">parsexquery.js</option>
|
111
|
+
<option value="http://svn.exoplatform.org/projects/gwt/trunk/exo-gwtframework-editor/src/main/resources/org/exoplatform/gwtframework/editor/public/codemirror/js/tokenizegroovy.js">tokenizegroovy.js</option>
|
112
|
+
<option value="http://svn.exoplatform.org/projects/gwt/trunk/exo-gwtframework-editor/src/main/resources/org/exoplatform/gwtframework/editor/public/codemirror/js/parsegroovy.js">parsegroovy.js</option>
|
113
|
+
</optgroup>
|
114
|
+
</select></p>
|
115
|
+
|
116
|
+
<p>
|
117
|
+
<button type="submit" onclick="uglify();">Compress</button> with <a href="http://github.com/mishoo/UglifyJS/">UglifyJS</a><br/>
|
118
|
+
<button type="submit" onclick="google();">Compress</button> with <a href="http://closure-compiler.appspot.com/home">Google Closure</a><br/>
|
119
|
+
<button type="submit" onclick="verify();">Check</button> for errors
|
120
|
+
</p>
|
121
|
+
|
122
|
+
<p>Custom code to add to the compressed file:<textarea name="js_code" style="width: 100%; height: 15em;" class="field"></textarea></p>
|
123
|
+
</form>
|
124
|
+
|
125
|
+
<script type="text/javascript" src="css/font.js"></script>
|
126
|
+
|
127
|
+
<script type="text/javascript">
|
128
|
+
function $(name) {return document.getElementById(name);}
|
129
|
+
|
130
|
+
function setVersion(ver) {
|
131
|
+
var urlprefix = ver.options[ver.selectedIndex].value;
|
132
|
+
console.log(urlprefix);
|
133
|
+
var select = $("files"), m;
|
134
|
+
for (var optgr = select.firstChild; optgr; optgr = optgr.nextSibling)
|
135
|
+
for (var opt = optgr.firstChild; opt; opt = opt.nextSibling) {
|
136
|
+
if (opt.nodeName != "OPTION")
|
137
|
+
continue;
|
138
|
+
else if (m = opt.value.match(/^http:\/\/codemirror.net\/(.*)$/))
|
139
|
+
opt.value = urlprefix + m[1];
|
140
|
+
else if (m = opt.value.match(/http:\/\/marijnhaverbeke.nl\/git\/codemirror\?a=blob_plain;hb=[^;]+;f=(.*)$/))
|
141
|
+
opt.value = urlprefix + m[1];
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
var download = $("download");
|
146
|
+
function verify() {
|
147
|
+
google();
|
148
|
+
$("output").value="warnings";
|
149
|
+
}
|
150
|
+
function google() {
|
151
|
+
$("output").value="compiled_code";
|
152
|
+
if (download.parentNode) download.parentNode.removeChild(download);
|
153
|
+
$("form").action = "http://closure-compiler.appspot.com/compile";
|
154
|
+
}
|
155
|
+
function uglify() {
|
156
|
+
var names = [], files = $("files");
|
157
|
+
for (var i = 0; i < files.options.length; i++) {
|
158
|
+
var opt = files.options[i];
|
159
|
+
if (opt.selected)
|
160
|
+
names.push(opt.text.match(/^(.*).js$/)[1]);
|
161
|
+
}
|
162
|
+
download.value = (names.join("-") || "codemirror") + ".js";
|
163
|
+
if (!download.parentNode) $("form").appendChild(download);
|
164
|
+
$("form").action = "http://marijnhaverbeke.nl/uglifyjs";
|
165
|
+
}
|
166
|
+
</script>
|
167
|
+
|
168
|
+
</body>
|
169
|
+
</html>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
html {
|
2
|
+
cursor: text;
|
3
|
+
}
|
4
|
+
|
5
|
+
.editbox {
|
6
|
+
margin: .4em;
|
7
|
+
padding: 0;
|
8
|
+
font-family: monospace;
|
9
|
+
font-size: 10pt;
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
|
13
|
+
pre.code, .editbox {
|
14
|
+
color: #666666;
|
15
|
+
}
|
16
|
+
|
17
|
+
.editbox p {
|
18
|
+
margin: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
span.csharp-punctuation {
|
22
|
+
color: green;
|
23
|
+
}
|
24
|
+
|
25
|
+
span.csharp-operator {
|
26
|
+
color: purple;
|
27
|
+
}
|
28
|
+
|
29
|
+
span.csharp-keyword {
|
30
|
+
color: blue;
|
31
|
+
}
|
32
|
+
|
33
|
+
span.csharp-atom {
|
34
|
+
color: brown;
|
35
|
+
}
|
36
|
+
|
37
|
+
span.csharp-variable {
|
38
|
+
color: black;
|
39
|
+
}
|
40
|
+
|
41
|
+
span.csharp-variabledef {
|
42
|
+
color: #0000FF;
|
43
|
+
}
|
44
|
+
|
45
|
+
span.csharp-localvariable {
|
46
|
+
color: #004499;
|
47
|
+
}
|
48
|
+
|
49
|
+
span.csharp-property {
|
50
|
+
color: black;
|
51
|
+
}
|
52
|
+
|
53
|
+
span.csharp-comment {
|
54
|
+
color: green;
|
55
|
+
}
|
56
|
+
|
57
|
+
span.csharp-string {
|
58
|
+
color: red;
|
59
|
+
}
|
60
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
+
<head>
|
3
|
+
<script src="../../js/codemirror.js" type="text/javascript"></script>
|
4
|
+
<title>CodeMirror: C# demonstration</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="../../css/docs.css"/>
|
6
|
+
</head>
|
7
|
+
<body style="padding: 20px;">
|
8
|
+
|
9
|
+
<p>Demonstration of <a href="../../index.html">CodeMirror</a>'s C# highlighter.</p>
|
10
|
+
|
11
|
+
<p>Written by <a href="http://skilltesting.com/">Boris Gaber and Christopher Buchino</a> (<a
|
12
|
+
href="http://skilltesting.com/codemirror-parser-license/">license</a>).</p>
|
13
|
+
|
14
|
+
<div style="border-top: 1px solid black; border-bottom: 1px solid black;">
|
15
|
+
<textarea id="code" cols="120" rows="50">
|
16
|
+
using System;
|
17
|
+
|
18
|
+
namespace Example
|
19
|
+
{
|
20
|
+
/// <summary>
|
21
|
+
/// Represents a person employed at the company
|
22
|
+
/// </summary>
|
23
|
+
public class Employee : Person
|
24
|
+
{
|
25
|
+
#region Properties
|
26
|
+
|
27
|
+
/// <summary>
|
28
|
+
/// Gets or sets the first name.
|
29
|
+
/// </summary>
|
30
|
+
/// <value>The first name.</value>
|
31
|
+
public string FirstName { get; set; }
|
32
|
+
|
33
|
+
#endregion
|
34
|
+
|
35
|
+
/// <summary>
|
36
|
+
/// Calculates the salary.
|
37
|
+
/// </summary>
|
38
|
+
/// <param name="grade">The grade.</param>
|
39
|
+
/// <returns></returns>
|
40
|
+
public decimal CalculateSalary(int grade)
|
41
|
+
{
|
42
|
+
if (grade > 10)
|
43
|
+
return 1000;
|
44
|
+
return 500;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
</textarea>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<script type="text/javascript">
|
52
|
+
var editor = CodeMirror.fromTextArea('code', {
|
53
|
+
parserfile: ["../contrib/csharp/js/tokenizecsharp.js", "../contrib/csharp/js/parsecsharp.js"],
|
54
|
+
stylesheet: "css/csharpcolors.css",
|
55
|
+
path: "../../js/",
|
56
|
+
height: "500px"
|
57
|
+
});
|
58
|
+
</script>
|
59
|
+
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,329 @@
|
|
1
|
+
/* Parse function for JavaScript. Makes use of the tokenizer from
|
2
|
+
* tokenizecsharp.js. Note that your parsers do not have to be
|
3
|
+
* this complicated -- if you don't want to recognize local variables,
|
4
|
+
* in many languages it is enough to just look for braces, semicolons,
|
5
|
+
* parentheses, etc, and know when you are inside a string or comment.
|
6
|
+
*
|
7
|
+
* See manual.html for more info about the parser interface.
|
8
|
+
*/
|
9
|
+
|
10
|
+
var JSParser = Editor.Parser = (function() {
|
11
|
+
// Token types that can be considered to be atoms.
|
12
|
+
var atomicTypes = {"atom": true, "number": true, "variable": true, "string": true, "regexp": true};
|
13
|
+
// Setting that can be used to have JSON data indent properly.
|
14
|
+
var json = false;
|
15
|
+
// Constructor for the lexical context objects.
|
16
|
+
function CSharpLexical(indented, column, type, align, prev, info) {
|
17
|
+
// indentation at start of this line
|
18
|
+
this.indented = indented;
|
19
|
+
// column at which this scope was opened
|
20
|
+
this.column = column;
|
21
|
+
// type of scope ('vardef', 'stat' (statement), 'form' (special form), '[', '{', or '(')
|
22
|
+
this.type = type;
|
23
|
+
// '[', '{', or '(' blocks that have any text after their opening
|
24
|
+
// character are said to be 'aligned' -- any lines below are
|
25
|
+
// indented all the way to the opening character.
|
26
|
+
if (align != null)
|
27
|
+
this.align = align;
|
28
|
+
// Parent scope, if any.
|
29
|
+
this.prev = prev;
|
30
|
+
this.info = info;
|
31
|
+
}
|
32
|
+
|
33
|
+
// CSharp indentation rules.
|
34
|
+
function indentCSharp(lexical) {
|
35
|
+
return function(firstChars) {
|
36
|
+
var firstChar = firstChars && firstChars.charAt(0), type = lexical.type;
|
37
|
+
var closing = firstChar == type;
|
38
|
+
if (type == "vardef")
|
39
|
+
return lexical.indented + 4;
|
40
|
+
else if (type == "form" && firstChar == "{")
|
41
|
+
return lexical.indented;
|
42
|
+
else if (type == "stat" || type == "form")
|
43
|
+
return lexical.indented + indentUnit;
|
44
|
+
else if (lexical.info == "switch" && !closing)
|
45
|
+
return lexical.indented + (/^(?:case|default)\b/.test(firstChars) ? indentUnit : 2 * indentUnit);
|
46
|
+
else if (lexical.align)
|
47
|
+
return lexical.column - (closing ? 1 : 0);
|
48
|
+
else
|
49
|
+
return lexical.indented + (closing ? 0 : indentUnit);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
|
53
|
+
// The parser-iterator-producing function itself.
|
54
|
+
function parseCSharp(input, basecolumn) {
|
55
|
+
// Wrap the input in a token stream
|
56
|
+
var tokens = tokenizeCSharp(input);
|
57
|
+
// The parser state. cc is a stack of actions that have to be
|
58
|
+
// performed to finish the current statement. For example we might
|
59
|
+
// know that we still need to find a closing parenthesis and a
|
60
|
+
// semicolon. Actions at the end of the stack go first. It is
|
61
|
+
// initialized with an infinitely looping action that consumes
|
62
|
+
// whole statements.
|
63
|
+
var cc = [statements];
|
64
|
+
// The lexical scope, used mostly for indentation.
|
65
|
+
var lexical = new CSharpLexical((basecolumn || 0) - indentUnit, 0, "block", false);
|
66
|
+
// Current column, and the indentation at the start of the current
|
67
|
+
// line. Used to create lexical scope objects.
|
68
|
+
var column = 0;
|
69
|
+
var indented = 0;
|
70
|
+
// Variables which are used by the mark, cont, and pass functions
|
71
|
+
// below to communicate with the driver loop in the 'next'
|
72
|
+
// function.
|
73
|
+
var consume, marked;
|
74
|
+
|
75
|
+
// The iterator object.
|
76
|
+
var parser = {next: next, copy: copy};
|
77
|
+
|
78
|
+
function next(){
|
79
|
+
// Start by performing any 'lexical' actions (adjusting the
|
80
|
+
// lexical variable), or the operations below will be working
|
81
|
+
// with the wrong lexical state.
|
82
|
+
while(cc[cc.length - 1].lex)
|
83
|
+
cc.pop()();
|
84
|
+
|
85
|
+
// Fetch a token.
|
86
|
+
var token = tokens.next();
|
87
|
+
|
88
|
+
// Adjust column and indented.
|
89
|
+
if (token.type == "whitespace" && column == 0)
|
90
|
+
indented = token.value.length;
|
91
|
+
column += token.value.length;
|
92
|
+
if (token.content == "\n"){
|
93
|
+
indented = column = 0;
|
94
|
+
// If the lexical scope's align property is still undefined at
|
95
|
+
// the end of the line, it is an un-aligned scope.
|
96
|
+
if (!("align" in lexical))
|
97
|
+
lexical.align = false;
|
98
|
+
// Newline tokens get an indentation function associated with
|
99
|
+
// them.
|
100
|
+
token.indentation = indentCSharp(lexical);
|
101
|
+
}
|
102
|
+
// No more processing for meaningless tokens.
|
103
|
+
if (token.type == "whitespace" || token.type == "comment")
|
104
|
+
return token;
|
105
|
+
// When a meaningful token is found and the lexical scope's
|
106
|
+
// align is undefined, it is an aligned scope.
|
107
|
+
if (!("align" in lexical))
|
108
|
+
lexical.align = true;
|
109
|
+
|
110
|
+
// Execute actions until one 'consumes' the token and we can
|
111
|
+
// return it.
|
112
|
+
while(true) {
|
113
|
+
consume = marked = false;
|
114
|
+
// Take and execute the topmost action.
|
115
|
+
cc.pop()(token.type, token.content);
|
116
|
+
if (consume){
|
117
|
+
// Marked is used to change the style of the current token.
|
118
|
+
if (marked)
|
119
|
+
token.style = marked;
|
120
|
+
return token;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
// This makes a copy of the parser state. It stores all the
|
126
|
+
// stateful variables in a closure, and returns a function that
|
127
|
+
// will restore them when called with a new input stream. Note
|
128
|
+
// that the cc array has to be copied, because it is contantly
|
129
|
+
// being modified. Lexical objects are not mutated, and context
|
130
|
+
// objects are not mutated in a harmful way, so they can be shared
|
131
|
+
// between runs of the parser.
|
132
|
+
function copy(){
|
133
|
+
var _lexical = lexical, _cc = cc.concat([]), _tokenState = tokens.state;
|
134
|
+
|
135
|
+
return function copyParser(input){
|
136
|
+
lexical = _lexical;
|
137
|
+
cc = _cc.concat([]); // copies the array
|
138
|
+
column = indented = 0;
|
139
|
+
tokens = tokenizeCSharp(input, _tokenState);
|
140
|
+
return parser;
|
141
|
+
};
|
142
|
+
}
|
143
|
+
|
144
|
+
// Helper function for pushing a number of actions onto the cc
|
145
|
+
// stack in reverse order.
|
146
|
+
function push(fs){
|
147
|
+
for (var i = fs.length - 1; i >= 0; i--)
|
148
|
+
cc.push(fs[i]);
|
149
|
+
}
|
150
|
+
// cont and pass are used by the action functions to add other
|
151
|
+
// actions to the stack. cont will cause the current token to be
|
152
|
+
// consumed, pass will leave it for the next action.
|
153
|
+
function cont(){
|
154
|
+
push(arguments);
|
155
|
+
consume = true;
|
156
|
+
}
|
157
|
+
function pass(){
|
158
|
+
push(arguments);
|
159
|
+
consume = false;
|
160
|
+
}
|
161
|
+
// Used to change the style of the current token.
|
162
|
+
function mark(style){
|
163
|
+
marked = style;
|
164
|
+
}
|
165
|
+
|
166
|
+
// Push a new lexical context of the given type.
|
167
|
+
function pushlex(type, info) {
|
168
|
+
var result = function(){
|
169
|
+
lexical = new CSharpLexical(indented, column, type, null, lexical, info)
|
170
|
+
};
|
171
|
+
result.lex = true;
|
172
|
+
return result;
|
173
|
+
}
|
174
|
+
// Pop off the current lexical context.
|
175
|
+
function poplex(){
|
176
|
+
lexical = lexical.prev;
|
177
|
+
}
|
178
|
+
poplex.lex = true;
|
179
|
+
// The 'lex' flag on these actions is used by the 'next' function
|
180
|
+
// to know they can (and have to) be ran before moving on to the
|
181
|
+
// next token.
|
182
|
+
|
183
|
+
// Creates an action that discards tokens until it finds one of
|
184
|
+
// the given type.
|
185
|
+
function expect(wanted){
|
186
|
+
return function expecting(type){
|
187
|
+
if (type == wanted) cont();
|
188
|
+
else cont(arguments.callee);
|
189
|
+
};
|
190
|
+
}
|
191
|
+
|
192
|
+
// Looks for a statement, and then calls itself.
|
193
|
+
function statements(type){
|
194
|
+
return pass(statement, statements);
|
195
|
+
}
|
196
|
+
// Dispatches various types of statements based on the type of the
|
197
|
+
// current token.
|
198
|
+
function statement(type){
|
199
|
+
if (type == "var") cont(pushlex("vardef"), vardef1, expect(";"), poplex);
|
200
|
+
else if (type == "keyword a") cont(pushlex("form"), expression, statement, poplex);
|
201
|
+
else if (type == "keyword b") cont(pushlex("form"), statement, poplex);
|
202
|
+
else if (type == "{" && json) cont(pushlex("}"), commasep(objprop, "}"), poplex);
|
203
|
+
else if (type == "{") cont(pushlex("}"), block, poplex);
|
204
|
+
else if (type == "function") cont(functiondef);
|
205
|
+
else if (type == "for") cont(pushlex("form"), expect("("), pushlex(")"), forspec1, expect(")"), poplex, statement, poplex);
|
206
|
+
else if (type == "variable") cont(pushlex("stat"), maybelabel);
|
207
|
+
else if (type == "switch") cont(pushlex("form"), expression, pushlex("}", "switch"), expect("{"), block, poplex, poplex);
|
208
|
+
else if (type == "case") cont(expression, expect(":"));
|
209
|
+
else if (type == "default") cont(expect(":"));
|
210
|
+
else if (type == "catch") cont(pushlex("form"), expect("("), funarg, expect(")"), statement, poplex);
|
211
|
+
|
212
|
+
else if (type == "class") cont(classdef);
|
213
|
+
else if (type == "keyword d") cont(statement);
|
214
|
+
|
215
|
+
else pass(pushlex("stat"), expression, expect(";"), poplex);
|
216
|
+
}
|
217
|
+
// Dispatch expression types.
|
218
|
+
function expression(type){
|
219
|
+
if (atomicTypes.hasOwnProperty(type)) cont(maybeoperator);
|
220
|
+
else if (type == "function") cont(functiondef);
|
221
|
+
else if (type == "keyword c") cont(expression);
|
222
|
+
else if (type == "(") cont(pushlex(")"), expression, expect(")"), poplex, maybeoperator);
|
223
|
+
else if (type == "operator") cont(expression);
|
224
|
+
else if (type == "[") cont(pushlex("]"), commasep(expression, "]"), poplex, maybeoperator);
|
225
|
+
else if (type == "{") cont(pushlex("}"), commasep(objprop, "}"), poplex, maybeoperator);
|
226
|
+
}
|
227
|
+
// Called for places where operators, function calls, or
|
228
|
+
// subscripts are valid. Will skip on to the next action if none
|
229
|
+
// is found.
|
230
|
+
function maybeoperator(type){
|
231
|
+
if (type == "operator") cont(expression);
|
232
|
+
else if (type == "(") cont(pushlex(")"), expression, commasep(expression, ")"), poplex, maybeoperator);
|
233
|
+
else if (type == ".") cont(property, maybeoperator);
|
234
|
+
else if (type == "[") cont(pushlex("]"), expression, expect("]"), poplex, maybeoperator);
|
235
|
+
}
|
236
|
+
// When a statement starts with a variable name, it might be a
|
237
|
+
// label. If no colon follows, it's a regular statement.
|
238
|
+
function maybelabel(type){
|
239
|
+
if (type == ":") cont(poplex, statement);
|
240
|
+
else if (type == "(") cont(commasep(funarg, ")"), poplex, statement); // method definition
|
241
|
+
else if (type == "{") cont(poplex, pushlex("}"), block, poplex); // property definition
|
242
|
+
else pass(maybeoperator, expect(";"), poplex);
|
243
|
+
}
|
244
|
+
// Property names need to have their style adjusted -- the
|
245
|
+
// tokenizer thinks they are variables.
|
246
|
+
function property(type){
|
247
|
+
if (type == "variable") {mark("csharp-property"); cont();}
|
248
|
+
}
|
249
|
+
// This parses a property and its value in an object literal.
|
250
|
+
function objprop(type){
|
251
|
+
if (type == "variable") mark("csharp-property");
|
252
|
+
if (atomicTypes.hasOwnProperty(type)) cont(expect(":"), expression);
|
253
|
+
}
|
254
|
+
// Parses a comma-separated list of the things that are recognized
|
255
|
+
// by the 'what' argument.
|
256
|
+
function commasep(what, end){
|
257
|
+
function proceed(type) {
|
258
|
+
if (type == ",") cont(what, proceed);
|
259
|
+
else if (type == end) cont();
|
260
|
+
else cont(expect(end));
|
261
|
+
};
|
262
|
+
return function commaSeparated(type) {
|
263
|
+
if (type == end) cont();
|
264
|
+
else pass(what, proceed);
|
265
|
+
};
|
266
|
+
}
|
267
|
+
// Look for statements until a closing brace is found.
|
268
|
+
function block(type){
|
269
|
+
if (type == "}") cont();
|
270
|
+
else pass(statement, block);
|
271
|
+
}
|
272
|
+
// Variable definitions are split into two actions -- 1 looks for
|
273
|
+
// a name or the end of the definition, 2 looks for an '=' sign or
|
274
|
+
// a comma.
|
275
|
+
function vardef1(type, value){
|
276
|
+
if (type == "variable"){cont(vardef2);}
|
277
|
+
else cont();
|
278
|
+
}
|
279
|
+
function vardef2(type, value){
|
280
|
+
if (value == "=") cont(expression, vardef2);
|
281
|
+
else if (type == ",") cont(vardef1);
|
282
|
+
}
|
283
|
+
// For loops.
|
284
|
+
function forspec1(type){
|
285
|
+
if (type == "var") cont(vardef1, forspec2);
|
286
|
+
else if (type == "keyword d") cont(vardef1, forspec2);
|
287
|
+
else if (type == ";") pass(forspec2);
|
288
|
+
else if (type == "variable") cont(formaybein);
|
289
|
+
else pass(forspec2);
|
290
|
+
}
|
291
|
+
function formaybein(type, value){
|
292
|
+
if (value == "in") cont(expression);
|
293
|
+
else cont(maybeoperator, forspec2);
|
294
|
+
}
|
295
|
+
function forspec2(type, value){
|
296
|
+
if (type == ";") cont(forspec3);
|
297
|
+
else if (value == "in") cont(expression);
|
298
|
+
else cont(expression, expect(";"), forspec3);
|
299
|
+
}
|
300
|
+
function forspec3(type) {
|
301
|
+
if (type == ")") pass();
|
302
|
+
else cont(expression);
|
303
|
+
}
|
304
|
+
// A function definition creates a new context, and the variables
|
305
|
+
// in its argument list have to be added to this context.
|
306
|
+
function functiondef(type, value){
|
307
|
+
if (type == "variable") cont(functiondef);
|
308
|
+
else if (type == "(") cont(commasep(funarg, ")"), statement);
|
309
|
+
}
|
310
|
+
function funarg(type, value){
|
311
|
+
if (type == "variable"){cont();}
|
312
|
+
}
|
313
|
+
|
314
|
+
function classdef(type) {
|
315
|
+
if (type == "variable") cont(classdef, statement);
|
316
|
+
else if (type == ":") cont(classdef, statement);
|
317
|
+
}
|
318
|
+
|
319
|
+
return parser;
|
320
|
+
}
|
321
|
+
|
322
|
+
return {
|
323
|
+
make: parseCSharp,
|
324
|
+
electricChars: "{}:",
|
325
|
+
configure: function(obj) {
|
326
|
+
if (obj.json != null) json = obj.json;
|
327
|
+
}
|
328
|
+
};
|
329
|
+
})();
|