anthony
7c9d6cce8d
Cutting, pasting, removing individual websites working
2021-01-14 20:02:26 +00:00
anthony
0157ab1322
Work on cutting and pasting bookmarks
2021-01-13 20:09:47 +00:00
anthony
96d06abdd2
Renaming bookmarks via manage interface
2021-01-12 20:05:10 +00:00
anthony
d1a4382fdf
Create bookmark panel to allow customising the name and picking it's folder
2021-01-09 19:29:34 +00:00
anthony
1c352fe0f3
Implement methods to write bookmarks and add some preliminary UI tweaks
2021-01-06 19:59:28 +00:00
anthony
3f29c76540
Implement methods to get bookmarks
2021-01-05 20:12:10 +00:00
anthony
87ed8db872
Add initial skeleton for bookmarks window based on history window
2021-01-04 19:58:24 +00:00
Vincent Sanders
25c21e5fef
add back/forward mouse button processing to GTK frontend
2021-01-02 09:49:25 +00:00
anthony
6b6ffdab45
BW_NAVIGATE_NONE doesn't do what I thought it did!
2021-01-01 16:00:21 +00:00
anthony
5975b8e3c9
History implemented
2021-01-01 15:53:11 +00:00
anthony
544ae837d5
tweak history impl so as not to require opening and resaving history just to append
2020-12-31 22:55:28 +00:00
anthony
8046fb8af2
Show last 5 history items in the menu bar for quick access
2020-12-29 20:10:57 +00:00
anthony
94b6c4ac7e
implement history open, remove, copy
2020-12-28 18:12:55 +00:00
anthony
ad386a3287
fix range exception when highlighting text
2020-12-28 16:32:01 +00:00
anthony
eb5c01edf7
fix segfault when pasting
2020-12-28 16:24:48 +00:00
anthony
e46bb36669
History - WIP basic history impl
2020-12-24 22:11:41 +00:00
anthony
4a696cf84a
Figure out an interface for bookmarks & history
2020-12-21 20:12:47 +00:00
anthony
aad55fedb9
Add basic outline for history window
2020-12-19 21:45:08 +00:00
anthony
74e3fe059f
Downloads - Perform write on background thread, add cancel and clear, indicate complete/cancel in progress cell
2020-12-18 20:43:26 +00:00
anthony
38b61f46e7
Increase 'size' of downlaod if we've written more than the previous expected size
2020-12-16 20:17:54 +00:00
anthony
b0286b674a
Fix range exception when rendering some text where num glyphs != num chars
2020-12-16 19:26:04 +00:00
anthony
6886cc5a8f
Hook up find window to search table
2020-12-14 21:27:23 +00:00
anthony
adda2aed3c
Work on search window, enable/disable based on main window
2020-12-13 17:33:15 +00:00
anthony
9a5922ba2b
Fix window name not changing due to not being linked in .gorm
2020-12-12 17:44:23 +00:00
anthony
f004897bdc
Make default browser size larger
2020-12-12 17:37:32 +00:00
anthony
9bd681d260
Add speed, remaining, and progress bar to download info
2020-12-12 15:53:46 +00:00
anthony
7b5a806601
Update Downloads window with items based off of DownloadManager
2020-12-10 20:06:23 +00:00
anthony
160f4b43b2
Don't free ns owned buffer
2020-12-10 19:06:02 +00:00
anthony
d04c87012a
Basic download manager
2020-12-09 20:18:22 +00:00
anthony
f0aeee7f97
Begin work on downloads window
2020-12-08 20:25:10 +00:00
anthony
2bdfe481f2
Mimic GTK port's copy/paste/cut contextual menu logic
2020-12-07 20:54:57 +00:00
anthony
815b39bb16
contextual menu actions
2020-12-07 20:14:13 +00:00
anthony
bb301b99ee
Fill in pasteboard functions
2020-12-07 19:48:35 +00:00
anthony
2de3769d47
Update browser size on resize
2020-12-06 10:32:12 +00:00
anthony
f22baae2c2
Handle iframe scrolling
2020-12-05 22:15:00 +00:00
anthony
ba3fe1fffa
Fix incorrect line-width conversion (and thus broken iframes due to scrollbars)
2020-12-05 21:09:47 +00:00
anthony
5954f9280b
Add caret
2020-12-05 15:43:34 +00:00
anthony
5ccb17a263
Add contextual mouse pointers
2020-12-05 14:07:25 +00:00
anthony
4fe704dbf0
Use control,target instead of delegate for urlbar
2020-12-05 13:24:54 +00:00
anthony
31c8b0b026
Just use the system font
2020-12-05 12:15:35 +00:00
anthony
ef507f156f
Fix stop/refresh button going walkabout
2020-12-04 20:44:29 +00:00
anthony
0d2ac228fc
Fix up menu
2020-12-04 20:42:02 +00:00
anthony
f6c82fd2dd
Add refresh button, hook up back and forward buttons
2020-12-04 20:30:45 +00:00
anthony
08e0d3b003
bump urlbar font size, and increase page scrolling speed
2020-12-04 19:08:13 +00:00
anthony
274ab9d670
bump font size up
2020-12-03 20:40:06 +00:00
anthony
65b9019f06
Update url bar with nav url, send correct browser size to ns
2020-12-03 20:24:15 +00:00
anthony
c05a705717
Fix missing resources
2020-12-03 20:05:46 +00:00
anthony
62fff96aeb
Add icon
2020-12-03 19:38:01 +00:00
anthony
ca34bcb07f
Setup scrollview
2020-12-02 20:00:18 +00:00
anthony
074bb11459
Make delayed redraw look at the actual size of the view, rather than the dirty rect
2020-12-01 20:16:30 +00:00
anthony
f71efa5dd6
Correct cocoa_font_position clipping
2020-12-01 20:10:00 +00:00
anthony
2d0555cf74
Only delay redrawing if the plotview has resized
2020-12-01 19:47:41 +00:00
anthony
3c52822637
fix warnings
2020-12-01 19:41:11 +00:00
anthony
9c7f03372d
Fix incorrect nsrect to NSRect conversion
2020-12-01 19:35:02 +00:00
anthony
94f91f89a9
remove -1 on cocoa_font_pos glyph range to avoid negative nsrange
2020-12-01 19:18:54 +00:00
anthony
b498cc66e2
Copy browser view stuff from cocoa port
2020-11-30 20:02:41 +00:00
anthony
b5e0a05292
draw from imagerep directly
2020-11-26 20:03:15 +00:00
anthony
6df756888f
Delay browser redraws until after resize
2020-11-25 20:15:47 +00:00
anthony
7302c218d7
workaround weird compiler bug
2020-11-25 19:47:53 +00:00
anthony
8584d90452
remove scrollview and add window.m scroll funs
2020-11-24 20:02:12 +00:00
anthony
8faae4eacc
Fix upside down images
2020-11-24 19:23:47 +00:00
anthony
8817e92795
Pull in bitmap related stuff, WIP implementing draw bitmap method
2020-11-23 21:01:04 +00:00
anthony
9636baae38
Pull in font.m and plot methods from cocoa port
2020-11-22 14:54:45 +00:00
anthony
4a53631c7f
plot additions
2020-11-21 15:53:14 +00:00
anthony
d4186faa09
fetch mimetype and missing fetch resource path
2020-11-21 15:14:19 +00:00
anthony
4664d6a1d4
minor edits
2020-11-21 12:56:47 +00:00
anthony
51f7304486
dummy window event method
2020-11-18 20:42:16 +00:00
anthony
204031b467
implement misc callback, move tables into individual files
2020-11-17 20:14:34 +00:00
anthony
9bdf829926
setup plot table
2020-11-14 21:45:05 +00:00
anthony
2072c15ddc
Fix tables, open a non functional window on request from netsurf
2020-11-14 16:25:38 +00:00
anthony
909711afc1
table skeleton
2020-11-12 20:33:07 +00:00
anthony
f96fde69a2
basic makefile and app setup
2020-11-12 19:21:23 +00:00
Michael Drake
de7244a170
risc os: Don't let URL complete start consume URL bar drags.
2020-11-10 10:20:03 +00:00
Michael Drake
59078c3f20
risc os: URL bar: Fall back to URL drag if OS doesn't have text selection.
2020-11-03 10:23:50 +00:00
Michael Drake
925a76bcba
risc os: wimputils: Make text-selection helper static inline.
2020-11-03 10:00:14 +00:00
Michael Drake
3cead4e867
risc os: Don't swallow URL bar drags if the OS supports text-selection.
...
It should still be possible to drag save the URL from the favicon.
2020-11-03 09:55:26 +00:00
Michael Drake
f8eabec04b
risc os: wimputils: Helper to check OS support for text-selection.
2020-11-03 09:53:15 +00:00
Chris Young
511f4cc800
Add missing include
2020-10-09 13:05:51 +01:00
Chris Young
12fba46d3e
Cache codesets structure ourselves
...
attempt to speed up conversion as apparently codesets is being very slow
2020-10-09 13:01:48 +01:00
Daniel Silverstone
32d52bf055
gtk: In path plotter, maintain cairo transformation offset
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 21:42:46 +01:00
Daniel Silverstone
58fee8749f
gtk/bitmap: Assert surface width/height non-zero
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-10-03 14:25:43 +01:00
Vincent Sanders
7997182cc0
Improve the framebuffer docs a bit
2020-09-18 10:34:32 +01:00
Vincent Sanders
b0b271274c
Make GTK UI resources more consistent
...
The GTK UI resources have to be different resources between major versions.
When kept in one directory with slightly different filenames they were
difficult to distinguish and resource definition was difficult to update.
The resources for both gtk versions were stored in both builds resulting in
unneccessary increased binary size.
The new stratagy lists the UI files once in a single gresources file and only
includes what is required. If a UI file is added it must be provided in both
gtk2 and 3 or a build failure will occour rather than a runtime error.
2020-09-04 08:26:04 +01:00
Zixing Liu
50f5e3f1a6
Makefile: add Chinese (Simplified) translation target
...
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
2020-09-02 08:59:38 +01:00
Weiyi Xu
4d224afba3
resources: add Chinese (Simplified) translations
...
Signed-off-by: Weiyi Xu <xuweiyi0923@gmail.com>
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
2020-09-02 08:58:53 +01:00
zeug
1ea47f9caf
Support Ctrl+A in the windows toolkit address bar
2020-08-16 23:50:52 +01:00
Vincent Sanders
410cb9a8fd
gtk compile din resource list was missing pageinfo for gtk2 build
2020-08-15 09:49:27 +01:00
Vincent Sanders
421d796e9b
split tools and utils
2020-06-27 23:30:54 +01:00
Vincent Sanders
54e06e7d58
move all the build tools to utils
...
move the source and make rules of the convert image and font tools
to the utils directory. This puts all the rules for build tools together.
2020-06-22 22:45:10 +01:00
Michael Drake
a27f5d32cd
Framebuffer: Internal font: Fix SW and NW arrow directions.
2020-06-22 13:27:18 +01:00
Vincent Sanders
38bfbe9cf6
remove perl split-messages tool usage
2020-06-22 00:04:42 +01:00
Chris Young
ed84f7a018
Amiga: avoid read from NULL pointer
2020-05-26 18:05:14 +01:00
Chris Young
68f1b41bf0
Amiga: Use IANA codeset number to identify local charset
2020-05-26 15:08:51 +01:00
Chris Young
22ea4cbe65
Amiga: Use codesets.library for UTF8 conversion if available
2020-05-26 14:15:04 +01:00
Chris Young
6d62a06899
Amiga: correct schedule parameter
2020-05-25 14:07:38 +01:00
Chris Young
44e5aea7b5
Amiga: avoid use after free
...
Use the scheduler to trigger page info close as that does not allow the same event to be in the queue multiple times
2020-05-25 13:50:20 +01:00
Vincent Sanders
8924f0c7f9
fix warnings in amiga stringview
2020-05-25 13:45:54 +01:00
Vincent Sanders
2b8501b342
fix incorrect content handler function table operations return types
2020-05-25 13:45:54 +01:00
Vincent Sanders
860fbc2f8c
make browser_window_update internal to browser window as intended
2020-05-25 13:45:54 +01:00
Chris Young
53d07a8e46
Amiga: try to guard against page info window being destroyed twice
2020-05-25 13:04:29 +01:00
Vincent Sanders
9993c37d5b
Update version for next development cycle
2020-05-24 21:58:37 +01:00
Vincent Sanders
114dd37c6e
fix RISC OS corewindows incorrectly becoming visible when scroll extents are set
2020-05-24 16:49:45 +01:00
Michael Drake
1c4025e92c
RISC OS: Prevent closed corewindows opening on scroll requests.
2020-05-24 14:39:49 +01:00
Michael Drake
cb44b56378
RISC OS: Drop extended scroll request logging.
2020-05-24 13:16:24 +01:00
Michael Drake
5af4e79197
RISC OS: Try to improve scroll wheel handling.
2020-05-24 11:36:42 +01:00
Vincent Sanders
d3ac0e71ab
Fix open url dialog not coping with invalid url by using the omnibox helper
2020-05-24 11:19:10 +01:00
Michael Drake
52d0583ace
RISC OS: Update page info urlbar icons.
2020-05-23 21:47:34 +01:00
Daniel Silverstone
60f8f0126d
windows: Enable present_cookies callback
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
8e0469d41d
monkey: Support present_cookies
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
82dc6ec097
riscos: Enable support for present_cookies
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
adafe3c750
amiga: Probably support present_cookies
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
33fe0faab6
beos: Add NULL so present_cookies is filled
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
a4e9f41948
gtk: Implement handling of new present_cookies callback
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:46 +01:00
Michael Drake
cf798ba79a
RISC OS: Be less intrusive with URL bar max URL length handling.
2020-05-23 17:38:44 +01:00
Vincent Sanders
714a90e2a5
update resources copyright years and readme version numbers
2020-05-23 11:14:06 +01:00
Chris Young
3f84dba779
Amiga: fix an issue where the page info icon was not updating correctly
2020-05-23 01:02:09 +01:00
Chris Young
dc5cae7306
Amiga: make page info borderless
2020-05-23 00:46:35 +01:00
Chris Young
3efeb41d1d
Amiga: make page info close when window goes inactive
2020-05-23 00:13:52 +01:00
Chris Young
aa86da5f02
Amiga: position page info window under page info button
2020-05-22 23:58:16 +01:00
Chris Young
413c3803c5
Amiga: simplify page info GUI, add close gadget
2020-05-22 23:10:23 +01:00
Vincent Sanders
67b2d3931d
make risc os url entry use the omi box and hence cope with bad urls gracefully
2020-05-22 20:36:44 +01:00
Daniel Silverstone
9c0fa9c939
gtk: Do not attempt to use now-freed scaffolding when iterating them to quit
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 20:29:20 +01:00
Chris Young
244c49df26
Amiga: Add page info window
...
Currently untested but builds OK
2020-05-22 18:52:29 +01:00
Vincent Sanders
d090f016ad
add page information core window handler to RISC OS
2020-05-22 17:34:39 +01:00
Vincent Sanders
45cac1ea64
neaten up the sourec file list to make future changes easier
2020-05-22 17:32:30 +01:00
Vincent Sanders
6da6f1f66c
make risc os url bar widget context consistent
2020-05-22 17:32:30 +01:00
Vincent Sanders
9ae8023d53
add url bar click actions for page info icon
2020-05-22 17:32:30 +01:00
Vincent Sanders
19232ef3ed
reformat riscos url bar gui module. no code changes
2020-05-22 17:32:30 +01:00
Daniel Silverstone
a35f35fec0
frontends/gtk: Defocus search before selecting all in relevant core windows
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 11:36:43 +01:00
Michael Drake
fcbc710ce5
Squash warnings: '%s' directive argument is NULL.
2020-05-22 10:39:40 +01:00
Daniel Silverstone
de56170cb9
frontends/atari: Include the *right* options header
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:34:10 +01:00
Daniel Silverstone
0797375380
frontends/atari: Add missing include of options.h
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:32:03 +01:00
Daniel Silverstone
e6c666d4f4
chore: Perform sslcert_viewer-ectomy
...
This removes the sslcert_viewer entirely from the code. Where
possible I've also trimmed out of frontends any code I think
should not be present.
Frontends should check and remove any further references that I
have failed to catch.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:01:39 +01:00
Vincent Sanders
3a7fc30a5f
implement content opacity check through the function table
2020-05-13 19:03:14 +01:00
Daniel Silverstone
a98003674b
GTK: Add transient popup behaviour for local history too
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-09 19:38:26 +01:00
Daniel Silverstone
d2e5446bfb
GTK: Change toolbar page-info to use compat allocation function
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-09 11:58:44 +01:00
François Revol
600b2ed60a
Haiku: Better map mouse cursors
...
Drop custom cursor bitmaps in favor of the system ones.
We only miss the wait cursor now, but the progress one should do.
2020-05-09 01:28:43 +02:00
Daniel Silverstone
4b8ed9b777
GTK: Cause the page-info popup to appear in the right place
...
To position the page-info window we have to tunnel all the
way from the current scaffolding, via its top-level gui window,
through to the toolbar. In the toolbar we look up the URL bar
and then determine the screen coordinates of the scaffolding
via the top level widget GTK semantics.
Finally we place the page-info window 4 pixels down and right of
the bottom-left of the entry box, which should look nice.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:46:37 +01:00
Daniel Silverstone
14e506f89f
GTK RES: Make page info windows popup type
...
In order for GTK windows to be styled properly, in the context
we use them, the page-info windows need to be marked as popup
windows (typically used for transient popups such a menus, so
ideal for us).
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:43:43 +01:00
Daniel Silverstone
524688098a
GTK: Make page info transient properly, handle events, etc.
...
This makes the page info properly transient and causes it
to handle activity in the corewindow and outside itself
properly. This includes ensuring that actions outside
the window will close it, etc.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-08 20:42:49 +01:00
Vincent Sanders
ab952e0634
improve content header usage
2020-05-07 20:55:44 +01:00
Daniel Silverstone
309fcd6d42
monkey: Catch some signals and backtrace
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-04-25 21:04:41 +01:00
Vincent Sanders
529b94be73
fixup riscos image configuration dialog gadget id
...
when minimum GIF delay was removed in
38c632a7da
the
remaining gadget identifier numbers were not updated.
Fixes #2745
2020-04-14 22:03:24 +01:00
Vincent Sanders
84f0c760e6
use form of window create which returns an error instead of aborting
2020-04-14 21:08:51 +01:00
Vincent Sanders
34508fc3cd
For some reason atari mkdir_all operation was using the wrong path separator
2020-03-25 21:54:12 +00:00
Daniel Silverstone
d3a80a9aae
Monkey: Clean up on completion of downloads
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-03-22 13:08:36 +00:00
Michael Drake
ca29c3b512
Framebuffer: Make some log messages deep debug.
2020-03-12 17:21:28 +00:00
Vincent Sanders
2c549b28fb
add page information ui elements to GTK frontend
2020-03-11 08:33:58 +00:00
Michael Drake
f59c415ef7
GTK: Initial page-info display.
2020-03-11 08:33:58 +00:00
Chris Young
b371454344
AmiSSL implies OpenSSL
2020-03-06 20:42:34 +00:00