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 |
Pietro Gagliardi
|
e4c70b2b15
|
More TODOs.
|
2014-03-03 15:37:02 -05:00 |
Pietro Gagliardi
|
383933c45e
|
Added Mac OS X ProgressBars. Mac OS X now feature-equal!
|
2014-03-03 15:32:54 -05:00 |
Pietro Gagliardi
|
874491a871
|
Added the scrollbars themselves to the NSScrollView backing the Mac OS X Listboxes. Also added a few TODOs. I think the Mac OS X Listbox implementation is now finished.
|
2014-03-03 14:57:20 -05:00 |
Pietro Gagliardi
|
8bacbf8cd6
|
Wrapped Mac OS X Listboxes in NSScrollViews. Their preferredSize seems to be more reasonable now. Now to just add scrollbars...
|
2014-03-03 14:50:03 -05:00 |
Pietro Gagliardi
|
dd2abbacce
|
More TODOs related to the previous commit.
|
2014-03-03 14:39:33 -05:00 |
Pietro Gagliardi
|
674640abe8
|
Changed how the preferred size of controls is determined to accomodate NSTableView, NSScrollView, and NSProgressIndicator. Updated TODOs to mark other weirdnesses (such as Label text that used to get cropped) that no longer happen because of this. Now for putting Listboxes in NSScrollViews.
|
2014-03-03 14:37:16 -05:00 |
Pietro Gagliardi
|
0333f799d9
|
Added a Listbox preferredSize test window to the main test program, as it appears I'm going to have to change how sysData.preferredSize() works on Mac OS X to acommodate NSTableView, NSScrollView, and NSProgressIndicator...
|
2014-03-03 13:58:20 -05:00 |
Pietro Gagliardi
|
842815b2e0
|
Fixed selection grabbing and also append/insert/removal crashes: all were selector name typos. Also some TODOs Now to make this scroll/confine it to a scroll view...
|
2014-03-03 01:51:54 -05:00 |
Pietro Gagliardi
|
ab2065e5ba
|
Ah there we go; columnWithIdentifier: returns an index; we wanted tableColumnWithIdentifier:. Now to fix the crashing when getting list information...
|
2014-03-03 01:43:18 -05:00 |
Pietro Gagliardi
|
403f9cab35
|
Fixed a typo'd selector name related to Listbox selection. Adding items still doesn't work...
|
2014-03-02 23:37:50 -05:00 |
Pietro Gagliardi
|
463b347911
|
Whoops, forgot to define sysData.selectedIndices() and sysData.selectedTexts() for Mac OS X now that I have those written! Adding items is still a no-op...
|
2014-03-02 23:36:46 -05:00 |
Pietro Gagliardi
|
0baf0f4a97
|
Fixed the compiler errors. The Mac OS X Listboxes are created!... but don't show any items. Let's figure out why.
|
2014-03-02 23:28:43 -05:00 |
Pietro Gagliardi
|
bdce1b9dc2
|
Added untested Mac OS X Listbox code. Won't compile yet...
|
2014-03-02 23:11:29 -05:00 |
Pietro Gagliardi
|
77c0198751
|
Added Mac OS X Labels and a bunch of TODOs. Now for Listboxes... oh boy...
|
2014-03-02 19:56:54 -05:00 |
Pietro Gagliardi
|
75c34a0789
|
Fixed incorrect object placement by using the window's content rect, not the window's frame, to define the window size. The coordinate system being flipped is still not fixed.
|
2014-03-02 19:16:36 -05:00 |
Pietro Gagliardi
|
38a1b1b203
|
Fixed incorrect redrawing of Mac OS X windows after resize. Still need to fix the wrong rect issues...
|
2014-03-02 19:13:26 -05:00 |
Pietro Gagliardi
|
e2476a567d
|
Added the Mac OS X implementation of LineEdit. It seems to work... mostly. The password entry field is outside the window for some reason; need to figure out how to place things in their proper place.
|
2014-03-02 19:01:34 -05:00 |
Pietro Gagliardi
|
4bc35e2db5
|
Finished the implementation of Combobox on Mac OS X.
|
2014-03-02 18:38:45 -05:00 |
Pietro Gagliardi
|
e20b468472
|
Added the Mac OS X implementation of messageboxes.
|
2014-03-02 18:37:25 -05:00 |
Pietro Gagliardi
|
234b724403
|
Added the other Combobox modification functions to the Mac OS X backend. Before continuing, I'll get messageboxes working...
|
2014-03-02 17:44:13 -05:00 |
Pietro Gagliardi
|
01e5871741
|
Added the beginning of the Mac OS X implementation of Combobox; also added a file to plan out how lists will be implemented/are being implemented.
|
2014-03-02 17:19:25 -05:00 |
Pietro Gagliardi
|
db1c6c5c17
|
Added an alternate textsel for Mac OS X Comboboxes.
|
2014-03-02 16:46:27 -05:00 |
Pietro Gagliardi
|
3279f4f43a
|
Added the alternate value as a parameter to Mac OS X sysData.make() in preparation for Comboboxes and Listboxes.
|
2014-03-02 14:43:31 -05:00 |
Pietro Gagliardi
|
5f6a4ee690
|
Added Mac OS X Checkboxes.
|
2014-03-02 09:17:42 -05:00 |
Pietro Gagliardi
|
3e44abc1b8
|
Now that we have everything up to and including Buttons up and running, we no longer need the darwintest.
|
2014-03-01 22:40:14 -05:00 |
Pietro Gagliardi
|
4599e0d25e
|
More TODOs.
|
2014-03-01 22:31:28 -05:00 |
Pietro Gagliardi
|
1ab2b611cd
|
Expanded documentation for previous commit.
|
2014-03-01 21:52:15 -05:00 |
Pietro Gagliardi
|
ca81eb0ea8
|
Fixed the preferredSize() stall. Dumb Intel ABI optimizations. Good thing with 10.6 minimum I won't have to worry about PowerPC compatibility... but if ARM ever comes to the desktop all bets are off.
|
2014-03-01 21:44:10 -05:00 |
Pietro Gagliardi
|
bbb37bb2a6
|
Added Mac OS X Buttons. Code hangs due to a preferredSize() issue...
|
2014-03-01 21:34:37 -05:00 |
Pietro Gagliardi
|
859c240a21
|
Some error message and TODO changes related to the previous commit.
|
2014-03-01 20:41:30 -05:00 |
Pietro Gagliardi
|
0709351fed
|
Attempted to fix the lack of resizable window borders by setting the NSApplication activation policy. This fixed it, and also fixed a bunch of other things, such as the application being seen as part of Terminal, lack of dock icon, lack of application menu, etc.
|
2014-03-01 20:31:17 -05:00 |
Pietro Gagliardi
|
10e9f6b927
|
Fixed non-minimizeable windows in Mac OS X; it was a simple copy-paste fail.
|
2014-03-01 18:04:09 -05:00 |
Pietro Gagliardi
|
d9cf76c1ab
|
Added windowDidResize: to the Mac OS X delegate for resizing windows. Now to figure out why I can't resize windows myself...
|
2014-03-01 18:01:30 -05:00 |
Pietro Gagliardi
|
5caf0fe84a
|
Cleaned up loose ends with the previous commit and got window close events working on Mac OS X. Woo!
|
2014-03-01 17:15:26 -05:00 |
Pietro Gagliardi
|
8b497b2188
|
Added the getSysData() hook. Now to clean up loose ends and apply the delegate to the window.
|
2014-03-01 17:06:06 -05:00 |
Pietro Gagliardi
|
56eb64429d
|
Fixed most errors. Now I just need to add a sysData pool.
|
2014-03-01 17:01:28 -05:00 |
Pietro Gagliardi
|
9b4e30ccf9
|
Started to build a single global delegate object; now to fix issues.
|
2014-03-01 16:56:22 -05:00 |