Commit Graph

6661 Commits

Author SHA1 Message Date
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
Michael Drake ca162211f5 Use API to find out if a browser window has a selection.
svn path=/trunk/netsurf/; revision=12683
2011-08-31 11:47:02 +00:00
Ole Loots f2e3b559f0 Removed frame artifacts.
Do not send WM_DESTROY on close ( leads to crash when search is open during close). Let the OS Free up the memory.  

svn path=/trunk/netsurf/; revision=12682
2011-08-30 21:48:55 +00:00
Ole Loots 8e47876964 Avoid double free. Wasn't triggered before, because no data was passed to destroy.
svn path=/trunk/netsurf/; revision=12681
2011-08-30 21:41:10 +00:00
Ole Loots 52bf4e0cd1 Removed usage of duplicate types for the same thing (bbox, rect)
svn path=/trunk/netsurf/; revision=12680
2011-08-30 21:38:54 +00:00
Chris Young cffbd0e9ba #ifdef this properly
svn path=/trunk/netsurf/; revision=12679
2011-08-30 19:32:29 +00:00
Michael Drake 525bf15f73 More robustification.
svn path=/trunk/netsurf/; revision=12678
2011-08-30 18:13:23 +00:00
Chris Young 14a724c62b Update to latest root certificates
svn path=/trunk/netsurf/; revision=12677
2011-08-29 15:19:31 +00:00
Chris Young 935c66cac4 Disable the DataTypes animation handler for now as it doesn't work properly
svn path=/trunk/netsurf/; revision=12676
2011-08-29 15:14:45 +00:00
Michael Drake 0057e15014 If no Cookies file path is set in Choices file, use default of "~/.netsurf/Cookies".
svn path=/trunk/netsurf/; revision=12675
2011-08-29 09:28:07 +00:00
Chris Young 8679a18e28 Fix build when using NETSURF_USE_ROSPRITE
svn path=/trunk/netsurf/; revision=12674
2011-08-28 22:05:11 +00:00
Vincent Sanders cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake 401072e305 Make more robust. E.g. zero length scrollbars.
svn path=/trunk/netsurf/; revision=12672
2011-08-27 09:13:23 +00:00