experiments
Merged back combobox_darwin.m, rewrote it to use boundListboxArray() instead of creating a whole new object, and implemented what appears to be a fix for NSPopUpButton selection. Will delete the unneeded select(-1) code later and test again...
2014-05-28 23:46:33 -04:00
olddocs
Disabled Travis.ci for now.
2014-06-06 18:59:37 -04:00
test
Implemented the new MsgBox()/MsgBoxError() behavior on Windows.
2014-06-08 08:50:52 -04:00
tools
Moved the standard window class (for Window) on Windows to get the sysData pointer from CreateWindowEx() and store it in the window memory instead of being given it via a closure. This will lead to having only one window class for all Windows, which will come next. Also fixed an error in windowsconstgen's output related to GetWindowLongPtr()/SetWindowLongPtr().
2014-05-30 17:59:29 -04:00
LICENSE
Added license and README.
2014-02-17 18:38:50 -05:00
README.md
Disabled Travis.ci for now.
2014-06-06 18:59:37 -04:00
area.go
Documented window switch clicks in Area and implemented them on Windows and Mac OS X.
2014-06-07 04:19:37 -04:00
area_darwin.go
Elaborated previous commit.
2014-06-06 23:47:48 -04:00
area_darwin.m
Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there.
2014-06-07 18:17:29 -04:00
area_unix.go
Documented click event on activate behavior in the GTK+ backend.
2014-06-07 11:40:25 -04:00
area_windows.go
Checked Windows RECT usage and fixed wrong ones.
2014-06-08 00:55:11 -04:00
button.go
Quick changes: turned "Window has been opened" to "Window has been created" since I'm going to separate creating and opening (Open() will call Create()).
2014-06-03 22:54:28 -04:00
callbacks_unix.go
Resolved TODOs in callbacks_unix.go. (For the returning FALSE TODO, I decided it would be safest to let event handlers propagate, as I did with Areas earlier.)
2014-06-02 22:07:50 -04:00
checkbox.go
Moved TODOs about new event signals to the future plans document.
2014-04-28 20:59:42 -04:00
combobox.go
Fixed the GTK+ Combobox sizing issues for real this time.
2014-06-05 13:40:47 -04:00
combobox_darwin.m
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
2014-05-29 04:41:07 -04:00
comctl_windows.go
Resolved the ACTCTX_FLAG_SET_PROCESS_DEFAULT TODO by deciding to enable this flag for maximum safety. Also added more future plans.
2014-06-04 19:30:19 -04:00
common_windows.go
Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :|
2014-06-07 14:50:05 -04:00
control.go
Updated the documentation: Area now works on all platforms, Modifiers behavior on both left and right keys simultaneously is undefined for now, and the way to create custom Controls no longer involves embedding Area.
2014-03-30 19:57:24 -04:00
controls_windows.go
Removed commented-out checkbox stuff from controls_windows.go since we'll be sending messages directly to the checkbox instead. We still have to worry about radio buttons, so I'm not merging controls_windows.go into common_windows.go just yet.
2014-05-26 22:39:30 -04:00
d32
cgo inserts -m32 automatically, so we don't need to in ./d32.
2014-03-08 17:32:56 -05:00
delegate_darwin.go
Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.
2014-05-19 22:52:59 -04:00
delegateuitask_darwin.m
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.
2014-06-07 19:56:51 -04:00
dialog.go
Implemented the new MsgBox()/MsgBoxError() behavior on Windows.
2014-06-08 08:50:52 -04:00
dialog_darwin.go
Implemented message box transience on Mac OS X.
2014-06-05 00:53:26 -04:00
dialog_darwin.m
Implemented message box transience on Mac OS X.
2014-06-05 00:53:26 -04:00
dialog_unix.go
Whoops, forgot to apply dialogWindow to dialog_unix.go.
2014-06-08 10:16:44 -04:00
dialog_windows.go
Implemented the new MsgBox()/MsgBoxError() behavior on Windows.
2014-06-08 08:50:52 -04:00
doc.go
Updated doc.go with the MsgBox() change.
2014-06-06 10:07:34 -04:00
events_darwin.go
Added Help key handling (as Insert) on Mac OS X.
2014-06-06 19:35:26 -04:00
events_notdarwin.go
Finished the Area clicking stuff: formalized the behavior in documentation in area.go, pointed out that Mac OS X already behaves as expected, updated some comments, and removed the relevant TODO.
2014-05-23 23:48:17 -04:00
futureplans.md
Moved the blurred Area check TODO to future plans because I'd need to find images for that; added some advice for that.
2014-06-08 01:22:38 -04:00
grid.go
Resolved Grid TODOs: moved feature requests to future plans and made sure SetStretchy() doesn't leave previous stretchy controls filling by accident.
2014-04-29 10:10:28 -04:00
gtk_unix.h
Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that file a bit.
2014-04-01 16:01:49 -04:00
gtkcalls_unix.go
Removed some leftover debugging code from the previous few commits.
2014-06-05 13:43:31 -04:00
gtkcasts_unix.go
Removed the extra #cgo directives from the Unix files. cgo collects directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
2014-05-19 22:32:38 -04:00
init.go
Resolved command-line handling in the GTK+ backend by not doing it and documenting that we don't do it.
2014-06-02 21:25:28 -04:00
init_windows.go
Changed Areas on WIndows so that they all use the same window class, rather than having one per Area.
2014-05-30 23:02:15 -04:00
label.go
Properly left-aligned Labels in GTK+. Also added a note to decide on/document/verify vertical alignment of Labels.
2014-06-02 15:22:31 -04:00
lineedit.go
Moved TODOs about new event signals to the future plans document.
2014-04-28 20:59:42 -04:00
listbox.go
Found a method in NSArrayController via Stack Overflow which lets me suppress selection-changing behavior on NSTableView inserts; use that on Listbox in Mac OS X. This means sysData.selectIndices() and its Mac OS X implementation can (and has) gone away, clearing TODOs on Windows and Unix by extension.
2014-05-17 12:42:00 -04:00
listbox_darwin.go
Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.
2014-05-19 22:52:59 -04:00
listbox_darwin.m
Fixed the whole NSApplication.h thing so now the project builds with both 10.6 and 10.8. Ugh.
2014-05-20 08:35:39 -04:00
listbox_unix.go
Removed the extra #cgo directives from the Unix files. cgo collects directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
2014-05-19 22:32:38 -04:00
objc_darwin.go
Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.
2014-05-19 22:52:59 -04:00
objc_darwin.h
Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there.
2014-06-07 18:17:29 -04:00
objc_darwin.m
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.
2014-06-07 19:56:51 -04:00
prefsize_darwin.go
Set Area's preferred size in the documentation and on Windows and Mac OS X.
2014-06-06 23:03:29 -04:00
prefsize_darwin.m
Set Area's preferred size in the documentation and on Windows and Mac OS X.
2014-06-06 23:03:29 -04:00
prefsize_unix.go
Made the preferred size of an Area its size on GTK+ as well.
2014-06-06 23:31:50 -04:00
prefsize_windows.go
Set Area's preferred size in the documentation and on Windows and Mac OS X.
2014-06-06 23:03:29 -04:00
progressbar.go
Resolved TODO about indeterminate ProgressBar repetition by deciding to leave it to the implementation.
2014-06-04 19:09:26 -04:00
stack.go
Quick changes: turned "Window has been opened" to "Window has been created" since I'm going to separate creating and opening (Open() will call Create()).
2014-06-03 22:54:28 -04:00
stdfont_windows.go
Finished migrating the Windows code to using the pregenerated constants.
2014-05-25 15:23:11 -04:00
stdwndclass_windows.go
Checked Windows RECT usage and fixed wrong ones.
2014-06-08 00:55:11 -04:00
sysdata.go
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
2014-05-29 04:41:07 -04:00
sysdata_darwin.go
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
2014-05-29 04:41:07 -04:00
sysdata_darwin.m
Checked to see if the previous commit worked after removing the leftover Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
2014-05-29 04:41:07 -04:00
sysdata_unix.go
Made the preferred size of an Area its size on GTK+ as well.
2014-06-06 23:31:50 -04:00
sysdata_windows.go
Fixed the Windows 7 progressbar animation dumbness.
2014-06-07 23:27:38 -04:00
tableviewproposal.md
Switched TableView proposal from <tt>...</tt> to <tt><ins>...</ins></tt> to make those parts distinct from code blocks.
2014-05-08 16:38:46 -04:00
test.sh
Corrected the environment in windowsconstgen.go so that we can run it from test.sh. Phew!
2014-05-25 16:50:52 -04:00
todo.md
Moved the blurred Area check TODO to future plans because I'd need to find images for that; added some advice for that.
2014-06-08 01:22:38 -04:00
uitask_darwin.go
Set up the Mac OS X build to always target Mac OS X 10.6 regardless of the host system; this is what we want and by default building on 10.8 produces binaries which won't run on 10.6. This isn't working yet, though: one enum in NSApplication.h becomes empty on 10.6...
2014-05-19 23:53:10 -04:00
uitask_unix.go
Moved gtk_main() such that uitask_unix.go calls it directly via cgo. This is in preparation for the next two commits, which will remove the #cgo directives from all files except the uitask_*.go files, since they're being concatenated across files.
2014-05-19 22:18:53 -04:00
uitask_windows.go
Migrated uitask_windows.go to the new string handling.
2014-06-03 10:48:21 -04:00
window.go
Big change to Window: split Open()'s functionality into Create() and Open(); they no longer return errors.
2014-06-03 23:08:51 -04:00
zconstants_windows_386.go
Fixed the Windows 7 progressbar animation dumbness.
2014-06-07 23:27:38 -04:00
zconstants_windows_amd64.go
Fixed the Windows 7 progressbar animation dumbness.
2014-06-07 23:27:38 -04:00