Commit Graph

2369 Commits

Author SHA1 Message Date
Kevin Wojniak 49e17cbfd7 Fix "attempt to destroy map with items inside" when menuManager is deallocated
Fixes #58. The map needs to have its contents properly freed which requires releasing the properly retaining the NSMenuItem object.
2016-05-23 21:41:52 -07:00
Kevin Wojniak abb3c39c78 Spaces to tabs 2016-05-23 21:11:12 -07:00
Kevin Wojniak 2ebb9052cc Fix crash when closing program on OS X
This fixes #14. Autorelease pools need to be used to make sure objects get properly released. Unfortunately this produces a new error when menuManager gets deallocated, which I am looking at fixing:

map.m:25:mapDestroy() POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:
attempt to destroy map with items inside
2016-05-23 21:09:46 -07:00
Pietro Gagliardi 156c3584f7 Documentation update. 2016-05-23 01:12:52 -04:00
Pietro Gagliardi 5d63fe4cec Fixed surrogate pair drawing on OS X. 2016-05-23 01:11:43 -04:00
Pietro Gagliardi e3bcf31764 More TODO resolution. 2016-05-23 00:41:56 -04:00
Pietro Gagliardi 399af0319c Whoops, forgot the date 2016-05-22 23:30:22 -04:00
Pietro Gagliardi 268bdbcb34 More announcements. 2016-05-22 23:28:17 -04:00
Pietro Gagliardi 0e5e37f98b Fixed multilne entry changed events on GTK+. 2016-05-22 23:14:33 -04:00
Pietro Gagliardi 60627e13a1 Fleshed out page 12. 2016-05-22 23:05:37 -04:00
Pietro Gagliardi 4ab0d9c1f6 More TODO resolution. 2016-05-22 22:57:18 -04:00
Pietro Gagliardi a99a81f584 Answered matrix scaling stuff. https://www.willamette.edu/~gorr/classes/GeneralGraphics/Transforms/transforms2d.htm#Combining 2016-05-22 22:52:29 -04:00
Pietro Gagliardi b66be0bf2d Stale TODO removal. Expanded page 9 to also show the positions of the second line. 2016-05-22 20:49:16 -04:00
Pietro Gagliardi 9b4a13e9b3 Some more TODO resolution in the GTK+ backend. 2016-05-22 20:35:40 -04:00
Pietro Gagliardi 61185072f7 More TODO -> LONGTERM migration. Also made it so uiSpinbox and uiSlider merely swap min and max if min is larger. 2016-05-22 20:11:52 -04:00
Pietro Gagliardi ab0a9102b4 Added a user bug for calling SetParent() on a uiWindow. 2016-05-22 20:02:47 -04:00
Pietro Gagliardi b957558ef4 Even more TODO resolution in uiDateTimePicker on GTK+. 2016-05-22 19:40:56 -04:00
Pietro Gagliardi f0011d6227 Started resolving TODOs in the GTK+ backend, marking some LONGTERM. In particular, uiDateTimePicker no longer will be localized, as there doesn't seem to be a way to get that info out. 2016-05-22 19:17:42 -04:00
Pietro Gagliardi a641a7eda8 Some TODO cleanup. Started changing long-term TODOs to say LONGTERM instead. 2016-05-22 18:37:53 -04:00
Pietro Gagliardi b73a96ad27 More TODOs. 2016-05-22 17:49:41 -04:00
Pietro Gagliardi 6d421e9349 Implemented a test of non-BMP characters that need surrogate pairs on UTF-16-based systems on test page 10. 2016-05-22 17:01:18 -04:00
Pietro Gagliardi ea37e13c67 Quick README clarification. 2016-05-22 16:19:19 -04:00
Pietro Gagliardi 878778c683 Implemented WM_PRINTCLIENT for uiArea and the Direct2D scratch windows. 2016-05-22 16:16:20 -04:00
Pietro Gagliardi 585872839d Made uiColorButton on Windows draw with actual alpha values. 2016-05-22 16:07:31 -04:00
Pietro Gagliardi 531f8ea19c Finally wrote makeDCRenderTarget() for the Windows backend. Now to use it. 2016-05-22 15:59:23 -04:00
Pietro Gagliardi 44cdc82fc7 Adjusted the intrinsic size of NSColorWell. 2016-05-22 14:55:12 -04:00
Pietro Gagliardi bbae4478f6 More TODOs. 2016-05-22 14:41:42 -04:00
Pietro Gagliardi d9f133d81b Fixed the README. 2016-05-22 14:39:14 -04:00
Pietro Gagliardi 6c6843dac6 Fixed non-wrapping uiMultlineEntries. 2016-05-22 14:37:02 -04:00
Pietro Gagliardi 07cd03452d Implemented non-wrapping multiline entries in GTK+ and started implementing them in OS X. 2016-05-22 14:20:54 -04:00
Pietro Gagliardi 313ce47833 Started non-wrapping multiline entries. Implemented on Windows. 2016-05-22 13:56:36 -04:00
Pietro Gagliardi f3dad94039 Added CRLF translation to uiMultilineEntry on Windows. More TODOs. 2016-05-22 13:42:37 -04:00
Pietro Gagliardi d060744f87 Some TODO resolution. 2016-05-22 13:09:13 -04:00
Pietro Gagliardi 3705ef05d1 Fixed up uiWindow ownership mechanics in the Darwin backend. 2016-05-22 12:15:50 -04:00
Pietro Gagliardi 5a4b6aa6f0 Switched from using M_PI to a named constant uiPi. 2016-05-22 12:00:44 -04:00
Pietro Gagliardi 1d8ea79e45 Removed uiControlVerifyDestroy(); we could have just had it in uiFreeControl(). 2016-05-22 01:07:25 -04:00
Pietro Gagliardi 1c2acf59a3 Implemented uiControlDestroy() for uiRadioButtons on GTK+. Fixes #40. 2016-05-21 22:42:55 -04:00
Pietro Gagliardi 5891b764cb Forgot to take a reference on GtkWindows; this led to weird GObject warnings on the command line when closing a window. Update #40. 2016-05-21 22:36:21 -04:00
Pietro Gagliardi a8fe3004a3 Fixed uiRadioButtons rendering on Windows. 2016-05-21 22:17:29 -04:00
Pietro Gagliardi 772caf19f3 Link to issue because for some reason github doesn't auto-link. 2016-05-21 18:09:09 -04:00
Pietro Gagliardi da9ee6a913 Vast README updates. 2016-05-21 18:07:36 -04:00
Pietro Gagliardi f5aa8cd32d Consistency: calibrated color space -> sRGB color space. 2016-05-21 11:34:30 -04:00
Pietro Gagliardi 7b04d974ac More OS X 10.7 fixes and TODOs. 2016-05-21 11:28:11 -04:00
Pietro Gagliardi 2c0e333ca0 Converted uiRadioButtons on OS X to use a NSView of NSButtons instead of NSMatrix; the latter was deprecated on 10.8 and has lots of little quirks that made it annoying to use. 2016-05-21 02:00:08 -04:00
Pietro Gagliardi 46a280cf46 More TODOs. 2016-05-20 15:07:10 -04:00
Pietro Gagliardi 6575f44818 Removed some dummy debug code. Fixes #24. Fixes #33. 2016-05-20 15:06:02 -04:00
Pietro Gagliardi 33f4a427c3 Added a uiColorButton to the control gallery. 2016-05-18 14:40:03 -04:00
Pietro Gagliardi de1571cd1f And implemented the opacity slider. We're done with this dialog! 2016-05-18 00:46:14 -04:00
Pietro Gagliardi 341f8373d3 Implemented the previewer. That just leaves the opacity slider! 2016-05-18 00:20:41 -04:00
Pietro Gagliardi 22a1525d24 Implemented the grid-drawing function. Now we can write the other two views. 2016-05-17 22:55:35 -04:00