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.
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.
Dimitrie O. Paun [Sat, 19 Oct 2002 00:17:24 +0000 (00:17 +0000)]
Do not query items that are just being inserted.
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.
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.
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.
Michael Günnewig [Sat, 19 Oct 2002 00:11:32 +0000 (00:11 +0000)]
Fixed very slow loading of index.
Alexandre Julliard [Fri, 18 Oct 2002 23:48:57 +0000 (23:48 +0000)]
Fixed warnings caused by conversion to -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.
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.
Alexandre Julliard [Fri, 18 Oct 2002 23:33:41 +0000 (23:33 +0000)]
Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c.
Alexandre Julliard [Fri, 18 Oct 2002 04:06:47 +0000 (04:06 +0000)]
Split out some 16-bit GDI code.
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.
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
Alexandre Julliard [Fri, 18 Oct 2002 03:33:37 +0000 (03:33 +0000)]
Converted PlayMetaFileRecord and related functions to 32-bit.
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.
Alexandre Julliard [Fri, 18 Oct 2002 00:27:38 +0000 (00:27 +0000)]
Added wine_memcpy_unaligned function to avoid gcc memcpy
optimizations.
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.
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).
Michael Günnewig [Fri, 18 Oct 2002 00:22:24 +0000 (00:22 +0000)]
Fixed memory leak (release AVI stream).
Stefan Leichter [Fri, 18 Oct 2002 00:21:39 +0000 (00:21 +0000)]
BuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive.
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).
Martin Fuchs [Fri, 18 Oct 2002 00:20:25 +0000 (00:20 +0000)]
Removed warning "SetWindowText(0, ...)" when opening new windows.
Martin Fuchs [Fri, 18 Oct 2002 00:20:04 +0000 (00:20 +0000)]
pszText is stored as Unicode, so call DrawTextW() instead of
DrawTextA().
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.
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.
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.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:38:21 +0000 (21:38 +0000)]
Deal with sparsely populated listviews.
Crash on internal corruption.
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.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:36:29 +0000 (21:36 +0000)]
Change the definition of ranges to exclude the upper bound.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:35:47 +0000 (21:35 +0000)]
Handle range tracing in a consistent fashion.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:35:08 +0000 (21:35 +0000)]
Remove dated comments.
Dimitrie O. Paun [Thu, 17 Oct 2002 21:34:15 +0000 (21:34 +0000)]
Better encapsulation of the ranges concept.
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.
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.
Alexandre Julliard [Thu, 17 Oct 2002 18:21:29 +0000 (18:21 +0000)]
Fixed typo in EnumThreadWindows.
Alexandre Julliard [Thu, 17 Oct 2002 16:45:24 +0000 (16:45 +0000)]
Fixed compilation for non-i386.
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.
Alexandre Julliard [Thu, 17 Oct 2002 01:24:33 +0000 (01:24 +0000)]
Rewrote caret implementation to store the information in the server.
Malte Starostik [Thu, 17 Oct 2002 01:22:56 +0000 (01:22 +0000)]
Added progress messages while building font metrics.
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.
Christian Costa [Thu, 17 Oct 2002 01:20:52 +0000 (01:20 +0000)]
Implement OpenGL overriding of surface's flip method.
Remove broken code.
Dimitrie O. Paun [Thu, 17 Oct 2002 01:20:18 +0000 (01:20 +0000)]
Notification code cleanup, more traces, etc.
Dimitrie O. Paun [Thu, 17 Oct 2002 01:19:45 +0000 (01:19 +0000)]
Add/update the listview structures to version 6.0.
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.
Jerry Jenkins [Thu, 17 Oct 2002 01:18:52 +0000 (01:18 +0000)]
Added missing RemoveProp calls.
Martin Fuchs [Thu, 17 Oct 2002 01:18:20 +0000 (01:18 +0000)]
Correct initial display of file listing.
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).
Mike McCormack [Wed, 16 Oct 2002 19:56:06 +0000 (19:56 +0000)]
Duplicate selected items list in LISTVIEW_RemoveAllSelections to
prevent infinite loops.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:05:43 +0000 (19:05 +0000)]
Remember the global colors in custom draw mode.
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.
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.
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.
Dimitrie O. Paun [Wed, 16 Oct 2002 19:02:32 +0000 (19:02 +0000)]
Edit label cleanup.
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.
Bill Medland [Wed, 16 Oct 2002 19:00:10 +0000 (19:00 +0000)]
Add a section on using ODBC.
Alexandre Julliard [Wed, 16 Oct 2002 18:59:38 +0000 (18:59 +0000)]
Implemented _seh_longjmp_unwind.
Huw D M Davies [Wed, 16 Oct 2002 18:58:21 +0000 (18:58 +0000)]
Fix the ofn flags setup.
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.
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.
Greg Turner [Wed, 16 Oct 2002 18:51:11 +0000 (18:51 +0000)]
Use the msvc way to return a struct, fixing wierd problems.
Martin Fuchs [Wed, 16 Oct 2002 18:50:38 +0000 (18:50 +0000)]
Implemented program launching by double click.
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.
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.
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.
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.
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.
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.
Michael Stefaniuc [Tue, 15 Oct 2002 21:00:05 +0000 (21:00 +0000)]
Compile fix when all handles are converted to a void*.
Alexandre Julliard [Tue, 15 Oct 2002 02:25:19 +0000 (02:25 +0000)]
Fixed reference count handling to support LoadLibrary during a process
attach.
Martin Fuchs [Tue, 15 Oct 2002 02:21:08 +0000 (02:21 +0000)]
- Fixed building unter native WIN32.
- Fixed display of filenames in tree pane.
György 'Nog' Jeney [Tue, 15 Oct 2002 02:20:07 +0000 (02:20 +0000)]
Implement [ format specifier.
Gerald Pfeifer [Tue, 15 Oct 2002 02:19:06 +0000 (02:19 +0000)]
Silence warning in hex_from0().
David Hammerton [Tue, 15 Oct 2002 02:18:24 +0000 (02:18 +0000)]
Get descriptor should return correct segment limit.
Steve Lustbader [Tue, 15 Oct 2002 02:17:55 +0000 (02:17 +0000)]
Fix off-by-one error in determining number of arguments.
Patrik Stridvall [Tue, 15 Oct 2002 02:15:35 +0000 (02:15 +0000)]
- Fixed broken winapi_extract options --{pseudo-,}stub-statistics.
- Added new winapi_extract options --{pseudo-,}implemented.
Dimitrie O. Paun [Tue, 15 Oct 2002 02:15:09 +0000 (02:15 +0000)]
Do not merge image with garbage background. Based on a patch by Carlos
<clozano@andago.com>.
Christian Neumair [Tue, 15 Oct 2002 02:14:30 +0000 (02:14 +0000)]
Stub for the CryptRegisterOIDFunction function.
Patrik Stridvall [Tue, 15 Oct 2002 01:53:45 +0000 (01:53 +0000)]
Updated the generated tests.
Patrik Stridvall [Tue, 15 Oct 2002 01:24:03 +0000 (01:24 +0000)]
Don't use a special header file for macros used in generated tests.
Have a copy in each generated file instead.
Michael Günnewig [Tue, 15 Oct 2002 01:20:51 +0000 (01:20 +0000)]
Fixed division by zero, when range is 0.
Vincent Béron [Tue, 15 Oct 2002 01:19:46 +0000 (01:19 +0000)]
Actually compile Wine even if not installing as root.
Roderick Colenbrander [Sun, 13 Oct 2002 17:56:34 +0000 (17:56 +0000)]
Set DirectX version to 8.1.
Uwe Bonnes [Sun, 13 Oct 2002 17:54:48 +0000 (17:54 +0000)]
Add function to get size of in-memory resource and used this function
to copy resource to writable memory.
Vincent Béron [Sun, 13 Oct 2002 17:53:47 +0000 (17:53 +0000)]
Allow wineinstall to be run from tools/ or from the main Wine
directory.
Jason Edmeades [Sun, 13 Oct 2002 17:53:15 +0000 (17:53 +0000)]
- ClipPlanes work better.
- Culling now configures itself properly.
Carlos [Sun, 13 Oct 2002 17:52:32 +0000 (17:52 +0000)]
Avoid crashes when ofnW->lpstrFile is null.
Alexandre Julliard [Sat, 12 Oct 2002 01:25:15 +0000 (01:25 +0000)]
Remove no longer used PERQUEUEDATA structure and functions.
Alexandre Julliard [Sat, 12 Oct 2002 01:24:37 +0000 (01:24 +0000)]
Moved mouse capture handling into the server.
Alexandre Julliard [Sat, 12 Oct 2002 01:23:05 +0000 (01:23 +0000)]
Reimplemented GetLastActivePopup to get the information from the
server.
Alexandre Julliard [Fri, 11 Oct 2002 23:41:06 +0000 (23:41 +0000)]
Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
Dimitrie O. Paun [Fri, 11 Oct 2002 23:34:32 +0000 (23:34 +0000)]
Rename GetItemHeight to CalculateMaxHeight, for consistency
Fix usage of nItemWidth vs. iconSpacing.cx
Misc cleanups.
Dimitrie O. Paun [Fri, 11 Oct 2002 23:33:25 +0000 (23:33 +0000)]
Use the item box rather than the bounds when invalidating.
Implement 'bPartial' in EnsureVisible.
Jason Edmeades [Fri, 11 Oct 2002 23:31:07 +0000 (23:31 +0000)]
Significantly improve the lighting code.
Alexandre Julliard [Fri, 11 Oct 2002 18:50:15 +0000 (18:50 +0000)]
Added server-side infrastructure for the thread input structure.
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
Dimitrie O. Paun [Fri, 11 Oct 2002 18:47:03 +0000 (18:47 +0000)]
Unify DrawLargeItem with DrawItem.
Dimitrie O. Paun [Fri, 11 Oct 2002 18:46:21 +0000 (18:46 +0000)]
Use GetItemMetrics instead of GetItemMeasures.
Remove GetItemMeasures.
Add GetItemBox which only returns the boundary of the item.
Ove Kaaven [Fri, 11 Oct 2002 18:45:02 +0000 (18:45 +0000)]
Added NdrOleAllocate, NdrOleFree, NdrInterfacePointerBufferSize,
NdrInterfacePointerFree, NdrInterfacePointerMarshall,
NdrInterfacePointerMemorySize, NdrInterfacePointerUnmarshall.
Dimitrie O. Paun [Fri, 11 Oct 2002 18:00:28 +0000 (18:00 +0000)]
Be real tough on internal programming errors.
Dimitrie O. Paun [Fri, 11 Oct 2002 17:59:39 +0000 (17:59 +0000)]
Remove support for owner drawn listviews in non-REPORT mode. We need
to do this since Windows supports owner draw *only* in report mode,
and hence apps are not prepared to handle drawing in other modes.