Commit Graph

2127 Commits

Author SHA1 Message Date
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