Commit graph

42 commits

Author SHA1 Message Date
Fred Kiefer
3a6dce02be Remove some gcc compiler warnings 2023-12-28 14:45:16 +01:00
Riccardo Mottola
bdcced992c fix redundant semicolons 2023-11-20 22:43:49 +01:00
Benjamin Johnson
2e98bd5366 Implement layout constraint conversion to internal solver constraints 2023-05-28 18:33:44 +10:00
Benjamin Johnson
708f7c337e Address feedback on bootstrap layout engine PR 2023-03-01 18:57:08 +11:00
Benjamin Johnson
7b9bede733 Improve memory management with layout engine 2023-02-28 19:18:52 +11:00
Benjamin Johnson
2a1c0f88b3 Move layoutEngine ownership to NSWindow 2023-02-27 19:56:37 +11:00
Benjamin Johnson
93769f3a52 Implement bootstrapping auto layout 2023-02-27 17:46:39 +11:00
Benjamin Johnson
928dd71439 Fix whitespace between argument in method call 2023-02-23 01:29:28 +00:00
Benjamin Johnson
75fcf49b62 Refactor layout core methods implementation to use ivars 2023-02-20 18:09:23 +11:00
Benjamin Johnson
571ad7a613 Implement supporting core layout methods on NSView 2023-02-19 15:21:13 +11:00
Benjamin Johnson
609d03ac41 Address feedback on GSAutoLayoutVFLParser
- Add space between parameter name and parameter
- Use release macro in constraintsWithVisualFormat
2022-11-12 12:09:29 +11:00
Benjamin Johnson
1aff56cb9b Implement constraintsWithVisualFormat method on NSLayoutConstraint 2022-11-05 20:33:23 +11:00
Gregory John Casamento
bf9513411d Reformat changelog a little. Remove nc to fix warning. 2020-07-30 05:10:37 -04:00
Gregory John Casamento
72cf6ce27c Remove notifications. 2020-07-30 04:56:32 -04:00
Gregory John Casamento
9bc2b0b5d2 Complete NSCoding implementation 2020-06-14 19:13:17 -04:00
Gregory John Casamento
799ac3b89c Remove logging 2020-06-14 12:39:19 -04:00
Gregory John Casamento
59b7d8cfca Use enum value NSLayoutPriorityRequired instead of literal 2020-06-14 10:55:05 -04:00
Gregory John Casamento
1f20485073 Add changes suggested by Fred. Do not expose init method, add defaults for NSConstant and NSMultiplier 2020-06-14 06:57:26 -04:00
Gregory John Casamento
5c920907d7 Remove 'removeObserver' call 2020-06-14 06:22:57 -04:00
Gregory John Casamento
32716a1216 Only apply to the window changing size. Other notifications will be added as needed. 2020-06-14 06:02:19 -04:00
Gregory John Casamento
215842efcc Streamlined isEqual: per discussion with Fred 2020-06-14 05:00:50 -04:00
Gregory John Casamento
4e868a374f Make sure applyConstraint is called only once for each constraint. 2020-06-14 04:23:13 -04:00
Gregory John Casamento
aaaf420c78 Streamline notification and add/remove of constraints 2020-06-14 03:29:39 -04:00
Gregory John Casamento
df9109f040 Remove debug stuff 2020-06-14 02:33:13 -04:00
Gregory John Casamento
027cb95650 Implement isEqual: so that we don't have any repeat constraints in the array 2020-06-14 02:31:18 -04:00
Gregory John Casamento
474e87d2ad Changes in GSXib5KeyedUnarchiver to decode constraints. 2020-06-13 23:45:08 -04:00
Gregory John Casamento
fb3f9f5fe3 Add priority to copy, correct encoding and decoding. 2020-06-09 07:34:40 -04:00
Gregory John Casamento
bf3bc1668e Add NSPriority, default priority to 100 if not present 2020-06-09 07:27:06 -04:00
Gregory John Casamento
a4a30889f7 Start adding logic to process constraints 2020-06-03 07:12:31 -04:00
Gregory John Casamento
af2319d26e Add constraints when they are created 2020-06-02 04:58:13 -04:00
Gregory John Casamento
2c8692c379 Add dealloc 2020-06-01 02:27:49 -04:00
Gregory John Casamento
bb4d2b1284 Implement parsing methods. 2020-05-30 06:40:16 -04:00
Gregory John Casamento
33e39b1d93 Add methods to translate from relation and attribute to string. 2020-05-27 19:04:42 -04:00
Gregory John Casamento
7faefbb0dd Improve NSLayoutConstraint description 2020-05-26 15:06:28 -04:00
Gregory John Casamento
e723d6914b Encoding and decoding implementation 2020-05-10 15:03:31 -04:00
Gregory John Casamento
2d3587a4cc Implement decoding 2020-05-10 14:49:06 -04:00
Gregory John Casamento
0a2f4e90e5 Implement methods in NSLayoutConstraint 2020-05-10 08:41:10 -04:00
Gregory John Casamento
a9a025ddf6 Implement methods in NSLayoutConstraint 2020-05-10 08:40:15 -04:00
Gregory John Casamento
c99d9f68d7 Implement methods in NSLayoutConstraint 2020-05-10 08:35:49 -04:00
Gregory John Casamento
86e4e58df3 Skeleton of NSLayoutConstraint 2020-05-10 08:22:12 -04:00
Gregory John Casamento
9c5143f1ce Add NSLayout* classes. Correct API version and email. 2020-05-10 06:38:06 -04:00
Gregory John Casamento
b1980268e2 Initial skeletons for layout constraints 2020-05-10 02:26:06 -04:00