Commit Graph

3346 Commits

Author SHA1 Message Date
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
John Tytgat 203b3289b8 - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.

svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
Rob Kendrick 4ea96eac11 Install file added in last commit
svn path=/trunk/netsurf/; revision=4768
2008-07-26 23:04:10 +00:00
Rob Kendrick 85cd66c1b5 Add 16x16 NetSurf icon for use in desktop menus, as required my many environments and distributions.
svn path=/trunk/netsurf/; revision=4767
2008-07-26 23:02:45 +00:00
Rob Kendrick b6bf21e53b Avoid installing svn meta data
svn path=/trunk/netsurf/; revision=4766
2008-07-26 22:58:01 +00:00
Rob Kendrick 3bb2ffc5ee Simple install target for default settings. Could be made more configurable via the config file (also updating the search path used in gtk_gui.c) later.
svn path=/trunk/netsurf/; revision=4765
2008-07-26 22:53:13 +00:00
Rob Kendrick ad353eab97 Reenable Haru by default
svn path=/trunk/netsurf/; revision=4764
2008-07-26 22:43:41 +00:00
Rob Kendrick afb3364151 Comment out code that causes segfaults on some GTK setups. It is unclear as to what it is meant to be doing, as it refers to non-existant widgets.
svn path=/trunk/netsurf/; revision=4763
2008-07-26 22:35:09 +00:00
John Tytgat 5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Rob Kendrick aae686d90a Don't try to set up the old About box, which no longer exists.
svn path=/trunk/netsurf/; revision=4761
2008-07-26 21:54:22 +00:00
Rob Kendrick 4b10eeaf4d Add mention of Makefile.config to packaging guide.
svn path=/trunk/netsurf/; revision=4759
2008-07-26 18:26:35 +00:00
Rob Kendrick e52a8ce097 Update building docs to reflect new config file and libhdpf
svn path=/trunk/netsurf/; revision=4758
2008-07-26 18:12:04 +00:00
Rob Kendrick a71e44a6e7 Fix compile warning
svn path=/trunk/netsurf/; revision=4757
2008-07-26 18:05:59 +00:00
Daniel Silverstone 9ba20a6eec Ensure the dependency files are rebuilt if Makefile.config changes
svn path=/trunk/netsurf/; revision=4755
2008-07-26 18:00:08 +00:00
Rob Kendrick 08259a4e4e Don't include gtk_print.h when Haru is disabled.
svn path=/trunk/netsurf/; revision=4754
2008-07-26 17:44:38 +00:00
Daniel Silverstone e76463aa49 Make the auto-configuration message fit into the rest of the messages more nicely
svn path=/trunk/netsurf/; revision=4753
2008-07-26 17:44:25 +00:00