Commit Graph

66 Commits

Author SHA1 Message Date
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Michael Drake
d2deb88e3d Port Windows thumbnailer to thumbnail_redraw().
svn path=/trunk/netsurf/; revision=11724
2011-02-20 15:50:15 +00:00
Michael Drake
c78e7d9acd Make Windows intrim thumbnail aspect ratio match required bitmap aspect ratio. Increase max render width.
svn path=/trunk/netsurf/; revision=11723
2011-02-20 15:48:27 +00:00
Michael Drake
a66575dfeb Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Vincent Sanders
3407760e64 improve comments and add more explanation about subtleties
svn path=/trunk/netsurf/; revision=11686
2011-02-15 11:55:09 +00:00
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
5cefc9584a Pass clip rect to browser_window_redraw as pointer.
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Michael Drake
fedcbf6656 Pass clip rect to browser_window_redraw as struct.
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders
9a183018ea improve browser_window_redraw width and height handling
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders
2a8e8a5cf1 add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
f04cc9e9ec use the netsurf icons on the window decoration
svn path=/trunk/netsurf/; revision=11635
2011-02-09 01:32:53 +00:00
Vincent Sanders
3c414e7668 Stop win32 frontend using 100% cpu time when idle
svn path=/trunk/netsurf/; revision=11633
2011-02-08 23:42:18 +00:00
Vincent Sanders
b228fb5b14 add compatability for inet_pton and inet_aton
svn path=/trunk/netsurf/; revision=11626
2011-02-07 14:40:45 +00:00
John Mark Bell
98ff1b85ef Define LIBXML_STATIC
svn path=/trunk/netsurf/; revision=11622
2011-02-06 15:39:46 +00:00
John Mark Bell
0291f96f27 Fix stupid
svn path=/trunk/netsurf/; revision=11610
2011-02-04 15:54:48 +00:00
John Mark Bell
d8cc912a29 Slightly saner win32 LDFLAGS for non-pkg-config environments
svn path=/trunk/netsurf/; revision=11609
2011-02-04 15:44:35 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Vincent Sanders
6e40f045f6 fix include path setting on windows native build
svn path=/trunk/netsurf/; revision=11463
2011-01-23 13:46:30 +00:00
John Mark Bell
4976247df0 Cope with an absence of pkg-config when building for Windows
svn path=/trunk/netsurf/; revision=11459
2011-01-23 00:39:53 +00:00
Vincent Sanders
60c840628f Small refactor to change icon names to being passed in from frontends instead of core treeview globals
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Rob Kendrick
5285df8c33 Remove last remnants of Aliases
svn path=/trunk/netsurf/; revision=11003
2010-12-05 15:08:52 +00:00
Michael Drake
1a1bf3d2f0 Purge Aliases file stuff.
svn path=/trunk/netsurf/; revision=10982
2010-12-04 20:19:17 +00:00
Michael Drake
5eaeaed909 Remove Hubbub and Wapcaplet initialisation and finalisation.
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Vincent Sanders
802f58f10d Futher simplification of the makefile
Use target makefiles to set build sources

svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Vincent Sanders
72cf3adc78 Beginning of NetSurf build infrastructure cleanup
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile

svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39:24 +00:00
Vincent Sanders
07c62407e2 Fix windows url bar
Clean up toolbar and urlbar creation and subclassing 

svn path=/trunk/netsurf/; revision=10891
2010-10-17 00:08:35 +00:00
Vincent Sanders
43029944ae fix thumbnailing and localhistory
svn path=/trunk/netsurf/; revision=10885
2010-10-14 19:33:00 +00:00
Vincent Sanders
1dbbbaf64a ensure iframe stuff does not de-reference null pointers
svn path=/trunk/netsurf/; revision=10884
2010-10-14 00:59:39 +00:00
Vincent Sanders
7e0e61992a ensure transparency is unset
svn path=/trunk/netsurf/; revision=10883
2010-10-14 00:59:01 +00:00
Vincent Sanders
83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +00:00
Vincent Sanders
01c8552489 make windows frontend build and run again
Fix redraw bugs
Still major issue with frames

svn path=/trunk/netsurf/; revision=10880
2010-10-10 22:42:24 +00:00
Vincent Sanders
095154fa76 extend debug
clean up sub window creation

svn path=/trunk/netsurf/; revision=10875
2010-10-09 18:02:29 +00:00
Vincent Sanders
aa2587254a Update build instructions
Remove warnings from treeview branch merge

svn path=/trunk/netsurf/; revision=10874
2010-10-09 18:00:32 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
1510bbd3ad Check the last character for a path separator, rather than the NULL string termination.
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +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
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
Vincent Sanders
9a95ad79d1 fix url to path on doze
svn path=/trunk/netsurf/; revision=10427
2010-04-18 12:37:46 +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
aa45b35f43 Sync Windows frontend with core changes.
svn path=/trunk/netsurf/; revision=10409
2010-04-16 20:15:54 +00:00
Vincent Sanders
27bd328df1 fixup windows download window
svn path=/trunk/netsurf/; revision=10366
2010-04-11 18:04:31 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00