Commit Graph

5174 Commits

Author SHA1 Message Date
Chris Young 4d6abc7744 Fix assert. This is wrong, needs investigation.
svn path=/trunk/netsurf/; revision=10549
2010-05-03 21:45:58 +00:00
Chris Young d752fd194c Fix loops reading too many characters
svn path=/trunk/netsurf/; revision=10548
2010-05-03 20:57:32 +00:00
Chris Young 77aa68dde5 Purge parserutils
svn path=/trunk/netsurf/; revision=10547
2010-05-03 20:49:15 +00:00
Chris Young 048249f71d Build libparserutils (and NetSurf) against libiconv instead of newlib's iconv.
This fixes the bug with lpu's iconv filter causing freezing on OS4 NetSurf.  With an
appropriate font (eg. Bitstream Cyberbit) Japanese characters will now display.
Test websites work, but proper Japanese websites cause an assert which may be caused
by amiga/font.c incorrect text size calculations.

svn path=/trunk/netsurf/; revision=10546
2010-05-03 17:58:17 +00:00
Chris Young 17d76ee478 Remove Export tab properly when building without Haru
svn path=/trunk/netsurf/; revision=10545
2010-05-03 17:15:03 +00:00
Chris Young 8f9677dfa8 Allow building of AmigaOS4 Cairo and non-Cairo versions of NetSurf in same source tree
svn path=/trunk/netsurf/; revision=10544
2010-05-03 17:12:32 +00:00
Chris Young 6e0f8d9a48 Ensure we are using the libpng 1.2 includes, as OS4 Cairo is using a deprecated
function which does not exist in libpng 1.4.

svn path=/trunk/netsurf/; revision=10543
2010-05-03 15:12:06 +00:00
Steve Fryatt d8b440a426 Lay out to correct paper width for printing.
svn path=/trunk/netsurf/; revision=10542
2010-05-02 10:50:46 +00:00
John Mark Bell 48ba03d6ca Remove erroneous assertion: there may be no bitmap object if there was no PNG data.
svn path=/trunk/netsurf/; revision=10540
2010-05-01 11:36:44 +00:00
John Mark Bell 227780f653 Forcibly disable PDF export support until it gets fixed.
svn path=/trunk/netsurf/; revision=10539
2010-05-01 11:15:00 +00:00
Chris Young fc44b23ece Update root certificates
svn path=/trunk/netsurf/; revision=10538
2010-05-01 09:38:50 +00:00
Chris Young 04cb7b3ce1 Update 2 SObjs installation (create links for updated libpng and unnecessary clutter
for libz)

svn path=/trunk/netsurf/; revision=10537
2010-04-30 22:55:44 +00:00
Michael Drake 333361eba6 Restyle developer list.
svn path=/trunk/netsurf/; revision=10536
2010-04-30 21:57:13 +00:00
Steve Fryatt 2794b133ae Correct name.
svn path=/trunk/netsurf/; revision=10535
2010-04-30 20:11:27 +00:00
John Mark Bell b4853d59fb Update definition of "NetSurf Developers". Pedantic spelling changes.
svn path=/trunk/netsurf/; revision=10533
2010-04-30 19:31:38 +00:00
Chris Young 5112f058c6 Tweak for OS4.1 Update 2
svn path=/trunk/netsurf/; revision=10532
2010-04-30 18:47:25 +00:00
Chris Young a3b14f6d98 Fix assert when clicking empty text boxes
svn path=/trunk/netsurf/; revision=10531
2010-04-30 17:28:07 +00:00
Daniel Silverstone 5e887908b3 Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
Rob Kendrick f0237aac92 Include as many of the licence texts, and which components they apply to, for as much as I can think of to the about document.
svn path=/trunk/netsurf/; revision=10529
2010-04-30 15:35:10 +00:00
Vincent Sanders 4ba9de75f1 ensure widget redraw flag is correctly updated
svn path=/trunk/netsurf/; revision=10528
2010-04-30 09:41:08 +00:00
John Mark Bell cf73e479e5 Add missing includes
svn path=/trunk/netsurf/; revision=10525
2010-04-30 07:02:19 +00:00
John Mark Bell 000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Chris Young b579b0deb3 Don't check if the next character is outside the printable string, if it is it'll pick
up the NULL terminator anyway.

svn path=/trunk/netsurf/; revision=10523
2010-04-29 23:05:52 +00:00
Chris Young ce570ddde0 Text kerning
svn path=/trunk/netsurf/; revision=10522
2010-04-29 22:30:21 +00:00
Chris Young c0d7ba762e More correct font width calculations/placing
svn path=/trunk/netsurf/; revision=10518
2010-04-29 19:43:50 +00:00
Chris Young 1f529dc33f Possibly more accurate text placement
svn path=/trunk/netsurf/; revision=10517
2010-04-29 18:22:20 +00:00
Chris Young 4aa363eedc Change schedule_run to a BOOL as this more standard for platform code.
svn path=/trunk/netsurf/; revision=10516
2010-04-29 18:22:04 +00:00
Vincent Sanders 0d3601a7ce fix pending redraw discovery
svn path=/trunk/netsurf/; revision=10515
2010-04-28 23:29:12 +00:00
Vincent Sanders 2fd1476f8c The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
Alter the framebuffer schedule_run to return the time untill the next event.


svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Chris Young 085f6b33ec Update fonts immediately after requester use/save
svn path=/trunk/netsurf/; revision=10511
2010-04-28 22:34:15 +00:00
Chris Young d6aae5876f Don't list unvisited pages
svn path=/trunk/netsurf/; revision=10510
2010-04-28 22:21:30 +00:00
Chris Young a93fa04a93 Ensure ami_remove_timer_event code doesn't get executed unless necessary.
svn path=/trunk/netsurf/; revision=10509
2010-04-28 22:19:10 +00:00
Michael Drake c65ca7035c Bump max memory cache size from 6.4MB to 64MB.
svn path=/trunk/netsurf/; revision=10506
2010-04-28 11:58:37 +00:00
Vincent Sanders dd61b8db20 fill bottom right hand corner of framebuffer furniture
svn path=/trunk/netsurf/; revision=10505
2010-04-28 08:57:50 +00:00
Chris Young 74647b752d Reformat all tabs when window size changes
svn path=/trunk/netsurf/; revision=10504
2010-04-27 22:40:28 +00:00
Daniel Silverstone c1c25e479a Unref uri after sending it to hlcache when requesting a css pending import, so that we don't leak the uris
svn path=/trunk/netsurf/; revision=10503
2010-04-27 22:25:41 +00:00
John Mark Bell 2276afb9f6 Log any remaining interned strings (there should be none)
svn path=/trunk/netsurf/; revision=10502
2010-04-27 22:14:52 +00:00
Daniel Silverstone 30e0cfe7a9 First step to fixing memory leaks -- Box model no longer leaks computed styles
svn path=/trunk/netsurf/; revision=10500
2010-04-27 21:38:41 +00:00
Michael Drake 485ac0dad7 Improve handling of percentage margins and paddings on floats. Fixes pond.org.uk. This is still not ideal and there are cases where we don't match other browsers.
svn path=/trunk/netsurf/; revision=10497
2010-04-27 17:45:07 +00:00
Michael Drake 4d67ca25a7 Fix vertical placement of absolute positioned inlines using staic position. Simplify placement of inlines on a line.
svn path=/trunk/netsurf/; revision=10495
2010-04-27 12:02:12 +00:00
John Mark Bell 0de2013f25 Clean up caches on exit
svn path=/trunk/netsurf/; revision=10494
2010-04-27 06:48:09 +00:00
John Mark Bell 9c488e3d95 Make sure that an event occurred before inspecting it
svn path=/trunk/netsurf/; revision=10493
2010-04-27 06:27:54 +00:00
John Mark Bell e692750d5f Ensure that we clean up the root browser window
svn path=/trunk/netsurf/; revision=10492
2010-04-27 06:23:52 +00:00
Michael Drake 542610c779 Fix float wrap issue. (Amiga.org nav bar.)
svn path=/trunk/netsurf/; revision=10490
2010-04-26 22:13:22 +00:00
Vincent Sanders bd9c0d9a7e hopefully fix the _GNU_SOURCE mess
svn path=/trunk/netsurf/; revision=10487
2010-04-26 09:27:16 +00:00
Chris Young a2c1afcc32 Custom version of SearchEngines file rather than modifying it during installation
(fixes crash with Installer)

svn path=/trunk/netsurf/; revision=10484
2010-04-25 20:17:51 +00:00
Chris Young 5fdd51d907 Remove SearchEngines link
svn path=/trunk/netsurf/; revision=10483
2010-04-25 20:16:05 +00:00
Chris Young 7eb3167ce3 Custom version of SearchEngines file rather than modifying it during installation
(fixes crash with Installer)

svn path=/trunk/netsurf/; revision=10482
2010-04-25 19:06:21 +00:00
Michael Drake 15f1688f52 Update comment for new cache.
svn path=/trunk/netsurf/; revision=10481
2010-04-25 11:35:26 +00:00
Chris Young 311a79591c Don't show export options if PDF export disabled. Use options if present.
svn path=/trunk/netsurf/; revision=10480
2010-04-25 10:31:52 +00:00