aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove all things related to autoarchive, which becomes a shared libraryTing-Wei Lan2013-07-311-1/+0
|
* Add autoarchive to tests because it is used by ephy-downloadTing-Wei Lan2013-07-271-0/+1
|
* Compile template pages as GResourcesCarlos Garcia Campos2013-04-051-0/+1
| | | | | | | | So that they are loaded from memory instead of disk every time they are needed. We also get rid of ephy_file searching for the files in the file system. https://bugzilla.gnome.org/show_bug.cgi?id=696792
* Get rid of EphyEmbedSingleXan Lopez2013-03-242-119/+0
| | | | | | Move the remaining initialization code to EphyEmbedShell https://bugzilla.gnome.org/show_bug.cgi?id=693703
* ephy-web-view-test: disconnect signals after test is overXan Lopez2013-03-221-0/+1
| | | | Otherwise it will carry over to the next tests.
* ephy-embed-shell-test: unskip web created testXan Lopez2013-03-211-6/+0
| | | | | | It should work now. https://bugzilla.gnome.org/show_bug.cgi?id=695620
* ephy-embed-shell-test: try harder to find the schemas dirXan Lopez2013-03-211-0/+13
| | | | | | Need to do this since we override XDG_DATA_DIRS. https://bugzilla.gnome.org/show_bug.cgi?id=695620
* ephy-embed-single-test: skip form auth test in WebKit2Xan Lopez2013-03-191-0/+4
| | | | This is done differently for WebKit2, so this test won't work.
* ephy-download-test: do nothing when the download is finishedXan Lopez2013-03-141-0/+1
| | | | | | | We don't want the default action to run, which in this case is to fire GEdit with the dummy file we are downloading. https://bugzilla.gnome.org/show_bug.cgi?id=695782
* Fix provisional_load_failure_updates_back_forward_list test in WK2Manuel Rego Casasnovas2013-03-131-8/+53
| | | | | | | | | The EphyWebView test provisional_load_failure_updates_back_forward_list was failing in WK2 for a similar issue than other tests. We were not waiting for the "changed" signal in WebKitBackForwardList, so the list was not ready when checking it. https://bugzilla.gnome.org/show_bug.cgi?id=695649
* ephy-shell-test: fix compiler warningsXan Lopez2013-03-131-4/+3
|
* Fix EphyShell tests in WK2 waiting until views are loadedManuel Rego Casasnovas2013-03-134-25/+76
| | | | | | | | /src/ephy-shell/tab_load and /src/ephy-shell/tab_from_external tests were failing because of the same issue than session tests. We were not waiting till the views reach the committed load status in order to check the address. https://bugzilla.gnome.org/show_bug.cgi?id=695646
* Move methods related to view load from ephy-session-test to ephy-test-utilsManuel Rego Casasnovas2013-03-134-91/+173
| | | | | | | | In ephy-session-tests we added some methods in order to know if the EphyWebViews have been loaded or not before checking their addresses. These methods are going to be needed in more tests so they are moved to a utilities file. https://bugzilla.gnome.org/show_bug.cgi?id=695646
* Fix download tests in WK2Manuel Rego Casasnovas2013-03-131-4/+0
| | | | | | Modify ephy_download_dispose to disconnect WebKitDownload from all the handlers. https://bugzilla.gnome.org/show_bug.cgi?id=694579
* ephy-web-view-test: skip another failing testXan Lopez2013-03-121-0/+5
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=695649
* ephy-shell-test: skip a couple of failing tests in WK2Xan Lopez2013-03-121-0/+10
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=695646
* ephy-download-test: comment out this test for now, since it's brokenXan Lopez2013-03-121-0/+4
| | | | We'll fix it soon but I want to be able to run make check.
* ephy-session-test: make session tests work more reliablyXan Lopez2013-03-121-8/+131
| | | | | | | | | | | | | | | Based on a patch by Manuel Rego. Ensure the WebViews created during the session load are fully loaded before we check their URIs. This was working more or less by pure chance in WK1, and was failing in WK2 because of the process separation. The restore tab test is skipped in WK2 for now, since it's crashing. The patch excludes some asserts in WK2 while bug #695437 is not fixed. https://bugzilla.gnome.org/show_bug.cgi?id=695300
* ephy-embed-shell: add a ::web-view-created signalXan Lopez2013-03-111-0/+32
| | | | | | | Emitted every time we create an EphyWebView anywhere. This will be useful in our tests. https://bugzilla.gnome.org/show_bug.cgi?id=695300
* Add setting for delayed tab loading, and use it to fix the session testsGustavo Noronha Silva2013-02-241-3/+40
| | | | | | | | | | | | | The session tests were broken by the delayed tab loading feature - the restored embeds would not finish loading and thus the expectations for the URIs were not met. This change adds a setting that is now used by those tests to disable the feature temporarily. Also revert "ephy-session-test: make tests pass", which is no longer necessary. This reverts commit 75da5fff3f4489dacf4ded6f012daa06af306709. https://bugzilla.gnome.org/show_bug.cgi?id=694470
* ephy-session-test: make tests passXan Lopez2013-02-221-3/+3
| | | | | | | | We delay session loads until tab map now, which won't happen in the tests. So take that into account for about: URIs, which are changed to ephy-about: only during the actual load process. We should make this work properly before 3.8
* Use GtkApplication method to get the list of windowsXan Lopez2013-02-091-12/+13
| | | | | We have one in EphyShell, but should be redundant (since we stopped tracking non-EphyWindow windows some time ago).
* ephy-session-test: add tests for tab restoring APIClaudio Saavedra2013-02-081-0/+69
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=128184
* ephy-session-test: add test for ephy_session_clear()Claudio Saavedra2013-02-081-27/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=693297
* ephy-shell: return the proper types for EphySession and GNetworkMonitorXan Lopez2013-02-081-4/+4
|
* Move ephy_session_open_uris to EphyShellXan Lopez2013-02-081-1/+1
| | | | | There's no reason at all for this method to be in EphySession, it neither writes nor reads the state of the browser.
* ephy-file-helpers: remove ephy_file_switch_temp_file()Claudio Saavedra2013-01-281-73/+0
| | | | | It is racy and it is unnecessary as we've replaced all its instances with g_file_set_contents().
* ephy-string: Handle about: and ephy-about: as special cases in ↵Carlos Garcia Campos2013-01-111-0/+2
| | | | | | | | ephy_string_get_host_name() And return NULL like for file:// URIs. https://bugzilla.gnome.org/show_bug.cgi?id=691416
* ephy-session: Remove EPHY_SESSION_CMD_OPEN_URISCarlos Garcia Campos2013-01-091-6/+1
| | | | | | | Add ephy_session_open_uris() instead and use it from EphyShell instead of scheduling a command. https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Add ephy_session_resume() and use it instead of queueing a ↵Carlos Garcia Campos2013-01-091-6/+1
| | | | | | resume command https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Load the session asynchronouslyCarlos Garcia Campos2013-01-091-4/+33
| | | | | | | | | Make ephy_session_load() asynchronous and add ephy_session_load_from_stream() to replace ephy_session_load_from_string(). Use a xml sax parser now that is fed from a GInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=681782
* ephy-download: Make EphyDownload:window a construct only propertyCarlos Garcia Campos2013-01-041-1/+1
| | | | | | | | It's always set right after the download object is created and it doesn't have any effect when it's set after the download has been added to the embed shell. This way we can make sure that when the download is added to the embed shell the parent window has already been set if there's any.
* ephy-bookmarks-test: use G_N_ELEMENTS properlyXan Lopez2012-12-121-1/+1
|
* Define the names of the history and bookmarks files in just one placeXan Lopez2012-12-121-1/+2
|
* Handle a bit more gracefully the self-launch detectionXan Lopez2012-12-125-1/+116
| | | | | | | Check whether the app that will launch a given download is actually the browser itself, and do nothing *before* going ahead. Seems better than actually launching and then aborting on startup through UUID hacks.
* Open new windows when called with no URIs to openGustavo Noronha Silva2012-12-111-3/+25
| | | | | | | | | GNOME Shell tries to open new windows by calling the application with no parameters. This strategy is also used by the 'Launch web browser' keybinding, that can be interpreted as the user requesting a new window, so open a new window when called with no URIs, unless --new-tag is given explicitly. Partially fixes https://bugzilla.gnome.org/show_bug.cgi?id=685976
* ephy-shell: remove the ephy_shell globalDiego Escalante Urrelo2012-12-116-20/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* e-embed-shell: remove the embed_shell globalDiego Escalante Urrelo2012-12-113-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* test-ephy-session: shutdown file helpers only after destroying the shellGustavo Noronha Silva2012-12-111-1/+1
|
* Add test to ensure a session resume won't create windows if windows existGustavo Noronha Silva2012-12-101-0/+81
| | | | | When called to open URIs, the shell will still queue a resume session command, this test ensures that command is not loading the session and creating windows.
* lib: Remove unused EphySearchEntry widgetBastien Nocera2012-12-102-79/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687744
* Fix a ton of 'warning: function declaration isn’t a prototype'Xan Lopez2012-11-0511-36/+36
| | | | | | | | | New warning flags have been added to gnome-common recently, and we were getting this a lot. Turns out in C 'foo ()' is not the same than 'foo (void)'; the first just means that no information is given about the number of arguments, the second means the function has exactly zero arguments, so add the 'void' thing all over the place when needed.
* Run all tests in test modeXan Lopez2012-10-085-5/+5
| | | | That's what it's for!
* Move windows handling code from EphySession to EphyShellCarlos Garcia Campos2012-10-081-3/+3
| | | | | | | | | | | | EphyShell is now a GtkApplication that already does window handling, however we want to maintain only the of browser windows. Instead of keeping the window lists in ephy-session, it's easier to override window_added and window_removed virtual methods of GtkApplication and update the browser window lists. Most of the cases where this API was used, had to get the session object from the shell first, now we save this step keeping the code simpler. https://bugzilla.gnome.org/show_bug.cgi?id=641734
* tests: Add test for ephy_sanitize_filename()Carlos Garcia Campos2012-09-101-0/+36
|
* tests: remove debug output from snapshot service testsXan Lopez2012-09-081-3/+0
|
* tests: basic tests for EphyCompletionModelXan Lopez2012-09-082-0/+106
|
* tests: test ephy_bookmarks_set_addressXan Lopez2012-09-081-0/+23
|
* tests: clear bookmark files after each testXan Lopez2012-09-081-0/+25
|
* tests: some simple EphyBookmarks testsXan Lopez2012-09-082-0/+82
|
* ephy-snapshot-service: Split ephy_snapshot_service_get_snapshot_async()Carlos Garcia Campos2012-09-061-8/+0
| | | | | | | | | | | | | | | | | | | ephy_snapshot_service_get_snapshot_async() receives an option web view parameter, that it's only used in case the snapshot is not the in the thumbnails cache. We can split the method into ephy_snapshot_service_get_snapshot_async() to get a snapshot from a web view and ephy_snapshot_service_get_snapshot_for_url_async() to get a snapshot from the cache. The former uses the latter to try first if the web view URI is in the cache. Patch includes other cleanups and fixes: - Add missing ephy_snapshot_service_save_snapshot_finish() - Add EphySnapshotServiceError to handle errors - Use GSimpleAsyncResult API instead of using GIOScheduler directly - Use different async data structs for every async operation https://bugzilla.gnome.org/show_bug.cgi?id=683327
* tests: test ephy_embed_utils_url_is_emptyXan Lopez2012-09-041-0/+35
|
* Add code coverage supportXan Lopez2012-09-041-0/+2
| | | | | | | | | | Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297
* ephy-profile-utils: add a profile_dir parameter to ↵Claudio Saavedra2012-09-041-2/+2
| | | | | | | | | ephy_profile_utils_do_migration() This is passed further on to the migrator process. Right now this is unused. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-file-helpers: rename KEEP_TEMP_DIR to KEEP_DIRClaudio Saavedra2012-09-031-9/+9
| | | | | Since this is also used for persistency of temporary directories, but also for --profile.
* tests: fix last shell testXan Lopez2012-09-031-5/+12
| | | | | | Unfortunately the state propagation of the overview loading needs the mainloop to run, since we use the load status signals from WebKit. Do so and update things for about:blank -> about:overview.
* tests: homepage is overview nowXan Lopez2012-09-031-1/+1
| | | | This fixes one test, there's another one broken in this file.
* tests: the new homepage is about:overview, not about:blankXan Lopez2012-09-031-1/+1
|
* tests: register the application explicitlyXan Lopez2012-09-032-2/+5
| | | | | | | | | | | | | This usually happens in _run, it seems, but the tests don't do that, so we need to call this manually. Otherwise the test will fail with: (/home/xan/git/epiphany/build/tests/test-ephy-session:9865): GLib-GIO-CRITICAL **: g_application_list_actions: assertion `application->priv->is_registered' failed No idea why this has started happening only now. https://bugzilla.gnome.org/show_bug.cgi?id=682653
* Add basic tests for EphySnapshotServiceClaudio Saavedra2012-09-012-0/+270
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668578
* ephy-string: improve a bit ephy_string_get_host_nameXan Lopez2012-08-172-0/+74
| | | | And add unit tests for it.
* ephy-web-view: ignore paths when deciding whether a URI has a TLDXan Lopez2012-08-151-0/+1
| | | | | | SoupTLD is not happy if we give it something like ".com/blah/blah". Add a unit test for this case too.
* ephy-web-view: do not store error pages in historyXan Lopez2012-08-141-0/+49
| | | | | | | | | Otherwise we end up with dummy URIs in the history, overwritten titles ("Oops, could not load..."), etc. Add a unit test to make sure we do not regress. https://bugzilla.gnome.org/show_bug.cgi?id=655619
* Use webkit_web_frame_load_alternate_string to load error pagesMartin Robinson2012-08-141-0/+73
| | | | | | | webkit_web_view_load_string, which was used previously, does not add the error page to the back forward list. This means that when you go back from an error page (n) you will skip directly to an older page (n-2) or not be able to go back if the error page was the first loaded.
* tests: a couple more 'normalize or autosearch' testsXan Lopez2012-08-081-1/+3
|
* ephy-web-view: fix URI normalizationXan Lopez2012-08-071-1/+2
| | | | | | | | | | Give SoupTLD nothing but the TLD when trying to figure out whether a URI actually has a TLD, otherwise it won't be happy. In particular: '.gnome.org' -> Not OK '.org' -> OK Add a test for this case.
* ephy-web-view: do autosearch foo.bar strings where bar is not a TLDXan Lopez2012-08-071-7/+17
| | | | | | | | | Using the new SoupTLD methods. Had to split the non-search regexp in two so that we can reuse its 'is this a domain?' bits. Ugly as hell, but not worse than before... At least we have unit tests to catch regressions. https://bugzilla.gnome.org/show_bug.cgi?id=681022
* ephy-web-view: export the 'normalize or autosearch' methodXan Lopez2012-08-071-0/+41
| | | | | We are going to modify it a bit, and we really want to test it. Add some initial tests for the existing functionality.
* ephy-session: spawn the default window if the session state file is brokenXan Lopez2012-08-011-0/+45
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680590
* extensions: remove seed supportDiego Escalante Urrelo2012-07-311-7/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680905
* ephy-encoding: auto-calculate 'title-elided' and 'collation-key'Xan Lopez2012-07-311-3/+2
| | | | They are derived from 'title', no need to pass them as parameters.
* tests: test the creation of a EphyEncoding objectXan Lopez2012-07-311-0/+21
| | | | | We should make the test-elided and collation-key properties be computed automatically from the other parameters.
* tests: add a simple test for EphyEncodingsXan Lopez2012-07-312-0/+90
|
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-241-2/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* Initial WebKit2 portCarlos Garcia Campos2012-06-212-0/+12
| | | | It builds and basic functionality works.
* Include libsoup header explicitly when requiredCarlos Garcia Campos2012-06-212-0/+2
| | | | Instead of relying on webkit header to include it.
* ephy-session-test: test recovering a multiple-window sessionXan Lopez2012-06-151-1/+50
|
* tests: add ephy-shell-testDiego Escalante Urrelo2012-06-152-0/+368
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673683
* tests: add ephy-web-app-utils-testDiego Escalante Urrelo2012-06-152-0/+157
| | | | | | | Tests create, exists, delete, list API. No network access required. https://bugzilla.gnome.org/show_bug.cgi?id=673271
* tests: add the beginnings of ephy-session unit testingXan Lopez2012-06-142-0/+104
| | | | | | | | | For now a simple test that verifies that loading a session works. We need to link with the resource files, which is unfortunate, but I'm not sure there's a way around it since this test will actually spawn a full EphyWindow (ie, it's not only testing the session or shell code but the entire browser as a side effect).
* tests: include tests/data/ in distDiego Escalante Urrelo2012-05-242-0/+3
| | | | Otherwise tests using its contents will fail on distcheck.
* tests: add ephy-file-helpers-testDiego Escalante Urrelo2012-05-243-0/+410
| | | | | | | | | | Test API for file switch, tmp file creation, downloads, desktop directories. Take two of this test. Updated for ephy-file-helpers API changes. Previously reverted on 185ab751c20a825f832efd89a7cfbd75fa09e20c. https://bugzilla.gnome.org/show_bug.cgi?id=673337
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-1/+12
|
* tests: start tests for the migration codeXan Lopez2012-05-102-0/+66
| | | | | Trivial first test, we just check the migration binary runs and does not catastrophically.
* Ensure private profile dirs actually do exist.Xan Lopez2012-05-083-3/+9
| | | | | Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems logical. Do this for new.
* Allow for more fine-grained file helpers initXan Lopez2012-05-083-3/+3
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* Revert "tests: add ephy-file-helpers-test"Xan Lopez2012-05-023-401/+0
| | | | | | This reverts commit d1ba46b3f4a4e2afbffe5a0ab2543462caea0bbe. Does not pass distcheck and I need to release.
* tests: add ephy-file-helpers-testDiego Escalante Urrelo2012-04-303-0/+401
| | | | | | | Test API for file switch, tmp file creation, downloads, desktop directories. https://bugzilla.gnome.org/show_bug.cgi?id=673337
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-143-0/+3
| | | | These are clearly not meant to be used outside of Epiphany.
* tests: use EPHY_EMBED_SHELL_MODE_PRIVATE not FALSEDiego Escalante Urrelo2012-04-113-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673684
* ephy-embed-single-test: unref the created EphyShellDiego Escalante Urrelo2012-04-111-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673273
* ephy-download-test: correctly use fixture objectsDiego Escalante Urrelo2012-04-021-17/+2
| | | | | | | | Do not use adhoc EphyDownload objects that have no proper destination set, or your current user's downloads directory will be filled with test files. https://bugzilla.gnome.org/show_bug.cgi?id=673274
* Automatically prefix existing absolute paths with file://Gustavo Noronha Silva2012-03-142-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671792
* ephy-embed-single: remove network statusXan Lopez2012-03-141-17/+0
| | | | We are not using it. Easy enough to bring it back if needed.
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-131-17/+17
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* tests: add ephy-web-view testDiego Escalante Urrelo2012-03-112-0/+274
| | | | | | Testing ephy_web_view_load_url and the internal GRegex of EphyWebView. https://bugzilla.gnome.org/show_bug.cgi?id=669548
* ephy-history-test: small style tweaksXan Lopez2012-03-071-10/+9
|
* tests: add a test for ephy_history_service_clearXan Lopez2012-03-071-0/+49
|
* ephy-history-test: add emacs modelineXan Lopez2012-03-071-0/+1
|
* Rename the new tests to be foo-test.cXan Lopez2012-03-073-2/+2
|
* Store zoom levels per host, not per URLXan Lopez2012-03-071-2/+2
| | | | | | | | | | Zoom levels have always been stored per host in Epiphany, not per URL (otherwise you'd have to re-apply the zoom level again and again when visiting, say, every news entry in your favorite newspaper). Change things to work like that. Note: this changes the SQL table format for the history, so you'll need to re-migrate your history.
* history-service: add a test for complex queries with visit time rangeClaudio Saavedra2012-03-071-10/+63
|
* tests: add a test for complex EphyHistoryQuery queriesClaudio Saavedra2012-03-071-0/+71
|
* Add EphyHistoryService and helper classesXan Lopez2012-03-072-0/+330
| | | | | | | | | EphyHistoryService provides a high-level API to store history information. It will processed by a worker thread using SQLite to provide a fast, responsive service to the main UI. Based on the code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com).
* Add GObject wrapper classes for SQLiteXan Lopez2012-03-072-0/+217
| | | | | | | We'll use them to implement the new history/bookmarks storage backend. Code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com)
* ephy-embed-utils-test: remove broken testXan Lopez2012-02-231-3/+0
| | | | | It's actually impossible to catch this through normalization, so it will need to be moved to an EphyWebView test.
* ephy-embed-utils: fix loading of <IP address>:<port> URIsXan Lopez2012-02-231-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669461
* ephy-embed-test-utils: loading domain:port is broken, comment for nowXan Lopez2012-02-231-0/+2
|
* ephy-embed-utils-test: unbreak the normalization testsXan Lopez2012-02-231-2/+2
| | | | They were testing the same URI again and again...
* tests: terminate noinst_PROGRAMS with NULLDiego Escalante Urrelo2012-02-111-1/+2
| | | | | | To avoid trivial line changes, ironically. https://bugzilla.gnome.org/show_bug.cgi?id=669766
* tests: sync vim/emacs modeline commentsDiego Escalante Urrelo2012-02-113-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669766
* tests: rename files to avoid duplicate namesDiego Escalante Urrelo2012-02-116-10/+10
| | | | | | | Append -test to .c files in tests/ to avoid duplicating filenames in the repository. https://bugzilla.gnome.org/show_bug.cgi?id=669766
* tests: add test for ephy-embed-utilsDiego Escalante Urrelo2012-02-082-0/+156
| | | | | | | Specifically ephy_embed_utils_address_has_web_scheme. Based on a patch by Alexandre Martani. https://bugzilla.gnome.org/show_bug.cgi?id=613756
* tests: ephy-download: missing ephy_download_startDiego Escalante Urrelo2012-01-311-4/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668758
* tests/ephy-download: remove embed-persist mentionDiego Escalante Urrelo2012-01-311-1/+1
|
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-271-1/+0
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* ephy-download: comment broken testsXan Lopez2012-01-261-0/+4
| | | | I'm sure Diego will fix them.
* tests: run all the tests on 'make check'Xan Lopez2012-01-261-0/+71
| | | | Which tells us that test-ephy-download is broken.
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-201-2/+2
| | | | | | | | Instead of a GtkToolItem. A future commit will move the code in EphyLocationAction not to be a GtkAction, which is why this was a GtkToolItem in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* ephy-zoom-control: remove, there are no zoom toolbar items anymoreXan Lopez2011-12-152-83/+1
|
* Remove g_thread_init callsXan Lopez2011-11-062-2/+0
| | | | They are not needed anymore.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-302-2/+2
| | | | | | | | | | | We want to use EphyApplication from embed/ too, so instead of following the EphyEmbedShell/EphyShell pattern just fold the code into the Shell itself. This makes sense since both classes have basically the same function, and we can easily leave the non-embed code in EphyShell and move to EphyEmbedShell the bits we want to be global. The better name would be EphyCoreApplication/EphyApplication for the resulting object, but we can do this later.
* Require an EphyApplication parameter when creating an EphyShellXan Lopez2011-06-292-2/+2
| | | | We'll want to create our own in main(), this prepares us for that.
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-211-3/+0
|
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-083-318/+210
| | | | | | | | | | | | | | | | | EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443
* tests: clean up filenamesDiego Escalante Urrelo2010-12-196-26/+26
| | | | Make filenames readable and tab-completion friendly.
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-071-7/+0
| | | | | | | | | | | The migration code is now in the ephy-profile-migrator binary, this means: - epiphany is not linking to NSS anymore - lib/ephy-profile-migration.c was split into: + lib/ephy-profile-migrator.c: the new ephy-profile-migrator binary + lib/ephy-profile-utils.c: convenience _ephy_profile_*_form_auth_data functions. - testing for migration is done without running ephy-profile-migrator Bug #636685
* tests: DBUS_LIBS is needed for libephymain.laDiego Escalante Urrelo2010-11-011-0/+1
|
* tests: fix wrong variable name in MakefileDiego Escalante Urrelo2010-06-041-5/+5
|
* tests: add test for ephy-embed-singleDiego Escalante Urrelo2010-05-142-1/+130
|
* tests: silence testephylocationentry.c debuggingDiego Escalante Urrelo2010-05-141-0/+2
|
* Handle EPHY_EMBED_PERSIST_NO_VIEW flagDiego Escalante Urrelo2010-03-091-0/+1
| | | | | | | This flag determines if a download should not appear in the DownloaderView window. The default is to appear, like in gecko times. Bug #611635
* tests: add test for EphyEmbedPersistDiego Escalante Urrelo2010-02-262-0/+318
| | | | Bug #600987
* tests: simplify Makefile.amDiego Escalante Urrelo2010-01-221-15/+25
| | | | Don't cherry pick internal libraries for tests.
* tests: apply style fixes suggested by XanDiego Escalante Urrelo2010-01-223-39/+26
|
* Use © symbol and include glib.h in tests.Diego Escalante Urrelo2010-01-143-3/+6
|
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-051-13/+6
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* Delete EphyIconEntry, it's unused.Xan Lopez2008-12-312-124/+0
| | | | svn path=/trunk/; revision=8655
* Update EphySearchEntry test.Xan Lopez2008-12-311-8/+4
| | | | | | There's no 'internal entry' now. svn path=/trunk/; revision=8654
* Add testephyzoomcontrol.cDiego Escalante Urrelo2008-11-302-1/+89
| | | | svn path=/trunk/; revision=8621
* tests: fix compilation when builddir != srcdirXan Lopez2008-10-141-2/+2
| | | | svn path=/trunk/; revision=8581
* Add missing config.hDiego Escalante Urrelo2008-09-291-0/+1
| | | | svn path=/trunk/; revision=8569
* tephylocationentry.c: can_undo and can_redo testsDiego Escalante Urrelo2008-09-291-0/+41
| | | | svn path=/trunk/; revision=8554
* Reindent to 2 spaces and improve the existing testsDiego Escalante Urrelo2008-09-293-114/+161
| | | | | | Add vim modelines to the files. svn path=/trunk/; revision=8553
* Add testephylocationentry.cDiego Escalante Urrelo2008-09-293-13/+166
| | | | | | See the FIXME about the mystery crasher, it's probably some kind of leak. svn path=/trunk/; revision=8552
* Revert "Makefile fixes."Diego Escalante Urrelo2008-09-291-27/+13
| | | | | | This reverts commit 58afaf81fbf64dfcb779ef2e7531afb4c11693e1. svn path=/trunk/; revision=8551
* Makefile fixes.Christian Persch2008-08-301-13/+27
| | | | svn path=/trunk/; revision=8439
* Add testephyiconentry.c to tests/Diego Escalante Urrelo2008-08-042-7/+103
| | | | | | Part of #544642. svn path=/trunk/; revision=8385
* Add the base for tests/ support.Diego Escalante Urrelo2008-08-042-0/+71
Include a test for ephysearchentry, need to make them optional too. Part of #544642. svn path=/trunk/; revision=8384