log mac/dw.m @ 916:44a0f9a2e8f9

age author description
Fri, 22 Apr 2011 03:59:29 +0000 bsmith Experimental change, pulling the resize event handling out of the resizer code on Mac.
Fri, 22 Apr 2011 01:13:38 +0000 bsmith Test fix at the partial bitblt issue on Mac.
Thu, 21 Apr 2011 06:37:16 +0000 bsmith Pick a better colorspace for new pixmaps.
Thu, 21 Apr 2011 00:51:18 +0000 bsmith Switched to using a different potentially slower NSImage conversion to support Leopard.
Wed, 20 Apr 2011 14:09:00 +0000 bsmith Experimental change to pixmap rendering. Switch from using NSImage to NSBitmapImageRef to store the image.
Tue, 19 Apr 2011 03:52:24 +0000 bsmith Temporary workaround to a maximize resize issue.
Mon, 18 Apr 2011 11:03:58 +0000 bsmith Don't pass in a partial UTF8 string in the character field during key press events.
Mon, 18 Apr 2011 08:56:33 +0000 bsmith One more try at window key handling... since I can't seem to trap keyDown events in most places that get focus...
Mon, 18 Apr 2011 00:19:32 +0000 bsmith Accidentally added a line that wasn't needed.
Mon, 18 Apr 2011 00:13:17 +0000 bsmith Added a DWWindow subclass to trap key events on the main window for Mac.
Sun, 17 Apr 2011 02:45:20 +0000 bsmith Fix for dw_draw_text() not using the background color on the Mac.
Thu, 07 Apr 2011 19:31:32 +0000 bsmith Removed dw_pixmap_set_transparent_color() from unimplemented on the Mac since it is handled automaticaly.
Thu, 07 Apr 2011 19:17:52 +0000 bsmith Implemented dw_mle_search on Mac.
Thu, 07 Apr 2011 18:44:07 +0000 bsmith Implemented dw_entryfield_set_limit() on the Mac using a custom formatter class.
Thu, 07 Apr 2011 18:20:04 +0000 bsmith Implemented the motion notify event on Mac. Most of it was there except the event handler.
Thu, 07 Apr 2011 03:34:42 +0000 bsmith Experimental change to use a single column for holding the filename and icon on Mac.
Wed, 06 Apr 2011 22:51:30 +0000 bsmith Implemented dw_tree_get_parent() for the Mac.
Tue, 05 Apr 2011 00:35:31 +0000 bsmith Dynamically set the video memory backing location, only if there is a render control.
Mon, 04 Apr 2011 22:40:42 +0000 bsmith Another test fix at reported crash in dw_window_default().
Sun, 03 Apr 2011 19:29:59 +0000 bsmith Guess I wanted to trap didClickTableColumn instead of mouseDownInHeaderOfTableColumn to avoid spurious events.
Sun, 03 Apr 2011 19:09:48 +0000 bsmith Added code to check the image size inside the cell during optimize.
Sun, 03 Apr 2011 17:24:23 +0000 bsmith Added some sanity checks for a couple of problem functions and default optimized container column width to 16 for image columns.
Fri, 01 Apr 2011 01:37:05 +0000 bsmith Formatting cleanups.
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.