summaryrefslogtreecommitdiff
path: root/sysdata_darwin.go
AgeCommit message (Collapse)Author
2014-05-13Finished migrating sysdata_darwin.go away from calling objc_msgSend() ↵Pietro Gagliardi
directly. initWithDummyFrame() is still there as other files use it.
2014-05-12Further refactoring and de-runtime-izing of sysdata_darwin.go. These changes ↵Pietro Gagliardi
currently untested.
2014-05-12Converted most of sysdata_darwin.go to regular Objective-C. I'll also ↵Pietro Gagliardi
standardize the interface for transferring integer values between Objective-C and Go so that they use intptr_t and uintptr_t everywhere, rather than those two in some places and uint64_t/int64_t in others.
2014-05-12Began the migration to native Objective-C by moving the NSWindow functions ↵Pietro Gagliardi
and some of the shared helper routines.
2014-05-11Replaced the hackish indeterminate progress bar animation on Mac OS X (which ↵Pietro Gagliardi
didn't work on 10.6) with calls to startAnimation: and stopAnimation:; I have no idea how I missed those the first time. Thanks to stal[DirectX] in irc.freenode.net/#macdev for pointing those out to me.
2014-05-10Added tracking areas to Area on Mac OS X so mouse move events can work; they ↵Pietro Gagliardi
work now.
2014-05-10Preparation for adding tracking areas to Mac OS X Areas: we need to now pass ↵Pietro Gagliardi
in the sysData to each control's make() function so Area can save the tracking area somewhere (this will also come in handy when I change alternate from a bool to an integer index).
2014-05-01Added comment explaining the use of -[NSWindow setContentSize:] in Mac OS X ↵Pietro Gagliardi
sysData.setWindowSize().
2014-04-13Fixed Mac OS X so that window sizes do not include the titlebar and frame.Pietro Gagliardi
2014-04-13Fixed Area test time label weirdness by making Labels truncate their text ↵Pietro Gagliardi
instead of word-wrapping on all platforms. This doesn't explain GTK+/Wayland, alas.
2014-04-12Fixed Listboxes on Mac OS X having an initial selection.Pietro Gagliardi
2014-04-12Fixed Comboboxes on Mac OS X having an initial selection. This also lays the ↵Pietro Gagliardi
groundwork for adding Combobox/Listbox.Select() as a public function...
2014-04-05Removed TODO from Mac OS X code about additional label styles; judging from ↵Pietro Gagliardi
Interface Builder I've got them covered.
2014-04-05Gave controls their proper fonts on Mac OS X.Pietro Gagliardi
2014-04-05Updated sysdata_darwin.go to remove some TODOs and change most, if not all, ↵Pietro Gagliardi
embedded magic numbers to named constants.
2014-04-04Removed objc_alloc(). This should be all of them. Now to redo how classes ↵Pietro Gagliardi
are handled...
2014-04-04Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls ↵Pietro Gagliardi
into a simple initWithDummyFrame().
2014-04-04Removed objc_msgSend_rect_uint_uint_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_rect_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_uint().Pietro Gagliardi
2014-04-04Added a TODO related to the previous commit.Pietro Gagliardi
2014-04-04Mac OS X indeterminate progresbars were not animating under certain ↵Pietro Gagliardi
conditions; fix that.
2014-04-04Got rid of objc_addDelegate(); it was only called in one place (Mac OS X ↵Pietro Gagliardi
Window creation). Also forgot to mention that the previous commit also disables mouse movements in Cocoa Areas for now; I need to replace the current code with one that uses tracking because mouse movements are system-global.
2014-04-04Fixed Mac OS X Button appearance; turns out it was using the wrong font. ↵Pietro Gagliardi
Also updated the TODO file to mark this fix and remove other stale/already fixed details.
2014-04-03Enabled mouse move events on Mac OS X. Mosue events now just got stranger ↵Pietro Gagliardi
and buggier there...
2014-04-01Separated initial text from sysData.make() on the Mac OS X backend, ↵Pietro Gagliardi
completing that set of commits.
2014-03-30Fixed Mac OS X Area setAreaSize() not working: I was using the NSWindow ↵Pietro Gagliardi
setFrame:display: selector instead of sending the two NSView setFrame: and display methods separately.
2014-03-30Attempted to add the Area bare bones and resizing code to the Mac OS X ↵Pietro Gagliardi
backend. It complains that initWithFrame: is not implemented...
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12Added indeterminate ProgressBar code for Mac OS X.Pietro Gagliardi
2014-03-11Removed error returns from Combobox.Delete(), Listbox.Delete(), and ↵Pietro Gagliardi
sysData.delete(), since they are no longer used. Updated the TODO file to mark this issue closed.
2014-03-10Fixed compiler errors in the previous few commits.Pietro Gagliardi
2014-03-10Removed error returns from sysData.setText() now that we no longer care.Pietro Gagliardi
2014-03-09Removed now-unused error returns from sysData.show() and sysData.hide().Pietro Gagliardi
2014-03-09Split sysData.show() into separate show() and firstShow() to accomodate ↵Pietro Gagliardi
Windows's differing rules for first-time window show; this will also allow me to remove the error returns from sysData.show() and sysData.hide() (later).
2014-03-09Steamrolled errors under panic() in Combobox/Listbox.Append()/InsertBefore() ↵Pietro Gagliardi
because screw Windows being different.
2014-03-08Added the Mac OS X implementation of Combobox/Listbox.Len().Pietro Gagliardi
2014-03-03Fixed Mac OS X control placement flipping. This is done by passing the ↵Pietro Gagliardi
height of the window around setRect() calls to avoid polling the content view frame each time.
2014-03-03Split out the code to add a Control to a Mac OS X Window into its own function.Pietro Gagliardi
2014-03-03Removed crash guards from the Mac OS X sysData code. Also removed some ↵Pietro Gagliardi
leftover ones from the GTK+ code.
2014-03-03Added Mac OS X ProgressBars. Mac OS X now feature-equal!Pietro Gagliardi
2014-03-02Whoops, forgot to define sysData.selectedIndices() and ↵Pietro Gagliardi
sysData.selectedTexts() for Mac OS X now that I have those written! Adding items is still a no-op...
2014-03-02Added untested Mac OS X Listbox code. Won't compile yet...Pietro Gagliardi
2014-03-02Added Mac OS X Labels and a bunch of TODOs. Now for Listboxes... oh boy...Pietro Gagliardi
2014-03-02Added the Mac OS X implementation of LineEdit. It seems to work... mostly. ↵Pietro Gagliardi
The password entry field is outside the window for some reason; need to figure out how to place things in their proper place.
2014-03-02Finished the implementation of Combobox on Mac OS X.Pietro Gagliardi
2014-03-02Added the other Combobox modification functions to the Mac OS X backend. ↵Pietro Gagliardi
Before continuing, I'll get messageboxes working...
2014-03-02Added the beginning of the Mac OS X implementation of Combobox; also added a ↵Pietro Gagliardi
file to plan out how lists will be implemented/are being implemented.
2014-03-02Added an alternate textsel for Mac OS X Comboboxes.Pietro Gagliardi
2014-03-02Added the alternate value as a parameter to Mac OS X sysData.make() in ↵Pietro Gagliardi
preparation for Comboboxes and Listboxes.