Chris Young
ef5ce5c2f6
Fix guru 80000006 occuring on OS3 when initialising lists.
2015-08-05 18:13:04 +01:00
Chris Young
70fd706e65
NULL-terminate font name in IFF DR2D FONS
2015-07-20 19:42:50 +01:00
Chris Young
c38670ade8
Allow a fallback font for characters above 0xFFFF to be specified. There is no scanning of this range as most fonts don't have any characters here. Symbola is selected if it is installed.
2015-07-06 19:29:16 +01:00
Chris Young
8282f53880
Support UTF-16 surrogates. This enables Emoji to be displayed if an appropriate font is installed.
...
NB: Currently surrogate glyphs are not able to use the fallback font. The wrong glyphs may be displayed if you use an "old font engine".
2015-07-06 18:46:08 +01:00
Chris Young
bc3534d920
Split UTF-16 char length check into a separate function
2015-07-06 18:16:39 +01:00
Chris Young
7459d4dc93
Correct broken ifdef
2015-07-05 11:00:47 +01:00
Chris Young
354de433e9
Scale cached favicons before they are cached. This avoids the need to scale icons on menu creation.
2015-06-22 19:12:57 +01:00
Chris Young
73d6b47e6a
Remove the overwrite check in bitmap_save as it causes duplicate overwrite requesters.
2015-06-22 18:26:18 +01:00
Chris Young
2522ecf714
Add an appropriate file extension when saving, or leave the existing if we're saving source. This fixes the remainder of #2185
2015-06-22 18:25:08 +01:00
Vincent Sanders
c08bccbcea
fixup missing lincludes from messages API update
2015-06-22 10:42:01 +01:00
Vincent Sanders
67ded2a02a
This moves message loading out of netsurf_init into each frontend
...
The translated message loading is dependant on configuration of
resource location in each frontend, additionally they should have the
ability to deal with errors in this loading in a implementation
specific manner.
This also extends the message loading API to be capable of loading
from an inline memory buffer instead of from a file.
2015-06-21 23:27:22 +01:00
Chris Young
fcadb1f6f8
Space ARexx menu items correctly.
2015-06-21 19:24:46 +01:00
Chris Young
57ca8bbd21
Require gadtools 53.7
...
OS4.1u6 does not cope well with image menus, so insist on a component in FE to ensure the layouting is sane and menu creation is fast.
2015-06-20 18:09:44 +01:00
Chris Young
3db1e7381a
Prettify pull-down (not context) menu.
2015-06-16 19:36:09 +01:00
Chris Young
d8ce401591
Remove some workarounds to make image menus conform better on OS4.1u6. They never quite matched normal menus so are going to look odd when we add more images anyway.
2015-06-16 18:44:52 +01:00
Vincent Sanders
0d811963c1
fixup all the remaining logging macro callsites
...
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01:00
Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.
The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.
A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Chris Young
7bc29f7782
Attempt to fix spurious plotter crashes
2015-04-27 18:32:49 +01:00
Chris Young
ad779dc38a
Revert "Attempt to avoid a crash in ami_plot()"
...
This reverts commit e64d48980e
.
2015-04-27 18:26:58 +01:00
Chris Young
e64d48980e
Attempt to avoid a crash in ami_plot()
2015-04-25 23:04:56 +01:00
Chris Young
b879bed114
Remove bogus comment
2015-04-25 13:20:59 +01:00
Chris Young
c8caf08ef1
As the content interface is now doing the scaling, we render to a native BitMap and then copy that to the RGBA32 bitmap buffer without re-scaling.
...
The native BitMap is currently discarded and will be re-created when it is displayed.
2015-04-25 13:13:30 +01:00
Chris Young
5b5e621c7a
Keep the size of the bitmap and layers used for rendering in the structure itself, rather than assuming it is the same as the tile size.
2015-04-25 12:02:08 +01:00
Vincent Sanders
124de5775a
Update amiga to use bitmap render API
2015-04-24 11:56:19 +01:00
Vincent Sanders
e7f9dbcb10
Remove webp image handling
...
The bitmap and image handling interfaces have changed within NetSurf
and the webp image handling has not been fixed up appropriately to
cope.
After discussion with the other developers it has been decided that
the webp support is not worth the necessary development effort to
rewrite and maintain.
The webp format is not in wide usage and Mozilla, Microsoft and Apple
have not adopted it. This means the removal will not adversely impact
NetSurf.
Resolves:2310
2015-04-21 14:03:02 +01:00
Vincent Sanders
2465fc4e6b
move the mandantory library config for libcss and libdom to core makefile
2015-04-17 22:48:55 +01:00
Vincent Sanders
fb0bd79944
update amiga frontend to use bitmap operation table
2015-04-16 22:36:29 +01:00
Chris Young
d0b56d660f
Allow URL completion to pick up non-visited URLs
2015-04-09 20:45:37 +01:00
Vincent Sanders
a14048f6d1
Update amiga makefile to set filter for split messages
2015-04-07 00:44:44 +01:00
Chris Young
8871149585
Remove inclusion of my async backing store code whilst it's not being used.
2015-03-31 22:48:27 +01:00
Chris Young
81f6cd2074
Correct the screen depth check for setting friend bitmaps.
...
Add some comments because using friend bitmaps in NetSurf causes problems under OS4.
2015-03-29 23:37:23 +01:00
Chris Young
fcfc9453ec
Bump version
2015-03-27 20:51:00 +00:00
Witold Filipczyk
befa5e6ed3
To avoid namespace conflicts with ncurses add NetSurf key prefix.
...
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders
8a99b045bc
Remove url from content thumbnailers API
...
The content thumbnailers for each frontend were being provided the
contents url. This was only ever used to call the urldb thumbnail
setting API.
This changes it so the single callsite that passed a valid url adds
the bitmap to that url itself in desktop_history.c instead of forcing
every frontend to require the urldb API.
Additionally the old API could pass the url as NULL which was causing
asserts where this was not an expected parameter value. Because of
this this fixes bug #2286 which was also present in the monkey
frontend as both called nsurl_access() on the url without the NULL
check and caused an assertion.
2015-03-15 00:00:45 +00:00
Chris Young
db91442304
Remove branches that can't be taken under OS3
...
Micro-optimise these for OS4.1
Remove dummy compositing defines from os3support.h
2015-03-01 11:50:20 +00:00
Chris Young
947c466c4b
Split plotting and widthing functions up
2015-02-28 13:01:16 +00:00
Chris Young
df25135a4d
micro-optimisation
2015-02-28 12:41:50 +00:00
Chris Young
5f72dd2f0f
Merge branch 'chris/bitmap-fonts' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
2015-02-24 19:53:27 +00:00
Chris Young
1ea747196e
Fix more hook functions
2015-02-24 19:51:51 +00:00
Chris Young
68c6ba3a70
fix OS3 build, avoid forward declarations
2015-02-23 23:16:34 +00:00
Chris Young
ce060f3c13
Convert menu.c to use macros for hook functions
2015-02-23 23:07:52 +00:00
Chris Young
28a6a63b4f
fix warnings
2015-02-23 23:00:16 +00:00
Chris Young
805c1a2dca
Convert hook function definitions to macros in gui.c
2015-02-23 22:58:57 +00:00
Chris Young
821a13d740
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
2015-02-23 22:41:25 +00:00
Chris Young
5867fa4ef9
Avoid forward declarations
...
Specify hook function with 68k registers when building for that target
2015-02-23 20:34:24 +00:00
Chris Young
b70ab2a7a3
Make hook function static
2015-02-23 19:39:56 +00:00
Chris Young
2d09c81dd5
Off-load layouting onto NetSurf's process
2015-02-23 19:28:32 +00:00
Chris Young
85df94f47a
more microoptimisation
2015-02-23 18:47:58 +00:00
Chris Young
6fda772b89
Avoid clobbering the PPC pipeline
2015-02-23 18:44:47 +00:00
Chris Young
5d43025adf
Mostly working bitmap font support
2015-02-22 16:50:41 +00:00
Chris Young
33d16e170e
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
2015-02-22 16:08:13 +00:00
Chris Young
8b82e926fd
debug
2015-02-21 12:29:03 +00:00
Chris Young
90d88f32d1
Expand ARexx script locations on NetSurf's process.
...
This resolves a problem with scripts sometimes not running when they are relative to PROGDIR: and stops PROGDIR: being requested under OS3.
Fixes #2271
2015-02-21 12:21:14 +00:00
Chris Young
b89fb480db
Debug logging
2015-02-15 11:29:03 +00:00
Chris Young
bc1d98046a
Remove some unnecessary OS3-only code
2015-02-15 11:27:27 +00:00
Chris Young
6c7a3c3a73
Clear the window using the BackFill hook
2015-02-13 18:34:08 +00:00
Chris Young
3dc8de9be2
Check for NULL
2015-02-12 23:18:41 +00:00
Chris Young
26a9c4fa07
Avoid RectFilling a 0 size area
2015-02-11 18:24:51 +00:00
Chris Young
d8b9198211
typo
2015-02-05 19:00:13 +00:00
Chris Young
c2a79e7b50
Make the status bar a pixel taller
2015-02-05 18:57:24 +00:00
Chris Young
ed9902fcbc
Use bitmap fonts on the splash screen for OS3
2015-02-05 18:54:39 +00:00
Chris Young
79a4466479
Attempt to fix graphical corruption on OS3
2015-02-05 18:51:41 +00:00
Chris Young
0e75f9909e
Fix status bar tags
2015-02-04 00:48:47 +00:00
Chris Young
20630d7991
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
2015-02-04 00:09:34 +00:00
Chris Young
36bc32b87b
Re-disable P96 on OS3 pending a fix
2015-02-03 23:58:35 +00:00
Chris Young
5bd9b45758
File missing from previous commit
2015-02-03 19:51:55 +00:00
Chris Young
5c73c61aa2
Remove extra debug list padding
2015-02-03 19:49:09 +00:00
Chris Young
f123ed101f
Lazy bitmap font rendered text for slow hardware (non-working)
2015-02-03 19:48:28 +00:00
Chris Young
32cd4abfd5
Reinstate the old (non-backfill) bitmap tiler for OS3
2015-02-03 00:24:03 +00:00
Chris Young
a7b866e824
Always use a friend bitmap on OS3
2015-02-02 23:45:49 +00:00
Chris Young
86757143df
Remove some unneeded ARGB<=>RGBA conversion
2015-02-02 18:54:08 +00:00
Chris Young
25a4cce542
Experimentally enable P96 on the OS3 build
2015-02-02 18:53:16 +00:00
Chris Young
852527a12f
Ensure we are setting colours in the correct RastPort
2015-02-02 18:48:45 +00:00
Chris Young
2d157857e1
Revert shared pens support to previously-working state
2015-02-02 18:28:21 +00:00
Chris Young
7d41e04b61
We don't need to use P96 for RectFill
2015-02-02 18:10:43 +00:00
Chris Young
54a966f6ff
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2015-02-02 00:33:23 +00:00
Chris Young
21f142a7fa
Friend the screen bitmap for <= 8-bit modes, but only on OS3 as this causes OS4 to freeze
2015-02-02 00:32:34 +00:00
Chris Young
eba9c13a53
Fix GetPred
2015-02-02 00:09:07 +00:00
Chris Young
42cda09958
Add some suggested optimisation switches
2015-02-02 00:01:43 +00:00
Chris Young
0aa3061929
fix build
2015-02-01 23:27:33 +00:00
Chris Young
c9e8aa94b0
Fix a potential memory leak when setting titles
2015-02-01 23:06:28 +00:00
Chris Young
7b0969680b
Disable tab bar on OS3 for now
2015-02-01 20:01:18 +00:00
Chris Young
f661aa34e0
Ensure the window is clear before drawing new content
2015-02-01 19:54:17 +00:00
Chris Young
a4dbb87a76
Fix another instance of BltMaskBitMapRastPort potentially being called with a NULL bltmask
2015-02-01 11:08:05 +00:00
Chris Young
bfb9e1401e
Handle the bltmask being NULL
2015-02-01 10:58:40 +00:00
Chris Young
2ad93ed773
NewLook menus
2015-02-01 10:58:31 +00:00
Chris Young
73b74988dc
Remove BMF_DISPLAYABLE from other non-displayed BitMaps
2015-01-31 22:19:12 +00:00
Chris Young
f514595ccf
Don't allocate our off-screen render area as BMF_DISPLAYABLE, as it is never displayed.
...
Befriend the screen BitMap but only if we're 32-bit on both.
2015-01-31 22:14:03 +00:00
Chris Young
7370e83d60
Squash a minor warning from GCC
2015-01-31 21:45:23 +00:00
Chris Young
2544f60ae0
Set the obtained pen in our node so we can release it later.
2015-01-31 21:27:04 +00:00
Chris Young
e68171a17c
picture.datatype v45 does apparently support RGBA, so avoid extra conversion
2015-01-31 21:17:14 +00:00
Chris Young
6389b0f7d6
Ensure on OS3 we don't try to create a BitMap with a depth of more than 8
2015-01-31 20:14:09 +00:00
Chris Young
9ac9866521
Correct calling usage of BltMaskBitMapRastPort
...
Thanks to Matthey for the debugging
2015-01-31 20:01:35 +00:00
Chris Young
f7c2971be3
Replace some over-zealous deletion
2015-01-31 13:58:35 +00:00
Chris Young
70dd445d5b
Remove dead code
2015-01-31 13:52:03 +00:00
Chris Young
ca6ac7c37e
Fix creation of SpeedBar objects
2015-01-31 13:51:27 +00:00
Chris Young
305f1acc79
Remove unneeded #ifdefs
2015-01-31 13:47:43 +00:00
Chris Young
37db0f6f85
Open the interface for speedbar.gadget
2015-01-31 13:42:40 +00:00
Chris Young
1200fedb1c
Enable alpha bitmaps in chooser.gadget on OS4.1FE
2015-01-31 12:59:49 +00:00
Chris Young
0dea8112d4
Erase favicon area before redrawing
2015-01-31 12:41:34 +00:00
Chris Young
889ee3108c
Stop the favicon getting obliterated when switching tabs
2015-01-31 12:28:14 +00:00
Chris Young
9de4889a4f
Revert "Attempt to fix a couple of Enforcer hits"
...
This reverts commit 2893e30c4e
.
This commit somehow was reverting some things which shouldn't have been reverted.
Conflicts:
amiga/gui.c
2015-01-31 11:59:31 +00:00
Chris Young
a54170eeea
Tidy up debug and increase list allocation to aid debugging
2015-01-31 11:30:37 +00:00
Chris Young
8dc707d554
Attempt to fix a crash adding hotlist entries to the toolbar
2015-01-31 11:21:14 +00:00
Chris Young
8fb6f4d148
Fix GetSucc (credit: Buzz)
2015-01-30 23:28:35 +00:00
Chris Young
b36c1401a0
Add the Dutch files to the Amiga archive
2015-01-30 20:51:18 +00:00
Chris Young
2377e93898
fix a crash in the font scanner
2015-01-30 20:44:53 +00:00
Chris Young
7a72ff3161
Fixup font scanning some more, remove .font suffix
2015-01-30 19:37:38 +00:00
Chris Young
8373fe14cb
Enable the font scanner for OS3
2015-01-30 18:57:04 +00:00
Chris Young
2066390555
Fix bullet.library usage
2015-01-30 18:32:44 +00:00
Chris Young
2893e30c4e
Attempt to fix a couple of Enforcer hits
...
Thanks to Matthey for the debugging
2015-01-30 18:20:07 +00:00
Chris Young
ed99a5c740
Fix all the other LM_ADD(REMOVE)CHILD calls to work on OS3
2015-01-30 00:25:54 +00:00
Chris Young
84700f1d9c
Set fonts to sensible defaults on OS3
...
Try to avoid a crash initialising the picture datatypes handler
2015-01-30 00:05:40 +00:00
Chris Young
e5b6dac87c
Fix OS3 build
...
Fix font cache on OS3
2015-01-29 19:31:47 +00:00
Chris Young
0e3cbbb67b
Don't schedule our own redraw after a reformat, as this is performed anyway.
...
Attempt to get menus working on OS3 build.
2015-01-29 19:18:49 +00:00
Chris Young
509053cae7
Fix template blit Y position by adjusting the pointer to the template
2015-01-29 00:17:34 +00:00
Chris Young
003344023b
Blit text to screen correctly on OS3
2015-01-29 00:13:48 +00:00
Chris Young
9a6e339ab2
Fix OT_Indirect handling
2015-01-29 00:08:03 +00:00
Chris Young
4865b1603b
Temporarily disable On/OffMenu as we don't have any menus attached to our window on the OS3 build
...
Thanks to Matthey for the debugging
2015-01-28 23:44:04 +00:00
Chris Young
a895c3eed9
Avoid giving ASL a NULL pointer for the initial drawer.
...
Thanks to Matthey for the debugging
2015-01-28 23:41:33 +00:00
Chris Young
ad4d1f66d3
Don't trash our buffer pointer when stepping through the taglist
2015-01-28 23:38:26 +00:00
Chris Young
bc3cb4070d
Remove dead code
2015-01-28 23:36:52 +00:00
Chris Young
ecdf37c6ac
Fixup font.c a bit better for OS3
2015-01-28 18:49:44 +00:00
Chris Young
fd59fa248a
Replace the custom stringview class with a standard string gadget under OS3
...
Also remove gaugeiclass usage from OS3 as it (probably) doesn't exist
Remove some debug
2015-01-27 23:54:59 +00:00
Chris Young
4c4c7225df
Don't use optimisation when building for OS3
...
This is causing unexpected problems.
2015-01-27 19:17:09 +00:00
Chris Young
2b9f7b6c46
We need the library interface of listbrowser.gadget
2015-01-27 18:22:30 +00:00
Chris Young
f530a73623
Demand a more sensible (ie. existant) version of locale and datatypes
2015-01-27 00:10:38 +00:00
Chris Young
e24723567a
Copy'n'paste error
2015-01-26 18:49:49 +00:00
Chris Young
555029d39c
Add missing include
2015-01-26 00:13:44 +00:00
Chris Young
3a5907c1c4
Move everything else over to using the class pointers.
...
Exception: popupmenu.class is still using old _GetClass functions.
2015-01-26 00:05:01 +00:00
Chris Young
c8c806a0c2
Convert the rest of gui.c to use class pointers directly
...
Add missing button.gadget
2015-01-25 12:45:20 +00:00
Chris Young
01050b4415
Ensure we have the class pointer
2015-01-25 01:12:45 +00:00
Chris Young
bb9d23d040
Fix build on OS3
2015-01-25 01:06:46 +00:00
Chris Young
e89072b3d0
Open BOOPSI/ReAction classes using the new-style methods.
...
Create some alternative NewObject macros and make some code use them.
2015-01-25 00:27:53 +00:00
Chris Young
1b1acdd3c3
Fix typo
2015-01-22 00:24:56 +00:00
Chris Young
d5680fbf92
Correct year
2015-01-22 00:23:48 +00:00
Chris Young
249e89e389
Fix a missed p96AllocBitMap
2015-01-20 20:58:37 +00:00
Chris Young
deb7e55063
Add missing files
2015-01-20 20:52:09 +00:00
Chris Young
4f98fd5925
Add missing headers
2015-01-20 20:51:52 +00:00
Chris Young
b3f49f9364
Abstract p96WPA, although it still needs P96 currently
2015-01-20 20:46:36 +00:00
Chris Young
e3af7f3343
Abstract P96 functions away so we can decide what to use at run-time.
...
This allows us to avoid opening P96 on OS4.1FE in future, and not require it to be installed on OS3.
2015-01-20 20:36:14 +00:00
Chris Young
d0f7247ea6
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2015-01-20 20:03:55 +00:00
Chris Young
2b9df1b2cd
Remove some p96 usage
2015-01-20 00:39:32 +00:00
Chris Young
4cf9d888ff
Fix classes paths
2015-01-20 00:11:51 +00:00
Chris Young
f3cf042184
RefreshSetGadgetAttrs replacement for OS3
2015-01-20 00:06:08 +00:00
Chris Young
0c526662b3
Minor OS3 fixes
2015-01-19 20:50:06 +00:00
Chris Young
e07bbbaaff
Take out some more code which won't work on OS3
2015-01-19 20:08:45 +00:00
Chris Young
15537aa2af
The OS3 build doesn't appear to like non-specific layout groups
2015-01-19 00:22:22 +00:00
Chris Young
73b158d27d
Fix remaining linker errors
2015-01-18 23:54:21 +00:00
Chris Young
392fa2ea4c
Fix some easy OS3 linker errors
2015-01-18 23:29:49 +00:00
Chris Young
201bc569a4
More OS3 compilation fixes
2015-01-18 23:13:32 +00:00
Chris Young
2eb41ed77b
More OS3 fixes
2015-01-18 21:11:00 +00:00
Chris Young
d6052d3955
Fixup icon.c for OS3
2015-01-18 20:11:33 +00:00
Chris Young
cc634dd706
Lower requested library versions
2015-01-18 20:07:15 +00:00
Chris Young
0673ac5096
Fixup history_local.c for OS3
2015-01-18 18:55:23 +00:00
Chris Young
69075f1c57
Fixup gui_options.c for OS3
2015-01-18 18:53:41 +00:00
Chris Young
6f9d96aedf
Fixup gui.c enough to make it compile for OS3
2015-01-18 18:50:01 +00:00
Chris Young
0c4f942c2d
Attempt to fix some OS3 build errors in gui.c
2015-01-17 17:06:48 +00:00
Chris Young
65ab38fc1c
Clear a selection after it has been copied, as per the AmigaOS Style Guide
2015-01-17 15:33:32 +00:00
Chris Young
bf14b2ddb1
Make adding NetSurf to launch-handler more robust:
...
Now handles when the user hasn't ever saved their config
Doesn't attempt to add when auto-installing
Removes need for fitr
2015-01-17 12:52:09 +00:00
Chris Young
d65c1f1cfd
Remove unused variable
2015-01-15 23:50:35 +00:00
Chris Young
1391057332
Change another instance of the tab number being used as identification. Now we set the tab numbers as they must be unique, but don't use them internally.
2015-01-15 23:48:56 +00:00
Chris Young
6255e8b1dc
Use clicktab node addresses rather than clicktab numbers. This fixes #2254 .
2015-01-15 23:44:29 +00:00
Chris Young
0415edc9c4
avoid a crash when switching tabs
2015-01-13 19:09:48 +00:00
Chris Young
f0633090f2
Avoid confusing double-negatives
2015-01-13 00:01:45 +00:00
Chris Young
d514cf30ee
fix os4 build
2015-01-12 23:43:00 +00:00
Chris Young
ef6443b132
Don't create processes under OS3, or OS4 for now for testing
2015-01-12 23:29:36 +00:00
Chris Young
1bee34e164
Stub out font.c and font_scan.c for OS3 for now
...
A more involved fix required for later.
2015-01-12 22:40:46 +00:00
Chris Young
f8264189eb
select a colour which isn't wholly transparent
2015-01-11 20:30:35 +00:00
Chris Young
87f85c2034
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2015-01-11 00:14:54 +00:00
Chris Young
5416059602
fix os4 build
2015-01-11 00:14:32 +00:00
Chris Young
ae012398b0
more easy os3 fixes
2015-01-11 00:07:11 +00:00
Chris Young
81d024e3d8
Fix file.c and remove some rogue semicolons
2015-01-10 23:49:55 +00:00
Chris Young
18fe60baf1
fix-up the datatypes handlers for os3
2015-01-10 23:46:17 +00:00
Chris Young
5a541e581b
stub out drag stuff for os3
2015-01-10 23:39:21 +00:00
Chris Young
427a67e932
allocvec clear
2015-01-10 23:16:11 +00:00
Chris Young
793b53a27a
make context_menu.c build for os3
2015-01-10 23:15:06 +00:00
Chris Young
80558b3116
Use a function to create ready-cleared memory
2015-01-10 23:10:05 +00:00
Chris Young
3630d7348d
Use inlines and OS3ify amigaguide.class
2015-01-10 22:47:20 +00:00
Chris Young
2140f056dd
More simple OS3 fixes
2015-01-09 00:24:58 +00:00
Chris Young
88726e1d89
OS3 GetSucc()
2015-01-09 00:15:27 +00:00
Chris Young
5a1aaa4e61
Some easy OS3 compatibility
...
Credit for most of this: Bernd Gollesch
2015-01-09 00:10:02 +00:00
Chris Young
fa3587f122
Tidy up
2015-01-08 23:45:41 +00:00
Chris Young
b91d5f3ac7
Fix the passing of NetSurf internally-handled args to the core
2015-01-05 19:58:31 +00:00
Chris Young
f9ccd65545
Translate common RAmiga-shortcuts directly to their NetSurf keycodes
2015-01-03 14:20:47 +00:00
Chris Young
a10aaea989
Greatly simplify finding out if our gui_window is the one being displayed.
2015-01-02 23:14:49 +00:00
Chris Young
facaa0a829
Some OS3 compatibility for testing
2014-12-20 12:42:55 +00:00
Chris Young
ef43be9989
Fix crash on startup when "always show tabs" is enabled.
2014-12-19 11:57:32 +00:00
Chris Young
7beb6b0bd5
Helper script to open YouTube videos with SMTube
2014-12-15 19:00:17 +00:00
Chris Young
dec0ec6ade
Remove GetVideo support
...
It appears to be a dead project and no longer available for download.
2014-12-14 12:10:52 +00:00
Chris Young
d46e6a6894
Encourage requesters onto the correct screen and remove some unneeded includes
2014-12-13 15:53:55 +00:00
Chris Young
17ec567266
Remove redundant check
2014-12-10 17:44:38 +00:00
Chris Young
0166083584
Get scale after memory allocated
2014-12-04 19:02:59 +00:00
Michael Drake
19fed3976f
Don't need browser window private header now.
2014-12-04 12:23:24 +00:00
Michael Drake
f0b38f27d4
Use API to get at a browser window's content.
2014-12-04 12:22:56 +00:00
Michael Drake
60877b6ff5
Fix missmatched bracket.
2014-12-04 12:18:36 +00:00
Michael Drake
4af70cd1ac
Use browser_window_get_extents to simplify window content size handling.
2014-12-04 12:14:16 +00:00
Michael Drake
fad6318d59
Use browser_window_get_url()
2014-12-04 12:04:36 +00:00
Michael Drake
b7b1bfe548
Don't include browser_private.h
2014-12-04 12:02:13 +00:00
Michael Drake
c5a8620ef9
Remove what seems a redundant check for bw->download.
2014-12-04 12:01:22 +00:00
Michael Drake
84261a8199
Use browser_window_get_url instead of poking inside bw at contents.
2014-12-04 11:59:59 +00:00
Michael Drake
c4e37fb03d
Use API to get content from browser_window.
2014-12-04 11:58:49 +00:00
Michael Drake
e4437ad76b
Store scale in gui_window. Remove a lot of bw dereferencing for scale.
2014-12-04 11:42:12 +00:00
Chris Young
dd9a4af311
Remove unused variable
2014-12-01 23:38:13 +00:00
Chris Young
5f9c8b02b2
Clear message port variable so we don't errorneously send messages to it.
2014-12-01 21:48:37 +00:00
Chris Young
020e1f8272
Run backing store jobs synchronously in the background.
2014-12-01 21:42:07 +00:00
Chris Young
2f41c1ad11
Fix leak
2014-12-01 18:44:04 +00:00
Chris Young
6a2461da8d
Enable the async write process to be disabled for testing purposes
2014-11-30 01:25:20 +00:00
Chris Young
70e777c30d
Add some comments about timer.device.
2014-11-29 19:56:54 +00:00
Chris Young
335ba082fd
Ensure we're not running events ahead of time.
2014-11-22 17:15:52 +00:00
Chris Young
4a395ad025
Process scheduled event changes before incoming timer events.
...
This stops things being run that have just been deleted. However, may cause the next event to run early because we don't check the time.
2014-11-22 17:10:07 +00:00
Chris Young
bcd7413f8e
Fix llcache ops table
2014-11-22 16:51:00 +00:00
Chris Young
0cd682644b
Revert "Revert "Write out to the backing store asynchronously.""
...
This reverts commit 75623179aa
.
2014-11-22 16:41:29 +00:00
Chris Young
277ceb9fc2
Reduce stack to 2K
2014-11-22 16:38:26 +00:00
Chris Young
9e98d77531
Reply to the timer before running the scheduled task.
2014-11-22 16:37:49 +00:00
Chris Young
2de1553a00
New scheduler
2014-11-22 16:27:39 +00:00
Chris Young
f8d8d218d8
Initial steps for a scheduler process
2014-11-22 16:27:39 +00:00
Chris Young
fe56795205
Revert "Should be a while loop in case of multiple simultaneous event triggers."
...
This reverts commit 9dcf001a0b
.
For ehatever reason this is entirely broken, but I'm in the process of rewriting so just revert for now to get the working builds again.
2014-11-22 14:18:00 +00:00
Michael Drake
d9a63bb9e0
Fix brackets.
2014-11-22 00:06:01 +00:00
Michael Drake
1a1b6f8984
Shouldn't need browser_private.h now.
2014-11-22 00:02:28 +00:00
Michael Drake
0756b544c6
Use API to find if content is selectable, instead of guessing.
2014-11-22 00:02:28 +00:00
Michael Drake
ba9a049d7b
Simplify ami_history_open API and use correct call to get history object.
2014-11-22 00:02:28 +00:00
Michael Drake
0c7dc95dda
Use API to get URL.
2014-11-22 00:02:28 +00:00
Michael Drake
c9683119c3
Use browser_window_get_content where we need to.
2014-11-22 00:02:27 +00:00
Chris Young
9dcf001a0b
Should be a while loop in case of multiple simultaneous event triggers.
2014-11-21 23:47:26 +00:00
Michael Drake
60c33e0410
Should be free of reliance on browser window internals here now.
2014-11-21 14:39:12 +00:00
Michael Drake
781fe8f330
Use browser_window_get_content() to get the current content.
...
Although I dislike this API, and it may go at some point.
2014-11-21 14:38:17 +00:00
Michael Drake
90f89f98e3
Use API for getting browser window history.
2014-11-21 14:37:17 +00:00
Michael Drake
b4e044f6c9
Use browser_window_get_url() instead of getting URL from current content.
2014-11-21 14:30:09 +00:00
Michael Drake
3b686eaccc
Use browser_window_can_select(), instead of assuming based on content type.
2014-11-21 14:26:29 +00:00
Michael Drake
0f0c3b02d7
Use public bw header.
2014-11-21 09:28:37 +00:00
Michael Drake
c3ae0c0699
Should be able to switch to public bw header now.
2014-11-21 09:28:37 +00:00
Michael Drake
8fc7da72c6
Use browser_window_get_url, instead of fishing content out of bw and getting URL from that.
2014-11-21 09:28:37 +00:00
Michael Drake
8a6be34a62
Use public bw header.
2014-11-21 09:28:37 +00:00
Michael Drake
6832f80be3
Don't appear to need browser_private.h here.
2014-11-21 09:28:37 +00:00
Chris Young
75623179aa
Revert "Write out to the backing store asynchronously."
...
This reverts commit 1ddf8215cf
.
Appears to be unsafe to run this in a new process.
2014-11-19 23:34:53 +00:00
Chris Young
1ddf8215cf
Write out to the backing store asynchronously.
...
Despite the fact AmigaOS filesystems run as separate processes,
DOS filesystem writes occur synchronously waiting for the disk
write to finish before returning. Here we have effectively taken
the core's fs backing store and extended it slightly so the store
operation is spun off into a new process, running at a lower task
priority than NetSurf itself. This stops the UI pauses that occur
shortly after loading pages as NetSurf commits the cache to disk.
Somewhat experimental, pending more extensive user testing.
2014-11-18 19:31:11 +00:00
Chris Young
cfc9971d0e
Remove no longer used poll option from schedule runner
2014-11-17 23:47:28 +00:00
Chris Young
230e348315
update comments
2014-11-16 16:44:19 +00:00
Chris Young
0966b8097c
Allocate screen title when first needed and keep it private to amiga/gui.c
2014-11-16 16:40:41 +00:00
Chris Young
20705189b9
Make win_destroyed variable private to amiga/gui.c
2014-11-16 16:31:35 +00:00
Chris Young
3c4b721621
Avoid bw->window ref
2014-11-16 16:24:07 +00:00
Chris Young
261e68592b
Fix ARexx for gui_window changes
2014-11-16 16:13:13 +00:00
Chris Young
6ce6b9ae97
Replace curbw (current browser_window, used mostly for ARexx support) with cur_gw (current gui_window)
2014-11-16 16:01:59 +00:00
Chris Young
79690c6c90
Remove the global which meant we could only open one local history window.
...
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
2014-11-16 15:51:57 +00:00
Chris Young
456734a5c2
Stop history_local accessing gui_window via browser_window, and remove some unneeded globals
2014-11-16 15:42:45 +00:00
Chris Young
7053638a72
Remove some more cyclic references
2014-11-16 15:33:11 +00:00
Chris Young
668aa3d84b
Remove some cyclic referencing
2014-11-16 15:28:42 +00:00
Chris Young
d626487fe1
Remove any pending favicon refresh to avoid a crash on exit/window close
2014-11-16 15:06:32 +00:00
Chris Young
0f85ed7b9d
Fix amiga/tree.c for new structs
2014-11-16 14:57:25 +00:00