jfiat
ab19cc2b16
use item (i) instead [i]
2009-08-13 06:32:32 +00:00
jfiat
d4da754a9c
Optimized code, and removed extra dependencies.
...
Added void-safe version
2009-08-04 12:01:03 +00:00
larryl
ee8bce82b2
Added curlopt_proxy constant
...
Contributed by Heiko Gering
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@79745 8089f293-4706-0410-a29e-feb5c42a2edf
2009-07-13 09:07:05 +00:00
manus
764372f072
Updated safe-version to also use the API wrapper library otherwise it does not compile.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78752 8089f293-4706-0410-a29e-feb5c42a2edf
2009-05-18 21:06:56 +00:00
dfurrer
8ddc27b9cb
- Adding the necessary platform-specific implementations (stubs atm) to build EiffelStudio using the Cocoa Vision2 implementation (without GTK+ dependencies).
...
- There is a new target "bench_cocoa" in ec.ecf which builds the native Mac version of EiffelStudio
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78745 8089f293-4706-0410-a29e-feb5c42a2edf
2009-05-18 16:06:27 +00:00
larryl
5d63551002
Updated cURL library to use API wrapper library
...
Then removed useless classes such as {API_LOADER} {API_LOADER_IMP}, removed useless library references such as Vision2 and WEL
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78736 8089f293-4706-0410-a29e-feb5c42a2edf
2009-05-18 04:33:10 +00:00
manus
03851ac02e
Updated to 1-5-0 schema version of ECFs.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78475 8089f293-4706-0410-a29e-feb5c42a2edf
2009-05-01 21:42:03 +00:00
jfiat
7e2a847e39
cosmetic
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78170 8089f293-4706-0410-a29e-feb5c42a2edf
2009-04-10 08:45:10 +00:00
manus
0759dfe1a7
Use new `note' syntax.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@78146 8089f293-4706-0410-a29e-feb5c42a2edf
2009-04-09 18:51:20 +00:00
jfiat
dae6d64f82
Added curl_easy_getinfo. Associated constants and also CURLOPT_USERPWD.
...
Minor optimization and cosmetics.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77794 8089f293-4706-0410-a29e-feb5c42a2edf
2009-03-19 08:18:02 +00:00
jfiat
f1f1f5fbf6
Fixed typo
2009-03-18 16:46:27 +00:00
jfiat
548a320448
Cosmetic + Optimization + Assertion + Void-safety
...
(no significant interface changes)
2009-03-18 15:29:41 +00:00
jfiat
6bb5b0bac8
Removed erroneous precondition `exists', since we can call slist_append with null pointer to get an initialized pointer.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77774 8089f293-4706-0410-a29e-feb5c42a2edf
2009-03-18 08:21:46 +00:00
manus
e3d8fbb263
Removed duplicated `local_realclean' definition which could cause a Makefile execution to fail when
...
launching multiple jobs on a slow file system and slow OS.
Fixed the one already committed for EiffelNet as we had removed `local_clean' which is still needed for
the `clean' target.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77516 8089f293-4706-0410-a29e-feb5c42a2edf
2009-03-04 00:51:24 +00:00
larryl
caf6d8c528
Added features related with curlopt_readfunction (for setting and using read function), so users can read data from local machine and send the data to server.
...
Added curlopt_put and other constance to {CURL_OPT_CONSTATNS} which used by {CURL_EASY_EXTERNALS}
Contributed by Heiko Gering
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77404 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-27 13:02:12 +00:00
manus
e880fbde14
Use new syntax for object test and attached/detachable type.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77298 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-24 23:44:31 +00:00
manus
9e27a52670
To make transition easier, we are preserving `make_from_c' as creation procedure in the STRING classes
...
and therefore we should use it instead of `make_from_c_pointer' that will be obsoleted soon.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77047 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-06 22:45:24 +00:00
king
816e5b4d6c
Fixed typo from previous commit
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76967 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-04 17:02:38 +00:00
king
9a4a1a3a40
Fixed typo from previous commit
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76966 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-04 17:01:51 +00:00
manus
93b74d0d5e
Added back vision2 since used for the API_LOADER_IMP on Unix but this time with an explicit conditional.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76965 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-04 16:58:59 +00:00
manus
925fdcd979
Made the cURL library void-safe.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76961 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-04 01:05:57 +00:00
manus
2f1e4e561b
Removed vision2 since not used.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76960 8089f293-4706-0410-a29e-feb5c42a2edf
2009-02-04 01:04:28 +00:00
manus
5506ab09dc
Removal of `is' keyword.
...
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@76420 8089f293-4706-0410-a29e-feb5c42a2edf
2008-12-29 20:27:11 +00:00
manus
544b5784ae
Moved API_LOADER class to where it was used, i.e. the cURL library.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@75972 8089f293-4706-0410-a29e-feb5c42a2edf
2008-12-01 19:34:30 +00:00
jvelilla
1359a1ceae
Add descriptions.
...
Change in skip_withe_spaces to handle newline %N and carriage Return %R
2008-08-29 10:49:24 +00:00
jvelilla
fc7c2d151f
Change in the loop, to generate the correct answer (feature visit_json_object).
2008-08-29 10:45:04 +00:00
jvelilla
4e6935655f
Add cluster visitor.
2008-08-29 10:40:12 +00:00
berend
d940da7b13
SmartEiffel doesn't have is_space.
2008-08-27 04:29:42 +00:00
berend
31619fc88e
JSON number is a double precision IEEE number, not a single precision.
2008-08-27 04:29:12 +00:00
berend
bf781a9d25
Changed formatting a bit.
...
Made it compile with SE 1.2r7
2008-08-27 04:26:44 +00:00
jvelilla
31750efb8e
Add accept method (JSON_VISITOR), remove is_xxx queries, remove to_json feature.
...
Improve comments
2008-08-25 01:13:35 +00:00
jvelilla
f83c5d2643
Add Visitor Pattern , JSON_VISITOR and PRINT_JSON_VISITOR
2008-08-25 01:10:42 +00:00
jvelilla
c59bc37a40
Fix Bug in quey 'is_a_valid_number'
...
Remove the space after : in the regular expression "-?(?: 0|[1-9]\d*)(?: \.\d+)?(?: [eE][+-]?\d+)?\b"
2008-08-08 11:17:32 +00:00
jvelilla
b674dbddf7
Add precondition in query i_th
...
Remove infix "@" which is deprecated now.
Add invariant for values to show that it is always not Void.
Add postcondition of add.
2008-08-08 11:12:27 +00:00
jvelilla
ed5f8a9740
Redefine the version of ANY of is_equal.
2008-08-08 11:08:51 +00:00
jvelilla
2c42c0dd1a
Change void to Void.
...
Add invariant for 'object' , object_no_null /= Void
2008-08-08 11:04:33 +00:00
jvelilla
d64e01641b
Reformatted code to Eiffel Standard
2008-08-08 11:01:14 +00:00
berend
fa35ab07a0
Fixed bug where a JSON string had to end with CRLF. But that's optional.
...
Reformatted code to Gobo standard.
2008-08-05 03:26:08 +00:00
berend
0bf10c633f
Reformatted code to Gobo standard.
2008-08-05 03:25:14 +00:00
paulb
9ef3391b26
Added major version to load the shared library according to rules of ldconfig and the like on other OSs.
...
git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@74121 8089f293-4706-0410-a29e-feb5c42a2edf
2008-07-18 20:07:15 +00:00
jvelilla
bc1e6653ae
Add Regular expression to check valid numbers and valid unicodes.
...
Add errors to the parser, under development
2008-07-13 03:30:54 +00:00
jvelilla
b9ccf20d53
Add explicit control characters.
2008-07-13 03:19:20 +00:00
jvelilla
3e7f107b36
Update json.ecf,
...
Dependencies on Gobo Library. (Regular Expressions)
2008-07-13 03:17:37 +00:00
jvelilla
aa8c2d0a95
Update parse_number
2008-07-09 02:40:38 +00:00
jvelilla
65cd9e8780
Add new files to test ejson, based on json t test material http://www.json.org/JSON_checker/test.zip
2008-06-09 02:24:33 +00:00
jvelilla
cb595d27f4
Update JSON_OBJECT, put routine, now follows Eiffel Style based on HAST_TABLE
2008-06-09 02:18:34 +00:00
jvelilla
aaa10d178a
Update Parser with is_parsed.
...
Update parse_string
2008-06-09 01:32:28 +00:00
jvelilla
1052c10b8d
Update test
2008-05-25 18:29:54 +00:00
jvelilla
3083f378a6
Update test
2008-05-25 18:28:40 +00:00
jvelilla
8357bf5d72
Update JSON_VALUE and JSON_OBJECT interface
2008-05-25 18:23:25 +00:00