Commit Graph

359 Commits

Author SHA1 Message Date
Pietro Gagliardi 3aa59d4ab9 Added Combobox/Listbox.Len() and its GTK+ implementation. 2014-03-08 16:42:57 -05:00
Pietro Gagliardi d9b0bd3c70 More TODOs. 2014-03-07 20:47:07 -05:00
Pietro Gagliardi bca8979b36 More Space() documentation fixes; also a TODO for Space(). 2014-03-07 19:31:57 -05:00
Pietro Gagliardi 9dc6e6f7b3 Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation. 2014-03-07 19:28:25 -05:00
Pietro Gagliardi 48fc6fbeab Still more TODOs. 2014-03-07 18:33:51 -05:00
Pietro Gagliardi 0a1e2692ce More TODOs. 2014-03-07 15:08:01 -05:00
Pietro Gagliardi 20dcc48bee Changed Combobox.Append() and Listbox.Append() to accept multiple strings in one call. 2014-03-07 15:01:42 -05:00
Pietro Gagliardi 874a4b9271 More control candidate information. 2014-03-07 09:12:15 -05:00
Pietro Gagliardi 61726d5cdd Oops, the garbage collector is collecting our GTK+ idle callback too (much later than it did the other callbacks). Fixed. 2014-03-07 09:10:14 -05:00
Pietro Gagliardi ded390adb9 Even more control candidate work. 2014-03-07 02:18:12 -05:00
Pietro Gagliardi 9216217f44 More control candidates TODO. 2014-03-07 02:10:05 -05:00
Pietro Gagliardi 0e39375676 Added more notes to the control candidates document. 2014-03-07 02:00:28 -05:00
Pietro Gagliardi 5a93c83d0d More TODOs. 2014-03-06 22:01:44 -05:00
Pietro Gagliardi dc3d4727af Even more TODO elaboration. 2014-03-06 21:57:51 -05:00
Pietro Gagliardi 2780ab4af4 More TODO elaboration. 2014-03-06 21:57:08 -05:00
Pietro Gagliardi d6f289bc86 Split NewStack() into NewHorizontalStack() and NewVerticalStack(). Unexported Orientation and its values accordingly. 2014-03-06 20:30:13 -05:00
Pietro Gagliardi 4630eaa84b Updated to the control candidates document to reflect the now-written Mac OS X port. 2014-03-06 20:14:10 -05:00
Pietro Gagliardi eaaf55621f More TODO cleanup. 2014-03-06 20:12:05 -05:00
Pietro Gagliardi 084cfc57b3 Major overdue cleanup of todo.md. 2014-03-06 19:47:25 -05:00
Pietro Gagliardi 8045a2019a Linked the wakeup program int he README as the example. 2014-03-05 20:25:29 -05:00
Pietro Gagliardi f16005c3db Update ui.Go() documentation to show that it will return nil when its main() returns now that that behavior is fully implemented. 2014-03-05 20:11:45 -05:00
Pietro Gagliardi d29e1b8710 Have ui.Go() return on main() return on Mac OS X. 2014-03-05 20:09:15 -05:00
Pietro Gagliardi 011836e94d Have ui.Go() return on main() return on Unix. 2014-03-05 13:25:19 -05:00
Pietro Gagliardi c0c1e09186 Have ui.Go() return on main() return on Windows. 2014-03-05 13:21:45 -05:00
Pietro Gagliardi db87ddae7f Remove the 32-bit GTK+ from linux/386 Travis.ci builds; I have no idea how to fix this. 2014-03-05 12:38:49 -05:00
Pietro Gagliardi ebbbdcceb9 One more try with Travis.ci: this time start with multiarch support explicit. 2014-03-05 12:31:08 -05:00
Pietro Gagliardi c141de20e1 Now that they appear to work, make Travis.ci builds verbose. 2014-03-05 12:22:42 -05:00
Pietro Gagliardi ed52f0a361 Travis.ci isn't actually building the package because there's no test files; fix that. 2014-03-05 12:13:44 -05:00
Pietro Gagliardi 9886dc2c16 Disabled Travis.ci's linux/386 build for now; not sure how to fix it. 2014-03-05 12:03:27 -05:00
Pietro Gagliardi 27b37272d7 ...and that's what I get for not knowing or remembering what I was doing/trusting the first answer on stackoverflow. 2014-03-05 11:53:58 -05:00
Pietro Gagliardi a779312503 ...hopefully NOW the linux/386 Travis.ci build will be fixed? 2014-03-05 11:45:39 -05:00
Pietro Gagliardi fea3d16e2c Whoops, looks like Travis.cl hates { cmd; } in its before_install: block; also forgot the cgo flags for linux/386. 2014-03-05 11:36:02 -05:00
Pietro Gagliardi 6d5d70747c Configured the Travis.cl configuration to cross-compile Windows and Linux for both 386 and amd64. 2014-03-05 11:28:15 -05:00
Pietro Gagliardi bd87c9d6cb Whoops; actually need build=master there; also remove extra space 2014-03-05 11:20:57 -05:00
Pietro Gagliardi c4568d6a34 Updated Travis.ci badge for andlabs/ui. 2014-03-05 11:19:37 -05:00
Pietro Gagliardi 1fc08c3fac Merge pull request #3 from tompao/travis-ci
Example of continuous integration setup with Travis-ci
2014-03-05 11:18:04 -05:00
Pietro Gagliardi ebd15cc5d6 Add a note about the Mac OS X version of package ui requiring Go 1.3 to the README.
Updates issue 1.
2014-03-05 10:37:06 -05:00
Pietro Gagliardi 7866d3e0df Xcode 4 comes with a version of clang that treats inline differently: it requires exactly one definition of the inline function in the linked unit. static inline is C99-compliant (according to LeoNerd in freenode/##c) and does not have this problem, so use that in objc_darwin.h instead.
Fixes issue 1.
2014-03-05 10:31:16 -05:00
Tom P e3db9b7a9b Update README.md 2014-03-04 23:52:37 -08:00
Tom Paoletti d8920cd6df Install GTK3 development files 2014-03-04 23:51:54 -08:00
Tom Paoletti 3099159c0d Basic configuration for travis-ci 2014-03-04 23:51:54 -08:00
Pietro Gagliardi 40a9dc55c9 Changed the ".." import in the test binary to a proper "github.com/andlabs/ui" import. (This means I finally moved my working environment out of a folder src/wingo and into the proper src/github.com/andlabs/ui.) 2014-03-04 23:10:48 -05:00
Pietro Gagliardi 692c75140a Updated the README for Mac OS X. LAUNCHING. 2014-03-03 18:07:02 -05:00
Pietro Gagliardi 9d6d0f9c40 Updated the implementation.md file for Mac OS X. 2014-03-03 18:04:33 -05:00
Pietro Gagliardi 962a84e056 Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time. 2014-03-03 17:44:03 -05:00
Pietro Gagliardi 6c33892831 Added flags to show the auxiliary test windows in the test program, to make working with just the main window easier. 2014-03-03 15:55:38 -05:00
Pietro Gagliardi b2e49b3698 Split out the code to add a Control to a Mac OS X Window into its own function. 2014-03-03 15:52:39 -05:00
Pietro Gagliardi 11d4f96e77 More TODOs. 2014-03-03 15:47:12 -05:00
Pietro Gagliardi 54a63eb712 Removed a leftover crash guard from the Mac OS X sysData code (in this case sysData.preferredSize()). 2014-03-03 15:45:26 -05:00
Pietro Gagliardi 4923f3944c Removed crash guards from the Mac OS X sysData code. Also removed some leftover ones from the GTK+ code. 2014-03-03 15:44:46 -05:00