Commit Graph

223 Commits

Author SHA1 Message Date
Gerard Patel 29fe7e85f5 Changed string pointer calculation. 2001-01-07 21:52:08 +00:00
Marcus Meissner ad37850024 Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.
2001-01-02 22:26:09 +00:00
Andreas Mohr fb976acdd2 Return 8.3 file names.
Fixed sizeof(WCHAR) bugs.
2001-01-02 20:50:34 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Gerard Patel 08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
Vasily I. Volchenko afee78f36b Added more Russian support. 2000-12-14 21:58:02 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +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
Alexandre Julliard bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +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
Marcus Meissner 037fd57c86 Fixed handling of DialogBoxIndirectParamA return value. 2000-12-07 23:13:03 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Uwe Bonnes 695421d09a FileOpenDlgProc95: notify application of changed selection after
filling template.
2000-12-02 23:43:10 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Alexandre Julliard a8d1a7c52b Finished separation of comclt32 and comdlg32. 2000-11-30 19:07:09 +00:00
Gerard Patel b5eefcd134 Fixed returned length of files. 2000-11-29 19:01:07 +00:00
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +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
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +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 ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Dmitry Timoshkov 77b2185e1c Remove redundant includes.
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Alexandre Julliard 41d6e2feba Temp hack: do not import dlls that we link with at the ELF level. 2000-11-13 20:27:31 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Francois Gouget f5cea729a6 We must include windef.h before wtypes.h (directly or indirectly). 2000-11-08 05:05:15 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Peter Ivanyi 1da3befe54 Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. 2000-10-31 01:19:11 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +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 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Marcus Meissner 2aeb57eeff Got rid of misleading "No Tls Space" error message. 2000-10-22 23:55:34 +00:00
Gerard Patel 69036e9985 Fixed bug when changing drives in 16 bit style dialog for a 32 bit app
+ miscellaneous fixes.
2000-10-22 23:46:21 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +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
Huw D M Davies 367066762d Fix PrintDlg collate icons. Add orientation icons. 2000-09-22 20:55:57 +00:00
Andreas Mohr 95feebf843 Fixed a string buffer overflow. 2000-08-31 02:06:26 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Gerard Patel e3bd8d0adf Turns the handling to pure 16 bits, remove references to dialog.h. 2000-08-18 23:05:44 +00:00
Gerard Patel 7a50e6bb26 Avoids changing 2 levels when clicking .. in the directory list. 2000-08-18 23:03:44 +00:00
Gerard Patel c987767760 Fix return value to 16 bits for 16 bit hook; remove leading space for
file specification.
2000-08-14 20:53:21 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +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 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +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
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Gerard Patel d8cb43c78e Changed the win31 style file dialog to 32 bits structures and
messages.
2000-08-01 23:33:37 +00:00
Alexandre Julliard 76d3671bee Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Gerard Patel 7f392f5e1b Focus handling, visual changes + misc fixes. 2000-07-23 14:21:38 +00:00
Gerard Patel 9239ddd245 Remove calls to DIALOG_DoDialogBox and DIALOG_CreateIndirect. 2000-07-23 13:35:14 +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
Eric Pouech 9a5b0d4fbf Fixed crash when lpTemplateName is gotten from MAKEINTRESOURCE. 2000-06-25 12:51:14 +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
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