Mark Watkins
87fd9c37db
Cleanup Day iterator code using C++11
2014-04-23 16:00:09 +10:00
Sean Stangl
415ad42dab
Enable C++11 support!
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:13:20 +10:00
Sean Stangl
8ac829a3d1
Explicitly include <limits> to fix Qt4 build.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:03:38 +10:00
Sean Stangl
fc51eb7fee
Add a configure script defaulting to Qt5, and fix Qt5 on Fedora.
...
Fedora doesn't ship a qextserialport compatible with Qt5,
but the version in 3rdparty/ is perfectly viable.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:02:07 +10:00
Sean Stangl
868a61c27b
Express some profiles.h functions in terms of helper functions.
...
Gets rid of nasty string duplication and pointer logic.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-22 17:16:48 +10:00
Mark Watkins
0421a5c4e2
Clean up & optimise Session and Profile iterators a little bit
2014-04-22 17:16:24 +10:00
Mark Watkins
f718973c88
Clean up and optimise Day classes session iterators
2014-04-22 15:28:58 +10:00
Mark Watkins
780368c2e8
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
2014-04-18 16:10:32 +10:00
Sean Stangl
eb3019b0fe
Express one EventList::AddEvent() in terms of the other.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 11:04:04 +10:00
Mark Watkins
24c3087326
Fix a minor tooltip font glitch in preferences
2014-04-18 10:49:22 +10:00
Sean Stangl
be71894ad0
Clean up and express GetGoodDay() in terms of GetDay().
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 10:46:05 +10:00
Sean Stangl
c29313ab88
Auto-convert the SleepLib/ subdirectory with astyle.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:18:49 +10:00
Sean Stangl
b5d5b82b59
Auto-convert the Graphs/ subdirectory with astyle.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:18:28 +10:00
Sean Stangl
012e9fd314
Auto-convert the main source directory with astyle. "The Huge Patch"
...
The files daily.cpp and daily.h are omitted, pending some other cleanup patches landing first.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:15:28 +10:00
Mark Watkins
98d877991f
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
2014-04-17 16:14:47 +10:00
Sean Stangl
3508afc883
Auto-convert gGraphView.cpp with astyle.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 15:26:39 +10:00
Sean Stangl
355113ec95
Add STYLE file for astyle.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 15:25:35 +10:00
Mark Watkins
8dbe7274c3
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
2014-04-17 14:56:27 +10:00
Mark Watkins
7ce407f6e9
Cleanup some unused variable, Qt4 build fix
2014-04-17 14:56:04 +10:00
Sean Stangl
80defa6186
Clean up common_gui.{cpp,h}.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 14:50:43 +10:00
Mark Watkins
df88beb45f
Qt ISODate in screenshot filename has bad colon characters on windows
2014-04-16 20:36:49 +10:00
Mark Watkins
214d693201
Bump build number
2014-04-16 17:27:43 +10:00
Mark Watkins
cdec714156
Spelling fixes, update_notes
2014-04-16 00:17:10 +10:00
Mark Watkins
a9b2fe7db2
Added Position tracking foundation, and Somnopose CSV importer
2014-04-15 23:59:24 +10:00
Mark Watkins
38d849719d
Added user details to Statistics page
2014-04-15 21:02:51 +10:00
Mark Watkins
142d1f96a0
Made Welcome browser and intro HTML text translatable
2014-04-15 14:47:23 +10:00
Mark Watkins
a1991e658a
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
2014-04-15 13:20:05 +10:00
Mark Watkins
0500a39797
Updated About box, updated translation templates
2014-04-15 13:19:29 +10:00
Sean Stangl
1979083de8
Style cleanup for gGraphView.h.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 20:11:10 +10:00
Sean Stangl
1d235f9fdc
Cleanup PreferencesDialog::on_resetGraphButton_clicked().
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 19:35:25 +10:00
Sean Stangl
7530119010
Fix Qt notifications under a GNOME3 desktop.
...
For whatever reason, Qt notifications to the GNOME3 systray
omit exactly the last line, rendering the popup just a little too low.
As a workaround, this patch appends a newline character to notification
strings, bumping the text back onto the screen.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 19:02:13 +10:00
Mark Watkins
f689bd736f
Added German Translation thanks to Steffen Reitz
2014-04-10 14:31:24 +10:00
Alec Clews
36b9cc8e16
Make the Channel ID consistantly of Type Channel ID
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 14:07:00 +10:00
Mark Watkins
0e03e4deef
ResMed importer Swedish language encoding fix in Qt5.2 (Thanks manderss99)
2014-04-10 14:01:03 +10:00
Sean Stangl
9dbe702a40
Standardize project modelines and include license and copyright.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:29:53 +10:00
Sean Stangl
d86ffb3a50
Store EDFSignal memory in a linear vector.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:08:56 +10:00
Sean Stangl
50c51c9a91
Fix buffer overrun in EDFParser.
...
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 12:58:39 +10:00
Mark Watkins
6e07dfad4e
disable screenshot code only when built with qt4 on Mac
2014-04-10 12:58:14 +10:00
Mark Watkins
96d6acac19
Qt4 compile fix
2014-04-10 04:46:56 +10:00
Mark Watkins
4989b492f3
Added notification on succesful screenshot
2014-04-10 02:20:34 +10:00
Mark Watkins
e13128122c
Fixed F12 screenshot ability for Mac
2014-04-10 02:14:41 +10:00
Mark Watkins
6d65611caf
Fix startup crash and correct SleepyHead spelling inconsistencies (Thanks Sean)
2014-04-09 15:00:34 +10:00
Mark Watkins
c0ecc640d3
Removed gradient from graph area in pinned graphs
2014-04-07 20:18:18 +10:00
Mark Watkins
4734b42e60
Minor Translation stuff
2014-04-07 14:28:05 +10:00
Mark Watkins
3a680a5384
Double clicking graph title now toggles pin status, removed bottom pin buttons
2014-04-06 16:32:58 +10:00
Mark Watkins
eb7a696af4
Remove accidentally-left-on test pin on in overview
2014-04-05 19:10:18 +10:00
Mark Watkins
b303d5816c
Fix translation loader on mac, updated Dutch translations
2014-04-05 19:00:06 +10:00
Mark Watkins
7c8eb35afd
Stop showing pinned graph background when printing
2014-04-05 12:30:08 +10:00
Mark Watkins
3134b9e92d
Fixed text not displaying in snapshots
2014-04-05 12:27:47 +10:00
Mark Watkins
860c67d685
Added Graph Pinning Capabilities
2014-04-05 11:28:07 +10:00