Commit Graph

6623 Commits

Author SHA1 Message Date
Michael Drake
0401d52f51 Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
34fe2531f2 Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
ce1ba5e351 Delete frame creation handling.
svn path=/trunk/netsurf/; revision=12736
2011-09-05 12:49:21 +00:00
Michael Drake
39e572e8e7 Delete frame creation handling.
svn path=/trunk/netsurf/; revision=12735
2011-09-05 12:38:56 +00:00
Michael Drake
77a9d997ce Delete dead handling of frame creation destruction.
svn path=/trunk/netsurf/; revision=12734
2011-09-05 12:27:06 +00:00
Michael Drake
1bb727a68b Remove various bits of dead frames handling.
svn path=/trunk/netsurf/; revision=12733
2011-09-05 11:44:11 +00:00
Michael Drake
01b2101e93 Remove frames handling from ro_msg_dataload function.
svn path=/trunk/netsurf/; revision=12732
2011-09-05 11:10:21 +00:00
Michael Drake
1d5c6fd0ce Delete unused function.
svn path=/trunk/netsurf/; revision=12731
2011-09-05 10:54:04 +00:00
Michael Drake
a7b886181b Delete dead frames handling.
svn path=/trunk/netsurf/; revision=12730
2011-09-05 10:52:37 +00:00
Vincent Sanders
5c718b2f76 fix windows build, sorce file expansion being done too early
svn path=/trunk/netsurf/; revision=12729
2011-09-05 10:46:53 +00:00
Michael Drake
65886b3539 Don't need to attach children to scaffolding, because there aren't any.
svn path=/trunk/netsurf/; revision=12728
2011-09-05 10:35:59 +00:00
Michael Drake
0ffcfb91b5 Comment out broken copy selection to clipboard stuff and add a TODO.
svn path=/trunk/netsurf/; revision=12727
2011-09-05 10:31:21 +00:00
Michael Drake
8d957ca286 Remove unused nsbeos_gui_window_attach_child function.
svn path=/trunk/netsurf/; revision=12726
2011-09-05 10:06:42 +00:00
Michael Drake
7758677c9e Delete same from GTK code copy in BeOS code.
svn path=/trunk/netsurf/; revision=12725
2011-09-05 10:02:46 +00:00
Michael Drake
e288ed24fc Remove frames handling from gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12724
2011-09-05 09:58:57 +00:00
Michael Drake
ffeb8bc389 Delete some dead frames stuff.
svn path=/trunk/netsurf/; revision=12723
2011-09-05 09:53:54 +00:00
Michael Drake
8edf1fe86f Dig out more dead frames stuff.
svn path=/trunk/netsurf/; revision=12722
2011-09-05 09:47:52 +00:00
John Mark Bell
338544df09 Squash warnings
svn path=/trunk/netsurf/; revision=12721
2011-09-05 07:19:04 +00:00
Vincent Sanders
b051cf466f Add Image cache and inegrate png and jpeg content handlers
Current periodic cache clean algorithm is poor and requires replacing with something suitable (probably a segregated LRU)
The speculative load algorithm is likewise poor and only uses the image size to make a decision.

svn path=/trunk/netsurf/; revision=12720
2011-09-04 23:50:14 +00:00
Chris Young
330227d87a Remove more checks for browser_window_type
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young
985bf9e191 Remove browser_window type from ami_create_menu()
Remove DrawInfo too, as only there for image menus which never worked.

svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
John Mark Bell
0cc93c221b Fix runtime warning
svn path=/trunk/netsurf/; revision=12717
2011-09-04 20:57:12 +00:00
Michael Drake
9856bc0923 Delete redundant browser_window_type test.
svn path=/trunk/netsurf/; revision=12716
2011-09-04 19:18:01 +00:00
Michael Drake
e1f20d37c5 Remove dead code.
svn path=/trunk/netsurf/; revision=12715
2011-09-04 19:00:18 +00:00
Michael Drake
235bc41941 Fix indentation.
svn path=/trunk/netsurf/; revision=12714
2011-09-04 18:53:54 +00:00
Michael Drake
202f972199 Delete a whole bunch of redundant tests for browser_window_type. Front ends now only ever have any connection to browser windows of type BROWSER_WINDOW_NORMAL. Still a couple of uses in there; ami_menu_create() shouldn't need take a browser_window_type param now.
svn path=/trunk/netsurf/; revision=12713
2011-09-04 18:50:46 +00:00
Michael Drake
e9aa4936d5 Remove dead code from gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12712
2011-09-04 18:30:19 +00:00
Michael Drake
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Michael Drake
bd94e21aed Purge dead code out of gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12710
2011-09-04 18:05:54 +00:00
Michael Drake
19317c76ba Implement frames in the core.
svn path=/trunk/netsurf/; revision=12709
2011-09-04 17:24:45 +00:00
John Mark Bell
e82474afed Fix string leakage
svn path=/trunk/netsurf/; revision=12708
2011-09-04 11:14:19 +00:00
John Mark Bell
6807fa854d Sniff content types where appropriate.
We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons)

svn path=/trunk/netsurf/; revision=12707
2011-09-04 06:28:09 +00:00
John Mark Bell
9ee4f6146e Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
John Mark Bell
4539f8836e Squash compiler warnings
svn path=/trunk/netsurf/; revision=12703
2011-09-02 22:10:20 +00:00
John Mark Bell
a54b88fc90 Add missing include
svn path=/trunk/netsurf/; revision=12702
2011-09-02 22:09:37 +00:00
John Mark Bell
4b189ab0bc Squash warnings resulting from mismatched type expectations
svn path=/trunk/netsurf/; revision=12701
2011-09-02 22:09:23 +00:00
John Mark Bell
f233d41f26 Fix erroneous API usage
svn path=/trunk/netsurf/; revision=12700
2011-09-02 22:07:07 +00:00
John Mark Bell
23c336cba9 Search for librosprite when cross compiling for Amiga platforms
svn path=/trunk/netsurf/; revision=12699
2011-09-02 20:42:42 +00:00
Chris Young
25fea2721d Avoid calling AllocSignal() until the last minute, as it causes PM_OPEN to initiate
an Intuition or Input deadlock.
Re-enable context menus as they are now safe.
Remove sticky context menus option as this can be set in GUI prefs as a global option.

svn path=/trunk/netsurf/; revision=12698
2011-09-02 17:31:47 +00:00
Michael Drake
a7d4f08b77 Remove redundant bw->current_content check.
svn path=/trunk/netsurf/; revision=12696
2011-09-01 12:37:46 +00:00
John Mark Bell
088c91b127 More accurate legacy font size handling
svn path=/trunk/netsurf/; revision=12695
2011-08-31 21:12:57 +00:00
Chris Young
1cb60828ea Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
problem (thanks to Simon Archer)

svn path=/trunk/netsurf/; revision=12694
2011-08-31 19:53:34 +00:00
Chris Young
b6d7b3cf36 fix build
svn path=/trunk/netsurf/; revision=12693
2011-08-31 19:44:25 +00:00
Michael Drake
6e3e168d08 Avoid instance of using bw->current_content outside desktop/.
svn path=/trunk/netsurf/; revision=12690
2011-08-31 17:53:40 +00:00
Vincent Sanders
5af7a9c03c add Mac OS X .dmg instalelr file build rules
svn path=/trunk/netsurf/; revision=12689
2011-08-31 13:49:14 +00:00
Michael Drake
f878fefeed Optimise out scrollbar action induced redraws with no effect.
svn path=/trunk/netsurf/; revision=12688
2011-08-31 13:04:50 +00:00
Vincent Sanders
c35b92acc1 fix apple image content handler
svn path=/trunk/netsurf/; revision=12687
2011-08-31 12:18:25 +00:00
Vincent Sanders
2348b13492 refactor bitmap out of generic content structure
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Michael Drake
d7b46332a8 Include missing header.
svn path=/trunk/netsurf/; revision=12685
2011-08-31 11:55:02 +00:00
Michael Drake
adbc2b0315 Avoid name clash.
svn path=/trunk/netsurf/; revision=12684
2011-08-31 11:52:08 +00:00