surf.git
8 years agoAdapt setstyle()
Quentin Rameau [Thu, 19 Nov 2015 23:13:07 +0000 (00:13 +0100)]
Adapt setstyle()

We can't anymore pass a simple path to a stylefile, we have to read the
entire file to create a stylesheet and apply it to the view.

8 years agoAdapt clipboard()
Quentin Rameau [Thu, 19 Nov 2015 23:09:21 +0000 (00:09 +0100)]
Adapt clipboard()

Replace linkhover with target uri and add some comments

8 years agoRename fullscreen() to togglefullscreen()
Quentin Rameau [Thu, 19 Nov 2015 23:00:59 +0000 (00:00 +0100)]
Rename fullscreen() to togglefullscreen()

And handle c->fullscreen value in winevent(). This way we keep track of
fullscreen state even if we did not directly initiate the fullscreen.

8 years agoReplace titlechangeleave() with catch-all winevent()
Quentin Rameau [Thu, 19 Nov 2015 22:42:19 +0000 (23:42 +0100)]
Replace titlechangeleave() with catch-all winevent()

All GtkWidget events have the same function prototype with the generic
GdkEvent as parameter. This will let us handle everything in the switch.

8 years agoAdapt JavaScript functions
Quentin Rameau [Thu, 19 Nov 2015 16:14:29 +0000 (17:14 +0100)]
Adapt JavaScript functions

Removed eval(), evalscript() is now sufficient and can directly execute
passed JavaScript string.

8 years agoRemove windowobjectcleared(), execute scripts on load finished
Quentin Rameau [Thu, 19 Nov 2015 15:38:58 +0000 (16:38 +0100)]
Remove windowobjectcleared(), execute scripts on load finished

The “window-object-cleared” signal is not directly accessible for
specific WebViews now. We'll have to use an Extension or rewrite the
JavaScript running functions.

8 years agoAdd createwindow() for GtkWindow creation
Quentin Rameau [Thu, 19 Nov 2015 13:38:23 +0000 (14:38 +0100)]
Add createwindow() for GtkWindow creation

Move there window creation from showview().

8 years agoAdd closeview() for JavaScript window closing
Quentin Rameau [Thu, 19 Nov 2015 13:25:29 +0000 (14:25 +0100)]
Add closeview() for JavaScript window closing

Simply call gtk_widget_destroy() on the window. Then GtkWindow closing
process will take care of the rest.

8 years agoRemove (delete :>) deletion_interface()
Quentin Rameau [Thu, 19 Nov 2015 13:15:28 +0000 (14:15 +0100)]
Remove (delete :>) deletion_interface()

8 years agoIntegrate beforerequest() into decidepolicy()
Quentin Rameau [Thu, 19 Nov 2015 13:10:28 +0000 (14:10 +0100)]
Integrate beforerequest() into decidepolicy()

8 years agoRemove contextmenu() and menuactivate() for "context-menu" signal
Quentin Rameau [Thu, 19 Nov 2015 12:40:35 +0000 (13:40 +0100)]
Remove contextmenu() and menuactivate() for "context-menu" signal

Those were added because “right click menu to copy the link URI will now
work” (would not work) in 2013. It's been a while since that works without
intervention.

8 years agoAdapted buttonrelease()
Quentin Rameau [Thu, 19 Nov 2015 12:19:27 +0000 (13:19 +0100)]
Adapted buttonrelease()

Use the current hit test (c->mousepos) to determine where the mouse
pointer is.
It is possible to link an action to a click and still propagate the
event after that by setting the “stop event” parameter of a Button to 0.

8 years agoReplace initdownload() and intercept global download requests.
Quentin Rameau [Wed, 18 Nov 2015 18:05:59 +0000 (19:05 +0100)]
Replace initdownload() and intercept global download requests.

Attach to download requests on WebKitContext, this way we can easily
manage all types of downloads (coming from views or not).

8 years agoAdapted progresschanged()
Quentin Rameau [Wed, 18 Nov 2015 17:51:55 +0000 (18:51 +0100)]
Adapted progresschanged()

8 years agoManage ssl errors with GTlsCertificateFlags
Quentin Rameau [Wed, 18 Nov 2015 17:44:25 +0000 (18:44 +0100)]
Manage ssl errors with GTlsCertificateFlags

Keep a GTlsCertificateFlags in Client for TLS errors.
If we don't use a ssl connection, set it to a value greater than maximum
error flag value (which is G_TLS_CERTIFICATE_VALIDATE_ALL for all
possible errors).

8 years agoReplace loadstatuschanged() with loadchanged()
Quentin Rameau [Wed, 18 Nov 2015 17:39:45 +0000 (18:39 +0100)]
Replace loadstatuschanged() with loadchanged()

8 years agoReplace decidewindow() and decidedownload() with decidepolicy()
Quentin Rameau [Wed, 18 Nov 2015 17:30:28 +0000 (18:30 +0100)]
Replace decidewindow() and decidedownload() with decidepolicy()

Now all the requests are triggered by one signal.
We then handle each type, resource download, navigation, newwindow, in
separate functions.

8 years agoReplace createwindow() with createview()
Quentin Rameau [Wed, 18 Nov 2015 17:16:06 +0000 (18:16 +0100)]
Replace createwindow() with createview()

We can now perform some filtering before opening a new view (window)
when requested by JavaScript (either random or by a click).

8 years agoReplace geopolicyrequested() with permissionrequested()
Quentin Rameau [Wed, 18 Nov 2015 17:09:55 +0000 (18:09 +0100)]
Replace geopolicyrequested() with permissionrequested()

The permission-request signal can now ask for than a geolocation
authorisation (though we only handle that for now).

8 years agoReplace linkhover() with mousetargetchanged()
Quentin Rameau [Wed, 18 Nov 2015 16:59:50 +0000 (17:59 +0100)]
Replace linkhover() with mousetargetchanged()

The “linkhover” can now be more than a simple link (image, video, etc.).
As we can't anymore perform a hit test when we want, we have to keep the
last known hit test to be able to know where the mouse is on the next
click event.

8 years agoModify the context name of the hit tests
Quentin Rameau [Wed, 18 Nov 2015 16:53:33 +0000 (17:53 +0100)]
Modify the context name of the hit tests

These relate more to the position of the pointer when an event occurs.

8 years agoAdapted titlechange()
Quentin Rameau [Wed, 18 Nov 2015 16:42:51 +0000 (17:42 +0100)]
Adapted titlechange()

Do not copy title strings, just carry over the const pointer.

8 years agoMove all necessary initialisation to newview()
Quentin Rameau [Wed, 18 Nov 2015 16:17:49 +0000 (17:17 +0100)]
Move all necessary initialisation to newview()

Most all the settings and callbacks are set before view creation.
Create a related view (with inherited settings) if asked to.

8 years agoAdd newview() and forward related views
Quentin Rameau [Wed, 18 Nov 2015 15:53:37 +0000 (16:53 +0100)]
Add newview() and forward related views

View creation is now done in a separate function.
That helps identifying the workflow and let us easily carry related
view (client) when asked by the WebKit for a new one.

8 years agoAdd showview()
Quentin Rameau [Wed, 18 Nov 2015 15:13:27 +0000 (16:13 +0100)]
Add showview()

Only show the window when and if the view is ready.
Move all the window rendering there.

8 years agoSeparate the rendering engine process
Quentin Rameau [Wed, 18 Nov 2015 15:08:55 +0000 (16:08 +0100)]
Separate the rendering engine process

Use one WebKitWebProcess per view instead of one for all views.
More information in the API documentation.

8 years agoNo option to enforce 96DPI anymore on WebKit2
Quentin Rameau [Wed, 18 Nov 2015 14:29:04 +0000 (15:29 +0100)]
No option to enforce 96DPI anymore on WebKit2

8 years agoScrolling is now handled through WebKit
Quentin Rameau [Wed, 18 Nov 2015 14:23:42 +0000 (15:23 +0100)]
Scrolling is now handled through WebKit

We don't have access anymore to the scrolling process and have to rely
entirely on WebKit.
We could be able to manage scrolling and bars directly by manipulating
the DOM via a WebKitExtension. To be continued…

8 years agoSSL policy is now handled through WebKit
Quentin Rameau [Wed, 18 Nov 2015 14:14:28 +0000 (15:14 +0100)]
SSL policy is now handled through WebKit

8 years agoDisk cache is now handled through WebKit
Quentin Rameau [Wed, 18 Nov 2015 14:10:42 +0000 (15:10 +0100)]
Disk cache is now handled through WebKit

8 years agoCookies are now handled through WebKit
Quentin Rameau [Wed, 18 Nov 2015 13:48:49 +0000 (14:48 +0100)]
Cookies are now handled through WebKit

Remove all soup cookie handling and use provided interface.

8 years agoRemove source(), it has been removed from webkit2gtk
Quentin Rameau [Wed, 18 Nov 2015 13:31:14 +0000 (14:31 +0100)]
Remove source(), it has been removed from webkit2gtk

WebKit2GTK doesn't provide a direct way to view source anymore, we'll
have to do that ourselves with a GtkSourceView if we still need that.

8 years agoRemove proxy stuff, it's now handled by WebView
Quentin Rameau [Wed, 18 Nov 2015 13:27:58 +0000 (14:27 +0100)]
Remove proxy stuff, it's now handled by WebView

8 years agoSwitch headers to webkit2
Quentin Rameau [Wed, 18 Nov 2015 13:43:04 +0000 (14:43 +0100)]
Switch headers to webkit2

8 years agoPort surf to gtk3
Quentin Rameau [Mon, 11 May 2015 10:48:40 +0000 (12:48 +0200)]
Port surf to gtk3

8 years agobuildfile: don't forget to free temporary string bpath
Quentin Rameau [Wed, 4 Nov 2015 14:42:42 +0000 (15:42 +0100)]
buildfile: don't forget to free temporary string bpath

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoBe more specific about what enablestyles parameter does.
Quentin Rameau [Tue, 3 Nov 2015 15:50:21 +0000 (16:50 +0100)]
Be more specific about what enablestyles parameter does.

The enablestyles configuration variable and parameter flag manages the
global application of styles, not just the site-specific styles.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix inspector handling when inspector is disabled.
Quentin Rameau [Tue, 3 Nov 2015 14:42:30 +0000 (15:42 +0100)]
Fix inspector handling when inspector is disabled.

Do not try to show the inspector window when the inspector is disabled.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix usage(), -m and -M for styles were absent.
Quentin Rameau [Tue, 3 Nov 2015 14:39:29 +0000 (15:39 +0100)]
Fix usage(), -m and -M for styles were absent.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix fullscreen handling
Quentin Rameau [Tue, 3 Nov 2015 13:25:44 +0000 (14:25 +0100)]
Fix fullscreen handling

Handle the fullscreen in a more consistent way with other options:
-f disables fullscreen while -F enables fullscreen.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoAdd setstyle()
Quentin Rameau [Sat, 31 Oct 2015 11:34:57 +0000 (12:34 +0100)]
Add setstyle()

Regroup style uri setting application calls under one function.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix style files handling: stop leaking strings.
Quentin Rameau [Sat, 31 Oct 2015 11:34:31 +0000 (12:34 +0100)]
Fix style files handling: stop leaking strings.

Everytime getstyle() was being called, we returned newly allocated
strings without ever freing them.
Now uri stylefiles only get allocated once at setup().

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoStyle changes in config.def.h.
Christoph Lohmann [Sat, 31 Oct 2015 16:49:36 +0000 (17:49 +0100)]
Style changes in config.def.h.

8 years agoContinue style fixing: function declarations, code alignement
Quentin Rameau [Tue, 20 Oct 2015 13:04:52 +0000 (15:04 +0200)]
Continue style fixing: function declarations, code alignement

Here are the changes we discussed on the mailing-list.
Alignement is pushed to the first parameter of the function, which seems
to be what people agrees on.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agostyle fixes: space after keywords, () with sizeof
Markus Teich [Sun, 18 Oct 2015 20:52:16 +0000 (22:52 +0200)]
style fixes: space after keywords, () with sizeof

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agowhitespace fixes
Markus Teich [Sun, 18 Oct 2015 20:52:15 +0000 (22:52 +0200)]
whitespace fixes

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agofix style path generation
Markus Teich [Sun, 18 Oct 2015 14:10:38 +0000 (16:10 +0200)]
fix style path generation

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoStyle cleanup.
Christoph Lohmann [Tue, 13 Oct 2015 19:48:38 +0000 (21:48 +0200)]
Style cleanup.

8 years agoFix the way system files are handled at surf startup.
Quentin Rameau [Tue, 13 Oct 2015 19:39:01 +0000 (21:39 +0200)]
Fix the way system files are handled at surf startup.

1. Do not chmod existing directories.
2. Fix the handling of tilde expansion in paths, don't expand ~foo to
   $HOME/foo but to foo's home directory.
3. Separate the creation of files and directories. We don't have to
   worry anymore about pathnames having to end with a '/' to be correctly
   handled.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix atom value parsing in SETPROP
Quentin Rameau [Tue, 13 Oct 2015 11:32:09 +0000 (13:32 +0200)]
Fix atom value parsing in SETPROP

xprop(1) encloses the returned atom string value in double quotes while
it doesn't when the value is unset. Original simple parsing would fail
and parse the atom name instead of getting an empty value.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoRemove the pax intermediary.
Christoph Lohmann [Tue, 8 Sep 2015 18:28:11 +0000 (20:28 +0200)]
Remove the pax intermediary.

Compile webkit without jit and you don't need to disable mprotect.

8 years agoFixing the paxctl check.
Christoph Lohmann [Wed, 19 Aug 2015 04:28:31 +0000 (06:28 +0200)]
Fixing the paxctl check.

Thanks quinq for the tip.

8 years agoAdd PaX support.
Christoph Lohmann [Tue, 18 Aug 2015 16:21:34 +0000 (18:21 +0200)]
Add PaX support.

Mprotect needs to be turned off for Webkit.

8 years agoTorified surf is unstable
GhostAV [Tue, 18 Aug 2015 10:46:34 +0000 (12:46 +0200)]
Torified surf is unstable

On Tue, Aug 18, 2015 at 12:38:40PM +0200, Gabriel Pérez-Cerezo wrote:
> It really seems  to be a problem with torsocks.  I have already solved
> this problem with a patch GhostAV just  sent me on this list that adds
> SOCKS support to surf. It works fine now.

As i failed to send the patch to the list, i resend it now:
-- >8 --
From: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Subject: [PATCH] allow sock proxies

Signed-off-by: Christoph Lohmann <20h@r-36.net>
8 years agoFix type of strictssl property.
Quentin Rameau [Mon, 13 Jul 2015 11:31:22 +0000 (13:31 +0200)]
Fix type of strictssl property.

Thanks to Mark Edgar <medgar123@gmail.com> for having spotted this.

9 years agoRemoving the debug print from the last commit.
Christoph Lohmann [Tue, 10 Feb 2015 18:06:56 +0000 (19:06 +0100)]
Removing the debug print from the last commit.

9 years agoallow buttonrelease customization in config.h
Markus Teich [Wed, 28 Jan 2015 20:01:55 +0000 (21:01 +0100)]
allow buttonrelease customization in config.h

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agosurf: see hover URL without changing title
Greg Reagle [Tue, 27 Jan 2015 18:26:26 +0000 (13:26 -0500)]
surf: see hover URL without changing title

On Tue, Jan 27, 2015, at 11:52 AM, Christoph Lohmann wrote:
> Then hook to the window leaving event in GTK or X11 and set the title to
> your needs. I will welcome a patch.

Patch is attached.  I am a total novice in GTK programming, so I don't
know what type the callback function is supposed to be (hence the void
pointers) or whether I registered it properly.  But it does work well
for me.

--
http://www.fastmail.com - Access your email from home and the web

From a33f06da092bf920b6a286ea7688b32944d79a50 Mon Sep 17 00:00:00 2001
From: Greg Reagle <greg.reagle@umbc.edu>
Date: Tue, 27 Jan 2015 13:22:15 -0500
Subject: [PATCH] ensure that window title is web page title (not hover link)
 when leaving window

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agoSome cleanup in style.
Christoph Lohmann [Tue, 3 Feb 2015 16:17:04 +0000 (17:17 +0100)]
Some cleanup in style.

9 years agoDescribe the web page indicators too.
Christoph Lohmann [Mon, 26 Jan 2015 20:47:18 +0000 (21:47 +0100)]
Describe the web page indicators too.

9 years agoIt wasn't really clear what was meant with site indicators in the manpage.
Christoph Lohmann [Mon, 26 Jan 2015 20:44:54 +0000 (21:44 +0100)]
It wasn't really clear what was meant with site indicators in the manpage.

9 years agosurf: documented indicators in man page
Greg Reagle [Mon, 26 Jan 2015 19:31:26 +0000 (14:31 -0500)]
surf: documented indicators in man page

Patch attached.

--
http://www.fastmail.com - The professional email service

From 4a64624fee94c16c093d2b192389bad9bd6675d8 Mon Sep 17 00:00:00 2001
From: Greg Reagle <greg.reagle@umbc.edu>
Date: Mon, 26 Jan 2015 14:29:05 -0500
Subject: [PATCH] Documented indicators

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agofix stylesheet interna.
Markus Teich [Tue, 20 Jan 2015 15:13:31 +0000 (16:13 +0100)]
fix stylesheet interna.

* no more segfault when running `surf -m`
* allow to enable custom styles after `surf -m` with mod+shift+m
* use enablestyles instead of the webkit-setting, which clears things up a bit

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agoOnly plumb some URI, when it's ASCII.
Christoph Lohmann [Tue, 20 Jan 2015 16:38:22 +0000 (17:38 +0100)]
Only plumb some URI, when it's ASCII.

9 years agoOh my blob!
Christoph Lohmann [Tue, 20 Jan 2015 00:59:53 +0000 (01:59 +0100)]
Oh my blob!

Adding blob: to the URIS handled by the browser.

9 years agoData: is part of the browser too.
Christoph Lohmann [Mon, 19 Jan 2015 21:51:29 +0000 (22:51 +0100)]
Data: is part of the browser too.

9 years agofile:// should be handled in surf too.
Christoph Lohmann [Mon, 19 Jan 2015 21:43:42 +0000 (22:43 +0100)]
file:// should be handled in surf too.

9 years agoRemove the debugging from the testing.
Christoph Lohmann [Mon, 19 Jan 2015 21:31:31 +0000 (22:31 +0100)]
Remove the debugging from the testing.

9 years agoAdd some description for the plumb feature.
Christoph Lohmann [Mon, 19 Jan 2015 21:16:07 +0000 (22:16 +0100)]
Add some description for the plumb feature.

9 years agoAdd plumbing functionality.
Christoph Lohmann [Mon, 19 Jan 2015 21:15:18 +0000 (22:15 +0100)]
Add plumbing functionality.

9 years agoAdd a comment about how the styles are iterated.
Christoph Lohmann [Sun, 18 Jan 2015 13:41:20 +0000 (14:41 +0100)]
Add a comment about how the styles are iterated.

Thanks quing for noticing.

9 years agoMy CMD was too short. :O
Christoph Lohmann [Sun, 18 Jan 2015 10:44:39 +0000 (11:44 +0100)]
My CMD was too short. :O

Thanks Carlos Torres for mentioning this.

9 years agoAdd the manpage changes for the disk cache support.
Christoph Lohmann [Sat, 17 Jan 2015 19:52:16 +0000 (20:52 +0100)]
Add the manpage changes for the disk cache support.

9 years agoAdding disk cache support for soup.
Christoph Lohmann [Sat, 17 Jan 2015 19:50:21 +0000 (20:50 +0100)]
Adding disk cache support for soup.

This is a merge of the patch of Ben Woolley <tautolog@gmail.com>

9 years agoFix extra newline, and add -g where other switches are forwarded.
Ben Woolley [Wed, 7 Jan 2015 23:41:07 +0000 (15:41 -0800)]
Fix extra newline, and add -g where other switches are forwarded.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agoNewer libc want _DEFAULT_SOURCE.
Christoph Lohmann [Sat, 17 Jan 2015 06:21:15 +0000 (07:21 +0100)]
Newer libc want _DEFAULT_SOURCE.

9 years agoMajor styles update.
Christoph Lohmann [Sat, 17 Jan 2015 06:19:48 +0000 (07:19 +0100)]
Major styles update.

In config.h there is now some styles array to apply site-specific styles.
This can be toggled using the -mM flags. If a stylefile is manually specified,
then this will overwrite everything.

9 years agoFix a typo in surf manual.
Jakukyo Friel [Fri, 2 Jan 2015 11:52:29 +0000 (19:52 +0800)]
Fix a typo in surf manual.

`Ctrl-/` displays incorrectly in `man surf` on my machine.

A patch is attached.

(You also access it here:
https://github.com/weakish/surf/commit/07e97eccedd96eabf14b2fbf77de75ec1b594d97)

----

 surf.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years agoMinor style change.
Christoph Lohmann [Sun, 28 Sep 2014 06:03:42 +0000 (08:03 +0200)]
Minor style change.

9 years agoMake »Copy image address« work.
Christoph Lohmann [Sun, 28 Sep 2014 06:02:48 +0000 (08:02 +0200)]
Make »Copy image address« work.

Thanks yui@blekksprut.net for the patch!

9 years agoMention xdotool in SEE ALSO too.
Christoph Lohmann [Thu, 7 Aug 2014 15:35:27 +0000 (17:35 +0200)]
Mention xdotool in SEE ALSO too.

9 years agoFix the manpage about xid.
Christoph Lohmann [Thu, 7 Aug 2014 15:34:43 +0000 (17:34 +0200)]
Fix the manpage about xid.

Something was missing from this one sentence. Now it is complete.

9 years agoAdd a FAQ to surf.
Christoph Lohmann [Mon, 4 Aug 2014 15:54:00 +0000 (17:54 +0200)]
Add a FAQ to surf.

9 years agoAdd information about the dmenu requirement.
Christoph Lohmann [Sat, 17 May 2014 17:24:25 +0000 (19:24 +0200)]
Add information about the dmenu requirement.

Thanks <surfsup@inbox.lv>!

10 years agofix some indentation in config.def.h
Markus Teich [Tue, 25 Feb 2014 15:36:05 +0000 (16:36 +0100)]
fix some indentation in config.def.h

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agoEnable resizable text areas.
Christoph Lohmann [Sun, 16 Feb 2014 16:17:15 +0000 (17:17 +0100)]
Enable resizable text areas.

10 years agodeprecating signal “populate-popup” for “context-menu”
Quentin Rameau [Fri, 7 Feb 2014 01:17:43 +0000 (02:17 +0100)]
deprecating signal “populate-popup” for “context-menu”

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agoPrevent title from being empty when following an anchor
Quentin Rameau [Sat, 8 Feb 2014 11:39:37 +0000 (12:39 +0100)]
Prevent title from being empty when following an anchor

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agodeprecating signal “title-changed” for “notify::title”
Quentin Rameau [Thu, 6 Feb 2014 17:54:38 +0000 (18:54 +0100)]
deprecating signal “title-changed” for “notify::title”

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agoThe check for NULL is not necessary before free.
Christoph Lohmann [Thu, 6 Feb 2014 15:49:26 +0000 (16:49 +0100)]
The check for NULL is not necessary before free.

10 years agoRemoving a memory leak when u wasn't freed.
Christoph Lohmann [Thu, 6 Feb 2014 05:47:22 +0000 (06:47 +0100)]
Removing a memory leak when u wasn't freed.

10 years agoMaking the empty title possible.
Christoph Lohmann [Wed, 5 Feb 2014 20:14:16 +0000 (21:14 +0100)]
Making the empty title possible.

10 years agoDraw flags on window creation
Quentin Rameau [Wed, 5 Feb 2014 16:03:56 +0000 (17:03 +0100)]
Draw flags on window creation

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agoKeep cookie policies for new windows
Quentin Rameau [Wed, 5 Feb 2014 15:58:23 +0000 (16:58 +0100)]
Keep cookie policies for new windows

Signed-off-by: Christoph Lohmann <20h@r-36.net>
10 years agoChange the accept no third party in the doc to the right meaning.
Christoph Lohmann [Thu, 30 Jan 2014 19:57:24 +0000 (20:57 +0100)]
Change the accept no third party in the doc to the right meaning.

10 years agoAdd the commandline flag for the cookie policies too.
Christoph Lohmann [Thu, 30 Jan 2014 19:47:03 +0000 (20:47 +0100)]
Add the commandline flag for the cookie policies too.

10 years agoAdd a way to define the cookie policy.
Christoph Lohmann [Thu, 30 Jan 2014 19:36:06 +0000 (20:36 +0100)]
Add a way to define the cookie policy.

This adds the -a flag to define a string of the toggle string for the cookie
policy modes. There is now a new »cookiepolicies« string in config.h and the
Mod+Shift+a now can toggle the policy but will not cause a reload, because
this would only add a burden when toggling through accept and not accept.

Thanks Quentin Rameau <quinq.ml@gmail.com> for the suggestions!

10 years agoReplacing the deprecated ssl-ca-file with tls-database.
Christoph Lohmann [Thu, 30 Jan 2014 18:39:32 +0000 (19:39 +0100)]
Replacing the deprecated ssl-ca-file with tls-database.

Thanks Steve Dee <mrdomino@gmail.com>!

10 years agoFix the ssl trusted check.
Christoph Lohmann [Thu, 30 Jan 2014 18:35:54 +0000 (19:35 +0100)]
Fix the ssl trusted check.

Thank you Steve Dee <mrdomino@gmail.com>!

10 years agoMake surf set the URI atom right on manual URI entering.
Christoph Lohmann [Mon, 13 Jan 2014 16:58:45 +0000 (17:58 +0100)]
Make surf set the URI atom right on manual URI entering.