Antoine Mercadal
47a5296f0b
Merge pull request #1405 from applicaster/linux_rhino
...
Compilation problems on ubuntu
2012-01-03 07:47:32 -08:00
Alexander Ljungberg
20ae47971c
Missing semicolons.
2011-12-06 22:43:00 +00:00
Neer Friedman
ffa33788c4
enquote ENVIRONMENTS environment variable
2011-11-24 18:04:26 +02:00
Neer Friedman
23c9c6bf44
concat command parts in Objective-j/Jakefile
2011-11-24 18:03:20 +02:00
Alexander Ljungberg
7147266ddf
objjc option to compile to plain JavaScript (suitable for linting).
2011-11-10 11:59:26 +00:00
Alexander Ljungberg
357212bff7
Missing semicolons.
2011-11-10 11:34:26 +00:00
Alexander Ljungberg
ed4fc3b20f
objjc compile to stdout, argument parsing, --help.
2011-11-10 10:37:46 +00:00
Alexander Ljungberg
7e8b71dd52
Semicolons.
2011-11-10 10:36:47 +00:00
Alexander Ljungberg
267f00bfe1
Put spaces around = in [name] = function... generated JS to reduce lint warnings.
2011-11-10 09:41:21 +00:00
Alexander Ljungberg
cc63c239f6
Fix StaticResource.includeURLs caching.
...
The cache was being shadowed by a local variable, forcing the list of includeURLs to be recreated for every call to StaticResource.includeURLs.
2011-10-21 16:06:52 +01:00
Alexander Ljungberg
4b82cae638
Add missing semicolons.
2011-10-21 15:58:50 +01:00
Francisco Ryan Tolmasky I
80c8fd9794
Fix bundletask to include .js files.
...
Reviewed by @tolmasky.
2011-07-02 08:38:10 -07:00
Alexander Ljungberg
59aabc150c
Crude but functional infinite recursion checker, optional at compile time.
2011-06-04 01:23:24 -04:00
Francisco Ryan Tolmasky I
671666e842
Fix selector typo.
...
Reviewed by me.
2011-05-31 01:27:41 -07:00
Francisco Ryan Tolmasky I
33e4fea0ec
Fix forwarding in Objective-J (and many infinite recursions, such as when there is no superclass):
...
1. Fix infinite recursion when no superclass and method isn't implemented. Closes #469 .
2. Fix infinite recursion when coercing an object without description implemented into a string. Closes #1289 .
3. Add -forwardingTargetForSelector: support.
Reviewed by @tolmasky.
2011-05-31 00:44:16 -07:00
Alexander Ljungberg
71364c9b1a
Fixed: very large numbers written to 280north1 plist files would be read back as very small numbers.
...
This affected nib2cib and cib files in particular.
2011-05-30 00:51:35 -04:00
Alexander Ljungberg
a34155da61
Whitespace cleanup.
2011-05-30 00:43:07 -04:00
Klaas Pieter Annema
8520247605
Merge pull request #1247 from primalmotion/bundletask-option-preventsnib2cib
...
add setPreventsNib2Cib to bundletask.js
2011-05-23 22:45:42 -07:00
Alexander Ljungberg
7539b5b06d
Merge pull request #903 from paulbaumgart/cappuccino
...
---
Some OJTestCases for the Preprocessor to help make sure it still works as expected when it gets revamped to remove with() from method code generation.
Note that this adds a test case which the current Preprocessor fails: http://github.com/paulbaumgart/cappuccino/commit/8cc61cccfd78debe96eba96a7b332938e6d5377e#L1R81
2011-05-15 19:25:10 -04:00
Francisco Ryan Tolmasky I
5c10615c9f
Fix for could not load theme errors in nib2cib. CFBundle was using Image to determine if the platform in question supported image spriting. On Rhino, the Image object doesn't exist, throwing an exception and causing everything to break from that point forward.
...
Reviewed by me.
2011-05-06 12:40:09 -07:00
Antoine Mercadal
3012cc7c92
add setPreventsNib2Cib to bundletask.js
...
This allows to be able to have the XIB/NIB and CIB version in the resource
directory and to prevent to run nib2cib by just copying the CIB version.
This is very usefull in the caseof using a Linux build machine for your application
2011-04-30 11:40:47 +02:00
Francisco Ryan Tolmasky I
96e3c4db68
Store type info for ivars when proper flags are set.
...
Reviewed by me.
2011-04-14 09:49:33 -07:00
Aparajita Fishman
16bacae7e3
More cool stuff...
...
- The holy grail! I took Klaas' great autonib2cib and rolled it into nib2cib.
- Removed check for stream in CPLogColorize, it isn't necessary and reduces its general-purpose usage.
2011-03-29 16:06:19 -04:00
Alexander Ljungberg
50e5fa2c8e
Fix accidental globals.
2011-03-01 00:02:35 -03:00
Jürgen Kartnaller
6a4e0bd43a
log a traceback only once
2011-02-02 22:43:20 +01:00
Francisco Ryan Tolmasky I
c620c7bf39
Fix for %% being broken in sprintf (minor bugfix for press message showing undefined, larger press bugs remain).
...
Reviewed by me.
2011-01-09 03:25:59 -08:00
Francisco Ryan Tolmasky I
d23bf7b927
Some KVC cleanup:
...
1. Added class_getInstanceVariable to runtime.
2. Changed KVC to rely on class-defined variables vs prototypal ones.
3. Modified KVO code to use public APIs.
Reviewed by me.
2010-12-23 23:46:23 -08:00
Francisco Ryan Tolmasky I
91d28cbbdd
Fix for FireFox plists breaking with text over 4096 bytes.
...
Closes #842 .
Reviewed by me.
2010-12-11 11:29:49 -08:00
Francisco Ryan Tolmasky I
f667c39ade
Further versioning fix.
...
Reviewed by me.
2010-12-10 09:04:13 -08:00
Andreas Falk
8a75c9078e
Fix display names in CFBundle
2010-11-13 13:36:24 +01:00
Francisco Ryan Tolmasky I
f46bbf83a8
Slight fix for correctness with --include.
...
Reviewed by me.
2010-11-01 11:26:59 -07:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Brian Donovan
8ca2a1bf5b
IE uses an empty string as the value of an empty capture group.
2010-10-22 14:41:31 -07:00
Brian Donovan
8427697a4b
Fix accidental globals.
2010-10-22 14:15:22 -07:00
Brian Donovan
7be6352531
Add format parameter index support to sprintf.
...
This is primarily useful in cases when the format string can vary, but the argument order will not, as is often the case with format strings in Localized.strings files.
From http://perldoc.perl.org/functions/sprintf.html :
An explicit format parameter index, such as 2$. By default sprintf will format the next unused argument in the list, but this allows you to take the arguments out of order.
See also this Cocoa example: http://stackoverflow.com/questions/1063843/is-there-a-way-to-specify-argument-position-index-in-nsstring-stringwithformat
2010-10-21 09:54:51 -07:00
cacaodev and Ross Boucher
678563a970
Accidental globals in CPNotificationCenter and Runtime.js
2010-10-18 10:15:40 -07:00
Paul Baumgart
45ebe2c905
Fix deprecation warnings
2010-10-06 23:04:46 -07:00
Paul Baumgart
0802b80c35
Make local param shadowing detection print a warning instead of throwing a SyntaxError. This way it's easier to test that particular scenario, since this is actually a bug in the Preprocessor.
2010-09-24 15:03:22 -07:00
Francisco Ryan Tolmasky I
06bb1a96f3
Fix for objjc not compiling.
...
Reviewed by me.
2010-09-19 15:21:01 -07:00
Francisco Ryan Tolmasky I
70e4dd16df
A few more parser tests and reorg of tests.
...
Reviewed by me.
2010-09-19 08:18:54 -07:00
Aparajita Fishman
586e18f1a7
Custom formatter support (and fixes) for CPLog.
...
- A formatter function can be passed to the CPLogRegister functions. If the given level already has a provider for the given level, the formatter will be replaced with the one passed to the register function.
- Added CPLogColorize function to make it easy for users to colorize messages.
- CPLogRegisterRange now checks for min <= max, and now correctly starts iterating from min.
- Moved colorization of log level to _CPFormatLogMessage.
- Whitespace cleanup.
2010-09-03 11:20:28 -04:00
Alexander Ljungberg
547f1fb786
While not used anywhere, the preprocessor 'peak' method was most likely meant to be called 'peek'. Renamed it. Also some minor code styling and whitespace fixes.
2010-08-29 17:42:22 -04:00
Nicholas Small
c9b02603bc
Don't use the deprecated .path() method in CFBundle OBJJ_PROGRESS_CALLBACK.
2010-08-23 15:48:17 -04:00
Aparajita Fishman and Alexander Ljungberg
c91c513b60
Proposed method of excluding themed objects from the theme showcase.
...
- Also added class_respondsToSelector, it was a no-brainer.
- Cleaned up trailing whitespace in CPThemeBlend.j. Woo-hoo!
2010-08-22 22:06:22 -04:00
Francisco Ryan Tolmasky I
111ac84a65
Removed unecessary whitespace.
...
Reviewed by me.
2010-08-17 11:23:50 -07:00
Ross Boucher
f5322b39bc
Fix a debug mode bug in IE. Closes #768 .
2010-07-28 15:13:21 -07:00
Andreas and Ross Boucher
a6b7d456f4
Add isLoaded to CFBundle and CPBundle
2010-06-23 20:11:05 -07:00
Ross Boucher
2f58517ce5
Request headers should be set after the request is re-opened. Closes #701 .
2010-06-15 09:29:04 -07:00
Alexander Ljungberg and Ross Boucher
44555ac724
UTF compatible CFData base64 string encoder and decoder. Use it for CPButton key equivalent archiving. Also ordered CPText.j constants by value and removed the empty CPText class definition as it caused errors with nib2cib. Fixed: the key equivalent for forward delete (CPDeleteFunctionKey, \uF728) was transformed to '(' (\u0028) when archived and unarchived.
2010-06-11 09:39:19 -07:00
Ross Boucher
421ae6b316
Make CPButton archive its key equivalents, and make nib2cib support the feature.
2010-06-10 10:41:15 -07:00