Commit Graph

1317 Commits

Author SHA1 Message Date
Pietro Gagliardi f4677247f1 Removed stable.md (it is no longer relevant) and moved redoproposal.md to olddocs/ since it's now being implemented. 2014-06-29 09:33:00 -04:00
Pietro Gagliardi ed989a9d9f Migrated sysdata_darwin.go and uitask_darwin.go to the new API. Now to just wait for the answer to my Stack Overflow question so I can migrate dialog_darwin.go... 2014-06-29 09:07:14 -04:00
Pietro Gagliardi dff7ed3321 Migrated the Mac OS X delegate code to the new API. 2014-06-29 03:09:01 -04:00
Pietro Gagliardi c807771092 More TODOs. 2014-06-28 21:42:54 -04:00
Pietro Gagliardi 385993792f Migrated the GTK+ backend to the new API. 2014-06-28 21:40:44 -04:00
Pietro Gagliardi affc65a5a4 Fixed the build. New API works on Windows! Also removed TODO on dialogs in Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it. 2014-06-28 16:37:55 -04:00
Pietro Gagliardi 02d6a03ba3 Decided to make dialogs code-modal; will figure out how to get the behavior I want on Mac OS X - http://stackoverflow.com/questions/24468620/how-do-i-create-a-nested-run-loop-after-nsalert-beginsheetmodalforwindow-tha - Now to see if Windows works... 2014-06-28 16:02:50 -04:00
Pietro Gagliardi cd116033a3 Adjusted window.go to make safe functions actually safe. 2014-06-28 15:40:06 -04:00
Pietro Gagliardi 7a1331c04c Converted most of the rest of the test program. Now I just need to figure out what I'm going to do about dialog modality... ugh. 2014-06-28 11:36:55 -04:00
Pietro Gagliardi 35b2c6fa53 Converted most of the rest of the test program to the new API. 2014-06-28 11:08:24 -04:00
Pietro Gagliardi cb10c0fc17 Migrated the keyboard test to the new API. 2014-06-28 10:56:12 -04:00
Pietro Gagliardi 98e701cd3b Migrated uitask_windows.go to the new API. 2014-06-28 10:49:23 -04:00
Pietro Gagliardi f7438c0e10 Migrated init.go to the new API. This should probably be renamed now. 2014-06-28 10:15:24 -04:00
Pietro Gagliardi 3fbf746682 Added rewrite of most of the dialog system for the new API. The Windows API is, however, getting in the way... 2014-06-28 09:37:31 -04:00
Pietro Gagliardi 9134189f52 Migrated controlsize_windows.go and stdwndclass_windows.go to the new API. 2014-06-28 07:25:42 -04:00
Pietro Gagliardi 2e7f3d299e Migrated sysdata_windows.go to the new API. Also more TODOs. 2014-06-28 02:55:15 -04:00
Pietro Gagliardi a894c3fc6d Documented the new Window.Closing behavior. 2014-06-28 02:16:52 -04:00
Pietro Gagliardi c8ae74cf26 Implemented the new events in the portable code. 2014-06-28 01:57:07 -04:00
Pietro Gagliardi d13e398e90 Migrated window.go and sysdata.go to the new API. Controls will need to be migrated as well. 2014-06-28 01:22:40 -04:00
Pietro Gagliardi ea6200a432 Began the migration to the new API. Removed locks from the public control APIs; they won't be needed anymore. 2014-06-28 01:05:06 -04:00
Pietro Gagliardi 05ffc6511a Added propsoal for the API rewrite. 2014-06-27 21:51:44 -04:00
Pietro Gagliardi b5fdadda37 Updated README. 2014-06-27 17:32:40 -04:00
Pietro Gagliardi bab7cfd23b Fixed README and removed Checkbox.SetChecked() from the future plans. 2014-06-26 22:04:01 -04:00
Pietro Gagliardi 20821c26eb Implemented Checkbox.SetChecked() on Mac OS X and updated the README. 2014-06-26 21:54:14 -04:00
Pietro Gagliardi ebbd76716f Implemented Checkbox.SetChecked() on Windows. 2014-06-26 21:40:23 -04:00
Pietro Gagliardi 098beef996 Added Checkbox.SetChecked() and implemented it on GTK+. 2014-06-26 21:36:46 -04:00
Pietro Gagliardi 5c002e3d0f Allowed tab stops on Windows; see http://blogs.msdn.com/b/oldnewthing/archive/2003/10/21/55384.aspx. Fixes #13 2014-06-26 20:20:00 -04:00
Pietro Gagliardi 700fef758b Removed the special-casing of GtkLayout to have transparent frames: this breaks the Ubuntu GTK+ 3 themes (Ambianace and Radiance) with their correct renderer (see https://github.com/andlabs/ui/pull/19#issuecomment-47273597), and the KDE bug has now been fixed. 2014-06-26 17:04:56 -04:00
Pietro Gagliardi 2e9e2732e7 Fixed README and removed padding/spacing from future plans. 2014-06-26 16:01:22 -04:00
Pietro Gagliardi 2c13236bf8 Updated README. 2014-06-26 15:59:13 -04:00
Pietro Gagliardi c401617637 Merge pull request #21 from boppreh/master
Fix layout.go in regard to new padding and margin
2014-06-26 15:51:34 -04:00
BoppreH 85f759ea5f Remove padding and margin from layout.go 2014-06-26 15:37:19 -03:00
Pietro Gagliardi 999e669aa4 Merge branch 'master' of github.com:andlabs/ui 2014-06-26 14:24:16 -04:00
Pietro Gagliardi 2a0dbfc74a Added margins and padding to Grid and a test program to make sure they're the same... 2014-06-26 14:22:49 -04:00
Pietro Gagliardi b398150c09 Merge pull request #19 from boppreh/master
Add a Layout function for higher-level layouts. I might put this in a subrepository. Thanks @boppreh
2014-06-26 14:21:44 -04:00
BoppreH 52bccbc8da Add old layout.go 2014-06-26 15:11:57 -03:00
Pietro Gagliardi 3bedaf483a Implemented padding on Stack. 2014-06-26 10:55:11 -04:00
Pietro Gagliardi 1819bbed49 Fixed a typo in controlsize_windows.go. 2014-06-26 10:51:26 -04:00
Pietro Gagliardi 214467bb93 Implemented window margins for Grids and Stacks. 2014-06-26 10:36:59 -04:00
Pietro Gagliardi 131809fc62 Added a padding/margins test to the test program. 2014-06-26 10:24:07 -04:00
Pietro Gagliardi 67f1bcfc3c Fixed label alignment on Mac OS X for real now. 2014-06-26 10:06:58 -04:00
Pietro Gagliardi dd305141fd More TODOs. 2014-06-26 03:56:44 -04:00
Pietro Gagliardi a68ce7f94a More TODOs. 2014-06-26 03:53:10 -04:00
Pietro Gagliardi 1dd344b2f8 Fixed Space() causing panics during size calculations. 2014-06-26 03:49:47 -04:00
Pietro Gagliardi 2963b2217a Made the Listbox in the Label alignment test resize vertically so as to make the test more meaningful. 2014-06-26 03:41:44 -04:00
Pietro Gagliardi 2967ab1752 Changed the commit order in controlsize.go to be from right to left rather than from left to right; this will make the label positioning calculations on Mac OS X make sense. 2014-06-26 03:37:16 -04:00
Pietro Gagliardi 0b4c6a9228 Finished implementing the new control sizing system on Mac OS X. The new label behavior needs to be reimplemented next. 2014-06-26 03:24:27 -04:00
Pietro Gagliardi 5e17d64b09 Undid the whole yoff spiel on Mac OS X. NOW I'll merge the new sizing system into that backend. 2014-06-26 00:23:29 -04:00
Pietro Gagliardi 4a68c3cb7a Applied the new control sizing system to the GTK+ backend. 2014-06-25 23:44:22 -04:00
Pietro Gagliardi 6e170ad1db Made a quick comment clarificaiton in stdwndclass_windows.go. 2014-06-25 23:22:47 -04:00