typo 5.3 → 5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +30 -627
- data/app/controllers/accounts_controller.rb +28 -8
- data/app/controllers/admin/base_controller.rb +0 -2
- data/app/controllers/admin/blacklist_controller.rb +1 -1
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/content_controller.rb +40 -20
- data/app/controllers/admin/dashboard_controller.rb +2 -0
- data/app/controllers/admin/feedback_controller.rb +5 -4
- data/app/controllers/admin/pages_controller.rb +1 -3
- data/app/controllers/admin/previews_controller.rb +10 -0
- data/app/controllers/admin/profiles_controller.rb +9 -27
- data/app/controllers/admin/resources_controller.rb +1 -4
- data/app/controllers/admin/settings_controller.rb +11 -5
- data/app/controllers/admin/tags_controller.rb +1 -1
- data/app/controllers/admin/themes_controller.rb +2 -0
- data/app/controllers/admin/users_controller.rb +6 -15
- data/app/controllers/application_controller.rb +76 -0
- data/app/controllers/articles_controller.rb +4 -8
- data/app/controllers/authors_controller.rb +21 -0
- data/app/controllers/backend_controller.rb +0 -1
- data/app/controllers/content_controller.rb +1 -5
- data/app/controllers/feedback_controller.rb +0 -1
- data/app/controllers/grouping_controller.rb +29 -7
- data/app/controllers/previews_controller.rb +10 -0
- data/app/controllers/redirect_controller.rb +3 -1
- data/app/controllers/theme_controller.rb +0 -4
- data/app/controllers/xml_controller.rb +7 -5
- data/app/helpers/admin/base_helper.rb +19 -13
- data/app/helpers/admin/users_helper.rb +12 -0
- data/app/helpers/application_helper.rb +20 -58
- data/app/helpers/articles_helper.rb +2 -2
- data/app/helpers/authors_helper.rb +5 -0
- data/app/models/article.rb +14 -28
- data/app/models/blog.rb +6 -38
- data/app/models/category.rb +2 -6
- data/app/models/content.rb +24 -18
- data/app/models/page.rb +0 -2
- data/app/models/page_cache.rb +4 -7
- data/app/models/sidebar.rb +6 -6
- data/app/models/text_filter.rb +1 -6
- data/app/models/theme.rb +7 -2
- data/app/models/trackback.rb +1 -5
- data/app/models/user.rb +13 -3
- data/app/views/accounts/confirm.html.erb +16 -0
- data/app/views/accounts/login.html.erb +30 -7
- data/app/views/accounts/signup.html.erb +16 -31
- data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -1
- data/app/views/admin/blacklist/_form.html.erb +1 -1
- data/app/views/admin/blacklist/destroy.html.erb +7 -7
- data/app/views/admin/categories/_categories.html.erb +0 -4
- data/app/views/admin/categories/_form.html.erb +18 -20
- data/app/views/admin/categories/new.html.erb +5 -8
- data/app/views/admin/content/_article_list.html.erb +1 -5
- data/app/views/admin/content/_drafts.html.erb +4 -4
- data/app/views/admin/content/_form.html.erb +97 -87
- data/app/views/admin/content/_simple_editor.html.erb +4 -4
- data/app/views/admin/content/_visual_editor.html.erb +6 -5
- data/app/views/admin/content/index.html.erb +3 -5
- data/app/views/admin/content/new.html.erb +1 -1
- data/app/views/admin/dashboard/_comments.html.erb +2 -3
- data/app/views/admin/dashboard/_inbound.html.erb +2 -5
- data/app/views/admin/dashboard/_popular.html.erb +1 -1
- data/app/views/admin/dashboard/_posts.html.erb +1 -2
- data/app/views/admin/dashboard/_sysinfo.html.erb +4 -6
- data/app/views/admin/dashboard/_typo_dev.html.erb +4 -4
- data/app/views/admin/dashboard/_welcome.html.erb +3 -3
- data/app/views/admin/dashboard/index.html.erb +14 -8
- data/app/views/admin/feedback/_button.html.erb +6 -6
- data/app/views/admin/feedback/_form.html.erb +29 -18
- data/app/views/admin/feedback/article.html.erb +1 -1
- data/app/views/admin/feedback/index.html.erb +18 -10
- data/app/views/admin/pages/_form.html.erb +65 -47
- data/app/views/admin/pages/_pages.html.erb +1 -3
- data/app/views/admin/pages/_visual_editor.html.erb +1 -1
- data/app/views/admin/profiles/index.html.erb +6 -0
- data/app/views/admin/resources/_resources.html.erb +3 -6
- data/app/views/admin/resources/index.html.erb +14 -9
- data/app/views/admin/settings/_submit.html.erb +2 -2
- data/app/views/admin/settings/feedback.html.erb +96 -90
- data/app/views/admin/settings/index.html.erb +78 -46
- data/app/views/admin/settings/seo.html.erb +72 -63
- data/app/views/admin/settings/write.html.erb +21 -29
- data/app/views/admin/sidebar/index.html.erb +2 -2
- data/app/views/admin/tags/index.html.erb +18 -9
- data/app/views/admin/themes/catalogue.html.erb +6 -14
- data/app/views/admin/themes/index.html.erb +6 -12
- data/app/views/admin/users/_form.html.erb +181 -63
- data/app/views/admin/users/edit.html.erb +2 -5
- data/app/views/admin/users/index.html.erb +24 -29
- data/app/views/admin/users/new.html.erb +1 -5
- data/app/views/articles/_article.html.erb +15 -1
- data/app/views/articles/_atom_feed.atom.builder +1 -1
- data/app/views/articles/_rss20_feed.rss.builder +4 -2
- data/app/views/articles/read.html.erb +3 -3
- data/app/views/articles/search.html.erb +1 -1
- data/app/views/authors/show.html.erb +37 -0
- data/app/views/layouts/accounts.html.erb +3 -4
- data/app/views/layouts/administration.html.erb +29 -32
- data/app/views/shared/_search.html.erb +10 -0
- data/app/views/xml/_atom10_item_article.atom.builder +1 -3
- data/bin/typo +4 -0
- data/config/boot.rb +3 -2
- data/config/environment.rb +32 -109
- data/config/environments/cucumber.rb +23 -0
- data/config/environments/development.rb +1 -1
- data/config/environments/test.rb +5 -0
- data/config/initializers/access_rules.rb +20 -23
- data/config/locales/nl.rb +103 -0
- data/config/routes.rb +10 -4
- data/db/migrate/001_initial_schema.rb +4 -0
- data/db/migrate/057_add_categorization_model.rb +12 -5
- data/db/migrate/060_cleanup_contents_table.rb +9 -1
- data/db/migrate/067_remove_blog_ids.rb +9 -1
- data/db/migrate/075_move_editor_to_user.rb +1 -11
- data/db/migrate/078_add_textfilter_to_users.rb +1 -5
- data/db/migrate/079_move_editor_as_string.rb +1 -5
- data/db/migrate/080_add_state_to_user.rb +1 -5
- data/db/migrate/082_add_users_options.rb +35 -0
- data/db/migrate/083_add_users_display_perms.rb +19 -0
- data/db/migrate/084_move_users_to_profiles.rb +19 -0
- data/db/migrate/085_add_article_parent_draft.rb +9 -0
- data/db/migrate/086_add_user_last_connection.rb +9 -0
- data/db/schema.rb +18 -2
- data/doc/test_themes.rb +50 -0
- data/lang/fr_FR.rb +593 -538
- data/lang/he_IL.rb +2 -2
- data/lang/ja_JP.rb +449 -295
- data/lang/nl_NL.rb +657 -0
- data/lang/zh_TW.rb +597 -0
- data/lib/stateful.rb +1 -1
- data/lib/tasks/cucumber.rake +20 -0
- data/lib/tasks/release.rake +9 -5
- data/lib/tasks/rspec.rake +69 -44
- data/lib/tasks/sweep_cache.rake +0 -1
- data/lib/typo_version.rb +1 -1
- data/public/images/admin/blue_block_bottom_left.jpg +0 -0
- data/public/images/admin/blue_block_bottom_right.jpg +0 -0
- data/public/images/admin/blue_block_top_left.jpg +0 -0
- data/public/images/admin/blue_block_top_right.jpg +0 -0
- data/public/images/admin/editor_active_top_left.jpg +0 -0
- data/public/images/admin/editor_active_top_right.jpg +0 -0
- data/public/images/admin/editor_bottom_left.jpg +0 -0
- data/public/images/admin/editor_bottom_right.jpg +0 -0
- data/public/images/admin/input_text_left.jpg +0 -0
- data/public/images/admin/input_text_right.jpg +0 -0
- data/public/images/admin/input_text_small_left.jpg +0 -0
- data/public/images/admin/input_text_small_right.jpg +0 -0
- data/public/images/admin/publisher_bottom.jpg +0 -0
- data/public/images/admin/publisher_top.jpg +0 -0
- data/public/images/close.gif +0 -0
- data/public/images/loading.gif +0 -0
- data/public/images/nextlabel.gif +0 -0
- data/public/images/prevlabel.gif +0 -0
- data/public/javascripts/administration.js +1 -10
- data/public/javascripts/builder.js +136 -0
- data/public/javascripts/ckcustom.js +27 -0
- data/public/javascripts/ckeditor/.htaccess +24 -0
- data/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/public/javascripts/ckeditor/config.bak +11 -0
- data/public/javascripts/ckeditor/config.js +27 -0
- data/public/javascripts/ckeditor/contents.css +35 -0
- data/public/javascripts/{fckeditor/editor → ckeditor}/images/spacer.gif +0 -0
- data/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/public/javascripts/ckeditor/lang/af.js +6 -0
- data/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/public/javascripts/ckeditor/lang/da.js +6 -0
- data/public/javascripts/ckeditor/lang/de.js +6 -0
- data/public/javascripts/ckeditor/lang/el.js +6 -0
- data/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/public/javascripts/ckeditor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/public/javascripts/ckeditor/lang/es.js +6 -0
- data/public/javascripts/ckeditor/lang/et.js +6 -0
- data/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/public/javascripts/ckeditor/lang/he.js +6 -0
- data/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/public/javascripts/ckeditor/lang/is.js +6 -0
- data/public/javascripts/ckeditor/lang/it.js +6 -0
- data/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/public/javascripts/ckeditor/lang/km.js +6 -0
- data/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/public/javascripts/ckeditor/lang/no.js +6 -0
- data/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/public/javascripts/ckeditor/lang/th.js +6 -0
- data/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +6 -0
- data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/public/javascripts/{fckeditor/editor → ckeditor/plugins/link}/images/anchor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/public/javascripts/{fckeditor/editor/css/images/fck_pagebreak.gif → ckeditor/plugins/pagebreak/images/pagebreak.gif} +0 -0
- data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_address.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_blockquote.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_div.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h1.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h2.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h3.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h4.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h5.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h6.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_p.png +0 -0
- data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_pre.png +0 -0
- data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template1.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template2.gif +0 -0
- data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template3.gif +0 -0
- data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/javascripts/{fckeditor/editor/skins/silver/images/toolbar.start.gif → ckeditor/skins/kama/images/toolbar_start.gif} +0 -0
- data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/public/javascripts/controls.js +72 -72
- data/public/javascripts/dragdrop.js +165 -164
- data/public/javascripts/effects.js +173 -165
- data/public/javascripts/lang/nl_NL.js +21 -0
- data/public/javascripts/lang/zh_TW.js +17 -0
- data/public/javascripts/lightbox.js +470 -175
- data/public/stylesheets/administration.css +404 -656
- data/public/stylesheets/border-radius-ie8.htc +34 -0
- data/public/stylesheets/lightbox.css +21 -56
- data/public/stylesheets/user-styles.css +4 -2
- data/script/autospec +1 -0
- data/script/spec +9 -3
- data/script/spec_server +5 -112
- data/spec/controllers/accounts_controller_spec.rb +30 -16
- data/spec/controllers/admin/blacklist_controller_spec.rb +7 -12
- data/spec/controllers/admin/cache_controller_spec.rb +0 -5
- data/spec/controllers/admin/categories_controller_spec.rb +11 -16
- data/spec/controllers/admin/content_controller_spec.rb +14 -19
- data/spec/controllers/admin/feedback_controller_spec.rb +12 -1
- data/spec/controllers/admin/pages_controller_spec.rb +20 -17
- data/spec/controllers/admin/profiles_controller_spec.rb +17 -8
- data/spec/controllers/admin/resources_controller_spec.rb +3 -14
- data/spec/controllers/admin/settings_controller_spec.rb +0 -5
- data/spec/controllers/admin/tags_controller_spec.rb +1 -7
- data/spec/controllers/admin/textfilters_controller_spec.rb +0 -5
- data/spec/controllers/admin/themes_controller_spec.rb +3 -3
- data/spec/controllers/admin/users_controller_spec.rb +59 -41
- data/spec/controllers/application_controller_spec.rb +18 -0
- data/spec/controllers/articles_controller_spec.rb +88 -39
- data/spec/controllers/authors_controller_spec.rb +42 -0
- data/spec/controllers/backend_controller_spec.rb +30 -35
- data/spec/controllers/categories_controller_spec.rb +20 -22
- data/spec/controllers/comments_controller_spec.rb +3 -3
- data/spec/controllers/previews_controller_spec.rb +28 -0
- data/spec/controllers/redirect_controller_spec.rb +36 -35
- data/spec/controllers/tags_controller_spec.rb +15 -10
- data/spec/controllers/textfilter_controller_spec.rb +11 -72
- data/spec/controllers/theme_controller_spec.rb +8 -12
- data/spec/controllers/xml_controller_spec.rb +59 -101
- data/spec/factories.rb +25 -0
- data/spec/models/article_closing_spec.rb +4 -4
- data/spec/models/article_spec.rb +119 -30
- data/spec/models/blacklist_pattern_spec.rb +1 -1
- data/spec/models/blog_spec.rb +0 -1
- data/spec/models/comment_spec.rb +0 -4
- data/spec/models/configuration_spec.rb +1 -1
- data/spec/models/content_state/feedback_states_spec.rb +4 -4
- data/spec/models/notification_spec.rb +2 -2
- data/spec/models/ping_pinger_spec.rb +3 -3
- data/spec/models/ping_spec.rb +34 -47
- data/spec/models/route_cache_spec.rb +2 -2
- data/spec/models/sidebar_spec.rb +2 -2
- data/spec/models/theme_spec.rb +4 -4
- data/spec/models/trigger_spec.rb +1 -0
- data/spec/models/user_spec.rb +92 -39
- data/spec/rcov.opts +2 -0
- data/spec/spec_helper.rb +92 -19
- data/spec/views/articles/index_spec.rb +2 -2
- data/spec/views/articles/read_spec.rb +16 -0
- data/spec/views/comments/html_sanitization_spec.rb +16 -0
- data/test/fixtures/contents.yml +28 -11
- data/test/fixtures/feedback.yml +14 -0
- data/test/fixtures/profiles.yml +1 -0
- data/test/fixtures/users.yml +9 -1
- data/test/test_helper.rb +2 -151
- data/themes/dirtylicious/layouts/default.html.erb +1 -1
- data/themes/dirtylicious/views/articles/_article.html.erb +14 -10
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +1 -1
- data/themes/dirtylicious/views/articles/read.html.erb +4 -4
- data/themes/scribbish/layouts/default.html.erb +1 -1
- data/themes/scribbish/views/articles/_article.html.erb +13 -9
- data/themes/scribbish/views/articles/_comment_form.html.erb +1 -1
- data/themes/scribbish/views/articles/read.html.erb +4 -4
- data/themes/standard_issue/layouts/default.html.erb +1 -1
- data/themes/standard_issue/views/articles/_article.html.erb +13 -9
- data/themes/standard_issue/views/articles/_comment_form.html.erb +1 -1
- data/themes/standard_issue/views/articles/read.html.erb +4 -4
- data/themes/true-blue-3/README +3 -0
- data/themes/true-blue-3/about.markdown +3 -0
- data/themes/true-blue-3/helpers/theme_helper.rb +85 -0
- data/themes/true-blue-3/images/background.gif +0 -0
- data/themes/true-blue-3/images/bg_input.jpg +0 -0
- data/themes/true-blue-3/images/bullet.jpg +0 -0
- data/themes/true-blue-3/images/comment.gif +0 -0
- data/themes/true-blue-3/images/comment.jpg +0 -0
- data/themes/true-blue-3/images/comment_bottom.gif +0 -0
- data/themes/true-blue-3/images/comment_fdv.gif +0 -0
- data/themes/true-blue-3/images/find.png +0 -0
- data/themes/true-blue-3/images/fleche1.png +0 -0
- data/themes/true-blue-3/images/fleche2.png +0 -0
- data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
- data/themes/true-blue-3/images/rss.png +0 -0
- data/themes/true-blue-3/images/searchform.png +0 -0
- data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
- data/themes/true-blue-3/images/twitter.jpg +0 -0
- data/themes/true-blue-3/images/twitter.png +0 -0
- data/themes/true-blue-3/layouts/default.html.erb +52 -0
- data/themes/true-blue-3/preview.png +0 -0
- data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
- data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
- data/themes/true-blue-3/stylesheets/style.css +555 -0
- data/themes/true-blue-3/views/articles/_article.html.erb +21 -0
- data/themes/true-blue-3/views/articles/_comment.html.erb +14 -0
- data/themes/true-blue-3/views/articles/_comment_form.html.erb +23 -0
- data/themes/true-blue-3/views/articles/_comment_list.html.erb +8 -0
- data/themes/true-blue-3/views/articles/_trackback.html.erb +9 -0
- data/themes/true-blue-3/views/articles/comment_preview.html.erb +10 -0
- data/themes/true-blue-3/views/articles/index.html.erb +5 -0
- data/themes/true-blue-3/views/articles/read.html.erb +38 -0
- data/themes/true-blue-3/views/articles/search.html.erb +29 -0
- data/themes/true-blue-3/views/articles/view_page.html.erb +4 -0
- data/themes/true-blue-3/views/categories/_article.html.erb +22 -0
- data/themes/true-blue-3/views/categories/index.html.erb +13 -0
- data/themes/true-blue-3/views/categories/show.html.erb +7 -0
- data/themes/true-blue-3/views/tags/_article.html.erb +22 -0
- data/themes/true-blue-3/views/tags/show.html.erb +6 -0
- data/themes/typographic/layouts/default.html.erb +1 -1
- data/themes/typographic/views/articles/_article.html.erb +13 -9
- data/themes/typographic/views/articles/_comment_form.html.erb +1 -1
- data/themes/typographic/views/articles/_comment_list.html.erb +1 -1
- data/themes/typographic/views/articles/read.html.erb +4 -4
- data/vendor/flickr/flickr.rb +3 -3
- data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/authors_sidebar/Rakefile +22 -0
- data/vendor/plugins/authors_sidebar/init.rb +4 -0
- data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +10 -0
- data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +8 -0
- data/vendor/plugins/authors_sidebar/views/content.rhtml +11 -0
- data/vendor/plugins/category_sidebar/views/content.rhtml +2 -2
- data/vendor/plugins/easy-ckeditor/CHANGELOG +15 -0
- data/vendor/plugins/easy-ckeditor/LICENSE +16 -0
- data/vendor/plugins/easy-ckeditor/README.textile +164 -0
- data/vendor/plugins/easy-ckeditor/Rakefile +72 -0
- data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +225 -0
- data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +2 -0
- data/vendor/plugins/easy-ckeditor/init.rb +33 -0
- data/vendor/plugins/easy-ckeditor/install.rb +12 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +113 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +108 -0
- data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +16 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +24 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +254 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +92 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +1334 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +108 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +199 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +35 -0
- data/{public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/{public/javascripts/fckeditor/editor/css/images/fck_anchor.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif} +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +7 -0
- data/vendor/plugins/easy-ckeditor/tasks/ckeditor_tasks.rake +108 -0
- data/vendor/plugins/easy-ckeditor/uninstall.rb +8 -0
- data/vendor/plugins/livesearch_sidebar/views/content.rhtml +1 -1
- data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +1 -1
- data/vendor/plugins/typo_converter/Rakefile +7 -8
- data/vendor/plugins/typo_converter/db/wp25_schema.rb +152 -0
- data/vendor/plugins/typo_converter/lib/converters/base.rb +41 -2
- data/vendor/plugins/typo_converter/lib/converters/wp25.rb +59 -4
- data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +1 -0
- data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +11 -0
- data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +192 -0
- data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +77 -0
- data/vendor/plugins/typo_converter/spec/spec_helper.rb +19 -0
- data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +2 -0
- data/vendor/plugins/typo_converter/tasks/typo_converters_tasks.rake +1 -4
- data/vendor/plugins/typo_textfilter_code/init.rb +7 -2
- data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +2 -0
- data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +4 -2
- data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +1 -1
- data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +3 -0
- data/vendor/plugins/xml_sidebar/views/content.rhtml +15 -1
- metadata +684 -1280
- data/app/controllers/application.rb +0 -90
- data/app/models/simple_cache.rb +0 -37
- data/app/views/admin/resources/new.html.erb +0 -16
- data/app/views/admin/settings/read.html.erb +0 -35
- data/app/views/admin/tags/_tags.html.erb +0 -18
- data/app/views/shared/_loginform.html.erb +0 -20
- data/config/initializers/active_record_hacks.rb +0 -17
- data/config/initializers/benchmark_hacks.rb +0 -9
- data/doc/typo-5.3-release-notes.txt +0 -105
- data/lib/memory_profiler.rb +0 -60
- data/lib/typo_deprecated.rb +0 -30
- data/lib/xmlrpc_fix.rb +0 -13
- data/public/javascripts/fckcustom.js +0 -28
- data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -214
- data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -119
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -58
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -918
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -104
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -199
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -327
- data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -362
- data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -89
- data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -667
- data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -71
- data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +0 -142
- data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -68
- data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -141
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -153
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -54
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -161
- data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -385
- data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -376
- data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -1443
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -36
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -38
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -81
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -198
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -139
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -98
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -76
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -146
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -200
- data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -451
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -108
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -102
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -88
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -518
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -250
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -180
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -173
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -382
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -40
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -45
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -74
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -41
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -69
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -60
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -106
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -201
- data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -176
- data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -166
- data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -122
- data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -1175
- data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -325
- data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -456
- data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -453
- data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -61
- data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -100
- data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -167
- data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -238
- data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -234
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -103
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -48
- data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -249
- data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -1024
- data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -163
- data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -152
- data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -63
- data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -46
- data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -99
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -42
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -220
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -275
- data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -381
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -858
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -64
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -123
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -399
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -740
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -282
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -233
- data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -223
- data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -39
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -515
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -101
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -203
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -354
- data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -15
- data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -36
- data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -92
- data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -199
- data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -49
- data/public/javascripts/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
- data/public/javascripts/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -85
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -338
- data/public/javascripts/fckeditor/editor/dialog/common/images/locked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/reset.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about.html +0 -161
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -212
- data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -172
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -600
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -113
- data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -173
- data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -152
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -292
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -50
- data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -109
- data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -115
- data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -258
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -504
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -72
- data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -293
- data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -736
- data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -120
- data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -339
- data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -104
- data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -530
- data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -180
- data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -194
- data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -111
- data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -68
- data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -121
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -65
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +0 -87
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -153
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -148
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -199
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -181
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -461
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -71
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -49
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -272
- data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -298
- data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -257
- data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -242
- data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -94
- data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -136
- data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -41
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -116
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -140
- data/public/javascripts/fckeditor/editor/fckdebug.html +0 -153
- data/public/javascripts/fckeditor/editor/fckdialog.html +0 -783
- data/public/javascripts/fckeditor/editor/fckeditor.html +0 -278
- data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -385
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -89
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -99
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -113
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -197
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -168
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -65
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -115
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +0 -87
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -129
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -63
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -214
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -136
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -141
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -117
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -686
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -68
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -146
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -118
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -90
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -142
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -126
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -23
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -88
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -58
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -188
- data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -210
- data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -192
- data/public/javascripts/fckeditor/editor/images/arrow_ltr.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/arrow_rtl.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
- data/public/javascripts/fckeditor/editor/js/fckadobeair.js +0 -176
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -108
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -109
- data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -77
- data/public/javascripts/fckeditor/editor/lang/af.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ar.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bg.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/bs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/cs.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/da.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/de.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/el.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/en.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/es.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/et.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/eu.js +0 -516
- data/public/javascripts/fckeditor/editor/lang/fa.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fo.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr-ca.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/fr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/gl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/he.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/hu.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/it.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ja.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/km.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ko.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/lv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/mn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ms.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nb.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/nl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/no.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/pt.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ro.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/ru.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sl.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/sv.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/th.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/tr.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/uk.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/vi.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -515
- data/public/javascripts/fckeditor/editor/lang/zh.js +0 -515
- data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -99
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -26
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -67
- data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -123
- data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -527
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -105
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -187
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/es.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -27
- data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
- data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -29
- data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -33
- data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -121
- data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -402
- data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -473
- data/public/javascripts/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
- data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
- data/public/javascripts/fckeditor/fckconfig.js +0 -316
- data/public/javascripts/fckeditor/fckeditor.js +0 -303
- data/public/javascripts/fckeditor/fckeditor.py +0 -160
- data/public/javascripts/fckeditor/fckpackager.xml +0 -262
- data/public/javascripts/fckeditor/fckstyles.xml +0 -111
- data/public/javascripts/fckeditor/fcktemplates.xml +0 -103
- data/public/javascripts/fckeditor/license.txt +0 -1246
- data/public/sources/javascripts/administration.js +0 -12
- data/public/sources/javascripts/application.js +0 -2
- data/public/sources/javascripts/codecollapse.js +0 -8
- data/public/sources/javascripts/controls.js +0 -963
- data/public/sources/javascripts/cookies.js +0 -60
- data/public/sources/javascripts/dragdrop.js +0 -972
- data/public/sources/javascripts/effects.js +0 -1120
- data/public/sources/javascripts/fckcustom.js +0 -28
- data/public/sources/javascripts/lang/default.js +0 -21
- data/public/sources/javascripts/lang/en_US.js +0 -21
- data/public/sources/javascripts/lang/fr_FR.js +0 -21
- data/public/sources/javascripts/lightbox.js +0 -202
- data/public/sources/javascripts/prototype.js +0 -4320
- data/public/sources/javascripts/quicktags.js +0 -511
- data/public/sources/javascripts/scriptaculous.js +0 -58
- data/public/sources/javascripts/slider.js +0 -258
- data/public/sources/javascripts/typo.js +0 -136
- data/public/sources/stylesheets/administration.css +0 -955
- data/public/sources/stylesheets/administration_rtl.css +0 -1026
- data/public/sources/stylesheets/codecollapse.css +0 -3
- data/public/sources/stylesheets/coderay.css +0 -126
- data/public/sources/stylesheets/lightbox.css +0 -62
- data/public/sources/stylesheets/rss.css +0 -54
- data/public/sources/stylesheets/textmate/dawn.css +0 -209
- data/public/sources/stylesheets/textmate/iplastic.css +0 -142
- data/public/sources/stylesheets/textmate/space_cadet.css +0 -99
- data/public/sources/stylesheets/textmate/textmate.css +0 -48
- data/public/sources/stylesheets/textmate/twilight.css +0 -227
- data/public/sources/stylesheets/user-styles.css +0 -22
- data/spec/controllers/admin/article_preview_spec.rb +0 -20
- data/spec/models/typo_deprecated_spec.rb +0 -18
- data/vendor/actionwebservice/CHANGELOG +0 -320
- data/vendor/actionwebservice/MIT-LICENSE +0 -21
- data/vendor/actionwebservice/README +0 -381
- data/vendor/actionwebservice/Rakefile +0 -173
- data/vendor/actionwebservice/TODO +0 -32
- data/vendor/actionwebservice/examples/googlesearch/README +0 -143
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
- data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
- data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
- data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
- data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
- data/vendor/actionwebservice/examples/metaWeblog/README +0 -17
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
- data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
- data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
- data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
- data/vendor/actionwebservice/generators/web_service/USAGE +0 -28
- data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +0 -5
- data/vendor/actionwebservice/generators/web_service/templates/controller.rb +0 -8
- data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +0 -19
- data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +0 -29
- data/vendor/actionwebservice/lib/action_web_service.rb +0 -66
- data/vendor/actionwebservice/lib/action_web_service/api.rb +0 -297
- data/vendor/actionwebservice/lib/action_web_service/base.rb +0 -38
- data/vendor/actionwebservice/lib/action_web_service/casting.rb +0 -144
- data/vendor/actionwebservice/lib/action_web_service/client.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/client/base.rb +0 -28
- data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
- data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
- data/vendor/actionwebservice/lib/action_web_service/container.rb +0 -3
- data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
- data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
- data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
- data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
- data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
- data/vendor/actionwebservice/lib/action_web_service/invocation.rb +0 -202
- data/vendor/actionwebservice/lib/action_web_service/protocol.rb +0 -4
- data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
- data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
- data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -242
- data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
- data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +0 -281
- data/vendor/actionwebservice/lib/action_web_service/struct.rb +0 -64
- data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
- data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.html.erb +0 -65
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.html.erb +0 -6
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.html.erb +0 -29
- data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.html.erb +0 -30
- data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
- data/vendor/actionwebservice/lib/action_web_service/version.rb +0 -9
- data/vendor/actionwebservice/lib/actionwebservice.rb +0 -1
- data/vendor/actionwebservice/setup.rb +0 -1379
- data/vendor/actionwebservice/test/abstract_client.rb +0 -183
- data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -547
- data/vendor/actionwebservice/test/abstract_unit.rb +0 -33
- data/vendor/actionwebservice/test/api_test.rb +0 -102
- data/vendor/actionwebservice/test/apis/auto_load_api.rb +0 -3
- data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
- data/vendor/actionwebservice/test/base_test.rb +0 -42
- data/vendor/actionwebservice/test/casting_test.rb +0 -86
- data/vendor/actionwebservice/test/client_soap_test.rb +0 -155
- data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -153
- data/vendor/actionwebservice/test/container_test.rb +0 -73
- data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
- data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
- data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
- data/vendor/actionwebservice/test/fixtures/users.yml +0 -12
- data/vendor/actionwebservice/test/gencov +0 -3
- data/vendor/actionwebservice/test/invocation_test.rb +0 -185
- data/vendor/actionwebservice/test/run +0 -6
- data/vendor/actionwebservice/test/scaffolded_controller_test.rb +0 -146
- data/vendor/actionwebservice/test/struct_test.rb +0 -52
- data/vendor/actionwebservice/test/test_invoke_test.rb +0 -112
- data/vendor/bluecloth/CHANGES +0 -366
- data/vendor/bluecloth/LICENSE +0 -340
- data/vendor/bluecloth/README +0 -99
- data/vendor/bluecloth/bin/bluecloth +0 -83
- data/vendor/bluecloth/install.rb +0 -150
- data/vendor/bluecloth/lib/bluecloth.rb +0 -1144
- data/vendor/bluecloth/test.rb +0 -117
- data/vendor/bluecloth/tests/00_Class.tests.rb +0 -71
- data/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -1527
- data/vendor/bluecloth/tests/10_Bug.tests.rb +0 -57
- data/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -132
- data/vendor/bluecloth/tests/bctestcase.rb +0 -274
- data/vendor/bluecloth/tests/data/antsugar.txt +0 -34
- data/vendor/bluecloth/tests/data/ml-announce.txt +0 -17
- data/vendor/bluecloth/tests/data/re-overflow.txt +0 -67
- data/vendor/bluecloth/tests/data/re-overflow2.txt +0 -281
- data/vendor/bluecloth/utils.rb +0 -553
- data/vendor/cached_model/History.txt +0 -30
- data/vendor/cached_model/LICENSE.txt +0 -30
- data/vendor/cached_model/Manifest.txt +0 -7
- data/vendor/cached_model/README.txt +0 -96
- data/vendor/cached_model/Rakefile +0 -25
- data/vendor/cached_model/lib/cached_model.rb +0 -287
- data/vendor/cached_model/test/test_cached_model.rb +0 -593
- data/vendor/gems/calendar_date_select-1.15/.specification +0 -56
- data/vendor/gems/calendar_date_select-1.15/History.txt +0 -237
- data/vendor/gems/calendar_date_select-1.15/MIT-LICENSE +0 -20
- data/vendor/gems/calendar_date_select-1.15/Manifest.txt +0 -42
- data/vendor/gems/calendar_date_select-1.15/Rakefile +0 -31
- data/vendor/gems/calendar_date_select-1.15/Readme.txt +0 -16
- data/vendor/gems/calendar_date_select-1.15/init.rb +0 -1
- data/vendor/gems/calendar_date_select-1.15/js_test/functional/cds_test.html +0 -334
- data/vendor/gems/calendar_date_select-1.15/js_test/prototype.js +0 -4184
- data/vendor/gems/calendar_date_select-1.15/js_test/test.css +0 -40
- data/vendor/gems/calendar_date_select-1.15/js_test/unit/cds_helper_methods.html +0 -46
- data/vendor/gems/calendar_date_select-1.15/js_test/unittest.js +0 -564
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select.rb +0 -33
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/calendar_date_select.rb +0 -116
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/form_helpers.rb +0 -225
- data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/includes_helper.rb +0 -29
- data/vendor/gems/calendar_date_select-1.15/public/blank_iframe.html +0 -2
- data/vendor/gems/calendar_date_select-1.15/public/images/calendar_date_select/calendar.gif +0 -0
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_finnish.js +0 -32
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/de.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fr.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pl.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pt.js +0 -11
- data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/ru.js +0 -10
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/default.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/red.css +0 -135
- data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/calendar_date_select_spec.rb +0 -14
- data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/form_helpers_spec.rb +0 -166
- data/vendor/gems/calendar_date_select-1.15/spec/spec_helper.rb +0 -26
- data/vendor/gems/coderay-0.8.260/.specification +0 -115
- data/vendor/gems/coderay-0.8.260/FOLDERS +0 -53
- data/vendor/gems/coderay-0.8.260/LICENSE +0 -504
- data/vendor/gems/coderay-0.8.260/README +0 -128
- data/vendor/gems/coderay-0.8.260/bin/coderay +0 -82
- data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +0 -4
- data/vendor/gems/coderay-0.8.260/lib/coderay.rb +0 -321
- data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +0 -87
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +0 -182
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +0 -9
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +0 -49
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +0 -287
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +0 -124
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +0 -197
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +0 -26
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +0 -21
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +0 -77
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +0 -32
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +0 -44
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +0 -70
- data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +0 -22
- data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +0 -72
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +0 -211
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +0 -333
- data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +0 -123
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +0 -255
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +0 -15
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +0 -165
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +0 -181
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +0 -61
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +0 -150
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +0 -104
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +0 -177
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +0 -179
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +0 -419
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +0 -187
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +0 -106
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +0 -134
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +0 -18
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +0 -73
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +0 -381
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +0 -226
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +0 -142
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +0 -143
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +0 -154
- data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +0 -19
- data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +0 -20
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +0 -7
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +0 -146
- data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +0 -132
- data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +0 -82
- data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +0 -387
- data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +0 -220
- data/vendor/gems/htmlentities-4.0.0/.specification +0 -68
- data/vendor/gems/htmlentities-4.0.0/COPYING.txt +0 -21
- data/vendor/gems/htmlentities-4.0.0/History.txt +0 -47
- data/vendor/gems/htmlentities-4.0.0/README.txt +0 -44
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities.rb +0 -165
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/html4.rb +0 -257
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb +0 -27
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/string.rb +0 -26
- data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/xhtml1.rb +0 -258
- data/vendor/gems/htmlentities-4.0.0/test/entities_test.rb +0 -206
- data/vendor/gems/htmlentities-4.0.0/test/html4_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/legacy_test.rb +0 -34
- data/vendor/gems/htmlentities-4.0.0/test/roundtrip_test.rb +0 -94
- data/vendor/gems/htmlentities-4.0.0/test/string_test.rb +0 -24
- data/vendor/gems/htmlentities-4.0.0/test/test_all.rb +0 -3
- data/vendor/gems/htmlentities-4.0.0/test/xhtml1_test.rb +0 -23
- data/vendor/gems/json-1.1.3/.require_paths +0 -4
- data/vendor/gems/json-1.1.3/.specification +0 -58
- data/vendor/gems/json-1.1.3/CHANGES +0 -93
- data/vendor/gems/json-1.1.3/GPL +0 -340
- data/vendor/gems/json-1.1.3/README +0 -78
- data/vendor/gems/json-1.1.3/RUBY +0 -58
- data/vendor/gems/json-1.1.3/Rakefile +0 -309
- data/vendor/gems/json-1.1.3/TODO +0 -1
- data/vendor/gems/json-1.1.3/VERSION +0 -1
- data/vendor/gems/json-1.1.3/benchmarks/benchmark.txt +0 -133
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_generator.rb +0 -48
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_parser.rb +0 -26
- data/vendor/gems/json-1.1.3/benchmarks/benchmark_rails.rb +0 -26
- data/vendor/gems/json-1.1.3/bin/edit_json.rb +0 -10
- data/vendor/gems/json-1.1.3/bin/prettify_json.rb +0 -76
- data/vendor/gems/json-1.1.3/data/example.json +0 -1
- data/vendor/gems/json-1.1.3/data/index.html +0 -38
- data/vendor/gems/json-1.1.3/data/prototype.js +0 -4184
- data/vendor/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.c +0 -875
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.c +0 -182
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.h +0 -53
- data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/Makefile +0 -149
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/extconf.rb +0 -9
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.c +0 -1758
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.rl +0 -638
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.c +0 -154
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.h +0 -58
- data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
- data/vendor/gems/json-1.1.3/install.rb +0 -26
- data/vendor/gems/json-1.1.3/lib/json.rb +0 -235
- data/vendor/gems/json-1.1.3/lib/json/Array.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/FalseClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Hash.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Key.xpm +0 -73
- data/vendor/gems/json-1.1.3/lib/json/NilClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/Numeric.xpm +0 -28
- data/vendor/gems/json-1.1.3/lib/json/String.xpm +0 -96
- data/vendor/gems/json-1.1.3/lib/json/TrueClass.xpm +0 -21
- data/vendor/gems/json-1.1.3/lib/json/add/core.rb +0 -135
- data/vendor/gems/json-1.1.3/lib/json/add/rails.rb +0 -58
- data/vendor/gems/json-1.1.3/lib/json/common.rb +0 -354
- data/vendor/gems/json-1.1.3/lib/json/editor.rb +0 -1362
- data/vendor/gems/json-1.1.3/lib/json/ext.rb +0 -13
- data/vendor/gems/json-1.1.3/lib/json/json.xpm +0 -1499
- data/vendor/gems/json-1.1.3/lib/json/pure.rb +0 -75
- data/vendor/gems/json-1.1.3/lib/json/pure/generator.rb +0 -394
- data/vendor/gems/json-1.1.3/lib/json/pure/parser.rb +0 -259
- data/vendor/gems/json-1.1.3/lib/json/version.rb +0 -9
- data/vendor/gems/json-1.1.3/tests/fixtures/fail1.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail10.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail11.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail12.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail13.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail14.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail18.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail19.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail20.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail21.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail22.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail23.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail24.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail25.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail27.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail28.json +0 -2
- data/vendor/gems/json-1.1.3/tests/fixtures/fail3.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail4.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail5.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail6.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail7.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail8.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/fail9.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass1.json +0 -56
- data/vendor/gems/json-1.1.3/tests/fixtures/pass15.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass16.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass17.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass2.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass26.json +0 -1
- data/vendor/gems/json-1.1.3/tests/fixtures/pass3.json +0 -6
- data/vendor/gems/json-1.1.3/tests/runner.rb +0 -25
- data/vendor/gems/json-1.1.3/tests/test_json.rb +0 -293
- data/vendor/gems/json-1.1.3/tests/test_json_addition.rb +0 -161
- data/vendor/gems/json-1.1.3/tests/test_json_fixtures.rb +0 -30
- data/vendor/gems/json-1.1.3/tests/test_json_generate.rb +0 -100
- data/vendor/gems/json-1.1.3/tests/test_json_rails.rb +0 -118
- data/vendor/gems/json-1.1.3/tests/test_json_unicode.rb +0 -61
- data/vendor/gems/json-1.1.3/tools/fuzz.rb +0 -140
- data/vendor/gems/json-1.1.3/tools/server.rb +0 -62
- data/vendor/memcache-client/History.txt +0 -25
- data/vendor/memcache-client/LICENSE.txt +0 -30
- data/vendor/memcache-client/Manifest.txt +0 -8
- data/vendor/memcache-client/README.txt +0 -46
- data/vendor/memcache-client/Rakefile +0 -23
- data/vendor/memcache-client/lib/memcache.rb +0 -490
- data/vendor/memcache-client/lib/memcache_util.rb +0 -71
- data/vendor/memcache-client/test/test_mem_cache.rb +0 -284
- data/vendor/plugins/datestamped_resources/README +0 -4
- data/vendor/plugins/datestamped_resources/Rakefile +0 -22
- data/vendor/plugins/datestamped_resources/init.rb +0 -2
- data/vendor/plugins/datestamped_resources/install.rb +0 -1
- data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +0 -203
- data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +0 -4
- data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +0 -8
- data/vendor/plugins/datestamped_resources/uninstall.rb +0 -1
- data/vendor/plugins/fckeditor/CHANGELOG +0 -3
- data/vendor/plugins/fckeditor/README +0 -118
- data/vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb +0 -159
- data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +0 -2
- data/vendor/plugins/fckeditor/app/views/fckeditor/spell_check.rhtml +0 -52
- data/vendor/plugins/fckeditor/init.rb +0 -35
- data/vendor/plugins/fckeditor/install.rb +0 -12
- data/vendor/plugins/fckeditor/lib/fckeditor.rb +0 -101
- data/vendor/plugins/fckeditor/lib/fckeditor_file_utils.rb +0 -81
- data/vendor/plugins/fckeditor/lib/fckeditor_spell_check.rb +0 -43
- data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +0 -9
- data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +0 -97
- data/vendor/plugins/fckeditor/test/fckeditor_test.rb +0 -8
- data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -110
- data/vendor/plugins/will_paginate/LICENSE +0 -18
- data/vendor/plugins/will_paginate/README.rdoc +0 -107
- data/vendor/plugins/will_paginate/Rakefile +0 -62
- data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
- data/vendor/plugins/will_paginate/examples/index.haml +0 -69
- data/vendor/plugins/will_paginate/examples/index.html +0 -92
- data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
- data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
- data/vendor/plugins/will_paginate/init.rb +0 -1
- data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -82
- data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
- data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
- data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -32
- data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -260
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
- data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
- data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
- data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -383
- data/vendor/plugins/will_paginate/test/boot.rb +0 -21
- data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
- data/vendor/plugins/will_paginate/test/console +0 -8
- data/vendor/plugins/will_paginate/test/database.yml +0 -22
- data/vendor/plugins/will_paginate/test/finder_test.rb +0 -476
- data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
- data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
- data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
- data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
- data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
- data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
- data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
- data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
- data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
- data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
- data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
- data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
- data/vendor/plugins/will_paginate/test/helper.rb +0 -37
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -36
- data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -73
- data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
- data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -165
- data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
- data/vendor/plugins/will_paginate/test/view_test.rb +0 -363
- data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -22
- data/vendor/redcloth/RedCloth.gemspec +0 -52
- data/vendor/redcloth/bin/redcloth +0 -3
- data/vendor/redcloth/doc/CHANGELOG +0 -160
- data/vendor/redcloth/doc/COPYING +0 -25
- data/vendor/redcloth/doc/README +0 -106
- data/vendor/redcloth/doc/REFERENCE +0 -216
- data/vendor/redcloth/doc/make.rb +0 -359
- data/vendor/redcloth/install.rb +0 -1032
- data/vendor/redcloth/lib/redcloth.rb +0 -1130
- data/vendor/redcloth/run-tests.rb +0 -28
- data/vendor/redcloth/setup.rb +0 -1376
- data/vendor/redcloth/tests/code.yml +0 -105
- data/vendor/redcloth/tests/hard_breaks.yml +0 -26
- data/vendor/redcloth/tests/images.yml +0 -171
- data/vendor/redcloth/tests/instiki.yml +0 -39
- data/vendor/redcloth/tests/links.yml +0 -155
- data/vendor/redcloth/tests/lists.yml +0 -77
- data/vendor/redcloth/tests/markdown.yml +0 -218
- data/vendor/redcloth/tests/poignant.yml +0 -64
- data/vendor/redcloth/tests/table.yml +0 -198
- data/vendor/redcloth/tests/textism.yml +0 -406
- data/vendor/sparklines/README.txt +0 -47
- data/vendor/sparklines/USAGE +0 -14
- data/vendor/sparklines/lib/sparklines.rb +0 -435
- data/vendor/sparklines/samples/sparklinestest.rb +0 -26
- data/vendor/sparklines/sparklines_generator.rb +0 -9
- data/vendor/sparklines/templates/sparklines_controller.rb +0 -30
- data/vendor/sparklines/templates/sparklines_helper.rb +0 -30
Binary file
|
@@ -1,149 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
#### Start of system configuration section. ####
|
5
|
-
|
6
|
-
srcdir = .
|
7
|
-
topdir = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
|
8
|
-
hdrdir = $(topdir)
|
9
|
-
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
-
prefix = $(DESTDIR)/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
|
11
|
-
exec_prefix = $(prefix)
|
12
|
-
sitedir = $(DESTDIR)/Library/Ruby/Site
|
13
|
-
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
14
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
15
|
-
dvidir = $(docdir)
|
16
|
-
datarootdir = $(prefix)/share
|
17
|
-
archdir = $(rubylibdir)/$(arch)
|
18
|
-
sbindir = $(exec_prefix)/sbin
|
19
|
-
psdir = $(docdir)
|
20
|
-
localedir = $(datarootdir)/locale
|
21
|
-
htmldir = $(docdir)
|
22
|
-
datadir = $(datarootdir)
|
23
|
-
includedir = $(prefix)/include
|
24
|
-
infodir = $(DESTDIR)/usr/share/info
|
25
|
-
sysconfdir = $(prefix)/etc
|
26
|
-
mandir = $(DESTDIR)/usr/share/man
|
27
|
-
libdir = $(exec_prefix)/lib
|
28
|
-
sharedstatedir = $(prefix)/com
|
29
|
-
oldincludedir = $(DESTDIR)/usr/include
|
30
|
-
pdfdir = $(docdir)
|
31
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
-
bindir = $(exec_prefix)/bin
|
33
|
-
localstatedir = $(prefix)/var
|
34
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
-
libexecdir = $(exec_prefix)/libexec
|
36
|
-
|
37
|
-
CC = gcc
|
38
|
-
LIBRUBY = $(LIBRUBY_SO)
|
39
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
40
|
-
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
41
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
|
42
|
-
|
43
|
-
RUBY_EXTCONF_H =
|
44
|
-
CFLAGS = -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -Wall
|
45
|
-
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
46
|
-
CPPFLAGS =
|
47
|
-
CXXFLAGS = $(CFLAGS)
|
48
|
-
DLDFLAGS = -L. -arch ppc -arch i386
|
49
|
-
LDSHARED = cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup
|
50
|
-
AR = ar
|
51
|
-
EXEEXT =
|
52
|
-
|
53
|
-
RUBY_INSTALL_NAME = ruby
|
54
|
-
RUBY_SO_NAME = ruby
|
55
|
-
arch = universal-darwin9.0
|
56
|
-
sitearch = universal-darwin9.0
|
57
|
-
ruby_version = 1.8
|
58
|
-
ruby = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
59
|
-
RUBY = $(ruby)
|
60
|
-
RM = rm -f
|
61
|
-
MAKEDIRS = mkdir -p
|
62
|
-
INSTALL = /usr/bin/install -c
|
63
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
64
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
65
|
-
COPY = cp
|
66
|
-
|
67
|
-
#### End of system configuration section. ####
|
68
|
-
|
69
|
-
preload =
|
70
|
-
|
71
|
-
libpath = . $(libdir)
|
72
|
-
LIBPATH = -L"." -L"$(libdir)"
|
73
|
-
DEFFILE =
|
74
|
-
|
75
|
-
CLEANFILES = mkmf.log
|
76
|
-
DISTCLEANFILES =
|
77
|
-
|
78
|
-
extout =
|
79
|
-
extout_prefix =
|
80
|
-
target_prefix =
|
81
|
-
LOCAL_LIBS =
|
82
|
-
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lm
|
83
|
-
SRCS = generator.c unicode.c
|
84
|
-
OBJS = generator.o unicode.o
|
85
|
-
TARGET = generator
|
86
|
-
DLLIB = $(TARGET).bundle
|
87
|
-
EXTSTATIC =
|
88
|
-
STATIC_LIB =
|
89
|
-
|
90
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
91
|
-
RUBYLIBDIR = /Users/neuro/Documents/code/typo/master/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
92
|
-
RUBYARCHDIR = /Users/neuro/Documents/code/typo/master/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
|
93
|
-
|
94
|
-
TARGET_SO = $(DLLIB)
|
95
|
-
CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
|
96
|
-
CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
|
97
|
-
|
98
|
-
all: $(DLLIB)
|
99
|
-
static: $(STATIC_LIB)
|
100
|
-
|
101
|
-
clean:
|
102
|
-
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
103
|
-
|
104
|
-
distclean: clean
|
105
|
-
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
106
|
-
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
107
|
-
|
108
|
-
realclean: distclean
|
109
|
-
install: install-so install-rb
|
110
|
-
|
111
|
-
install-so: $(RUBYARCHDIR)
|
112
|
-
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
113
|
-
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
114
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
115
|
-
install-rb: pre-install-rb install-rb-default
|
116
|
-
install-rb-default: pre-install-rb-default
|
117
|
-
pre-install-rb: Makefile
|
118
|
-
pre-install-rb-default: Makefile
|
119
|
-
$(RUBYARCHDIR):
|
120
|
-
$(MAKEDIRS) $@
|
121
|
-
|
122
|
-
site-install: site-install-so site-install-rb
|
123
|
-
site-install-so: install-so
|
124
|
-
site-install-rb: install-rb
|
125
|
-
|
126
|
-
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
127
|
-
|
128
|
-
.cc.o:
|
129
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
130
|
-
|
131
|
-
.cxx.o:
|
132
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
133
|
-
|
134
|
-
.cpp.o:
|
135
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
136
|
-
|
137
|
-
.C.o:
|
138
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
139
|
-
|
140
|
-
.c.o:
|
141
|
-
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
|
142
|
-
|
143
|
-
$(DLLIB): $(OBJS)
|
144
|
-
@-$(RM) $@
|
145
|
-
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
$(OBJS): ruby.h defines.h
|
Binary file
|
@@ -1,875 +0,0 @@
|
|
1
|
-
#include <string.h>
|
2
|
-
#include "ruby.h"
|
3
|
-
#include "st.h"
|
4
|
-
#include "unicode.h"
|
5
|
-
#include <math.h>
|
6
|
-
|
7
|
-
#define check_max_nesting(state, depth) do { \
|
8
|
-
long current_nesting = 1 + depth; \
|
9
|
-
if (state->max_nesting != 0 && current_nesting > state->max_nesting) \
|
10
|
-
rb_raise(eNestingError, "nesting of %ld is too deep", current_nesting); \
|
11
|
-
} while (0);
|
12
|
-
|
13
|
-
static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,
|
14
|
-
mHash, mArray, mInteger, mFloat, mString, mString_Extend,
|
15
|
-
mTrueClass, mFalseClass, mNilClass, eGeneratorError,
|
16
|
-
eCircularDatastructure, eNestingError;
|
17
|
-
|
18
|
-
static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
|
19
|
-
i_object_nl, i_array_nl, i_check_circular, i_max_nesting,
|
20
|
-
i_allow_nan, i_pack, i_unpack, i_create_id, i_extend;
|
21
|
-
|
22
|
-
typedef struct JSON_Generator_StateStruct {
|
23
|
-
VALUE indent;
|
24
|
-
VALUE space;
|
25
|
-
VALUE space_before;
|
26
|
-
VALUE object_nl;
|
27
|
-
VALUE array_nl;
|
28
|
-
int check_circular;
|
29
|
-
VALUE seen;
|
30
|
-
VALUE memo;
|
31
|
-
VALUE depth;
|
32
|
-
long max_nesting;
|
33
|
-
int flag;
|
34
|
-
int allow_nan;
|
35
|
-
} JSON_Generator_State;
|
36
|
-
|
37
|
-
#define GET_STATE(self) \
|
38
|
-
JSON_Generator_State *state; \
|
39
|
-
Data_Get_Struct(self, JSON_Generator_State, state);
|
40
|
-
|
41
|
-
/*
|
42
|
-
* Document-module: JSON::Ext::Generator
|
43
|
-
*
|
44
|
-
* This is the JSON generator implemented as a C extension. It can be
|
45
|
-
* configured to be used by setting
|
46
|
-
*
|
47
|
-
* JSON.generator = JSON::Ext::Generator
|
48
|
-
*
|
49
|
-
* with the method generator= in JSON.
|
50
|
-
*
|
51
|
-
*/
|
52
|
-
|
53
|
-
static int hash_to_json_state_i(VALUE key, VALUE value, VALUE Vstate)
|
54
|
-
{
|
55
|
-
VALUE json, buf, Vdepth;
|
56
|
-
GET_STATE(Vstate);
|
57
|
-
buf = state->memo;
|
58
|
-
Vdepth = state->depth;
|
59
|
-
|
60
|
-
if (key == Qundef) return ST_CONTINUE;
|
61
|
-
if (state->flag) {
|
62
|
-
state->flag = 0;
|
63
|
-
rb_str_buf_cat2(buf, ",");
|
64
|
-
if (RSTRING_LEN(state->object_nl)) rb_str_buf_append(buf, state->object_nl);
|
65
|
-
}
|
66
|
-
if (RSTRING_LEN(state->object_nl)) {
|
67
|
-
rb_str_buf_append(buf, rb_str_times(state->indent, Vdepth));
|
68
|
-
}
|
69
|
-
json = rb_funcall(rb_funcall(key, i_to_s, 0), i_to_json, 2, Vstate, Vdepth);
|
70
|
-
Check_Type(json, T_STRING);
|
71
|
-
rb_str_buf_append(buf, json);
|
72
|
-
OBJ_INFECT(buf, json);
|
73
|
-
if (RSTRING_LEN(state->space_before)) {
|
74
|
-
rb_str_buf_append(buf, state->space_before);
|
75
|
-
}
|
76
|
-
rb_str_buf_cat2(buf, ":");
|
77
|
-
if (RSTRING_LEN(state->space)) rb_str_buf_append(buf, state->space);
|
78
|
-
json = rb_funcall(value, i_to_json, 2, Vstate, Vdepth);
|
79
|
-
Check_Type(json, T_STRING);
|
80
|
-
state->flag = 1;
|
81
|
-
rb_str_buf_append(buf, json);
|
82
|
-
OBJ_INFECT(buf, json);
|
83
|
-
state->depth = Vdepth;
|
84
|
-
state->memo = buf;
|
85
|
-
return ST_CONTINUE;
|
86
|
-
}
|
87
|
-
|
88
|
-
inline static VALUE mHash_json_transfrom(VALUE self, VALUE Vstate, VALUE Vdepth) {
|
89
|
-
long depth, len = RHASH(self)->tbl->num_entries;
|
90
|
-
VALUE result;
|
91
|
-
GET_STATE(Vstate);
|
92
|
-
|
93
|
-
depth = 1 + FIX2LONG(Vdepth);
|
94
|
-
result = rb_str_buf_new(len);
|
95
|
-
state->memo = result;
|
96
|
-
state->depth = LONG2FIX(depth);
|
97
|
-
state->flag = 0;
|
98
|
-
rb_str_buf_cat2(result, "{");
|
99
|
-
if (RSTRING_LEN(state->object_nl)) rb_str_buf_append(result, state->object_nl);
|
100
|
-
rb_hash_foreach(self, hash_to_json_state_i, Vstate);
|
101
|
-
if (RSTRING_LEN(state->object_nl)) rb_str_buf_append(result, state->object_nl);
|
102
|
-
if (RSTRING_LEN(state->object_nl)) {
|
103
|
-
rb_str_buf_append(result, rb_str_times(state->indent, Vdepth));
|
104
|
-
}
|
105
|
-
rb_str_buf_cat2(result, "}");
|
106
|
-
return result;
|
107
|
-
}
|
108
|
-
|
109
|
-
static int hash_to_json_i(VALUE key, VALUE value, VALUE buf)
|
110
|
-
{
|
111
|
-
VALUE tmp;
|
112
|
-
|
113
|
-
if (key == Qundef) return ST_CONTINUE;
|
114
|
-
if (RSTRING_LEN(buf) > 1) rb_str_buf_cat2(buf, ",");
|
115
|
-
tmp = rb_funcall(rb_funcall(key, i_to_s, 0), i_to_json, 0);
|
116
|
-
Check_Type(tmp, T_STRING);
|
117
|
-
rb_str_buf_append(buf, tmp);
|
118
|
-
OBJ_INFECT(buf, tmp);
|
119
|
-
rb_str_buf_cat2(buf, ":");
|
120
|
-
tmp = rb_funcall(value, i_to_json, 0);
|
121
|
-
Check_Type(tmp, T_STRING);
|
122
|
-
rb_str_buf_append(buf, tmp);
|
123
|
-
OBJ_INFECT(buf, tmp);
|
124
|
-
|
125
|
-
return ST_CONTINUE;
|
126
|
-
}
|
127
|
-
|
128
|
-
/*
|
129
|
-
* call-seq: to_json(state = nil, depth = 0)
|
130
|
-
*
|
131
|
-
* Returns a JSON string containing a JSON object, that is unparsed from
|
132
|
-
* this Hash instance.
|
133
|
-
* _state_ is a JSON::State object, that can also be used to configure the
|
134
|
-
* produced JSON string output further.
|
135
|
-
* _depth_ is used to find out nesting depth, to indent accordingly.
|
136
|
-
*/
|
137
|
-
static VALUE mHash_to_json(int argc, VALUE *argv, VALUE self)
|
138
|
-
{
|
139
|
-
VALUE Vstate, Vdepth, result;
|
140
|
-
long depth;
|
141
|
-
|
142
|
-
rb_scan_args(argc, argv, "02", &Vstate, &Vdepth);
|
143
|
-
depth = NIL_P(Vdepth) ? 0 : FIX2LONG(Vdepth);
|
144
|
-
if (NIL_P(Vstate)) {
|
145
|
-
long len = RHASH(self)->tbl->num_entries;
|
146
|
-
result = rb_str_buf_new(len);
|
147
|
-
rb_str_buf_cat2(result, "{");
|
148
|
-
rb_hash_foreach(self, hash_to_json_i, result);
|
149
|
-
rb_str_buf_cat2(result, "}");
|
150
|
-
} else {
|
151
|
-
GET_STATE(Vstate);
|
152
|
-
check_max_nesting(state, depth);
|
153
|
-
if (state->check_circular) {
|
154
|
-
VALUE self_id = rb_obj_id(self);
|
155
|
-
if (RTEST(rb_hash_aref(state->seen, self_id))) {
|
156
|
-
rb_raise(eCircularDatastructure,
|
157
|
-
"circular data structures not supported!");
|
158
|
-
}
|
159
|
-
rb_hash_aset(state->seen, self_id, Qtrue);
|
160
|
-
result = mHash_json_transfrom(self, Vstate, LONG2FIX(depth));
|
161
|
-
rb_hash_delete(state->seen, self_id);
|
162
|
-
} else {
|
163
|
-
result = mHash_json_transfrom(self, Vstate, LONG2FIX(depth));
|
164
|
-
}
|
165
|
-
}
|
166
|
-
OBJ_INFECT(result, self);
|
167
|
-
return result;
|
168
|
-
}
|
169
|
-
|
170
|
-
inline static VALUE mArray_json_transfrom(VALUE self, VALUE Vstate, VALUE Vdepth) {
|
171
|
-
long i, len = RARRAY_LEN(self);
|
172
|
-
VALUE shift, result;
|
173
|
-
long depth = NIL_P(Vdepth) ? 0 : FIX2LONG(Vdepth);
|
174
|
-
VALUE delim = rb_str_new2(",");
|
175
|
-
GET_STATE(Vstate);
|
176
|
-
|
177
|
-
check_max_nesting(state, depth);
|
178
|
-
if (state->check_circular) {
|
179
|
-
VALUE self_id = rb_obj_id(self);
|
180
|
-
rb_hash_aset(state->seen, self_id, Qtrue);
|
181
|
-
result = rb_str_buf_new(len);
|
182
|
-
if (RSTRING_LEN(state->array_nl)) rb_str_append(delim, state->array_nl);
|
183
|
-
shift = rb_str_times(state->indent, LONG2FIX(depth + 1));
|
184
|
-
|
185
|
-
rb_str_buf_cat2(result, "[");
|
186
|
-
OBJ_INFECT(result, self);
|
187
|
-
rb_str_buf_append(result, state->array_nl);
|
188
|
-
for (i = 0; i < len; i++) {
|
189
|
-
VALUE element = RARRAY_PTR(self)[i];
|
190
|
-
if (RTEST(rb_hash_aref(state->seen, rb_obj_id(element)))) {
|
191
|
-
rb_raise(eCircularDatastructure,
|
192
|
-
"circular data structures not supported!");
|
193
|
-
}
|
194
|
-
OBJ_INFECT(result, element);
|
195
|
-
if (i > 0) rb_str_buf_append(result, delim);
|
196
|
-
rb_str_buf_append(result, shift);
|
197
|
-
element = rb_funcall(element, i_to_json, 2, Vstate, LONG2FIX(depth + 1));
|
198
|
-
Check_Type(element, T_STRING);
|
199
|
-
rb_str_buf_append(result, element);
|
200
|
-
}
|
201
|
-
if (RSTRING_LEN(state->array_nl)) {
|
202
|
-
rb_str_buf_append(result, state->array_nl);
|
203
|
-
rb_str_buf_append(result, rb_str_times(state->indent, LONG2FIX(depth)));
|
204
|
-
}
|
205
|
-
rb_str_buf_cat2(result, "]");
|
206
|
-
rb_hash_delete(state->seen, self_id);
|
207
|
-
} else {
|
208
|
-
result = rb_str_buf_new(len);
|
209
|
-
OBJ_INFECT(result, self);
|
210
|
-
if (RSTRING_LEN(state->array_nl)) rb_str_append(delim, state->array_nl);
|
211
|
-
shift = rb_str_times(state->indent, LONG2FIX(depth + 1));
|
212
|
-
|
213
|
-
rb_str_buf_cat2(result, "[");
|
214
|
-
rb_str_buf_append(result, state->array_nl);
|
215
|
-
for (i = 0; i < len; i++) {
|
216
|
-
VALUE element = RARRAY_PTR(self)[i];
|
217
|
-
OBJ_INFECT(result, element);
|
218
|
-
if (i > 0) rb_str_buf_append(result, delim);
|
219
|
-
rb_str_buf_append(result, shift);
|
220
|
-
element = rb_funcall(element, i_to_json, 2, Vstate, LONG2FIX(depth + 1));
|
221
|
-
Check_Type(element, T_STRING);
|
222
|
-
rb_str_buf_append(result, element);
|
223
|
-
}
|
224
|
-
rb_str_buf_append(result, state->array_nl);
|
225
|
-
if (RSTRING_LEN(state->array_nl)) {
|
226
|
-
rb_str_buf_append(result, rb_str_times(state->indent, LONG2FIX(depth)));
|
227
|
-
}
|
228
|
-
rb_str_buf_cat2(result, "]");
|
229
|
-
}
|
230
|
-
return result;
|
231
|
-
}
|
232
|
-
|
233
|
-
/*
|
234
|
-
* call-seq: to_json(state = nil, depth = 0)
|
235
|
-
*
|
236
|
-
* Returns a JSON string containing a JSON array, that is unparsed from
|
237
|
-
* this Array instance.
|
238
|
-
* _state_ is a JSON::State object, that can also be used to configure the
|
239
|
-
* produced JSON string output further.
|
240
|
-
* _depth_ is used to find out nesting depth, to indent accordingly.
|
241
|
-
*/
|
242
|
-
static VALUE mArray_to_json(int argc, VALUE *argv, VALUE self) {
|
243
|
-
VALUE Vstate, Vdepth, result;
|
244
|
-
|
245
|
-
rb_scan_args(argc, argv, "02", &Vstate, &Vdepth);
|
246
|
-
if (NIL_P(Vstate)) {
|
247
|
-
long i, len = RARRAY_LEN(self);
|
248
|
-
result = rb_str_buf_new(2 + 2 * len);
|
249
|
-
rb_str_buf_cat2(result, "[");
|
250
|
-
OBJ_INFECT(result, self);
|
251
|
-
for (i = 0; i < len; i++) {
|
252
|
-
VALUE element = RARRAY_PTR(self)[i];
|
253
|
-
OBJ_INFECT(result, element);
|
254
|
-
if (i > 0) rb_str_buf_cat2(result, ",");
|
255
|
-
element = rb_funcall(element, i_to_json, 0);
|
256
|
-
Check_Type(element, T_STRING);
|
257
|
-
rb_str_buf_append(result, element);
|
258
|
-
}
|
259
|
-
rb_str_buf_cat2(result, "]");
|
260
|
-
} else {
|
261
|
-
result = mArray_json_transfrom(self, Vstate, Vdepth);
|
262
|
-
}
|
263
|
-
OBJ_INFECT(result, self);
|
264
|
-
return result;
|
265
|
-
}
|
266
|
-
|
267
|
-
/*
|
268
|
-
* call-seq: to_json(*)
|
269
|
-
*
|
270
|
-
* Returns a JSON string representation for this Integer number.
|
271
|
-
*/
|
272
|
-
static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self)
|
273
|
-
{
|
274
|
-
return rb_funcall(self, i_to_s, 0);
|
275
|
-
}
|
276
|
-
|
277
|
-
/*
|
278
|
-
* call-seq: to_json(*)
|
279
|
-
*
|
280
|
-
* Returns a JSON string representation for this Float number.
|
281
|
-
*/
|
282
|
-
static VALUE mFloat_to_json(int argc, VALUE *argv, VALUE self)
|
283
|
-
{
|
284
|
-
JSON_Generator_State *state = NULL;
|
285
|
-
VALUE Vstate, rest, tmp;
|
286
|
-
double value = RFLOAT(self)->value;
|
287
|
-
rb_scan_args(argc, argv, "01*", &Vstate, &rest);
|
288
|
-
if (!NIL_P(Vstate)) Data_Get_Struct(Vstate, JSON_Generator_State, state);
|
289
|
-
if (isinf(value)) {
|
290
|
-
if (!state || state->allow_nan) {
|
291
|
-
return rb_funcall(self, i_to_s, 0);
|
292
|
-
} else {
|
293
|
-
tmp = rb_funcall(self, i_to_s, 0);
|
294
|
-
rb_raise(eGeneratorError, "%u: %s not allowed in JSON", __LINE__, StringValueCStr(tmp));
|
295
|
-
}
|
296
|
-
} else if (isnan(value)) {
|
297
|
-
if (!state || state->allow_nan) {
|
298
|
-
return rb_funcall(self, i_to_s, 0);
|
299
|
-
} else {
|
300
|
-
tmp = rb_funcall(self, i_to_s, 0);
|
301
|
-
rb_raise(eGeneratorError, "%u: %s not allowed in JSON", __LINE__, StringValueCStr(tmp));
|
302
|
-
}
|
303
|
-
} else {
|
304
|
-
return rb_funcall(self, i_to_s, 0);
|
305
|
-
}
|
306
|
-
}
|
307
|
-
|
308
|
-
/*
|
309
|
-
* call-seq: String.included(modul)
|
310
|
-
*
|
311
|
-
* Extends _modul_ with the String::Extend module.
|
312
|
-
*/
|
313
|
-
static VALUE mString_included_s(VALUE self, VALUE modul) {
|
314
|
-
return rb_funcall(modul, i_extend, 1, mString_Extend);
|
315
|
-
}
|
316
|
-
|
317
|
-
/*
|
318
|
-
* call-seq: to_json(*)
|
319
|
-
*
|
320
|
-
* This string should be encoded with UTF-8 A call to this method
|
321
|
-
* returns a JSON string encoded with UTF16 big endian characters as
|
322
|
-
* \u????.
|
323
|
-
*/
|
324
|
-
static VALUE mString_to_json(int argc, VALUE *argv, VALUE self)
|
325
|
-
{
|
326
|
-
VALUE result = rb_str_buf_new(RSTRING_LEN(self));
|
327
|
-
rb_str_buf_cat2(result, "\"");
|
328
|
-
JSON_convert_UTF8_to_JSON(result, self, strictConversion);
|
329
|
-
rb_str_buf_cat2(result, "\"");
|
330
|
-
return result;
|
331
|
-
}
|
332
|
-
|
333
|
-
/*
|
334
|
-
* call-seq: to_json_raw_object()
|
335
|
-
*
|
336
|
-
* This method creates a raw object hash, that can be nested into
|
337
|
-
* other data structures and will be unparsed as a raw string. This
|
338
|
-
* method should be used, if you want to convert raw strings to JSON
|
339
|
-
* instead of UTF-8 strings, e. g. binary data.
|
340
|
-
*/
|
341
|
-
static VALUE mString_to_json_raw_object(VALUE self) {
|
342
|
-
VALUE ary;
|
343
|
-
VALUE result = rb_hash_new();
|
344
|
-
rb_hash_aset(result, rb_funcall(mJSON, i_create_id, 0), rb_class_name(rb_obj_class(self)));
|
345
|
-
ary = rb_funcall(self, i_unpack, 1, rb_str_new2("C*"));
|
346
|
-
rb_hash_aset(result, rb_str_new2("raw"), ary);
|
347
|
-
return result;
|
348
|
-
}
|
349
|
-
|
350
|
-
/*
|
351
|
-
* call-seq: to_json_raw(*args)
|
352
|
-
*
|
353
|
-
* This method creates a JSON text from the result of a call to
|
354
|
-
* to_json_raw_object of this String.
|
355
|
-
*/
|
356
|
-
static VALUE mString_to_json_raw(int argc, VALUE *argv, VALUE self) {
|
357
|
-
VALUE obj = mString_to_json_raw_object(self);
|
358
|
-
Check_Type(obj, T_HASH);
|
359
|
-
return mHash_to_json(argc, argv, obj);
|
360
|
-
}
|
361
|
-
|
362
|
-
/*
|
363
|
-
* call-seq: json_create(o)
|
364
|
-
*
|
365
|
-
* Raw Strings are JSON Objects (the raw bytes are stored in an array for the
|
366
|
-
* key "raw"). The Ruby String can be created by this module method.
|
367
|
-
*/
|
368
|
-
static VALUE mString_Extend_json_create(VALUE self, VALUE o) {
|
369
|
-
VALUE ary;
|
370
|
-
Check_Type(o, T_HASH);
|
371
|
-
ary = rb_hash_aref(o, rb_str_new2("raw"));
|
372
|
-
return rb_funcall(ary, i_pack, 1, rb_str_new2("C*"));
|
373
|
-
}
|
374
|
-
|
375
|
-
/*
|
376
|
-
* call-seq: to_json(state = nil, depth = 0)
|
377
|
-
*
|
378
|
-
* Returns a JSON string for true: 'true'.
|
379
|
-
*/
|
380
|
-
static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)
|
381
|
-
{
|
382
|
-
return rb_str_new2("true");
|
383
|
-
}
|
384
|
-
|
385
|
-
/*
|
386
|
-
* call-seq: to_json(state = nil, depth = 0)
|
387
|
-
*
|
388
|
-
* Returns a JSON string for false: 'false'.
|
389
|
-
*/
|
390
|
-
static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)
|
391
|
-
{
|
392
|
-
return rb_str_new2("false");
|
393
|
-
}
|
394
|
-
|
395
|
-
/*
|
396
|
-
* call-seq: to_json(state = nil, depth = 0)
|
397
|
-
*
|
398
|
-
*/
|
399
|
-
static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
|
400
|
-
{
|
401
|
-
return rb_str_new2("null");
|
402
|
-
}
|
403
|
-
|
404
|
-
/*
|
405
|
-
* call-seq: to_json(*)
|
406
|
-
*
|
407
|
-
* Converts this object to a string (calling #to_s), converts
|
408
|
-
* it to a JSON string, and returns the result. This is a fallback, if no
|
409
|
-
* special method #to_json was defined for some object.
|
410
|
-
*/
|
411
|
-
static VALUE mObject_to_json(int argc, VALUE *argv, VALUE self)
|
412
|
-
{
|
413
|
-
VALUE string = rb_funcall(self, i_to_s, 0);
|
414
|
-
Check_Type(string, T_STRING);
|
415
|
-
return mString_to_json(argc, argv, string);
|
416
|
-
}
|
417
|
-
|
418
|
-
/*
|
419
|
-
* Document-class: JSON::Ext::Generator::State
|
420
|
-
*
|
421
|
-
* This class is used to create State instances, that are use to hold data
|
422
|
-
* while generating a JSON text from a a Ruby data structure.
|
423
|
-
*/
|
424
|
-
|
425
|
-
static void State_mark(JSON_Generator_State *state)
|
426
|
-
{
|
427
|
-
rb_gc_mark_maybe(state->indent);
|
428
|
-
rb_gc_mark_maybe(state->space);
|
429
|
-
rb_gc_mark_maybe(state->space_before);
|
430
|
-
rb_gc_mark_maybe(state->object_nl);
|
431
|
-
rb_gc_mark_maybe(state->array_nl);
|
432
|
-
rb_gc_mark_maybe(state->seen);
|
433
|
-
rb_gc_mark_maybe(state->memo);
|
434
|
-
rb_gc_mark_maybe(state->depth);
|
435
|
-
}
|
436
|
-
|
437
|
-
static JSON_Generator_State *State_allocate()
|
438
|
-
{
|
439
|
-
JSON_Generator_State *state = ALLOC(JSON_Generator_State);
|
440
|
-
return state;
|
441
|
-
}
|
442
|
-
|
443
|
-
static VALUE cState_s_allocate(VALUE klass)
|
444
|
-
{
|
445
|
-
JSON_Generator_State *state = State_allocate();
|
446
|
-
return Data_Wrap_Struct(klass, State_mark, -1, state);
|
447
|
-
}
|
448
|
-
|
449
|
-
/*
|
450
|
-
* call-seq: configure(opts)
|
451
|
-
*
|
452
|
-
* Configure this State instance with the Hash _opts_, and return
|
453
|
-
* itself.
|
454
|
-
*/
|
455
|
-
static inline VALUE cState_configure(VALUE self, VALUE opts)
|
456
|
-
{
|
457
|
-
VALUE tmp;
|
458
|
-
GET_STATE(self);
|
459
|
-
tmp = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
|
460
|
-
if (NIL_P(tmp)) tmp = rb_convert_type(opts, T_HASH, "Hash", "to_h");
|
461
|
-
if (NIL_P(tmp)) {
|
462
|
-
rb_raise(rb_eArgError, "opts has to be hash like or convertable into a hash");
|
463
|
-
}
|
464
|
-
opts = tmp;
|
465
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_indent));
|
466
|
-
if (RTEST(tmp)) {
|
467
|
-
Check_Type(tmp, T_STRING);
|
468
|
-
state->indent = tmp;
|
469
|
-
}
|
470
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_space));
|
471
|
-
if (RTEST(tmp)) {
|
472
|
-
Check_Type(tmp, T_STRING);
|
473
|
-
state->space = tmp;
|
474
|
-
}
|
475
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_space_before));
|
476
|
-
if (RTEST(tmp)) {
|
477
|
-
Check_Type(tmp, T_STRING);
|
478
|
-
state->space_before = tmp;
|
479
|
-
}
|
480
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_array_nl));
|
481
|
-
if (RTEST(tmp)) {
|
482
|
-
Check_Type(tmp, T_STRING);
|
483
|
-
state->array_nl = tmp;
|
484
|
-
}
|
485
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_object_nl));
|
486
|
-
if (RTEST(tmp)) {
|
487
|
-
Check_Type(tmp, T_STRING);
|
488
|
-
state->object_nl = tmp;
|
489
|
-
}
|
490
|
-
tmp = ID2SYM(i_check_circular);
|
491
|
-
if (st_lookup(RHASH(opts)->tbl, tmp, 0)) {
|
492
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_check_circular));
|
493
|
-
state->check_circular = RTEST(tmp);
|
494
|
-
} else {
|
495
|
-
state->check_circular = 1;
|
496
|
-
}
|
497
|
-
tmp = ID2SYM(i_max_nesting);
|
498
|
-
state->max_nesting = 19;
|
499
|
-
if (st_lookup(RHASH(opts)->tbl, tmp, 0)) {
|
500
|
-
VALUE max_nesting = rb_hash_aref(opts, tmp);
|
501
|
-
if (RTEST(max_nesting)) {
|
502
|
-
Check_Type(max_nesting, T_FIXNUM);
|
503
|
-
state->max_nesting = FIX2LONG(max_nesting);
|
504
|
-
} else {
|
505
|
-
state->max_nesting = 0;
|
506
|
-
}
|
507
|
-
}
|
508
|
-
tmp = rb_hash_aref(opts, ID2SYM(i_allow_nan));
|
509
|
-
state->allow_nan = RTEST(tmp);
|
510
|
-
return self;
|
511
|
-
}
|
512
|
-
|
513
|
-
/*
|
514
|
-
* call-seq: to_h
|
515
|
-
*
|
516
|
-
* Returns the configuration instance variables as a hash, that can be
|
517
|
-
* passed to the configure method.
|
518
|
-
*/
|
519
|
-
static VALUE cState_to_h(VALUE self)
|
520
|
-
{
|
521
|
-
VALUE result = rb_hash_new();
|
522
|
-
GET_STATE(self);
|
523
|
-
rb_hash_aset(result, ID2SYM(i_indent), state->indent);
|
524
|
-
rb_hash_aset(result, ID2SYM(i_space), state->space);
|
525
|
-
rb_hash_aset(result, ID2SYM(i_space_before), state->space_before);
|
526
|
-
rb_hash_aset(result, ID2SYM(i_object_nl), state->object_nl);
|
527
|
-
rb_hash_aset(result, ID2SYM(i_array_nl), state->array_nl);
|
528
|
-
rb_hash_aset(result, ID2SYM(i_check_circular), state->check_circular ? Qtrue : Qfalse);
|
529
|
-
rb_hash_aset(result, ID2SYM(i_allow_nan), state->allow_nan ? Qtrue : Qfalse);
|
530
|
-
rb_hash_aset(result, ID2SYM(i_max_nesting), LONG2FIX(state->max_nesting));
|
531
|
-
return result;
|
532
|
-
}
|
533
|
-
|
534
|
-
|
535
|
-
/*
|
536
|
-
* call-seq: new(opts = {})
|
537
|
-
*
|
538
|
-
* Instantiates a new State object, configured by _opts_.
|
539
|
-
*
|
540
|
-
* _opts_ can have the following keys:
|
541
|
-
*
|
542
|
-
* * *indent*: a string used to indent levels (default: ''),
|
543
|
-
* * *space*: a string that is put after, a : or , delimiter (default: ''),
|
544
|
-
* * *space_before*: a string that is put before a : pair delimiter (default: ''),
|
545
|
-
* * *object_nl*: a string that is put at the end of a JSON object (default: ''),
|
546
|
-
* * *array_nl*: a string that is put at the end of a JSON array (default: ''),
|
547
|
-
* * *check_circular*: true if checking for circular data structures
|
548
|
-
* should be done, false (the default) otherwise.
|
549
|
-
* * *allow_nan*: true if NaN, Infinity, and -Infinity should be
|
550
|
-
* generated, otherwise an exception is thrown, if these values are
|
551
|
-
* encountered. This options defaults to false.
|
552
|
-
*/
|
553
|
-
static VALUE cState_initialize(int argc, VALUE *argv, VALUE self)
|
554
|
-
{
|
555
|
-
VALUE opts;
|
556
|
-
GET_STATE(self);
|
557
|
-
|
558
|
-
rb_scan_args(argc, argv, "01", &opts);
|
559
|
-
state->indent = rb_str_new2("");
|
560
|
-
state->space = rb_str_new2("");
|
561
|
-
state->space_before = rb_str_new2("");
|
562
|
-
state->array_nl = rb_str_new2("");
|
563
|
-
state->object_nl = rb_str_new2("");
|
564
|
-
if (NIL_P(opts)) {
|
565
|
-
state->check_circular = 1;
|
566
|
-
state->allow_nan = 0;
|
567
|
-
state->max_nesting = 19;
|
568
|
-
} else {
|
569
|
-
cState_configure(self, opts);
|
570
|
-
}
|
571
|
-
state->seen = rb_hash_new();
|
572
|
-
state->memo = Qnil;
|
573
|
-
state->depth = INT2FIX(0);
|
574
|
-
return self;
|
575
|
-
}
|
576
|
-
|
577
|
-
/*
|
578
|
-
* call-seq: from_state(opts)
|
579
|
-
*
|
580
|
-
* Creates a State object from _opts_, which ought to be Hash to create a
|
581
|
-
* new State instance configured by _opts_, something else to create an
|
582
|
-
* unconfigured instance. If _opts_ is a State object, it is just returned.
|
583
|
-
*/
|
584
|
-
static VALUE cState_from_state_s(VALUE self, VALUE opts)
|
585
|
-
{
|
586
|
-
if (rb_obj_is_kind_of(opts, self)) {
|
587
|
-
return opts;
|
588
|
-
} else if (rb_obj_is_kind_of(opts, rb_cHash)) {
|
589
|
-
return rb_funcall(self, i_new, 1, opts);
|
590
|
-
} else {
|
591
|
-
return rb_funcall(self, i_new, 0);
|
592
|
-
}
|
593
|
-
}
|
594
|
-
|
595
|
-
/*
|
596
|
-
* call-seq: indent()
|
597
|
-
*
|
598
|
-
* This string is used to indent levels in the JSON text.
|
599
|
-
*/
|
600
|
-
static VALUE cState_indent(VALUE self)
|
601
|
-
{
|
602
|
-
GET_STATE(self);
|
603
|
-
return state->indent;
|
604
|
-
}
|
605
|
-
|
606
|
-
/*
|
607
|
-
* call-seq: indent=(indent)
|
608
|
-
*
|
609
|
-
* This string is used to indent levels in the JSON text.
|
610
|
-
*/
|
611
|
-
static VALUE cState_indent_set(VALUE self, VALUE indent)
|
612
|
-
{
|
613
|
-
GET_STATE(self);
|
614
|
-
Check_Type(indent, T_STRING);
|
615
|
-
return state->indent = indent;
|
616
|
-
}
|
617
|
-
|
618
|
-
/*
|
619
|
-
* call-seq: space()
|
620
|
-
*
|
621
|
-
* This string is used to insert a space between the tokens in a JSON
|
622
|
-
* string.
|
623
|
-
*/
|
624
|
-
static VALUE cState_space(VALUE self)
|
625
|
-
{
|
626
|
-
GET_STATE(self);
|
627
|
-
return state->space;
|
628
|
-
}
|
629
|
-
|
630
|
-
/*
|
631
|
-
* call-seq: space=(space)
|
632
|
-
*
|
633
|
-
* This string is used to insert a space between the tokens in a JSON
|
634
|
-
* string.
|
635
|
-
*/
|
636
|
-
static VALUE cState_space_set(VALUE self, VALUE space)
|
637
|
-
{
|
638
|
-
GET_STATE(self);
|
639
|
-
Check_Type(space, T_STRING);
|
640
|
-
return state->space = space;
|
641
|
-
}
|
642
|
-
|
643
|
-
/*
|
644
|
-
* call-seq: space_before()
|
645
|
-
*
|
646
|
-
* This string is used to insert a space before the ':' in JSON objects.
|
647
|
-
*/
|
648
|
-
static VALUE cState_space_before(VALUE self)
|
649
|
-
{
|
650
|
-
GET_STATE(self);
|
651
|
-
return state->space_before;
|
652
|
-
}
|
653
|
-
|
654
|
-
/*
|
655
|
-
* call-seq: space_before=(space_before)
|
656
|
-
*
|
657
|
-
* This string is used to insert a space before the ':' in JSON objects.
|
658
|
-
*/
|
659
|
-
static VALUE cState_space_before_set(VALUE self, VALUE space_before)
|
660
|
-
{
|
661
|
-
GET_STATE(self);
|
662
|
-
Check_Type(space_before, T_STRING);
|
663
|
-
return state->space_before = space_before;
|
664
|
-
}
|
665
|
-
|
666
|
-
/*
|
667
|
-
* call-seq: object_nl()
|
668
|
-
*
|
669
|
-
* This string is put at the end of a line that holds a JSON object (or
|
670
|
-
* Hash).
|
671
|
-
*/
|
672
|
-
static VALUE cState_object_nl(VALUE self)
|
673
|
-
{
|
674
|
-
GET_STATE(self);
|
675
|
-
return state->object_nl;
|
676
|
-
}
|
677
|
-
|
678
|
-
/*
|
679
|
-
* call-seq: object_nl=(object_nl)
|
680
|
-
*
|
681
|
-
* This string is put at the end of a line that holds a JSON object (or
|
682
|
-
* Hash).
|
683
|
-
*/
|
684
|
-
static VALUE cState_object_nl_set(VALUE self, VALUE object_nl)
|
685
|
-
{
|
686
|
-
GET_STATE(self);
|
687
|
-
Check_Type(object_nl, T_STRING);
|
688
|
-
return state->object_nl = object_nl;
|
689
|
-
}
|
690
|
-
|
691
|
-
/*
|
692
|
-
* call-seq: array_nl()
|
693
|
-
*
|
694
|
-
* This string is put at the end of a line that holds a JSON array.
|
695
|
-
*/
|
696
|
-
static VALUE cState_array_nl(VALUE self)
|
697
|
-
{
|
698
|
-
GET_STATE(self);
|
699
|
-
return state->array_nl;
|
700
|
-
}
|
701
|
-
|
702
|
-
/*
|
703
|
-
* call-seq: array_nl=(array_nl)
|
704
|
-
*
|
705
|
-
* This string is put at the end of a line that holds a JSON array.
|
706
|
-
*/
|
707
|
-
static VALUE cState_array_nl_set(VALUE self, VALUE array_nl)
|
708
|
-
{
|
709
|
-
GET_STATE(self);
|
710
|
-
Check_Type(array_nl, T_STRING);
|
711
|
-
return state->array_nl = array_nl;
|
712
|
-
}
|
713
|
-
|
714
|
-
/*
|
715
|
-
* call-seq: check_circular?
|
716
|
-
*
|
717
|
-
* Returns true, if circular data structures should be checked,
|
718
|
-
* otherwise returns false.
|
719
|
-
*/
|
720
|
-
static VALUE cState_check_circular_p(VALUE self)
|
721
|
-
{
|
722
|
-
GET_STATE(self);
|
723
|
-
return state->check_circular ? Qtrue : Qfalse;
|
724
|
-
}
|
725
|
-
|
726
|
-
/*
|
727
|
-
* call-seq: max_nesting
|
728
|
-
*
|
729
|
-
* This integer returns the maximum level of data structure nesting in
|
730
|
-
* the generated JSON, max_nesting = 0 if no maximum is checked.
|
731
|
-
*/
|
732
|
-
static VALUE cState_max_nesting(VALUE self)
|
733
|
-
{
|
734
|
-
GET_STATE(self);
|
735
|
-
return LONG2FIX(state->max_nesting);
|
736
|
-
}
|
737
|
-
|
738
|
-
/*
|
739
|
-
* call-seq: max_nesting=(depth)
|
740
|
-
*
|
741
|
-
* This sets the maximum level of data structure nesting in the generated JSON
|
742
|
-
* to the integer depth, max_nesting = 0 if no maximum should be checked.
|
743
|
-
*/
|
744
|
-
static VALUE cState_max_nesting_set(VALUE self, VALUE depth)
|
745
|
-
{
|
746
|
-
GET_STATE(self);
|
747
|
-
Check_Type(depth, T_FIXNUM);
|
748
|
-
state->max_nesting = FIX2LONG(depth);
|
749
|
-
return Qnil;
|
750
|
-
}
|
751
|
-
|
752
|
-
/*
|
753
|
-
* call-seq: allow_nan?
|
754
|
-
*
|
755
|
-
* Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise
|
756
|
-
* returns false.
|
757
|
-
*/
|
758
|
-
static VALUE cState_allow_nan_p(VALUE self)
|
759
|
-
{
|
760
|
-
GET_STATE(self);
|
761
|
-
return state->allow_nan ? Qtrue : Qfalse;
|
762
|
-
}
|
763
|
-
|
764
|
-
/*
|
765
|
-
* call-seq: seen?(object)
|
766
|
-
*
|
767
|
-
* Returns _true_, if _object_ was already seen during this generating run.
|
768
|
-
*/
|
769
|
-
static VALUE cState_seen_p(VALUE self, VALUE object)
|
770
|
-
{
|
771
|
-
GET_STATE(self);
|
772
|
-
return rb_hash_aref(state->seen, rb_obj_id(object));
|
773
|
-
}
|
774
|
-
|
775
|
-
/*
|
776
|
-
* call-seq: remember(object)
|
777
|
-
*
|
778
|
-
* Remember _object_, to find out if it was already encountered (if a cyclic
|
779
|
-
* data structure is rendered).
|
780
|
-
*/
|
781
|
-
static VALUE cState_remember(VALUE self, VALUE object)
|
782
|
-
{
|
783
|
-
GET_STATE(self);
|
784
|
-
return rb_hash_aset(state->seen, rb_obj_id(object), Qtrue);
|
785
|
-
}
|
786
|
-
|
787
|
-
/*
|
788
|
-
* call-seq: forget(object)
|
789
|
-
*
|
790
|
-
* Forget _object_ for this generating run.
|
791
|
-
*/
|
792
|
-
static VALUE cState_forget(VALUE self, VALUE object)
|
793
|
-
{
|
794
|
-
GET_STATE(self);
|
795
|
-
return rb_hash_delete(state->seen, rb_obj_id(object));
|
796
|
-
}
|
797
|
-
|
798
|
-
/*
|
799
|
-
*
|
800
|
-
*/
|
801
|
-
void Init_generator()
|
802
|
-
{
|
803
|
-
rb_require("json/common");
|
804
|
-
mJSON = rb_define_module("JSON");
|
805
|
-
mExt = rb_define_module_under(mJSON, "Ext");
|
806
|
-
mGenerator = rb_define_module_under(mExt, "Generator");
|
807
|
-
eGeneratorError = rb_path2class("JSON::GeneratorError");
|
808
|
-
eCircularDatastructure = rb_path2class("JSON::CircularDatastructure");
|
809
|
-
eNestingError = rb_path2class("JSON::NestingError");
|
810
|
-
cState = rb_define_class_under(mGenerator, "State", rb_cObject);
|
811
|
-
rb_define_alloc_func(cState, cState_s_allocate);
|
812
|
-
rb_define_singleton_method(cState, "from_state", cState_from_state_s, 1);
|
813
|
-
rb_define_method(cState, "initialize", cState_initialize, -1);
|
814
|
-
|
815
|
-
rb_define_method(cState, "indent", cState_indent, 0);
|
816
|
-
rb_define_method(cState, "indent=", cState_indent_set, 1);
|
817
|
-
rb_define_method(cState, "space", cState_space, 0);
|
818
|
-
rb_define_method(cState, "space=", cState_space_set, 1);
|
819
|
-
rb_define_method(cState, "space_before", cState_space_before, 0);
|
820
|
-
rb_define_method(cState, "space_before=", cState_space_before_set, 1);
|
821
|
-
rb_define_method(cState, "object_nl", cState_object_nl, 0);
|
822
|
-
rb_define_method(cState, "object_nl=", cState_object_nl_set, 1);
|
823
|
-
rb_define_method(cState, "array_nl", cState_array_nl, 0);
|
824
|
-
rb_define_method(cState, "array_nl=", cState_array_nl_set, 1);
|
825
|
-
rb_define_method(cState, "check_circular?", cState_check_circular_p, 0);
|
826
|
-
rb_define_method(cState, "max_nesting", cState_max_nesting, 0);
|
827
|
-
rb_define_method(cState, "max_nesting=", cState_max_nesting_set, 1);
|
828
|
-
rb_define_method(cState, "allow_nan?", cState_allow_nan_p, 0);
|
829
|
-
rb_define_method(cState, "seen?", cState_seen_p, 1);
|
830
|
-
rb_define_method(cState, "remember", cState_remember, 1);
|
831
|
-
rb_define_method(cState, "forget", cState_forget, 1);
|
832
|
-
rb_define_method(cState, "configure", cState_configure, 1);
|
833
|
-
rb_define_method(cState, "to_h", cState_to_h, 0);
|
834
|
-
|
835
|
-
mGeneratorMethods = rb_define_module_under(mGenerator, "GeneratorMethods");
|
836
|
-
mObject = rb_define_module_under(mGeneratorMethods, "Object");
|
837
|
-
rb_define_method(mObject, "to_json", mObject_to_json, -1);
|
838
|
-
mHash = rb_define_module_under(mGeneratorMethods, "Hash");
|
839
|
-
rb_define_method(mHash, "to_json", mHash_to_json, -1);
|
840
|
-
mArray = rb_define_module_under(mGeneratorMethods, "Array");
|
841
|
-
rb_define_method(mArray, "to_json", mArray_to_json, -1);
|
842
|
-
mInteger = rb_define_module_under(mGeneratorMethods, "Integer");
|
843
|
-
rb_define_method(mInteger, "to_json", mInteger_to_json, -1);
|
844
|
-
mFloat = rb_define_module_under(mGeneratorMethods, "Float");
|
845
|
-
rb_define_method(mFloat, "to_json", mFloat_to_json, -1);
|
846
|
-
mString = rb_define_module_under(mGeneratorMethods, "String");
|
847
|
-
rb_define_singleton_method(mString, "included", mString_included_s, 1);
|
848
|
-
rb_define_method(mString, "to_json", mString_to_json, -1);
|
849
|
-
rb_define_method(mString, "to_json_raw", mString_to_json_raw, -1);
|
850
|
-
rb_define_method(mString, "to_json_raw_object", mString_to_json_raw_object, 0);
|
851
|
-
mString_Extend = rb_define_module_under(mString, "Extend");
|
852
|
-
rb_define_method(mString_Extend, "json_create", mString_Extend_json_create, 1);
|
853
|
-
mTrueClass = rb_define_module_under(mGeneratorMethods, "TrueClass");
|
854
|
-
rb_define_method(mTrueClass, "to_json", mTrueClass_to_json, -1);
|
855
|
-
mFalseClass = rb_define_module_under(mGeneratorMethods, "FalseClass");
|
856
|
-
rb_define_method(mFalseClass, "to_json", mFalseClass_to_json, -1);
|
857
|
-
mNilClass = rb_define_module_under(mGeneratorMethods, "NilClass");
|
858
|
-
rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1);
|
859
|
-
|
860
|
-
i_to_s = rb_intern("to_s");
|
861
|
-
i_to_json = rb_intern("to_json");
|
862
|
-
i_new = rb_intern("new");
|
863
|
-
i_indent = rb_intern("indent");
|
864
|
-
i_space = rb_intern("space");
|
865
|
-
i_space_before = rb_intern("space_before");
|
866
|
-
i_object_nl = rb_intern("object_nl");
|
867
|
-
i_array_nl = rb_intern("array_nl");
|
868
|
-
i_check_circular = rb_intern("check_circular");
|
869
|
-
i_max_nesting = rb_intern("max_nesting");
|
870
|
-
i_allow_nan = rb_intern("allow_nan");
|
871
|
-
i_pack = rb_intern("pack");
|
872
|
-
i_unpack = rb_intern("unpack");
|
873
|
-
i_create_id = rb_intern("create_id");
|
874
|
-
i_extend = rb_intern("extend");
|
875
|
-
}
|