Commit Graph

213 Commits

Author SHA1 Message Date
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
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +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
Huw D M Davies 2a99a462e4 Remove second import of winspool.drv. 2000-06-11 20:01:49 +00:00
Uwe Bonnes 4c5af80c6a PathFindNextComponent: return pointer to NULL and not NULL. 2000-06-07 03:14:40 +00:00
Patrik Stridvall c94e086161 Fixed some warnings. 2000-06-07 02:16:47 +00:00
Juergen Schmied e2f4aefb38 - Rewrite of the shell related parts of the dialog to use the already
in shell32implemented functions (ShellFolder/Path*). Eliminated direct
  file access.
- Replaced LoadLibraryA with GetModuleHandleA since comdlg32 is imports
  some dlls per *.spec file
- Most OpenFile Flags (OFN_*) should work properly now
- The edit box should work right with all stuff entered in it like
  ..\temp\file.txt or just c: to change a drive
- Optimized DataObject handling
- Some bugs fixed, should work with native shell32 again.
- Stubs for PrintDlgEx
2000-06-02 19:36:53 +00:00
Huw D M Davies b40a9b7f1d Add PrintSetup dialog and support for hooks and templates.
Move 16 bit api definitions out of commdlg.h to cdlg.h
2000-05-26 22:26:06 +00:00
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Alexandre Julliard 077239414e Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
2000-05-11 00:09:29 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Uwe Bonnes 5e65e2dd7a COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay
allocation of Tls for CommDlgExtendedError until it is needed.
2000-05-01 14:22:24 +00:00
Patrik Stridvall 95bcd5178a Fixed some warnings. 2000-04-29 14:29:05 +00:00
Guy L. Albertelli 68e0d64d66 - Correct check for minimum buffer length.
- Correct cases where ShowWindow is done/not done.
2000-04-28 20:49:46 +00:00
Eric Pouech 44af98cb36 Fixed winspool(.drv) loading. 2000-04-25 19:57:27 +00:00
Gerard Patel cc6d2f90bc Don't use the template member unless the corresponding flag is set. 2000-04-25 19:53:04 +00:00
Gerard Patel 7324295be8 32 bits message processing for color dialog. 2000-04-24 17:35:11 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard a0d9ffdaa1 Removed a few inter-dll dependencies. 2000-04-23 20:40:23 +00:00
Alexandre Julliard 84eb8334da Added some missing import directives. 2000-04-19 16:54:02 +00:00
Alexandre Julliard ae7ae694b3 Removed winmm from import list. 2000-04-19 16:52:06 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Simen Zamecnik 5f3b1b0c83 Added Slovak language support. 2000-03-08 18:59:20 +00:00
Junichi Kuchinishi 51854be791 Added some Japanese resources. 2000-03-08 18:50:45 +00:00
Alexandre Julliard 82a2b186e7 Added support for creating extra symlinks for .so files that contain
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Hidenori Takeshima 0f36ec47c9 ArrangeCtrlPositions: fix for user-defined template with no stc32. 2000-02-26 19:32:44 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Juergen Schmied 52bd50fb85 For unicode: give the selected filename back. 2000-02-25 20:51:33 +00:00
Juergen Schmied 4dc586108e Fixed handling of filedlg flags. 2000-02-25 20:36:42 +00:00
Gerard Patel ec7d7fa380 Avoid too much refreshing when changing the drive in the 16 bits file
dialog.
2000-02-20 19:15:01 +00:00
Alexandre Julliard cf1bcc496b Corel merge:
Pierre Mageau
Don't update the combo box selection when closing the dialog only when
clicking on OK button.  Adjust file dialog size when help button isn't
present.

Don Kelly.
Fixes problems with open dialog box filters.

Ulrich Czekalla
Prevents the help button from displaying on OpenFile dialogs unless
the proper flag is set in the OPENFILENAME struct.

Yuxi Zhang
Fixed memory leak.

Jean-Claude Batista
Add tooltips to the file Dialog toolbar.

Sylvain Bouchard, Bill Jin
Three new functions
EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections
Instead of passing in a copy of ofn, passing in the pointer of ofn.

David Golding
A "!" was missing in a check against lpstrInitialDir.

Rick Mutzke
Fixed crash: if dialog has no filetypes appearing in the dropdown list.

Matt Robertson, Ulrich Czekalla
Fixed problems occurring with selection of files inside openfiledlg.
2000-02-20 18:54:04 +00:00
Juergen Schmied 2972b40048 - activated use of templates
- moved the creating of new folders to the shellview
2000-02-20 18:50:18 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Juergen Schmied 2577e9df2d Changed import to ordinal. 2000-02-07 17:17:41 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Marcus Meissner 9837b598bc Replaced some weird C constructs (char[]="" ) with more compatible ones.
Added another NULL ptr check in _OnOpen.
2000-01-23 22:30:22 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Marcus Meissner 6e8fe72edf The new filedialog stuff does not handle template. So do not call if
there are any.
2000-01-08 22:23:12 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Francois Gouget f3ca842678 FILEDLG95_HandleCustomDialogMessages:
- for the three handled messages we must return the required buffer size
- for CDM_GETFILEPATH paths like "dir\file" were handled incorrectly
- fixed multiple potential buffer overflows.
FILEDLG95_OnOpen: fixed a use of strncpy without '\0'.
FILEDLG95_SHELL_NewFolder: the size of lpstrCaption was incorrect
leading to a buffer overflow.
1999-12-26 00:34:23 +00:00
Francois Gouget 7e39c75b42 If lpTitle==NULL and cbBuf==0 then we must return the required buffer
size.
1999-12-20 03:52:29 +00:00
Juergen Schmied 9270a10926 Small fixes. 1999-12-11 23:00:17 +00:00
Alexandre Julliard 2bab80dea4 Pierre Mageau
Murali Pattathe
Francois Boisvert
Francis Baudet
Henning Hoffmann
Many fixes.
1999-12-04 04:03:01 +00:00
Juergen Schmied 2d263ce7f2 - the fodInfos were used before initialized
- lpTemplateName can be a resource id
- if lpTemplateName is a string don't free the original one
1999-11-21 02:20:45 +00:00
Gustavo Junior Alves 0107f35a1b Added Portuguese language support. 1999-11-21 02:10:31 +00:00
Juergen Schmied 1679f2c250 - corrected control positions
- use the icons from comctl32 for the buttons
1999-11-14 21:29:24 +00:00
Juergen Schmied 111f0e35a4 - inserted markers for the bin2res tool
- reformated hexdump in shres.rc
1999-11-13 22:38:24 +00:00
Klaas van Gend 2d7f8590dc Implemented the PrintSetup dialog box for the PrintDlgA. 1999-11-13 20:49:58 +00:00
Adrian Thurston 2d06944f38 - fixed the index of the item chosen in the filter combo box
- added support for the OFN_OVERWRITEPROMPT flag
- fixed positioning of controls in the user-defined templates
1999-11-13 20:48:47 +00:00
Gustavo Junior Alves cca2a3b347 Use constants IDOK and IDCANCEL in .rc files. 1999-11-12 01:50:03 +00:00
Juergen Schmied c38cb0123b Made the buttons in the filedlg change when selecting a different
view type by the context menu, cleanup.
1999-11-12 01:02:27 +00:00
Juergen Schmied 56403478c7 - unified templates for the open and the save dlg
- replaced buttons with a toolbar
1999-11-07 22:41:05 +00:00
Ulrich Czekalla 64bc46c31c Implementation of custom dialog messages and notifications. 1999-11-07 05:39:24 +00:00
Ulrich Czekalla c7cc6f128b Implementation of user defined templates. 1999-10-31 17:37:39 +00:00
Pierre Mageau c719e35b02 Clicking the combo box would cause a crash if it was empty. 1999-10-31 01:52:01 +00:00
Pierre Mageau a454cd9d29 Set the default view button to List in the FileDialog. 1999-10-23 14:24:11 +00:00
Juergen Schmied 3c216d01eb Removed linking by GetProcAddress for StrRetToBuf sinc not all
versions of shlwapi exporting this function.
1999-10-13 15:50:07 +00:00
Uwe Bonnes 8f16613b2d Use Get|SetPropA to store lParam to retrieve the OPENFILENAME16 for a
hWnd.
1999-10-13 13:51:57 +00:00
Huw D M Davies 38ffcc3cb0 Map PrintDlg16 to PrintDlgA. 1999-10-13 12:29:57 +00:00
Klaas van Gend 92418ee65c Moved bitmap resource to language-independent resource file. 1999-10-13 12:20:27 +00:00
Patrik Stridvall e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Francois Boisvert be1cee7244 Added small feature in the file dialog. 1999-09-19 18:27:05 +00:00
Francois Boisvert eba2c792e9 Fixed the height of items in the lookin combobox of the filedlg95. 1999-09-04 14:28:49 +00:00
Francois Boisvert 25eeb8f880 Some <open> features in the file dialog 95. 1999-09-03 16:46:41 +00:00
Eric Pouech 5dc576b5c8 Fixed off by one allocation errors. 1999-09-03 15:06:25 +00:00
Klaas van Gend d415c9cbf5 Added Dutch resources for PrintDlg32. 1999-09-03 12:41:54 +00:00
Klaas van Gend 7a41bea055 Completed PrintDlg32 resource stringtable. 1999-09-03 12:41:23 +00:00
Francois Boisvert d083baba24 Implemented basic browsing in the file name edit of the filedlg 95. 1999-08-21 14:47:28 +00:00
Bertho Stultiens c13c3f9ba8 Wrc did not check any IDs which are only 16 bit. Common dialogs had some
IDs larger and that caused problems. This is now solved (I hope).
1999-08-18 18:23:34 +00:00
Gerard Patel 40320f3e7e Fix special case when no printer installed. 1999-08-15 16:33:11 +00:00
Ulrich Weigand 8336cc9e51 Adapted to glue code generation changes. 1999-08-15 12:45:53 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Klaas van Gend 3d5f2a88d3 Implemented the return of hDevModes and hDevNames in the PRINTDLG
structure of PrintDlgA().
1999-08-07 12:34:54 +00:00
Juergen Schmied a20a59f0c2 Explicitly load shell32.dll. 1999-08-07 12:32:42 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Klaas van Gend 43ac3d6b3e - added Collate/NoCollate Icons to Print32 dialog (unfortunately they
don't display yet).
- added status strings.
- added string table for internationalisation of several internal
  message boxes.
1999-07-30 18:10:21 +00:00
Francis Beaudet 954294e355 Fixed a memory leak in the file dialog. 1999-07-30 18:07:37 +00:00
Juergen Schmied 45822e6bdc Fixed use of StrRetToStrN. 1999-07-28 16:38:45 +00:00
Francois Boisvert 87b81de0bc Implemented the Win95 file open/save dialogs. 1999-07-27 16:20:36 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Ulrich Weigand 8dbffe70fb Removed MODULE_GetWndProcEntry16().
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +00:00
Henrik Olsen 6adfcff564 Cleanup of the Danish support. 1999-07-04 10:58:35 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexander Kanavin f26c89e83a Standard dialog boxes resources and OLE strings are now in cp1251 encoding
Font mapper does not anymore use fonts in -koi8-r encoding
Font mapper now recognises fonts in -windows-* encodings (these are
provided by xfstt TrueType server)
Font mapper now sees max 16384 fonts (was 2048)
1999-06-22 19:14:40 +00:00
Eric Pouech 31f6bdfadf Fixed GetOpenFileName when called with both OFN_ALLOWMULTISELECT and
OFN_EXPLORER bits set.
1999-06-22 19:02:52 +00:00
Pablo Saratxaga 66f53a8a8b Walloon language update. 1999-06-18 17:05:55 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Paul Quinn f981c6cbab ver.h is a legacy header. winver.h should be used instead. 1999-05-29 11:15:39 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Marcus Meissner d7c565f5de Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Klaas van Gend ea7ff970c8 More implementation of PrintDlgA.
Conversion of resource identifiers of Print32 window to comply to the
M$ numbering.
1999-05-02 11:34:26 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Pavel Roskin 8b221d140b Replaced 0xC000 by symbolic constants. 1999-04-01 10:13:04 +00:00
Klaas van Gend 3c6253bb3e - Reimplementation of the CommDlg ExtendedError mechanism using TLS.
- Some header inclusion cleanup.
1999-03-15 15:16:54 +00:00
Pavel Roskin cb327212c4 File open dialog now uses icons instead of bitmaps. 1999-03-13 18:10:43 +00:00
Bertho Stultiens 9bdf34b338 Moved error codes to cderr.h. 1999-03-13 17:07:56 +00:00
Norman Stevens e16512ba82 Don't copy lpstrFileTitle if given NULL pointer for this.
Delphi 2.0 passes NULL for lpstrFileTitle to GetOpen/SaveFileName.
1999-03-09 17:34:30 +00:00
Klaas van Gend c912749be5 Create a new subdirectory for the common dialog box DLL and move all
code from /misc/commdlg.c to this directory.  Also made a start in
documenting the API calls.
1999-02-28 20:05:11 +00:00