]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago * path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
Corinna Vinschen [Tue, 31 Aug 2010 13:48:04 +0000 (13:48 +0000)]
* path.cc (normalize_posix_path): Preserve //./ and //?/ prefixes.
(path_conv::check): Allow access to root directory of native NT disk
devices.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 7.
Corinna Vinschen [Tue, 31 Aug 2010 07:47:51 +0000 (07:47 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 7.

14 years ago* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
Christopher Faylor [Mon, 30 Aug 2010 23:23:28 +0000 (23:23 +0000)]
* dcrt0.cc (dll_crt0_0): Move sigproc_init later, after cygheap initialization
since it relies on the cygheap existing (even if it shouldn't matter do to dll
initialization serialization).

14 years ago * posix.sgml (std-notes): Fix typos and incorrectnesses.
Corinna Vinschen [Mon, 30 Aug 2010 14:16:01 +0000 (14:16 +0000)]
* posix.sgml (std-notes): Fix typos and incorrectnesses.

14 years ago * new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
Corinna Vinschen [Mon, 30 Aug 2010 13:19:39 +0000 (13:19 +0000)]
* new-features.sgml (ov-new1.7.7): Document change to binmode/textmode
link libs.
* textbinary.sgml (textbin-devel): Ditto.

14 years ago * autoload.cc (MsgWaitForMultipleObjectsEx): Define.
Corinna Vinschen [Mon, 30 Aug 2010 10:39:43 +0000 (10:39 +0000)]
* autoload.cc (MsgWaitForMultipleObjectsEx): Define.
(MsgWaitForMultipleObjects): Remove.
* select.cc (select_stuff::wait): Use MsgWaitForMultipleObjectsEx with
QS_ALLPOSTMESSAGE and, if possible, MWMO_INPUTAVAILABLE flags.  Explain
why.  Fix a potential crash due to a NULL pointer in WAIT_FAILED case.
(peek_windows): Use filter pattern on NT4.  Explain why.
* wincap.h (wincaps::has_mwmo_inputavailable): New element.
* wincap.cc: Implement above element throughout.

14 years agoadd missing file
Christopher Faylor [Mon, 30 Aug 2010 02:09:30 +0000 (02:09 +0000)]
add missing file

14 years ago* winlean.h: New file.
Christopher Faylor [Mon, 30 Aug 2010 01:57:37 +0000 (01:57 +0000)]
* winlean.h: New file.
* automode.c: Use "winlean.h".
* binmode.c: Ditto.
* gmon.c: Ditto.
* textmode.c: Ditto.
* textreadmode.c: Ditto.
* winsup.h: Ditto.
* lib/cygwin_attach_dll.c: Ditto.
* lib/dll_main.cc: Ditto.
* profile.c: Ditto.
* crt0.c: Ditto.  Cleanup ancient cruft.  Add dummy calls to cygwin_premain*.
* include/sys/cygwin.h: Remove old stuff.  Move premain declarations nearer to
other cygwin-specific function declarations.
* globals.cc: Add comment.

14 years ago * ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
Corinna Vinschen [Sat, 28 Aug 2010 12:12:53 +0000 (12:12 +0000)]
* ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
LOAD_WITH_ALTERED_SEARCH_PATH.

14 years ago * new-features.sgml (ov-new1.7.7): Document change to avoid DLL
Corinna Vinschen [Sat, 28 Aug 2010 11:36:43 +0000 (11:36 +0000)]
* new-features.sgml (ov-new1.7.7): Document change to avoid DLL
hijacking.

14 years ago * loadlib.h: New header implementing safe LoadLibrary calls.
Corinna Vinschen [Sat, 28 Aug 2010 11:22:37 +0000 (11:22 +0000)]
* loadlib.h: New header implementing safe LoadLibrary calls.
Include throughout files using LoadLibrary function.
* cygcheck.cc (dump_sysinfo): Retrieve kernel32.dll handle via
GetModuleHandle, rather than using LoadLibrary.
* cygpath.cc (get_long_name): Ditto.
(do_sysfolders): Append .dll suffix in LoadLibrary call.
* ldh.cc (WinMain): Use LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES
to avoid loading malicious library code.
* locale.cc (print_locale_with_codeset): Change way to retrieve
kernel32.dll path.

14 years ago * autoload.cc (LoadDLLprime): Change dllname storage to string16.
Corinna Vinschen [Sat, 28 Aug 2010 08:51:21 +0000 (08:51 +0000)]
* autoload.cc (LoadDLLprime): Change dllname storage to string16.
(struct dll_info): Convert name to WCHAR.
(std_dll_init): Load DLLs with full path to windows system directory.
Add hint to Microsoft security advisory.
* dcrt0.cc (init_windows_system_directory): New function.
(dll_crt0_0): Call init_windows_system_directory first.
* exceptions.cc (windows_system_directory): Move to globals.cc.
(windows_system_directory_length): Ditto.
(events_init): Drop code fetching windows_system_directory.
* globals.cc (windows_system_directory): New global variable.
(windows_system_directory_length): Ditto.
* net.cc (load_ipv6_funcs): Use windows_system_directory rather than
GetSystemDirectoryW.
* netdb.cc (open_system_file): Ditto.  Simplify debug output.

14 years ago2010-08-26 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 27 Aug 2010 23:36:30 +0000 (23:36 +0000)]
2010-08-26  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.15.
        * Makefile.in: Ditto.

14 years ago2010-08-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 27 Aug 2010 21:11:29 +0000 (21:11 +0000)]
2010-08-26  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Update naming convention and compression format (lzma),
        leaving existing naming convention and compression format as is for Cygwin.

14 years ago * new-features.sgml (ov-new1.7.7): Change to describe partial
Corinna Vinschen [Fri, 27 Aug 2010 18:56:28 +0000 (18:56 +0000)]
* new-features.sgml (ov-new1.7.7): Change to describe partial
reversion to pre-1.7.6 behaviour.
(ov-new1.7.6): Deprecate description of CWD handling.
* pathnames.sgml (pathnames-win32-api): Rewrite to reflect new CWD
behaviour.

14 years ago * external.cc (sync_wincwd): Remove.
Corinna Vinschen [Fri, 27 Aug 2010 17:58:45 +0000 (17:58 +0000)]
* external.cc (sync_wincwd): Remove.
(cygwin_internal): Drop CW_SYNC_WINCWD case.
* globals.cc (ro_u_pipedir): New R/O unicode string.
* ntdll.h (RtlSetCurrentDirectory_U): Declare.
* path.cc (cwdstuff::set): Improve comments.  Drop setting Win32 CWD to
\\?\PIPE\ on init.  Keep Win32 CWD in sync, if possible.  Set to
\\?\PIPE\ otherwise.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Revert to 230.
* include/sys/cygwin.h (cygwin_getinfo_types): Remove CW_SYNC_WINCWD.

14 years ago * syscalls.c (_isatty): Fix return value.
Corinna Vinschen [Fri, 27 Aug 2010 11:55:36 +0000 (11:55 +0000)]
* syscalls.c (_isatty): Fix return value.

14 years ago * fhandler_proc.cc (format_proc_partitions): Improve comment.
Corinna Vinschen [Fri, 27 Aug 2010 09:08:32 +0000 (09:08 +0000)]
* fhandler_proc.cc (format_proc_partitions): Improve comment.

14 years ago * cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
Corinna Vinschen [Thu, 26 Aug 2010 12:06:27 +0000 (12:06 +0000)]
* cygpath.cc (get_device_name): Prefer the \\.\X: DOS device for
harddisks, if available.

14 years ago * fhandler_proc.cc (format_proc_partitions): Simplify code and enable
Corinna Vinschen [Thu, 26 Aug 2010 10:59:13 +0000 (10:59 +0000)]
* fhandler_proc.cc (format_proc_partitions): Simplify code and enable
partition layout printing for non-privileged users.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 03:06:09 +0000 (03:06 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (STATE_SYSTEM_HASPOPUP, STATE_SYSTEM_NORMAL,
        STATE_SYSTEM_PROTECTED): Define.

        Thank you to Marcus von Appen for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:51:37 +0000 (02:51 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (CF_DIBV5): Define.
        (CF_MAX): Adjust accordingly.

        Thank you to Lenard Lindstrom for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:42:31 +0000 (02:42 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/sspi.h (QuerySecurityContextToken): Define.
        * lib/secur32.def: Regenerate using gendef on a Win7 machine.

        Thank you to Magnus Hagander for reporting the issue.

14 years ago2010-08-25 Ali Sabil <asabil@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:13:12 +0000 (02:13 +0000)]
2010-08-25  Ali Sabil  <asabil@users.sourceforge.net>

        * include/ocidl.h: Define COBJMACROS for IPropertyBag and IPropertyBag2.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 02:05:58 +0000 (02:05 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlwapi (ASSOCDATA): Update definition.

        Thank you to Frederic Deschamps for reporting the issue.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 26 Aug 2010 01:57:46 +0000 (01:57 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (COPY_FILE_OPEN_SOURCE_FOR_WRITE,
        COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_COPY_SYMLINK,
        COPY_FILE_NO_BUFFERING): Define.

        Thank you to Roland Schwingel for reporting the issue.

14 years agoAdd missing thank you notes.
Chris Sutcliffe [Wed, 25 Aug 2010 23:47:17 +0000 (23:47 +0000)]
Add missing thank you notes.

14 years ago2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 25 Aug 2010 23:39:29 +0000 (23:39 +0000)]
2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (HHOOK): Move definition from here...
        * include/windef.h: ...to here, as per MSDN.

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

        * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per
        MSDN, change return type to LPCH.
        (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.

14 years ago * libc/posix/opendir.c (opendir): Fix potential memory leak.
Corinna Vinschen [Wed, 25 Aug 2010 10:44:47 +0000 (10:44 +0000)]
* libc/posix/opendir.c (opendir): Fix potential memory leak.

14 years ago * mount.cc (fs_info::update): Fix comments.
Corinna Vinschen [Wed, 25 Aug 2010 09:20:11 +0000 (09:20 +0000)]
* mount.cc (fs_info::update): Fix comments.

14 years ago * syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.
Corinna Vinschen [Wed, 25 Aug 2010 08:51:41 +0000 (08:51 +0000)]
* syscalls.cc (rename): Open file with FILE_READ_ATTRIBUTES.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 25 Aug 2010 01:59:51 +0000 (01:59 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMDG, POSTMSG): Fix typo.
        * include/windowsx.h (SNDMSG): Ditto.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 23:09:52 +0000 (23:09 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/prsht.h (SNDMSG, POSTMSG): Define macros and use throughout.

        Thank you to Ozkan Sezer for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 23:03:57 +0000 (23:03 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/windowsx.h (SNDMSG): Define macro and use throughout.

        Thank you to Chris Oldwood for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:41:36 +0000 (22:41 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/oleacc.h (AccessibleObjectFromEvent): Correct definition.

        Thank you to Rick Walsh for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:35:39 +0000 (22:35 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (MoveFileWithProcessA, MoveFileWithProgressW): Define.

14 years ago2010-08-24 Vinky <rabbit_vinky@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:25:44 +0000 (22:25 +0000)]
2010-08-24  Vinky  <rabbit_vinky@users.sourceforge.net>

        * include/winbase.h (OVERLAPPED): Correct definition.

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

        * include/winnt.h (IMAGE_NT_HEADERS32, IMAGE_NT_HEADERS64): Correct
        definition.

        Thank you to Pasi Ruokola for reporting the issue.

14 years ago2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 24 Aug 2010 22:10:28 +0000 (22:10 +0000)]
2010-08-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/exdisp.h (get_RegisterAsBrowser): Fix typo.

        Thank you to cheznonnon for reporting the issue.

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.

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