/[projects]/android/TrainInfoService
ViewVC logotype

Log of /android/TrainInfoService

View Directory Listing Directory Listing


Sticky Revision:

Revision 806 - Directory Listing
Modified Mon Jun 7 18:35:40 2010 UTC (13 years, 11 months ago) by torben
Show folders in collapsed state

Revision 805 - Directory Listing
Modified Mon Jun 7 18:26:09 2010 UTC (13 years, 11 months ago) by torben
Sort placemarks into folders

Revision 804 - Directory Listing
Modified Mon Jun 7 12:13:10 2010 UTC (13 years, 11 months ago) by torben
more correct impl

Revision 803 - Directory Listing
Modified Mon Jun 7 12:01:42 2010 UTC (13 years, 11 months ago) by torben
Small refactorings

Revision 802 - Directory Listing
Modified Mon Jun 7 11:46:25 2010 UTC (13 years, 11 months ago) by torben
Added cache

Revision 801 - Directory Listing
Modified Mon Jun 7 11:29:55 2010 UTC (13 years, 11 months ago) by torben
Add commented code about static overlays

Revision 800 - Directory Listing
Modified Mon Jun 7 10:02:26 2010 UTC (13 years, 11 months ago) by torben
Draw different markers base on request time

Revision 799 - Directory Listing
Modified Mon Jun 7 08:55:34 2010 UTC (13 years, 11 months ago) by torben
Seperate parser and xml-formatter

Revision 798 - Directory Listing
Modified Mon Jun 7 08:37:29 2010 UTC (13 years, 11 months ago) by torben
Parser now works correctly
enable kmz (zipped) output

Revision 797 - Directory Listing
Modified Thu Jun 3 14:28:13 2010 UTC (13 years, 11 months ago) by torben
... and read the correct file

Revision 796 - Directory Listing
Modified Thu Jun 3 14:21:35 2010 UTC (13 years, 11 months ago) by torben
Log any errors

Revision 795 - Directory Listing
Modified Thu Jun 3 14:12:56 2010 UTC (13 years, 11 months ago) by torben
First version of station-plotter

Revision 741 - Directory Listing
Modified Wed May 19 12:56:10 2010 UTC (13 years, 11 months ago) by torben
Comment about the faster distance calculation

Revision 740 - Directory Listing
Modified Wed May 19 11:14:33 2010 UTC (13 years, 11 months ago) by torben
Add test for findByFavorites

Revision 739 - Directory Listing
Modified Wed May 19 09:53:25 2010 UTC (13 years, 11 months ago) by torben
narrow longitude search area

Revision 738 - Directory Listing
Modified Wed May 19 07:57:14 2010 UTC (13 years, 11 months ago) by torben
Narrow the geographic boundaries in the test

Revision 737 - Directory Listing
Modified Wed May 19 07:40:00 2010 UTC (13 years, 11 months ago) by torben
limit the number of distance calculations by only calculating on those stations within 2.5 degrees (lat/long)-range 
on current server this reduces query time by ~45 ms

Revision 736 - Directory Listing
Modified Tue May 18 21:07:02 2010 UTC (13 years, 11 months ago) by torben
Made tests a little more flexible

Revision 735 - Directory Listing
Modified Tue May 18 20:58:04 2010 UTC (13 years, 11 months ago) by torben
Some code to test efficiency of the DB queries

Revision 734 - Directory Listing
Modified Tue May 18 20:39:22 2010 UTC (13 years, 11 months ago) by torben
Simplify query

Revision 733 - Directory Listing
Modified Tue May 18 17:56:43 2010 UTC (13 years, 11 months ago) by torben
Save a part of the distance calculation in the earth_coord column

Revision 717 - Directory Listing
Modified Mon May 10 06:59:01 2010 UTC (14 years ago) by torben
Remove old (pre-0.6.4) method of determining the train type.

Revision 716 - Directory Listing
Modified Mon May 10 06:53:20 2010 UTC (14 years ago) by torben
in statistics, also keep track of how many request were unsuccessful

Revision 715 - Directory Listing
Modified Fri May 7 17:30:07 2010 UTC (14 years ago) by torben
Enable a report of those stations which has aliases

Revision 714 - Directory Listing
Modified Fri May 7 17:08:11 2010 UTC (14 years ago) by torben
Enable station aliases

Revision 712 - Directory Listing
Modified Thu May 6 12:21:57 2010 UTC (14 years ago) by torben
format the daily average with 1 decimal

Revision 711 - Directory Listing
Modified Wed May 5 20:11:03 2010 UTC (14 years ago) by torben
First take on some statistics

Revision 697 - Directory Listing
Modified Mon May 3 07:42:02 2010 UTC (14 years ago) by torben
Better handling of train-types (regional vs s-train)

Revision 650 - Directory Listing
Modified Mon Apr 19 19:04:34 2010 UTC (14 years ago) by torben
Move function getStationName() function do DAO class

Revision 623 - Directory Listing
Modified Mon Mar 8 09:11:13 2010 UTC (14 years, 2 months ago) by torben
Switch to GFv3

Revision 591 - Directory Listing
Modified Wed Feb 10 14:07:04 2010 UTC (14 years, 3 months ago) by torben
Act as a Firefox 3 browser, and cleanup HtmlUnit WebClient instance when done

Revision 590 - Directory Listing
Modified Mon Feb 8 20:54:49 2010 UTC (14 years, 3 months ago) by torben
Better default jsp 

Revision 589 - Directory Listing
Modified Mon Feb 8 19:25:12 2010 UTC (14 years, 3 months ago) by torben
Release resources as soon as possible

Revision 588 - Directory Listing
Modified Mon Feb 8 19:12:15 2010 UTC (14 years, 3 months ago) by torben
Rewrite to use a DAO class for DB access

Revision 587 - Directory Listing
Modified Mon Feb 8 18:42:00 2010 UTC (14 years, 3 months ago) by torben
Encapsulate NamingException into SQLException

Revision 586 - Directory Listing
Modified Fri Feb 5 19:28:36 2010 UTC (14 years, 3 months ago) by torben
This is a more correct way of reading request attributes

Revision 585 - Directory Listing
Modified Fri Feb 5 19:15:12 2010 UTC (14 years, 3 months ago) by torben
Use JSTL in the jsp instead of scriptlets

Revision 584 - Directory Listing
Modified Fri Feb 5 13:57:39 2010 UTC (14 years, 3 months ago) by torben
Move some various parameters to web.xml

Revision 583 - Directory Listing
Modified Tue Feb 2 19:18:20 2010 UTC (14 years, 3 months ago) by torben
Forgot to remove debug log statement

Revision 582 - Directory Listing
Modified Tue Feb 2 19:05:08 2010 UTC (14 years, 3 months ago) by torben
Bug fix in temp site parser

Revision 581 - Directory Listing
Modified Tue Feb 2 18:47:55 2010 UTC (14 years, 3 months ago) by torben
Also make timetable degrade gracefully while bane.dk's temporary site is in place

Revision 580 - Directory Listing
Modified Tue Feb 2 18:42:38 2010 UTC (14 years, 3 months ago) by torben
Added a screenscraper for bane.dk's temporary site

Revision 550 - Directory Listing
Modified Tue Jan 26 20:24:41 2010 UTC (14 years, 3 months ago) by torben
The train XML should be kept in english terms

Revision 549 - Directory Listing
Modified Tue Jan 26 20:18:57 2010 UTC (14 years, 3 months ago) by torben
Also report whether the station is a copenhagen metro station

Revision 498 - Directory Listing
Modified Wed Nov 4 19:18:29 2009 UTC (14 years, 6 months ago) by torben
Double CircuitBreaker timeout to 60 seconds

Revision 497 - Directory Listing
Modified Wed Nov 4 11:09:19 2009 UTC (14 years, 6 months ago) by torben
use maps.google.dk for more correct naming

Revision 494 - Directory Listing
Modified Sun Nov 1 17:15:13 2009 UTC (14 years, 6 months ago) by torben
Make sure that multiline strings are dumped correct

Revision 492 - Directory Listing
Modified Sun Nov 1 16:35:48 2009 UTC (14 years, 6 months ago) by torben
Added support for address DB column

Revision 470 - Directory Listing
Modified Mon Oct 26 12:40:21 2009 UTC (14 years, 6 months ago) by torben
Specify the exact return type of proceed

Revision 468 - Directory Listing
Modified Thu Oct 22 06:04:45 2009 UTC (14 years, 6 months ago) by torben
Updated with new circuitbreaker package names

Revision 462 - Directory Listing
Modified Wed Oct 21 08:43:45 2009 UTC (14 years, 6 months ago) by torben
Catch all IOExceptions 

Revision 458 - Directory Listing
Modified Tue Oct 20 20:59:38 2009 UTC (14 years, 6 months ago) by torben
Nicer handling of incomplete requests

Revision 457 - Directory Listing
Modified Tue Oct 20 20:44:12 2009 UTC (14 years, 6 months ago) by torben
increase circuitbreaker timeout

Revision 451 - Directory Listing
Modified Tue Oct 20 10:32:19 2009 UTC (14 years, 6 months ago) by torben
Degrade from throwable to exception

Revision 432 - Directory Listing
Modified Sat Oct 10 09:56:10 2009 UTC (14 years, 7 months ago) by torben
Fixed a bug, which caused a null pointer exception

Revision 431 - Directory Listing
Modified Sat Oct 10 08:33:27 2009 UTC (14 years, 7 months ago) by torben
Refactored code - and added feature for getting a list of station by id's

Revision 430 - Directory Listing
Modified Fri Oct 9 09:06:43 2009 UTC (14 years, 7 months ago) by torben
Now it's (almost) a full map

Revision 429 - Directory Listing
Modified Fri Oct 9 08:53:03 2009 UTC (14 years, 7 months ago) by torben
unneeded import

Revision 428 - Directory Listing
Modified Fri Oct 9 08:52:37 2009 UTC (14 years, 7 months ago) by torben
Refactor TimeoutCache into a real Map

Revision 425 - Directory Listing
Modified Thu Oct 8 20:46:40 2009 UTC (14 years, 7 months ago) by torben
cleanup

Revision 422 - Directory Listing
Modified Thu Oct 8 12:22:54 2009 UTC (14 years, 7 months ago) by torben
remove left-overs

Revision 421 - Directory Listing
Modified Thu Oct 8 12:19:42 2009 UTC (14 years, 7 months ago) by torben
Enabled the usage of Circuit breaker to guard agains bane.dk failures

Revision 410 - Directory Listing
Modified Wed Oct 7 13:37:37 2009 UTC (14 years, 7 months ago) by torben
Bugfix, better extraction of  trainnumbers for S-trains

Revision 389 - Directory Listing
Modified Fri Oct 2 17:18:31 2009 UTC (14 years, 7 months ago) by torben
Don't log on cache miss - and loglevel=info should be sufficient for cache hit messages

Revision 388 - Directory Listing
Modified Fri Oct 2 15:11:25 2009 UTC (14 years, 7 months ago) by torben
trim name parameter - to get rid of rogue space characters etc.

Revision 387 - Directory Listing
Modified Fri Oct 2 15:06:08 2009 UTC (14 years, 7 months ago) by torben
Enable caching for departures and timetables

Revision 386 - Directory Listing
Modified Fri Oct 2 13:44:31 2009 UTC (14 years, 7 months ago) by torben
When bane.dk is pressed it needs some more time to respond

Revision 380 - Directory Listing
Modified Fri Oct 2 10:17:44 2009 UTC (14 years, 7 months ago) by torben
don't search for mid-string names

Revision 378 - Directory Listing
Modified Thu Oct 1 08:31:47 2009 UTC (14 years, 7 months ago) by torben
More graceful handling of timeout exceptions

Revision 377 - Directory Listing
Modified Thu Oct 1 08:21:09 2009 UTC (14 years, 7 months ago) by torben
Added a db column 'enabled' - for easy control active stations - make code use this new column

Revision 375 - Directory Listing
Modified Wed Sep 30 20:58:37 2009 UTC (14 years, 7 months ago) by torben
Always save a time string, no matter whether bane.dk has one for us :)

Revision 373 - Directory Listing
Modified Wed Sep 30 19:49:25 2009 UTC (14 years, 7 months ago) by torben
Work arouund a bug in bane.dk (a departure at midnight sometimes occurs as a empty string)

Revision 353 - Directory Listing
Modified Tue Sep 29 15:49:19 2009 UTC (14 years, 7 months ago) by torben
No need for logging the requested bane.dk url

Revision 350 - Directory Listing
Modified Mon Sep 28 21:33:24 2009 UTC (14 years, 7 months ago) by torben
Added code for extracting a single train's timetable from bane.dk

Revision 349 - Directory Listing
Modified Mon Sep 28 19:14:18 2009 UTC (14 years, 7 months ago) by torben
Extract trainNumbers for S-train

Revision 348 - Directory Listing
Modified Sun Sep 27 19:14:39 2009 UTC (14 years, 7 months ago) by torben
Improve on error handling and logging

Revision 347 - Directory Listing
Modified Fri Sep 25 13:54:16 2009 UTC (14 years, 7 months ago) by torben
Better handling of the different request types

Revision 344 - Directory Listing
Modified Thu Sep 24 21:04:34 2009 UTC (14 years, 7 months ago) by torben
Don't write the sql string to system out

Revision 342 - Directory Listing
Modified Thu Sep 24 20:20:49 2009 UTC (14 years, 7 months ago) by torben
Make sure that the required table is present

Revision 322 - Directory Listing
Modified Mon Sep 14 07:29:59 2009 UTC (14 years, 8 months ago) by torben
Enable a station search based on station name

Revision 321 - Directory Listing
Modified Sun Sep 13 20:17:32 2009 UTC (14 years, 8 months ago) by torben
work correctly when clock wraps around at midnight

Revision 314 - Directory Listing
Modified Fri Sep 11 08:02:33 2009 UTC (14 years, 8 months ago) by torben
Make dump=allfull work with new table structure

Revision 313 - Directory Listing
Modified Fri Sep 11 07:13:46 2009 UTC (14 years, 8 months ago) by torben
Remove that frickin information 'i' from the note

Revision 312 - Directory Listing
Modified Fri Sep 11 05:32:04 2009 UTC (14 years, 8 months ago) by torben
Print a nice userfriendly string instead of the raw updated int code

Revision 309 - Directory Listing
Modified Thu Sep 10 19:00:31 2009 UTC (14 years, 8 months ago) by torben
Rework servlet to work with new database layout

Revision 308 - Directory Listing
Modified Thu Sep 10 18:13:52 2009 UTC (14 years, 8 months ago) by torben
Minor code tweaks

Revision 307 - Directory Listing
Modified Thu Sep 10 18:11:53 2009 UTC (14 years, 8 months ago) by torben
Finish new bane.dk screen-scraper

Revision 305 - Directory Listing
Modified Thu Sep 10 09:40:27 2009 UTC (14 years, 8 months ago) by torben
first version of new departure provider (this is supposed to replace the php mess)

Revision 304 - Directory Listing
Modified Tue Sep 8 11:51:21 2009 UTC (14 years, 8 months ago) by torben
more advanced report 

Revision 301 - Directory Listing
Modified Mon Sep 7 12:23:35 2009 UTC (14 years, 8 months ago) by torben
LocateStations: make sure lat+long isn't null

Create a servlet for loading station table from bane.dk data

Revision 299 - Directory Listing
Modified Wed Sep 2 05:53:29 2009 UTC (14 years, 8 months ago) by torben
Add build dir

Revision 298 - Directory Listing
Modified Wed Sep 2 04:52:57 2009 UTC (14 years, 8 months ago) by torben
add another query to dumpresultset

Revision 297 - Directory Listing
Modified Wed Sep 2 04:02:47 2009 UTC (14 years, 8 months ago) by torben
At last commit, forgot change to also commit deployment description


Revision 296 - Directory Listing
Modified Tue Sep 1 22:18:41 2009 UTC (14 years, 8 months ago) by torben
first version of resultset dumper

Revision 295 - Directory Listing
Modified Tue Sep 1 21:17:54 2009 UTC (14 years, 8 months ago) by torben
Use default jre

Revision 293 - Directory Listing
Modified Tue Sep 1 19:40:02 2009 UTC (14 years, 8 months ago) by torben
Don't care about the station's address

Revision 292 - Directory Listing
Modified Tue Sep 1 19:17:18 2009 UTC (14 years, 8 months ago) by torben
Initial import

Revision 291 - Directory Listing
Added Tue Sep 1 19:16:43 2009 UTC (14 years, 8 months ago) by torben
Initial import.

  ViewVC Help
Powered by ViewVC 1.1.20