Commit Graph

3430 Commits

Author SHA1 Message Date
Pietro Gagliardi 6533c0be32 Fixed the datetime example 2018-05-13 13:00:42 -04:00
Pietro Gagliardi ca1079f344 Cleaned up from the previous merge and added it to the README. 2018-05-13 12:05:09 -04:00
Pietro Gagliardi d02784838e
Merge pull request #297 from cody271/datetime
Improve uiDateTimePicker by adding functions to set and get the displayed date.

Updates #309
2018-05-13 11:22:44 -04:00
Pietro Gagliardi 8874532302 Updated the README with the previous commit and updated CMakeLists.txt to address issues raised by the other PR.
Update #261
2018-05-13 11:19:30 -04:00
Pietro Gagliardi f7ea901460
Merge pull request #249 from l0calh05t/fix-msvc-release
Fix release build on MSVC.

Update #261
2018-05-13 11:10:05 -04:00
cody271 fd3b693ffe uiDateTimePicker Use more 'uipriv' on OS X 2018-05-12 21:40:47 -07:00
cody271 9aba97714d uiDateTimePicker Add comments 2018-05-12 21:35:07 -07:00
cody271 266c633972 uiprivDateTimePickerWidget Fix calendarBlock GTK+ signal 2018-05-12 21:35:07 -07:00
cody271 f3d0fee21a uiDateTimePicker Use 'uipriv' convention 2018-05-12 21:35:07 -07:00
cody271 edd4127f8e uiDateTimePicker Fix style consistency 2018-05-12 21:35:07 -07:00
cody271 0b436a8c74 uiDateTimePicker Use proper Windows backend conventions 2018-05-12 21:35:07 -07:00
cody271 0ac4ffdc87 Implement uiDateTimePickerTime() for Windows 2018-05-12 21:35:07 -07:00
cody271 594e3a1ccc uiDateTimePicker Move struct definition back 2018-05-12 21:35:07 -07:00
cody271 5ec5ebdfae uiDateTimePicker Emit proper GTK+ signal in dateTimePickerWidget 2018-05-12 21:35:07 -07:00
cody271 0baf2d2eb6 uiDateTimePicker Keep libui constructors at the end of the file 2018-05-12 21:35:07 -07:00
cody271 cf671c1da5 uiDateTimePicker Fix NSDatePicker timezone handling 2018-05-12 21:35:07 -07:00
cody271 57b225a629 Implement uiDateTimePickerTime() for GTK+ 2018-05-12 21:35:07 -07:00
cody271 04ce39a941 Implement uiDateTimePickerTime() for OS X 2018-05-12 21:35:07 -07:00
cody271 3e9bdd26f1 Fix layout in datetime/main.c 2018-05-12 21:35:07 -07:00
cody271 bc14042935 Add uiDateTimePickerTime() APIs 2018-05-12 21:35:07 -07:00
Pietro Gagliardi 2768fef3ce Cleaned up old static-library stuff from CMakeLists.txt. 2018-05-12 23:59:43 -04:00
Pietro Gagliardi f647dda850 Made the past few branches into an update in README.md. 2018-05-12 13:52:07 -04:00
Pietro Gagliardi 1b23cd4e72 Merge branch 'unix-namespace-cleanup' 2018-05-12 13:48:44 -04:00
Pietro Gagliardi af192eedab And removed static library hacks from GTK+. Let's hope this works! 2018-05-12 13:43:13 -04:00
Pietro Gagliardi 241d8b59f0 And handled the functions in draw.h. Now to test this final build, then get rid of the shared library stuff from CMakeLists.txt... 2018-05-12 13:25:40 -04:00
Pietro Gagliardi add92694bf And renamed the things in future.c, to round out uipriv_unix.h. 2018-05-12 13:19:35 -04:00
Pietro Gagliardi e0a2fc5841 Renamed shared functions in draw.c, image.c, and cellrendererbutton.c. 2018-05-12 13:14:39 -04:00
Pietro Gagliardi 70fd8cbf8e Migrated the types and functions of child.c. 2018-05-12 13:03:55 -04:00
Pietro Gagliardi afaec644cc Migrated the margin and padding constants and functions in menu.c, alloc.c, and util.c. 2018-05-12 12:47:21 -04:00
Pietro Gagliardi 1c83d674a5 Dummy commit to split uipriv_unix.h and move the old stuff out of the way first, to create this branch. 2018-05-12 11:20:11 -04:00
Pietro Gagliardi 55023a5f99 Merge branch 'darwin-namespace-cleanup'
Doesn't handle Objective-C data yet; that'll come later.

Also starts a naming document.

Update #308
2018-05-06 19:35:39 -04:00
Pietro Gagliardi f1c4976fe0 Oh right, I forgot to remove the static library fuckery from the darwin CMakeLists.txt. NOW MERGING. 2018-05-06 19:34:58 -04:00
Pietro Gagliardi 7be597f674 TODO-ize names.md. I'm just going to merge this as-is, since I have not yet solidified the Obj-C rules yet. 2018-05-06 19:32:56 -04:00
Pietro Gagliardi 1e5f1b8254 More name stuff. Argh. 2018-05-06 14:56:38 -04:00
Pietro Gagliardi fb60d5860e Started pinning down reserved names. This is awkward... 2018-05-06 11:27:43 -04:00
Pietro Gagliardi 98fe8736b5 ...draw.h has nothing, so more TODOs. Now for investigating each file in turn. 2018-05-05 22:14:29 -04:00
Pietro Gagliardi fdff9b2dbb Renamed future and undocumented names. Now for draw.h (and whatever other headers are left behind), and then we figure out what to do about other names (including specifically pinning a naming convention). 2018-05-05 22:02:25 -04:00
Pietro Gagliardi 3914451c34 Migrated newLabel(), imageImage(), doManualMove(), and doManualResize(). 2018-05-05 21:28:13 -04:00
Pietro Gagliardi 69922a0fb3 Migrated shared scrollview.m types and functions. 2018-05-05 21:21:44 -04:00
Pietro Gagliardi cc271ccc37 Migrated newContext(), freeContext(), and colorButtonInhibitSendAction(). 2018-05-05 20:28:00 -04:00
Pietro Gagliardi 323a8945eb Migrated sendAreaEvents() and the areaevents.m keycode functions. 2018-05-05 20:20:57 -04:00
Pietro Gagliardi b8fc9fa817 Migrated shared functions and types of autolayout.m. 2018-05-05 20:15:48 -04:00
Pietro Gagliardi eb28beff1b Migrated alloc.m functions. 2018-05-05 19:46:57 -04:00
Pietro Gagliardi 090c783147 Migrated functions from window.m. 2018-05-05 19:38:16 -04:00
Pietro Gagliardi 2f92f644b5 Migrated util.m and the new NSTextField functions. 2018-05-04 20:26:13 -04:00
Pietro Gagliardi 1381edfa6e Migrated main.m functions. Before we merge this back in I absoltuely must do something about main.m and menu.m, even if ethereal. 2018-05-04 19:50:02 -04:00
Pietro Gagliardi 60e71c7174 Migrated menu.m for now. Need to figure out what to do about ivars and methods and properties. Also still not happy with the property and autoreleasepool mess of main.m... 2018-05-03 23:20:12 -04:00
Pietro Gagliardi b8316c61dd Converted struct mapTable to uiprivMap first, since that typedef will be a dependency of later stuff. ALso I didn't realize whoever wrote that new menu code also completely rewrote map.m... Cleaned up style inconsistencies I found in both. Anyway I plan on getting rid of that menu code anyway, and I could just have something else for target-action instead of this depending on whatever happens with ARC... 2018-05-03 23:02:38 -04:00
Pietro Gagliardi 5a113e1e0b Renamed toNSString() and fromNSString() to uiprivToNSString() and uiprivFromNSString(), respectively. 2018-05-03 22:38:21 -04:00
Pietro Gagliardi 4fe74fbd56 Started OS X name migration by moving uipriv_darwin.h out of the way. 2018-05-03 22:28:02 -04:00