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.
Dimitrie O. Paun [Fri, 11 Oct 2002 17:58:56 +0000 (17:58 +0000)]
Use GetItemMetrics instead of GetItemMeasures when drawing.
Dimitrie O. Paun [Fri, 11 Oct 2002 17:58:11 +0000 (17:58 +0000)]
Make use of the new GetItemMetrics in HitTest, to avoid code
duplication.
Dimitrie O. Paun [Fri, 11 Oct 2002 17:57:27 +0000 (17:57 +0000)]
Separate item metrics computation from positioning
Add support for computing state icon metrics.
Patrik Stridvall [Fri, 11 Oct 2002 17:53:13 +0000 (17:53 +0000)]
- Improved alignment and offset calculations.
- Reorganized and improved enum/union/struct parsing.
Ove Kaaven [Fri, 11 Oct 2002 17:52:37 +0000 (17:52 +0000)]
Reimplement several RpcServer.* methods in rpc_server.c.
Implement RpcServerInqBindings, I_RpcServerStartListening,
I_RpcServerStopListening, and I_RpcWindowProc.
Greg Turner [Fri, 11 Oct 2002 04:20:07 +0000 (04:20 +0000)]
Added missing kernel32 import.
Alexandre Julliard [Fri, 11 Oct 2002 04:19:20 +0000 (04:19 +0000)]
LVS_OWNERDRAWFIXED should only take effect in REPORT mode.
Ove Kaaven [Thu, 10 Oct 2002 23:36:52 +0000 (23:36 +0000)]
Added NdrDllCanUnloadNow, NdrDllGetClassObject, NdrDllRegisterProxy,
NdrDllUnregisterProxy, CStdPSFactory methods.
Michael Günnewig [Thu, 10 Oct 2002 23:31:13 +0000 (23:31 +0000)]
- Move the API into a new api.c file.
- Added IClassFactory implementation.
- Added IPersistFile implementation to the AVI-file handler.
Nerijus Baliunas [Thu, 10 Oct 2002 23:30:13 +0000 (23:30 +0000)]
Better Lithuanian keyboard layout.
Alexandre Julliard [Thu, 10 Oct 2002 23:29:21 +0000 (23:29 +0000)]
Avoid calling FindExecutable16.
Eric Pouech [Thu, 10 Oct 2002 23:28:22 +0000 (23:28 +0000)]
Keep on moving 16 bit code out of winmm.
Christian Costa [Thu, 10 Oct 2002 23:27:49 +0000 (23:27 +0000)]
Initialize the DDCAPS structure of the DDRAW object at creation.
Christian Costa [Thu, 10 Oct 2002 23:27:32 +0000 (23:27 +0000)]
Main_DirectDrawSurface_QueryInterface: enable creation of a
IDirect3DTexture2 from a surface.
Ove Kaaven [Thu, 10 Oct 2002 23:26:53 +0000 (23:26 +0000)]
Added NdrProxyFreeBuffer, NdrProxyGetBuffer, NdrProxyInitialize,
NdrProxySendReceive, NdrStubGetBuffer, NdrStubInitialize.
Dimitrie O. Paun [Thu, 10 Oct 2002 22:57:45 +0000 (22:57 +0000)]
Fix drawing bug introduced with the custom notification
reorganization.