Commit Graph

47 Commits

Author SHA1 Message Date
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