]> git.saurik.com Git - cycript.git/log
cycript.git
9 years agoIsolate ffi_call uses to only one common function.
Jay Freeman (saurik) [Wed, 11 Nov 2015 09:08:17 +0000 (01:08 -0800)] 
Isolate ffi_call uses to only one common function.

9 years agoPromote all warnings from bison to full-on errors.
Jay Freeman (saurik) [Wed, 11 Nov 2015 08:58:07 +0000 (00:58 -0800)] 
Promote all warnings from bison to full-on errors.

9 years agoRemove the dirty flag on libffi submodule (dunno).
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:36:49 +0000 (16:36 -0800)] 
Remove the dirty flag on libffi submodule (dunno).

9 years agoTry harder to use trampoline tables (for iOS 9.0).
Jay Freeman (saurik) [Wed, 11 Nov 2015 00:24:16 +0000 (16:24 -0800)] 
Try harder to use trampoline tables (for iOS 9.0).

9 years agoFix build of cycript using clang++-3.7, from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:34:51 +0000 (01:34 -0800)] 
Fix build of cycript using clang++-3.7, from Fink.

9 years agoUpgrading to clang++-3.7 found infinite recursion.
Jay Freeman (saurik) [Tue, 10 Nov 2015 09:33:50 +0000 (01:33 -0800)] 
Upgrading to clang++-3.7 found infinite recursion.

9 years agoFix build of cycript when using g++-fsf from Fink.
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:58:35 +0000 (00:58 -0800)] 
Fix build of cycript when using g++-fsf from Fink.

9 years agoUpdate copyright for 2015 (and it is almost 2016).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:10:39 +0000 (00:10 -0800)] 
Update copyright for 2015 (and it is almost 2016).

9 years agoRemove CY_ARCH (Substrate now handles this quirk).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:06:34 +0000 (00:06 -0800)] 
Remove CY_ARCH (Substrate now handles this quirk).

9 years agoUpgrade to automake 1.15 (the latest one in Fink).
Jay Freeman (saurik) [Tue, 10 Nov 2015 08:04:51 +0000 (00:04 -0800)] 
Upgrade to automake 1.15 (the latest one in Fink).

9 years agoGNUstep does not export object_getClass *sigh* :(.
Jay Freeman (saurik) [Mon, 9 Nov 2015 09:41:39 +0000 (09:41 +0000)] 
GNUstep does not export object_getClass *sigh* :(.

9 years agoRemove lots of now-obsolete GNUstep compatibility.
Jay Freeman (saurik) [Mon, 9 Nov 2015 06:06:53 +0000 (22:06 -0800)] 
Remove lots of now-obsolete GNUstep compatibility.

9 years agoRemove everything obsoleted by just using cynject.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:50:30 +0000 (20:50 -0800)] 
Remove everything obsoleted by just using cynject.

9 years agoUse CoreFoundation in Handler to #ifdef __APPLE__.
Jay Freeman (saurik) [Mon, 9 Nov 2015 04:44:13 +0000 (20:44 -0800)] 
Use CoreFoundation in Handler to #ifdef __APPLE__.

9 years agoAvoid error caused by passing -pthread to libtool.
Jay Freeman (saurik) [Thu, 5 Nov 2015 09:43:38 +0000 (01:43 -0800)] 
Avoid error caused by passing -pthread to libtool.

9 years agoPort to the now modern version of GNUstep (Linux).
Jay Freeman (saurik) [Thu, 5 Nov 2015 08:48:44 +0000 (08:48 +0000)] 
Port to the now modern version of GNUstep (Linux).

9 years agoLinux requires AX_PTHREAD to autodetect -lpthread.
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:37:33 +0000 (03:37 -0800)] 
Linux requires AX_PTHREAD to autodetect -lpthread.

9 years agoFix object reference comparisons (and remove nil).
Jay Freeman (saurik) [Wed, 4 Nov 2015 11:11:24 +0000 (03:11 -0800)] 
Fix object reference comparisons (and remove nil).

9 years agoAvoid duplicating calls for getting type encoding.
Jay Freeman (saurik) [Wed, 4 Nov 2015 08:30:56 +0000 (00:30 -0800)] 
Avoid duplicating calls for getting type encoding.

9 years agoDo not crash if ivar has no type encoding (Swift).
Jay Freeman (saurik) [Wed, 4 Nov 2015 08:29:32 +0000 (00:29 -0800)] 
Do not crash if ivar has no type encoding (Swift).

9 years agoFix a few poor syntax assumptions in C-like types.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:22:28 +0000 (05:22 -0800)] 
Fix a few poor syntax assumptions in C-like types.

9 years agoLocation step should come before sliding position.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:18:38 +0000 (05:18 -0800)] 
Location step should come before sliding position.

9 years agoAvoid dependency hell by overriding location type.
Jay Freeman (saurik) [Mon, 2 Nov 2015 13:15:18 +0000 (05:15 -0800)] 
Avoid dependency hell by overriding location type.

9 years agoUpgrade to Bison 3.0.4 (Apple is never upgrading).
Jay Freeman (saurik) [Mon, 2 Nov 2015 12:34:08 +0000 (04:34 -0800)] 
Upgrade to Bison 3.0.4 (Apple is never upgrading).

9 years agoUpgrade to a more recent build of libtool in Fink.
Jay Freeman (saurik) [Mon, 2 Nov 2015 11:58:57 +0000 (03:58 -0800)] 
Upgrade to a more recent build of libtool in Fink.

9 years agoConsistently pass -g0 -O3 through Apple configure.
Jay Freeman (saurik) [Mon, 2 Nov 2015 10:54:48 +0000 (02:54 -0800)] 
Consistently pass -g0 -O3 through Apple configure.

9 years agoSet .SECONDARY to stop deletion of .libs/cycript_.
Jay Freeman (saurik) [Mon, 2 Nov 2015 09:50:34 +0000 (01:50 -0800)] 
Set .SECONDARY to stop deletion of .libs/cycript_.

9 years agoDelay expansion of MAKE, to allow using jobserver.
Jay Freeman (saurik) [Mon, 2 Nov 2015 09:32:59 +0000 (01:32 -0800)] 
Delay expansion of MAKE, to allow using jobserver.

9 years agoThe RuntimeProperty callback is now long obsolete.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:05:01 +0000 (14:05 -0800)] 
The RuntimeProperty callback is now long obsolete.

9 years agoRely on (automatic) weak symbols instead of dlsym.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:04:14 +0000 (14:04 -0800)] 
Rely on (automatic) weak symbols instead of dlsym.

9 years agoRename Instance::Transient to Instance::Permament.
Jay Freeman (saurik) [Sun, 1 Nov 2015 22:00:28 +0000 (14:00 -0800)] 
Rename Instance::Transient to Instance::Permament.

9 years agoCorrect a stupid mistake (!= 0 without _assert()).
Jay Freeman (saurik) [Wed, 28 Oct 2015 15:10:24 +0000 (08:10 -0700)] 
Correct a stupid mistake (!= 0 without _assert()).

9 years agoCobble injection into heavily sandboxed processes. v0.9.503
Jay Freeman (saurik) [Wed, 28 Oct 2015 13:48:34 +0000 (06:48 -0700)] 
Cobble injection into heavily sandboxed processes.

9 years agoPort to Substrate: use cynject (this is GPL-safe).
Jay Freeman (saurik) [Wed, 28 Oct 2015 12:18:00 +0000 (05:18 -0700)] 
Port to Substrate: use cynject (this is GPL-safe).

9 years agoOn iOS 9 Apple broke pre-existing 32-bit binaries.
Jay Freeman (saurik) [Thu, 15 Oct 2015 07:38:12 +0000 (00:38 -0700)] 
On iOS 9 Apple broke pre-existing 32-bit binaries.

9 years agoMove to an unknown/different version of autotools.
Jay Freeman (saurik) [Thu, 15 Oct 2015 07:30:35 +0000 (00:30 -0700)] 
Move to an unknown/different version of autotools.

9 years agoFix for-of loops (an internal variable was wrong).
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:26:00 +0000 (02:26 -0700)] 
Fix for-of loops (an internal variable was wrong).

9 years agoI don't think the Types_ TypeMap was ever used :/.
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:25:37 +0000 (02:25 -0700)] 
I don't think the Types_ TypeMap was ever used :/.

9 years agoPrefer JSValueIsStrictEqual to compare prototypes.
Jay Freeman (saurik) [Mon, 12 Oct 2015 09:24:30 +0000 (02:24 -0700)] 
Prefer JSValueIsStrictEqual to compare prototypes.

9 years agoOn iOS 9, JSObjectGetPrototype changes JSValueRef.
Jay Freeman (saurik) [Tue, 15 Sep 2015 04:11:42 +0000 (21:11 -0700)] 
On iOS 9, JSObjectGetPrototype changes JSValueRef.

9 years agoGuarantee hooks_ is initialized before CYRegister.
Jay Freeman (saurik) [Tue, 15 Sep 2015 04:10:29 +0000 (21:10 -0700)] 
Guarantee hooks_ is initialized before CYRegister.

10 years agoSupport extern "C" syntax to FFI via C prototypes.
Jay Freeman (saurik) [Fri, 31 Oct 2014 09:50:48 +0000 (02:50 -0700)] 
Support extern "C" syntax to FFI via C prototypes.

10 years agoCYMessage syntax should not be using CYEncodedType.
Jay Freeman (saurik) [Fri, 31 Oct 2014 08:42:04 +0000 (01:42 -0700)] 
CYMessage syntax should not be using CYEncodedType.

10 years agoC++11 now defaults destructors to noexcept(true).
Jay Freeman (saurik) [Mon, 13 Oct 2014 12:20:02 +0000 (05:20 -0700)] 
C++11 now defaults destructors to noexcept(true).

10 years agoDirectly use primitives to construct class types.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:16:16 +0000 (04:16 -0700)] 
Directly use primitives to construct class types.

10 years agoDirectly create types for Objective-C field types.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:09:26 +0000 (04:09 -0700)] 
Directly create types for Objective-C field types.

10 years agoRemove duplicated manually-pooled Type constructor.
Jay Freeman (saurik) [Mon, 13 Oct 2014 11:07:03 +0000 (04:07 -0700)] 
Remove duplicated manually-pooled Type constructor.

10 years agoAllow HOME in environment to override passwd file.
Jay Freeman (saurik) [Sat, 11 Oct 2014 22:29:26 +0000 (15:29 -0700)] 
Allow HOME in environment to override passwd file.

10 years agoSupport having multiple language hooks registered.
Jay Freeman (saurik) [Sat, 11 Oct 2014 22:15:16 +0000 (15:15 -0700)] 
Support having multiple language hooks registered.

10 years agoSetup for adding code to Bison implementation file.
Jay Freeman (saurik) [Sat, 11 Oct 2014 21:56:44 +0000 (14:56 -0700)] 
Setup for adding code to Bison implementation file.

10 years agoPass -std=c++11 in both CXXFLAGS and OBCJXXFLAGS.
Jay Freeman (saurik) [Sat, 11 Oct 2014 21:54:38 +0000 (14:54 -0700)] 
Pass -std=c++11 in both CXXFLAGS and OBCJXXFLAGS.

10 years ago/System/Library/Frameworks is an Apple-only path.
Jay Freeman (saurik) [Sat, 11 Oct 2014 20:48:54 +0000 (13:48 -0700)] 
/System/Library/Frameworks is an Apple-only path.

10 years agoUpdate copyright for 2014 and relicense to AGPLv3.
Jay Freeman (saurik) [Sat, 11 Oct 2014 20:44:59 +0000 (13:44 -0700)] 
Update copyright for 2014 and relicense to AGPLv3.

10 years agoAdd an empty Execute.cpp for Java support backend.
Jay Freeman (saurik) [Sat, 11 Oct 2014 11:53:45 +0000 (04:53 -0700)] 
Add an empty Execute.cpp for Java support backend.

10 years agoDetect jni.h and link Android build against Dalvik.
Jay Freeman (saurik) [Sat, 11 Oct 2014 11:50:29 +0000 (04:50 -0700)] 
Detect jni.h and link Android build against Dalvik.

10 years ago@encode syntax doesn't require Objective-C support.
Jay Freeman (saurik) [Sat, 11 Oct 2014 11:14:12 +0000 (04:14 -0700)] 
@encode syntax doesn't require Objective-C support.

10 years agoManually unify CYLocal<CYPool>::key_ into Library.
Jay Freeman (saurik) [Sat, 11 Oct 2014 11:08:42 +0000 (04:08 -0700)] 
Manually unify CYLocal<CYPool>::key_ into Library.

10 years agoBuild and configure required libraries on Android.
Jay Freeman (saurik) [Sat, 11 Oct 2014 11:07:08 +0000 (04:07 -0700)] 
Build and configure required libraries on Android.

10 years agoRepair support for compiling without Objective-C.
Jay Freeman (saurik) [Sat, 11 Oct 2014 09:10:13 +0000 (02:10 -0700)] 
Repair support for compiling without Objective-C.

10 years agoCorrect "error: taking address of temporary array".
Jay Freeman (saurik) [Sat, 11 Oct 2014 09:09:10 +0000 (02:09 -0700)] 
Correct "error: taking address of temporary array".

10 years agoGive Xcode/Apple/iOS build scripts a common prefix.
Jay Freeman (saurik) [Sat, 11 Oct 2014 08:57:34 +0000 (01:57 -0700)] 
Give Xcode/Apple/iOS build scripts a common prefix.

10 years agoRemove APR dependency: getopt_long actually works.
Jay Freeman (saurik) [Sat, 11 Oct 2014 08:44:24 +0000 (01:44 -0700)] 
Remove APR dependency: getopt_long actually works.

10 years agoCorrect "error: taking address of temporary array".
Jay Freeman (saurik) [Sat, 11 Oct 2014 05:57:56 +0000 (22:57 -0700)] 
Correct "error: taking address of temporary array".

10 years agoAdd a makefile mechanism for automatic deployment. v0.9.502
Jay Freeman (saurik) [Wed, 20 Aug 2014 02:14:27 +0000 (19:14 -0700)] 
Add a makefile mechanism for automatic deployment.

10 years agoAdd workaround for a linker bug (and a test case).
Jay Freeman (saurik) [Tue, 19 Aug 2014 23:44:20 +0000 (16:44 -0700)] 
Add workaround for a linker bug (and a test case).

10 years agoUse osx as the short tag for OS X instead of mac.
Jay Freeman (saurik) [Tue, 19 Aug 2014 23:01:40 +0000 (16:01 -0700)] 
Use osx as the short tag for OS X instead of mac.

10 years agoThe .PHONY was not updated from package to zip :(.
Jay Freeman (saurik) [Tue, 19 Aug 2014 21:10:55 +0000 (14:10 -0700)] 
The .PHONY was not updated from package to zip :(.

10 years agoProvide some minimal debugging on @import MS fail.
Jay Freeman (saurik) [Tue, 19 Aug 2014 20:24:22 +0000 (13:24 -0700)] 
Provide some minimal debugging on @import MS fail.

10 years agoReplace -any.dylib with a check in the trampoline.
Jay Freeman (saurik) [Tue, 19 Aug 2014 19:08:20 +0000 (12:08 -0700)] 
Replace -any.dylib with a check in the trampoline.

10 years agoUse OS X (not Simulator) build for x86_64 on OS X.
Jay Freeman (saurik) [Tue, 19 Aug 2014 19:06:56 +0000 (12:06 -0700)] 
Use OS X (not Simulator) build for x86_64 on OS X.

10 years agoCycript.framework is no longer one unified folder.
Jay Freeman (saurik) [Wed, 9 Jul 2014 02:38:37 +0000 (19:38 -0700)] 
Cycript.framework is no longer one unified folder.

10 years agoEmbed Cycript git version in zip package filename.
Jay Freeman (saurik) [Tue, 8 Jul 2014 13:04:14 +0000 (06:04 -0700)] 
Embed Cycript git version in zip package filename.

10 years agoCorrupt load command should break for, not return.
Jay Freeman (saurik) [Tue, 8 Jul 2014 12:58:10 +0000 (05:58 -0700)] 
Corrupt load command should break for, not return.

10 years agoOutput argument list names compatible with Swift.
Jay Freeman (saurik) [Sat, 7 Jun 2014 05:26:37 +0000 (22:26 -0700)] 
Output argument list names compatible with Swift.

10 years agoDo not rely on -[description] to describe classes.
Jay Freeman (saurik) [Thu, 5 Jun 2014 09:25:19 +0000 (02:25 -0700)] 
Do not rely on -[description] to describe classes.

10 years agoAvoid infinite recursion while CYONifying objects.
Jay Freeman (saurik) [Wed, 4 Jun 2014 12:25:17 +0000 (05:25 -0700)] 
Avoid infinite recursion while CYONifying objects.

10 years agoSlightly improve horrible #ifdef'd type encoding.
Jay Freeman (saurik) [Wed, 4 Jun 2014 11:08:59 +0000 (04:08 -0700)] 
Slightly improve horrible #ifdef'd type encoding.

10 years agoInitialize address32 out parameter in vm_allocate.
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:24:33 +0000 (03:24 -0700)] 
Initialize address32 out parameter in vm_allocate.

10 years agoAdd a local install target (why not?) to xcode.mk.
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:23:43 +0000 (03:23 -0700)] 
Add a local install target (why not?) to xcode.mk.

10 years agoCompile libcycript for OS X and package framework.
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:23:17 +0000 (03:23 -0700)] 
Compile libcycript for OS X and package framework.

10 years agoAlso build OS X target and use for libcycript-any.
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:17:52 +0000 (03:17 -0700)] 
Also build OS X target and use for libcycript-any.

10 years agoAdd $snprintfp trampoline helper, "just in case".
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:15:23 +0000 (03:15 -0700)] 
Add $snprintfp trampoline helper, "just in case".

10 years agoIn trampoline, make $strlcpy not crash given NULL.
Jay Freeman (saurik) [Wed, 4 Jun 2014 10:14:53 +0000 (03:14 -0700)] 
In trampoline, make $strlcpy not crash given NULL.

10 years agoDon't crash if ivar_getTypeEncoding returns NULL.
Jay Freeman (saurik) [Tue, 3 Jun 2014 22:33:00 +0000 (15:33 -0700)] 
Don't crash if ivar_getTypeEncoding returns NULL.

10 years agoFix issue in 64-bit choose() reported by heardrwt.
Jay Freeman (saurik) [Tue, 3 Jun 2014 22:32:07 +0000 (15:32 -0700)] 
Fix issue in 64-bit choose() reported by heardrwt.

10 years agoThe nice thing about # is its similar density to @.
Jay Freeman (saurik) [Tue, 11 Mar 2014 23:35:13 +0000 (16:35 -0700)] 
The nice thing about # is its similar density to @.

10 years agoClose server socket after accepting remote client.
Jay Freeman (saurik) [Tue, 11 Mar 2014 22:52:05 +0000 (15:52 -0700)] 
Close server socket after accepting remote client.

10 years agoDo not leave console socket lying around in /tmp.
Jay Freeman (saurik) [Tue, 11 Mar 2014 22:44:54 +0000 (15:44 -0700)] 
Do not leave console socket lying around in /tmp.

10 years agoVerify the injection error buffer is null-termined.
Jay Freeman (saurik) [Tue, 11 Mar 2014 22:33:35 +0000 (15:33 -0700)] 
Verify the injection error buffer is null-termined.

10 years agoFix creepy "dump master.passwd to stderr" failure.
Jay Freeman (saurik) [Tue, 11 Mar 2014 22:18:02 +0000 (15:18 -0700)] 
Fix creepy "dump master.passwd to stderr" failure.

10 years agoCycript's lexer does not need to be "interactive".
Jay Freeman (saurik) [Wed, 29 Jan 2014 19:23:47 +0000 (11:23 -0800)] 
Cycript's lexer does not need to be "interactive".

10 years agoMake lexer start a comment with #! (for scripts).
Jay Freeman (saurik) [Wed, 29 Jan 2014 17:30:57 +0000 (09:30 -0800)] 
Make lexer start a comment with #! (for scripts).

10 years agoDo not use FFI to sel_registerName for [] syntax.
Jay Freeman (saurik) [Wed, 29 Jan 2014 17:30:21 +0000 (09:30 -0800)] 
Do not use FFI to sel_registerName for [] syntax.

10 years agoGeneralize and centralize cpr flag conflict check.
Jay Freeman (saurik) [Wed, 29 Jan 2014 17:24:38 +0000 (09:24 -0800)] 
Generalize and centralize cpr flag conflict check.

10 years agoUse apr_getopt_long instead of simply apr_getopt.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:58:15 +0000 (08:58 -0800)] 
Use apr_getopt_long instead of simply apr_getopt.

10 years agoLet's reserve # entirely for the pre-processor.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:53:25 +0000 (08:53 -0800)] 
Let's reserve # entirely for the pre-processor.

10 years agoActually, non-terminal attachment now works fine.
Jay Freeman (saurik) [Wed, 29 Jan 2014 16:52:52 +0000 (08:52 -0800)] 
Actually, non-terminal attachment now works fine.

10 years agoCorrect (and complete) implementation of bash $0. v0.9.501
Jay Freeman (saurik) [Wed, 29 Jan 2014 07:25:26 +0000 (23:25 -0800)] 
Correct (and complete) implementation of bash $0.

10 years agoRemove all Objective-C selector bridge definitions.
Jay Freeman (saurik) [Wed, 29 Jan 2014 01:49:03 +0000 (17:49 -0800)] 
Remove all Objective-C selector bridge definitions.

10 years agoRemove some trailing whitespace from Bridge.def.
Jay Freeman (saurik) [Tue, 28 Jan 2014 21:22:54 +0000 (13:22 -0800)] 
Remove some trailing whitespace from Bridge.def.