Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
/[routino]/branches/MS-Windows/src/files.c |
Log of /branches/MS-Windows/src/files.c
Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Revision 1696 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 30 17:21:45 2015 UTC (9 years, 9 months ago) by amb
File length: 20064 byte(s)
Diff to previous 1685
Open files in binary mode for MSVC and MinGW.
Revision 1685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 26 19:02:32 2015 UTC (9 years, 9 months ago) by amb
File length: 19432 byte(s)
Diff to previous 1682
When compiling with MINGW the same mman-win32 functions are required as with MSVC. The open() function can not set the 'group' and 'other' permissions although it can set the 'user' permissions.
Revision 1682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 26 17:31:47 2015 UTC (9 years, 9 months ago) by amb
File length: 19209 byte(s)
Diff to previous 1680
Create a branch for a version that compiles on Microsoft Windows (not just with MSVC).
Revision 1680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 26 17:28:56 2015 UTC (9 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 19209 byte(s)
Diff to previous 1652
Merge branch 'MSVC' back into the trunk.
Revision 1652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 14 17:25:25 2015 UTC (9 years, 10 months ago) by amb
Original Path: trunk/src/files.c
File length: 18631 byte(s)
Diff to previous 1598
Replace all arithmetic involving 'void*' pointers with 'char*' since it isn't strictly valid although it is accepted by gcc.
Revision 1598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 16:35:09 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/files.c
File length: 18617 byte(s)
Diff to previous 1591
Add a '--logmemory' option to planetsplitter which will report the maximum memory in use (allocated and mapped files) during each step of the processing.
Revision 1591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 23 17:59:34 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/files.c
File length: 18544 byte(s)
Diff to previous 1518
Allocate only the memory that is needed (but never more than the limit) when sorting files (i.e. don't just allocate the limit without checking).
Revision 1518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 17:16:27 2014 UTC (11 years ago) by amb
Original Path: trunk/src/files.c
File length: 18082 byte(s)
Diff to previous 1421
Don't ignore the return value of the write() function call.
Revision 1421 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 18:17:18 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/files.c
File length: 18025 byte(s)
Diff to previous 1418
Increase the buffer to 4kB from 1kB.
Revision 1418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 22 18:56:18 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 18025 byte(s)
Diff to previous 1410
Make the changes required to handle the new function names from the last few checkins.
Revision 1410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 15:48:19 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 18134 byte(s)
Diff to previous 1407
Rename the functions for unbuffered file access to make this clear.
Revision 1407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 14:42:52 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 17730 byte(s)
Diff to previous 1406
Add a new function for seeking in one of the buffered files.
Revision 1406 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 18:48:42 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 16276 byte(s)
Diff to previous 1404
Rename the function that skips forward in a buffered file to avoid confusion.
Revision 1404 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 18:35:57 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 16293 byte(s)
Diff to previous 1403
Add new functions for buffering when reading and also allow seeking in one of these buffered files.
Revision 1403 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 17:35:36 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 14922 byte(s)
Diff to previous 1401
Fix the non-buffered close function assertion and re-factor the code for buffered reading (although not used yet).
Revision 1401 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 18:57:15 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/files.c
File length: 15364 byte(s)
Diff to previous 1162
Add functions to read and write file descriptors with buffering.
Revision 1162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 14:21:45 2012 UTC (12 years, 4 months ago) by amb
Original Path: trunk/src/files.c
File length: 9263 byte(s)
Diff to previous 1122
Tidy up all of the recent code changes - Fix comment.
Revision 1122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 3 08:58:47 2012 UTC (12 years, 4 months ago) by amb
Original Path: trunk/src/files.c
File length: 9263 byte(s)
Diff to previous 1119
Change the UnmapFile() function to take a pointer to the data instead of the filename (like the CloseFile() function takes the file descriptor).
Revision 1119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 19:45:29 2012 UTC (12 years, 4 months ago) by amb
Original Path: trunk/src/files.c
File length: 9266 byte(s)
Diff to previous 701
Add a function to rename a file.
Revision 701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 7 13:18:36 2011 UTC (13 years, 10 months ago) by amb
Original Path: trunk/src/files.c
File length: 8855 byte(s)
Diff to previous 680
Remove useless assert statement.
Revision 680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 15:14:53 2011 UTC (13 years, 11 months ago) by amb
Original Path: trunk/src/files.c
File length: 8892 byte(s)
Diff to previous 612
Update comments throughout the source code.
Revision 612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 29 19:23:15 2011 UTC (14 years, 1 month ago) by amb
Original Path: trunk/src/files.c
File length: 8711 byte(s)
Diff to previous 518
Ensure that record of closed file descriptors are erased.
Revision 518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 31 17:52:40 2010 UTC (14 years, 4 months ago) by amb
Original Path: trunk/src/files.c
File length: 8714 byte(s)
Diff to previous 513
Ensure that enough memory gets allocated in FileName() function.
Revision 513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 16 10:59:18 2010 UTC (14 years, 5 months ago) by amb
Original Path: trunk/src/files.c
File length: 8712 byte(s)
Diff to previous 511
Fixed some comments for recent changes.
Revision 511 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Oct 9 18:20:18 2010 UTC (14 years, 5 months ago) by amb
Original Path: trunk/src/files.c
File length: 8700 byte(s)
Diff to previous 507
The ReOpenFile() function cannot be read/write because it stops the router running with read-only access to the database.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.