Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Erase non-applicable Unix comment, this is Win32 | Misha Brukman | 2004-11-16 | 1 | -1/+0 | |
| | | | | llvm-svn: 17896 | |||||
* | Remove useless #include. | Reid Spencer | 2004-11-16 | 6 | -7/+0 | |
| | | | | | | Patch contributed by Jeff Cohen. llvm-svn: 17891 | |||||
* | Simplify code. | Reid Spencer | 2004-11-16 | 1 | -2/+1 | |
| | | | | | | Patch contributed by Jeff Cohen. llvm-svn: 17890 | |||||
* | Per code review: | Reid Spencer | 2004-11-16 | 2 | -1/+5 | |
| | | | | | | | | * get rid of (void) construct in function declarations * make toString a const member * add a default implementation of toString for Win32 llvm-svn: 17873 | |||||
* | Per code review: | Reid Spencer | 2004-11-16 | 1 | -7/+4 | |
| | | | | | | | | | | | * Clean up the StatusInfo constructor to construct all members and give them reasonable values. * Get rid of the Vector typedef and make the interface to getDirectoryContent use a std::set instead of a std::vector so the dir content is sorted. * Make the getStatusInfo method const and not return a useless boolean. llvm-svn: 17872 | |||||
* | Provide the ThrowErrno utility. | Reid Spencer | 2004-11-15 | 1 | -0/+3 | |
| | | | | | | Patch contributed by Morten Ofstad llvm-svn: 17827 | |||||
* | Adjust implementation to match new interface. | Reid Spencer | 2004-11-15 | 1 | -2/+2 | |
| | | | | | | Patch provided by Morten Ofstad llvm-svn: 17826 | |||||
* | Actually get the #include correct so it compiles .. duh. | Reid Spencer | 2004-11-15 | 8 | -9/+9 | |
| | | | | llvm-svn: 17817 | |||||
* | Make it actually compile on Solaris. | Reid Spencer | 2004-11-15 | 2 | -2/+2 | |
| | | | | llvm-svn: 17815 | |||||
* | Consolidate the implementation of TimeValue::now() for Unix to use the | Reid Spencer | 2004-11-15 | 8 | -53/+19 | |
| | | | | | | seemingly ubiquitous gettimeofday(3) call. llvm-svn: 17813 | |||||
* | Implement functionality suggested from code review: getStatusInfo should | Reid Spencer | 2004-11-14 | 1 | -1/+4 | |
| | | | | | | returnn false if the file doesn't exist rather than throw ane exception. llvm-svn: 17809 | |||||
* | Make sure IdentifyFileType is in the sys namespace. | Reid Spencer | 2004-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 17806 | |||||
* | Add missing include. | Alkis Evlogimenos | 2004-11-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 17799 | |||||
* | Forget strerror_r, it causes problems. Fix later when threading matters | Reid Spencer | 2004-11-14 | 1 | -5/+0 | |
| | | | | llvm-svn: 17783 | |||||
* | Implement the toString method | Reid Spencer | 2004-11-14 | 1 | -0/+16 | |
| | | | | llvm-svn: 17782 | |||||
* | Update for prototype changes | Reid Spencer | 2004-11-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 17781 | |||||
* | * Implement getDirectoryContents * Implement getStatusInfo * Implement ↵ | Reid Spencer | 2004-11-14 | 1 | -7/+81 | |
| | | | | | | setStatusInfo * Implement renameFile llvm-svn: 17780 | |||||
* | Fix bugs in class invariant | Reid Spencer | 2004-11-14 | 1 | -0/+3 | |
| | | | | llvm-svn: 17779 | |||||
* | Include the correct implementation file | Reid Spencer | 2004-11-14 | 1 | -1/+3 | |
| | | | | llvm-svn: 17778 | |||||
* | Don't exceed 80 columns. | Reid Spencer | 2004-11-14 | 1 | -5/+5 | |
| | | | | llvm-svn: 17777 | |||||
* | Implement IdentifyFileType function | Reid Spencer | 2004-11-14 | 1 | -0/+27 | |
| | | | | llvm-svn: 17776 | |||||
* | Fix isBytecodeFile to correctly recognized compressed bytecode too. | Reid Spencer | 2004-11-09 | 1 | -4/+7 | |
| | | | | llvm-svn: 17655 | |||||
* | * Implement getStatusInfo for getting stat(2) like information | Reid Spencer | 2004-11-09 | 1 | -5/+39 | |
| | | | | | | | * Implement createTemporaryFile for mkstemp(3) functionality * Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode. llvm-svn: 17654 | |||||
* | Fix a typo: isvalid -> isValid | Reid Spencer | 2004-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 17621 | |||||
* | Consistently use llvm.cs.uiuc.edu instead of llvm.org | Misha Brukman | 2004-11-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 17548 | |||||
* | Stop propagating method names that violate the coding standard | Reid Spencer | 2004-11-05 | 13 | -144/+144 | |
| | | | | llvm-svn: 17498 | |||||
* | Change Library Names Not To Conflict With Others When Installed | Reid Spencer | 2004-10-27 | 2 | -2/+1 | |
| | | | | llvm-svn: 17286 | |||||
* | Add EXTRA_DIST for additional files to be distributed. | Reid Spencer | 2004-10-26 | 1 | -0/+2 | |
| | | | | llvm-svn: 17233 | |||||
* | We won't use automake | Reid Spencer | 2004-10-22 | 2 | -696/+0 | |
| | | | | llvm-svn: 17155 | |||||
* | Fix some grammar | Misha Brukman | 2004-10-19 | 1 | -3/+3 | |
| | | | | llvm-svn: 17141 | |||||
* | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 1 | -0/+674 | |
| | | | | llvm-svn: 17136 | |||||
* | AIX does not have mkdtemp() so emulate its behavior using mktemp() and mkdir() | Misha Brukman | 2004-10-18 | 1 | -5/+10 | |
| | | | | llvm-svn: 17131 | |||||
* | Allow this file to compile on Darwin. | Reid Spencer | 2004-10-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 16971 | |||||
* | Use __MINGW instead of __MING. Patch contributed by Henrik Bach. | Reid Spencer | 2004-10-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 16970 | |||||
* | Get proper BSD #includes for MappedFile implementation. | Reid Spencer | 2004-10-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 16969 | |||||
* | Implementation of MappedFile for Win32. Patch provided by Jeff Cohen. | Reid Spencer | 2004-10-14 | 1 | -6/+101 | |
| | | | | llvm-svn: 16968 | |||||
* | Update to reflect changes in Makefile rules. | Reid Spencer | 2004-10-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 16950 | |||||
* | Initial version of automake Makefile.am file. | Reid Spencer | 2004-10-10 | 1 | -0/+22 | |
| | | | | llvm-svn: 16885 | |||||
* | Must include sys/stat.h before declaring a 'struct stat' | Brian Gaeke | 2004-10-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 16728 | |||||
* | Adjust sys/stat.h inclusion so its only for SunOS. | Reid Spencer | 2004-10-05 | 2 | -1/+1 | |
| | | | | llvm-svn: 16686 | |||||
* | Added a couple of includes to get this to compile on Sparc. | Tanya Lattner | 2004-10-05 | 2 | -1/+2 | |
| | | | | llvm-svn: 16685 | |||||
* | Solaris doesn't have MAP_FILE. | Chris Lattner | 2004-10-05 | 1 | -1/+4 | |
| | | | | llvm-svn: 16682 | |||||
* | First version of the MappedFile abstraction for operating system idependent | Reid Spencer | 2004-10-04 | 10 | -0/+330 | |
| | | | | | | | | mapping of files. This first version uses mmap where its available. The class needs to implement an alternate mechanism based on malloc'd memory and file reading/writing for platforms without virtual memory. llvm-svn: 16649 | |||||
* | That should actually be __MING, not __MINGW. | Misha Brukman | 2004-09-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 16617 | |||||
* | Check for __MINGW define instead of __MINGW_H, patch by Henrik Bach. | Misha Brukman | 2004-09-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 16615 | |||||
* | Improve validity checking of windows path names and fix file creation | Reid Spencer | 2004-09-29 | 1 | -31/+78 | |
| | | | | | | | | problems. Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16565 | |||||
* | Use llvm::sys::Path to destroy the file. | Reid Spencer | 2004-09-28 | 1 | -4/+5 | |
| | | | | | | Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16564 | |||||
* | Win32 implementation of TimeValue::now(). | Reid Spencer | 2004-09-28 | 1 | -6/+12 | |
| | | | | | | Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16563 | |||||
* | FreeBSD implementation of the TimeValue::now() method. | Reid Spencer | 2004-09-28 | 1 | -2/+13 | |
| | | | | | | Patch kindly contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16562 | |||||
* | Updated to reflect changes in the interface of TimeValue::now(). | Reid Spencer | 2004-09-25 | 2 | -8/+10 | |
| | | | | llvm-svn: 16515 |