Pietro Gagliardi
|
e395adb214
|
Fixed GTK+ windows having the wrong background.
|
2014-04-09 12:04:04 -04:00 |
Pietro Gagliardi
|
49103abe7c
|
As it turns out, Windows does have a facility for windows that only serve as message dispatches; let's use it for our message handler. (I only found this out while looking up SetParent() for the previous commit).
|
2014-04-09 11:13:35 -04:00 |
Pietro Gagliardi
|
67c56c3766
|
More (big) future plans.
|
2014-04-09 09:34:15 -04:00 |
Pietro Gagliardi
|
69b63dbbb8
|
Slowed GTK+ indeterminate Progressbars down.
|
2014-04-08 00:21:12 -04:00 |
Pietro Gagliardi
|
64df42356b
|
More future plans.
|
2014-04-07 22:52:05 -04:00 |
Pietro Gagliardi
|
8220df86bf
|
Undid the previous change to the keyboard test so that it responds to window closes again.
|
2014-04-07 18:36:52 -04:00 |
Pietro Gagliardi
|
3bf215ae4e
|
Split out the common resizing code into its own function so that it's all in one place. This will also affect what happens if I switch to DeferWindowPos() on Windows.
|
2014-04-07 14:32:25 -04:00 |
Pietro Gagliardi
|
00acf74177
|
Updated Area's KeyEvent documentation to talk about some window managers on Unix intercepting some events; also updated the keyboard test program to make a note of behaviors related to that.
|
2014-04-07 12:56:10 -04:00 |
Pietro Gagliardi
|
14bb9e3621
|
Removed the TODOs about AppQuit: fixed on OS X, never a problem on Windows, unfixable elsewhere (these are window manager window-local(? apparently...) events so they never hit us; thanks to some people in irc.gimp.net/#gtk+). Also added some notes to the future plans document (related to all that).
|
2014-04-07 12:49:23 -04:00 |
Pietro Gagliardi
|
24d40fa12d
|
Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using the wrong selector).
|
2014-04-07 12:46:09 -04:00 |
Pietro Gagliardi
|
f7817f6987
|
Added (untested; VM issues) code to handle Mac OS X Quit Dock menu items and other related stuff that may happen in the future. Will drop the TODO after I can test it.
|
2014-04-06 23:33:27 -04:00 |
Pietro Gagliardi
|
af770340c9
|
Added details of application termination handling.
|
2014-04-06 19:14:28 -04:00 |
Pietro Gagliardi
|
371e8c2c99
|
Added thanks comment (see previous commit).
|
2014-04-06 14:08:33 -04:00 |
Pietro Gagliardi
|
0524a17920
|
Added borders to GTK+ Listboxes (thanks to jlindgren in irc.gimp.net/#gtk+); ends that TODO.
|
2014-04-06 13:25:23 -04:00 |
Pietro Gagliardi
|
f12bae7d3e
|
Wrote an update on the NSUInteger/NSInteger situation in bleh_darwin.m.
|
2014-04-06 13:09:58 -04:00 |
Pietro Gagliardi
|
a65012f476
|
More TODOs.
|
2014-04-05 23:14:25 -04:00 |
Pietro Gagliardi
|
7d02af4e81
|
Removed the bit about selectable messagebox text from the TODO file: that's a platform-specific thing.
|
2014-04-05 23:10:07 -04:00 |
Pietro Gagliardi
|
420c640aea
|
Noted that NSScrollView sets the Listbox border in listbox_darwin.go.
|
2014-04-05 22:53:26 -04:00 |
Pietro Gagliardi
|
30c3ee1b98
|
Gave Listboxes a border on Mac OS X. That just leaves GTK+: oyxgen-gtk always gives GtkScrollingWindows a border, which misled me earlier... other themes don't.
|
2014-04-05 22:51:01 -04:00 |
Pietro Gagliardi
|
e3a2a15416
|
More future plans.
|
2014-04-05 21:43:46 -04:00 |
Pietro Gagliardi
|
3d04200e8d
|
Split the todo.md file into one for immediate TODOs and one for future work; merged the latter with controlcandidates.md to form a single future stuff list. Also cleaned up all those lists.
|
2014-04-05 19:38:35 -04:00 |
Pietro Gagliardi
|
dc96a73c2f
|
Removed TODO from Mac OS X code about additional label styles; judging from Interface Builder I've got them covered.
|
2014-04-05 15:26:31 -04:00 |
Pietro Gagliardi
|
da68adf420
|
Gave controls their proper fonts on Mac OS X.
|
2014-04-05 15:10:02 -04:00 |
Pietro Gagliardi
|
612eba9de3
|
Updated sysdata_darwin.go to remove some TODOs and change most, if not all, embedded magic numbers to named constants.
|
2014-04-05 13:59:11 -04:00 |
Pietro Gagliardi
|
1449409f61
|
More TODOs.
|
2014-04-05 13:32:40 -04:00 |
Pietro Gagliardi
|
98ae4cb3b8
|
Moved all selector and class initialization for bleh_darwin.m into its own function.
|
2014-04-05 13:30:56 -04:00 |
Pietro Gagliardi
|
338cbc0540
|
Removed NilClass from the shared Mac OS X files (objc_darwin.h and bleh_darwin.m) as the //export issue that required that no longer applies.
|
2014-04-05 12:39:27 -04:00 |
Pietro Gagliardi
|
b97e6b864f
|
Fixed 32-bit Mac OS X builds: Area crashed due to random ABI changes. Also more TODOs.
|
2014-04-04 22:51:30 -04:00 |
Pietro Gagliardi
|
8eee2a92b7
|
Changed the way drawRect: was being added to our Mac OS X Area such that we no longer need a separate function to add it to the class.
|
2014-04-04 22:21:53 -04:00 |
Pietro Gagliardi
|
8c109a0ae9
|
Updated the Area drawRect: adding error message to look like the ones that come out of the new class system.
|
2014-04-04 21:35:14 -04:00 |
Pietro Gagliardi
|
7ea493873c
|
Changed the Area class on Mac OS X to use the new class creation code. This gets rid of ALL the class creation code from delegate_darwin.go.
|
2014-04-04 21:32:10 -04:00 |
Pietro Gagliardi
|
dd20d56f25
|
Created a new, simpler, easier to work with, and consistent way to create the necessary Objective-C classes in our Go code, and converted the appDelegate class to use it. Now for goArea...
|
2014-04-04 21:06:01 -04:00 |
Pietro Gagliardi
|
9488824240
|
Wrapper functions are no longer used (see the past few commits), so that comment was removed from bleh_darwin.m. That comment also had the wrong filename all this time (bleh_darwin.go instead of objc_darwin.go).
|
2014-04-04 20:36:19 -04:00 |
Pietro Gagliardi
|
e35457b968
|
Removed objc_alloc(). This should be all of them. Now to redo how classes are handled...
|
2014-04-04 20:34:35 -04:00 |
Pietro Gagliardi
|
5a5b486b6a
|
Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame().
|
2014-04-04 19:51:59 -04:00 |
Pietro Gagliardi
|
dd4a7b9cbe
|
Removed objc_msgSend_rect_uint_uint_bool().
|
2014-04-04 19:14:03 -04:00 |
Pietro Gagliardi
|
461b0cc023
|
Removed objc_msgSend_rect_bool().
|
2014-04-04 19:08:25 -04:00 |
Pietro Gagliardi
|
ba2c1d6d20
|
Removed objc_msgSend_uint().
|
2014-04-04 18:56:37 -04:00 |
Pietro Gagliardi
|
bf1e7aae42
|
More TODOs.
|
2014-04-04 18:39:06 -04:00 |
Pietro Gagliardi
|
ef43865923
|
Removed objc_release().
|
2014-04-04 18:08:23 -04:00 |
Pietro Gagliardi
|
fbde220ab1
|
Added a TODO related to the previous commit.
|
2014-04-04 18:00:22 -04:00 |
Pietro Gagliardi
|
1b05312da9
|
Mac OS X indeterminate progresbars were not animating under certain conditions; fix that.
|
2014-04-04 17:59:23 -04:00 |
Pietro Gagliardi
|
3a130b756a
|
Removed objc_new(). The idea is to remove all the objc_* functions that aren't prefixed with C. (except objc_getClass()).
|
2014-04-04 17:50:27 -04:00 |
Pietro Gagliardi
|
1a7bf4cd89
|
Got rid of objc_addDelegate(); it was only called in one place (Mac OS X 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-04 15:51:40 -04:00 |
Pietro Gagliardi
|
be668a965a
|
Fixed Mac OS X Button appearance; turns out it was using the wrong font. Also updated the TODO file to mark this fix and remove other stale/already fixed details.
|
2014-04-04 14:52:38 -04:00 |
Pietro Gagliardi
|
2884d45f0f
|
Fixed mouse move events on Mac OS X not returning buttons right, I think: turns out I was sending the wrong message in. Now I have to figure out how to filter out mouse move messages; then I can really make sure this works right...
|
2014-04-03 23:52:26 -04:00 |
Pietro Gagliardi
|
2e617611c5
|
Adjusted Button and Combobox sizes on Windows to be better...
|
2014-04-03 21:00:38 -04:00 |
Pietro Gagliardi
|
89e3afc413
|
Added question about Windows proper sizes... for now...
|
2014-04-03 19:19:19 -04:00 |
Pietro Gagliardi
|
2e72ab689a
|
Updated TODO on dragging in an Area (decided to go with what GTK+ and Windows currently do; dragging was working on Windows all along; now dragging is weird on Mac).
|
2014-04-03 18:33:57 -04:00 |
Pietro Gagliardi
|
01d9e1b02b
|
Enabled mouse move events on Mac OS X. Mosue events now just got stranger and buggier there...
|
2014-04-03 18:33:37 -04:00 |