Commit Graph

697 Commits

Author SHA1 Message Date
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
Alexandre Julliard 6da201fddf Added dummy read_elf_info for the non-ELF case (reported by Steven
Edwards).
2003-05-02 21:24:44 +00:00
Jukka Heinonen f93d452d78 Fix argument passing to DOS program from winevdm.
Add support for invoking DOS programs with long command lines.
2003-05-02 20:11:52 +00:00
Igor Stepin 4acde5346f Changed font charset from ANSI to DEFAULT_CHARSET. 2003-05-01 00:00:10 +00:00
Hans Leidekker 11b0f75d3f Install winevdm. 2003-04-27 20:37:08 +00:00
Alexandre Julliard fedc411743 Moved the functionality of starting Win16 and DOS programs from the
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Matthew Davison 5101dfcdb2 Added some registry-loading code. 2003-04-27 00:33:07 +00:00
Alexandre Julliard 2e12d33dfd Removed no longer needed uses of LDPATH. 2003-04-21 23:54:05 +00:00
Eric Pouech 5052e072e3 - added support for multi-thread in GDB remote read/write register(s)
commands
- by default, internal errors are now verbose
2003-04-19 21:27:47 +00:00
Alexandre Julliard c7bebba198 Warning fixes. 2003-04-04 22:13:02 +00:00
Alexandre Julliard 56b5e0862c Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define. 2003-04-04 19:41:31 +00:00
Alexandre Julliard edcddb8a7c Avoid warning on redefinition of KEY_EVENT. 2003-04-03 23:57:39 +00:00
Alexandre Julliard e7a44d18cd Make sure we don't use libwine_port functions when linking with
msvcrt.
2003-04-02 01:43:33 +00:00
Eric Pouech c46e6747af Added support for R types in stabs parsing. 2003-04-02 01:07:53 +00:00
Alexandre Julliard 06a8c1203f Portability fixes. 2003-04-01 00:12:50 +00:00
Alexandre Julliard b88d340755 Removed uses of u_long. Use void* type for pointers where possible. 2003-04-01 00:02:36 +00:00
Dimitrie O. Paun 82ce2cc7df New winecfg skeleton app, based heavily on original work by Jaco
Greeff.
2003-03-31 19:41:55 +00:00
Stefan Leichter a127ad1cd1 Let wcmd handle .cmd files like .bat files. 2003-03-25 00:33:56 +00:00
Alexandre Julliard 9e4fc4c9b6 Converted winebuild option parsing to use getopt_long. Added a number
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard 6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00
Tony Lambregts ec464127f6 Convert WINE_DPRINTF calls to WINE_TRACE. 2003-03-17 21:20:41 +00:00
Shachar Shemesh 496603cf86 - Implement finer grained control over what gets run.
- Implement command line to control presets of said control for
  various scenarios:
  o start - session startup - run everything.
  o restart - session close (presumeably after reboot) - only perform
    *once operations.
2003-03-12 20:15:15 +00:00
Eric Pouech e9d937e3d4 - fixed another regression in sub-process creation (curses backend
must be default for AllocConsole() invocation)
- fixed endless loop when unknown argument was passed on commandline
2003-03-10 19:03:33 +00:00
Eric Pouech 636725f2f0 Fixed regression in sub-process creation. 2003-03-07 20:34:55 +00:00
Sylvain Petreolle 98f44486be Allow to run autoexec.bat when launching wcmd, it was broken due to a
function change.
2003-03-05 02:49:04 +00:00
Eric Pouech 2d309da2c0 Added support for Ctrl-C handling if not running in a console.
Added (maintenance) configuration var to trigger external debugger on
winedbg's exceptions.
2003-03-04 02:18:20 +00:00
Eric Pouech cdfcef2481 - added ability to use --backend=(curses|user) as wineconsole parameter
- rewrote wineconsole command line option parsing
2003-03-04 02:13:25 +00:00
Eric Pouech c7b5d0aa58 In curses backend, apply the quick-edit directive from registry. 2003-03-04 02:13:05 +00:00
Eric Pouech 41018add5d Removed no longer needed UseXTerm internal variable. 2003-02-27 01:42:39 +00:00
Eric Pouech b2f079bade - don't create a new console upon startup
- no longer assume we're always attached to a console
2003-02-27 01:41:21 +00:00
Eric Pouech 8e04bab647 Fixed behavior when changing both sb and win size, as the order of
operation is important to keep sb always bigger than win.
2003-02-26 04:37:15 +00:00
Eric Pouech 841d9828e9 - made support for paged output a generic feature in wcmd
- rewrote DIR command accordingly
2003-02-25 03:58:42 +00:00
Eric Pouech abef9da1be Forbids selecting (for clipboard) areas larger than the actual
screen-buffer size.
2003-02-25 03:58:22 +00:00
Eric Pouech f4d19e6b58 Added checks when editing window and sb size so that they are kept
consistent.
2003-02-24 20:41:08 +00:00
Eric Pouech 50edbc94e1 Set a default 50 lines in history for console apps. 2003-02-24 20:40:20 +00:00
Dan Kegel a20622d7de Make 'cmd /c cl /MUMBLE foo.c' pass /MUMBLE to cl. 2003-02-24 20:39:53 +00:00
Marcus Meissner 9a1b221e80 Print out name of float exceptions. 2003-02-24 20:38:44 +00:00
Eric Pouech d0882d5435 - removed unused function: SetSymbolValue
- enhanced a bit AddSymbol regarding invalid symbol management (and
  enhanced its traces)
- now printing type information in 'info sym'
2003-02-19 03:41:48 +00:00
Eric Pouech 0607e083ac - added parsing of C++ inheritence information
- added an internal trace for displaying errors in typedef parsing
- enhanced ELF symbol management (direct call to AddSymbol in ELF
  header)
2003-02-19 03:41:25 +00:00
Eric Pouech 9859ec4cdb - added GetName() to retrieve type name
- reimplemented DumpTypes so that it really dumps the types content
- now printing type information in 'info sym'
2003-02-17 01:47:38 +00:00
Eric Pouech ee04693c99 Moved expr freeing when translating a command (no longer done on each
command which uses an expr).
2003-02-17 01:47:20 +00:00
Eric Pouech 00d73d0d36 - fixed mouse event generation
- better management of some keys
- now generating several wincon-events for a given curses-event
- added basic support for V-scrolling (disabled by default)
- fixed printing of some unsupported characters
2003-02-14 19:23:36 +00:00
Mike Hearn 7483aea5b1 Removed the nonexistant command "debugmsg" from winedbg help screen. 2003-02-14 19:22:48 +00:00
Matthew Davison f32c18381a Make trace output produced by wineboot more useful. 2003-02-12 01:14:08 +00:00
Eric Pouech fa05849e67 Translated sprintf calls into snprintf. 2003-02-11 22:07:16 +00:00
Eric Pouech 073abfce18 - translated sprintf calls into snprintf
- added helper for sending strings in hex form
2003-02-11 22:06:19 +00:00
Eric Pouech 8e0dcc410c Attach command no longer worked as expected, fixed it. 2003-02-11 22:05:06 +00:00
Sylvain Petreolle fdd0bfa13c Fixed handling of PATH command with spaces. 2003-02-11 22:01:11 +00:00
Eric Pouech 084e74bdfc - Added experimental parsing for C++ code (but winedbg doesn't support
C++ ABI).
- Now loading symbols for included files.
2003-01-30 01:18:06 +00:00
Eric Pouech 45adf0843f - Removed no longer used queue & modref related commands.
- Protected walk commands while being called with no process loaded.
- In command grammar, allowed some expressions while only numbers
  where accepted.
- Renamed 'info maps' info 'walk maps' and let it work on any
  process.
2003-01-30 00:24:18 +00:00
Dan Kegel 8b429f766d Add real syntax doc for LABEL command. 2003-01-30 00:15:50 +00:00
Shachar Shemesh fc0d07f8cf Implemented font selection.
Added accelerators resources.
2003-01-28 01:10:28 +00:00
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Alexandre Julliard f8aa3b506c Added -Wpointer-arith gcc flag, and fixed the resulting warnings. 2003-01-23 21:32:35 +00:00