summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * globals.cc (ro_u_dll): New R/O unicode string.Corinna Vinschen2009-11-213-0/+13
| | | | | * syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to blessed_executable_suffixes array. Explain why.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+5
| | | | * include/shlobj.h (SHParseDisplayName): Fix definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2009-11-213-3/+8
| | | | | * include/w32api.h: Increment version to 3.14. * Makefile.in: Ditto.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-0/+7
| | | | | | * include/shlobj.h (SHParseDisplayName): Define. Thanks to James Roberts-Thomson for the report.
* 2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/wingdi.h (ENHMFENUMPROC): Correct definition. Thanks to Alexander Vassilev for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/iprtrmib.h (MIB_IPADDRROW): Correct definition. Thanks to Thomas Denk for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/winbase.h (UnmapViewOfFile): Correct definition. Thanks to Dimitry Sibiryakov for the report.
* 2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>Chris Sutcliffe2009-11-202-0/+6
| | | | * include/sspi.h: Include ntsecapi.h to correct postgresql build error.
* 2009-20-10 Heiko Hund <heiko@ist.eigentlich.net>Chris Sutcliffe2009-11-203-0/+13
| | | | | * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.
* 2009-20-10 Michael James <james.me@gmail.com>Chris Sutcliffe2009-11-204-1/+23
| | | | | | | | | | * include/wingdi.h (CLEARTYPE_QUALITY): Define. * include/winuser.h (WM_KEYLAST): Alternative definition when _WIN32_WINNT >= 0x0501. (WM_UNICHAR,UNICODE_NOCHAR): Define. * lib/comctl32.def (DefSubclassProc@16,GetWindowSubclass@16, RemoveWindowSubclass@12): Add exports. * lib/gdi32.def (GetDCBrushColor@4,GetDCPenColor@4): Add exports.
* 2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>Chris Sutcliffe2009-11-203-0/+61
| | | | | | | | | | | | * include/winuser.h (WM_TOUCHMOVE, WM_TOUCHDOWN, WM_TOUCHUP, TOUCHEVENTF_DOWN, TOUCHEVENTF_INRANGE, TOUCHEVENTF_MOVE, TOUCHEVENTF_NOCOALESCE, TOUCHEVENTF_PALM, TOUCHEVENTF_PEN, TOUCHEVENTF_PRIMARY, TOUCHEVENTF_UP, TOUCHEVENTMASKF_CONTACTAREA, TOUCHEVENTMASKF_EXTRAINFO, TOUCHEVENTMASKF_TIMEFROMSYSTEM, TOUCHINPUT, CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define. * lib/user32.def (CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define.
* 2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+6
| | | | * include/winver.h (VerQueryValue[AW]): Correct definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+22
| | | | | | | * include/shlobj.h (SHARD): Add enum. (SHARD_PATH): Define based on UNICODE. Thanks to Jacek Caban for the report.
* * libc/machine/rx/strncat.S (_strncat): Replace use of r6Nick Clifton2009-11-202-4/+9
| | | | (call-saved) with r14 (call-used).
* sync config with gcc:Paolo Bonzini2009-11-202-1/+5
| | | | | | 2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.
* 2009-11-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2009-11-203-12/+23
| | | | | * config.guess: Sync with upstream and gcc. * config.sub: Sync with upstream and gcc.
* * flock.cc (fhandler_disk_file::lock): Disable a shortcut from theCorinna Vinschen2009-11-182-0/+11
| | | | original BSD code, but keep it in and documented why we can't use it.
* 2009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>Jeff Johnston2009-11-183-0/+8
| | | | | | * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register containing useless constant before advancing fp sp over it. (_f_tanf): Likewise.
* * overview2.sgml (ov-hi-files): Remove reference to root directory whenCorinna Vinschen2009-11-182-13/+24
| | | | | explaining fstab content. Add paragraph about Extended Attributes. Discourage chroot.
* * ntea.cc (read_ea): Always add length of "user." prefix, not onlyCorinna Vinschen2009-11-182-7/+11
| | | | on Samba. Change comment.
* 2009-11-18 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-182-0/+6
| | | | | | | | | gas/ * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16. (aeabi_set_public_attributes): Correctly mark VFPv3xD. include/opcode/ * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.
* * alloca-conf.h: Clarify comment.Alan Modra2009-11-182-1/+6
|
* * ntea.cc (read_ea): Try to open file first to have more sensibleCorinna Vinschen2009-11-182-35/+65
| | | | | | | | | | 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.
* * libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call toCorinna Vinschen2009-11-1815-19/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | _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. * libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from _mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from _wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for ch >= 0.
* 2009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston2009-11-173-2/+7
| | | | | * libm/common/fdlibm.h (logb, logbf): Move decls from here... * libc/include/math.h (logb, logbf): ...to here.
* 2009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-174-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
* Reintegrate socket duplication via WSADuplicateSocket/WSASocket.Corinna Vinschen2009-11-179-8/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc (WSADuplicateSocketW): Define. (WSASocketW): Define. * dtable.cc (dtable::release): Call dec_need_fixup_before if necessary. (dtable::fixup_before_fork): New function. (dtable::fixup_before_exec): New function. * dtable.h (class dtable): Add member cnt_need_fixup_before. Add declarations for above new functions. (dtable::dec_need_fixup_before): New inline method. (dtable::inc_need_fixup_before): New inline method. (dtable::need_fixup_before): New inline method. * fhandler.h (fhandler_base::fixup_before_fork_exec): New virtual method. (fhandler_base::need_fixup_before): New virtual method. (class fhandler_socket): Add member prot_info_ptr. (fhandler_socket::init_fixup_before): Declare. (fhandler_socket::need_fixup_before): New inline method. (fhandler_socket::fixup_before_fork_exec): Declare. (fhandler_socket::fixup_after_exec): Declare. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize prot_info_ptr to NULL. (fhandler_socket::~fhandler_socket): Free prot_info_ptr conditionally. (fhandler_socket::init_fixup_before): New method. (fhandler_socket::fixup_before_fork_exec): Ditto. (fhandler_socket::fixup_after_fork): Use WSASocketW to duplicate socket if necessary. (fhandler_socket::fixup_after_exec): New method. (fhandler_socket::dup): Use fixup_before_fork_exec/fixup_after_fork to duplicate socket if necessary. * fork.cc (frok::parent): Start child suspended if some fhandler needs fixup before fork. If so, call dtable::fixup_before_fork after CreateProcess and resume child. * net.cc (fdsock): Try to find out if socket needs fixup before and initialize socket accordingly. Add HUGE comment to explain what happens and why. * spawn.cc (spawn_guts): Start child suspended if some fhandler needs fixup before exec. If so, call dtable::fixup_before_exec after CreateProcess.
* * Makefile.def: Restore host and target settings for gmp.Alexandre Oliva2009-11-163-15/+26
| | | | * Makefile.in: Rebuild.
* Fix setenv and unsetenv corner cases.Eric Blake2009-11-162-5/+13
| | | | | * environ.cc (setenv): Detect invalid argument. (unsetenv): Distinguish EFAULT from EINVAL.
* * configure.ac: Add libelf to host_libs. Enable in-tree configuryAlexandre Oliva2009-11-166-861/+1979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. * configure.ac (CLooG test): Use = with test. * configure: Regenerate. * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate.
* * pathnames.sgml (pathnames-specialchars): Fix typos.Corinna Vinschen2009-11-162-2/+6
|
* * Makefile.in (cygserver.exe): Link with -static to avoid linkingCorinna Vinschen2009-11-162-1/+6
| | | | against cygstdc++-6.dll due to references to __cxa_pure_virtual.
* 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-8/+18
| | | | | | * include/wingdi.h (_devicemodeW, _devicemodeA): Correct definition. Thanks to Bruno Martinez for the report.
* 2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-0/+16
| | | | | | | | * include/shlobj.h (IDO_SHGIOI_SHARE, IDO_SHGIOI_LINK, IDO_SHGIOI_SLOWFILE, IDO_SHGIOI_DEFAULT, SHGetIconOverlayIndexW, SHGetIconOverlayIndexA, SHGetIconOverlayIndex): Define. Thanks to Tim Kosse for report.
* 2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-1/+7
| | | | | | * include/io.h (_open_osfhandle): Correct definition. Thanks to Alexander Shaduri for the information.
* 2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-142-1/+7
| | | | | | * include/wincon.h (AttachConsole): Correct guard. Thanks to Alexander Shaduri for report.
* 2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net>Chris Sutcliffe2009-11-142-2/+13
| | | | | * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition. (DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define.
* 2009-13-09 Jacky Lai <crazyjacky@users.sourceforge.net>Chris Sutcliffe2009-11-132-3/+7
| | | | * include/winerror.h: Fix typos in macro names.
* 2009-13-09 Jan Nijtmans <nijtmans@users.sourceforge.net>Chris Sutcliffe2009-11-132-2/+8
| | | | | * include/winuser.h (SendMessageTimeoutA, SendMessageTimeoutW): Correct definition.
* 2009-11-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-132-0/+4
| | | | * include/winnt.h (PROCESS_SUSPEND_RESUME): Define.
* * net.cc (fdsock): Fill _rmem and _wmem with valid values returnedCorinna Vinschen2009-11-132-3/+21
| | | | from getsockopt if setsockopt with desired values failed.
* * new-features.sgml (ov-new1.7-os): Mention Windows 7 and 2008 R2.Corinna Vinschen2009-11-122-1/+10
| | | | | (ov-new1.7-device): Add API get_avphys_pages, get_nprocs, get_nprocs_conf, and get_phys_pages.
* * sysconf.cc (get_nprocs): New function.Corinna Vinschen2009-11-126-2/+75
| | | | | | | | | | (get_nprocs_conf): Ditto. (get_avphys_pages): Ditto. (get_phys_pages): Ditto. * cygwin.din: Export them. * include/sys/sysinfo.h: New header, decalre above new functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml: Mention them as GNU extensions.
* * fhandler.h (class fhandler_mailslot): Declare new private methodCorinna Vinschen2009-11-113-3/+30
| | | | | | | get_object_attr. * fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Implement. (fhandler_mailslot::open): Replace calls to path_conv::get_object_attr with calls to fhandler_mailslot::get_object_attr.
* * getfacl.c (print_version): Fix copyright.Corinna Vinschen2009-11-112-18/+23
| | | | | | (main): Don't reuse local variables confusingly. Don't print any file information if acl() fails. Improve error message. Always print a trailing empty line. Set return code to 2 if accessing some file fails.
* * fhandler_console.cc (fhandler_console::read): Revert change fromCorinna Vinschen2009-11-102-16/+16
| | | | 2009-11-09.
* * fhandler_disk_file.cc (is_volume_mountpoint): Align check withCorinna Vinschen2009-11-103-15/+31
| | | | | | symlink_info::check_reparse_point(). * path.cc (symlink_info::check_reparse_point): Rearrange slightly. Add code path for unrecognized repare point types. Add comment.
* * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.Joel Brobecker2009-11-092-0/+10
|
* * path.cc (symlink_info::check_reparse_point): Always checkCorinna Vinschen2009-11-093-6/+21
| | | | | | | SubstituteName for volume string to recognize volume mount points. Reuse subst when calling sys_wcstombs. * syscalls.cc (rename): Set errno to EBUSY when trying to rename volume mount points. Explain why.
* * fhandler_console.cc (fhandler_console::read): Restrict generatingCorinna Vinschen2009-11-092-11/+21
| | | | META key sequences to singlebyte input chars.