After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533986 - HTML importer is broken
HTML importer is broken
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Bookmarks
2.22.x
Other Linux
: Normal normal
: gnome-2-22
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks: 167346
 
 
Reported: 2008-05-20 07:42 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2008-07-24 20:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
20080520_bgo_533986_bookmark-importer: proposed rewrite to the html parser (3.88 KB, patch)
2008-05-20 08:11 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
v2 (4.10 KB, patch)
2008-05-20 19:57 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Diego Escalante Urrelo (not reading bugmail) 2008-05-20 07:42:42 UTC
I'm finishing a patch to replace the parser with gregex.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 08:11:44 UTC
Created attachment 111205 [details] [review]
20080520_bgo_533986_bookmark-importer: proposed rewrite to the html parser

Works perfect here, please test
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 08:42:58 UTC
Changing target, I humbly think this should go in 2.22 too, right now the feature is silently broken.
Marking so chpe (yes, you) checks it before next release :).
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 08:49:35 UTC
oops, as reinout said on IRC, I confused gnome target with target milestone.
Comment 4 Reinout van Schouwen 2008-05-20 08:53:34 UTC
there, fixed.
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2008-05-20 19:57:09 UTC
Created attachment 111253 [details] [review]
v2

Updated to cosimo's comments on IRC, uses a goto to make the regex blocks mutually exclusive for real.
Comment 6 Cosimo Cecchi 2008-05-20 20:46:02 UTC
I can't really comment on the regex themselves, but the code looks fine to me (maybe you can leave out the comment about why we free under the "end:" label and do not indent the code under that block, i.e. put the label on the first column and indent all the other code as usual with only one tab).
Comment 7 Christian Persch 2008-05-23 21:15:13 UTC
+	g_free (match_info);

Use g_match_info_free.

Let's try this on trunk first; thanks for the patch!
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2008-05-24 12:18:35 UTC
Committed to trunk. Leaving open until we decide if this goes to .22 too.
Comment 9 Diego Escalante Urrelo (not reading bugmail) 2008-05-26 11:31:37 UTC
Forgot to mark committed (at least for trunk as i said)
Comment 10 Diego Escalante Urrelo (not reading bugmail) 2008-07-09 15:03:41 UTC
Closing, we are not gonna release more .22 epiphanies it seems.
Comment 11 Diego Escalante Urrelo (not reading bugmail) 2008-07-24 20:32:32 UTC
Committed to -24.