Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
/[routino]/branches/libroutino/src/output.c |
Log of /branches/libroutino/src/output.c
Parent Directory
|
Revision Log
Revision 1716 - (download) (as text)
Modified Fri Jun 19 18:44:48 2015 UTC (10 years, 3 months ago) by amb
File length: 39332 byte(s)
Do not print error or debug messages when compiled into library. Return an appropriate error value from functions instead of exiting.
Revision 1706 - (download) (as text)
Modified Fri Jun 12 17:42:25 2015 UTC (10 years, 3 months ago) by amb
File length: 39280 byte(s)
Create a Translation structure to hold the translated strings and have one global variable instead of 30. Add a function to free the memory in the Translation structure.
Revision 1701 - (download) (as text)
Modified Wed Jun 10 18:31:50 2015 UTC (10 years, 4 months ago) by amb
File length: 38899 byte(s)
The ParseXML_Encode_Safe_XML() function now returns a pointer to the same re-allocated string each time rather than allocating a new string each time that it is called.
Revision 1700 - (download) (as text)
Modified Tue Jun 9 18:10:45 2015 UTC (10 years, 4 months ago) by amb
File length: 38999 byte(s)
Create a branch for a version that can be compiled into a library.
Revision 1699 - (download) (as text)
Modified Tue Jun 9 18:05:06 2015 UTC (10 years, 4 months ago) by amb
Original Path: trunk/src/output.c
File length: 38999 byte(s)
Merge the MS-Windows branch back into the trunk. Code changes and documentation for Cygwin and MinGW compilers.
Revision 1680 - (download) (as text)
Modified Tue May 26 17:28:56 2015 UTC (10 years, 4 months ago) by amb
Original Path: trunk/src/output.c
File length: 38816 byte(s)
Merge branch 'MSVC' back into the trunk.
Revision 1677 - (download) (as text)
Modified Wed May 20 18:36:31 2015 UTC (10 years, 4 months ago) by amb
Original Path: trunk/src/output.c
File length: 38836 byte(s)
Change a static variable to a const to clarify it usage.
Revision 1580 - (download) (as text)
Modified Tue Jun 24 18:28:32 2014 UTC (11 years, 3 months ago) by amb
Original Path: trunk/src/output.c
File length: 38830 byte(s)
Fix for revision r1565 that crashes on 64-bit systems but not 32-bit systems.
Revision 1565 - (download) (as text)
Modified Sat May 10 10:22:15 2014 UTC (11 years, 5 months ago) by amb
Original Path: trunk/src/output.c
File length: 38787 byte(s)
Don't crash if the specified route contains two consecutive coincident waypoints (route instructions at those points may not be perfect).
Revision 1564 - (download) (as text)
Modified Fri May 9 14:14:29 2014 UTC (11 years, 5 months ago) by amb
Original Path: trunk/src/output.c
File length: 38512 byte(s)
Fix bug with results output that would miss a segment and get the distance/time wrong if a waypoint node was passed again on the way to the next waypoint.
Revision 1559 - (download) (as text)
Modified Tue Apr 29 17:38:50 2014 UTC (11 years, 5 months ago) by amb
Original Path: trunk/src/output.c
File length: 37885 byte(s)
Remove the "cyclebothways" property and replace it with a "cyclebothways" highway type. This means that it is no longer possible to choose a preference for this type of highway when calculating a route. There was never really any reason for allowing users to do this since they can't specify a preference for oneway streets. It does however mean that the broken Javascript in the router web page (no entry field for this property) is fixed. Unfortunately this means that a database created by previous versions are not compatible with this one.
Revision 1543 - (download) (as text)
Modified Sun Apr 6 16:42:51 2014 UTC (11 years, 6 months ago) by amb
Original Path: trunk/src/output.c
File length: 37893 byte(s)
Change routing instructions if on a bicycle and cyclebothways is enabled on the highways at the junctions (e.g. different count of roundabout exits).
Revision 1539 - (download) (as text)
Modified Fri Apr 4 15:59:46 2014 UTC (11 years, 6 months ago) by amb
Original Path: trunk/src/output.c
File length: 36916 byte(s)
Fix router error when waypoint is on a roundabout (stops crash).
Revision 1505 - (download) (as text)
Modified Fri Jan 31 15:31:42 2014 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/output.c
File length: 36295 byte(s)
Output HTML4 strict DTD compliant HTML (fix bug with using ''' instead of ''').
Revision 1501 - (download) (as text)
Modified Wed Jan 29 19:57:08 2014 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/output.c
File length: 36307 byte(s)
Refactor the code so that the Results data type has the start and finish waypoints defined within it and the array passed to the PrintRoute() function doesn't have holes in it.
Revision 1465 - (download) (as text)
Modified Fri Aug 2 18:12:56 2013 UTC (12 years, 2 months ago) by amb
Original Path: trunk/src/output.c
File length: 36376 byte(s)
Add a '--output-stdout' option.
Revision 1447 - (download) (as text)
Modified Mon Jul 1 18:14:49 2013 UTC (12 years, 3 months ago) by amb
Original Path: trunk/src/output.c
File length: 35859 byte(s)
Small optimisation for calling GetLatLong().
Revision 1291 - (download) (as text)
Modified Wed May 1 18:32:57 2013 UTC (12 years, 5 months ago) by amb
Original Path: trunk/src/output.c
File length: 35867 byte(s)
The GetLatLong function takes a pointer to the node as an argument - must be an optimisation for slim mode if not normal mode.
Revision 1174 - (download) (as text)
Modified Sat Dec 1 16:17:34 2012 UTC (12 years, 10 months ago) by amb
Original Path: trunk/src/output.c
File length: 35862 byte(s)
Rename the Way_* enumerated values to Highway_*, add a new Highway_None type, change the HighwayType() function to return Highway_None instead of Highway_Count if no match found - all changes for consistency with similar types and functions.
Revision 1168 - (download) (as text)
Modified Wed Nov 21 09:20:57 2012 UTC (12 years, 10 months ago) by amb
Original Path: trunk/src/output.c
File length: 35846 byte(s)
Revert r1164 - some super-segments are longer than 65535 metres even if no individual segment is.
Revision 1164 - (download) (as text)
Modified Tue Nov 20 15:24:30 2012 UTC (12 years, 10 months ago) by amb
Original Path: trunk/src/output.c
File length: 35834 byte(s)
Replace the 32-bit combined distance and flags in the segment with 16 bits for each.
Revision 1078 - (download) (as text)
Modified Fri Sep 28 16:34:20 2012 UTC (13 years ago) by amb
Original Path: trunk/src/output.c
File length: 35846 byte(s)
Rename some variables so that pointers to nodes, segments, ways and relations use the Hungarian notation "p" suffix (only applies to the router, not planetsplitter).
Revision 1075 - (download) (as text)
Modified Sun Sep 23 15:08:12 2012 UTC (13 years ago) by amb
Original Path: trunk/src/output.c
File length: 35785 byte(s)
Change the all text output format so that minor junctions (where no turn instructions are output for the HTML) are labelled differently. This also required the expected results for the tests cases to be changed.
Revision 1074 - (download) (as text)
Modified Sat Sep 22 08:57:24 2012 UTC (13 years ago) by amb
Original Path: trunk/src/output.c
File length: 35676 byte(s)
Fix a bug that stopped the last turn before a waypoint from being described in the HTML output if the final section of the route was a fake-segment. Update the test case expected results since the last turn was not being described properly.
Revision 955 - (download) (as text)
Added Sat Jan 28 14:40:54 2012 UTC (13 years, 8 months ago) by amb
Original Path: trunk/src/output.c
File length: 35832 byte(s)
Simplify and standardise the included headers.