Commit Graph

1477 Commits

Author SHA1 Message Date
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
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
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
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
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
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
John Mark Bell
023167651a Squash warnings in RISC OS build.
Replace use of strnlen with strlen and max.

svn path=/trunk/netsurf/; revision=10479
2010-04-24 21:25:08 +00:00
Vincent Sanders
03bb3e8636 remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation.

svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Michael Drake
a2d204814a Fix bracket missmatch.
svn path=/trunk/netsurf/; revision=10421
2010-04-17 09:16:42 +00:00
Vincent Sanders
448b0275ae Fix file: handling on risc os, gtk, windows and framebuffer frontends
svn path=/trunk/netsurf/; revision=10419
2010-04-16 23:56:53 +00:00
John Mark Bell
b5b280dc96 Fix RISC OS build
svn path=/trunk/netsurf/; revision=10405
2010-04-15 22:49:22 +00:00
John Mark Bell
1a5b039115 Fix double free of title
svn path=/trunk/netsurf/; revision=10386
2010-04-12 22:39:21 +00:00
John Mark Bell
6f8a8495c6 I don't understand the full_redraw flag, or the optimisation gained from not using it.
No frontend other than RISC OS ever used it, so stop the RO frontend using it, too.

svn path=/trunk/netsurf/; revision=10380
2010-04-11 23:32:38 +00:00
John Mark Bell
952682b906 Implement draw_clone()
svn path=/trunk/netsurf/; revision=10379
2010-04-11 23:11:40 +00:00
John Mark Bell
dcd33c3798 Port to hlcache-enabled core
svn path=/trunk/netsurf/; revision=10377
2010-04-11 23:04:06 +00:00
John Mark Bell
9e8849c04c Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this.
svn path=/trunk/netsurf/; revision=10374
2010-04-11 22:40:41 +00:00
Michael Drake
0613700c5e Debug window is now black on white.
svn path=/trunk/netsurf/; revision=10337
2010-04-09 23:26:27 +00:00
Michael Drake
fee9e16636 Change rendering to use plotter functions. Purge loads of magic numbers. Make the content table look prettier. Separate content table creation and rendering code from RISC OS front end code. The debug window can now trivially be moved to the core. Debug window still currently disabled as it does not work with new cache.
svn path=/trunk/netsurf/; revision=10336
2010-04-09 23:22:30 +00:00
Daniel Silverstone
6c9e4bea8e Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec.
svn path=/trunk/netsurf/; revision=10300
2010-04-08 12:16:52 +00:00
Michael Drake
fb8fdb4db1 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10292
2010-04-07 19:52:23 +00:00
Michael Drake
26f75ad18f More fixing for new cache.
svn path=/trunk/netsurf/; revision=10291
2010-04-07 19:40:27 +00:00
Michael Drake
a3977f1521 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10290
2010-04-07 19:23:53 +00:00
Michael Drake
6381200226 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10289
2010-04-07 19:06:48 +00:00
Michael Drake
d334b18386 More fixing for new cache.
svn path=/trunk/netsurf/; revision=10288
2010-04-07 18:54:44 +00:00
Michael Drake
9a28ace52b Start fixing for new cache.
svn path=/trunk/netsurf/; revision=10286
2010-04-07 18:04:55 +00:00
Michael Drake
b9e32a9750 Fix for new cache.
svn path=/trunk/netsurf/; revision=10285
2010-04-07 18:01:29 +00:00
Michael Drake
61fd8d1240 Fix for new cache.
svn path=/trunk/netsurf/; revision=10284
2010-04-07 17:46:19 +00:00
Michael Drake
6a55bafba8 Fix for new cache.
svn path=/trunk/netsurf/; revision=10283
2010-04-07 17:42:21 +00:00
Michael Drake
ec2f35cb6f Fix for new cache.
svn path=/trunk/netsurf/; revision=10282
2010-04-07 17:37:54 +00:00
Michael Drake
cffb7ea77b Fix for new cache.
svn path=/trunk/netsurf/; revision=10281
2010-04-07 17:33:58 +00:00
Michael Drake
2975e1df84 Fix for new cache.
svn path=/trunk/netsurf/; revision=10280
2010-04-07 17:29:40 +00:00
Michael Drake
95b859c2eb Fix for new cache.
svn path=/trunk/netsurf/; revision=10279
2010-04-07 17:05:50 +00:00
Michael Drake
43094a146d Fix for new cache.
svn path=/trunk/netsurf/; revision=10278
2010-04-07 17:01:27 +00:00
Michael Drake
832daf49fa hlcache_handle is typedeffed.
svn path=/trunk/netsurf/; revision=10276
2010-04-07 16:39:24 +00:00
Michael Drake
111920ad95 Fix for new cache.
svn path=/trunk/netsurf/; revision=10275
2010-04-07 16:08:24 +00:00
Michael Drake
4119cc50b4 More new cache fixing.
svn path=/trunk/netsurf/; revision=10274
2010-04-07 15:34:01 +00:00
Michael Drake
c147001a17 More new cache fixing.
svn path=/trunk/netsurf/; revision=10273
2010-04-07 14:14:44 +00:00
Michael Drake
c723c8bc59 More new cache fixing.
svn path=/trunk/netsurf/; revision=10272
2010-04-07 14:09:13 +00:00
Michael Drake
14008b11d0 Fix page info for new cache.
svn path=/trunk/netsurf/; revision=10270
2010-04-07 13:14:00 +00:00
Michael Drake
4b54cca8b9 Start fixing for new cache.
svn path=/trunk/netsurf/; revision=10268
2010-04-07 12:45:18 +00:00
Michael Drake
20cb4a7a48 Fix hotlist for new cache.
svn path=/trunk/netsurf/; revision=10267
2010-04-07 12:19:08 +00:00
Michael Drake
65b3dd18e3 Make filename_from_path() compile.
svn path=/trunk/netsurf/; revision=10264
2010-04-07 11:05:24 +00:00
Michael Drake
51d619ad4d Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
2010-04-07 10:55:39 +00:00
Michael Drake
cc0e23b540 Don't dump box trees on crash, and fix view source for new cache.
svn path=/trunk/netsurf/; revision=10262
2010-04-07 10:33:46 +00:00
Michael Drake
87166fdbc1 hlcache_handle is typedeffed.
svn path=/trunk/netsurf/; revision=10261
2010-04-07 09:28:01 +00:00
Michael Drake
088742b3c3 Fix filetype.c.
svn path=/trunk/netsurf/; revision=10260
2010-04-07 09:12:46 +00:00
John Mark Bell
b584273c0b Port to new download API
svn path=/trunk/netsurf/; revision=10250
2010-04-05 22:47:09 +00:00
John Mark Bell
6cb8472685 Apply ifdef. The first major casualty of new-cache.
svn path=/trunk/netsurf/; revision=10249
2010-04-05 22:17:03 +00:00
John Mark Bell
303401c050 Fix for hlcache
svn path=/trunk/netsurf/; revision=10248
2010-04-05 22:12:17 +00:00
John Mark Bell
8fdd91bc93 Port to new content API
svn path=/trunk/netsurf/; revision=10246
2010-04-05 22:03:44 +00:00