]> git.saurik.com Git - cycript.git/log
cycript.git
11 years agoMake mach_vm to vm_map fix support iOS Simulator.
Jay Freeman (saurik) [Sun, 8 Sep 2013 09:46:34 +0000 (02:46 -0700)] 
Make mach_vm to vm_map fix support iOS Simulator.

11 years agoOn ARM, mach_vm isn't supported, so use vm_map.
Jay Freeman (saurik) [Sat, 7 Sep 2013 10:49:36 +0000 (03:49 -0700)] 
On ARM, mach_vm isn't supported, so use vm_map.

11 years agoRemove old iOS build environment from sysroot.sh.
Jay Freeman (saurik) [Sat, 7 Sep 2013 10:48:55 +0000 (03:48 -0700)] 
Remove old iOS build environment from sysroot.sh.

11 years agoFinish new libffi and readline compilation scripts.
Jay Freeman (saurik) [Sat, 7 Sep 2013 10:45:00 +0000 (03:45 -0700)] 
Finish new libffi and readline compilation scripts.

11 years agoChange ObjectiveC/Output.mm to straight-up C++.
Jay Freeman (saurik) [Sat, 7 Sep 2013 07:01:29 +0000 (00:01 -0700)] 
Change ObjectiveC/Output.mm to straight-up C++.

11 years agoAdd libffi submodule and a script to build for iOS.
Jay Freeman (saurik) [Fri, 6 Sep 2013 11:23:55 +0000 (04:23 -0700)] 
Add libffi submodule and a script to build for iOS.

11 years agoBypass the autotools build environment on Mac OS X.
Jay Freeman (saurik) [Fri, 6 Sep 2013 10:45:23 +0000 (03:45 -0700)] 
Bypass the autotools build environment on Mac OS X.

11 years agoAdd -mios-simulator-version-min for iOS Simulator.
Jay Freeman (saurik) [Fri, 6 Sep 2013 10:44:42 +0000 (03:44 -0700)] 
Add -mios-simulator-version-min for iOS Simulator.

11 years agoAdd readline-6.2 to .gitignore (for Mac OS X).
Jay Freeman (saurik) [Fri, 6 Sep 2013 10:43:03 +0000 (03:43 -0700)] 
Add readline-6.2 to .gitignore (for Mac OS X).

11 years agoRemove unused ext/ libstdc++ #include for clang.
Jay Freeman (saurik) [Thu, 4 Jul 2013 20:51:43 +0000 (13:51 -0700)] 
Remove unused ext/ libstdc++ #include for clang.

11 years agoAdd macosx.sh and readline.sh for Mac OS X.
Jay Freeman (saurik) [Mon, 1 Jul 2013 06:47:22 +0000 (23:47 -0700)] 
Add macosx.sh and readline.sh for Mac OS X.

11 years agoOn Mac OS X 10.9 libsystem_pthread took pthread_*.
Jay Freeman (saurik) [Mon, 1 Jul 2013 06:33:11 +0000 (23:33 -0700)] 
On Mac OS X 10.9 libsystem_pthread took pthread_*.

11 years agoLook up path of Mac OS X SDK for Simulator build.
Jay Freeman (saurik) [Mon, 1 Jul 2013 05:37:29 +0000 (22:37 -0700)] 
Look up path of Mac OS X SDK for Simulator build.

11 years agoRemove unused ext/ libstdc++ #include for clang.
Jay Freeman (saurik) [Mon, 1 Jul 2013 05:36:18 +0000 (22:36 -0700)] 
Remove unused ext/ libstdc++ #include for clang.

11 years agoOn Mac OS X 10.9, cstddef is needed for offsetof.
Jay Freeman (saurik) [Mon, 1 Jul 2013 05:36:03 +0000 (22:36 -0700)] 
On Mac OS X 10.9, cstddef is needed for offsetof.

11 years agoRemove simulat{or,e}.sh, as they are no longer used.
Jay Freeman (saurik) [Mon, 1 Jul 2013 04:33:47 +0000 (21:33 -0700)] 
Remove simulat{or,e}.sh, as they are no longer used.

11 years agoUse the LC_ID_DYLIB when possible to ID dylibs.
Jay Freeman (saurik) [Sun, 23 Jun 2013 13:51:52 +0000 (06:51 -0700)] 
Use the LC_ID_DYLIB when possible to ID dylibs.

11 years agoUpdate included configure to match autoconf input.
Jay Freeman (saurik) [Sun, 23 Jun 2013 12:29:55 +0000 (05:29 -0700)] 
Update included configure to match autoconf input.

11 years agoReplace iconv with some code from "official" code.
Jay Freeman (saurik) [Sun, 23 Jun 2013 10:24:08 +0000 (03:24 -0700)] 
Replace iconv with some code from "official" code.

11 years agoObjective-C++ does not have a normal -Wall macro.
Jay Freeman (saurik) [Sun, 23 Jun 2013 10:23:35 +0000 (03:23 -0700)] 
Objective-C++ does not have a normal -Wall macro.

11 years agoTurn on -Werror during configure for missing flags.
Jay Freeman (saurik) [Sun, 23 Jun 2013 10:23:04 +0000 (03:23 -0700)] 
Turn on -Werror during configure for missing flags.

11 years agoUse yet more indirection to detect iOS simulator.
Jay Freeman (saurik) [Sun, 23 Jun 2013 09:26:03 +0000 (02:26 -0700)] 
Use yet more indirection to detect iOS simulator.

11 years agoapr_pstrdup used to return NULL when passed NULL.
Jay Freeman (saurik) [Sun, 23 Jun 2013 08:45:22 +0000 (01:45 -0700)] 
apr_pstrdup used to return NULL when passed NULL.

11 years agoAutomatically fatten build, detect iOS simulator.
Jay Freeman (saurik) [Sun, 23 Jun 2013 08:33:16 +0000 (01:33 -0700)] 
Automatically fatten build, detect iOS simulator.

11 years agoRemove obsolete attempts to support the Simulator.
Jay Freeman (saurik) [Sun, 23 Jun 2013 07:44:13 +0000 (00:44 -0700)] 
Remove obsolete attempts to support the Simulator.

11 years agoAlso remove VERSION from libffi #define overlap.
Jay Freeman (saurik) [Sun, 23 Jun 2013 07:42:41 +0000 (00:42 -0700)] 
Also remove VERSION from libffi #define overlap.

11 years agoDo not rely on WebKit/WebCore for WebUndefined.
Jay Freeman (saurik) [Sun, 23 Jun 2013 07:41:44 +0000 (00:41 -0700)] 
Do not rely on WebKit/WebCore for WebUndefined.

11 years agoDefault disable maintainer mode, require --enable.
Jay Freeman (saurik) [Sun, 23 Jun 2013 06:17:15 +0000 (23:17 -0700)] 
Default disable maintainer mode, require --enable.

11 years agoFind location of libcycript at runtime with dladdr.
Jay Freeman (saurik) [Sun, 23 Jun 2013 01:57:56 +0000 (18:57 -0700)] 
Find location of libcycript at runtime with dladdr.

11 years agoVerify Trampoline.t.hpp does not link to symbols.
Jay Freeman (saurik) [Sun, 23 Jun 2013 00:25:56 +0000 (17:25 -0700)] 
Verify Trampoline.t.hpp does not link to symbols.

11 years agoCorrect all blocking 32/64-bit incompatibilities.
Jay Freeman (saurik) [Sun, 23 Jun 2013 00:24:30 +0000 (17:24 -0700)] 
Correct all blocking 32/64-bit incompatibilities.

11 years agoFind all remote symbols via dyld_all_image_infos.
Jay Freeman (saurik) [Sat, 22 Jun 2013 23:27:19 +0000 (16:27 -0700)] 
Find all remote symbols via dyld_all_image_infos.

11 years agoMake the ARM thread setup code match i386/x86_64.
Jay Freeman (saurik) [Sat, 22 Jun 2013 11:46:58 +0000 (04:46 -0700)] 
Make the ARM thread setup code match i386/x86_64.

11 years agoUse x86_THREAD_STATE to detect 32/64-bit flavor.
Jay Freeman (saurik) [Sat, 22 Jun 2013 11:36:35 +0000 (04:36 -0700)] 
Use x86_THREAD_STATE to detect 32/64-bit flavor.

11 years agoAdd _krncall around vm_write (Substrate backport).
Jay Freeman (saurik) [Sat, 22 Jun 2013 10:11:23 +0000 (03:11 -0700)] 
Add _krncall around vm_write (Substrate backport).

11 years agoReimplement apr_pools using CYPool in libcycript.
Jay Freeman (saurik) [Sat, 22 Jun 2013 01:46:09 +0000 (18:46 -0700)] 
Reimplement apr_pools using CYPool in libcycript.

11 years agoReplace only apr_pool_cleanup_register with CYPool.
Jay Freeman (saurik) [Fri, 21 Jun 2013 22:23:31 +0000 (15:23 -0700)] 
Replace only apr_pool_cleanup_register with CYPool.

11 years agoReplace only apr_thread_create with pthread_create.
Jay Freeman (saurik) [Fri, 21 Jun 2013 22:14:09 +0000 (15:14 -0700)] 
Replace only apr_thread_create with pthread_create.

11 years agoReplace only use of apr_strtok with manual loop.
Jay Freeman (saurik) [Fri, 21 Jun 2013 22:08:36 +0000 (15:08 -0700)] 
Replace only use of apr_strtok with manual loop.

11 years agoINSTALL should not be a symlink into Fink's /sw.
Jay Freeman (saurik) [Fri, 21 Jun 2013 14:53:11 +0000 (07:53 -0700)] 
INSTALL should not be a symlink into Fink's /sw.

11 years agoReplace CydgetPoolParse with CydgetMemoryParse.
Jay Freeman (saurik) [Fri, 21 Jun 2013 13:13:37 +0000 (06:13 -0700)] 
Replace CydgetPoolParse with CydgetMemoryParse.

11 years agoReplace all apr_pool_t * usages with CYPool &.
Jay Freeman (saurik) [Fri, 21 Jun 2013 14:44:46 +0000 (07:44 -0700)] 
Replace all apr_pool_t * usages with CYPool &.

11 years agoRemove support for parent pools from CYPool.
Jay Freeman (saurik) [Fri, 21 Jun 2013 13:16:19 +0000 (06:16 -0700)] 
Remove support for parent pools from CYPool.

11 years agoMake libcycript dlsym-compatible and unversioned.
Jay Freeman (saurik) [Fri, 21 Jun 2013 12:36:19 +0000 (05:36 -0700)] 
Make libcycript dlsym-compatible and unversioned.

11 years agoRemove bash requirement as it is no longer needed.
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:43:41 +0000 (07:43 -0700)] 
Remove bash requirement as it is no longer needed.

11 years agoAdd pkg-config --cflags to CPPFLAGS, not C*FLAGS.
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:35:06 +0000 (07:35 -0700)] 
Add pkg-config --cflags to CPPFLAGS, not C*FLAGS.

11 years agoUpdate included configure to match autoconf input.
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:24:37 +0000 (07:24 -0700)] 
Update included configure to match autoconf input.

11 years agoRemove --with-frameworks (it didn't work anyway).
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:23:42 +0000 (07:23 -0700)] 
Remove --with-frameworks (it didn't work anyway).

11 years agoSupport full compilation on Mac OS X with clang++.
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:23:04 +0000 (07:23 -0700)] 
Support full compilation on Mac OS X with clang++.

11 years agoIgnore stamp-h1, a "timestamp" for config.h.
Jay Freeman (saurik) [Thu, 20 Jun 2013 14:16:59 +0000 (07:16 -0700)] 
Ignore stamp-h1, a "timestamp" for config.h.

11 years agoAdd -Wno-dangling-else, required by clang++ -Wall.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:58:48 +0000 (06:58 -0700)] 
Add -Wno-dangling-else, required by clang++ -Wall.

11 years agoFix OBJCCXXFLAGS to OBJCXXFLAGS, removing extra C.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:57:06 +0000 (06:57 -0700)] 
Fix OBJCCXXFLAGS to OBJCXXFLAGS, removing extra C.

11 years agoTest compiler flags for every language separately.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:49:29 +0000 (06:49 -0700)] 
Test compiler flags for every language separately.

11 years agoAdd back standard GNU automake-compliant INSTALL.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:33:44 +0000 (06:33 -0700)] 
Add back standard GNU automake-compliant INSTALL.

11 years agoUse LDADD and LIBADD when appropriate for -l/-L.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:26:46 +0000 (06:26 -0700)] 
Use LDADD and LIBADD when appropriate for -l/-L.

11 years agoI should include built config.h.in for other users.
Jay Freeman (saurik) [Thu, 20 Jun 2013 13:18:43 +0000 (06:18 -0700)] 
I should include built config.h.in for other users.

11 years agoUpdate included configure to match autoconf input.
Jay Freeman (saurik) [Thu, 20 Jun 2013 10:31:18 +0000 (03:31 -0700)] 
Update included configure to match autoconf input.

11 years agoOnly link libcycript against libffi (not cycript).
Jay Freeman (saurik) [Thu, 20 Jun 2013 10:29:42 +0000 (03:29 -0700)] 
Only link libcycript against libffi (not cycript).

11 years agoIntegrate GNU autoheader, and the libffi unconfig.
Jay Freeman (saurik) [Thu, 20 Jun 2013 10:27:57 +0000 (03:27 -0700)] 
Integrate GNU autoheader, and the libffi unconfig.

11 years agoUpdate included configure to match autoconf input.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:55:06 +0000 (02:55 -0700)] 
Update included configure to match autoconf input.

11 years agoMacPorts installs libtoolize as glibtoolize :(.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:53:30 +0000 (02:53 -0700)] 
MacPorts installs libtoolize as glibtoolize :(.

11 years agoOnly support CY_MACH if CY_EXECUTE was already on.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:50:21 +0000 (02:50 -0700)] 
Only support CY_MACH if CY_EXECUTE was already on.

11 years agoPrefer JavaScriptCore to pkg-config for WebKit.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:49:48 +0000 (02:49 -0700)] 
Prefer JavaScriptCore to pkg-config for WebKit.

11 years agoPrevent -framework configuration multiplying LIBS.
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:33:15 +0000 (02:33 -0700)] 
Prevent -framework configuration multiplying LIBS.

11 years agoSolve MacPorts compatibility (add -I's to CFLAGS).
Jay Freeman (saurik) [Thu, 20 Jun 2013 09:31:38 +0000 (02:31 -0700)] 
Solve MacPorts compatibility (add -I's to CFLAGS).

11 years agoRemove AX_CHECK_GNU_MAKE as we no longer use gmake.
Jay Freeman (saurik) [Wed, 19 Jun 2013 09:13:01 +0000 (02:13 -0700)] 
Remove AX_CHECK_GNU_MAKE as we no longer use gmake.

11 years agoUpgrade copyright notice (2013, mk, sh, GPLv3).
Jay Freeman (saurik) [Mon, 17 Jun 2013 10:57:32 +0000 (03:57 -0700)] 
Upgrade copyright notice (2013, mk, sh, GPLv3).

11 years agoRemove Makefile.in from .gitignore (forgot that).
Jay Freeman (saurik) [Mon, 17 Jun 2013 05:55:33 +0000 (22:55 -0700)] 
Remove Makefile.in from .gitignore (forgot that).

11 years agoInclude Makefile.in to drop automake dependency.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:28:38 +0000 (14:28 -0700)] 
Include Makefile.in to drop automake dependency.

11 years agoDon't rely on cc1obj for Objective-C struct tables.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:27:33 +0000 (14:27 -0700)] 
Don't rely on cc1obj for Objective-C struct tables.

11 years agoClean up a couple #include and build dependencies.
Jay Freeman (saurik) [Sat, 15 Jun 2013 21:22:49 +0000 (14:22 -0700)] 
Clean up a couple #include and build dependencies.

11 years agoRemove XXX as cur_term is not part of readline.
Jay Freeman (saurik) [Sat, 15 Jun 2013 18:32:29 +0000 (11:32 -0700)] 
Remove XXX as cur_term is not part of readline.

11 years agoIsolate linkage of libreadline and libtermcap.
Jay Freeman (saurik) [Sat, 15 Jun 2013 10:44:26 +0000 (03:44 -0700)] 
Isolate linkage of libreadline and libtermcap.

11 years agoStop using non-portable (GNU) Makefile features.
Jay Freeman (saurik) [Sat, 15 Jun 2013 10:06:13 +0000 (03:06 -0700)] 
Stop using non-portable (GNU) Makefile features.

11 years agoGenerate new configure script from autoconf inputs.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:38:42 +0000 (00:38 -0700)] 
Generate new configure script from autoconf inputs.

11 years agoExplicitly pass empty value for in-place extension.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:37:28 +0000 (00:37 -0700)] 
Explicitly pass empty value for in-place extension.

11 years agoFix support for Bison >>2.3 by capitalizing path.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:37:03 +0000 (00:37 -0700)] 
Fix support for Bison >>2.3 by capitalizing path.

11 years agoAvoid libapr's .la from breaking libiconv search.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:36:36 +0000 (00:36 -0700)] 
Avoid libapr's .la from breaking libiconv search.

11 years agoAdd libdl to the list of libraries explicitly linked.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:36:10 +0000 (00:36 -0700)] 
Add libdl to the list of libraries explicitly linked.

11 years agoFix bridge definition of UIImageJPEGRepresentation.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:35:34 +0000 (00:35 -0700)] 
Fix bridge definition of UIImageJPEGRepresentation.

11 years agoAdd all dependency m4 scripts to the repository.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:34:06 +0000 (00:34 -0700)] 
Add all dependency m4 scripts to the repository.

11 years agoProtect against fall-through of color selection.
Jay Freeman (saurik) [Sat, 15 Jun 2013 07:29:58 +0000 (07:29 +0000)] 
Protect against fall-through of color selection.

11 years agoPort build environment to automake (break -arch).
Jay Freeman (saurik) [Sat, 15 Jun 2013 04:41:50 +0000 (21:41 -0700)] 
Port build environment to automake (break -arch).

11 years agoFurther improvements to the autoconf scripting.
Jay Freeman (saurik) [Fri, 14 Jun 2013 07:36:59 +0000 (00:36 -0700)] 
Further improvements to the autoconf scripting.

11 years agoSimplify autogen.sh by just updating configure.ac.
Jay Freeman (saurik) [Wed, 12 Jun 2013 20:11:26 +0000 (13:11 -0700)] 
Simplify autogen.sh by just updating configure.ac.

11 years agoRemove a couple obsolete rules from the makefile.
Jay Freeman (saurik) [Wed, 12 Jun 2013 19:27:41 +0000 (12:27 -0700)] 
Remove a couple obsolete rules from the makefile.

11 years agoImprove isolation of ObjectiveC syntax filter code.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:03:14 +0000 (00:03 -0700)] 
Improve isolation of ObjectiveC syntax filter code.

11 years agoCast NSUInteger arguments to size_t for %zu format.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:56 +0000 (00:02 -0700)] 
Cast NSUInteger arguments to size_t for %zu format.

11 years agoFix a couple simple C++ errors found by clang.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:43 +0000 (00:02 -0700)] 
Fix a couple simple C++ errors found by clang.

11 years agoRename lex.cy.c to .cpp (it's actually a C++ file).
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:02:22 +0000 (00:02 -0700)] 
Rename lex.cy.c to .cpp (it's actually a C++ file).

11 years agoUpgrade simulator compilation for Xcode 4.6 clang.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:01:55 +0000 (00:01 -0700)] 
Upgrade simulator compilation for Xcode 4.6 clang.

11 years agoUse explicit typed value for CYCatch error return.
Jay Freeman (saurik) [Wed, 12 Jun 2013 07:01:12 +0000 (00:01 -0700)] 
Use explicit typed value for CYCatch error return.

11 years agoForgot earlier yy modification: CYTypeArrayOf type.
Jay Freeman (saurik) [Wed, 12 Jun 2013 06:59:58 +0000 (23:59 -0700)] 
Forgot earlier yy modification: CYTypeArrayOf type.

11 years agoFix a typo in the Bridge definition for dl_info.
Jay Freeman (saurik) [Thu, 30 May 2013 22:47:58 +0000 (15:47 -0700)] 
Fix a typo in the Bridge definition for dl_info.

11 years agoKeep usage of dlerror() from relying on dlsym().
Jay Freeman (saurik) [Thu, 30 May 2013 22:46:54 +0000 (15:46 -0700)] 
Keep usage of dlerror() from relying on dlsym().

11 years agoCache dlsym() lookups for bridged Functor objects.
Jay Freeman (saurik) [Thu, 30 May 2013 22:40:21 +0000 (15:40 -0700)] 
Cache dlsym() lookups for bridged Functor objects.

11 years agoAllow expressions as array subscripts in @encode.
Jay Freeman (saurik) [Thu, 21 Mar 2013 06:45:48 +0000 (23:45 -0700)] 
Allow expressions as array subscripts in @encode.

12 years agoUse correct variable to verify thread state access.
Jay Freeman (saurik) [Wed, 7 Nov 2012 15:23:09 +0000 (07:23 -0800)] 
Use correct variable to verify thread state access.

12 years agoCorrect incorrect escape sequence for $default grep.
Jay Freeman (saurik) [Wed, 7 Nov 2012 15:22:38 +0000 (07:22 -0800)] 
Correct incorrect escape sequence for $default grep.

12 years agoMove LexPopIn to after the terminating lexer token.
Jay Freeman (saurik) [Sun, 23 Sep 2012 17:02:37 +0000 (10:02 -0700)] 
Move LexPopIn to after the terminating lexer token.