37520977df* fhandler_console.cc (handler_console::read): Use the tty's VERASE character as the backspace keycode.
Christopher Faylor
2009-12-25 17:38:46 +0000
14c622c6e3* path.cc (symlink_info::check): Set fileattr to FILE_ATTRIBUTE_DIRECTORY in a certain error condition. Explain why.
Corinna Vinschen
2009-12-24 12:53:43 +0000
4c9a77261e* select.cc (fhandler_fifo::select_read): Fill in device specific record. (fhandler_fifo::select_write): Ditto. (fhandler_fifo::select_except): Ditto.
Christopher Faylor
2009-12-23 00:35:18 +0000
b2e79f9800Fix getsubopt declaration.
Eric Blake
2009-12-22 13:07:24 +0000
59cb363a5f* path.cc (cygwin_conv_path): Add band-aid including comment to avoid conversion from POSIX "." to Win32 ".\\".
Corinna Vinschen
2009-12-21 16:44:37 +0000
6d63272b53* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce a NULL return when executable isn't found in $PATH. Convert NULL to "". (execvpe): Ditto. * spawn.cc (spawn_guts): Return with EFAULT if prog_arg is NULL. Return with ENOENT if prog_arg is empty string. Add a comment.
Corinna Vinschen
2009-12-21 15:16:28 +0000
b2d6e5dfd3* fhandler_console.cc (get_nonascii_key): Generate ESC prefix for Alt modifier generically for function keys and keypad keys. Distinguish Normal, Ctrl, Shift, Ctrl-Shift rather than Normal, Ctrl, Shift, Alt, so that in combination with generic Alt handling all 8 combinations of these modifiers are distinguished. (keytable): Add escape sequences for remaining modified function keys as a compatible extension using rxvt escape codes. Also distinguish keypad keys modified with Ctrl, Shift, Ctrl-Shift using xterm-style modifier coding.
Corinna Vinschen
2009-12-21 10:11:27 +0000
1b71ce005cThroughout, revert ill-conceived replacement of hMainThread with GetCurrentThread/NtCurrentThread. * dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread again.
Corinna Vinschen
2009-12-21 09:38:25 +0000
8fd4bd2bf1* fhandler_console.cc (write_console): Check for VT100 graphics mode and transform wide characters in ASCII small letter range to corresponding graphics. (__vt100_conv): Table to transform small ASCII letters to line drawing graphics for use in VT100 graphics mode. (write_normal): Check for SO/SI control characters to enable/disable VT100 graphics mode. (base_chars): Enable SO/SI control characters for detection. (write): Check for ESC ( 0 / ESC ( B escape sequences to enable/disable VT100 graphics mode. Also detect ">" while parsing ESC [ sequences to distinguish specific requests. (char_command): Distinguish Secondary from Primary Device Attribute request to report more details about cygwin console terminal version. * fhandler.h (vt100_graphics_mode_active): New flag to indicate mode. (saw_greater_than_sign): New parse flag for ESC [ > sequences. (gotparen, gotrparen): New state values to parse ESC ( / ) sequences.
Corinna Vinschen
2009-12-19 15:37:10 +0000
d954168ddb* signal.cc (nanosleep): Fix bug in previous patch.
Eric Blake
2009-12-19 00:58:34 +0000
f16706de97Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess according to context. Throughout, replace hMainThread with GetCurrentThread/NtCurrentThread according to context. * dcrt0.cc (dll_crt0_0): Drop duplication of GetCurrentProcess to hMainProc. Drop duplication of GetCurrentThread to hMainThread. * dtable.cc (dtable::stdio_init): Remove useless comment. * globals.cc (hMainProc): Remove. (hMainThread): Remove. * ntdll.h (NtCurrentProcess): Define. (NtCurrentThread: Define.
Corinna Vinschen
2009-12-18 20:32:04 +0000
333a47d316* fhandler.h (fhandler_registry::value_name): Convert to wchar_t*. * fhandler_registry.cc: Call UNICODE registry functions throughout and convert to multibyte using current locale's charset. Accommodate throughout. (must_encode): Take wchar_t. (encode_regname): Convert from wchar_t *. (decode_regname): Convert to wchar_t *.
Corinna Vinschen
2009-12-18 17:14:21 +0000
f10d3487702009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston
2009-12-17 19:22:23 +0000
314c2d2fed* syscalls.cc (try_to_bin): Handle remote shares as well. Just rename files in this case, instead of moving them to the recycler. Create even more unique filename. Add comment to explain filename. (unlink_nt): Remove code returning with EBUSY on remote shares. Set bin_stat to move_to_bin except on NFS. Add comment to explain.
Corinna Vinschen
2009-12-17 18:33:05 +0000
214f44da10* signal.cc (nanosleep): Support 'infinite' sleep times. (sleep): Avoid uninitialized memory.
Eric Blake
2009-12-17 14:04:04 +0000
6681dfdc8cPR ld/11088 include/elf/ * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Delete. (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define. bfd/ * elf32-ppc.c (update_plt_info): Clear sec here when addend is less than 32768.. (ppc_elf_check_relocs): ..rather than doing so here. Ignore new relax relocs. (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has removed plt_entry records. (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount when optimizing code using new tlsgd and tlsld marker relocs. (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs from ADDR24 relocs using plt or glink. Don't clear the addend for R_PPC_RELAX_PLTREL24. (ppc_elf_relocate_section): Correctly handle addends on relaxed PLTREL24 relocs.
Alan Modra
2009-12-17 05:45:25 +0000
377b1902702009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston
2009-12-16 21:35:51 +0000
6bd43918eb2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston
2009-12-16 20:00:55 +0000
a13e3a7bf22009-12-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2009-12-16 19:33:10 +0000
beeae48288* fhandler_console.cc (read): Detect and handle mouse wheel scrolling events (for completion of mouse reporting mode 1000) and mouse movement events (for additional mouse reporting modes 1002 and 1003). Use mouse_aware() as a guard and only condition for mouse reporting in order to enforce consistence of read() and select(). Add focus reports (for additional focus reporting mode 1004). (mouse_aware): Enable detection of additional mouse events for select(). Tune function to precisely match actual reporting criteria. Move adjustment of mouse position (by window scroll offset) here to avoid duplicate code. (char_command): Initialization of enhanced mouse reporting modes. Initialization of focus reporting mode. * fhandler.h (use_mouse): Change flag (bool->int) to indicate additional mouse modes. Add flag to indicate focus reporting. (mouse_aware): Move enhanced function into fhandler_console.cc. * select.cc (peek_console): Use modified mouse_aware() for more general detection of mouse events. Also check for focus reports.
Corinna Vinschen
2009-12-16 14:56:10 +0000
7077c48e54* regtool.cc: Throughout, convert all registry calls to wide char calls and use string conversion according to current locale. (longopts): Change "dword-le" to "dword-be", as was originally intended. (usage): Change usage accordingly. (print_version): Simplify copyright dates in output. (cmd_list): Handle REG_LINK like REG_SZ. (cmd_get): Ditto. (main): Call setlocale. * utils.sgml (regtool): Fix options and add missing descriptions for new features.
Corinna Vinschen
2009-12-16 14:02:57 +0000
d1600b38c0* registry.cc (cygnus_class): Remove. (reg_key::build_reg): Don't set class when creating key.
Corinna Vinschen
2009-12-16 13:09:46 +0000
47c756dd7a2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston
2009-12-15 19:34:08 +0000
2f5d8f7bd0* net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR) on stream sockets under systems supporting enhanced socket security.
Corinna Vinschen
2009-12-15 17:08:20 +0000
f04f6d49fa* fhandler_console.cc (char_command): Fix code to select dim mode to 2 rather than 9. Add entries for mode 22 (normal, not bold) 28 (visible, not invisible), 25 (not blinking).
Corinna Vinschen
2009-12-15 12:46:40 +0000
5d5594597e* libc/getopt.c (getopt_internal): Set optreset according to optind setting earlier. Reevaluate POSIXLY_CORRECT if optreset is set to !0. Handle a leading '-' in options independently of posixly_correct.
Corinna Vinschen
2009-12-14 10:47:25 +0000
cfc4fc9debFix reference to putchar.o and puts.o which were moved to newlib as part of initial check-in.
Jeff Johnston
2009-12-10 17:22:11 +0000
655e4353572009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston
2009-12-10 17:12:11 +0000
e6291536c72009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston
2009-12-10 17:07:04 +0000
d0f9de23a1* fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it has been explicitly set. * include/cygwin/version.h: Bump DLL minor version number to 2.
Christopher Faylor
2009-12-09 16:52:43 +0000
ad0ae5d83aFix some *at declarations.
Eric Blake
2009-12-08 13:50:41 +0000
1d30ae1236Sync with GCC:
Kaveh Ghazi
2009-12-07 20:24:59 +0000
6d67afbe9c* include/cygwin/version.h: Bump DLL minor version number to 1.
Corinna Vinschen
2009-12-06 12:24:34 +0000
ed2e3d2f5finclude/ 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com>
David Daney
2009-12-03 17:01:46 +0000
df8d921e122009-12-03 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2009-12-03 16:11:27 +0000
39276d4bcePR binutils/11017 * dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
Nick Clifton
2009-12-02 14:04:15 +0000
725d792fe1* setup2.sgml (setup-env): Clarify that Windows environment gets copied over. Add paragraph about TMP, TEMP, and TMPDIR.
Corinna Vinschen
2009-12-02 09:36:54 +0000
b4a3a3e367* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry directory and siblings as nohandle fhandler.
Corinna Vinschen
2009-12-01 16:31:04 +0000
cfdd76f143config: * largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET.
Joseph Myers
2009-11-30 16:46:38 +0000
c84fd8fe23* speclib: Use last dll found since that's the real name of the cygwin DLL.
Christopher Faylor
2009-11-30 15:40:23 +0000
19ac72547f* setfacl.c (getaclentry): Allow to delete default entries for the owner and owner group.
Corinna Vinschen
2009-11-29 14:28:29 +0000
ff928075e92009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-28 06:07:27 +0000
bde36356692009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-28 05:28:35 +0000
7bdbf062cd* dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather than hMainProc as process handle when duplicating the stdout handle. Explain why. Add Win32 error code to debug output.
Corinna Vinschen
2009-11-26 10:58:06 +0000
b2225216e9* rx/rx.ld: Place .sbss properly. * rx/rx-sim.ld: Likewise.
DJ Delorie
2009-11-25 20:20:25 +0000
83e8d44112* zlib.m4: New file.
Joel Brobecker
2009-11-24 22:35:29 +0000
cca5b2f53e[sim] * rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate.
DJ Delorie
2009-11-24 19:22:44 +0000
e92d0abecfUse NetBSD fix for CVE-2009-0689 security vulnerability. * libc/include/sys/reent.h (_Kmax): Define here based on the sizeof size_t, as in latest NetBSD. * libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant value 15. * libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
Corinna Vinschen
2009-11-23 17:02:20 +0000
27bbefdefd* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add socket handle value to debug output. (fhandler_socket::fixup_after_fork): Ditto. Make new socket handle OVERLAPPED, just as if it has been created with socket(). * net.cc (fdsock): Close duplicated socket and explain why. Disable the entire WSADuplicateSocket test for now and explain why.
Corinna Vinschen
2009-11-23 14:50:14 +0000
013e402bfc* fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only call fhandler_base::set_close_on_exec for inheritable sockets.
Corinna Vinschen
2009-11-23 12:21:39 +0000
83fb2eceda* cgen.h: Include bfd_stdint.h. (CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
Doug Evans
2009-11-23 03:56:29 +0000
fe6f5bbeaa2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-21 05:26:02 +0000
3cd3c5b30c2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe
2009-11-21 03:46:37 +0000
bed49522982009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-21 03:25:23 +0000
03312ffc1f2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe
2009-11-21 00:55:51 +0000
0dcfbad0352009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-21 00:44:50 +0000
67779b719c2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-21 00:38:55 +0000
626e7233d92009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>
Chris Sutcliffe
2009-11-20 23:59:11 +0000
547f15d1282009-20-10 Heiko Hund <heiko@ist.eigentlich.net>
Chris Sutcliffe
2009-11-20 23:54:02 +0000
21d105b7c62009-20-10 Michael James <james.me@gmail.com>
Chris Sutcliffe
2009-11-20 23:46:05 +0000
64d9a4c6e62009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Chris Sutcliffe
2009-11-20 23:32:27 +0000
7c404cf4ed2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net>
Chris Sutcliffe
2009-11-20 23:16:40 +0000
b87c3e27912009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-11-20 15:14:17 +0000
0680fe0a6e* libc/machine/rx/strncat.S (_strncat): Replace use of r6 (call-saved) with r14 (call-used).
Nick Clifton
2009-11-20 12:54:29 +0000
7a35264853sync config with gcc:
Paolo Bonzini
2009-11-20 10:12:01 +0000
04fd8bea652009-11-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2009-11-20 10:10:09 +0000
9fa63f7a5e* flock.cc (fhandler_disk_file::lock): Disable a shortcut from the original BSD code, but keep it in and documented why we can't use it.
Corinna Vinschen
2009-11-18 20:05:46 +0000
b425cbf4822009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>
Jeff Johnston
2009-11-18 17:50:20 +0000
7d5ae9ccf7* overview2.sgml (ov-hi-files): Remove reference to root directory when explaining fstab content. Add paragraph about Extended Attributes. Discourage chroot.
Corinna Vinschen
2009-11-18 16:07:05 +0000
b1d699c434* ntea.cc (read_ea): Always add length of "user." prefix, not only on Samba. Change comment.
Corinna Vinschen
2009-11-18 15:57:08 +0000
edabf076962009-11-18 Paul Brook <paul@codesourcery.com>
Paul Brook
2009-11-18 15:48:59 +0000
f43332c071* alloca-conf.h: Clarify comment.
Alan Modra
2009-11-18 11:57:44 +0000
7b426e9f4a* ntea.cc (read_ea): Try to open file first to have more sensible error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Fix handling of empty (== non-existant) EAs. Always prepend "user." prefix to EA names. (write_ea): Try to open file first to have more sensible error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Delay skipping "user." prefix until after potential call to read_ea.
Corinna Vinschen
2009-11-18 11:57:41 +0000
b4fee5273e* libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call to _mbtowc_r with direct call to __mbtowc. * libc/stdio/vfscanf.c: Ditto. * libc/stdlib/btowc.c: Include local.h. Replace call to _mbtowc_r with direct call to __mbtowc. * libc/stdlib/mblen.c: Ditto. * libc/stdlib/mblen_r.c: Ditto. * libc/stdlib/mbrtowc.c: Ditto. * libc/stdlib/mbstowcs_r.c: Ditto. * libc/stdlib/mbtowc.c: Ditto. * libc/stdlib/wcrtomb.c: Include local.h. Replace call to _wctomb_r with direct call to __wctomb. * libc/stdlib/wcsnrtombs.c: Ditto. (_wcsnrtombs_r): Ditto. * libc/stdlib/wcstombs_r.c: Ditto. * libc/stdlib/wctob.c: Ditto. * libc/stdlib/wctomb.c: Ditto.
Corinna Vinschen
2009-11-18 09:49:57 +0000