]> git.saurik.com Git - cycript.git/log
cycript.git
8 years agoDue to cynject, there is no reason to turn off -p.
Jay Freeman (saurik) [Sat, 27 Aug 2016 00:13:31 +0000 (17:13 -0700)] 
Due to cynject, there is no reason to turn off -p.

8 years agoCYInjectRemote should also be in #ifdef CY_ATTACH.
Jay Freeman (saurik) [Thu, 25 Aug 2016 06:39:58 +0000 (23:39 -0700)] 
CYInjectRemote should also be in #ifdef CY_ATTACH.

8 years agoMIME type is now required when calling appcast.sh. v0.9.593
Jay Freeman (saurik) [Wed, 24 Aug 2016 09:51:25 +0000 (02:51 -0700)] 
MIME type is now required when calling appcast.sh.

8 years agoUnix domain sockets are often walled by sandboxes.
Jay Freeman (saurik) [Wed, 24 Aug 2016 09:51:13 +0000 (02:51 -0700)] 
Unix domain sockets are often walled by sandboxes.

8 years agoFix ./make install (cs_mtime and new libcycripts).
Jay Freeman (saurik) [Wed, 24 Aug 2016 07:06:31 +0000 (00:06 -0700)] 
Fix ./make install (cs_mtime and new libcycripts).

8 years agoUse -Wl,dead_strip to cut a little readline cruft.
Jay Freeman (saurik) [Mon, 1 Aug 2016 04:41:01 +0000 (21:41 -0700)] 
Use -Wl,dead_strip to cut a little readline cruft.

8 years agoLink readline to provide Kevin his 64-bit console.
Jay Freeman (saurik) [Mon, 1 Aug 2016 04:17:58 +0000 (21:17 -0700)] 
Link readline to provide Kevin his 64-bit console.

8 years agoSupport 7a09b83's new boolean argument on startVm.
Jay Freeman (saurik) [Sat, 19 Mar 2016 09:49:56 +0000 (02:49 -0700)] 
Support 7a09b83's new boolean argument on startVm.

8 years agoCYUTF8String cannot have a negative size, even -1.
Jay Freeman (saurik) [Sat, 19 Mar 2016 09:25:53 +0000 (02:25 -0700)] 
CYUTF8String cannot have a negative size, even -1.

8 years agoUse C int promotion rule to work around BOOL cast. v0.9.592
Jay Freeman (saurik) [Wed, 13 Jan 2016 18:00:26 +0000 (10:00 -0800)] 
Use C int promotion rule to work around BOOL cast.

8 years agoTemporary hack to support older JavaScriptCore :/.
Jay Freeman (saurik) [Wed, 13 Jan 2016 16:32:37 +0000 (08:32 -0800)] 
Temporary hack to support older JavaScriptCore :/.

8 years agolibcycript.cy needs to be set as symlink, for zip. v0.9.591
Jay Freeman (saurik) [Wed, 13 Jan 2016 08:10:18 +0000 (00:10 -0800)] 
libcycript.cy needs to be set as symlink, for zip.

8 years agoUsing new on array types returns pointer-to-array.
Jay Freeman (saurik) [Wed, 13 Jan 2016 00:54:55 +0000 (16:54 -0800)] 
Using new on array types returns pointer-to-array.

8 years agoGuarantee all the older Cydget bridge definitions. v0.9.590
Jay Freeman (saurik) [Mon, 11 Jan 2016 20:41:40 +0000 (12:41 -0800)] 
Guarantee all the older Cydget bridge definitions.

8 years agoBridge any toPointer to id as a cast (for Cydget).
Jay Freeman (saurik) [Mon, 11 Jan 2016 19:33:05 +0000 (11:33 -0800)] 
Bridge any toPointer to id as a cast (for Cydget).

8 years agoTemporarily remove Number.toCYON: way too verbose.
Jay Freeman (saurik) [Mon, 11 Jan 2016 19:15:08 +0000 (11:15 -0800)] 
Temporarily remove Number.toCYON: way too verbose.

8 years agoAllow injection as thread in running Java process.
Jay Freeman (saurik) [Mon, 11 Jan 2016 00:53:39 +0000 (16:53 -0800)] 
Allow injection as thread in running Java process.

8 years agoTry to push kJSClassAttributeNoAutomaticPrototype.
Jay Freeman (saurik) [Sun, 10 Jan 2016 23:18:01 +0000 (15:18 -0800)] 
Try to push kJSClassAttributeNoAutomaticPrototype.

8 years agoRelax (broken) restriction of void typedef/return.
Jay Freeman (saurik) [Sun, 10 Jan 2016 22:11:35 +0000 (14:11 -0800)] 
Relax (broken) restriction of void typedef/return.

8 years agoKeep lib*.a out of Cycript.lib for clean zip file.
Jay Freeman (saurik) [Sun, 10 Jan 2016 18:58:52 +0000 (10:58 -0800)] 
Keep lib*.a out of Cycript.lib for clean zip file.

8 years agoCYONify the contents of a JavaMethod override set.
Jay Freeman (saurik) [Sun, 10 Jan 2016 11:17:50 +0000 (03:17 -0800)] 
CYONify the contents of a JavaMethod override set.

8 years agoHold JavaRef<jstring> throughout CYJavaUTF8String.
Jay Freeman (saurik) [Sun, 10 Jan 2016 07:35:09 +0000 (23:35 -0800)] 
Hold JavaRef<jstring> throughout CYJavaUTF8String.

8 years agoInclude stack trace when printing Java exceptions.
Jay Freeman (saurik) [Sun, 10 Jan 2016 07:34:15 +0000 (23:34 -0800)] 
Include stack trace when printing Java exceptions.

8 years agoJava doesn't hide base class methods by name only.
Jay Freeman (saurik) [Sun, 10 Jan 2016 06:19:16 +0000 (22:19 -0800)] 
Java doesn't hide base class methods by name only.

8 years agoAdd ?. syntax, for the object query documentation.
Jay Freeman (saurik) [Sun, 10 Jan 2016 03:50:48 +0000 (19:50 -0800)] 
Add ?. syntax, for the object query documentation.

8 years agoAvoid guessing when converting Functor to Pointer.
Jay Freeman (saurik) [Sun, 10 Jan 2016 03:19:01 +0000 (19:19 -0800)] 
Avoid guessing when converting Functor to Pointer.

8 years agoSupport Void::PoolFFI when the value is undefined.
Jay Freeman (saurik) [Sun, 10 Jan 2016 02:01:36 +0000 (18:01 -0800)] 
Support Void::PoolFFI when the value is undefined.

8 years agoCorrect prototype hierearchy (simple AND elegant).
Jay Freeman (saurik) [Sun, 10 Jan 2016 01:46:30 +0000 (17:46 -0800)] 
Correct prototype hierearchy (simple AND elegant).

8 years agoFix long-broken Objective-C message ]-completions.
Jay Freeman (saurik) [Sun, 10 Jan 2016 00:00:51 +0000 (16:00 -0800)] 
Fix long-broken Objective-C message ]-completions.

8 years agoRequire strings used as characters to be one byte.
Jay Freeman (saurik) [Sat, 9 Jan 2016 17:48:43 +0000 (09:48 -0800)] 
Require strings used as characters to be one byte.

8 years agoMaintain a logical setup for const on sig::String.
Jay Freeman (saurik) [Sat, 9 Jan 2016 17:48:37 +0000 (09:48 -0800)] 
Maintain a logical setup for const on sig::String.

8 years agoPointer needs a special case to pull off functors.
Jay Freeman (saurik) [Sat, 9 Jan 2016 16:36:47 +0000 (08:36 -0800)] 
Pointer needs a special case to pull off functors.

8 years agoSupport initializing character array using string.
Jay Freeman (saurik) [Sat, 9 Jan 2016 16:15:57 +0000 (08:15 -0800)] 
Support initializing character array using string.

8 years agoMove number's typeid set to FromFFI from Type_new.
Jay Freeman (saurik) [Sat, 9 Jan 2016 15:30:44 +0000 (07:30 -0800)] 
Move number's typeid set to FromFFI from Type_new.

8 years agoMaintain type flags in Type subclass Copy() logic.
Jay Freeman (saurik) [Sat, 9 Jan 2016 15:05:42 +0000 (07:05 -0800)] 
Maintain type flags in Type subclass Copy() logic.

8 years agoJSObjectMakeArray fallback didn't handle length 1.
Jay Freeman (saurik) [Sat, 9 Jan 2016 15:04:45 +0000 (07:04 -0800)] 
JSObjectMakeArray fallback didn't handle length 1.

8 years agoAllow the size of array typedefs to be a variable.
Jay Freeman (saurik) [Sat, 9 Jan 2016 04:37:54 +0000 (20:37 -0800)] 
Allow the size of array typedefs to be a variable.

8 years agoWe no longer need to support the restrict keyword.
Jay Freeman (saurik) [Sat, 9 Jan 2016 04:37:14 +0000 (20:37 -0800)] 
We no longer need to support the restrict keyword.

8 years agoAlso use CXType walker to for function prototypes.
Jay Freeman (saurik) [Sat, 9 Jan 2016 04:32:36 +0000 (20:32 -0800)] 
Also use CXType walker to for function prototypes.

8 years agoImprove support for char values (from JS strings).
Jay Freeman (saurik) [Sat, 9 Jan 2016 03:37:26 +0000 (19:37 -0800)] 
Improve support for char values (from JS strings).

8 years agoMake Type inherit Functin and build placement new.
Jay Freeman (saurik) [Sat, 9 Jan 2016 01:20:36 +0000 (17:20 -0800)] 
Make Type inherit Functin and build placement new.

8 years agoCorrectly handle "high bytes" in "native" strings.
Jay Freeman (saurik) [Sat, 9 Jan 2016 00:58:27 +0000 (16:58 -0800)] 
Correctly handle "high bytes" in "native" strings.

8 years agoCasting an array/string pointer shouldn't copy it.
Jay Freeman (saurik) [Sat, 9 Jan 2016 00:56:55 +0000 (16:56 -0800)] 
Casting an array/string pointer shouldn't copy it.

8 years agoWork around iOS "<redacted>" for Message's toCYON.
Jay Freeman (saurik) [Fri, 8 Jan 2016 21:15:49 +0000 (13:15 -0800)] 
Work around iOS "<redacted>" for Message's toCYON.

8 years agonew operator must return JSObject even for errors.
Jay Freeman (saurik) [Fri, 8 Jan 2016 12:12:36 +0000 (04:12 -0800)] 
new operator must return JSObject even for errors.

8 years agoThrow, not print, errors in type signature parser.
Jay Freeman (saurik) [Fri, 8 Jan 2016 12:07:53 +0000 (04:07 -0800)] 
Throw, not print, errors in type signature parser.

8 years agoFix jni.h Analysis and include some extra headers.
Jay Freeman (saurik) [Fri, 8 Jan 2016 10:35:28 +0000 (02:35 -0800)] 
Fix jni.h Analysis and include some extra headers.

8 years agoUse implicit properties on older, broken runtimes.
Jay Freeman (saurik) [Fri, 8 Jan 2016 10:21:01 +0000 (02:21 -0800)] 
Use implicit properties on older, broken runtimes.

8 years agoFix multi-line template strings, removing ?expand.
Jay Freeman (saurik) [Fri, 8 Jan 2016 10:14:54 +0000 (02:14 -0800)] 
Fix multi-line template strings, removing ?expand.

8 years agoAdd () to non-properties and complete "real" ones.
Jay Freeman (saurik) [Fri, 8 Jan 2016 09:12:26 +0000 (01:12 -0800)] 
Add () to non-properties and complete "real" ones.

8 years agoFold messages into the JavaScript prototype chain.
Jay Freeman (saurik) [Fri, 8 Jan 2016 08:28:25 +0000 (00:28 -0800)] 
Fold messages into the JavaScript prototype chain.

8 years agoBetter document and assert against a pooling case.
Jay Freeman (saurik) [Fri, 8 Jan 2016 07:51:46 +0000 (23:51 -0800)] 
Better document and assert against a pooling case.

8 years agoDo not add duplicate history entries for up-enter.
Jay Freeman (saurik) [Thu, 7 Jan 2016 09:57:52 +0000 (01:57 -0800)] 
Do not add duplicate history entries for up-enter.

8 years ago"Lazy" Java initialization resets signal handlers.
Jay Freeman (saurik) [Thu, 7 Jan 2016 09:42:55 +0000 (01:42 -0800)] 
"Lazy" Java initialization resets signal handlers.

8 years agoAvoid naming functors without symbols as just "1".
Jay Freeman (saurik) [Thu, 7 Jan 2016 09:42:12 +0000 (01:42 -0800)] 
Avoid naming functors without symbols as just "1".

8 years agoProtect system, add process.argv and global print.
Jay Freeman (saurik) [Thu, 7 Jan 2016 09:13:08 +0000 (01:13 -0800)] 
Protect system, add process.argv and global print.

8 years agoDo not output an empty comment for an empty stack.
Jay Freeman (saurik) [Thu, 7 Jan 2016 07:57:12 +0000 (23:57 -0800)] 
Do not output an empty comment for an empty stack.

8 years agoRemove CYJavaValue and (almost) CYPrivate as base.
Jay Freeman (saurik) [Thu, 7 Jan 2016 03:36:12 +0000 (19:36 -0800)] 
Remove CYJavaValue and (almost) CYPrivate as base.

8 years agoRemove CYValue<> as it is no longer at all useful.
Jay Freeman (saurik) [Thu, 7 Jan 2016 03:02:40 +0000 (19:02 -0800)] 
Remove CYValue<> as it is no longer at all useful.

8 years agoUse pool.atexit to free Objective-C "list copies".
Jay Freeman (saurik) [Wed, 6 Jan 2016 20:40:38 +0000 (12:40 -0800)] 
Use pool.atexit to free Objective-C "list copies".

8 years agoLazy load JVM, as it is slow and crashes on iOS 9.
Jay Freeman (saurik) [Wed, 6 Jan 2016 20:01:06 +0000 (12:01 -0800)] 
Lazy load JVM, as it is slow and crashes on iOS 9.

8 years agoCompile Java support for armv6 where we use JamVM.
Jay Freeman (saurik) [Wed, 6 Jan 2016 10:44:43 +0000 (02:44 -0800)] 
Compile Java support for armv6 where we use JamVM.

8 years agoDo not use JavaVM, in case it isn't installed yet.
Jay Freeman (saurik) [Wed, 6 Jan 2016 09:52:43 +0000 (01:52 -0800)] 
Do not use JavaVM, in case it isn't installed yet.

8 years agoThe value from +alloc can be a permanent (NSDate).
Jay Freeman (saurik) [Wed, 6 Jan 2016 08:03:19 +0000 (00:03 -0800)] 
The value from +alloc can be a permanent (NSDate).

8 years agoDisable "implicit properties" (except for Cydget).
Jay Freeman (saurik) [Wed, 6 Jan 2016 06:15:49 +0000 (22:15 -0800)] 
Disable "implicit properties" (except for Cydget).

8 years agoFix Ruby Block arguments and make them lexicalish.
Jay Freeman (saurik) [Tue, 5 Jan 2016 09:29:50 +0000 (01:29 -0800)] 
Fix Ruby Block arguments and make them lexicalish.

8 years agoDo not allow JavaMethod calls on non-Java objects.
Jay Freeman (saurik) [Tue, 5 Jan 2016 09:07:44 +0000 (01:07 -0800)] 
Do not allow JavaMethod calls on non-Java objects.

8 years agoTry a new (safer) mechanism to get object private.
Jay Freeman (saurik) [Tue, 5 Jan 2016 09:04:22 +0000 (01:04 -0800)] 
Try a new (safer) mechanism to get object private.

8 years agoAllow a * on a CString to get the first character.
Jay Freeman (saurik) [Tue, 5 Jan 2016 08:42:16 +0000 (00:42 -0800)] 
Allow a * on a CString to get the first character.

8 years agoAllow strings to be used as extern or field names.
Jay Freeman (saurik) [Tue, 5 Jan 2016 08:39:00 +0000 (00:39 -0800)] 
Allow strings to be used as extern or field names.

8 years agoDo not use corrupt struct to store type reference.
Jay Freeman (saurik) [Tue, 5 Jan 2016 03:41:34 +0000 (19:41 -0800)] 
Do not use corrupt struct to store type reference.

8 years agoAdd a simple implementation of getcwd for node.js.
Jay Freeman (saurik) [Mon, 4 Jan 2016 23:14:47 +0000 (15:14 -0800)] 
Add a simple implementation of getcwd for node.js.

8 years agoEmbed core libraries for node.js in libcycript.db.
Jay Freeman (saurik) [Mon, 4 Jan 2016 23:13:07 +0000 (15:13 -0800)] 
Embed core libraries for node.js in libcycript.db.

8 years agolibnativehelper.so was there before JniInvocation.
Jay Freeman (saurik) [Mon, 4 Jan 2016 21:24:48 +0000 (13:24 -0800)] 
libnativehelper.so was there before JniInvocation.

8 years agoDrop to android-9 platform using -fno-PIE wrapper.
Jay Freeman (saurik) [Mon, 4 Jan 2016 21:09:19 +0000 (13:09 -0800)] 
Drop to android-9 platform using -fno-PIE wrapper.

8 years agoFind JVM with dlopen and register Android natives.
Jay Freeman (saurik) [Mon, 4 Jan 2016 19:34:59 +0000 (11:34 -0800)] 
Find JVM with dlopen and register Android natives.

8 years agoTighten alignment of FFI return values, correctly.
Jay Freeman (saurik) [Mon, 4 Jan 2016 09:28:45 +0000 (01:28 -0800)] 
Tighten alignment of FFI return values, correctly.

8 years agoUnify the build environment for Android and Apple.
Jay Freeman (saurik) [Mon, 4 Jan 2016 07:43:56 +0000 (23:43 -0800)] 
Unify the build environment for Android and Apple.

8 years agoAdd a ?reparse mode to experiment pretty printing.
Jay Freeman (saurik) [Mon, 4 Jan 2016 06:11:49 +0000 (22:11 -0800)] 
Add a ?reparse mode to experiment pretty printing.

8 years agoPort modules to typedef/extern instead of @encode.
Jay Freeman (saurik) [Mon, 4 Jan 2016 03:33:03 +0000 (19:33 -0800)] 
Port modules to typedef/extern instead of @encode.

8 years agoAllow users to tab complete struct and enum names.
Jay Freeman (saurik) [Mon, 4 Jan 2016 03:29:47 +0000 (19:29 -0800)] 
Allow users to tab complete struct and enum names.

8 years agoSpeed up tab completion and hide $cy* identifiers.
Jay Freeman (saurik) [Mon, 4 Jan 2016 03:11:49 +0000 (19:11 -0800)] 
Speed up tab completion and hide $cy* identifiers.

8 years agoAnalyze even more headers and added enum typedefs.
Jay Freeman (saurik) [Mon, 4 Jan 2016 02:56:49 +0000 (18:56 -0800)] 
Analyze even more headers and added enum typedefs.

8 years agoPackage everything for Android in simple zip file.
Jay Freeman (saurik) [Mon, 4 Jan 2016 00:19:02 +0000 (16:19 -0800)] 
Package everything for Android in simple zip file.

8 years agoAllow C++ tagless type reference, in struct field.
Jay Freeman (saurik) [Sun, 3 Jan 2016 22:07:40 +0000 (14:07 -0800)] 
Allow C++ tagless type reference, in struct field.

8 years agoDon't stack overflow on struct pointers in cycles.
Jay Freeman (saurik) [Sun, 3 Jan 2016 21:49:14 +0000 (13:49 -0800)] 
Don't stack overflow on struct pointers in cycles.

8 years agoSupport typedef and @encode with a void specifier.
Jay Freeman (saurik) [Sun, 3 Jan 2016 21:44:53 +0000 (13:44 -0800)] 
Support typedef and @encode with a void specifier.

8 years agoDo not output class extension syntax for Object{}.
Jay Freeman (saurik) [Sun, 3 Jan 2016 21:42:30 +0000 (13:42 -0800)] 
Do not output class extension syntax for Object{}.

8 years agoFind code library, even when relative in debugger.
Jay Freeman (saurik) [Sun, 3 Jan 2016 20:48:46 +0000 (12:48 -0800)] 
Find code library, even when relative in debugger.

8 years agoMacros have to support overriding old definitions.
Jay Freeman (saurik) [Sun, 3 Jan 2016 20:46:54 +0000 (12:46 -0800)] 
Macros have to support overriding old definitions.

8 years agoAdd support for __int128 (though not with libffi).
Jay Freeman (saurik) [Sun, 3 Jan 2016 20:02:12 +0000 (12:02 -0800)] 
Add support for __int128 (though not with libffi).

8 years agoUse libclang to walk CXType for anonymous structs.
Jay Freeman (saurik) [Sun, 3 Jan 2016 19:20:04 +0000 (11:20 -0800)] 
Use libclang to walk CXType for anonymous structs.

8 years agoBake more standard header files into the C bridge.
Jay Freeman (saurik) [Sun, 3 Jan 2016 14:14:32 +0000 (06:14 -0800)] 
Bake more standard header files into the C bridge.

8 years agoAccept initializers when allocating Type with new.
Jay Freeman (saurik) [Sun, 3 Jan 2016 12:51:15 +0000 (04:51 -0800)] 
Accept initializers when allocating Type with new.

8 years agoUse class extension syntax as part of Object CYON.
Jay Freeman (saurik) [Sun, 3 Jan 2016 11:56:08 +0000 (03:56 -0800)] 
Use class extension syntax as part of Object CYON.

8 years agoAdd extern "C" expression, for Functor's toCYON().
Jay Freeman (saurik) [Sun, 3 Jan 2016 11:36:31 +0000 (03:36 -0800)] 
Add extern "C" expression, for Functor's toCYON().

8 years agoMake Functor/struct output fancy type definitions.
Jay Freeman (saurik) [Sun, 3 Jan 2016 11:24:05 +0000 (03:24 -0800)] 
Make Functor/struct output fancy type definitions.

8 years agoExport main (so people can use run_pie technique).
Jay Freeman (saurik) [Sun, 3 Jan 2016 10:34:43 +0000 (02:34 -0800)] 
Export main (so people can use run_pie technique).

8 years agoSlightly (sort of) improve proxy objects tracking.
Jay Freeman (saurik) [Sun, 3 Jan 2016 10:33:51 +0000 (02:33 -0800)] 
Slightly (sort of) improve proxy objects tracking.

8 years agoHave console pre-initialize engine to feel faster.
Jay Freeman (saurik) [Sun, 3 Jan 2016 09:53:19 +0000 (01:53 -0800)] 
Have console pre-initialize engine to feel faster.