| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-03-24 | Corrected a copy-paste fail in stdwndclass_windows.go that broke compilation ↵ | Pietro Gagliardi | |
| (this is why you test builds on all platforms, folks!) and added a TODO about resizing on Windows in the meantime. | |||
| 2014-03-17 | Changed the new resizing code so that it uses the same allocated slice per ↵ | Pietro Gagliardi | |
| window instead of making a new one to store all the resize requests each time. | |||
| 2014-03-17 | Changed window resizes so that the actual Control.setRect() functions ↵ | Pietro Gagliardi | |
| appended to an array of requests that the resize() function set all at once instead of having each done individually. This will be necessary for what I think will be a solution to the deadlocks. It doesn't work right now; I'm assuming it's allocating too much memory. I know how to fix this, but I'm committing what I have so far to be safe. | |||
| 2014-03-12 | Separated file creation dates from the package comment. | Pietro Gagliardi | |
| 2014-03-03 | Fixed 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-02-21 | Fixed the unregistered window class error on 64-bit Windows: turns out it ↵ | Pietro Gagliardi | |
| was a difference in Go's int vs. what Windows expected (thanks Microsoft for not using your special types here). Fixed all instances of this, even in unmigrated/. Still does not work in wine... | |||
| 2014-02-19 | Moved 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-18 | Made event dispatch asynchronous to avoid deadlocks; right now events that ↵ | Pietro Gagliardi | |
| cannot be dispatched get dropped. | |||
| 2014-02-17 | Fixed the GTK+ crashes (I think) by making resizes synchronous. Since all ↵ | Pietro Gagliardi | |
| control resizes happen on the UI thread anyway, we don't need to dispatch back; just call the resizing functions directly. Windows gets this fix too for consistency (and also because it gets rid of the only asynchronous oddity in the system). | |||
| 2014-02-13 | Fixed the resizing deadlock. | Pietro Gagliardi | |
| 2014-02-13 | Added sizing of windows and the main window control. It presently deadlocks; ↵ | Pietro Gagliardi | |
| I'll need to redo my mutexes... | |||
| 2014-02-12 | Fixed compiler errors. New code structure success! | Pietro Gagliardi | |
| 2014-02-12 | Whoops, class registration now has to go through the UI task. | Pietro Gagliardi | |
| 2014-02-12 | Each control may only need one event, so combine them all into a single ↵ | Pietro Gagliardi | |
| channel whose use depends on the sysData itself. Also we won't need to save the parentWindow anymore, as the change to the make() function will take care of that for us. | |||
| 2014-02-12 | Restructuring the codebase to make things neater. First off: each window now ↵ | Pietro Gagliardi | |
| has its own class; the sysData knows about children. This updates the window class to become a generator and rewrites the WndProc as well. | |||
| 2014-02-12 | Added button events. | Pietro Gagliardi | |
| 2014-02-11 | Changed the sysData cache so that if we didn't fill it in yet, getSysData() ↵ | Pietro Gagliardi | |
| returns nil instead of panicking, and the standard window procedure jumps directly to the default handler. Not what I originally wanted to do, but whatever, it finally works! | |||
| 2014-02-11 | Got rid of the reverse HWND->sysData lookup for now, to see if there's a ↵ | Pietro Gagliardi | |
| mistake elsewhere. Now we're up to a panic... with Success... | |||
| 2014-02-11 | It appears the result of syscall.StringToUTF16Ptr() is only temporary, so ↵ | Pietro Gagliardi | |
| removed all that. Now the program just hangs... | |||
| 2014-02-11 | Whoops, copy-paste fail somehow changed init error checks. Now it starts... ↵ | Pietro Gagliardi | |
| and hangs before creating a window... | |||
| 2014-02-11 | All build errors resolved. Now to test... | Pietro Gagliardi | |
| 2014-02-11 | Added the init and testing main functions and started fixing errors. Let's ↵ | Pietro Gagliardi | |
| fix the rest and hope it works... | |||
| 2014-02-11 | Filled in the standard window procedure. | Pietro Gagliardi | |
| 2014-02-11 | (see previous commit; part 2) | Pietro Gagliardi | |
