summaryrefslogtreecommitdiff
path: root/dialog_unix.go
AgeCommit message (Collapse)Author
2015-12-11LET'S GET THIS FINAL REWRITE EVER STARTEDPietro Gagliardi
2014-10-02go fmt. Precursor to bug report filing.Pietro Gagliardi
2014-08-31Resolved TODO about OpenFile() on GTK+ returning NULL.Pietro Gagliardi
2014-08-30...in with the new.Pietro Gagliardi
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
2014-07-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-06-30Restored the previous new API. I'm going to change it so that events are ↵Pietro Gagliardi
callbacks rather than using a window handler, but other than that... yeah.
2014-06-30Reverted everything back to the old API.Pietro Gagliardi
2014-06-28Migrated the GTK+ backend to the new API.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-06-08Fixed a quick typo spotted by _7sins in irc.freenode.net/#go-nuts.Pietro Gagliardi
2014-06-08Fixed modality issues on the GTK+ MsgBox() changes. The system introduced ↵Pietro Gagliardi
here has the advantage of scaling out to all other types of dialogs.
2014-06-08Whoops, forgot to apply dialogWindow to dialog_unix.go.Pietro Gagliardi
2014-06-08Added the new MsgBox() behavior to the GTK+ backend. It /almost/ works ↵Pietro Gagliardi
right; just needs some more changes...
2014-06-05Implemented the new MsgBox() transience behavior on GTK+.Pietro Gagliardi
2014-06-03Removed TODO about application-modal dialog boxes in GTK+; they were already ↵Pietro Gagliardi
application modal! The real issue is window transience... and that's where platforms differ greatly.
2014-05-19Removed the extra #cgo directives from the Unix files. cgo collects ↵Pietro Gagliardi
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-04-25Decided not to show an icon in the regular MsgBox() on Windows and Unix. For ↵Pietro Gagliardi
Mac OS X I need to see what the difference between Warning and Informational is.
2014-04-10Removed unnecessary space if the secondaryText argument to MsgBox***() is an ↵Pietro Gagliardi
empty string. This doesn't change much on Mac OS X; it always shows the informational text field, showing an empty string by default. On GTK+ it seems to get rid of the bold over the primary text; I'm going to assume this is intentional (it looks that way on GTK+ 2; the HIG docs have outdated screenshots...).
2014-04-01Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that ↵Pietro Gagliardi
file a bit.
2014-03-16Split out includes of <gtk/gtk.h> into a new header file so the GTK+ ↵Pietro Gagliardi
versioning macros can be included in all Go files, not just area_unix.go.
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12Removed a stray TODO resolved by the previous few commits.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-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-17Added GTK+ message boxes.Pietro Gagliardi