Commit Graph

751 Commits

Author SHA1 Message Date
Alexandre Julliard a167c3bb68 Get rid of the memory allocation macros, use real functions instead. 2003-10-15 21:14:08 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Gerald Pfeifer d395f6260c Remove unused variable commandSaveRegistry. 2003-10-15 20:50:56 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Michal Janusz Miroslaw f3ed10a246 Extend displays: now one can add displays active only in specified
function; displays now can be enabled/disabled like in gdb.
2003-10-14 20:25:16 +00:00
Gerald Pfeifer fc60c1e195 Remove unused variable debug_channels. 2003-10-14 20:10:36 +00:00
Dimitrie O. Paun 921df719e5 Fix some instances of memory allocation through HeapReAlloc(). 2003-10-11 05:25:31 +00:00
Alexandre Julliard 6ac34ac6ab Define an LDDLL command to link dlls, instead of using LDDLLFLAGS. 2003-10-11 01:05:18 +00:00
Peter Berg Larsen 7515680a7d Changed debug channel to "curses" to seperate it from wineconsole.c
and added some trace infomation.
2003-10-10 00:01:21 +00:00
Mike McCormack a300682f53 Handle quoting on the command line in uninstaller. 2003-10-09 19:45:54 +00:00
Daniel Marmier 8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Peter Berg Larsen ae3b9bb66a Use CONSOLE_RENDERER_NONE_EVENT to compress an event instead of
deleting it with a memmove.
2003-10-09 04:27:08 +00:00
Peter Berg Larsen 09f71d08ec The Tab key was considered a ctrl-key and Shift-Tab was ignored. 2003-10-09 04:26:29 +00:00
Alexandre Julliard c93c27f420 Removed useless WINE_TRACE_ON tests. 2003-10-08 19:20:11 +00:00
Peter Berg Larsen 5ca049a4ad Moved debug output up before calling the backend. 2003-10-08 19:18:33 +00:00
Mike McCormack 0a96e52ca2 When registering a dll, search the dll's directory for dll
dependencies too.
2003-10-07 22:49:44 +00:00
Pavel Roskin 7035adcae4 Convert resources to standard format without embedded binary data.
Fixes to be compatible with windres.
2003-10-04 04:21:19 +00:00
Pavel Roskin 16ffa577a9 Use a better icon. Comment out the binary resource. 2003-10-04 03:10:59 +00:00
Hans Leidekker c9d30a46f1 Dutch translation of progman.
Correct typo in English resources.
2003-10-04 03:09:06 +00:00
Pavel Roskin e3f6ed2d68 Don't pass unused pointers to RegCreateKeyEx() - this prevents score
saving on Windows 2000.
2003-10-04 03:07:16 +00:00
Pavel Roskin 954765e0cc Set win_style of the main window to WS_OVERLAPPEDWINDOW. 2003-10-04 03:06:39 +00:00
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +00:00
Gerald Pfeifer ee94596da3 This is actually a /bin/sh script, /bin/bash is not needed.
Check whether the two input files exists instead of assuming they do.
2003-10-03 03:34:29 +00:00
Hans Leidekker 4c37f7db05 Added Dutch translation. 2003-10-02 04:27:45 +00:00
Hans Leidekker d31d27f716 Dutch translation of clock and cmdlgtst. 2003-10-01 03:04:32 +00:00
Pavel Roskin c8e3a50197 Correctly set openfilename.lStructSize before calling
GetOpenFileName().
2003-10-01 03:04:14 +00:00
Alexandre Julliard c30cefb2d5 Store module names in Unicode in the server. 2003-09-30 01:04:19 +00:00
Mike Hearn 498e1ce039 Move Applications tab before Libraries tab.
Improve return_if_fail.
Partly implement appdefaults UI.
Replace usage of EnableWindow with clearer enable/disable macros.
2003-09-30 00:27:55 +00:00
Pavel Roskin 16b85af4ac Widen the "About" dialog to prevent wrapping of text. 2003-09-29 20:13:30 +00:00
Pavel Roskin 50a4503c30 Fix processing of IDCANCEL command.
Don't change settings if the user canceled the "Custom" dialog.
2003-09-29 20:13:14 +00:00
Alexandre Julliard 90dc6580f5 Make sure all 16-bit system drivers are loaded for 16-bit apps. 2003-09-27 02:34:07 +00:00
Michael Stefaniuc 81a7aade60 Fix some memory leaks found by smatch. 2003-09-27 02:25:21 +00:00
José Manuel Ferrer Ortiz 1bae93d63f Added Spanish resources. 2003-09-27 02:21:33 +00:00
Pavel Roskin dbebaf6729 Fix checkboxes in the "Color dialog flags" dialogs. They would not
change state.
2003-09-25 23:48:18 +00:00
Pavel Roskin 3a82706e54 Call HeapAlloc() on entries before HeapReAlloc() to avoid crash on
Windows 2000.
2003-09-25 20:21:47 +00:00
Pavel Roskin 1341e9ae2b Fix processing of the command line. 2003-09-25 20:21:32 +00:00
Alexandre Julliard 16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Mike Hearn fae915f0bf Remove Managed option. Add DXGrab, DesktopDoubleBuffer, UseTakeFocus. 2003-09-22 21:13:51 +00:00
Michal Janusz Miroslaw bf3de5ed6b DEBUG_cmp_sym: micro optimization/cleanup. 2003-09-22 21:12:44 +00:00
Vincent Béron 221aa8d2a5 Another batch of French resources updates. 2003-09-22 19:48:29 +00:00
Eric Pouech 71a71b301d - win32 console's window cannot be larger than curses' stdscr
- correctly manage backspace
- various cleanup
2003-09-22 19:31:32 +00:00
Mike Hearn 81be7f7892 Add screen depth option and remove "Allocated System Colors" setting. 2003-09-22 19:26:10 +00:00
Hans Leidekker 8b40f19ad0 Added Dutch translation. 2003-09-22 19:24:33 +00:00
Mike Hearn 5d249cb225 - Implement "managed mode" setting.
- Make system colors setting work.
- Disable DGA setting, as enabling it breaks wine.
2003-09-18 04:32:01 +00:00
Mike Hearn 5a2cde6532 - All settings in the drive edit dialog are now instant apply.
- Replace OK/Cancel buttons on the right with a close button on the
  bottom.
- Warn the user when a C drive is not present.
- Add drive functionality will now always create a C drive if one
  isn't present.
- Misc crasher fixes.
- Drive list box now reflects drives that take their data from a
  device correctly.
- Various code cleanups.
2003-09-17 22:40:38 +00:00
Mike Hearn 9e849c0044 Implemented mouse wheel support. 2003-09-17 22:38:12 +00:00
Igor Stepin f638678830 Added a lot of Russian translations. 2003-09-17 20:08:20 +00:00
José Manuel Ferrer Ortiz cbc1fd3698 Updated Spanish translation. 2003-09-17 20:03:26 +00:00
Mike Hearn 6d4f4ac54e Normalize win2000, nt2k, nt2000 to win2k, normalize win2k3 to win2003
(spotted by Vincent Béron).
2003-09-16 01:08:02 +00:00
Vincent Béron 481701b7b3 Updates for various French resources. 2003-09-16 01:02:11 +00:00
Ivan Leo Murray-Smith 9c2fb80d94 Added/improved Italian translations. 2003-09-15 22:21:18 +00:00
Mike Hearn 2184030c9a Added a simple TODO list. 2003-09-15 22:09:03 +00:00
Ferenc Wagner b129a1489f Implement >> style (append) output redirection. 2003-09-11 20:41:26 +00:00
Oleg Prokhorov 7b2d01357e Small grammar fix. 2003-09-11 01:04:03 +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
Pavel Roskin 3f8b3a1837 Compile Walon resources only if LANG_WALON is defined. 2003-09-10 03:43:16 +00:00
Mike Hearn 0f4c6c9727 - Bugfixes to the transaction system.
- Better protection against incomplete config sections.
- Implement "Add Drive".
- Partly reactivate edit drive dialog.
2003-09-10 03:41:44 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Mike Hearn 1136408fc6 - Removed the central configuration structure, all changes are
committed instantly now.
- Updated the drive handling code so it loads direct from the
  registry.
- Removed DRIVE_DESC, drives are keyed by drive letter now.
- Documented drive_available_mask.
- Simplified the code somewhat.
2003-09-08 19:29:28 +00:00
Mike Hearn cd0b789770 - Remove "PerfectGraphics", "Use XSHM extension", and "Use a private
colour map".
- Implement a simple transaction system for instant apply.
- Complete the desktop size code, this now reads and writes to the
  registry correctly.
- Remove const modifier from version accessor functions.
- Change registry root to Wine/WineCfg for testing purposes.
2003-09-08 18:58:07 +00:00
Pavel Roskin 03f5df8986 Added Russian resources. 2003-09-08 18:51:42 +00:00
Pavel Roskin 9667a05645 Fix French translation. 2003-09-08 18:48:54 +00:00
Alexandre Julliard 62986a0107 Added a few missing stdarg.h includes. 2003-09-07 05:08:14 +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
Mike Hearn ff81133f57 - Path changes are saved to the struct correctly.
- Rename enable_cdrom_box to enable_labelserial_box to better reflect
  purpose.
- Rename IDC_BOX_CDROM to IDC_BOX_LABELSERIAL.
- Support for editing label for all drives, allow editing of
  serial/device for CD-ROMS.
2003-09-02 23:04:53 +00:00
Marcus Meissner 1fc035d221 Change all head -1 to head -n 1 to be more POSIXly compliant. 2003-09-02 00:57:01 +00:00
Alexandre Julliard d0112aa509 Authors: Mark Westcott <mark@houseoffish.org>, Mike Hearn <mike@theoretic.com>
- Merge drive code from Mark.
- Rename saveX11DrvDlgSettings to fetchX11DrvDlgSettings.
- Make the listbox display drive title, not letter.
2003-08-30 00:49:00 +00:00
Alexandre Julliard 3db78b8d64 Authors: Mark Westcott <mark@houseoffish.org>, Mike Hearn <mike@theoretic.com>
- Rename hSession to configKey.
- Make the config struct a global, rename to "config".
- Correct bug in OK/Cancel handling.
- Merge X11DRV dialog code from Mark.
- Add newline to the initial FIXME.
2003-08-30 00:40:46 +00:00
Mike Hearn 4e1afc6de0 - Correct return code of loadConfig().
- Make the registry key used a constant.
- Made code slightly more consistant with itself.
- Some style changes, expanding out variable names, whitespace,
  removing unnecessary variable initializers and hungarian notation etc.
- Replace dialog box with a FIXME in WinMain() to warn of
  incompleteness.
- Implement saveConfigValue().
- Hook up support for save/load of WinVer.
2003-08-30 00:27:08 +00:00
Alexandre Julliard 2b644d60d6 Removed wrong or unneeded codepage pragmas. 2003-08-30 00:17:33 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Alexandre Julliard 0e3042eb65 Don't use alloca. 2003-08-28 19:40:51 +00:00
Alexandre Julliard ee106783d0 Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
seems to be the official name.
2003-08-28 03:07:56 +00:00
Oleg Prokhorov 61cb704533 No handles were inherited in CreateProcess, all child console programs
were silent.
Eric Pouech <pouech-eric@wanadoo.fr>
Ensure redirected stream handle for child process are actually
inheritable.
2003-08-27 23:12:06 +00:00
Dimitrie O. Paun 4ff79add63 Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
2003-08-27 02:07:02 +00:00
Mike Hearn 1df015ae46 Warn users of winecfg about its incompleteness. 2003-08-25 23:50:50 +00:00
Ivan Leo Murray-Smith 86aa2aa07c Added Italian resources. 2003-08-23 22:59:16 +00:00
Ivan Leo Murray-Smith b679de3219 Minor fixes. 2003-08-23 22:58:50 +00:00
Rok Mandeljc 112ded1a75 Added Slovenian translation. 2003-08-22 23:49:47 +00:00
José Manuel Ferrer Ortiz 4a0dd81cf1 Some new Spanish translations and improvements to other existing
ones.
2003-08-22 05:03:19 +00:00
Oleg Prokhorov 7ffb4ed075 Avoid crash in WCMD_run_program when no extension was specified. 2003-08-22 05:01:59 +00:00
Alexandre Julliard 1f467ffca6 Correctly pass the exception to the application when
BreakOnFirstChance is 0.
2003-08-21 21:28:51 +00:00
Ivan Leo Murray-Smith ef9636c51f Small resources fixes. 2003-08-21 21:28:05 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Mike McCormack 9557d1bfae Dlopen libncurses.so in wineconsole. 2003-08-20 04:19:01 +00:00
Ivan Leo Murray-Smith 4ea0442229 Added Italian resources. 2003-08-19 03:44:41 +00:00
Gregory M. Turner 7bcf7b1602 Wrap error-prone msc symbol loading with a __TRY block. 2003-08-19 00:57:58 +00:00
Francois Gouget 47b6d0af59 Spelling and case fixes. 2003-08-18 20:11:29 +00:00
José Manuel Ferrer Ortiz 89fc12f84e Added Spanish translation. 2003-08-18 20:06:09 +00:00
Marcelo Duarte 2caec6fe3b Localization to the Portuguese of Brazil. 2003-08-18 19:45:16 +00:00
Alexandre Julliard 269511026f Fixed indentation. 2003-08-15 03:51:19 +00:00
Lionel Ulmer 9a7fdc2fbc Remove from docs / config tool useless / obsoleted options. 2003-08-15 03:50:48 +00:00
E. C. F. Wolff 5546a02ef6 Added Windows 2k3. 2003-08-15 03:49:13 +00:00
Vincent Béron ea6584d42c Fixed command line support. 2003-08-15 03:47:04 +00:00
Francois Gouget 01e8d2eb5f Fix compilation error. 2003-08-13 19:43:19 +00:00
Richard Cohen ca1fe9ec1d Use __WINE__ instead of _WINE_, _WIN32. 2003-08-13 19:38:22 +00:00
Richard Cohen c17ad75ae6 Remove no longer necessary includes <signal.h>, <wait.h>. 2003-08-13 19:37:32 +00:00
Martin Fuchs f6fab8c730 Extended winefile for an optional shell namespace mode. 2003-08-13 01:18:37 +00:00
Johan Dahlin 84d5992357 Make sure winhelp doesn't scroll outside of its display area. 2003-08-11 18:41:52 +00:00
Dmitry Timoshkov c0a3cb13e0 Fixed build with older compilers. 2003-08-08 21:03:39 +00:00
Alexandre Julliard f752b1246b Authors: Robert Dickenson <robd@reactos.org>, Steven Edwards <Steven_Ed4153@yahoo.com>, Mike McCormack <mike@codeweavers.com>
Implemented GUI for regedit.
2003-08-07 03:10:13 +00:00
Richard Cohen 574f058bae Use the ELF sections for the addresses of globals, as the STABS are
likely to be wrong.
2003-08-07 02:56:55 +00:00
Richard Cohen 387ca9ba89 - Print short ASCII strings without the "..."
- Make printing for Unicode strings more similar to ASCII.
2003-08-07 02:56:35 +00:00
André Johansen aeffb6c312 Avoid crashing when unable to read pdb file. 2003-08-02 00:43:32 +00:00
Steven Edwards af86c99260 Include port.h so we define M_PI on Mingw build. 2003-07-28 19:06:26 +00:00
Alexandre Julliard 07fc82ee04 Fixed check for .bat and .cmd extensions (spotted by Mike McCormack). 2003-07-22 01:03:53 +00:00
Mike McCormack 0ab73312c8 rundll32 requires a window for some functions to work, so create one. 2003-07-22 00:59:56 +00:00
Dmitry Timoshkov 398af1666d Convert Notepad to unicode. 2003-07-21 20:05:33 +00:00
Francois Gouget 3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
Richard Cohen 76fdbf038b - Remove Idle().
- Fix repainting artefacts by drawing only through WM_PAINT.
- Unify hand drawing functions.
- 0 & 6 ticks are now always vertical.
2003-07-15 20:43:57 +00:00
Richard Cohen 64852f4b0e Make indentation consistent (4 chars). 2003-07-11 21:53:07 +00:00
Richard Cohen 9d59fb72b1 - remove escaped newlines, bogus "exit", printf's
- start at a sensible size
- tidy up WndProc
- use a timer instead of sleeping in the message loop (Ugh!)
2003-07-11 21:44:44 +00:00
Marcelo Duarte 8219eb69e3 Minor fixes in Pt, En resources. 2003-07-11 21:43:53 +00:00
Sylvain Petreolle c5fe7f034c French translation + misc fixes. 2003-07-11 03:49:19 +00:00
Alexandre Julliard 9fc5e6f098 Avoid hard-coded command line length limit in WCMD_process_command. 2003-07-09 22:21:04 +00:00
Catalin Patulea 064cce0ea2 Only display filenames when showing addresses. 2003-07-09 22:01:33 +00:00
Greg Marsden 41226dba28 Allow command lines with pipes to be processed by wcmd. 2003-07-09 21:58:26 +00:00
Dmitry Timoshkov 8a8d1b93ca Added support for CP_UNIXCP. 2003-07-09 04:22:57 +00:00
Mike McCormack 99c67eefcd Null parameters need to be quoted on the commandline. 2003-07-09 02:50:15 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Francois Gouget 5054045f6b Remove some unnecessary casts when assigning NULL to handles. 2003-07-02 04:30:55 +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
Catalin Patulea 2e7c0de616 Fixed Unicode string output. 2003-06-30 20:19:42 +00:00
Francois Gouget 1568fa3b21 Make sure to return an error if the file generation fails. 2003-06-23 19:51:21 +00:00
Marcelo Duarte 5bb472eae1 - localization to the Portuguese of Brazil of "programs/*"
- separation of some resources that only existed in English
- lesser adjustments in menus
2003-06-23 18:15:15 +00:00
Eric Pouech a86a289420 In console input record queue, replace semaphore with a manual reset
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +00:00
Eric Pouech 412d37f6e6 - adapted kernel32 so that it no longer (directly) manages console
handles as wineserver handles
- console input handle object is no longer waitable (input record
  synchronisation is now implemented as a simple semaphore), and removed
  FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
  distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
  (CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
  VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
  (FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Gerald Pfeifer 692d4e599d #include <windows.h> instead of "windows.h". 2003-06-18 19:32:03 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Sylvain Petreolle d478261f30 Added French translation, finished English translation. 2003-06-18 03:20:14 +00:00
Rok Mandeljc e36fa4551a Updated a bunch of translations for Slovenian language. 2003-06-16 01:32:09 +00:00
Alexandre Julliard 6dbf42cd17 Fixed WCCURSES_InitBackend prototype in the no curses case. 2003-06-14 01:34:53 +00:00
Alexandre Julliard 15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Eric Pouech 99bc640442 If (n)curses wasn't available at compile time:
- print sensible information
- fall back to user backend
2003-06-13 16:32:52 +00:00
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Jukka Heinonen 944dd6e2cd Wineconsole curses backend now works even if terminal is smaller than
console size. Cursor is no longer left into wrong location after
screen updates.
2003-06-04 20:14:47 +00:00
Eric Pouech 4ea0b7008c - added some missing strings to resources
- made the decompression code a bit more pedantic to avoid crashes
- fixed startup without .HLP filename passed on command line
- passed a few more commands from remote applications to the macros
2003-06-04 20:13:54 +00:00
Alexandre Julliard 6bc5091160 Start to make use of the proper PEB structure for process
information.
2003-05-22 03:44:01 +00:00
Mike McCormack 88090b47a6 Remove code that starts wineshelllink, instead create a windows
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Dmitry Timoshkov 2517d8097b Removed redundant LANGUAGE statements. 2003-05-19 23:17:41 +00:00
Mike McCormack 51f5308d35 Fix an uninitialized buffer. 2003-05-19 23:16:55 +00:00
Eric Pouech 4446b15c3f Quiet some valgrind reports. 2003-05-13 04:47:11 +00:00
Alexandre Julliard 0ae5c5fce8 Use int instead of socklen_t. 2003-05-13 03:38:19 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Francois Gouget d98f4a5e43 Fix handling of wcmd /c "c:\Program Files\hello.bat".
Make /c and /k effectively exclusive, like the real cmd does.
Fix handling of /q: it's compatible with /c and /k.
Added compatibility with /t /x and /y, just ignore them.
2003-05-11 02:48:17 +00:00
Francois Gouget bf022eecb9 Reset the result buffer after each argument. 2003-05-11 02:47:28 +00:00
Dimitrie O. Paun 1a1f9bffb3 Make it easy to use something other than wrc to compile resources. 2003-05-06 18:34:53 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00