Commit Graph

644 Commits

Author SHA1 Message Date
Pietro Gagliardi 80c79d31a3 Changed the Windows window-creation code to handle menu wrapping. 2015-05-03 12:15:24 -04:00
Pietro Gagliardi 643ed46b00 Cleaned up windows/container.c resize(). More TODOs. 2015-05-03 11:55:34 -04:00
Pietro Gagliardi dc5b7f4c59 Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug. 2015-05-03 11:47:06 -04:00
Pietro Gagliardi ac8bc029ef More TODOs. 2015-05-03 10:28:25 -04:00
Pietro Gagliardi d50701b3a7 TODO consolidation. 2015-05-03 10:21:36 -04:00
Pietro Gagliardi 2a6da36542 Finished the OS X menu disabling code. 2015-05-03 02:45:59 -04:00
Pietro Gagliardi 810e2225ea Started writing code for proper Quit/Preferences/About enabling and disabling on Mac OS X. 2015-05-02 23:04:37 -04:00
Pietro Gagliardi a32e94b811 TODO elaboration. 2015-05-02 21:57:57 -04:00
Pietro Gagliardi 425ddd694a More TODOs. 2015-05-02 21:57:35 -04:00
Pietro Gagliardi a8fd88a5f9 Confirmed a TODO. 2015-05-02 21:05:08 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 57bc11d67c TODO consolidation. 2015-05-02 14:58:29 -04:00
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