summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* net: Enable proper log domain for mockingmockingMathias Hasselmann2012-10-221-0/+1
|
* net: Call init_mock_requester before init_requesterMathias Hasselmann2012-10-221-1/+1
| | | | Captured must check if mocking got enabled.
* net: Add version field to captured mock configMathias Hasselmann2012-10-223-4/+8
|
* net: Don't capture while mocking is enabledMathias Hasselmann2012-10-221-0/+6
|
* net: Use MD5 sum instead of URL in capture filesMathias Hasselmann2012-10-221-5/+6
| | | | Some services use extraordinary long URL that exceed file system limits
* net: Remove bogus assignmentMathias Hasselmann2012-10-221-2/+0
| | | | Lesson learned: Alway commit from IDE, so that you don't forget saving.
* net: Update author tagMathias Hasselmann2012-10-223-0/+3
|
* net: Don't fallback to "grl-net-mock-data.ini"Mathias Hasselmann2012-10-221-14/+9
| | | | | Just print a warning and disable mocking if the specified mock response file cannot be found.
* net: Don't check GRL_NET_MOCKED for boolean valuesMathias Hasselmann2012-10-221-13/+6
| | | | It's a pure filename now.
* net: Simplify GRL_NET_MOCKED variableMathias Hasselmann2012-10-204-69/+16
| | | | Always set throttling to zero in mocking mode.
* net: Always dipatch requests trough event loopMathias Hasselmann2012-10-201-25/+27
| | | | | This is to ensure consistent execution context for instant and for non-delayed web requests.
* docs: Improve description of "ignored-parameters" mocks settingMathias Hasselmann2012-10-191-4/+7
|
* net: -Rename grl-net-mock.h to grl-net-mock-private.hMathias Hasselmann2012-10-183-5/+5
| | | | | | In general grilo uses the suffix "-private" for all the headers that contain private functions. So it is easier to know if the functions are public or not.
* net: Put the timestamp before the URL in the captured fileMathias Hasselmann2012-10-181-2/+2
| | | | | So it is easier to sort the results in chronological order. Also use monotonic instead of real time for exactly the same purpose.
* net: Add PID to captured .ini file, as grl-net-mock-data-%PID.iniMathias Hasselmann2012-10-181-6/+9
| | | | | Thus, we can run several times the application and capture the data without loosing previous captures.
* net: Set config file and throttling via GRL_NET_MOCKEDMathias Hasselmann2012-10-184-71/+93
| | | | | Also rename grl-mock-data.ini to grl-net-mock-data.ini, to make it clear this data is for grl-net mocking.
* net: Parse GRL_NET_MOCKED only once upon initializationMathias Hasselmann2012-10-182-8/+16
|
* net: Use GRL_NET_CAPTURE_DIR instead of GRL_WEB_CAPTURE_DIRMathias Hasselmann2012-10-183-2/+5
|
* net: Print warning when the dump directory can't be initializedMathias Hasselmann2012-10-181-1/+4
| | | | ...so the user is aware dump won't take place.
* net: Move G_GNUC_INTERNAL declaration to follow documented advice.Mathias Hasselmann2012-10-182-7/+17
|
* log: Don't barf about missing grl-mock-data.ini all the timeMathias Hasselmann2012-10-171-1/+3
|
* net: Permit unthrottled mock sessions.Mathias Hasselmann2012-10-174-2/+19
|
* net: Move mocking docs into API docsMathias Hasselmann2012-10-172-39/+84
|
* net: Build grl-mock-data.ini from captured web requests.Mathias Hasselmann2012-10-171-11/+28
|
* net: Use g_build_filename() for building capture file name.Mathias Hasselmann2012-10-172-15/+23
|
* net: Sanitize GRL_WEB_CAPTURE_DIR handlingMathias Hasselmann2012-10-171-9/+5
|
* net: Make GRL_NET_MOCKED more intuitiveMathias Hasselmann2012-10-173-7/+17
|
* net: Change ignore-parameters into ignored-parametersMathias Hasselmann2012-10-171-12/+48
|
* net: Set proper logging domainMathias Hasselmann2012-10-172-1/+3
|
* net: Support mocking of network answersJens Georg2012-10-178-6/+390
| | | | | | Mock network answers of webservices through predefined files. This is useful for offline testing of plug-ins that provide sources from webservices. See the header of libs/net/grl-net-mock.c for full documentation.
* core: Set proper GValue type in grl_related_keys_set_boxed()Mathias Hasselmann2012-10-171-1/+1
|
* core: Check valid options in operationsJuan A. Suarez Romero2012-10-171-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=686033
* doc: Fix typo in _grl_log_init_core_domains()Bastien Nocera2012-10-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=686032
* core: Do not access freed structureJuan A. Suarez Romero2012-10-161-1/+3
| | | | Save the value in a variable because the struct can be freed.
* core: Fix annotation in GrlStoreCbJuan A. Suarez Romero2012-10-161-1/+1
| | | | failed_keys list is owned by the caller. Callback shouldn't free it.
* test-ui: Fixed a crash when searching in all sourcesJuan A. Suarez Romero2012-10-091-1/+1
| | | | Unreffing a variable in wrong place.
* test-ui: Add API key for TMDb pluginJuan A. Suarez Romero2012-10-091-0/+18
| | | | Just for test purpose!
* duration: Document this as secondsMurray Cumming2012-10-081-1/+1
|
* --author=Murray Cumming <murrayc@openismus.com>Murray Cumming2012-10-081-2/+2
|
* Use GRL_METADATA_KEY_INVALID instead of NULL.Murray Cumming2012-10-075-6/+6
| | | | | | | | | | This is what the grl_metadata_key_list_new() documentation says we should do. NULL is the same thing, but that is an internal detail. This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685274 Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
* Post-release version bump to 0.2.3Juan A. Suarez Romero2012-10-051-1/+1
|
* Release 0.2.2grilo-0.2.2Juan A. Suarez Romero2012-10-044-9/+28
|
* Downgrade version to 0.2.1Juan A. Suarez Romero2012-10-0317-14/+40
|
* doc: Sort entries in documentationJuan A. Suarez Romero2012-10-021-296/+298
|
* doc: Update documentationJuan A. Suarez Romero2012-10-021-0/+2
| | | | | Add grl_net_wc_request_with_headers_async() and grl_net_wc_request_with_headers_hash_async() to documentation section.
* core: Obey GRL_WRITE_NORMAL in grl_source_store()Mathias Hasselmann2012-10-021-1/+1
| | | | This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685169
* core: Properly pass store spec to store_relay_cb()Mathias Hasselmann2012-10-021-3/+7
| | | | This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685161
* build: Add option to disable Test UIJuan A. Suarez Romero2012-09-261-3/+19
|
* net: Check if headers are NULLJuan A. Suarez Romero2012-09-251-2/+4
|
* net: Add possibility to add arbitrary HTTP headersJens Georg2012-09-185-3/+143
| | | | | | | | | | | Some webservices need custom HTTP headers for requests; this patch adds a function to schedule requests with those special headers. Under contract for Canonical Ltd. https://bugzilla.gnome.org/show_bug.cgi?id=680436 Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>