Commit Graph

2619 Commits

Author SHA1 Message Date
Pietro Gagliardi e75b9cc4fa Merge pull request #142 from ProtonMail/fix-windows-static-copy
Fix windows static copy
2016-06-15 11:54:27 -04:00
emersion 3173fc6cdc Fixes windows static library copy 2016-06-15 17:07:52 +02:00
emersion 578ff39525 Merge pull request #1 from andlabs/master
Merge upstream changes
2016-06-15 10:27:35 +02:00
Pietro Gagliardi c8dd546804 I don't know what's up. Fix a leak anyway. 2016-06-14 23:03:40 -04:00
Pietro Gagliardi 4b2d646345 Fixed most of the grid problems. Now we just need to figure why the Assorted page both clips and doesn't position controls correctly... 2016-06-14 23:00:30 -04:00
Pietro Gagliardi 106d4b544a Edging ever closer to getting grids working right on Windows. 2016-06-14 21:55:14 -04:00
Pietro Gagliardi cf8c1c67fe Clarified the previous commit. 2016-06-14 21:00:57 -04:00
Pietro Gagliardi cdbe48cc83 Plugged a potential memory corruption in darwin/grid.m. Now we have to do the same on Windows: ensure that hidden cells are taken into account when computing xmin/xmax/ymin/ymax and abort if there's nothing there. 2016-06-14 20:58:44 -04:00
Pietro Gagliardi 0a4a8ae4f3 Getting closer. Adding hidden views makes things harder... hm. 2016-06-14 20:57:21 -04:00
Pietro Gagliardi 96ce336a8b Handled hidden controls in uiGrid properly. Spacing, on the other hand... 2016-06-14 19:44:28 -04:00
Pietro Gagliardi 8ae0823eee Implemented hidden controls properly on Windows uiForm. 2016-06-14 18:12:30 -04:00
Pietro Gagliardi b6cb429d1a Fixed uiBox hidden control nonsense on Windows. FINALLY. 2016-06-14 16:06:39 -04:00
Pietro Gagliardi 997c8aac35 Implemented visibility change detection on Windows. Now to refine the actual implementation of hidden controls. 2016-06-14 15:55:24 -04:00
Pietro Gagliardi 6e5cf97623 Tied uiForm label visibility on GTK+ to the visibility of the control. This is the only visibility change needed on GTK+, fortunately. 2016-06-14 11:31:10 -04:00
Pietro Gagliardi cb81518e0f Implemented proper hiding and showing behavior on OS X on uiForm and uiGrid. 2016-06-14 11:18:38 -04:00
Pietro Gagliardi 44b4fa9c68 Fixed hiding on OS X uiBox. 2016-06-14 10:54:16 -04:00
Pietro Gagliardi d54f7dd682 Added a facility to the OS X port to be notified when a child's visibility has changed; this is necessary for implementing hiding and showing properly. 2016-06-14 10:37:19 -04:00
Pietro Gagliardi 48546f6b44 Clarified the update. 2016-06-13 22:44:11 -04:00
Pietro Gagliardi 207340f16f Finished the migration. 2016-06-13 22:42:11 -04:00
Pietro Gagliardi fa4542f217 Got rid of the last bit of intmax_t. Now to verify everything. 2016-06-13 22:00:18 -04:00
Pietro Gagliardi 4524ffce5e Removed most of the intmax_ts, which are all MinimumSize()s. 2016-06-13 21:54:15 -04:00
Pietro Gagliardi 8c974e7b77 Started removing intmax_ts, first with uipriv_windows.hpp. 2016-06-13 21:47:04 -04:00
Pietro Gagliardi cb3f10f243 Quick fix in the meantime. 2016-06-13 21:38:48 -04:00
Pietro Gagliardi 75a8ee9bf9 Removed intmax_t from everything else EXCEPT the Windows code. Now it's time for THAT... 2016-06-13 21:37:50 -04:00
Pietro Gagliardi 2affdab837 Removed intmax_t from the rest of the public API. 2016-06-13 21:23:05 -04:00
Pietro Gagliardi 864c6c2511 Finished stripping ui.h of intmax. 2016-06-13 21:20:20 -04:00
Pietro Gagliardi 155299cdb9 More intmax_t removal. 2016-06-13 21:11:59 -04:00
Pietro Gagliardi 440635447d More intmax_t removal. 2016-06-13 21:05:40 -04:00
Pietro Gagliardi 8d48d42201 More intmax_t elminiation. 2016-06-13 20:55:50 -04:00
Pietro Gagliardi b26354d1e7 Started replacement of intmax_t and uintmax_t with int. 2016-06-13 20:46:11 -04:00
Pietro Gagliardi 857bbbf506 Don't use 10.10-specific selectors in uiNewSearchEntry(). Fixes #132. 2016-06-13 15:15:40 -04:00
Pietro Gagliardi e46554f481 More work on the uiGrid test. 2016-06-13 13:57:20 -04:00
Pietro Gagliardi ba8e5b80ea More uiGrid tests. OS X falls apart as usual :D 2016-06-13 08:12:01 -04:00
Pietro Gagliardi f08cd96688 More control gallery rewriting. Removed some debugging code in the OS X grid. 2016-06-12 19:55:35 -04:00
Pietro Gagliardi 41ec54cb47 Started a new controlgallery. Fixed some glitches in OS X uiForm. 2016-06-12 19:08:08 -04:00
Pietro Gagliardi 9f4092dab5 And put uiGrid in the updates. Yay! 2016-06-12 18:28:34 -04:00
Pietro Gagliardi 144366c775 And got the last bit of grid working :D 2016-06-12 18:26:13 -04:00
Pietro Gagliardi 2cd97c8e60 Reworked hugging priorities a bit. We're getting closer... 2016-06-12 18:23:43 -04:00
Pietro Gagliardi 99e660377c More experiments. 2016-06-12 16:56:06 -04:00
Pietro Gagliardi f89feba680 Included spanning views in hugging priority management. 2016-06-12 16:27:29 -04:00
Pietro Gagliardi 629c242a83 Forgot to make the dummy views ignore autoresizing masks. 2016-06-12 15:35:54 -04:00
Pietro Gagliardi 0ce4fd6efd FIgured out that we need to ignore spanning cells; added support for that. Not yet perfect; still need to do a bit more... 2016-06-12 15:30:36 -04:00
Pietro Gagliardi 7908972d34 Continuing the current approach. This might work out better... 2016-06-12 15:08:07 -04:00
Pietro Gagliardi 77f4c2f309 Split out more of the uiGrid logic. Rewrote the edge constraints to use a topological map of views. Added dummy views for empty cells. 2016-06-12 13:47:33 -04:00
Pietro Gagliardi ebf4bce245 Moved the .m files out of the way. 2016-06-12 13:28:44 -04:00
Pietro Gagliardi a2e5dbc94c Saved some experiments. 2016-06-12 13:12:36 -04:00
Pietro Gagliardi 6496de0fb2 More TODOs. 2016-06-12 12:35:13 -04:00
Pietro Gagliardi 8f0bac54a3 Took an alternate route through the constraints in the grid. This should be a bit easier... 2016-06-12 12:31:44 -04:00
Pietro Gagliardi 31f2b6d059 More future plans. 2016-06-12 11:55:26 -04:00
Pietro Gagliardi 2c08f52a5b Moved Compatibility.md from ui to libui. 2016-06-12 11:55:02 -04:00