Commit Graph

6709 Commits

Author SHA1 Message Date
Chris Young 3be63e2f69 Reduce task priority to -1
This stops the rest of the system slowing down when NetSurf is trying to receive data

svn path=/trunk/netsurf/; revision=12874
2011-09-25 09:56:43 +00:00
Chris Young 215c31ac0d When pressing mouse button don't try to go forwards in history first... instead make
releasing mouse button 5 go forwards in history.

svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
Vincent Sanders 7334ec404e reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Michael Drake 9854ad6313 Add layout_get_object_dimensions param documentation missing from last commit.
svn path=/trunk/netsurf/; revision=12871
2011-09-23 17:42:25 +00:00
Michael Drake 9e91992478 Handle min/max-width on replaced elements.
svn path=/trunk/netsurf/; revision=12870
2011-09-23 17:34:04 +00:00
Michael Drake dcfd80956f Use fixed insted of floating point to get percentage of available_width, for width calc.
svn path=/trunk/netsurf/; revision=12869
2011-09-23 16:50:20 +00:00
Michael Drake e4a91f380c Move css_fixed and css_unit variables to where they're used.
svn path=/trunk/netsurf/; revision=12868
2011-09-23 16:40:58 +00:00
Michael Drake 9028673259 Simplify layout_get_object_dimensions.
svn path=/trunk/netsurf/; revision=12867
2011-09-23 16:35:37 +00:00
Michael Drake b0ea2a46e9 Use layout_find_dimensions to get inline object width/height.
svn path=/trunk/netsurf/; revision=12866
2011-09-23 15:48:40 +00:00
Michael Drake 1385dea029 Assert that the url exists before reducing its reference count. Thanks to Martin Bazley.
svn path=/trunk/netsurf/; revision=12865
2011-09-23 09:06:05 +00:00
John Mark Bell e7c67e8bb8 Fix fallout from r12733
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +00:00
Michael Drake 2837f05094 nsurl_access must return const.
svn path=/trunk/netsurf/; revision=12863
2011-09-22 20:45:38 +00:00
Michael Drake 828b5b44c7 Simplify nsurl_access and sync implementation with API.
svn path=/trunk/netsurf/; revision=12862
2011-09-22 20:28:26 +00:00
Michael Drake 8c861347c0 Add nsurl_ref for copying, replace nsurl_destroy with nsurl_unref, and add nsurl_access for accessing a pointer to string data internal to the NetSurf URL object.
svn path=/trunk/netsurf/; revision=12861
2011-09-22 16:28:46 +00:00
Vincent Sanders 14db3f7c70 make resource path discovery robust when no resources can be found
svn path=/trunk/netsurf/; revision=12860
2011-09-22 15:10:22 +00:00
Michael Drake c98e37be1f Better caret positioning in scrolled frames.
svn path=/trunk/netsurf/; revision=12851
2011-09-21 21:11:16 +00:00
Michael Drake 9f3a082658 New URL handling (unused atm).
svn path=/trunk/netsurf/; revision=12843
2011-09-21 14:36:42 +00:00
John Mark Bell f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Ole Loots 0cf35ff730 added new options.
svn path=/trunk/netsurf/; revision=12827
2011-09-20 20:14:50 +00:00
Ole Loots 28a6e41174 Added "view source" to context menu.
svn path=/trunk/netsurf/; revision=12826
2011-09-20 20:12:10 +00:00
Ole Loots 8bb14fa569 Obey to clipping rules... (walk the rectangle list)
svn path=/trunk/netsurf/; revision=12825
2011-09-20 20:11:32 +00:00
Ole Loots 8b445036f3 Set focus to next available window when gui_window is closed.
svn path=/trunk/netsurf/; revision=12824
2011-09-20 20:09:42 +00:00
Ole Loots a77b08a762 updatet docs.
svn path=/trunk/netsurf/; revision=12823
2011-09-19 18:41:31 +00:00
Ole Loots 8287d6c020 Added context menu.
svn path=/trunk/netsurf/; revision=12822
2011-09-19 18:39:13 +00:00
Ole Loots 0f2871e418 Added context menu,
Allow to set bitmap for iconified window. ( altough it's usesless right now because favicon support has been dropped) 

svn path=/trunk/netsurf/; revision=12821
2011-09-19 18:38:48 +00:00
Michael Drake 60f641bc44 Call sslcert_cleanup module on quit.
svn path=/trunk/netsurf/; revision=12805
2011-09-18 11:50:34 +00:00
John Mark Bell 033823e64e Correctly create a sentinel and initialise user_list with it when cloning a content
svn path=/trunk/netsurf/; revision=12804
2011-09-18 00:49:34 +00:00
Vincent Sanders e82c5be653 remove deprecated GDK usage except for in libsexy
svn path=/trunk/netsurf/; revision=12803
2011-09-17 14:58:42 +00:00
Michael Drake 19daa23f94 Only lock content around its reformat call. This means it is not now locked when reformat message is broadcast. Prevents the browser window callback asking the core to redraw a content before it gets unlocked.
svn path=/trunk/netsurf/; revision=12802
2011-09-17 14:35:54 +00:00
Chris Young 9bb586769a Remove AMINS_FRAME
svn path=/trunk/netsurf/; revision=12801
2011-09-16 18:00:39 +00:00
Vincent Sanders 33df7bb9a0 ensure depricated interfaces are not used
svn path=/trunk/netsurf/; revision=12800
2011-09-16 11:09:58 +00:00
Vincent Sanders 2ae7efc7de remove unnecessary duplicate variable
svn path=/trunk/netsurf/; revision=12799
2011-09-16 11:08:28 +00:00
John Mark Bell 0682a4f215 Appease GCC 3.4
svn path=/trunk/netsurf/; revision=12798
2011-09-15 22:54:23 +00:00
John Mark Bell 339bed7272 Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
John Mark Bell 3d71da088b Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Michael Drake 50508a6e75 Ensure root bw and gui window before asking front end to remove caret.
svn path=/trunk/netsurf/; revision=12795
2011-09-15 15:06:20 +00:00
Vincent Sanders fe8a22007c fix divide by zero in stats reporting if the cache was never used
svn path=/trunk/netsurf/; revision=12794
2011-09-15 09:25:05 +00:00
Chris Young 6bd1800ef6 Partially convert to use browser_window_contextual_content
svn path=/trunk/netsurf/; revision=12793
2011-09-13 18:42:23 +00:00
Chris Young 64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young 715a753810 updated kb shortcuts (credit: samir)
svn path=/trunk/netsurf/; revision=12791
2011-09-13 16:42:48 +00:00
Chris Young 049a3eb80a Fix search icon disappearing when layout size bar dragged
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young 6a5b10c685 Convert keypresses to UCS4. Fixes issue with typing Euro symbol (¤). Probably fixes
other characters in more exotic character sets.

svn path=/trunk/netsurf/; revision=12789
2011-09-12 21:56:15 +00:00
Chris Young b2d5492b84 Correct Code2000 address
svn path=/trunk/netsurf/; revision=12788
2011-09-11 18:09:46 +00:00
Chris Young f5d91344b7 Change option to get accepted languages from Locale into a checkbox so it updates at
startup

svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young b3bf57ed79 Stop Esc/Ctrl-[ crashing when browser_window selection is NULL
svn path=/trunk/netsurf/; revision=12786
2011-09-11 09:39:44 +00:00
Chris Young 9d952f2ae2 Setting screen signals this late doesn't work, so revert r12486 completely and return
to busy-looping (but a bit friendlier this time, waiting 1 second between attempts)

svn path=/trunk/netsurf/; revision=12785
2011-09-10 23:25:49 +00:00
Vincent Sanders 2d33a8f85a Make high level cache, low level cache and image cache all be initialised from passed parameters
Calculate all cache sizes from single memory cache size option and sanity check
have a single global struct to hold all parameters instead of several individual variables

svn path=/trunk/netsurf/; revision=12784
2011-09-10 00:55:39 +00:00
Ole Loots cbeffd4c5f Keep Mouse tracking limited to input_window.
svn path=/trunk/netsurf/; revision=12783
2011-09-09 22:18:49 +00:00
Ole Loots 6cde3888af do not send around message for NULL dialog.
svn path=/trunk/netsurf/; revision=12782
2011-09-09 19:59:36 +00:00
John Mark Bell 46339a296b Move length calculation outside loop
svn path=/trunk/netsurf/; revision=12781
2011-09-08 21:32:07 +00:00