Permalink
Switch branches/tags
Nothing to show
Commits on Feb 20, 2011
  1. [common] Allow modules to override platform defines. A module cannot …

    …currently completely replace a stock platform definition, only add or change definitions.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@396 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 20, 2011
Commits on Feb 16, 2011
  1. [logos] Clean up some data inside the Method class, removing GROUP (n…

    …ot used), GROUP_IDENTIFIER (now retrieved via Group::identifier (method->class->group->identifier)), and NUM_ARGS (Method::numArgs now returns the number of elements in ARGTYPES.) A YAML dump of the group tree helped find these!
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@395 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 16, 2011
Commits on Feb 9, 2011
  1. [package] Undo the THEOS_TOP_INVOCATION_DONE endif move, which caused…

    … our blank internal-after-install fallback rule to not exist for instances.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@394 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 9, 2011
Commits on Feb 8, 2011
  1. [Linux/iphone] Add TARGET_PRIVATE_FRAMEWORK_PATH to the Linux-iphone …

    …target.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@393 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 8, 2011
Commits on Feb 7, 2011
  1. [package] Don't depend on _/DEBIAN in _/DEBIAN/control, as _/DEBIAN c…

    …ould have been created by an instance with an INSTALL_PATH of /DEBIAN, which would cause layout/DEBIAN to not be copied.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@392 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 7, 2011
  2. [package] Make packaging conform to the same before/internal/after de…

    …sign to which all other multi-step rules in Theos conform. before-package happens after _/DEBIAN/control is created, and after-package happens after the deb is built.
    
    WARNING: internal-package and after-package are no longer aliases for internal-/after-stage!
    
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@391 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 7, 2011
Commits on Feb 5, 2011
  1. [package] Move the staging rules into stage.mk from package.mk.

    git-svn-id: http://svn.howett.net/svn/theos/trunk@390 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 5, 2011
Commits on Feb 3, 2011
  1. [shared/bundle] Quote the bundle resource path, as it can contain spa…

    …ces. TheZimm stumbled across this bug (random rsync failure due to ENOENT.)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@389 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Feb 3, 2011
Commits on Dec 13, 2010
  1. [logos] Do not allow subclasses to be added to already-initialized gr…

    …oups.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@388 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 13, 2010
  2. [logos] Do not allow hooks to be added to an already-initialized grou…

    …p. Store where a group was init'd and tell the user where it happened in case he tries to do something insane.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@387 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 13, 2010
Commits on Dec 10, 2010
  1. [bootstrap] Try more sysroot versions when we fail to bootstrap.

    git-svn-id: http://svn.howett.net/svn/theos/trunk@386 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 10, 2010
  2. [bootstrap] Forgot to remove the "skip trying to copy system substrat…

    …e" return I threw in there :P
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@385 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 10, 2010
  3. [bootstrap] Rely on no system headers when compiling the bootstrap.

    git-svn-id: http://svn.howett.net/svn/theos/trunk@384 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 10, 2010
  4. [bootstrap] Update the bootstrap to conform to the public API of Cydi…

    …aSubstrate, and add a bootstrap version/version query. The bootstrap can not yet update itself (commented out and not finished anyway :P.)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@383 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 10, 2010
Commits on Dec 8, 2010
  1. [Darwin-arm/iphone] Add TARGET_PRIVATE_FRAMEWORK_PATH to Darwin-arm/i…

    …phone.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@382 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 8, 2010
Commits on Dec 6, 2010
  1. [rules] Add a bunch of empty implicit wildcarded rules to stop make f…

    …rom trying to remake our makefiles. Using the * wildcard doesn't work for non-existent makefiles, so it used to try implicit matching on them. Ugh.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@381 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
  2. [darwin/iphone] Add TARGET_IPHONEOS_DEPLOYMENT_VERSION, for building …

    …with a SDKVERSION of 4.0+ but targeting an earlier OS version. Can be set on its own, or as the second argument to target (target=iphone:4.0:3.0), or defaulted to SDKVERSION. Is fed into -miphoneos-version-min and __IPHONE_OS_VERSION_MIN_REQUIRED.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@380 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
  3. [darwin/simulator] Add Objective-C ABI 2.0 compilation flags if we're…

    … targeting a simulator version >= 3.2, and target OS X 10.6+ for 4.0+, to avoid linking issues.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@379 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
  4. [bin] Add a simple script for version number comparisons.

    git-svn-id: http://svn.howett.net/svn/theos/trunk@378 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
  5. [rules] Add and modify the following extensions: .x (Logos-ObjC), .xi…

    … (Logos-ObjC preprocessed), .xmi (Logos-ObjC++ preprocessed). Use -std=c99 for compiling Objective-C (via TARGET_ONLY_OBJCFLAGS).
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@377 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
  6. [logos] Display file:line information for nesting errors (what file:l…

    …ine the last grouping element was opened on). Make line number mapping better, again. Do not use file{Error,Warning} with line -1 anymore, since there are technically line numbers associated with every error (except Generator errors) we have. Save the line number for %config(generator=...); so that we can use it in an error message.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@376 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 6, 2010
Commits on Dec 5, 2010
  1. [messages] ECHO_LOGOS -> ECHO_PREPROCESSING.

    git-svn-id: http://svn.howett.net/svn/theos/trunk@375 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  2. [rules] Add support for .xi files. A .xi file is a Logos file that is…

    … Logos'd /after/ the C Preprocessor is done with it. As such, %-directives work in macros and can be in #included files. It is otherwise completely identical to a .xm file.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@374 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  3. [logos] Add support for working on files that have already been pre-p…

    …rocessed - maintain a physical-to-virtual line mapping for generating linemarkers. There should be no change for normal Logos files.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@373 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  4. [instance/rules, targets/Darwin] Don't use /System/Library/PrivateFra…

    …meworks as the private framework path when building for the iPhone - prepend SYSROOT. Use TARGET_PRIVATE_FRAMEWORK_PATH (set by each target) instead of hardcoding it in rules.mk.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@372 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  5. [logos] Allow %init to /really/ have arbitrarily complex class setter…

    …s, with nested ',' and '=' characters: use the new smartSplit (honours nested parentheses and quotes when splitting\; uses matchedParenthesisSet, which now contains the innards of what used to be nestedParenString (which was also updated to use matchedParenthesisSet.))
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@371 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  6. [logos] %orig() now results in the same output as %orig (ergo, blank …

    …custom args = pass original args). Previously, it would become "orig(self, _cmd, )", even if the method had no arguments. Suggested by Aaron.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@370 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  7. [logos] Use the nested paren parser in %init so that arbitrarily comp…

    …lex %init(X=x(y)) statements do not result in invalid syntax and broken initializers. TODO: Fix the , and = parser to be knowledegable of nesting as well to make "arbitrarily complex" even more true.
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@369 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
  8. [logos] Break the nested parenthesis parser into its own function, us…

    …ed by %orig, and allow %orig( and %init( to span multiple lines (by wedging them into the newline-folding loop in the input parser with %new/method). Make said folding loop more awesome (only build if a ';' or '{' is /after/ the item we found, for example.)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@368 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 5, 2010
Commits on Dec 4, 2010
  1. [logos] Only attempt to parse (...) after %orig if there's actually a…

    … (...) directly after it. Intervening characters should halt parsing. This was breaking %orig + x() (as "orig(-, -, + x();")
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@367 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Dec 4, 2010
Commits on Nov 30, 2010
  1. [shared/bundle] Deprecate xxx_RESOURCE_FILES in favour of xxx_BUNDLE_…

    …RESOURCES (xxx_RESOURCE_DIRS likewise is superseded by xxx_BUNDLE_RESOURCE_DIRS) - the old variable will, as always, still work. Additionally, make the local variables private (well, "private", by adding a _ to the beginning.)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@366 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Nov 30, 2010
Commits on Nov 28, 2010
  1. [logos] Remove the deprecated %original and %constructor fallbacks, a…

    …s well as the entire (also deprecated) "final %" syntax (%orig%, %new(..)%, etc.)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@365 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Nov 28, 2010
  2. [logos] Repurpose %ctor to generate a constructor function (instead o…

    …f placing the autoconstructor.) To achieve the same functionality, you must now use "%ctor { %init; }".
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@364 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Nov 28, 2010
Commits on Nov 24, 2010
  1. Add .keep files to the empty directories, because git is braindead an…

    …d doesn't track empty directories (does it actually not track directories at all?)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@363 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Nov 24, 2010
Commits on Nov 13, 2010
  1. [legacy] Export the legacy variables related to exported current vari…

    …ables (which used to be exported when they /were/ the legacy variables :P)
    
    git-svn-id: http://svn.howett.net/svn/theos/trunk@362 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
    dhowett committed Nov 13, 2010