summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mips.h: Improve comments describing the bitfield instructionThiemo Seufer2006-04-262-6/+12
| | | | fields.
* * fhandler.h (fhandler_base): Change fstat_helper prototypeCorinna Vinschen2006-04-266-95/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | to take file size and inode number as 64 bit values. * fhandler_disk_file.cc (FS_IS_SAMBA): Move to path.cc (FS_IS_SAMBA_WITH_QUOTA): Ditto. (path_conv::hasgood_inode): Delete. (path_conv::is_samba): Delete. (path_conv::isgood_inode): Centralized function to recognize a good inode number. (fhandler_base::fstat_by_handle): Constify fvi_size and fai_size. Accomodate argument change in fstat_helper. (fhandler_base::fstat_by_name): Ditto. (fhandler_base::fstat_helper): Accomodate argument change. Call path_conv::isgood_inode to recognize good inodes. (fhandler_disk_file::opendir): Explain Samba weirdness here. Call path_conv::fs_is_samba instead of path_conv::is_samba. (fhandler_disk_file::readdir): Add STATUS_INVALID_INFO_CLASS as valid return code from NtQueryDirectoryFile to indicate that FileIdBothDirectoryInformation is not supported. Call path_conv::isgood_inode to recognize good inodes. * ntdll.h (STATUS_INVALID_INFO_CLASS): Define. * path.cc (fs_info::update): Rework file system recognition and set appropriate flags. * path.h (struct fs_info): Add is_ntfs, is_samba and is_nfs flags. Constify pure read accessors.
* * opcode/arm.h (FPU_VFP_EXT_V3): Define constant.Julian Brown2006-04-262-1/+17
| | | | | | | (FPU_NEON_EXT_V1): Likewise. (FPU_VFP_HARD): Update. (FPU_VFP_V3): Define macro. (FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
* Add missing changelog entryAndreas Jaeger2006-04-261-0/+5
|
* * libc/machine/sh/configure.in: Avoid link tests.DJ Delorie2006-04-243-0/+47
| | | | * libc/machine/sh/configure: Regenerate.
* * environ.cc (getearly): Force correct dereference order when inspectingChristopher Faylor2006-04-242-1/+6
| | | | environ table.
* * select.cc (thread_pipe): Raise sleep time only every 8th iteration.Corinna Vinschen2006-04-242-4/+9
| | | | (thread_mailslot): Ditto.
* * include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.Dimitri Papadopoulos2006-04-242-2/+7
| | | | | | This function cannot be made thread-safe, the API would have to be changed for that, just like strerror() -> strerror_r() and similar ISO C or POSIX functions...
* * select.cc (thread_pipe): Raise sleep time dynamically to speed upCorinna Vinschen2006-04-232-2/+15
| | | | | select on pipes when copying lots of data. (thread_mailslot): Ditto for mailslots.
* * signal.cc (abort): On second thought, just set incyg once.Christopher Faylor2006-04-222-4/+7
|
* * abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace.Christopher Faylor2006-04-223-1/+10
| | | | * cygwin.din (abort): Make NOSIGFE.
* * environ.cc (getearly): Use GetEnvironmentVariable and cmalloc instead ofChristopher Faylor2006-04-213-26/+27
| | | | | GetEnvironmentStrings. (environ_init): Revert rawenv stuff.
* format comment using GNU-styleChristopher Faylor2006-04-211-7/+4
|
* * environ.cc (rawenv): Make this variable a file-scope static.Christopher Faylor2006-04-212-38/+43
| | | | | | | | | (getearly): Rename 's' variable to 'len' since 's' is used fairly consistently throughout cygwin as a string variable. Remove rawenv declaration. Perform other minor cleanups. (environ_init): Remove rawenv declaration. Only set rawenv to GetEnvironmentStrings() if it has not already been set. Properly free rawenv in all cases.
* * tty.h (tty::hwnd): Move to tty_min.Christopher Faylor2006-04-215-15/+33
| | | | | | | | | | | | | | (tty::gethwnd): Ditto. (tty::sethwnd): Ditto. (tty_min::hwnd): Receive variable from tty class. (tty_min::gethwnd): Receive function from tty classs. (tty_min::sethwnd): Ditto. * dtable.cc (dtable::stdio_init): Only call init_console_handler when we actually own the console. * fhandler_console.cc (fhandler_console::get_tty_stuff): Set tty's hwnd to non-zero value. * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Semi-reinstate handling of console when pgrp is set.
* * environ.cc (getearly): New function.Corinna Vinschen2006-04-212-2/+46
| | | | | | | (findenv_func): New function pointer, predefined to getearly. (getenv): Call findenv function over the findenv_func pointer. (environ_init): Change findenv_func pointer to my_findenv after Cygwin environment is initialized.
* * include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.Corinna Vinschen2006-04-212-1/+5
|
* * fhandler_socket.cc (fhandler_socket::wait): Reorder settingCorinna Vinschen2006-04-212-1/+6
| | | | WSAError to avoid spurious errors with WSAError set to 0.
* * include/asm/byteorder.h: Include stdint.h. Per standard, changeCorinna Vinschen2006-04-212-26/+24
| | | | datatypes in ntohX and htonX functions to uintXX_t types.
* * include/winnt.h: revert to 1.102Dimitri Papadopoulos2006-04-203-16/+0
| | | | * include/ddk/winddk.h: revert to 1.25
* 2006-04-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-1985-19817/+83779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Modified to support autoconf 2.59. * */configure.in: Ditto. * configure: Regenerated. * */configure: Ditto. * wince/aclocal.m4: Ditto. * acinclude.m4: New file. * aclocal.m4: Ditto. * arm/aclocal.m4: Ditto. * cris/aclocal.m4: Ditto. * crx/aclocal.m4: Ditto. * d30v/aclocal.m4: Ditto. * fr30/aclocal.m4: Ditto. * frv/aclocal.m4: Ditto. * hp74x/aclocal.m4: Ditto. * i386/aclocal.m4: Ditto. * i960/aclocal.m4: Ditto. * iq2000/aclocal.m4: Ditto. * libnosys/aclocal.m4: Ditto. * m32c/aclocal.m4: Ditto. * m32r/aclocal.m4: Ditto. * m68hc11/aclocal.m4: Ditto. * m68k/aclocal.m4: Ditto. * mcore/aclocal.m4: Ditto. * mips/aclocal.m4: Ditto. * mn10200/aclocal.m4: Ditto. * mn10300/aclocal.m4: Ditto. * mt/aclocal.m4: Ditto. * pa/aclocal.m4: Ditto. * rs6000/aclocal.m4: Ditto. * sparc/aclocal.m4: Ditto. * sparc/libsys/aclocal.m4: Ditto. * xstormy16/aclocal.m4: Ditto.
* * include/edevdefs.h: New file.Dimitri Papadopoulos2006-04-192-0/+354
|
* * include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.Dimitri Papadopoulos2006-04-192-3/+12
| | | | | | | Use as guard for the WAVEFORMATEX structure instead of _WAVEFORMATEX_ to avoid clashes with DirectSound. Keep _WAVEFORMATEX_ for compatibility. Thanks to: Andrew Jones <guln at sf dot net>
* * include/winnt.h, include/ddk/winddk.h (FIELD_OFFSET):Dimitri Papadopoulos2006-04-193-0/+16
| | | | | Compile with recent C++ compiler such as gcc 3.4. * include/ddk/winddk.h: Ditto.
* * include/winuser.h (CharNextEx,CharNextExW,CharPrevEx,CharPrevExW):Dimitri Papadopoulos2006-04-192-6/+6
| | | | | Delete. Only CharNextExA and CharPrevExA are documented in MSDN. Thanks to: David Golub <david_golub at sf dot net>
* * configure.in (m32c): Build libstdc++-v3. Pass flags toDJ Delorie2006-04-193-138/+167
| | | | | | reference libgloss so that libssp can be built in a combined tree. * configure: Regenerate.
* 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-182-2/+13
| | | | | * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros. (sigaddset, sigemptyset): Add return code.
* * exceptions.cc (ctrl_c_handler): Only exit TRUE on CTRL_LOGOFF_EVENT when weChristopher Faylor2006-04-182-20/+17
| | | | have actually handled the event.
* * doc/porting.texi: Document libgloss build conventions.Mark Mitchell2006-04-182-1/+52
|
* 2006-04-18 Eric House <ehouse@eehouse.org>Danny Smith2006-04-181-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PocketPC support. * include/aygshell.h: New file [_WIN32_WCE]. Declare most common functions for using aygshell on PocketPC: SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen, SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange * include/commctrl.h [_WIN32_WCE] Add function prototypes for command bar API on PocketPC: CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap, CommandBar_InsertComboBox, CommandBar_InsertMenubar, CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar, CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height, CommandBar_InsertButton, CommandBar_Destroy. * include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove fields not present on PocketPC. (GetCurrentThreadId): Conditionally declare as extern function without dllimport attribute on PocketPC. (ResetEvent): Likwise. (SetEvent): Likewise. * include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC. * winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC.
* 2006-04-18 Eric House <ehouse@eehouse.org>Danny Smith2006-04-186-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PocketPC support. * include/aygshell.h: New file [_WIN32_WCE]. Declare most common functions for using aygshell on PocketPC: SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen, SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange * include/commctrl.h [_WIN32_WCE] Add function prototypes for command bar API on PocketPC: CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap, CommandBar_InsertComboBox, CommandBar_InsertMenubar, CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar, CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height, CommandBar_InsertButton, CommandBar_Destroy. * include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove fields not present on PocketPC. (GetCurrentThreadId): Conditionally declare as extern function without dllimport attribute on PocketPC. (ResetEvent): Likwise. (SetEvent): Likewise. * include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC. * winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC.
* 2006-04-18 Thorsten Dahlheimer (dahlheim@users.sf.net> Danny Smith2006-04-186-0/+473
| | | | | | | | | * include/wingdi.h (ColorCorrectPalette): Add declaration. (CreateColorSpace): Add UNICODE mappings. * lib/gdi32.def (ColorCorrectPalette): Add stub. * include/icm.h: New file. * lib/mscms.def: New file. * lib/icmui.def: New file.
* 2006-04-18 Thorsten Dahlheimer (dahlheim@users.sf.net> Danny Smith2006-04-182-4/+138
| | | | | | | | | | | | | | | | | | | | * include/winnt.h (IMAGE_FILE_MACHINE_IA64): New define. (IMAGE_FILE_MACHINE_AMD64): New define. (IMAGE_NT_OPTIONAL_HDR{32|64}_MAGIC. New. Map to IMAGE_NT_OPTIONAL_HDR_MAGIC. (IMAGE_SUBSYSTEM_NATIVE_WINDOWS): New define. (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): New define. (IMAGE_DLLCHARACTERISTICS_WDM_DRIVER): New define. (IMAGE_DIRECTORY_ENTRY_*): New defines. (IMAGE_SCN_TYPE_*): New defines. (IMAGE_SCN_ALIGN_*): New defines. (IMAGE_DEBUG_TYPE_BORLAND): New define. (IMAGE_OPTIONAL_HEADER{32|64}): New structure definitions and typedefs. Map to IMAGE_OPTIONAL_HEADERS. (IMAGE_NT_HEADERS{32|64}): New structure definitions and typedefs. Map to IMAGE_NT_HEADERS. (IMAGE_LOAD_CONFIG_DIRECTORY64): New structure definition and typedefs. (IMAGE_CE_RUNTIME_FUNCTION_ENTRY): Likewise. (IMAGE_FUNCTION_ENTRY64): Likewise.
* 2006-04-18 Bart Oldeman <bartoldeman@users.sf.net>Danny Smith2006-04-184-3/+10
| | | | | | | * lib/test.c: Fix typo in #inlcude. * include/aclui.h: INTERFACE should not remain defined at the end of the header. * include/servprov.h: Ditto.
* * mktemp.cc (_gettemp): Open temp files in binary mode.Christopher Faylor2006-04-172-1/+6
|
* * include/ws2tcpip.h (gai_strerror): Add thread-safety comment.Danny Smith2006-04-162-0/+6
|
* * include/ws2tcpip.h (gai_strerror{AW}): Implement as inline function.Dimitri Papadopoulos2006-04-142-11/+30
|
* * include/wsahelp.h (system_header): Add pragma.Dimitri Papadopoulos2006-04-146-15/+32
| | | | | | | | | | | * include/ws2spi.h (system_header): Add pragma. * include/rasdlg.h (system_header): Add pragma. * include/rasdlg.h (_RASDLG_H): Define. Define instead of _RASDLG_H_, this is the w32api standard. * include/mlang.h (_MLANG_H): Define. Define instead of _MLANG_H_, this is the w32api standard. * include/setupapi.h (_SETUPAPI_H): Define. Define instead of _SETUPAPI_H_, this is the w32api standard.
* * include/rpcndr.h (boolean): Add typedef.Dimitri Papadopoulos2006-04-142-3/+12
| | | | | | Thanks to: James du Russel <ephelon at users dot sf dot net> * include/rpcndr.h (_RPCNDR_H): Define. Define in addition to __RPCNDR_H__, this is the w32api standard.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir): Use UINT32_MAXCorinna Vinschen2006-04-142-2/+7
| | | | instead of UINT_MAX.
* * fhandler_disk_file.cc (path_conv::hasgood_inode): Make inline.Corinna Vinschen2006-04-143-32/+42
| | | | | | | | | | | Drop remote fs handling entirely since unreliable inode numbers are now recognized differently. (path_conv::is_samba): Make inline. (fhandler_disk_file::opendir): Reformat comment. (fhandler_base::fstat_helper): Special case remote file systems returning (unreliable) 32 bit inode numbers. (fhandler_base::readdir): Ditto. * fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto.
* 2006-04-14 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2006-04-143-26/+31
| | | | | * include/w32api.h: Increment version to 3.7. * Makefile.in: Ditto.
* trivial changeChristopher Faylor2006-04-141-1/+0
|
* 2006-04-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-04-142-0/+8
| | | | | * include/winbase.h (GET_MODULE_HANDLE_EX_FLAG_*): Define. Thanks to: Brandon Sneed <brandon at redf dot net>
* 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2006-04-13251-5237/+3643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4: New _NEWLIB_VERSION. * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION). Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM. Use new form of AC_INIT_AUTOMAKE. * configure.in: AC_PREREQ(2.59). Use autoconf-2.5.x version of AC_INIT. Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of autoconf-2.13's AC_OUTPUT. * libm/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libm/machine/i386/configure.in: Ditto. * libc/configure.in: Ditto. * libc/machine/a29k/configure.in: Ditto. * libc/machine/arm/configure.in: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/mn10300/configure.in: Ditto. * libc/machine/powerpc/configure.in: Ditto. * libc/machine/z8k/configure.in: Ditto. * libc/machine/h8300/configure.in: Ditto. * libc/machine/mips/configure.in: Ditto. * libc/machine/crx/configure.in: Ditto. * libc/machine/m68hc11/configure.in: Ditto. * libc/machine/h8500/configure.in: Ditto. * libc/machine/xscale/configure.in: Ditto. * libc/machine/d10v/configure.in: Ditto. * libc/machine/fr30/configure.in: Ditto. * libc/machine/sh/configure.in: Ditto. * libc/machine/tic80/configure.in: Ditto. * libc/machine/m32r/configure.in: Ditto. * libc/machine/xstormy16/configure.in: Ditto. * libc/machine/i386/configure.in: Ditto. * libc/machine/d30v/configure.in: Ditto. * libc/machine/mn10200/configure.in: Ditto. * libc/machine/frv/configure.in: Ditto. * libc/machine/mt/configure.in: Ditto. * libc/machine/i960/configure.in: Ditto. * libc/machine/v850/configure.in: Ditto. * libc/machine/necv70/configure.in: Ditto. * libc/machine/tic4x/configure.in: Ditto. * libc/machine/cris/configure.in: Ditto. * libc/machine/m68k/configure.in: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/hppa/configure.in: Ditto. * libc/machine/w65/configure.in: Ditto. * libc/machine/iq2000/configure.in: Ditto. * libc/machine/sparc/configure.in: Ditto. * libc/machine/m88k/configure.in: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/linuxthreads/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto. * libc/sys/arm/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libc/sys/decstation/configure.in: Ditto. * libc/sys/a29khif/configure.in: Ditto. * libc/sys/sysnecv850/configure.in: Ditto. * libc/sys/d10v/configure.in: Ditto. * libc/sys/netware/configure.in: Ditto. * libc/sys/mmixware/configure.in: Ditto. * libc/sys/h8500hms/configure.in: Ditto. * libc/sys/sh/configure.in: Ditto. * libc/sys/tic80/configure.in: Ditto. * libc/sys/rdos/configure.in: Ditto. * libc/sys/sysmec/configure.in: Ditto. * libc/sys/sysvi386/configure.in: Ditto. * libc/sys/h8300hms/configure.in: Ditto. * libc/sys/sparc64/configure.in: Ditto. * libc/sys/arc/configure.in: Ditto. * libc/sys/sysnec810/configure.in: Ditto. * libc/sys/m88kbug/configure.in: Ditto. * libc/sys/sysvnecv70/configure.in: Ditto. * libc/sys/z8ksim/configure.in: Ditto. * libc/sys/rtems/configure.in: Ditto. * libc/sys/w65/configure.in: Ditto. * libc/sys/sun4/configure.in: Ditto. * doc/configure.in: Ditto. * iconvdata/configure.in: Ditto. * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
* * spawn.cc (spawn_guts): Move ch.set() call back to where it was supposed toChristopher Faylor2006-04-132-1/+6
| | | | be.
* Bump copyright dates.Corinna Vinschen2006-04-131-1/+2
|
* * sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,Corinna Vinschen2006-04-132-0/+20
| | | | | _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PROCESS_SHARED, _SC_THREAD_SAFE_FUNCTIONS, _SC_TIMERS handling.
* * spawn.cc (spawn_guts): Revert patch which treated derived cygwin programsChristopher Faylor2006-04-134-9/+35
| | | | | | | | | | | differently from those which are mounted with -X. Pass extra argument to linebuf::fromargv. * winf.h (MAXCYGWINCMDLEN): New define. (linebuf::finish): Add a new argument denoting when command line overflow is ok. (linebuf::fromargv): Ditto. * winf.cc (linebuf::finish): Implement above change. (linebuf::fromargv): Ditto.
* merge from gccDJ Delorie2006-04-122-0/+45
|