summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release
Commit message (Collapse)AuthorAgeFilesLines
* * include/netinet/ip6.h: New file, copied from FreeBSD vebatim.Corinna Vinschen2014-01-181-0/+2
|
* *** empty log message ***Corinna Vinschen2014-01-171-0/+12
|
* .Christopher Faylor2014-01-081-0/+3
|
* * fhandler.h: Update copyright.Christopher Faylor2014-01-041-0/+3
| | | | | | | | | | | | | | | | | | | (cltype): New enum. (dev_console::console_attrs): Define struct name. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. * fhandler_console.cc: Update copyright. Throughout, reflect change in arguments to fhandler_console::clear_screeen. (fhandler_console::mouse_aware): Simplify logic slightly. (fhandler_console::scroll_screen): Remove hopefully obsolete win95 code. (dev_console::console_attrs::set_cl_x): New function. (dev_console::console_attrs::set_cl_y): New function. (fhandler_console::clear_screen): Redefine input params. Calculate position based on enum value. (region_split): Change arguments. Simplify. (ReadConsoleOutputWrapper): Remove coord argument since we now always use 0, 0. Send extra arguments to region_split.
* .Christopher Faylor2013-12-311-0/+4
|
* *** empty log message ***Corinna Vinschen2013-12-181-0/+3
|
* .Christopher Faylor2013-12-181-0/+6
|
* * fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.Christopher Faylor2013-12-171-0/+3
| | | | * fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto.
* * syscalls.cc (NT_TRANSACTIONAL_ERROR): Define.Corinna Vinschen2013-12-111-0/+5
| | | | | | | | | | | (stop_transaction): Take "trans" HANDLE by reference and set it to NULL after closing it. (unlink_nt): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile. Simplify check for having to call stop_transaction. (rename): If NtOpenFile fails due to a transactional error, stop transaction and retry NtOpenFile in both affected cases. Simplify check for having to call stop_transaction and add comment from unlink_nt.
* signal hangChristopher Faylor2013-12-091-0/+10
|
* *** empty log message ***Corinna Vinschen2013-12-081-0/+1
|
* * path.cc (symlink_native): Workaround Windows 8.1 bug: Drop long pathCorinna Vinschen2013-12-071-0/+9
| | | | prefix from symlink target path. Add comment to explain why.
* .Christopher Faylor2013-12-011-2/+5
|
* * dtable.cc (build_fh_pc): When creating an archetype, use native name ratherChristopher Faylor2013-12-011-0/+6
| | | | than unix name if name doesn't exist.
* * syscalls.cc (try_to_bin): Take additional parameter to get file openCorinna Vinschen2013-11-271-0/+4
| | | | | | | flags. If the file to move to the bin has been opened casesensitive, reopen it caseinsensitive. Explain why. Revert the default name of the Vista-and-later recycler to mixed case for readability. (unlink_nt): Call try_to_bin with file open flags as evaluated.
* * common.din: Export posix_spawn[...] functions.Corinna Vinschen2013-11-261-0/+3
| | | | | | | * exec.cc (execve): Add EXPORT_ALIAS _execve. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-susv4): Add posix_spawn[...] here. (std-notimpl): Drop here.
* *** empty log message ***Corinna Vinschen2013-11-241-0/+2
|
* * ntdll.h (RtlGetVersion): Declare.Corinna Vinschen2013-11-191-0/+4
| | | | | | | * wincap.cc (wincapc::init): Rather than GetVersionEx, call RtlGetVersion which is not crippled by missing Windows 8.1 manifest. * wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW. Align formatting of all class members.
* * wincap.cc (wincapc::init): Revert previous change. It's not working.Corinna Vinschen2013-11-191-4/+0
|
* *** empty log message ***Corinna Vinschen2013-11-191-0/+4
|
* * autoload.cc (IdnToAscii): Define.Corinna Vinschen2013-11-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (IdnToUnicode): Define. (FreeAddrInfoW): Define. (GetAddrInfoW): Define. (GetNameInfoW): Define. * net.cc: Drop W. Richard STEVENS libgai implementation. (cygwin_freeaddrinfo): Move code from ipv4_freeaddrinfo here. Move definition up in file to avoid forward declaration in ga_duplist. (ga_dup): Take addrinfoW as input. Add parameters to get IDN flags and to set error value. Handle IDN flags and especially AI_CANONIDN. Convert input wchar_t ai_canonname string to multibyte for output. (ga_duplist): Add parameters to get IDN flags and to set error value and propagate to ga_dup. Call cygwin_freeaddrinfo. (gai_errmap): Add comments. Align error strings to GLibc. Add EAI_IDN_ENCODE entry. (get_ipv6_funcs): Remove. (load_ipv6_guard): Remove. (ipv6_inited): Remove. (load_ipv6): Remove. (load_ipv6_funcs): Remove. (cygwin_getaddrinfo): Drop calling load_ipv6. Handle AI_IDN* flags. Convert input strings to wchar_t and call GetAddrInfoW/FreeAddrInfoW. In case hints is NULL, set default ai_flags explicitely to AI_V4MAPPED | AI_ADDRCONFIG, as documented for Glibc. Only add AI_ALL if AI_ADDRCONFIG is not given. Unconditionally add Windows-specific AI_DISABLE_IDN_ENCODING to ai_flags to make IDN behaviour compatible to Glibc even on Windows 8 and later. (cygwin_getnameinfo): Drop calling load_ipv6. Handle NI_IDN* flags. Call GetNameInfoW and convert returned strings from wchar_t to multibyte. * include/netdb.h: Add comments to describe flags and error values. (AI_*): Define all flags using hex values for clearness. (AI_IDN): Define. (AI_CANONIDN): Define. (AI_IDN_ALLOW_UNASSIGNED): Define. (AI_IDN_USE_STD3_ASCII_RULES): Define. (NI_*): Define all flags using hex values for clearness. (NI_IDN): Define. (NI_IDN_ALLOW_UNASSIGNED): Define. (NI_IDN_USE_STD3_ASCII_RULES): Define. (EAI_IDN_ENCODE): Define.
* *** empty log message ***Corinna Vinschen2013-11-191-0/+2
|
* *** empty log message ***Corinna Vinschen2013-10-301-0/+11
|
* *** empty log message ***Corinna Vinschen2013-10-281-3/+4
|
* * exception.h: Fold in content of include/exceptions.h.Corinna Vinschen2013-10-271-0/+3
| | | | * include/exceptions.h: Remove.
* * devices.in (dev_storage): Map /dev/dsp to \Device\Null.Corinna Vinschen2013-10-261-2/+6
| | | | | | | | | | | * devices.cc: Regenerate. * fhandler_dsp.cc (fhandler_dev_dsp::open): Call fhandler_base::open. (fhandler_dev_dsp::close): Call fhandler_base::close. (fhandler_dev_dsp::fixup_after_fork): Call fhandler_base::fixup_after_fork. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Call fhandler_base::fixup_after_fork.
* * flock.cc (fhandler_base::lock): Only refuse to lock nohandle andCorinna Vinschen2013-10-251-2/+2
| | | | | | | | old-style console devices when called to perform BSD flock locking. Add a FIXME to comment and align description. * ntdll.h (THREADINFOCLASS): Following MSDN, rename throughout from THREAD_INFORMATION_CLASS.
* * devices.in (dev_storage): Map /dev/clipboard to \Device\Null.Corinna Vinschen2013-10-251-3/+3
| | | | | | | | | | | * devices.cc: Regenerate. * fhandler.h (fhandler_dev_clipboard::open): Drop declaration. * fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Drop call to open. Set private members to 0 and call fhandler_base::dup. (fhandler_dev_clipboard::open): Remove so that default fhandler_base::open is used to open \Device\Null. (set_clipboard): Drop gratuitios call to RegisterClipboardFormatW. (fhandler_dev_clipboard::close): Call fhandler_base::close from here.
* * fhandler_clipboard.cc (fhandler_dev_clipboard::open): Drop gratuitiosCorinna Vinschen2013-10-251-0/+2
| | | | | | handling of membuffer. It's NULL anyway. (fhandler_dev_clipboard::lseek): Set membuffer to NULL after freeing it to avoid subsequent crashes when accessing invalid pointer.
* * devices.in (dev_storage): Map /dev/random and /dev/urandom toCorinna Vinschen2013-10-251-3/+3
| | | | | | | | | | | | | | \Device\Null. * devices.cc: Regenerate. * fhandler.h (fhandler_dev_random::open): Drop declaration. (fhandler_dev_random::close): Ditto. (fhandler_dev_random::crypt_gen_random): Convert to static method. * fhandler_random.cc (fhandler_dev_random::open): Remove so that default fhandler_base::open is used to open \Device\Null. (fhandler_dev_random::close): Ditto. * fhandler_socket.cc (entropy_source): Delete. (fhandler_socket::af_local_set_secret): Remove entropy_source code and call fhandler_dev_random::crypt_gen_random directly instead.
* * devices.in (dev_storage): Map /dev/zero and /dev/full to \Device\Null.Corinna Vinschen2013-10-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * devices.cc: Regenerate. * dtable.h (struct dtable): Make fhandler_base friend, rather than fhandler_disk_file. * fhandler.cc (fhandler_base::open_with_arch): Create unique id. (fhandler_base::cleanup): Call del_my_locks. (fhandler_base::fcntl): Handle F_GETLK, F_SETLK and F_SETLKW. * fhandler.h (fhandler_base::get_dev): Return real device number. (fhandler_base::set_unique_id): New inline method. (fhandler_disk_file::lock): Drop declaration. (fhandler_disk_file::get_dev): New method, return pc.fs_serial_number. (fhandler_dev_zero::open): Drop declaration. * fhandler_disk_file.cc (fhandler_disk_file::close): Move del_my_locks call to fhandler_base::open_with_arch. (fhandler_disk_file::fcntl): Move handling of locking commands to fhandler_base::fcntl. (fhandler_base::open_fs): Drop call to NtAllocateLocallyUniqueId. * fhandler_zero.cc (fhandler_dev_zero::open): Remove so that default fhandler_base::open is used to open \Device\Null. * flock.cc (fixup_lockf_after_exec): Finding a single fhandler is enough here. (fhandler_base::lock): Replace fhandler_disk_file::lock. Refuse to lock nohandle devices. Handle read/write test using POSIX flags. Explain why. Never fail on SEEK_CUR or SEEK_END, rather assume position 0, just as Linux. * net.cc (fdsock): Create unique id.
* .Christopher Faylor2013-10-191-0/+3
|
* * fhandler_process.cc (format_process_ctty): Fix random content ofCorinna Vinschen2013-10-161-0/+3
| | | | | /proc/$PID/ctty if the process has no controlling tty. Set to just "\n" instead.
* *** empty log message ***Corinna Vinschen2013-10-151-0/+4
|
* * sigproc.h (hold_everything::ischild): Declare as reference.Christopher Faylor2013-09-251-0/+13
| | | | | (hold_everything::hold_everything): Store address of caller's notion of "ischild".
* *** empty log message ***Corinna Vinschen2013-08-301-1/+3
|
* .Christopher Faylor2013-08-301-0/+4
|
* cygwin changes:Christopher Faylor2013-08-231-4/+2
| | | | | | | | * spawn.cc (child_info_spawn): Revert previous change. Always set lpReserved2. * release/1.7.25: Change wording. doc changes: * new-features.xml (ov-new1.7.25): Change wording.
* *** empty log message ***Corinna Vinschen2013-08-231-0/+5
|
* * fhandler_tape.cc (mtinfo_drive::create_partitions): Allow partitioningCorinna Vinschen2013-08-211-0/+3
| | | | | | | | | of drives supporting select partitions. (mtinfo_drive::get_status): Fill in current partition and number of partitions on tape into mt_resid. * include/cygwin/mtio.h (struct mtget): Align mt_resid comment to aforementioned change. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * fhandler_tape.cc (mtinfo_drive::create_partitions): Fix long-standingCorinna Vinschen2013-08-201-0/+15
| | | | | | | | bug disabling creation of two partitions on drives supporting initiator partitions. (mtinfo_drive::set_blocksize): Update media information after setting blocksize succeeded. (mtinfo_drive::get_status): Fetch fresh media information.
* * include/sys/cygwin.h (struct per_process): Add posix_memalign. ReduceCorinna Vinschen2013-08-141-0/+13
| | | | | | | | | | size of unused2 accordingly. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Initialize u->posix_memalign with address of posix_memalign. * malloc_wrapper.cc (posix_memalign): Call user-provided posix_memalign rather than just returning ENOSYS. * globals.cc (__cygwin_user_data): Initialize posix_memalign member.
* *** empty log message ***Corinna Vinschen2013-07-311-0/+3
|
* *** empty log message ***Corinna Vinschen2013-07-301-2/+6
|
* cygwin directory changes:Christopher Faylor2013-07-261-0/+3
| | | | | | | | | | | | | * environ.cc (tty_is_gone): Delete. (known): Delete tty, add wincmdln. * globals.cc: Reorganize list of environment bools, remove explicit = false for slight load time optimization. (wincmdln): New global. * spawn.cc (child_info_spawn::worker): Honor wincmdln. doc directory changes: * new-features.sgml (ov-new1.7.23): Add new section. Mention wincmdln. * cygwinenv.xml: Mention wincmdln.
* *** empty log message ***Corinna Vinschen2013-07-241-0/+15
|
* * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible.Corinna Vinschen2013-07-211-0/+5
| | | | Add comment to explain.
* * exceptions.cc (signal_exit): Add a FIXME comment.Christopher Faylor2013-07-191-0/+4
|
* .Christopher Faylor2013-07-191-0/+3
|
* *** empty log message ***Corinna Vinschen2013-07-191-0/+16
|