summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2014-03-17Er oh the crash was because I was still using the lock-friendly code. Will ↵Pietro Gagliardi
still apply the change to memory allocation because memory reuse.
2014-03-17Put the Label that changed each second in the main test.Pietro Gagliardi
2014-03-17Removed the mutexes from Labels and Areas because I'm at my wits end about ↵Pietro Gagliardi
settling the deadlock between window resizing and setting a Label's text.
2014-03-16Updated the test program to the new AreaHandler interface. The deadlock ↵Pietro Gagliardi
still happens... just not so easily... so it's elsewhere...
2014-03-16Added a time display to the Area test for testing deadlocks that will happen ↵Pietro Gagliardi
when Area becomes more feature-filled... it appears one has now appeared when resizing the window...
2014-03-15Added a test of the mouse event handling.Pietro Gagliardi
2014-03-15Added a slightly more meaningful test: draw an Image in an area.Pietro Gagliardi
2014-03-14Hacked around the cairo issue for now; hooked everything together and fixed ↵Pietro Gagliardi
a few things. Added the Area test to the test program. Now to just hook up the draw event.
2014-03-12Removed ui.Event(); all event channels are initialized with their objects now.Pietro Gagliardi
2014-03-12Added GTK+ indeterminate ProgressBars.Pietro Gagliardi
2014-03-12Standardized message boxes so they appear similarly on all platforms. This ↵Pietro Gagliardi
shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse.
2014-03-11Split NewListbox() into NewListbox() (single-selection) and ↵Pietro Gagliardi
NewMultiSelListbox() (multiple selection); fixed the documentaiton for the Listbox constructor(s) to talk about Listbox and not Combobox, and added some TODOs.
2014-03-11Made Stack.SetStretchy() panic on invalid index, ending that group of ↵Pietro Gagliardi
functions. Also added the tests for those functions who did not have tests already written.
2014-03-11Handle out of range on Listbox.Delete(). The Mac OS X exception behavior I ↵Pietro Gagliardi
previously noted has bene resolved: what happens after exception handling is undefined :|
2014-03-10Fixed compiler errors in the previous few commits.Pietro Gagliardi
2014-03-09Added bounds checks for Listbox.InsertBefore(). This stupid 32-bit Mac bug ↵Pietro Gagliardi
keeps Listbox.Delete() unchecked for now...
2014-03-09Added bounds checks for Combobox.InsertBefore() and Combobox.Delete().Pietro Gagliardi
2014-03-08Added a flag to the test program to evaluate illegal deletions on Mac OS X, ↵Pietro Gagliardi
necessary before I make it panic myself.
2014-03-08Added Combobox/Listbox.Len() and its GTK+ implementation.Pietro Gagliardi
2014-03-07Changed Combobox.Append() and Listbox.Append() to accept multiple strings in ↵Pietro Gagliardi
one call.
2014-03-06Split NewStack() into NewHorizontalStack() and NewVerticalStack(). ↵Pietro Gagliardi
Unexported Orientation and its values accordingly.
2014-03-04Changed the ".." import in the test binary to a proper ↵Pietro Gagliardi
"github.com/andlabs/ui" import. (This means I finally moved my working environment out of a folder src/wingo and into the proper src/github.com/andlabs/ui.)
2014-03-03Added flags to show the auxiliary test windows in the test program, to make ↵Pietro Gagliardi
working with just the main window easier.
2014-03-03Added a Listbox preferredSize test window to the main test program, as it ↵Pietro Gagliardi
appears I'm going to have to change how sysData.preferredSize() works on Mac OS X to acommodate NSTableView, NSScrollView, and NSProgressIndicator...
2014-03-01Major code restructure to allow Cocoa to work correctly. Cocoa requires that ↵Pietro Gagliardi
the application loop run on the very first OS thread created, not just an any ordinary thread. To support this, your code must now be run by the UI init code. Windows and Unix builds still work fine; Mac OS X fails for reasons I now have to debug.