aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
Commit message (Collapse)AuthorAgeFilesLines
* EphyShell: add support for starting without windowsGiovanni Campagna2013-08-291-0/+6
| | | | | | | | 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
* Move profile directory check to after checking for application modeGustavo Noronha Silva2013-06-101-7/+7
| | | | | Since application mode also has a profile directory, we will enter the non-app-mode profile shell mode instead.
* ephy-main: actually add the FIXME that goes with the previous wayland fixClaudio Saavedra2013-05-201-0/+4
|
* Make sure we only rely on X11 to obtain timestamps when we are running in a ↵Iago Toral Quiroga2013-05-201-3/+15
| | | | | | | | X session This avoids a startup crash when running on Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=700691
* Allow running a regular standalone instance with a different profileGustavo Noronha Silva2013-05-041-6/+7
| | | | | | | | | Adds a new standalone shell mode and removes restrictions on using --profile in a non-private, non-incognito instance of the browser. Useful for debugging or improving features that rely on being in a regular session, such as password and session saving/restoring. https://bugzilla.gnome.org/show_bug.cgi?id=699602
* Move code to initialize preferences from ephy-main to ephy-shellCarlos Garcia Campos2013-03-201-28/+0
| | | | | | | | | | 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
* web-extension: Implement pre-filled forms in WebKit2Carlos Garcia Campos2013-03-151-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=684439
* Set the disk cache directory depending on the ephy mode in WebKit2Carlos Garcia Campos2013-03-131-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695345
* web-extension: Implement adblocker in WebKit2Carlos Garcia Campos2013-03-071-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=695307
* ephy-main: get rid of a compiler warningXan Lopez2013-02-221-0/+2
|
* web-extension: Use a different service name for every web process extensionCarlos Garcia Campos2013-02-211-0/+5
|
* embed: Implement unsubmitted modified forms warning in WebKit2Carlos Garcia Campos2013-02-191-0/+6
| | | | | | Installing a web extension to access the DOM. https://bugzilla.gnome.org/show_bug.cgi?id=684437
* ephy-embed-shell: add EPHY_EMBED_SHELL_MODE_INCOGNITOClaudio Saavedra2013-02-081-2/+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
* Don't ask Xlib to skip ARGB visualsGiovanni Campagna2013-02-061-3/+0
| | | | | | | | | WebKit uses GLX windows internally, which will have alpha. If any of those windows receives an event, Gtk will attempt to create a foreign GdkWindow wrapping them, and will crash because XGetWindowAttributes will return a NULL visual. https://bugzilla.gnome.org/show_bug.cgi?id=693030
* ephy-state: rename to 'ephy-initial-state'Xan Lopez2012-12-161-2/+2
| | | | | | | | | | | | | The purpose of EphyState is to track the sizes and positions of windows, paned or expanders in order to remember what is the preferred *initial* and *default* state of those UI elements. So for example we merge the tracking of the size/positions of all main windows in one record, because we only need an initial value which we'll use as default for newly created EphyWindows. Since this is a very specific task, different to the actual tracking of all sizes and positions in EphySession in order to restore them at startup, rename the class to EphyInitialState to avoid confusions.
* ephy-main: remove debug leftovers that were broken nowXan Lopez2012-12-121-9/+0
| | | | | (15:45:30) descalante: come on (15:45:46) descalante: what is this, KDE?
* ephy-main: remove some dead codeXan Lopez2012-12-121-6/+1
|
* ephy-main: remove unused optionXan Lopez2012-12-121-13/+2
|
* ephy-main: delete profile on exit in incognito modeXan Lopez2012-12-121-1/+1
|
* First iteration for 'Incognito mode'Xan Lopez2012-12-121-6/+27
| | | | | | | | | | | | | | | 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
* ephy-shell: remove the ephy_shell globalDiego Escalante Urrelo2012-12-111-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* Remove option to launch Web as the bookmarks editorXan Lopez2012-12-101-10/+0
| | | | That thing is on its way out.
* ephy-main: remove ancient commented codeXan Lopez2012-10-091-1/+0
|
* Remove extensions supportXan Lopez2012-10-081-8/+0
| | | | | | | 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
* ephy-main: run the migration for any instance that is not a temporary ↵Claudio Saavedra2012-09-041-2/+3
| | | | | | private one https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-profile-utils: add a profile_dir parameter to ↵Claudio Saavedra2012-09-041-1/+1
| | | | | | | | | ephy_profile_utils_do_migration() This is passed further on to the migrator process. Right now this is unused. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-file-helpers: rename KEEP_TEMP_DIR to KEEP_DIRClaudio Saavedra2012-09-031-1/+1
| | | | | Since this is also used for persistency of temporary directories, but also for --profile.
* ephy-main: do not run the browser if the migrator failsXan Lopez2012-09-011-2/+7
| | | | Lot's of nasty things could potentially happen.
* ephy-main: fix typo in messageXan Lopez2012-05-191-1/+1
|
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-1/+1
|
* Allow for more fine-grained file helpers initXan Lopez2012-05-081-3/+10
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-081-0/+4
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* Drop the use of GTK accel mapsWilliam Jon McCann2012-05-081-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674870
* 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.
* ephy-embed-single: do not handle ephy-embed-prefsDiego Escalante Urrelo2012-04-111-0/+3
| | | | | | | | | ephy-embed-prefs acts like a singleton. Instead of calling init and shutdown in EphyEmbedSingle instances handle it in ephy-main as a true init/shutdown API like ephy-file-helpers. https://bugzilla.gnome.org/show_bug.cgi?id=673273
* Rip out the EggSMClient codeXan Lopez2012-03-281-2/+0
| | | | The brave new world is to use the session support in GtkApplication.
* ephy-main: run app mode only with a existing dirDiego Escalante Urrelo2012-03-111-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669700
* ephy-main: always set a default icon for windowsDiego Escalante Urrelo2012-02-091-0/+9
| | | | | | | The web-browser icon for the normal/private mode, or the corresponding Web Application icon. https://bugzilla.gnome.org/show_bug.cgi?id=669182
* ephy-main: tidy up indentationXan Lopez2012-01-271-1/+2
|
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-271-4/+1
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* And remove the last stock icon, bookmarksXan Lopez2012-01-271-1/+0
| | | | We can kill data/icons now.
* Make the user visible name Web in more placesJon McCann2012-01-241-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=666587
* make g_setenv() calls early enough during startupClaudio Saavedra2012-01-021-12/+12
| | | | | | | | g_setenv() and getenv() are not thread-safe, so we need to make sure that g_setenv() call in main is done earlier than anything that can trigger a getenv() call. https://bugzilla.gnome.org/show_bug.cgi?id=659145
* Remove g_thread_init callsXan Lopez2011-11-061-3/+0
| | | | They are not needed anymore.
* ephy-main: sort includes (and remove duplicates!)Xan Lopez2011-09-111-14/+9
|
* ephy-web-app-utils: rename ephy_delete_web_application to ↵Xan Lopez2011-09-031-1/+1
| | | | | | ephy_web_application_delete You know, use namespaces correctly and all that.
* Add --delete--application command line option to delete WebAppsXan Lopez2011-09-021-0/+16
| | | | | | Plus the necessary code to implement some sort of UI to do this for the 3.2 time frame. Hopefully for 3.4 we'll have a GNOME-wide system to deal with applications.
* Show a notification when the newly created web-app is ready to be usedXan Lopez2011-08-291-0/+6
| | | | | This will probably go away in 3.4 when the new dash design is introduced, but for now it's the best we have.
* ephy-main: more parameter sanity checkXan Lopez2011-08-291-0/+5
| | | | | Using private profile and app mode at the same time does not make sense.
* Add basic support for Web ApplicationsXan Lopez2011-08-291-11/+22
| | | | | | | | Allow to save any page as a "Web Application". A new .desktop file will be created, and added to the Shell as a new application. It will launch epiphany in application mode, with its own private profile (inheriting some data from the main profile, like the relevant domain cookies) and in a new process.
* Fixed a typoPriit Laes2011-07-181-1/+1
|
* Add an --application-mode flag and global modeXan Lopez2011-06-301-5/+20
| | | | | | | | | 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-1/+2
| | | | In preparation to add a new mode for WebApps.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-301-14/+10
| | | | | | | | | | | 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: set G_APPLICATION_NON_UNIQUE inside the objectXan Lopez2011-06-291-8/+0
| | | | Based on the private-instance paramater.
* 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-2/+3
| | | | We'll want to create our own in main(), this prepares us for that.
* ephy-main: use new indentation styleXan Lopez2011-06-291-336/+321
|
* Implement GtkApplication based activation and uniquenessClaudio Saavedra2011-06-241-250/+37
| | | | | | | | | | | | | | | | | | | | 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
* Move the save/load accelerators methods to the ephy file utilitiesClaudio Saavedra2011-06-091-39/+2
| | | | | | Second patch in an attempt to clean up ephy-main.c https://bugzilla.gnome.org/show_bug.cgi?id=652119
* Add ephy_string_commandline_args_to_uris() to ephy string utilitiesClaudio Saavedra2011-06-091-56/+12
| | | | | | | This is the first patch in an attempt to simplify epiphany's main() method, which is quite bulky by now. https://bugzilla.gnome.org/show_bug.cgi?id=652119
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-071-3/+18
| | | | | | | | | | | The migration code is now in the ephy-profile-migrator binary, this means: - epiphany is not linking to NSS anymore - lib/ephy-profile-migration.c was split into: + lib/ephy-profile-migrator.c: the new ephy-profile-migrator binary + lib/ephy-profile-utils.c: convenience _ephy_profile_*_form_auth_data functions. - testing for migration is done without running ephy-profile-migrator Bug #636685
* ephy-main: remove libnotify leftoverXan Lopez2010-11-061-4/+0
|
* Remove libnotify dependencyXan Lopez2010-10-291-9/+0
| | | | | We are going to revamp the downloads UI to fit better in the Shell design, but for now we can just get rid of this.
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-081-5/+7
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* Update for latest GTK+ 3.x release.Xan Lopez2010-09-111-1/+1
|
* Remove uneeded default handlers for about dialogDiego Escalante Urrelo2010-01-091-39/+0
| | | | | | | Since 2.18 url and email hooks are not necessary, GTK+ includes default handlers. Bug #509207
* Set program name to match the desktop fileGustavo Noronha Silva2009-11-121-0/+3
|
* Refactor EphyShell lifetime trackingXan Lopez2009-10-241-14/+9
| | | | | | | | | Stop having each EphyWindow ref the shell, and instead have the shell track all the newly created EphyWindows. When the last one is gone, quit the GTK+ mainloop. This is simpler and avoids potential reference cycles (see bug #573551). Bug #599348
* ephy-main.c: do not import gecko profile when running a private instanceXan Lopez2009-08-241-2/+3
|
* Add profile migration.Xan Lopez2009-03-131-2/+5
| | | | | | | Migrate cookies from Mozilla, both sqlite and txt formats (sqlite has priority in case both exist). svn path=/trunk/; revision=8880
* Simply use g_irepository_get_option_group()Christian Persch2009-02-081-17/+4
| | | | svn path=/trunk/; revision=8767
* Add gobject introspection support; use --enable-introspection.Christian Persch2009-02-071-0/+21
| | | | svn path=/trunk/; revision=8755
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Print version to stdout, not stderr.Christian Persch2008-09-271-1/+1
| | | | svn path=/trunk/; revision=8547
* Readd --version which was lost when removing libgnome usage.Christian Persch2008-09-271-1/+15
| | | | svn path=/trunk/; revision=8546
* Remove libgnome and libgnomeui dependency, using EggSMClient instead of ↵Christian Persch2008-09-251-22/+53
| | | | | | GnomeClient. svn path=/trunk/; revision=8541
* Move libnotify initialization to ephy-mainDiego Escalante Urrelo2008-08-041-0/+13
| | | | | | | This should fix the crash when libnotify was uninit before the notification was actually shown. Fix suggested by Colin Walters, closes: #536768. svn path=/trunk/; revision=8380
* Fix a typo in src/ephy-main.c and remove a FIXME.Diego Escalante Urrelo2008-07-311-2/+2
| | | | | | | Patch by Bruce Cowan, closes: #545614. FIXME removed by me. svn path=/trunk/; revision=8370
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-3/+1
| | | | svn path=/trunk/; revision=8265
* Remove a forgotten env var in ephy-main.c, it was a leftover of r8192 (removalDiego Escalante Urrelo2008-05-171-1/+0
| | | | | | of Pango checks). svn path=/trunk/; revision=8222
* Remove MOZ_DISABLE_PANGO checks.Christian Persch2008-04-071-17/+0
| | | | svn path=/trunk/; revision=8192
* Drop gnome-vfs dependency. Now Epiphany depends on glib >= 2.15.1.Cosimo Cecchi2008-01-141-9/+22
| | | | | | | Also, optional Zeroconf support depends on Avahi >= 0.6.22. Bug #507152. svn path=/trunk/; revision=7858
* Open externally opened link in current tab if it is blank.Cosimo Cecchi2008-01-111-1/+1
| | | | | | Fix bug #499613. svn path=/trunk/; revision=7856
* Implement ephy_file_delete_directory in lib/ephy-file-helpers.c so privateDiego Escalante Urrelo2007-09-291-1/+1
| | | | | | | | | instances of Epiphany remove the profile dir on exit. Note that the profile dir won't be deleted if it's a custom path. Fixes bug #329680. svn path=/trunk/; revision=7506
* Use g_option_group_set_translation_domain to translate commandlineGabor Kelemen2007-06-231-0/+3
| | | | | | | | | | 2007-06-22 Gabor Kelemen <kelemeng@gnome.hu> * src/ephy-main.c: Use g_option_group_set_translation_domain to translate commandline options. Fixes bug #450146 svn path=/trunk/; revision=7090
* 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
* Don't use C++-style comments in C files. No code changes, only commentsChristian Persch2007-03-061-2/+2
| | | | | | | | | | | | | | | | | | | | 2007-03-05 Christian Persch <chpe@svn.gnome.org> * lib/ephy-password-dialog.c: (update_capslock_warning), (ephy_password_dialog_constructor), (ephy_password_dialog_finalize), (ephy_password_dialog_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_updated): * src/ephy-cert-manager-dialog.c: (certs_manager_dialog_remove_button_clicked_cb), (certs_manager_dialog_finalize): * src/ephy-find-toolbar.c: (ephy_find_toolbar_init): * src/ephy-main.c: (unref_proxy_reply_cb): Don't use C++-style comments in C files. No code changes, only comments changed. Bug #414706, patch by John Millikin. svn path=/trunk/; revision=6940
* Changes "..." for the ellipsis character "…". Bug #324380. Patch byDiego Escalante Urrelo2007-01-091-1/+1
| | | | | | | | | | | | | | | | | | | 2007-01-09 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/ephy-history-window.c: * src/ephy-main.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-tab.c: * src/ephy-encoding-menu.c: * src/ephy-window.c: * data/glade/form-signing-dialog.glade: * data/glade/prefs-dialog.glade: Changes "..." for the ellipsis character "…". Bug #324380. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6810
* Make sure to init gthread as first call to glib.Christian Persch2007-01-011-0/+4
| | | | | | | | | | 2006-12-31 Christian Persch <chpe@svn.gnome.org> * src/ephy-main.c: (main): Make sure to init gthread as first call to glib. svn path=/trunk/; revision=6775
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Move code around.Christian Persch2006-12-091-6/+0
| | | | | | | | | 2006-12-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * src/ephy-main.c: (main): Move code around.
* Remove old stock iconsLuca Ferretti2006-12-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-08 Luca Ferretti <elle.uca@libero.it> * data/art/Makefile.am: * data/art/epiphany-bookmarks.png: * data/art/epiphany-download.png: * data/art/epiphany-entry.png: * data/art/epiphany-history.png: * data/art/epiphany-popup-hidden.png: * data/art/epiphany-popup-hidden.svg: Remove old stock icons * data/icons/16x16/actions/download.png: * data/icons/16x16/actions/epiphany-download.png: * data/icons/22x22/actions/download.png: * data/icons/22x22/actions/epiphany-download.png: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/download.png: * data/icons/24x24/actions/epiphany-download.png: * data/icons/24x24/actions/location-entry.png: * data/icons/24x24/actions/web-bookmarks.png: * data/icons/24x24/actions/web-history.png: * data/icons/32x32/actions/download.png: * data/icons/32x32/actions/epiphany-download.png: * data/icons/scalable/actions/download.svg: * data/icons/scalable/actions/epiphany-download.svg: Move old stock icons here and rename "epiphany-download" to "download" * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Use gtk_icon_source_set_icon_name for EPHY_STOCK* * lib/ephy-stock-icons.h: Update named icons to installed icons. * src/ephy-main.c: (main): Call gtk_icon_theme_append_search_path to add custom Ephy directory for themed icons. This should complete the icon theme support to Epiphany. Of course there is still some work to do, as well as provide fresh icons at all sizes and define the names.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-2/+2
|
* No need to double-init gnome-vfs.Christian Persch2006-07-241-1/+0
| | | | | | | | 2006-07-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): No need to double-init gnome-vfs.
* Add -p as short option format for --private-instance.Christian Persch2006-04-141-1/+1
| | | | | | | | 2006-04-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Add -p as short option format for --private-instance.
* A data/epiphany-pango.schemas:Christian Persch2006-04-101-6/+17
| | | | | | | | | | | | 2006-04-09 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: A data/epiphany-pango.schemas: * lib/ephy-prefs.h: * src/ephy-main.c: (main): Enable pango for some indic languages, which depend on it for correct rendering. Bug #335799.
* Drop compat code for libgnome < 2.14. Fix refcount leak.Christian Persch2006-03-241-86/+12
| | | | | | | | | | 2006-03-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * src/ephy-main.c: (main): Drop compat code for libgnome < 2.14. Fix refcount leak.
* If we can't detect the mime type, fall back to checking the fileChristian Persch2006-03-031-3/+67
| | | | | | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): If we can't detect the mime type, fall back to checking the file extension. Bug #331468. * src/ephy-main.c: (main): Don't pass NULL to realpath if PATH_MAX is defined. Bug #333051.
* Move --private-instance out of debug #ifdef.Christian Persch2006-02-141-8/+23
| | | | | | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (ephy_file_monitor_cancel), (ephy_file_delete_directory): * lib/ephy-file-helpers.h: * src/ephy-main.c: (main): Move --private-instance out of debug #ifdef.
* Fix handling of non-ascii extra arguments.Christian Persch2006-02-071-8/+33
| | | | | | | | 2006-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Fix handling of non-ascii extra arguments.
* Fix opening of local files. Bug #330104.Christian Persch2006-02-061-29/+35
| | | | | | | | 2006-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (open_urls), (queue_commands), (main): Fix opening of local files. Bug #330104.
* Free the option context on error too, and don't duplicate theChristian Persch2006-02-041-3/+3
| | | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Free the option context on error too, and don't duplicate the private-instance option.
* Fix non-debug builds.Christian Persch2006-02-031-4/+5
| | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix non-debug builds.
* Only claim the DBUS name when not running as private instance.Christian Persch2006-02-031-3/+7
| | | | | | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus), (ephy_dbus_get_property), (ephy_dbus_set_property), (ephy_dbus_class_init), (_ephy_dbus_startup): * src/ephy-dbus.h: * src/ephy-main.c: (main): Only claim the DBUS name when not running as private instance.
* Queue commands received from the main and remote instances, and processChristian Persch2006-02-021-150/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (save_yourself_cb), (die_cb), (session_command_free), (session_command_find), (resume_dialog_response_cb), (resume_dialog_weak_ref_cb), (session_command_autoresume), (session_command_open_bookmarks_editor), (session_command_open_uris), (session_command_dispatch), (session_command_queue_next), (session_command_queue_clear), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_close), (ephy_session_load), (ephy_session_get_active_window), (ephy_session_queue_command): * src/ephy-session.h: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (call_dbus_proxy), (queue_commands), (main): Queue commands received from the main and remote instances, and process them after autoresume has completed. Bug #328286. * data/epiphany-service.xml: * lib/ephy-file-helpers.c: (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-activation.c: (session_queue_command), (ephy_activation_load_uri_list), (ephy_activation_load_session), (ephy_activation_open_bookmarks_editor): * src/ephy-activation.h: * src/ephy-dbus.c: * src/ephy-dbus.h: * src/epiphany.defs:
* Change the DBUS interface to sending all the uris at one as string array.Christian Persch2006-02-011-35/+20
| | | | | | | | | | | | 2006-01-31 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-service.xml: * src/ephy-activation.c: (ephy_activation_load_uris): * src/ephy-activation.h: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls): Change the DBUS interface to sending all the uris at one as string array.
* Idle unref the dbus proxy in case we didn't call any remote methods; andChristian Persch2006-01-311-5/+10
| | | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (open_urls), (call_dbus_proxy): Idle unref the dbus proxy in case we didn't call any remote methods; and ref the dbus proxy for each call + one idle unref for each URL remoted.
* Fix strings again. Bug #328747.Christian Persch2006-01-291-38/+38
| | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: * src/ephy-main.c: Fix strings again. Bug #328747.
* Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl>Reinout van Schouwen2006-01-291-39/+39
| | | | | | * Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl> * src/ephy-main.c: change 'Epiphany' to 'browser' in 2 strings
* Disable pango rendering by default, unless MOZ_ENABLE_PANGO env var isChristian Persch2006-01-281-36/+35
| | | | | | | | | 2006-01-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Disable pango rendering by default, unless MOZ_ENABLE_PANGO env var is set. Bug #328844.
* Don't leak the option context.Christian Persch2006-01-261-0/+21
| | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't leak the option context.
* Run the main loop until the reply is received when activating a runningChristian Persch2006-01-251-6/+15
| | | | | | | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_dot_dir), (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-dbus.c: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (main): Run the main loop until the reply is received when activating a running instance. Fixes URL opening with two concurrently starting instance.
* Fix compilation with libgnome 2.13. Bug #328351.Christian Persch2006-01-241-4/+0
| | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix compilation with libgnome 2.13. Bug #328351.
* Removed add-bookmark and import-bookmarks functions, and changed load-urlChristian Persch2006-01-241-22/+30
| | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-service.xml: * src/ephy-activation.c: (ephy_activation_load_url), (ephy_activation_open_bookmarks_editor): * src/ephy-activation.h: Removed add-bookmark and import-bookmarks functions, and changed load-url to use an options string instead of loads of booleans. * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (call_dbus_proxy): Adapt to changed dbus call signatures. Fixes open-in-new-tab/window from cmd line.
* Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so weChristian Persch2006-01-241-131/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix compile with libgnome HEAD.Christian Persch2006-01-171-0/+2
| | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix compile with libgnome HEAD.
* R src/ephy-automation.h:Crispin Flowerday2006-01-041-1/+0
| | | | | | | | | | | 2006-01-03 Crispin Flowerday <gnome@flowerday.cx> * configure.ac: * src/ephy-main.c: R src/ephy-automation.h: Remove various references to bonobo, ephy is now officially monkey free!
* R data/GNOME_Epiphany_Automation.server.in: A data/epiphany-service.xml: AChristian Persch2006-01-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update about dialogue.Christian Persch2005-08-011-4/+9
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_view_stop), (window_cmd_help_about): Update about dialogue.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Change string passed to gnome_program_init() as human readable programChristian Persch2005-05-111-1/+1
| | | | | | | | | 2005-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Change string passed to gnome_program_init() as human readable program name.
* More constification.Christian Persch2005-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* NULL check. Fixes bug #165999.Christian Persch2005-03-011-0/+57
| | | | | | | | | | | | | 2005-02-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: NULL check. Fixes bug #165999. * src/ephy-main.c: (slowly_and_stupidly_obtain_timestamp), (main): Try to get an approximation to the launch time if DESKTOP_STARTUP_ID is not set. Fixes bug #168820, patch by Elijah Newren.
* Define variants with startup ID.Christian Persch2005-02-021-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't assign to ephy_shell global variable, that's already done in itsChristian Persch2005-02-021-1/+2
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't assign to ephy_shell global variable, that's already done in its constructor.
* Don't weak ref the shell when it's finalised already. Fixes bug #165542.Christian Persch2005-02-021-1/+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.
* Fix email links by prepending mailto: before calling gnome_vfs_url_show().Christian Persch2004-12-181-1/+5
| | | | | | | | | 2004-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (handle_email): Fix email links by prepending mailto: before calling gnome_vfs_url_show().
* Use gtk_show_about_dialog(), and handle urls and mailto.Adam Hooper2004-12-181-0/+23
|
* A data/epiphany-bookmarks-html.xsl:Christian Persch2004-12-071-0/+1
| | | | | | | | | | | | | | | | | 2004-12-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: A data/epiphany-bookmarks-html.xsl: * data/ui/epiphany-bookmark-editor-ui.xml: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-export.c: (write_rdf), (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-export.h: * src/ephy-main.c: (main): Add bookmarks export to bookmarks editor. Fixes bug #157745.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* Don't unref, then weak ref, then enter main loop; this won't work whenChristian Persch2004-11-111-2/+8
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (idle_unref), (main): Don't unref, then weak ref, then enter main loop; this won't work when refcount was 1. Instead weakref and unref on idle. Fixes bug #136170.
* 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.
* Use gtk_window_set_default_icon_name().Christian Persch2004-10-021-1/+4
| | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-window.c: (ephy_window_init): Use gtk_window_set_default_icon_name().
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-8/+0
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Move g_set_application_name() call after gnome_program_init(),Christian Persch2004-08-021-1/+2
| | | | | | | | 2004-08-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Move g_set_application_name() call after gnome_program_init(),
* Persist changed accels with gnome_accelerator_sync().Christian Persch2004-03-061-0/+2
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Persist changed accels with gnome_accelerator_sync().
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+9
| | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-111-0/+3
| | | | | | | | | | | | 2004-01-10 Christopher James Lahey <clahey@ximian.com> * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode.
* *** empty log message ***Marco Pesenti Gritti2003-12-171-2/+0
|
* Marco Pesenti Gritti <marco@gnome.org>Chris Lahey2003-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Chris Lahey <clahey@ximian.com> Marco Pesenti Gritti <marco@gnome.org> * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible.
* Use an unique factory for both interfaces.Marco Pesenti Gritti2003-11-151-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-141-0/+20
| | | | | | | | | | | | | | | | | | 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-199/+62
|
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
| | | | | | | | | | | | | 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.
* Change the behaviour of --nautilus-view such that the process doesn't exitMark McLoughlin2003-10-171-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove --server mode. It was a dirty hack anyway, and had a crasher whenChristian Persch2003-09-251-17/+2
| | | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_quit): * src/ephy-main.c: (ephy_main_start): Remove --server mode. It was a dirty hack anyway, and had a crasher when loggin out from gnome-session. Sort of fixes bug #123047. Flames will be redirected > /dev/null .
* Refactor initialization/automation code. Now all the code used by theMarco Pesenti Gritti2003-09-241-53/+12
| | | | | | | | | | | | | | | 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.
* Add an --import-bookmarks command line option, and really implement theChristian Persch2003-09-191-0/+10
| | | | | | | | | | | | | 2003-09-19 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_add_bookmark), (impl_ephy_automation_import_bookmarks), (ephy_automation_class_init): * src/ephy-main.c: (ephy_main_start): Add an --import-bookmarks command line option, and really implement the --add-bookmark one.
* Fix mem leak.Christian Persch2003-08-021-0/+2
| | | | | | | | 2003-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Fix mem leak.
* Use the browser icon from gnome icon theme. Get rid of cache comparingMarco Pesenti Gritti2003-07-021-5/+17
| | | | | | | | | | | | | | | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.desktop.in: * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_size_group): * lib/ephy-dialog.h: * src/ephy-main.c: (main): * src/prefs-dialog.c: (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor): * src/window-commands.c: (window_cmd_help_about): Use the browser icon from gnome icon theme. Get rid of cache comparing prefs and rehash prefs pages to make them more specific.
* Remove unused variables.Piers Cornwell2003-06-191-11/+10
| | | | | | | | | | | | | | | | | | 2003-06-18 Piers Cornwell <piersc@cogs.susx.ac.uk> * configure.in: Remove unused variables. * src/ephy-window.c: Add ellipse to Find menu item. * src/ephy-main.c: (ephy_main_start): Use the full program name, mark an error message as translatable and don't print any message on launch when a window is already open.
* Remove --geometry option, we weren't respecting it anyway (this patchXan Lopez2003-04-241-9/+0
| | | | | | Remove --geometry option, we weren't respecting it anyway (this patch patronized by marco's "DropDropDrop" project). Fix Leak.
* Allow to launch the BME alone, rework some CORBA code, add a .desktop fileXan Lopez2003-04-091-0/+10
| | | | | Allow to launch the BME alone, rework some CORBA code, add a .desktop file for the BME. Fixes #102477.
* Add Application NameXan Lopez2003-03-151-0/+1
| | | | Add Application Name
* Make the bookmarks editor remember the last selected keyword, and makeJames Willcox2003-02-071-0/+2
| | | | | | | | | | | | | | | 2003-02-06 James Willcox <jwillcox@gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init), (ephy_bookmarks_editor_dispose), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (ephy_node_view_select_node): * src/ephy-main.c: (ephy_main_start): Make the bookmarks editor remember the last selected keyword, and make startup-notification not hang when using the existing instance.
* Rehash link context menu order to be hig compliant. Set a desktop icon.Marco Pesenti Gritti2003-01-101-2/+6
| | | | | | | | | | | | | | 2003-01-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/epiphany.desktop.in: * data/ui/epiphany-ui.xml.in: * embed/ephy-embed-popup.c: (embed_popup_open_link_cmd): * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_set_charset): Rehash link context menu order to be hig compliant. Set a desktop icon.
* Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when usingMarco Pesenti Gritti2003-01-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.schemas.in: * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize): * embed/ephy-embed-favicon.c: (ephy_embed_favicon_set_property): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_impl), (ephy_embed_shell_get_type), (ephy_embed_shell_new): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/appearance-prefs.c: (setup_font_menu): * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-main.c: (main): * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_init), (ephy_shell_finalize), (build_homepage_url), (ephy_shell_get_autocompletion): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_location_cb), (ephy_tab_visibility_cb): * src/ephy-window.c: (favicon_cache_changed_cb), (ephy_window_init), (update_favicon_control): * src/general-prefs.c: (create_default_charset_menu): * src/history-dialog.c: (history_dialog_init): * src/pdm-dialog.c: (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_clear_memory_cache_button_clicked_cb), (prefs_clear_disk_cache_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when using the downloader. Use favicons for the window icon when possible. This required to use jimmac icon as default, we still dont have his permission, I'll remove it later if necessary.
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+340