summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-28Split the actual delegate into a separate file; this simplifies even more ↵Pietro Gagliardi
things. I think we're as clean as we can go... should probably start writing the real backend now :D
2014-02-28Removed a leftover declaration in objc_darwin.h.Pietro Gagliardi
2014-02-28Cleaned up newtypes.go.Pietro Gagliardi
2014-02-28Moved some Objective-C stuff to objc_darwin.go, added some helper functions ↵Pietro Gagliardi
there too, and cleaned up runtimetest.go.
2014-02-28Renamed bleh_darwin.go to objc_darwin.go so I can clean up Objective-C stuff ↵Pietro Gagliardi
into it.
2014-02-28Quick wording fix in the bleh_darwin.m comments.Pietro Gagliardi
2014-02-28Added a .m file to handle the edge cases in objc_msgSend() wrappers that ↵Pietro Gagliardi
cannot be easily expressed otherwise.
2014-02-28Split most of the objc_msgSend() wrappers into a C header file for ↵Pietro Gagliardi
convenience. The NSRect functions require special handling because of Apple stupidities that will be discussed when I get to that.
2014-02-28Set up a NSAutoreleasePool for notify() to suppress memory leak warnings.Pietro Gagliardi
2014-02-28Changed the main thread signaling to use NSObject's ↵Pietro Gagliardi
performSelectorOnMainThread: functionality, which settles that. NSString requires an autorelease pool; in testing, so does NSValue, which we are eventually going to use. NSAutoreleasePool's docs suggest we should create a temporary pool for things running in other threads, but then we have to release it... but I guess we're waiting for the function to complete on other platforms already, so no big deal here.
2014-02-28Added a notification system, hopefully allowing us to merge AppKit requests ↵Pietro Gagliardi
onto a single thread. In practice, this generates autorelease pool leak messages; it appears notifications are not for this...
2014-02-28Added a button bezel style to the darwintest button.Pietro Gagliardi
2014-02-28Added a button to the darwin test and had it respond to clicks. Committing ↵Pietro Gagliardi
as is because without a bezelStyle ther esult is just... wow. 1990s Windows look and feel for the win?
2014-02-28Built a window delegate and ran the event loop. It works!Pietro Gagliardi
2014-02-27Added code to create new Objective-C types at runtime, which will be ↵Pietro Gagliardi
important both for handling custom messages and for handling events.
2014-02-27And we now have a window in the darwin test! You can't really do much with ↵Pietro Gagliardi
it since the Cocoa event loop isn't running, but it can be moved around!
2014-02-27Wrote helper functions for objc_getClass() and sel_getUid().Pietro Gagliardi
2014-02-27Added a helper script for building 32-bit darwin binaries.Pietro Gagliardi
2014-02-27Ported the runtime test to Go. It works in both 32-bit and 64-bit!Pietro Gagliardi
2014-02-27Now that I have a working Mac OS X setup, added the initial groundwork for ↵Pietro Gagliardi
the OS X port. This C file works correctly on both amd64 and i386 with clang [-m32] runtimetest.c -lobjc -framework Foundation; it will be converted to Go now.
2014-02-26Added Grid.SetStretchy to allow one control in a Grid to fill the parent ↵Pietro Gagliardi
Control's space, even when resizing.
2014-02-25Added a way to let Controls in a Grid be sized to fill their cells.Pietro Gagliardi
2014-02-25Updated a TODO in the control candidates document related to Windows Common ↵Pietro Gagliardi
Controls.
2014-02-25Rewrote the unstable warning at the top of README.md.Pietro Gagliardi
2014-02-25Lock Stack's mutex lock like with all other Controls.Pietro Gagliardi
2014-02-25No longer preliminary (I was going to wait until I started the OS X backend, ↵Pietro Gagliardi
but).
2014-02-25More documentation fixups.Pietro Gagliardi
2014-02-25Fixed up Grid and Space() documentation.Pietro Gagliardi
2014-02-25Wrote the Grid test and found/fixed one error in Grid's position ↵Pietro Gagliardi
calculations. (If you compare the previous Windows build with this one, you may not notice a difference; this is because of the default preferred size of Labels being too wide).
2014-02-25Added untested initial Grid. Now to write a test.Pietro Gagliardi
2014-02-25Added more control candidate information.Pietro Gagliardi
2014-02-25More documentation fixups.Pietro Gagliardi
2014-02-25Documentation fixups.Pietro Gagliardi
2014-02-25Added Space() for padding layouts.Pietro Gagliardi
2014-02-25Removed the example from the README while the API is still volatile.Pietro Gagliardi
2014-02-25Split NewCombobox() into separate functions NewCombobox() and ↵Pietro Gagliardi
NewEditableCombobox().
2014-02-25Added password entry fields; they are the alternate mode of LineEdit.Pietro Gagliardi
2014-02-25Some more control notes.Pietro Gagliardi
2014-02-25Updated platform control comparison table.Pietro Gagliardi
2014-02-25Still not formatted correctly (should have used gist for this, durr)Pietro Gagliardi
2014-02-25Markdown fixup in platform-specific control differences table.Pietro Gagliardi
2014-02-25Added platform notes on sliders and spinners.Pietro Gagliardi
2014-02-25Removed a stray TODO about a constant in comctl_windows.go.Pietro Gagliardi
2014-02-25Listed issues with adding Slider. Will add that later.Pietro Gagliardi
2014-02-25Updated candidates list now that ProgressBar is added.Pietro Gagliardi
2014-02-25Added Windows implementation of ProgressBar and the requisite comctl32.dll code.Pietro Gagliardi
2014-02-25Added most of the Windows implementation of ProgressBar. Now to grab the ↵Pietro Gagliardi
comctl32.dll stuff.
2014-02-25Added GTK+ implementation of ProgressBar and added a ProgressBar to the test ↵Pietro Gagliardi
program.
2014-02-25More TODOs.Pietro Gagliardi
2014-02-25"Note This message [PBM_SETMARQUEE] requires ComCtl32.dll version 6.00 or ↵Pietro Gagliardi
later." blah, no more indeterminate progress bars (Windows 2000 has 5.something)