]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:05:38 +0000 (22:05 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/ws2_32.def: Regenerate using gendef on a Win7 machine.

14 years ago2010-08-24 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 21:26:51 +0000 (21:26 +0000)]
2010-08-24  Ozkan Sezer  <sezero@users.sourceforge.net>

        * winnt.h: Fix several SUBLANG ID errors (ref:
        http://msdn.microsoft.com/en-us/library/dd318693(VS.85).aspx).
        (SUBLANG_UI_CUSTOM_DEFAULT): 0x05, not 0x03.
        (SUBLANG_HAUSA_NIGERIA): Bad ID name, correct one is ...
        (SUBLANG_HAUSA_NIGERIA_LATIN): ... this.
        (SUBLANG_INUKTITUT_CANADA_LATIN): 0x02, not 0x01.
        (SUBLANG_IRISH_IRELAND): 0x02, not 0x01.
        (SUBLANG_LAO_LAO_PDR): Bad ID name, correct one is ...
        (SUBLANG_LAO_LAO): ... this.
        (SUBLANG_LOWER_SORBIAN_GERMANY): 0x02, not 0x01.
        (SUBLANG_SAMI_SKOLT_FINLAND): 0x08, not 0x03.
        (SUBLANG_SAMI_INARI_FINLAND): 0x09, not 0x03.
        (SUBLANG_SYRIAC_SYRIA): define as SUBLANG_SYRIAC (what MSDN mentions).
        (SUBLANG_TIGRIGNA_ERITREA): 0x02, not 0x01.
        (SUBLANG_BENGALI_INDIA): 0x01, not 0x00.
        (SUBLANG_BENGALI_BANGLADESH): 0x02, not 0x01.
        (SUBLANG_PUNJABI_INDIA): 0x01, not 0x00.
        (SUBLANG_PUNJABI_PAKISTAN): not defined in MSDN.
        (SUBLANG_ROMANIAN_ROMANIA): 0x01, not 0x00.
        (SUBLANG_ROMANIAN_MOLDOVA): not defined in MSDN.

14 years ago2010-08-24 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Tue, 24 Aug 2010 19:09:50 +0000 (19:09 +0000)]
2010-08-24  LRN  <lrn1986@gmail.com>

        * include/mmreg.h (MPEGLAYER3WAVEFORMAT, WAVE_FORMAT_UNKNOWN,
        WAVE_FORMAT_PCM, WAVE_FORMAT_ADPCM, WAVE_FORMAT_IEEE_FLOAT,
        WAVE_FORMAT_VSELP, WAVE_FORMAT_IBM_CVSD, WAVE_FORMAT_ALAW,
        WAVE_FORMAT_MULAW, WAVE_FORMAT_OKI_ADPCM, WAVE_FORMAT_DVI_ADPCM,
        WAVE_FORMAT_MEDIASPACE_ADPCM, WAVE_FORMAT_SIERRA_ADPCM,
        WAVE_FORMAT_G723_ADPCM, WAVE_FORMAT_DIGIFIX, WAVE_FORMAT_DIALOGIC_OKI_ADPCM,
        WAVE_FORMAT_MEDIAVISION_ADPCM, WAVE_FORMAT_CU_CODEC,
        WAVE_FORMAT_YAMAHA_ADPCM, WAVE_FORMAT_SONARC,
        WAVE_FORMAT_DSPGROUP_TRUESPEECH, WAVE_FORMAT_ECHOSC1,
        WAVE_FORMAT_AUDIOFILE_AF36, WAVE_FORMAT_APTX, WAVE_FORMAT_AUDIOFILE_AF10,
        WAVE_FORMAT_PROSODY_1612, WAVE_FORMAT_LRC, WAVE_FORMAT_DOLBY_AC2,
        WAVE_FORMAT_GSM610, WAVE_FORMAT_MSNAUDIO, WAVE_FORMAT_ANTEX_ADPCME,
        WAVE_FORMAT_CONTROL_RES_VQLPC, WAVE_FORMAT_DIGIREAL, WAVE_FORMAT_DIGIADPCM,
        WAVE_FORMAT_CONTROL_RES_CR10, WAVE_FORMAT_NMS_VBXADPCM,
        WAVE_FORMAT_ROLAND_RDAC, WAVE_FORMAT_ECHOSC3, WAVE_FORMAT_ROCKWELL_ADPCM,
        WAVE_FORMAT_ROCKWELL_DIGITALK, WAVE_FORMAT_XEBEC, WAVE_FORMAT_G721_ADPCM,
        WAVE_FORMAT_G728_CELP, WAVE_FORMAT_MSG723, WAVE_FORMAT_MPEG,
        WAVE_FORMAT_RT24, WAVE_FORMAT_PAC, WAVE_FORMAT_MPEGLAYER3,
        WAVE_FORMAT_LUCENT_G723, WAVE_FORMAT_CIRRUS, WAVE_FORMAT_ESPCM,
        WAVE_FORMAT_VOXWARE, WAVE_FORMAT_CANOPUS_ATRAC, WAVE_FORMAT_G726_ADPCM,
        WAVE_FORMAT_G722_ADPCM, WAVE_FORMAT_DSAT, WAVE_FORMAT_DSAT_DISPLAY,
        WAVE_FORMAT_VOXWARE_BYTE_ALIGNED, WAVE_FORMAT_VOXWARE_AC8,
        WAVE_FORMAT_VOXWARE_AC10, WAVE_FORMAT_VOXWARE_AC16,
        WAVE_FORMAT_VOXWARE_AC20, WAVE_FORMAT_VOXWARE_RT24,
        WAVE_FORMAT_VOXWARE_RT29, WAVE_FORMAT_VOXWARE_RT29HW,
        WAVE_FORMAT_VOXWARE_VR12, WAVE_FORMAT_VOXWARE_VR18,
        WAVE_FORMAT_VOXWARE_TQ40, WAVE_FORMAT_SOFTSOUND, WAVE_FORMAT_VOXWARE_TQ60,
        WAVE_FORMAT_MSRT24, WAVE_FORMAT_G729A, WAVE_FORMAT_MVI_MV12,
        WAVE_FORMAT_DF_G726, WAVE_FORMAT_DF_GSM610, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_ONLIVE, WAVE_FORMAT_SBC24, WAVE_FORMAT_DOLBY_AC3_SPDIF,
        WAVE_FORMAT_ZYXEL_ADPCM, WAVE_FORMAT_PHILIPS_LPCBB, WAVE_FORMAT_PACKED,
        WAVE_FORMAT_RHETOREX_ADPCM, WAVE_FORMAT_IRAT, WAVE_FORMAT_VIVO_G723,
        WAVE_FORMAT_VIVO_SIREN, WAVE_FORMAT_DIGITAL_G723,
        WAVE_FORMAT_CREATIVE_ADPCM, WAVE_FORMAT_CREATIVE_FASTSPEECH8,
        WAVE_FORMAT_CREATIVE_FASTSPEECH10, WAVE_FORMAT_QUARTERDECK,
        WAVE_FORMAT_FM_TOWNS_SND, WAVE_FORMAT_BTV_DIGITAL, WAVE_FORMAT_VME_VMPCM,
        WAVE_FORMAT_OLIGSM, WAVE_FORMAT_OLIADPCM, WAVE_FORMAT_OLICELP,
        WAVE_FORMAT_OLISBC, WAVE_FORMAT_OLIOPR, WAVE_FORMAT_LH_CODEC,
        WAVE_FORMAT_NORRIS, WAVE_FORMAT_ISIAUDIO,
        WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS, WAVE_FORMAT_DVM, WAVE_FORMAT_RAW_AAC1,
        WAVE_FORMAT_MPEG_HEAAC, WAVE_FORMAT_MPEG_ADTS_AAC, WAVE_FORMAT_DRM,
        WAVE_FORMAT_DTS, WAVE_FORMAT_WMAVOICE9, WAVE_FORMAT_WMASPDIF,
        WAVE_FORMAT_WMAUDIO_LOSSLESS, WAVE_FORMAT_WMAUDIO2, WAVE_FORMAT_WMAUDIO3,
        WAVE_FORMAT_MPEG_LOAS, WAVE_FORMAT_RAW_SPORT, WAVE_FORMAT_ESST_AC3,
        WAVE_FORMAT_DTS2): Define.
        * include/msacm.h (HACMDRIVERID, HACMDRIVER, HACMSTREAM, HACMOBJ,
        ACMSTREAMHEADER, WAVEFILTER, acmDriverAddA, acmDriverAddW, acmDriverRemove,
        acmMetrics, acmStreamOpen, acmStreamSize, acmStreamPrepareHeader,
        acmStreamUnprepareHeader, acmStreamReset, acmStreamClose, acmStreamConvert):
        Define.

14 years ago * include/cygwin/version.h: Fix comment.
Corinna Vinschen [Tue, 24 Aug 2010 15:25:46 +0000 (15:25 +0000)]
* include/cygwin/version.h: Fix comment.

14 years ago * external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
Corinna Vinschen [Tue, 24 Aug 2010 15:11:24 +0000 (15:11 +0000)]
* external.cc (cygwin_internal): In CW_CVT_MNT_OPTS case, initialize
flags with *pflags to restore original behaviour.

14 years ago2010-08-23 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Tue, 24 Aug 2010 00:15:51 +0000 (00:15 +0000)]
2010-08-23  LRN  <lrn1986@gmail.com>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, FILE_NAME_NORMALIZED,
        FILE_NAME_OPENED, VOLUME_NAME_DOS, VOLUME_NAME_GUID, VOLUME_NAME_NONE,
        VOLUME_NAME_NT, FILE_BASIC_INFO, FILE_STANDARD_INFO, FILE_NAME_INFO,
        FILE_STREAM_INFO, FILE_COMPRESSION_INFO, FILE_ATTRIBUTE_TAG_INFO,
        FILE_ID_BOTH_DIR_INFO, FILE_REMOTE_PROTOCOL_INFO, FILE_INFO_BY_HANDLE_CLASS,
        GetFileInformationByHandleEx, GetFinalPathNameByHandleA,
        GetFinalPathNameByHandleW): Define.

14 years agoFix location of this file to be where it was initially intended.
Jeff Johnston [Mon, 23 Aug 2010 15:51:27 +0000 (15:51 +0000)]
Fix location of this file to be where it was initially intended.

14 years ago * ldd.cc (report): Drop long pathname considerations which result in
Corinna Vinschen [Mon, 23 Aug 2010 11:04:04 +0000 (11:04 +0000)]
* ldd.cc (report): Drop long pathname considerations which result in
invalid path, now that this is done in cygwin_conv_path.

14 years ago2010-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Aug 2010 04:03:33 +0000 (04:03 +0000)]
2010-08-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/CheckConflicts.sh: New file.

14 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 22 Aug 2010 03:52:59 +0000 (03:52 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CopyLZFile, GetExpandedNameA, GetExpandedNameW, LZClose,
        LZCopy, LZInit, LZOpenFileA, LZOpenFileW, LZRead, LZSeek, OpenProcessToken,
        OpenThreadToken, RegCloseKey, RegCreateKeyExA, RegCreateKeyExW,
        RegDeleteKeyExA, RegDeleteKeyExW, RegDeleteValueA, RegDeleteValueW,
        RegEnumKeyExA, RegEnumKeyExW, RegEnumValueA, RegEnumValueW, RegFlushKey,
        RegGetKeySecurity, RegLoadKeyA, RegLoadKeyW, RegNotifyChangeKeyValue,
        RegOpenCurrentUser, RegOpenKeyExA, RegOpenKeyExW, RegOpenUserClassesRoot,
        RegQueryInfoKeyA, RegQueryInfoKeyW, RegQueryValueExA, RegQueryValueExW,
        RegRestoreKeyA, RegRestoreKeyW, RegSetKeySecurity, RegSetValueExA,
        RegSetValueW, RegUnLoadKeyA, RegUnLoadKeyW, RtlCaptureStackBackTrace,
        RtlFillMemory, RtlMoveMemory, RtlZeroMemory, SetThreadToken): Remove
        conflicting definition.
        * lib/th32.def: Remove.
        * lib/ntdll.def (RtlUnwind): Remove conflicting definition.
        * lib/version.def (VerLanguageNameA, VerLanguageNameW): Remove conflicting
        definition.

14 years ago2010-08-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Aug 2010 19:21:33 +0000 (19:21 +0000)]
2010-08-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (CreateProcessAsUserW): Remove definition.

14 years ago * Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.
Corinna Vinschen [Sat, 21 Aug 2010 18:57:36 +0000 (18:57 +0000)]
* Makefile.in (DLL_IMPORTS): Link against advapi32.a before kernel32.a.

14 years agoFix misquoting in stdint.m4.
Ralf Wildenhues [Sat, 21 Aug 2010 12:34:06 +0000 (12:34 +0000)]
Fix misquoting in stdint.m4.

config/:
PR target/45084
* stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments
of AC_MSG_ERROR.

libdecnumber/:
* configure: Regenerate.

bfd/:
* configure: Regenerate.

14 years ago* cygthread.cc: Update copyright.
Christopher Faylor [Fri, 20 Aug 2010 15:28:28 +0000 (15:28 +0000)]
* cygthread.cc: Update copyright.

14 years ago * path.cc (path_conv::check): Close handle in conv_handle if we're
Corinna Vinschen [Fri, 20 Aug 2010 14:29:56 +0000 (14:29 +0000)]
* path.cc (path_conv::check): Close handle in conv_handle if we're
following a symlink.

14 years ago * endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
Corinna Vinschen [Fri, 20 Aug 2010 12:18:47 +0000 (12:18 +0000)]
* endian.h (htobe16, htobe32, htobe64, be16toh, be32toh, be64toh,
htole16, htole32, htole64, le16toh, le32toh, le64toh): Define.

14 years ago * fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
Corinna Vinschen [Fri, 20 Aug 2010 11:18:58 +0000 (11:18 +0000)]
* fhandler_disk_file.cc (readdir_check_reparse_point): Rename from
is_volume_mountpoint.  Return valid d_type value for underlying
reparse point type.
(readdir_get_ino): Don't rely on the handle set in pc.check.  Open
file here if pc.handle() is NULL.
(fhandler_disk_file::readdir_helper): Try to set a correct d_type value
more diligent.
(fhandler_disk_file::readdir): Don't reset dirent_set_d_ino unless
we're really sure it's due to an untrusted FS.  Simplify usage of
FileAttributes, which is 0 if buf is NULL, anyway.  Set d_type
correctly for faked "." and ".." entries.  Improve debug output.
* path.cc (symlink_info::check): Don't keep handle to volume mount
point open.  Explain why.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
Corinna Vinschen [Fri, 20 Aug 2010 08:52:25 +0000 (08:52 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Revert usage
of get_stat_handle () to get_handle ().  Add comment to explain why.
* syscalls.cc (statvfs): Drop using PC_KEEP_HANDLE.

14 years ago2010-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Aug 2010 04:14:18 +0000 (04:14 +0000)]
2010-08-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef on a Win7 machine.

14 years ago * include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL. Change
Corinna Vinschen [Thu, 19 Aug 2010 16:08:56 +0000 (16:08 +0000)]
* include/winnt.h: Define FILE_ATTRIBUTE_VIRTUAL.  Change
FILE_ATTRIBUTE_VALID_FLAGS accordingly.
* include/ddk/winddk.h: Ditto.

14 years ago * new-features.sgml (ov-new1.7.7): New section.
Corinna Vinschen [Thu, 19 Aug 2010 10:35:25 +0000 (10:35 +0000)]
* new-features.sgml (ov-new1.7.7): New section.
* pathnames.sgml: Throughout, align style of screen elements.
Throughout, make all emphasis elements bold.
(pathnames-win32-api): Rewrite section.

14 years ago * external.cc (sync_wincwd): New function.
Corinna Vinschen [Thu, 19 Aug 2010 10:14:31 +0000 (10:14 +0000)]
* external.cc (sync_wincwd): New function.
(cygwin_internal): Rename CW_SETCWD to CW_SYNC_WINCWD.  Call
sync_wincwd from here.
* include/sys/cygwin.h (cygwin_getinfo_types): Rename CW_SETCWD to
CW_SYNC_WINCWD.

14 years ago2010-08-18 Ladislav Michl <ladis@users.sourceforge.net>
Chris Sutcliffe [Wed, 18 Aug 2010 23:34:08 +0000 (23:34 +0000)]
2010-08-18  Ladislav Michl  <ladis@users.sourceforge.net>

        * include/winbase.h (SYMBOLIC_LINK_FLAG_DIRECTORY, CreateSymbolicLinkW,
        CreateSymbolicLinkA, CreateSymbolicLink): Define

14 years ago* external.cc (CW_SETCWD): New option.
Christopher Faylor [Wed, 18 Aug 2010 19:15:37 +0000 (19:15 +0000)]
* external.cc (CW_SETCWD): New option.
* include/cygwin/version.h: Bump api minor to 231.
* include/sys/cygwin.h (CW_SETCWD): Define.

14 years ago * pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.
Corinna Vinschen [Wed, 18 Aug 2010 15:28:15 +0000 (15:28 +0000)]
* pathnames.sgml (pathnames-win32-api): Try to use a more clear wording.

14 years ago * syscalls.cc (rename): Fix renaming file-based devices.
Corinna Vinschen [Wed, 18 Aug 2010 15:21:35 +0000 (15:21 +0000)]
* syscalls.cc (rename): Fix renaming file-based devices.

14 years ago * exceptions.cc (open_stackdumpfile): Don't try to open file if we
Corinna Vinschen [Wed, 18 Aug 2010 14:22:07 +0000 (14:22 +0000)]
* exceptions.cc (open_stackdumpfile): Don't try to open file if we
have no filesystem based CWD.  Add comment.
* path.cc (cwdstuff::set): Set CWD handle to NULL if CWD is a virtual
path.  Simplify matching comment.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
Corinna Vinschen [Wed, 18 Aug 2010 10:10:14 +0000 (10:10 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
to correct device number for fs_special devices.

14 years agoMake PATH_MAX consistent with MAX_PATH
Keith Marshall [Tue, 17 Aug 2010 21:18:21 +0000 (21:18 +0000)]
Make PATH_MAX consistent with MAX_PATH

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 6.
Corinna Vinschen [Mon, 16 Aug 2010 13:41:19 +0000 (13:41 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 6.

14 years ago * pipe.cc (fhandler_pipe::open): Duplicate content of opened pipe
Corinna Vinschen [Sat, 14 Aug 2010 11:16:09 +0000 (11:16 +0000)]
* pipe.cc (fhandler_pipe::open): Duplicate content of opened pipe
fhandler before calling dup method.

14 years ago * mount.cc (from_fstab): Fix potentially fatal typo.
Corinna Vinschen [Fri, 13 Aug 2010 19:10:22 +0000 (19:10 +0000)]
* mount.cc (from_fstab): Fix potentially fatal typo.

14 years ago * faq-programming.xml (faq.programming.win32-api): Remove simplicity.
Corinna Vinschen [Fri, 13 Aug 2010 11:52:13 +0000 (11:52 +0000)]
* faq-programming.xml (faq.programming.win32-api): Remove simplicity.
Add note and xrefs to User's Guide chapters explaining restrictions
using the Win32 API.
* new-features.sgml (ov-new1.7.6): Add note about Win CWD.
* overview2.sgml (ov-hi-intro): Add note and xrefs about Win32 API
restrictions.  Tone down flexibility.
* pathnames.sgml (pathnames-intro): Add xref to pathnames-win32-api
section.
(pathnames-win32-api): New section describing Win32 CWD restriction.
* setup2.sgml (setup-env-ov): New sub-section.
(setup-env-win32): Ditto, describing Win32 environment restriction.

14 years ago * cygheap.h (class cwdstuff): Make drive_length private.
Corinna Vinschen [Fri, 13 Aug 2010 11:51:54 +0000 (11:51 +0000)]
* cygheap.h (class cwdstuff): Make drive_length private.
Add "error" member.
(cwdstuff::get_error): New inline method.
(cwdstuff::get_error_desc): Declare.
(cwdstuff::set): Change first parameter to pointer to path_conv.
* path.cc (chdir): Drop doit.  Align call to cwdstuff::set to
new arguments.
(cwdstuff::init): Only call cwdstuff::set if it's not already
initialized.  Add comment.  Drop third parameter in call to
cwdstuff::set.
(cwdstuff::set): Partially rewrite.  Add lots of comments to explain
everything.  Drop "doit" since it's not used anymore.  Always create
new handle to CWD if not in a virtual path.  Drop PEB locking when
reading PEB values in init phase.  Check for accessibility to set
correct error code.  Drop Vista workaround.  Never write back into PEB.
Set Win32 CWD to \\?\PIPE\ on init.  Simplify creation of win32 path.
Set new error member to a meaningful value.
(cwdstuff::get_error_desc): New method to generate error message
from cwd error code.
* spawn.cc (spawn_guts): Call cwdstuff::get_error_desc to create
more meaningful error message when not being able to start native
Win32 app due to CWD restrictions.  When starting native Win32 app,
lock cwd and use in calls to CreateProcessW/CreateProcessAsUserW.

14 years ago* libc/include/sys/dir.h: New BSD-compatibility header.
Yaakov Selkowitz [Wed, 11 Aug 2010 18:14:54 +0000 (18:14 +0000)]
* libc/include/sys/dir.h: New BSD-compatibility header.

14 years ago * new-features.sgml (ov-new1.7.6): Document "bind" option.
Corinna Vinschen [Wed, 11 Aug 2010 11:12:10 +0000 (11:12 +0000)]
* new-features.sgml (ov-new1.7.6): Document "bind" option.
* pathnames.sgml (mount-table): Add "bind" option with example.

14 years ago * mount.cc (do_mount): Don't treat "bind" mount as remote mount.
Corinna Vinschen [Wed, 11 Aug 2010 11:01:14 +0000 (11:01 +0000)]
* mount.cc (do_mount): Don't treat "bind" mount as remote mount.
(mount_entries): Drop the "bind" option from output.
* utils.sgml (mount): Match examples to actual mount output.  Add
"bind" option and add example.

14 years ago * mount.cc (struct opt): Add "bind" option.
Corinna Vinschen [Wed, 11 Aug 2010 10:58:06 +0000 (10:58 +0000)]
* mount.cc (struct opt): Add "bind" option.
(mount_info::from_fstab_line): Handle "bind" option.
(fillout_mntent): Add "bind" option to mnt_opts.
(mount): Handle "bind" option.
* include/sys/mount.h (MOUNT_BIND): New mount flag.

14 years ago* mingw: Use sysroot, if present, for mingw_dir.
Yaakov Selkowitz [Wed, 11 Aug 2010 03:01:55 +0000 (03:01 +0000)]
* mingw: Use sysroot, if present, for mingw_dir.

14 years ago* sigproc.cc (init_sig_pipe): Add retry loop.
Christopher Faylor [Tue, 10 Aug 2010 16:44:37 +0000 (16:44 +0000)]
* sigproc.cc (init_sig_pipe): Add retry loop.

14 years ago* cygheap.h (cygheap_fdmanip): Delete fh and use fd index into cygheap->fdtab
Christopher Faylor [Mon, 9 Aug 2010 16:53:35 +0000 (16:53 +0000)]
* cygheap.h (cygheap_fdmanip): Delete fh and use fd index into cygheap->fdtab
throughout.
(cygheap_fdnew): Replace fh by using fd index into cygheap->fdtab throughout.
(cygheap_fdget): Ditto.  (cygheap_fdenum): Ditto.

14 years ago* new-features.sgml (ov-new1.7.6): Document POSIX Monotonic Clock.
Yaakov Selkowitz [Mon, 9 Aug 2010 16:49:28 +0000 (16:49 +0000)]
* new-features.sgml (ov-new1.7.6): Document POSIX Monotonic Clock.

14 years agoImplement POSIX.1-2004 Monotonic Clock.
Yaakov Selkowitz [Mon, 9 Aug 2010 16:47:48 +0000 (16:47 +0000)]
Implement POSIX.1-2004 Monotonic Clock.
* hires.h: Change hires_us to hires_ns, with nanosecond resolution.
(hires_ns::primed_ft): Remove.
(hires_ns::nsecs): New prototype.
(hires_ns::usecs): Rewrite in terms of nsecs.
(hires_ns::resolution): New prototype.
* times.cc: Change hires_us to hires_ns.
(ntod): Declare.
(systime): Remove.
(hires_ns::prime): Increase resolution to nanoseconds.
(hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution.
Remove justdelta argument.
(hires_ns::resolution): New function.
(clock_gettime): Accept CLOCK_MONOTONIC.
Use EINVAL instead of ENOSYS per POSIX.1-2004.
(clock_getres): Ditto.
(clock_setres): Use EINVAL instead of ENOSYS to conform with other
implementations.
* strace.cc (strace::microseconds): Adjust for hires_ns.
* sysconf.cc (sca): Set _SC_MONOTONIC_CLOCK to _POSIX_MONOTONIC_CLOCK.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

14 years ago * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
Corinna Vinschen [Mon, 9 Aug 2010 08:29:22 +0000 (08:29 +0000)]
* libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.

14 years ago * new-features.sgml (ov-new1.7.6): Document /proc/filesystems.
Corinna Vinschen [Mon, 9 Aug 2010 08:20:51 +0000 (08:20 +0000)]
* new-features.sgml (ov-new1.7.6): Document /proc/filesystems.

14 years ago * fhandler_proc.cc: Add /proc/filesystems virtual file.
Corinna Vinschen [Mon, 9 Aug 2010 08:18:30 +0000 (08:18 +0000)]
* fhandler_proc.cc: Add /proc/filesystems virtual file.
(format_proc_filesystems): New function.
* mount.cc (fs_names): Move to global scope. Redefine as array
of { "name", block_device? } structs.
(fillout_mntent): Use name member of fs_names.
* mount.h (fs_names): New prototype.

14 years ago * include/dlfcn.h (RTLD_LOCAL): Define.
Corinna Vinschen [Mon, 9 Aug 2010 07:48:24 +0000 (07:48 +0000)]
* include/dlfcn.h (RTLD_LOCAL): Define.

14 years ago * include/sys/dirent.h (d_fileno): Define as d_ino.
Corinna Vinschen [Fri, 6 Aug 2010 18:55:25 +0000 (18:55 +0000)]
* include/sys/dirent.h (d_fileno): Define as d_ino.

14 years ago * libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
Corinna Vinschen [Fri, 6 Aug 2010 18:26:21 +0000 (18:26 +0000)]
* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
out of `#ifndef _POSIX_SOURCE' guard.

14 years ago * path.cc (cygwin_conv_path): Rearrange test for "." in POSIX to
Corinna Vinschen [Wed, 4 Aug 2010 11:25:13 +0000 (11:25 +0000)]
* path.cc (cygwin_conv_path): Rearrange test for "." in POSIX to
relative DOS path conversion.  Simplify fixing the path.
In CCP_POSIX_TO_WIN_W conversion, always drop long path prefix if path
fits into MAX_PATH.  Explain why.

14 years ago2010-08-03 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 3 Aug 2010 18:21:20 +0000 (18:21 +0000)]
2010-08-03  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_lrint.c (lrint):  Annotate shift operations with
        possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
        undefined behaviour.
        * libm/common/s_llrint.c (llrint):  Likewise.
        * libm/common/s_lround.c (lround):  Correct some comments on ranges.
        * libm/common/s_llround.c (llround):  Likewise.

14 years ago* exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning"
Christopher Faylor [Sun, 1 Aug 2010 19:10:52 +0000 (19:10 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning"
when choosing to defer signal.
(_cygtls::call_signal_handler): Grab func when we have the lock.
* gendef: Update copyright.
(__sigbe): Simplify slightly.
(_sigdelayed): Grab a lock before manipulating stuff.
(_cygtls::pop): Properly return popped value.
(stabilize_sig_stack): Set incyg when we have the lock.
* sigproc.cc: Update copyright.

14 years agogdb/
Jan Kratochvil [Sat, 31 Jul 2010 04:17:44 +0000 (04:17 +0000)]
gdb/
* common/signals.c (signals): Move the content to signals.def.
Include it.  Remove the INDENT comments.

gdb/gdbserver/
* Makefile.in (signals_def): New.
(server_h): Append include/gdb/signals.h and signals_def.
(server.o): Append signals_def.

include/gdb/
* signals.h (enum target_signal): Move the content to signals.def.
Include it.
* signals.def: New file.

14 years ago* cygthread.h (LPVOID_THREAD_START_ROUTINE): Define.
Christopher Faylor [Fri, 30 Jul 2010 18:04:22 +0000 (18:04 +0000)]
* cygthread.h (LPVOID_THREAD_START_ROUTINE): Define.
(cygthread::create): Rename from cygthread::cygthread.
(cygthread::cygthread): Define new constructor which accepts
LPVOID_THREAD_START_ROUTINE as the first argument.  Call cygthread::create.
* cygthread.cc (cygthread::create): Rename from cygthread::cygthread.  Use
'arglen' rather than 'n' since 'n' is no longer supplied.
* fhandler_tty.cc (process_input): Define as void/noreturn.
(process_output): Ditto.
(process_ioctl): Ditto.
(fhandler_tty_master::init): Don't "zap_h" cygthreads which are noreturn.  It's
now implied.

14 years agoAdd moxie-rtems support.
Anthony Green [Fri, 30 Jul 2010 07:40:26 +0000 (07:40 +0000)]
Add moxie-rtems support.

14 years ago[include/opcode]
DJ Delorie [Thu, 29 Jul 2010 18:41:26 +0000 (18:41 +0000)]
[include/opcode]

* rx.h (RX_Operand_Type): Add TwoReg.
(RX_Opcode_ID): Remove ediv and ediv2.

[opcodes]

* rx-decode.opc (SRR): New.
(rx_decode_opcode): Use it for movbi and movbir.  Decode NOP2 (mov
r0,r0) and NOP3 (max r0,r0) special cases.
* rx-decode.c: Regenerate.

[sim/rx]

* rx.c (decode_cache_base): New.
(id_names): Remove ediv and edivu.
(optype_names): Add TwoReg.
(maybe_get_mem_page): New.
(rx_get_byte): Call it.
(get_op): Add TwoReg support.
(put_op): Likewise.
(PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode"
is a pointer now.
(DO_RETURN): New.  We use longjmp to return an exception result.
(decode_opcode): Make opcode a pointer to the decode cache.  Save
decoded opcode information and re-use.  Call DO_RETURN instead of
return throughout.  Remove ediv and edivu.
* mem.c (ptdc): New.  Adds decode cache.
(rx_mem_ptr): Support it.
(rx_mem_decode_cache): New.
* mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE.
(rx_mem_decode_cache): Declare.
* gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here...
* main.c (main): ...and here.  Use a fast loop if neither trace
nor disassemble is given.
* cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED,
RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a
valid code for anything.

14 years ago[sim/rx]
DJ Delorie [Wed, 28 Jul 2010 21:58:22 +0000 (21:58 +0000)]
[sim/rx]
* README.txt: New.
* config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
* configure.in (--enable-cycle-accurate, --enable-cycle-stats):
New.  Default to enabled.
* configure: Regenerate.

* cpu.h (regs_type): Add cycle tracking info.
(reset_pipeline_stats): Declare.
(halt_pipeline_stats): Declare.
(pipeline_stats): Declare.
* main.c (done): Call pipeline_stats().
* mem.h (rx_mem_ptr): Moved to here ...
* mem.c (mem_ptr): ... from here.  Rename throughout.
(mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
statistics.  Move UART to SCI4.
(mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
* reg.c (init_regs): Set Rt reg to -1 (no reg).
* rx.c: Add cycle counting and statistics throughout.
(rx_get_byte): Optimize for speed.
(decode_opcode): Likewise.
(reset_pipeline_stats): New.
(halt_pipeline_stats): New.
(pipeline_stats): New.
* trace.c (sim_disasm_one): Print cycle count.

[include/opcode]
* rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.

14 years ago * setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"
Andy Koppe [Mon, 26 Jul 2010 22:56:24 +0000 (22:56 +0000)]
* setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"
view to "Pending"

14 years agoAccept that mingwrt headers are not guaranteed to precede GCC's in the system include...
Keith Marshall [Sun, 25 Jul 2010 20:20:46 +0000 (20:20 +0000)]
Accept that mingwrt headers are not guaranteed to precede GCC's in the system include search path; (issue reported by Mark Brand).

14 years ago2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 24 Jul 2010 03:01:20 +0000 (03:01 +0000)]
2010-07-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def(FatalExit): Correct definiton.

14 years agoFix latest changelog entry to not refer to libgloss directory.
Jeff Johnston [Fri, 23 Jul 2010 18:12:53 +0000 (18:12 +0000)]
Fix latest changelog entry to not refer to libgloss directory.

14 years ago2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
Jeff Johnston [Fri, 23 Jul 2010 18:11:27 +0000 (18:11 +0000)]
2010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
            Gina Verlekar <gina.verlekar@kpitcummins.com>

        * configure.host: Compact v850* support and add
        check for newlib_may_supply_syscalls.
        * libc/sys/sysnecv850/Makefile.am: Add support for
        '--disable-newlib-supplied-syscalls' option.
        * libc/sys/sysnecv850/Makefile.in: Regenerated.

14 years ago2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
Jeff Johnston [Fri, 23 Jul 2010 17:52:37 +0000 (17:52 +0000)]
2010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
            Gina Verlekar <gina.verlekar@kpitcummins.com>

        Moving files from libc/sys/sysnecv850 to libgloss/v850

        * libgloss/libnosys/configure: Regenerated.
        * libgloss/libnosys/configure.in: Compact v850 support to v850*-*-*.
        * libgloss/libnosys/configure: Regenerated.
        * libgloss/configure.in: Add libgloss support for v850.
        * libgloss/configure: Regenerated.
        * libgloss/v850/access.c: New file.
        * libgloss/v850/aclocal.m4: New.
        * libgloss/v850/chmod.c: New.
        * libgloss/v850/chown.c: New.
        * libgloss/v850/close.c: New.
        * libgloss/v850/configure: New.
        * libgloss/v850/configure.in: New.
        * libgloss/v850/crt0.S: New.
        * libgloss/v850/crt1.c: New.
        * libgloss/v850/execv.c: New.
        * libgloss/v850/execve.c: New.
        * libgloss/v850/_exit.c: New.
        * libgloss/v850/fork.c: New.
        * libgloss/v850/fstat.c: New.
        * libgloss/v850/getpid.c: New.
        * libgloss/v850/gettime.c: New.
        * libgloss/v850/isatty.c: New.
        * libgloss/v850/kill.c: New.
        * libgloss/v850/link.c: New.
        * libgloss/v850/lseek.c: New.
        * libgloss/v850/Makefile.in: New.
        * libgloss/v850/open.c: New.
        * libgloss/v850/pipe.c: New.
        * libgloss/v850/read.c: New.
        * libgloss/v850/sbrk.c: New.
        * libgloss/v850/sim.ld: New.
        * libgloss/v850/stat.c: New.
        * libgloss/v850/time.c: New.
        * libgloss/v850/times.c: New.
        * libgloss/v850/trap.S: New.
        * libgloss/v850/unlink.c: New.
        * libgloss/v850/utime.c: New.
        * libgloss/v850/wait.c: New.
        * libgloss/v850/write.c: New.

14 years agoAdd support for v850E2 and v850E2V3
Nick Clifton [Fri, 23 Jul 2010 14:52:53 +0000 (14:52 +0000)]
Add support for v850E2 and v850E2V3

14 years ago * fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
Corinna Vinschen [Fri, 23 Jul 2010 10:08:34 +0000 (10:08 +0000)]
* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
special handling.

14 years ago2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Jul 2010 02:16:28 +0000 (02:16 +0000)]
2010-07-22  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
        _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
        _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
        _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
        _findnexti64): Correct definition.

14 years ago2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Jul 2010 10:47:30 +0000 (10:47 +0000)]
2010-07-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Revert change
        from 2010-07-17 since it breaks several applications.

14 years ago2010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Jul 2010 03:10:28 +0000 (03:10 +0000)]
2010-07-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef.

14 years ago * dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
Corinna Vinschen [Wed, 21 Jul 2010 10:30:53 +0000 (10:30 +0000)]
* dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
(transform_chars): New function, copied from Cygwin.
(simple_nt_stat): New function to check file existance using native
NT function.  Explain why.
(directory_exists): Call simple_nt_stat.
(file_exists): Ditto.

14 years ago2010-07-20 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Tue, 20 Jul 2010 18:17:52 +0000 (18:17 +0000)]
2010-07-20  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/commctrl.h (LVIF_GROUPID): Fix definition.

2010-07-20  Michael James  <james.me@gmail.com>

        * include/commctrl.h (LVIF_COLUMNS): Fix definition.

14 years agoinclude/elf/
Alan Modra [Tue, 20 Jul 2010 14:08:30 +0000 (14:08 +0000)]
include/elf/
* internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
(ELF_SECTION_SIZE): ..here.
(ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
(ELF_SECTION_IN_SEGMENT_STRICT): New macro.
bfd/
* elf.c (assign_file_positions_for_load_sections): Check that
zero size sections are allocated in segments too.
(assign_file_positions_for_non_load_sections): Warn if zero
size alloc sections are found here.
(copy_elf_program_header): Don't drop zero size sections from
segment map.
(copy_private_bfd_data): Check for changes in zero size sections.
binutils/
* readelf.c (process_program_headers): Don't ignore all zero size
sections.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

14 years ago * libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
Dave Korn [Tue, 20 Jul 2010 01:33:05 +0000 (01:33 +0000)]
* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
(SAFE_RIGHT_SHIFT): Likewise.
* libm/common/s_llround.c (llround): Annotate shift operations with
possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
undefined behaviour.
* libm/common/s_lround.c (lround): Likewise.

14 years ago2010-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 20 Jul 2010 00:18:31 +0000 (00:18 +0000)]
2010-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (HEAP_MAKE_TAG_FLAGS, VALID_INHERIT_FLAGS): Correct
        definition.
        * include/rpcndr.h (NdrUnMarshConfStringHdr, NdrUnMarshCCtxtHdl,
        NdrMarshSCtxtHdl): Ditto.
        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Remove macro
        definition in favour of typedef definition.

        Thank you to Yuta Tomino for reporting the issues.

14 years agoDocument mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:25:41 +0000 (18:25 +0000)]
Document mkostemp and mkostemps.

* textbinary.sgml (textbin-devel): Document temp file behavior.
(textbin-issue): Use sed rather than cat as an example of a
default-mode application.
* new-features.sgml (ov-new1.7.6): Document mkostemp[s].

14 years agoAdd mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:22:40 +0000 (18:22 +0000)]
Add mkostemp and mkostemps.

* mktemp.cc (_gettemp): Add flags argument.  All callers updated.
(mkostemp, mkostemps): New functions.
* cygwin.din (mkostemp, mkostemps): Export.
* posix.sgml: Document them.
* include/cygwin/version.h: Bump version.

14 years agoAdd mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:21:11 +0000 (18:21 +0000)]
Add mkostemp and mkostemps.

* libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
changed.
(mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
for ELIX level 4.
* libc/include/stdlib.h (mktemp): Avoid namespace issues.
(mkostemp, mkostemps): Declare.

14 years ago * m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
Corinna Vinschen [Mon, 19 Jul 2010 16:57:18 +0000 (16:57 +0000)]
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
__mcf_family_51 since gcc 4.5.1.

14 years ago* autoload.cc (noload): Use "pushl" rather than "push".
Christopher Faylor [Sun, 18 Jul 2010 20:14:51 +0000 (20:14 +0000)]
* autoload.cc (noload): Use "pushl" rather than "push".

14 years ago* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
Christopher Faylor [Sun, 18 Jul 2010 20:13:26 +0000 (20:13 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
an interrupt.
(setup_handler): Remove unneeded DEBUGGING handling.  Ensure that stack is
locked when we are about to do push/pop to it.  Fix debugging output.

14 years ago* gendef: Throughout, remove lock from xchgl since it is implied.
Christopher Faylor [Sun, 18 Jul 2010 20:10:22 +0000 (20:10 +0000)]
* gendef: Throughout, remove lock from xchgl since it is implied.
(__ZN7_cygtls3popEv): Avoid potential (but probably nonexistent) race when
clearing element after pop.

14 years ago2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
Paolo Bonzini [Sun, 18 Jul 2010 08:12:40 +0000 (08:12 +0000)]
2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/44862
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
Provide -B option to allow for link spec %s substitutions for
libstdc++.a on darwin.
* Makefile.in: Regenerate.

14 years ago * wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.
Corinna Vinschen [Thu, 15 Jul 2010 08:00:52 +0000 (08:00 +0000)]
* wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.

14 years ago * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
Corinna Vinschen [Tue, 13 Jul 2010 11:18:55 +0000 (11:18 +0000)]
* libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
is undefined.

14 years ago2010-07-08 Markus Koenig <basilo@users.sourceforge.net>
Chris Sutcliffe [Thu, 8 Jul 2010 23:14:54 +0000 (23:14 +0000)]
2010-07-08  Markus Koenig  <basilo@users.sourceforge.net>

        * include/gdiplus.h: New file.
        * include/gdiplus/gdiplus.h: New file.
        * include/gdiplus/gdiplusbase.h: New file.
        * include/gdiplus/gdiplusbrush.h: New file.
        * include/gdiplus/gdipluscolor.h: New file.
        * include/gdiplus/gdipluscolormatrix.h: New file.
        * include/gdiplus/gdipluseffects.h: New file.
        * include/gdiplus/gdiplusenums.h: New file.
        * include/gdiplus/gdiplusflat.h: New file.
        * include/gdiplus/gdiplusgpstubs.h: New file.
        * include/gdiplus/gdiplusgraphics.h: New file.
        * include/gdiplus/gdiplusheaders.h: New file.
        * include/gdiplus/gdiplusimageattributes.h: New file.
        * include/gdiplus/gdiplusimagecodec.h: New file.
        * include/gdiplus/gdiplusimaging.h: New file.
        * include/gdiplus/gdiplusimpl.h: New file.
        * include/gdiplus/gdiplusinit.h: New file.
        * include/gdiplus/gdipluslinecaps.h: New file.
        * include/gdiplus/gdiplusmatrix.h: New file.
        * include/gdiplus/gdiplusmem.h: New file.
        * include/gdiplus/gdiplusmetafile.h: New file.
        * include/gdiplus/gdiplusmetaheader.h: New file.
        * include/gdiplus/gdipluspath.h: New file.
        * include/gdiplus/gdipluspen.h: New file.
        * include/gdiplus/gdipluspixelformats.h: New file.
        * include/gdiplus/gdiplusstringformat.h: New file.
        * include/gdiplus/gdiplustypes.h: New file.
        * lib/gdiplus.c: New file containing GDI+ variable definitions
        and GUIDs.
        * lib/gdiplus.def: New file.
        * lib/Makefile.in: Add gdiplus.o to EXTRA_OBJS,
        add gdiplus.c to SOURCES.
        * lib/test.c: Include gdiplus.h.

14 years ago * syscalls.cc (unlink_nt): Disable try_to_bin for netapp drives.
Corinna Vinschen [Wed, 7 Jul 2010 07:53:22 +0000 (07:53 +0000)]
* syscalls.cc (unlink_nt): Disable try_to_bin for netapp drives.
Explain why.

14 years ago * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
Corinna Vinschen [Tue, 6 Jul 2010 15:23:27 +0000 (15:23 +0000)]
* libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
* libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
* libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
rather than off_t.

14 years agoinclude/ChangeLog:
Ulrich Weigand [Tue, 6 Jul 2010 12:56:24 +0000 (12:56 +0000)]
include/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.h (floatformat_ieee_half_big): Add declaration.
(floatformat_ieee_half_little): Likewise.

libiberty/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.c (floatformat_ieee_half_big): New variable.
(floatformat_ieee_half_little): Likewise.

gdb/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* gdbtypes.h (floatformats_ieee_half): Add declaration.
* gdbtypes.c (floatformats_ieee_half): New variable.
* doublest.c (floatformat_from_length): Set format to
gdbarch_half_format if length matches.
* gdbarch.sh (half_bit): New architecture method.
(half_format): Likewise.
* gdbarch.h: Regenerate.
* gdbarch.c: Likewise.

14 years ago gas/
Maciej W. Rozycki [Tue, 6 Jul 2010 00:02:44 +0000 (00:02 +0000)]
gas/
* config/tc-mips.c (nops_for_insn_or_target): Replace
MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
MIPS16_INSN_COND_BRANCH.

include/opcode/
* mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro.
(MIPS16_INSN_BRANCH): Rename to...
(MIPS16_INSN_COND_BRANCH): ... this.

opcodes/
* mips-dis.c (print_mips16_insn_arg): Remove branch instruction
type and delay slot determination.
(print_insn_mips16): Extend branch instruction type and delay
slot determination to cover all instructions.
* mips16-opc.c (BR): Remove macro.
(UBR, CBR): New macros.
(mips16_opcodes): Update branch annotation for "b", "beqz",
"bnez", "bteqz" and "btnez".  Add branch annotation for "jalrc"
and "jrc".

14 years ago Align seekdir and telldir API to POSIX definition.
Corinna Vinschen [Mon, 5 Jul 2010 16:59:56 +0000 (16:59 +0000)]
Align seekdir and telldir API to POSIX definition.
* Makefile.in (NEW_FUNCTIONS): Remove seekdir and telldir mappings.
* dir.cc (telldir): Move functionality from telldir64 here.  Use
long, rather than _off_t.
(telldir64): Just call telldir.  Only keep for backward compatibility.
(seekdir): Move functionality from seekdir64 here.  Use long, rather
than _off_t.
(seekdir64): Just call seekdir.  Only keep for backward compatibility.
* fhandler.h: Throughout, change prototypes of seekdir and telldir
methods to use long, rather than _off64_t.
* fhandler_disk_file.cc: Change aforementioned methods accordingly.
* fhandler_netdrive.cc: Ditto.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* include/sys/dirent.h (struct __DIR): Change __d_position from
_off_t to long to reflect API change.
(telldir): Change prototype to use long, rather than off_t.
(seekdir): Ditto.

14 years ago* ldd.cc: Clean up formatting throughout.
Christopher Faylor [Mon, 5 Jul 2010 16:24:24 +0000 (16:24 +0000)]
* ldd.cc: Clean up formatting throughout.
(head): Move earlier.
(saw_file): Ditto.
(print_dlls): Reset head here.  Record seen dll names so they will not
potentially be printed later.
(process_file): Remove clearing of head here.

14 years ago * dump_setup.cc (dump_file): Read requested content from setup.rc
Corinna Vinschen [Mon, 5 Jul 2010 12:28:48 +0000 (12:28 +0000)]
* dump_setup.cc (dump_file): Read requested content from setup.rc
file created by newer setup.exe.

14 years ago* path.cc (path_conv::check): Move fs-specific settings to a point where we
Christopher Faylor [Sun, 4 Jul 2010 17:12:27 +0000 (17:12 +0000)]
* path.cc (path_conv::check): Move fs-specific settings to a point where we
know that we have filled out the filesystem information.
* path.h (path_conv::path_conv): Use consistent initialization for
constructors.
* include/sys/cygwin.h: Define CW_STRERROR.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 228.
* include/external.h: Implement CW_STRERROR.

14 years agoinclude/opcode/
Alan Modra [Sat, 3 Jul 2010 06:51:53 +0000 (06:51 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete.
Renumber other PPC_OPCODE defines.
gas/
* config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
(ppc_setup_opcodes): Likewise.  Simplify opcode selection.
opcodes/
* ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags.
* ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete.
(PPC64, MFDEC2): Update.
(NON32, NO371): Define.
(powerpc_opcode): Update to not use old opcode flags, and avoid
-m601 duplicates.

14 years ago * ppc.h (PPC_OPCODE_COMMON): Expand comment.
Alan Modra [Sat, 3 Jul 2010 03:32:50 +0000 (03:32 +0000)]
* ppc.h (PPC_OPCODE_COMMON): Expand comment.

14 years ago * net.cc (cygwin_getsockopt): Make sure SO_PEERCRED is only handled
Corinna Vinschen [Fri, 2 Jul 2010 14:36:43 +0000 (14:36 +0000)]
* net.cc (cygwin_getsockopt): Make sure SO_PEERCRED is only handled
in level SOL_SOCKET.  Workaround a return value regression in Vista
and later.  Add comment to explain.

14 years agosync config/ChangeLog with gcc
Paolo Bonzini [Fri, 2 Jul 2010 12:15:53 +0000 (12:15 +0000)]
sync config/ChangeLog with gcc

14 years ago * gc++filt.m4: New file.
Rainer Orth [Fri, 2 Jul 2010 11:58:19 +0000 (11:58 +0000)]
* gc++filt.m4: New file.

14 years agoFix email address
Corinna Vinschen [Thu, 1 Jul 2010 19:04:28 +0000 (19:04 +0000)]
Fix email address

14 years ago * libc/include/signal.h (sighandler_t): Add typedef.
Corinna Vinschen [Thu, 1 Jul 2010 08:50:17 +0000 (08:50 +0000)]
* libc/include/signal.h (sighandler_t): Add typedef.

14 years ago2010-06-29 Antony King <antony.king@sr.com>
Corinna Vinschen [Thu, 1 Jul 2010 08:45:52 +0000 (08:45 +0000)]
2010-06-29  Antony King  <antony.king@sr.com>

* libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
_NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib
1.16.0 and earlier.

2010-06-28  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

* libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.

This page took 0.075499 seconds and 5 git commands to generate.