Commit Graph

  • de2971496f Merged a stripped-down iSpy. Fixed a lot of bugs! master h4gg1s 2015-08-17 01:25:30 -06:00
  • fee3cd5dd7 Little updates h4gg1s 2015-03-25 22:36:31 -06:00
  • 2757685360 Update README.md 0xhaggis 2015-03-25 11:53:18 -06:00
  • d4fa5ac8d7 Small fixes h4gg1s 2015-03-20 14:31:47 -06:00
  • 3293991682 Lots of enhancements to patchapp.sh h4gg1s 2015-03-20 14:27:59 -06:00
  • ef7c9e1b5c Many fixes to patchapp.sh h4gg1s 2015-03-19 23:45:16 -06:00
  • 640d6d6d2e Merge branch 'master' of github.com:BishopFox/theos-jailed h4gg1s 2014-11-07 11:08:42 -07:00
  • bd75703514 Added support for Fishhook (https://github.com/facebook/fishhook) to do function hooking. Added an example, too. h4gg1s 2014-11-07 11:07:41 -07:00
  • 503643548d Update README.md 0xhaggis 2014-11-06 11:55:52 -07:00
  • 14d3420f27 Update README.md 0xhaggis 2014-11-06 11:54:54 -07:00
  • eb1e8a262c Initial patch to this fork. h4gg1s 2014-11-06 11:53:32 -07:00
  • 2494f4e025 Update README.md 0xhaggis 2014-11-06 11:51:04 -07:00
  • 5627912e48 Create README.md 0xhaggis 2014-11-06 11:43:33 -07:00
  • 330c79022b [Logos::Util] smartSplit needs to not ignore same-level parens. Dustin L. Howett 2014-08-11 06:37:42 +00:00
  • 91f8ed9f1a [denicify] Fix for NICTar, fix for constraints (hack: override constraint matcher) Dustin L. Howett 2014-07-14 22:11:14 +00:00
  • 4d1ca375e9 [logos] Error if %orig is outside a block or method. Dustin L. Howett 2014-05-21 02:58:56 +00:00
  • 1581a5997c [logos] I totally broke %subclass in the internal generator. Thanks @Aehmlo! Dustin L. Howett 2014-04-13 23:42:05 +00:00
  • ccfc4bb1e7 [Darwin-arm/iphone] This was supposed to be an endif, not an else. Thanks, uroboro. Dustin L. Howett 2014-03-03 09:00:59 +00:00
  • 08e906911a [deb] Having _/DEBIAN here caused the control rule to be skipped. Dustin L. Howett 2014-03-02 09:26:18 +00:00
  • 50dddafb6d [deb] Do not break if the user has layout/ but no layout/DEBIAN. Dustin L. Howett 2014-03-02 09:16:22 +00:00
  • 653f3caa18 [Darwin-arm/iphone] Don't break if the user requests iphone:gcc. Dustin L. Howett 2014-03-02 09:16:22 +00:00
  • 155a370713 [Darwin-arm/iphone] Add support for clang on iOS. CoolStar 2014-03-02 09:16:21 +00:00
  • 47f9b0f8bf [logos] Classes are not required by default; they are required if they have hooks. Dustin L. Howett 2014-01-13 10:57:17 +00:00
  • b9966652a7 [logos] Only emit class declarations and initializers if the class is required (has hooks or subclasses.) Dustin L. Howett 2014-01-13 05:59:16 +00:00
  • a05354a7b9 [logos] Kill the Data::Dumper warning. Dustin L. Howett 2013-12-24 23:40:30 +00:00
  • 0240cdfc13 [rules] Add _THEOS_INTERNAL_(OBJ)CCFLAGS for types to override. Dustin L. Howett 2013-11-07 02:16:11 +00:00
  • ffddc614c5 [logos] Dollar signs are valid in *all* parts of a selector. Not just the non-first parts. Dustin L. Howett 2013-10-15 22:47:46 +00:00
  • 7c62b0bb19 [install] Fix non-remote install script spacing issues (and why did I not think of this earlier?) Dustin L. Howett 2013-10-13 00:41:15 +00:00
  • 582a3e52e9 [package] Package versioning overhaul and custom package versions. Dustin L. Howett 2013-09-20 08:28:15 +00:00
  • cd2982ccf9 [makefiles] Suppress some "Nothing to be done for ..." warnings by giving some targets blank command sets. Dustin L. Howett 2013-09-20 08:28:15 +00:00
  • d661ea1e0d [makefiles] Make some variables simply-expanded where they don't need to be recursively-expanded. Dustin L. Howett 2013-09-20 08:28:14 +00:00
  • ec80c3511e [rules] Use __simplify instead of a manual simulacrum of it for object file tagging. Dustin L. Howett 2013-09-20 08:28:14 +00:00
  • 1c88852afe [makefiles] Include stage and package from common instead of master/rules. Dustin L. Howett 2013-09-20 08:28:13 +00:00
  • bc21ec922e [package] Use target-specific variables to propagate filenames. Dustin L. Howett 2013-09-20 08:28:13 +00:00
  • edfe2941f4 !VERIFY [nic] Refuse to make a project if we're root. dhowett/dev/experimental-rebased Dustin L. Howett 2013-02-28 12:08:16 -08:00
  • 35860bd82f !WIP [rules] Rewrite the linking rules to use "stages", a complex system that allows link steps to be swapped out, reordered and removed without having to fix all their dependencies. Dustin L. Howett 2013-04-20 17:18:56 -07:00
  • 9b62a5bfbb !WIP [package] Package versioning overhaul and custom package versions. Dustin L. Howett 2013-09-17 04:53:12 -07:00
  • 7e7b4de7b0 !WIP [rules] Use __simplify instead of a manual simulacrum of it for objct tagging. Dustin L. Howett 2013-09-17 04:51:16 -07:00
  • 7f7d245bab !WIP [makefiles] Include stage and package from common instead of master/rules. Dustin L. Howett 2013-09-17 04:50:19 -07:00
  • 435cb028c6 [package] Use target-specific variables to propagate filenames. Dustin L. Howett 2013-09-17 03:28:15 -07:00
  • 6299e81404 !WIP [logos] Syntel. dhowett/dev/syntel Dustin L. Howett 2013-07-08 20:29:00 -07:00
  • ce128d74c5 [logify] Only try to log return values from Logify if they're loggable. Dustin L. Howett 2013-09-16 07:46:23 +00:00
  • 7a5a0d1f69 [logos] *Ref can be printed with %@ due to CFType. Heavy-handed assumption that *Ref is a CFType. Dustin L. Howett 2013-09-16 07:46:22 +00:00
  • 3a0e200cf8 [logos] Overridable %subclass superclasses. Dustin L. Howett 2013-09-16 07:46:22 +00:00
  • 43f46bff96 [install] Make the install helper scripts more resilient to spaces. install.exec is still painful. Closes PR #5. Dustin L. Howett 2013-09-16 04:26:35 +00:00
  • da120d5670 [iphone] Do not warn about armv6 if the user forces ARCHS. Dustin L. Howett 2013-09-16 04:02:12 +00:00
  • 5d2a70020d [makefiles/tweak] Don't kill SpringBoard, kill whatever the user says to kill when building the template. Dustin L. Howett 2013-09-16 03:54:31 +00:00
  • 824dbb3cef [makefiles/tweak] Allow tweaks to masquerade as bundles if and only if xxx_BUNDLE_RESOURCE_??? is present, defaulting to /Library/Application Support/xxx/xxx.bundle (configurable with xxx_BUNDLE_INSTALL_PATH, xxx_BUNDLE_NAME and xxx_BUNDLE_EXTENSION.) Dustin L. Howett 2013-09-16 03:54:30 +00:00
  • b5d4feebae [makefiles] Try to intuit the Makefile the user is using (make -f XXX), and use that for all sub-makes. Dustin L. Howett 2013-09-16 03:43:06 +00:00
  • 2c7c4068f2 [nic] Allow the user to override the name the Makefile uses to refer to Theos. Dustin L. Howett 2013-09-16 03:43:05 +00:00
  • 08f5ca7cdd [package] Rewrite the packaging subsystem. Dustin L. Howett 2013-09-16 00:54:57 +00:00
  • c29412a5f4 [package] 2d967e4 introducted a regression wherein Architecture was not read from control. No idea how that changed to -f3- (instead of -f2-). Dustin L. Howett 2013-09-15 23:53:52 +00:00
  • d5710f54a4 [makefiles] When looking for a target within a platform, use the platform name in preference to its uname. dhowett/dev/targetrename Dustin L. Howett 2013-09-14 21:54:49 -07:00
  • 6dd0049c32 [bootstrap] Explicitly state the bootstrap command, because it was tripping people up. Closes pull request #66. Dustin L. Howett 2013-09-15 04:46:48 +00:00
  • 2d967e4065 [package] dpkg control fields are case-insensitive. Dustin L. Howett 2013-09-15 04:46:47 +00:00
  • b38d6ce659 [makefiles] I forgot to remove a ] from a ]] in 331969e. Dustin L. Howett 2013-08-20 07:32:11 +00:00
  • a75135dfd6 [common] Sternly warn the user about using 'sudo make'. Dustin L. Howett 2013-08-17 09:09:38 +00:00
  • 331969e623 [makefiles] Remove bashisms. Dustin L. Howett 2013-08-17 08:49:05 +00:00
  • 0f3b3bd425 [common] control and layout/ are no longer mutually exclusive. ./control takes precedence over ./layout/DEBIAN/control. Dustin L. Howett 2013-04-26 02:08:54 +00:00
  • eed07773b9 [logos] Check for group nonexistence BEFORE trying to set custom class initializers. Dustin L. Howett 2013-04-21 00:37:42 +00:00
  • d9f43ef0c3 [Darwin/macosx] Add support for the optional :clang argument (cherry picked from commit 2dadabebee3a43c02b5cd53cc06e00ca81d00d19) Conrad Kramer 2013-02-23 04:12:30 +00:00
  • 9c4389199d [logos] Add support for generators of the format 'name@/perl/lib/path' - prepend the path to INC before we try to load the generator module. Dustin L. Howett 2013-02-15 00:57:56 +00:00
  • a4a03127da [package] Set COPYFILE_DISABLE so that OS X doesn't include AppleDouble files in the package. Dustin L. Howett 2013-02-03 11:02:32 +00:00
  • 990310d0cc [makefiles] Add __simplify, which replaces a recursively-expanded variable with a simply-expanded variable, so we don't recalculate too many things unnecessarily. Dustin L. Howett 2013-01-06 07:36:59 +00:00
  • 4d8cd1b921 [Darwin/simulator] I neglected to update the simulator target when I reformed target arguments. Do so. Also, add :clang support. Dustin L. Howett 2013-01-06 06:59:21 +00:00
  • 13de4497ac [Darwin/iphone] Allow deploying to 3.0 while building against 6.0, with the caveat that it is armv7-ONLY. Dustin L. Howett 2012-12-15 22:35:48 +00:00
  • f45a6135c6 [package] Why was this if block spliced? De-splice it. Dustin L. Howett 2012-12-13 22:52:55 +00:00
  • 1e8fb9b890 [application] Use a real rule to warn about implicit UIKit linkage instead of $(shell ...). Dustin L. Howett 2012-12-13 22:52:54 +00:00
  • a652293dbd [makefiles] Add the __exists function, which uses $(wildcard ...). Use that instead of shell+test+echo (what was I thinking?!) __exists returns _THEOS_TRUE/_THEOS_FALSE, so be sure to check against those. Dustin L. Howett 2012-12-13 22:52:53 +00:00
  • 56027b873d [logos] Fix the internal geneator. 607f1fd introduced a reference to $self but never captured it. theioztream 2012-12-13 18:25:37 +00:00
  • a52f218daa [logos] Unfortunately, we can't use LOGOS_INLINE, as .xi/.xmi files will only be preprocessed once. Make the sad assumption that we're __GNUC__-compatible and hardcode our inlining attributes. Dustin L. Howett 2012-12-12 22:09:42 +00:00
  • b360055a22 [logos, rules] A missing logos/logos.h include should also trigger a preamble. As a catch-all, -include logos/logos.h when compiling all Logos files. Dustin L. Howett 2012-12-12 09:57:12 +00:00
  • 9c8a34144b [rules] Add support for xxx_CODESIGN_FLAGS and xxx_STRIP_FLAGS, which, unlike their CFLAGS counterparts, *OVERRIDE* the default flags. Tag .unsigned files with a hash of these flags. Dustin L. Howett 2012-12-11 19:44:43 +00:00
  • 328ac7fe7f [common] Do not trust $(THEOS) as set by the user. Always recalculate it based on the path to common.mk. This puts a project's Makefile in true non-overridable control of which Theos it uses. Dustin L. Howett 2012-12-11 08:30:33 +00:00
  • f7b7ed5337 [makefiles] Keep a version in common.mk and master/rules.mk. Throw an error and die if they don't match. This catches cases wherein $(THEOS) does not match the path to common.mk Dustin L. Howett 2012-12-11 07:22:18 +00:00
  • ceb6525f65 [logos] Why track the existence of a Group when we could just create the Patch::Source when we create the group? Dustin L. Howett 2012-12-11 04:19:25 +00:00
  • 7e975c51bc [logos] Soft-deprecate %class. Dustin L. Howett 2012-12-11 04:19:24 +00:00
  • 753d0384ec [logos] Update %c() to evaluate to a static (and inlinable) caching lookup function. Dustin L. Howett 2012-12-11 04:19:23 +00:00
  • 607f1fd9d7 [logos] Include logos/logos.h in the Base preamble, and prepend that to all Generator preambles. logos.h is currently blank. Dustin L. Howett 2012-12-11 04:19:21 +00:00
  • 8d7974328a [logos] Complain about all non-initialized groups that require initialization (instead of only explicit groups that are not initialized). Dustin L. Howett 2012-12-11 04:19:20 +00:00
  • 1e1a83fa52 [logos] Generate a constructor for all non-explicit init-required groups. Do not generate a constructor if no groups match this criterion. Dustin L. Howett 2012-12-11 04:19:19 +00:00
  • a1e9860ba6 [logos] Add Group::initRequired, which returns 1 if it must be initialized. Dustin L. Howett 2012-12-11 04:19:18 +00:00
  • 9f99eb2c27 [makefiles] Make __theos_bool take a variable value instead of a variable name, and use that to extend the lowercase/CAPS convention to debug/DEBUG and messages/MESSAGES. Dustin L. Howett 2012-12-07 10:33:14 +00:00
  • a96670c90c [common] Don't check $(messages) multiple times, instead opting for _THEOS_VERBOSE. Dustin L. Howett 2012-12-07 10:33:13 +00:00
  • 20877e5172 [makefiles] Add __theos_bool and _THEOS_{TRUE,FALSE}. __theos_bool standardizes yes/YES/y/Y/1 to _THEOS_TRUE and everything else to _THEOS_FALSE. Use it for messages and DEBUG. Dustin L. Howett 2012-12-07 10:17:32 +00:00
  • 9d22c7439d [makefiles] *FLAGS reform. Dustin L. Howett 2012-12-07 10:17:30 +00:00
  • 417fbc8530 [rules] Tag object files with a hash of the flags used to build the instance. This allows two instances to refer to the same file and build it with different flags, and grants automatic recompilation on all flags changes. Dustin L. Howett 2012-12-07 00:48:44 +00:00
  • 43862baddf !WIP test harness dhowett/dev/testing Dustin L. Howett 2012-12-02 18:12:55 -08:00
  • 72b0397d63 !WIP instance-targets dhowett/dev/instance-target Dustin L. Howett 2012-12-02 18:12:28 -08:00
  • c681aa5af7 WIP multisdk dhowett/dev/multisdk Dustin L. Howett 2012-10-22 21:00:53 -07:00
  • 0d3716df0d [rules] Mark .unsigned files as .INTERMEDIATE, indicating that they should not be rebuilt simply for the sake of rebuilding them. Dustin L. Howett 2012-11-22 00:36:57 +00:00
  • b97f7d15af [logos] Abort depth mapping (and abort processing the file) if we get to a depth below 0. Dustin L. Howett 2012-11-20 21:02:05 +00:00
  • 18aa76317a [nic] Bail early if we can't create the project directory. Dustin L. Howett 2012-11-16 22:34:41 +00:00
  • a5feb2473e [Darwin/iphone] Add support for an optional :clang argument, which pushes back the SDK and deployment versions one place. TARGET=iphone:clang:sdk:deploy, or TARGET=:clang (assuming a default target of 'iphone'), will suffice (among many other variants.) Dustin L. Howett 2012-11-16 04:56:26 +00:00
  • d0762d5f95 [makefiles] Use target.pl to calculate all __THEOS_TARGET_ARG_{n} values and write them out to an auxiliary temporary makefile. Only do this once per direct invocation. This makes TARGET=iphone::5.0 acceptable - it was not prior because 'word' delimits on spaces, not one single space. Dustin L. Howett 2012-11-16 04:56:24 +00:00
  • a1f8c29ff5 [bootstrap] Build a generic ARM binary (force-allow cpu subtype mismatches), sidestep the new framework bundle layout issue for native CydiaSubstrate, and streamline the build-and-lipo process. Dustin L. Howett 2012-10-23 08:57:30 +00:00
  • d199094ca8 [makefiles] Build full bundles in THEOS_OBJ_DIR during compilation instead of only creating them during staging. THEOS_SHARED_BUNDLE_RESOURCE_PATH is now usable during building AND staging and will contain the appropriate value for either, to avoid breaking old custom bundle staging rules. Dustin L. Howett 2012-10-23 08:19:22 +00:00
  • 737b8179ca [instance/rules] Get rid of the _THEOS_TEMPLATE_NOWARNING_LINKING_RULE in favour of a 'nowarn' argument on _THEOS_TEMPLATE_DEFAULT_LINKING_RULE. Dustin L. Howett 2012-10-23 08:19:21 +00:00
  • f966e27baa [instance/rules] If code signing is enabled, link the resulting binary as [name].unsigned and sign it and rename it as a separate signing step. Dustin L. Howett 2012-10-23 08:19:20 +00:00
  • 7e196a9ed8 [Darwin/iphone] Build for armv7+s when targeting 6.0+, armv6+7 when targeting 3.0+, and armv6 only when targeting 2.0+. Throw an error when trying to deploy to iOS versions less than 4.3 when building against 6.0. Dustin L. Howett 2012-10-23 08:19:19 +00:00