Commit Graph

653 Commits

Author SHA1 Message Date
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
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
Shachar Shemesh 175d059527 Initial wineboot implementation; at this stage only wininit.ini
processing has been written.
2003-01-04 02:52:05 +00:00
Chris Morgan c87595c994 Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
2003-01-02 17:47:40 +00:00
Eric Pouech 6a88716104 Fixed several bugs:
- wrong drawing for chars outside the 20-7F range
 - console mouse event generation
 - console Alt-? char event generation
Prefix for curses functions is now WCCURSES_ instead of WCCURSE_.
2002-12-23 01:35:27 +00:00
Eric Pouech ddaacaa0d8 - links can now spread across several elements
- link information is now shared between file & presentation
- first try at handling metafiles
2002-12-16 22:11:11 +00:00
Eric Pouech d1ae001774 Fixed a few issues with the gdb proxy. 2002-12-16 22:10:34 +00:00
Alexandre Julliard f9875bc1ca Added y.tab.[ch] pseudo-dependencies to fix parallel makes. 2002-12-15 01:19:53 +00:00
Eric Pouech 09c9fedfae Added a (n)curses backend to the wineconsole. 2002-12-13 23:37:06 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard 12fbe313f2 Fixed LZCopy return value check. 2002-12-12 23:01:35 +00:00
Alexandre Julliard 2a93f8505c Pass the -J option to wrc to avoid including installed headers. 2002-12-11 01:34:51 +00:00
Sylvain Petreolle 00f5094a57 Implement $V in builtin PROMPT. 2002-12-11 00:15:20 +00:00
Alexandre Julliard 3144b3c85d -DSTRICT is now the default behavior. 2002-12-10 22:49:15 +00:00
Alexandre Julliard 310de886e9 Check file header to differentiate between object files and resources
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard d77294a8ec Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
- preliminary implementation of endpoint-mapping via a new on-demand
  server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
  RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Alexandre Julliard e0c6370c75 Removed some checklink rules made unnecessary by the -z defs linker
flag.
2002-11-30 19:19:44 +00:00
Vincent Béron b1b696b058 Change CRLF end of lines in LF only. 2002-11-30 19:07:29 +00:00
Uwe Bonnes 9e2ab03883 Make wcmd available from inside the source tree. 2002-11-30 02:21:04 +00:00
Matthew Davison 04b1054440 Prevent Winhelp from crashing when it can't find the helpfile. 2002-11-27 20:12:37 +00:00
Alexandre Julliard 1550044e5d Add -lc when linking dlls to avoid warnings on FreeBSD. 2002-11-21 03:47:45 +00:00
Eric Pouech 2b855deddb Wrote back & history support.
Correctly implemented << and >> buttons.
Added support for page level macros.
2002-11-20 19:46:18 +00:00
Eric Pouech 7d75cfed76 Added support for window information from the .hlp file.
Added support for window numbers in link.
2002-11-18 19:48:11 +00:00