Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

/[routino]/trunk/src/files.c
ViewVC logotype

Log of /trunk/src/files.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:


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
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
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
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
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
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 8 months ago) by amb
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, 3 months ago) by amb
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
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
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
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, 10 months ago) by amb
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
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
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
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]
Modified Sat Oct 9 18:20:18 2010 UTC (14 years, 5 months ago) by amb
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.


Revision 507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 3 15:01:04 2010 UTC (14 years, 5 months ago) by amb
File length: 8106 byte(s)
Diff to previous 502
Add a function to map a file writeable and use it for updating the ways when
processing route relations.


Revision 502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 16:17:45 2010 UTC (14 years, 5 months ago) by amb
File length: 7089 byte(s)
Diff to previous 449
Change the names of the functions used to open files, change the ReOpen function
to open R/W.


Revision 449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 12 17:59:42 2010 UTC (14 years, 8 months ago) by amb
File length: 7061 byte(s)
Diff to previous 448
Create a files.h header and put some of the most heavily used files.c functions
into it and make them inline.


Revision 448 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Jul 11 10:56:51 2010 UTC (14 years, 8 months ago) by amb
File length: 8443 byte(s)
Diff to previous 341
Made the planetsplitter slim mode handle the output node and segment data in a
slim way as well as in the input data.



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.

  Diffs between and
  Type of Diff should be a