| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-01 | Fixed Windows control sizing: turns out simply calling GetTextMetrics() was ↵ | Pietro Gagliardi | |
| not enough, as the GetDC() functions don't load the control font into the DC; we have to do it ourselves with SelectObject() (according to GetTextMetrics()'s docs on MSDN). Upon re-evaluation, the only things that need custom fonts are menus and statusbars; I don't know if menus can be done with the standard contorls and statusbars change the font of all controls inside... so how fonts are handled in classData needs to change now. | |||
| 2014-04-01 | Made the sysData.make() change from the previous commit on the Windows backend. | Pietro Gagliardi | |
| 2014-03-29 | Implemented Area.SetSize() on Windows. | Pietro Gagliardi | |
| 2014-03-24 | Started the Windows implementation of Area. | Pietro Gagliardi | |
| 2014-03-12 | Separated file creation dates from the package comment. | Pietro Gagliardi | |
| 2014-03-12 | Added indeterminate ProgressBar code on Windows and fixed up a few other ↵ | Pietro Gagliardi | |
| things along the way. | |||
| 2014-03-12 | Gave Listboxes a border on Windows by implementing the subset of ↵ | Pietro Gagliardi | |
| LBS_STANDARD we want, not just WS_VSCROLL. This will also allow us to have selection changed events later. | |||
| 2014-03-11 | Removed error returns from Combobox.Delete(), Listbox.Delete(), and ↵ | Pietro Gagliardi | |
| sysData.delete(), since they are no longer used. Updated the TODO file to mark this issue closed. | |||
| 2014-03-10 | Fixed compiler errors in the previous few commits. | Pietro Gagliardi | |
| 2014-03-10 | Removed error returns from sysData.setText() now that we no longer care. | Pietro Gagliardi | |
| 2014-03-10 | Changed Windows sysData.setText() to panic on error. WM_SETTEXT's ↵ | Pietro Gagliardi | |
| documentation indicates the main error is memory exhausted, which means we should panic anyway (unless the Go runtime already has). Any other error will be flagged as unexpected; since we're using SetWindowText() we can't differentiate between out of memory and other errors in the way WM_SETTEXT documents anyway. | |||
| 2014-03-09 | Removed now-unused error returns from sysData.show() and sysData.hide(). | Pietro Gagliardi | |
| 2014-03-09 | Split sysData.show() into separate show() and firstShow() to accomodate ↵ | Pietro Gagliardi | |
| Windows's differing rules for first-time window show; this will also allow me to remove the error returns from sysData.show() and sysData.hide() (later). | |||
| 2014-03-09 | Steamrolled errors under panic() in Combobox/Listbox.Append()/InsertBefore() ↵ | Pietro Gagliardi | |
| because screw Windows being different. | |||
| 2014-03-08 | Added the Windows implementation of Combobox/Listbox.Len(). | 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-25 | Added password entry fields; they are the alternate mode of LineEdit. | Pietro Gagliardi | |
| 2014-02-25 | Added Windows implementation of ProgressBar and the requisite comctl32.dll code. | Pietro Gagliardi | |
| 2014-02-25 | Added most of the Windows implementation of ProgressBar. Now to grab the ↵ | Pietro Gagliardi | |
| comctl32.dll stuff. | |||
| 2014-02-24 | Set the default control font on Windows to the expected standard font ↵ | Pietro Gagliardi | |
| instead of to the default System font. | |||
| 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-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-15 | Added Listbox.Selection() and Listbox.SelectedIndices(). Also fixed a bug ↵ | Pietro Gagliardi | |
| involving sysData.selectedIndices() with nothing selected. | |||
| 2014-02-15 | Added Combobox.SelectedIndex(). | Pietro Gagliardi | |
| 2014-02-15 | Added Combobox.Delete() and Listbox.Delete() and added some TODOs. | Pietro Gagliardi | |
| 2014-02-15 | Added vertical scroll bars to Combobox. | Pietro Gagliardi | |
| 2014-02-15 | Made sure sysData.selectedIndices() returns an empty slice if nothing was ↵ | Pietro Gagliardi | |
| selected in a single-selection listbox. | |||
| 2014-02-15 | More error handling reduction. | Pietro Gagliardi | |
| 2014-02-15 | Reduced the number of unnecessary error returns based on MSDN. The TODOs ↵ | Pietro Gagliardi | |
| that used to be there have been moved to a new file; similar files for Mac and Linux will also be made. | |||
| 2014-02-15 | Resolved some more TODOs... though resolving the rest in this file is going ↵ | Pietro Gagliardi | |
| to be fun... | |||
| 2014-02-15 | Removed setting the initial width and height in sysData.make() (this gets ↵ | Pietro Gagliardi | |
| rid of the dummy 300x300 sizes from the controls) and added an explicit sysData.setWindowSize() to Window.Open() to ensure everything's sized properly. | |||
| 2014-02-15 | Added sysData.setWindowSize(), which will simplify a few things in ↵ | Pietro Gagliardi | |
| Window.Open() and Control.make(). | |||
| 2014-02-15 | Fixed build errors in the previous commits. | Pietro Gagliardi | |
| 2014-02-15 | Added combobox/listbox selection helper functions. | Pietro Gagliardi | |
| 2014-02-15 | Added sysData.insertBefore(). | Pietro Gagliardi | |
| 2014-02-14 | Added scrollbars to Listbox. | Pietro Gagliardi | |
| 2014-02-14 | Added Listboxes. You can't use the results just yet... | Pietro Gagliardi | |
| 2014-02-14 | Renamed sysData.editable to sysData.alternate in preparation for ListBox. | Pietro Gagliardi | |
| 2014-02-14 | Added labels. | Pietro Gagliardi | |
| 2014-02-14 | Added LineEdit. | Pietro Gagliardi | |
| 2014-02-14 | Added Combobox. | Pietro Gagliardi | |
| 2014-02-13 | Added Checkbox.Checked(). | Pietro Gagliardi | |
| 2014-02-13 | Added checkboxes. You can't really do anything with them yet, though... | 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 | Adjusted sysData.make() to make the new window class and fixed main(). Now ↵ | Pietro Gagliardi | |
| to fix compiler errors... | |||
| 2014-02-12 | Windows sysData has been adjusted to deal with child controls. Rather than ↵ | Pietro Gagliardi | |
| storing the parent window, it is passed as an argument to sysData.make(), which does the child ID allocation. Child IDs are now window-local, getting rid of that restriction. | |||
| 2014-02-12 | Added Window.SetTitle(). Also oops, forgot to mark the window as created. | Pietro Gagliardi | |
| 2014-02-12 | Added buttons. | Pietro Gagliardi | |
| 2014-02-12 | Added initial window size and the Window.SetTitle() function. | Pietro Gagliardi | |
