Commit Graph

124 Commits

Author SHA1 Message Date
Leandro Pereira 61a32a42f7 eve: sanitize input URIs adding the default http protocol
This fix is now applied also to command line parameter and to
the homepage config saver

Author:    Marco Trevisan (Treviño) <mail@3v1n0.net>

SVN revision: 54599
2010-11-16 18:24:10 +00:00
Leandro Pereira 24adbabad3 eve: Add 'cookie_policy' setting to eve_state.geneet
SVN revision: 54598
2010-11-16 18:24:07 +00:00
Leandro Pereira e4aba52fb3 eve: Fix possible segfault on previous commit
SVN revision: 54594
2010-11-16 15:36:20 +00:00
Leandro Pereira bf640d4e2f eve: EWebKit cookies file support added
This allows to keep the saved cookies throught the eve's sessions

Author:    Marco Trevisan (Treviño) <mail@3v1n0.net>

SVN revision: 54592
2010-11-16 14:55:33 +00:00
Leandro Pereira 07c3ba32d1 eve: added cookies policy configuration options
This flag allows to set the cookie policies that eve should respect

Author:    Marco Trevisan (Treviño) <mail@3v1n0.net>

SVN revision: 54591
2010-11-16 14:55:23 +00:00
Mike Blumenkrantz ae47a9d732 fix revision to actually display a number. if vtorri looks at the configure.ac, it might even show the svn revision like it's supposed to at some point!
SVN revision: 54532
2010-11-13 12:49:31 +00:00
Leandro Pereira 650b4bd11a [eve] Fix some styling issues
SVN revision: 54437
2010-11-10 20:49:35 +00:00
Rui Seabra 26b4269893 Fix excessive window resizes under illume. In desktop mode, maybe Ctrl-L coud set the focus, but here's not the best place for it.
SVN revision: 54341
2010-11-08 18:51:56 +00:00
Leandro Pereira 027d7f8f44 [Eve] Toggle a checkbox when clicking on its label.
Patch by Alex Grilo.

SVN revision: 53582
2010-10-18 19:24:17 +00:00
Leandro Pereira 698f570079 [Eve] Add an Elm_Index to certain More pages.
Patch by Alex Grilo.

SVN revision: 53581
2010-10-18 19:24:14 +00:00
Leandro Pereira 8ef13eb5e4 [Eve] Add favicon/button to clear the URL entry.
Patch by Alex Grilo.

SVN revision: 53580
2010-10-18 19:24:10 +00:00
Leandro Pereira c4208236c8 [Eve] Use an Elm_Genlist intead of an Elm_List on the More menu.
Patch by Alex Grilo.

SVN revision: 53276
2010-10-11 21:12:12 +00:00
Leandro Pereira 629146ec4e [Eve] Fix gengrid API breakage.
SVN revision: 53266
2010-10-11 17:54:18 +00:00
Eduardo de Barros Lima fa1d77ead1 Eve: Don't #define _GNU_SOURCE
It is already done by AC_GNU_SOURCE macro in configure.ac. Just a matter
of #include "config.h" properly



SVN revision: 53156
2010-10-07 19:20:36 +00:00
Carsten Haitzler 67ae4e0931 there - do that for focus.
SVN revision: 52976
2010-10-02 03:55:43 +00:00
Leandro Pereira d78dacc32d [Eve] Set the URL after applying the preferences on a newly-created Ewk_View.
This prevents requests to be sent with the wrong user agent. Bug spotted by Antognolli.

SVN revision: 52904
2010-09-29 20:30:31 +00:00
Lucas De Marchi a1df627edb Use ecore_time_unix_get() when absolute value is needed
SVN revision: 52826
2010-09-27 22:37:53 +00:00
Leandro Pereira 09b8d366aa [Eve] New settings: flame flattening, text only zoom, minimum font size.
SVN revision: 52802
2010-09-27 17:26:26 +00:00
Rafael Antognolli 278c2743e6 Use fixed layout when in touch mode.
Fixed layout will try to keep the page layout to the original viewport
size even at different zoom levels.



SVN revision: 52801
2010-09-27 17:03:16 +00:00
Gustavo Sverzut Barbieri 447dadb053 improve keyboard shortcuts.
previous handling of F5, F6 and F7 was from EWebLauncher, a test app
without any buttons, they make no sense for eve.

F5/Ctrl+R does reload, with shift doing full reload.

F11 toggles fullscreen

Alt+Home goes to home page

Ctrl+L goes to location bar

Ctrl+D adds a bookmark

Ctrl+[+=-0] changes zoom level.



SVN revision: 52794
2010-09-27 02:38:35 +00:00
Gustavo Sverzut Barbieri 6c57da1d3c ugly hack, but let eve work until elm is properly fixed.
SVN revision: 52788
2010-09-26 22:19:03 +00:00
Leandro Pereira 5eafd2afb3 [Eve] Force the use of Efenniht's Elm_Toggle theme.
Patch by Alex Grilo.

SVN revision: 52702
2010-09-24 20:00:50 +00:00
Lucas De Marchi 0c6d1d77cc Use theme from ewebkit
ewebkit.edj was a copy of the default theme that comes with ewebkit. Since now
it's exported through pkg-config, let's eve use it instead of copying from
there every time it changes.



SVN revision: 52557
2010-09-21 20:50:23 +00:00
Leandro Pereira 3dccbb721c [Eve] Don't reload tab grid on tab close.
Makes multiple-tab closing easier.

SVN revision: 52555
2010-09-21 19:50:17 +00:00
Leandro Pereira 73989facc4 [Eve] Cleanup: Fix compilation warnings.
SVN revision: 52554
2010-09-21 19:50:14 +00:00
Leandro Pereira 229cc680b8 [Eve] Cleanup: on static callback names, s/^cb_/_cb_/g.
SVN revision: 52553
2010-09-21 19:50:11 +00:00
Leandro Pereira 4e82e7ee17 [Eve] Cleanup: initialize Gengrid_Item_Class only once.
SVN revision: 52552
2010-09-21 19:50:08 +00:00
Leandro Pereira 093b941e4c [Eve] Cleanup: Remove trailing whitespaces.
SVN revision: 52551
2010-09-21 19:50:06 +00:00
Leandro Pereira 580a6fa9f2 [Eve] Fix problems spotted by clang static analyzer.
SVN revision: 52523
2010-09-20 22:14:11 +00:00
Leandro Pereira 9ee9f7523d [Eve] Improve session saving support.
Use a timer to periodically save the current state: which windows are open,
which tabs are open in which window, which one is focused, etc.  The
relevant entry in the eet file is updated.  This should provide a somewhat
crash-safe approach, which is way better than the previous version.

The timer is currently set to fire every 15s: testing should be performed to
ensure this won't impact performance too much.  Should this be a problem,
this interval might be a user-customized setting.

SVN revision: 52522
2010-09-20 22:14:07 +00:00
Leandro Pereira 98b62fa6e2 [Eve] Use a single file to save all of Eve state.
SVN revision: 52521
2010-09-20 22:14:02 +00:00
Leandro Pereira a1c147fa49 [Eve] Implement context-sensitive toolbar.
Get rid of the "New tab" item in the tab grid, and move the feature to the toolbar. The Back, Forward, and Reload buttons will hide, and a "New tab" button will appear.

SVN revision: 52353
2010-09-16 22:43:12 +00:00
Leandro Pereira 557bb5d244 [Eve] Pre-select focused tab on tab selector.
SVN revision: 52352
2010-09-16 22:43:09 +00:00
Leandro Pereira 2e79b62368 [Eve] Fix off-by-one memory allocation problem in more_menu_prefs_list_create().
SVN revision: 52351
2010-09-16 22:43:04 +00:00
Gustavo Sverzut Barbieri 235788322a eve files at ~/.config/eve not ~/.config/ewebkit
SVN revision: 52325
2010-09-15 20:31:33 +00:00
Gustavo Sverzut Barbieri 1289812b08 stupid error of mine using strcasecmp()
SVN revision: 52324
2010-09-15 20:01:17 +00:00
Leandro Pereira ad6df643e2 [Eve] Implement session saving/restoring.
SVN revision: 52307
2010-09-15 16:31:42 +00:00
Leandro Pereira faf9ac549c [Eve] Fix build error.
(I really need some sleep.)

SVN revision: 52261
2010-09-14 20:32:12 +00:00
Leandro Pereira 09535bdd9e [Eve] Oops. Again. Forgot to free the DBus error if it was set.
SVN revision: 52259
2010-09-14 19:45:10 +00:00
Leandro Pereira c8e4eccd62 [Eve] Oops. Plug memory leak if there was an error while receiving a DBus response.
Spotted by demarchi.

SVN revision: 52258
2010-09-14 19:33:58 +00:00
Leandro Pereira 41268c68fb [Eve] Implement single instance using DBus.
SVN revision: 52256
2010-09-14 19:10:25 +00:00
Gustavo Sverzut Barbieri 9eda336cd5 Fix preferences x command line option handling.
As it is hard to define what to do in such case, the command line
option will change the preferences.

Some will argue this is not the right thing to do, but then the
preferences screens would be incorrect. In order to simplify the
semantics I now declare this "the right thing to do".



SVN revision: 52231
2010-09-14 02:40:28 +00:00
Gustavo Sverzut Barbieri 220909643e Runtime toggle for touch user interface.
NOTE: just like everything else that was set from command line and now
we have preferences, we are being replaced with the actual preferences
system. This will be fixed in another commit.



SVN revision: 52230
2010-09-14 02:04:28 +00:00
Leandro Pereira 954f3d4249 Implement string preferences.
SVN revision: 52228
2010-09-13 22:35:31 +00:00
Leandro Pereira e17c7d6a22 Implement home page preferences.
SVN revision: 52227
2010-09-13 22:35:28 +00:00
Leandro Pereira 76a737ca09 Cleanup on_list_completely_hidden(), by implementing pref_wiget_get().
SVN revision: 52226
2010-09-13 22:35:25 +00:00
Leandro Pereira 75dc43a406 Implement PREF_TYPE_SPINNER (to be used for numbers).
SVN revision: 52225
2010-09-13 22:35:22 +00:00
Leandro Pereira e9741c5a3b Remove trailing whitespaces
SVN revision: 52224
2010-09-13 22:35:18 +00:00
Leandro Pereira 3322042b11 Do not add pages to the history when in private mode
SVN revision: 52222
2010-09-13 22:35:13 +00:00
Leandro Pereira 831da118e5 Fix hiding/displaying mouse cursor.
SVN revision: 52221
2010-09-13 22:35:08 +00:00
Leandro Pereira f99ee24f7e Disable back/forward buttons whenever needed.
SVN revision: 52220
2010-09-13 22:35:05 +00:00
Leandro Pereira 00b43f445b Show page title in theme
SVN revision: 52219
2010-09-13 22:35:02 +00:00
Leandro Pereira 402bce001b Add option to clear cookies
SVN revision: 52218
2010-09-13 22:34:57 +00:00
Leandro Pereira ed426bfbaf Fix list animation.
SVN revision: 52217
2010-09-13 22:34:54 +00:00
Leandro Pereira 98f95f2b00 Only clear/populate the More list whenever it is completely empty.
SVN revision: 52215
2010-09-13 22:34:48 +00:00
Leandro Pereira 22bd79dd6a Plug memory leak when freeing dynamic menus.
SVN revision: 52214
2010-09-13 22:34:45 +00:00
Leandro Pereira ffd9f34ccd Implement popup blocking
SVN revision: 52213
2010-09-13 22:34:42 +00:00
Leandro Pereira 4012dd2d7d Implement two new prefs: Auto load images and Auto shrink images.
SVN revision: 52212
2010-09-13 22:34:39 +00:00
Leandro Pereira 0134241632 Support mouse cursor enabling/disabling (currently requires restart).
SVN revision: 52211
2010-09-13 22:34:36 +00:00
Leandro Pereira 30dedf573a Use ITEM_TYPE_CALLBACK_NO_HIDE for Privacy cleanup stuff.
SVN revision: 52210
2010-09-13 22:34:33 +00:00
Leandro Pereira e665ec8953 Miscellaneous cleanups.
SVN revision: 52209
2010-09-13 22:34:30 +00:00
Leandro Pereira 806e261516 Implement Preferences -> Privacy -> Clear stuff.
SVN revision: 52208
2010-09-13 22:34:27 +00:00
Leandro Pereira b16e530c29 s/bmi/mmi/g
SVN revision: 52207
2010-09-13 22:34:25 +00:00
Leandro Pereira b7c293f99b Remove unneeded includes.
SVN revision: 52206
2010-09-13 22:34:22 +00:00
Leandro Pereira f3c79e3533 Rename Bookmarks to More and implement Preferences display.
SVN revision: 52205
2010-09-13 22:34:19 +00:00
Lucas De Marchi 1466059699 Fix common misspellings
Following misspellings were fixed:

calulate->calculate
substract->subtract



SVN revision: 52014
2010-09-09 00:59:17 +00:00
Gustavo Sverzut Barbieri b3cf9537bb Use Eve's user-agent by default, and we're iphone compatible!
One can still specify iphone-exact UA, but we're not using ours and
it's compatible (in most websites processing analysis) with it.

Also provide some more UA shortcuts based on http://www.useragentstrings.com/



SVN revision: 51959
2010-09-07 17:17:42 +00:00
Gustavo Sverzut Barbieri 66ed81ef31 set window title, with page load progress.
SVN revision: 51958
2010-09-07 16:59:40 +00:00
Gustavo Sverzut Barbieri 747ee61273 fix segv when deleting the last tab.
do not access win pointer after tab close, it may have been destroyed
if it is the last tab in that window.



SVN revision: 51957
2010-09-07 16:11:55 +00:00
Mike Blumenkrantz 7decbb0d7c k-s told me to do work on eve so I did it and now I'm writing a commmmit message for what I did but I don't remember what it was so I'll just hope that it works and that if it doesn't someone blames TAsn or cedric and fixes it
SVN revision: 51847
2010-09-02 22:28:35 +00:00
Lucas De Marchi fce46e4793 Uncrustify eve
Exceptions:
 - auto-generated files by geneet (favorite.[ch] and history.[ch])

Config not used:
 - *_closebrace_comment in uncrustify config



SVN revision: 51682
2010-08-27 17:51:04 +00:00
Lucas De Marchi 50f87c6bcb Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Eduardo de Barros Lima cd9ac98213 Eve: Add rotate option
SVN revision: 51094
2010-08-13 19:15:04 +00:00
Leandro Pereira 73e055e1f9 Adding Eve webbrowser, based on WebKit-EFL.
This is a complete rewrite of the old Eve web browser, using the current WebKit-EFL port
(available from the official WebKit SVN; instructions on how to build it are here[1]).

The interface was designed for mobile devices and is based off the Efenniht theme for E17.

[1] http://trac.webkit.org/wiki/EFLWebKit



SVN revision: 51060
2010-08-12 20:08:35 +00:00