John Tytgat
c40fc354b3
- Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
...
- ro_gui_get_icon_string():
- Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
- Enfore NUL string termination as return value (instead of other control char termination)
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added
svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Tytgat
039362166c
Make ro_gui_configure_register static.
...
svn path=/trunk/netsurf/; revision=4900
2008-08-04 21:52:28 +00:00
Chris Young
f0a5b08430
OS4 32-bit icon for NetSurf.
...
svn path=/trunk/netsurf/; revision=4878
2008-08-03 16:14:42 +00:00
Chris Young
a57fe0a78f
Opens and closes timer.device, and creates a new list - required for scheduling code
...
in schedule.c
svn path=/trunk/netsurf/; revision=4877
2008-08-03 16:13:57 +00:00
Chris Young
05d0e28d50
Generic objects code implemented using Exec lists. Currently used by schedule.c to
...
add and delete schedule items from a list.
svn path=/trunk/netsurf/; revision=4876
2008-08-03 16:12:01 +00:00
Chris Young
d1c876e03c
Fully implemented schedule, schedule_run and schedule_remove.
...
svn path=/trunk/netsurf/; revision=4875
2008-08-03 16:10:10 +00:00
Chris Young
f297bb8531
Added object.c to NS_AMIGA source files
...
svn path=/trunk/netsurf/; revision=4874
2008-08-03 16:07:56 +00:00
John Tytgat
48070139d8
Prefix all RISC OS print global variables and functions with "ro_" in order to avoid the print_cleanup function name clash in desktop/print.c and
...
riscos/print.c.
svn path=/trunk/netsurf/; revision=4867
2008-08-02 20:07:44 +00:00
Chris Young
611e4f8cbe
Added changes for TARGET=amiga
...
svn path=/trunk/netsurf/; revision=4865
2008-08-02 14:35:40 +00:00
Chris Young
26203b2215
Initial Amiga port files, mostly empty stub functions.
...
svn path=/trunk/netsurf/; revision=4864
2008-08-02 14:31:32 +00:00
John Mark Bell
a011abf55f
Move plugin option to Makefile.config.
...
Disable it by default.
svn path=/trunk/netsurf/; revision=4853
2008-08-01 11:29:18 +00:00
John Tytgat
5685170036
Make the knockout plotter calling behaviour optional by added a new entry
...
'option_knockout' to 'struct plotter_table' which basically is a request
from that plotter backend for the content redraw routine to get called in
such a way that overlapping render areas are avoided as much as possible.
It is up to the content redraw code to actually implement this
option if it is reasonably profitable. This was and is currently done
explicitly by the html content redraw code. On top of that the riscos
plotter code was installing the knockout plotter itself for all content
types except plaintext and SVG and this is no longer being done in this
patch.
In more detail:
- desktop/plotters.h: added struct plotter_table::option_knockout
- render/html_redraw.c(html_redraw): if the plotter backend wants the
knockout calling behaviour, install the knockout plotter which will then
call the real backend. Also check on the return values of clg and clip
plotter calls.
- Plotter backend changes:
-> no longer plotting in knockout mode:
- gtk/gtk_print.c: Also removed a 2nd instance of
"struct plotter_table plot".
- riscos/save_draw.c
- riscos/print.c: Also the path plotter function pointer wasn't
filled in and this is now fixed.
- pdf/pdf_plotters.c: Removed the flush function as this is
optional and we only had a dummy implementation there.
-> remaining to request knockout mode if it makes sense based on the
content type:
- gtk/gtk_plotters.c
- riscos/plotters.c
- desktop/knockout.c
- riscos/window.c: Removed what's believed an obsolete test on the
content type which determined to additionally install the
knockout plotter in front of the real plotter code.
svn path=/trunk/netsurf/; revision=4823
2008-07-30 19:17:27 +00:00
Michael Drake
d43f5777e2
Fix typos, fix libharu address and update homepage setting.
...
svn path=/trunk/netsurf/; revision=4819
2008-07-30 12:02:10 +00:00
John Mark Bell
c6f0bc5765
Whoops. Fix BNF to match reality.
...
svn path=/trunk/netsurf/; revision=4818
2008-07-30 00:58:37 +00:00
John Tytgat
fe6fce1d37
Keep on hourglassing when dumping application space and UnixLib DA memory blocks to disc.
...
svn path=/trunk/netsurf/; revision=4817
2008-07-30 00:55:55 +00:00
John Tytgat
611b558d0e
Constify content_type_name & content_status_name
...
svn path=/trunk/netsurf/; revision=4815
2008-07-30 00:54:43 +00:00
John Mark Bell
307ab6675f
Rewrite parsing of <meta http-equiv="Refresh" ...> content values. The previous code was full of nasty edge cases. As an added bonus, there's some BNF documenting what we expect to support here.
...
svn path=/trunk/netsurf/; revision=4814
2008-07-30 00:51:26 +00:00
John Tytgat
3eabd20dcf
Code style changes.
...
svn path=/trunk/netsurf/; revision=4813
2008-07-29 23:59:38 +00:00
John Tytgat
23a5467178
Use static for variables local to one source file.
...
svn path=/trunk/netsurf/; revision=4812
2008-07-29 23:19:24 +00:00
John Tytgat
9ede9ab376
Don't call group_end before group_start has been called. Solves SF #1927130 .
...
svn path=/trunk/netsurf/; revision=4811
2008-07-29 23:11:32 +00:00
Michael Drake
43dd9fb097
ASSEMBLE needs no padding.
...
svn path=/trunk/netsurf/; revision=4809
2008-07-29 20:55:26 +00:00
Rob Kendrick
9418f693d2
Restore accidentally removed line
...
svn path=/trunk/netsurf/; revision=4804
2008-07-29 15:36:54 +00:00
Rob Kendrick
9eacc5ca04
Make user agent string and default homepage configurable from Makefile.config
...
svn path=/trunk/netsurf/; revision=4803
2008-07-29 15:10:31 +00:00
Rob Kendrick
806d362674
Fix overflow spotted by jmb/valgrind.
...
svn path=/trunk/netsurf/; revision=4800
2008-07-29 14:46:06 +00:00
John Mark Bell
1c6012aae5
Assert first, before acting on selection
...
svn path=/trunk/netsurf/; revision=4799
2008-07-29 10:13:01 +00:00
John Mark Bell
a66415564f
Add rectangle as alias for "rect"
...
svn path=/trunk/netsurf/; revision=4798
2008-07-29 09:48:08 +00:00
Michael Drake
e3eb293f83
Fix wrap to 80 chars (mostly RISC OS section). Make GTK dialogs go in with GTK section, like RISC OS configure stuff. Move PDF bit to genearl core area.
...
svn path=/trunk/netsurf/; revision=4797
2008-07-29 09:45:41 +00:00
Daniel Silverstone
4c4309ecac
Rename AUTOCONF to M.CONFIG to make it clearer that it's Makefile.config governing the behaviour. Add support for Makefile.config.override so we stop checking in the disabling of HARU by mistake. Ensure the M.CONFIG lines do not appear when doing make clean.
...
svn path=/trunk/netsurf/; revision=4796
2008-07-29 09:44:13 +00:00
François Revel
4c6006e6f4
C89
...
svn path=/trunk/netsurf/; revision=4795
2008-07-29 09:34:43 +00:00
François Revel
34e0f4db3f
- C89 again
...
- include beos options for BeOS
svn path=/trunk/netsurf/; revision=4794
2008-07-29 09:28:45 +00:00
François Revel
d49fc65923
C89 again
...
svn path=/trunk/netsurf/; revision=4793
2008-07-29 09:25:54 +00:00
François Revel
af7be03db3
more obvious C89
...
svn path=/trunk/netsurf/; revision=4792
2008-07-29 09:25:17 +00:00
François Revel
971c93fece
gcc2 doesn't find CSS_FONT_SIZE_LENGTH, moved css_font_size_type to its own type.
...
svn path=/trunk/netsurf/; revision=4791
2008-07-29 09:18:53 +00:00
François Revel
73040da7a3
- libjpeg & libpng are added from config options, no need to add them again
...
- move STRIP with other tools
svn path=/trunk/netsurf/; revision=4790
2008-07-29 09:10:43 +00:00
Rob Kendrick
5693c0500c
Make install-gtk target obey NETSURF_GTK_RESOURCES, and add config option for location of binary
...
svn path=/trunk/netsurf/; revision=4789
2008-07-29 09:08:32 +00:00
François Revel
f28f4cc760
First round of C89 fixes. Those should be obvious, hope I didn't introduce any side effect.
...
svn path=/trunk/netsurf/; revision=4788
2008-07-29 09:05:36 +00:00
François Revel
00687fcdda
- don't use haru pdf on BeOS yet
...
- make BeOS resource definition file depend on needed files
- add option to strip the binary, off by default.
svn path=/trunk/netsurf/; revision=4787
2008-07-29 08:57:51 +00:00
Rob Kendrick
fb82961603
Add NETSURF_USE_ARTWORKS to Makefile.config
...
svn path=/trunk/netsurf/; revision=4786
2008-07-29 08:50:13 +00:00
John Mark Bell
d82850f1c4
Fix makefile
...
svn path=/trunk/netsurf/; revision=4785
2008-07-28 23:36:53 +00:00
John Mark Bell
430ac1db21
Convert svgtiny colours to BGR ordering when passing them to plotter APIs.
...
svn path=/trunk/netsurf/; revision=4784
2008-07-28 23:26:54 +00:00
John Mark Bell
28f45754d5
A load of pedantic indenting, so I've half a chance of reading this in future.
...
Use immediate assignment for configuration options -- there's no point in re-evaluating them every time.
svn path=/trunk/netsurf/; revision=4783
2008-07-28 23:16:59 +00:00
John Tytgat
86f4561e4c
ro_save_draw_rectangle(): draw_CLOSE_LINE doesn't need parameters. This potentionally fixes SF #2010390 & #1927130 .
...
svn path=/trunk/netsurf/; revision=4782
2008-07-28 22:42:33 +00:00
John Tytgat
1f0e0d009a
Fix cross-compile RISC OS build.
...
svn path=/trunk/netsurf/; revision=4781
2008-07-28 21:55:46 +00:00
Rob Kendrick
f8d4c6621d
Gah. Re-enable Haru by default.
...
svn path=/trunk/netsurf/; revision=4780
2008-07-28 21:44:44 +00:00
Rob Kendrick
238ebca344
Whoops. Append, don't overwrite.
...
svn path=/trunk/netsurf/; revision=4779
2008-07-28 21:44:24 +00:00
Rob Kendrick
97e1d9503f
Make sure new Makefile works when cross-building to RISC OS, as well as when building natively.
...
svn path=/trunk/netsurf/; revision=4778
2008-07-28 21:21:40 +00:00
Rob Kendrick
e0e6f02f82
Update building/packaging documentation
...
svn path=/trunk/netsurf/; revision=4776
2008-07-28 21:02:20 +00:00
Rob Kendrick
fe7cae2bfe
Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
...
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00
Rob Kendrick
052f99d379
Include headers we need, rather than depending on (optional) features doing so.
...
svn path=/trunk/netsurf/; revision=4774
2008-07-28 20:32:51 +00:00
Michael Drake
9be511ce2c
Fix native RISC OS build breakage caused by r4765. Thanks jmb.
...
svn path=/trunk/netsurf/; revision=4772
2008-07-27 08:54:14 +00:00