summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * path.cc (find_fast_cwd_pointer): Fix for W8 CP 32 bit.Corinna Vinschen2012-04-272-21/+58
|
* Update config.sub to 2012-04-18 version.Joel Brobecker2012-04-252-15/+31
| | | | | | ChangeLog: * config.sub: Update to 2012-04-18 version from official repo.
* * new-features.sgml (ov-new1.7.14): Add mouse reporting mode 1005.Corinna Vinschen2012-04-252-1/+5
|
* *** empty log message ***Corinna Vinschen2012-04-251-1/+1
|
* * fhandler.h (class dev_console): Add member ext_mouse_mode5.Corinna Vinschen2012-04-253-10/+37
| | | | | | * fhandler_console.cc (fhandler_console::read): Implement extended mouse mode 1005 (xterm, mintty). Fix actual mouse reporting for large coordinates.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 15.Corinna Vinschen2012-04-242-1/+5
|
* * new-features.sgml (ov-new1.7.14): New section. Add new console mouseCorinna Vinschen2012-04-242-0/+17
| | | | reporting modes.
* * fhandler_console.cc (ALT_PRESSED): Define earlier, never undefine.Corinna Vinschen2012-04-242-10/+15
| | | | | | | (CTRL_PRESSED): Ditto. (fhandler_console::read): Simplify expressions testing for pressed ALT or CTRL modifier keys. (get_nonascii_key): Ditto.
* *** empty log message ***Corinna Vinschen2012-04-241-0/+8
|
* * fhandler.h (class dev_console): Add members ext_mouse_mode6 andCorinna Vinschen2012-04-243-23/+79
| | | | | | | | | | ext_mouse_mode15. * fhandler_console.cc (fhandler_console::read): Implement extended mouse modes 1015 (urxvt, mintty, xterm) and 1006 (xterm). Recognize, but don't implement extended mouse mode 1005 (xterm, mintty). Support mouse coordinates greater than 222 (each axis). Fix formatting. (fhandler_console::char_command): Initialize enhanced mouse reporting modes.
* * configure: Regenerate.Yaakov Selkowitz2012-04-244-3606/+4784
|
* * faq-using.xml (faq.using.emacs, faq.using.xemacs): Change linksYaakov Selkowitz2012-04-232-2/+7
| | | | from http://cygwin.com/xfree to http://x.cygwin.com.
* * faq-programming.xml (faq.programming.objective-c): Update for gcc4.Yaakov Selkowitz2012-04-233-13/+19
| | | | | | (faq.programming.win32-api): -mwindows does include -lcomdlg32. (faq.programming.win32-no-cygwin): Update for removal of -mno-cygwin. * overview2.sgml (ov-ex-win): Ditto.
* add in preparation for releaseChristopher Faylor2012-04-231-0/+13
|
* * dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk device.Christopher Faylor2012-04-214-8/+11
| | | | | | * path.cc (path_conv::check): Remove PATH_KEPT_HANDLE setting. * path.h (path_types): Remove PATH_KEPT_HANDLE. (path_conv::kept_handle): Delete now-unneeded function.
* * dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for anChristopher Faylor2012-04-194-2/+22
| | | | | | | on-disk device and we were stating it. * path.cc (path_conv::check): Set PATH_KEPT_HANDLE. * path.h (path_types): Add PATH_KEPT_HANDLE. (path_conv::kept_handle): Implement.
* * fhandler.h (fhandler_base::nohandle): Revert to standard implementation.Christopher Faylor2012-04-184-11/+20
| | | | | | | | | | * dtable.cc (dtable::fixup_after_exec): Specifically reject releasing nohandle() type fhandlers rather than relying on contents of io_handle. (dtable::fixup_after_fork): Ditto. * fhandler_termios.cc: Add includes necessary for definitions of have_execed and have_execed_cygwin. (fhandler_termios::sigflush): Don't flush console input when we've started a non-Cygwin process.
* reformatChristopher Faylor2012-04-151-2/+2
|
* wincap.h: Rename assitant to assistant throughout. wincap.cc: Ditto.Christopher Faylor2012-04-158-24/+40
| | | | | | | | | | | | | * devices.in (exists_console): Use fhandler_console::exists () rather than raw test. * devices.cc: Regenerate. * fhandler.h (fhandler_console::exists): Define new function. * fhandler_console.cc (fhandler_console::need_invisible): Use fhandler_console::exists () rather than raw test. * spawn.cc: Rename assitant to assistant throughout. (child_info_spawn::worker): Simplify test for when to start a non-Cygwin process in its own process group. Just do it whenever we start a non-Cygwin process.
* clarify latest entryChristopher Faylor2012-04-131-1/+1
|
* * devices.in (exists_console): Allow /dev/con{sole,in,out} to be referencedChristopher Faylor2012-04-134-11/+15
| | | | | | they exist. * devices.cc: Regenerate. * fhandler_console.cc (fhandler_console::set_unit): Ditto.
* Support R_SPARC_WDISP10 and R_SPARC_H34.David S. Miller2012-04-123-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/ * elf/sparc.h (R_SPARC_WDISP10): New reloc. * opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10. opcodes/ * sparc-dis.c (X_DISP10): Define. (print_insn_sparc): Handle '='. bfd/ * reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32, BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs. * libbfd.h: Regenerate. * bfd-in2.h: Likewise. * elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function. (_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10. (_bfd_sparc_elf_reloc_type_lookup): Handle new relocs. (_bfd_sparc_elf_check_relocs): Likewise. (_bfd_sparc_elf_gc_sweep_hook): Likewise. (_bfd_sparc_elf_relocate_section): Likewise. gas/ * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and BFD_RELOC_SPARC_H34. (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34. (tc_gen_reloc): Likewise. gas/testsuite/ * gas/sparc/reloc64.s: Add abs34 code model tests. * gas/sparc/reloc64.d: Update. elfcpp/ * sparc.h (R_SPARC_WDISP10): New relocation. gold/ * sparc.cc (Reloc::wdisp10): New relocation method. (Reloc::h34): Likewise. (Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34. (Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and R_SPARC_WDISP10. (Target_sparc::Scan::local): Likewise. (Target_sparc::Scan::global): Likewise. (Target_sparc::Relocate::relocate): Likewise.
* * configure.ac (ia64*-*-*vms*): Add support for ld.Nick Clifton2012-04-123-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * scripttempl/ia64vms.sc: New file. * emultempl/vms.em (_before_parse): Support for ia64. (elf64-ia64-vms): New fragment for ia64. * emulparams/elf64_ia64_vms.sh: New file. * configure.tgt (ia64-*-*vms*): Add. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c (eelf64_ia64_vms.c): New rule. * Makefile.in: Regenerate. * elflink.c (elf_link_output_extsym): Add a guard. (bfd_elf_final_link): Remove assertion. (bfd_elf_final_link): Add a guard. * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. (elfNN_vms_section_from_shdr, elfNN_vms_object_p) (elfNN_vms_post_process_headers, elfNN_vms_section_processing) (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): Remove. (elfNN-ia64-vms target): Move to ... * elf64-ia64-vms.c: New file. * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. * configure: Regenerate. * Makefile.in: Regenerate.
* gdb: add callback defines for new ARGV handlingMichael Frysinger2012-04-122-0/+9
| | | | | | | | | | | The common sim code has slightly unfinished support for these already, but even arch ports are unable to handle these if the common header does not define them. This is because the generated callback header includes simple common gdb/sim headers only which causes it to skip the new ARGV syscalls. Plus, it isn't like providing these in the common header will break any sim targets which don't want them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers ofCorinna Vinschen2012-04-112-3/+9
| | | | non-device files in virtual fileysystems.
* merge from gccDJ Delorie2012-04-102-13/+11
|
* bfd/Roland McGrath2012-04-092-2/+9
| | | | | | | | | * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. (nacl_modify_program_headers): Likewise. include/ * bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
* * dtable.cc (cygwin_attach_handle_to_fd): Defend against NULL return fromChristopher Faylor2012-04-074-6/+26
| | | | | | | build_fh_*. (dtable::init_std_file_from_handle): Ditto. * mmap.cc (mmap_record::alloc_fh): Ditto. * path.cc (path_conv::check): Ditto.
* * fhandler.h (fhandler_base::nohandle): Implement "by hand" rather than throughChristopher Faylor2012-04-062-1/+14
| | | | macro. Set io_handle to INVALID_HANDLE_VALUE when setting flag to true.
* * path.c (path_conv::check): Avoid directly referencing fields of the devChristopher Faylor2012-04-062-1/+6
| | | | structure when it can be easily avoided.
* Fix a couple of typos.Christopher Faylor2012-04-061-4/+4
|
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 14.Corinna Vinschen2012-04-052-1/+5
|
* * new-features.sgml (ov-new1.7.13): Add typeahead description.Corinna Vinschen2012-04-052-0/+9
|
* Add typeahead description.Christopher Faylor2012-04-051-0/+3
|
* * new-features.sgml (ov-new1.7.13): New section. Add entry forCorinna Vinschen2012-04-052-0/+18
| | | | mkpasswd/mkgroup change to print TrustedInstaller account.
* *** empty log message ***Corinna Vinschen2012-04-051-0/+5
|
* * mkgroup.c (print_special_by_sid): Rename from print_special. ChangeCorinna Vinschen2012-04-053-14/+71
| | | | | | | | | | | calls throughout. (print_special_by_name): New function. (main): Call print_special_by_name for TrustedInstaller account. * mkpasswd.c (print_special_by_sid): Rename from print_special. Change calls throughout. (print_special_by_name): New function. (enum_std_accounts): Call print_special_by_name for TrustedInstaller account.
* * passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo containCorinna Vinschen2012-04-052-1/+6
| | | | the required number of colons.
* * fhandler.h (fhandler_pty_common::bytes_available): Declare new function.Christopher Faylor2012-04-054-70/+98
| | | | | | | | | | | | | | | (fhandler_pty_master::flush_to_slave): Ditto. * fhandler_tty.cc (bytes_available): Define new function. (fhandler_pty_common::bytes_available): Ditto. (handler_pty_master::flush_to_slave): Ditto. (fhandler_pty_master::process_slave_output): Call flush_to_slave () here. Use bytes_available () rather than PeekNamedPipe. Cleanup sloppy logic. (fhandler_pty_slave::read): Use bytes_available () rather than PeekNamedPipe. (fhandler_pty_slave::ioctl): Ditto. (fhandler_pty_master::ioctl): Ditto. (fhandler_pty_master::cleanup): Remove ancient #if 0. * select.cc (peek_pipe): Call flush_to_slave whenever we're checking for a pty master.
* * fhandler_nodevice.cc (fhandler_nodevice::open): Convert EROFS toCorinna Vinschen2012-04-043-3/+17
| | | | | | ENOENT if non-existent file got opened for reading only. Explain why. * path.cc (path_conv::check): Stick to ENOENT if file has been opened for informational purposes only. Add to comment.
* * path.cc (path_conv::check): Convert device type to FH_FS forCorinna Vinschen2012-04-042-0/+19
| | | | | non-existant files on /dev, unless /dev itself doesn't exist on disk. Add comment to explain why.
* * hookapi.cc (rvadelta): Compute max_size using SizeOfRawData ratherCorinna Vinschen2012-04-042-1/+6
| | | | than VirtualSize.
* * passwd.cc (_getpass_close_fd): New static pthread cleanup handler.Corinna Vinschen2012-04-042-12/+40
| | | | | | (getpass): Rework to use /dev/tty in the first place. Install _getpass_close_fd as pthread cleanup handler. Flush prompt explicitely. Lock input and switch off signal input handling when reading password.
* 2012-04-03 Corinna Vinschen <corinna@vinschen.de>Corinna Vinschen2012-04-032-2/+6
| | | | * new-features.sgml (ov-new1.7.12): Fix layout of flock example.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 13.Corinna Vinschen2012-04-032-1/+5
|
* * syscalls.cc (fhandler_base::stat_fixup): Replace string comparisonCorinna Vinschen2012-04-032-1/+6
| | | | with new device::is_dev_resident() call.
* * devices.h (lives_in_dev): New field.Christopher Faylor2012-04-025-3294/+3372
| | | | | | | | | | | | | | | | (dev_on_fs): Set bit size. (is_dev_resident): Define new method. * devices.in: Use different method for labelling requested name for dev storage: prefix it with a ='. Use an actual ':' to denote an internal device. (exists_console): Avoid repeated test. (exists_ntdev_silent): Rename from the less-descriptive exists_ntdevs. (dev_dev_storage): Delete unneeded define. * gendevices: Add a flag to each line denoting whether the device lives in /dev space. (generate): Handle special ":" case here for internal devices. Parse =something_dev as requiring a storage location. Tack the rest of the line back onto the reformulated "$rest". * devices.cc: Regenerate.
* * devices.h (device::get_device): New method.Corinna Vinschen2012-04-024-5/+17
| | | | | | * fhandler_dev.cc (fhandler_dev::readdir): Set st_ino to device number. * syscalls.cc (fhandler_base::stat_fixup): Ditto. Fix link count for CD-ROM devices. Fix typo in comment.
* * fhandler.h (fhandler_base::stat_fixup): Rename fromCorinna Vinschen2012-04-023-5/+18
| | | | | | fhandler_base::set_ino_and_dev. * syscalls.cc (fhandler_base::stat_fixup): Ditto. Accommodate name change throughout. Fixup link count of console devices.
* * devices.h (FH_CYGDRIVE): Define as DEV_VIRTFS_MAJOR class device.Corinna Vinschen2012-04-025-9/+18
| | | | | | | | | (DEV_CYGDRIVE_MAJOR): Remove. (iscygdrive_dev): Define. * dtable.cc (fh_alloc): Accommodate above change. * path.cc (path_conv::check): Use iscygdrive_dev to check for cygdrive. * syscalls.cc (fhandler_base::set_ino_and_dev): Drop check for DEV_CYGDRIVE_MAJOR from conditional.