Michael Drake
54daff0e97
RISC OS: y scroll is negative.
2019-08-03 14:04:36 +01:00
Michael Drake
f984873799
RISC OS: Attempt to implement ro_cw_scroll_visible().
...
Untested.
2019-08-03 13:50:37 +01:00
Daniel Silverstone
69d1d5f626
monkey: Support clicking in windows
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-03 12:31:02 +01:00
Michael Drake
404fc65771
Framebuffer: Remove bogus comment.
2019-08-03 11:07:04 +01:00
Michael Drake
3a4477413a
Framebuffer: Add keyboard controls for scaling.
2019-08-03 11:00:09 +01:00
Daniel Silverstone
a08a1a1d14
amiga/history_local: Scroll to cursor on open
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:04:58 +01:00
Daniel Silverstone
f98de0d347
riscos/local_history: Scroll to cursor on open.
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:03:37 +01:00
Daniel Silverstone
99cb0d6bc6
windows/local_history: Scroll to cursor on open
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:02:24 +01:00
Daniel Silverstone
7c2811f5f6
framebuffer/local_history: Scroll to cursor on open
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:01:46 +01:00
Daniel Silverstone
5e8b2d4653
gtk/local_history: Scroll local history to cursor on display
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:00:34 +01:00
Daniel Silverstone
c078c3f509
gtk/corewindow.c: Correctly handle scroll_visible
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:00:06 +01:00
Daniel Silverstone
6bbdf08cb0
gtk, beos: Run scheduler before fetching fdset
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 17:06:45 +01:00
Daniel Silverstone
f7d97d6483
monkey: Report the errno when select() returns -1
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 16:57:38 +01:00
Daniel Silverstone
6a9137f431
monkey: Run scheduler before extracting fdsets
...
We need to run the scheduler *before* we extract the fdsets from
the fetchers, otherwise fetch aborts might result in EBADF
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 16:56:54 +01:00
Vincent Sanders
3114e78ded
fix missed get dimensions call in amiga frontend
2019-08-02 12:58:50 +01:00
Vincent Sanders
552aab42e1
remove scaled parameter from get_dimensions
2019-08-02 12:26:20 +01:00
Vincent Sanders
955cf5f97b
RISCOS: change invalidate to cope with unscaled rectangles
2019-08-01 22:34:13 +01:00
Vincent Sanders
654840e845
AMIGA: Update to remove rectangle scaling from browser window invalidate
2019-08-01 22:34:13 +01:00
Michael Drake
2943e9ae46
GTK: Update for unscaled bw invalidate rectangle.
2019-08-01 22:34:13 +01:00
Vincent Sanders
5742762070
split browser and browser_window operations
2019-08-01 19:51:19 +01:00
Samuel Dionne-Riel
87177d8aa1
GTK: prefer using curl's intrinsic defaults for CURLOPT_CA*
...
On distributions that ship only a ca-bundle in `/etc/ssl`, the
configuration set at initialization will force curl to look for
certificates that are not present in this directory.
Removing the setting instead makes curl use its internal default.
The framebuffer frontend will not set this option, and the only
other frontend that sets it is BeOS.
This issue can be observed (likely among other) on the NixOS Linux
distribution.
2019-08-01 12:03:06 +01:00
brabo
ba9f5f8ef0
gtk/fetch.c & monkey/filetype.c: ascii_is_space already checks for newline.
2019-08-01 10:42:08 +01:00
brabo
c90bfb23ad
gtk/fetch.c & monkey/filetype.c: small comment correction.
2019-08-01 10:42:08 +01:00
Daniel Silverstone
6c951f7a15
monkey/browser.c: Handle failed calloc more gracefully
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-01 09:23:58 +01:00
Vincent Sanders
f4878b4c17
Update version for next development cycle
2019-07-17 11:39:46 +01:00
Vincent Sanders
f7d4b485cb
update copyright years for release
2019-07-17 11:19:06 +01:00
Michael Forney
6a53b447e5
Declare global variables as extern in headers
...
Otherwise, each source file that includes the header will create a
new definition, which are usually merged together by the linker.
Multiple definitions of an object is not allowed in ISO C.
2019-06-30 09:52:06 +01:00
Vincent Sanders
ca2cbac232
fix freetype pkg-config usage in atari frontend
2019-06-29 18:01:22 +01:00
Vincent Sanders
a57940a468
fix atari STRIP makefile target to not have a spurious close bracket
2019-06-25 16:59:22 +01:00
Vincent Sanders
8b31e18ad6
stop the atari toolchain from matching the cstrip binary for the strip one
2019-06-25 16:56:06 +01:00
Chris Young
24590a1145
Check callback memory is allocated before trying to use it.
2019-06-09 20:30:46 +01:00
Chris Young
93494790f3
Fix memory leak in Amiga frontend
2019-06-09 20:17:47 +01:00
Chris Young
7314651b95
NULL drawhandle after free
2019-06-09 19:29:56 +01:00
Vincent Sanders
dddc5eac94
Update schedulers return codes
...
The GTK and monkey frontends schedulers now return NSERROR_NOT_FOUND
when a caller is using a negative schedule time to remove a callback.
2019-06-08 13:33:16 +01:00
Vincent Sanders
eeeca4b712
add ability to stop a navigation in monkey frontend
2019-06-06 17:17:27 +01:00
Vincent Sanders
2db39b1f7d
quieten down windows debug
2019-05-17 18:15:58 +01:00
Chris Young
a5e4bf8220
Make SimpleRefresh the default.
...
This reduces memory use.
2019-05-12 16:43:01 +01:00
Chris Young
f139c4fa4d
Add a render hook to ensure the browser window is redrawn when needed
...
This fixes the occasional damaged areas in SimpleRefresh mode
2019-05-12 16:38:48 +01:00
Chris Young
336a7dc170
Mark functions as static
2019-05-10 22:11:21 +01:00
Chris Young
6ac65a3674
Hide the message port which is shared amongst all Amiga NetSurf windows
2019-05-10 21:59:03 +01:00
Chris Young
24b910f4ff
Make the window list more private
...
TODO: fix arexx.c to not need it
2019-05-10 21:49:00 +01:00
Chris Young
a5051c7128
Use new beep function
2019-05-10 21:34:22 +01:00
Chris Young
97010ecef5
Make screen pointer accesible through an accessor function only
2019-05-10 20:59:30 +01:00
Chris Young
c5a07fac76
Replace global current gui_window with an accessor function
2019-05-10 20:32:40 +01:00
Vincent Sanders
8f9d434b12
make win32 keyboard handling in browsing window functional
...
makes the drawable area widget for the browser display use windows
unicode input and copes with surrogate pairs for full unicode input
coverage.
fixes the keydown handling to only the necessary navigation operations
like left, right up and down etc.
2019-05-09 23:27:59 +01:00
Vincent Sanders
95b8d12950
implement windows clipboard functionality
...
This allows clipboard to operate (cut, copy, paste and delete) in the
win32 front end. The clipboard is set and read in windows unicode
mode and then converted to/from utf-8 for the browser core.
2019-05-09 23:11:05 +01:00
Chris Young
896e531a7f
fix os3 build
2019-05-08 18:35:51 +01:00
Chris Young
944d8fc412
try storing form_control in the hook data
...
it doesn't appear to be needed anywhere else
2019-05-08 18:12:22 +01:00
Chris Young
19742c826a
Make gadget object enum private to gui.c
2019-05-08 17:51:53 +01:00
Chris Young
76618d9588
make gui_window_2 private to gui.c
2019-05-08 17:48:50 +01:00
Chris Young
df5c18315f
Pass ptr to clicktab var instead of func calls
2019-05-08 17:29:14 +01:00
Chris Young
d0df3fa4b3
more accessor for gui_window_2
2019-05-08 01:44:44 +01:00
Chris Young
1cd30fdb3c
Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure
2019-05-08 00:59:04 +01:00
Chris Young
ae36d35728
throbber crap
2019-05-08 00:56:07 +01:00
Chris Young
a5aa53657c
get the window title from a gui_window
2019-05-08 00:35:09 +01:00
Chris Young
1edf8f2848
set find window function
2019-05-08 00:30:51 +01:00
Chris Young
c64d48005c
Try moving form_control into gui_window
2019-05-08 00:18:43 +01:00
Chris Young
4713e1c8af
Accessor for the select menu control pointer
2019-05-08 00:16:06 +01:00
Chris Young
ca1a519cfa
remove direct access to gui_window_2's gui_window
2019-05-08 00:08:35 +01:00
Chris Young
b9dd0a60c3
accessor for window from gui_window_2
2019-05-07 23:43:15 +01:00
Chris Young
83c3831853
set menu to window through a function
2019-05-07 22:22:12 +01:00
Chris Young
67af746324
Get menu structure directly from gui_window
2019-05-07 22:07:57 +01:00
Chris Young
6d1f480f01
Get the shared window's window structure directly from the gui_window
...
In a lot of places gui_window_2 was only being accessed for Window
2019-05-07 21:58:09 +01:00
Chris Young
5c7b5476f0
Make gui_window private to gui.c
...
TODO: ratonalise these accessors
2019-05-07 21:45:40 +01:00
Chris Young
d719bdcee3
No debug symbols on OS3
...
None of the tools manage to extract any info from them
2019-05-06 13:36:18 +01:00
Chris Young
3e3a8e9549
Fix crash on exit
2019-05-06 13:31:35 +01:00
Vincent Sanders
2c49123a27
attempt to fix amiga os3 build
2019-05-06 12:16:45 +01:00
Vincent Sanders
dd96a69573
fix several amiga frontend warnings
2019-05-06 10:32:16 +01:00
Daniel Silverstone
6fdc692aa5
Support DEBUG log level in console_log
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 10:16:48 +01:00
Daniel Silverstone
2b8531ff49
Monkey: Support console_log
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-06 10:04:48 +01:00
Vincent Sanders
d27027d4ba
fix type used with content_get_source_data()
2019-05-06 08:13:00 +01:00
Vincent Sanders
35bc2ccbb8
change content get_source_data interfaces to return uint8_t and size_t
...
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Vincent Sanders
f966580d22
remove some warnings in amiga frontend build
2019-05-05 22:48:44 +01:00
Daniel Silverstone
689458aa6e
Monkey: Support WINDOW EXEC WIN n cmd...
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-05-05 16:00:03 +01:00
Vincent Sanders
efdea7757b
fix enum name incompatability between gtk 2 and 3
2019-05-05 15:38:19 +01:00
Chris Young
ccb499b800
Release guigfx drawhandle
2019-04-10 18:27:24 +01:00
Chris Young
1a170f9f32
Re-instate accidental removal of pkg-config for curl/openssl
2019-04-08 18:44:44 +01:00
Chris Young
ac46ecbc1c
Small Capital Q codepoint
2019-04-08 18:35:51 +01:00
Chris Young
35dbf07440
Add AmiSSL requirement
2019-04-08 12:49:13 +01:00
Chris Young
178d4bc25c
Fix some bsdsocket.library usage
...
NetSurf now builds against libcurl-AmiSSL
2019-04-08 12:49:13 +01:00
Chris Young
0a72449f4b
Allow for building against AmiSSL instead of OpenSSL
2019-04-08 12:49:06 +01:00
Chris Young
7c9066b49f
No reason why RISC OS ,type extensions should end up in the Amiga resources any more
2019-03-17 23:59:55 +00:00
Chris Young
d0a9fc3e35
Fix IORequest duplication and ensure library bases are cleared when closed.
2019-03-17 23:43:47 +00:00
Chris Young
7d402ebc46
Reduce compression level for compatibility with Amiga LhA 2.15
2019-03-15 23:18:43 +00:00
Chris Young
446fd392e8
Ensure the message port has been initialised
2019-03-15 18:19:10 +00:00
Chris Young
13a7004e6b
Fix URL + FORCE issue #2635
2019-03-02 23:30:38 +00:00
Vincent Sanders
f367b23d72
free language vector in framebuffer resource setup
2019-02-21 12:11:55 +00:00
Vincent Sanders
54371c28f0
make framebuffer use the language environment for the UI resources
2019-02-17 00:11:27 +00:00
Michael Drake
cfb6c461fc
monkey: Add bmp and ico to mime_hash.
2019-02-16 16:08:17 +00:00
Daniel Silverstone
2e50e1ea71
Fix text plotter in monkey
2019-02-16 10:21:06 +00:00
Vincent Sanders
9952ef000c
fix case of framebuffer message install
2019-02-16 09:29:18 +00:00
Daniel Silverstone
29ce303eb0
Framebuffer: Add symlink to build messages resource
...
Since framebuffer lacks the language directories in its resources
currently, we need a symbolic link to the en/Messages built in
the top level resources directory in order that nsfb can run
without the Messages file having been installed previously.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-02-15 21:08:35 +00:00
Vincent Sanders
231f026e6a
Improve framebuffer install rule
2019-02-15 17:53:31 +00:00
Anthony J. Bentley
d1fa6a8ee1
fix feature flags for openbsd
2019-02-15 16:31:06 +00:00
Vincent Sanders
413929dad5
Use pkg-config for freetype2 if available else fallback to old script
2018-12-18 11:42:43 +00:00
Chris Young
7d1e8a75fb
single precision test
2018-11-21 18:41:43 +00:00
Vincent Sanders
a2ffbdfd1c
add certificate window handling
2018-11-04 11:20:40 +00:00
Daniel Silverstone
46b6b7c9b4
Final tweaks, support LOGIN in monkeyfarmer
2018-11-04 10:35:22 +00:00
Daniel Silverstone
fa8dfa28d1
Update monkey 401login a little to be easier to work with
2018-11-04 10:11:13 +00:00
Vincent Sanders
f12dee199c
add 401 login handling to monkey frontend
2018-11-03 17:33:42 +00:00