Permalink
Browse files

Moved TODO and compilation descriptions to wiki and bug tracker on Gi…

…thub.
  • Loading branch information...
residuum committed Feb 2, 2012
1 parent 7a34c7f commit f85c4ed6faf0c8407a2dcfdb6b15a0a8a985358d
Showing with 7 additions and 25 deletions.
  1. +5 −25 README.txt
  2. +1 −0 json-decode.c
  3. +1 −0 rest-json.c
View
@@ -47,29 +47,9 @@ The library uses the template for Pd-extended. Drop the library in a
new folder "purest_json" in the "external" path of the Pd-extended
source code and run make in the folder. libcurl and json-c is needed.
-Here are the steps in detail:
-1. Download the sources of Pd-extended from
- http://puredata.info/community/projects/software/pd-extended
+Details can be found at
+https://github.com/residuum/PuRestJson/wiki/Compilation
-2. Create a subfolder in the extracted source Pd-0.42.5-extended/externals
- with the name purest_json and gut the sources of purest_json in there.
-
-3. Make sure to have the header files for libcurl and json-c installed,
- on Debian the libraries are called libcurl-dev (with several packages
- providing this virtual package) and libjson0-dev respectively.
-
-4. Now run "make" inside the folder Pd-0.42.5-extended/externals/purest_json/
- and you should get a file purest_json.EXT, where EXT is the library file
- extension for your platform (dll, pd_darwin, pd_linux). The help patches
- are the *.pd files in the root folder.
-
-5. Some example patches are in the examples folder.
-
-6. To create a deb package, edit the file debian/control to change the
- value for Architecture to match your architecture (i386, amd64, powerpc,
- ...) and run equivs-build debian/control after make.
-
-
-TODO:
-- Implementing OAUTH
-- JSON error when querying Twitter
+If you encouter bugs or feel like a feature is missing, have a look
+the bug tracker at
+https://github.com/residuum/PuRestJson/issues
View
@@ -38,6 +38,7 @@ void json_decode_list(t_json_decode *x, t_symbol *selector, int argcount, t_atom
atom_string(argvec + i, value, MAX_STRING_SIZE);
strcat(json_string, value);
}
+ /*post("%s", json_string);*/
jobj = json_tokener_parse(json_string);
output_json(jobj, x->x_ob.ob_outlet, x->done_outlet);
if (!is_error(jobj)) {
View
@@ -152,6 +152,7 @@ void *execute_rest_thread(void *thread_args) {
result = curl_easy_perform(curl_handle);
if (result == CURLE_OK) {
+ /* post("%s", out_memory.memory);*/
/* Parse JSON */
jobj = json_tokener_parse(out_memory.memory);
/*outlet_symbol(x->x_ob.ob_outlet, gensym(out_memory.memory));*/

0 comments on commit f85c4ed

Please sign in to comment.