David Siegel
fba5a0e81f
Remove deploy stage from Travis
...
* master is now a protected branch, requiring merges from passing PRs.
* App Center now begins deployment on commit to master, rather than waiting another 90 minutes for a redundant test run on master
2018-01-23 10:27:25 -08:00
Mark Probst
849467a032
Merge pull request #456 from quicktype/fix-optional-unions
...
Fix optional unions
2018-01-23 09:38:30 -08:00
Mark Probst
778c0f796b
tslint fixes
2018-01-23 08:26:59 -08:00
Mark Probst
05dc356089
Fix optional unions
2018-01-23 08:21:15 -08:00
David Siegel
79bbbd4181
Notify when Homebrew PR sent
2018-01-22 17:58:26 -08:00
David Siegel
df3dca4f5f
Single if statement for master deploy
2018-01-22 17:55:56 -08:00
David Siegel
e87730cfcb
Automate updates to Homebrew
2018-01-22 17:54:16 -08:00
Mark Probst
a64b3c1de6
Merge pull request #444 from quicktype/optional-vs-null
...
Optional vs null
2018-01-22 14:21:53 -08:00
Mark Probst
9d798bd3d0
Merge pull request #452 from quicktype/forbid-keywords
...
Fix more name collisions. Fixes #277
2018-01-22 09:36:10 -08:00
Mark Probst
5ea780a80b
Allow running of just JSON tests
...
The fixture `json` will now run only the standard JSON tests, but for all languages.
2018-01-22 08:37:49 -08:00
Mark Probst
d22c71e838
Fix more name collisions. Fixes #277
2018-01-22 08:37:45 -08:00
Mark Probst
d8d84253c0
Distinguish null and optional. Fixes #91
2018-01-22 07:21:48 -08:00
David Siegel
680badcf56
Typo
2018-01-21 22:04:50 -08:00
David Siegel
012ebac8db
Automate release to Homebrew
...
Fixes #438
2018-01-21 22:04:01 -08:00
David Siegel
b2c39ca4ca
Merge pull request #451 from quicktype/objective-c
...
Multi-file output for Objective-C
2018-01-21 21:07:01 -08:00
David Siegel
53bbff9bcc
Place map function later in file
2018-01-21 21:06:20 -08:00
David Siegel
784cba9b24
Multi-file output for Objective-C
2018-01-21 20:04:41 -08:00
David Siegel
45ba7873df
Whitespace
2018-01-21 18:00:31 -08:00
David Siegel
ced9ca8a42
Merge pull request #450 from quicktype/objective-c
...
Use KVC for Objective-C
2018-01-21 17:10:18 -08:00
David Siegel
91417b3d56
Avoid extra casts to id
2018-01-21 17:09:23 -08:00
David Siegel
786312623d
KVC
2018-01-21 17:00:38 -08:00
David Siegel
baa1d0a073
Remove map from NSArray and NSDictionary categories
2018-01-21 13:44:06 -08:00
David Siegel
66ca0f57c8
Unused
2018-01-21 13:32:11 -08:00
David Siegel
a1e30f8a9f
Merge pull request #448 from quicktype/objective-c
...
Simplify Objective-C by omitting a few extras
2018-01-20 13:25:09 -08:00
David Siegel
72725b4722
Remove fromJSON and toJSON convenience methods
2018-01-20 13:21:59 -08:00
David Siegel
91ebd9b307
Format
2018-01-20 13:18:22 -08:00
David Siegel
7c11b46f89
Omit function prototypes for top-level object types
2018-01-20 13:17:50 -08:00
David Siegel
1d53f7a8fe
Update comment
2018-01-20 12:52:28 -08:00
David Siegel
cf9173f10b
Merge pull request #447 from quicktype/prevent-throw-collision
...
Prevent throw collision
2018-01-20 12:38:54 -08:00
David Siegel
ae90a71c4b
Catch internal exceptions at API boundary
2018-01-20 12:30:48 -08:00
David Siegel
345afbf31f
Add nice alignment to top-level declarations
2018-01-20 12:13:43 -08:00
David Siegel
89df562425
Make throw static to avoid conflicts
...
Fixes #447
2018-01-20 11:53:39 -08:00
David Siegel
84d7c728ae
Don't import Foundation in implementation-only mode
...
Fixes #445
2018-01-20 11:30:59 -08:00
Mark Probst
cc84bc6889
Merge pull request #439 from quicktype/multiple-files
...
Multiple output files. Fixes #432 . Fixes #262
2018-01-18 09:55:14 -08:00
Mark Probst
4e1765f8ed
Multiple output files. Fixes #432 . Fixes #262
2018-01-18 08:26:27 -08:00
David Siegel
df2e500830
Merge pull request #443 from quicktype/objective-c
...
Drop @synthesize and improve comments
2018-01-18 06:49:34 -08:00
David Siegel
a37c92ea63
Merge pull request #442 from quicktype/fix-integer-detection
...
Fix integer detection
2018-01-17 23:36:21 -08:00
David Siegel
0ec1b00519
Tidy and comments
2018-01-17 23:34:55 -08:00
David Siegel
f3cba6b9cb
Forbid property names like "hash" and "description" (NSObject members)
2018-01-17 23:34:47 -08:00
David Siegel
bef217b696
@synthesize is implicit
2018-01-17 23:05:38 -08:00
Mark Probst
d7fed7be0d
Fix integer detection
2018-01-17 22:32:06 -08:00
David Siegel
5046cff627
Merge pull request #441 from quicktype/objective-c
...
Objective-C improvements
2018-01-17 21:04:49 -08:00
David Siegel
0b7ab37566
Cooler
2018-01-17 21:04:26 -08:00
David Siegel
00c648124a
Better name
2018-01-17 20:23:34 -08:00
David Siegel
4323ac1e5c
Objective-C collection-safe reference-type enums
2018-01-17 19:39:29 -08:00
Mark Probst
adf9d8dbb9
Revert "This fixes the property alignment bug"
...
This reverts commit 8ce2297502
.
2018-01-17 19:32:18 -08:00
Mark Probst
2119fe70f9
Fix indentation with modified source
2018-01-17 19:32:18 -08:00
David Siegel
e28cbdfc07
Proper return type
2018-01-17 19:32:18 -08:00
David Siegel
fa8802aeea
Minimize extensions to NSDictionary with objectForKey:withClass:
2018-01-17 19:32:18 -08:00
David Siegel
a190e29689
Minimize NSNull* functions
...
* Rely on default behavior of passing messages to nil to propagate nil
* Make NSNullify a macro
2018-01-17 19:32:17 -08:00