aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a shell search providerGiovanni Campagna2013-08-291-0/+43
| | | | | | | | | The search provider offers the same results as the inline completion in the location bar, gathering results from the history and from bookmarks. Also, it provides a special "Search the web" item, that continues search with the configured search engine (Google by default) https://bugzilla.gnome.org/show_bug.cgi?id=694943
* EphyShell: add support for starting without windowsGiovanni Campagna2013-08-291-3/+22
| | | | | | | | To launch epiphany as a DBus service, we need to be able to launch without opening windows, and then use the GApplication inactivity timeout to manage our lifetime. https://bugzilla.gnome.org/show_bug.cgi?id=694943
* Force an update on WNCK's knowledge of windows and workspacesGustavo Noronha Silva2013-08-141-0/+9
| | | | | | | We need to poke WNCK, otherwise our first call to ephy_window_is_on_current_workspace will be a false-positive. https://bugzilla.gnome.org/show_bug.cgi?id=705811
* Update links to help, add app menuitemEkaterina Gerasimova2013-08-041-0/+13
| | | | | | | Update ephy_gui_help to link to pages, not sections. Update links to pages in the new help. Add an app menu Help item. Change the link from the preference dialog to link to the pref.page because one page per tab is not compatible with the help style…
* Unify all web context setup in EphyEmbedShell on primary instance startupCarlos Garcia Campos2013-04-051-46/+0
| | | | | | | | | | | Cookies, web extension and custom URI handlers were initialized in ephy_embed_shell_init(), so they were always called even for secondary instances. All other initializations were in ephy_shell_startup so that it only happens for the primary instance. Move all the code to ephy_embed_shell_startup to make sure everything happens at the same time and only for the primary instance. https://bugzilla.gnome.org/show_bug.cgi?id=696020
* Get rid of EphyEmbedSingleXan Lopez2013-03-241-1/+0
| | | | | | Move the remaining initialization code to EphyEmbedShell https://bugzilla.gnome.org/show_bug.cgi?id=693703
* ephy-shell: remove non-WebKit2 bits for adblock managerXan Lopez2013-03-221-8/+0
| | | | This does not exist anymore.
* Move code to initialize preferences from ephy-main to ephy-shellCarlos Garcia Campos2013-03-201-0/+46
| | | | | | | | | | As well as the code the prepare the environment for the wen process and web context initialization. This allows to only run that initializations only for the primary instance. It fixes a crash in web process when the ui process finishes too early and makes secondary instances to run faster, since they don't spawn a web process anymore. https://bugzilla.gnome.org/show_bug.cgi?id=696020
* Do not build adblock files in libephyembed for WebKit2Carlos Garcia Campos2013-03-071-1/+5
| | | | The required files will be built in the web extension.
* ephy-shell: fix opening new pages from the command lineXan Lopez2013-03-071-1/+1
| | | | | | | We were not re-using the active EphyEmbed, which causes opening one extra empty tab. https://bugzilla.gnome.org/show_bug.cgi?id=694966
* ephy-shell: remove some leftovers from the new-window removalXan Lopez2013-02-141-63/+0
|
* Only load pages when their tab is switched to upon session restoreGustavo Noronha Silva2013-02-121-3/+6
| | | | | | | | | | | | | Firefox has led the way implementing this behaviour to improve the experience of restoring a session with lots of tabs. By delaying the loading of pages to when the user shows interest in them, the time it takes for the browser to become usable is diminished, and less pages are loaded in parallel, which improves load time for the first pages the user sees. It also has the advante of displaying less HTTP Basic Auth dialogs, when the user has many tabs pointed to the same server. https://bugzilla.gnome.org/show_bug.cgi?id=675302
* ephy-shell: add g_return_val_if_fails to ephy_shell_new_tab_fullXan Lopez2013-02-101-0/+9
|
* ephy-shell: avoid useless call to ephy_embed_shell_get_defaultXan Lopez2013-02-101-1/+1
| | | | | There's only one shell, which we already get in the first parameter. No need to ask for the shell again.
* Use GtkApplication method to get the list of windowsXan Lopez2013-02-091-67/+6
| | | | | We have one in EphyShell, but should be redundant (since we stopped tracking non-EphyWindow windows some time ago).
* ephy-shell: add application menu item for reopening closed tabsClaudio Saavedra2013-02-081-0/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=128184
* ephy-embed-shell: add EPHY_EMBED_SHELL_MODE_INCOGNITOClaudio Saavedra2013-02-081-1/+1
| | | | | | | | | | Since we need to differenciate between incognito and private mode in order to enable restoring closed tabs only for the latter case. Add a macro for the cases in which either mode should behave in the same way to simplify the change. https://bugzilla.gnome.org/show_bug.cgi?id=128184
* ephy-shell: Make it possible to prepend a tab in a windowClaudio Saavedra2013-02-081-0/+3
| | | | | | | We need this in order to open a tab in the first position of a window when undoing a tab closure. https://bugzilla.gnome.org/show_bug.cgi?id=128184
* ephy-shell: return the proper types for EphySession and GNetworkMonitorXan Lopez2013-02-081-7/+7
|
* Move ephy_session_open_uris to EphyShellXan Lopez2013-02-081-2/+136
| | | | | There's no reason at all for this method to be in EphySession, it neither writes nor reads the state of the browser.
* ephy-session: Remove EPHY_SESSION_CMD_OPEN_URISCarlos Garcia Campos2013-01-091-20/+6
| | | | | | | Add ephy_session_open_uris() instead and use it from EphyShell instead of scheduling a command. https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Add ephy_session_resume() and use it instead of queueing a ↵Carlos Garcia Campos2013-01-091-9/+25
| | | | | | resume command https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Use ephy_session_load() directly instead of queueing a load ↵Carlos Garcia Campos2013-01-091-4/+2
| | | | | | session command https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-shell: There can be two widgets for the same download in WebKit2Carlos Garcia Campos2013-01-041-3/+11
| | | | | | | | In WebKit2 WebKitWebContext::download-started signal is always emitted, even for downloads started manually. We only want to create a new download when the download operation has been started by WebKit. https://bugzilla.gnome.org/show_bug.cgi?id=678993
* downloads: Create the download with the window of the web view that ↵Carlos Garcia Campos2013-01-041-3/+16
| | | | | | | | | initiated the download Using webkit_download_get_web_view() and falling back to the active window if the download was not initiated by a web view. https://bugzilla.gnome.org/show_bug.cgi?id=686467
* ephy-download: Make EphyDownload:window a construct only propertyCarlos Garcia Campos2013-01-041-3/+1
| | | | | | | | It's always set right after the download object is created and it doesn't have any effect when it's set after the download has been added to the embed shell. This way we can make sure that when the download is added to the embed shell the parent window has already been set if there's any.
* ephy-shell: fix the incognito app menu itemClaudio Saavedra2012-12-121-1/+1
|
* First iteration for 'Incognito mode'Xan Lopez2012-12-121-0/+9
| | | | | | | | | | | | | | | For now this is just a private mode but with the following two twists: - We use the dark theme. - We steal our history and bookmarks from the main profile. This is done in 'read-only' mode though, so any changes made in this session will be lost. Add command line options and a UI item to launch the browser in this mode. https://bugzilla.gnome.org/show_bug.cgi?id=676914
* e-shell: fix compiler warningDiego Escalante Urrelo2012-12-111-4/+4
|
* Append new tab on the window with most tabs in the current workspaceGustavo Noronha Silva2012-12-111-0/+38
| | | | | | | | | | This change uses a different heuristic to decide on what the best window to add a new tab is from the last window which has been interacted with, which might even be in a different workspace, to the window with the most tabs in the current workspace. If no window exists on the current workspace one will be created. Partial fix for https://bugzilla.gnome.org/show_bug.cgi?id=685976
* e-embed-shell: remove the embed_shell globalDiego Escalante Urrelo2012-12-111-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* Do not present the window when running in test modeGustavo Noronha Silva2012-12-101-1/+2
|
* Remove option to launch Web as the bookmarks editorXan Lopez2012-12-101-5/+1
| | | | That thing is on its way out.
* Initialize the favicon database from WebKit2GTK+ as soon as possible.Mario Sanchez Prada2012-12-041-1/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679370
* Fix a couple of compiler warnings spotted by the latest gnome-common flagsXan Lopez2012-12-011-1/+1
|
* Use gtk_application_get_active_window instead of rolling our ownXan Lopez2012-11-261-19/+2
|
* ephy-shell: do not configure adblock in test modeXan Lopez2012-10-081-15/+17
| | | | Workaround while we figure out how to make it behave nicely.
* Remove extensions supportXan Lopez2012-10-081-49/+15
| | | | | | | This removes the old style extension support, you can read the rationale in the bug report. https://bugzilla.gnome.org/show_bug.cgi?id=685630
* Move windows handling code from EphySession to EphyShellCarlos Garcia Campos2012-10-081-15/+116
| | | | | | | | | | | | EphyShell is now a GtkApplication that already does window handling, however we want to maintain only the of browser windows. Instead of keeping the window lists in ephy-session, it's easier to override window_added and window_removed virtual methods of GtkApplication and update the browser window lists. Most of the cases where this API was used, had to get the session object from the shell first, now we save this step keeping the code simpler. https://bugzilla.gnome.org/show_bug.cgi?id=641734
* ephy-shell: use g_clear_{object, pointer} in disposeXan Lopez2012-10-081-56/+12
|
* Merge the app menu into the gear menu when we are not in the ShellXan Lopez2012-10-071-26/+6
| | | | | | Gets rid of the ugly menubar with a single menu. https://bugzilla.gnome.org/show_bug.cgi?id=673054
* ephy-lockdown: de-extensionifyXan Lopez2012-10-071-9/+1
| | | | | | | Simply connect to 'window-added' in EphyShell instead of making this an extension. https://bugzilla.gnome.org/show_bug.cgi?id=685631
* adblock: get rid of AdBlock interfaceXan Lopez2012-10-031-8/+0
| | | | | | | No need for this now, just make EphyAdBlock a concrete class implementing the adblock functionality. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Import adblock extension into the source treeXan Lopez2012-10-011-0/+9
| | | | | | | | | | | | | | | This commit imports the adblock extension from 'epiphany-extensions' with as few modifications as possible. Further modifications and simplifications are possible, but for now we just load it unconditionally, enabled. We have it in the src/ directory because it depends on some high-level objects in Epiphany (EphyExtension, EphyWindow), but in the future we'll probably move it to embed/, transforming it from an extension into just the specific implementation of our EphyAdblockManager object. https://bugzilla.gnome.org/show_bug.cgi?id=681657
* Make sure windows are properly closed when quitting from the shell menuCarlos Garcia Campos2012-09-271-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679844
* Focus windows when opening new links in tabsXan Lopez2012-09-131-0/+3
| | | | | | | | | | | | If someone requests a link to be opened by ephy in an already running instance, and that link is opened in a new tab (either because of our settings or because -n/--new-tab was passed), the window where this happened will not be presented, so it might go unnoticed. Fix this by presenting the windows where new tabs are opened through the open_uris mechanism in EphySession. https://bugzilla.gnome.org/show_bug.cgi?id=641949
* ephy-shell: consider the overview as a blank pageXan Lopez2012-09-031-2/+3
| | | | | | We were only considering about:blank, but about:overview should be assumed to be "blank" as far as replacing it with actual pages is concerned.
* ephy-session: do not restore tool windowsXan Lopez2012-09-021-26/+0
| | | | | | | | These windows will lose relevance and disappear gradually, and it does not really make that much sense to restore them with the session now that this happens automatically. https://bugzilla.gnome.org/show_bug.cgi?id=682966
* Port downloads to WebKit2Carlos Garcia Campos2012-06-271-0/+31
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* Initial WebKit2 portCarlos Garcia Campos2012-06-211-0/+12
| | | | It builds and basic functionality works.
* ephy-shell: EPHY_EMBED_SHELL_MODE_TEST means no realizeDiego Escalante Urrelo2012-06-181-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678134
* ephy-shell: move variable to the only scope where it's usedXan Lopez2012-06-151-3/+2
|
* ephy-shell: initialize jump_to variable to FALSEXan Lopez2012-06-151-1/+1
| | | | | | Otherwise commit ccf3836d601c makes us use that variable with a garbage value most of the time, since it won't be initialized unconditionally anymore.
* ephy-shell: imitate other flag checks for jump_toDiego Escalante Urrelo2012-06-151-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: handy gboolean fullscreen_lockdownDiego Escalante Urrelo2012-06-151-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: fix bracesDiego Escalante Urrelo2012-06-151-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-web-view: remove unused EphyWebViewChrome elementsDiego Escalante Urrelo2012-06-151-3/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676904
* Add a new mode for shell testing, EPHY_EMBED_SHELL_MODE_TESTXan Lopez2012-06-141-1/+2
| | | | | | For now the only difference is that no top-level window will be shown in this mode, but in the future it can be extended to behave in a manner appropriate for testing.
* ephy-shell: fix a comment typoDiego Escalante Urrelo2012-05-271-1/+1
|
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-081-20/+0
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* ephy-shell: EPHY_NEW_TAB_DONT_SHOW_WINDOW means no realizeDiego Escalante Urrelo2012-04-221-1/+1
| | | | | | | | | If the user passed EPHY_NEW_TAB_DONT_SHOW_WINDOW do not call gtk_widget_realize and gtk_widget_grab_focus on the returned EphyEmbed since this is most likely against the intentions of EPHY_NEW_TAB_DONT_SHOW_WINDOW. https://bugzilla.gnome.org/show_bug.cgi?id=673683
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-141-0/+1
| | | | These are clearly not meant to be used outside of Epiphany.
* Remove Epiphany manualXan Lopez2012-04-131-9/+0
| | | | | | | | | The current manual is quite obsolete and uses and outdated technology, so it really just needs a full rewrite at this point. Hopefully this will motivate someone to do it, meanwhile we stop shipping misguiding documentation. https://bugzilla.gnome.org/show_bug.cgi?id=674047
* ephy-shell: respect the lockdown quit settingRudolfs2012-04-111-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673649
* ephy-shell: fix whitespaceXan Lopez2012-04-021-3/+3
|
* ephy-shell: whitespace nitpick in castDiego Escalante Urrelo2012-04-011-2/+2
|
* ephy-shell: save the session state on QuitXan Lopez2012-03-291-0/+1
| | | | It will be automatically restored on startup.
* Use glib resources to bundle our UI filesXan Lopez2012-03-281-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672907
* Replace EphyFaviconCache by WebKit's icon database cacheSergio Villar Senin2012-03-201-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648653
* Don't go to EphyEmbedSingle just to get the network statusXan Lopez2012-03-141-28/+1
| | | | | The new GNetworkMonitor class is really a good enough abstraction, don't overdo it.
* ephy-history-view: use the new hosts and urls viewsXan Lopez2012-03-071-6/+1
|
* Set the history service during history window instantiationClaudio Saavedra2012-03-071-1/+5
| | | | The old history object is kept for now but it will be removed later
* ephy-shell: use the new g_application_quit to quitXan Lopez2012-02-231-12/+1
|
* ephy-shell: install global menu for private mode tooXan Lopez2012-02-091-3/+9
| | | | | | | | This is still not enough to make it work, the menu shows empty in private mode, but the code change is obviously correct. See bug https://bugzilla.gnome.org/show_bug.cgi?id=647986 https://bugzilla.gnome.org/show_bug.cgi?id=669740
* ephy-shell: load home page in new windowsDiego Escalante Urrelo2012-02-091-1/+1
| | | | | | Fixes the uncertain loading state of new windows. https://bugzilla.gnome.org/show_bug.cgi?id=669130
* ephy-shell: pass active window to the about dialogDiego Escalante Urrelo2012-01-201-1/+7
| | | | | | So it can be modal. https://bugzilla.gnome.org/show_bug.cgi?id=668113
* Use the new Shell global menu for global actionsXan Lopez2012-01-141-13/+135
| | | | And remove them from the existing menubar.
* ephy-shell: correct bogus logic in warning messageXan Lopez2011-12-151-7/+9
| | | | We were warning in way too many more cases than intended.
* Remove last traces of the EggToolbar codeXan Lopez2011-12-151-60/+0
|
* Remove code to support bookmark/topic toolbarXan Lopez2011-12-151-3/+0
|
* Remove custom EphyToolbar in favor of a vanilla GtkToolbarXan Lopez2011-12-141-7/+2
| | | | | | | | | | | | | This allows us to stop using EggEditableToolbar here, we just load a normal toolbar from GtkUIManager in EphyWindow. The special toolbar actions and methods have been moved to EphyWindow too, mostly in a mechanical fashion (probably some simplifications are possible). The code in the bookmarks UI that depended on EphyToolbar has been #if zeroed instead of porting it, since it will go away in the near future too. https://bugzilla.gnome.org/show_bug.cgi?id=664483
* ephy-shell: add warning message about incorrect usage of ephy_shell_new_tab_fullXan Lopez2011-12-121-1/+2
|
* ephy-shell: fix weird spacing in LOG messagesXan Lopez2011-12-121-5/+5
|
* Remove homepage preference from GSettingsXan Lopez2011-12-041-1/+2
| | | | | | | | Hardcode it to be "about:blank". The final step could be completely remove the rest of the code, but it might be useful for the future Overview page (if we consider it the new "homepage"). https://bugzilla.gnome.org/show_bug.cgi?id=665469
* Use GNetworkMonitor to monitor network statusXan Lopez2011-11-161-23/+14
| | | | | | We can now get rid of the NetworkManager custom code. https://bugzilla.gnome.org/show_bug.cgi?id=664096
* Don't crash when network manager is not availableIonut Biru2011-09-271-4/+5
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=659103 Signed-off-by: Ionut Biru <ibiru@archlinux.org>
* ephy-shell: chain to parent ::startup methodXan Lopez2011-09-171-0/+2
|
* ephy-shell: remove unused includesXan Lopez2011-09-111-4/+0
|
* ephy-shell: do not resume session in web app modeXan Lopez2011-09-111-5/+6
| | | | | | | | | | Session resume will ask to resume the session (opened pages, etc) if the previous instance crashed. We don't really want this in web app mode, so skip it. Note that this is not exactly the same than loading the session, which just restores the previous window sizes and states. We do want that, but the terminology here could be more clear. https://bugzilla.gnome.org/show_bug.cgi?id=658739
* ephy-shell: sort includes and remove duplicatesXan Lopez2011-09-111-29/+26
|
* Open a new window in the primary instance when remoting without URIsClaudio Saavedra2011-07-011-3/+13
|
* Delete trailing whitespaces in ephy-shell.cClaudio Saavedra2011-07-011-63/+63
|
* ephy-shell: use new HACKING styleXan Lopez2011-06-301-742/+686
|
* Add an --application-mode flag and global modeXan Lopez2011-06-301-2/+3
| | | | | | | | | For now it's pretty much like a private instance, but: - A profile directory *must* be passed - Global passwords and cookies are accessed. In the future we'll likely restrict cookies to the ones for the web application domain, which we'll copy from the main cookies file.
* Use an enum for the global mode of the applicationXan Lopez2011-06-301-4/+4
| | | | In preparation to add a new mode for WebApps.
* ephy-shell: set GApplication flags in constructed vmethodXan Lopez2011-06-301-6/+17
| | | | Cleaner than doing it in the constructor.
* ephy-shell: do not ref the shell more than neededXan Lopez2011-06-301-2/+0
| | | | | We already guarantee that the app will stay up by adding the windows to the GtkApplication, so stop reffing the shell in these callbacks.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-301-31/+315
| | | | | | | | | | | We want to use EphyApplication from embed/ too, so instead of following the EphyEmbedShell/EphyShell pattern just fold the code into the Shell itself. This makes sense since both classes have basically the same function, and we can easily leave the non-embed code in EphyShell and move to EphyEmbedShell the bits we want to be global. The better name would be EphyCoreApplication/EphyApplication for the resulting object, but we can do this later.
* ephy-application: add a private-instance propertyXan Lopez2011-06-291-1/+1
| | | | | It does not do much at the moment, but we pass the information from ephy-main.c to the app.
* Require an EphyApplication parameter when creating an EphyShellXan Lopez2011-06-291-3/+6
| | | | We'll want to create our own in main(), this prepares us for that.
* Use NM_STATE_CONNECTED_GLOBAL instead of the compat #defineXan Lopez2011-06-241-1/+1
|
* Copy&paste a few NM defines/enums we need at compile timeXan Lopez2011-06-241-1/+1
| | | | | This way we don't need a compile-time dependency on NetworkManager, since we use it through the DBus APIs.
* Require NetworkManagerXan Lopez2011-06-241-18/+1
| | | | It's not optional in GNOME 3
* Implement GtkApplication based activation and uniquenessClaudio Saavedra2011-06-241-0/+26
| | | | | | | | | | | | | | | | | | | | This replaces the existing dbus-glib activation and uniqueness code. The changes are kept to the minimum necessary to make all the features work, but there are still some optimizations possible (like doing most of the initialization in ephy_application_startup() when we know we are not remoting). These changes are left for later to avoid making this patch huge. Command-line parameter parsing is done in the main method and parameters are passed to the application through a EphyApplicationStartupContext structure, which is later passed as a GVariant to the primare instance. This way we avoid moving the GOption code out of the place where it's intended to run: in the main() method. Based in work by Alexandre Mazari. https://bugzilla.gnome.org/show_bug.cgi?id=637334
* Use a gdbus-codegen generated GDBusProxy to monitor NM stateClaudio Saavedra2011-06-241-14/+22
| | | | | | | | | | Get rid of the EphyNetMonitor code and instead generate a GDBusProxy subclass that monitors the StateChanged signal and State property in org.gnome.NetworkManager. This proxy exports these features as standard GObject signal and property, respectively, so we can use it directly through the relevant accessors. https://bugzilla.gnome.org/show_bug.cgi?id=622903
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-211-6/+0
|
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-081-1/+0
| | | | | | | | | | | | | | | | | 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
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-081-4/+7
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* ephy-embed-single: remove add_sidebar signalDiego Escalante Urrelo2010-05-141-41/+0
| | | | We removed the sidebar extension for 2.30.
* Move homepage loading code to EphyWebViewXan Lopez2010-05-031-25/+3
| | | | | | Create a method to make the EphyWebView load the homepage set by the user. This is in preparation for creating a signal for this action, which other code in Epiphany will need.
* Move helper function into ephy-embed-utils.cXan Lopez2010-05-031-16/+2
| | | | | | Make url_is_empty a helper function in embed/, since we'll be moving code from EphyShell into EphyEmbed that uses it and we don't want to duplicate it.
* Allow not copying history when creating a new embedMario Sanchez Prada2010-04-221-3/+5
| | | | | | | | Just added a new flag and check it before copying the history Bug #611400 Signed-off-by: Xan Lopez <xan@gnome.org>
* Clean uneeded EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBEDDiego Escalante Urrelo2010-02-021-1/+1
| | | | | | | We now have ephy_embed_get_web_view, EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED plus EPHY_WEB_VIEW casts are useless. Bug #608749
* Miscellaneous nitpick fixesDiego Escalante Urrelo2010-01-121-20/+20
|
* Reimplement window.closeXan Lopez2009-12-261-1/+0
| | | | | | | | We consider all windows opened by the web page without user intervention as popups, and allow them to be closed in the same way if the page so requests. Bug #599009
* Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-171-6/+6
|
* Add GObject introspection annotations to more functionsIain Nicol2009-11-231-2/+2
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-181-2/+42
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Correct "ReturnValue" to "Return value" in gtk-doc commentsIain Nicol2009-10-271-3/+3
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Simplify EXPIRE logic in ephy_web_view_set_typed_addressXan Lopez2009-09-071-2/+1
| | | | | | The whole thing just had one functionality at this point as far as I can see: prevent the typed address from being wiped out when a page is loading. Simplify the code to do just that.
* Fixs the warning if using NULL urlJulian de Navascues2009-09-011-2/+8
| | | | | | | | | | | | If ephy_shell_new_tab receives a NULL url it passes it to ephy_shell_new_tab_full instead of always building a request with the url Also, in ephy_shell_new_tab_full checks that if OPEN_PAGE flag is enabled, request must be non NULL. Bug #593701 Signed-off-by: Xan Lopez <xan@gnome.org>
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-251-1/+1
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* Try again to fix bug #588143Xan Lopez2009-07-211-4/+5
| | | | | | 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-shell.c: do not set typed address when opening a new tab.Xan Lopez2009-06-121-3/+0
| | | | | Fixes missing URI before load-committed but gives weird problems with about:blank getting stuck, need to think this through.
* ephy-shell.c: update for latest changes in WebKitNetworkRequest.Xan Lopez2009-06-121-13/+7
| | | | | | WebKitNetworkRequest objects won't fail to be constructed since WebKitGTK+ 1.1.9, worst case they'll have a bogus URI and trying to load them will fail.
* ephy-shell.c: set typed address when opening a page in a new tab too.Xan Lopez2009-06-111-2/+5
|
* Get rid of EphyEmbedFactory.Xan Lopez2009-06-061-2/+1
| | | | It's useless now, since there's only one backend.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-8/+9
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* ephy-shell.c: check that the network request is not NULL before unrefing it.Xan Lopez2009-06-031-1/+2
| | | | It won't be created with, for example, about:blank.
* Move load_url method to EphyWebView.Xan Lopez2009-06-031-2/+1
|
* ephy-shell.c: do not crash when loading about:blank ...Xan Lopez2009-05-311-4/+7
|
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-311-5/+3
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Remove LoadFlagsGustavo Noronha Silva2009-05-301-11/+0
| | | | | | 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.
* Fix missing HTTP information when opening links in new tabsGustavo Noronha Silva2009-05-301-12/+18
| | | | | | | | | | Bug #120341 This changeset reworks ephy_shell_new_tab_full (and its callers) to use a WebKitNetworkRequest instead of an URL when handling openning links in new tabs. This gains us the advantage of feeding the new WebView with the same WebKitNetworkRequest WebKit would use to navigate to the new address.
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-1/+1
| | | | svn path=/trunk/; revision=8265
* Use G_DEFINE_TYPE* when possible in src/ (#515601)Xan Lopez2008-02-111-34/+4
| | | | svn path=/trunk/; revision=7927
* Open externally opened link in current tab if it is blank.Cosimo Cecchi2008-01-111-12/+27
| | | | | | Fix bug #499613. svn path=/trunk/; revision=7856
* And port all the callers in src/Xan Lopez2007-11-161-1/+2
| | | | svn path=/trunk/; revision=7695
* Remove EphyTab use.Christian Persch2007-10-281-27/+20
| | | | svn path=/trunk/; revision=7580
* Move address and typed-address from EphyTab to EphyEmbedXan Lopez2007-10-261-2/+2
| | | | | | ephy-tab.c is totally broken now, will fix in next patches. svn path=/trunk/; revision=7557
* 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
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove a double call to history copy when middle-clicking on back/forwardJean-François Rameau2006-11-131-9/+9
| | | | | | | | | | 2006-11-12 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-navigation-action.c: (activate_by_history_index): * src/ephy-shell.c: (ephy_shell_new_tab_full): Remove a double call to history copy when middle-clicking on back/forward buttons. Fix bug #362882.
* Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko.Jean-François Rameau2006-10-231-1/+17
| | | | | | | | | | | | | | | | | | | 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-2/+2
|
* 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.
* A embed/mozilla/GeckoPrintService.cpp: AChristian Persch2006-06-191-33/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-18 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/default-prefs-common.js: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_set_page_setup), (ephy_embed_shell_get_page_setup), (ephy_embed_shell_set_print_settings), (ephy_embed_shell_get_print_settings): * embed/ephy-embed-shell.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/Makefile.am: A embed/mozilla/GeckoPrintService.cpp: A embed/mozilla/GeckoPrintService.h: A embed/mozilla/GeckoPrintSession.cpp: A embed/mozilla/GeckoPrintSession.h: * embed/mozilla/MozRegisterComponents.cpp: R embed/mozilla/PrintingPromptService.cpp: R embed/mozilla/PrintingPromptService.h: * embed/mozilla/mozilla-embed-single.cpp: R embed/print-dialog.c: R embed/print-dialog.h: * src/ephy-shell.c: (ephy_shell_dispose), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/epiphany.defs: * src/window-commands.c: (page_setup_done_cb), (window_cmd_file_print_setup): Drop libgnomeprint[ui] and use gtk printing.
* copy history over when opening link in new tab/win using context menu.Wouter Bolsterlee2006-06-081-0/+9
| | | | | | | | 2006-06-08 Wouter Bolsterlee <uws+gnome@xs4all.nl> * src/ephy-shell.c: (ephy_shell_new_tab_full): copy history over when opening link in new tab/win using context menu. Fixes bug #340742, patch by René Stadler.
* Fix gcc 4.1 warnings (dereferencing type-punned pointer will breakJean-François Rameau2006-03-031-3/+15
| | | | | | | | | | | | | | | 2006-03-02 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed-shell.c:(ephy_embed_shell_dispose): * src/ephy-encoding-menu.c: (ephy_encoding_menu_view_dialog_cb): * src/ephy-history-window.c: (cmd_clear), (ephy_history_window_finalize): * src/ephy-shell.c: (ephy_shell_get_pdm_dialog),(ephy_shell_get_prefs_dialog), (ephy_shell_get_print_setup_dialog): * src/prefs-dialog.c: (prefs_dialog_finalize), (font_prefs_button_clicked_cb), (language_editor_add_button_clicked_cb): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_finalize): Fix gcc 4.1 warnings (dereferencing type-punned pointer will break strict-aliasing rules).
* data/ui/epiphany-fs-toolbar.xml lib/egg/egg-toolbars-model.cPeter Harvey2006-02-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-fs-toolbar.xml * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h Added "editable" attribute for toolbars. * data/ui/epiphany-ui.xml * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h * src/ephy-toolbar.c * src/ephy-window.c Many improvements to toolbar menus. Includes changes to show visibility toggles in multiple locations. * lib/ephy-stock-icons.c * lib/ephy-stock-icons.h Additional stock icon for drag and drop. * src/bookmarks/ephy-bookmarks-ui.c Make 'customize toolbar' invisible when editing. * src/ephy-shell.c Mark the full-screen toolbar as non-removable.
* lib/ephy-state.h lib/ephy-state.c src/ephy-shell.cPeter Harvey2006-02-041-1/+1
| | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/ephy-state.h * lib/ephy-state.c * src/ephy-shell.c Forgotten files from previous two commits.
* Fix initial network status sync.Christian Persch2006-01-261-2/+2
| | | | | | | | 2006-01-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (impl_get_embed_single): Fix initial network status sync.
* libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing theChristian Persch2006-01-261-6/+71
| | | | | | | | | | | | | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/epiphany.schemas.in: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-net-monitor.c: * src/ephy-net-monitor.h: * src/ephy-shell.c: (ephy_shell_sync_network_status), (impl_get_embed_single), (ephy_shell_dispose), (ephy_shell_get_net_monitor), (_ephy_shell_create_instance), (_ephy_shell_startup): * src/ephy-shell.h: libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing the excellent net-monitor extension directly into Epiphany. Code by Jean-François Rameau.
* Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so weChristian Persch2006-01-241-250/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so we can show the error to the user in main(). * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus_cb), (ephy_dbus_connect_to_system_bus_cb), (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (ephy_dbus_shutdown), (ephy_dbus_finalize), (ephy_dbus_get_type), (ephy_dbus_get_default), (ephy_dbus_get_bus), (ephy_dbus_get_proxy), (_ephy_dbus_startup), (_ephy_dbus_release), (_ephy_dbus_is_name_owner): * src/ephy-dbus.h: Refactored. Propagate errors to callers via GError**, and change lifecycle to the app lifetime. * src/ephy-lockdown.c: (ephy_lockdown_init), (ephy_lockdown_finalize): Move gconf notification add/remove for the lockdown key dirs here from main(). * src/ephy-shell.c: (ephy_shell_dispose), (_ephy_shell_create_instance): * src/ephy-shell.h: * src/epiphany.defs: Remove ephy_shell_startup and related stuff. * src/ephy-main.c: (handle_url), (handle_email), (shell_weak_notify), (dbus_g_proxy_finalized_cb), (save_yourself_cb), (die_cb), (gnome_session_init), (path_from_command_line_arg), (open_urls), (call_dbus_proxy), (show_error_message), (main): Move all startup code to main(), so we can show errors to the user instead of crashing when things go wrong. Part of bug #326807.
* R data/GNOME_Epiphany_Automation.server.in: A data/epiphany-service.xml: AChristian Persch2006-01-031-126/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-02 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * autogen.sh: * configure.ac: R data/GNOME_Epiphany_Automation.server.in: * data/Makefile.am: A data/epiphany-service.xml: A data/org.gnome.Epiphany.service.in: * doc/reference/Makefile.am: R idl/.cvsignore: R idl/EphyAutomation.idl: R idl/Makefile.am: * lib/Makefile.am: R lib/ephy-dbus.c: R lib/ephy-dbus.h: * lib/ephy-file-helpers.c: (ephy_file_launch_application): * src/Makefile.am: A src/ephy-activation.c: A src/ephy-activation.h: A src/ephy-dbus.c: A src/ephy-dbus.h: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (open_urls), (dbus_g_proxy_finalized_cb), (ephy_shell_startup), (ephy_shell_dispose): Bonobo is dead; long live the Bonobos! Patch by Gustavo Gama, bug #322463.
* Add some code so ad blocking should be more easy. Based on the fact thatJean-François Rameau2005-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | 2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-adblock-manager.c: * embed/ephy-adblock-manager.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-embed-shell.h: * embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad): * lib/Makefile.am: * lib/ephy-adblock.h: * lib/ephy-adblock.c: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Add some code so ad blocking should be more easy. Based on the fact that Epiphany already has its own content policy component (EphyContentPolicy). The new design adds: - an interface, EphyAdBlock - a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-171-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Remove DBUS define, it's always compiled now.Christian Persch2005-10-101-8/+1
| | | | | | | | 2005-10-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: Remove DBUS define, it's always compiled now.
* Make sure we don't unref NULL objects.Christian Persch2005-10-031-27/+41
| | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose): * src/ephy-shell.c: (ephy_shell_dispose): Make sure we don't unref NULL objects.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-031-33/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Open new tabs with blank url bar if we're loading the homepage. Fixes bugChristian Persch2005-08-111-0/+2
| | | | | | | | | | | | | | | | | 2005-08-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_address), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/epiphany.defs: Open new tabs with blank url bar if we're loading the homepage. Fixes bug #313012.
* Replace ephy_embed_activate with gtk_widget_grab_focusCrispin Flowerday2005-07-301-1/+1
| | | | | | | | | | | | | | | | 2005-07-29 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_grab_focus): * src/ephy-window.c: (ephy_window_key_press_event), (ephy_window_open_link): * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Replace ephy_embed_activate with gtk_widget_grab_focus
* Realise the embed first before grabbing focus on it.Christian Persch2005-07-301-1/+2
| | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab_full): Realise the embed first before grabbing focus on it.
* Work around gtkmozembed focus bug. Fixes bug #105153.Christian Persch2005-07-291-2/+43
| | | | | | | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (url_is_empty), (load_homepage), (ephy_shell_new_tab_full): Work around gtkmozembed focus bug. Fixes bug #105153.
* Set title of loading page to the address, iff the page was blank before.Christian Persch2005-07-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (get_title_from_address), (ephy_tab_set_loading_title), (ephy_tab_set_address), (ephy_tab_set_load_status), (ephy_tab_get_load_status), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ephy_tab_content_change_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-window.c: (sync_tab_typed_address), (sync_tab_title), (ephy_window_set_active_tab): * src/epiphany.defs: Set title of loading page to the address, iff the page was blank before. Fixes bug #115337 and bug #171622. * src/ephy-session.c: (ephy_session_close): In ephy_session_close(), close open dialogues first.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-041-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Windows opened from links are not always popups. Windows with menu barJean-François Rameau2005-05-231-1/+7
| | | | | | | | | | 2005-05-23 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_window_cb): Windows opened from links are not always popups. Windows with menu bar toggled on are not considered as popups. #304992
* A src/ephy-action-helper.c: A src/ephy-action-helper.h: AChristian Persch2005-04-191-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/Makefile.am: A src/ephy-action-helper.c: A src/ephy-action-helper.h: A src/ephy-lockdown.c: A src/ephy-lockdown.h: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_lockdown), (ephy_shell_get_extensions_manager): * src/ephy-tab.c: (ephy_tab_set_location): * src/ephy-toolbar.c: (ephy_toolbar_set_window), (ephy_toolbar_set_navigation_actions), (ephy_toolbar_finalize): * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_load_status), (show_embed_popup), (update_tabs_menu_sensitivity), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor): * src/popup-commands.c: Move lockdown from EphyWindow into an internal extension.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-181-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-notebook.c: (ephy_notebook_set_dnd_enabled), (ephy_notebook_get_property), (ephy_notebook_set_property), (ephy_notebook_class_init), (move_tab_to_another_notebook), (button_press_cb), (ephy_notebook_init): * src/ephy-notebook.h: * src/ephy-session.c: (ephy_session_get_active_window): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_class_init), (popups_manager_new_window_info), (ephy_tab_dispose), (ephy_tab_finalize), (let_me_resize_hack), (ephy_tab_set_size), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (update_actions_sensitivity), (sync_tab_visibility), (show_embed_popup), (let_me_resize_hack), (tab_size_to_cb), (ephy_window_set_active_tab), (ephy_window_set_chrome), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_add_tab), (ephy_window_show), (ephy_window_view_popup_windows_cb), (ephy_window_get_is_popup): * src/ephy-window.h: Rework popup windows. Introduce "is-popup" property on EphyWindow to indicate a window who will only have one tab, and can be resized by javascript calls. Fixes bug #136288 and #155395.
* Load the page after showing the window. That way, if mozilla throws up anChristian Persch2005-02-211-10/+10
| | | | | | | | | 2005-02-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab_full): Load the page after showing the window. That way, if mozilla throws up an alert, the window is already there.
* Move style notifier to ephy-toolbars-model, and also apply the flags toChristian Persch2005-02-101-53/+0
| | | | | | | | | | | | | | 2005-02-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (update_flags), (update_flags_and_save_changes), (get_toolbar_style), (toolbar_style_notifier), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize): Move style notifier to ephy-toolbars-model, and also apply the flags to newly added toolbars.
* Add chrome param to ephy_shell_new_tab_full, and use it inChristian Persch2005-02-031-14/+27
| | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Add chrome param to ephy_shell_new_tab_full, and use it in ephy_shell_new_window_cb(). Fixes bug #165566.
* Define variants with startup ID.Christian Persch2005-02-021-17/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Plug a mem leak.Christian Persch2005-02-021-0/+2
| | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (toolbar_style_notifier): Plug a mem leak.
* Don't weak ref the shell when it's finalised already. Fixes bug #165542.Christian Persch2005-02-021-0/+1
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_finalize): Don't weak ref the shell when it's finalised already. Fixes bug #165542.
* Move new-window signal to the embed single, and new window creation fromChristian Persch2005-01-301-4/+38
| | | | | | | | | | | | | | | | | | | | | 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.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Add a alert when the user clicks on a sidebar link, telling that theCrispin Flowerday2005-01-251-0/+65
| | | | | | | | | | | | | 2005-01-24 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-shell.c: (impl_get_embed_single), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * src/ephy-shell.c: (ephy_shell_class_init), (ephy_shell_add_sidebar_cb), (impl_get_embed_single): Add a alert when the user clicks on a sidebar link, telling that the sidebar extension is required. Fixes bug #162685
* Add a function to get the default ephy_shell, this makes it easier forCrispin Flowerday2005-01-161-0/+14
| | | | | | | | | | 2005-01-15 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-shell.c (ephy_shell_get_default): * src/ephy-shell.h: Add a function to get the default ephy_shell, this makes it easier for bindings to get it.
* Add Toolbar toggle to document context menu in fullscreen mode.Christian Persch2005-01-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: Add Toolbar toggle to document context menu in fullscreen mode. * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (update_fixed), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: Changed to allow setting a toolbar as fixed, not just one item. * lib/widgets/ephy-search-entry.h: Add _ prefixed struct declarations. * po/POTFILES.in: Updated. * src/Makefile.am: A src/ephy-fullscreen-popup.c: A src/ephy-fullscreen-popup.h: * src/ephy-history-window.c: * src/ephy-shell.c: (ephy_shell_new_tab): A src/ephy-toolbar.c: A src/ephy-toolbar.h: * src/ephy-window.c: (destroy_fullscreen_popup), (ephy_window_destroy), (exit_fullscreen_clicked_cb), (get_toolbar_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_address), (sync_tab_icon), (sync_tab_navigation), (sync_tab_security), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (modal_alert_cb), (ephy_window_focus_in_event), (ephy_window_focus_out_event), (ephy_window_init), (ephy_window_activate_location): R src/toolbar.c: R src/toolbar.h: * src/window-commands.c: (window_cmd_load_location): Implemented in-toolbar exit button, and integrated status indicator in the exit fullscreen popup. Moved toolbar.[ch] to ephy-toolbar.[ch] for namespace correcness, and much-needed code cleanup.
* A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h:Christian Persch2005-01-101-0/+50
| | | | | | | | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-notebook.c: (tab_label_style_set_cb): * src/ephy-shell.c: (ephy_shell_finalize), (toolbar_style_notifier), (ephy_shell_get_toolbars_model): A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h: * src/window-commands.c: (window_cmd_edit_toolbar): Move toolbar editor dialogue into its own class, and implement a toolbar style override there. Fixes bug #102520.
* A lib/ephy-dbus.c: A lib/ephy-dbus.h:Christian Persch2005-01-101-0/+29
| | | | | | | | | | | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/Makefile.am: A lib/ephy-dbus.c: A lib/ephy-dbus.h: * lib/ephy-marshal.list: * src/Makefile.am: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_dbus_service): * src/ephy-shell.h: Add experimental dbus service, disabled by default. Configure with --enable-dbus to enable.
* Remove unused include from public header ephy-window.h.Christian Persch2005-01-091-0/+1
| | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: * src/ephy-tabs-menu.c: * src/ephy-window.c: * src/ephy-window.h: * src/pdm-dialog.c: * src/prefs-dialog.c: * src/window-commands.c: Remove unused include from public header ephy-window.h.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-071-91/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_*.
* Add some more types for enums and flagsCrispin Flowerday2005-01-041-0/+90
| | | | | | | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-shell.c: (ephy_shell_error_get_type), (ephy_shell_startup_flags_get_type), (ephy_new_tab_flags_get_type): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type): * src/ephy-tab.h: Add some more types for enums and flags
* A src/ephy-home-action.c: (ephy_home_action_activate),Christian Persch2004-12-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (add_action_for_bookmark), (ephy_bookmarks_menu_class_init): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type), (ephy_bookmarksbar_action_request): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (menu_activate_cb), (open_in_tabs_activate_cb), (ephy_topic_action_class_init): * src/bookmarks/ephy-topic-action.h: A src/ephy-home-action.c: (ephy_home_action_activate), (ephy_home_action_class_init), (ephy_home_action_get_type): A src/ephy-home-action.h: A src/ephy-link-action.c: (ephy_link_action_get_type): A src/ephy-link-action.h: A src/ephy-link.c: (ephy_link_flags_get_type), (ephy_link_base_init), (ephy_link_get_type), (ephy_link_open): A src/ephy-link.h: * src/ephy-location-action.c: (ephy_location_action_get_type), (action_activated_cb), (location_url_activate_cb), (connect_proxy), (disconnect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (activate_back_or_forward_menu_item_cb), (activate_up_menu_item_cb), (build_back_or_forward_menu), (build_up_menu): * src/ephy-navigation-action.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (setup_ui_manager), (open_link_cb), (ephy_window_init): * src/toolbar.c: (toolbar_get_type), (toolbar_setup_actions): * src/window-commands.c: * src/window-commands.h: Consolidate link opening in one place by introducing an EphyLink interface which bookmarks, topics, navigation, location, home, toolbars, bookmarks menu and favourites menu implement, forwarding the link opening to the window.
* Use gtk_show_about_dialog(), and handle urls and mailto.Adam Hooper2004-12-181-1/+1
|
* Don't move the window, just show it. Fixes bug #158923.Christian Persch2004-11-261-1/+1
| | | | | | | | 2004-11-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab): Don't move the window, just show it. Fixes bug #158923.
* Don't hardcode "epiphany" as argv[0], use g_get_prgname() instead. FixesChristian Persch2004-11-121-1/+6
| | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (save_yourself_cb): Don't hardcode "epiphany" as argv[0], use g_get_prgname() instead. Fixes bug #118427.
* 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.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-281-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* De-couple instantiation and initialisation of the extensions manager.Christian Persch2004-10-261-0/+2
| | | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_init), (ephy_extensions_manager_startup): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): De-couple instantiation and initialisation of the extensions manager. Fixes double-instance and weirdness and double-type-registration on startup when extensions use the session in their instance_init.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: AChristian Persch2004-10-171-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: R lib/ephy-module-loader.c: R lib/ephy-module-loader.h: A lib/ephy-module.c: (ephy_module_get_type), (ephy_module_load), (ephy_module_unload), (ephy_module_get_path), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize), (ephy_module_class_init), (ephy_module_new): A lib/ephy-module.h: s/EphyModuleLoader/EphyModule/g since "loader" now means something different. A lib/ephy-loader.c: (ephy_loader_get_type), (ephy_loader_type), (ephy_loader_get_object), (ephy_loader_release_object): A lib/ephy-loader.h: Generic object loader. A lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type), (free_loader_data), (ephy_shlib_loader_init), (ephy_shlib_loader_finalize), (find_library), (find_object), (idle_unref), (impl_get_object), (impl_release_object), (ephy_shlib_loader_iface_init), (ephy_shlib_loader_class_init): A lib/ephy-shlib-loader.h: A .so loader. * src/Makefile.am: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_register), (ephy_extensions_manager_get_extensions), (free_extension_info), (free_loader_info), (find_extension_info), (ephy_extensions_manager_load_file), (find_loader), (get_loader_for_type), (attach_window), (load_extension), (detach_window), (unload_extension), (ephy_extensions_manager_load_dir), (active_extensions_notifier), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_class_init): * src/ephy-extensions-manager.h: Read extension descriptions from .xml, load them with the specified loader (for now, just only .so is supported). * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): Minor API change in extensions manager. * data/epiphany.schemas.in: Add extensions-manager-ui as default active extension. 2004-10-10 Marco Pesenti Gritti <marco@gnome.org>
* Don't reference private objects from public headers. Fixes bug #153766.Christian Persch2004-09-281-2/+2
| | | | | | | | | | | | | | | | | | 2004-09-27 Christian Persch <chpe@cvs.gnome.org> * lib/egg/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (remove_from_model), (move_in_model): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_property): * src/bookmarks/ephy-topic-action.c: (remove_from_model), (move_in_model): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): Don't reference private objects from public headers. Fixes bug #153766.
* Load/unload extensions based on GConf keyAdam Hooper2004-09-141-3/+3
| | | | | | /apps/epiphany/general/active_extensions. Update documentation a bit (i.e., make sure it actually builds).
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-24/+2
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Add debug outputChristian Persch2004-08-281-0/+2
|
* Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioningChristian Persch2004-08-061-13/+7
| | | | | | | | | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_parse_uri_list): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): Fix dragging of urls which gnome-vfs can't handle. Fix new tab positioning when opening tabs from drags.
* Add disable_quit, disable_new_window, first_window_fullscreen lockdownMarco Pesenti Gritti2004-07-191-0/+2
| | | | | | | | | | | | | | | 2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
* Append tabs at the end instead of grouping them near the current one.Marco Pesenti Gritti2004-06-201-6/+1
| | | | | | | | | | | | | | | | | 2004-06-19 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (ephy_notebook_finalize), (ephy_notebook_add_tab), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): * src/ephy-window.c: (ephy_window_add_tab): Append tabs at the end instead of grouping them near the current one.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-111-8/+21
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* Also load extensions from /home/users/rossRoss Burton2004-06-071-0/+7
|
* Removed the nautilus view.Christian Persch2004-03-301-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.Christian Persch2004-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-notebook.c: (ephy_notebook_class_init), (tab_label_size_request_cb), (ephy_notebook_move_tab), (move_tab), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (close_button_clicked_cb), (build_tab_label), (ephy_notebook_insert_tab), (smart_tab_switching_on_closure), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-session.c: (tab_added_cb), (tab_removed_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_get_type), (ephy_tab_size_allocate), (ephy_tab_parent_set), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_new), (ephy_tab_get_embed), (ephy_tab_for_embed), (ephy_tab_new_window_cb), (let_me_resize_hack), (ephy_tab_visibility_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_update): * src/ephy-window.c: (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (tab_delete_cb), (setup_notebook), (ephy_window_add_tab), (ephy_window_jump_to_tab), (real_get_active_tab), (ephy_window_remove_tab), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_get_tabs): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child.
* Decouple extensions manager initialisation and extensions loading. Fixes aChristian Persch2004-02-021-1/+5
| | | | | | | | | | | | 2004-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_init): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Decouple extensions manager initialisation and extensions loading. Fixes a crash when an extensions tried to get the session, causing us to load extensions more than once.
* New function to get temp directory and moved ephy_shell_delete_on_exit toChristopher James Lahey2004-01-231-20/+0
| | | | | | | | | | | | | | | | | | 2004-01-22 Christopher James Lahey <clahey@ximian.com> * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable.
* Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed allChristian Persch2003-12-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-1/+1
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-071-145/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-07 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers.
* pass the shell to the callbacks as expected. Fix warnings.Marco Pesenti Gritti2003-12-021-2/+2
| | | | | | | | 2003-12-01 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-shell.c: (ephy_shell_get_history_window): pass the shell to the callbacks as expected. Fix warnings.
* Improved API and implementation of EphyDialog. Add support for new comboChristian Persch2003-11-301-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * embed/downloader-view.c: (downloader_view_build_ui): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_new_with_parent): * embed/ephy-encodings.c: (ephy_encodings_get_detectors): * embed/ephy-encodings.h: * embed/find-dialog.c: (update_navigation_controls), (set_properties), (impl_show), (find_dialog_class_init), (find_dialog_init), (find_dialog_new_with_parent): * embed/print-dialog.c: (impl_show), (print_dialog_init), (print_dialog_new_with_parent), (print_get_info): * lib/ephy-dialog.c: (ephy_dialog_get_type), (lookup_info), (set_sensitivity), (set_value_from_pref), (set_pref_from_value), (set_value_from_editable), (set_value_from_optionmenu), (set_value_from_combobox), (get_radio_button_active_index), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_editable_from_value), (get_index_from_value), (set_optionmenu_from_value), (compare_values), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_spin_button_from_value), (set_togglebutton_from_value), (set_info_from_value), (set_pref_from_info), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (spinbutton_changed_cb), (changed_cb), (set_info_from_pref), (connect_signals), (disconnect_signals), (init_props), (load_info), (save_info), (setup_default_size), (dialog_destroy_cb), (impl_construct), (impl_show), (ephy_dialog_set_modal), (ephy_dialog_add_enum), (ephy_dialog_set_data_column), (ephy_dialog_set_pref), (ephy_dialog_set_size_group), (ephy_dialog_construct), (ephy_dialog_show), (ephy_dialog_run), (ephy_dialog_get_control), (ephy_dialog_get_value), (ephy_dialog_set_value), (free_prop_info), (ephy_dialog_init), (ephy_dialog_dispose), (ephy_dialog_finalize), (ephy_dialog_set_parent), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init), (ephy_dialog_new), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * src/ephy-encoding-dialog.c: (sync_embed_cb), (sync_parent_window_cb), (activate_choice), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_new): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_pdm_dialog), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/language-editor.c: (language_editor_get_type), (language_editor_class_init), (language_editor_update_pref), (language_editor_add_button_clicked_cb), (language_editor_set_view), (language_editor_init), (language_editor_new), (language_editor_set_model), (language_editor_add): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_show_help), (action_treeview_selection_changed_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (pdm_dialog_passwords_construct), (pdm_dialog_init), (show_cookies_properties): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_class_init), (prefs_dialog_show_help), (setup_font_combo), (fonts_language_combo_changed_cb), (create_fonts_language_menu), (create_node_combo), (language_combo_changed_cb), (create_language_menu), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_dialog_response_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Improved API and implementation of EphyDialog. Add support for new combo box, and removed optionmenu. Port all dialogues to new API and use combobox instead of optionmenus.
* Make PDM dialogue a singleton.Christian Persch2003-11-271-0/+23
| | | | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_history_window), (ephy_shell_get_pdm_dialog): * src/ephy-shell.h: * src/pdm-dialog.c: (pdm_dialog_response_cb): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Make PDM dialogue a singleton.
* *** empty log message ***Marco Pesenti Gritti2003-11-171-4/+12
|
* Move gnome session code in the shell.Marco Pesenti Gritti2003-11-171-0/+67
| | | | | | | | | | | 2003-11-16 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-session.c: (get_session_filename), (ephy_session_init), (ephy_session_finalize): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (gnome_session_init), (ephy_shell_startup): Move gnome session code in the shell.
* Use an unique factory for both interfaces.Marco Pesenti Gritti2003-11-151-68/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-14 Marco Pesenti Gritti <marco@gnome.org> * data/GNOME_Epiphany_Automation.server.in: * data/GNOME_Epiphany_NautilusView.server.in: Use an unique factory for both interfaces. * data/ui/Makefile.am: Do not try to merge translations in nautilus xml. * src/ephy-nautilus-view.c: (disconnected_idle), (control_disconnected_cb), (ephy_nautilus_view_instance_init), (ephy_nautilus_view_finalize): Unref the view on control disconnected, not on finalize. * src/ephy-main.c: (main): Add a server mode argument, used internally by bonobo interface. Free popt context only when no more necessary. * src/ephy-automation.c: * src/ephy-automation.h: * src/ephy-shell.c: (ephy_nautilus_view_new), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (path_from_command_line_arg), (open_urls), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab): * src/ephy-shell.h: When running in server mode unref (and so exit) on a timeout. Expand args passed to the command line.
* Looks like we need to unregister factory since we initialized it byMarco Pesenti Gritti2003-11-141-0/+3
| | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-shell.c: (ephy_shell_finalize): Looks like we need to unregister factory since we initialized it by ourself.
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-141-75/+23
| | | | | | | | | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): * src/ephy-window.c: (ensure_default_icon), (ephy_window_init): Rework shell services initialization so that it happen either on every instance, before the automation stuff is used, either when they are requested. This appear to fix the crash with two instances runned simultaneously. (Christian I'm not quite sure this is ok for plugins manager, if there are problems let me know.)
* ChangeLogMarco Pesenti Gritti2003-11-131-46/+163
|
* Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler andMarco Pesenti Gritti2003-11-111-24/+0
| | | | | | | | | | | | | | | | | | | 2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs.
* New extensions API.Christian Persch2003-11-111-95/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-10 Christian Persch <chpe@cvs.gnome.org> New extensions API. * Makefile.am: * configure.in: * lib/Makefile.am: * lib/ephy-module-loader.c: (ephy_module_loader_get_type), (ephy_module_loader_new), (ephy_module_loader_load), (ephy_module_loader_unload), (ephy_module_loader_class_init), (ephy_module_loader_init), (ephy_module_loader_finalize), (ephy_module_loader_factory): * lib/ephy-module-loader.h: * plugins/.cvsignore: * plugins/Makefile.am: * plugins/sample/.cvsignore: * plugins/sample/Makefile.am: * plugins/sample/sample.c: * src/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (get_target_window): * src/bookmarks/ephy-bookmarks.c: * src/ephy-automation.c: (ephy_automation_factory), (ephy_automation_factory_new), (impl_ephy_automation_loadurl), (impl_ephy_automation_load_session), (ephy_automation_class_init): * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type), (ephy_extensions_manager_instantiate_extension), (ephy_extensions_manager_load), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_add), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_iface_init), (ephy_extensions_manager_class_init), (ephy_extensions_manager_new): * src/ephy-extensions-manager.h: * src/ephy-history-window.c: (get_target_window): * src/ephy-plugin.c: * src/ephy-plugin.h: * src/ephy-session.c: (ephy_session_get_type), (get_session_filename), (session_delete), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (impl_attach_window), (impl_detach_window), (save_yourself_cb), (die_cb), (gnome_session_attach), (gnome_session_detach), (ensure_session_directory), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_iface_init), (ephy_session_class_init), (offer_to_resume), (ephy_session_autoresume), (ephy_session_close), (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load), (ephy_session_get_windows), (ephy_session_add_window), (ephy_session_remove_window), (ephy_session_get_active_window): * src/ephy-session.h: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_destroy), (ephy_window_init): * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/session.c: * src/session.h: Create a new extensions API. Make session an internal extension :) Port callers to session API changes.
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-46/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
* More headers fixup.Marco Pesenti Gritti2003-11-071-1/+1
| | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-main.c: * src/ephy-shell.c: More headers fixup. * src/window-commands.c: (window_cmd_help_about): Use gtk icon theme here too.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.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-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.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/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Open source in the default editor and remove the unused copy api. Add aMarco Pesenti Gritti2003-10-281-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Change the behaviour of --nautilus-view such that the process doesn't exitMark McLoughlin2003-10-171-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-16 Mark McLoughlin <mark@skynet.ie> Change the behaviour of --nautilus-view such that the process doesn't exit until the last control has been destroyed. The previous behaviour caused intermittent activation failure when the process timed out and died before the view could be created - bug #124768. * src/ephy-main.c: (ephy_main_start): don't unref the shell when started with --nautilus-view. (ephy_main_dummy_url_argument), (ephy_main_translate_url_arguments): create a dummy argument when no arguments are supplied which will cause the default window to be opened. * src/ephy-shell.c: (ephy_nautilus_view_all_controls_dead): unref the shell here causing the process to exit. (ephy_nautilus_view_init_factory): setup the all_controls_dead callback. (ephy_nautilus_view_new): instrument the control.
* Merge completion branchMarco Pesenti Gritti2003-10-121-33/+0
|
* Simpler implementation.Marco Pesenti Gritti2003-09-271-1/+1
| | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_get_pixbuf_from_mime_type): Simpler implementation. * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): * src/ephy-shell.c: (ephy_shell_init): Pass 0 as flags
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-10/+15
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Don't destroy the session when all windows are closed.Christian Persch2003-09-251-8/+1
| | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session): * src/session.c: (session_new), (save_tab), (parse_embed), (session_remove_window): Don't destroy the session when all windows are closed.
* Refactor initialization/automation code. Now all the code used by theMarco Pesenti Gritti2003-09-241-0/+32
| | | | | | | | | | | | | | | 2003-09-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-automation.c: (ephy_automation_factory_new): * src/ephy-automation.h: * src/ephy-main.c: (main), (ephy_main_start): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize): Refactor initialization/automation code. Now all the code used by the first instance is in ephy_shell, all the code used by other instances is in ephy_main. Unref the factory before quitting so we dont risk new automation object are created and used with a dead shell.
* Do not use .in for not to translate files.Marco Pesenti Gritti2003-09-191-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-19 Marco Pesenti Gritti <marco@gnome.org> * data/ui/Makefile.am: * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-fs-toolbar.xml: * data/ui/epiphany-history-window-ui.xml.in: * data/ui/epiphany-toolbar.xml.in: * data/ui/epiphany-ui.xml.in: Do not use .in for not to translate files. * lib/egg/egg-editable-toolbar.c: (create_toolbar), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge): * lib/egg/egg-toolbars-model.c: (parse_toolbars): Handle change of properties correctly. Add a toolbar style property in the xml. * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_init): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen): * src/toolbar.c: (bookmark_destroy_cb), (toolbar_ensure_action), (init_bookmarks_toolbar), (init_normal_mode), (init_fullscreen_mode), (window_state_event_cb), (toolbar_set_window), (toolbar_set_visibility): * src/toolbar.h: * src/window-commands.c: (toolbar_editor_response_cb), (window_cmd_edit_toolbar): Special, more compact, toolbar layout for fullscreen.
* Make spinner status per tab. Remove the default to tab pref, use tab byMarco Pesenti Gritti2003-09-101-3/+1
| | | | | | | | | | | | | | | | | | | 2003-09-10 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * lib/ephy-prefs.h: * src/ephy-notebook.c: (update_tabs_visibility), (ephy_notebook_init): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (open_link_in_new_tab): * src/ephy-window.c: (sync_tab_load_status), (ephy_window_set_active_tab), (tab_added_cb), (tab_removed_cb): * src/prefs-dialog.c: Make spinner status per tab. Remove the default to tab pref, use tab by default for middle click on links, add a always_show_tabs_bar hidden pref.
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-15/+11
|
* Correct insertion order of new tabs.Christian Persch2003-08-061-3/+4
| | | | | | | | | 2003-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nodebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_shell_new_tab): Correct insertion order of new tabs.
* Fix blank page loading.Christian Persch2003-08-061-5/+10
| | | | | | | | | | | | | 2003-08-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (load_homepage): * src/window-commands.c: (window_cmd_go_home): Fix blank page loading. * src/ephy-shell.c: (ephy_shell_new_tab): Fix new tab positioning.
* 2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-131-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * configure.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (impl_get_downloader_view): * embed/ephy-embed-shell.h: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-langs.h: * lib/ephy-node.c: (unref_signal_objects), (ephy_node_signal_connect_object): * plugins/Makefile.am: * plugins/sample/Makefile.am: * plugins/sample/sample.c: (bmk_added), (bmk_removed), (bmk_changed), (switch_page_cb), (window_focus_in_cb), (location_changed_cb), (tab_added_cb), (new_window_cb), (plugin_init): * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu): * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_quit), (impl_ephy_automation_load_session): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (provide_favicon): * src/ephy-location-action.c: (connect_proxy): * src/ephy-notebook.c: (sync_icon): * src/ephy-shell.c: (ephy_shell_get_active_window), (ephy_shell_get_session), (ephy_shell_get_autocompletion), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_action): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_icon), (ephy_window_init), (remove_from_session), (ephy_window_get_active_tab):
* Very simple plugin framework, unused for now. We will start makingMarco Pesenti Gritti2003-07-121-0/+42
| | | | | | | | | | | | | | | | | | | | | | 2003-07-12 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * plugins/.cvsignore: * plugins/Makefile.am: * plugins/sample/.cvsignore: * plugins/sample/Makefile.am: * plugins/sample/sample.c: (bmks_changed), (plugin_init), (plugin_exit): * src/Makefile.am: * src/ephy-plugin.c: (ephy_plugin_get_type), (ephy_plugin_new), (ephy_plugin_load), (ephy_plugin_unload), (ephy_plugin_class_init), (ephy_plugin_init), (ephy_plugin_finalize): * src/ephy-plugin.h: * src/ephy-shell.c: (ephy_shell_load_plugins), (ephy_shell_init), (ephy_shell_finalize): Very simple plugin framework, unused for now. We will start making something useful with it only post 1.0
* Make sure we ever save bookmarks after changes, so they dont get lost onMarco Pesenti Gritti2003-07-061-32/+0
| | | | | | | | | | | | | | | | | | | | | | 2003-07-06 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults), (save_bookmarks_delayed), (ephy_bookmarks_set_dirty), (bookmarks_changed_cb), (bookmarks_removed_cb), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (item_added), (item_removed), (toolbar_added), (toolbar_removed), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize): Make sure we ever save bookmarks after changes, so they dont get lost on crashes.
* Remove use of acconfig.h.Marco Pesenti Gritti2003-07-041-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Remove use of acconfig.h. * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_folder), (ephy_bookmarks_import_mozilla): * src/ephy-shell.c: (ephy_shell_init): Show an alert when mozilla cant start instead of crashing. Do not import bookmarks dups. Cleanup some mozilla code headers inclusion.
* Use window_load_url when useful. Right now just a cleanup but will beMarco Pesenti Gritti2003-06-261-1/+1
| | | | | | | | | | | | | | 2003-06-26 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (go_location_cb): * src/ephy-favorites-menu.c: (go_location_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/toolbar.c: (go_location_cb): * src/window-commands.c: (window_cmd_go_home): Use window_load_url when useful. Right now just a cleanup but will be useful when mozilla focus will stop to suck.
* Rewrite the url typed by user overwrite logic to fix bugs.Marco Pesenti Gritti2003-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (location_focus_out_cb), (ephy_location_entry_init), (insert_text_cb), (ephy_location_entry_key_press_event_cb), (ephy_location_entry_activate_cb), (ephy_location_entry_set_location), (ephy_location_entry_autocompletion_window_url_selected_cb), (ephy_location_entry_autocompletion_window_url_activated_cb), (ephy_location_entry_editable_changed_cb): * lib/widgets/ephy-location-entry.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_link_message), (ephy_tab_set_window), (ephy_tab_address_cb), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location): * src/ephy-tab.h: * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/popup-commands.c: (get_event_info), (popup_cmd_copy_link_address): * src/toolbar.c: (get_location_entry), (location_user_changed_cb), (toolbar_set_window), (toolbar_activate_location), (toolbar_set_location), (toolbar_get_location), (toolbar_clear_location_history): * src/toolbar.h: Rewrite the url typed by user overwrite logic to fix bugs.
* With the gtk fullscreen api things can be cleaner: use the api instead ofMarco Pesenti Gritti2003-06-191-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-types.h: * lib/ephy-state.c: (window_configure_event_cb), (window_state_event_cb): * src/ephy-window.c: (ephy_window_destroy), (ephy_window_class_init), (update_exit_fullscreen_popup_position), (size_changed_cb), (exit_fullscreen_button_clicked_cb), (update_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (ephy_window_state_event_cb), (setup_window), (sync_tab_icon), (sync_tab_load_progress), (sync_tab_load_status), (ephy_window_init), (save_window_chrome), (translate_default_chrome), (update_layout_toggles), (ephy_window_set_chrome), (ephy_window_show): * src/window-commands.c: (window_cmd_view_fullscreen): With the gtk fullscreen api things can be cleaner: use the api instead of chromes to handle fullscreen, dont persist window state when it's fullscreen. Destroy exit fullscreen button on window destroy. * src/ephy-shell.c: (ephy_shell_new_tab): Give up on cloning until we find a good way to do it :/
* Sigh. Fix some more mem leaks.Christian Persch2003-06-131-0/+1
| | | | | | | | | | | | | 2003-06-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup.c: (embed_popup_open_frame_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed.cpp: (impl_go_up): * src/ephy-nautilus-view.c: (gnv_popup_cmd_frame_in_new_window): * src/ephy-shell.c: (ephy_shell_new_tab): * src/popup-commands.c: (popup_cmd_open_frame): Sigh. Fix some more mem leaks.
* Do not emit the TABS_CHANGED signal; the tab's egg action will itself takeChristian Persch2003-06-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_set_page_title): Do not emit the TABS_CHANGED signal; the tab's egg action will itself take care of updating the menu entry. * src/ephy-tab.h: * src/eph-tab.c: (ephy_tab_set_property), (ephy_tab_get_property) (ephy_tab_class_init): Object properties for tab address, icon-address, load-progress, load-status, message, security, title, window and zoom. * src/ephy-tab.c: (ephy_tab_action_activate_cb), (ephy_tab_get_action), (ephy_tab_init): Augment the tab by an egg action for use in the tabs menu. * src/ephy-tab.c: (ephy_tab_set_load_status), (ephy_tab_set_link_message), (ephy_tab_set_favicon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_get_icon_address), (ephy_tab_favicon_cb), (ephy_tab_address_cb), (ephy_tab_title_cb), (build_net_state_message), (ensure_address), (ephy_tab_net_state_cb), (ephy_tab_security_change_cb), (ephy_tab_set_load_percent), (ephy_tab_get_load_percent), (ephy_tab_get_status_message), (ephy_tab_set_title), (ephy_tab_set_location), (ephy_tab_set_security_level), (ephy_tab_get_security_level), (ephy_tab_set_zoom), (ephy_tab_get_zoom): Getters/setters for the tab's object properties. Use the setters in the callbacks instead of setting the values directly. * src/ephy-tabs-menu.c: (ephy_tabs_menu_set_action_accelerator), (ephy_tabs_menu_update): Use the tab's egg action directly instead of dummy egg actions. This makes updating the tab titles in the tabs menu work automagically.
* Get rid of starthere: and default to google, as discussed with Seth. Add aMarco Pesenti Gritti2003-06-091-83/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-bookmark-editor-ui.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_smart_url), (entry_activated_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (sync_bookmark_properties), (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (location_entry_changed_cb): * src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog), (add_bookmarks_source_menu), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (mozilla_parse_bookmarks), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach), (ephy_bookmarks_init_defaults), (update_topics_list), (update_has_smart_address), (ephy_bookmarks_add), (ephy_bookmarks_set_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_finalize), (ephy_new_bookmark_add), (ephy_new_bookmark_init), (ephy_new_bookmark_set_title): * src/bookmarks/ephy-new-bookmark.h: * src/ephy-shell.c: (ephy_shell_init): * src/popup-commands.c: (popup_cmd_bookmark_link): Get rid of starthere: and default to google, as discussed with Seth. Add a way to import bookmarks from the editor. (you still cant specificy a file, that's sort of low priority for me, but we have a plan on how to do it). Allow to edit smart bookmarks in the user interface. The address field is used and when there is a %s, it's considered a smart url. (like mozilla does it).
* Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3.Jeremy Katz2003-06-091-1/+2
| | | | | | | | 2003-06-08 Jeremy Katz <katzj@redhat.com> * src/ephy-shell.c (ephy_shell_init): Explicitly create pointer to avoid strict aliasing warnings with gcc 3.3. * src/window-commands.c (window_cmd_help_about): Likewise.