surf-adblock, branch HEAD Surf adblock web extension 327b1bc633ff956ca11e2c6ef4dd972be16f8532 2017-06-06T07:49:40Z 2017-06-06T07:49:40Z use same error for same error type thing Hiltjo Posthuma hiltjo@codemadness.org commit 327b1bc633ff956ca11e2c6ef4dd972be16f8532 parent 6c346e74c3f8ccf71c543ef327b6f123bee908ba Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 6 Jun 2017 09:49:40 +0200 use same error for same error type thing 6c346e74c3f8ccf71c543ef327b6f123bee908ba 2017-06-05T15:56:14Z 2017-06-05T15:56:14Z improvements, fix parse of domain Hiltjo Posthuma hiltjo@codemadness.org commit 6c346e74c3f8ccf71c543ef327b6f123bee908ba parent ede99e9ea359312250db995e663de8ce73405f62 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Jun 2017 17:56:14 +0200 improvements, fix parse of domain ede99e9ea359312250db995e663de8ce73405f62 2017-06-05T15:37:19Z 2017-06-05T15:37:19Z tests: add match() Hiltjo Posthuma hiltjo@codemadness.org commit ede99e9ea359312250db995e663de8ce73405f62 parent 3cc61dad61ee13b47cc3b6a2931de9413c4c6176 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Jun 2017 17:37:19 +0200 tests: add match() 3cc61dad61ee13b47cc3b6a2931de9413c4c6176 2017-06-05T15:36:10Z 2017-06-05T15:36:10Z improvements Hiltjo Posthuma hiltjo@codemadness.org commit 3cc61dad61ee13b47cc3b6a2931de9413c4c6176 parent 84d3f064e393f5856f4bbbfb519b267ed4a5aa0a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Jun 2017 17:36:10 +0200 improvements - fix CARET in match() - fix matchbegin rules (starts with ||). 84d3f064e393f5856f4bbbfb519b267ed4a5aa0a 2017-06-05T11:07:51Z 2017-06-05T11:07:51Z wip Hiltjo Posthuma hiltjo@codemadness.org commit 84d3f064e393f5856f4bbbfb519b267ed4a5aa0a parent b8f2056f0393290600d79f69c0ceb0ab3eb29072 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Jun 2017 13:07:51 +0200 wip b8f2056f0393290600d79f69c0ceb0ab3eb29072 2017-06-05T10:11:28Z 2017-06-05T10:11:28Z wip Hiltjo Posthuma hiltjo@codemadness.org commit b8f2056f0393290600d79f69c0ceb0ab3eb29072 parent 13facacc65a3b7895f171618c0e031a437ec53b3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Jun 2017 12:11:28 +0200 wip 13facacc65a3b7895f171618c0e031a437ec53b3 2017-06-04T16:41:38Z 2017-06-04T16:41:38Z support global exception rules (untested) Hiltjo Posthuma hiltjo@codemadness.org commit 13facacc65a3b7895f171618c0e031a437ec53b3 parent 2b628faccbbc89cc5e6a73029b7131929e51f4fb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 18:41:38 +0200 support global exception rules (untested) 2b628faccbbc89cc5e6a73029b7131929e51f4fb 2017-06-04T16:40:54Z 2017-06-04T16:40:54Z pattern matching is 30% faster using -O2 Hiltjo Posthuma hiltjo@codemadness.org commit 2b628faccbbc89cc5e6a73029b7131929e51f4fb parent e59bcd09e0c4e97b7421be5462f07cfb0dcbc7b3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 18:40:54 +0200 pattern matching is 30% faster using -O2 reevaluate later e59bcd09e0c4e97b7421be5462f07cfb0dcbc7b3 2017-06-04T16:40:45Z 2017-06-04T16:40:45Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit e59bcd09e0c4e97b7421be5462f07cfb0dcbc7b3 parent 738a182c7157b3f2c0bb9a939d279cae3e1eb0b1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 18:40:45 +0200 update TODO 738a182c7157b3f2c0bb9a939d279cae3e1eb0b1 2017-06-04T16:40:14Z 2017-06-04T16:40:14Z README: mention it is in development Hiltjo Posthuma hiltjo@codemadness.org commit 738a182c7157b3f2c0bb9a939d279cae3e1eb0b1 parent 02bf25f0d075761cd3eb48e8da4ee6540e0be793 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 18:40:14 +0200 README: mention it is in development lower your expectations. 02bf25f0d075761cd3eb48e8da4ee6540e0be793 2017-06-04T16:40:11Z 2017-06-04T16:40:11Z bump LICENSE Hiltjo Posthuma hiltjo@codemadness.org commit 02bf25f0d075761cd3eb48e8da4ee6540e0be793 parent 4bdd720660034ff1d771b209dba2097b10dc4d65 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 18:40:11 +0200 bump LICENSE 4bdd720660034ff1d771b209dba2097b10dc4d65 2017-06-04T12:58:31Z 2017-06-04T12:58:31Z wip Hiltjo Posthuma hiltjo@codemadness.org commit 4bdd720660034ff1d771b209dba2097b10dc4d65 parent 182fbfa07b91c9d882ce592414e230e7a7c57c23 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 14:58:31 +0200 wip 182fbfa07b91c9d882ce592414e230e7a7c57c23 2017-06-04T12:29:46Z 2017-06-04T12:29:46Z fix some warnings, disable debug for unknown/unsupported option Hiltjo Posthuma hiltjo@codemadness.org commit 182fbfa07b91c9d882ce592414e230e7a7c57c23 parent 753df3b16e9c048fdb6680769326cc10c8e0a930 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 14:29:46 +0200 fix some warnings, disable debug for unknown/unsupported option 753df3b16e9c048fdb6680769326cc10c8e0a930 2017-06-04T12:29:17Z 2017-06-04T12:29:17Z surf-adblock: remove unused headers and p->view Hiltjo Posthuma hiltjo@codemadness.org commit 753df3b16e9c048fdb6680769326cc10c8e0a930 parent 55fbb08b97fe45d1d104f99ec1fe43261f322865 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 14:29:17 +0200 surf-adblock: remove unused headers and p->view don't depend on util functions in this file. 55fbb08b97fe45d1d104f99ec1fe43261f322865 2017-06-04T12:22:18Z 2017-06-04T12:22:18Z test-case (start) Hiltjo Posthuma hiltjo@codemadness.org commit 55fbb08b97fe45d1d104f99ec1fe43261f322865 parent 08e747efa80a44603f80db0fdacb3f63ad210b8e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 14:22:18 +0200 test-case (start) 08e747efa80a44603f80db0fdacb3f63ad210b8e 2017-06-04T12:15:27Z 2017-06-04T12:15:27Z separate adblock and surf-specific code Hiltjo Posthuma hiltjo@codemadness.org commit 08e747efa80a44603f80db0fdacb3f63ad210b8e parent c4841f33f64cd77b30def9c0b11d1ac9ece7f821 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 14:15:27 +0200 separate adblock and surf-specific code this will be useful later on for writing test-cases also or re-using the code in a daemon. c4841f33f64cd77b30def9c0b11d1ac9ece7f821 2017-06-04T11:19:04Z 2017-06-04T11:19:04Z wip Hiltjo Posthuma hiltjo@codemadness.org commit c4841f33f64cd77b30def9c0b11d1ac9ece7f821 parent 02097376a8815d907680c2fa94d4b740990f74b2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 13:19:04 +0200 wip 02097376a8815d907680c2fa94d4b740990f74b2 2017-06-04T10:44:22Z 2017-06-04T10:44:22Z wip Hiltjo Posthuma hiltjo@codemadness.org commit 02097376a8815d907680c2fa94d4b740990f74b2 parent fd00cc5304e3e118f4c692cede055cd2baf62307 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 4 Jun 2017 12:44:22 +0200 wip fd00cc5304e3e118f4c692cede055cd2baf62307 2017-06-03T20:12:31Z 2017-06-03T20:22:37Z Simplify rules display property assignment Quentin Rameau quinq@fifth.space commit fd00cc5304e3e118f4c692cede055cd2baf62307 parent 45bbe933e712772b3f1513c8a8970b7e2743f07c Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 3 Jun 2017 22:12:31 +0200 Simplify rules display property assignment 45bbe933e712772b3f1513c8a8970b7e2743f07c 2017-06-03T20:09:25Z 2017-06-03T20:09:25Z Test URI type with webkit instead of manually - from quinq Hiltjo Posthuma hiltjo@codemadness.org commit 45bbe933e712772b3f1513c8a8970b7e2743f07c parent d781090ae7718310fb13c83c1a8406be46a613b8 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 3 Jun 2017 22:09:25 +0200 Test URI type with webkit instead of manually - from quinq The work has already been done so we should as well use it. d781090ae7718310fb13c83c1a8406be46a613b8 2017-06-03T19:54:05Z 2017-06-03T19:54:05Z improvements Hiltjo Posthuma hiltjo@codemadness.org commit d781090ae7718310fb13c83c1a8406be46a613b8 parent b6cc76e9fcac3112086f2d2348ef53b16b59da9d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 3 Jun 2017 21:54:05 +0200 improvements - WIP: faster matching for simple rules, just a test atm, but ~50ms max to ~20ms on my machine. - add support for exception rules. - debug.sh add debug script for testing: compile as main(). b6cc76e9fcac3112086f2d2348ef53b16b59da9d 2017-06-03T11:31:45Z 2017-06-03T11:31:45Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit b6cc76e9fcac3112086f2d2348ef53b16b59da9d parent e9a15efd7acd1c68198a57d14acfff14a7d2d67d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 3 Jun 2017 13:31:45 +0200 update TODO e9a15efd7acd1c68198a57d14acfff14a7d2d67d 2016-09-23T11:05:42Z 2016-09-23T11:05:42Z surf-adblock-dl: simplify a bit, no need for read -r loop Hiltjo Posthuma hiltjo@codemadness.org commit e9a15efd7acd1c68198a57d14acfff14a7d2d67d parent be90f789e9aeb38836b88062cb3a11e344a59825 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 23 Sep 2016 13:05:42 +0200 surf-adblock-dl: simplify a bit, no need for read -r loop be90f789e9aeb38836b88062cb3a11e344a59825 2016-09-23T11:01:28Z 2016-09-23T11:01:28Z update TODO: idea Hiltjo Posthuma hiltjo@codemadness.org commit be90f789e9aeb38836b88062cb3a11e344a59825 parent 0214a0a1e2acd1cff989e0292389626429d909fc Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 23 Sep 2016 13:01:28 +0200 update TODO: idea 0214a0a1e2acd1cff989e0292389626429d909fc 2016-07-19T17:23:19Z 2016-07-19T17:23:19Z remove #if 1, fix a warning Hiltjo Posthuma hiltjo@codemadness.org commit 0214a0a1e2acd1cff989e0292389626429d909fc parent 362d380c606bf80d11d59682ec33bbe64534b50f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 19 Jul 2016 19:23:19 +0200 remove #if 1, fix a warning 362d380c606bf80d11d59682ec33bbe64534b50f 2016-07-17T23:06:05Z 2016-07-19T17:21:45Z don't modify input string in parsedomains Quentin Rameau quinq@fifth.space commit 362d380c606bf80d11d59682ec33bbe64534b50f parent ab4d1e8f7ed4eafd6d1a7a99bc183944c1dc7e41 Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 18 Jul 2016 01:06:05 +0200 don't modify input string in parsedomains ab4d1e8f7ed4eafd6d1a7a99bc183944c1dc7e41 2016-07-17T18:53:50Z 2016-07-19T17:21:45Z cleanup on global css rules parsing error Quentin Rameau quinq@fifth.space commit ab4d1e8f7ed4eafd6d1a7a99bc183944c1dc7e41 parent 08fb7a7ce1e8ac16f40f72820b3122bcc30c2100 Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 20:53:50 +0200 cleanup on global css rules parsing error All possible errors there would have occurred before binding to the webkit signals so we just need to free allocated memory and return. 08fb7a7ce1e8ac16f40f72820b3122bcc30c2100 2016-07-17T17:47:56Z 2016-07-19T17:21:45Z use a fixed-size buffer for domain name extraction Quentin Rameau quinq@fifth.space commit 08fb7a7ce1e8ac16f40f72820b3122bcc30c2100 parent c6ad19fedcfc3ae813187e47b90b1008edf047ea Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 19:47:56 +0200 use a fixed-size buffer for domain name extraction We know per RFC 1035 (2.3.4. Size limits) [1] that the maximum data storage length for a domain name is 255 bytes. [1] https://tools.ietf.org/rfc/rfc1035.txt c6ad19fedcfc3ae813187e47b90b1008edf047ea 2016-07-17T17:08:37Z 2016-07-19T17:21:45Z make all functions static Quentin Rameau quinq@fifth.space commit c6ad19fedcfc3ae813187e47b90b1008edf047ea parent 141791dac93c6f5c7bc5a7525806897b3c3a4255 Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 19:08:37 +0200 make all functions static 141791dac93c6f5c7bc5a7525806897b3c3a4255 2016-07-17T16:38:17Z 2016-07-19T17:21:45Z better handling of initial rules loading from file Quentin Rameau quinq@fifth.space commit 141791dac93c6f5c7bc5a7525806897b3c3a4255 parent 9014575ee36dc784da9f519c41d44932d248b772 Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 18:38:17 +0200 better handling of initial rules loading from file Quit on error, but also when no rules were present in the file. 9014575ee36dc784da9f519c41d44932d248b772 2016-07-17T12:33:04Z 2016-07-19T17:21:45Z handle errors nicely: warn without crashing Quentin Rameau quinq@fifth.space commit 9014575ee36dc784da9f519c41d44932d248b772 parent 8f646ec95953602d0667766aa81e1a329ff05d13 Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 14:33:04 +0200 handle errors nicely: warn without crashing We don't want to crash the whole webprocess on error (do we?). Warn when an error happened and bail out. 8f646ec95953602d0667766aa81e1a329ff05d13 2016-07-17T14:15:31Z 2016-07-19T17:21:45Z change the names in String for more clarity Quentin Rameau quinq@fifth.space commit 8f646ec95953602d0667766aa81e1a329ff05d13 parent 95c5c0d4bd55049c2fbf2eff49580076ac749023 Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 16:15:31 +0200 change the names in String for more clarity Adapt the names in string_buffer_realloc() too 95c5c0d4bd55049c2fbf2eff49580076ac749023 2016-07-17T12:08:42Z 2016-07-17T12:08:42Z minor code-cleanup and simplifications Hiltjo Posthuma hiltjo@codemadness.org commit 95c5c0d4bd55049c2fbf2eff49580076ac749023 parent bce26341429ed8cb04c3df51aa55e08a5698785d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 17 Jul 2016 14:08:42 +0200 minor code-cleanup and simplifications bce26341429ed8cb04c3df51aa55e08a5698785d 2016-07-17T12:08:25Z 2016-07-17T12:08:25Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit bce26341429ed8cb04c3df51aa55e08a5698785d parent 1b2fa25986e2fbbecc4caa7a220364536fdab2af Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 17 Jul 2016 14:08:25 +0200 update TODO 1b2fa25986e2fbbecc4caa7a220364536fdab2af 2016-07-17T12:07:23Z 2016-07-17T12:07:23Z don't exit on failed initialization (would crash the page) Hiltjo Posthuma hiltjo@codemadness.org commit 1b2fa25986e2fbbecc4caa7a220364536fdab2af parent c08593ce08d4b64713b3d8dd5433e9226d9df018 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 17 Jul 2016 14:07:23 +0200 don't exit on failed initialization (would crash the page) we still have to think how to handle OOM situations. c08593ce08d4b64713b3d8dd5433e9226d9df018 2016-07-17T01:05:57Z 2016-07-17T09:59:35Z do not block explicitely requested uris Quentin Rameau quinq@fifth.space commit c08593ce08d4b64713b3d8dd5433e9226d9df018 parent 3c2028b5af591cb00fdf7dbc06bb55e1bcdc4eed Author: Quentin Rameau <quinq@fifth.space> Date: Sun, 17 Jul 2016 03:05:57 +0200 do not block explicitely requested uris 3c2028b5af591cb00fdf7dbc06bb55e1bcdc4eed 2016-07-16T19:08:21Z 2016-07-17T09:59:35Z do not apply empty css rules Quentin Rameau quinq@fifth.space commit 3c2028b5af591cb00fdf7dbc06bb55e1bcdc4eed parent c882cd7277bb06ca5e14dcd0671a610141de6122 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 21:08:21 +0200 do not apply empty css rules c882cd7277bb06ca5e14dcd0671a610141de6122 2016-07-16T18:42:21Z 2016-07-17T09:59:35Z return early on non web uri and simplify host parsing Quentin Rameau quinq@fifth.space commit c882cd7277bb06ca5e14dcd0671a610141de6122 parent cbebae04e483491bf237fe84393ac46c759742c8 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 20:42:21 +0200 return early on non web uri and simplify host parsing We now only duplicate the domain part instead of the full uri string. cbebae04e483491bf237fe84393ac46c759742c8 2016-07-16T17:21:56Z 2016-07-17T09:59:35Z remove unuseful castings Quentin Rameau quinq@fifth.space commit cbebae04e483491bf237fe84393ac46c759742c8 parent b86adf21767a22614e170a19b19eaf116a422532 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 19:21:56 +0200 remove unuseful castings b86adf21767a22614e170a19b19eaf116a422532 2016-07-16T17:15:45Z 2016-07-17T09:59:35Z style correction, shorten long lines Quentin Rameau quinq@fifth.space commit b86adf21767a22614e170a19b19eaf116a422532 parent 82cd3bf28176da0e23599f586ef6f18f06a059ba Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 19:15:45 +0200 style correction, shorten long lines 82cd3bf28176da0e23599f586ef6f18f06a059ba 2016-07-16T17:14:00Z 2016-07-17T09:59:35Z simplify rules file path construction Quentin Rameau quinq@fifth.space commit 82cd3bf28176da0e23599f586ef6f18f06a059ba parent 94705d18c8191bd931b284dfc50c4c6f100ea65a Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 19:14:00 +0200 simplify rules file path construction 94705d18c8191bd931b284dfc50c4c6f100ea65a 2016-07-16T16:41:41Z 2016-07-17T09:59:35Z introduce eprintf() to replace various error points Quentin Rameau quinq@fifth.space commit 94705d18c8191bd931b284dfc50c4c6f100ea65a parent 943b025897dd39e4b64755e6bafa890d35ea8ae1 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 18:41:41 +0200 introduce eprintf() to replace various error points 943b025897dd39e4b64755e6bafa890d35ea8ae1 2016-07-16T14:23:41Z 2016-07-17T09:59:35Z make filtertypes array static Quentin Rameau quinq@fifth.space commit 943b025897dd39e4b64755e6bafa890d35ea8ae1 parent 7ed2fc116d5c27efb3f605980b525319b53cfd2d Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 16:23:41 +0200 make filtertypes array static 7ed2fc116d5c27efb3f605980b525319b53cfd2d 2016-07-16T12:19:13Z 2016-07-17T09:59:35Z change failed commands handling in Makefile Quentin Rameau quinq@fifth.space commit 7ed2fc116d5c27efb3f605980b525319b53cfd2d parent 4abcfd0275f2832ab7bc13bf543ab75c95c9a53c Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 14:19:13 +0200 change failed commands handling in Makefile Use the '-' prefix to ignore failure instead of invoking true. 4abcfd0275f2832ab7bc13bf543ab75c95c9a53c 2016-07-16T11:16:00Z 2016-07-17T09:59:35Z remove unused variables Quentin Rameau quinq@fifth.space commit 4abcfd0275f2832ab7bc13bf543ab75c95c9a53c parent 50c884125634837287c62bf995a3a97af8a1bc9b Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 13:16:00 +0200 remove unused variables 50c884125634837287c62bf995a3a97af8a1bc9b 2016-07-16T11:12:52Z 2016-07-17T09:59:35Z add module option to libtool Quentin Rameau quinq@fifth.space commit 50c884125634837287c62bf995a3a97af8a1bc9b parent 6d7aec70618a62cba038fb4dacfc69691e3210e0 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 13:12:52 +0200 add module option to libtool This is needed or else libtool will complain that the library name doesn't start with “lib”. This was initialy my fault. 6d7aec70618a62cba038fb4dacfc69691e3210e0 2016-07-16T10:59:36Z 2016-07-17T09:59:35Z simplify Makefile by merging unuseful variables Quentin Rameau quinq@fifth.space commit 6d7aec70618a62cba038fb4dacfc69691e3210e0 parent f34202b8786c190d5935210e0289123943239730 Author: Quentin Rameau <quinq@fifth.space> Date: Sat, 16 Jul 2016 12:59:36 +0200 simplify Makefile by merging unuseful variables GTK, WEBEXT, LIB separation is a leftover from surf, we can use only WEBEXT here. f34202b8786c190d5935210e0289123943239730 2016-07-16T10:19:28Z 2016-07-16T10:19:28Z allow setting surf adblock file using env Hiltjo Posthuma hiltjo@codemadness.org commit f34202b8786c190d5935210e0289123943239730 parent 3217c9e3ead5b5cf40df1e624e8475d93574ae1e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 16 Jul 2016 12:19:28 +0200 allow setting surf adblock file using env 3217c9e3ead5b5cf40df1e624e8475d93574ae1e 2016-07-16T10:12:28Z 2016-07-16T10:12:28Z update README with basic usage instructions Hiltjo Posthuma hiltjo@codemadness.org commit 3217c9e3ead5b5cf40df1e624e8475d93574ae1e parent 75a5ce0455bace5c6b20ef07ceb202bd0af02269 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 16 Jul 2016 12:12:28 +0200 update README with basic usage instructions 75a5ce0455bace5c6b20ef07ceb202bd0af02269 2016-07-16T10:11:51Z 2016-07-16T10:11:51Z use non-hardcoded adblock list Hiltjo Posthuma hiltjo@codemadness.org commit 75a5ce0455bace5c6b20ef07ceb202bd0af02269 parent bce9b1e6b8d516ab21f9e23839ae96f82a9cd723 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 16 Jul 2016 12:11:51 +0200 use non-hardcoded adblock list bce9b1e6b8d516ab21f9e23839ae96f82a9cd723 2016-07-16T10:05:05Z 2016-07-16T10:05:05Z improve download script and install it aas surf-adblock-dl Hiltjo Posthuma hiltjo@codemadness.org commit bce9b1e6b8d516ab21f9e23839ae96f82a9cd723 parent 2b4dbc8301f9bc4f3ee3ea807563de705af22c13 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 16 Jul 2016 12:05:05 +0200 improve download script and install it aas surf-adblock-dl usage: surf-adblock-dl > ~/.surf/adblockrules 2b4dbc8301f9bc4f3ee3ea807563de705af22c13 2016-07-16T09:53:33Z 2016-07-16T09:53:33Z dynamically allocate globalcss and sitecss, update TODO Hiltjo Posthuma hiltjo@codemadness.org commit 2b4dbc8301f9bc4f3ee3ea807563de705af22c13 parent cb128e7fe7db0319770a0e6d7ccd691385b700ad Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 16 Jul 2016 11:53:33 +0200 dynamically allocate globalcss and sitecss, update TODO the matching behaviour will be rewritten, it is too inefficient cb128e7fe7db0319770a0e6d7ccd691385b700ad 2016-07-14T20:56:11Z 2016-07-14T20:56:11Z strdup for request is not needed (ty quinq) Hiltjo Posthuma hiltjo@codemadness.org commit cb128e7fe7db0319770a0e6d7ccd691385b700ad parent 4372e931d7e1131c49406bb5d30917be4b37db89 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:56:11 +0200 strdup for request is not needed (ty quinq) 4372e931d7e1131c49406bb5d30917be4b37db89 2016-07-14T20:52:32Z 2016-07-14T20:52:32Z improve error message for fopen Hiltjo Posthuma hiltjo@codemadness.org commit 4372e931d7e1131c49406bb5d30917be4b37db89 parent 0cd2ac315bf63d72bb5e7241b08588c92627efc7 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:52:32 +0200 improve error message for fopen 0cd2ac315bf63d72bb5e7241b08588c92627efc7 2016-07-14T20:38:38Z 2016-07-14T20:38:38Z better error message, cleanup old code, update TODO Hiltjo Posthuma hiltjo@codemadness.org commit 0cd2ac315bf63d72bb5e7241b08588c92627efc7 parent d23e1f8aeddd7fafb9570c3a0d042a8d00303c05 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:38:38 +0200 better error message, cleanup old code, update TODO d23e1f8aeddd7fafb9570c3a0d042a8d00303c05 2016-07-14T20:28:22Z 2016-07-14T20:28:22Z use initializer without data Hiltjo Posthuma hiltjo@codemadness.org commit d23e1f8aeddd7fafb9570c3a0d042a8d00303c05 parent d49dbcc0f7518f323673c0eff10ff5cbf6ce06f7 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:28:22 +0200 use initializer without data d49dbcc0f7518f323673c0eff10ff5cbf6ce06f7 2016-07-14T20:27:15Z 2016-07-14T20:27:15Z remove some old left-over code Hiltjo Posthuma hiltjo@codemadness.org commit d49dbcc0f7518f323673c0eff10ff5cbf6ce06f7 parent 888e9c8a2237bf9c374e04737f103e91cdc30267 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:27:15 +0200 remove some old left-over code 888e9c8a2237bf9c374e04737f103e91cdc30267 2016-07-14T20:18:31Z 2016-07-14T20:18:31Z initial insertion (twss) Hiltjo Posthuma hiltjo@codemadness.org commit 888e9c8a2237bf9c374e04737f103e91cdc30267 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 14 Jul 2016 22:18:31 +0200 initial insertion (twss)