Commit Graph

414 Commits

Author SHA1 Message Date
Pietro Gagliardi 77f4c2f309 Split out more of the uiGrid logic. Rewrote the edge constraints to use a topological map of views. Added dummy views for empty cells. 2016-06-12 13:47:33 -04:00
Pietro Gagliardi 6496de0fb2 More TODOs. 2016-06-12 12:35:13 -04:00
Pietro Gagliardi 8f0bac54a3 Took an alternate route through the constraints in the grid. This should be a bit easier... 2016-06-12 12:31:44 -04:00
Pietro Gagliardi fc2218b51c Added some rather fickle debugging. 2016-06-11 23:52:35 -04:00
Pietro Gagliardi 9650770554 Fixed a typo. Doesn't fix runtime bugs yet. 2016-06-11 23:42:58 -04:00
Pietro Gagliardi faa989aefd Fixed compile errors. Runtime errors, on the other hand... 2016-06-11 23:28:51 -04:00
Pietro Gagliardi d528fae1f4 Added uiGrid on OS X. Now to fix build errors. 2016-06-11 23:09:53 -04:00
Pietro Gagliardi 69cad5e608 Fixed uiForm on OS X. 2016-06-08 16:26:23 -04:00
Pietro Gagliardi d232342779 I give up. MCVE time. 2016-06-08 08:55:57 -04:00
Pietro Gagliardi 45d394fc81 Okay new plan. 2016-06-08 07:54:43 -04:00
Pietro Gagliardi 9295af59ab More TODOs. 2016-06-07 23:25:01 -04:00
Pietro Gagliardi 2f3c0449ba Tried to debug all this ambiguity. Argh. 2016-06-07 23:24:29 -04:00
Pietro Gagliardi 0fe5214c09 Revert "Undid all of that. There's an easier way..."
...that only works for nibs. :(

This reverts commit 0fa706b8d4.
2016-06-07 18:57:02 -04:00
Pietro Gagliardi 0fa706b8d4 Undid all of that. There's an easier way... 2016-06-07 18:49:59 -04:00
Pietro Gagliardi 39f76bdb25 Part 2: leading and trailing edges. 2016-06-07 15:04:14 -04:00
Pietro Gagliardi 95fcceef2f Re-establishing uiForm constraints: vertical constraints. 2016-06-07 14:59:12 -04:00
Pietro Gagliardi 7f05b796aa Started rewriting the OS X uiForm auto layout. 2016-06-07 14:38:03 -04:00
Pietro Gagliardi ff3c9f0c67 Made uiSearchEntry appropriately rounded on OS X. 2016-06-07 14:35:43 -04:00
Pietro Gagliardi c6e8537269 Started the implementation of uiForm on OS X. Mostly works, but there are Auto Layout glitches (of course there are Auto Layout glitches) 2016-06-07 11:29:49 -04:00
Pietro Gagliardi 3e1258cc62 Implemented the new radio button stuff on OS X. 2016-06-06 20:12:17 -04:00
Pietro Gagliardi 4e7d2812bd Implemented uiPasswordEntry() and uiSearchEntry() on OS X. 2016-06-05 20:39:18 -04:00
Pietro Gagliardi b65fb6509b More notes. 2016-06-04 00:16:37 -04:00
Pietro Gagliardi abcf1edf43 Re-added OS X file. Now to just prune everything again. 2016-06-03 21:48:10 -04:00
Pietro Gagliardi 1903115bbd Pushed all the build files elsewhere. I'm rewriting the CMakeLists files from scratch. 2016-06-03 00:29:31 -04:00
Pietro Gagliardi e4a66b786e Fixed static builds, added GTK+ builds, and cleaned out things in general for cmake. 2016-06-01 20:21:10 -04:00
Pietro Gagliardi 0fff9c6fd6 More CMake work. Thanks to Mr-Hide in irc.freenode.net/#cmake. 2016-06-01 12:48:26 -04:00
Pietro Gagliardi 0b5fbb81c9 Merge pull request #86 from joaoventura/master
Declare 10.9 version in Darwin
2016-05-31 08:19:26 -04:00
Pietro Gagliardi aa28904408 Removed the -DMACOSX_DEPLOYMENT_TARGET; this is an env var, not a macro. Thanks to Psy in irc.freenode.net/#macdev. 2016-05-30 22:26:08 -04:00
João Ventura f779978a42 Declare 10.9 version in Darwin
Fixes compilation issues in Mavericks
2016-05-30 13:06:25 +01:00
Pietro Gagliardi 0738eca6e4 More work. 2016-05-29 19:01:48 -04:00
Pietro Gagliardi efc1e55e58 More OS X spinbox stuff. 2016-05-29 18:40:53 -04:00
Pietro Gagliardi be8a957689 Fixed static linking on Windows. 2016-05-29 18:35:06 -04:00
Pietro Gagliardi d88233a0fb Documentation updates. 2016-05-29 04:53:49 -04:00
Pietro Gagliardi f2e8dab465 Merge pull request #69 from pcwalton/static
Add support for static linking.
2016-05-29 04:50:48 -04:00
Pietro Gagliardi 84d3df031f Either solved, dropped, or relegated to LONGTERM many of drawtext.m's TODOs. 2016-05-28 23:37:07 -04:00
Pietro Gagliardi 58d59f4370 Cleaned up events and proper string manipulation on uiMultilineEntry on OS X. Woo! 2016-05-28 23:08:56 -04:00
Pietro Gagliardi 0c85469e52 More TODO and intrinsic size work. 2016-05-28 22:49:27 -04:00
Pietro Gagliardi c99ad0f0c5 10.8 build fix. 2016-05-28 21:50:24 -04:00
Pietro Gagliardi ae0dcada45 More TODO resolution work. 2016-05-28 21:41:07 -04:00
Pietro Gagliardi b130ddc04b Added a test of having multiple uiRadioButtons in the same parent container and started a test of intrinsic sizes of all non-container controls. 2016-05-28 21:29:00 -04:00
Pietro Gagliardi 6e94671782 More TODO resolution and LONGTERM relegation. 2016-05-28 21:17:54 -04:00
Pietro Gagliardi a0084df23a Completely redid creating uiMultilineEntry on OS X. Much better now :D 2016-05-28 19:29:25 -04:00
Pietro Gagliardi 42d837806d More stale and duplicate TODO removal. 2016-05-28 18:16:13 -04:00
Pietro Gagliardi eb11452dd3 More TODO resolution. Some TODOs were moved to the issue tracker. 2016-05-28 18:01:25 -04:00
Patrick Walton 5f1e8fa601 Add support for static linking.
Use `make STATIC=1` to build a static library.

Some language ecosystems, like those of Rust, have a convention of
static linking in order to make binaries easier to distribute. In those
environments, this feature helps libui fit in more easily.

In order to prevent internal symbols from linking, we first create an
intermediate object file with `ld -r` and strip private symbols from it
before using `ar` to create the library.
2016-05-28 14:46:02 -07:00
Pietro Gagliardi ec4efe027b Some TODO resolution. 2016-05-28 17:36:31 -04:00
Pietro Gagliardi 1f9f317e7a More TODOs. 2016-05-28 17:04:28 -04:00
Pietro Gagliardi 52c3c52b56 Removed a TODO I can no longer fully confirm (only the focus rect of the NSComboBox seems to be clipped, which I'm sure is not my bug). 2016-05-28 16:09:07 -04:00
Pietro Gagliardi a6c48e087b 10.8 fixups. 2016-05-28 15:57:01 -04:00
Pietro Gagliardi 0d6dac5c5a Migrated from GTK+ 3.4 to 3.10 and from OS X 10.7 to 10.8. 2016-05-28 13:06:16 -04:00