Commit Graph

575 Commits

Author SHA1 Message Date
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
Dan Kegel ba02ae412e Added Windows-compatible start.exe. 2003-01-21 20:14:36 +00:00
Dan Kegel 74e15940cc \ at EOL in string now behaves like in msvc6's rc. 2003-01-21 00:28:28 +00:00
Alexandre Julliard 36bf792fd7 Use proper file sharing parameters when opening files.
Fixed handling of 'if a == b' syntax in batch files.
2003-01-15 03:35:32 +00:00
Shachar Shemesh c5eb897d98 - Added a "runCmd" function, based on Andreas Mohr's
"BOOT_CreateProcess" function.
- Added a function "ProcessRunKeys", to process all the keys that have
  the common "Run" syntax.
- Called the new function from main for all the various keys.
2003-01-15 00:52:36 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Shachar Shemesh 606b48a09d - Added listing of what the boot process is like, listing what is and
what is not (yet) done.
- Fixed incorrect statement in the "bugs" list.
- Added trace when everything is done.
2003-01-14 19:33:12 +00:00
Alexandre Julliard b69389520c Added configure check for regex.h. 2003-01-13 18:41:40 +00:00
Alexandre Julliard 76db6b062e Warning fixes. 2003-01-11 22:50:15 +00:00
Eric Pouech 6843fee633 Added 'info symbol' command to look for defined symbols. 2003-01-11 22:48:42 +00:00
Shachar Shemesh 73a7cdac0b Implemented the "pending rename" registry processing. 2003-01-11 21:02:50 +00:00
Eric Pouech 1880800603 Added the GUI part for setting the edition mode flavor. 2003-01-11 21:00:20 +00:00
Liu Spider cc67041279 Added Simplified Chinese resources. 2003-01-10 01:48:14 +00:00
Eric Pouech 5477453cc6 Added an edition mode flavor (win32/emacs...) to the console settings
in the registry.
2003-01-09 06:01:51 +00:00
Eric Pouech 9957754bd8 Removed emacs edition flavor (it's now a console attribute). 2003-01-09 06:00:09 +00:00
Liu Spider 9b5375e5ee Added Simplified Chinese resources. 2003-01-09 00:51:09 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Eric Pouech fde8806673 Fixed protocol packet handling when winedbg is too slow to answer. 2003-01-07 19:45:40 +00:00
Shachar Shemesh 4bb180c9fa - Cleaned up the code (saving on chaining strings) by CDing to the
system root directory before doing anything else.
- Will now rename wininit.ini to wininit.bak instead of erasing it as
  before.
2003-01-07 19:44:00 +00:00
Eric Pouech eac6727c8f - fixed some update problems (generic & while scrolling)
- now generating key event for Ctrl-[A-Z] that our editline understands
- implemented cursor visibility
2003-01-07 19:39:25 +00:00
Eric Pouech 9ca4119688 Fixed some bugs in cast operator. 2003-01-05 20:38:05 +00:00
Shachar Shemesh 0e1e0db034 Change the SUBLANG_NEUTRAL clause in all winelib applications to
SUBLANG_DEFAULT, as they should be.
2003-01-05 01:08:14 +00:00