Commit Graph

545 Commits

Author SHA1 Message Date
Ole Loots
40313798ee Implemented Browser key input handling. 2012-12-01 16:18:02 +01:00
Ole Loots
2705884b65 Removed image toolbar settings. 2012-12-01 16:16:19 +01:00
Ole Loots
4360905000 Removed image toolbar stuff
This is not related to windom, but makes the code less complex, too.
2012-12-01 13:13:04 +01:00
Ole Loots
ea025e6008 Toolbar is now finished, started work on browser redraw/scrolling. 2012-11-30 03:20:52 +01:00
Ole Loots
67d4da38ad Removed debug statements 2012-11-29 02:11:37 +01:00
Ole Loots
c374f7fcf0 Removed debug statements 2012-11-29 02:10:23 +01:00
Ole Loots
b1018779f9 Removed debug statements 2012-11-29 02:09:07 +01:00
Ole Loots
1b93b72b9b re-implemented browser toolbar redraw / URL area redraw. 2012-11-29 02:01:13 +01:00
Ole Loots
9ec2e77b27 Only change selectable toolbar objects on click. 2012-11-29 01:59:20 +01:00
Ole Loots
c3119b9356 Merge branch 'master' into mono/removing-windom-dependency 2012-11-28 22:00:13 +01:00
Ole Loots
4fbeacf830 Fix integer overflow in percentage calculation, credits: Peter Slegg. 2012-11-28 21:55:43 +01:00
Ole Loots
ff7cf93762 Started refactoring of global redraw handling. 2012-11-28 21:30:24 +01:00
Ole Loots
fe0e2508e6 Refactored a lot of browser window code,... still totally WIP.
...but it compiles...
2012-11-27 02:12:09 +01:00
Ole Loots
6ea22068aa Fixed typo, caused small scroll bug. 2012-11-22 01:30:03 +01:00
Ole Loots
407389668b Hotlist now works without windom. 2012-11-22 01:19:20 +01:00
Ole Loots
42cb583842 Improved WM_FULLED handling (prev. size is getting restored) 2012-11-22 00:26:58 +01:00
Ole Loots
ccdab30c9a Completet scroll preprocessing, Hotlist fully works. 2012-11-22 00:10:55 +01:00
Ole Loots
0672d5e2c9 Implemented scroll handling in gemtk. 2012-11-21 02:14:22 +01:00
Ole Loots
7e94f32e4c Initial work at making scrolling work 2012-11-20 01:41:42 +01:00
Ole Loots
5449303bd1 Ripped Windom out of the treeview implementation,
it still requires scroll event handling to be implemented.
2012-11-20 00:29:20 +01:00
Ole Loots
9676253184 Imporved gemtk toolbar handling. 2012-11-19 00:47:03 +01:00
Ole Loots
c415f9bf98 Start to remove windom, wip.
- Refactored menu event handling.
- Load plain GEM resources.
- Refactored Event handling
2012-11-18 23:22:43 +01:00
Ole Loots
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
47c0ce6f14 Revert "Added missing Makefile changes for recent deskmenu commit."
This reverts commit c5fb16d56d.
This change belongs into a new branch
2012-11-18 23:15:21 +01:00
Ole Loots
c5fb16d56d Added missing Makefile changes for recent deskmenu commit. 2012-11-14 22:00:38 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Ole Loots
44808e1c52 Added message box, so warn_user works as expected. 2012-11-12 21:23:39 +01:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Ole Loots
5242cd00a4 Fixed syntax error caused by search&replace? 2012-11-07 23:35:43 +01:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Rob Kendrick (fatigue)
d532fc82eb A little bit of polish? 2012-11-03 14:20:54 +00:00
Rob Kendrick (fatigue)
082c929334 Minimal fix to get atari rebuilding 2012-11-03 14:18:38 +00:00
Ole Loots
c528d10864 Use GEM Window Statusbar when WITH_CUSTOM_STATUSBAR is undefined. 2012-10-19 00:14:11 +02:00
Ole Loots
7d18cf2b41 Use malloc instead of alloca. 2012-10-19 00:07:37 +02:00
Ole Loots
004e61e138 Use malloc instead of alloca.
(Fixes drag and drop)
2012-10-18 23:21:33 +02:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Ole Loots
05e71dc142 Add optional use of STACK & STRIP Variables. 2012-10-14 00:03:59 +02:00
Ole Loots
61a2b8ddc4 Strip the resulting executable, also update stack size.
Consider m5475 toolchain (new Variable CROSS_COMPILE).
2012-10-13 22:50:55 +02:00
Ole Loots
fa7048d66d Redraw favicon when it has been changed.
Improve the window icon / favicon interface.
2012-10-13 22:25:10 +02:00
Ole Loots
221cd56826 Show mouse again after the color popup is ready. 2012-10-13 22:23:19 +02:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Michael Drake
38a9c374a4 Remove unused functions. 2012-10-09 15:26:32 +01:00
Ole Loots
5c53f01ead Added netsurf.png to package, now the welcome page displays correctly.
Altough I don't like to have netsurf.png floating around
in the root directory of netsurf.
2012-08-28 00:04:35 +02:00
Ole Loots
0200ba1ed2 Revert positioning Fix dated 2012-08-07 2012-08-27 23:32:54 +02:00
Ole Loots
ad2552ddb0 Set default download path "downloads" 2012-08-27 23:32:24 +02:00
Ole Loots
17c9641b38 is_process_running: Check for zombie status. 2012-08-27 20:39:14 +02:00
Ole Loots
34a3901501 A new window can now be opened in background mode. 2012-08-27 20:15:22 +02:00
Ole Loots
b806c94c1d Fix warnings, moved prototypes, housekeeping 2012-08-27 20:14:27 +02:00
Ole Loots
02593d170a Added is_process_running
Now the source code viewer is launched when not already
running (ShelWrite wasn't handling this correctly)
2012-08-27 20:05:35 +02:00
Ole Loots
5a7ddb9e84 Use is_dir to validate user selection. 2012-08-26 23:48:33 +02:00
Ole Loots
38c6e95f4e Added default favicon 2012-08-26 23:09:51 +02:00
Ole Loots
def39ad610 Removed comment 2012-08-26 23:01:55 +02:00
Ole Loots
b2330bf426 Removed junk... 2012-08-26 22:57:55 +02:00
Ole Loots
b2d810c177 use is_dir function when checking direntry. 2012-08-26 22:55:06 +02:00
Ole Loots
ce645599c9 Fix 1 pixel caret redraw bug. 2012-08-26 21:45:25 +02:00
Ole Loots
b58825dcf7 Center favicon, don't stretch. 2012-08-26 21:36:16 +02:00
Ole Loots
d3a0518726 Do not install FatMessages file, but english default.
Also install welcome.html & etc.
2012-08-26 21:34:17 +02:00
Ole Loots
c2f2884f65 Only redraw caret for top windows.
Because we do not all clipping cases...
2012-08-26 20:36:12 +02:00
Ole Loots
c941cee104 Disable stack change on executable for target package-atari 2012-08-26 18:56:49 +02:00
Ole Loots
28a7096853 Disable strip on executable for target package-atari. 2012-08-26 18:50:46 +02:00
Ole Loots
37b4e77720 Copy toolbar to right location. 2012-08-26 17:57:52 +02:00
Ole Loots
7b868e4287 Default to download font from http://ftp.gnome.org 2012-08-26 16:46:29 +02:00
Ole Loots
1c1ac7f5a1 Download fonts to build directory and copy from there. 2012-08-26 16:45:41 +02:00
Ole Loots
607c06c96d Implemented atari-package target 2012-08-25 15:09:49 +02:00
Ole Loots
d97eb2f520 Updated default options 2012-08-25 14:52:59 +02:00
Ole Loots
836c13f87d Set default cookie filename when not set. 2012-08-25 14:51:49 +02:00
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