r13879 mmu_man - /trunk/netsurf/beos/system_colour.cpp
by netsurf@semichrome.net
Author: mmu_man
Date: Tue Apr 17 14:08:30 2012
New Revision: 13879
URL: http://source.netsurf-browser.org?rev=13879&view=rev
Log:
Fix building on Haiku.
Some ui_color codes were renamed recently. Account for this.
Modified:
trunk/netsurf/beos/system_colour.cpp
Modified: trunk/netsurf/beos/system_colour.cpp
URL: http://source.netsurf-browser.org/trunk/netsurf/beos/system_colour.cpp?re...
==============================================================================
--- trunk/netsurf/beos/system_colour.cpp (original)
+++ trunk/netsurf/beos/system_colour.cpp Tue Apr 17 14:08:30 2012
@@ -56,8 +56,8 @@
#define B_SHINE_COLOR ((color_which)18)
#define B_SHADOW_COLOR ((color_which)19)
#define B_MENU_SELECTED_BORDER_COLOR ((color_which)9)
-#define B_TOOLTIP_BACKGROUND_COLOR ((color_which)20)
-#define B_TOOLTIP_TEXT_COLOR ((color_which)21)
+#define B_TOOL_TIP_BACKGROUND_COLOR ((color_which)20)
+#define B_TOOL_TIP_TEXT_COLOR ((color_which)21)
#define B_SUCCESS_COLOR ((color_which)100)
#define B_FAILURE_COLOR ((color_which)101)
#define B_MENU_SELECTED_BACKGROUND_COLOR B_MENU_SELECTION_BACKGROUND_COLOR
@@ -68,6 +68,11 @@
#define B_DSANDLER_FAVORITE_SHOES_COLOR ((color_which)0x80000004)
#define B_DAVE_BROWN_FAVORITE_COLOR ((color_which)0x80000005)
#endif
+#if defined(B_BEOS_VERSION_DANO)
+#define B_TOOL_TIP_BACKGROUND_COLOR B_TOOLTIP_BACKGROUND_COLOR
+#define B_TOOL_TIP_TEXT_COLOR B_TOOLTIP_TEXT_COLOR
+#define
+#endif
#define NOCOL ((color_which)0)
@@ -192,14 +197,14 @@
0xffaaaaaa,
&nsoption_colour(sys_colour_InfoBackground),
NULL,
- B_TOOLTIP_BACKGROUND_COLOR
+ B_TOOL_TIP_BACKGROUND_COLOR
}, {
"InfoText",
SLEN("InfoText"),
0xff000000,
&nsoption_colour(sys_colour_InfoText),
NULL,
- B_TOOLTIP_TEXT_COLOR
+ B_TOOL_TIP_TEXT_COLOR
}, {
"Menu",
SLEN("Menu"),
11 years, 7 months
r13878 mmu_man - /trunk/libdom/Makefile
by netsurf@semichrome.net
Author: mmu_man
Date: Tue Apr 17 14:07:12 2012
New Revision: 13878
URL: http://source.netsurf-browser.org?rev=13878&view=rev
Log:
Don't use -std=c99 for gcc2. Oddly ZETA's gcc2 didn't really care, but Haiku's does.
Modified:
trunk/libdom/Makefile
Modified: trunk/libdom/Makefile
URL: http://source.netsurf-browser.org/trunk/libdom/Makefile?rev=13878&r1=1387...
==============================================================================
--- trunk/libdom/Makefile (original)
+++ trunk/libdom/Makefile Tue Apr 17 14:07:12 2012
@@ -13,7 +13,7 @@
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-# BeOS/Haiku standard library headers create warnings
+# BeOS/Haiku standard library headers generate warnings
ifneq ($(TARGET),beos)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
@@ -21,8 +21,12 @@
ifeq ($(TARGET),amiga)
CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
endif
-CFLAGS := -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
+CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src -I$(CURDIR)/binding $(WARNFLAGS) $(CFLAGS)
+# Some gcc2 versions choke on -std=c99, and it doesn't know about it anyway
+ifneq ($(GCCVER),2)
+ CFLAGS := -std=c99 $(CFLAGS)
+endif
# Parserutils & wapcaplet
ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
11 years, 7 months
r13874 tlsa - /trunk/netsurf/css/select.c
by netsurf@semichrome.net
Author: tlsa
Date: Mon Apr 16 08:32:42 2012
New Revision: 13874
URL: http://source.netsurf-browser.org?rev=13874&view=rev
Log:
Border width hint is concerned with border attribute, not width attribute. Fixes table borders.
Modified:
trunk/netsurf/css/select.c
Modified: trunk/netsurf/css/select.c
URL: http://source.netsurf-browser.org/trunk/netsurf/css/select.c?rev=13874&r1...
==============================================================================
--- trunk/netsurf/css/select.c (original)
+++ trunk/netsurf/css/select.c Mon Apr 16 08:32:42 2012
@@ -2208,8 +2208,7 @@
lwc_string_unref(qs.name);
if (tablenode != NULL) {
exc = dom_element_get_attribute(tablenode,
- nscss_dom_string_width,
- &width);
+ nscss_dom_string_border, &width);
if (exc != DOM_NO_ERR) {
dom_string_unref(name);
return CSS_BADPARM;
@@ -2220,8 +2219,8 @@
*/
is_table_cell = true;
} else if (dom_string_isequal(name, nscss_dom_string_table)) {
- exc = dom_element_get_attribute(node, nscss_dom_string_width,
- &width);
+ exc = dom_element_get_attribute(node, nscss_dom_string_border,
+ &width);
if (exc != DOM_NO_ERR) {
dom_string_unref(name);
return CSS_BADPARM;
11 years, 7 months
r13873 tlsa - /trunk/netsurf/render/html.c
by netsurf@semichrome.net
Author: tlsa
Date: Mon Apr 16 07:52:59 2012
New Revision: 13873
URL: http://source.netsurf-browser.org?rev=13873&view=rev
Log:
Fix processing of tags in HEAD. Fixes title, favicons, etc.
Modified:
trunk/netsurf/render/html.c
Modified: trunk/netsurf/render/html.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/html.c?rev=13873&r...
==============================================================================
--- trunk/netsurf/render/html.c (original)
+++ trunk/netsurf/render/html.c Mon Apr 16 07:52:59 2012
@@ -542,19 +542,19 @@
}
while (node != NULL) {
- exc = dom_node_get_node_type(head, &node_type);
+ exc = dom_node_get_node_type(node, &node_type);
if ((exc == DOM_NO_ERR) && (node_type == DOM_ELEMENT_NODE)) {
- exc = dom_node_get_node_name(head, &node_name);
+ exc = dom_node_get_node_name(node, &node_name);
if ((exc == DOM_NO_ERR) || (node_name != NULL)) {
- if (!dom_string_caseless_isequal(node_name,
+ if (dom_string_caseless_isequal(node_name,
html_dom_string_title)) {
html_process_title(c, node);
- } else if (!dom_string_caseless_isequal(node_name,
+ } else if (dom_string_caseless_isequal(node_name,
html_dom_string_base)) {
html_process_base(c, node);
- } else if (!dom_string_caseless_isequal(node_name,
+ } else if (dom_string_caseless_isequal(node_name,
html_dom_string_link)) {
html_process_link(c, node);
}
11 years, 7 months
r13872 mono - in /trunk/netsurf/atari/res: netsurf.rsc netsurf.rsh netsurf.rsm
by netsurf@semichrome.net
Author: mono
Date: Sun Apr 15 17:24:13 2012
New Revision: 13872
URL: http://source.netsurf-browser.org?rev=13872&view=rev
Log:
Added menu shortcuts.
Modified:
trunk/netsurf/atari/res/netsurf.rsc
trunk/netsurf/atari/res/netsurf.rsh
trunk/netsurf/atari/res/netsurf.rsm
Modified: trunk/netsurf/atari/res/netsurf.rsc
URL: http://source.netsurf-browser.org/trunk/netsurf/atari/res/netsurf.rsc?rev...
==============================================================================
Binary files - no diff available.
Modified: trunk/netsurf/atari/res/netsurf.rsh
URL: http://source.netsurf-browser.org/trunk/netsurf/atari/res/netsurf.rsh?rev...
==============================================================================
--- trunk/netsurf/atari/res/netsurf.rsh (original)
+++ trunk/netsurf/atari/res/netsurf.rsh Sun Apr 15 17:24:13 2012
@@ -9,8 +9,8 @@
#define MAINMENU_T_HELP 9 /* TITLE in tree MAINMENU */
#define MAINMENU_M_ABOUT 12 /* STRING in tree MAINMENU */
#define MAINMENU_M_NEWWIN 21 /* STRING in tree MAINMENU */
-#define MAINMENU_M_OPENURL 22 /* STRING in tree MAINMENU */
-#define MAINMENU_M_OPENFILE 23 /* STRING in tree MAINMENU */
+#define MAINMENU_M_OPENFILE 22 /* STRING in tree MAINMENU */
+#define MAINMENU_M_OPENURL 23 /* STRING in tree MAINMENU */
#define MAINMENU_M_CLOSEWIN 24 /* STRING in tree MAINMENU */
#define MAINMENU_SEP0 25 /* STRING in tree MAINMENU */
#define MAINMENU_M_SAVEPAGE 26 /* STRING in tree MAINMENU */
Modified: trunk/netsurf/atari/res/netsurf.rsm
URL: http://source.netsurf-browser.org/trunk/netsurf/atari/res/netsurf.rsm?rev...
==============================================================================
--- trunk/netsurf/atari/res/netsurf.rsm (original)
+++ trunk/netsurf/atari/res/netsurf.rsm Sun Apr 15 17:24:13 2012
@@ -3,7 +3,7 @@
#N 99@32@AZAaza___ _@AZAaza090___ _@@_@
#FoC-Header@rsm2out@C-Header@rsh@@@[C-Header@0@
#R 0@0@1@1@1@1@
-#M 20010100@0@7728@596@
+#M 20010100@0@7728@597@
#T 0@1@MAINMENU@@62@@
#O 4@32@T_FILE@@
#O 5@32@T_EDIT@@
@@ -13,8 +13,8 @@
#O 9@32@T_HELP@@
#O 12@28@M_ABOUT@@
#O 21@28@M_NEWWIN@@
-#O 22@28@M_OPENURL@@
-#O 23@28@M_OPENFILE@@
+#O 22@28@M_OPENFILE@@
+#O 23@28@M_OPENURL@@
#O 24@28@M_CLOSEWIN@@
#O 25@28@SEP0@@
#O 26@28@M_SAVEPAGE@@
@@ -183,4 +183,4 @@
#O 101@26@CB_BG_IMAGES@@
#O 98@26@ABORT@@
#O 99@26@OK@@
-#c 18899@
+#c 24229@
11 years, 7 months
r13871 chris_y - /trunk/netsurf/amiga/resources/mimetypes
by netsurf@semichrome.net
Author: chris_y
Date: Sun Apr 15 07:03:51 2012
New Revision: 13871
URL: http://source.netsurf-browser.org?rev=13871&view=rev
Log:
Correct comment
Modified:
trunk/netsurf/amiga/resources/mimetypes
Modified: trunk/netsurf/amiga/resources/mimetypes
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/mimetypes...
==============================================================================
--- trunk/netsurf/amiga/resources/mimetypes (original)
+++ trunk/netsurf/amiga/resources/mimetypes Sun Apr 15 07:03:51 2012
@@ -18,7 +18,7 @@
;
; Please DO NOT edit this file, any changes will be overwritten on
; reinstall/upgrade. Instead create a file called mimetypes.user
-; with any additions, and place it in the same directory as mimetypes.
+; with any additions, and place it in your user data directory.
;
; Image types
@@ -101,8 +101,11 @@
;
; Experimental
;
-application/x-shockwave-flash CMD=gnash:aos4-gnash
+; SWF
+; application/x-shockwave-flash CMD=gnash:aos4-gnash
+
+; Video
; video/mpeg CMD=APPDIR:MPlayer
; video/quicktime CMD=APPDIR:MPlayer
; video/x-msvideo CMD=APPDIR:MPlayer
11 years, 7 months
r13870 chris_y - /branches/release/netsurf/2.9/amiga/dist/netsurf.readme
by netsurf@semichrome.net
Author: chris_y
Date: Sat Apr 14 09:38:41 2012
New Revision: 13870
URL: http://source.netsurf-browser.org?rev=13870&view=rev
Log:
Add some release notes
Modified:
branches/release/netsurf/2.9/amiga/dist/netsurf.readme
Modified: branches/release/netsurf/2.9/amiga/dist/netsurf.readme
URL: http://source.netsurf-browser.org/branches/release/netsurf/2.9/amiga/dist...
==============================================================================
--- branches/release/netsurf/2.9/amiga/dist/netsurf.readme (original)
+++ branches/release/netsurf/2.9/amiga/dist/netsurf.readme Sat Apr 14 09:38:41 2012
@@ -5,8 +5,22 @@
Version: 2.9
Architecture: ppc-amigaos >= 4.1.0
-NetSurf is a small, fast OS4 native web browser. It does not
-require AmiCygnix and has a fully native Reaction-based GUI.
+NetSurf 2.9 is a small, fast, CSS capable web browser for
+AmigaOS 4.1. It sports an OS4 native GUI and does not require
+AmiCygnix. The OS4 code is not related to NetSurf-68k, which
+in turn is not representative of the user interface of NetSurf
+on any other platform.
+
+The redraw method has been changed to conserve graphics memory,
+and the default options are set so users with low amounts of
+graphics card memory can enjoy NetSurf. Consequently performance
+can be improved by doing one or both of the following:
+(a) Toggling "Cache native versions" in the Rendering tab of
+NetSurf's configuration, to "All".
+(b) Increasing the values of redraw_tile_size_x and
+redraw_tile_size_y in Resources/Options, or setting them to 0.
+There are further suggestions in the "optimising for speed"
+section of NetSurf.guide, included in the distribution.
See http://www.netsurf-browser.org for more information about NetSurf.
11 years, 7 months