Robert Carlsen
1105d60d1f
Added compiler flags to build as Mac OS X Universal Binary. May require QWT and Qt to be universal as well.
2009-01-02 21:23:38 +00:00
Justin F. Knotzke
d5997b9fee
The Ride Plot currently displays the activity's speed in MPH,
...
regardless of the Units preference. This patch checks the preference
and displays it in the appropriate units.
Unlike some of the other cases, I'm checking the value of the Units
setting each time the plot/panel is displayed.
The patch also pulls the 0.62137119 magic constant into a #define
MILES_PER_KM. This constant (and it's inverse, KMS_PER_MILE), occurs
in several files, and (IMHO) really deserves to be pulled into a
separate header, but again, that's work for another day.
--jtc
2009-01-02 20:58:06 +00:00
Justin F. Knotzke
f2187c6965
While browsing the GC code, I found that there was not an explicit
...
deletion of the Tools (CP Calculator) Dialog, nor was the attribute
set that tells the framework to delete the dialog when it's dismissed.
Since the other dialogs use the attribute, this patch does the same.
--jtc
2009-01-02 18:09:26 +00:00
Justin F. Knotzke
801a26392e
JTC found and fixed a double addWidget error..
2009-01-02 17:28:59 +00:00
Sean C. Rhea
ec38e8ca1d
add device types
2008-05-27 03:53:22 +00:00
Sean C. Rhea
61161a7b5d
remember last import path
2008-05-27 03:00:30 +00:00
Sean C. Rhea
5a3c3c8eb7
playing around with export to XML,
...
may eventually become the "native" GC file format
2008-05-27 02:56:07 +00:00
Sean C. Rhea
a9ce6ae947
add Windows to About dialog
2008-05-23 16:07:20 +00:00
Sean C. Rhea
ef5f2c1a47
from Rob C: change '\' to '/'
2008-05-23 16:04:37 +00:00
Sean C. Rhea
6c3ff75f0b
from Rob C: set D2XX to 9600-N-1 to make PT happy on Windows
2008-05-23 16:03:33 +00:00
Sean C. Rhea
1e9c4dffe8
group rides by type, course
2008-05-20 04:57:06 +00:00
Sean C. Rhea
80e113d347
from Justin: "It should fix the bugs with creating a new power.zones file plus
...
adds two DateEdits to show the start and end of a zone range."
2008-05-19 15:03:26 +00:00
Sean C. Rhea
ff59009f86
Dan Connelly points out that it should be "n * (n + 1) / 2" (plus, not minus).
2008-05-19 14:46:50 +00:00
Sean C. Rhea
9d557b26a1
from Justin: PT reports no data as watts == -1, assume watts == 0 in that case
2008-05-18 15:14:47 +00:00
Sean C. Rhea
91f114f199
from Justin: more hacking on the zones editor
2008-05-18 15:11:21 +00:00
Sean C. Rhea
7c72da0c72
from Justin: icons for windows
2008-05-18 15:01:35 +00:00
Sean C. Rhea
babbaa7e2c
Sane failure for rides longer than a week, which usually happen because
...
someone sets the date on their PT and doesn't reset the device before going
for a ride. This fix will keep GC working until the user splits the ride
(and until we add a ride-splitting function).
2008-05-18 14:19:37 +00:00
Sean C. Rhea
f91e45d950
fix small memory leak
2008-05-18 14:00:50 +00:00
Sean C. Rhea
6aa6693cad
fix awful indentation
2008-05-18 13:58:45 +00:00
Sean C. Rhea
41da1dfc68
smooth updating of progress bar in update_cpi_file
2008-05-14 22:47:54 +00:00
Sean C. Rhea
d91608ecca
from Justin: add Serial.(h|cpp)
2008-05-14 14:59:23 +00:00
Sean C. Rhea
25b17de0e4
from Justin: nits
2008-05-14 14:57:00 +00:00
Sean C. Rhea
e6c85a12f4
from Justin: zones editor, switch from FTP to CP
2008-05-14 00:17:10 +00:00
Sean C. Rhea
4eeb656016
update progress dialog while aggregating over .cpi files
2008-05-13 16:42:39 +00:00
Sean C. Rhea
b6f817c4d7
combine cpint.(h|cpp) with CpintPlot.cpp
2008-05-13 16:30:35 +00:00
Sean C. Rhea
83d6989d51
from Justin: more .pro file patches for Windows, plus ToolsDialog
2008-05-13 16:15:22 +00:00
Sean C. Rhea
e63452d521
from Justin: on Windows, hton[ls] is in winsock.h
2008-05-13 03:33:08 +00:00
Sean C. Rhea
812b17c952
don't need
2008-05-13 03:30:49 +00:00
Sean C. Rhea
e2d9a96b52
Justin's changes, heavily editted, to compile on Windows
2008-05-13 02:18:15 +00:00
Sean C. Rhea
133f677b12
renaming to match directory name
2008-05-13 02:16:46 +00:00
Sean C. Rhea
da214db96d
move TODO list to the web page as a "wish list"
2008-05-12 16:37:34 +00:00
Sean C. Rhea
98ede8e40c
combined lots of emails all into this file
2008-05-12 16:28:58 +00:00
Sean C. Rhea
65c4e1d277
remove old directories
2008-05-12 03:31:25 +00:00
Sean C. Rhea
6e5487ca39
everything in one directory
2008-05-12 03:28:53 +00:00
Sean C. Rhea
b519a0384b
insert new rides into allRides in order by date, remove duplicates
2008-05-11 05:18:17 +00:00
Sean C. Rhea
3c998c98b0
Let QTemporaryFile go out of scope so it will really close before calling
...
rename, since Windows won't rename an open file. Call remove before rename on
Windows, since Windows rename won't overwrite. Call setPermissions with
previous value plus all read flags, rather than using write flags explicitly.
Replace lots of asserts with QMessageBox::criticals.
2008-05-10 15:51:26 +00:00
Sean C. Rhea
2f3df889c5
New download code doesn't use Unix-isms. Big thanks to Rob Carlsen for
...
debugging the weirdness around QTextStream::setFieldWidth.
2008-05-10 03:41:08 +00:00
Sean C. Rhea
60f9724543
remove ctype.h
2008-05-06 05:31:40 +00:00
Sean C. Rhea
7cf5766ab7
remove Unix-specific includes, clean up copyrights somewhat
2008-05-06 05:26:44 +00:00
Sean C. Rhea
91d51a6246
use more QT classes instead of OS-specific stuff
2008-05-06 05:25:31 +00:00
Sean C. Rhea
c832727a03
replace Unix-specific stuff with QT equivalents; convert to C++
2008-05-05 17:42:58 +00:00
Sean C. Rhea
73fdb7d6ef
make listFunctions a pointer so that static initialization order doesn't matter
2008-05-05 02:03:33 +00:00
Sean C. Rhea
bfadc8c043
switch statements suck
2008-05-04 17:32:40 +00:00
Sean C. Rhea
cd080aa48c
add JT
2008-05-04 06:56:44 +00:00
Sean C. Rhea
f27ff27c3b
TCX importing and Pedal Force vs. Pedal Velocity Chart from
...
J.T. Conklin (jtc@acorntoolworks.com ).
2008-05-04 06:50:34 +00:00
Sean C. Rhea
aed29e150d
remove older command-line tools
2008-05-04 05:16:18 +00:00
Sean C. Rhea
4434239235
remove temporary command-line version
2008-05-04 05:13:09 +00:00
Sean C. Rhea
8db3e2c0b2
add power.zones
2008-05-04 05:10:23 +00:00
Sean C. Rhea
f34e0fc74c
Lots of code cleanup. All Unix/Mac-specific download code used by graphical
...
version is now in pt/Serial.cpp, which the .pro files should ignore on win32.
2008-05-04 05:09:32 +00:00
Sean C. Rhea
51165d0acf
New download code now working with older VCP driver as well. This code isn't
...
really fit for human consumption. I'm just checking it in before I clean it
up in case I go and break something on accident.
2008-05-03 17:52:46 +00:00