Commit Graph

775 Commits

Author SHA1 Message Date
Laurent Sansonetti
7b48bf7acb list protocols in framework index files (.md), change the way protocols are defined in ruby (now using module) and also how we keep track of them (not using a temporary file) 2012-11-05 17:14:48 +01:00
Laurent Sansonetti
3bb0137724 add CoreFoundation, fix certain structures parsing (temporary fix) 2012-11-05 16:41:06 +01:00
Laurent Sansonetti
a235faf7b8 refer to structs and functions in framework reference file (.md) 2012-11-05 15:31:37 +01:00
Watson
956005b602 fix converting parameter type in Integer which including "int" (ex. CGPoint, NSLayoutConstraint...) 2012-11-05 23:12:03 +09:00
Watson
cbc6040d4a fix the C function which has no argument
This changing will fix as following:
(CFTypeID) CGColorGetTypeID(void)
2012-11-05 17:41:44 +09:00
Watson
242c0e0326 fix the return value type in C function method 2012-11-05 17:23:25 +09:00
Watson
d9b3772977 handle the C functions
C functions will be added as Top Level Namespace method
2012-11-05 15:57:52 +09:00
Watson
66b108bed0 to update the protocol documents 2012-11-05 10:17:35 +09:00
Watson
906a73b7fd handle the Protocols (still need to be improved) 2012-11-04 17:25:31 +09:00
Watson
06b289441d split the method 2012-11-04 17:16:20 +09:00
Watson
02928c0b85 delete trailing white spaces 2012-11-04 17:07:39 +09:00
Watson
cb5e83b215 handle the C structures 2012-11-04 13:57:43 +09:00
Laurent Sansonetti
8986537c8a one more framework, sort framework list 2012-11-04 01:04:33 +01:00
Laurent Sansonetti
f499d8ee78 add more frameworks 2012-11-04 00:49:34 +01:00
Laurent Sansonetti
7f95f4f1c8 add more frameworks 2012-11-04 00:17:14 +01:00
Laurent Sansonetti
775d187c36 determine framework path for iOS classes, generate .md file based on that information (instead of parsing twice the html), add CoreData framework 2012-11-03 23:38:03 +01:00
Watson
22dad9dd89 sync to updated yard gem 2012-11-04 01:04:53 +09:00
Watson
22b462d81a remove unnecessary classes 2012-11-04 01:03:42 +09:00
Watson
b8b582e1d2 create symbolic link 2012-11-04 00:53:45 +09:00
Watson
86ecd19dfe add legal disclaimer 2012-11-04 00:24:45 +09:00
Watson
da79eebf5c sync to updated yard gem 2012-11-03 23:48:57 +09:00
Watson
84b6986c7a change the framework title 2012-11-03 23:47:55 +09:00
Watson
9b15ada400 change the document title 2012-11-03 16:54:51 +09:00
Watson
bdcefdaba4 sync to updated yard gem 2012-11-03 16:25:48 +09:00
Watson
f19fa4444b generate classes list 2012-11-03 14:05:10 +09:00
Watson
ae1a082608 sync to updated yard gem 2012-11-03 00:16:16 +09:00
Watson
929b292492 fix the return type about Integer to related char/unsigned 2012-11-02 22:57:33 +09:00
Watson
35fd83f814 fix the return type about delegate
This will fix the following case:
- (id < NSKeyedArchiverDelegate >) delegate
2012-11-02 22:35:41 +09:00
Watson
0f196cf463 fix the regular expression in last commit 2012-11-02 22:24:07 +09:00
Watson
5f70933e06 fix the return type about Integer
This will fix the following case:
- (const uint8_t) decodeBytesForKey(key, returnedLength:lengthp)
- (int32_t) decodeInt32ForKey(key)
- (int64_t) decodeInt64ForKey(key)
- (uint32_t) machPort
2012-11-02 22:09:47 +09:00
Watson
afaf70ffef remove objective-c code samples from API discussion 2012-11-02 14:25:38 +09:00
Watson
cabd20f882 specify the encoding because UTF-8 characters may be contained in reference
If use Ruby19, it will not handle correctly.
2012-11-02 13:49:27 +09:00
Watson
840d35e910 fix incorrect return type with Ruby19
Array#to_s is alias for #inspect on Ruby19. So, its method is different behavior with Ruby18.
2012-11-02 10:39:38 +09:00
Watson
ff6f0fb884 force to use the legacy ruby parser even if use Ruby19
Because if use Ruby19, yard will use Ruby19 ripper. And it cause the error on selectors.
2012-11-02 09:33:29 +09:00
Watson
deb709a2ad fix the file path to require for Ruby19 2012-11-02 09:28:23 +09:00
Watson
2957c26cda sync to updated yard gem 2012-11-02 00:36:38 +09:00
Watson
bf3de8c78a fix the method declaration which has variable arguments
before:
	def setWithObjects(firstObj, …:); end

after
	def setWithObjects(firstObj, …); end
2012-11-01 23:00:38 +09:00
Watson
2b4e45e58a add `@scope' directive for yard if handle the class method 2012-11-01 22:24:03 +09:00
Watson
e2b570878a sync to updated yard gem 2012-11-01 14:06:41 +09:00
Watson
9a3676acf5 NSObject and NSProxy does not have the super class
fix the following warning:
	[warn]: 	in file '/tmp/rb_docset/t189.rb':2:
		2: class NSProxy < none

	[warn]: 	in file '/tmp/rb_docset/t180.rb':2:
		2: class NSObject < none
2012-11-01 13:52:28 +09:00
Watson
0364deeb5c remove no-break space because yardoc will fail to generate 2012-11-01 13:39:42 +09:00
Watson
595820e2de remove the ')' in method declaration which has the handler argument
Because the following method is converted with strange syntax

  - (UIBackgroundTaskIdentifier)beginBackgroundTaskWithExpirationHandler:(void (^)(void))handler

after converting:

  def beginBackgroundTaskWithExpirationHandler()handler); end
2012-11-01 13:15:37 +09:00
Watson
b2b50d52f6 remove the semicolon in method declaration in iOS SDK reference
In some place, the methods will be declared with semicolon in reference:

  - (NSString *)activityTitle;

So, this method is converted to Ruby with strange syntax:

  def activityTitle;(); end
2012-11-01 12:55:48 +09:00
Laurent Sansonetti
c0ce72b6ab Merge branch 'master' of github.com:lrz/RubyMotion 2012-10-31 17:18:38 +01:00
Laurent Sansonetti
400161b02b sync 2012-10-31 17:18:18 +01:00
Laurent Sansonetti
a37ca1fc7a set a curl timeout of 5 seconds 2012-10-31 17:16:14 +01:00
Watson
fb5e0117ab I've forgotten that I removed 'bundle exec' experimentally 2012-11-01 01:03:42 +09:00
Watson
c94c4b1aaa integrate rdoc and iOS SDK docset 2012-11-01 00:24:55 +09:00
Watson
87539d261c split DocsetGenerator#run to generating ruby code and generating HTML 2012-11-01 00:11:11 +09:00
Watson
665c238f5e split DocsetGenerator class in doc/Rakefile 2012-10-31 23:59:57 +09:00