wine
21 years agoKeep on moving 16 bit code out of winmm, now only using linear
Eric Pouech [Mon, 21 Oct 2002 18:21:26 +0000 (18:21 +0000)] 
Keep on moving 16 bit code out of winmm, now only using linear
addresses for buffers.

21 years agoImplemented a few more macros for button manipulation
Eric Pouech [Mon, 21 Oct 2002 18:20:23 +0000 (18:20 +0000)] 
Implemented a few more macros for button manipulation
(enable/disable/changing macro).

21 years agoImproved a bit link handling (a few more link types loaded from file
Eric Pouech [Mon, 21 Oct 2002 18:20:05 +0000 (18:20 +0000)] 
Improved a bit link handling (a few more link types loaded from file
and support for link to a macro).

21 years agoActually use language identifier.
Dmitry Timoshkov [Mon, 21 Oct 2002 18:19:29 +0000 (18:19 +0000)] 
Actually use language identifier.

21 years agoCorrect the behavior for disabled toolbar buttons.
Duane Clark [Mon, 21 Oct 2002 18:19:02 +0000 (18:19 +0000)] 
Correct the behavior for disabled toolbar buttons.

21 years agoDo not create a range list for an empty range.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:26:17 +0000 (19:26 +0000)] 
Do not create a range list for an empty range.

21 years agoStore the entire format bitmap in the column info.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:25:41 +0000 (19:25 +0000)] 
Store the entire format bitmap in the column info.
Rewrite GetColumnT to take advantage of that.
Related cleanups, and simplifications.

21 years agoColumn zero has the image enabled always, irrespective of format.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:25:01 +0000 (19:25 +0000)] 
Column zero has the image enabled always, irrespective of format.

21 years agoUnify {Insert,Set}ColumnT as much as possible.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:24:24 +0000 (19:24 +0000)] 
Unify {Insert,Set}ColumnT as much as possible.
Fix a bunch of problems in SetColumnT.

21 years agoFix function header documentation.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:23:31 +0000 (19:23 +0000)] 
Fix function header documentation.

21 years agoBetter report mode.
Dimitrie O. Paun [Sat, 19 Oct 2002 19:20:35 +0000 (19:20 +0000)] 
Better report mode.
Use the new column information to simplify, and speed up the code.
Enable support for images in subitems (in LVS_REPORT mode).

21 years agoConvert MessageBox family functions to unicode.
Dmitry Timoshkov [Sat, 19 Oct 2002 19:18:19 +0000 (19:18 +0000)] 
Convert MessageBox family functions to unicode.

21 years agoPatch cruft removal.
Greg Turner [Sat, 19 Oct 2002 19:17:37 +0000 (19:17 +0000)] 
Patch cruft removal.

21 years agoSuper-crude implementation for NdrClientCall2.
Greg Turner [Sat, 19 Oct 2002 19:17:19 +0000 (19:17 +0000)] 
Super-crude implementation for NdrClientCall2.
Specs and headers for NdrClientInitializeNew,
NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and
NdrSendReceive.

21 years agoFix up RpcMgmtWaitServerListen to be less incorrect.
Greg Turner [Sat, 19 Oct 2002 19:14:45 +0000 (19:14 +0000)] 
Fix up RpcMgmtWaitServerListen to be less incorrect.

21 years agoSome MIDL constants and structures (should eventually move to rpcndr.h
Greg Turner [Sat, 19 Oct 2002 19:14:25 +0000 (19:14 +0000)] 
Some MIDL constants and structures (should eventually move to rpcndr.h
I think).
Stubs for NdrClientInitializeNew, NdrConformantStringMarshall,
NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet).

21 years agoGet/SetFastQueue16 should use HQUEUE16 handles.
Alexandre Julliard [Sat, 19 Oct 2002 17:20:44 +0000 (17:20 +0000)] 
Get/SetFastQueue16 should use HQUEUE16 handles.

21 years agoRemoved DECLARE_OLD_HANDLE. Fixed a few remaining warnings.
Alexandre Julliard [Sat, 19 Oct 2002 17:20:02 +0000 (17:20 +0000)] 
Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings.

21 years agodemangle_datatype: delete superflous free().
Uwe Bonnes [Sat, 19 Oct 2002 17:16:29 +0000 (17:16 +0000)] 
demangle_datatype: delete superflous free().

21 years agoAdd 3D support at the User driver level.
Lionel Ulmer [Sat, 19 Oct 2002 17:16:00 +0000 (17:16 +0000)] 
Add 3D support at the User driver level.

21 years agoFixed IWebBrowser::Navigate() parameter type.
Malte Starostik [Sat, 19 Oct 2002 17:15:39 +0000 (17:15 +0000)] 
Fixed IWebBrowser::Navigate() parameter type.
Added IWebBrowserApp and related typedefs.

21 years agoCorrected the alignment of unicode message table strings in wmc, and
Martin Fuchs [Sat, 19 Oct 2002 17:15:00 +0000 (17:15 +0000)] 
Corrected the alignment of unicode message table strings in wmc, and
switched to unicode for message strings, so that FormatMessage() now
works.

21 years agoConverted the server to -DSTRICT.
Alexandre Julliard [Sat, 19 Oct 2002 01:00:59 +0000 (01:00 +0000)] 
Converted the server to -DSTRICT.

21 years agoAdd documentation on how to modify what --debugmsg +relay reports.
Bill Medland [Sat, 19 Oct 2002 01:00:04 +0000 (01:00 +0000)] 
Add documentation on how to modify what --debugmsg +relay reports.

21 years agoWhen deleting an item, remove selection, don't add it!
Dimitrie O. Paun [Sat, 19 Oct 2002 00:59:34 +0000 (00:59 +0000)] 
When deleting an item, remove selection, don't add it!

21 years agoChanged the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s.
Alexandre Julliard [Sat, 19 Oct 2002 00:55:34 +0000 (00:55 +0000)] 
Changed the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s.

21 years agoSilence some warnings due to casts between pointer and integers of
Michael Stefaniuc [Sat, 19 Oct 2002 00:52:55 +0000 (00:52 +0000)] 
Silence some warnings due to casts between pointer and integers of
different size.

21 years agoFix warnings when converting between an ATOM and a HSZ.
Michael Stefaniuc [Sat, 19 Oct 2002 00:51:00 +0000 (00:51 +0000)] 
Fix warnings when converting between an ATOM and a HSZ.

21 years agoMore traces to help us make sense of the output.
Dimitrie O. Paun [Sat, 19 Oct 2002 00:21:02 +0000 (00:21 +0000)] 
More traces to help us make sense of the output.
Faster, cleaner ranges_{add,del}.

21 years agoFix ranges insertion bug (specify DPAS_SORTED when searching).
Dimitrie O. Paun [Sat, 19 Oct 2002 00:20:21 +0000 (00:20 +0000)] 
Fix ranges insertion bug (specify DPAS_SORTED when searching).
Add a lot of assert-ed consistency checks.
Add bunch of trace messages.

21 years agoInspect style bits independently on style change.
Dimitrie O. Paun [Sat, 19 Oct 2002 00:19:28 +0000 (00:19 +0000)] 
Inspect style bits independently on style change.

21 years agoRewrite StyleChanged procedure
Dimitrie O. Paun [Sat, 19 Oct 2002 00:18:48 +0000 (00:18 +0000)] 
Rewrite StyleChanged procedure
  o some bugs have been fixed
  o cleaner, simpler code
Fix some corner case, icon size computation bugs.
Assorted docs updates.

21 years agoKeep track of per-column information inside the listview.
Dimitrie O. Paun [Sat, 19 Oct 2002 00:18:11 +0000 (00:18 +0000)] 
Keep track of per-column information inside the listview.
Cache header rectangles.
Used the cached info instead of calling to the header each time.
Update the listview as we track column width changes.
Unify column handling between {Insert,Delete}Column, and width
changes.
Simplify RefreshReport, by using the new column info.

21 years agoDo not query items that are just being inserted.
Dimitrie O. Paun [Sat, 19 Oct 2002 00:17:24 +0000 (00:17 +0000)] 
Do not query items that are just being inserted.

21 years agoReorganize things a bit so that we no longer need the 'valid' flag on
Dimitrie O. Paun [Sat, 19 Oct 2002 00:16:37 +0000 (00:16 +0000)] 
Reorganize things a bit so that we no longer need the 'valid' flag on
each item.
Small comments update.

21 years agoAdded support for BTrees in file header reading.
Eric Pouech [Sat, 19 Oct 2002 00:12:42 +0000 (00:12 +0000)] 
Added support for BTrees in file header reading.
Fixed bogus palette length computation while reading bitmap.
Fixed rendering while starting a page with a bitmap.

21 years ago- Fixed loading of wave files.
Michael Günnewig [Sat, 19 Oct 2002 00:12:06 +0000 (00:12 +0000)] 
- Fixed loading of wave files.
- Corrected AVIFILEINFOW structure updates.
- Implemented saving of wave files.

21 years agoFixed very slow loading of index.
Michael Günnewig [Sat, 19 Oct 2002 00:11:32 +0000 (00:11 +0000)] 
Fixed very slow loading of index.

21 years agoFixed warnings caused by conversion to -DSTRICT.
Alexandre Julliard [Fri, 18 Oct 2002 23:48:57 +0000 (23:48 +0000)] 
Fixed warnings caused by conversion to -DSTRICT.

21 years agoAdded support for building certain dlls with -DSTRICT.
Alexandre Julliard [Fri, 18 Oct 2002 23:46:28 +0000 (23:46 +0000)] 
Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.

21 years agoAdded FIXMEs for metafile and fullhwnd handle conversions that aren't
Alexandre Julliard [Fri, 18 Oct 2002 23:35:24 +0000 (23:35 +0000)] 
Added FIXMEs for metafile and fullhwnd handle conversions that aren't
supported properly yet.

21 years agoMoved EnumObjects16, LineDDA16 and associated glue code to gdi16.c.
Alexandre Julliard [Fri, 18 Oct 2002 23:33:41 +0000 (23:33 +0000)] 
Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c.

21 years agoSplit out some 16-bit GDI code.
Alexandre Julliard [Fri, 18 Oct 2002 04:06:47 +0000 (04:06 +0000)] 
Split out some 16-bit GDI code.

21 years agoStore the original GDI palette functions in pfnSelectPalette and
Alexandre Julliard [Fri, 18 Oct 2002 04:05:49 +0000 (04:05 +0000)] 
Store the original GDI palette functions in pfnSelectPalette and
pfnRealizePalette so that USER doesn't have to import them.

21 years ago- (try to) implement RpcMgmtWaitServerListen
Greg Turner [Fri, 18 Oct 2002 03:56:56 +0000 (03:56 +0000)] 
- (try to) implement RpcMgmtWaitServerListen
- remove duplicate RpcServerListen declaration in rpcdce.h
- some TRACEs

21 years agoConverted PlayMetaFileRecord and related functions to 32-bit.
Alexandre Julliard [Fri, 18 Oct 2002 03:33:37 +0000 (03:33 +0000)] 
Converted PlayMetaFileRecord and related functions to 32-bit.

21 years agoMerged wine_call_to_16_long and wine_call_to_16_short into a single
Alexandre Julliard [Fri, 18 Oct 2002 00:29:32 +0000 (00:29 +0000)] 
Merged wine_call_to_16_long and wine_call_to_16_short into a single
function.

21 years agoAdded wine_memcpy_unaligned function to avoid gcc memcpy
Alexandre Julliard [Fri, 18 Oct 2002 00:27:38 +0000 (00:27 +0000)] 
Added wine_memcpy_unaligned function to avoid gcc memcpy
optimizations.

21 years ago- Add FIND_* constants.
Michael Günnewig [Fri, 18 Oct 2002 00:25:19 +0000 (00:25 +0000)] 
- Add FIND_* constants.
- Add AVISAVECALLBACK declaration.
- Add declaration for some AVI functions.
- Add some AVI macros.

21 years ago- Add wavefile handler.
Michael Günnewig [Fri, 18 Oct 2002 00:24:41 +0000 (00:24 +0000)] 
- Add wavefile handler.
- Add implementation for IGetFrame.
- Implemented loading and writing of AVIs.
- Add some more stubs for some API functions.
- Add resources to avifil32.dll.
- Implemented AVISaveOptionsFree.
- Declared IID_* as extern in avifil32.spec (avoids linker problem).

21 years agoFixed memory leak (release AVI stream).
Michael Günnewig [Fri, 18 Oct 2002 00:22:24 +0000 (00:22 +0000)] 
Fixed memory leak (release AVI stream).

21 years agoBuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive.
Stefan Leichter [Fri, 18 Oct 2002 00:21:39 +0000 (00:21 +0000)] 
BuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive.

21 years ago- Better .dsp file generation for .exe outputs
Patrik Stridvall [Fri, 18 Oct 2002 00:20:58 +0000 (00:20 +0000)] 
- Better .dsp file generation for .exe outputs
- Added generation of winetest.dsw for building wine tests under
  Windows (currently very kludgy, but it works to some extent).

21 years agoRemoved warning "SetWindowText(0, ...)" when opening new windows.
Martin Fuchs [Fri, 18 Oct 2002 00:20:25 +0000 (00:20 +0000)] 
Removed warning "SetWindowText(0, ...)" when opening new windows.

21 years agopszText is stored as Unicode, so call DrawTextW() instead of
Martin Fuchs [Fri, 18 Oct 2002 00:20:04 +0000 (00:20 +0000)] 
pszText is stored as Unicode, so call DrawTextW() instead of
DrawTextA().

21 years agoInstrument SetItemT to change only _one_ item at a time. That is, if
Dimitrie O. Paun [Thu, 17 Oct 2002 21:55:41 +0000 (21:55 +0000)] 
Instrument SetItemT to change only _one_ item at a time. That is, if
we have to change focus, we call it recursively to first remove the
focus from the item that has it. This allows simpler, and more correct
invalidation handling.

21 years agoUnify set_{owner,main}_item functions.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:54:57 +0000 (21:54 +0000)] 
Unify set_{owner,main}_item functions.
Fix {old,new}state and lParam reporting in LVN_ITEMCHANG{ING,ED}.
Fix sanity check conditions for LVS_OWNERDATA.

21 years agoMore, better tracing to help nail down some crashes.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:53:56 +0000 (21:53 +0000)] 
More, better tracing to help nail down some crashes.
Fix typo in GetItemT (found, and fixed by Huw Davies).
Exit right away from GetItemT if nothing is asked (mask == 0).
Assorted code cleanups.

21 years agoDeal with sparsely populated listviews.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:38:21 +0000 (21:38 +0000)] 
Deal with sparsely populated listviews.
Crash on internal corruption.

21 years agoAdd ability to create an iterator over a range list.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:37:24 +0000 (21:37 +0000)] 
Add ability to create an iterator over a range list.
Fix memory leak when destroying ranges.
Add function that will to a 'deep' clone of a range list.
Add function that will subtract a range list from another.
Do not crash on NULL ranges (similar in spirit to HDPAs).
Fancy deselection routines uses the above infrastructure to deselect
the minimum possible.
Modify SetGroupSelection to take advantage of all this new
infrastructure, to avoid flicker on selection extension.

21 years agoChange the definition of ranges to exclude the upper bound.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:36:29 +0000 (21:36 +0000)] 
Change the definition of ranges to exclude the upper bound.

21 years agoHandle range tracing in a consistent fashion.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:35:47 +0000 (21:35 +0000)] 
Handle range tracing in a consistent fashion.

21 years agoRemove dated comments.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:35:08 +0000 (21:35 +0000)] 
Remove dated comments.

21 years agoBetter encapsulation of the ranges concept.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:34:15 +0000 (21:34 +0000)] 
Better encapsulation of the ranges concept.

21 years agoUse the WOWHandle functions to convert between task handle and thread
Alexandre Julliard [Thu, 17 Oct 2002 18:26:53 +0000 (18:26 +0000)] 
Use the WOWHandle functions to convert between task handle and thread
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.

21 years agoBuild a default command-line if the one we received is an empty
Alexandre Julliard [Thu, 17 Oct 2002 18:24:36 +0000 (18:24 +0000)] 
Build a default command-line if the one we received is an empty
string.

21 years agoFixed typo in EnumThreadWindows.
Alexandre Julliard [Thu, 17 Oct 2002 18:21:29 +0000 (18:21 +0000)] 
Fixed typo in EnumThreadWindows.

21 years agoFixed compilation for non-i386.
Alexandre Julliard [Thu, 17 Oct 2002 16:45:24 +0000 (16:45 +0000)] 
Fixed compilation for non-i386.

21 years agoFixed wownt32.h to make it usable from inside Wine, and use it to
Alexandre Julliard [Thu, 17 Oct 2002 16:43:42 +0000 (16:43 +0000)] 
Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.

21 years agoRewrote caret implementation to store the information in the server.
Alexandre Julliard [Thu, 17 Oct 2002 01:24:33 +0000 (01:24 +0000)] 
Rewrote caret implementation to store the information in the server.

21 years agoAdded progress messages while building font metrics.
Malte Starostik [Thu, 17 Oct 2002 01:22:56 +0000 (01:22 +0000)] 
Added progress messages while building font metrics.

21 years ago- Dont set lighting during draw primitive, rely on the render state.
Jason Edmeades [Thu, 17 Oct 2002 01:21:43 +0000 (01:21 +0000)] 
- Dont set lighting during draw primitive, rely on the render state.
- Small fix for alpha testing.
- Add support to enable/disable clipping as a whole.
- Allow D3DRS_TEXTUREFACTOR to be changed once texture stage arg set
  up.
- D3DTOP_DISABLE initial implementation.

21 years agoImplement OpenGL overriding of surface's flip method.
Christian Costa [Thu, 17 Oct 2002 01:20:52 +0000 (01:20 +0000)] 
Implement OpenGL overriding of surface's flip method.
Remove broken code.

21 years agoNotification code cleanup, more traces, etc.
Dimitrie O. Paun [Thu, 17 Oct 2002 01:20:18 +0000 (01:20 +0000)] 
Notification code cleanup, more traces, etc.

21 years agoAdd/update the listview structures to version 6.0.
Dimitrie O. Paun [Thu, 17 Oct 2002 01:19:45 +0000 (01:19 +0000)] 
Add/update the listview structures to version 6.0.

21 years agoInitialize winearts's volume level to full, so applications that don't
Malte Starostik [Thu, 17 Oct 2002 01:19:22 +0000 (01:19 +0000)] 
Initialize winearts's volume level to full, so applications that don't
set the volume are audible.

21 years agoAdded missing RemoveProp calls.
Jerry Jenkins [Thu, 17 Oct 2002 01:18:52 +0000 (01:18 +0000)] 
Added missing RemoveProp calls.

21 years agoCorrect initial display of file listing.
Martin Fuchs [Thu, 17 Oct 2002 01:18:20 +0000 (01:18 +0000)] 
Correct initial display of file listing.

21 years agoWe need to provide focus info always in ICON mode (spotted by Huw
Dimitrie O. Paun [Wed, 16 Oct 2002 19:57:31 +0000 (19:57 +0000)] 
We need to provide focus info always in ICON mode (spotted by Huw
Davies).

21 years agoDuplicate selected items list in LISTVIEW_RemoveAllSelections to
Mike McCormack [Wed, 16 Oct 2002 19:56:06 +0000 (19:56 +0000)] 
Duplicate selected items list in LISTVIEW_RemoveAllSelections to
prevent infinite loops.

21 years agoRemember the global colors in custom draw mode.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:05:43 +0000 (19:05 +0000)] 
Remember the global colors in custom draw mode.

21 years agoCompute only the old state that we're gonna look at.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:05:02 +0000 (19:05 +0000)] 
Compute only the old state that we're gonna look at.

21 years agoInstrument SetItemT to avoid repainting if nothing changed.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:04:07 +0000 (19:04 +0000)] 
Instrument SetItemT to avoid repainting if nothing changed.
Teach RemoveAllSelections to skip an item, so we can eliminate the
flicker when we click on a selected item.

21 years agoFix bug in edit label when sending the text to the app.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:03:25 +0000 (19:03 +0000)] 
Fix bug in edit label when sending the text to the app.
Cleanup the handling of nEditLabelItem.

21 years agoEdit label cleanup.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:02:32 +0000 (19:02 +0000)] 
Edit label cleanup.

21 years agoFix bug in ranges_shift which was corrupting selections.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:01:38 +0000 (19:01 +0000)] 
Fix bug in ranges_shift which was corrupting selections.
Fix click notification (found and fixed by Alexandre Julliard).
Fix bug in setting item's state (some selection changes were lost).
Simplify selection code substantially.
Add a lot of debug tracing.

21 years agoAdd a section on using ODBC.
Bill Medland [Wed, 16 Oct 2002 19:00:10 +0000 (19:00 +0000)] 
Add a section on using ODBC.

21 years agoImplemented _seh_longjmp_unwind.
Alexandre Julliard [Wed, 16 Oct 2002 18:59:38 +0000 (18:59 +0000)] 
Implemented _seh_longjmp_unwind.

21 years agoFix the ofn flags setup.
Huw D M Davies [Wed, 16 Oct 2002 18:58:21 +0000 (18:58 +0000)] 
Fix the ofn flags setup.

21 years agoAssociate texture to the device when GetHandle is called and perform
Christian Costa [Wed, 16 Oct 2002 18:57:52 +0000 (18:57 +0000)] 
Associate texture to the device when GetHandle is called and perform
the appropriate AddRef/Release.
Fix 3_3_2 pixel format.
Move some ENTER_GL() calls to the right place.
Fix some FIXME/TRACE calls.

21 years agoAdd comment on what is known about the current state of the controls
Dimitrie O. Paun [Wed, 16 Oct 2002 18:57:14 +0000 (18:57 +0000)] 
Add comment on what is known about the current state of the controls
relative to comctl32.dll version 6.0.

21 years agoUse the msvc way to return a struct, fixing wierd problems.
Greg Turner [Wed, 16 Oct 2002 18:51:11 +0000 (18:51 +0000)] 
Use the msvc way to return a struct, fixing wierd problems.

21 years agoImplemented program launching by double click.
Martin Fuchs [Wed, 16 Oct 2002 18:50:38 +0000 (18:50 +0000)] 
Implemented program launching by double click.

21 years agoFix iterator creation for LVS_LIST mode.
Dimitrie O. Paun [Tue, 15 Oct 2002 21:08:09 +0000 (21:08 +0000)] 
Fix iterator creation for LVS_LIST mode.
Do not update the infoPtr->nItemWidth in set_main_item.
Better handling of text bk colour in custom draw.
Rename GetItemListOrigin to GetItemOrigin.
A bunch of code cleanups, simplifications, etc.

21 years agoNo longer compute the ill-defined bounds in GetItemMetrics.
Dimitrie O. Paun [Tue, 15 Oct 2002 21:07:01 +0000 (21:07 +0000)] 
No longer compute the ill-defined bounds in GetItemMetrics.
Fix a bunch of bug in subitem metrics computation.
Properly implement GetSubItemRect in terms of GetItemMetrics.
Documentation updates, and code cleanups.

21 years agoTeach GetItemMetrics to deal with subitems in report mode as well.
Dimitrie O. Paun [Tue, 15 Oct 2002 21:06:14 +0000 (21:06 +0000)] 
Teach GetItemMetrics to deal with subitems in report mode as well.
Unify Draw{,Sub}Item, simplify RefreshReport.

21 years agoFix iterator creation for LVS_LIST mode.
Dimitrie O. Paun [Tue, 15 Oct 2002 21:05:29 +0000 (21:05 +0000)] 
Fix iterator creation for LVS_LIST mode.
Use assert() instead of hand-made hack.

21 years agoFix iterators to properly deal with LVS_{,SMALL}ICON modes.
Dimitrie O. Paun [Tue, 15 Oct 2002 21:03:10 +0000 (21:03 +0000)] 
Fix iterators to properly deal with LVS_{,SMALL}ICON modes.
Unify the Refresh{List,Icon} functions.
Simplify HitTest to make full use of the iterators.
Fix selection bounds in HitTest.
Avoid empty default to silence warning in gcc 3.2.

21 years agoIterator updates:
Dimitrie O. Paun [Tue, 15 Oct 2002 21:01:57 +0000 (21:01 +0000)] 
Iterator updates:
   Add the notion of a special item which sits at the start of the
   list.
   Add the ability to iterate in both directions through the list.
   Document the iterator interface.
   Remove iterator_visibleitems.
   Rename iterator_clippeditems to iterator_visibleitems for
   consistency.
Use the new bidirectionality to paint the items in decreasing order.

21 years agoCompile fix when all handles are converted to a void*.
Michael Stefaniuc [Tue, 15 Oct 2002 21:00:05 +0000 (21:00 +0000)] 
Compile fix when all handles are converted to a void*.