Commit Graph

  • 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
  • daee16e053 * pathnames.sgml (mount-table): Add missing slash in pathname. Corinna Vinschen 2009-12-23 10:43:45 +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
  • b2e79f9800 Fix 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
  • 1b71ce005c Throughout, 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
  • 57a2873a5d * fhandler_console.cc (__vt100_conv): Minor formatting change. Corinna Vinschen 2009-12-19 15:40:31 +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
  • f16706de97 Throughout, 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
  • 70757043bf include/elf/ * common.h (NT_S390_HIGH_GPRS): Define. Ulrich Weigand 2009-12-18 16:21:51 +0000
  • ae8547442b * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter. (func-cygwin-conv-path-list): Fix typo. (func-cygwin-posix-path-list-p): Ditto. Corinna Vinschen 2009-12-18 10:11:56 +0000
  • e8ba393273 * config.sub, config.guess: Update from upstream sources. Ben Elliston 2009-12-18 03:39:58 +0000
  • d0e99ecc19 * ps.cc (main): Return 0 if pid found. Christopher Faylor 2009-12-18 03:34:59 +0000
  • b292054cac 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-17 21:48:49 +0000
  • f5efef6413 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-17 21:12:49 +0000
  • a97a996ff7 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-17 21:08:04 +0000
  • a390368122 2009-12-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-17 20:41:44 +0000
  • 296df5189a 2008-12-17 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-17 20:40:06 +0000
  • bbe9636fd8 2009-12-17 Jerker Back <jerker.back@gmail.com> Jeff Johnston 2009-12-17 20:04:43 +0000
  • 8b917fbcdd 2009-12-17 Jerker Back <jerker.back@gmail.com> Jeff Johnston 2009-12-17 19:43:43 +0000
  • 6fe2eb4c80 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org> Jeff Johnston 2009-12-17 19:26:38 +0000
  • 9ad56b2726 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org> Jeff Johnston 2009-12-17 19:24:22 +0000
  • f10d348770 2009-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
  • 375dbb9d4c 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org> Jeff Johnston 2009-12-17 16:10:41 +0000
  • 214f44da10 * signal.cc (nanosleep): Support 'infinite' sleep times. (sleep): Avoid uninitialized memory. Eric Blake 2009-12-17 14:04:04 +0000
  • 6681dfdc8c PR 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
  • 377b190270 2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com> Jeff Johnston 2009-12-16 21:35:51 +0000
  • 6bd43918eb 2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de> Jeff Johnston 2009-12-16 20:00:55 +0000
  • a13e3a7bf2 2009-12-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2009-12-16 19:33:10 +0000
  • 39e5af4aed 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org> Jeff Johnston 2009-12-16 18:30:20 +0000
  • 32a08d0e75 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org> Jeff Johnston 2009-12-16 18:28:15 +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
  • 47c756dd7a 2009-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
  • a4a2296704 2009-12-14 Doug Kwan <dougkwan@google.com> Doug Kwan 2009-12-15 02:02:39 +0000
  • 531e23564b 2009-12-14 Maxim Kuvyrkov <maxim@codesourcery.com> Jeff Johnston 2009-12-14 20:50:53 +0000
  • a3bb10f356 * faq-setup.xml (faq.setup.mirror): Fix URL to wget. Corinna Vinschen 2009-12-14 17:15:51 +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
  • cfc4fc9deb Fix 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
  • 655e435357 2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de> Jeff Johnston 2009-12-10 17:12:11 +0000
  • e6291536c7 2009-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
  • ad0ae5d83a Fix some *at declarations. Eric Blake 2009-12-08 13:50:41 +0000
  • 1d30ae1236 Sync 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
  • ed2e3d2f5f include/ 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> David Daney 2009-12-03 17:01:46 +0000
  • df8d921e12 2009-12-03 Craig Howland <howland@LGSInnovations.com> Jeff Johnston 2009-12-03 16:11:27 +0000
  • 2bc3381e5c * fhandler_socket.cc (send_internal): Don't split datagram messages into pieces. Corinna Vinschen 2009-12-02 15:23:03 +0000
  • 39276d4bce PR 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
  • cfdd76f143 config: * 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
  • ff928075e9 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-28 06:07:27 +0000
  • bde3635669 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-28 05:28:35 +0000
  • 575e8668bd * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000, EM_TI_C5500, EM_CUDA): Define. (EM_res140, EM_res141, EM_res142): Remove. Joseph Myers 2009-11-28 03:18:00 +0000
  • 667d9ad130 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in comments. Always open file synchronized when reading header bytes, otherwise suffer stack corruption. Corinna Vinschen 2009-11-27 14:27:22 +0000
  • 3449d470ba * cygcheck.cc (dump_sysinfo): Fix typo in products. Corinna Vinschen 2009-11-27 10:01:50 +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
  • e92d0abecf Use 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
  • d9e9c7b5a7 * globals.cc (ro_u_dll): New R/O unicode string. * syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to blessed_executable_suffixes array. Explain why. Corinna Vinschen 2009-11-21 12:44:13 +0000
  • fe6f5bbeaa 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-21 05:26:02 +0000
  • 3cd3c5b30c 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net> Chris Sutcliffe 2009-11-21 03:46:37 +0000
  • bed4952298 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-21 03:25:23 +0000
  • 03312ffc1f 2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net> Chris Sutcliffe 2009-11-21 00:55:51 +0000
  • 0dcfbad035 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-21 00:44:50 +0000
  • 67779b719c 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net> Chris Sutcliffe 2009-11-21 00:38:55 +0000
  • 626e7233d9 2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net> Chris Sutcliffe 2009-11-20 23:59:11 +0000
  • 547f15d128 2009-20-10 Heiko Hund <heiko@ist.eigentlich.net> Chris Sutcliffe 2009-11-20 23:54:02 +0000
  • 21d105b7c6 2009-20-10 Michael James <james.me@gmail.com> Chris Sutcliffe 2009-11-20 23:46:05 +0000
  • 64d9a4c6e6 2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi> Chris Sutcliffe 2009-11-20 23:32:27 +0000
  • 7c404cf4ed 2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net> Chris Sutcliffe 2009-11-20 23:16:40 +0000
  • b87c3e2791 2009-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
  • 7a35264853 sync config with gcc: Paolo Bonzini 2009-11-20 10:12:01 +0000
  • 04fd8bea65 2009-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
  • b425cbf482 2009-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
  • edabf07696 2009-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