Commit Graph

707 Commits

Author SHA1 Message Date
Pietro Gagliardi 7a5577db94 Deleted now-irrelevant code from OLD_table.m. 2018-06-04 23:28:46 -04:00
Pietro Gagliardi 3c063c71d5 And one more TODO before we move on. 2018-06-04 22:15:05 -04:00
Pietro Gagliardi 0a6a781be7 And implemented row background colors and button clicks. OS X implementation done for now! 2018-06-04 22:14:05 -04:00
Pietro Gagliardi 3fa15d5277 Fixed graphical glitches in the OS X Table. Finally. SOMEHOW. 2018-06-04 20:17:15 -04:00
Pietro Gagliardi 71e02a5c6e And set up the constraints for the other column types. 2018-06-04 20:09:09 -04:00
Pietro Gagliardi 8a0ca54e93 Fixed constraint issues in tablecolumn.m for text-containing columns. I guess that one constraint function needs to go... 2018-06-04 20:03:05 -04:00
Pietro Gagliardi 2cfbb0144e Fixed segfaults. Now to fix logic errors. (Technically one of the two changes here is a logic error too.) 2018-06-04 18:17:05 -04:00
Pietro Gagliardi 2b428d50f6 And fixed build errors. Now I just need to rewrite the tester and try this out... 2018-06-03 23:06:44 -04:00
Pietro Gagliardi 8fc4a9aaf5 Filled in the rest of tablecolumn.m: wrote the NSTableColumn subclasses and implemented the public functions. Let's build and see what breaks! 2018-06-03 22:37:36 -04:00
Pietro Gagliardi 6457e1668f Rewrote uiTableModelRowChanged() to properly update rows. We can do this now that we have the setup for row updates and reuse, but this is better than calling reloadData anyway (and reloadData doesn't update the row view, but we (almost) do, so...)... 2018-06-03 21:39:49 -04:00
Pietro Gagliardi 247d63be60 Added a table.h and simplified uiprivTableColumn into an abstract interface. 2018-06-03 20:55:08 -04:00
Pietro Gagliardi da2a4c1e36 Started building back the uiTable implementation. 2018-06-03 19:59:05 -04:00
Pietro Gagliardi 8ee5c61fe8 And added button columns. Now to start writing the rest of the uiTable glue. 2018-06-03 19:21:01 -04:00
Pietro Gagliardi b74b987fff Added progressbar columns. 2018-06-03 18:34:29 -04:00
Pietro Gagliardi c04f3d3fbe Adjusted tablecolumn.m to use the new data functions. 2018-06-03 17:39:02 -04:00
Pietro Gagliardi 9c519f1bfa Added checkboxes and consolidated all the columns with or without text. Progressbars and buttons will be separate object types. I do need to redo the data-passing method, and now that there's uiAttribute I can just model a better one off that. 2018-06-03 16:50:35 -04:00
Pietro Gagliardi d1b7d14a82 Added image columns. 2018-06-03 14:13:32 -04:00
Pietro Gagliardi 5d57666764 Started writing the new table column code on OS X. This new code will take full advantage of NSTableView features like the reuse cache. Right now we just have the boilerplate for text-only columns. 2018-06-03 13:28:42 -04:00
Pietro Gagliardi 7911ed0e81 Merge branch 'master' into table 2018-05-31 08:21:21 -04:00
Niklas Mischkulnig 1b4c898a0c Fix datetimepicker crash 2018-05-31 13:03:19 +02:00
Pietro Gagliardi 31090442be Merge branch 'master' into table 2018-05-13 18:05:50 -04:00
Pietro Gagliardi 02fc3e267e And fixed on OS X too. IIRC I handled it on Windows in a prior commit. 2018-05-13 18:04:57 -04:00
Pietro Gagliardi 9dad806693 Merge branch 'master' into table 2018-05-13 12:05:43 -04:00
Pietro Gagliardi ca1079f344 Cleaned up from the previous merge and added it to the README. 2018-05-13 12:05:09 -04:00
cody271 fd3b693ffe uiDateTimePicker Use more 'uipriv' on OS X 2018-05-12 21:40:47 -07:00
cody271 9aba97714d uiDateTimePicker Add comments 2018-05-12 21:35:07 -07:00
cody271 f3d0fee21a uiDateTimePicker Use 'uipriv' convention 2018-05-12 21:35:07 -07:00
cody271 edd4127f8e uiDateTimePicker Fix style consistency 2018-05-12 21:35:07 -07:00
cody271 0baf2d2eb6 uiDateTimePicker Keep libui constructors at the end of the file 2018-05-12 21:35:07 -07:00
cody271 cf671c1da5 uiDateTimePicker Fix NSDatePicker timezone handling 2018-05-12 21:35:07 -07:00
cody271 04ce39a941 Implement uiDateTimePickerTime() for OS X 2018-05-12 21:35:07 -07:00
cody271 bc14042935 Add uiDateTimePickerTime() APIs 2018-05-12 21:35:07 -07:00
Pietro Gagliardi 86798f72b1 Merge branch 'master' into table 2018-05-13 00:15:37 -04:00
Pietro Gagliardi 2768fef3ce Cleaned up old static-library stuff from CMakeLists.txt. 2018-05-12 23:59:43 -04:00
Pietro Gagliardi 5ac579df35 Fixed table.m to line up with the changes on master that have since been merged in. 2018-05-06 22:13:03 -04:00
Pietro Gagliardi 3b5ef559f5 Merge branch 'master' into table 2018-05-06 21:30:29 -04:00
Pietro Gagliardi 221e8731c0 Revert "Avoid merge conflict in uipriv_darwin.h."
Nope, this confused git further

This reverts commit dc98bc2c25.
2018-05-06 21:26:51 -04:00
Pietro Gagliardi dc98bc2c25 Avoid merge conflict in uipriv_darwin.h. 2018-05-06 20:01:54 -04:00
Pietro Gagliardi f1c4976fe0 Oh right, I forgot to remove the static library fuckery from the darwin CMakeLists.txt. NOW MERGING. 2018-05-06 19:34:58 -04:00
Pietro Gagliardi 98fe8736b5 ...draw.h has nothing, so more TODOs. Now for investigating each file in turn. 2018-05-05 22:14:29 -04:00
Pietro Gagliardi fdff9b2dbb Renamed future and undocumented names. Now for draw.h (and whatever other headers are left behind), and then we figure out what to do about other names (including specifically pinning a naming convention). 2018-05-05 22:02:25 -04:00
Pietro Gagliardi 3914451c34 Migrated newLabel(), imageImage(), doManualMove(), and doManualResize(). 2018-05-05 21:28:13 -04:00
Pietro Gagliardi 69922a0fb3 Migrated shared scrollview.m types and functions. 2018-05-05 21:21:44 -04:00
Pietro Gagliardi cc271ccc37 Migrated newContext(), freeContext(), and colorButtonInhibitSendAction(). 2018-05-05 20:28:00 -04:00
Pietro Gagliardi 323a8945eb Migrated sendAreaEvents() and the areaevents.m keycode functions. 2018-05-05 20:20:57 -04:00
Pietro Gagliardi b8fc9fa817 Migrated shared functions and types of autolayout.m. 2018-05-05 20:15:48 -04:00
Pietro Gagliardi eb28beff1b Migrated alloc.m functions. 2018-05-05 19:46:57 -04:00
Pietro Gagliardi 090c783147 Migrated functions from window.m. 2018-05-05 19:38:16 -04:00
Pietro Gagliardi 7b570a4026 Merge branch 'master' into table 2018-05-05 09:15:08 -04:00
Pietro Gagliardi 2f92f644b5 Migrated util.m and the new NSTextField functions. 2018-05-04 20:26:13 -04:00