Permalink
Browse files

initial copying of hotcocoa into gem

  • Loading branch information...
1 parent 29b4911 commit c00c997d5ac2bdfae5265ba837e1c152bc6ff9be @richkilmer committed Nov 8, 2009
Showing with 7,001 additions and 0 deletions.
  1. +4 −0 History.txt
  2. +11 −0 Manifest.txt
  3. +5 −0 PostInstall.txt
  4. +48 −0 README.rdoc
  5. +26 −0 Rakefile
  6. +26 −0 lib/hotcocoa.rb
  7. +320 −0 lib/hotcocoa/application_builder.rb
  8. +143 −0 lib/hotcocoa/attributed_string.rb
  9. +7 −0 lib/hotcocoa/behaviors.rb
  10. +44 −0 lib/hotcocoa/data_sources/combo_box_data_source.rb
  11. +18 −0 lib/hotcocoa/data_sources/table_data_source.rb
  12. +85 −0 lib/hotcocoa/delegate_builder.rb
  13. +161 −0 lib/hotcocoa/graphics.rb
  14. +836 −0 lib/hotcocoa/graphics/canvas.rb
  15. +781 −0 lib/hotcocoa/graphics/color.rb
  16. +75 −0 lib/hotcocoa/graphics/elements/particle.rb
  17. +99 −0 lib/hotcocoa/graphics/elements/rope.rb
  18. +71 −0 lib/hotcocoa/graphics/elements/sandpainter.rb
  19. +63 −0 lib/hotcocoa/graphics/gradient.rb
  20. +488 −0 lib/hotcocoa/graphics/image.rb
  21. +325 −0 lib/hotcocoa/graphics/path.rb
  22. +71 −0 lib/hotcocoa/graphics/pdf.rb
  23. +14 −0 lib/hotcocoa/kernel_ext.rb
  24. +48 −0 lib/hotcocoa/kvo_accessors.rb
  25. +448 −0 lib/hotcocoa/layout_view.rb
  26. +227 −0 lib/hotcocoa/mapper.rb
  27. +40 −0 lib/hotcocoa/mapping_methods.rb
  28. +109 −0 lib/hotcocoa/mappings.rb
  29. +25 −0 lib/hotcocoa/mappings/alert.rb
  30. +112 −0 lib/hotcocoa/mappings/application.rb
  31. +87 −0 lib/hotcocoa/mappings/array_controller.rb
  32. +39 −0 lib/hotcocoa/mappings/box.rb
  33. +92 −0 lib/hotcocoa/mappings/button.rb
  34. +44 −0 lib/hotcocoa/mappings/collection_view.rb
  35. +28 −0 lib/hotcocoa/mappings/color.rb
  36. +21 −0 lib/hotcocoa/mappings/column.rb
  37. +24 −0 lib/hotcocoa/mappings/combo_box.rb
  38. +33 −0 lib/hotcocoa/mappings/control.rb
  39. +44 −0 lib/hotcocoa/mappings/font.rb
  40. +15 −0 lib/hotcocoa/mappings/gradient.rb
  41. +15 −0 lib/hotcocoa/mappings/image.rb
  42. +43 −0 lib/hotcocoa/mappings/image_view.rb
  43. +25 −0 lib/hotcocoa/mappings/label.rb
  44. +9 −0 lib/hotcocoa/mappings/layout_view.rb
  45. +71 −0 lib/hotcocoa/mappings/menu.rb
  46. +47 −0 lib/hotcocoa/mappings/menu_item.rb
  47. +13 −0 lib/hotcocoa/mappings/movie.rb
  48. +27 −0 lib/hotcocoa/mappings/movie_view.rb
  49. +17 −0 lib/hotcocoa/mappings/notification.rb
  50. +110 −0 lib/hotcocoa/mappings/popup.rb
  51. +68 −0 lib/hotcocoa/mappings/progress_indicator.rb
  52. +29 −0 lib/hotcocoa/mappings/scroll_view.rb
  53. +9 −0 lib/hotcocoa/mappings/search_field.rb
  54. +17 −0 lib/hotcocoa/mappings/secure_text_field.rb
  55. +97 −0 lib/hotcocoa/mappings/segmented_control.rb
  56. +25 −0 lib/hotcocoa/mappings/slider.rb
  57. +13 −0 lib/hotcocoa/mappings/sort_descriptor.rb
  58. +9 −0 lib/hotcocoa/mappings/sound.rb
  59. +25 −0 lib/hotcocoa/mappings/speech_synthesizer.rb
  60. +21 −0 lib/hotcocoa/mappings/split_view.rb
  61. +7 −0 lib/hotcocoa/mappings/status_bar.rb
  62. +9 −0 lib/hotcocoa/mappings/status_item.rb
  63. +110 −0 lib/hotcocoa/mappings/table_view.rb
  64. +41 −0 lib/hotcocoa/mappings/text_field.rb
  65. +13 −0 lib/hotcocoa/mappings/text_view.rb
  66. +25 −0 lib/hotcocoa/mappings/timer.rb
  67. +97 −0 lib/hotcocoa/mappings/toolbar.rb
  68. +36 −0 lib/hotcocoa/mappings/toolbar_item.rb
  69. +67 −0 lib/hotcocoa/mappings/view.rb
  70. +22 −0 lib/hotcocoa/mappings/web_view.rb
  71. +118 −0 lib/hotcocoa/mappings/window.rb
  72. +41 −0 lib/hotcocoa/mappings/xml_parser.rb
  73. +175 −0 lib/hotcocoa/mvc.rb
  74. +62 −0 lib/hotcocoa/notification_listener.rb
  75. +22 −0 lib/hotcocoa/object_ext.rb
  76. +45 −0 lib/hotcocoa/plist.rb
  77. +17 −0 lib/hotcocoa/standard_rake_tasks.rb
  78. +23 −0 lib/hotcocoa/template.rb
  79. +172 −0 lib/hotcocoa/virtual_file_system.rb
  80. +10 −0 script/console
  81. +14 −0 script/destroy
  82. +14 −0 script/generate
  83. +3 −0 test/test_helper.rb
  84. +11 −0 test/test_hotcocoa.rb
View
@@ -0,0 +1,4 @@
+=== 0.0.1 2009-11-07
+
+* 1 major enhancement:
+ * Initial release
View
@@ -0,0 +1,11 @@
+History.txt
+Manifest.txt
+PostInstall.txt
+README.rdoc
+Rakefile
+lib/hotcocoa.rb
+script/console
+script/destroy
+script/generate
+test/test_helper.rb
+test/test_hotcocoa.rb
View
@@ -0,0 +1,5 @@
+
+For more information on hotcocoa, see http://hotcocoa.rubyforge.org
+
+
+
View
@@ -0,0 +1,48 @@
+= hotcocoa
+
+* http://github.com/rich_kilmer/hotcocoa
+
+== DESCRIPTION:
+
+FIX (describe your package)
+
+== FEATURES/PROBLEMS:
+
+* FIX (list of features or problems)
+
+== SYNOPSIS:
+
+ FIX (code sample of usage)
+
+== REQUIREMENTS:
+
+* FIX (list of requirements)
+
+== INSTALL:
+
+* FIX (sudo gem install, anything else)
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2009 FIXME full name
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,26 @@
+require 'rubygems'
+gem 'hoe', '>= 2.1.0'
+require 'hoe'
+require 'fileutils'
+require './lib/hotcocoa'
+
+Hoe.plugin :newgem
+# Hoe.plugin :website
+# Hoe.plugin :cucumberfeatures
+
+# Generate all the Rake tasks
+# Run 'rake -T' to see list of generated tasks (from gem root directory)
+$hoe = Hoe.spec 'hotcocoa' do
+ self.developer 'Rich Kilmer', 'rich@infoether.com'
+ self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
+ self.rubyforge_name = self.name # TODO this is default value
+ # self.extra_deps = [['activesupport','>= 2.0.2']]
+
+end
+
+require 'newgem/tasks'
+Dir['tasks/**/*.rake'].each { |t| load t }
+
+# TODO - want other tests/tasks run by default? Add them to the list
+# remove_task :default
+# task :default => [:spec, :features]
View
@@ -0,0 +1,26 @@
+$:.unshift(File.dirname(__FILE__)) unless
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+
+framework 'Cocoa'
+
+module Hotcocoa
+ VERSION = '0.0.1'
+ Views = {}
+end
+
+require 'hotcocoa/object_ext'
+require 'hotcocoa/kernel_ext'
+require 'hotcocoa/mappings'
+require 'hotcocoa/behaviors'
+require 'hotcocoa/mapping_methods'
+require 'hotcocoa/mapper'
+require 'hotcocoa/layout_view'
+require 'hotcocoa/delegate_builder'
+require 'hotcocoa/notification_listener'
+require 'hotcocoa/data_sources/table_data_source'
+require 'hotcocoa/data_sources/combo_box_data_source'
+require 'hotcocoa/plist'
+require 'hotcocoa/kvo_accessors'
+require 'hotcocoa/attributed_string'
+
+HotCocoa::Mappings.reload
Oops, something went wrong.

0 comments on commit c00c997

Please sign in to comment.