log mac/dw.m @ 859:80a88c91ccf6

age author description
Fri, 01 Apr 2011 01:22:00 +0000 bsmith Implemented vertical centering on text fields.
Thu, 31 Mar 2011 23:34:12 +0000 bsmith Also align the header cells, not just the data ones.
Thu, 31 Mar 2011 21:10:25 +0000 bsmith Disable auto-sizing... I had enabled this during optimize because it produces some nice results....
Thu, 31 Mar 2011 20:58:22 +0000 bsmith Added method to do column optimizations like on other platforms. Figure out the maximum width for a column and sizing to that.
Thu, 31 Mar 2011 19:13:24 +0000 bsmith Removed an unnecessary method in the container (rowCount) and implemented container column alignment.
Thu, 31 Mar 2011 18:50:52 +0000 bsmith Fixed an error on the close event handler on the Mac.
Thu, 31 Mar 2011 18:10:41 +0000 bsmith Add safety check to avoid potential divide by zero.
Thu, 31 Mar 2011 18:05:42 +0000 bsmith Implemented dw_container_scroll() on Mac.
Thu, 31 Mar 2011 17:22:42 +0000 bsmith Added code to prevent configure events from being sent with the same size.
Thu, 31 Mar 2011 03:35:31 +0000 bsmith Changed the Render widget superclass from NSView to NSControl to allow it to function more like a normal control.
Tue, 29 Mar 2011 23:25:20 +0000 bsmith Implemented dw_scrollbox_get_range() and dw_scrollbox_get_pos() on the Mac.
Tue, 29 Mar 2011 17:36:57 +0000 bsmith Implemented the fix for the scrollbox problem on the Mac (that was discovered on Windows)
Tue, 29 Mar 2011 03:31:38 +0000 bsmith Minor scrollbox fixes...
Tue, 29 Mar 2011 01:25:45 +0000 bsmith Initial attempt at implementing the scrollbox on the Mac.
Sun, 27 Mar 2011 03:30:27 +0000 bsmith Minor fix for dw_container_column_set_width() on Mac.
Sun, 27 Mar 2011 02:42:45 +0000 bsmith Implemented Enter/Return triggering the item enter event.
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.