Commit graph

80 commits

Author SHA1 Message Date
kriss
d1cd97cf39 FEATURE: Added marker lines to ease meter-reading
git-svn-id: http://www.neo1973-germany.de/svn@80 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 18:32:00 +00:00
kriss
6f321a441c FIX: Changed size to get smaller screenshots ;-)
git-svn-id: http://www.neo1973-germany.de/svn@79 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 18:30:13 +00:00
kriss
72a0eaf057 0.1 - grid of dots
git-svn-id: http://www.neo1973-germany.de/svn@78 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 16:20:16 +00:00
kriss
de3ea32632 0.1 - grid of dots
git-svn-id: http://www.neo1973-germany.de/svn@77 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 16:02:26 +00:00
kriss
93267b7c0f FIX: Seperated from prior codebase
git-svn-id: http://www.neo1973-germany.de/svn@76 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 16:01:38 +00:00
kriss
29339fc3f4 Initial import
git-svn-id: http://www.neo1973-germany.de/svn@75 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-07-02 15:17:15 +00:00
kriss
c78e13b4da FEATURE: Compress Data
CLEANUP: Separating out much of the concern of the large pyPenNotes.py file into SaveRestore.py and UserDrawingArea.py

patch from haakeyar Thanks a lot!

--- Full Ticket Message ---

UserDrawingArea.py is a widget that the user can draw on and you can receive tha strokes that the user has drawn.

SaveRestore contains classes for saving and loading the data. It is split into two closes. A base class takes care of things in common for all file formats, while a subclass implements the actual file format. This way, we could easily implement other file formats, for example a text format where only parts of the file are loaded, to improve loading speed, or ability to save to an sqlite file.

In the base class, I have implemented a simple compression of the notes. Points closer than QUALITY_LOSS (currently set at 5) pixels are merged. This compressed a test note file with 77% and you can barely see the difference. I have attached the original file, the compressed file and a a file with two notes file, the compressed first and the original last (open this file in the original pyPenNotes and switch between the notes to see the difference).
There are also other ways to compress the notes even more (no need for more than two points in a straight line), but I have not implemented that (yet).

Maybe it would be better to move the compression to UserDrawingArea - it would have both good and bad sides.

pyPenNotes.py still has too much responsibility in my opinion - it both displays the window and coordinates SaveRestore and UserDrawingArea, but I haven't done anything about that (yet).

If you want to discuss any of the changes, feel free to contact me on IRC or mail me at my nick at gmail dot com if you want to discuss the changes. 

git-svn-id: http://www.neo1973-germany.de/svn@74 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-24 19:33:46 +00:00
kriss
a4d3e62796 FEATURE: Compress Data
CLEANUP: Separating out much of the concern of the large pyPenNotes.py file into SaveRestore.py and UserDrawingArea.py

patch from haakeyar Thanks a lot!

--- Full Ticket Message ---

UserDrawingArea.py is a widget that the user can draw on and you can receive tha strokes that the user has drawn.

SaveRestore contains classes for saving and loading the data. It is split into two closes. A base class takes care of things in common for all file formats, while a subclass implements the actual file format. This way, we could easily implement other file formats, for example a text format where only parts of the file are loaded, to improve loading speed, or ability to save to an sqlite file.

In the base class, I have implemented a simple compression of the notes. Points closer than QUALITY_LOSS (currently set at 5) pixels are merged. This compressed a test note file with 77% and you can barely see the difference. I have attached the original file, the compressed file and a a file with two notes file, the compressed first and the original last (open this file in the original pyPenNotes and switch between the notes to see the difference).
There are also other ways to compress the notes even more (no need for more than two points in a straight line), but I have not implemented that (yet).

Maybe it would be better to move the compression to UserDrawingArea - it would have both good and bad sides.

pyPenNotes.py still has too much responsibility in my opinion - it both displays the window and coordinates SaveRestore and UserDrawingArea, but I haven't done anything about that (yet).

If you want to discuss any of the changes, feel free to contact me on IRC or mail me at my nick at gmail dot com if you want to discuss the changes. 

git-svn-id: http://www.neo1973-germany.de/svn@73 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-24 18:21:45 +00:00
kriss
b5d1f2c08c BUGFIX: use configured command when calling hciconfig - Thanks haakeyar!
git-svn-id: http://www.neo1973-germany.de/svn@72 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-05 21:40:51 +00:00
emdete
b599c882ce adjusted pathes
git-svn-id: http://www.neo1973-germany.de/svn@71 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-04 06:28:07 +00:00
kriss
f4b55d18c7 CLEANUP: quite some code cleanups by haakeyar - thanks!
FEATURE: remove rulers when the second tollbar is not visible

git-svn-id: http://www.neo1973-germany.de/svn@70 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-02 17:37:18 +00:00
kriss
bfec9a3ce3 CLEANUP: gettings comments in sync again
git-svn-id: http://www.neo1973-germany.de/svn@69 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-02 13:35:20 +00:00
kriss
8b8d6545aa FIX: get space for one more bluetooth peer before scrollbar desaster happens ;-)
git-svn-id: http://www.neo1973-germany.de/svn@68 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-04-02 13:33:09 +00:00
kriss
3c172d34e0 MANAGE: Adding directory to archiv patches.
git-svn-id: http://www.neo1973-germany.de/svn@67 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-25 20:06:27 +00:00
kriss
dbf974b473 Author: haakeyar
If you run pyPenNotes without a .penNotes.strokes_data-file, the pyPenNotes.pen_notes[] list is emptied in pyPenNotes.load(). This gives various unexpected behaviour, including not being able to save the notes you created.


git-svn-id: http://www.neo1973-germany.de/svn@66 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-25 19:49:03 +00:00
PatrickBeck
512b36e1ac delete unitc.png
git-svn-id: http://www.neo1973-germany.de/svn@65 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-22 14:36:23 +00:00
PatrickBeck
e7c4954285 preview shot from unitc in action
git-svn-id: http://www.neo1973-germany.de/svn@64 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-22 14:04:28 +00:00
kriss
254d60bbfc DOC: added scaled screenshot (240x320)
git-svn-id: http://www.neo1973-germany.de/svn@63 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-16 01:47:06 +00:00
kriss
1638c15ed3 Tagging the 0.8 release - <<the blue release>>
git-svn-id: http://www.neo1973-germany.de/svn@62 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-16 00:34:14 +00:00
kriss
fb1ca209ef DOC: Screenshots Version 0.8
git-svn-id: http://www.neo1973-germany.de/svn@61 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-16 00:28:47 +00:00
kriss
5d293b46f5 BUGFIX: Optimize strings and borders to fit layout on Neo1973
BUGFIX: Do not set default route yet
FEATURE: Add Label with visible Name
FEATURE: Generate IP Address from configured mask + last byte of BT Address
FEATURE: Set pand state from actual deamon state
OPTIMIZATION: Only wait until hci- and ifconfig are finished instead of fixed time
CLEANUP: Remove unused functions

git-svn-id: http://www.neo1973-germany.de/svn@60 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-16 00:18:18 +00:00
kriss
12551ae94f COMMENT: How to make process_running() to include process parameters.
git-svn-id: http://www.neo1973-germany.de/svn@59 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 23:22:59 +00:00
kriss
a079e81ea5 CLEANUP: Using new function in Processinterface.py to find out if pppd is running.
git-svn-id: http://www.neo1973-germany.de/svn@58 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 22:50:47 +00:00
kriss
e9387fc973 FEATURE: Added function process_running() to look up if a process is running (by name).
TEST: Added test function for process_running().

git-svn-id: http://www.neo1973-germany.de/svn@57 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 22:44:52 +00:00
kriss
23d326155b TEST: renamed copy/test script
git-svn-id: http://www.neo1973-germany.de/svn@56 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 22:15:06 +00:00
kriss
8ad2797b73 CONFIG: Setting Bluetooth scan interval to 10 seconds.
git-svn-id: http://www.neo1973-germany.de/svn@55 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 21:48:10 +00:00
kriss
ca22e6af6a CLEANUP: Hi Patrick, nice project! You can use show_all there, keep going, it's great. :-)
git-svn-id: http://www.neo1973-germany.de/svn@54 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-15 02:17:01 +00:00
PatrickBeck
94b026a797 README added
git-svn-id: http://www.neo1973-germany.de/svn@53 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 19:16:50 +00:00
PatrickBeck
e16b6d9664 README added
git-svn-id: http://www.neo1973-germany.de/svn@52 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 19:11:32 +00:00
PatrickBeck
77d52d2a03 delete useless files
git-svn-id: http://www.neo1973-germany.de/svn@51 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 18:47:24 +00:00
PatrickBeck
32e682b821 delete useless files
git-svn-id: http://www.neo1973-germany.de/svn@50 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 18:46:58 +00:00
PatrickBeck
fc9f5973af delete useless files
git-svn-id: http://www.neo1973-germany.de/svn@49 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 18:41:54 +00:00
kriss
21ac388cb2 FEATURE: Make scan interval configurable in GlobalConfiguration.py
CLEANUP: Comment GlobalConfiguration.py sections

git-svn-id: http://www.neo1973-germany.de/svn@48 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 12:07:51 +00:00
kriss
2406fb85e0 CLEANUP: remove debug messages
git-svn-id: http://www.neo1973-germany.de/svn@47 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 11:59:58 +00:00
kriss
c539f22371 FEATURE: Adding asynchronous scan for Bluetooth Peers.
git-svn-id: http://www.neo1973-germany.de/svn@46 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 11:52:17 +00:00
kriss
1f6aebe1a6 BUGFIX: changing test back to 'ls'
git-svn-id: http://www.neo1973-germany.de/svn@45 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 11:40:20 +00:00
kriss
f94ba7c903 FEATURE: asynchronous request if process is still running
git-svn-id: http://www.neo1973-germany.de/svn@44 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 11:19:44 +00:00
kriss
e5e2fe294a TEST: change script to only update .py files
git-svn-id: http://www.neo1973-germany.de/svn@43 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 09:49:36 +00:00
kriss
23be27273a TEST: script to copy a testversion to Neo1973
git-svn-id: http://www.neo1973-germany.de/svn@42 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-14 09:47:41 +00:00
emdete
2707eac96e use urllib2's opener instead of urllib
git-svn-id: http://www.neo1973-germany.de/svn@41 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 22:29:16 +00:00
kriss
2fca8a9974 Tagging the 0.3c release - Release from 06-Oct-2007
git-svn-id: http://www.neo1973-germany.de/svn@40 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:42:40 +00:00
kriss
a273e076e3 Tagging the 0.2 release - Release from 24-Sep-2007
git-svn-id: http://www.neo1973-germany.de/svn@39 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:41:52 +00:00
PatrickBeck
b1217d34a7 initial revision of unit_converter
git-svn-id: http://www.neo1973-germany.de/svn@38 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:41:13 +00:00
kriss
f5382d461f Tagging the 0.8-pre1 release
git-svn-id: http://www.neo1973-germany.de/svn@37 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:40:56 +00:00
kriss
da3f15d65d Tagging the 0.3b release - Release from 09-Oct-2007
git-svn-id: http://www.neo1973-germany.de/svn@36 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:38:22 +00:00
kriss
c08837f711 SettingsGUI - Initial import
git-svn-id: http://www.neo1973-germany.de/svn@35 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:19:28 +00:00
kriss
210c2238e8 pyFeedRead - Initial import
git-svn-id: http://www.neo1973-germany.de/svn@34 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:09:34 +00:00
kriss
c4eb47dd6d SMSTool - Initial import
git-svn-id: http://www.neo1973-germany.de/svn@33 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 16:03:03 +00:00
kriss
098ca7e731 pyPenNotes - Initial import
git-svn-id: http://www.neo1973-germany.de/svn@32 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 15:55:28 +00:00
josch
316084bde6 folder for pyPenNotes
git-svn-id: http://www.neo1973-germany.de/svn@31 46df4e5c-bc4e-4628-a0fc-830ba316316d
2008-03-13 15:54:00 +00:00