Commit Graph

2832 Commits

Author SHA1 Message Date
Pietro Gagliardi 5d28ffd334 Removed a stale TODO. 2015-05-02 14:55:12 -04:00
Pietro Gagliardi 3260de37b3 BOOL -> int in initAlloc() on Windows. 2015-05-02 12:29:55 -04:00
Pietro Gagliardi a70d56d77c Switched to the Windows API heap functions in windows/alloc.c. 2015-05-02 12:27:53 -04:00
Pietro Gagliardi a0e2c3cf94 Added more menu item enabled/disabled checks. This is important because on OS X we have to hook into the delegat eot disable the three special items (we can't just set autoenable to false; the Hide/Show items won't be properly disabled anymore if we do). 2015-05-02 11:24:58 -04:00
Pietro Gagliardi c89b473c76 Added the Services menu to the OS X application menu. 2015-05-02 11:11:13 -04:00
Pietro Gagliardi a0b29d599e Removed an unnecessary TODO. 2015-05-01 17:10:36 -04:00
Pietro Gagliardi f86d312c74 Verified action signatures in darwin/menu.; thanks to mikeash in irc.freenode.net/#macdev for confirming. 2015-05-01 10:31:56 -04:00
Pietro Gagliardi effb919176 Added DllMain() to the Windows code. 2015-05-01 10:19:44 -04:00
Pietro Gagliardi 5094f08994 Fixed build errors from the previous commit. 2015-05-01 10:16:02 -04:00
Pietro Gagliardi 5ad2bfd6f0 Cleaned up uipriv*.h. 2015-05-01 10:14:11 -04:00
Pietro Gagliardi 122b1b0d2c Some TODO consolidation. 2015-05-01 10:11:22 -04:00
Pietro Gagliardi 7dc7c5a5cd Resolved a minor TODO in windows/menu.c. 2015-04-30 23:34:56 -04:00
Pietro Gagliardi 15d511160a More TODOs. 2015-04-30 23:28:42 -04:00
Pietro Gagliardi 2eb995f93f Implemented complain() on Mac OS X. 2015-04-30 23:28:02 -04:00
Pietro Gagliardi 442907ad64 Implemented menu uniqueness checks on OS X. More TODOs. 2015-04-30 23:24:52 -04:00
Pietro Gagliardi 20d0c40ad4 Removed previous commit's TODO; more TODOs. 2015-04-30 22:56:09 -04:00
Pietro Gagliardi 0ee2a72446 Exported the GTK+ backend's strdupText() as uiUnixStrdupText(). 2015-04-30 22:55:06 -04:00
Pietro Gagliardi 9f2bb5b1fa Oh wait it wasn't duplicate, but now it's in the right place. 2015-04-30 22:47:29 -04:00
Pietro Gagliardi 8b74c2fb92 Removed a duplicate TODO. 2015-04-30 22:46:24 -04:00
Pietro Gagliardi b3fec90537 Decided that uiLabels should be top-aligned; implemented on GTK+. Other backends don't need changing. 2015-04-30 22:44:08 -04:00
Pietro Gagliardi 1034978a2e Attempted to fix uiTab resource freeing on OS X. Seems to work for removing tabs, not sure about deleting controls because of other crashes. 2015-04-30 19:56:12 -04:00
Pietro Gagliardi 64dd45343d TODO shuffling. 2015-04-30 19:29:19 -04:00
Pietro Gagliardi 2dbf42a717 Removed the base GTK+ menu item and switched to simple boolean flags, for parity and simplicity like on Windows. 2015-04-30 19:26:49 -04:00
Pietro Gagliardi 3673ac7d2e Fixed reliance on sizeof (gulong) <= sizeof (gpointer) in unix/menu.c. 2015-04-30 19:13:36 -04:00
Pietro Gagliardi 358ae23d34 More TODOs. 2015-04-30 18:34:54 -04:00
Pietro Gagliardi cdc0c64af9 More TODOs. 2015-04-30 18:32:36 -04:00
Pietro Gagliardi 83f936a637 Fixed menus on Windows to avoid pointers moving underfoot. 2015-04-30 18:30:25 -04:00
Pietro Gagliardi 60a5931207 Added duplicate special menu item protection to the Windows backend. 2015-04-30 18:18:20 -04:00
Pietro Gagliardi e2cd6fe9d8 More TODOs. 2015-04-30 18:05:12 -04:00
Pietro Gagliardi 4035aee115 Marked a TODO in darwin/menu.m as resolved; we were already doing it properly. 2015-04-30 18:02:21 -04:00
Pietro Gagliardi 185d9cf122 Made refcounting for new control on GTK+ and OS X consistent. 2015-04-30 17:57:54 -04:00
Pietro Gagliardi 40dee5a693 Added bin destruction OS parent checks. 2015-04-30 17:49:38 -04:00
Pietro Gagliardi dad19a6318 Switched from GetParent() to GetAncestor() on Windows since GetAncestor() has no documented error state. 2015-04-30 17:39:20 -04:00
Pietro Gagliardi 6400a6ea8c TODO consolidation. 2015-04-30 17:34:15 -04:00
Pietro Gagliardi 75b4d28569 Implemented menu destruction on Windows. 2015-04-30 17:05:41 -04:00
Pietro Gagliardi b52aa4cfcb Started Windows menu destruction code and fixed a bug in GTK+ menu destruction. 2015-04-30 16:44:06 -04:00
Pietro Gagliardi 14de9f3cad Fixed bug in Windows uiWindowOnClosing() handler. 2015-04-30 16:41:41 -04:00
Pietro Gagliardi d215ee147f Implemented the new uiTab changes on the Mac OS X backend. 2015-04-30 16:34:38 -04:00
Pietro Gagliardi 10345a2c7d Implemented the new uiTab methods on Windows. 2015-04-30 15:50:03 -04:00
Pietro Gagliardi 180ca3d8d4 Implemented the new tab functions on the GTK+ backend. 2015-04-30 15:31:25 -04:00
Pietro Gagliardi a76afebf54 Started work on adding margined status to uiTab. Modified the IDL and the test program. 2015-04-30 15:24:27 -04:00
Pietro Gagliardi 437b895b53 Some more TODO cleanup, including mistaken TODO removal. 2015-04-30 15:18:11 -04:00
Pietro Gagliardi c6023ee151 Some TODO resolution and changes. 2015-04-30 15:08:03 -04:00
Pietro Gagliardi c8695e4ca2 Decided to remove allocation logging. Leak checking can be done with dedicated tools. 2015-04-30 13:37:13 -04:00
Pietro Gagliardi dc9cdcc7bb More TODOs. 2015-04-30 13:31:06 -04:00
Pietro Gagliardi 127f025eee Decided not to bother with destruction blocking for now. 2015-04-30 13:30:00 -04:00
Pietro Gagliardi 7a70c3f568 Added duplication guards to Quit, Preferences, and About items on GTK+. 2015-04-30 13:02:30 -04:00
Pietro Gagliardi 45a204744f Implemented menu deletion on window destruction on the GTK+ backend. 2015-04-30 12:36:50 -04:00
Pietro Gagliardi 9eede9d8ae Set up a framework for menu deletion on GTK+. 2015-04-30 12:05:18 -04:00
Pietro Gagliardi 62f4461c51 Added some more tests to Page 2: label alignment and menued and menuless windows are on the menu here. 2015-04-30 12:00:21 -04:00