Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: Enable proper log domain for mockingmocking | Mathias Hasselmann | 2012-10-22 | 1 | -0/+1 |
| | |||||
* | net: Call init_mock_requester before init_requester | Mathias Hasselmann | 2012-10-22 | 1 | -1/+1 |
| | | | | Captured must check if mocking got enabled. | ||||
* | net: Add version field to captured mock config | Mathias Hasselmann | 2012-10-22 | 3 | -4/+8 |
| | |||||
* | net: Don't capture while mocking is enabled | Mathias Hasselmann | 2012-10-22 | 1 | -0/+6 |
| | |||||
* | net: Use MD5 sum instead of URL in capture files | Mathias Hasselmann | 2012-10-22 | 1 | -5/+6 |
| | | | | Some services use extraordinary long URL that exceed file system limits | ||||
* | net: Remove bogus assignment | Mathias Hasselmann | 2012-10-22 | 1 | -2/+0 |
| | | | | Lesson learned: Alway commit from IDE, so that you don't forget saving. | ||||
* | net: Update author tag | Mathias Hasselmann | 2012-10-22 | 3 | -0/+3 |
| | |||||
* | net: Don't fallback to "grl-net-mock-data.ini" | Mathias Hasselmann | 2012-10-22 | 1 | -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 values | Mathias Hasselmann | 2012-10-22 | 1 | -13/+6 |
| | | | | It's a pure filename now. | ||||
* | net: Simplify GRL_NET_MOCKED variable | Mathias Hasselmann | 2012-10-20 | 4 | -69/+16 |
| | | | | Always set throttling to zero in mocking mode. | ||||
* | net: Always dipatch requests trough event loop | Mathias Hasselmann | 2012-10-20 | 1 | -25/+27 |
| | | | | | This is to ensure consistent execution context for instant and for non-delayed web requests. | ||||
* | docs: Improve description of "ignored-parameters" mocks setting | Mathias Hasselmann | 2012-10-19 | 1 | -4/+7 |
| | |||||
* | net: -Rename grl-net-mock.h to grl-net-mock-private.h | Mathias Hasselmann | 2012-10-18 | 3 | -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 file | Mathias Hasselmann | 2012-10-18 | 1 | -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.ini | Mathias Hasselmann | 2012-10-18 | 1 | -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_MOCKED | Mathias Hasselmann | 2012-10-18 | 4 | -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 initialization | Mathias Hasselmann | 2012-10-18 | 2 | -8/+16 |
| | |||||
* | net: Use GRL_NET_CAPTURE_DIR instead of GRL_WEB_CAPTURE_DIR | Mathias Hasselmann | 2012-10-18 | 3 | -2/+5 |
| | |||||
* | net: Print warning when the dump directory can't be initialized | Mathias Hasselmann | 2012-10-18 | 1 | -1/+4 |
| | | | | ...so the user is aware dump won't take place. | ||||
* | net: Move G_GNUC_INTERNAL declaration to follow documented advice. | Mathias Hasselmann | 2012-10-18 | 2 | -7/+17 |
| | |||||
* | log: Don't barf about missing grl-mock-data.ini all the time | Mathias Hasselmann | 2012-10-17 | 1 | -1/+3 |
| | |||||
* | net: Permit unthrottled mock sessions. | Mathias Hasselmann | 2012-10-17 | 4 | -2/+19 |
| | |||||
* | net: Move mocking docs into API docs | Mathias Hasselmann | 2012-10-17 | 2 | -39/+84 |
| | |||||
* | net: Build grl-mock-data.ini from captured web requests. | Mathias Hasselmann | 2012-10-17 | 1 | -11/+28 |
| | |||||
* | net: Use g_build_filename() for building capture file name. | Mathias Hasselmann | 2012-10-17 | 2 | -15/+23 |
| | |||||
* | net: Sanitize GRL_WEB_CAPTURE_DIR handling | Mathias Hasselmann | 2012-10-17 | 1 | -9/+5 |
| | |||||
* | net: Make GRL_NET_MOCKED more intuitive | Mathias Hasselmann | 2012-10-17 | 3 | -7/+17 |
| | |||||
* | net: Change ignore-parameters into ignored-parameters | Mathias Hasselmann | 2012-10-17 | 1 | -12/+48 |
| | |||||
* | net: Set proper logging domain | Mathias Hasselmann | 2012-10-17 | 2 | -1/+3 |
| | |||||
* | net: Support mocking of network answers | Jens Georg | 2012-10-17 | 8 | -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 Hasselmann | 2012-10-17 | 1 | -1/+1 |
| | |||||
* | core: Check valid options in operations | Juan A. Suarez Romero | 2012-10-17 | 1 | -0/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=686033 | ||||
* | doc: Fix typo in _grl_log_init_core_domains() | Bastien Nocera | 2012-10-17 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=686032 | ||||
* | core: Do not access freed structure | Juan A. Suarez Romero | 2012-10-16 | 1 | -1/+3 |
| | | | | Save the value in a variable because the struct can be freed. | ||||
* | core: Fix annotation in GrlStoreCb | Juan A. Suarez Romero | 2012-10-16 | 1 | -1/+1 |
| | | | | failed_keys list is owned by the caller. Callback shouldn't free it. | ||||
* | test-ui: Fixed a crash when searching in all sources | Juan A. Suarez Romero | 2012-10-09 | 1 | -1/+1 |
| | | | | Unreffing a variable in wrong place. | ||||
* | test-ui: Add API key for TMDb plugin | Juan A. Suarez Romero | 2012-10-09 | 1 | -0/+18 |
| | | | | Just for test purpose! | ||||
* | duration: Document this as seconds | Murray Cumming | 2012-10-08 | 1 | -1/+1 |
| | |||||
* | --author=Murray Cumming <murrayc@openismus.com> | Murray Cumming | 2012-10-08 | 1 | -2/+2 |
| | |||||
* | Use GRL_METADATA_KEY_INVALID instead of NULL. | Murray Cumming | 2012-10-07 | 5 | -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.3 | Juan A. Suarez Romero | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | Release 0.2.2grilo-0.2.2 | Juan A. Suarez Romero | 2012-10-04 | 4 | -9/+28 |
| | |||||
* | Downgrade version to 0.2.1 | Juan A. Suarez Romero | 2012-10-03 | 17 | -14/+40 |
| | |||||
* | doc: Sort entries in documentation | Juan A. Suarez Romero | 2012-10-02 | 1 | -296/+298 |
| | |||||
* | doc: Update documentation | Juan A. Suarez Romero | 2012-10-02 | 1 | -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 Hasselmann | 2012-10-02 | 1 | -1/+1 |
| | | | | This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685169 | ||||
* | core: Properly pass store spec to store_relay_cb() | Mathias Hasselmann | 2012-10-02 | 1 | -3/+7 |
| | | | | This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685161 | ||||
* | build: Add option to disable Test UI | Juan A. Suarez Romero | 2012-09-26 | 1 | -3/+19 |
| | |||||
* | net: Check if headers are NULL | Juan A. Suarez Romero | 2012-09-25 | 1 | -2/+4 |
| | |||||
* | net: Add possibility to add arbitrary HTTP headers | Jens Georg | 2012-09-18 | 5 | -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> |