head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.44 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.40 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.38 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.34 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.26 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.24 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.4 date 2005.02.26.10.08.11; author wiz; state dead; branches; next 1.3; 1.3 date 2005.02.22.00.19.55; author wiz; state Exp; branches; next 1.2; 1.2 date 2003.05.24.19.19.36; author wiz; state dead; branches; next 1.1; 1.1 date 2002.09.05.01.41.24; author dillo; state Exp; branches; next ; desc @@ 1.4 log @Update to 2.1.0.17: Wed Feb 23 19:46:01 MET 2005 mikulas: Correct implementation of non-aggressive cache (i.e. allow more keywords in Cache-Control Wed Feb 23 18:36:52 MET 2005 mikulas: Allow typing only characters valid in current character set into form fields on web Wed Feb 23 16:31:56 MET 2005 Serge Winitzki : Updated Russian translation Wed Feb 23 16:25:41 MET 2005 mikulas: Allow cookies without a value Mon Feb 14 13:15:00 MET 2005 user: When server returns cookie values as "deleted", delete it Tue Feb 1 18:22:11 MET 2005 user: Fixed non-working find next/previous in view menu Thu Jan 27 19:09:46 CET 2005 mikulas: Fixed wrong prototypes causing compilation problem on MacOS X and some other systems Thu Jan 27 16:28:35 MET 2005 mikulas: Fixed configure failure on Solaris Thu Jan 27 00:23:09 CET 2005 Brain javascript: set form action @ text @$NetBSD: patch-ac,v 1.3 2005/02/22 00:19:55 wiz Exp $ --- html_tbl.c.orig 2005-01-02 21:17:25.000000000 +0100 +++ html_tbl.c @@@@ -41,42 +41,6 @@@@ #define R_ALL 3 #define R_GROUPS 4 -/* prototype */ -void get_align(char *, int *); -void get_valign(char *, int *); -void get_c_width(char *, int *, int); -void free_table(struct table *); -void expand_cells(struct table *, int, int); -struct table_cell *new_cell(struct table *, int, int); -void new_columns(struct table *, int, int, int, int, int); -void set_td_width(struct table *, int, int, int); -unsigned char *skip_element(unsigned char *, unsigned char *, unsigned char *, int); -void get_cell_widths(struct table *); -void dst_width(int *, int, int, int *); -int get_vline_width(struct table *, int); -int get_hline_width(struct table *, int); -int g_get_vline_pad(struct table *, int, int *, int *); -int g_get_hline_pad(struct table *, int, int *, int *); -int get_column_widths(struct table *); -void get_table_width(struct table *); -void distribute_widths(struct table *, int); -void check_table_widths(struct table *); -void get_table_heights(struct table *); -void display_complicated_table(struct table *, int, int, int *); -void get_table_frame(struct table *, signed char *, signed char *); -void display_table_frames(struct table *, int, int); -void add_to_rect_sets(struct rect_set ***, int *, struct rect *); -void add_to_cell_sets(struct table_cell ****, int **, int *, struct rect *, struct table_cell *); -void table_mouse_event(struct f_data_c *, struct g_object_table *, int, int, int); -void draw_rect_set(struct graphics_device *, struct background *, struct rect_set *, int, int); -void draw_rect_sets(struct graphics_device *, struct background *, struct rect_set **, int, int, int); -void table_draw(struct f_data_c *, struct g_object_table *, int, int); -void table_destruct(struct g_object_table *); -void table_get_list(struct g_object_table *, void (*)(struct g_object *, struct g_object *)); -struct table *new_table(void); - -void get_cell_width(char *, char *, int, int, int, int *, int *, int, int *, unsigned char *); - void get_align(char *attr, int *a) { @@@@ -197,6 +161,43 @@@@ struct table { #endif }; +/* prototype */ +void get_align(char *, int *); +void get_valign(char *, int *); +void get_c_width(char *, int *, int); +void free_table(struct table *); +void expand_cells(struct table *, int, int); +struct table_cell *new_cell(struct table *, int, int); +void new_columns(struct table *, int, int, int, int, int); +void set_td_width(struct table *, int, int, int); +unsigned char *skip_element(unsigned char *, unsigned char *, unsigned char *, int); +void get_cell_widths(struct table *); +void dst_width(int *, int, int, int *); +int get_vline_width(struct table *, int); +int get_hline_width(struct table *, int); +int g_get_vline_pad(struct table *, int, int *, int *); +int g_get_hline_pad(struct table *, int, int *, int *); +int get_column_widths(struct table *); +void get_table_width(struct table *); +void distribute_widths(struct table *, int); +void check_table_widths(struct table *); +void get_table_heights(struct table *); +void display_complicated_table(struct table *, int, int, int *); +void get_table_frame(struct table *, signed char *, signed char *); +void display_table_frames(struct table *, int, int); +void add_to_rect_sets(struct rect_set ***, int *, struct rect *); +void add_to_cell_sets(struct table_cell ****, int **, int *, struct rect *, struct table_cell *); +void table_mouse_event(struct f_data_c *, struct g_object_table *, int, int, int); +void draw_rect_set(struct graphics_device *, struct background *, struct rect_set *, int, int); +void draw_rect_sets(struct graphics_device *, struct background *, struct rect_set **, int, int, int); +void table_draw(struct f_data_c *, struct g_object_table *, int, int); +void table_destruct(struct g_object_table *); +void table_get_list(struct g_object_table *, void (*)(struct g_object *, struct g_object *)); +struct table *new_table(void); + +void get_cell_width(char *, char *, int, int, int, int *, int *, int, int *, unsigned char *); + + #ifdef DEBUG #define CELL(t, x, y) (((x) < 0 || (x) >= (t)->rx || (y) < 0 || (y) >= (t)->ry) ? (internal("accessing cell out of table (%d,%d) - limit (%d,%d)", (x), (y), (t)->rx, (t)->ry), (t)->cells) : &(t)->cells[(y) * (t)->rx + (x)]) #else @ 1.3 log @Update to 2.1pre16; new patch-ac from authors, will be in next release. Changes since 2.1pre15: Sat Jan 22 20:27:41 cet 2005 mikulas: Fixed empty lines in lists in graphics mode Sat Jan 22 04:40:28 cet 2005 mikulas: On OS/2 use 8.3 temp names, allowing DOS viewers Sat Jan 22 03:55:08 cet 2005 mikulas: Send Accept-Language Sat Jan 22 02:05:47 MET 2005 user: Display is scrolled to see the whole textarea when modifying it Wed Jan 19 02:57:56 MET 2005 Jakub Bogusz Updated Polish translation Wed Jan 19 01:39:44 MET 2005 mikulas: -dump url Completed option documentation in links -h Sun Jan 16 23:57:58 MET 2005 user: Fixed bug in svgalib accelerator (tested for different operations) Mon Jan 10 23:04:22 MET 2005 mikulas: Support for border on framebuffer (use -mode left,top,right,bottom) to set screen border Sun Jan 2 20:46:18 MET 2005 Dieter Fix warnings on 64-bit machines Sun Jan 2 20:39:51 MET 2005 Edward Rosten Block ad images Sun Jan 2 18:51:15 cet 2005 mikulas: Do not cache redirects if redirect loop is going to happen Wed Nov 17 15:16:01 MET 2004 user: Support for mms:// urls Tue Nov 16 15:18:55 MET 2004 mikulas: Send content-type when uploading files Tue Nov 9 00:12:05 MET 2004 user: ^O to go to next form field in braill mode Sun Oct 31 17:17:53 MET 2004 mikulas: Correct jump at tag if it points to position, that moves during loading Sat Oct 23 22:14:03 MET 2004 user: Disallow opening new windows in anonymous mode Fri Oct 22 22:31:20 MET DST 2004 mikulas: Fixed bugs discovered with mangleme: http://lcamtuf.coredump.cx/mangleme/mangle2.cgi memory leak with nested