log mac/dw.m @ 828:14c9f4a8839e

age author description
Sun, 27 Mar 2011 00:07:07 +0000 bsmith Attempt to get dw_font_text_extents_get() on controls besides the render control.
Sat, 26 Mar 2011 20:59:54 +0000 bsmith Fixed leak in dw_draw_text() not releasing the dictionary which was also pulling the NSColor along.
Sat, 26 Mar 2011 20:51:40 +0000 bsmith Implemented thread specific colors. Allows threads to have their own colors... also reducing color object recreation.
Sat, 26 Mar 2011 14:36:51 +0000 bsmith Implemented DW_DIRECTORY_OPEN on the Mac.
Sat, 26 Mar 2011 13:00:47 +0000 bsmith Fix for dw_container_set_row_title() misbehavior on Mac and implemented dw_container_change_row_title().
Fri, 25 Mar 2011 21:23:43 +0000 bsmith Fix for column click handler not working.
Fri, 25 Mar 2011 13:25:37 +0000 bsmith dw_window_set_color() now affects boxes immediately (no longer on the next window refresh).
Fri, 25 Mar 2011 13:11:28 +0000 bsmith Changes for dw_window_set_color() so it works on pretty much any control we support.
Thu, 24 Mar 2011 21:05:25 +0000 bsmith Added coloring support for the Container/Tree/Listbox controls.
Thu, 24 Mar 2011 15:51:09 +0000 bsmith MinorBuild was being left uninitialized.
Thu, 24 Mar 2011 15:46:51 +0000 bsmith Similar fix for dw_window_get_text().
Thu, 24 Mar 2011 15:42:50 +0000 bsmith Fix for dw_window_set_text() on buttons not working.
Thu, 24 Mar 2011 06:35:41 +0000 bsmith More accurate groupbox paddig calculations. Title rectangle is now calculated on the fly.
Thu, 24 Mar 2011 02:07:12 +0000 bsmith Added flag to set window's prefered backing location to be video memory to see if it helps bitblt performance.
Wed, 23 Mar 2011 20:59:38 +0000 bsmith Fix for dw_combobox_new() not setting the default text in the entryfield.
Wed, 23 Mar 2011 20:45:34 +0000 bsmith Attempt at implementing column click events. Doesn't seem to work yet but needed to commit before switching to laptop.
Wed, 23 Mar 2011 20:05:11 +0000 bsmith Initial implementation of dw_mle_set_visible().
Wed, 23 Mar 2011 19:50:03 +0000 bsmith Think we need to ignore the last add point when the pointer argument is NULL.
Wed, 23 Mar 2011 19:43:04 +0000 bsmith dw_window_enable() and dw_window_disable() now function as expected on MLE controls.
Wed, 23 Mar 2011 19:18:37 +0000 bsmith So after looking at the Windows code... I realized it worked differently than I was thinking...
Wed, 23 Mar 2011 17:49:25 +0000 bsmith Ok... groupbox calculation fix try #2!
Wed, 23 Mar 2011 09:41:03 +0000 bsmith Err really screwed up the last commit... this should work better.
Wed, 23 Mar 2011 09:16:56 +0000 bsmith Initial groupbox padding calculation fix. This may still need more work... very simple version.
Wed, 23 Mar 2011 04:40:32 +0000 bsmith Make listbox, container and tree cells uneditable.
Wed, 23 Mar 2011 04:23:31 +0000 bsmith Test fix for containers (and probably listboxes) not showing their content changes immediately.
Tue, 22 Mar 2011 22:01:05 +0000 bsmith Basic code to handle unchecking other radio buttons attached to the same box when one is selected.
Tue, 22 Mar 2011 21:03:35 +0000 bsmith Initial groupbox support. Sizing of the content frame is not quite right yet.
Fri, 18 Mar 2011 04:48:22 +0000 bsmith Fixed a typo in VK_RETURN and initial implementation of dw_window_click_default().
Fri, 18 Mar 2011 03:38:24 +0000 mhessling Don't fill a rectangle unless requested to
Fri, 18 Mar 2011 03:17:28 +0000 bsmith Enable recalculating the key view loop (keyboard focus list) automatically.
Fri, 18 Mar 2011 00:25:46 +0000 bsmith Added DW_BS_NOBORDER style which can be set on buttons with dw_window_set_style() to make them flat.
Thu, 17 Mar 2011 23:58:33 +0000 mhessling Fix for crashes with generating images from data
Thu, 17 Mar 2011 23:21:19 +0000 bsmith Possible fix for exception in dw_bitmapbutton_new_from_data()
Thu, 17 Mar 2011 14:58:59 +0000 bsmith Fix for crash when changing background colors, needed retain and release.
Thu, 17 Mar 2011 06:13:57 +0000 bsmith Clang complains about the types I used for the OS version.
Thu, 17 Mar 2011 05:08:56 +0000 bsmith Preset the splitbar percent to 50% since Leopard doesn't set it automatically.
Thu, 17 Mar 2011 04:48:06 +0000 bsmith Converted tabs to spaces.
Thu, 17 Mar 2011 03:31:01 +0000 bsmith Runtime Snow Leopard checks where possible and visual fix for Leopard status text.
Wed, 16 Mar 2011 15:35:45 +0000 bsmith Code cleanup.
Wed, 16 Mar 2011 15:31:01 +0000 bsmith Added tooltips to bitmap buttons... and made a change to the look when the image is present...
Wed, 16 Mar 2011 15:10:16 +0000 bsmith Abort drawing functions if we fail to lock focus on a render control.
Wed, 16 Mar 2011 07:39:28 +0000 bsmith Fixes for font handling on pixmaps... it needs to use the associated render control to get the fonts.
Wed, 16 Mar 2011 03:24:12 +0000 bsmith Added an internal Mac function for setting the default Dynamic Windows font.
Wed, 16 Mar 2011 02:56:18 +0000 bsmith Possible fix for container (and possibly tree) controls picking up combobox events.
Wed, 16 Mar 2011 02:30:32 +0000 bsmith Reverting part of that last change... changing the default font causes some issues.
Wed, 16 Mar 2011 02:22:14 +0000 bsmith Working on fonts some more.... setting a default label font that is smaller.
Wed, 16 Mar 2011 01:34:36 +0000 bsmith Font and color improvements... including implementing dw_window_set_font().
Tue, 15 Mar 2011 22:32:45 +0000 bsmith Use NSWorkplace to launch GUI applications instead of fork() and exec().
Tue, 15 Mar 2011 20:06:00 +0000 bsmith Slight change to the window initial size fix... still don't like this solution.
Tue, 15 Mar 2011 19:48:20 +0000 bsmith Added retains to the window menus so they don't get autoreleased when switching between
Tue, 15 Mar 2011 19:20:30 +0000 bsmith Possible fix for initial window creation with 0 size... not sure if the size I picked is good or not...
Tue, 15 Mar 2011 06:40:37 +0000 bsmith Fixed a minor 64/32 bit issue and fixed my having blue and red values reversed in the color table.
Tue, 15 Mar 2011 06:07:08 +0000 bsmith Fixed the crashing issue with dw_color_choose() it now functions properly.
Tue, 15 Mar 2011 03:12:19 +0000 bsmith Fixes for the color chooser... it now works a single time. However...
Tue, 15 Mar 2011 01:46:41 +0000 mhessling Add dw_window_get_font()
Tue, 15 Mar 2011 01:13:29 +0000 bsmith Calendar control should return years with 4 digits not 2.
Tue, 15 Mar 2011 00:45:27 +0000 bsmith Switched to graphical calendar control style... and fixed date querying code.
Mon, 14 Mar 2011 22:25:01 +0000 bsmith Changes to correctly set the main thread and lock the run mutex when not running a loop and when called from a callback.
Mon, 14 Mar 2011 21:43:28 +0000 bsmith Fixed 2 errors in the tree select event handler. Also removed unused experimental code.
Mon, 14 Mar 2011 19:30:36 +0000 bsmith Possible fix for container string columns not showing correctly.
Mon, 14 Mar 2011 18:26:50 +0000 bsmith Experimental changes to dw_main_sleep() and dw_main_iteration() to hopefully solve some issues.
Mon, 14 Mar 2011 02:08:36 +0000 bsmith Couple more fixes to keyhandling... committed before I finished what I was doing...
Mon, 14 Mar 2011 01:57:33 +0000 bsmith Initial key press event/signal handling... does not seem to trap on all controls...
Sun, 13 Mar 2011 23:06:09 +0000 bsmith Implemented tree expand event.
Sun, 13 Mar 2011 16:50:40 +0000 bsmith Fixes for dw_container/filessystem_get_column_type from Mark Hessling... adding him to the copyright section.
Sun, 13 Mar 2011 08:32:36 +0000 bsmith Some fixes for out of range parameters passed to dw_listbox_g/set_text().
Sun, 13 Mar 2011 07:40:53 +0000 bsmith Updated the #if for Snow Leopard/Leopard builds to handle them not being defined properly.
Sun, 13 Mar 2011 05:47:02 +0000 bsmith More 10.5 fixes... some selectors cause exceptions.
Sun, 13 Mar 2011 05:38:59 +0000 bsmith Fixes for building for MacOS 10.5 and PPC
Sat, 12 Mar 2011 16:46:22 +0000 bsmith dw_browse() reimplmented so it actually works as expected.
Sat, 12 Mar 2011 15:44:51 +0000 bsmith Fixed the percent/progress indicators from always being indeterminate.
Sat, 12 Mar 2011 14:56:44 +0000 bsmith Don't send tree events with no selected item. Also don't strdup a NULL string.
Sat, 12 Mar 2011 14:42:56 +0000 bsmith Fixed the scrollbar maximum range to be correct. Also added some MLE code.
Sat, 12 Mar 2011 06:19:35 +0000 bsmith Fix for popup menus not being created when window handle passed is a toplevel window.
Sat, 12 Mar 2011 06:03:32 +0000 bsmith Finishing up tree event/signal handlers.
Sat, 12 Mar 2011 04:12:14 +0000 bsmith Fixes for tree event handling. Still more to come shortly...
Sat, 12 Mar 2011 02:54:04 +0000 bsmith Fixes for container event handling. Also made container/listbox cells non-editable.
Sat, 12 Mar 2011 01:50:20 +0000 bsmith Added support for scrollbar line and page scrolling. Need to check the calculations...
Fri, 11 Mar 2011 21:53:01 +0000 bsmith Scrollbar event fixes... scale was wrong... not sure it is correct but it is better.
Fri, 11 Mar 2011 20:30:59 +0000 bsmith Spinbuttons now respond to value changed. Fix for typing in spinbutton a value out of the range.
Fri, 11 Mar 2011 19:59:29 +0000 bsmith Fixes to the slider control so events happen.
Fri, 11 Mar 2011 17:20:49 +0000 bsmith Implemented more of the missing event/signal handlers and other code cleanups.
Fri, 11 Mar 2011 05:56:17 +0000 bsmith dw_menu_popup() now uses the coordinates specified instead of the event coorindates.
Fri, 11 Mar 2011 05:23:17 +0000 bsmith Fix for button press and context menus.
Fri, 11 Mar 2011 03:02:58 +0000 bsmith Some cleanups for the run loop iteration and thread system.
Fri, 11 Mar 2011 02:33:19 +0000 bsmith Offload some drawing functions to the main thread to prevent focus deadlocks.
Fri, 11 Mar 2011 01:49:09 +0000 bsmith Fix for pool being removed and not just drained.
Thu, 10 Mar 2011 23:28:10 +0000 bsmith Added draining mechanism for threads that don't have run loops.
Thu, 10 Mar 2011 19:49:57 +0000 bsmith Removed unused Preferences menu item from the application menu.
Thu, 10 Mar 2011 19:36:47 +0000 bsmith Minor updates to the last commit.
Thu, 10 Mar 2011 18:58:05 +0000 bsmith Reimplementation of dw_main_iteration and dw_main_sleep that actually work.
Thu, 10 Mar 2011 18:30:03 +0000 bsmith Experimental change for locking on the main thread... will be committing
Thu, 10 Mar 2011 02:34:14 +0000 bsmith Added "retain"s to the DWTree/DWContainer/DWListBox classes memory allocation
Tue, 08 Mar 2011 01:30:04 +0000 bsmith Added initial thread synchronization code to stop the main loop when doing thread unsafe things.
Tue, 08 Mar 2011 00:08:25 +0000 bsmith Fixes to the color picker... it actually shows the picker now but it still needs more work.
Mon, 07 Mar 2011 23:15:55 +0000 bsmith Fixed errors creating scrollbars.
Mon, 07 Mar 2011 22:09:49 +0000 bsmith Fixes for timers not working properly. Includes commented out test container code for threadsafety.
Thu, 03 Mar 2011 14:49:30 +0000 bsmith Implemented dw_listbox_insert for containers.
Thu, 03 Mar 2011 14:23:00 +0000 bsmith Implemented dw_window_reparent using the method used for MDI simulation.
Thu, 03 Mar 2011 13:48:07 +0000 bsmith Cleanups for conflicts with "id" which is a keyword in Objective-C.
Thu, 03 Mar 2011 13:17:50 +0000 bsmith Added MDI simulation code... the MDI "window" will just be a box for
Wed, 02 Mar 2011 18:03:34 +0000 bsmith Fixed a minor issue causing crashes when right clicking on an empty container.
Wed, 02 Mar 2011 17:29:33 +0000 bsmith Fixes for tree packing and a data source issue. Implemented most of the missing tree functions.
Wed, 02 Mar 2011 13:43:04 +0000 bsmith Fix for dw_window_set/get_data() on a top-level window.
Wed, 02 Mar 2011 05:53:27 +0000 bsmith Initial tree support, lots more to do but basics are there.
Wed, 02 Mar 2011 02:29:33 +0000 bsmith Implemented a rather hacky fix for the spinbutton issues. The stepper control is really poorly
Tue, 01 Mar 2011 14:56:48 +0000 bsmith Basic spinbutton implementation, something isn't quite working right but
Tue, 01 Mar 2011 13:32:40 +0000 bsmith Fixes for dw_splitbar_set() not working on an unsized window.
Tue, 01 Mar 2011 04:37:11 +0000 bsmith MLE was missing the scrollbar. Fixes for getting and setting the position.
Mon, 28 Feb 2011 08:27:53 +0000 bsmith Filled in most of the remaining MLE and container functions... the remaining few
Mon, 28 Feb 2011 03:09:50 +0000 bsmith Fixes or fonts and loading images from files. Added Mac specific settings to dwtest.
Sun, 27 Feb 2011 21:00:02 +0000 bsmith Some minor font fixes.
Sun, 27 Feb 2011 19:25:21 +0000 bsmith Missed one function to typedef. Fixed errors in the test program and switched to using
Sun, 27 Feb 2011 19:01:40 +0000 bsmith Implemented icon support on the Mac. In the process created a new HICN type.
Sun, 27 Feb 2011 08:18:20 +0000 bsmith Implemented bitmap buttons and pixmaps from bundle resources.
Sun, 27 Feb 2011 06:00:49 +0000 bsmith Implemented most of the listbox functions for the actual listbox control...
Sun, 27 Feb 2011 00:10:48 +0000 bsmith Fixes for splitbars (horizontal and vertical definitions are reversed).
Sat, 26 Feb 2011 20:40:54 +0000 bsmith Fix for a rather serious notebook layout bug.
Sat, 26 Feb 2011 16:07:04 +0000 bsmith Changes to make the resize function more like on the other platforms.
Sat, 26 Feb 2011 03:17:12 +0000 bsmith Fixing warnings with Xcode 4 and switched to manual releasing in the draw functions to stop leaking.