Commit Graph

3644 Commits

Author SHA1 Message Date
Mariusz Kasolik 4b20c5b045 examples/cpp-multithreaded: fixed locks and timeThread terminate conditions
C++ unique_lock created through constructor with an argument creates already locked lock. The lock is unlocked with destructor.

condition_variable::wait_for returns true when await at least specified timeout false otherwise. There is no guarantee that it returns false when notified, therefore thread exit is done through extra flag 'running'.
2018-10-29 08:26:05 +01:00
Pietro Gagliardi 1d94e95e83 More work. That chevron is going to be annoying... 2018-10-13 17:56:44 -04:00
Pietro Gagliardi 9d31dddd13 Figured out what I was doing wrong to get rightbar not working; it was some code I forgot about =P 2018-10-13 14:17:17 -04:00
Pietro Gagliardi fc2ef2c904 More work. This is starting to get twisted. 2018-10-12 22:45:37 -04:00
Pietro Gagliardi a5aa4624df More work. We're definitely building up to something... 2018-10-12 20:56:53 -04:00
Pietro Gagliardi 87d3fc5064 And started the custom draw code. 2018-10-11 22:49:37 -04:00
Pietro Gagliardi 6a22c61cd4 More work on winrebarexplorertheme.cpp, including the boilerplate for custom draw. More TODOs in general. 2018-10-11 22:19:10 -04:00
Pietro Gagliardi d082b4efa4 More work on winrebarexplorertheme.cpp. It registers themes. 2018-10-11 21:03:34 -04:00
Pietro Gagliardi 91fe6e7c47 More rebar refinements. 2018-10-11 05:35:06 -04:00
Pietro Gagliardi 97b11e027d Refined the rebar test some more. 2018-10-11 04:10:36 -04:00
Pietro Gagliardi fa4f5d78cb More notes. 2018-10-10 22:13:05 -04:00
Pietro Gagliardi 30ee36f8d2 More test programs. This isn't done yet, and it's not working right... 2018-10-09 23:40:13 -04:00
Pietro Gagliardi 30d4129a38
Merge pull request #421 from Garland-g/master
Perl6 NativeCall bindings
2018-09-20 06:58:00 -04:00
Travis Gibson 186a92f6e9
Perl6 NativeCall bindings 2018-09-19 20:48:52 -07:00
Pietro Gagliardi 6891017cbe Wait I thought I did PIC already wtf 2018-09-01 20:37:05 -04:00
Pietro Gagliardi e2222e414d Sigh MinGW 2018-09-01 20:03:15 -04:00
Pietro Gagliardi 7268f2c78f Oops, clarified the README I just wrote. 2018-09-01 19:15:41 -04:00
Pietro Gagliardi 2606235a74 And fixed the documentation and marked Alpha 4.1. 2018-09-01 19:14:30 -04:00
Pietro Gagliardi db9977a4ee Fixed uiImage on Windows. Phew. Also made it have Windows decide the best parameters, like on other platforms. 2018-09-01 19:09:47 -04:00
Pietro Gagliardi 869992010c Fixed uiImage on GTK+. Also changed it to have cairo manage memory and decide best parameters for us. I forgot to mention that the fix on OS X did this there too. Also made sure we use cairo surfaces properly this time. 2018-08-30 11:08:44 -04:00
Pietro Gagliardi e098cb5585 More TODOs 2018-08-29 20:36:18 -04:00
Pietro Gagliardi f065abedd7 Fixed the uiImage implemenation on OS X. Even though libui won't be running on a big-endian Mac any time soon, I still want to test that code on one to make sure it's correct. 2018-08-29 20:32:12 -04:00
Pietro Gagliardi abeb0144d4 Changed the image generator for the tester to print the premultiplied RGBA byte stream instead of uint32_ts; regenerated images.c. 2018-08-29 19:58:35 -04:00
Pietro Gagliardi 9f89071db3 More notes. 2018-08-19 21:56:22 -04:00
Pietro Gagliardi dcf6a2c178 More notes. 2018-08-19 04:38:14 -04:00
Pietro Gagliardi c552c4bcae More typo fixes. 2018-08-14 21:28:51 -04:00
Pietro Gagliardi 1692d5d465 Quick documentation fix. 2018-08-13 20:11:20 -04:00
Pietro Gagliardi 76edc665b7 More TODOs. 2018-08-11 19:38:49 -04:00
Pietro Gagliardi 6a513038f4 Okay let's try this again, with deployment keys this time. 2018-08-10 20:11:15 -04:00
Pietro Gagliardi 2872e65db0 Declare Alpha 4. It doesn't have everything I want, but some of what I want will require bigger changes than I feel comfortable making in such a long-awaited release. 2018-08-10 19:45:04 -04:00
Pietro Gagliardi 419c584523
Merge pull request #379 from mischnic/attrstr-delete
Fix uiAttributedStringDelete
2018-08-09 05:16:52 -04:00
Pietro Gagliardi 9120d6b93f Continuation of previous commit. 2018-08-09 05:08:38 -04:00
Pietro Gagliardi 5d959e5cbc
Merge pull request #387 from mischnic/area-scroll
"Fix area setSize macOS"

I forgot to change this when I made scrollview.m not use Auto Layout. Oops.
2018-08-09 05:07:01 -04:00
Pietro Gagliardi 52bd45bb09 More TODOs. Update #395 2018-08-09 04:54:49 -04:00
Pietro Gagliardi 24df7bc3f2 Cleaned up timers in uiUninit() on GTK+. Update #395. 2018-08-09 04:49:07 -04:00
Pietro Gagliardi ad1641f9ab Cleaned up timers in uiUninit() on Windows. Update #395. 2018-08-09 04:29:16 -04:00
Pietro Gagliardi 075d5efb61 Merge branch 'table'
FINALLY.

Update #310
2018-08-08 09:33:27 -04:00
Pietro Gagliardi 1a8e5555da Updated the README and merged uitable.h into ui.h. Now to merge! 2018-08-08 09:24:22 -04:00
Pietro Gagliardi f47e1423cf And finished documenting uitable.h. Yay, we can merge back in now! 2018-08-08 09:17:50 -04:00
Pietro Gagliardi 1c3d7be227 More uiTableModel documentation. 2018-08-07 11:18:11 -04:00
Pietro Gagliardi 9202aeee2a Documented uiTableModel. 2018-08-07 10:58:12 -04:00
Pietro Gagliardi dee35216ac Added documentation for uiTableValue. Also added a @role to uiFreeAttribute(). 2018-08-06 20:03:57 -04:00
Pietro Gagliardi cd38f77490 More TODOs regarding strides. 2018-08-06 08:52:51 -04:00
Pietro Gagliardi 976279ef33
Merge pull request #402 from mischnic/table-image-fix
"Fix uiImage on mac"

uiImageAppend()'s swizzling only works if the pixel stride is a multiple of four. Don't swizzle the pixel stride pixels.

Also a minor documentation fix.
2018-08-06 08:15:36 -04:00
Niklas Mischkulnig 68dade3e81
Rename loop variable 2018-08-06 10:54:19 +02:00
Niklas Mischkulnig c0742d3de0
Mac uiImageAppend: handle stride correctly 2018-08-06 09:28:25 +02:00
Pietro Gagliardi e0ca00e55b Resolved confusion about the terminology of strides in uiImageAppend(). Also prevents overallocation on some platforms. Thanks to @mischnic and @msink for spotting this. Update #402. 2018-08-05 18:39:29 -04:00
Pietro Gagliardi e7305349f3 Documented uiImage functions. 2018-08-05 17:52:15 -04:00
Pietro Gagliardi 4eaf01f840 Fix double-free spotted by @mischnic in #402. 2018-07-29 13:25:53 -04:00
Pietro Gagliardi b60953ed1c More TODOs. 2018-07-28 13:57:20 -04:00