Commit Graph

2536 Commits

Author SHA1 Message Date
Pietro Gagliardi 089793e25d Restored unmodified GNU make files. 2016-06-03 10:29:54 -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 14f5d5388a Tried harder with the CMake lists. Still no go. They should probably be rewritten again... 2016-06-02 17:28:51 -04:00
Pietro Gagliardi da8649312e More cmake work. Better, but not all there. 2016-06-02 12:52:32 -04:00
Pietro Gagliardi 2d1b6093f0 More CMake Windows fixes. 2016-06-02 00:52:29 -04:00
Pietro Gagliardi 2ef3dafbc6 Fixed more Windows bits. 2016-06-02 00:23:42 -04:00
Pietro Gagliardi 1dbbab50a5 More Windows work. 2016-06-01 22:18:40 -04:00
Pietro Gagliardi ee373a94d6 Started the Windows cmake stuff and tried to get it to work on MinGW again. 2016-06-01 21:45:39 -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 7bdeefedeb More cmake setup. Now we can start the Unix tests, which we should have ready to go as-is... 2016-06-01 14:50:35 -04:00
Pietro Gagliardi 81c555ea3b Added the examples CMakeLists.txt. 2016-06-01 14:42:24 -04:00
Pietro Gagliardi 08c06f24c0 Added the test program to the CMake setup. 2016-06-01 14:07:43 -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 ec730962aa More work with cmake. 2016-05-31 11:10:35 -04:00
Pietro Gagliardi fcec2b87e5 Started refactoring the cmake file again. 2016-05-31 09:12:45 -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
Pietro Gagliardi 517661f935 More cmake work. 2016-05-30 21:32:38 -04:00
Pietro Gagliardi cec5df44c1 Added wscript. 2016-05-30 18:51:34 -04:00
Pietro Gagliardi 3f3c6fc09b More cmake work. Enough for now; let's try another one to see if it's any better. 2016-05-30 15:40:44 -04:00
Pietro Gagliardi 308d0eca88 Even more cmake work. 2016-05-30 14:32:05 -04:00
Pietro Gagliardi ee8b4f71c0 More cmake work. 2016-05-30 13:28:27 -04:00
Pietro Gagliardi 0fc4ff588f Added a preliminary CMakeLists.txt. This might be the one I go with. 2016-05-30 12:00: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 8247bc2b2b Alpha 3 release. 2016-05-29 22:38:29 -04:00
Pietro Gagliardi 708d8f38e9 Don't use -fPIC on static builds. 2016-05-29 22:02:49 -04:00
Pietro Gagliardi 2ed29a7fa0 More stuff. Screw this; releasing as is. 2016-05-29 21:13:03 -04:00
Pietro Gagliardi a226c80993 More TODO resolution and elimination and delegation and explanation. 2016-05-29 19:55:53 -04: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 473e3b593b Quick README fix. 2016-05-29 18:36:11 -04:00
Pietro Gagliardi be8a957689 Fixed static linking on Windows. 2016-05-29 18:35:06 -04:00
Pietro Gagliardi 56cb25b230 Started Windows TODO resolution. 2016-05-29 13:07:48 -04:00
Pietro Gagliardi e114502605 Tried to set up Windows static linking. 2016-05-29 12:00:55 -04:00
Pietro Gagliardi 52917c7e71 Added static linking to the test program. 2016-05-29 04:57: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 1e8a90d9a2 Eschewed chronological order in ui.h for logical order. 2016-05-28 22:35:40 -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 eb4bc4bfb5 Added NSTextView attributes. Let's fix uiMultilineEntry! 2016-05-28 18:59:20 -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