Antoine Mercadal
348d689243
If the targetView of attachedWindow has no more window, close the popover instead of trying to reposition it
2013-01-23 10:45:09 -08:00
Antoine Mercadal
4acd11d649
Merge branch 'objj_compiler2' into integ
2013-01-23 10:05:11 -08:00
Aparajita Fishman
af47857a47
Fixed missing/circular imports in nib2cib
2013-01-23 23:10:10 +08:00
Martin Carlberg
1280b6e13e
Fixed new compiler to load frameworks for the environment that it is building and not for the environment that is running
2013-01-23 15:25:13 +01:00
Aparajita Fishman
a7587d631c
Oops, missed one
2013-01-23 17:16:36 +08:00
Aparajita Fishman
866e1f00f7
Objj2 compiler fixes
...
- Each file compiles individually with no errors or warnings.
- Added missing imports.
- Fixed imports to remove circularity.
- Removed unnecessary imports.
- Added missing headers.
- Added missing action_button.png.
- Replace CPMakeRect with CGRectMake.
2013-01-23 15:48:56 +07:00
Aparajita Fishman
4f377bcebe
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Misc. code cleanup.
Conflicts:
AppKit/CPWindow/_CPWindow.j
AppKit/Platform/DOM/CPPlatformWindow+DOM.j
2013-01-23 15:48:55 +07:00
Aparajita Fishman
64a0fb278b
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Fixed broken code in CPCharacterSet -hasMemberInPlane:
- Misc. code cleanup.
2013-01-23 15:45:08 +07:00
Antoine Mercadal
f8c9466d04
Add other missing imports
2013-01-22 15:47:33 -08:00
Antoine Mercadal
ef62191e6b
Fix missing imports and @global and @class
2013-01-22 15:44:56 -08:00
Antoine Mercadal
e25cee0855
Add missing @class
2013-01-22 13:10:55 -08:00
Antoine Mercadal
94439f0d10
Add new found warnings fixes
2013-01-22 12:47:29 -08:00
Antoine Mercadal
2385f48fe4
Add missing imports
2013-01-22 12:27:19 -08:00
Antoine Mercadal
ed98acc906
Add missing header + missing @global
2013-01-22 12:26:30 -08:00
Martin Carlberg
201c7637f6
Fixed new compiler to output better formatted error messages
2013-01-22 15:38:02 +01:00
Martin Carlberg
765b10611b
Fixed mouse location in key events and copy event
2013-01-22 10:34:04 +01:00
Martin Carlberg
28a135880d
Declared some functions when compiling in rhino
2013-01-22 10:33:36 +01:00
Martin Carlberg
2952812a4b
Fixed uninitialized warning message in new compiler when using rhino
2013-01-22 10:32:37 +01:00
Martin Carlberg
6c57c4b1e1
Merge branch 'master' of https://github.com/cappuccino/cappuccino into objj_compiler2
2013-01-22 10:28:36 +01:00
Alexandre Wilhelm
706337d8fa
Fixed bug with focused textField
2013-01-21 16:07:00 -08:00
Alexandre Wilhelm
d13d9228e8
Updated slices
2013-01-21 16:05:19 -08:00
Alexandre Wilhelm
c4492fb1a1
updated images for textFields
2013-01-21 13:54:08 -08:00
Alexandre Wilhelm
6e6d4ebc76
Fixed bug about textFields
2013-01-21 13:52:52 -08:00
Alexandre Wilhelm
3b3aa6b2fe
Updated slices
2013-01-21 13:52:32 -08:00
Alexandre Wilhelm
11bad2e474
Fixed bug about the color in focused textField
2013-01-21 11:30:26 -08:00
Antoine Mercadal
556f17969c
Update CPComboxBox manual test
2013-01-21 09:33:06 -08:00
Antoine Mercadal
a2f40be00e
Fix small bug in Aristo2 and CPCombobox
2013-01-21 09:32:51 -08:00
Aparajita Fishman
cc0503c8a4
Fixed missing import, deprecated CP functions, misnamed ivar
2013-01-21 12:07:03 +07:00
Alexander Ljungberg
5ec9cf7faf
Fixed: "in" could not be a parameter in a message.
...
With the new compiler, messages such as `[a in:b]` could not be sent, the "in:" parameter throwing an unexpected token error. This was true both if "in" was the first argument or any of the subsequent parameters (such as in `[a something:X in:Y]`).
2013-01-21 02:11:51 +00:00
Alexander Ljungberg
cc05df412e
Fixed: objjc didn't print some errors.
...
Before this fix, certain errors during compilation such as not being able to load a file, would cause the compilation to fail without stating what went wrong.
This fix prints such errors and avoids crashing later when the result of the compilation is undefined.
2013-01-21 01:08:28 +00:00
Alexander Ljungberg
806c7935c5
Lint.
2013-01-20 19:10:41 +00:00
Alexander Ljungberg
e7f0400580
Formatting.
2013-01-20 18:24:48 +00:00
Alexander Ljungberg
ad109532be
It's enough to read flattensSources once.
2013-01-20 18:09:55 +00:00
Alexander Ljungberg
9dbfa99284
Lint.
2013-01-20 17:14:44 +00:00
Alexander Ljungberg
3c684404ed
Eliminate mystery CGPointPointer.
2013-01-20 16:44:40 +00:00
Alexander Ljungberg
d818615472
Missing import.
2013-01-20 16:35:48 +00:00
Alexander Ljungberg
06694061d2
Fix nib2cib error introduced by c3d8f4f.
...
This fixes `- [NSWindowTemplate setFullBridge:] unrecognized selector sent to instance` errors when running nib2cib.
2013-01-20 16:05:06 +00:00
Alexander Ljungberg
75c305ae0f
Clean up manual CPBox test.
2013-01-20 16:03:56 +00:00
Alexander Ljungberg
cb786a0166
Small CPBox optimisation.
...
No need to call `setNeedsDisplay:` after `setValue:forThemeAttribute:`.
2013-01-20 13:19:29 +00:00
Aparajita Fishman
e292bf01d7
Fixed mouse down within the resize slop outside a window not resizing
2013-01-20 09:13:17 +07:00
Aparajita Fishman
17f07ee888
capp_lint will not flag CPRectEdge, more linking
2013-01-20 07:24:00 +07:00
Antoine Mercadal
51c09a1b02
Merge branch 'CPRuleEditor-fixes' of https://github.com/cacaodev/cappuccino into pr-1718
2013-01-19 11:48:18 -08:00
cacaodev
fe7befa845
Fix missing @end
2013-01-19 17:11:11 +01:00
cacaodev
eca5ef6f84
Fix textfield in rules croped
2013-01-19 17:08:34 +01:00
cacaodev
c023a38544
Remove unused code
2013-01-19 17:07:11 +01:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
Aparajita Fishman
24c0f2aedc
Merge branch 'refs/heads/inactive-window'
...
Conflicts:
AppKit/Themes/Aristo/ThemeDescriptors.j
AppKit/Themes/Aristo2/ThemeDescriptors.j
2013-01-19 15:15:51 +07:00
Antoine Mercadal
6170a274d7
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2013-01-18 23:24:22 -08:00
Antoine Mercadal
155796b0e0
Linting Aristo1
2013-01-18 23:24:00 -08:00
Aparajita Fishman
3b7262681c
Added inactive state to window title bar
...
- When a window is neither key nor main the title bar is clearly different
- capp_lint ThemeDescriptors.j
- Renamed some layers in Aristo2 PSD to be more descriptive
- New artwork files for window close buttons
- Removed stray Aristo2 image
2013-01-19 14:20:51 +07:00