repo
string
commit
string
message
string
diff
string
ZachGoldberg/gssdp-gi
fb2c3167b23d65ef146527859ed8f2672511326a
Use inet_aton instead of inet_addr and handle the error from it.
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c index ac4478f..49432fd 100644 --- a/libgssdp/gssdp-socket-source.c +++ b/libgssdp/gssdp-socket-source.c @@ -1,236 +1,239 @@ /* * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd. * * Author: Jorn Baayen <jorn@openedhand.com> * * This ...
ZachGoldberg/gssdp-gi
1c349938e8adb824a551be01a28a0e4c58427049
Move "host-ip" property from GUPnPContext to base GSSDPClient.
diff --git a/doc/gssdp-sections.txt b/doc/gssdp-sections.txt index adf7773..ddbdbe4 100644 --- a/doc/gssdp-sections.txt +++ b/doc/gssdp-sections.txt @@ -1,85 +1,87 @@ <SECTION> <FILE>gssdp-client</FILE> <TITLE>GSSDPClient</TITLE> GSSDPClient gssdp_client_new +gssdp_client_new_full gssdp_client_get_main_context g...
ZachGoldberg/gssdp-gi
caa4db65ce940b4157378a27ab44b8fb2b310b27
Put the message src timeout in the specified GMainContext
diff --git a/libgssdp/gssdp-resource-group.c b/libgssdp/gssdp-resource-group.c index 1192f26..e01fb58 100644 --- a/libgssdp/gssdp-resource-group.c +++ b/libgssdp/gssdp-resource-group.c @@ -1,1010 +1,1015 @@ /* * Copyright (C) 2006, 2007, 2008 OpenedHand Ltd. * * Author: Jorn Baayen <jorn@openedhand.com> * *...
ZachGoldberg/gssdp-gi
c7ea22b97ed719570d58c7f4a1e963b2fb8db18a
Fix pkg-config paths (#1570)
diff --git a/gssdp-1.0.pc.in b/gssdp-1.0.pc.in index 2fad1de..00a849d 100644 --- a/gssdp-1.0.pc.in +++ b/gssdp-1.0.pc.in @@ -1,12 +1,12 @@ prefix=@prefix@ -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ Name: gssdp-...
ZachGoldberg/gssdp-gi
2ebc41eeef04204eb56255e81bdd364970440815
Post release version bump.
diff --git a/configure.ac b/configure.ac index 73ab70b..c0d56a6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,73 +1,73 @@ AC_PREREQ(2.53) -AC_INIT(gssdp, 0.6.4, http://www.gupnp.org/) +AC_INIT(gssdp, 0.6.5, http://www.gupnp.org/) AM_INIT_AUTOMAKE() AC_CONFIG_SRCDIR(libgssdp/gssdp-client.c) AM_CONFIG_HEADER(con...
ZachGoldberg/gssdp-gi
e61613aeb15b5813ea30239047fd9d36b0567a0f
Release announcement.
diff --git a/NEWS b/NEWS index d73b55d..7d7255e 100644 --- a/NEWS +++ b/NEWS @@ -1,62 +1,74 @@ +0.6.4 +===== + +- Send ssdp:byebye before sending the first ssdp:alive. [Jussi Kukkonen] +- Moderate the outbound SSDP messages. [Jussi Kukkonen] +- Documentation fixes. [Jussi Kukkonen] +- Send byebyes in dispose without sl...
ZachGoldberg/gssdp-gi
d8f28de9f32083b349f33aeaabeaf4e3d933920a
Fix a typo.
diff --git a/NEWS b/NEWS index f26652b..d73b55d 100644 --- a/NEWS +++ b/NEWS @@ -1,62 +1,62 @@ -0.6.2 +0.6.3 ===== - Don't use NULL g_get_application_names [Ross Burton] - Use specified GMainContext for timeouts [Olivier Crete, Jorn Baayen] 0.6.2 ===== - Reannounce resources after max_age / 2 - 1 instead of...
ZachGoldberg/gssdp-gi
8cc041afad5f32ab7df3c0eb3fd406e363f89a12
Bump release.
diff --git a/configure.ac b/configure.ac index 3df60a4..73ab70b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,73 +1,73 @@ AC_PREREQ(2.53) -AC_INIT(gssdp, 0.6.3, http://www.gupnp.org/) +AC_INIT(gssdp, 0.6.4, http://www.gupnp.org/) AM_INIT_AUTOMAKE() AC_CONFIG_SRCDIR(libgssdp/gssdp-client.c) AM_CONFIG_HEADER(con...
ZachGoldberg/gssdp-gi
fb8333c67483b5f245ab15bfd42907816d27c6fc
2008-12-03 Jorn Baayen <jorn.baayen@collabora.co.uk>
diff --git a/ChangeLog b/ChangeLog index 2f788a1..fabe9bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,520 @@ +2008-12-03 Jorn Baayen <jorn.baayen@collabora.co.uk> + + * tests/test-browser.c (main): + * tests/test-publish.c (main): + * tools/gssdp-device-sniffer.c (init_upnp): + + Use g_printerr() and EXIT_{SU...
ZachGoldberg/gssdp-gi
14b7bfe7c93ee0d178c5588744b4d122f884e7b0
2008-12-03 Jorn Baayen <jorn.baayen@collabora.co.uk>
diff --git a/ChangeLog b/ChangeLog index c6796a2..2f788a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,522 @@ +2008-12-03 Jorn Baayen <jorn.baayen@collabora.co.uk> + + * libgssdp/gssdp-resource-group.c (message_received_cb): + + "All SSDP services MUST respond to SEARCH requests over the SSDP + multicast chan...
ZachGoldberg/gssdp-gi
656c4fb8274c5bf313b1b6ccfcb2d7c3fbfee70a
2008-11-21 Jorn Baayen <jorn.baayen@collabora.co.uk>
diff --git a/AUTHORS b/AUTHORS index e9aa5b7..79473a9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,6 +1,6 @@ -Jorn Baayen <jorn@openedhand.com> +Jorn Baayen <jorn.baayen@collabora.co.uk> Device sniffer: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> diff --git a/ChangeLog b/ChangeLog index 5bfbed3..c6796a2 100644 --- ...
ZachGoldberg/gssdp-gi
a9e51ed9d920f3b7f41ca3ac5c95092b2d1d3fb3
2008-11-19 Jussi Kukkonen <jku@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index d9e082e..5bfbed3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-11-19 Jussi Kukkonen <jku@linux.intel.com> + + * libgssdp/gssdp-resource-group.c: + + Make gssdp_resource_group_queue_message() static as well. + 2008-11-19 Jussi Kukkonen <jku@linux.intel.com...
ZachGoldberg/gssdp-gi
550e09059a7fb76bc8432864ae5c5ac82c0de5d4
2008-11-19 Jussi Kukkonen <jku@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index b5d75b6..d9e082e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,520 @@ +2008-11-19 Jussi Kukkonen <jku@linux.intel.com> + + * libgssdp/gssdp-resource-group.c: + + Send byebyes in dispose without sleep: DLNA message delay is + only mandatory for alive-messages after all. ...
ZachGoldberg/gssdp-gi
b165ca348691e89bc644912adbb6f4a5bf1b0501
2008-11-18 Jorn Baayen <jorn.baayen@collabora.co.uk>
diff --git a/ChangeLog b/ChangeLog index 1c9b743..b5d75b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,522 @@ +2008-11-18 Jorn Baayen <jorn.baayen@collabora.co.uk> + + * configure.ac: + + Depend on glib 2.18. + + * libgssdp/gssdp-client.c (gssdp_client_set_property): + + Use g_set_error_literal(). + 2008-11-0...
ZachGoldberg/gssdp-gi
0d6c5f2b7e0fabbcbf24402fda9ff4406514ad38
2008-11-06 Jussi Kukkonen <jku@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index f055629..1c9b743 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,522 @@ +2008-11-06 Jussi Kukkonen <jku@linux.intel.com> + + * doc/gssdp-sections.txt: + * libgssdp/gssdp-client.c (gssdp_client_new): + * libgssdp/gssdp-client.h (gssdp_client_new): + * libgssdp/gssdp-error.c...
ZachGoldberg/gssdp-gi
ec1d8d64251f8e650a2bb321e5c347096854f83d
2008-11-06 Jussi Kukkonen <jku@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index 5b9f463..f055629 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-11-06 Jussi Kukkonen <jku@linux.intel.com> + + * libgssdp/gssdp-resource-group.c: + + Only send one SSDP message per X milliseconds (X == 20 by default) + 2008-11-06 Zeeshan Ali (Khattak) <zee...
ZachGoldberg/gssdp-gi
d1babe2c111b5749d6d5d182bb81a7f5bbc072dd
2008-11-06 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
diff --git a/AUTHORS b/AUTHORS index 96ddcd5..e9aa5b7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,6 +1,6 @@ Jorn Baayen <jorn@openedhand.com> Device sniffer: -Zeeshan Ali <zeenix@gstreamer.net> +Zeeshan Ali (Khattak) <zeeshanak@gnome.org> diff --git a/ChangeLog b/ChangeLog index 2b03d79..5b9f463 100644 --- a/Chang...
ZachGoldberg/gssdp-gi
8fd0054764c32a63ae8cd69bc8d7b55fa131fca7
2008-10-29 Jussi Kukkonen <jku@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index 968dc85..2b03d79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-10-29 Jussi Kukkonen <jku@linux.intel.com> + + * libgssdp/gssdp-resource-group.c (resource_alive): + + send ssdp:byebye before sending the first ssdp:alive. + 2008-10-27 Ross Burton <ross@linu...
ZachGoldberg/gssdp-gi
a9e786b30575d5e218a4a57940d541d5f5d0146e
2008-10-27 Ross Burton <ross@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index f0070f3..968dc85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-10-27 Ross Burton <ross@linux.intel.com> + + * NEWS: + * configure.ac: + Version 0.6.3. + 2008-10-27 Ross Burton <ross@linux.intel.com> * doc/Makefile.am: Add version.xml to content_file...
ZachGoldberg/gssdp-gi
318a19a2e791b87c7d7d74731e2c246cba324691
2008-10-27 Ross Burton <ross@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index 603bf44..f0070f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,517 @@ +2008-10-27 Ross Burton <ross@linux.intel.com> + + * doc/Makefile.am: + Add version.xml to content_files so building docs in distcheck works. + 2008-10-27 Ross Burton <ross@linux.intel.com> * Ma...
ZachGoldberg/gssdp-gi
af4ae8b3f979ec90e4982ad225eaff54931a7019
2008-10-27 Ross Burton <ross@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index e960237..603bf44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,517 @@ +2008-10-27 Ross Burton <ross@linux.intel.com> + + * Makefile.am: + Enable gtk-doc in distcheck. + 2008-10-27 Ross Burton <ross@linux.intel.com> * libgssdp/gssdp-resource-browser.c: Don't use ...
ZachGoldberg/gssdp-gi
27addc964df035f381297cce337730c68507d077
2008-10-27 Ross Burton <ross@linux.intel.com>
diff --git a/ChangeLog b/ChangeLog index 74abb5d..e960237 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,517 @@ +2008-10-27 Ross Burton <ross@linux.intel.com> + + * libgssdp/gssdp-resource-browser.c: + Don't use NULL return values from g_get_application_name() (#1177). + 2008-09-27 Jorn Baayen <jorn@openedhan...
ZachGoldberg/gssdp-gi
aa783323a06e2c350714fcc103d4521eb4e1ca17
2008-09-27 Jorn Baayen <jorn@openedhand.com>
diff --git a/ChangeLog b/ChangeLog index 29059fa..74abb5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-09-27 Jorn Baayen <jorn@openedhand.com> + + * configure.ac: + + Increase version number. + 2008-09-27 Jorn Baayen <jorn@openedhand.com> * libgssdp/gssdp-resource-browser.c (resource_availa...
ZachGoldberg/gssdp-gi
fc9fab779e3692d2d389c2638e38a21d9a0819c0
2008-09-27 Jorn Baayen <jorn@openedhand.com>
diff --git a/ChangeLog b/ChangeLog index 80a8d82..29059fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,516 +1,530 @@ +2008-09-27 Jorn Baayen <jorn@openedhand.com> + + * libgssdp/gssdp-resource-browser.c (resource_available), + (resource_free), (discovery_timeout), (start_discovery), + (stop_discovery): + * libgssdp/g...
ZachGoldberg/gssdp-gi
48762d6accc75136278360c8bea55d40ff0016cc
2008-08-31 Jorn Baayen <jorn@openedhand.com>
diff --git a/ChangeLog b/ChangeLog index 4208e46..80a8d82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,512 +1,518 @@ +2008-08-31 Jorn Baayen <jorn@openedhand.com> + + * configure.ac: + * NEWS: + Release 0.6.2 + 2008-08-12 Zeeshan Ali Khattak <zeenix@gmail.com> * tools/gssdp-device-sniffer.c: Remove the un...
ZachGoldberg/gssdp-gi
986f50f19958d46cfda75a62c821fe8c31704e8d
release gssdp 0.6.2
diff --git a/NEWS b/NEWS index bc86452..e3f085c 100644 --- a/NEWS +++ b/NEWS @@ -1,49 +1,56 @@ +0.6.2 +===== + +- Reannounce resources after max_age / 2 - 1 instead of after max_age. + [Peter Christensen, Jorn Baayen] +- Remove unnecessary call to g_thread_init(). [Zeeshan Ali] + 0.6.1 ===== - Bump soname. 0.6...
ZachGoldberg/gssdp-gi
b40c078f7968acb7ffc5e1d714962ca018d21d86
2008-08-12 Zeeshan Ali Khattak <zeenix@gmail.com>
diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..96ddcd5 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,6 @@ +Jorn Baayen <jorn@openedhand.com> + + +Device sniffer: + +Zeeshan Ali <zeenix@gstreamer.net> diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..bf50f20 --- /dev/null +++ b/COPYING @@ -...
videntity/python-omhe
001491cb54a53a8d3bd8e028b106c79abfd73e80
Correct spelling errors to README
diff --git a/README.rst b/README.rst index ec7a8d6..0a75e23 100644 --- a/README.rst +++ b/README.rst @@ -1,182 +1,182 @@ Open Mobile Health Exchange (OMHE) Python Parser and Utilities ============================================================== Copyright 2011 - Alan Viars (Videntity) - All Rights Reserved. Re...
videntity/python-omhe
404ae2a0aa473fc56572c37e55b2799f5abc2b26
Added to Pypi. Changed install instructions to use pip.
diff --git a/README.rst b/README.rst index 0503bb6..ec7a8d6 100644 --- a/README.rst +++ b/README.rst @@ -1,182 +1,182 @@ Open Mobile Health Exchange (OMHE) Python Parser and Utilities ============================================================== Copyright 2011 - Alan Viars (Videntity) - All Rights Reserved. Re...
videntity/python-omhe
83adda968abc1df463808fecdbb0ca92304e4ab6
Added to Pypi. Changed install instructions to use pip.
diff --git a/README.rst b/README.rst index 663451b..0503bb6 100644 --- a/README.rst +++ b/README.rst @@ -1,232 +1,182 @@ Open Mobile Health Exchange (OMHE) Python Parser and Utilities ============================================================== Copyright 2011 - Alan Viars (Videntity) - All Rights Reserved. Re...
videntity/python-omhe
b5109d5fc78b2709f604d8bc72dff8f357a6e697
added pn_test for pain validation
diff --git a/omhe/core/validators/pn_validator.py b/omhe/core/validators/pn_validator.py index 88ced2b..be108d5 100644 --- a/omhe/core/validators/pn_validator.py +++ b/omhe/core/validators/pn_validator.py @@ -1,19 +1,50 @@ import re,sys from validator_errors import * -def pn_validator(omhe_value): +""" +Accept a nu...
videntity/python-omhe
667b0c8c8cbc28c8042a4f0fcbeb4ea05c869b43
added Percentbodyfat tests
diff --git a/omhe/core/validators/pbf_validator.py b/omhe/core/validators/pbf_validator.py index 98b0eb0..cefaa7b 100644 --- a/omhe/core/validators/pbf_validator.py +++ b/omhe/core/validators/pbf_validator.py @@ -1,23 +1,32 @@ import re,sys from validator_errors import * -def pbf_validator(omhe_value): +def pbf...
videntity/python-omhe
2567e0026ded711516dd6c8926140774c0bacab8
added mood validator test md_test.py
diff --git a/omhe/core/validators/frv_validator.py b/omhe/core/validators/frv_validator.py index 8597a3b..4edac7c 100644 --- a/omhe/core/validators/frv_validator.py +++ b/omhe/core/validators/frv_validator.py @@ -1,40 +1,54 @@ import re,sys from validator_errors import * +""" +fixes for Freggies function + +Source ...
videntity/python-omhe
65e88513b87fb3efee08cac2f2b045bef4881f69
tests for fm and ffm
diff --git a/omhe/tests/bg_test.py b/omhe/tests/bg_test.py index 67d36d5..8d89a47 100644 --- a/omhe/tests/bg_test.py +++ b/omhe/tests/bg_test.py @@ -1,92 +1,92 @@ __author__ = 'mark [AT] ekivemark [dot] com' from omhe.tests.OMHETestCase import OMHETestCase import unittest from omhe.core.parseomhe import parseom...
videntity/python-omhe
39985ed800c92dead447410a5bbff3593f66ea6f
corrected github location in readme.rst
diff --git a/README.rst b/README.rst index 64489bf..8c8df84 100644 --- a/README.rst +++ b/README.rst @@ -1,243 +1,243 @@ .. image:: http://videntity.com/images/omhe.png Open Mobile Health Exchange (OMHE) Parser & Tools for Python ============================================================ Copyright 2011 - Ala...
videntity/python-omhe
2a361b2b358dc8a0a38795d029c8bd24dbc26705
modified bg_validator to set range as 0-400 modified wt_validator to allow weight from 0 upwards
diff --git a/omhe/core/validators/bg_validator.py b/omhe/core/validators/bg_validator.py index 2e9de9b..e82bb50 100644 --- a/omhe/core/validators/bg_validator.py +++ b/omhe/core/validators/bg_validator.py @@ -1,16 +1,16 @@ import re,sys from validator_errors import * def bg_validator(omhe_value): """validat...
videntity/python-omhe
cd74550e7fefd15c6fff734fa58c35df97633779
addded ci_tests also added a test_yils.py for formatting of output - these are a set of frequently used functions.
diff --git a/README.rst b/README.rst index a51c7ca..64489bf 100644 --- a/README.rst +++ b/README.rst @@ -1,243 +1,243 @@ .. image:: http://videntity.com/images/omhe.png Open Mobile Health Exchange (OMHE) Parser & Tools for Python ============================================================ Copyright 2011 - Ala...
videntity/python-omhe
723140c4ea646b66cb0425cb0cb95546169b3ec7
Changed keys to keys()
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 61a13b0..8fd2150 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,471 +1,471 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
6d9de4414b848bac2a5b66fef8b9e9ba505cbd81
Reformatted error output
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index af670a0..61a13b0 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,462 +1,471 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
9e2f5efbe246f78f0058f264fac6d9af543cf083
Reformatted output. Refactored datetime handling
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index f4d6cca..af670a0 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,465 +1,462 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
97a41c66d10fb332916acd5fdeb8c144a310aac6
Make checkin validator and tests accept a blank value.
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index c36acb8..f4d6cca 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,466 +1,465 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
47dc3884c73d05eaad5529f82ed245f98c86f61c
Fixed bug with = sign. Added feature where omhe commands can be in any case. E.g. bp=BP=Bp
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 33c599f..c36acb8 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,465 +1,466 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
d230e7abce67504199e2b489462491e9821e908a
updated ci_test.py to allow printing of tests
diff --git a/omhe/tests/OMHETestCase.py b/omhe/tests/OMHETestCase.py index dd9665b..a5674cb 100644 --- a/omhe/tests/OMHETestCase.py +++ b/omhe/tests/OMHETestCase.py @@ -1,21 +1,23 @@ from unittest import TestCase TESTS_DEBUG=True class OMHETestCase(TestCase): def assertDictContains(self,response,text,msg_pr...
videntity/python-omhe
d8dcb9e830d1d76e45db56d3f3579c555209e5e9
Corrected spelling errors in OMHE and revised bp_test.py to add print options with TESTS_DEBUG=True. bp_test.py seems to have issue with bloodpressure[=]
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index dc8f5c3..33c599f 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,465 +1,465 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
7c6b0de8ada589dd3b0a652777ef3b0d9c5e3910
Fixed spelling in readme.rst
diff --git a/README.rst b/README.rst index 2fabf86..a51c7ca 100644 --- a/README.rst +++ b/README.rst @@ -1,242 +1,243 @@ .. image:: http://videntity.com/images/omhe.png + Open Mobile Health Exchange (OMHE) Parser & Tools for Python ============================================================ Copyright 2011 - Ala...
videntity/python-omhe
7d73d81582d3d81ab478f877dc27250da7565078
Added freggie command. Improved points handling
diff --git a/omhe/core/validators/frv_validator.py b/omhe/core/validators/frv_validator.py index d7321bc..8597a3b 100644 --- a/omhe/core/validators/frv_validator.py +++ b/omhe/core/validators/frv_validator.py @@ -1,37 +1,40 @@ import re,sys from validator_errors import * freggies=('apple', 'apricot', 'avocad...
videntity/python-omhe
cf4201cbc80981578dfa79ff9d16344133269336
Added freggie command. Improved points handling
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 6c8f5ce..dc8f5c3 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,462 +1,465 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
9257caf2841825398fa2d84f8a789a5fad2c4181
Removed debug print statement. Added support for multiple tags and helpers.
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 02b4d0f..6c8f5ce 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,471 +1,462 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
d1e39d372d61c938babcc10685281d1013858fc1
Added viral load and cd4 count support.
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index a814ffc..02b4d0f 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,471 +1,471 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
3ffc4d200e8e38f503e13467a2f38861990da517
Fixed import errors
diff --git a/omhe/bin/pomhe b/omhe/bin/pomhe index 8e03cbf..47c9083 100644 --- a/omhe/bin/pomhe +++ b/omhe/bin/pomhe @@ -1,32 +1,32 @@ #!/usr/bin/env python # An OMHE Microsyntax parser command line utility. -# Alan Viars, Videntity 2010 +# Alan Viars, Videntity 2011 import os, sys from omhe.core.parseomhe impo...
videntity/python-omhe
79bb6278161605a8b1f727785169481713478c7c
Refactored the parser and added support for points as a helper and support for patient adherence routines
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 2220f21..4c258c7 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,389 +1,472 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid try: import simplejson as json except: import jso...
videntity/python-omhe
301982f1617449a24f9bc4df67e71585e635688e
Changed import to json instead of simplejson
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 912d790..2220f21 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,383 +1,389 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 -import os, sys, re, uuid, simplejson +import os, sys, re, uuid + +try: + import si...
videntity/python-omhe
b6f796db7f6637eefbf382dd7e50f6d9f0336dbc
Fixed broken image link
diff --git a/README.rst b/README.rst index 7fcb80d..9c7c0c2 100644 --- a/README.rst +++ b/README.rst @@ -1,240 +1,240 @@ -.. image:: http://github.com/aviars/python-omhe/raw/master/omhe.png +.. image:: http://videntity.com/images/omhe.png Open Mobile Health Exchange (OMHE) Parser & Tools for Python ==============...
videntity/python-omhe
ec0c359dcd7fc5dac8ee80e6ac8aa3e019369062
Added support for FitBit and Zeo sleep machine
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index c40e9e6..912d790 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,381 +1,383 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
74b18216e4fc1affbc01c2eef8b65054c830d468
Added points validator
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index f206662..c40e9e6 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,381 +1,381 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
277021b9b998ae8b7b42aa3380e51954dfacedca
Added points and integer validator
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 673eb36..f206662 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,380 +1,381 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
4ed9516c474e1a16fe88891bb8c6c97539923eb3
Added question and answer functions to the omhe command dictionary
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 1b2ef01..673eb36 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,376 +1,380 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
b820e57303b8b5e45c17ef386286cf95d2874ef0
Added drink to track things such as sports drinks
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 239ea35..1b2ef01 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,374 +1,376 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
e6145267d535729e12258fa05c97c466a3331aaa
Added dairy and carbohydrates
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 98ba387..239ea35 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,371 +1,374 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
c74176a6398bfbd51ac603873bc3c914f740e192
Fixed typo vegetable
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index a87e631..98ba387 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,371 +1,371 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
bbaccc1705a45629e3ac44766a3ecadd6ee352c5
Added protien command
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 8127331..a87e631 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,368 +1,371 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
ce587e9b459fad8f9457a2593282c73b284b3623
Added a validator for 1-10, blank, or generic string
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 33c2bc1..8127331 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,368 +1,368 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
e6cf4dfd21eef52f89d67e479a9123cd17341173
Added gym as an omhe command and added more validators
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 561e6ae..33c2bc1 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,366 +1,368 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
770e6a5ecab724fdcf97743237dd2bcae9fc5bbd
removed unnecesary prints
diff --git a/omhe/hardware/TanitaTBF410/fetch_body_comp.py b/omhe/hardware/TanitaTBF410/fetch_body_comp.py index 3b5bc93..16085e3 100644 --- a/omhe/hardware/TanitaTBF410/fetch_body_comp.py +++ b/omhe/hardware/TanitaTBF410/fetch_body_comp.py @@ -1,158 +1,159 @@ import serial, omhe.core import binascii, sys from omhe....
videntity/python-omhe
064f0ea7d766fc638d66fd0a5dfdee18525a874c
removed unnecesary prints
diff --git a/omhe/hardware/TanitaTBF410/fetch_body_comp.py b/omhe/hardware/TanitaTBF410/fetch_body_comp.py index 55cd046..3b5bc93 100644 --- a/omhe/hardware/TanitaTBF410/fetch_body_comp.py +++ b/omhe/hardware/TanitaTBF410/fetch_body_comp.py @@ -1,159 +1,158 @@ import serial, omhe.core import binascii, sys from omhe....
videntity/python-omhe
110ee0046f56f339335074f56c0e5930e1c4055a
removed print statement from upload2restcat class
diff --git a/omhe/core/upload2restcat.py b/omhe/core/upload2restcat.py index fe21109..a9f4384 100644 --- a/omhe/core/upload2restcat.py +++ b/omhe/core/upload2restcat.py @@ -1,62 +1,62 @@ #!/usr/bin/env python import pycurl import sys import omhe.core.parseomhe def upload2restcat(omhe_dict, userpass, sender, ...
videntity/python-omhe
a0ff84b401e5904e868276f31aa8d50f74d8c0bc
Improvements to Tanita scale interface
diff --git a/omhe/hardware/TanitaTBF410/fetch_body_comp.py b/omhe/hardware/TanitaTBF410/fetch_body_comp.py index dfc770a..7edefc0 100644 --- a/omhe/hardware/TanitaTBF410/fetch_body_comp.py +++ b/omhe/hardware/TanitaTBF410/fetch_body_comp.py @@ -1,67 +1,86 @@ import serial import binascii SERIAL_PORT="/dev/ttyUSB0"...
videntity/python-omhe
c02ae267dd014221baef3f0331c701ee1ef8b5e4
Added weight test
diff --git a/omhe/tests/wt_test.py b/omhe/tests/wt_test.py new file mode 100644 index 0000000..033be63 --- /dev/null +++ b/omhe/tests/wt_test.py @@ -0,0 +1,37 @@ +from omhe.tests.OMHETestCase import OMHETestCase +import unittest +from omhe.core.parseomhe import parseomhe +from omhe.validators.validator_errors import * ...
videntity/python-omhe
a67b8d0da75eb58d5230d429e4b0ddeaa2716b70
Fixed bug and built tests for fatmass validator
diff --git a/omhe/tests/fm_test.py b/omhe/tests/fm_test.py new file mode 100644 index 0000000..3a2ca64 --- /dev/null +++ b/omhe/tests/fm_test.py @@ -0,0 +1,39 @@ +from omhe.tests.OMHETestCase import OMHETestCase +import unittest +from omhe.core.parseomhe import parseomhe +from omhe.validators.validator_errors import * ...
videntity/python-omhe
f3e87a8e58cbc9df96b823f7278e548e1ae739f7
added a dummy validator
diff --git a/omhe/validators/dummy_validator.py b/omhe/validators/dummy_validator.py new file mode 100644 index 0000000..efcbb9a --- /dev/null +++ b/omhe/validators/dummy_validator.py @@ -0,0 +1,11 @@ +import re,sys +from datetime import datetime + +from omhe.core.parseomhe import * +from omhe.validators.validator_erro...
videntity/python-omhe
097294c74e7b53ff0d30ba5556dead96196d2567
Added option to turn ssl_verify_peer to False
diff --git a/omhe/core/restcat-login-test.py b/omhe/core/restcat-login-test.py index f5573c5..41c5beb 100644 --- a/omhe/core/restcat-login-test.py +++ b/omhe/core/restcat-login-test.py @@ -1,28 +1,29 @@ import urllib2, urllib, sys, base64 import types, time, pycurl try: from omhe.settings import RESTCAT_SERVE...
videntity/python-omhe
7d861c8804c2670316cbddfc9d697dc38555e00e
Added option to turn ssl_verify_peer to False
diff --git a/omhe/bin/u2rc b/omhe/bin/u2rc index 41bd8d3..dcb53b2 100644 --- a/omhe/bin/u2rc +++ b/omhe/bin/u2rc @@ -1,66 +1,71 @@ #!/usr/bin/env python import pycurl import sys from omhe.core.parseomhe import parseomhe from omhe.core import upload2restcat try: from omhe.core.settings import USERNAME, PA...
videntity/python-omhe
581d9079ef1f2867b88282647287841532091c99
Improved u2rc utility to accept more on the command line and not rely on settings.py
diff --git a/omhe/bin/u2rc b/omhe/bin/u2rc index 6c24a8f..41bd8d3 100644 --- a/omhe/bin/u2rc +++ b/omhe/bin/u2rc @@ -1,55 +1,66 @@ #!/usr/bin/env python import pycurl import sys from omhe.core.parseomhe import parseomhe from omhe.core import upload2restcat try: from omhe.core.settings import USERNAME, PA...
videntity/python-omhe
0ee1168eac92aa006860c26f9cc2a48b0bf93269
Added a demo application for Tanita TBF 410 body composition scale
diff --git a/omhe/hardware/TanitaTBF410/fetch_body_comp.py b/omhe/hardware/TanitaTBF410/fetch_body_comp.py new file mode 100644 index 0000000..dfc770a --- /dev/null +++ b/omhe/hardware/TanitaTBF410/fetch_body_comp.py @@ -0,0 +1,67 @@ +import serial +import binascii + +SERIAL_PORT="/dev/ttyUSB0" + + +def add_hex2(hex1, ...
videntity/python-omhe
5bd6c0212d8844aeb3f2598e15b3ad23a9129e42
Added pain/pn and mood/md
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index c273d1f..668efce 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,348 +1,351 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
d910aec72f3300152cdd05ea22a02ce9698b7b75
Added ci checkin validators
diff --git a/omhe/bin/u2rc b/omhe/bin/u2rc index 52f1749..6c24a8f 100644 --- a/omhe/bin/u2rc +++ b/omhe/bin/u2rc @@ -1,57 +1,55 @@ #!/usr/bin/env python import pycurl import sys from omhe.core.parseomhe import parseomhe from omhe.core import upload2restcat + try: - from omhe.settings import USERNAME, PASSWOR...
videntity/python-omhe
b431c11e490d0807bed59146a431157e11884c14
Added Checkin validator
diff --git a/omhe/bin/pomhe b/omhe/bin/pomhe index af7ef96..8e03cbf 100644 --- a/omhe/bin/pomhe +++ b/omhe/bin/pomhe @@ -1,32 +1,32 @@ #!/usr/bin/env python # An OMHE Microsyntax parser command line utility. # Alan Viars, Videntity 2010 import os, sys from omhe.core.parseomhe import parseomhe if __name__ ...
videntity/python-omhe
36ee5fcb90081ebf2aeba8e5ecc8a3e4e7ac4ea6
Added support for percent bodyfat, free fat mass, and fat mass
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 6ea724c..5ccc737 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,340 +1,347 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
fb07833ed04bdd6fb58ae90efbd2e95e9de33227
Fixed simple typo
diff --git a/omhe/core/parseomhe.py b/omhe/core/parseomhe.py index 148fa27..6ea724c 100644 --- a/omhe/core/parseomhe.py +++ b/omhe/core/parseomhe.py @@ -1,340 +1,340 @@ #An OMHE Microsyntax parser class. # Alan Viars, Videntity 2010 import os, sys, re, uuid, simplejson from datetime import datetime from omhe.val...
videntity/python-omhe
6691d2deacde2e3bf9163cc233588cc36d70071c
removed Komodo project file (.kpf) from git
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49c5632 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.pyc +*.pyo +out.* diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..90c80a7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,205 @@ +Copyright (c) 2010 Videntity Systems,...
methodmissing/vio
1cabc5154a8ba905ef499f7243b03956b02c2376
Ensure we do not leave fds open
diff --git a/test/test_vio.rb b/test/test_vio.rb index 4421135..1364eef 100644 --- a/test/test_vio.rb +++ b/test/test_vio.rb @@ -1,54 +1,58 @@ $:.unshift "." require File.dirname(__FILE__) + '/helper' class TestVectoredIO < Test::Unit::TestCase CONTENT = [ "8=FIX.4.4", "\x019=45", "\x0135=0", "\x0149=TW", "\x01...
methodmissing/vio
741ec395b6f50ecd4b54c29d808ff401ef62602e
Let gemspec be current + bump version
diff --git a/vio.gemspec b/vio.gemspec index a9c09a4..ecc9c1f 100644 --- a/vio.gemspec +++ b/vio.gemspec @@ -1,22 +1,16 @@ Gem::Specification.new do |s| s.name = "vio" - s.version = "0.2.0" + s.version = "0.3.0" s.date = "2009-09-19" s.summary = "Vectored I/O extension for Ruby" s.email = "...
methodmissing/vio
681e243889103d0cdd230ea64dd8bd4d79c490b5
whitespace cleanups
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index 29b3d55..c96d8df 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,164 +1,164 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif - + #ifndef RSTRING_LEN ...
methodmissing/vio
e1734a5aeca2febf24410eb2849c4f458569fddc
Cleanup bench requires
diff --git a/bench/read.rb b/bench/read.rb index db5a826..fc00573 100644 --- a/bench/read.rb +++ b/bench/read.rb @@ -1,18 +1,22 @@ $:.unshift "." -require File.dirname(__FILE__) + '/../ext/vio/vio' +def relative(path) + File.dirname(__FILE__) + path +end + +require relative('/../ext/vio/vio') require "benchmark" -...
methodmissing/vio
909ba1ab7833a71f2e05b41bf700f124f46fe691
Rework writev benches
diff --git a/Rakefile b/Rakefile index 1c2575f..818adb0 100644 --- a/Rakefile +++ b/Rakefile @@ -1,69 +1,75 @@ #!/usr/bin/env rake require 'rake/testtask' require 'rake/clean' $:.unshift(File.expand_path('lib')) VIO_ROOT = 'ext/vio' desc 'Default: test' task :default => :test desc 'Run VIO tests.' Rake::Te...
methodmissing/vio
ec94d266fbace99dffe7f0ad6ad534562c04921b
Prefer vio_error for vio_read && vio_write as well
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index bfd692c..898be1c 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,164 +1,164 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif #ifndef RSTRING_LEN #...
methodmissing/vio
20e7415f7f1f3af6562368287a45020777169d12
Extract declare_fptr && declare_fd macros
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index be16bc6..bfd692c 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,172 +1,164 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif #ifndef RSTRING_LEN #...
methodmissing/vio
a404a8a624d8e6df98352250421284861c091c27
Extract a vio_error macro to cleanup error handling
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index 1fc18a9..be16bc6 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,169 +1,172 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif #ifndef RSTRING_LEN #...
methodmissing/vio
c236386db4b3c97f7d06dae414804590c5d302c8
Fix ISO C90 warnings
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index ec2197e..1fc18a9 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,169 +1,169 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif #ifndef RSTRING_LEN #...
methodmissing/vio
2837ed9c233b805ce7395a9721ff2c13b56462f7
Lets splats in logger patch
diff --git a/bench/patched_logger.rb b/bench/patched_logger.rb index e1eed64..e9ee20b 100644 --- a/bench/patched_logger.rb +++ b/bench/patched_logger.rb @@ -1,30 +1,30 @@ class Logger def addv(*msgs) unless @logdev.nil? - @logdev.writev(*msgs) + @logdev.writev(msgs) end end def blank_s...
methodmissing/vio
a286f479efdfc5d6c2b68eb1447a21dfd42f456f
Remove hard raise from vio_write
diff --git a/ext/vio/vio.c b/ext/vio/vio.c index ec110b1..ec2197e 100644 --- a/ext/vio/vio.c +++ b/ext/vio/vio.c @@ -1,170 +1,169 @@ #include "ruby.h" #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #ifndef RSTRING_PTR #define RSTRING_PTR(obj) RSTRING(obj)->ptr #endif #ifndef RSTRING_LEN #...
methodmissing/vio
5fdad6e5fdaac2eec7de08346fbb81bdca4f1f33
Write benchmarks + logger example; bump version
diff --git a/README b/README index 41e72b3..6ad1f6d 100644 --- a/README +++ b/README @@ -1,41 +1,40 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
0c1a072b6e35316fd043cb072c1f91689a3f113d
Remove Array args API
diff --git a/README b/README index a406fd4..41e72b3 100644 --- a/README +++ b/README @@ -1,42 +1,41 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
069f24023d48489679830d050313568b28b3eb0a
Retry support
diff --git a/README b/README index 9b55cdb..a406fd4 100644 --- a/README +++ b/README @@ -1,44 +1,42 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
e5498d1b3bb66656d2fe9d4f8669438f29f2afd1
Error handling for readv && writev
diff --git a/README b/README index 6db1875..9b55cdb 100644 --- a/README +++ b/README @@ -1,43 +1,44 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
c0550019405275be9e7f405520d7746cca20c2e4
Init buffer with calloc to ensure a blank slate; Note todo's
diff --git a/README b/README index 71ef5b1..6db1875 100644 --- a/README +++ b/README @@ -1,41 +1,43 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
894253c7135524d2db87db6124f1c4c580f4dbdb
Add installation to the README
diff --git a/README b/README index cf599e9..71ef5b1 100644 --- a/README +++ b/README @@ -1,37 +1,41 @@ Vectored I/O for Ruby MRI (c) 2009 Lourens Naudé (methodmissing) http://github.com/methodmissing/vio Vectored I/O ? POSIX 1003.1-2001 introduces reading or writing data into multiple buffers with a...
methodmissing/vio
3e3739ecb6fa524ff1eaf56042e8f85fbdcd3798
Ensure file offset is 0 before any vectored I/O ops; initial read bench
diff --git a/.gitignore b/.gitignore index d09f029..6ea822a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ *.bundle -Makefile -mkmf.log .DS_Store -*.o -test/scratch/*.txt \ No newline at end of file +ext/vio/Makefile +ext/vio/mkmf.log +ext/vio/vio.o \ No newline at end of file diff --git a/Rakefile b/Rakefi...
methodmissing/vio
3c3fd521808617bef44f506c3998eb8b59e7e4eb
gemspec
diff --git a/vio.gemspec b/vio.gemspec new file mode 100644 index 0000000..7f107e5 --- /dev/null +++ b/vio.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |s| + s.name = "vio" + s.version = "0.1.0" + s.date = "2009-09-19" + s.summary = "Vectored I/O extension for Ruby" + s.email = "lourens@methodm...
methodmissing/vio
cbad3ccbfc9ad9b6e2850475c267d79b1a3839ec
Win! IO#writev
diff --git a/ext/vio/Makefile b/ext/vio/Makefile index e47763a..7a7517f 100644 --- a/ext/vio/Makefile +++ b/ext/vio/Makefile @@ -1,157 +1,186 @@ SHELL = /bin/sh #### Start of system configuration section. #### srcdir = . -topdir = /opt/local/lib/ruby/1.8/i686-darwin9.5.1 -hdrdir = $(topdir) -VPATH = $(srcdir):...