aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
Commit message (Collapse)AuthorAgeFilesLines
* ephy-embed: Port inspector to WebKit2Carlos Garcia Campos2012-08-031-18/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679616
* Port fullscreen popup to WebKit2Claudio Saavedra2012-06-281-3/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678840
* Port downloads to WebKit2Carlos Garcia Campos2012-06-271-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* Port hovering over link to WebKit2Carlos Garcia Campos2012-06-251-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678599
* Add support for new windows in WebKit2Carlos Garcia Campos2012-06-251-3/+32
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678593
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-241-7/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* Initial WebKit2 portCarlos Garcia Campos2012-06-211-0/+74
| | | | It builds and basic functionality works.
* ephy-embed: show a message popup when entering fullscreen modeClaudio Saavedra2012-06-201-0/+89
| | | | | | | | The message is different depending on whether we are entering HTML5 fullscreen mode or application fullscreen, since the keys used to leave either mode are different. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-embed: fix a comment typoClaudio Saavedra2012-06-111-1/+1
|
* embed: remove custom CSS styling for the overlay progressbarCosimo Cecchi2012-05-241-2/+2
| | | | | | | Now that the overlay progressbar is styled by the theme, we can just set the OSD style class on the overlay to get the same effect. https://bugzilla.gnome.org/show_bug.cgi?id=676660
* ephy-embed: do not pull in string.h for strcmpXan Lopez2012-03-141-2/+1
|
* ephy-embed: remove a few useless includesXan Lopez2012-03-141-8/+0
|
* ephy-embed: remove history serviceXan Lopez2012-03-141-5/+0
| | | | EphyEmbed does not use it anymore.
* ephy-web-view: move history management to EphyWebViewXan Lopez2012-03-141-26/+1
|
* ephy-web-view: move zoom handling to EphyWebViewXan Lopez2012-03-141-81/+0
| | | | | Again, this only interacts with the view, so it does not need to be in EphyEmbed.
* ephy-web-view: let EphyWebView clear its own historyXan Lopez2012-03-141-15/+0
| | | | No point in doing it from EphyEmbed.
* history: remember visit typesXan Lopez2012-03-141-6/+14
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* ephy-embed: cancel the pending history queries during finalizeClaudio Saavedra2012-03-131-1/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-131-2/+2
| | | | | | | | | | | 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
* ephy-embed: do not add the homepage (about:blank) to the historyXan Lopez2012-03-081-0/+3
| | | | | Don't do it when it's loaded automatically through NewTab or NewWindow, but do it if the user actually types the URI.
* ephy-embed: do not retrieve the legacy history instanceXan Lopez2012-03-071-3/+0
| | | | We are not using it anymore.
* ephy-history-service: add a "cleared" signal for the clear methodXan Lopez2012-03-071-3/+3
| | | | And use it in EphyEmbed instead of the legacy signal.
* Rename ephy_history_service_add_page to ephy_history_service_visit_urlXan Lopez2012-03-071-1/+1
| | | | Fits much better with the naming model in that class.
* Get rid of EphyBrowseHistoryXan Lopez2012-03-071-9/+20
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* Store zoom levels per host, not per URLXan Lopez2012-03-071-12/+11
| | | | | | | | | | 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.
* Use EphyBrowseHistory to set/get the zoom level for pagesClaudio Saavedra2012-03-071-39/+39
|
* Use the new EphyBrowseHistory to add a URI to the historyClaudio Saavedra2012-03-071-6/+1
|
* Add a EphyBrowseHistory instance to EphyEmbedClaudio Saavedra2012-03-071-0/+3
|
* Make inspector handling real-world compliantGustavo Noronha Silva2012-02-201-10/+30
| | | | | | | Destroy and recreate the inspector's WebView instead of reusing it, and make it always start windowed. https://bugzilla.gnome.org/show_bug.cgi?id=669835
* 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-embed: move the other statusbar id to the .c fileXan Lopez2012-01-231-0/+2
| | | | It's not used anywhere else.
* ephy-embed: the method to set the statusbar label can be private tooXan Lopez2012-01-221-15/+15
|
* ephy-embed: we can now make the statusbar methods privateXan Lopez2012-01-221-114/+116
|
* ephy-embed: stop listening to progress updates after disposeXan Lopez2012-01-201-6/+14
| | | | | | | | | | | | | | | | | | Similar to status message updates, otherwise we might end up updating dead widgets. This fixes: #0 0x00007ffff592b9c8 in g_logv (log_domain=0x7ffff66de0cf "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff59ade60 "%s: assertion `%s' failed", args1=0x7fffffffd588) at gmessages.c:758 #1 0x00007ffff592babc in g_log (log_domain=0x7ffff66de0cf "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff59ade60 "%s: assertion `%s' failed") at gmessages.c:792 #2 0x00007ffff592bafd in g_return_if_fail_warning (log_domain=0x7ffff66de0cf "Gtk", pretty_function=0x7ffff66e27f0 "gtk_widget_hide", expression=0x7ffff66df7e8 "GTK_IS_WIDGET (widget)") at gmessages.c:801 #3 0x00007ffff657c430 in gtk_widget_hide (widget=0x15ca190) at gtkwidget.c:3992 #4 0x00000000004703f6 in clear_progress_cb (embed=0x516450) at ../../embed/ephy-embed.c:525 #5 0x00007ffff5923c2c in g_timeout_dispatch (source=0x1bb9400, callback=0x4703d6 <clear_progress_cb>, user_data=0x516450) at gmain.c:3857 #6 0x00007ffff5921e83 in g_main_dispatch (context=0x524f70) at gmain.c:2513 #7 0x00007ffff5922b44 in g_main_context_dispatch (context=0x524f70) at gmain.c:3050 #8 0x00007ffff5922d27 in g_main_context_iterate (context=0x524f70, block=1, dispatch=1, self=0x629c90) at gmain.c:3121 #9 0x00007ffff5922deb in g_main_context_iteration (context=0x524f70, may_block=1) at gmain.c:3182 #10 0x00007ffff5b2705e in g_application_run (application=0x508000, argc=1, argv=0x7fffffffda78) at gapplication.c:1496 #11 0x000000000042d6e2 in main (argc=1, argv=0x7fffffffda78) at ../../src/ephy-main.c:472
* ephy-embed: if there's a priv variable set, use itXan Lopez2012-01-191-39/+40
|
* ephy-embed: do not listen to status updates after disposeXan Lopez2012-01-191-1/+13
| | | | | | Otherwise we might crash updating a dead statusbar widget. https://bugzilla.gnome.org/show_bug.cgi?id=668171
* embed: add enter/leave events to the GtkOverlayCosimo Cecchi2012-01-171-0/+3
| | | | | So the floating bar can listen to enter-notify-event and move accordingly.
* embed: set the floating bar as no_show_allCosimo Cecchi2012-01-171-0/+1
| | | | | Since we want to show it on demand and we call show_all on the parent GtkPaned.
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-171-3/+1
| | | | And fix a couple of warnings.
* floating-bar: import NautilisFloatingBar into EpiphanyCosimo Cecchi2012-01-171-37/+10
| | | | Yay for sharing code. It also helps theming.
* EphyEmbed: do not show the progressbar for about:blankClaudio Saavedra2011-12-161-0/+5
| | | | | Now that we've placed a timeout, about:blank shows an annoying complete progressbar shortly. We don't need it.
* EphyEmbed: Hide the statusbar in a timeout handlerClaudio Saavedra2011-12-161-1/+22
| | | | To allow it being displayed for a short while once it's complete.
* EphyEmbed: reset the alignment of the statusbar when hiddenClaudio Saavedra2011-12-161-2/+3
| | | | | | So that it shows to the left by default. The double get_parent() is ugly and we should probably hide the implementation details of the statusbar in a separate class.
* Some indentation fixes.Claudio Saavedra2011-12-141-6/+4
| | | | Sorry 'bout that.
* Use an overlay progress bar for the loading progress.Claudio Saavedra2011-12-141-1/+32
| | | | | | The theming was done by Lapo Calamandrei. https://bugzilla.gnome.org/show_bug.cgi?id=665470
* Use a GtkOverlay for the statusbar instead of shipping GeditOverlayClaudio Saavedra2011-12-141-10/+27
| | | | | | | Instead of escaping the cursor, we align the overlay at the opposite side of the window. This is consistent with nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=653996
* ephy-embed: small cleanupsXan Lopez2011-12-111-5/+3
|
* ephy-embed: disconnect statusbar timeout on disposeXan Lopez2011-11-301-7/+12
| | | | Otherwise we'll crash when we close windows/tabs too fast.
* Delay hiding the statusbar overlay when the status text changes.Martin Robinson2011-11-301-2/+23
| | | | | Delaying the statusbar hide prevents the overlay from flickering when moving the cursor over a series of links.
* e-window: use a css file for widget stylingAlexandre Mazari2011-07-301-15/+0
| | | | | | | | | | | | Replace local styling (used for the tab close button and embed's status frame) by a global css sheet loaded at window construction. This allows tweaking style properties without rebuilding. The css file is installed in $(pkgdatadir)/epiphany.css. Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com> Bug #644805
* e-embed: remove useless e-file-chooser includeDiego Escalante Urrelo2011-07-301-1/+0
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-091-3/+6
| | | | | | | | | | Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* use gtk_box_pack_start() with EphyEmbedClaudio Saavedra2011-06-091-1/+1
| | | | | | | Using gtk_container_add() is a bad idea because default fill/expand values can change, and they happened to do in GTK+ 3.1. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-261-1/+6
| | | | | | | | | This introduces a GeditOverlayChild subclass, listening to parent overlay mouse events to define the escaping policy. The distance from which the widget "escapes" the mouse pointer can be set at construction time. https://bugzilla.gnome.org/show_bug.cgi?id=643909
* Better behaviour when openning new windows that are resized as tabsGustavo Noronha Silva2011-04-181-0/+39
| | | | | | | | | | When a new window is opened and given a specific size and position by javascript, the request should only be respected if the new window is being opened stand alone, and considered a popup. This fixes bad behaviour observed when the new window became a tab on an existing window and messed with its size. Bug #612155
* Move overlay statusbar to EphyEmbedXan Lopez2011-04-161-3/+165
| | | | | It's where it belongs, and it will make things easier for the following patches in this area.
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-081-464/+12
| | | | | | | | | | | | | | | | | 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
* ephy-embed: add a border and a little padding to the status frameXan Lopez2011-03-051-0/+18
| | | | Otherwise it blends a bit too effectively into clear backgrounds.
* ephy-embed: hide toplevel child widgetXan Lopez2011-02-211-2/+8
| | | | | | Since that's what we add to the overlay, its visible property will be in sync with the child container. Gets rid of bothering 1px visible leftover when statusbar is hidden.
* Sync with latest GeditOverlay codeXan Lopez2011-02-161-3/+3
| | | | And adapt to the new API.
* Sync with upstream GeditOverlay codeXan Lopez2011-02-121-1/+1
|
* Change packing order for gedit overlayXan Lopez2011-02-111-4/+4
| | | | | Seems GeditOverlay works better if we pack directly the scrollable widget on it, then pack the overlay in a scrolled window. Do that.
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-111-1/+30
| | | | | | | | | | Works correctly in framed pages, and fixes a few bugs along the way (not to mention it should be more efficient since it does not redraw needlessly). The gedit code has been modified to get rid of the animation stuff we don't really need atm; we have coordinated with the gedit developers and hopefully both versions will be in sync again really soon.
* ephy-embed: clean up embed widget skeletonDiego Escalante Urrelo2010-12-061-64/+36
| | | | | | | | The inspector embedding breaks some assumptions about the internal embed widgetry, mainly breaking EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW macro. The embed now has the main EphyWebView in a GtkPaned permanently. Bug #628459
* Use gtk_paned_new() instead gtk_[h|v]paned_new()Javier Jardón2010-11-091-1/+1
|
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-081-4/+6
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* ephy-embed: add _ prefix to instance/class structsXan Lopez2010-10-041-1/+1
|
* Make the inspector window biggerGustavo Noronha Silva2010-08-251-1/+1
| | | | | | | Its current size is not very helpful, and causes a small part of the inspector to be cut off horizontally. Bug #626625
* Bring inspector window to front when the inspector requests a showGustavo Noronha Silva2010-08-251-1/+1
| | | | Bug #626493
* Only show/hide the inspector window when it is detachedGustavo Noronha Silva2010-08-251-9/+17
| | | | Bug #626489
* Allow attaching/detaching the inspector in Epiphany's windowGustavo Noronha Silva2010-08-031-8/+114
| | | | Bug #625640
* ephy-embed: don't create Save As button manuallyDiego Escalante Urrelo2010-06-121-10/+3
| | | | Bug #621050
* ephy-embed: clean up confirm_action_from_mimeDiego Escalante Urrelo2010-06-121-35/+36
| | | | | | Avoid duplication of code. Bug #621050
* Do not consider dots in directory names when looking for the extension of a ↵Sergio Villar Senin2010-05-051-1/+3
| | | | file name
* ephy-embed: add FIXME about redirects and EphyHistoryXan Lopez2010-05-041-0/+2
|
* Move link message updating to EphyWebViewXan Lopez2010-05-031-10/+0
|
* Move URI handling to EphyWebViewXan Lopez2010-05-031-21/+0
|
* Move title update to EphyWebViewXan Lopez2010-05-031-24/+0
| | | | | | Does not really make sense for the EphyEmbed container to connect to its child signal and then update its title, let the child itself handle it.
* Refactored the load status callback of ephy-web-view.cAlejandro G. Castro2010-05-031-70/+0
| | | | | | | | This patch uses the ephy-embed.c callback code and refactors it in just one method in the ephy-web-view that handles all the status changes for this object. Bug #593743
* Removed the EphyWebViewNetState enumAlejandro G. Castro2010-05-021-12/+1
| | | | | | | We can use the webkit load status (WebKitLoadStatus) and avoid defining our own enum to check the net states. Bug #593743
* Make sure WebKitWebHistory is cleared when cleared EphyHistoryMario Sanchez Prada2010-04-201-0/+15
| | | | | | | | | | Added new function in EphyWebView to clear the history from WebKitWebView, and connect to the 'cleared' signal in EphyEmbed to call to such a function when needed. Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Only offer to open files with safe mime typesOlivier Tilloy2010-03-261-0/+1
| | | | | | | Changed the "Open" button to "Download" when the mime type of the file is not considered safe for opening. Bug #361559
* Report broken certs through the padlock iconGustavo Noronha Silva2010-02-231-8/+21
| | | | | | | | This uses a new feature in libsoup that reports through a SoupMessageFlag whether the message is talking to a server that has a trusted server. Bug #600663
* ephy-embed: don't use g_signal_connect_objectDiego Escalante Urrelo2010-02-181-14/+24
| | | | | | | | It doesn't do what we expect it to do to keep the download object alive, a simple g_signal_connect does the right thing instead. This fixes the downloads not moving to final destination problem. Bug #609263
* ephy-embed: comment typoDiego Escalante Urrelo2010-02-021-1/+1
| | | | Bug #608749
* Remove error handling work-aroundsGustavo Noronha Silva2010-01-161-31/+21
| | | | | | | WebKit will stop emitting load signals when it loads the error page, which makes life easier for us. Bug #377012
* Implement replace action for downloadsDiego Escalante Urrelo2009-12-301-16/+65
| | | | | | | Always download to a temporary location, only move the file to the final destination after it has been downloaded completely. Bug #594192
* Minor style fixes in downloads code.Diego Escalante Urrelo2009-12-301-4/+5
| | | | Bug #594192
* ephy-embed: fix download button actionDiego Escalante Urrelo2009-12-301-0/+8
| | | | | | | | | Sometimes downloads can have a mime_description but a NULL helper_app in that case action is never changed so DOWNLOAD_ACTION_DOWNLOAD remains as action value. This is the same response value as Save as... button, which is wrong for the Download button. Bug #605091
* ephy-embed: minor style fixDiego Escalante Urrelo2009-12-291-2/+1
| | | | Bug #605091
* Enable mime type safety check in downloadsDiego Escalante Urrelo2009-12-291-0/+1
| | | | | | Honour our database of safe and unsafe mime types. Bug #605026
* Restore download on shift-click functionalityGustavo Noronha Silva2009-12-181-2/+18
|
* Make it possible to add arbitrary widgets above the WebViewGustavo Noronha Silva2009-12-171-1/+89
|
* Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-171-5/+14
|
* Allow dialog buttons be the defaultBenjamin Otte2009-12-171-0/+1
| | | | | Fixes crashers when we actually make them the default shortly afterwards.
* Remove the 'favicon' signal from EphyWebViewXan Lopez2009-12-111-9/+0
| | | | We already have WebKitWebView::icon-loaded, so it's redundant now.
* Make the favicon cache work on top of new WebKit API, and WebKitDownloadGustavo Noronha Silva2009-12-101-0/+9
| | | | | | | | This restores basic favicon functionality. In the future we will want to replace our favicon cache with the IconDatabase that is available in WebKit. Bug #601859
* Get rid of 'ge-document-type' signalXan Lopez2009-12-081-57/+0
| | | | Connecting to notify::document-type is enough.
* ephy-embed: consider text/plain pages as document-type HTMLXan Lopez2009-12-081-2/+3
| | | | | | | WebKit still thinks of them as HTML documents, and otherwise things like the text-encoding menu are disabled for them. Bug #603927
* ephy-embed: reimplent EphyEmbedSingle 'handle-content' signalXan Lopez2009-12-031-1/+13
| | | | This is used by external download managers like gwget.
* ephy-embed: only fetch the document type for a page from the main frameXan Lopez2009-11-191-16/+19
| | | | | | | Otherwise we will rewrite the right document type with the document type from other frames in the page. Bug #602400
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-181-1/+1
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Reimplement content type checkingGustavo Noronha Silva2009-10-261-13/+19
| | | | | | | This brings back proper content type reporting, and the 'Open' button in the download dialog. Bug #598167
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-221-2/+2
| | | | | | | | | | | | | | | I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez <xan@gnome.org>
* Get rid of EphyCommandManagerXan Lopez2009-09-101-51/+1
| | | | It was just another useless abstraction at this point.
* Automatically append (n) to duplicated downloadsDiego Escalante Urrelo2009-09-101-4/+81
| | | | | Bug 585499 - [Webkit] Automatic downloading into ~/Downloads fails if file already exists
* Delay obtaining suggested filename for dialogsGustavo Noronha Silva2009-09-091-13/+33
| | | | | | | | Most downloads will only have proper suggested filenames after the request has been sent, and a reply was received, so delay getting the suggested filename to when that has happened. Bug #577797
* Fixing style issues I introducedGustavo Noronha Silva2009-09-081-5/+5
|
* Re-adding basic ad blocking supportGustavo Noronha Silva2009-09-081-0/+25
| | | | Bug #562762
* ephy-embed: remove some whitespaceDiego Escalante Urrelo2009-09-051-1/+1
|
* Making gcc shut up, by initializing loading_uriGustavo Noronha Silva2009-09-051-1/+1
|
* ephy-embed.c: use the initial request to fill the URL entryXan Lopez2009-09-031-7/+13
| | | | | | | Avoids having a blank URL entry until the server responds to our request. Bug #591294
* ephy-embed.c: workaround possibly bogus COMMITTED load-status from WebKitXan Lopez2009-08-271-2/+41
| | | | | | | | | | | | When WebKitGTK+ fails to load a URI and is allowed to load the default error page it will emit a COMMITTED load-status with the original URI we failed to load. This was confusing epiphany, since in theory COMMITTED should be only emitted with URIs known to be good. As a workaround flag pages that fail to load in the callback for 'load-error' and avoid doing anything with them when they arrive in COMMITTED. Bug #593200
* ephy-embed.c: enable undo/redoXan Lopez2009-08-261-0/+8
| | | | | | Depends on WebKitGTK+ r47776 (will be in 1.1.14) Bug #591072
* ephy-embed.c: update URL in location when clicking on #anchorsXan Lopez2009-08-211-0/+21
| | | | Bug #584506
* ephy-embed.c: add FIXMEXan Lopez2009-08-111-0/+5
|
* ephy-embed.c: sort headersXan Lopez2009-08-091-11/+10
|
* embed/ephy-embed.c: Fix mnemonic usage.Priit Laes2009-08-051-1/+1
|
* Try again to fix bug #588143Xan Lopez2009-07-211-6/+0
| | | | | | Simpler (and working) solution: take into account the loading status of the view when deciding if we should use it, if it's blank, to load new pages passed through the command line.
* ephy-embed.c: use 'address' if 'typed-address' is NULL when updating the addressXan Lopez2009-07-211-0/+6
| | | | | Fixes the updating of the current address before the load starts when loading pages from the command line (bug #588143)
* Add a function to get the EphyWebView inside an EphyEmbed.Xan Lopez2009-06-211-0/+15
| | | | For the benefit of bindings.
* Simplify widget hierarchy.Xan Lopez2009-06-161-49/+17
| | | | Get rid of a dummy GtkBin layer.
* Use WebKitWebView::load-status instead of our own solution.Xan Lopez2009-06-141-106/+53
|
* Get rid of redundant 'load-progress' property in EphyWebView.Xan Lopez2009-06-141-4/+2
| | | | | | | | | We now use WebKitWebView's 'progress' property directly. The "opening about:blank blinks the entry" bug is back because for some reason a) webkit reports a 10% progress for that URL b) get_uri reports NULL until 100% is loaded for only that page, so blacklisting by URI is not possible either.
* Get rid of EphyEmbedFactory.Xan Lopez2009-06-061-1/+0
| | | | It's useless now, since there's only one backend.
* Fold WebKitEmbedPrefs into EphyEmbedPrefs.Xan Lopez2009-06-061-3/+2
|
* Kill EphyBaseEmbed, move the small widget logic it had to EphyEmbed.Xan Lopez2009-06-051-1/+48
|
* Change EphyEmbed to not be an interface type.Xan Lopez2009-06-051-0/+764
| | | | Holds the code that used to be in WebKitEmbed, which is now dead.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-771/+0
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* Move load_url method to EphyWebView.Xan Lopez2009-06-031-15/+0
|
* Remove ephy_embed_load, it's obsoleted by ephy_web_view_load_request.Xan Lopez2009-06-031-17/+0
|
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-311-22/+0
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Remove LoadFlagsGustavo Noronha Silva2009-05-301-3/+1
| | | | | | They were used, it seems, to decide whether to allow Gecko to "fix" the URL. WebKit has no such facility, and we are already doing our own handling of URI normalization.
* Remove ephy_embed_has_automatic_encoding, it's unused now.Xan Lopez2009-03-021-16/+0
| | | | svn path=/trunk/; revision=8833
* Remove embedding APIs for set/get encoding.Xan Lopez2009-02-271-35/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8817
* Implement get/set encoding for the embed.Xan Lopez2009-02-271-1/+1
| | | | | | Bug #525265 svn path=/trunk/; revision=8815
* Implement scrolling in EphyFindToolbar.Xan Lopez2009-01-231-53/+0
| | | | svn path=/trunk/; revision=8720
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Include missing Returns: in commentsDiego Escalante Urrelo2008-09-291-2/+8
| | | | svn path=/trunk/; revision=8562
* embed: remove ephy_embed_close.Xan Lopez2008-07-031-13/+0
| | | | | | Just destroy the embed widget. svn path=/trunk/; revision=8332
* embed: remove ephy_embed_{set,get}_zoom.Xan Lopez2008-07-011-35/+0
| | | | | | Set zoom-level on the WebKitWebView directly. svn path=/trunk/; revision=8327
* embed: remove ge-zoom-changed and zoom property.Xan Lopez2008-07-011-21/+0
| | | | | | Use zoom-level property in WebKit directly. svn path=/trunk/; revision=8326
* embed: remove ephy_embed_go_to_history_item.Xan Lopez2008-06-301-15/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8313
* embed: remove ephy_embed_get_{next,previous}_history_item.Xan Lopez2008-06-301-30/+0
| | | | | | Use WebKit APIs directly. svn path=/trunk/; revision=8312
* embed: remove ephy_embed_get_{backward,forward}_history.Xan Lopez2008-06-301-32/+0
| | | | | | Use WebKit APIs directly. svn path=/trunk/; revision=8311
* embed: remove ephy_embed_print.Xan Lopez2008-06-301-14/+0
| | | | | | And use the WebKit API directly. svn path=/trunk/; revision=8309
* embed: remove ephy_embed_can_go_back.Xan Lopez2008-06-301-13/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8307
* embed: remove ephy_embed_can_go_forward.Xan Lopez2008-06-301-13/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8306
* embed: remove ephy_embed_go_forward.Xan Lopez2008-06-301-14/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8305
* embed: remove ephy_embed_go_back.Xan Lopez2008-06-301-13/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8304
* embed: remove ephy_embed_reload.Xan Lopez2008-06-301-18/+0
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8303
* embed: remove ephy_embed_stop_load.Xan Lopez2008-06-301-13/+0
| | | | | | Use webkit API directly in window-commands.c svn path=/trunk/; revision=8302
* Add ephy-embed::new-document-now signal, does the same than oldXan Lopez2008-02-181-0/+20
| | | | | | | | ge-content-change (used by adblock extension). Part of #502283 svn path=/trunk/; revision=7959
* Port ephy-window.c to the new API, remove old API.Xan Lopez2007-12-301-75/+0
| | | | | | Closes bug #506005 svn path=/trunk/; revision=7836
* Add new embed history interfaces.Xan Lopez2007-12-301-1/+78
| | | | svn path=/trunk/; revision=7832
* Put visibility property into EphyBaseEmbed, we need it for popups.Xan Lopez2007-11-181-0/+16
| | | | svn path=/trunk/; revision=7712
* Remove unused ge_content_changed.Xan Lopez2007-11-121-20/+0
| | | | svn path=/trunk/; revision=7666
* Remove unused ge_net_state and ge_security_change.Xan Lopez2007-11-121-38/+0
| | | | svn path=/trunk/; revision=7665
* Remove unused ge-location signal.Xan Lopez2007-11-121-21/+0
| | | | svn path=/trunk/; revision=7664
* Put the properties in EphyBaseEmbed rather than in the interface.Xan Lopez2007-11-061-102/+0
| | | | | | Backends still override them completely at this point. svn path=/trunk/; revision=7627
* Move popups-allowed and hidden-popup-count from EphyTab to EphyEmbed.Xan Lopez2007-10-271-0/+15
| | | | | | Popup management is non-working now, see bug #490672 svn path=/trunk/; revision=7575
* Tabify modified files.Xan Lopez2007-10-261-26/+26
| | | | svn path=/trunk/; revision=7569
* Fix the remaining breakage.Xan Lopez2007-10-261-1/+3
| | | | | | | | Implement get_icon and get_icon_address. Fix status-message canonical name. Properly assign private pointer in MozillaEmbed (...) svn path=/trunk/; revision=7565
* Move title/address update on open-uri signal to EphyEmbed.Xan Lopez2007-10-261-0/+21
| | | | | | Also refactor some common code in ephy-embed-utils.c svn path=/trunk/; revision=7562
* Move icon and icon-address to EphyEmbed.Xan Lopez2007-10-261-0/+44
| | | | | | | | | | | | There's a snippet that needs to be moved elsewhere I think: eb = ephy_shell_get_bookmarks (ephy_shell); ephy_bookmarks_set_icon (eb, priv->address, priv->icon_address); It's done in mozilla_embed_set_icon_address. svn path=/trunk/; revision=7561
* Move status-message and logic of link-message to EphyEmbed.Xan Lopez2007-10-261-2/+35
| | | | | | Create a property for link-message in EphyEmbed too. svn path=/trunk/; revision=7560
* Change ephy_embed_get_title to return const char*.Xan Lopez2007-10-261-1/+1
| | | | | | Also replace all ephy_tab_get_title by ephy_embed_get_title. svn path=/trunk/; revision=7559
* Move title from EphyTab to EphyEmbed.Xan Lopez2007-10-261-94/+65
| | | | | | EphyTab still borken. svn path=/trunk/; revision=7558
* Move address and typed-address from EphyTab to EphyEmbedXan Lopez2007-10-261-1/+74
| | | | | | ephy-tab.c is totally broken now, will fix in next patches. svn path=/trunk/; revision=7557
* Move navigation property from EphyTab to EphyEmbed.Xan Lopez2007-10-221-2/+28
| | | | svn path=/trunk/; revision=7549
* Move load-status from EphyTab to EphyEmbed.Xan Lopez2007-10-221-1/+34
| | | | svn path=/trunk/; revision=7547
* Move load-progress from EphyTab to EphyEmbedXan Lopez2007-10-221-0/+38
| | | | svn path=/trunk/; revision=7544
* Move zoom from EphyTab to EphyEmbed.Xan Lopez2007-10-211-0/+9
| | | | svn path=/trunk/; revision=7542
* Move document-type property from EphyTab to EphyEmbed.Xan Lopez2007-10-211-0/+23
| | | | svn path=/trunk/; revision=7541
* Remove security data from EphyTab.Xan Lopez2007-10-211-0/+8
| | | | svn path=/trunk/; revision=7538
* Add a missing space in ge_content_change description.Diego Escalante Urrelo2007-07-311-1/+1
| | | | | | | | | | | 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org> * embed/ephy-embed.c: Add a missing space in ge_content_change description. svn path=/trunk/; revision=7227
* Add support for the WebKit engine, compile with --with-engine=webkit toXan Lopez2007-07-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Xan Lopez <xan@gnome.org> * Makefile.am: * configure.ac: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed.c: * embed/webkit/Makefile.am: * embed/webkit/webkit-embed-find.cpp: * embed/webkit/webkit-embed-find.h: * embed/webkit/webkit-embed-persist.cpp: * embed/webkit/webkit-embed-persist.h: * embed/webkit/webkit-embed-single.cpp: * embed/webkit/webkit-embed-single.h: * embed/webkit/webkit-embed.cpp: * embed/webkit/webkit-embed.h: * src/Makefile.am: Add support for the WebKit engine, compile with --with-engine=webkit to activate. * embed/mozilla/mozilla-embed-single.cpp: Move to the G_DEFINE_TYPE_WITH_CODE macro. svn path=/trunk/; revision=7208
* It seems SUSE can't take a hint and doesn't care, so remove this comment.Christian Persch2007-06-041-1/+0
| | | | | | | | | | 2007-06-04 Christian Persch <chpe@gnome.org> * embed/ephy-embed.c: (ephy_embed_load_url): It seems SUSE can't take a hint and doesn't care, so remove this comment. svn path=/trunk/; revision=7065
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Add search_link entry to _EphyEmbedIfaceEric Butler2006-12-181-0/+22
| | | | | | | | | | | | | | 2006-12-17 Eric Butler <eric@extremeboredom.net> * src/ephy-embed.h: Add search_link entry to _EphyEmbedIface * src/ephy-embed.c: Add ge-search-link signal * embed/mozilla/EphyBrowser.cs: Fire ge-search-link signal for opensearch tags
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko.Jean-François Rameau2006-10-231-0/+19
| | | | | | | | | | | | | | | | | | | 2006-10-22 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed.h: * embed/ephy-embed.c: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-link.h: * src/ephy-location-action.c: (action_activated_cb): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_open_link): Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko. Add a new load method to EphyEmbed to custom load behaviour and pass (optional) referrer. Fix bug #350053.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-1/+1
|
* Remove some unnecessary static data.Christian Persch2006-09-071-1/+1
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* EphyContentPolicy now emits a signal when a content is blocked.Jean-François Rameau2006-01-091-0/+16
| | | | | | | | | | | 2006-01-08 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyContentPolicy.cpp: (ShouldLoad): * embed/ephy-embed.h: * embed/ephy-embed.c: (ephy_embed_base_init): EphyContentPolicy now emits a signal when a content is blocked.
* Add ephy_embed_scroll_pixels.Christian Persch2005-12-081-4/+25
| | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll), (ephy_embed_scroll_pixels): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add ephy_embed_scroll_pixels.
* Forward up/down/page up/page down from the findbar entry to the embed.Crispin Flowerday2005-12-071-0/+32
| | | | | | | | | | | | | | | 2005-12-06 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-find-toolbar.c: (entry_key_press_event_cb): Forward up/down/page up/page down from the findbar entry to the embed.
* Get the window name from the popup-blocked event.Christian Persch2005-11-011-2/+4
| | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * src/ephy-tab.c: (popups_manager_free_info), (popups_manager_add), (popups_manager_show), (popups_manager_hide), (ephy_tab_popup_blocked_cb): Get the window name from the popup-blocked event.
* embed/ephy-embed.c . Add a method to copy the back/forward history fromPhilip Langdale2005-10-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-12 Philip Langdale <philipl@mail.utexas.edu> * embed/ephy-embed.c * embed/ephy-embed.h: (ephy_embed_shistory_copy). Add a method to copy the back/forward history from one embed to another. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: (EphyBrowser::CopySHistory) Implementation of history copying. * embed/mozilla/mozilla-embed.cpp: Implement ephy_embed_shistory_copy by calling into EphyBrowser. * src/ephy-navigation-action.c: (activate_back_or_forward_menu_item_cb). If a history menu item is middle-clicked on, open a new tab, copy the history over and then go to the relevant page in the history. * src/ephy-toolbar.c: (ephy_toolbar_set_window) Attach handler for "open-link" to back/forward actions.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-031-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
* Implement ::grab-focus and remove ephy_embed_activate ().Christian Persch2005-07-301-13/+0
| | | | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Implement ::grab-focus and remove ephy_embed_activate ().
* Point to the 'search_key_press' function int eh EphyEmbedIface rather thanCrispin Flowerday2005-06-151-1/+1
| | | | | | | | | 2005-06-14 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c (ephy_embed_load_url): Point to the 'search_key_press' function int eh EphyEmbedIface rather than the context menu one
* Don't open search toolbar on / or ' over formfields:Christian Persch2005-06-031-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-03 Christian Persch <chpe@cvs.gnome.org> Don't open search toolbar on / or ' over formfields: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: New signal for searchable key presses. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Add static function to check if a keypress should be forwarded to the search toolbar. * embed/mozilla/mozilla-embed.cpp: Emit the signal here. * lib/ephy-marshal.list: * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (ephy_find_toolbar_set_embed): Use the new signal instead of dom-key-press.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-291-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* Add handling of DOMContentLoaded event from Gecko. It is an event thatJean-François Rameau2005-05-131-0/+17
| | | | | | | | | | | | | 2005-05-12 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed.h: * embed/ephy-embed.c: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Add handling of DOMContentLoaded event from Gecko. It is an event that Gecko throws when the dom’s content is loaded, that is, before all the images and what not have loaded.
* Add G_SIGNAL_TYPE_STATIC_SCOPE to many signals.Christian Persch2005-04-091-5/+5
| | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-permission-manager.c: (ephy_permission_manager_base_init): Add G_SIGNAL_TYPE_STATIC_SCOPE to many signals.
* Emit signal when encountering alternate links. Fixes bug #171657.Christian Persch2005-04-081-1/+22
| | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * lib/ephy-marshal.list: Emit signal when encountering alternate links. Fixes bug #171657.
* Move new-window signal to the embed single, and new window creation fromChristian Persch2005-01-301-8/+6
| | | | | | | | | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/ephy-marshal.list: * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_window_cb), (impl_get_embed_single): * src/ephy-tab.c: (ephy_tab_new_window_cb): Move new-window signal to the embed single, and new window creation from EphyTab to EphyShell.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-071-119/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Consistently start enum names with EPHY_*.Crispin Flowerday2005-01-061-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-05 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_document_type_get_type): * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_address_cb), (update_net_state_message), (build_progress_from_requests), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_get_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): * src/ppview-toolbar.c: (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): * src/toolbar.c: (sync_user_input_cb): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Consistently start enum names with EPHY_*.
* Use G_TYPE_STRING instead of G_TYPE_POINTER for address and featuresAdam Hooper2005-01-041-2/+2
| | | | of ge-popup-blocked signal.
* Ensure that flags and enums start with 'Ephy'Crispin Flowerday2005-01-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_flags): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_security_level), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_document_type_cb), (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_security_change_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_set_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup), (ephy_window_class_init): * src/popup-commands.c: (popup_cmd_copy_link_address): Ensure that flags and enums start with 'Ephy'
* Add types for some enums and flags.Christian Persch2005-01-041-4/+79
| | | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type), (ephy_embed_event_type_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-marshal.list: * src/ephy-tab.c: (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb): Add types for some enums and flags.
* EphyEmbedChrome is flags, not enum.Christian Persch2004-12-241-1/+1
| | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * lib/ephy-marshal.list: EphyEmbedChrome is flags, not enum.
* A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): AChristian Persch2004-12-231-9/+9
| | | | | | | | | | | | | | | 2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
* Fix the build.Christian Persch2004-12-191-1/+1
| | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * src/ephy-window.c: Fix the build.
* Disable Zoom items for images, and disable zoom, encoding and view sourceChristian Persch2004-12-191-5/+44
| | | | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type), (ephy_embed_document_type_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_document_type_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_zoom), (ephy_window_set_active_tab): * src/toolbar.c: (toolbar_update_zoom): * src/toolbar.h: Disable Zoom items for images, and disable zoom, encoding and view source for images and xml (xul) documents. Fixes bug #132240.
* Add a way to show the cert info dialogue for the page's certificate.Christian Persch2004-11-161-0/+13
| | | | | | | | | | | | 2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_show_page_certificate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add a way to show the cert info dialogue for the page's certificate.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* When showing a modal alert put up by a web page, switch the window to thatChristian Persch2004-10-311-0/+33
| | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb): When showing a modal alert put up by a web page, switch the window to that tab.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-251-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* Implement popup-blocking signals. Part of bug #111930.Adam Hooper2004-06-211-1/+20
|
* Get rid of EmbedReloadFlags, and use a gboolean force parameter inChristian Persch2004-06-141-5/+5
| | | | | | | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-041-4/+21
|
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_print_preview_navigate): Don't return a value in void function, part of bug #141319.
* Clean up encoding handling.Christian Persch2004-05-021-5/+18
| | | | | | | | | | | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding), (ephy_embed_has_automatic_encoding): * embed/ephy-embed.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): Clean up encoding handling.
* Fix chrome for new windows opened from _blank target. Fixes bug #139512.Marco Pesenti Gritti2004-04-181-1/+0
| | | | | | | | | | | | | 2004-04-18 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512.
* Fix bookmarks toolbar visibility in fullscreen and print preview mode, asChristian Persch2004-04-011-3/+4
| | | | | | | | | | | | | | | 2004-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520.
* Documented EphyEmbedSingleAdam Hooper2004-03-271-2/+2
|
* Fix arg type of dom_* signals to match the closure.Christian Persch2004-03-261-2/+2
| | | | | | | | 2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): Fix arg type of dom_* signals to match the closure.
* Fixed teeny typoAdam Hooper2004-03-261-1/+1
|
* Fixed gtk-doc commentsAdam Hooper2004-03-261-3/+6
|
* Documented EphyEmbedAdam Hooper2004-03-261-16/+361
|
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* s/IFace/Iface/g to match the gtk+ naming convention.Christian Persch2004-02-201-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate), (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: s/IFace/Iface/g to match the gtk+ naming convention.
* Add API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
* Unify interface struct and type macro naming to be EphyFooIFace,Christian Persch2004-01-021-72/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: Unify interface struct and type macro naming to be EphyFooIFace, EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE.
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-09 Adam Hooper <adamh@densi.com> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins
* Misc cleanups. Remove a duplicated signal from EphyEmbed.Christian Persch2003-12-061-9/+0
| | | | | | | | | | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type), (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (load_mime_from_xml), (ephy_embed_shell_init), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * src/ephy-tab.c: (ephy_tab_init): Misc cleanups. Remove a duplicated signal from EphyEmbed.
* Add a factory to create embed objects and use it. Deal with dependency ofMarco Pesenti Gritti2003-11-221-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-persist.c: (ephy_embed_persist_save): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: * src/Makefile.am: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-tab.c: (ephy_tab_init): * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Add a factory to create embed objects and use it. Deal with dependency of mozilla-embed and mozilla-embed-persist on mozilla-embed-single internally.
* Not necessary to store signal id in an array for interfaces.Marco Pesenti Gritti2003-11-211-34/+2
| | | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_base_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed.c: (ephy_embed_base_init): Not necessary to store signal id in an array for interfaces.
* Forgot to remove signal IDs from enum when I removed the signals.Christian Persch2003-11-191-2/+0
| | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: Forgot to remove signal IDs from enum when I removed the signals.
* Re-use some more signals from GtkMozEmbed; fix getter_Copies usage inChristian Persch2003-11-191-20/+14
| | | | | | | | | | | | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_link_message_cb): * src/ephy-nautilus-view.h: * src/ephy-tab.c: (ephy_tab_set_link_message), (ephy_tab_link_message_cb), (ephy_tab_init): Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in mozilla-embed.cpp. Fixes bug #127335.
* Do not connect and reemit same signal for nothing. Remove unused/expensiveMarco Pesenti Gritti2003-11-101-51/+0
| | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Do not connect and reemit same signal for nothing. Remove unused/expensive progress signal. * src/session.c: (session_save): Unlink session file when all windows are removed.
* Get rid of gresult type. Use return values instead of out-parametersChristian Persch2003-11-051-295/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_do_command), (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_class_init), (ephy_embed_event_init), (ephy_embed_event_finalize), (ephy_embed_event_new), (ephy_embed_event_get_event_type), (ephy_embed_event_get_coords), (ephy_embed_event_get_context), (ephy_embed_event_set_property): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_set_event), (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list), (ephy_embed_single_list_cookies), (ephy_embed_single_remove_cookies), (ephy_embed_single_list_passwords), (ephy_embed_single_remove_passwords), (ephy_embed_single_free_cookies), (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-types.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_new), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-history.c: * embed/find-dialog.c: (find_dialog_go_next), (find_dialog_go_prev): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-types.h: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): * src/ephy-favicon-action.c: (each_url_get_data_binder): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb), (gnv_embed_title_cb), (gnv_popup_cmd_frame_in_new_window), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb), (setup_back_or_forward_menu), (setup_up_menu): * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-window.c: (edit_menu_show_cb), (sync_tab_security), (show_embed_popup), (ephy_window_set_zoom): * src/pdm-dialog.c: (pdm_dialog_init): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window), (popup_cmd_open_frame): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (toolbar_cmd_ppv_goto_last), (clamp_page_limits): * src/prefs-dialog.c: (setup_font_menu), (prefs_homepage_current_button_clicked_cb): * src/session.c: (save_tab): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Get rid of gresult type. Use return values instead of out-parameters whereever possible, and port all callers.
* Remove unused types.Christian Persch2003-11-041-13/+13
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Open source in the default editor and remove the unused copy api. Add aMarco Pesenti Gritti2003-10-281-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-28 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (delete_files), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/window-commands.c: (get_editor_application), (editor_open_uri), (save_source_completed_cb), (editor_can_open_uri), (save_temp_source), (window_cmd_view_page_source): Open source in the default editor and remove the unused copy api. Add a missing include while at it.
* Solving the wrapper mess Episode 1.Marco Pesenti Gritti2003-10-271-8/+0
| | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess Episode 1. Cleanup EphyWrapper to use higher level apis. Do not set docshell history explicitly, it seem to pickup the registered one nicely.
* Interface for commands. Useful for undo. (cmd_undo works).Marco Pesenti Gritti2003-10-251-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-25 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command), (ephy_command_manager_observe_command): * embed/ephy-command-manager.h: Interface for commands. Useful for undo. (cmd_undo works). * embed/ephy-embed.c: * embed/ephy-embed.h: Remove all clipboard calls. * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Implement part of the commands interface. No regressions. * src/window-commands.c: (window_cmd_edit_cut), (window_cmd_edit_copy), (window_cmd_edit_paste), (window_cmd_edit_select_all): Implement clipboard using commands.
* Encoding menu improvements, Part 4: The Rewrite.Christian Persch2003-10-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Part 4: The Rewrite. * data/glade/epiphany.glade: * data/ui/epiphany-ui.xml: * data/ui/nautilus-epiphany-view.xml.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/ephy-embed.c: (ephy_embed_get_encoding_info): * embed/ephy-embed.h: * embed/ephy-encodings.c: (ephy_encodings_get_type), (ephy_encodings_finalize), (ephy_encodings_class_init), (ephy_encodings_get_node), (ephy_encodings_get_encodings), (ephy_encodings_get_detectors), (ephy_encodings_get_all), (ephy_encodings_get_categories), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init), (ephy_encoding_info_free), (ephy_encodings_new): * embed/ephy-encodings.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages): * lib/ephy-langs.h: * src/Makefile.am: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (setup_filter), (sync_embed_cb), (sync_active_tab), (ephy_encoding_dialog_set_window), (activate_choice), (activate_automatic), (ephy_encoding_dialog_response_cb), (category_node_selected_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_finalize), (ephy_encoding_dialog_set_property), (ephy_encoding_dialog_get_property), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_init), (sort_encodings), (add_menu_item), (update_encoding_menu_cb), (encoding_activate_cb), (add_action), (ephy_encoding_menu_view_dialog_cb), (ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window), (ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new): * src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb), (gnv_cmd_select_encoding), (gnv_cmd_edit_find): * src/ephy-window.c: (ephy_window_set_active_tab), (setup_notebook), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init): * src/language-editor.h: * src/pdm-dialog.c: (setup_passwords_treeview), (setup_cookies_treeview): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (fonts_language_info_cmp), (create_fonts_language_menu), (find_encoding_in_list_cmp), (sort_encodings), (create_optionmenu), (prefs_dialog_init): Made encodings menu dynamic, containing recently used items + items related to the currently active encoding. Split encodings out as a embed shell service, port all users over to that. Harvest all encoding info we can get from mozilla.
* Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, andChristian Persch2003-10-121-0/+8
| | | | | | | | | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding): * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb), (update_encoding_menu_cb), (ephy_encoding_menu_set_window): Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, and use it in the menu to indicate the encoding of the loaded page.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-19/+21
|
* Add activate api.Marco Pesenti Gritti2003-08-191-0/+7
| | | | | | | | | | | | | | | | | 2003-08-19 Marco Pesenti Gritti <marco@.gnome.org> * embed/ephy-embed.c: (ephy_embed_activate): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Add activate api. * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Activate on navigation commands. It seem like a better beahvior and it avoid some mozilla focus craziness.
* Restore the "ge_dom_mouse_down" signal.Christian Persch2003-08-021-0/+11
| | | | | | | | | | 2003-08-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_dom_mouse_down_cb): * embed/ephy-embed.h: * embed/ephy-embed.c: (ephy_embed_base_init): Restore the "ge_dom_mouse_down" signal.
* Rework find implementation to integrate better with type ahead and toMarco Pesenti Gritti2003-07-201-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed.c: (ephy_embed_find_set_properties), (ephy_embed_find_next): * embed/ephy-embed.h: * embed/find-dialog.c: (update_navigation_controls), (impl_show), (find_dialog_class_init), (set_properties), (sync_page_change), (sync_embed), (find_dialog_init), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_close_button_clicked_cb), (find_next_button_clicked_cb), (find_prev_button_clicked_cb), (find_entry_changed_cb), (find_check_toggled_cb): * embed/find-dialog.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-dialog.h: * src/ephy-window.c: (ephy_window_find): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find), (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Rework find implementation to integrate better with type ahead and to simplify the code. Do not try to set menus sensitivity because mozilla doesnt provide an api for it and it breaks with type ahead. * lib/ephy-dialog.c: (ephy_dialog_class_init), (ephy_dialog_finalize), (dialog_destroy_cb), (impl_construct), (ephy_dialog_construct): Remove no more used destruct crap.
* 2003-06-27 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-06-281-2/+3
| | | | | | | | | | | * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-export.c: (add_topics_list), (ephy_bookmarks_export_rdf): * src/ephy-tab.c: (ephy_tab_address_cb): * src/ephy-window.c: (ephy_window_load_url): * src/window-commands.c: (window_cmd_file_open):
* Remove some obsolete entries.Marco Pesenti Gritti2003-06-161-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/nautilus-epiphany-view.xml.in: Remove some obsolete entries. * embed/Makefile.am: * embed/ephy-embed-event.c: (ephy_embed_event_init), (ephy_embed_event_get_event_type): * embed/ephy-embed-event.h: Make more generic and allow to make distinction between mouse and key events. * embed/ephy-embed-popup-bw.c: * embed/ephy-embed-popup-bw.h: Remove, unused. * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Emit context signals only when necessary, get rid of unused mouse_down signal. * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_show_impl): * embed/mozilla/EventContext.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb): * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb), (ephy_tab_context_menu_cb): Use new event api.
* Shift+F10 show context menus on the embed. (Less invasive way untilMarco Pesenti Gritti2003-06-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_init): * embed/ephy-embed-event.h: * embed/ephy-embed-popup-bw.c: (popup_menu_at_coords), (ephy_embed_popup_bw_show_impl): * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (popup_menu_at_coords), (ephy_tab_show_embed_popup), (ephy_tab_context_menu_cb), (ephy_tab_init): Shift+F10 show context menus on the embed. (Less invasive way until gtkmozembed has a context_menu signal) From galeon.
* continuing checkin of previous patch (cvs aborted "broken pipe")Christian Persch2003-05-281-3/+3
| | | | | | 2003-05-28 Christian Persch <chpe@cvs.gnome.org> continuing checkin of previous patch (cvs aborted "broken pipe")