Commit Graph

578 Commits

Author SHA1 Message Date
Ole Loots
bae65c18a9 Default truetype package is now Bitstream Vera.
Truetype font package can now be switched by defines.
2012-08-25 13:52:30 +02:00
Ole Loots
10e5597a94 Removed junk 2012-08-25 05:47:23 +02:00
Ole Loots
2988193e44 Documented font loading / font names. 2012-08-25 05:44:44 +02:00
Ole Loots
c5a84e17f7 Merged some features from framebuffer freetype impl.
- Set default font for font faces which failed to
   load.
 - Lookup more font faces (Cursive, Fantasy).
2012-08-25 05:23:10 +02:00
Ole Loots
ff2f1f1836 Added missing copyright headers 2012-08-24 00:47:37 +02:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Ole Loots
887a2ca186 Added and use PRGSUFFIX to configure executable name. 2012-08-23 00:06:45 +02:00
Vincent Sanders
311953f453 add missing include for browser private 2012-08-22 17:14:42 +01:00
Vincent Sanders
32c4fdeead add includes to get browser private struct on atari 2012-08-22 17:03:46 +01:00
Vincent Sanders
8984bf9647 add sdk library path 2012-08-21 16:51:43 +01:00
Vincent Sanders
bc6087f9b6 remove bogus posix define and workround missing PATH_MAX directly 2012-08-21 16:43:22 +01:00
Vincent Sanders
d43ac47602 set posix define to make PATH_MAX available 2012-08-21 16:25:01 +01:00
Michael Drake
f67a1ab4cf Avoid box_at_point. 2012-08-20 22:25:02 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Ole Loots
b8f437c6b6 Fix settings dialog positioning
On successive settings dialog calls, the automatic
positioning wasn't working correctly.
This can be prevented by duplicating the Form tree. However,
it requires to have the duplicated tree freed manually (Bug in windom?).
I should have an eye on it...
2012-08-08 00:34:59 +02:00
Ole Loots
e454cf3f9c Fix provided by Michale Drake.
Fix freetype nsfont_position_in_string to return nearest, rather than
next.
2012-08-04 02:51:46 +02:00
Michael Drake
de8af23956 Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:20:59 +01:00
Ole Loots
7d011c62ff Open hotlist and history at top right corner 2012-07-27 03:47:42 +02:00
Ole Loots
e4d83d660e Open search form at lower right corner 2012-07-27 03:35:53 +02:00
Ole Loots
329fba581a Handle "Save window size" menu event. 2012-07-27 03:06:12 +02:00
Ole Loots
93f36a8c9b Implemented a new colour picker.
This colour picker allows to select the 216 web colors
plus 15 shades of gray. Removed the color popup from
the resource file.
2012-07-26 12:25:27 +02:00
Ole Loots
8307f62e23 Clean up flags setup, requires changes to Makefile.default 2012-07-25 14:00:51 +02:00
Ole Loots
e1a9a98e05 Fixed colour type for vs* functions, added comments. 2012-07-25 13:58:38 +02:00
Ole Loots
4ade97334a Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
2012-07-23 14:48:50 +02:00
Ole Loots
957f9dc7c8 renamed plot functions (use plot_ prefix) 2012-07-23 02:34:21 +02:00
Ole Loots
eb2ec532e8 renmaed plot functions (use plot_ prefix). 2012-07-23 02:30:11 +02:00
Ole Loots
2158ed7bce moved "bitmap_resize()" to bitmap.c 2012-07-23 02:03:09 +02:00
Ole Loots
72a9071cb2 Inline some functions 2012-07-23 00:21:28 +02:00
Ole Loots
2e98764cdf Fix access to context data URL char *.
nsurl_access isn't intended to be used for char * params.
added missing include render/html.c
2012-07-14 22:15:05 +02:00
Ole Loots
f2aa118025 Refactor plot implementation (removed old files) 2012-07-13 22:21:06 +02:00
Ole Loots
37b8c5d83d Plotter refactor: removed one plotter abraction layer. 2012-07-13 22:19:04 +02:00
Ole Loots
bc9d29f00a Added missing but not-so important changes from local SVN working copy. 2012-07-10 23:35:24 +02:00
Ole Loots
6b367328af Add Javascript case to FreeMiNT Makefile.target 2012-07-05 22:21:45 +02:00
Ole Loots
5ca30e057a Added new iconset - thanks to atfact
svn path=/trunk/netsurf/; revision=13994
2012-06-28 22:26:18 +00:00
Ole Loots
bf27997312 Show alert when no editor option is configured.
svn path=/trunk/netsurf/; revision=13985
2012-06-23 00:17:57 +00:00
Ole Loots
ad656167dc Handle new toolbar options (background color, iconset)
svn path=/trunk/netsurf/; revision=13984
2012-06-23 00:16:12 +00:00
Ole Loots
d2e7e3546c Added new toolbar options.
svn path=/trunk/netsurf/; revision=13983
2012-06-23 00:14:17 +00:00
Ole Loots
fda51d4010 Added toolbar image folder option.
svn path=/trunk/netsurf/; revision=13982
2012-06-21 22:57:31 +00:00
Ole Loots
4cb8c980ac apply background color option and removed unused struct member of struct s_tb_button.
svn path=/trunk/netsurf/; revision=13981
2012-06-21 22:01:41 +00:00
Ole Loots
1b5771e44e added new options "atari_toolbar_bg".
svn path=/trunk/netsurf/; revision=13980
2012-06-21 22:00:42 +00:00
Ole Loots
65eadf642d Handle do not trackoption and fix a call to snprintf().
svn path=/trunk/netsurf/; revision=13979
2012-06-21 21:51:43 +00:00
Ole Loots
40a2f8622c fix history redraw by calling the window specific redraw function from gui_poll(), also switch hotlist redraw to to hotlist specific redraw function.
svn path=/trunk/netsurf/; revision=13977
2012-06-19 23:46:57 +00:00
Ole Loots
43c3eb33b3 Integrated do not track option into the options dialog.
svn path=/trunk/netsurf/; revision=13975
2012-06-19 23:12:02 +00:00
Ole Loots
bad987b185 added some missing WITH_8BPP_SUPPORT ifdefs.
svn path=/trunk/netsurf/; revision=13974
2012-06-19 23:06:39 +00:00
Ole Loots
cd45e1f447 First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
2012-06-19 23:04:38 +00:00
Ole Loots
1f3d249c15 Make use of plot_set_dimensions()
svn path=/trunk/netsurf/; revision=13972
2012-06-19 23:02:37 +00:00
Ole Loots
8ea00bafc4 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13958
2012-06-04 21:53:06 +00:00
Ole Loots
cc9457bdd7 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13957
2012-06-04 21:52:41 +00:00
Ole Loots
529a3e6725 Fix redraw of embedded toolbar, by removing declaration of already declared local variable. Load toolbar resource trees at toolbar_init().
svn path=/trunk/netsurf/; revision=13956
2012-06-04 21:12:44 +00:00
Ole Loots
35ee72dccf Removed the use of duplicated OBJECT trees.
svn path=/trunk/netsurf/; revision=13943
2012-06-03 22:07:57 +00:00
Ole Loots
2051bf1cc4 Fixed redraw of embedded toolbar icons ( enabled / disabled state was incorrectly handled ).
svn path=/trunk/netsurf/; revision=13942
2012-06-03 21:37:18 +00:00
Ole Loots
95ccb75d9f Added default throbber image.
svn path=/trunk/netsurf/; revision=13941
2012-06-03 20:40:19 +00:00
Ole Loots
7b9f22c290 Load & use throbber image.
svn path=/trunk/netsurf/; revision=13940
2012-06-03 20:38:28 +00:00
Ole Loots
0a7ce3007f Reset stop button when url changes.
svn path=/trunk/netsurf/; revision=13939
2012-06-03 18:02:11 +00:00
Ole Loots
c55ffa47bf Added default toolbar image
svn path=/trunk/netsurf/; revision=13938
2012-06-03 18:00:50 +00:00
Ole Loots
2b0781a2f4 Some cleanups and additions required for the toolbar icon redraw.
svn path=/trunk/netsurf/; revision=13937
2012-06-03 17:09:19 +00:00
Ole Loots
746c44778d Fix order of embedded toolbar resource icons.
svn path=/trunk/netsurf/; revision=13936
2012-06-03 17:07:12 +00:00
Ole Loots
95bf664c88 Load toolbar icons from a single bitmap file.
svn path=/trunk/netsurf/; revision=13935
2012-06-03 17:06:11 +00:00
Ole Loots
6d125e79b3 Fixed prototyp, comments.
svn path=/trunk/netsurf/; revision=13925
2012-05-13 15:33:58 +00:00
Ole Loots
2c4b83b1ee Prepared code for different button states (= different image ).
svn path=/trunk/netsurf/; revision=13924
2012-05-13 15:32:35 +00:00
Ole Loots
b1a2191fbe Use safe string functions.
svn path=/trunk/netsurf/; revision=13923
2012-05-13 15:31:30 +00:00
Ole Loots
6a9038de3c Only check transparent pixels when transparency is enabled.
svn path=/trunk/netsurf/; revision=13891
2012-04-26 22:21:02 +00:00
Ole Loots
f804cff67b set rendering flag within throbber_stop / start functions, update toolbar buttons on throbber stop.
svn path=/trunk/netsurf/; revision=13890
2012-04-25 21:33:01 +00:00
Ole Loots
ea411f6c34 Fix typo ( fontbitmap was never destroyed within dtor )
svn path=/trunk/netsurf/; revision=13889
2012-04-24 20:51:52 +00:00
Ole Loots
68cd53ee66 Small font plotter speedup by reducing function calls in a draw glyph loop.
svn path=/trunk/netsurf/; revision=13888
2012-04-24 20:47:38 +00:00
Ole Loots
e7104b4462 Implemented "paste clipboard" for toolbar URL textbox.
svn path=/trunk/netsurf/; revision=13887
2012-04-24 20:32:53 +00:00
Ole Loots
4204599fb9 Optimized bitmap blitting: cache native (converted) bitmaps.
This required an change to the convert and blit routines - for opaque images, they convert the whole image. Transparent images are still converted on demand and still only the clipped area is converted. This is incomplete - native buffers should be stored in the well known bitmap buffer, but currently the bitmap struct holds a second buffer which contains converted data.

svn path=/trunk/netsurf/; revision=13886
2012-04-19 22:44:49 +00:00
Ole Loots
529c0c41f3 Added menu shortcuts.
svn path=/trunk/netsurf/; revision=13872
2012-04-15 22:24:13 +00:00
Ole Loots
4467766786 Fix bitmap creation - JPEG where always set to opaque = false, which lead to blitter checking all pixels for transparency in an loop.
Prepare for caching of converted bitmaps. 

svn path=/trunk/netsurf/; revision=13869
2012-04-14 11:40:57 +00:00
Ole Loots
caeec11de7 Updated FAQ
svn path=/trunk/netsurf/; revision=13862
2012-04-12 20:38:12 +00:00
Ole Loots
a17fc5da76 call toolbar_exit()
svn path=/trunk/netsurf/; revision=13861
2012-04-12 20:20:58 +00:00
Ole Loots
d3bd388218 Share a single icon instance for multiple toolbars.
svn path=/trunk/netsurf/; revision=13860
2012-04-12 20:18:53 +00:00
Ole Loots
56ec72f044 Init toolbar.
svn path=/trunk/netsurf/; revision=13849
2012-04-10 23:12:49 +00:00
Ole Loots
786be41d01 Initial support for (truecolor) image toolbar ( toolbar icons loaded from image file, not from resource ).
svn path=/trunk/netsurf/; revision=13848
2012-04-10 23:12:13 +00:00
Ole Loots
a94781edc0 Added function load_icon
svn path=/trunk/netsurf/; revision=13847
2012-04-10 23:10:49 +00:00
Ole Loots
3158226bbe Introduced BITMAPF_BUFFER_NATIVE and native image buffer, for fast redraw of bitmaps.
svn path=/trunk/netsurf/; revision=13846
2012-04-10 23:07:10 +00:00
Ole Loots
b400b7c22b Introduced BITMAPF_BUFFER_NATIVE, for fast redraw of bitmaps.
svn path=/trunk/netsurf/; revision=13845
2012-04-10 23:06:21 +00:00
Ole Loots
f13f2468b1 Removed obsolete menu item struct member.
svn path=/trunk/netsurf/; revision=13842
2012-04-09 11:44:09 +00:00
Ole Loots
ebd0f1366d Removed debug output, text format changes...
svn path=/trunk/netsurf/; revision=13841
2012-04-09 11:33:34 +00:00
Ole Loots
96a2906298 Simplified keyboard-shortcut code: Don't use Messages file for Menu strings and accelerator definitions. These things are now taken from the RSC file.
svn path=/trunk/netsurf/; revision=13840
2012-04-09 11:30:59 +00:00
Ole Loots
940ae42c87 Optimize redraw when window is on-top: do not intersect redraw areas with visible window rectangles.
svn path=/trunk/netsurf/; revision=13833
2012-04-07 21:24:37 +00:00
Ole Loots
39b04ea3d6 Added missing include.
svn path=/trunk/netsurf/; revision=13832
2012-04-07 21:22:19 +00:00
Ole Loots
bb82d83cc1 Added linkage to libdom.
svn path=/trunk/netsurf/; revision=13831
2012-04-07 21:21:45 +00:00
Ole Loots
7bfcbe1e1e Added missing declaration of "html_redraw_debug".
svn path=/trunk/netsurf/; revision=13830
2012-04-07 21:19:10 +00:00
Ole Loots
878212a0de Removed unused variable.
svn path=/trunk/netsurf/; revision=13790
2012-04-04 21:58:09 +00:00
Ole Loots
ec010eaa4c This version was used to build release package of netsurf 2.9
svn path=/trunk/netsurf/; revision=13789
2012-04-04 21:21:33 +00:00
Ole Loots
6d2dd168c6 Added script to invoke make process for different architecture.
svn path=/trunk/netsurf/; revision=13788
2012-04-04 21:16:40 +00:00
Ole Loots
32aea564d6 Added script to compile all the libraries needed (build optimized for netsurf).
svn path=/trunk/netsurf/; revision=13787
2012-04-04 21:12:58 +00:00
Michael Drake
57793aae89 Remove gui_colour_* options.
svn path=/trunk/netsurf/; revision=13740
2012-03-27 11:51:18 +00:00
Michael Drake
ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Ole Loots
974f536794 Fixed declarations of set_std_pixel / get_std_pixel
svn path=/trunk/netsurf/; revision=13553
2012-03-22 21:34:13 +00:00
Ole Loots
2ffb570acd Fix missing include: desktop/options.h
svn path=/trunk/netsurf/; revision=13552
2012-03-22 21:33:21 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Ole Loots
0797bf5a57 Be a bit more verbose and strict.
svn path=/trunk/netsurf/; revision=13547
2012-03-21 21:20:19 +00:00
Ole Loots
36dd0cc346 added dbg_rect function.
svn path=/trunk/netsurf/; revision=13546
2012-03-21 21:19:59 +00:00
Ole Loots
82d93ef1e6 call set_clip/get_clip, declare result variables correctly.
svn path=/trunk/netsurf/; revision=13545
2012-03-21 21:19:30 +00:00
Ole Loots
38dd9128a1 Let user select download path and filename, removed unused struct members.
svn path=/trunk/netsurf/; revision=13544
2012-03-21 21:12:06 +00:00
Ole Loots
f926feadd6 Adjusted for changed plotter members.
svn path=/trunk/netsurf/; revision=13520
2012-03-14 22:10:21 +00:00
Ole Loots
b9092d6271 Restructured the plotter driver struct and declared misc functions static within the vdi driver.
svn path=/trunk/netsurf/; revision=13519
2012-03-14 22:06:07 +00:00
Ole Loots
2e65e51fc5 Added GD Plotter stub.
svn path=/trunk/netsurf/; revision=13512
2012-03-12 21:24:38 +00:00
Ole Loots
4604f293b7 Removed unused plotter members.
svn path=/trunk/netsurf/; revision=13511
2012-03-12 21:20:18 +00:00
Ole Loots
b01229d9cc now abort button becomes close button when download is completed.
svn path=/trunk/netsurf/; revision=13510
2012-03-11 15:42:41 +00:00
Ole Loots
da9a0e9b44 Always use pkg-config, never use xml-config or curl-config, it breaks crossbuild when these binaries are actually available on the build machine.
svn path=/trunk/netsurf/; revision=13492
2012-02-27 22:43:33 +00:00
Ole Loots
174b52a0fd more #ifdef WITH_8BPP_SUPPORT
svn path=/trunk/netsurf/; revision=13467
2012-02-25 15:23:00 +00:00
Ole Loots
132ebb7dd9 Mouse button holding wasn't reported to the browser because of drag optimization, resulting in internal scrollbars which only reacted on click, not mouse holding down.
svn path=/trunk/netsurf/; revision=13415
2012-02-03 00:05:37 +00:00
Ole Loots
f3aa0a5179 Default to "not rendering" when setting GUI poll priority.
svn path=/trunk/netsurf/; revision=13408
2012-01-25 22:44:00 +00:00
Ole Loots
2300b8adab Added key shortcut for bookmark, handle menut item "Hide Toolbars"
svn path=/trunk/netsurf/; revision=13407
2012-01-25 22:42:03 +00:00
Ole Loots
3e9983abf2 Added functions to hide/show the toolbar.
svn path=/trunk/netsurf/; revision=13400
2012-01-11 20:35:50 +00:00
Ole Loots
a5a0b8d955 Removed non declared and unused "cookies_update" function ( some frontends still define the functions), added missing prototypes.
svn path=/trunk/netsurf/; revision=13399
2012-01-11 20:35:14 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Ole Loots
ca893cd1af set monochrom option on save was missing
svn path=/trunk/netsurf/; revision=13392
2012-01-07 00:28:35 +00:00
Ole Loots
cc2b4477b0 Updated resources ( mainmenu and settings dialog updated for background_images, foreground_images, font_monochrom )
svn path=/trunk/netsurf/; revision=13389
2012-01-06 23:30:59 +00:00
Ole Loots
2ee9f1d925 fix enable/disable of checkbox when font renderer is changed.
svn path=/trunk/netsurf/; revision=13388
2012-01-06 23:29:58 +00:00
Ole Loots
be2d2b4cea Added menu items for foreground_images,background_images for fast access.
svn path=/trunk/netsurf/; revision=13387
2012-01-06 23:23:31 +00:00
Ole Loots
4259392e19 Added settings for: foreground_images, background_images, monochrom glyph rendering.
svn path=/trunk/netsurf/; revision=13386
2012-01-06 23:22:08 +00:00
Ole Loots
3b492b4842 Removed unused source files.
svn path=/trunk/netsurf/; revision=13384
2012-01-06 22:15:56 +00:00
Ole Loots
03cd3ac72b Updated docs.
svn path=/trunk/netsurf/; revision=13383
2012-01-06 22:12:20 +00:00
Ole Loots
af89069dad Added missing prototypes.
svn path=/trunk/netsurf/; revision=13382
2012-01-06 22:10:10 +00:00
Ole Loots
b5a9e93d55 Added flag for monochrom font rendering.
svn path=/trunk/netsurf/; revision=13381
2012-01-06 22:06:31 +00:00
Ole Loots
ede3e647d9 Fixed warning.
svn path=/trunk/netsurf/; revision=13380
2012-01-06 22:04:55 +00:00
Ole Loots
b0827f8377 Added schedule stats.
svn path=/trunk/netsurf/; revision=13379
2012-01-06 22:04:23 +00:00
Ole Loots
d5d0289010 Only set opaque on initial alloc, add flag for clearing buffer on realloc.
svn path=/trunk/netsurf/; revision=13378
2012-01-06 21:57:42 +00:00
Ole Loots
097800ff47 Fix rectangle fill, only add/subtract stroke_width when the rectangle has an outline.
svn path=/trunk/netsurf/; revision=13374
2012-01-05 22:38:02 +00:00
Ole Loots
1beb016c47 Reverted last change and only apply color conversion for alpha channel glyphs.
svn path=/trunk/netsurf/; revision=13373
2012-01-03 23:38:51 +00:00
Ole Loots
68466df8a2 Fix clipping and only apply color conversion for hicolor systems.
svn path=/trunk/netsurf/; revision=13372
2012-01-03 23:29:25 +00:00
Ole Loots
5cdfd5a086 It's now possible to render fonts in monochrom mode.
svn path=/trunk/netsurf/; revision=13371
2012-01-03 23:05:27 +00:00
Ole Loots
08e2052c09 removed comment.
svn path=/trunk/netsurf/; revision=13370
2012-01-03 23:03:09 +00:00
Ole Loots
224d882c03 Fixed font plotter init and added flag for monochrom glyph rendering.
svn path=/trunk/netsurf/; revision=13369
2012-01-03 23:02:38 +00:00
Ole Loots
0977543316 Made internal font plotter compatible with 256 colors.
svn path=/trunk/netsurf/; revision=13367
2012-01-02 14:29:16 +00:00
Ole Loots
eef6b2da4f 256 color plotting: Use vdi to rgb lookup table, made transparency a bit better ( the snapshot problem was related to fvdi, no error in code )
svn path=/trunk/netsurf/; revision=13362
2012-01-02 00:08:14 +00:00
Ole Loots
aec502af1a Open fulled window when running under Single-Task OS.
svn path=/trunk/netsurf/; revision=13361
2012-01-02 00:02:40 +00:00
Ole Loots
a195728c51 Added support for 8bit displays, having big problems with transparent plots ( snapshot of background isn't always taken from correct position, maybe a bug in fvdi)
svn path=/trunk/netsurf/; revision=13359
2011-12-31 15:21:49 +00:00
Ole Loots
4dd695c156 Set status message on download finish.
svn path=/trunk/netsurf/; revision=13351
2011-12-27 23:30:39 +00:00
Ole Loots
d3d6285b03 delete all text on esc key press.
svn path=/trunk/netsurf/; revision=13350
2011-12-27 23:29:29 +00:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Ole Loots
f07e76a735 Removed unused variable.
svn path=/trunk/netsurf/; revision=13320
2011-12-21 22:51:17 +00:00
Ole Loots
8e479349e8 Fixed display of download speed.
svn path=/trunk/netsurf/; revision=13319
2011-12-21 22:44:48 +00:00
Ole Loots
230f6558b4 Fixed display of download speed.
svn path=/trunk/netsurf/; revision=13318
2011-12-21 22:44:37 +00:00
Ole Loots
1e06ba53dc Removed unimplemented function declaration
svn path=/trunk/netsurf/; revision=13312
2011-12-21 21:16:27 +00:00
Ole Loots
dfcfe12580 Add event listeners to WM_MOVED, WM_RESIZED, WM_FULLED instead of overwriting the default handlers. Removed option atari_realtime_move.
svn path=/trunk/netsurf/; revision=13311
2011-12-21 21:13:13 +00:00
Ole Loots
307e90d5e5 Fix assignment of option_target_blank
svn path=/trunk/netsurf/; revision=13294
2011-12-18 16:46:36 +00:00
Ole Loots
b4e27cf91e fixed syntax-error.
svn path=/trunk/netsurf/; revision=13280
2011-12-15 23:37:02 +00:00
Ole Loots
a3cd709bc8 Updated settings dialog.
svn path=/trunk/netsurf/; revision=13279
2011-12-15 23:29:41 +00:00
Ole Loots
66f53b22e2 added mode parameter to function find_gui_window
svn path=/trunk/netsurf/; revision=13278
2011-12-15 23:04:31 +00:00
Ole Loots
3b8de08f60 fixed types for simple Mime type detection (which shouldn't have been checked in...)
svn path=/trunk/netsurf/; revision=13277
2011-12-15 23:00:39 +00:00
Ole Loots
66f0288398 Re-Enabled "View Source"
svn path=/trunk/netsurf/; revision=13276
2011-12-15 22:59:15 +00:00
Ole Loots
3eb8e6ad5d fixed type.
svn path=/trunk/netsurf/; revision=13275
2011-12-15 22:56:46 +00:00
Ole Loots
22dc3b0f2a Added save functionality to settings dialiog, fixed typo resulting in not freeing the resource pointer.
svn path=/trunk/netsurf/; revision=13273
2011-12-15 21:59:55 +00:00
Ole Loots
e95b45725c Remove throbber callback from schedule before scheduling a new one.
svn path=/trunk/netsurf/; revision=13272
2011-12-14 21:23:30 +00:00
Ole Loots
de8849fd09 Added settings dialog, read only right now.
svn path=/trunk/netsurf/; revision=13270
2011-12-13 22:17:50 +00:00
Ole Loots
004398f65f Moved to mouse move handler to global events, and handle different window types.
svn path=/trunk/netsurf/; revision=13269
2011-12-12 19:39:53 +00:00
Ole Loots
a6643b7cd5 Only convert resource objects to windom types when extended type is set.
svn path=/trunk/netsurf/; revision=13268
2011-12-12 19:38:58 +00:00
Ole Loots
4c1922433b added save page handlers.
svn path=/trunk/netsurf/; revision=13267
2011-12-10 01:06:48 +00:00
Ole Loots
0dfb12d43b added save page handlers.
svn path=/trunk/netsurf/; revision=13266
2011-12-10 01:06:23 +00:00
Ole Loots
a0ecaf6262 Commented and adjusted default options
svn path=/trunk/netsurf/; revision=13265
2011-12-10 01:02:19 +00:00
Ole Loots
556a0fe484 Removed option to configure knockout rendering, removed suppress_images option from frontend.
svn path=/trunk/netsurf/; revision=13264
2011-12-10 00:38:21 +00:00
Ole Loots
4f4e7927bb toggle menu item when debug rendering is toggled.
svn path=/trunk/netsurf/; revision=13259
2011-12-08 00:08:41 +00:00
Ole Loots
3f72673316 remove debug message.
svn path=/trunk/netsurf/; revision=13258
2011-12-07 23:19:33 +00:00
Ole Loots
5c2406c30b force list of scheduled callbacks to be unique.
svn path=/trunk/netsurf/; revision=13257
2011-12-07 23:05:50 +00:00
Ole Loots
97dce15b9e Set input_window on click, instead of asserting input window equals the receiver window.
svn path=/trunk/netsurf/; revision=13253
2011-12-06 22:49:54 +00:00
Ole Loots
9f1de63949 Handle iconify correctly
svn path=/trunk/netsurf/; revision=13252
2011-12-06 22:47:40 +00:00
Ole Loots
e7e8024be8 Fix focus element
svn path=/trunk/netsurf/; revision=13251
2011-12-06 21:06:41 +00:00
Ole Loots
2ff45272d0 Fix utf-8 conversion.
svn path=/trunk/netsurf/; revision=13242
2011-12-04 17:18:59 +00:00
Ole Loots
d7067aa873 Fix file drops
svn path=/trunk/netsurf/; revision=13241
2011-12-04 17:18:29 +00:00
Ole Loots
49ff4d5900 Fix conversion of local encoding to utf-8
svn path=/trunk/netsurf/; revision=13240
2011-12-04 17:18:07 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Ole Loots
051eedddeb Removed unused code.
svn path=/trunk/netsurf/; revision=13234
2011-12-04 13:10:24 +00:00
Ole Loots
7323f012ed Stick to OS features for drag feature - handle it almost blocking (improves user experience).
svn path=/trunk/netsurf/; revision=13233
2011-12-04 13:05:00 +00:00
Ole Loots
c3be583d22 Added drag feature to the new url input.
svn path=/trunk/netsurf/; revision=13232
2011-12-04 13:02:07 +00:00
Ole Loots
3de9422594 Added copyright comment.
svn path=/trunk/netsurf/; revision=13231
2011-12-04 12:54:49 +00:00
Ole Loots
7d4a0be284 Fixed header, made different font plotters optional.
svn path=/trunk/netsurf/; revision=13230
2011-12-04 12:53:03 +00:00
Ole Loots
905b3c2641 Removed unused variable
svn path=/trunk/netsurf/; revision=13229
2011-12-04 12:51:37 +00:00
Ole Loots
b20f47262b Open window by configured width,
removed unused variables

svn path=/trunk/netsurf/; revision=13212
2011-11-30 23:08:21 +00:00
Ole Loots
9efb276f97 Copy (whole) URL on Copy key.
svn path=/trunk/netsurf/; revision=13211
2011-11-30 22:37:57 +00:00
Ole Loots
1f4ab6384c Removed unused declarations.
svn path=/trunk/netsurf/; revision=13210
2011-11-30 22:37:32 +00:00
Ole Loots
6f699c05b0 Removed unused declarations.
svn path=/trunk/netsurf/; revision=13209
2011-11-30 22:36:52 +00:00
Ole Loots
5f69abb504 release screen-lock when second lock check fails.
svn path=/trunk/netsurf/; revision=13208
2011-11-29 23:19:18 +00:00
Ole Loots
1c640bc529 Check for NULL
svn path=/trunk/netsurf/; revision=13207
2011-11-29 22:05:44 +00:00
Ole Loots
dbffd36e14 Handle focus event within window_set_focus, select all when url input gets focus
svn path=/trunk/netsurf/; revision=13206
2011-11-29 21:51:18 +00:00
Ole Loots
4313de0584 Fixed inlude.
svn path=/trunk/netsurf/; revision=13205
2011-11-29 21:32:47 +00:00
Ole Loots
94bacf7b4f Added missing insert key conversion.
svn path=/trunk/netsurf/; revision=13204
2011-11-29 21:31:31 +00:00
Ole Loots
9f55b1cc7d Check return value of plotter->lock()
svn path=/trunk/netsurf/; revision=13203
2011-11-29 21:22:01 +00:00
Ole Loots
d25f7cc27e make use of non-blocking request for screen lock.
svn path=/trunk/netsurf/; revision=13202
2011-11-29 21:19:26 +00:00
Ole Loots
2f9ac934e6 Draw rectangle outline manually.
svn path=/trunk/netsurf/; revision=13192
2011-11-28 23:29:35 +00:00
Ole Loots
999410adc8 I'm actually trying to simplify the frontend code, changes:
- Optimized browser window caret, uses back-buffer now. ( So no content redraw is scheduled by the frontend just for a caret move ) 
- Fixed a double redraw issue when the browser reformat is pending and the AES also sends an redraw request because of the resize. 
- Started to use netsurfs textarea instead of a custom implementation ( to reduce code size ). 

svn path=/trunk/netsurf/; revision=13191
2011-11-28 23:23:28 +00:00
Chris Young
24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Ole Loots
8490662b09 Moved static declarations.
svn path=/trunk/netsurf/; revision=13175
2011-11-23 22:38:38 +00:00
Ole Loots
a14f675fdb Removed unused variable, plot_line is now global.
svn path=/trunk/netsurf/; revision=13174
2011-11-23 22:37:29 +00:00
Ole Loots
01666a444f Log mimetype
svn path=/trunk/netsurf/; revision=13173
2011-11-23 22:35:40 +00:00
Ole Loots
6227acbd50 Properly redraw the rectangle outline
svn path=/trunk/netsurf/; revision=13172
2011-11-23 22:34:38 +00:00
Ole Loots
8b4c96a953 Comment's...
svn path=/trunk/netsurf/; revision=13171
2011-11-23 22:33:02 +00:00
Ole Loots
cb84601b44 Removed debug output
svn path=/trunk/netsurf/; revision=13170
2011-11-23 22:27:57 +00:00
Ole Loots
5da485d423 Use new function nkc_to_input_key
svn path=/trunk/netsurf/; revision=13169
2011-11-23 22:25:22 +00:00
Ole Loots
0c7b4bc6c7 Removed FAQ entry for problems caused by stack overflow within mintlibs regex module.
svn path=/trunk/netsurf/; revision=13168
2011-11-23 20:13:07 +00:00
Ole Loots
fbb3ed3ff4 Checkbox "Close on finish" becomes close button when download finished.
svn path=/trunk/netsurf/; revision=13167
2011-11-23 20:01:47 +00:00
Ole Loots
0b3977b52b Removed resize widget from statusbar ( Not needed anymore, window has native widgets now)
svn path=/trunk/netsurf/; revision=13166
2011-11-23 19:59:24 +00:00
Ole Loots
a82f2721e6 Add global function to resolve Netsurf input key.
svn path=/trunk/netsurf/; revision=13165
2011-11-23 19:56:20 +00:00
Ole Loots
385ffaad7b Lock plotter during treeview redraw.
svn path=/trunk/netsurf/; revision=13164
2011-11-23 19:55:03 +00:00
Ole Loots
c23ef5e7aa Remove drag n' drop constants, already defined by cflib.h
svn path=/trunk/netsurf/; revision=13163
2011-11-23 19:53:54 +00:00
Ole Loots
dfcd555a0e Fix rectangle plotter, process stroke_type.
svn path=/trunk/netsurf/; revision=13149
2011-11-17 21:49:38 +00:00
Ole Loots
91bdfbd172 Removed calls to FrameInit/FrameExit ( was used for window components ).
svn path=/trunk/netsurf/; revision=13136
2011-11-08 19:13:34 +00:00
Ole Loots
044fec706f -Remove a bunch of code which was intended to handle framed-pages. It's better handled by the OS, because frames won't be handled within the frontend anymore.
- Clear window when no content is available

svn path=/trunk/netsurf/; revision=13125
2011-11-05 15:18:19 +00:00
Ole Loots
5f10479c26 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13124
2011-11-05 01:49:55 +00:00
Ole Loots
5786f7eb17 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13123
2011-11-05 01:48:53 +00:00
Ole Loots
389722916a Added comments.
svn path=/trunk/netsurf/; revision=13122
2011-11-05 01:47:23 +00:00
Ole Loots
aadc2541a5 Added comments.
svn path=/trunk/netsurf/; revision=13121
2011-11-05 01:46:41 +00:00
Ole Loots
ee7b223eca Draw favicon when iconyfied
svn path=/trunk/netsurf/; revision=13049
2011-10-14 20:56:52 +00:00
Ole Loots
c91a4b7035 Added missing scroll position.
svn path=/trunk/netsurf/; revision=13041
2011-10-13 20:39:39 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Michael Drake
7dc000e643 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12929
2011-10-03 16:45:54 +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
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
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
77a9d997ce Delete dead handling of frame creation destruction.
svn path=/trunk/netsurf/; revision=12734
2011-09-05 12:27:06 +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
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
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
1eaa2a0e8e Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12658
2011-08-24 13:42:59 +00:00
Michael Drake
4adcb4277f Atari changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12649
2011-08-24 12:32:51 +00:00
Ole Loots
a8b9f0936f Convert window title to local encoding.
svn path=/trunk/netsurf/; revision=12638
2011-08-05 11:02:33 +00:00
Ole Loots
cc52da39f7 Added missing position update when window got moved.
svn path=/trunk/netsurf/; revision=12637
2011-08-05 10:34:06 +00:00
Ole Loots
68b52a6023 Improved accuracy for window resize.
svn path=/trunk/netsurf/; revision=12636
2011-08-05 01:12:03 +00:00
Ole Loots
33aebf6fd1 housekeeping
svn path=/trunk/netsurf/; revision=12635
2011-08-05 01:11:03 +00:00
Ole Loots
a1f7517f39 edit comments
svn path=/trunk/netsurf/; revision=12634
2011-08-05 01:10:36 +00:00
Michael Drake
1e43cd7f76 Fix up Atari for r12574 API change.
svn path=/trunk/netsurf/; revision=12576
2011-07-06 12:42:45 +00:00
Ole Loots
5639e1e047 removed preparations for frames. (will be handled within the core)
svn path=/trunk/netsurf/; revision=12550
2011-06-30 20:20:27 +00:00
Ole Loots
53e1631d7a adjusted typo, fixed compilation of setting knockout option during runtime.
svn path=/trunk/netsurf/; revision=12548
2011-06-30 19:16:11 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Ole Loots
dccf6e4280 Revert remove of cflib and further usage of xaaes nkcc routines. It resulted in not-working page up / page down and up / down keys.
svn path=/trunk/netsurf/; revision=12510
2011-06-25 20:03:28 +00:00
Ole Loots
b897861cdd avoid usage of uninitialized variable.
svn path=/trunk/netsurf/; revision=12509
2011-06-25 19:40:31 +00:00
Ole Loots
d6f5cead52 adjusted comment to match reality.
svn path=/trunk/netsurf/; revision=12508
2011-06-25 19:35:33 +00:00
Ole Loots
3210b6eaf8 small toolbar icon fix.
svn path=/trunk/netsurf/; revision=12507
2011-06-25 19:34:40 +00:00
Michael Drake
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Ole Loots
5eac88cb71 lowered stack value (the large value was added because of excesive stack usage within mintlibs regex, but it can be avoided when using malloc within regex impl.), added missing internal.css
svn path=/trunk/netsurf/; revision=12456
2011-06-03 22:37:20 +00:00