Commit Graph

5235 Commits

Author SHA1 Message Date
Michael Drake
0642cdafc2 Fix mouse.h file description. Add iframe comment.
svn path=/trunk/netsurf/; revision=10571
2010-06-09 09:53:07 +00:00
Chris Young
9bc784e8d7 More calculation fixes
svn path=/trunk/netsurf/; revision=10567
2010-06-06 18:50:48 +00:00
Chris Young
915cc68201 Fix OS4 non-Cairo build
svn path=/trunk/netsurf/; revision=10565
2010-06-06 13:52:35 +00:00
Chris Young
13a4a1633c Remove scroll positions from ami_do_redraw_limits, fix positional calcs in
gui_window_set_scroll

svn path=/trunk/netsurf/; revision=10564
2010-06-05 10:37:02 +00:00
Chris Young
5753d59505 When redrawing part of a page, draw with respect to the position NetSurf believes the
scrollbars are in, rather than where they actually are.  This resolves an issue with
graphical corruption and animations, when using the scrollbars to scroll the page (the
anim redraw was happening before the event to say the scrollbar had moved was being
received)

svn path=/trunk/netsurf/; revision=10563
2010-06-05 09:59:38 +00:00
Michael Drake
6c59c80ed5 s/int/size_t/
svn path=/trunk/netsurf/; revision=10562
2010-06-04 09:39:30 +00:00
Michael Drake
b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Michael Drake
bc9fef0a1a Add iframe comment.
svn path=/trunk/netsurf/; revision=10559
2010-06-03 15:15:31 +00:00
Chris Young
c2e7c66ea3 Activate browser window after search, otherwise it doesn't get IntuiTicks events so
won't scroll to the search term.

svn path=/trunk/netsurf/; revision=10552
2010-05-16 16:04:40 +00:00
Chris Young
f55c11dbd6 Amiga font code revamped and fixed. Will now fall back to a different font if the
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured.  Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.

svn path=/trunk/netsurf/; revision=10551
2010-05-06 10:02:58 +00:00
Vincent Sanders
0807b40513 rationalise callback routines to use a unified interface
svn path=/trunk/netsurf/; revision=10550
2010-05-04 22:41:58 +00:00
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