You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(92) |
Dec
(141) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(126) |
Feb
(72) |
Mar
(31) |
Apr
(200) |
May
(81) |
Jun
(130) |
Jul
(112) |
Aug
(134) |
Sep
(76) |
Oct
(89) |
Nov
(153) |
Dec
(9) |
2007 |
Jan
(59) |
Feb
(82) |
Mar
(50) |
Apr
(20) |
May
(9) |
Jun
(81) |
Jul
(41) |
Aug
(109) |
Sep
(91) |
Oct
(87) |
Nov
(33) |
Dec
(60) |
2008 |
Jan
(21) |
Feb
(15) |
Mar
(38) |
Apr
(75) |
May
(59) |
Jun
(46) |
Jul
(30) |
Aug
(20) |
Sep
(35) |
Oct
(32) |
Nov
(34) |
Dec
(19) |
2009 |
Jan
(29) |
Feb
(71) |
Mar
(54) |
Apr
(17) |
May
(4) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(58) |
Sep
(7) |
Oct
(7) |
Nov
(12) |
Dec
(18) |
2011 |
Jan
(17) |
Feb
(29) |
Mar
(11) |
Apr
(5) |
May
(1) |
Jun
|
Jul
|
Aug
(11) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(87) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(44) |
Jun
(79) |
Jul
(16) |
Aug
(31) |
Sep
|
Oct
(51) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Paul F. <pg...@us...> - 2006-06-26 19:51:21
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8935 Modified Files: roadmap_start.c roadmap_gpx.c Log Message: consolidated EXPAT ifdefs. added label init calls in roadmap_start.c Index: roadmap_gpx.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_gpx.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** roadmap_gpx.c 21 Apr 2006 18:37:59 -0000 1.3 --- roadmap_gpx.c 26 Jun 2006 19:51:14 -0000 1.4 *************** *** 24,30 **** ! #ifndef NO_EXPAT #include <expat.h> #endif #include "roadmap.h" #include "roadmap_trip.h" --- 24,31 ---- ! #ifdef ROADMAP_USES_EXPAT #include <expat.h> #endif + #include "roadmap.h" #include "roadmap_trip.h" *************** *** 33,50 **** #include "gpx/defs.h" - - #ifdef NO_EXPAT - static void roadmap_gpx_tell_no_expat (void) { - - static int roadmap_gpx_told_no_expat = 0; - - if (! roadmap_gpx_told_no_expat) { - roadmap_log (ROADMAP_ERROR, "No GPX file import (no expat library)"); - roadmap_gpx_told_no_expat = 1; - } - } - #endif - - void fatal (const char *fmt, ...) { char buf[256]; --- 34,37 ---- *************** *** 67,72 **** } ! void gpx_rd_cleanup(void); ! void gpx_rd_prepare(void); int --- 54,58 ---- } ! #ifdef ROADMAP_USES_EXPAT int *************** *** 74,81 **** const char *name, queue *w, queue *r, queue *t) { - #ifdef NO_EXPAT - roadmap_gpx_tell_no_expat (); - return 0; - #else queue *elem, *tmp; --- 60,63 ---- *************** *** 98,102 **** return ret; - #endif // NO_EXPAT } --- 80,83 ---- *************** *** 169,184 **** return ret; - } - int roadmap_gpx_write_file(const char *path, const char *name, queue *w, queue *r, queue *t) { - #ifdef NO_EXPAT - roadmap_gpx_tell_no_expat (); - return 0; - #else FILE *fp; int ret; --- 150,159 ---- *************** *** 193,197 **** return ret; - #endif // NO_EXPAT } --- 168,171 ---- *************** *** 199,206 **** queue *waypoints) { - #ifdef NO_EXPAT - roadmap_gpx_tell_no_expat (); - return 0; - #else FILE *fp; int ret; --- 173,176 ---- *************** *** 215,219 **** return ret; - #endif // NO_EXPAT } --- 185,188 ---- *************** *** 221,228 **** route_head *route) { - #ifdef NO_EXPAT - roadmap_gpx_tell_no_expat (); - return 0; - #else FILE *fp; int ret; --- 190,193 ---- *************** *** 241,245 **** return ret; - #endif // NO_EXPAT } --- 206,209 ---- *************** *** 247,254 **** route_head *track) { - #ifdef NO_EXPAT - roadmap_gpx_tell_no_expat (); - return 0; - #else FILE *fp; int ret; --- 211,214 ---- *************** *** 267,270 **** return ret; - #endif // NO_EXPAT } --- 227,308 ---- return ret; } + + #else // ROADMAP_USES_EXPAT + + + static void roadmap_gpx_tell_no_expat (void) { + + static int roadmap_gpx_told_no_expat = 0; + + if (! roadmap_gpx_told_no_expat) { + roadmap_log (ROADMAP_ERROR, "No GPX file import (no expat library)"); + roadmap_gpx_told_no_expat = 1; + } + } + + int + roadmap_gpx_read_file(const char *path, + const char *name, queue *w, queue *r, queue *t) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + int + roadmap_gpx_read_waypoints + (const char *path, const char *name, queue *waypoints) + { + roadmap_gpx_tell_no_expat (); + return 0; + + } + + int + roadmap_gpx_read_one_track( + const char *path, const char *name, route_head **track) + { + roadmap_gpx_tell_no_expat (); + return 0; + + } + + int + roadmap_gpx_read_one_route( + const char *path, const char *name, route_head **route) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + int + roadmap_gpx_write_file(const char *path, const char *name, + queue *w, queue *r, queue *t) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + int roadmap_gpx_write_waypoints(const char *path, const char *name, + queue *waypoints) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + int roadmap_gpx_write_route(const char *path, const char *name, + route_head *route) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + int roadmap_gpx_write_track(const char *path, const char *name, + route_head *track) + { + roadmap_gpx_tell_no_expat (); + return 0; + } + + #endif // ROADMAP_USES_EXPAT + Index: roadmap_start.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_start.c,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -d -r1.95 -r1.96 *** roadmap_start.c 26 Jun 2006 16:38:10 -0000 1.95 --- roadmap_start.c 26 Jun 2006 19:51:14 -0000 1.96 *************** *** 63,66 **** --- 63,67 ---- #include "roadmap_fuzzy.h" #include "roadmap_navigate.h" + #include "roadmap_label.h" #include "roadmap_display.h" #include "roadmap_locator.h" *************** *** 177,238 **** } static void roadmap_start_open_trip (void) { - - #ifdef NO_EXPAT - roadmap_log (ROADMAP_ERROR, - "This feature is not available (no expat library)"); - #else roadmap_trip_load_ask (0); - #endif } static void roadmap_start_merge_trip (void) { - - #ifdef NO_EXPAT - roadmap_log (ROADMAP_ERROR, - "This feature is not available (no expat library)"); - #else roadmap_trip_load_ask (1); - #endif } static void roadmap_start_save_trip (void) { - - #ifdef NO_EXPAT - roadmap_log (ROADMAP_ERROR, - "This feature is not available (no expat library)"); - #else roadmap_trip_save (1); - #endif } static void roadmap_start_save_trip_as (void) { - - #ifdef NO_EXPAT - roadmap_log (ROADMAP_ERROR, - "This feature is not available (no expat library)"); - #else roadmap_trip_save_as (1); - #endif } static void roadmap_start_save_track (void) { - #ifdef NO_EXPAT - roadmap_log (ROADMAP_ERROR, - "This feature is not available (no expat library)"); - #else roadmap_track_save(); - #endif } static void roadmap_start_merge_landmark (void) { ! #ifdef NO_EXPAT roadmap_log (ROADMAP_ERROR, "This feature is not available (no expat library)"); - #else - roadmap_landmark_merge (); - #endif } static void roadmap_start_route (void) { --- 178,227 ---- } + #ifdef ROADMAP_USES_EXPAT static void roadmap_start_open_trip (void) { roadmap_trip_load_ask (0); } static void roadmap_start_merge_trip (void) { roadmap_trip_load_ask (1); } static void roadmap_start_save_trip (void) { roadmap_trip_save (1); } static void roadmap_start_save_trip_as (void) { roadmap_trip_save_as (1); } static void roadmap_start_save_track (void) { roadmap_track_save(); } static void roadmap_start_merge_landmark (void) { ! roadmap_landmark_merge (); ! } ! ! #else // ROADMAP_USES_EXPAT ! ! static void roadmap_start_no_expat (void) { roadmap_log (ROADMAP_ERROR, "This feature is not available (no expat library)"); } + static void roadmap_start_open_trip (void) { roadmap_start_no_expat(); } + + static void roadmap_start_merge_trip (void) { roadmap_start_no_expat(); } + + static void roadmap_start_save_trip (void) { roadmap_start_no_expat(); } + + static void roadmap_start_save_trip_as (void) { roadmap_start_no_expat(); } + + static void roadmap_start_save_track (void) { roadmap_start_no_expat(); } + + static void roadmap_start_merge_landmark (void) { roadmap_start_no_expat(); } + + #endif // ROADMAP_USES_EXPAT + static void roadmap_start_route (void) { *************** *** 449,452 **** --- 438,457 ---- "Stop following the current route", roadmap_trip_route_stop}, + {"toggleview", "2D/3D View", "M", NULL, + "Toggle view mode 2D / 3D", roadmap_screen_toggle_view_mode}, + + {"togglelabels", "Show/Hide Street Labels", "Labels", NULL, + "Show or Hide the names of streets", roadmap_screen_toggle_labels}, + + {"toggleorientation", "Dynamic/Fixed Orientation", "", NULL, + "Toggle orientation mode dynamic / fixed", + roadmap_screen_toggle_orientation_mode}, + + {"IncHorizon", "Increase Horizon", "I", NULL, + "Increase the 3D horizon", roadmap_screen_increase_horizon}, + + {"DecHorizon", "Decrease Horizon", "DI", NULL, + "Decrease the 3D horizon", roadmap_screen_decrease_horizon}, + {"tracktoggle", "Show/Hide Track", "Track", NULL, "Show or Hide the GPS breadcrumb track", roadmap_track_toggle_display}, *************** *** 555,558 **** --- 560,567 ---- "right", "down", + "togglelabels", + "toggleorientation", + "toggleview", + "full", RoadMapFactorySeparator, *************** *** 979,982 **** --- 988,992 ---- roadmap_fuzzy_initialize (); roadmap_navigate_initialize (); + roadmap_label_initialize (); roadmap_display_initialize (); roadmap_voice_initialize (); *************** *** 1011,1014 **** --- 1021,1025 ---- roadmap_math_restore_zoom (); roadmap_start_window (); + roadmap_label_activate (); roadmap_sprite_load (); roadmap_layer_load (); *************** *** 1018,1022 **** roadmap_history_load (); ! #ifndef NO_EXPAT roadmap_track_autoload (); roadmap_landmark_load (); --- 1029,1033 ---- roadmap_history_load (); ! #ifdef ROADMAP_USES_EXPAT roadmap_track_autoload (); roadmap_landmark_load (); *************** *** 1034,1043 **** roadmap_trip_restore_focus (); ! #ifdef NO_EXPAT ! roadmap_start_create_trip (); ! #else if ( ! roadmap_trip_load (1, 0)) { roadmap_start_create_trip (); } #endif --- 1045,1054 ---- roadmap_trip_restore_focus (); ! #ifdef ROADMAP_USES_EXPAT if ( ! roadmap_trip_load (1, 0)) { roadmap_start_create_trip (); } + #else + roadmap_start_create_trip (); #endif *************** *** 1056,1060 **** roadmap_driver_shutdown (); roadmap_history_save(); ! #ifndef NO_EXPAT roadmap_track_autosave (); roadmap_landmark_save (); --- 1067,1071 ---- roadmap_driver_shutdown (); roadmap_history_save(); ! #ifdef ROADMAP_USES_EXPAT roadmap_track_autosave (); roadmap_landmark_save (); |
From: Paul F. <pg...@us...> - 2006-06-26 19:48:00
|
Update of /cvsroot/roadmap/roadmap/src/qt In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/qt Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/qt/Makefile,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Makefile 7 Dec 2005 18:57:36 -0000 1.20 --- Makefile 26 Jun 2006 19:47:49 -0000 1.21 *************** *** 1,60 **** - # --- Installation options ------------------------------------------------- ! DESTDIR= ! INSTALLDIR=/usr/local ! bindir=$(INSTALLDIR)/bin ! desktopdir=$(INSTALLDIR)/apps/Applications ! pkgdatadir=$(INSTALLDIR)/share/roadmap ! # --- Tool specific options ------------------------------------------------ ! WARNFLAGS=-W -Wall -Wno-unused-parameter ! GUICFLAGS=-I/usr/include/qt3 -I/usr/local/include/qt3 ! GUILDFLAGS=-lqt ! MOC=/usr/bin/moc ifeq ($(DESKTOP),QPE) ! GUICFLAGS=-I$(QTDIR)/include -DQWS ! GUILDFLAGS=-L$(QTDIR)/lib -lqte -lqpe ! MOC=$(QTDIR)/bin/moc ! LDFLAGS=-L$(QTDIR)/lib INSTALLDIR=$(QTDIR) endif - ifeq ($(MODE),DEBUG) - STDCFLAGS=-g $(WARNFLAGS) -DROADMAP_DEBUG_HEAP - else - ifeq ($(MODE),PROFILE) - STDCFLAGS=-g $(WARNFLAGS) -pg -fprofile-arcs -g - LDFLAGS=-pg $(LDFLAGS) - else - STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -g $(WARNFLAGS) $(OPTIONS) - endif - endif - - CFLAGS=$(STDCFLAGS) $(GUICFLAGS) -I.. - CPPFLAGS=-I.. $(GUICFLAGS) $(STDCFLAGS) -fno-rtti -fno-exceptions -pipe - HOST=`uname -s` - ifeq ($(HOST),Darwin) - ARFLAGS="r" - else - ARFLAGS="rf" - endif ! RDMLIBS= ../libroadmap.a libqtroadmap.a ../unix/libosroadmap.a ../gpx/libgpx.a ../libroadmap.a ! LIBS=$(RDMLIBS) $(GUILDFLAGS) -lexpat -lm ! ! ! # --- RoadMap sources & targets -------------------------------------------- ! RMLIBSRCS= qt_main.cc \ moc_qt_main.cc \ qt_canvas.cc \ moc_qt_canvas.cc \ - roadmap_canvas.cc \ qt_dialog.cc \ moc_qt_dialog.cc \ --- 1,34 ---- ! # QT makefile + TOP = .. + include $(TOP)/options.mk ! # --- Installation options ------------------------------------------------- ! desktopdir=$(INSTALLDIR)/apps/Applications ! MOC=$(QTDIR)/bin/moc ! # --- QT-specific options ------------------------------------------------ ! ! CFLAGS += -I$(QTDIR)/include -I/usr/include/qt3 -I/usr/local/include/qt3 ! CFLAGS += -fno-rtti -fno-exceptions ! LIBS += -L$(QTDIR)/lib -lqt-mt ifeq ($(DESKTOP),QPE) ! CFLAGS += -I$(QTDIR)/include -DQWS ! LIBS += -lqte -lqpe INSTALLDIR=$(QTDIR) endif ! # --- QT sources & targets -------------------------------------------- ! RMLIBSRCS = qt_main.cc \ moc_qt_main.cc \ qt_canvas.cc \ moc_qt_canvas.cc \ qt_dialog.cc \ moc_qt_dialog.cc \ *************** *** 65,92 **** roadmap_messagebox.c ! RMLIBOBJS1=$(RMLIBSRCS:.c=.o) ! RMLIBOBJS=$(RMLIBOBJS1:.cc=.o) ! RUNTIME=qtroadmap qtroadgps - # --- Conventional targets ---------------------------------------- ! .PHONY: all runtime clean strip install install-ipkg uninstall ! all: runtime ! runtime: $(RUNTIME) clean: ! rm -f *.o *.a *.da $(RUNTIME) moc_qt_*.cc strip: ! $(STRIP) -s $(RUNTIME) install: mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(RUNTIME) roadmap roadgps ! install $(RUNTIME) $(DESTDIR)$(bindir)/ ln -s qtroadmap $(DESTDIR)$(bindir)/roadmap ln -s qtroadgps $(DESTDIR)$(bindir)/roadgps --- 39,71 ---- roadmap_messagebox.c ! # temporary ! roadmap_canvas_agg.o: ! @echo ! @echo "*** Sorry! We still need a roadmap_canvas_agg.cc for QT." ! @echo ! false ! RMLIBOBJS1 = $(RMLIBSRCS:.cc=.o) ! RMLIBOBJS = $(CANVAS_OBJS) $(RMLIBOBJS1:.c=.o) + TARGETS = qtroadgps qtroadmap ! # --- Conventional targets ---------------------------------------- ! .PHONY: all clean strip install install-ipkg uninstall ! all: $(TARGETS) clean: ! rm -f *.o *.a *.da $(TARGETS) moc_qt_*.cc strip: ! $(STRIP) $(TARGETS) install: mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(TARGETS) roadmap roadgps ! install $(TARGETS) $(DESTDIR)$(bindir)/ ln -s qtroadmap $(DESTDIR)$(bindir)/roadmap ln -s qtroadgps $(DESTDIR)$(bindir)/roadgps *************** *** 104,108 **** uninstall: ! cd $(bindir) && rm -f $(RUNTIME) roadmap roadgps --- 83,87 ---- uninstall: ! cd $(bindir) && rm -f $(TARGETS) roadmap roadgps *************** *** 113,121 **** $(RANLIB) libqtroadmap.a ! qtroadmap: roadmap_main.o ../libguiroadmap.a $(RDMLIBS) ! $(CXX) -o qtroadmap roadmap_main.o ../libguiroadmap.a $(LIBS) ! qtroadgps: roadmap_main.o ../libguiroadgps.a $(RDMLIBS) ! $(CC) roadmap_main.o -o qtroadgps ../libguiroadgps.a $(LIBS) moc_qt_main.cc: qt_main.h --- 92,104 ---- $(RANLIB) libqtroadmap.a ! qtroadmap: roadmap_main.o libqtroadmap.a \ ! $(TOP)/libguiroadmap.a $(filter %.a, $(LIBS)) ! $(CC) $(LDFLAGS) -o qtroadmap roadmap_main.o \ ! $(TOP)/libguiroadmap.a libqtroadmap.a $(LIBS) ! qtroadgps: roadmap_main.o libqtroadmap.a \ ! $(TOP)/libguiroadgps.a $(filter %.a, $(LIBS)) ! $(CC) $(LDFLAGS) -o qtroadgps roadmap_main.o \ ! $(TOP)/libguiroadgps.a libqtroadmap.a $(LIBS) moc_qt_main.cc: qt_main.h |
From: Paul F. <pg...@us...> - 2006-06-26 19:48:00
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194 Modified Files: Makefile Added Files: config.mk options.mk Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/Makefile,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** Makefile 21 Apr 2006 18:37:50 -0000 1.78 --- Makefile 26 Jun 2006 19:47:49 -0000 1.79 *************** *** 1,150 **** - # --- Installation options ------------------------------------------------- - - DESTDIR= - INSTALLDIR=/usr/local - desktopdir=$(INSTALLDIR)/applications - pkgdatadir=$(INSTALLDIR)/share/roadmap - pkgmapsdir=/var/lib/roadmap - bindir=$(INSTALLDIR)/bin - pkgbindir=$(bindir) - menudir=$(DESTDIR)/usr/lib/menu - ICONDIR=$(INSTALLDIR)/share/pixmaps - mandir=$(INSTALLDIR)/share/man - man1dir=$(mandir)/man1 - - INSTALL = install - INSTALL_DATA = install -m644 - # --- Tool specific options ------------------------------------------------ - RANLIB = ranlib - STRIP = strip - - WARNFLAGS = -W -Wall -Wno-unused-parameter -Wcast-align -Wpointer-arith -Wreturn-type -Wsign-compare - - - ifeq ($(EXPAT),NO) - EXPATCFLAGS=-DNO_EXPAT - EXPATLDFLAGS= - else - EXPATCFLAGS= - EXPATLDFLAGS=-lexpat - endif - - ifeq ($(MODE),DEBUG) - # Memory leak detection using mtrace: - # Do not forget to set the trace file using the env. variable MALLOC_TRACE, - # then use the mtrace tool to analyze the output. - MODECFLAGS=-g $(WARNFLAGS) -DROADMAP_DEBUG_HEAP - MODELDFLAGS= - else - ifeq ($(MODE),PROFILE) - MODECFLAGS=-g $(WARNFLAGS) -pg -fprofile-arcs -g - MODELDFLAGS=-pg - else - MODECFLAGS=-O2 -ffast-math -fomit-frame-pointer $(WARNFLAGS) $(OPTIONS) - MODELDFLAGS= - endif - endif - - ifeq ($(SQL),SQLITE) - SQLCFLAGS=-DROADMAP_USES_SQLITE - SQLLDFLAGS=-lsqlite - SQLTOOLS=sqliteload - else - SQLCFLAGS= - SQLLDFLAGS= - SQLTOOLS= - endif - - ifeq ($(DESKTOP),GTK2) - RDMODULES=gtk2 - DTCFLAGS= - else - ifeq ($(DESKTOP),GPE) - RDMODULES=gtk2 - DTCFLAGS= - else - ifeq ($(DESKTOP),GTK) - RDMODULES=gtk - DTCFLAGS= - else - ifeq ($(DESKTOP),QT) - RDMODULES=qt - DTCFLAGS= - else - ifeq ($(DESKTOP),QPE) - RDMODULES=qt - DTCFLAGS=-DQWS - else - RDMODULES=gtk gtk2 qt - DTCFLAGS= - endif - endif - endif - endif - endif - - HOST=`uname -s` - ifeq ($(HOST),Darwin) - ARFLAGS="r" - else - ARFLAGS="rf" - endif - - ifeq ($(SHAPEFILES),NO) - ROADMAP_USE_SHAPEFILES= - SHAPELDFLAGS= - else - ROADMAP_USE_SHAPEFILES=-DROADMAP_USE_SHAPEFILES - SHAPELDFLAGS=-lshp - endif - ! CFLAGS=$(MODECFLAGS) $(EXPATCFLAGS) $(DTCFLAGS) $(SQLCFLAGS) $(ROADMAP_USE_SHAPEFILES) -I/usr/local/include -I$(PWD) ! LDFLAGS=$(MODELDFLAGS) $(SQLLDFLAGS) $(SHAPELDFLAGS) ! ! RDMLIBS=libroadmap.a unix/libosroadmap.a gpx/libgpx.a ! LIBS=$(RDMLIBS) -lpopt $(EXPATLDFLAGS) -lm # --- RoadMap sources & targets -------------------------------------------- RMLIBSRCS=roadmap_log.c \ ! roadmap_message.c \ ! roadmap_string.c \ ! roadmap_voice.c \ ! roadmap_scan.c \ ! roadmap_list.c \ ! roadmap_config.c \ ! roadmap_option.c \ ! roadmap_metadata.c \ ! roadmap_index.c \ ! roadmap_county.c \ ! roadmap_locator.c \ ! roadmap_math.c \ ! roadmap_hash.c \ ! roadmap_dbread.c \ ! roadmap_dictionary.c \ ! roadmap_square.c \ ! roadmap_point.c \ ! roadmap_line.c \ ! roadmap_shape.c \ ! roadmap_place.c \ ! roadmap_polygon.c \ ! roadmap_street.c \ ! roadmap_plugin.c \ ! roadmap_geocode.c \ ! roadmap_history.c \ ! roadmap_input.c \ ! roadmap_nmea.c \ ! roadmap_gpsd2.c \ ! roadmap_io.c \ ! roadmap_gps.c \ ! roadmap_object.c \ ! roadmap_driver.c \ ! roadmap_adjust.c \ ! roadmap_sunrise.c \ ! roadmap_gpx.c RMLIBOBJS=$(RMLIBSRCS:.c=.o) --- 1,48 ---- # --- Tool specific options ------------------------------------------------ ! TOP = . ! include $(TOP)/options.mk # --- RoadMap sources & targets -------------------------------------------- RMLIBSRCS=roadmap_log.c \ ! roadmap_message.c \ ! roadmap_string.c \ ! roadmap_voice.c \ ! roadmap_scan.c \ ! roadmap_list.c \ ! roadmap_config.c \ ! roadmap_option.c \ ! roadmap_metadata.c \ ! roadmap_index.c \ ! roadmap_county.c \ ! roadmap_locator.c \ ! roadmap_math.c \ ! roadmap_hash.c \ ! roadmap_dbread.c \ ! roadmap_dictionary.c \ ! roadmap_square.c \ ! roadmap_point.c \ ! roadmap_line.c \ ! roadmap_shape.c \ ! roadmap_place.c \ ! roadmap_polygon.c \ ! roadmap_street.c \ ! roadmap_plugin.c \ ! roadmap_geocode.c \ ! roadmap_history.c \ ! roadmap_input.c \ ! roadmap_nmea.c \ ! roadmap_gpsd2.c \ ! roadmap_io.c \ ! roadmap_gps.c \ ! roadmap_object.c \ ! roadmap_driver.c \ ! roadmap_adjust.c \ ! roadmap_sunrise.c \ ! roadmap_state.c \ ! roadmap_gpx.c RMLIBOBJS=$(RMLIBSRCS:.c=.o) *************** *** 152,173 **** RMGUISRCS=roadmap_sprite.c \ ! roadmap_object.c \ ! roadmap_trip.c \ ! roadmap_track.c \ ! roadmap_landmark.c \ ! roadmap_layer.c \ ! roadmap_fuzzy.c \ ! roadmap_navigate.c \ ! roadmap_pointer.c \ ! roadmap_screen.c \ ! roadmap_display.c \ ! roadmap_factory.c \ ! roadmap_preferences.c \ ! roadmap_address.c \ ! roadmap_crossing.c \ ! roadmap_coord.c \ ! roadmap_download.c \ ! roadmap_help.c \ ! roadmap_start.c RMGUIOBJS=$(RMGUISRCS:.c=.o) --- 50,72 ---- RMGUISRCS=roadmap_sprite.c \ ! roadmap_object.c \ ! roadmap_trip.c \ ! roadmap_track.c \ ! roadmap_landmark.c \ ! roadmap_layer.c \ ! roadmap_fuzzy.c \ ! roadmap_navigate.c \ ! roadmap_pointer.c \ ! roadmap_screen.c \ ! roadmap_display.c \ ! roadmap_factory.c \ ! roadmap_preferences.c \ ! roadmap_address.c \ ! roadmap_crossing.c \ ! roadmap_coord.c \ ! roadmap_download.c \ ! roadmap_help.c \ ! roadmap_label.c \ ! roadmap_start.c RMGUIOBJS=$(RMGUISRCS:.c=.o) *************** *** 175,182 **** RGGUISRCS=roadgps_start.c \ ! roadmap_factory.c \ ! roadmap_help.c \ ! roadgps_screen.c \ ! roadgps_logger.c RGGUIOBJS=$(RGGUISRCS:.c=.o) --- 74,81 ---- RGGUISRCS=roadgps_start.c \ ! roadmap_factory.c \ ! roadmap_help.c \ ! roadgps_screen.c \ ! roadgps_logger.c RGGUIOBJS=$(RGGUISRCS:.c=.o) *************** *** 194,216 **** BMLIBSRCS=buildmap_messages.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_metadata.c \ ! buildmap_city.c \ ! buildmap_square.c \ ! buildmap_point.c \ ! buildmap_street.c \ ! buildmap_area.c \ ! buildmap_line.c \ ! buildmap_shape.c \ ! buildmap_polygon.c \ ! buildmap_range.c \ ! buildmap_zip.c \ ! buildmap_layer.c \ ! buildmap_tiger.c \ ! buildmap_shapefile.c \ ! buildmap_empty.c \ ! buildmap_place.c \ ! buildmap_index.c \ BMLIBOBJS=$(BMLIBSRCS:.c=.o) --- 93,115 ---- BMLIBSRCS=buildmap_messages.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_metadata.c \ ! buildmap_city.c \ ! buildmap_square.c \ ! buildmap_point.c \ ! buildmap_street.c \ ! buildmap_area.c \ ! buildmap_line.c \ ! buildmap_shape.c \ ! buildmap_polygon.c \ ! buildmap_range.c \ ! buildmap_zip.c \ ! buildmap_layer.c \ ! buildmap_tiger.c \ ! buildmap_shapefile.c \ ! buildmap_empty.c \ ! buildmap_place.c \ ! buildmap_index.c \ BMLIBOBJS=$(BMLIBSRCS:.c=.o) *************** *** 222,231 **** BPSRCS=buildmap_messages.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_square.c \ ! buildmap_point.c \ ! buildmap_place.c \ ! buildplace_main.c BPOBJS=$(BPSRCS:.c=.o) --- 121,130 ---- BPSRCS=buildmap_messages.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_square.c \ ! buildmap_point.c \ ! buildmap_place.c \ ! buildplace_main.c BPOBJS=$(BPSRCS:.c=.o) *************** *** 233,241 **** BUSRCS=buildus_main.c \ ! buildus_fips.c \ ! buildus_county.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_messages.c BUOBJS=$(BUSRCS:.c=.o) --- 132,140 ---- BUSRCS=buildus_main.c \ ! buildus_fips.c \ ! buildus_county.c \ ! buildmap_dictionary.c \ ! buildmap_dbwrite.c \ ! buildmap_messages.c BUOBJS=$(BUSRCS:.c=.o) *************** *** 243,259 **** XCHGSRCS=rdmxchange_main.c \ ! rdmxchange_dictionary.c \ ! rdmxchange_index.c \ ! rdmxchange_metadata.c \ ! rdmxchange_point.c \ ! rdmxchange_line.c \ ! rdmxchange_shape.c \ ! rdmxchange_polygon.c \ ! rdmxchange_square.c \ ! rdmxchange_street.c \ ! rdmxchange_range.c \ ! rdmxchange_zip.c \ ! buildmap_messages.c \ ! buildmap_dbwrite.c XCHGOBJS=$(XCHGSRCS:.c=.o) --- 142,158 ---- XCHGSRCS=rdmxchange_main.c \ ! rdmxchange_dictionary.c \ ! rdmxchange_index.c \ ! rdmxchange_metadata.c \ ! rdmxchange_point.c \ ! rdmxchange_line.c \ ! rdmxchange_shape.c \ ! rdmxchange_polygon.c \ ! rdmxchange_square.c \ ! rdmxchange_street.c \ ! rdmxchange_range.c \ ! rdmxchange_zip.c \ ! buildmap_messages.c \ ! buildmap_dbwrite.c XCHGOBJS=$(XCHGSRCS:.c=.o) *************** *** 271,278 **** .PHONY: all gtk gtk2 qt rebuild build \ ! clean strip install uninstall unix gpx all: runtime build $(TOOLS) icons gtk: $(MAKE) DESKTOP=GTK --- 170,180 ---- .PHONY: all gtk gtk2 qt rebuild build \ ! topclean clean strip install uninstall unix gpx all: runtime build $(TOOLS) icons + + # --- Convenience targets, to force a specific desktop build ------ + # (overrides setting in config.mk) gtk: $(MAKE) DESKTOP=GTK *************** *** 287,310 **** ! unix: ! if [ -d unix ] ; then \ ! $(MAKE) -C unix RANLIB=$(RANLIB) "CFLAGS=$(CFLAGS) -I.." ; \ ! fi ! ! unix/libosroadmap.a: unix ! gpx: ! if [ -d gpx ] ; then \ ! $(MAKE) -C gpx RANLIB=$(RANLIB) "CFLAGS=$(CFLAGS) -I.." ; \ ! fi - gpx/libgpx.a: gpx runtime: unix gpx $(RUNTIME) $(DRIVERS) for module in $(RDMODULES) ; \ do \ ! if [ -d $$module ] ; then \ ! $(MAKE) -C $$module RANLIB=$(RANLIB) STDCFLAGS="$(CFLAGS)" runtime || exit 1; \ ! fi ; \ done --- 189,202 ---- ! # --- Sub-targets ------------------------------------------------ ! unix gpx: ! $(MAKE) -C $@ all runtime: unix gpx $(RUNTIME) $(DRIVERS) for module in $(RDMODULES) ; \ do \ ! $(MAKE) -C $$module all || exit 1; \ done *************** *** 312,341 **** strip: ! for b in $(BUILD) $(DRIVERS) ; \ ! do \ ! if [ -f $$b ] ; then \ ! $(STRIP) -s $$b ; \ ! fi ; \ ! done for module in $(RDMODULES) ; \ do \ ! if [ -d $$module ] ; then \ ! $(MAKE) -C $$module STRIP=$(STRIP) strip || exit 1; \ ! fi ; \ done ! clean: rm -f *.o *.a *.da $(BUILD) $(TOOLS) $(DRIVERS) rm -f roadmap-32.xpm roadmap.xpm # Clean up CVS backup files as well. $(RM) .#* for module in icons $(RDMODULES) ; \ do \ ! if [ -d $$module ] ; then \ ! $(MAKE) -C $$module clean || exit 1; \ ! fi ; \ done ! if [ -d unix ] ; then $(MAKE) -C unix clean ; fi ! if [ -d gpx ] ; then $(MAKE) -C gpx clean ; fi --- 204,227 ---- strip: ! -$(STRIP) $(BUILD) $(DRIVERS) for module in $(RDMODULES) ; \ do \ ! $(MAKE) -C $$module strip || exit 1; \ done ! topclean: rm -f *.o *.a *.da $(BUILD) $(TOOLS) $(DRIVERS) rm -f roadmap-32.xpm roadmap.xpm # Clean up CVS backup files as well. $(RM) .#* + + clean: topclean for module in icons $(RDMODULES) ; \ do \ ! $(MAKE) -C $$module clean || exit 1; \ done ! $(MAKE) -C unix clean ! $(MAKE) -C gpx clean ! rm -f agg_support/*.o *************** *** 343,349 **** for module in $(RDMODULES) ; \ do \ ! if [ -d $$module ] ; then \ ! $(MAKE) -C $$module RANLIB=$(RANLIB) STDCFLAGS="$(CFLAGS)" STRIP=$(STRIP) install || exit 1; \ ! fi ; \ done --- 229,233 ---- for module in $(RDMODULES) ; \ do \ ! $(MAKE) -C $$module install || exit 1; \ done --- NEW FILE: config.mk --- # # config.mk # # This file controls how RoadMap gets built (at least on unix # "Makefile-based" platforms). Try and keep your customizations # here. You can override these settings from the commandline # if you wish, e.g. "make MODE=DEBUG". # If you change settings in this file, it's quite possible that # you'll need to do a "make clean" before trying your build again. # (In other words, it may appear to build correctly, and in some # cases might, but there are no guarantees.) # Basic building mode MODE = # blank for "normal" build # MODE=DEBUG # enables -g, disables -O, turns on mtrace leak detection # MODE=PROFILE # sets up for profiling with gprof # Add any other special local CFLAGS values here CFLAGS = # Choose a desktop # DESKTOP = GTK DESKTOP = GTK2 # DESKTOP = GPE # DESKTOP = QT # DESKTOP = QPE # if you select QT or QPE above, you might also want to set # QTDIR here: QTDIR=/usr # RoadMap uses the "expat" library in order to read and write xml # for the GPX format route/track/waypoint files. If you don't # libexpat.a on your system, you can still use RoadMap, but you # won't be able to import or export your route and waypoint data. EXPAT = YES # EXPAT = NO # RoadMap users in the USA will probably use the Tiger maps from # the US Census bureau. These maps do not requre "shapefile" # support when building the rdm format of the maps. Users in # other areas will likely be building maps from other sources, # and will probably need shapefile support. SHAPEFILES = NO # SHAPEFILES = YES # In order to properly label streets on the map, it's necessary # to be able to draw text at arbitrary angles. RoadMap uses the # "Anti-Grain Geometry" library, libagg.a, in order to do this. # If you don't have this library, RoadMap can still do street # labels, but they will all be horizontal, and won't look as # nice. (for more information on AGG, see http://antigrain.com) # [ Note -- currently, only GTK2 supports AGG builds. ] # AGG = YES AGG = NO # Some languages need to present text that flows from right to to # left. RoadMap supports this via the "Free Implementation of # the BiDirectional" algorithm library, (aka "FriBidi" -- for # more information, see http://fribidi.org ) (AGG is also # required.) BIDI = NO # BIDI = YES # RoadMap internal profiling -- you probably don't want this. # DBG_TIME = YES --- NEW FILE: options.mk --- # Build options for RoadMap. Mostly this file shouldn't need # to be edited. Personal changes can probably be made in config.mk include $(TOP)/config.mk # --- Installation options ------------------------------------------------- DESTDIR= INSTALLDIR=/usr/local desktopdir=$(INSTALLDIR)/applications pkgdatadir=$(INSTALLDIR)/share/roadmap pkgmapsdir=/var/lib/roadmap bindir=$(INSTALLDIR)/bin pkgbindir=$(bindir) menudir=$(DESTDIR)/usr/lib/menu ICONDIR=$(INSTALLDIR)/share/pixmaps mandir=$(INSTALLDIR)/share/man man1dir=$(mandir)/man1 INSTALL = install INSTALL_DATA = install -m644 # --- Build options ------------------------------------------------ ifeq ($(DESKTOP),GTK2) RDMODULES=gtk2 else ifeq ($(DESKTOP),GPE) RDMODULES=gtk2 else ifeq ($(DESKTOP),GTK) RDMODULES=gtk else ifeq ($(DESKTOP),QT) RDMODULES=qt else ifeq ($(DESKTOP),QPE) RDMODULES=qt else RDMODULES=gtk gtk2 qt endif endif endif endif endif RANLIB=ranlib STRIP=strip ifeq ($(strip $(MODE)),DEBUG) # Memory leak detection using mtrace: # Do not forget to set the trace file using the env. # variable MALLOC_TRACE, then use the mtrace tool to # analyze the output. CFLAGS += -g -DROADMAP_DEBUG_HEAP else ifeq ($(strip $(MODE)),PROFILE) CFLAGS += -g -pg -fprofile-arcs -g LIBS += -pg else CFLAGS += -O2 -ffast-math -fomit-frame-pointer endif endif WARNFLAGS = -W \ -Wall \ -Wno-unused-parameter \ -Wcast-align \ -Wpointer-arith \ -Wreturn-type \ -Wsign-compare CFLAGS += $(WARNFLAGS) RDMLIBS= $(TOP)/libroadmap.a \ $(TOP)/unix/libosroadmap.a \ $(TOP)/gpx/libgpx.a \ $(TOP)/libroadmap.a LIBS += $(RDMLIBS) # expat library, for xml GPX format ifneq ($(strip $(EXPAT)),NO) LIBS += -lexpat CFLAGS += -DROADMAP_USES_EXPAT endif # shapefiles for some mapsets ifneq ($(strip $(SHAPEFILES)),NO) CFLAGS += -DROADMAP_USE_SHAPEFILES LIBS += -lshp endif # later... # ifneq ($(NAVIGATE),NO) # LIBS += -L$(TOP)/dglib -ldgl # endif # each DESKTOP version has a fully-"native" canvas # implementation, as well as an agg-based implementation. ifeq ($(strip $(AGG)),NO) CANVAS_OBJS = roadmap_canvas.o else LIBS += -lagg -lfreetype CFLAGS += -DANGLED_LABELS=1 \ -I$(TOP)/agg_support \ -I/usr/include/agg2 \ -I/usr/local/include/agg2 \ -I/usr/include/freetype2 CANVAS_OBJS = roadmap_canvas_agg.o \ $(TOP)/agg_support/roadmap_canvas.o \ $(TOP)/agg_support/agg_font_freetype.o endif # bidirectional text lib ifneq ($(strip $(BIDI)),NO) LIBS += -lfribidi CFLAGS += -DUSE_FRIBIDI -I/usr/include/fribidi endif # RoadMap internal profiling ifeq ($(strip $(DBG_TIME)),YES) CFLAGS += -DROADMAP_DBG_TIME endif HOST=`uname -s` ifeq ($(HOST),Darwin) ARFLAGS="r" else ARFLAGS="rf" endif CFLAGS += -I$(TOP) -I/usr/local/include -DNDEBUG LIBS := -lpopt -L/usr/local/lib $(LIBS) -lm CXXFLAGS = $(CFLAGS) |
From: Paul F. <pg...@us...> - 2006-06-26 19:48:00
|
Update of /cvsroot/roadmap/roadmap/src/gtk2 In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/gtk2 Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/gtk2/Makefile,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Makefile 19 Jun 2006 23:58:08 -0000 1.24 --- Makefile 26 Jun 2006 19:47:49 -0000 1.25 *************** *** 1,52 **** ! # --- Installation options ------------------------------------------------- ! ! DESTDIR= ! INSTALLDIR=/usr/local ! bindir=$(INSTALLDIR)/bin ! ! ! # --- Tool specific options ------------------------------------------------ ! ! GUICFLAGS=`pkg-config --cflags gtk+-2.0` ! GUILDFLAGS=`pkg-config --libs gtk+-2.0` $(X11LDFLAGS) ! ! ! WARNFLAGS = -W -Wall -Wno-unused-parameter ! RDMLIBS= ../libroadmap.a libgtkroadmap.a ../unix/libosroadmap.a ../gpx/libgpx.a ../libroadmap.a ! ifeq ($(MODE),DEBUG) ! STDCFLAGS=-g $(WARNFLAGS) -DROADMAP_DEBUG_HEAP ! else ! ifeq ($(MODE),PROFILE) ! STDCFLAGS=-g $(WARNFLAGS) -pg -fprofile-arcs -g ! LDFLAGS=-pg $(LDFLAGS) ! else ! STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -g $(WARNFLAGS) $(OPTIONS) ! endif ! endif ifeq ($(DESKTOP),GPE) ! GPECFLAGS=-DROADMAP_USES_GPE ! GPELDFLAGS=-lgpewidget -ldisplaymigration ! else ! GPECFLAGS= ! GPELDFLAGS= ! endif ! ! ! HOST=`uname -s` ! ifeq ($(HOST),Darwin) ! ARFLAGS="r" ! else ! ARFLAGS="rf" endif ! CFLAGS = $(STDCFLAGS) $(GPECFLAGS) $(GUICFLAGS) -I.. -I/usr/local/include ! LIBS = -L/usr/local/lib $(RDMLIBS) $(GPELDFLAGS) $(GUILDFLAGS) -lexpat -lm ! ! # --- RoadMap sources & targets ----------------------------------- RMLIBSRCS=roadmap_keyboard.c \ --- 1,19 ---- ! # GTK2 makefile ! TOP = .. ! include $(TOP)/options.mk + # --- GTK2-specific options --------------------------------------- ! LIBS += `pkg-config --libs gtk+-2.0` ! CFLAGS += `pkg-config --cflags gtk+-2.0` ifeq ($(DESKTOP),GPE) ! CFLAGS +=-DROADMAP_USES_GPE ! LIBS += -lgpewidget -ldisplaymigration endif ! # --- GTK2 sources & targets ----------------------------------- RMLIBSRCS=roadmap_keyboard.c \ *************** *** 54,88 **** roadmap_dialog.c \ roadmap_fileselection.c \ ! roadmap_signals.c \ ! roadmap_canvas.c ! ! RMLIBOBJS=$(RMLIBSRCS:.c=.o) ! RUNTIME=gtkroadgps gtkroadmap # --- Conventional targets ---------------------------------------- ! .PHONY: all runtime clean install uninstall strip ! all: runtime ! runtime: $(RUNTIME) clean: ! rm -f *.o *.a *.da $(RUNTIME) ! ! strip: ! $(STRIP) -s $(RUNTIME) install: mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(RUNTIME) roadmap roadgps ! install $(RUNTIME) $(DESTDIR)$(bindir) ln -s gtkroadmap $(DESTDIR)$(bindir)/roadmap ln -s gtkroadgps $(DESTDIR)$(bindir)/roadgps uninstall: ! cd $(DESTDIR)$(bindir) && rm -f $(RUNTIME) roadmap roadgps # --- The real targets -------------------------------------------- --- 21,54 ---- roadmap_dialog.c \ roadmap_fileselection.c \ ! roadmap_signals.c ! RMLIBOBJS = $(CANVAS_OBJS) $(RMLIBSRCS:.c=.o) + TARGETS = gtkroadgps gtkroadmap # --- Conventional targets ---------------------------------------- ! .PHONY: all strip clean install uninstall ! all: $(TARGETS) ! strip: ! $(STRIP) $(TARGETS) clean: ! rm -f *.o *.a *.da $(TARGETS) install: + $(MAKE) -C $(TOP) install + $(STRIP) $(TARGETS) mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(TARGETS) roadmap roadgps ! install $(TARGETS) $(DESTDIR)$(bindir) ln -s gtkroadmap $(DESTDIR)$(bindir)/roadmap ln -s gtkroadgps $(DESTDIR)$(bindir)/roadgps uninstall: ! cd $(DESTDIR)$(bindir) && rm -f $(TARGETS) roadmap roadgps ! $(MAKE) -C $(TOP) uninstall # --- The real targets -------------------------------------------- *************** *** 92,99 **** $(RANLIB) libgtkroadmap.a ! gtkroadmap: roadmap_main.o ../libguiroadmap.a $(RDMLIBS) ! $(CC) $(LDFLAGS) roadmap_main.o -o gtkroadmap ../libguiroadmap.a $(LIBS) ! gtkroadgps: roadmap_main.o ../libguiroadgps.a $(RDMLIBS) ! $(CC) $(LDFLAGS) roadmap_main.o -o gtkroadgps ../libguiroadgps.a $(LIBS) --- 58,69 ---- $(RANLIB) libgtkroadmap.a ! gtkroadmap: roadmap_main.o libgtkroadmap.a \ ! $(TOP)/libguiroadmap.a $(filter %.a, $(LIBS)) ! $(CXX) $(LDFLAGS) -o gtkroadmap roadmap_main.o \ ! $(TOP)/libguiroadmap.a libgtkroadmap.a $(LIBS) ! gtkroadgps: roadmap_main.o libgtkroadmap.a \ ! $(TOP)/libguiroadgps.a $(filter %.a, $(LIBS)) ! $(CXX) $(LDFLAGS) -o gtkroadgps roadmap_main.o \ ! $(TOP)/libguiroadgps.a libgtkroadmap.a $(LIBS) |
From: Paul F. <pg...@us...> - 2006-06-26 19:48:00
|
Update of /cvsroot/roadmap/roadmap/src/gtk In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/gtk Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/gtk/Makefile,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Makefile 7 Dec 2005 18:57:35 -0000 1.18 --- Makefile 26 Jun 2006 19:47:49 -0000 1.19 *************** *** 1,34 **** ! # --- Installation options ------------------------------------------------- ! ! DESTDIR= ! INSTALLDIR=/usr/local ! bindir=$(INSTALLDIR)/bin ! ! ! # --- Tool specific options ------------------------------------------------ ! ! GUICFLAGS=`gtk-config --cflags` ! GUILDFLAGS=`gtk-config --libs` ! ! WARNFLAGS = -W -Wall ! ! STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -g $(WARNFLAGS) ! # STDCFLAGS=-g $(WARNFLAGS) -DROADMAP_DEBUG_HEAP ! # STDCFLAGS=-g $(WARNFLAGS) -pg -fprofile-arcs -g ! ! RDMLIBS= ../libroadmap.a libgtkroadmap.a ../unix/libosroadmap.a ../gpx/libgpx.a ../libroadmap.a ! HOST=`uname -s` ! ifeq ($(HOST),Darwin) ! ARFLAGS="r" ! else ! ARFLAGS="rf" ! endif ! CFLAGS=$(STDCFLAGS) $(GUICFLAGS) -I.. -I/usr/local/include ! LIBS= -L/usr/local/libs $(RDMLIBS) $(GUILDFLAGS) -lexpat -lm ! # --- RoadMap sources & targets -------------------------------------------- RMLIBSRCS=roadmap_keyboard.c \ --- 1,13 ---- ! # GTK makefile ! TOP = .. ! include $(TOP)/options.mk ! # --- GTK-specific options --------------------------------------- ! LIBS += `gtk-config --libs` ! CFLAGS += `gtk-config --cflags` ! # --- GTK sources & targets ----------------------------------- RMLIBSRCS=roadmap_keyboard.c \ *************** *** 36,70 **** roadmap_dialog.c \ roadmap_fileselection.c \ ! roadmap_signals.c \ ! roadmap_canvas.c ! RMLIBOBJS=$(RMLIBSRCS:.c=.o) ! RUNTIME=gtkroadgps gtkroadmap ! # --- Conventional targets ------------------------------------------------- ! .PHONY: all runtime clean strip install uninstall strip ! all: runtime ! runtime: $(RUNTIME) clean: ! rm -f *.o *.a *.da $(RUNTIME) ! ! strip: ! $(STRIP) -s $(RUNTIME) install: mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(RUNTIME) roadmap roadgps ! install $(RUNTIME) $(DESTDIR)$(bindir) ln -s gtkroadmap $(DESTDIR)$(bindir)/roadmap ln -s gtkroadgps $(DESTDIR)$(bindir)/roadgps uninstall: ! cd $(DESTDIR)$(bindir) && rm -f $(RUNTIME) roadmap roadgps # --- The real targets -------------------------------------------- --- 15,55 ---- roadmap_dialog.c \ roadmap_fileselection.c \ ! roadmap_signals.c ! # hopefully temporary ! roadmap_canvas_agg.o: ! @echo ! @echo "*** Sorry! We still need a roadmap_canvas_agg.cpp for GTK." ! @echo ! false ! RMLIBOBJS = $(CANVAS_OBJS) $(RMLIBSRCS:.c=.o) + TARGETS = gtkroadgps gtkroadmap ! # --- Conventional targets ---------------------------------------- ! .PHONY: all strip clean install uninstall ! all: $(TARGETS) ! strip: ! $(STRIP) $(TARGETS) clean: ! rm -f *.o *.a *.da $(TARGETS) install: + $(MAKE) -C $(TOP) install + $(STRIP) $(TARGETS) mkdir -p $(DESTDIR)$(bindir) ! cd $(DESTDIR)$(bindir) && rm -f $(TARGETS) roadmap roadgps ! install $(TARGETS) $(DESTDIR)$(bindir) ln -s gtkroadmap $(DESTDIR)$(bindir)/roadmap ln -s gtkroadgps $(DESTDIR)$(bindir)/roadgps uninstall: ! cd $(DESTDIR)$(bindir) && rm -f $(TARGETS) roadmap roadgps ! $(MAKE) -C $(TOP) uninstall # --- The real targets -------------------------------------------- *************** *** 74,81 **** $(RANLIB) libgtkroadmap.a ! gtkroadmap: roadmap_main.o ../libguiroadmap.a $(RDMLIBS) ! $(CC) roadmap_main.o -o gtkroadmap ../libguiroadmap.a $(LIBS) ! gtkroadgps: roadmap_main.o ../libguiroadgps.a $(RDMLIBS) ! $(CC) roadmap_main.o -o gtkroadgps ../libguiroadgps.a $(LIBS) --- 59,70 ---- $(RANLIB) libgtkroadmap.a ! gtkroadmap: roadmap_main.o libgtkroadmap.a \ ! $(TOP)/libguiroadmap.a $(filter %.a, $(LIBS)) ! $(CC) $(LDFLAGS) -o gtkroadmap roadmap_main.o \ ! $(TOP)/libguiroadmap.a libgtkroadmap.a $(LIBS) ! gtkroadgps: roadmap_main.o libgtkroadmap.a \ ! $(TOP)/libguiroadgps.a $(filter %.a, $(LIBS)) ! $(CC) $(LDFLAGS) -o gtkroadgps roadmap_main.o \ ! $(TOP)/libguiroadgps.a libgtkroadmap.a $(LIBS) |
From: Paul F. <pg...@us...> - 2006-06-26 19:47:53
|
Update of /cvsroot/roadmap/roadmap/src/unix In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/unix Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/unix/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile 4 Nov 2005 22:03:48 -0000 1.9 --- Makefile 26 Jun 2006 19:47:49 -0000 1.10 *************** *** 1,15 **** # --- Tool specific options ------------------------------------------------ ! HOST=`uname -s` ! ifeq ($(HOST),Darwin) ! ARFLAGS="r" ! else ! ARFLAGS="rf" ! endif ! ! # --- RoadMap sources & targets -------------------------------------------- ! OSLIBSRCS=roadmap_file.c \ roadmap_path.c \ roadmap_library.c \ --- 1,10 ---- # --- Tool specific options ------------------------------------------------ ! TOP = .. ! include $(TOP)/options.mk ! # --- UNIX OS sources & targets -------------------------------------------- ! LIBSRCS=roadmap_file.c \ roadmap_path.c \ roadmap_library.c \ *************** *** 19,34 **** roadmap_time.c ! OSLIBOBJS=$(OSLIBSRCS:.c=.o) # --- Conventional targets ---------------------------------------- ! .PHONY: all build runtime clean install uninstall ! ! all: runtime ! ! build: ! runtime: libosroadmap.a clean: --- 14,25 ---- roadmap_time.c ! LIBOBJS=$(LIBSRCS:.c=.o) # --- Conventional targets ---------------------------------------- ! .PHONY: all clean install uninstall ! all: libosroadmap.a clean: *************** *** 42,47 **** # --- The real targets -------------------------------------------- ! libosroadmap.a: $(OSLIBOBJS) ! $(AR) $(ARFLAGS) libosroadmap.a $(OSLIBOBJS) $(RANLIB) libosroadmap.a --- 33,38 ---- # --- The real targets -------------------------------------------- ! libosroadmap.a: $(LIBOBJS) ! $(AR) $(ARFLAGS) libosroadmap.a $(LIBOBJS) $(RANLIB) libosroadmap.a |
From: Paul F. <pg...@us...> - 2006-06-26 19:47:53
|
Update of /cvsroot/roadmap/roadmap/src/icons In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/icons Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/icons/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile 4 Nov 2005 21:49:06 -0000 1.7 --- Makefile 26 Jun 2006 19:47:49 -0000 1.8 *************** *** 2,9 **** # Those hand-made icons (the others are official road signs): ICONSRC= rm_hold.xpm \ ! rm_gps.xpm \ ! rm_zoom1.xpm \ ! rm_zoomin.xpm \ ! rm_zoomout.xpm ICONS=$(ICONSRC:.xpm=.png) --- 2,9 ---- # Those hand-made icons (the others are official road signs): ICONSRC= rm_hold.xpm \ ! rm_gps.xpm \ ! rm_zoom1.xpm \ ! rm_zoomin.xpm \ ! rm_zoomout.xpm ICONS=$(ICONSRC:.xpm=.png) |
From: Paul F. <pg...@us...> - 2006-06-26 19:47:52
|
Update of /cvsroot/roadmap/roadmap/src/gpx In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7194/gpx Modified Files: Makefile Log Message: refactored makefiles. conditional logic now in options.mk, user selections now in config.mk. Index: Makefile =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/gpx/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 7 Dec 2005 14:21:09 -0000 1.1 --- Makefile 26 Jun 2006 19:47:49 -0000 1.2 *************** *** 1,22 **** # --- Tool specific options ------------------------------------------------ ! RANLIB = ranlib ! ! HOST=`uname -s` ! ifeq ($(HOST),Darwin) ! ARFLAGS="r" ! else ! ARFLAGS="rf" ! endif ! ! # WARNFLAGS = -g ! WARNFLAGS = -O2 ! MODECFLAGS= $(WARNFLAGS) -ffast-math -fomit-frame-pointer $(OPTIONS) ! CFLAGS = $(MODECFLAGS) $(STDCFLAGS) # --- RoadMap sources & targets -------------------------------------------- ! OSLIBSRCS=\ gpx.c \ xmltag.c \ --- 1,11 ---- # --- Tool specific options ------------------------------------------------ ! TOP = .. ! include $(TOP)/options.mk # --- RoadMap sources & targets -------------------------------------------- ! LIBSRCS=\ gpx.c \ xmltag.c \ *************** *** 29,33 **** vmem.c ! OSLIBOBJS=$(OSLIBSRCS:.c=.o) --- 18,22 ---- vmem.c ! LIBOBJS=$(LIBSRCS:.c=.o) *************** *** 36,46 **** all: runtime - build: - runtime: libgpx.a ! clean: cleanone ! ! cleanone: rm -f *.o *.a *.da --- 25,31 ---- all: runtime runtime: libgpx.a ! clean: rm -f *.o *.a *.da *************** *** 52,57 **** # --- The real targets -------------------------------------------- ! libgpx.a: $(OSLIBOBJS) ! $(AR) $(ARFLAGS) libgpx.a $(OSLIBOBJS) $(RANLIB) libgpx.a --- 37,42 ---- # --- The real targets -------------------------------------------- ! libgpx.a: $(LIBOBJS) ! $(AR) $(ARFLAGS) libgpx.a $(LIBOBJS) $(RANLIB) libgpx.a |
From: Paul F. <pg...@us...> - 2006-06-26 17:53:16
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1964 Modified Files: roadmap_gps.c Log Message: better support for NMEA-from-a-file operation: - don't re-open and reread the file when done. once is enough. - force good satellite status. gpsbabel doesn't emit this correctly -- this fix allows replaying gpsbabel output. Index: roadmap_gps.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_gps.c,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** roadmap_gps.c 14 Nov 2005 07:10:59 -0000 1.33 --- roadmap_gps.c 26 Jun 2006 17:53:13 -0000 1.34 *************** *** 123,127 **** /* Basic support functions -------------------------------------------- */ ! static void roadmap_gps_update_status (char status) { if (status != RoadMapLastKnownStatus) { --- 123,134 ---- /* Basic support functions -------------------------------------------- */ ! static char roadmap_gps_update_status (char status) { ! ! /* Reading from a file is usually for debugging. gpsbabel ! * doesn't recreate status correctly, so force good status here. ! */ ! if (RoadMapGpsLink.subsystem == ROADMAP_IO_FILE) { ! status = 'A'; ! } if (status != RoadMapLastKnownStatus) { *************** *** 132,135 **** --- 139,144 ---- RoadMapLastKnownStatus = status; } + + return status; } *************** *** 203,213 **** static void roadmap_gps_gga (void *context, const RoadMapNmeaFields *fields) { if (fields->gga.quality == ROADMAP_NMEA_QUALITY_INVALID) { ! roadmap_gps_update_status ('V'); } else { ! roadmap_gps_update_status ('A'); RoadMapGpsReceivedTime = fields->gga.fixtime; --- 212,228 ---- static void roadmap_gps_gga (void *context, const RoadMapNmeaFields *fields) { + char status; + if (fields->gga.quality == ROADMAP_NMEA_QUALITY_INVALID) { ! status = roadmap_gps_update_status ('V'); } else { ! status = roadmap_gps_update_status ('A'); ! ! } ! ! if (status == 'A') { RoadMapGpsReceivedTime = fields->gga.fixtime; *************** *** 227,233 **** static void roadmap_gps_gll (void *context, const RoadMapNmeaFields *fields) { ! roadmap_gps_update_status (fields->gll.status); ! if (fields->gll.status == 'A') { RoadMapGpsReceivedPosition.latitude = fields->gll.latitude; --- 242,248 ---- static void roadmap_gps_gll (void *context, const RoadMapNmeaFields *fields) { ! char status = roadmap_gps_update_status (fields->gll.status); ! if (status == 'A') { RoadMapGpsReceivedPosition.latitude = fields->gll.latitude; *************** *** 244,250 **** static void roadmap_gps_rmc (void *context, const RoadMapNmeaFields *fields) { ! roadmap_gps_update_status (fields->rmc.status); ! if (fields->rmc.status == 'A') { RoadMapGpsReceivedTime = fields->rmc.fixtime; --- 259,265 ---- static void roadmap_gps_rmc (void *context, const RoadMapNmeaFields *fields) { ! char status = roadmap_gps_update_status (fields->rmc.status); ! if (status == 'A') { RoadMapGpsReceivedTime = fields->rmc.fixtime; *************** *** 384,388 **** int steering) { ! roadmap_gps_update_status (status); if (status == 'A') { --- 399,403 ---- int steering) { ! status = roadmap_gps_update_status (status); if (status == 'A') { *************** *** 477,481 **** RoadMapGpsReceivedPosition = *position; ! roadmap_gps_update_status ('A'); roadmap_gps_process_position(); --- 492,496 ---- RoadMapGpsReceivedPosition = *position; ! (void)roadmap_gps_update_status ('A'); roadmap_gps_process_position(); *************** *** 804,810 **** roadmap_io_close (&context); ! /* Try to establish a new IO channel: */ ! ! roadmap_gps_open(); } } --- 819,826 ---- roadmap_io_close (&context); ! /* Try to establish a new IO channel, but don't reread a file: */ ! if (RoadMapGpsLink.subsystem != ROADMAP_IO_FILE) { ! roadmap_gps_open(); ! } } } |
From: Paul F. <pg...@us...> - 2006-06-26 17:48:11
|
Update of /cvsroot/roadmap/roadmap/src/gtk2 In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31294/gtk2 Modified Files: roadmap_main.c Log Message: if the X server dies (usually at system shutdown, but really anytime), gtk will exit immediately. use atexit() to cause roadmap_start_exit() to run, in order to save modified files. Index: roadmap_main.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/gtk2/roadmap_main.c,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** roadmap_main.c 2 Jan 2006 09:11:46 -0000 1.25 --- roadmap_main.c 26 Jun 2006 17:47:59 -0000 1.26 *************** *** 601,606 **** void roadmap_main_exit (void) { ! roadmap_start_exit (); ! gtk_main_quit(); } --- 601,610 ---- void roadmap_main_exit (void) { ! static int exit_done; ! ! if (!exit_done++) { ! roadmap_start_exit (); ! gtk_main_quit(); ! } } *************** *** 625,628 **** --- 629,634 ---- } + atexit(roadmap_main_exit); + roadmap_signals_init(); |
From: Paul F. <pg...@us...> - 2006-06-26 17:48:05
|
Update of /cvsroot/roadmap/roadmap/src/gtk In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31294/gtk Modified Files: roadmap_main.c Log Message: if the X server dies (usually at system shutdown, but really anytime), gtk will exit immediately. use atexit() to cause roadmap_start_exit() to run, in order to save modified files. Index: roadmap_main.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/gtk/roadmap_main.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** roadmap_main.c 2 Jan 2006 09:11:22 -0000 1.18 --- roadmap_main.c 26 Jun 2006 17:47:59 -0000 1.19 *************** *** 504,509 **** void roadmap_main_exit (void) { ! roadmap_start_exit (); ! gtk_main_quit(); } --- 504,513 ---- void roadmap_main_exit (void) { ! static int exit_done; ! ! if (!exit_done++) { ! roadmap_start_exit (); ! gtk_main_quit(); ! } } *************** *** 521,524 **** --- 525,530 ---- } + atexit(roadmap_main_exit); + roadmap_signals_init(); |
From: Paul F. <pg...@us...> - 2006-06-26 17:41:38
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28959 Modified Files: roadmap.h roadmap_log.c Log Message: provide void dbg_time_start() and dbg_time_end(), for internal profiling Index: roadmap_log.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_log.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** roadmap_log.c 19 Jun 2006 19:50:28 -0000 1.14 --- roadmap_log.c 26 Jun 2006 17:41:35 -0000 1.15 *************** *** 259,260 **** --- 259,288 ---- } + + #ifdef ROADMAP_DBG_TIME + + static unsigned long dbg_time_rec[DBG_TIME_LAST_COUNTER]; + static unsigned long dbg_time_tmp[DBG_TIME_LAST_COUNTER]; + + #ifdef __WIN32 + void dbg_time_start(int type) { + dbg_time_tmp[type] = GetTickCount(); + } + + void dbg_time_end(int type) { + dbg_time_rec[type] += GetTickCount() - dbg_time_tmp[type]; + } + + #else + + void dbg_time_start(int type) { + dbg_time_tmp[type] = 0; + } + + void dbg_time_end(int type) { + dbg_time_rec[type] += 0; + } + + #endif // __WIN32 + + #endif // ROADMAP_DBG_TIME Index: roadmap.h =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** roadmap.h 2 Dec 2005 21:36:47 -0000 1.18 --- roadmap.h 26 Jun 2006 17:41:35 -0000 1.19 *************** *** 95,98 **** --- 95,127 ---- typedef void (* RoadMapCallback) (void); + #ifdef ROADMAP_DBG_TIME + + #define DBG_TIME_FULL 0 + #define DBG_TIME_DRAW_SQUARE 1 + #define DBG_TIME_DRAW_ONE_LINE 2 + #define DBG_TIME_SELECT_PEN 3 + #define DBG_TIME_DRAW_LINES 4 + #define DBG_TIME_CREATE_PATH 5 + #define DBG_TIME_ADD_PATH 6 + #define DBG_TIME_FLIP 7 + #define DBG_TIME_TEXT_FULL 8 + #define DBG_TIME_TEXT_CNV 9 + #define DBG_TIME_TEXT_LOAD 10 + #define DBG_TIME_TEXT_ONE_LETTER 11 + #define DBG_TIME_TEXT_GET_GLYPH 12 + #define DBG_TIME_TEXT_ONE_RAS 13 + + #define DBG_TIME_LAST_COUNTER 14 + + void dbg_time_start(int type); + void dbg_time_end(int type); + + #else + + #define dbg_time_start(x) + #define dbg_time_end(x) + + #endif // ROADMAP_DBG_TIME + #endif // INCLUDE__ROADMAP__H |
From: Paul F. <pg...@us...> - 2006-06-26 17:35:39
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26530 Modified Files: roadmap_display.c Log Message: trim trailing whitespace (there's so much it will obfuscate later commits) Index: roadmap_display.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_display.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** roadmap_display.c 7 Dec 2005 18:57:35 -0000 1.23 --- roadmap_display.c 26 Jun 2006 17:35:36 -0000 1.24 *************** *** 82,89 **** const char *page; const char *title; ! char *content; char *id; ! int on_current_page; int has_position; --- 82,89 ---- const char *page; const char *title; ! char *content; char *id; ! int on_current_page; int has_position; *************** *** 92,99 **** RoadMapPosition position; RoadMapPosition endpoint[2]; ! RoadMapPen background; RoadMapPen foreground; ! PluginLine line; --- 92,99 ---- RoadMapPosition position; RoadMapPosition endpoint[2]; ! RoadMapPen background; RoadMapPen foreground; ! PluginLine line; *************** *** 101,110 **** RoadMapConfigDescriptor background_descriptor; RoadMapConfigDescriptor foreground_descriptor; ! int where; const char *default_format; const char *default_background; const char *default_foreground; ! PluginStreet street; --- 101,110 ---- RoadMapConfigDescriptor background_descriptor; RoadMapConfigDescriptor foreground_descriptor; ! int where; const char *default_format; const char *default_background; const char *default_foreground; ! PluginStreet street; *************** *** 135,144 **** const char *color = roadmap_config_get (descriptor); ! if (strcasecmp (color, "black") != 0) { ! RoadMapPen pen; char pen_name[256]; ! if (sizeof(pen_name) < strlen(descriptor->category) + strlen(descriptor->name) + 2) { --- 135,144 ---- const char *color = roadmap_config_get (descriptor); ! if (strcasecmp (color, "black") != 0) { ! RoadMapPen pen; char pen_name[256]; ! if (sizeof(pen_name) < strlen(descriptor->category) + strlen(descriptor->name) + 2) { *************** *** 151,158 **** strcat (pen_name, "."); strcat (pen_name, descriptor->name); ! pen = roadmap_canvas_create_pen (pen_name); roadmap_canvas_set_foreground (color); ! return pen; } --- 151,158 ---- strcat (pen_name, "."); strcat (pen_name, descriptor->name); ! pen = roadmap_canvas_create_pen (pen_name); roadmap_canvas_set_foreground (color); ! return pen; } *************** *** 163,174 **** static void roadmap_display_create_pens (void) { ! static int RoadMapDisplayPensCreated = 0; ! RoadMapSign *sign; ! ! if (RoadMapDisplayPensCreated) return; ! RoadMapDisplayPensCreated = 1; --- 163,174 ---- static void roadmap_display_create_pens (void) { ! static int RoadMapDisplayPensCreated = 0; ! RoadMapSign *sign; ! ! if (RoadMapDisplayPensCreated) return; ! RoadMapDisplayPensCreated = 1; *************** *** 176,188 **** RoadMapMessageContour = roadmap_canvas_create_pen ("message.contour"); roadmap_canvas_set_foreground ("black"); ! RoadMapConsoleBackground = roadmap_display_new_pen (&RoadMapConfigConsoleBackground); ! RoadMapConsoleForeground = roadmap_display_new_pen (&RoadMapConfigConsoleForeground); ! for (sign = RoadMapStreetSign; sign->title != NULL; ++sign) { ! sign->background = roadmap_display_new_pen (&sign->background_descriptor); --- 176,188 ---- RoadMapMessageContour = roadmap_canvas_create_pen ("message.contour"); roadmap_canvas_set_foreground ("black"); ! RoadMapConsoleBackground = roadmap_display_new_pen (&RoadMapConfigConsoleBackground); ! RoadMapConsoleForeground = roadmap_display_new_pen (&RoadMapConfigConsoleForeground); ! for (sign = RoadMapStreetSign; sign->title != NULL; ++sign) { ! sign->background = roadmap_display_new_pen (&sign->background_descriptor); *************** *** 196,204 **** static void roadmap_display_string (char *text, int lines, int height, RoadMapGuiPoint *position) { ! char *text_line = text; ! if (lines > 1) { ! /* There is more than one line of text to display: * find where to cut the text. We choose to cut at --- 196,204 ---- static void roadmap_display_string (char *text, int lines, int height, RoadMapGuiPoint *position) { ! char *text_line = text; ! if (lines > 1) { ! /* There is more than one line of text to display: * find where to cut the text. We choose to cut at *************** *** 209,213 **** char *p1 = text_line + (strlen(text_line) / 2); char *p2 = p1; ! while (p1 > text_line) { if (*p1 == ' ') { --- 209,213 ---- char *p1 = text_line + (strlen(text_line) / 2); char *p2 = p1; ! while (p1 > text_line) { if (*p1 == ' ') { *************** *** 237,241 **** position->y += height; } ! } --- 237,241 ---- position->y += height; } ! } *************** *** 246,250 **** static RoadMapSign *roadmap_display_search_sign (const char *title) { ! RoadMapSign *sign; --- 246,250 ---- static RoadMapSign *roadmap_display_search_sign (const char *title) { ! RoadMapSign *sign; *************** *** 262,266 **** RoadMapGuiPoint point; ! roadmap_math_coordinate (position, &point); roadmap_math_rotate_coordinates (1, &point); --- 262,266 ---- RoadMapGuiPoint point; ! roadmap_math_coordinate (position, &point); roadmap_math_rotate_coordinates (1, &point); *************** *** 286,293 **** width += 8; /* Keep some room around the text. */ ! height = roadmap_canvas_height(); screen_width = roadmap_canvas_width(); ! /* Check if the text fits into one line, or if we need to use * more than one. --- 286,293 ---- width += 8; /* Keep some room around the text. */ ! height = roadmap_canvas_height(); screen_width = roadmap_canvas_width(); ! /* Check if the text fits into one line, or if we need to use * more than one. *************** *** 300,311 **** lines = 1 + ((width + 10) / screen_width); } ! text_height = ascent + descent + 3; sign_height = lines * text_height + 3; ! if (sign->has_position) { int visible = roadmap_math_point_is_visible (&sign->position); ! if (sign->was_visible && (! visible)) { sign->deadline = 0; --- 300,311 ---- lines = 1 + ((width + 10) / screen_width); } ! text_height = ascent + descent + 3; sign_height = lines * text_height + 3; ! if (sign->has_position) { int visible = roadmap_math_point_is_visible (&sign->position); ! if (sign->was_visible && (! visible)) { sign->deadline = 0; *************** *** 314,323 **** } sign->was_visible = visible; ! roadmap_math_coordinate (&sign->position, points); roadmap_math_rotate_coordinates (1, points); if (sign->where == SIGN_TOP) { ! points[1].x = 5 + (screen_width - sign_width) / 2; points[2].x = points[1].x - 5; --- 314,323 ---- } sign->was_visible = visible; ! roadmap_math_coordinate (&sign->position, points); roadmap_math_rotate_coordinates (1, points); if (sign->where == SIGN_TOP) { ! points[1].x = 5 + (screen_width - sign_width) / 2; points[2].x = points[1].x - 5; *************** *** 326,330 **** text_position.x = points[2].x + 4; ! } else if (points[0].x < screen_width / 2) { --- 326,330 ---- text_position.x = points[2].x + 4; ! } else if (points[0].x < screen_width / 2) { *************** *** 333,337 **** points[4].x = sign_width + 5; points[6].x = 20; ! text_position.x = 9; --- 333,337 ---- points[4].x = sign_width + 5; points[6].x = 20; ! text_position.x = 9; *************** *** 342,351 **** points[4].x = screen_width - sign_width - 5; points[6].x = screen_width - 20; ! text_position.x = points[4].x + 4; } points[3].x = points[2].x; points[5].x = points[4].x; ! if (sign->where == SIGN_TOP || (points[0].y > height / 2)) { --- 342,351 ---- points[4].x = screen_width - sign_width - 5; points[6].x = screen_width - 20; ! text_position.x = points[4].x + 4; } points[3].x = points[2].x; points[5].x = points[4].x; ! if (sign->where == SIGN_TOP || (points[0].y > height / 2)) { *************** *** 357,361 **** } else { ! points[1].y = height - sign_height - 5; points[3].y = height - 5; --- 357,361 ---- } else { ! points[1].y = height - sign_height - 5; points[3].y = height - 5; *************** *** 374,383 **** } else { ! points[0].x = (screen_width - sign_width) / 2; points[1].x = (screen_width + sign_width) / 2; points[2].x = points[1].x; points[3].x = points[0].x; ! switch (sign->where) { --- 374,383 ---- } else { ! points[0].x = (screen_width - sign_width) / 2; points[1].x = (screen_width + sign_width) / 2; points[2].x = points[1].x; points[3].x = points[0].x; ! switch (sign->where) { *************** *** 386,397 **** points[0].y = height - sign_height - 5; break; ! case SIGN_TOP: ! points[0].y = 5; break; ! case SIGN_CENTER: ! points[0].y = (height - sign_height) / 2; break; --- 386,397 ---- points[0].y = height - sign_height - 5; break; ! case SIGN_TOP: ! points[0].y = 5; break; ! case SIGN_CENTER: ! points[0].y = (height - sign_height) / 2; break; *************** *** 400,410 **** points[2].y = points[0].y + sign_height; points[3].y = points[2].y; ! text_position.x = points[0].x + 4; text_position.y = points[0].y + 3; ! count = 4; } ! roadmap_canvas_select_pen (sign->background); roadmap_canvas_draw_multiple_polygons (1, &count, points, 1); --- 400,410 ---- points[2].y = points[0].y + sign_height; points[3].y = points[2].y; ! text_position.x = points[0].x + 4; text_position.y = points[0].y + 3; ! count = 4; } ! roadmap_canvas_select_pen (sign->background); roadmap_canvas_draw_multiple_polygons (1, &count, points, 1); *************** *** 412,416 **** roadmap_canvas_select_pen (RoadMapMessageContour); roadmap_canvas_draw_multiple_polygons (1, &count, points, 0); ! roadmap_canvas_select_pen (sign->foreground); roadmap_display_string --- 412,416 ---- roadmap_canvas_select_pen (RoadMapMessageContour); roadmap_canvas_draw_multiple_polygons (1, &count, points, 0); ! roadmap_canvas_select_pen (sign->foreground); roadmap_display_string *************** *** 480,495 **** } format = roadmap_config_get (&sign->format_descriptor); ! street_has_changed = 0; ! if (! roadmap_plugin_same_line (&sign->line, line)) { ! roadmap_plugin_get_street (line, street); ! if (sign->id != NULL) { free (sign->id); } sign->id = strdup (roadmap_plugin_street_full_name (line)); ! sign->line = *line; sign->was_visible = 0; --- 480,495 ---- } format = roadmap_config_get (&sign->format_descriptor); ! street_has_changed = 0; ! if (! roadmap_plugin_same_line (&sign->line, line)) { ! roadmap_plugin_get_street (line, street); ! if (sign->id != NULL) { free (sign->id); } sign->id = strdup (roadmap_plugin_street_full_name (line)); ! sign->line = *line; sign->was_visible = 0; *************** *** 503,507 **** roadmap_message_set ('F', sign->id); ! roadmap_plugin_get_street_properties (line, &properties); roadmap_message_set ('#', properties.address); --- 503,507 ---- roadmap_message_set ('F', sign->id); ! roadmap_plugin_get_street_properties (line, &properties); roadmap_message_set ('#', properties.address); *************** *** 541,545 **** roadmap_plugin_line_from (line, &sign->endpoint[0]); roadmap_plugin_line_to (line, &sign->endpoint[1]); ! if (position == NULL) { sign->has_position = 0; --- 541,545 ---- roadmap_plugin_line_from (line, &sign->endpoint[0]); roadmap_plugin_line_to (line, &sign->endpoint[1]); ! if (position == NULL) { sign->has_position = 0; *************** *** 548,552 **** sign->position = *position; } ! roadmap_log_pop (); *street = sign->street; --- 548,552 ---- sign->position = *position; } ! roadmap_log_pop (); *street = sign->street; *************** *** 556,560 **** void roadmap_display_hide (const char *title) { ! RoadMapSign *sign; --- 556,560 ---- void roadmap_display_hide (const char *title) { ! RoadMapSign *sign; *************** *** 567,585 **** static void roadmap_display_console_box (int corner, RoadMapConfigDescriptor *item) { ! const char *format; char text[256]; int count; int width, ascent, descent; ! RoadMapGuiPoint frame[4]; format = roadmap_config_get (item); ! if (! roadmap_message_format (text, sizeof(text), format)) { return; } ! roadmap_canvas_get_text_extents (text, &width, &ascent, &descent); --- 567,585 ---- static void roadmap_display_console_box (int corner, RoadMapConfigDescriptor *item) { ! const char *format; char text[256]; int count; int width, ascent, descent; ! RoadMapGuiPoint frame[4]; format = roadmap_config_get (item); ! if (! roadmap_message_format (text, sizeof(text), format)) { return; } ! roadmap_canvas_get_text_extents (text, &width, &ascent, &descent); *************** *** 603,611 **** frame[2].y = frame[1].y; frame[3].y = frame[0].y; ! count = 4; roadmap_canvas_select_pen (RoadMapConsoleBackground); roadmap_canvas_draw_multiple_polygons (1, &count, frame, 1); ! roadmap_canvas_select_pen (RoadMapConsoleForeground); roadmap_canvas_draw_multiple_polygons (1, &count, frame, 0); --- 603,611 ---- frame[2].y = frame[1].y; frame[3].y = frame[0].y; ! count = 4; roadmap_canvas_select_pen (RoadMapConsoleBackground); roadmap_canvas_draw_multiple_polygons (1, &count, frame, 1); ! roadmap_canvas_select_pen (RoadMapConsoleForeground); roadmap_canvas_draw_multiple_polygons (1, &count, frame, 0); *************** *** 613,617 **** frame[0].x = frame[3].x - 3; frame[0].y = frame[3].y + 3; ! roadmap_canvas_draw_string (frame, ROADMAP_CANVAS_RIGHT|ROADMAP_CANVAS_TOP, --- 613,617 ---- frame[0].x = frame[3].x - 3; frame[0].y = frame[3].y + 3; ! roadmap_canvas_draw_string (frame, ROADMAP_CANVAS_RIGHT|ROADMAP_CANVAS_TOP, *************** *** 648,660 **** roadmap_display_create_pens (); ! roadmap_display_console_box (ROADMAP_CANVAS_BOTTOM|ROADMAP_CANVAS_RIGHT, &RoadMapConfigDisplayBottomRight); ! roadmap_display_console_box (ROADMAP_CANVAS_BOTTOM|ROADMAP_CANVAS_LEFT, &RoadMapConfigDisplayBottomLeft); ! roadmap_display_console_box (ROADMAP_CANVAS_TOP|ROADMAP_CANVAS_RIGHT, --- 648,660 ---- roadmap_display_create_pens (); ! roadmap_display_console_box (ROADMAP_CANVAS_BOTTOM|ROADMAP_CANVAS_RIGHT, &RoadMapConfigDisplayBottomRight); ! roadmap_display_console_box (ROADMAP_CANVAS_BOTTOM|ROADMAP_CANVAS_LEFT, &RoadMapConfigDisplayBottomLeft); ! roadmap_display_console_box (ROADMAP_CANVAS_TOP|ROADMAP_CANVAS_RIGHT, *************** *** 680,684 **** if (sign == NULL || (! sign->has_position)) return NULL; ! return sign->id; } --- 680,684 ---- if (sign == NULL || (! sign->has_position)) return NULL; ! return sign->id; } *************** *** 688,692 **** RoadMapSign *sign; ! roadmap_config_declare ("preferences", &RoadMapConfigDisplayDuration, "10"); --- 688,692 ---- RoadMapSign *sign; ! roadmap_config_declare ("preferences", &RoadMapConfigDisplayDuration, "10"); *************** *** 702,708 **** roadmap_config_declare ("preferences", &RoadMapConfigConsoleForeground, "black"); ! for (sign = RoadMapStreetSign; sign->title != NULL; ++sign) { ! if (sign->default_format != NULL) { roadmap_config_declare --- 702,708 ---- roadmap_config_declare ("preferences", &RoadMapConfigConsoleForeground, "black"); ! for (sign = RoadMapStreetSign; sign->title != NULL; ++sign) { ! if (sign->default_format != NULL) { roadmap_config_declare |
From: Paul F. <pg...@us...> - 2006-06-26 16:38:18
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29371 Modified Files: roadmap_start.c Log Message: don't use ctime() for start/stop log messages Index: roadmap_start.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_start.c,v retrieving revision 1.94 retrieving revision 1.95 diff -C2 -d -r1.94 -r1.95 *** roadmap_start.c 19 Jun 2006 23:58:08 -0000 1.94 --- roadmap_start.c 26 Jun 2006 16:38:10 -0000 1.95 *************** *** 49,52 **** --- 49,53 ---- #include "roadmap_gps.h" + #include "roadmap_time.h" #include "roadmap_preferences.h" #include "roadmap_address.h" *************** *** 932,942 **** } ! roadmap_start_now() { - char *buf; - time_t t = time(0);; - buf = ctime(&t); - buf[strlen(buf)-1] = '\0'; - return buf; } --- 933,940 ---- } ! char * roadmap_start_now() { ! ! return roadmap_time_get_hours_minutes (time(NULL)); } *************** *** 952,956 **** #endif ! roadmap_log (ROADMAP_WARNING, "RoadMap starting, %s", roadmap_start_now()); roadmap_log_redirect (ROADMAP_MESSAGE_ERROR, roadmap_start_error); roadmap_log_redirect (ROADMAP_MESSAGE_FATAL, roadmap_start_fatal); --- 950,954 ---- #endif ! roadmap_log (ROADMAP_WARNING, "RoadMap starting, time %s", roadmap_start_now()); roadmap_log_redirect (ROADMAP_MESSAGE_ERROR, roadmap_start_error); roadmap_log_redirect (ROADMAP_MESSAGE_FATAL, roadmap_start_fatal); *************** *** 1064,1067 **** #endif roadmap_config_save (0); ! roadmap_log (ROADMAP_WARNING, "RoadMap exiting, %s", roadmap_start_now()); } --- 1062,1065 ---- #endif roadmap_config_save (0); ! roadmap_log (ROADMAP_WARNING, "RoadMap exiting, time %s", roadmap_start_now()); } |
From: Paul F. <pg...@us...> - 2006-06-26 16:09:59
|
Update of /cvsroot/roadmap/roadmap/src/agg_support In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15693/agg_support Log Message: Directory /cvsroot/roadmap/roadmap/src/agg_support added to the repository |
From: Paul F. <pg...@us...> - 2006-06-26 14:19:12
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29176 Modified Files: roadmap_track.c Log Message: make the saved track filename platform-neutral Index: roadmap_track.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_track.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** roadmap_track.c 20 Jun 2006 16:26:03 -0000 1.6 --- roadmap_track.c 26 Jun 2006 14:19:08 -0000 1.7 *************** *** 273,277 **** time(&now); ! strftime(name, sizeof(name), "Track-%Y-%m-%d-%H:%M:%S.gpx", localtime(&now)); --- 273,277 ---- time(&now); ! strftime(name, sizeof(name), "Track-%Y-%m-%d-%H-%M-%S.gpx", localtime(&now)); |
From: Paul F. <pg...@us...> - 2006-06-26 14:13:23
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26219 Modified Files: roadmap_nmea.c Log Message: reduce "too many satellites" to WARNING. if you get it too many once, you'll get too many 1000 times. Index: roadmap_nmea.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_nmea.c,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** roadmap_nmea.c 20 Jun 2006 00:53:35 -0000 1.27 --- roadmap_nmea.c 26 Jun 2006 14:13:03 -0000 1.28 *************** *** 381,385 **** if (RoadMapNmeaReceived.gsv.count > ROADMAP_NMEA_MAX_SATELLITE) { ! roadmap_log (ROADMAP_ERROR, "%d is too many satellite, %d max supported", RoadMapNmeaReceived.gsv.count, ROADMAP_NMEA_MAX_SATELLITE); --- 381,385 ---- if (RoadMapNmeaReceived.gsv.count > ROADMAP_NMEA_MAX_SATELLITE) { ! roadmap_log (ROADMAP_WARNING, "%d is too many satellite, %d max supported", RoadMapNmeaReceived.gsv.count, ROADMAP_NMEA_MAX_SATELLITE); |
From: Paul F. <pg...@us...> - 2006-06-25 02:16:12
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27623 Modified Files: roadmap_street.c Log Message: warning suppression Index: roadmap_street.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_street.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** roadmap_street.c 19 Jun 2006 20:09:43 -0000 1.24 --- roadmap_street.c 25 Jun 2006 02:16:10 -0000 1.25 *************** *** 889,894 **** RoadMapRange *this_addr = RoadMapRangeActive->RoadMapAddr + i; ! if (((number & 1) != (this_addr->fradd & 1)) && ! ((number & 1) != (this_addr->toadd & 1))) continue; if (HAS_CONTINUATION(this_addr)) { --- 889,894 ---- RoadMapRange *this_addr = RoadMapRangeActive->RoadMapAddr + i; ! if (((number & 1) != (unsigned)(this_addr->fradd & 1)) && ! ((number & 1) != (unsigned)(this_addr->toadd & 1))) continue; if (HAS_CONTINUATION(this_addr)) { |
From: Paul F. <pg...@us...> - 2006-06-25 02:15:34
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27474 Modified Files: buildplace_main.c Log Message: warning suppression Index: buildplace_main.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/buildplace_main.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** buildplace_main.c 11 Feb 2006 03:46:42 -0000 1.6 --- buildplace_main.c 25 Jun 2006 02:15:30 -0000 1.7 *************** *** 108,111 **** --- 108,112 ---- + #if ROADMAP_USE_SHAPEFILES static RoadMapString str2dict (BuildMapDictionary d, const char *string) { *************** *** 117,120 **** --- 118,122 ---- return buildmap_dictionary_add (d, (char *) string, strlen(string)); } + #endif /* ROADMAP_USE_SHAPEFILES */ *************** *** 181,184 **** --- 183,187 ---- + #if ROADMAP_USE_SHAPEFILES static int dsg2cfcc (const char *dsg) { ENTRY e, *ep; *************** *** 188,191 **** --- 191,195 ---- return ep ? BuildPlaceDSGcfcc[(int)ep->data] : 0; } + #endif |
From: Paul F. <pg...@us...> - 2006-06-25 01:50:55
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17079 Modified Files: roadmap_index.c Log Message: warning suppression. Index: roadmap_index.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadmap_index.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** roadmap_index.c 7 Jun 2006 07:30:56 -0000 1.5 --- roadmap_index.c 25 Jun 2006 01:50:47 -0000 1.6 *************** *** 526,530 **** int i; int index; ! int authority_path; int territory_path; RoadMapAuthority *this_authority; --- 526,530 ---- int i; int index; ! int authority_path = 0; int territory_path; RoadMapAuthority *this_authority; |
From: Paul F. <pg...@us...> - 2006-06-23 22:40:26
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9141 Modified Files: buildmap_main.c Log Message: avoid floating declaration Index: buildmap_main.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/buildmap_main.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** buildmap_main.c 5 Feb 2006 23:15:07 -0000 1.10 --- buildmap_main.c 23 Jun 2006 22:40:22 -0000 1.11 *************** *** 215,223 **** const char **leftovers; BuildMapResult = strdup(roadmap_path_preferred("maps")); /* default. */ ! poptContext decoder = poptGetContext ("buildmap", argc, argv, BuildMapOptionTable, 0); --- 215,224 ---- const char **leftovers; + poptContext decoder; BuildMapResult = strdup(roadmap_path_preferred("maps")); /* default. */ ! decoder = poptGetContext ("buildmap", argc, argv, BuildMapOptionTable, 0); |
From: Paul F. <pg...@us...> - 2006-06-23 17:00:56
|
Update of /cvsroot/roadmap/roadmap/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26172 Modified Files: roadgps_start.c Log Message: need to call roadmap_config_load() Index: roadgps_start.c =================================================================== RCS file: /cvsroot/roadmap/roadmap/src/roadgps_start.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** roadgps_start.c 2 Dec 2005 22:54:39 -0000 1.16 --- roadgps_start.c 23 Jun 2006 17:00:48 -0000 1.17 *************** *** 232,235 **** --- 232,237 ---- roadmap_log_redirect (ROADMAP_MESSAGE_FATAL, roadgps_start_fatal); + roadmap_config_initialize (); + roadmap_config_declare_enumeration ("preferences", &RoadMapConfigGeneralToolbar, "yes", "no", NULL); *************** *** 237,241 **** roadmap_gps_initialize (); roadgps_screen_initialize (); ! roadmap_config_initialize (); roadmap_factory_keymap (RoadGpsStartActions, RoadGpsStartKeyBinding); --- 239,245 ---- roadmap_gps_initialize (); roadgps_screen_initialize (); ! roadgps_logger_initialize (); ! ! roadmap_config_load (); roadmap_factory_keymap (RoadGpsStartActions, RoadGpsStartKeyBinding); *************** *** 243,247 **** roadmap_option (argc, argv, roadgps_start_usage); - roadgps_logger_initialize (); roadgps_start_set_unit (); --- 247,250 ---- |
From: Paul F. <pg...@fo...> - 2006-06-23 15:05:05
|
don't worry -- i only added the directory so i could put together a proper patch for ehud to look at. not committing anything yet. paul paul wrote: > Update of /cvsroot/roadmap/roadmap/src/agg > In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3937/agg > > Log Message: > Directory /cvsroot/roadmap/roadmap/src/agg added to the repository > > =--------------------- paul fox, pg...@fo... (arlington, ma) |
From: Paul F. <pg...@us...> - 2006-06-23 14:56:31
|
Update of /cvsroot/roadmap/roadmap/src/agg In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3937/agg Log Message: Directory /cvsroot/roadmap/roadmap/src/agg added to the repository |
From: Ehud S. <esh...@us...> - 2006-06-22 18:50:56
|
Update of /cvsroot/roadmap/roadmap_editor/src/win32/wince_env/libft In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27251/libft Modified Files: libft.vcp Log Message: Add profiling support. Index: libft.vcp =================================================================== RCS file: /cvsroot/roadmap/roadmap_editor/src/win32/wince_env/libft/libft.vcp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** libft.vcp 24 Apr 2006 07:09:43 -0000 1.2 --- libft.vcp 22 Jun 2006 18:50:49 -0000 1.3 *************** *** 100,105 **** # ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /O2 /M$(CECrtMT) /c # SUBTRACT BASE CPP /YX ! # ADD CPP /nologo /W3 /Zi /I "../../../freetype/include" /D "_LIB" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "WIN32_PROFILE" /O2 /M$(CECrtMT) /c ! # SUBTRACT CPP /YX LIB32=link.exe -lib # ADD BASE LIB32 /nologo --- 100,104 ---- # ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "_LIB" /O2 /M$(CECrtMT) /c # SUBTRACT BASE CPP /YX ! # ADD CPP /nologo /W3 /Zi /I "../../../freetype/include" /D "_LIB" /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /D "WIN32_PROFILE" /O2 /M$(CECrtMT) /fastcap /c LIB32=link.exe -lib # ADD BASE LIB32 /nologo |