Dave Zarzycki
30e6d1de98
Runtime: remove dead _ObjCSuperClassHack
...
Swift SVN r15832
2014-04-02 21:30:31 +00:00
Dave Zarzycki
d8e39d106a
Runtime: finish SwiftObject
...
<rdar://problem/12640667> Implement SwiftObject root class
Swift SVN r15706
2014-03-31 23:10:39 +00:00
Dave Abrahams
29c004d516
[stdlib] NewArray slicing, finally
...
More tests are needed, but the basics are there
Swift SVN r15413
2014-03-24 15:52:07 +00:00
Dave Abrahams
d016db3285
[stdlib] Factor common non-ObjC instance members
...
Make sure that if the object layout changes, we don't have to update the
stdlib in too many places.
Swift SVN r15166
2014-03-17 23:12:18 +00:00
Dave Abrahams
6eee8e3205
Move HeapObject into the stdlib shim module
...
Now that we can read definitions directly from "C" headers, stop trying
to maintain a mirror of the HeapObject struct in Swift code in the
standard library.
Swift SVN r14982
2014-03-12 23:48:31 +00:00
Jordan Rose
db31ad6b68
[CMake] Add the shims headers as sources for the copy_shim_headers target.
...
This makes them show up in Xcode.
Swift SVN r14970
2014-03-12 22:17:04 +00:00
Jordan Rose
27d1746467
[CMake] Move the install command for the Clang headers to the shims target too.
...
For consistency with r14968.
Swift SVN r14969
2014-03-12 22:17:02 +00:00
Jordan Rose
1c4d9b78a4
[CMake] Symlink Clang's headers into lib/swift as part of copy_shim_headers.
...
Turns out CMake's PRE_BUILD mode for custom commands doesn't work with the
Ninja or Makefile generators (not sure about Xcode). Just do it as part of
an earlier target instead.
Swift SVN r14968
2014-03-12 22:11:26 +00:00
Jordan Rose
0704b7910e
Try #include <stdint.h> in shims.h again.
...
I can't reproduce the failure locally, so I'm going to poke at this on the
buildbot.
Swift SVN r14965
2014-03-12 20:34:11 +00:00
Dave Abrahams
01f4b6d901
[stdlib] Un-revert r14943: "Use the shims module to bridge NewArray"
...
[This time, shims.h doesn't depend even on a system header; hopefully the
'bot will be happy enough with that until someone fixes the build system
to allow "#include <stdint.h>" to appear in shims.h]
Now we can essentially send an NSRange instance in a message to a
CocoaArray without having loaded foundation.
Swift SVN r14957
2014-03-12 13:08:45 +00:00
Dave Zarzycki
93ac98dfaf
Revert r14943: "[stdlib] Use the shims module to bridge NewArray"
...
Swift SVN r14953
2014-03-12 07:00:27 +00:00
Dave Abrahams
6e409e2a50
[stdlib] Use the shims module to bridge NewArray
...
Now we can essentially send an NSRange instance in a message to a
CocoaArray without having loaded foundation.
Swift SVN r14943
2014-03-12 00:44:03 +00:00
Dave Abrahams
a73102e9cc
[stdlib] Flesh out SwiftShims' build dependencies
...
Also put a pretty line in CMake output when the shim module is copied
Swift SVN r14942
2014-03-12 00:44:02 +00:00
Dave Abrahams
a398607c43
[build] Evil hack to make Make make
...
CMake's Makefile generator is not very smart about sibling dependencies,
apparently. See the comment in the commit for more details.
Swift SVN r14909
2014-03-11 05:56:09 +00:00
Dave Abrahams
38f68fcba4
[build] stdlib core depends on SwiftShims
...
We need to make sure the core standard library is rebuilt when the shims
header changes.
Swift SVN r14906
2014-03-11 03:22:12 +00:00
Dave Abrahams
91bed93ca5
stdlib: add a stub ObjC root class to force correct bookkeeping in the compiler
...
Swift SVN r14864
2014-03-10 07:46:03 +00:00