Pietro Gagliardi
|
f570acef6f
|
Started migrating the original main test back. We need to rework Spinbox now.
|
2015-08-08 23:03:05 -04:00 |
Pietro Gagliardi
|
2af8289753
|
More TODOs.
|
2015-08-08 22:06:57 -04:00 |
Pietro Gagliardi
|
9431ed5851
|
Added a more comprehensive test of the basics. Woo! Now to convert the test that's in main.swift_...
|
2015-08-08 22:04:03 -04:00 |
Pietro Gagliardi
|
02991879bc
|
Implemented lack of stretchiness. I believe this is a complete Box implementation. A lot simpler than the other one! :) But will it hold up to the stress test...
|
2015-08-08 21:54:58 -04:00 |
Pietro Gagliardi
|
64dedfe540
|
Implemented multiple stretchy controls.
|
2015-08-08 21:38:21 -04:00 |
Pietro Gagliardi
|
48e1ccdb10
|
Implemented stretchiness.
|
2015-08-08 21:31:15 -04:00 |
Pietro Gagliardi
|
15eadff66b
|
Made the button stretchy. This will be important for testing, as by default Auto Layout will want to make the text field stretchy instead.
|
2015-08-08 20:21:07 -04:00 |
Pietro Gagliardi
|
8ae6c9d02a
|
Switched to processing command-line arguments for setting the variables in main.swift.
|
2015-08-08 19:47:53 -04:00 |
Pietro Gagliardi
|
c76584c3d2
|
More Box work. Secondary dimension stretchiness works fine.
|
2015-08-08 19:32:24 -04:00 |
Pietro Gagliardi
|
b2f5254fe2
|
Wrote some preparation for stretchiness.
|
2015-08-08 11:48:35 -04:00 |
Pietro Gagliardi
|
240dc25d74
|
More Box work.
|
2015-08-08 11:12:55 -04:00 |
Pietro Gagliardi
|
cacc4f1ed6
|
More Box work.
|
2015-08-07 22:40:09 -04:00 |
Pietro Gagliardi
|
39d36f30b5
|
Removed Control.Relayout(). It's not going to be needed, as only a change in control-specific state would trigger a relayout, and we don't need to lay /the entire window/ out recursively due to an internal change.
|
2015-08-07 22:10:11 -04:00 |
Pietro Gagliardi
|
34684cf2aa
|
Started reimplementing Box.
|
2015-08-07 22:01:19 -04:00 |
Pietro Gagliardi
|
43e3d538e0
|
Migrated Spinbox back.
|
2015-08-07 20:25:18 -04:00 |
Pietro Gagliardi
|
a6b16d6473
|
Started migrating controls back.
|
2015-08-07 19:44:08 -04:00 |
Pietro Gagliardi
|
96e857dbee
|
Fixed compiler issues. Starting to get very annoyed about optionals.
|
2015-08-07 19:29:01 -04:00 |
Pietro Gagliardi
|
4857ddc018
|
Started restructuring this whole thing, Swift-izing it in the process. I'm going to just abandon the current tBox implementation; I have no idea how it worked at all.
|
2015-08-07 18:17:29 -04:00 |
Pietro Gagliardi
|
10914816ff
|
Got rid of UIntMax.
|
2015-08-07 16:27:03 -04:00 |
Pietro Gagliardi
|
ad895a7f7e
|
Fixed some more runtime errors. I have no idea how this code even worked anymore.
|
2015-08-07 16:24:15 -04:00 |
Pietro Gagliardi
|
9aeeeab812
|
Fixed runtime errors. Now to fix bugs!
|
2015-08-07 15:07:53 -04:00 |
Pietro Gagliardi
|
dbde124471
|
Fixed build errors. Now to fix runtime errors.
|
2015-08-07 14:45:01 -04:00 |
Pietro Gagliardi
|
06f32ca759
|
Fixed many compiler errors.
|
2015-08-07 10:46:34 -04:00 |
Pietro Gagliardi
|
de4156122f
|
Converted box.m to Swift. Now to test the build!
|
2015-08-07 10:17:44 -04:00 |
Pietro Gagliardi
|
3709e3fb0a
|
Converted spinbox.m to Swift.
|
2015-08-07 02:15:40 -04:00 |
Pietro Gagliardi
|
b3f7559bef
|
Minor fixups.
|
2015-08-07 02:06:18 -04:00 |
Pietro Gagliardi
|
e2605f5db9
|
More code conversion to Swift.
|
2015-08-07 02:04:05 -04:00 |
Pietro Gagliardi
|
63df1b8e16
|
More work.
|
2015-08-07 01:28:26 -04:00 |
Pietro Gagliardi
|
06c88c9d9f
|
More work.
|
2015-08-07 01:11:55 -04:00 |
Pietro Gagliardi
|
260f619b20
|
Removed now-converted files.
|
2015-08-06 23:15:10 -04:00 |
Pietro Gagliardi
|
2b1134625d
|
Converted window.m.
|
2015-08-06 23:10:50 -04:00 |
Pietro Gagliardi
|
170426a9df
|
Decided to rewrite this test program in Swift. Started with main.m, osxaltest.h, and util.m.
|
2015-08-06 22:38:39 -04:00 |
Pietro Gagliardi
|
4c4737c661
|
More TODOs.
|
2015-08-03 14:34:14 -04:00 |
Pietro Gagliardi
|
0e851d6c0e
|
More TODOs.
|
2015-08-03 13:57:01 -04:00 |
Pietro Gagliardi
|
fcf562d264
|
Rotated the boxes. Let's fix the new problems!
|
2015-08-03 13:37:48 -04:00 |
Pietro Gagliardi
|
f185ca71c6
|
Added labels to make sure those don't need minimum width constraints. They don't.
|
2015-08-03 13:35:36 -04:00 |
Pietro Gagliardi
|
1cdc7d3eb3
|
Removed all the debugging hooks, re-enabled (and fixed) everything else.
|
2015-08-03 12:47:41 -04:00 |
Pietro Gagliardi
|
70adbf6496
|
Added a non-stretchy predicate for non-stretchy controls. This fixes our spinboxes.
|
2015-08-03 12:43:51 -04:00 |
Pietro Gagliardi
|
1e66408881
|
More debugging. It looks like I'll need to add that minimum width field after all.
|
2015-08-03 12:34:49 -04:00 |
Pietro Gagliardi
|
f66e2e569e
|
Fixed empty boxes.
|
2015-08-03 12:17:56 -04:00 |
Pietro Gagliardi
|
f7c5c6e60e
|
More ambiguity debugging hooks.
|
2015-08-03 12:16:08 -04:00 |
Pietro Gagliardi
|
c5a013aea1
|
ACTUALLY switched to tBoxContainer in box.m this time.
|
2015-08-03 12:10:47 -04:00 |
Pietro Gagliardi
|
64f36f8e74
|
Added a debug hook for constraints.
|
2015-08-03 12:09:31 -04:00 |
Pietro Gagliardi
|
69cb4694dd
|
Added padding.
|
2015-08-03 11:22:14 -04:00 |
Pietro Gagliardi
|
06257b19a5
|
Added tEntry as a test of the tSpinbox bug. THAT works fine.
|
2015-08-03 11:14:05 -04:00 |
Pietro Gagliardi
|
38c10ed990
|
More test stuff. More TODOs.
|
2015-08-03 01:19:32 -04:00 |
Pietro Gagliardi
|
167ea85f6e
|
Implemented the proper hugging constraints for stretchy controls in tBox.
|
2015-08-03 01:10:27 -04:00 |
Pietro Gagliardi
|
1d2880895d
|
Started saving the hugging priorities.
|
2015-08-03 00:56:14 -04:00 |
Pietro Gagliardi
|
410478e1c8
|
Added an orientation variable to the tBox code for when we start dealing with hugging. This is the proper way to prevent controls from stretching.
|
2015-08-02 23:42:14 -04:00 |
Pietro Gagliardi
|
e7570c9490
|
Added another row of buttons to main.m. Non-stretchiness doesn't quite work correctly...
|
2015-08-02 23:21:27 -04:00 |