Pietro Gagliardi
|
f97383f66c
|
Rearranged things so that uiInit() itself is in common/init.c and the OS-specific initialization code is its own standalone internal function. This'll make testing a bit easier, especially after the next few commits, and will allow me to test pre-initialization and cross-thread stuff a bit more easily.
|
2019-05-09 12:07:28 -04:00 |
Pietro Gagliardi
|
bdf80516c5
|
Reimplemented uiMain() and friends on GTK+.
|
2019-04-28 14:52:39 -04:00 |
Pietro Gagliardi
|
23591eeefa
|
Executive decision: drop uiUnint(). This was really more for double-checking *my* work, mostly with regards to memory management, and we could probably do that in the test suite instead, or even with AddressSanitizer.
|
2019-04-21 20:59:36 -04:00 |
Pietro Gagliardi
|
469484415d
|
Implemented uiInit() on Unix.
|
2019-04-21 12:24:19 -04:00 |
Pietro Gagliardi
|
12d52be921
|
Oops; missed a spot.
|
2019-04-08 20:38:17 -04:00 |
Pietro Gagliardi
|
24df7bc3f2
|
Cleaned up timers in uiUninit() on GTK+. Update #395.
|
2018-08-09 04:49:07 -04:00 |
Pietro Gagliardi
|
add92694bf
|
And renamed the things in future.c, to round out uipriv_unix.h.
|
2018-05-12 13:19:35 -04:00 |
Pietro Gagliardi
|
afaec644cc
|
Migrated the margin and padding constants and functions in menu.c, alloc.c, and util.c.
|
2018-05-12 12:47:21 -04:00 |
Pietro Gagliardi
|
cac4cd9e81
|
Cleaned up stylistic nits and common branch naming issues on the new uiTimer() code. Also switched the Windows code to use a simple struct instead of the class (and with a uipriv name).
|
2018-04-18 21:04:12 -04:00 |
Pietro Gagliardi
|
85a4c6d35d
|
Merge pull request #277 from cody271/timer
Adds a function uiTimer() that runs code on the main loop at certain intervals.
Original comment: Add Timer API
|
2018-04-18 20:52:59 -04:00 |
cody271
|
5622b13c23
|
uiTimer() Use uiNew() and uiFree()
|
2018-04-16 17:49:08 -07:00 |
cody271
|
5dbe20593d
|
Implement uiTimer() for GTK+ and OS X
|
2018-04-16 17:28:12 -07:00 |
cody271
|
27b8ce1db3
|
Add uiTimer() API and example
|
2018-04-16 17:28:12 -07:00 |
Pietro Gagliardi
|
099c4ff631
|
uiAlloc() et al -> uiprivAlloc() et al, GTK+ code.
|
2018-04-15 16:36:03 -04:00 |
Pietro Gagliardi
|
4a57b15d09
|
Renamed the common options variable to uiprivOptions.
|
2018-04-15 15:49:45 -04:00 |
Pietro Gagliardi
|
211b11b80f
|
Fixed a threading issue in uiQueueMain() on GTK+.
|
2016-10-31 13:38:38 -04:00 |
Pietro Gagliardi
|
4fabbd18cf
|
Split future symbols into a new file and added one we need to fix our button cell renderer on 3.20.
|
2016-06-29 15:33:30 -04:00 |
Pietro Gagliardi
|
fca6edd5a2
|
More TODOs.
|
2016-06-17 09:24:15 -04:00 |
Pietro Gagliardi
|
ae14542c9a
|
Improved uiMainSteps().
|
2016-06-17 09:22:31 -04:00 |
Pietro Gagliardi
|
cc4c5f7bd5
|
Tried to see if we can fix up uiMainSteps() to not need parameters after all. Now to actually apply it.
|
2016-06-17 09:16:30 -04:00 |
Pietro Gagliardi
|
c001c164f1
|
Implemented uiMainSteps() on GTK+.
|
2016-06-16 13:59:35 -04:00 |
Pietro Gagliardi
|
8bf24cb791
|
Implemented uiMainStep() on GTK+.
|
2016-05-24 22:29:33 -04:00 |
Pietro Gagliardi
|
4ab0d9c1f6
|
More TODO resolution.
|
2016-05-22 22:57:18 -04:00 |
Pietro Gagliardi
|
f60178798f
|
Removed common type code.
|
2016-04-24 15:08:48 -04:00 |
Pietro Gagliardi
|
f77955aefb
|
Added uiQueueMain() (basically g_idle_add()) and implemented it on all platforms except Haiku. A test to come. After this we can start rewriting the Go package ui at long last.
|
2015-12-04 23:42:03 -05:00 |
Pietro Gagliardi
|
54332b90fb
|
Finally merged out the redo folder.
|
2015-09-02 13:48:06 -04:00 |
Pietro Gagliardi
|
46b865a298
|
Begin the GTK+ backend migration.
|
2015-08-27 12:29:19 -04:00 |
Pietro Gagliardi
|
8213eac2d7
|
Moved everything up a directory level.
|
2015-08-27 12:05:11 -04:00 |
Pietro Gagliardi
|
930c4e6883
|
More migration.
|
2015-06-11 18:01:05 -04:00 |
Pietro Gagliardi
|
057c6d0cfd
|
Implemented menu uninit on GTK+.
|
2015-05-08 10:17:33 -04:00 |
Pietro Gagliardi
|
f544414299
|
Added allocation tracking to the GTK+ backend.
|
2015-05-07 23:10:19 -04:00 |
Pietro Gagliardi
|
27d6994bdc
|
Implemented stub uiUninit()s.
|
2015-05-07 22:32:17 -04:00 |
Pietro Gagliardi
|
58954ed201
|
Fixed up realloc() to zero extra memory on GTK+. Thanks to Rena (irc.badnik.net) and hyphenated (irc.freenode.net/#go-nuts) for confirming my memset() and spotting errors.
|
2015-05-04 19:26:05 -04:00 |
Pietro Gagliardi
|
6c6bce3702
|
Moved everything back to the top level.
|
2015-04-29 11:02:38 -04:00 |
Pietro Gagliardi
|
7c91616af1
|
More old code file removal.
|
2015-04-28 13:53:45 -04:00 |
Pietro Gagliardi
|
e69c0c93eb
|
Split all OS backends into their own folders.
|
2015-04-15 18:49:45 -04:00 |