Commit Graph

2636 Commits

Author SHA1 Message Date
Pietro Gagliardi 5fbe85c21a Started adding the uiWindow size code. 2016-06-15 22:28:44 -04:00
Pietro Gagliardi c3777da0f4 And added the new uiWindow methods on Windows. 2016-06-15 21:55:42 -04:00
Pietro Gagliardi 48c13c738a Fixed the GTK+ window code. 2016-06-15 20:45:10 -04:00
Pietro Gagliardi f98318fb3a Started implementing the new uiWindows stuff on GTK+. 2016-06-15 16:45:49 -04:00
Pietro Gagliardi 53bec81925 More uiWindow positioning refinement and implementation on OS X. 2016-06-15 14:57:52 -04:00
Pietro Gagliardi 4465d37d2e Started uiWindow positioning stuff. 2016-06-15 13:21:07 -04:00
Pietro Gagliardi efe207ca37 Added a test of uiFormDelete(). 2016-06-15 12:06:19 -04:00
Pietro Gagliardi dda58c9323 Fixed leaking issues with the previous commit. 2016-06-15 12:04:11 -04:00
Pietro Gagliardi 157a312e8a Merge branch 'master' of github.com:andlabs/libui 2016-06-15 12:01:06 -04:00
Pietro Gagliardi ac1a515820 Merge pull request #141 from ProtonMail/ui-form-delete
Adds uiFormDelete()
2016-06-15 12:00:38 -04:00
Pietro Gagliardi cea52e2df6 Preemptive README change for next merge. 2016-06-15 11:58:26 -04:00
Pietro Gagliardi e017c22409 Merge branch 'master' of github.com:andlabs/libui 2016-06-15 11:55:11 -04:00
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 831fe1e73b Updates darwin to work with upstream changes 2016-06-15 16:39:23 +02:00
emersion 578ff39525 Merge pull request #1 from andlabs/master
Merge upstream changes
2016-06-15 10:27:35 +02:00
Pietro Gagliardi 16b4409f38 Amended TODO. 2016-06-15 00:04:55 -04:00
Pietro Gagliardi c60cbb72f9 More TODOs. 2016-06-15 00:04:39 -04: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
emersion b817a16c05 Adds missing delete() method for darwin 2016-06-14 22:55:55 +02:00
emersion 52bd3b2c35 Adds uiFormDelete() 2016-06-14 22:41:37 +02: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