Commit Graph

4315 Commits

Author SHA1 Message Date
John Mark Bell 1ccc3182e3 Fix handling of buttons in successful control search
svn path=/trunk/netsurf/; revision=6576
2009-02-20 12:55:50 +00:00
John Mark Bell 1f859400d9 If we have no document charset on completion of parse, retrieve it from the binding.
Make the binding return Windows-1252 if it has no idea (as this is what the parser will have defaulted to).
Fix form_new to not require a document charset to be present -- it may not be known at this point.
Fixup form document charsets post-parse, so that form submission works correctly.

svn path=/trunk/netsurf/; revision=6575
2009-02-20 12:50:34 +00:00
Michael Drake 8bebcb5ca9 Fix handling of URLs on float boxes (which have no style).
svn path=/trunk/netsurf/; revision=6574
2009-02-20 12:12:32 +00:00
John Mark Bell cc1094f0ac Utilise hubbub's form association callback.
Please can we dispense with the libxml binding? It's causing much #ifdef mess.
Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset.
Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now.

svn path=/trunk/netsurf/; revision=6573
2009-02-20 11:39:25 +00:00
Rob Kendrick 0619131f20 Enable autohinter. Greatly improves glyph quality in framebuffer port. Also get FreeType to render at same time as loading.
svn path=/trunk/netsurf/; revision=6572
2009-02-20 11:21:28 +00:00
Daniel Silverstone c1235f1e9e Ensure that the FB frontend sets a subtarget, otherwise error out. This prevents silly mistakes like 'NETSURF_FB_FRONTEND := SDL' which had me stumped for a few minutes.
svn path=/trunk/netsurf/; revision=6571
2009-02-20 10:10:32 +00:00
Vincent Sanders 0cecbe3cbc allow framebuffer port to use freetype2 library
svn path=/trunk/netsurf/; revision=6570
2009-02-20 09:51:21 +00:00
Michael Drake 8aa291df0f Don't outline all text widgets.
svn path=/trunk/netsurf/; revision=6569
2009-02-19 00:00:10 +00:00
Michael Drake b04c72fc0f Outline URL bar and make it take the remaining width minus space for a throbber.
svn path=/trunk/netsurf/; revision=6568
2009-02-18 23:45:12 +00:00
Chris Young 5668fa1154 Remove default theme's dependency on AISS
svn path=/trunk/netsurf/; revision=6567
2009-02-18 20:04:59 +00:00
Michael Drake 1a7a1e09b8 Purge f78 and f83 sprites.
svn path=/trunk/netsurf/; revision=6566
2009-02-18 18:58:00 +00:00
Michael Drake 38dabfb3f2 Remove faf icons.
svn path=/trunk/netsurf/; revision=6565
2009-02-18 16:38:09 +00:00
Michael Drake 856c3bca25 Implement 'auto' value for CSS cursor property.
Allow cursor type to be user set for links and form stuff.

svn path=/trunk/netsurf/; revision=6564
2009-02-18 15:57:08 +00:00
John Mark Bell badf00b47c Squash warnings
svn path=/trunk/netsurf/; revision=6563
2009-02-18 14:38:34 +00:00
John Mark Bell 6bccb65227 Check if we actually got an event before processing it
svn path=/trunk/netsurf/; revision=6562
2009-02-18 14:26:38 +00:00
John Mark Bell a3fecdf1fc Squash leak
svn path=/trunk/netsurf/; revision=6561
2009-02-18 14:10:35 +00:00
John Mark Bell ae781b4fd8 Destroy bitmap if thumbnailing fails.
Make amiga port's thumbnail_create() actually return something

svn path=/trunk/netsurf/; revision=6560
2009-02-18 13:25:57 +00:00
John Mark Bell 15d7987723 Squash leaks
svn path=/trunk/netsurf/; revision=6559
2009-02-18 13:11:32 +00:00
John Mark Bell abb231b633 Fix ucs4->utf8 conversion. It probably helps to return the number of bytes in the buffer, rather than the free space.
svn path=/trunk/netsurf/; revision=6558
2009-02-18 12:53:44 +00:00
Vincent Sanders afbc77dd07 add simplistic filled polygon plotter
svn path=/trunk/netsurf/; revision=6557
2009-02-18 12:52:03 +00:00
Vincent Sanders f7e971cad0 fix missing free on error
svn path=/trunk/netsurf/; revision=6556
2009-02-18 12:51:31 +00:00
John Mark Bell 5c0865f942 AUTO <> YES.
svn path=/trunk/netsurf/; revision=6555
2009-02-18 12:41:47 +00:00
Michael Drake f1a64182f4 Remove redundant PNGs.
svn path=/trunk/netsurf/; revision=6554
2009-02-18 11:04:04 +00:00
Michael Drake 55c4e99740 Add some initial toolbar icon PNGs.
svn path=/trunk/netsurf/; revision=6553
2009-02-18 11:02:15 +00:00
John Mark Bell de42425720 Remove misleading comment
svn path=/trunk/netsurf/; revision=6552
2009-02-17 23:50:40 +00:00
John Mark Bell 2c3fd80874 Make framebuffer frontend's nsfont_width use the number of characters to calculate the width of a string.
svn path=/trunk/netsurf/; revision=6551
2009-02-17 23:46:19 +00:00
John Mark Bell 41d2eca3b1 Port our UTF-8 routines to parserutils (only enabled when building against Hubbub).
Sync our temporary internal copies of these functions with parserutils (which is rather better tested and fixes a number of known bugs in NetSurf's previous UTF-8 handling).
Ideally, this will be the only place in NetSurf that has any dependency on parserutils, so port the amiga font code to our internal APIs.

svn path=/trunk/netsurf/; revision=6550
2009-02-17 23:44:17 +00:00
Vincent Sanders d3c8909413 switch to tlsas images
svn path=/trunk/netsurf/; revision=6549
2009-02-17 23:16:04 +00:00
Vincent Sanders e8941c39ed add stop button
svn path=/trunk/netsurf/; revision=6548
2009-02-17 22:26:36 +00:00
François Revel ddbfb99e60 Account for new paths to search for libs & headers in Haiku.
svn path=/trunk/netsurf/; revision=6547
2009-02-17 22:15:51 +00:00
Michael Drake 88403793f2 Add new pointer PNGs.
svn path=/trunk/netsurf/; revision=6546
2009-02-17 21:29:37 +00:00
John Mark Bell 9f32d180f8 Whoops. It looks like I broke the framebuffer and debug builds.
svn path=/trunk/netsurf/; revision=6545
2009-02-17 19:29:38 +00:00
John Mark Bell ee986e1d0a Divorce PDF export and printing.
At some point, the RISC OS printing code should be ported to the core page-based output engine.

svn path=/trunk/netsurf/; revision=6544
2009-02-17 16:37:51 +00:00
John Mark Bell f41d666fe1 Squash warnings from GTK.
Rework export_pdf and print menu handlers to not leak memory, actually check return values, and stop processing in those cases.
Many pedantic whitespace changes.
Remove 3 spurious labels from the tab notebook in netsurf.glade.
Make PDF export menu entry sensitive by default.
Make Print preview menu entry insensitive, as it's unsupported.

svn path=/trunk/netsurf/; revision=6543
2009-02-17 15:08:22 +00:00
John Mark Bell 79b4cee9d3 Make redirects behave as a NOP wrt the verifiability of fetches.
Apparently, the interweb depends on this.

svn path=/trunk/netsurf/; revision=6542
2009-02-16 20:24:54 +00:00
François Revel e89384911f Fix BeOS build. Please try to patch all platforms when breaking things like this :p
svn path=/trunk/netsurf/; revision=6541
2009-02-16 19:08:20 +00:00
John Mark Bell 22d8b8e512 Squash warning when built without WITH_SSL
svn path=/trunk/netsurf/; revision=6540
2009-02-15 23:21:53 +00:00
Vincent Sanders 7f2ec301cf make pointer image change
svn path=/trunk/netsurf/; revision=6538
2009-02-15 23:15:42 +00:00
Chris Young e8cb20ac2a Need an additional softlink to stop the build failing if no libcrypto.a is present
and we are linking with shared objects.

svn path=/trunk/netsurf/; revision=6531
2009-02-15 13:00:42 +00:00
Chris Young 3987db4702 Remove some more options that aren't needed with latest SDK
svn path=/trunk/netsurf/; revision=6530
2009-02-15 12:56:19 +00:00
Chris Young 34db852b01 Remove dummy libraries
svn path=/trunk/netsurf/; revision=6529
2009-02-15 12:47:24 +00:00
Chris Young cb6bba7fb9 Fix Amiga SSL build
svn path=/trunk/netsurf/; revision=6528
2009-02-15 12:37:54 +00:00
Daniel Silverstone dd5f00fe79 Re-enable the ability to control the SSL certificate UI's inclusion. As a side-effect, NetSurf won't build SSL unless the cURL on the system is linked against OpenSSL
svn path=/trunk/netsurf/; revision=6526
2009-02-15 11:47:13 +00:00
Vincent Sanders aab2b32e23 Fix silly mistake moving cursor to top left all the time
svn path=/trunk/netsurf/; revision=6502
2009-02-14 16:49:49 +00:00
Vincent Sanders 81c0d52317 Add VNC server framebuffer frontend
svn path=/trunk/netsurf/; revision=6501
2009-02-14 16:39:27 +00:00
Vincent Sanders 71fd3e756c fix type warning in LOG statement
svn path=/trunk/netsurf/; revision=6493
2009-02-14 14:16:46 +00:00
Vincent Sanders 7a867aacc2 Fix character sign issue causing corrupt characters to be plotted
Fixed warnings from making signs explicit

svn path=/trunk/netsurf/; revision=6491
2009-02-14 14:12:29 +00:00
Vincent Sanders 8ce23e69e0 fix mouse over co-ordinates to take into account scroll offsets
svn path=/trunk/netsurf/; revision=6489
2009-02-14 14:05:02 +00:00
Vincent Sanders d6cd92e0cc Fix resource handling buy copying the GTK approach
Cleanup mouse movement handlig

svn path=/trunk/netsurf/; revision=6486
2009-02-14 12:49:21 +00:00
Chris Young f90e43e2b0 Fix a bug where public screens would remain open if NetSurf was the last visitor
window to close.

svn path=/trunk/netsurf/; revision=6485
2009-02-14 12:29:07 +00:00