Commit Graph

393 Commits

Author SHA1 Message Date
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +00:00
Michael Stefaniuc 082e0bfe93 Fix missing mem freeing on error path. 2003-10-01 03:14:29 +00:00
Michael Stefaniuc 4ba3b0aa0b Fix memory leaks on error path. 2003-09-30 00:22:33 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Vincent Béron bf5f07a5b4 Yet another batch of French resources updates. 2003-09-22 21:16:56 +00:00
Alexandre Julliard 9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard 69c90c2a9f Converted the rest of the obj_*.h headers to IDL into shobjidl.idl. 2003-09-09 19:32:36 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 81c31701d2 Avoid including wine/obj_*.h files directly from C files.
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Dmitry Timoshkov 261b97afbf Some applications depend on the order of initialization steps of the
custom file open dialog.
2003-08-22 05:01:08 +00:00
Dmitry Timoshkov ca7e9ff1fc Cope with potentially moved and resized file view window. 2003-08-21 21:25:16 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Steven Edwards 9e2b15da17 Split Win16/32 printer dialogs. 2003-08-02 00:41:41 +00:00
Francois Gouget 17afa80afd Some spelling fixes. 2003-07-30 03:42:26 +00:00
Dmitry Timoshkov b96b3d15b5 Improve handling of custom dialog templates passed to
GetOpenFileName.
2003-07-28 19:14:24 +00:00
Marcelo Duarte 8b644f86bf - lesser adjustments in cdlg_Pt.rc (better visual)
- localization to the Portuguese of Brazil of wininet resource.
2003-07-24 00:02:06 +00:00
Mike McCormack 07e69aeab8 Send a CDN_FOLDERCHANGE message when we change folders. 2003-07-21 20:01:42 +00:00
Marcelo Duarte de08661413 - Localization to Portuguese of Brazil
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Alexandre Julliard dfe397fc38 Get/SetPropW needs a Unicode string. 2003-06-30 02:06:22 +00:00
Mike Hearn 0d6a2e9aba Store PrintStructures in a window property instead of extra window
bytes.
2003-06-27 22:21:06 +00:00
Steven Edwards 5552da92aa Remove unneeded calls to LoadLibrary16 and FreeLibrary16. 2003-06-26 02:05:19 +00:00
Steven Edwards 1d05524919 More splitting of the Win16/32 internal filedlgproc window procedures
and dialog init.
Make a few internal function static and share a few others.
2003-06-24 19:24:29 +00:00
Oleg Prokhorov 2faead17d7 Fixed Russian commdlg localization. Some resource elements didn't have
proper size, and were partially visible.
2003-06-23 03:33:50 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Rok Mandeljc e36fa4551a Updated a bunch of translations for Slovenian language. 2003-06-16 01:32:09 +00:00
Steven Edwards 6056159a5e Split Win16/32 file dialogs. 2003-06-16 01:19:16 +00:00
Steven Edwards 3f5b518dfc Split Win16/32 color dialog support.
Supporting compiling out 16 bit find dialog support.
2003-06-13 18:07:45 +00:00
Steven Edwards 6b9c474d30 Separate Win16 and Win32 font dialog support. 2003-06-07 00:33:32 +00:00
Dmitry Timoshkov 39669fa850 Use SetDlgItemText instead of sending a WM_SETTEXT. 2003-05-14 00:02:17 +00:00
Huw Davies e3924140ca Better handling of OFN_NOVALIDATE for win31 style file dialogs. 2003-05-13 22:06:34 +00:00
Mike McCormack 0bb73f53d5 Fill the filedialog95 controls before sending a CDN_INITDONE
notification.
2003-05-11 02:39:08 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Vitaliy Margolen da9720c726 Unicode strings termination fixes. 2003-03-30 03:05:55 +00:00
Maxime Bellengé 473a88661e Fix the lookin combobox overlapping the toolbar in open/save file
dialog.
2003-03-26 23:36:25 +00:00
Maxime Bellengé c342de17b8 Fix how the size of the dialog is computed and the child component
placed.
In case the help button and the readonly check box are hidden, perform
the resizing before calling the hook procedure.
2003-03-25 00:34:29 +00:00
Alexandre Julliard e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Tony Lambregts b4bb1490df Janitorial. Get rid of W->A call. 2003-03-17 21:22:57 +00:00
Adam Gundy 3ff6a487d6 ArrangeCtrlPositions() did not cope correctly with a templated dialog
which has an extra 'preview' control to the right of the 'marker'
control.
FILEDLG95_Handle_GetFilePath() did not return the path - it wasn't
combining the path with the filename.
2003-03-07 20:29:31 +00:00
Tony Lambregts e295d3996e Janitorial. Get rid of W->A call. 2003-03-06 22:43:43 +00:00
Shachar Shemesh ee63d5ee4a - Implemented two lookup tables for the sample fonts. The first,
"CHARSET_ORDER", is for converting codepage to ordinal charset num,
  and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample
  text.
- Removed all references to changing the font directly in stc5.
- Modified the "InvalidateRect" calls to invalidate the rect where
  stc5 is, rather than stc5 itself.
- Added handling of WM_PAINT that draws the sample text, properly
  truncated.
- Removed handling of WM_CTLCOLOR - no longer neccessary.
2003-02-15 00:02:24 +00:00
Shachar Shemesh 7ee13d8f3e - Defined IDs for string constants for font color names and for the
various charsets.
- Load the color names from the resources in the fonts dialog.
2003-01-28 00:18:31 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Liu Spider 5f66cf3a0b Implemented GetFileTitleW; GetFileTitleA now is a call to
GetFileTitleW.
2003-01-21 19:32:21 +00:00
Juergen Schmied 8be60f8212 Translated some remaining English words. 2003-01-15 03:33:08 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Rok Mandeljc 72a2c37076 Fixed some characters. 2002-12-11 01:29:10 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Mike McCormack a021db7190 Send a CDN_FILEOK in FILEDLG95_OnOpenMultipleFiles.
Restructure the handling of Custom dialog notifications.
2002-11-13 21:21:41 +00:00
Shachar Shemesh b61fd42e4d - Added support for CF_ENABLETEMPLATEHANDLE.
- Revised the FIXME on unsupported flags to not reported the flags now
  turned supported.
2002-11-13 04:08:57 +00:00
Shachar Shemesh 9ce27aa325 - Changed all numeric resources in ChooseFont to labels for better
readability.
- Changed all handling of stc6 (1093) to atc5 (1092) so that will be
  compatible with Windows resource numbers.
- Added code to load the user's resources rather than our own if
  CF_ENABLETEMPLATE is passed in "flags".
2002-11-08 18:56:46 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Matthew Davison eb53c02579 Fixed some handle conversions for -DSTRICT. 2002-11-01 01:50:06 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc 331fb086be Some small cleanups. 2002-10-25 03:50:14 +00:00
Vincent Béron d1d586e2a9 Bring some French resources in sync with English ones. 2002-10-23 23:34:32 +00:00
Duane Clark 6c320a84af Set the return value of the PD_PAGENUMS flag. 2002-10-21 18:22:31 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Carlos cfc4082b03 Avoid crashes when ofnW->lpstrFile is null. 2002-10-13 17:52:32 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Alexandre Julliard 9842b19931 Make sure things still work if 16-bit dlls cannot be loaded. 2002-10-02 02:36:20 +00:00
Alexandre Julliard cc3a74d949 Authors: Josef Meixner <Josef.Meixner@t-online.de>, Huw Davies <huw@codeweavers.com>
- Initializing the return-string shouldn't change the pointer.
- Added "FIXME" for case not handled.
- Directory and the filenames have to be separated by "\0".
- Added check to handle possible signed/unsigned overflow.
2002-09-17 18:33:55 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Mike McCormack 9e4c409b7c - Do not modify pointers in the OPENFILENAME structure passed to
GetFileDialog95A/W.
- Use Unicode as default for strings from the OPENFILENAME structures.
- Fill out the OPENFILENAME structure before sending the FILEOK
  notification.
- Send a CDN_FOLDERCHANGE notification on OPENFILENAME dialog init.
- Fix miscalculation of the size of Explorer style file dialog boxes
  with templates.
- Remove redundant MapHModuleLS and MapHModuleSL calls that also cause
  hInstance to be trashed when it holds a template pointer instead of a
  real hInstance (when OFN_ENABLETEMPLATEPOINTER is specified).
2002-08-16 23:26:22 +00:00
Alexandre Julliard f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +00:00
Shachar Shemesh d386fa75bc - Fixed access to the lpTemplateName of ChooseFont in cases where the
flags don't specify to use it.
- Do not try to convert the resource name from ANSI to Wide if it is a
  result of MAKEINTRESOURCE (and therefore not a string).
2002-07-10 20:31:17 +00:00
Gregg Mattinson bac71315d2 Removed non-static structure initializers. 2002-07-03 21:06:58 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Rok Mandeljc fd40708e38 Added Slovenian resources. 2002-06-28 23:28:36 +00:00
Sander van Leeuwen 2021de684e Do not change directory if path is invalid. 2002-06-28 17:34:57 +00:00
Jason Edmeades 07e2634753 Fixed crash in open file dialog on non-windows 98 emulation when
lpszInitialDir is null.
2002-06-25 02:55:53 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard 1921948463 Store print dlg structure in a property instead of DWL_USER. 2002-06-13 21:41:08 +00:00
Won-kyu Park ff4f41d81e Added Korean resources. 2002-06-10 02:32:31 +00:00
Sander van Leeuwen 4911d0bf3b - Save and restore current directory in GetFileDialog95W if
OFN_NOCHANGEDIR flag set.
- GetFileDialog95W: only convert ofn->lpTemplateName if it's a string
  resource id (fixes OpenOffice 1.0 file open dialog crash).
- Ignore OFN_FILEMUSTEXIST flag for save file dialog (fixes save
  dialog in ElstarFormular).
- Rewrote casts that some compilers don't accept.
2002-06-10 02:31:11 +00:00
Jason Edmeades 235d82ee44 nitialDir handling and InitialFile handling now agrees with MSDN
description, and testing on win2000 appears to agree.
ilename field not cleared when directory selected/clicked on.
OFN_NOVALIDATE field no longer causes traps, and appears to behave as
per w2k.
2002-06-04 21:23:12 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard 6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00