Commit Graph

81 Commits

Author SHA1 Message Date
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
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
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
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +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
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
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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Steven Edwards fb2a70463e Fixed snprintf warnings. 2002-05-16 18:31:27 +00:00
Patrik Stridvall fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +00:00
Mehmet Yasar da2b2d6714 Now, we are really erasing WS_CAPTION style. 2002-04-19 00:02:21 +00:00
Mehmet Yasar 70e8fce405 - Clear WS_CAPTION style.
- Send now CDN_FILEOK before FILEOKSTRING.
- Fix bug related to DWL_MSGRESUL (we were reading from wrong hwnd).
2002-04-14 19:33:18 +00:00
Mehmet Yasar 2dbf9ea34c Fix default extension behavior with GetOpenFileName. 2002-03-26 19:47:40 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Charles Loep 2b74e91df5 Fixed file extension problem in the file dialog. 2002-01-29 16:58:39 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Gerard Patel 2351eabd56 Initialize dialog data correctly in CreateTemplateDialog. 2001-12-04 19:39:33 +00:00
Gerard Patel 0a5ab16aee Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. 2001-08-18 16:07:06 +00:00
Andreas Mohr 0ab0704822 Only add "." separator in case a default file name extension does
exist.
2001-08-03 18:11:49 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Gerard Patel f6eded1124 Set the custom dialog box to the bottom of the Z-order. 2001-04-13 22:23:05 +00:00
Gerard Patel a9c889055b Handle empty strings and invalid values in lpstrInitialDir for 32 bits
open file dialogs.
2001-03-10 19:13:59 +00:00
Chris Morgan 1b77327515 Put a '\n' at the end of the FIXME to prevent very odd and difficult
to debug crashes due to overflowing of the debug info's output buffer.
2001-01-28 23:09:11 +00:00
Jon Griffiths 7a6bad8f10 - Fix a typo in TBSAVEPARAMS A/W declaration.
- Use 16 bit Unicode constants for wc strings.
- Make some string constants available as Unicode.
2001-01-22 02:13:58 +00:00
Alexandre Julliard 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
Gerard Patel 08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Ian Pilcher d7aea962dc Changed FILEDLG95_OnOpen to "double terminate" the returned string if
OFN_ALLOWMULTISELECT is set.
2000-12-13 01:46:26 +00:00
Gerard Patel 6bbf46a964 Fileokstring notification should be sent to the custom child dialog,
not to the main dialog.
2000-12-07 23:54:19 +00:00
Uwe Bonnes 695421d09a FileOpenDlgProc95: notify application of changed selection after
filling template.
2000-12-02 23:43:10 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Andreas Mohr 45c9fd892f - set the item height not only for the listbox, but also for the text field
- center text vertically
- beautify comments
2000-10-28 00:29:58 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Andreas Mohr 95feebf843 Fixed a string buffer overflow. 2000-08-31 02:06:26 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Dmitry Timoshkov 1effe07983 Initialize lpstrInitialDir to really bogus value to restore original
value later.
2000-08-11 00:40:00 +00:00
Alexandre Julliard b08cb175de Added guiddef.h and moved a few GUID definitions to the correct file. 2000-08-03 04:19:24 +00:00
Dmitry Timoshkov 14264c0fd6 Do not crash if there was no files selected and OK button was pressed. 2000-07-08 11:45:58 +00:00
Juergen Schmied 5370930a8a - fixed reported bugs
- fixed default extensions
- implemented "browse to desktop" button
2000-06-24 13:39:53 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
Juergen Schmied 3de41ceb42 - better error check when importing functions via GetProcAdress
- replaced SHGetSpecialFolderPath (not aviable in all shell32 versions)
- changed call order when browsing to different folder (crash with native shell)
- removed Move call since IShellview_CreateViewWindow creates it already in
  the right rect
2000-06-16 21:51:33 +00:00
Uwe Bonnes 4c5af80c6a PathFindNextComponent: return pointer to NULL and not NULL. 2000-06-07 03:14:40 +00:00