Date: Fri, 25 Aug 2000 02:46:33 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: Html test suite for real At last ! here's the first version of the html test suite ! Just go to index.html. (faulty pages should not be that useful, but they were quite fast to build so I added them). Currently missing : IMG and FORM tags testing pages (except yours) Don't hesitate to change (or ask me to change) whatever you want before publishing. (especially english grammar ;-) PS: I know you wanted me to harvest relevant pages, but I finally prefered to make most of them by myself. file:Html.testsuite.tar.gz Date: Mon, 28 Aug 2000 20:15:31 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: [patch] Pagemarks : a new feature Hi again, Here's a new feature for dillo, named Pagemarks, which is the result of combined efforts of Sebastian and me. Basically, this is a new menu (left to the "Bookmarks") which contains (virtual) anchors to each H tag of the currently rendered page. This way, you can jump at any paragraph heading just by clicking in the menu. This is a DwPage add-on, which make it ready for multiple frames in window : each frame will have its own sub-menu (currently, only one sub-menu) As I'm not sure you'll like this ;-), that's why I've enclosed a dillo binary so you can test it right-away (go to a large page, such as your mysql_Tutorial.html, or slashdot). If you ask me, this is very useful ;-)))) (even if not all large pages have headings to begin a paragraph) file:dillo.pagemarks.patch.tar.gz Date: Sun, 03 Sep 2000 22:01:57 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: [patch] image maps Hi, here's a patch for image maps (both client-side usemap and, hopefully working, server-side ismap, but I don't know an address to test the latter). I tried to follow the NC design more closely than I did in last patches, please tell me if I'm doing something wrong regarding that, so I can do it good. This patch is not perfect, but it works well. It might need some rework on the DwPageAttr side, and also about the x position in Dw_find_link(). There's 2 new tags supported : MAP and AREA. The maps are stored in a list just like links. Map names match the map list indexes via a hashtable. Map names are stored as hashes, not the full string. I added support for A tags in MAP, which is new in HTML4 and not much supported yet. It was really just calling open_area() in open_a() to parse the A tag for SHAPE and COORDS attributes. I also added an "alt" field in the link structure and make it displayed in the status bar if present. file:dillo.map.patch Date: Sat, 26 Aug 2000 19:34:42 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: patch: lists Hi, me again (that's the week-end, right ? ;-) Here's a patch that complete the parsing for tags OL, UL and LI, with full attribute redering (type, value, start), except for compact (which is never used, deprecated anyway, and is optionnal to render). I changed the behavior for the 4th nested unordered list : it was forced to arabic numbering (which was not allowed by HTML specs). Now it's reseted back to the disc type every nested-4 unordered lists or inside an ordered list. I forced monotype font for list numbering to ease paragraph alignment (now alignment is enforced even if mixed ordered/unordered). Note that paragraph alignment is not garanteed, especially with large roman numbers (more than 6 letters, which will first occurs for number 37), and that won't be easy to fix. This patch also fixes the nested paragraph numbering problem reported a few days ago. That patch doesn't address the "P tag in LI" issue, because it's a paragraph rendering problem : it has to do with indent_first (which I suspect exists only for lists rendering), but I couldn't find a way to correct that without breaking everything ... yet. file:dillo.lists.patch Date: Sun, 27 Aug 2000 22:21:11 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: bug#80 patch Hi, here's a tiny patch correcting bug#80 (segfault on popup menu when in text/plain), self explained. file:dillo.bug80.patch Date: Sat, 26 Aug 2000 14:59:27 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: hruler patch Hi, this is the complete patch for HR support with attributes (width, both % and pixels, size, noshade, align=3D{left, right, center}) I'm no so happy with hruler position rendering at large size (more than 6), which I find to close to the text above, but it seems a general y postionning problem in dillo (form widgets are not well align neither). It's also possible I didn't understood everything in nego_y ;-) There's no render overlapping, though, and the look is pretty good. I also added a line_break just before painting (there was one already just after), as a hruler is supposed to be alone on his line. That could induce multiple line breaks, but dillo's good at ignoring them. There was no DW_FLAG_REQ_RESIZE set for this widget, even if the default is to resize the hruler width to the 100%. I didn't used it, because I'm not sure of the meaning of this flag. It's possible I duplicated it with my DW_HRULER_FLAG_WIDTH_IN_PERCENT. PS: this is a patch against original dillo-0.2.4, not against my last href_target-patched version. Am I supposed to do that way ? (they're fairly independant, though) file:dillo.hruler.patch Date: Fri, 25 Aug 2000 22:19:35 +0900 (KST) From: Eric GAUDET To: Jorge Arellano Cid Subject: a href patch Ola Jorge, Here's a new patch in the "open new browser page" mood : the target="_blank" attribute in tags is recognized and opens a new window when clicked. I prepared the path for future framesets in adding a .target member in the link structure, and filling it with "_self" when target attribute is not present, and with the actual target name if present. I'm not testing for "_self" right now, only "_blank". I wanted to open whatever target is not _self in a named page (matching the target's name if already open, or opening a new one), to provide a frameset sort-of support (in different windows), but I'm not sure it would be interesting nor make it easier for future "regular" frameset implementation, so I'm leaving it for now. I merged that with the previous "if(Button 2)" (which, BTW has moved from GDK_BUTTON_PRESS to the much better GDK_BUTTON_RELEASE) bye. file:dillo.href_target.patch