From eb2e691bbe2a0a709ec7a7c0681afa891657c68b Mon Sep 17 00:00:00 2001
From: Stuart Swales
Date: Sun, 21 Aug 2022 22:55:52 +0100
Subject: [PATCH] Imported from svn tag fireworkz__2016_07_07__2_10_02
---
docs/LICENSE | 13 +-
docs/RiscPkg/Copyright | 2 +-
examples/_make_w32.cmd | 2 +-
t5/Build/!!!Boot,feb | 11 +-
t5/Build/ReadMeR.txt | 16 +-
t5/Build/ReadMeW.txt | 19 +-
t5/Build/Tools/BootRunGen | 2 +-
t5/Build/Tools/ConfigGen | 1 +
t5/Build/bld_mkdir/_do_mkdir,feb | 12 +-
t5/Build/configure | 7 +-
t5/Build/gccsdk/gcc-cross-check.sh | 2 +-
t5/Build/gccsdk/setup.sh | 4 +-
t5/Build/setup-csnf,fd7 | 7 +-
t5/Build/windows/OUTx64/BLDCD2.BAT | 12 +-
t5/Build/windows/OUTx64/firewrkz-x64.iss | 4 +-
t5/Build/windows/OUTx86/BLDCD2.BAT | 12 +-
t5/Build/windows/OUTx86/firewrkz-x86.iss | 4 +-
t5/Build/windows/firewrkz-vs2005.vcproj | 36 +-
t5/Build/windows/firewrkz-vs2008.vcproj | 150 ++--
t5/Build/windows/firewrkz-vs2013.vcxproj | 76 +-
.../windows/firewrkz-vs2013.vcxproj.filters | 66 +-
t5/Build/windows/firewrkz-vs2015.vcxproj | 60 +-
.../windows/firewrkz-vs2015.vcxproj.filters | 60 +-
t5/Build/windows/firewrkz.rc | 4 +-
t5/Build/windows/setup.cmd | 36 -
t5/Build/windows/t5_VC2005.bat | 8 +-
t5/Build/windows/t5_VC2008.bat | 8 +-
t5/Build/windows/t5_VC2013.bat | 8 +-
t5/Build/windows/t5_VC2015.bat | 8 +-
t5/cmodules/aligator.c | 24 +-
t5/cmodules/alloc.c | 22 +-
t5/cmodules/bitmap.c | 20 +-
t5/cmodules/bitmap.h | 14 +-
t5/cmodules/cfbf.c | 2 +-
t5/cmodules/cfbfwrite.c | 2 +-
t5/cmodules/collect.c | 8 +-
t5/cmodules/coltsoft/coltsoft.h | 22 +-
t5/cmodules/ev_eval.c | 4 +-
t5/cmodules/ev_evali.h | 8 +-
t5/cmodules/ev_fnstb.c | 2 +-
t5/cmodules/fileutil.c | 10 +-
t5/cmodules/gr_axis2.c | 2 +-
t5/cmodules/gr_axisp.c | 4 +-
t5/cmodules/gr_chari.h | 2 +-
t5/cmodules/gr_chart.c | 6 +-
t5/cmodules/gr_diag.c | 12 +-
t5/cmodules/gr_rdia3.c | 2 +-
t5/cmodules/gr_rdiag.c | 4 +-
t5/cmodules/gr_scatc.c | 6 +-
t5/cmodules/gr_texts.c | 2 +-
t5/cmodules/im_cache.c | 4 +-
t5/cmodules/im_convert.c | 10 +-
t5/cmodules/mlec.c | 74 +-
t5/cmodules/mlec2.c | 2 +-
t5/cmodules/myassert.c | 8 +-
t5/cmodules/resource.c | 14 +-
t5/cmodules/riscos/ho_dll.c | 6 +-
t5/cmodules/spell.c | 6 +-
t5/cmodules/ss_date.c | 4 +-
t5/cmodules/ucs4.c | 2 +-
t5/cmodules/utf8.c | 4 +-
t5/cmodules/utf8.h | 2 +-
t5/cmodules/xustring.c | 2 +-
t5/common/gflags.h | 2 +-
t5/common/mf_mid | 6 +-
t5/external/setup-windows.cmd | 40 +
t5/firewrkz/RelNotes.htm | 37 +-
t5/firewrkz/RelNotesW.htm | 31 +-
t5/firewrkz/r/RiscPkg/Control | 2 +-
t5/firewrkz/r/RiscPkg/Copyright | 2 +-
t5/firewrkz/r32b/MakeRiscPkg,fd7 | 2 +-
t5/firewrkz/r32b/_copy_r32,fd7 | 72 +-
t5/firewrkz/r32m/MakeNN/MakeCommon,feb | 6 +-
t5/firewrkz/r32m/MakeNN/MakeF1Core,feb | 6 +-
t5/firewrkz/r32m/MakeNN/MakeF2Core,feb | 8 +-
.../resource/riscos/uk/Choices/ChoicesDoc | 3 +-
t5/firewrkz/resource/windows/uk/config | 3 +-
t5/firewrkz/resource/windows/uk/res00.rci | 10 +-
t5/firewrkz/windows/Disc1-x64.src/LICENCE.TXT | 2 +-
.../System/UK/Choices/ChoicesDoc.txt | 3 +-
t5/firewrkz/windows/Disc1-x86.src/LICENCE.TXT | 2 +-
.../System/UK/Choices/ChoicesDoc.txt | 3 +-
t5/fl_123/fl_123.c | 6 +-
t5/fl_ascii/fl_ascii.c | 4 +-
t5/fl_csv/fl_csv.c | 12 +-
t5/fl_fwp/fl_fwp.c | 6 +-
t5/fl_pdss/fl_pdss.c | 10 +-
t5/fl_pdtx/fl_pdtx.c | 8 +-
t5/fl_rtf/fl_rtf.c | 20 +-
t5/fl_xls/ff_xls.h | 390 ++++++++-
t5/fl_xls/fl_xls.c | 8 +-
t5/fl_xls/fl_xls_loadb.c | 778 +++++++++---------
t5/fs_123/fs_123.c | 12 +-
t5/fs_ascii/fs_ascii.c | 6 +-
t5/fs_csv/fs_csv.c | 6 +-
t5/fs_rtf/fs_rtf.c | 6 +-
t5/fs_xls/fs_xls.c | 6 +-
t5/fs_xls/fs_xls_saveb.c | 504 ++++++------
t5/ob_cells/ce_edit.c | 18 +-
t5/ob_cells/ob_cells.c | 114 +--
t5/ob_cells/sk_col.c | 2 +-
t5/ob_cells/sk_draw.c | 8 +-
t5/ob_cells/sk_form.c | 16 +-
t5/ob_cells/sk_slot.c | 4 +-
t5/ob_chart/gr_blgal.c | 2 +-
t5/ob_chart/gr_blpro.c | 8 +-
t5/ob_chart/gr_chtio.c | 36 +-
t5/ob_chart/gr_edit.c | 68 +-
t5/ob_chart/gr_uiaxi.c | 4 +-
t5/ob_chart/gr_uigal.c | 8 +-
t5/ob_chart/gr_uisty.c | 10 +-
t5/ob_chart/ob_chart.c | 22 +-
t5/ob_dlg/ob_dlg.c | 16 +-
t5/ob_dlg/ob_dlg2.c | 6 +-
t5/ob_dlg/ob_dlg3.c | 8 +-
t5/ob_dlg/ri_dlg.c | 14 +-
t5/ob_dlg/ri_lbox.c | 2 +-
t5/ob_dlg/wi_dlg.c | 14 +-
t5/ob_draw/ob_draw.c | 34 +-
t5/ob_drwio/drwprint.c | 4 +-
t5/ob_drwio/ob_drwio.c | 18 +-
t5/ob_file/ob_file.c | 20 +-
t5/ob_hefo/ob_hefo.c | 48 +-
t5/ob_hefo/ob_hefo.h | 2 +-
t5/ob_hefo/ui_hefo.c | 4 +-
t5/ob_mails/ob_mails.c | 14 +-
t5/ob_mlec/ob_mlec.c | 4 +-
t5/ob_note/ob_note.c | 466 ++++++-----
t5/ob_note/ob_note2.c | 165 ++--
t5/ob_note/xp_note.h | 2 +-
t5/ob_recn/ob_recn.c | 10 +-
t5/ob_ruler/ob_ruler.c | 62 +-
t5/ob_skel/ff_load.c | 14 +-
t5/ob_skel/flags.h | 5 +
t5/ob_skel/fonty.c | 32 +-
t5/ob_skel/ob_imps.c | 8 +-
t5/ob_skel/object.c | 12 +-
t5/ob_skel/of_load.c | 20 +-
t5/ob_skel/resource/uk-msg | 10 +-
t5/ob_skel/riscos/colourpick.c | 8 +-
t5/ob_skel/riscos/cs-flex.c | 8 +-
t5/ob_skel/riscos/cs-winx.c | 23 +-
t5/ob_skel/riscos/event.c | 2 -
t5/ob_skel/riscos/ho_event.c | 12 +-
t5/ob_skel/riscos/ho_paint.c | 18 +-
t5/ob_skel/riscos/host.c | 74 +-
t5/ob_skel/riscos/main.c | 13 +-
t5/ob_skel/sk_alpha.c | 4 +-
t5/ob_skel/sk_area.c | 2 +-
t5/ob_skel/sk_bord.c | 60 +-
t5/ob_skel/sk_choic.c | 50 +-
t5/ob_skel/sk_cmd.c | 18 +-
t5/ob_skel/sk_cont.c | 6 +-
t5/ob_skel/sk_docno.c | 6 +-
t5/ob_skel/sk_draft.c | 6 +-
t5/ob_skel/sk_find.c | 10 +-
t5/ob_skel/sk_hefod.c | 8 +-
t5/ob_skel/sk_load.c | 8 +-
t5/ob_skel/sk_mark.c | 11 +-
t5/ob_skel/sk_menu.c | 10 +-
t5/ob_skel/sk_null.c | 6 +-
t5/ob_skel/sk_print.c | 16 +-
t5/ob_skel/sk_prost.c | 6 +-
t5/ob_skel/sk_root.c | 52 +-
t5/ob_skel/sk_save.c | 24 +-
t5/ob_skel/sk_styl.c | 16 +-
t5/ob_skel/sk_stylc.c | 36 +-
t5/ob_skel/sk_stylg.c | 80 +-
t5/ob_skel/sk_table.c | 6 +-
t5/ob_skel/sk_uref.c | 2 +-
t5/ob_skel/t5_glue.c | 2 +-
t5/ob_skel/ui_data.c | 4 +-
t5/ob_skel/ui_field.c | 8 +-
t5/ob_skel/ui_misc.c | 2 +-
t5/ob_skel/ui_page.c | 12 +-
t5/ob_skel/ui_save.c | 44 +-
t5/ob_skel/vi_cmd.c | 56 +-
t5/ob_skel/vi_edge.c | 8 +-
t5/ob_skel/view.c | 18 +-
t5/ob_skel/windows/ho_color.c | 2 +-
t5/ob_skel/windows/ho_dde.c | 8 +-
t5/ob_skel/windows/ho_dll.c | 4 +-
t5/ob_skel/windows/ho_event.c | 2 +-
t5/ob_skel/windows/ho_menu.c | 12 +-
t5/ob_skel/windows/ho_paint.c | 12 +-
t5/ob_skel/windows/ho_print.c | 18 +-
t5/ob_skel/windows/ho_win.c | 50 +-
t5/ob_skel/windows/splash.c | 8 +-
t5/ob_skel/xp_skel.h | 14 +-
t5/ob_skel/xp_skelr.h | 11 +-
t5/ob_skspt/ob_skspt.c | 26 +-
t5/ob_skspt/ui_remov.c | 12 +-
t5/ob_skspt/ui_styl3.c | 6 +-
t5/ob_skspt/ui_style.c | 16 +-
t5/ob_spelb/ob_spelb.c | 18 +-
t5/ob_spell/ob_spell.c | 32 +-
t5/ob_spell/resource/Dicts/process.sh | 2 +-
t5/ob_spell/ui_check.c | 2 +-
t5/ob_ss/link_ev.c | 6 +-
t5/ob_ss/ob_ss.c | 137 ++-
t5/ob_ss/sle_ss.c | 123 +--
t5/ob_ss/ui_name.c | 12 +-
t5/ob_story/ob_story.c | 12 +-
t5/ob_story/tx_cache.c | 6 +-
t5/ob_story/tx_form.c | 2 +-
t5/ob_story/tx_main.c | 38 +-
t5/ob_text/ob_text.c | 65 +-
t5/ob_toolb/ob_toolb.c | 76 +-
t5/ob_toolb/wi_toolb.c | 20 +-
t5/resource/template/draft_rz,c1d | 14 +-
t5/resource/template/draft_wz,c1d | 12 +-
t5/resource/template/letter,c1d | 11 +-
t5/resource/template/sheetDE,c1d | 11 +-
t5/resource/template/sheetUK,c1d | 10 +-
214 files changed, 3174 insertions(+), 2713 deletions(-)
delete mode 100644 t5/Build/windows/setup.cmd
create mode 100644 t5/external/setup-windows.cmd
diff --git a/docs/LICENSE b/docs/LICENSE
index cc64ef2..6f4f459 100644
--- a/docs/LICENSE
+++ b/docs/LICENSE
@@ -1,13 +1,8 @@
-Fireworkz is free and open source software.
+This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at http://mozilla.org/MPL/2.0/.
-Fireworkz is made available to you under the terms of the
-Mozilla Public License 2.0 (MPL). This means you may use,
-copy and distribute Fireworkz to others. You are also
-welcome to modify the source code of Fireworkz as you want
-to meet your needs. The Mozilla Public License also gives
-you the right to distribute your modified versions.
-
-Copyright (C) 1992-1998 Colton Software Limited
+Copyright (C) 1989-1998 Colton Software Limited
Copyright (C) 1998-2015 R W Colton
This licence also applies to the following files in this directory
diff --git a/docs/RiscPkg/Copyright b/docs/RiscPkg/Copyright
index b1404a3..dd69432 100644
--- a/docs/RiscPkg/Copyright
+++ b/docs/RiscPkg/Copyright
@@ -1,6 +1,6 @@
Copyright (C) 1992-2016 Colton Software
-Fireworkz is free and open source software.
+Fireworkz is free to use and open source software.
Fireworkz is made available to you under the terms of the
Mozilla Public License 2.0 (MPL). This means you may use,
diff --git a/examples/_make_w32.cmd b/examples/_make_w32.cmd
index abee722..99fc2c2 100644
--- a/examples/_make_w32.cmd
+++ b/examples/_make_w32.cmd
@@ -9,7 +9,7 @@
@rem SUBST N: %USERPROFILE%\cs-dev
@rem or some appropriate equivalent for your dev environment.
@rem If not, you just have to navigate to this directory before executing the batch file
-set SRC_DIR=N:\fireworkz\trunk\examples\Apps\Document\FzExamples
+set SRC_DIR=N:\fireworkz\%FIREWORKZ_TBT%\examples\Apps\Document\FzExamples
@rem
set OUT_DIR=%TEMP%\OUT_DIR
@rem
diff --git a/t5/Build/!!!Boot,feb b/t5/Build/!!!Boot,feb
index daf2e23..e4f3fe2 100644
--- a/t5/Build/!!!Boot,feb
+++ b/t5/Build/!!!Boot,feb
@@ -9,7 +9,7 @@
|
If ""="" Then Error AcornC/C++ Tools not yet opened
|
-If ""<>"" Then Error 0 Please reboot and reselect
+If ""<>"" Then Error 0 Please reboot and reselect
|
| SKS iMX6
If ""="" Then IfThere SCSI::hd4.$.!Boot Then Set disc_root SCSI::hd4.$
@@ -23,15 +23,16 @@ If ""="" Then IfThere SDFS::RISCOSpi.$.!Boot Then Set disc_root SDFS:
| RPCEmu
If ""="" Then IfThere HostFS:$.!Boot Then Set disc_root HostFS:$
|
-Set t5_root .fireworkz.trunk
+Set fireworkz_tbt fireworkz__2_10__branch
+Set fireworkz_root .fireworkz.
|
-URD
+URD
|Lib &.arm.Library
|Dir &.t5
|
| Fireworkz Pro can only be built if R-Comp components are present
-IfThere .coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Set DPlib$Path .coltsoft.trunk.cs-nonfree.DataPower.DPlib..
-IfThere .coltsoft.trunk.cs-nonfree.DataPower.DPlib..WindLibC Then Set WindLibC$Path .coltsoft.trunk.cs-nonfree.DataPower.WindLibC..
+IfThere .coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Set DPlib$Path .coltsoft..cs-nonfree.DataPower.DPlib..
+IfThere .coltsoft..cs-nonfree.DataPower.DPlib..WindLibC Then Set WindLibC$Path .coltsoft..cs-nonfree.DataPower.WindLibC..
|
Set Fireworkz$ReportEnable 1
Set Fireworkz$TraceEnable 1
diff --git a/t5/Build/ReadMeR.txt b/t5/Build/ReadMeR.txt
index 62f4221..9f87e35 100644
--- a/t5/Build/ReadMeR.txt
+++ b/t5/Build/ReadMeR.txt
@@ -10,14 +10,16 @@ Copyright (C) 2013-2016 Stuart Swales
Prerequisites
-------------
-Acorn C/C++ Release 20 or later (!Amu, C compiler, headers, libraries, linker).
+Acorn C/C++ Release 25 or later (!Amu, C compiler, headers, libraries, linker).
-GNU Sed (Colton Software build - the one provided by PackMan doesn't work
-for this) to generate the Makefiles.
+GNU Sed to generate the Makefiles (you will need the Colton Software build as
+the one provided by PackMan doesn't work for this).
+
+InfoZip (install with PackMan) for creating a zip of the final build.
Unzip (installed as InfoZip dependency) to populate the build directories.
-Zip (install InfoZip with PackMan) for creating a zip of the final build.
+Zip (install as InfoZip dependency) for creating a zip of the final build.
First-time configuration and build
@@ -35,7 +37,7 @@ See ^.external.RISC_OSLib.ReadMe for instructions on how to do this.
Edit 'configure' - set the URD macro to the directory containing t5.
-Edit !Amu.Desc for a larger WimpSlot. I use 5024k - it's ample.
+Edit DDE's !Amu.Desc for a larger WimpSlot. I use 5024k - it's ample.
Run !Amu.
@@ -46,9 +48,9 @@ Please note that ObjMunge doesn't work on 32-bit only systems. You will
therefore need to build the fully-bound Fireworkz, r32b, on such systems.
Then drag 'r32b.firewrkz.Makefile' to !Amu... and wait... A Fireworkz build
-takes about fifty minutes on a SA RISC PC. Building on a i.MX6 takes under
+takes about eighty minutes on a SA RISC PC. Building on an ARMX6 takes about
five minutes. A Fireworkz Pro build takes about ten minutes longer on a SA
-RISC PC, and about thirty seconds(!) on a i.MX6.
+RISC PC, and about thirty seconds(!) on an ARMX6.
Subsequent builds
diff --git a/t5/Build/ReadMeW.txt b/t5/Build/ReadMeW.txt
index 0ecf590..89a9ccd 100644
--- a/t5/Build/ReadMeW.txt
+++ b/t5/Build/ReadMeW.txt
@@ -10,7 +10,7 @@ Copyright (C) 2013-2016 Stuart Swales
Prerequisites
-------------
-A Windows SVN client (such as TortoiseSVN - minimal install with command line tools, no en_US dictionary, no additional iconsets will suffice).
+A Windows SVN client such as TortoiseSVN (minimal install, with command line tools, no en_US dictionary, no additional iconsets will suffice).
Microsoft Visual Studio 2013 or later (C compiler, headers, libraries, linker). The free Community Edition is suitable (you don't need Blend, MFC, SQL or Web development options).
@@ -18,7 +18,7 @@ I recommend setting:
Options - Text editor - C++ - Tabs - Insert Spaces
-GNU Win32 Patch (install with PackMan) to generate the patched BTTNCUR(P) source files.
+GNU Win32 Patch to generate the patched BTTNCUR(P) source files.
InnoSetup to create the distributable setup executable.
@@ -32,23 +32,17 @@ You first need to acquire some files that are needed to compile Fireworkz but ca
See
-external/Microsoft/Excel97SDK/README.TXT
-
-for the Excel 97 SDK (trivial)
-
-and
-
external/Microsoft/InsideOLE2/README.TXT
-for the 'Inside OLE 2' BTTNCUR sample (less so)
+for the 'Inside OLE 2' BTTNCUR sample.
Then run
-Build\w32\Setup.cmd
+Build\windows\Setup.cmd
to copy and patch those files as needed.
-Double-click on Build\w32\firewrkz-vs2013.sln to load the solution and project files into Visual Studio.
+Double-click on Build\windows\firewrkz-vs2013.sln to load the solution and project files into Visual Studio.
Choose the variant to build (e.g. Debug or Release).
@@ -60,7 +54,6 @@ Subsequent builds
To clean up a build, select Build -> Build Solution.
-
In order to build again, select Build -> Build Solution or Build -> Rebuild Solution.
@@ -81,7 +74,7 @@ At a command prompt:
cd /p N:\fireworkz\trunk\t5
-pushd firewrkz\w32\OUT
+pushd firewrkz\windows\OUTx86
BLD32CD.BAT
diff --git a/t5/Build/Tools/BootRunGen b/t5/Build/Tools/BootRunGen
index 530c618..b7af1dd 100644
--- a/t5/Build/Tools/BootRunGen
+++ b/t5/Build/Tools/BootRunGen
@@ -291,7 +291,7 @@ IF NOT boot% THEN
PROCo(f%,"If ""z""=""z"" Then Error 0 "+true_product$+" needs Choices$Write to be set")
:
PROCo(f%,"|")
- PROCo(f%,"IfThere .Fireworkz Then Else Obey <"+product$+"$Dir>.uChoices.DoCopy")
+ PROCo(f%,"IfThere .Fireworkz.Choices.ChoicesDoc Then Else Obey <"+product$+"$Dir>.uChoices.DoCopy"): REM Ensure ChoicesDoc even if Choice00 etc there
:
REM Use appl_product$ to keep name length down for old filing systems and FireworkzPro
PROCo(f%,"|")
diff --git a/t5/Build/Tools/ConfigGen b/t5/Build/Tools/ConfigGen
index 9138096..ad99458 100644
--- a/t5/Build/Tools/ConfigGen
+++ b/t5/Build/Tools/ConfigGen
@@ -455,6 +455,7 @@ REM PROCco(f%,"DefineKey:^!C"+asp$+"Button:JUSTIFY_CENTRE")
REM PROCco(f%,"DefineKey:^!F"+asp$+"Button:JUSTIFY_FULL")
REM PROCco(f%,"DefineKey:^!L"+asp$+"Button:JUSTIFY_LEFT")
REM PROCco(f%,"DefineKey:^!R"+asp$+"Button:JUSTIFY_RIGHT")
+PROCco(f%,"DefineKey:^!D"+asp$+"InsertFieldIntroDate")
PROCco(f%,"DefineKey:^!V"+asp$+"Button:VIEW")
PROCco(f%,"DefineKey:^!X"+asp$+"Button:BOX"): REM ^!X as alias for ^!B
PROCco(f%,"DefineKey:^!Z"+asp$+"Button:CHART")
diff --git a/t5/Build/bld_mkdir/_do_mkdir,feb b/t5/Build/bld_mkdir/_do_mkdir,feb
index e8ae0d1..66718bc 100644
--- a/t5/Build/bld_mkdir/_do_mkdir,feb
+++ b/t5/Build/bld_mkdir/_do_mkdir,feb
@@ -62,13 +62,13 @@ X Copy ._std .ob_skel.riscos
Copy ._app1 .firewrkz
Copy ._app2 .firewrkz.!Fireworkz
-| Fireworkz Pro can only be built if R-Comp components are present
-IfThere $.coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .ob_rec
-IfThere $.coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .ob_recb
-IfThere $.coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .fs_xls
+| Fireworkz Pro can only be built if corresponding R-Comp components are present
+IfThere $.coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .ob_rec
+IfThere $.coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .ob_recb
+IfThere $.coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Copy ._std .fs_xls
-IfThere $.coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Copy ._app1 .fprowrkz
-IfThere $.coltsoft.trunk.cs-nonfree.DataPower.DPlib..DPlib Then Copy ._app2 .fprowrkz.!Fireworkz
+IfThere $.coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Copy ._app1 .fprowrkz
+IfThere $.coltsoft..cs-nonfree.DataPower.DPlib..DPlib Then Copy ._app2 .fprowrkz.!Fireworkz
|IfThere .firewrkz Then Filer_OpenDir .firewrkz
|IfThere .fprowrkz Then Filer_OpenDir .fprowrkz
diff --git a/t5/Build/configure b/t5/Build/configure
index 6a55b58..03cef3d 100644
--- a/t5/Build/configure
+++ b/t5/Build/configure
@@ -11,11 +11,14 @@
# By the way, you may need set the wimpslot in !Amu.Desc to at 2760k or so ...
+# Specify trunk, branch (e.g. branches/fireworkz__2_10__branch) or tag (e.g. tags/fireworkz__2016_06_26__2_10_00)
+$(FIREWORKZ_TBT)=fireworkz__2_10__branch
+
# NB Substitute URD location as necessary
-URD=$.fireworkz.trunk
+URD=$.fireworkz.$(FIREWORKZ_TBT)
# Only Fireworkz Pro builders need to worry about this one
-CSNF=$.coltsoft.trunk.cs-nonfree
+CSNF=$.coltsoft.$(FIREWORKZ_TBT).cs-nonfree
INC_RAM=
# vvv Uncomment this line to allow use of RAM: to speed full builds
diff --git a/t5/Build/gccsdk/gcc-cross-check.sh b/t5/Build/gccsdk/gcc-cross-check.sh
index b8456ff..c007961 100644
--- a/t5/Build/gccsdk/gcc-cross-check.sh
+++ b/t5/Build/gccsdk/gcc-cross-check.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# Expect errors from
# ob_rec that needs low-level DPLib
-gcc -c ../../*/*.c -I../.. -I ../../../../../coltsoft/trunk/cs-nonfree/Acorn/Library/32/CLib/msvchack -I../../../../../coltsoft/trunk/cs-nonfree/Acorn/Library/32/tboxlibs -funsigned-char -DCROSS_COMPILE -DHOST_GCCSDK -DTARGET_RISCOS -DRELEASED
+gcc -c ../../*/*.c -I../.. -I ../../external/cs-nonfree/Acorn/Library/32/CLib/msvchack -I../../external/cs-nonfree/Acorn/Library/32/tboxlibs -funsigned-char -DCROSS_COMPILE -DHOST_GCCSDK -DTARGET_RISCOS -DRELEASED
diff --git a/t5/Build/gccsdk/setup.sh b/t5/Build/gccsdk/setup.sh
index df98326..3ddae9a 100755
--- a/t5/Build/gccsdk/setup.sh
+++ b/t5/Build/gccsdk/setup.sh
@@ -8,9 +8,9 @@
#rem Copyright (C) 2013-2016 Stuart Swales
-#rem Execute from top-level t5 directory
+#rem Execute from top-level t5 directory (move as t5/external/setup-gccsdk.sh soon)
-COLTSOFT_CS_NONFREE=../../../coltsoft/trunk/cs-nonfree
+COLTSOFT_CS_NONFREE=../../../coltsoft/$FIREWORKZ_TBT/cs-nonfree
[ ! -d ./external/Microsoft/Excel97SDK/INCLUDE ] && mkdir ./external/Microsoft/Excel97SDK/INCLUDE
cp $COLTSOFT_CS_NONFREE/Microsoft/Excel_97_SDK/INCLUDE/XLCALL.H ./external/Microsoft/Excel97SDK/INCLUDE/xlcall.h
diff --git a/t5/Build/setup-csnf,fd7 b/t5/Build/setup-csnf,fd7
index 5c315df..6ad70ee 100644
--- a/t5/Build/setup-csnf,fd7
+++ b/t5/Build/setup-csnf,fd7
@@ -4,11 +4,8 @@
|
| Copyright (C) 2013-2016 Stuart Swales
|
-set COLTSOFT_CS_NONFREE .^.^.^.^.coltsoft.trunk.cs-nonfree
+set COLTSOFT_CS_NONFREE .^.^.^.^.coltsoft..cs-nonfree
|
IfThere .Microsoft Then Else Error 0 not present
|
-cdir .^.external.Microsoft.Excel97SDK.INCLUDE
-cdir .^.external.Microsoft.Excel97SDK.INCLUDE.h
-copy .Microsoft.Excel_97_SDK.INCLUDE.XLCALL/H .^.external.Microsoft.Excel97SDK.INCLUDE.h.xlcall ~CF~N~RV
-
+echo Nothing to do these days
diff --git a/t5/Build/windows/OUTx64/BLDCD2.BAT b/t5/Build/windows/OUTx64/BLDCD2.BAT
index 98aeff3..a59dbad 100644
--- a/t5/Build/windows/OUTx64/BLDCD2.BAT
+++ b/t5/Build/windows/OUTx64/BLDCD2.BAT
@@ -7,19 +7,19 @@
pushd %~dp0
IF NOT EXIST BLDCD2.BAT EXIT
-rmdir /s /q fwin-210yy
-mkdir fwin-210yy\
+rmdir /s /q fwin-21002
+mkdir fwin-21002\
@if errorlevel 1 goto failed
@
@rem copy newly built stuff ie. the Setup EXE
-xcopy .\InnoSetup\*.exe fwin-210yy\
+xcopy .\InnoSetup\*.exe fwin-21002\
@if errorlevel 1 goto failed
@
-@echo F | xcopy ..\..\..\firewrkz\RelNotesW.htm fwin-210yy\RelNotes.htm
+@echo F | xcopy ..\..\..\firewrkz\RelNotesW.htm fwin-21002\RelNotes.htm
@if errorlevel 1 goto failed
@
-mkdir fwin-210yy\GSGuide\
-@echo D | xcopy /s ..\..\..\..\docs\GSGuide\windows fwin-210yy\GSGuide\Windows
+mkdir fwin-21002\GSGuide\
+@echo D | xcopy /s ..\..\..\..\docs\GSGuide\windows fwin-21002\GSGuide\Windows
@if errorlevel 1 goto failed
@
@explorer .
diff --git a/t5/Build/windows/OUTx64/firewrkz-x64.iss b/t5/Build/windows/OUTx64/firewrkz-x64.iss
index de9b3b3..d494ebe 100644
--- a/t5/Build/windows/OUTx64/firewrkz-x64.iss
+++ b/t5/Build/windows/OUTx64/firewrkz-x64.iss
@@ -26,8 +26,8 @@ MinVersion=6.1
; Require Windows 7 for 64-bit version
; AppVersion=2.xx.yy
; AppVerName=Colton Software Fireworkz 2.xx.yy
-AppVersion=2.10.00
-AppVerName=Colton Software Fireworkz 2.10
+AppVersion=2.10.02
+AppVerName=Colton Software Fireworkz 2.10.02
AppCopyright=Copyright (C) 1992-2016 Colton Software
AppId=Colton Fireworkz for Windows (64-bit)
AppName=Colton Software Fireworkz for Windows (64-bit)
diff --git a/t5/Build/windows/OUTx86/BLDCD2.BAT b/t5/Build/windows/OUTx86/BLDCD2.BAT
index 98aeff3..a59dbad 100644
--- a/t5/Build/windows/OUTx86/BLDCD2.BAT
+++ b/t5/Build/windows/OUTx86/BLDCD2.BAT
@@ -7,19 +7,19 @@
pushd %~dp0
IF NOT EXIST BLDCD2.BAT EXIT
-rmdir /s /q fwin-210yy
-mkdir fwin-210yy\
+rmdir /s /q fwin-21002
+mkdir fwin-21002\
@if errorlevel 1 goto failed
@
@rem copy newly built stuff ie. the Setup EXE
-xcopy .\InnoSetup\*.exe fwin-210yy\
+xcopy .\InnoSetup\*.exe fwin-21002\
@if errorlevel 1 goto failed
@
-@echo F | xcopy ..\..\..\firewrkz\RelNotesW.htm fwin-210yy\RelNotes.htm
+@echo F | xcopy ..\..\..\firewrkz\RelNotesW.htm fwin-21002\RelNotes.htm
@if errorlevel 1 goto failed
@
-mkdir fwin-210yy\GSGuide\
-@echo D | xcopy /s ..\..\..\..\docs\GSGuide\windows fwin-210yy\GSGuide\Windows
+mkdir fwin-21002\GSGuide\
+@echo D | xcopy /s ..\..\..\..\docs\GSGuide\windows fwin-21002\GSGuide\Windows
@if errorlevel 1 goto failed
@
@explorer .
diff --git a/t5/Build/windows/OUTx86/firewrkz-x86.iss b/t5/Build/windows/OUTx86/firewrkz-x86.iss
index 4bb98e6..a831a93 100644
--- a/t5/Build/windows/OUTx86/firewrkz-x86.iss
+++ b/t5/Build/windows/OUTx86/firewrkz-x86.iss
@@ -24,8 +24,8 @@ MinVersion=5.1sp3
; Require XP SP3
; AppVersion=2.xx.yy
; AppVerName=Colton Software Fireworkz 2.xx.yy
-AppVersion=2.10.00
-AppVerName=Colton Software Fireworkz 2.10
+AppVersion=2.10.02
+AppVerName=Colton Software Fireworkz 2.10.02
AppCopyright=Copyright (C) 1992-2016 Colton Software
AppId=Colton Fireworkz for Windows (32-bit)
AppName=Colton Software Fireworkz for Windows (32-bit)
diff --git a/t5/Build/windows/firewrkz-vs2005.vcproj b/t5/Build/windows/firewrkz-vs2005.vcproj
index e725344..4abe3a8 100644
--- a/t5/Build/windows/firewrkz-vs2005.vcproj
+++ b/t5/Build/windows/firewrkz-vs2005.vcproj
@@ -49,7 +49,7 @@
Optimization="3"
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
- AdditionalIncludeDirectories=""\coltsoft\trunk\cs-nonfree\Acorn\Library\32\CLib\msvchack";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\tboxlibs";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
+ AdditionalIncludeDirectories=""..\..\external\cs-nonfree\Acorn\Library\32\CLib\msvchack";"..\..\external\cs-nonfree\Acorn\Library\32\tboxlibs";"..\..\external\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
PreprocessorDefinitions="TARGET_RISCOS;HOST_WINDOWS;UNRELEASED"
IgnoreStandardIncludePath="true"
RuntimeLibrary="1"
@@ -124,7 +124,7 @@
Optimization="3"
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
- AdditionalIncludeDirectories=""\coltsoft\trunk\cs-nonfree\Acorn\Library\32\CLib\msvchack";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\tboxlibs";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
+ AdditionalIncludeDirectories=""..\..\external\cs-nonfree\Acorn\Library\32\CLib\msvchack";"..\..\external\cs-nonfree\Acorn\Library\32\tboxlibs";"..\..\external\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
PreprocessorDefinitions="TARGET_RISCOS;HOST_WINDOWS"
IgnoreStandardIncludePath="true"
RuntimeLibrary="0"
@@ -5198,7 +5198,7 @@
>
@@ -5207,7 +5207,7 @@
>
@@ -5256,7 +5256,7 @@
>
@@ -5265,7 +5265,7 @@
>
@@ -5314,7 +5314,7 @@
>
@@ -5323,7 +5323,7 @@
>
@@ -5372,7 +5372,7 @@
>
@@ -5381,7 +5381,7 @@
>
@@ -5480,7 +5480,7 @@
>
@@ -5489,7 +5489,7 @@
>
@@ -5538,7 +5538,7 @@
>
@@ -5547,7 +5547,7 @@
>
@@ -5596,7 +5596,7 @@
>
@@ -5605,7 +5605,7 @@
>
@@ -5741,11 +5741,11 @@
Name="Norcroft_C"
>
diff --git a/t5/Build/windows/firewrkz-vs2008.vcproj b/t5/Build/windows/firewrkz-vs2008.vcproj
index d647a5e..faaa8fe 100644
--- a/t5/Build/windows/firewrkz-vs2008.vcproj
+++ b/t5/Build/windows/firewrkz-vs2008.vcproj
@@ -868,7 +868,7 @@
Optimization="3"
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
- AdditionalIncludeDirectories=""\coltsoft\trunk\cs-nonfree\Acorn\Library\32\CLib\msvchack";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\tboxlibs";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
+ AdditionalIncludeDirectories=""..\..\external\cs-nonfree\Acorn\Library\32\CLib\msvchack";"..\..\external\cs-nonfree\Acorn\Library\32\tboxlibs";"..\..\external\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
PreprocessorDefinitions="TARGET_RISCOS;HOST_WINDOWS;UNRELEASED"
IgnoreStandardIncludePath="true"
RuntimeLibrary="1"
@@ -1009,7 +1009,7 @@
Optimization="3"
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
- AdditionalIncludeDirectories=""\coltsoft\trunk\cs-nonfree\Acorn\Library\32\CLib\msvchack";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\tboxlibs";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
+ AdditionalIncludeDirectories=""..\..\external\cs-nonfree\Acorn\Library\32\CLib\msvchack";"..\..\external\cs-nonfree\Acorn\Library\32\tboxlibs";"..\..\external\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
PreprocessorDefinitions="TARGET_RISCOS;HOST_WINDOWS"
IgnoreStandardIncludePath="true"
RuntimeLibrary="0"
@@ -1149,7 +1149,7 @@
Optimization="3"
InlineFunctionExpansion="2"
FavorSizeOrSpeed="1"
- AdditionalIncludeDirectories=""\coltsoft\trunk\cs-nonfree\Acorn\Library\32\CLib\msvchack";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\tboxlibs";"\coltsoft\trunk\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
+ AdditionalIncludeDirectories=""..\..\external\cs-nonfree\Acorn\Library\32\CLib\msvchack";"..\..\external\cs-nonfree\Acorn\Library\32\tboxlibs";"..\..\external\cs-nonfree\Acorn\Library\32\RISC_OSLib";"$(ProjectDir)..\..";"$(ProjectDir)..\..\..\fprowrkz""
PreprocessorDefinitions="TARGET_RISCOS;HOST_WINDOWS;UNRELEASED"
IgnoreStandardIncludePath="true"
RuntimeLibrary="1"
@@ -10692,7 +10692,7 @@
>
@@ -10701,7 +10701,7 @@
>
@@ -10710,7 +10710,7 @@
>
@@ -10719,7 +10719,7 @@
>
@@ -10728,7 +10728,7 @@
>
@@ -10737,7 +10737,7 @@
>
@@ -10840,7 +10840,7 @@
>
@@ -10849,7 +10849,7 @@
>
@@ -10858,7 +10858,7 @@
>
@@ -10867,7 +10867,7 @@
>
@@ -10876,7 +10876,7 @@
>
@@ -10885,7 +10885,7 @@
>
@@ -10988,7 +10988,7 @@
>
@@ -10997,7 +10997,7 @@
>
@@ -11006,7 +11006,7 @@
>
@@ -11015,7 +11015,7 @@
>
@@ -11024,7 +11024,7 @@
>
@@ -11033,7 +11033,7 @@
>
@@ -11136,7 +11136,7 @@
>
@@ -11145,7 +11145,7 @@
>
@@ -11154,7 +11154,7 @@
>
@@ -11163,7 +11163,7 @@
>
@@ -11172,7 +11172,7 @@
>
@@ -11181,7 +11181,7 @@
>
@@ -11410,7 +11410,7 @@
>
@@ -11419,7 +11419,7 @@
>
@@ -11428,7 +11428,7 @@
>
@@ -11437,7 +11437,7 @@
>
@@ -11446,7 +11446,7 @@
>
@@ -11455,7 +11455,7 @@
>
@@ -11558,7 +11558,7 @@
>
@@ -11567,7 +11567,7 @@
>
@@ -11576,7 +11576,7 @@
>
@@ -11585,7 +11585,7 @@
>
@@ -11594,7 +11594,7 @@
>
@@ -11603,7 +11603,7 @@
>
@@ -11706,7 +11706,7 @@
>
@@ -11715,7 +11715,7 @@
>
@@ -11724,7 +11724,7 @@
>
@@ -11733,7 +11733,7 @@
>
@@ -11742,7 +11742,7 @@
>
@@ -11751,7 +11751,7 @@
>
@@ -11761,7 +11761,7 @@
Name="ob_rec_windlib"
>
-
+
+ true
+ true
+ true
+ true
+
+
true
true
true
@@ -420,7 +426,7 @@
true
true
-
+
true
true
true
@@ -430,7 +436,7 @@
true
true
-
+
true
true
true
@@ -440,7 +446,7 @@
true
true
-
+
true
true
true
@@ -450,7 +456,7 @@
true
true
-
+
true
true
true
@@ -460,7 +466,7 @@
true
true
-
+
true
true
true
@@ -470,7 +476,7 @@
true
true
-
+
true
true
true
@@ -480,7 +486,7 @@
true
true
-
+
true
true
true
@@ -490,7 +496,7 @@
true
true
-
+
true
true
true
@@ -951,16 +957,6 @@
-
- true
- true
- true
- true
- true
- true
- true
- true
-
@@ -1298,7 +1294,7 @@
-
+
true
true
true
@@ -1308,7 +1304,7 @@
true
true
-
+
true
true
true
@@ -1318,7 +1314,7 @@
true
true
-
+
true
true
true
@@ -1328,7 +1324,7 @@
true
true
-
+
true
true
true
@@ -1338,7 +1334,7 @@
true
true
-
+
true
true
true
@@ -1348,7 +1344,7 @@
true
true
-
+
true
true
true
@@ -1358,7 +1354,7 @@
true
true
-
+
true
true
true
@@ -1368,7 +1364,7 @@
true
true
-
+
true
true
true
@@ -1378,7 +1374,7 @@
true
true
-
+
true
true
true
@@ -1388,7 +1384,7 @@
true
true
-
+
true
true
true
@@ -1398,7 +1394,7 @@
true
true
-
+
true
true
true
@@ -1408,7 +1404,7 @@
true
true
-
+
true
true
true
@@ -1418,7 +1414,7 @@
true
true
-
+
true
true
true
@@ -1428,7 +1424,7 @@
true
true
-
+
true
true
true
@@ -1438,7 +1434,7 @@
true
true
-
+
true
true
true
@@ -1448,7 +1444,7 @@
true
true
-
+
true
true
true
@@ -1748,7 +1744,7 @@
true
true
-
+
true
true
true
@@ -1758,7 +1754,7 @@
true
true
-
+
true
true
true
@@ -1768,7 +1764,7 @@
true
true
-
+
true
true
true
@@ -1778,7 +1774,7 @@
true
true
-
+
true
true
true
@@ -1790,7 +1786,7 @@
-
+
true
diff --git a/t5/Build/windows/firewrkz-vs2013.vcxproj.filters b/t5/Build/windows/firewrkz-vs2013.vcxproj.filters
index cc2221e..9b4abca 100644
--- a/t5/Build/windows/firewrkz-vs2013.vcxproj.filters
+++ b/t5/Build/windows/firewrkz-vs2013.vcxproj.filters
@@ -826,31 +826,31 @@
Source Files\ob_chart
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
@@ -1087,9 +1087,6 @@
Source Files\ob_skel\ob_skel_cmodules
-
- Source Files\fprowrkz
-
Source Files\firewrkz
@@ -1108,6 +1105,9 @@
Source Files\ob_skel\ob_skel_cmodules
+
+ Source Files\fprowrkz
+
@@ -1344,64 +1344,64 @@
Source Files\ob_ss\ob_ss_external
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Header Files\Norcroft_C
-
+
Header Files\Norcroft_C
-
+
Header Files\RISC_OSLib
-
+
Header Files\RISC_OSLib
-
+
Header Files\tboxlibs
-
+
Header Files\tboxlibs
-
+
Header Files\tboxlibs
@@ -1658,7 +1658,7 @@
Source Files\foreign_formats\fl_xls
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
diff --git a/t5/Build/windows/firewrkz-vs2015.vcxproj b/t5/Build/windows/firewrkz-vs2015.vcxproj
index 820f2cd..b8b1a39 100644
--- a/t5/Build/windows/firewrkz-vs2015.vcxproj
+++ b/t5/Build/windows/firewrkz-vs2015.vcxproj
@@ -815,7 +815,7 @@
-
+
true
true
true
@@ -833,7 +833,7 @@
true
true
-
+
true
true
true
@@ -851,7 +851,7 @@
true
true
-
+
true
true
true
@@ -869,7 +869,7 @@
true
true
-
+
true
true
true
@@ -887,7 +887,7 @@
true
true
-
+
true
true
true
@@ -905,7 +905,7 @@
true
true
-
+
true
true
true
@@ -923,7 +923,7 @@
true
true
-
+
true
true
true
@@ -941,7 +941,7 @@
true
true
-
+
true
true
true
@@ -959,7 +959,7 @@
true
true
-
+
true
true
true
@@ -2319,7 +2319,7 @@
-
+
true
true
true
@@ -2337,7 +2337,7 @@
true
true
-
+
true
true
true
@@ -2355,7 +2355,7 @@
true
true
-
+
true
true
true
@@ -2373,7 +2373,7 @@
true
true
-
+
true
true
true
@@ -2391,7 +2391,7 @@
true
true
-
+
true
true
true
@@ -2409,7 +2409,7 @@
true
true
-
+
true
true
true
@@ -2427,7 +2427,7 @@
true
true
-
+
true
true
true
@@ -2445,7 +2445,7 @@
true
true
-
+
true
true
true
@@ -2463,7 +2463,7 @@
true
true
-
+
true
true
true
@@ -2481,7 +2481,7 @@
true
true
-
+
true
true
true
@@ -2499,7 +2499,7 @@
true
true
-
+
true
true
true
@@ -2517,7 +2517,7 @@
true
true
-
+
true
true
true
@@ -2535,7 +2535,7 @@
true
true
-
+
true
true
true
@@ -2553,7 +2553,7 @@
true
true
-
+
true
true
true
@@ -2571,7 +2571,7 @@
true
true
-
+
true
true
true
@@ -2589,7 +2589,7 @@
true
true
-
+
true
true
true
@@ -3037,7 +3037,7 @@
true
true
-
+
true
true
true
@@ -3055,7 +3055,7 @@
true
true
-
+
true
true
true
@@ -3073,7 +3073,7 @@
true
true
-
+
true
true
true
@@ -3091,7 +3091,7 @@
true
true
-
+
true
true
true
@@ -3111,7 +3111,7 @@
-
+
diff --git a/t5/Build/windows/firewrkz-vs2015.vcxproj.filters b/t5/Build/windows/firewrkz-vs2015.vcxproj.filters
index e255981..1ef5eb7 100644
--- a/t5/Build/windows/firewrkz-vs2015.vcxproj.filters
+++ b/t5/Build/windows/firewrkz-vs2015.vcxproj.filters
@@ -802,31 +802,31 @@
Source Files\ob_chart
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
@@ -1344,64 +1344,64 @@
Source Files\ob_ss\ob_ss_external
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
-
+
Header Files\Norcroft_C
-
+
Header Files\Norcroft_C
-
+
Header Files\RISC_OSLib
-
+
Header Files\RISC_OSLib
-
+
Header Files\tboxlibs
-
+
Header Files\tboxlibs
-
+
Header Files\tboxlibs
@@ -1667,7 +1667,7 @@
Source Files\foreign_formats\fl_xls
-
+
Source Files\fprowrkz\ob_rec\ob_rec_windlib
diff --git a/t5/Build/windows/firewrkz.rc b/t5/Build/windows/firewrkz.rc
index a686376..408fefb 100644
--- a/t5/Build/windows/firewrkz.rc
+++ b/t5/Build/windows/firewrkz.rc
@@ -9,8 +9,8 @@
/*#define VER_FILEVERSION 2,xx,y,0*/
/*#define VER_FILEVERSION 2,xx,0,0*/
-#define VER_FILEVERSION 2,10,0,0
-#define VER_FILEVERSION_STR "2.10\0"
+#define VER_FILEVERSION 2,10,1,0
+#define VER_FILEVERSION_STR "2.10.01\0"
/*#define VER_FILEVERSION_STR "2.xx\0"*/
/*#define VER_FILEVERSION_STR "2.xx.yy\0"*/
diff --git a/t5/Build/windows/setup.cmd b/t5/Build/windows/setup.cmd
deleted file mode 100644
index 8988e2c..0000000
--- a/t5/Build/windows/setup.cmd
+++ /dev/null
@@ -1,36 +0,0 @@
-@rem Build\windows\setup.cmd
-
-@rem This Source Code Form is subject to the terms of the Mozilla Public
-@rem License, v. 2.0. If a copy of the MPL was not distributed with this
-@rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-@rem Copyright (C) 2013-2016 Stuart Swales
-
-@rem Execute from top-level t5 directory
-
-set COLTSOFT_CS_NONFREE=..\..\..\coltsoft\trunk\cs-nonfree
-
-mkdir .\external\Microsoft\Excel97SDK\INCLUDE
-copy /Y %COLTSOFT_CS_NONFREE%\Microsoft\Excel_97_SDK\INCLUDE\XLCALL.H .\external\Microsoft\Excel97SDK\INCLUDE\xlcall.h
-
-@rem Patched copy of BTTNCUR from 'Inside OLE 2' for Fireworkz
-
-@set BTTNCURP_FILE=.\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C
-@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
-@set BTTNCURP_FILE=.\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H
-@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
-@set BTTNCURP_FILE=.\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCURI.H
-@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
-
-set BTTNCUR_SOURCE=.\external\Microsoft\InsideOLE2\BTTNCUR
-if exist %COLTSOFT_CS_NONFREE%\Microsoft\InsideOLE2\BTTNCUR (set BTTNCUR_SOURCE=%COLTSOFT_CS_NONFREE%\Microsoft\InsideOLE2\BTTNCUR)
-
-@rem it helps to rename the patch utility on Windows 8 etc
-Build\windows\gnu-paatch -b %BTTNCUR_SOURCE%\BTTNCUR.C -o .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C -i .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C.patch --verbose
-Build\windows\gnu-paatch -b %BTTNCUR_SOURCE%\BTTNCUR.H -o .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H -i .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H.patch --verbose
-copy /Y %BTTNCUR_SOURCE%\BTTNCURI.H .\external\Microsoft\InsideOLE2\BTTNCURP
-
-@rem Make the patched source files read-only to avoid accidental mods...
-attrib +r .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C
-attrib +r .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H
-attrib +r .\external\Microsoft\InsideOLE2\BTTNCURP\BTTNCURI.H
diff --git a/t5/Build/windows/t5_VC2005.bat b/t5/Build/windows/t5_VC2005.bat
index 85add88..d126a0a 100644
--- a/t5/Build/windows/t5_VC2005.bat
+++ b/t5/Build/windows/t5_VC2005.bat
@@ -12,9 +12,13 @@ call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
@rem call "C:\Program Files\Microsoft SDKs\Windows\v6.0\bin\setenv.cmd" /XP /x86 /Debug
+set FIREWORKZ_TBT=fireworkz__2_10__branch
+
+set FIREWORKZ_ROOT=N:\fireworkz\%FIREWORKZ_TBT%
+
@rem display environment set for development
set
-title fireworkz_trunk
+title %FIREWORKZ_ROOT%
-cd \fireworkz\trunk
\ No newline at end of file
+cd /D %FIREWORKZ_ROOT%
diff --git a/t5/Build/windows/t5_VC2008.bat b/t5/Build/windows/t5_VC2008.bat
index 0f480a2..d359d27 100644
--- a/t5/Build/windows/t5_VC2008.bat
+++ b/t5/Build/windows/t5_VC2008.bat
@@ -11,9 +11,13 @@ call prefer-unix
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" call "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
if exist "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
+set FIREWORKZ_TBT=fireworkz__2_10__branch
+
+set FIREWORKZ_ROOT=N:\fireworkz\%FIREWORKZ_TBT%
+
@rem display environment set for development
set
-title fireworkz_trunk
+title %FIREWORKZ_ROOT%
-cd \fireworkz\trunk
+cd /D %FIREWORKZ_ROOT%
diff --git a/t5/Build/windows/t5_VC2013.bat b/t5/Build/windows/t5_VC2013.bat
index 6a300a3..23c53df 100644
--- a/t5/Build/windows/t5_VC2013.bat
+++ b/t5/Build/windows/t5_VC2013.bat
@@ -11,9 +11,13 @@ call prefer-unix
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" call "%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
if exist "%ProgramFiles%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
+set FIREWORKZ_TBT=fireworkz__2_10__branch
+
+set FIREWORKZ_ROOT=N:\fireworkz\%FIREWORKZ_TBT%
+
@rem display environment set for development
set
-title fireworkz_trunk
+title %FIREWORKZ_ROOT%
-cd \fireworkz\trunk
+cd /D %FIREWORKZ_ROOT%
diff --git a/t5/Build/windows/t5_VC2015.bat b/t5/Build/windows/t5_VC2015.bat
index 475ccd4..0a3b1d1 100644
--- a/t5/Build/windows/t5_VC2015.bat
+++ b/t5/Build/windows/t5_VC2015.bat
@@ -11,9 +11,13 @@ call prefer-unix
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
if exist "%ProgramFiles%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
+set FIREWORKZ_TBT=fireworkz__2_10__branch
+
+set FIREWORKZ_ROOT=N:\fireworkz\%FIREWORKZ_TBT%
+
@rem display environment set for development
set
-title fireworkz_trunk
+title %FIREWORKZ_ROOT%
-cd \fireworkz\trunk
+cd /D %FIREWORKZ_ROOT%
diff --git a/t5/cmodules/aligator.c b/t5/cmodules/aligator.c
index 8072719..a5709ca 100644
--- a/t5/cmodules/aligator.c
+++ b/t5/cmodules/aligator.c
@@ -122,7 +122,7 @@ static STATUS
aligator_fail(
_InVal_ U32 n_bytes)
{
- IGNOREPARM_InVal_(n_bytes);
+ UNREFERENCED_PARAMETER_InVal_(n_bytes);
myassert1(TEXT("failed to allocate n_bytes=") U32_XTFMT, n_bytes);
return(status_nomem());
}
@@ -456,7 +456,7 @@ _al_array_add(
{
PC_ARRAY_BLOCK p_array_block = array_blockc_no_checks(p_array_handle);
const U32 n_bytesof_elem_x_num_elem = n_elements * array_block_element_size(p_array_block);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem_x_num_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem_x_num_elem));
CODE_ANALYSIS_ONLY(assert((n_bytesof_elem_x_num_elem == n_bytesof_elem_x_num_elem) || (0 == bytesof_elem_x_num_elem)));
memcpy32(p_any, p_data_in, n_bytesof_elem_x_num_elem);
}
@@ -484,7 +484,7 @@ _al_array_alloc(
*p_status = STATUS_OK;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem_x_num_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem_x_num_elem));
/* first of all, acquire a handle */
if(0 != next_free_block)
@@ -638,7 +638,7 @@ _al_array_bfind(
const U32 array_element_size = array_element_size32_no_checks(p_array_handle);
P_ANY p_any;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
CODE_ANALYSIS_ONLY(assert(bytesof_elem == array_element_size));
p_any =
@@ -680,7 +680,7 @@ _al_array_bsearch(
if(0 == array_elements32_no_checks(p_array_handle))
return(P_DATA_NONE);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
CODE_ANALYSIS_ONLY(assert(bytesof_elem == array_element_size32_no_checks(p_array_handle)));
p_data =
@@ -716,7 +716,7 @@ _al_array_lsearch(
if(0 == array_elements32_no_checks(p_array_handle))
return(P_DATA_NONE);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
CODE_ANALYSIS_ONLY(assert(bytesof_elem == array_element_size32_no_checks(p_array_handle)));
p_data =
@@ -994,7 +994,7 @@ al_array_garbage_collect(
STATUS status;
p_array_block->p_data = al_ptr_realloc_us(p_array_block->p_data, p_array_block->free * array_block_element_size(p_array_block), &status);
p_array_block->size = p_array_block->free;
- IGNOREPARM(status);
+ UNREFERENCED_PARAMETER(status);
}
}
}
@@ -1018,7 +1018,7 @@ al_array_handle_check(
ARRAY_INDEX count = 0;
UINT pass;
- IGNOREPARM_InVal_(whinge);
+ UNREFERENCED_PARAMETER_InVal_(whinge);
for(pass = 1; pass <= 2; ++pass)
{
@@ -1570,14 +1570,14 @@ al_array_trim(
{
STATUS status;
p_new_array = _dsapplib_ptr_realloc(p_array_block->p_data, n_bytes, &status);
- IGNOREPARM(status);
+ UNREFERENCED_PARAMETER(status);
}
else /* if(ALLOC_USE_ALLOC == p_array_block->parms.use_alloc) */
#endif /* WINDOWS */
{
STATUS status;
p_new_array = al_ptr_realloc_us(p_array_block->p_data, n_bytes, &status);
- IGNOREPARM(status);
+ UNREFERENCED_PARAMETER(status);
}
p_array_block->size = p_array_block->free;
@@ -2236,7 +2236,7 @@ array_range_check(
return(P_BYTE_NONE);
}
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(total_n_bytes));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(total_n_bytes));
return(PtrAddBytes(P_BYTE, p_array_block->p_data, (ele_index * ele_size)));
}
@@ -2302,7 +2302,7 @@ array_range_bytes_check(
return(P_BYTE_NONE);
}
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_bytes));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_bytes));
return(PtrAddBytes(P_BYTE, p_array_block->p_data, byte_offset));
}
diff --git a/t5/cmodules/alloc.c b/t5/cmodules/alloc.c
index d18d417..e6fa5bd 100644
--- a/t5/cmodules/alloc.c
+++ b/t5/cmodules/alloc.c
@@ -914,7 +914,7 @@ alloc_traversefree(
{
const PC_ALLOC_HEAP_DESC ahp = &alloc_main_heap_desc;
- IGNOREPARM(which);
+ UNREFERENCED_PARAMETER(which);
alloc_validate_heap(ahp, "traversefree", 0);
}
@@ -934,9 +934,9 @@ alloc_validate_heap(
_In_ int set_guards)
{
#if !TRACE_ALLOWED
- IGNOREPARM_InRef_(ahp);
- IGNOREPARM(routine);
- IGNOREPARM(set_guards);
+ UNREFERENCED_PARAMETER_InRef_(ahp);
+ UNREFERENCED_PARAMETER(routine);
+ UNREFERENCED_PARAMETER(set_guards);
#else
const P_RISCOS_HEAP heap = ahp->heap;
P_RISCOS_HEAP_DATA p;
@@ -1084,10 +1084,10 @@ alloc_validate_block(
_In_ int set_guards)
{
#if !TRACE_ALLOWED
- IGNOREPARM_InRef_(ahp);
- IGNOREPARM(usrcore);
- IGNOREPARM(routine);
- IGNOREPARM(set_guards);
+ UNREFERENCED_PARAMETER_InRef_(ahp);
+ UNREFERENCED_PARAMETER(usrcore);
+ UNREFERENCED_PARAMETER(routine);
+ UNREFERENCED_PARAMETER(set_guards);
#else
const P_RISCOS_HEAP heap = ahp->heap;
P_U8 syscore;
@@ -1097,7 +1097,7 @@ alloc_validate_block(
#if defined(CHECK_ALLOCS)
U32 actualusrsize;
#else
- IGNOREPARM(set_guards);
+ UNREFERENCED_PARAMETER(set_guards);
#endif
syscore = PtrSubBytes(P_U8, usrcore, startguardsize);
@@ -1226,8 +1226,8 @@ alloc__ini_validate(
P_ANY usrcore,
_In_z_ PCTSTR msg)
{
- IGNOREPARM(usrcore);
- IGNOREPARM(msg);
+ UNREFERENCED_PARAMETER(usrcore);
+ UNREFERENCED_PARAMETER(msg);
}
#endif
diff --git a/t5/cmodules/bitmap.c b/t5/cmodules/bitmap.c
index c162832..b18e162 100644
--- a/t5/cmodules/bitmap.c
+++ b/t5/cmodules/bitmap.c
@@ -34,7 +34,7 @@ bitmap_and(
BIT_NUMBER bit_number;
BOOL any = FALSE;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
if((*p_bitmap_result++ = (BITMAP_WORD) (*p_bitmap_1++ & *p_bitmap_2++)) != 0)
@@ -57,7 +57,7 @@ bitmap_any(
{
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
if(*p_bitmap++ != 0)
@@ -83,7 +83,7 @@ bitmap_bic(
BIT_NUMBER bit_number;
BOOL any = FALSE;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
if((*p_bitmap_result++ = (BITMAP_WORD) (*p_bitmap_1++ & ~*p_bitmap_2++)) != 0)
@@ -117,7 +117,7 @@ bitmap_bit_copy(
const int bit = ((int) bit_number) & (BITMAP_BPW - 1);
const BITMAP_WORD mask = (BITMAP_WORD) (ONE_BIT << bit);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
assert(bit_number < n_bits);
if(bit_number < n_bits)
{
@@ -163,7 +163,7 @@ bitmap_compare(
{
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
if(*p_bitmap_1++ != *p_bitmap_2++)
@@ -247,7 +247,7 @@ bitmap_next_bit(
}
#endif
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
return(-1);
}
@@ -313,7 +313,7 @@ bitmap_next_bit_in_both(
}
#endif
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
return(-1);
}
@@ -334,7 +334,7 @@ bitmap_not(
const BIT_NUMBER size_bits = BITMAP_BITS_FROM_SIZE(bitmap_size); /* round back up, >= n_bits */
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
*p_bitmap_result++ = (BITMAP_WORD) ~(*p_bitmap++);
@@ -374,7 +374,7 @@ bitmap_or(
{
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
*p_bitmap_result++ = (BITMAP_WORD) (*p_bitmap_1++ | *p_bitmap_2++);
@@ -437,7 +437,7 @@ bitmap_xor(
{
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
*p_bitmap_result++ = (BITMAP_WORD) (*p_bitmap_1++ ^ *p_bitmap_2++);
diff --git a/t5/cmodules/bitmap.h b/t5/cmodules/bitmap.h
index e6d9801..cbab449 100644
--- a/t5/cmodules/bitmap.h
+++ b/t5/cmodules/bitmap.h
@@ -95,7 +95,7 @@ bitmap_bit_clear(
const int bit = ((int) bit_number) & (BITMAP_BPW - 1);
const BITMAP_WORD mask = (BITMAP_WORD) (ONE_BIT << bit);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
assert(bit_number < n_bits);
if(bit_number < n_bits)
p_bitmap[word] &= ~mask;
@@ -118,7 +118,7 @@ bitmap_bit_set(
const int bit = ((int) bit_number) & (BITMAP_BPW - 1);
const BITMAP_WORD mask = (BITMAP_WORD) (ONE_BIT << bit);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
assert(bit_number < n_bits);
if(bit_number < n_bits)
p_bitmap[word] |= mask;
@@ -136,7 +136,7 @@ bitmap_bit_test(
const int bit = ((int) bit_number) & (BITMAP_BPW - 1);
const BITMAP_WORD mask = (BITMAP_WORD) (ONE_BIT << bit);
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
assert(bit_number < n_bits);
if(bit_number < n_bits)
{
@@ -153,7 +153,7 @@ bitmap_clear(
_Out_writes_all_(n_words_for_n_bits) P_BITMAP p_bitmap,
N_BITS_ARG_DECL(n_bits))
{
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
memset32(p_bitmap, 0, BITMAP_SIZE_FROM_BITS(n_bits) * sizeof32(BITMAP_WORD));
}
@@ -171,7 +171,7 @@ bitmap_copy(
_In_reads_(n_words_for_n_bits) PC_BITMAP p_bitmap,
N_BITS_ARG_DECL(n_bits))
{
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
memcpy32(p_bitmap_result, p_bitmap, BITMAP_SIZE_FROM_BITS(n_bits) * sizeof32(BITMAP_WORD));
}
@@ -185,7 +185,7 @@ bitmap_count(
BIT_NUMBER bit_number;
U32 count = 0;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
{
@@ -245,7 +245,7 @@ bitmap_test(
{
BIT_NUMBER bit_number;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(n_words_for_n_bits));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(n_words_for_n_bits));
for(bit_number = 0; bit_number < n_bits; bit_number += BITMAP_BPW)
if((*p_bitmap_1++ & *p_bitmap_2++) != 0)
diff --git a/t5/cmodules/cfbf.c b/t5/cmodules/cfbf.c
index f4205ba..c57bfea 100644
--- a/t5/cmodules/cfbf.c
+++ b/t5/cmodules/cfbf.c
@@ -500,7 +500,7 @@ compound_file_dump_directory_entry(
_InRef_ PC_StructuredStorageDirectoryEntry file_dir,
_In_ int dirnum)
{
- IGNOREPARM_InRef_(p_compound_file);
+ UNREFERENCED_PARAMETER_InRef_(p_compound_file);
if(CFBF_STGTY_INVALID == file_dir->_mse)
return;
diff --git a/t5/cmodules/cfbfwrite.c b/t5/cmodules/cfbfwrite.c
index 31ec62b..83c63b7 100644
--- a/t5/cmodules/cfbfwrite.c
+++ b/t5/cmodules/cfbfwrite.c
@@ -299,7 +299,7 @@ cfbf_write_stream_in_storage(
if(status_ok(status = t5_file_open(storage_filename, file_open_write, &file_handle, TRUE)))
{
#if !RISCOS
- IGNOREPARM_InVal_(storage_filetype);
+ UNREFERENCED_PARAMETER_InVal_(storage_filetype);
#else
status_assert(file_set_risc_os_filetype(file_handle, storage_filetype));
#endif
diff --git a/t5/cmodules/collect.c b/t5/cmodules/collect.c
index 986a3e2..5aac447 100644
--- a/t5/cmodules/collect.c
+++ b/t5/cmodules/collect.c
@@ -178,7 +178,7 @@ _collect_first(
P_LIST_ITEM it;
LIST_ITEMNO item = 0;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
it = list_initseq(p_list_block, &item);
@@ -212,7 +212,7 @@ _collect_first_from(
P_LIST_ITEM it;
LIST_ITEMNO item = *p_key;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
myassert1x(item >= 0, TEXT("collect_first key ") LIST_ITEMNO_TFMT TEXT(" negative"), item);
it = list_initseq(p_list_block, &item);
@@ -304,7 +304,7 @@ _collect_next(
P_LIST_ITEM it;
LIST_ITEMNO item;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
if(p_key)
{
@@ -345,7 +345,7 @@ _collect_prev(
P_LIST_ITEM it;
LIST_ITEMNO item = *p_key;
- CODE_ANALYSIS_ONLY(IGNOREPARM_InVal_(bytesof_elem));
+ CODE_ANALYSIS_ONLY(UNREFERENCED_PARAMETER_InVal_(bytesof_elem));
myassert1x(item >= 0, TEXT("collect_prev key ") LIST_ITEMNO_TFMT TEXT(" negative"), item);
it = list_prevseq(p_list_block, &item);
diff --git a/t5/cmodules/coltsoft/coltsoft.h b/t5/cmodules/coltsoft/coltsoft.h
index 18567b9..3fd624f 100644
--- a/t5/cmodules/coltsoft/coltsoft.h
+++ b/t5/cmodules/coltsoft/coltsoft.h
@@ -854,12 +854,12 @@ typedef int HOST_WND; /* really wimp_w but don't tell everyone */
#define _HwndRef_ _InVal_
#define _HwndRef_opt_ _InVal_ /* may be 0 */
-#define IGNOREPARM_HwndRef_ IGNOREPARM_InVal_
+#define UNREFERENCED_PARAMETER_HwndRef_ UNREFERENCED_PARAMETER_InVal_
#elif WINDOWS
#define _HwndRef_ _InRef_
#define _HwndRef_opt_ _InRef_opt_ /* may be NULL */
-#define IGNOREPARM_HwndRef_ IGNOREPARM_InRef_
+#define UNREFERENCED_PARAMETER_HwndRef_ UNREFERENCED_PARAMETER_InRef_
#endif
/*
@@ -1349,18 +1349,20 @@ div_round_floor_fn(
return(div_round_floor(a, b));
}
-#define IGNOREPARM(p) (p)=(p)
-#define IGNOREPARM_CONST(p) (void)(p)
-#define IGNOREPARM_InRef_(p) (void)(p)
-#define IGNOREPARM_InoutRef_(p) (void)(p)
-#define IGNOREPARM_OutRef_(p) (void)(p)
-#define IGNOREPARM_InVal_(p) (void)(p)
+#if !defined(UNREFERENCED_PARAMETER)
+#define UNREFERENCED_PARAMETER(p) (p)=(p)
+#endif
+#define UNREFERENCED_PARAMETER_CONST(p) (void)(p)
+#define UNREFERENCED_PARAMETER_InRef_(p) (void)(p)
+#define UNREFERENCED_PARAMETER_InoutRef_(p) (void)(p)
+#define UNREFERENCED_PARAMETER_OutRef_(p) (void)(p)
+#define UNREFERENCED_PARAMETER_InVal_(p) (void)(p)
-#define IGNOREVAR(v) (void)(v)
+#define UNREFERENCED_LOCAL_VARIABLE(v) (void)(v)
#define consume(__base_type, expr) \
do { \
- __base_type __v = (expr); IGNOREVAR(__v); \
+ __base_type __v = (expr); UNREFERENCED_LOCAL_VARIABLE(__v); \
} while_constant(0)
#define consume_ptr(expr) consume(PC_ANY, expr)
diff --git a/t5/cmodules/ev_eval.c b/t5/cmodules/ev_eval.c
index 32cee7c..8df8cca 100644
--- a/t5/cmodules/ev_eval.c
+++ b/t5/cmodules/ev_eval.c
@@ -476,7 +476,7 @@ array_range_proc_blank(
_InoutRef_ P_STAT_BLOCK p_stat_block,
_InoutRef_ P_EV_DATA p_ev_data)
{
- IGNOREPARM_InoutRef_(p_ev_data);
+ UNREFERENCED_PARAMETER_InoutRef_(p_ev_data);
p_stat_block->count_blank += 1;
}
@@ -960,7 +960,7 @@ array_range_proc_others(
_InoutRef_ P_STAT_BLOCK p_stat_block,
_InoutRef_ P_EV_DATA p_ev_data)
{
- IGNOREPARM_InoutRef_(p_ev_data);
+ UNREFERENCED_PARAMETER_InoutRef_(p_ev_data);
assert(0 != p_stat_block->exec_array_range_id);
diff --git a/t5/cmodules/ev_evali.h b/t5/cmodules/ev_evali.h
index 2314fc6..095640b 100644
--- a/t5/cmodules/ev_evali.h
+++ b/t5/cmodules/ev_evali.h
@@ -66,10 +66,10 @@ types for exec routines
*/
#define exec_func_ignore_parms() (void) ( \
- IGNOREPARM(args), \
- IGNOREPARM_InVal_(n_args), \
- IGNOREPARM_InoutRef_(p_ev_data_res), \
- IGNOREPARM_InRef_(p_cur_slr) )
+ UNREFERENCED_PARAMETER(args), \
+ UNREFERENCED_PARAMETER_InVal_(n_args), \
+ UNREFERENCED_PARAMETER_InoutRef_(p_ev_data_res), \
+ UNREFERENCED_PARAMETER_InRef_(p_cur_slr) )
/* symbol information */
diff --git a/t5/cmodules/ev_fnstb.c b/t5/cmodules/ev_fnstb.c
index 82b8007..6327b9e 100644
--- a/t5/cmodules/ev_fnstb.c
+++ b/t5/cmodules/ev_fnstb.c
@@ -235,7 +235,7 @@ large_small_common(
S32 x_size, y_size;
const S32 k_idx = args[1]->arg.integer - 1;
- IGNOREPARM_InVal_(n_args);
+ UNREFERENCED_PARAMETER_InVal_(n_args);
/* can trivially index by sorting a flattened copy of the source */
status_assert(statistics_array_flatten_copy(&ev_data_temp_array, args[0]));
diff --git a/t5/cmodules/fileutil.c b/t5/cmodules/fileutil.c
index de776f5..6a7c9d8 100644
--- a/t5/cmodules/fileutil.c
+++ b/t5/cmodules/fileutil.c
@@ -770,7 +770,7 @@ file_find_on_path_or_relative(
return(res);
}
-#ifdef UNUSED_KEEP_ALIVE /* currently unused */
+#if defined(UNUSED_KEEP_ALIVE) /* currently unused */
/******************************************************************************
*
@@ -825,7 +825,7 @@ file_find_dir_on_path(
return(res);
}
-#endif
+#endif /* UNUSED_KEEP_ALIVE */
/******************************************************************************
*
@@ -940,7 +940,7 @@ file_is_dir(
if(INVALID_FILE_ATTRIBUTES == dword)
{
const DWORD dwLastError = GetLastError();
- IGNOREPARM_CONST(dwLastError);
+ UNREFERENCED_PARAMETER_CONST(dwLastError);
return(FALSE);
}
return((dword & FILE_ATTRIBUTE_DIRECTORY) != 0);
@@ -973,7 +973,7 @@ file_is_file(
if(INVALID_FILE_ATTRIBUTES == dword)
{
const DWORD dwLastError = GetLastError();
- IGNOREPARM_CONST(dwLastError);
+ UNREFERENCED_PARAMETER_CONST(dwLastError);
return(FALSE);
}
return((dword & FILE_ATTRIBUTE_DIRECTORY) == 0);
@@ -1009,7 +1009,7 @@ file_is_read_only(
if(INVALID_FILE_ATTRIBUTES == dword)
{
const DWORD dwLastError = GetLastError();
- IGNOREPARM_CONST(dwLastError);
+ UNREFERENCED_PARAMETER_CONST(dwLastError);
return(FALSE);
}
return((dword & FILE_ATTRIBUTE_READONLY) != 0);
diff --git a/t5/cmodules/gr_axis2.c b/t5/cmodules/gr_axis2.c
index 8cfa10a..e0fd6f6 100644
--- a/t5/cmodules/gr_axis2.c
+++ b/t5/cmodules/gr_axis2.c
@@ -385,7 +385,7 @@ gr_axis_form_value_lin(
F64 exponent;
F64 mantissa = splitlognum(&log10_major, &exponent);
int decimals = (int) floor(exponent);
- IGNOREPARM(mantissa);
+ UNREFERENCED_PARAMETER(mantissa);
p_axis->major.bits.decimals = (decimals < 0) ? -decimals : 0;
} /*block*/
diff --git a/t5/cmodules/gr_axisp.c b/t5/cmodules/gr_axisp.c
index 19dbc87..4ae3bd5 100644
--- a/t5/cmodules/gr_axisp.c
+++ b/t5/cmodules/gr_axisp.c
@@ -881,7 +881,7 @@ gr_axis_addin_value_grids_x(
GR_DIAG_OFFSET gridStart;
GR_LINESTYLE linestyle;
- IGNOREPARM_InVal_(axis_ypos);
+ UNREFERENCED_PARAMETER_InVal_(axis_ypos);
if(!p_axis_ticks->bits.grid)
return(status);
@@ -1135,7 +1135,7 @@ gr_axis_addin_value_labels_x(
HOST_FONT host_font;
F64 maxval;
- IGNOREPARM_InVal_(front_phase);
+ UNREFERENCED_PARAMETER_InVal_(front_phase);
gr_axis_iterator.step = p_axis_ticks->current;
if(!gr_axis_iterator.step)
diff --git a/t5/cmodules/gr_chari.h b/t5/cmodules/gr_chari.h
index 792718b..ba63ddb 100644
--- a/t5/cmodules/gr_chari.h
+++ b/t5/cmodules/gr_chari.h
@@ -882,7 +882,7 @@ typedef struct GR_CHART
GR_CHART, * P_GR_CHART; typedef const GR_CHART * PC_GR_CHART;
#define _ChartRef_ const
-#define IGNOREPARM_ChartRef_(p_gr_chart) IGNOREPARM_CONST(p_gr_chart)
+#define UNREFERENCED_PARAMETER_ChartRef_(p_gr_chart) UNREFERENCED_PARAMETER_CONST(p_gr_chart)
typedef struct GR_TEXT_BITS
{
diff --git a/t5/cmodules/gr_chart.c b/t5/cmodules/gr_chart.c
index d47635f..1ab6973 100644
--- a/t5/cmodules/gr_chart.c
+++ b/t5/cmodules/gr_chart.c
@@ -862,7 +862,7 @@ gr_chart_preferred_save(
if(gr_chart_preferred_ch)
return(gr_chart_save_chart_without_dialog(gr_chart_preferred_ch, filename));
#else
- IGNOREPARM(filename);
+ UNREFERENCED_PARAMETER(filename);
#endif
assert0();
@@ -899,7 +899,7 @@ gr_chart_preferred_set(
gr_chart_clone_noncore_pict_lose_refs(gr_chart_preferred_ch);
#else
- IGNOREPARM(ch);
+ UNREFERENCED_PARAMETER(ch);
#endif
pcp = p_gr_chart_from_chart_handle(gr_chart_preferred_ch);
@@ -932,7 +932,7 @@ gr_chart_preferred_use(
#ifdef GR_CLONE
return(gr_chart_clone(ch, gr_chart_preferred_ch, 0 /*leave non-core info alone*/));
#else
- IGNOREPARM(ch);
+ UNREFERENCED_PARAMETER(ch);
return(status_nomem());
#endif
diff --git a/t5/cmodules/gr_diag.c b/t5/cmodules/gr_diag.c
index 12d3888..f4083fc 100644
--- a/t5/cmodules/gr_diag.c
+++ b/t5/cmodules/gr_diag.c
@@ -30,7 +30,7 @@ gr_diag_normalise_stt(
_InVal_ GR_DIAG_OFFSET sttObject_in)
{
GR_DIAG_OFFSET sttObject = sttObject_in;
- IGNOREPARM_InRef_(p_gr_diag);
+ UNREFERENCED_PARAMETER_InRef_(p_gr_diag);
myassert0x(p_gr_diag && array_elements32(&p_gr_diag->handle), TEXT("gr_diag_normalise_stt has no diagram"));
@@ -52,7 +52,7 @@ gr_diag_normalise_end(
GR_DIAG_OFFSET endObject = endObject_in;
myassert0x(p_gr_diag && array_elements32(&p_gr_diag->handle), TEXT("gr_diag_normalise_end has no diagram"));
- IGNOREPARM_InRef_(p_gr_diag);
+ UNREFERENCED_PARAMETER_InRef_(p_gr_diag);
if(endObject == GR_DIAG_OBJECT_LAST)
endObject = array_elements32(&p_gr_diag->handle);
@@ -648,7 +648,7 @@ gr_diag_ensure_riscdiag_font_table_entry_for_TEXT(
if(status_ok(status))
status = gr_diag_ensure_riscdiag_font_tableW_entry_for_TEXT(p_gr_textstyle, p_array_handleW, status);
#else
- IGNOREPARM_InoutRef_(p_array_handleW);
+ UNREFERENCED_PARAMETER_InoutRef_(p_array_handleW);
#endif
return(status);
@@ -670,7 +670,7 @@ gr_diag_ensure_riscdiag_font_table_entries_for_PICTURE(
if(status_ok(status))
status = gr_diag_ensure_riscdiag_font_tableW_entries_for_PICTURE(p_diag, diag_len, p_array_handleW, status);
#else
- IGNOREPARM_InoutRef_(p_array_handleW);
+ UNREFERENCED_PARAMETER_InoutRef_(p_array_handleW);
#endif
return(status);
@@ -1679,7 +1679,7 @@ gr_diag_piesector_hit_refine(
_InRef_ PC_GR_POINT point,
_InRef_ PC_GR_SIZE size)
{
- IGNOREPARM_InRef_(size);
+ UNREFERENCED_PARAMETER_InRef_(size);
return(piesector_hit(&pie->pos, pie->radius, &pie->alpha, &pie->beta, point));
}
@@ -1747,7 +1747,7 @@ gr_diag_quadrilateral_hit_refine(
{
GR_POINT points[4 + 1];
- IGNOREPARM_InRef_(size);
+ UNREFERENCED_PARAMETER_InRef_(size);
points[0] = quad->pos;
diff --git a/t5/cmodules/gr_rdia3.c b/t5/cmodules/gr_rdia3.c
index 1af2d7c..7391653 100644
--- a/t5/cmodules/gr_rdia3.c
+++ b/t5/cmodules/gr_rdia3.c
@@ -112,7 +112,7 @@ gr_riscdiag_host_font_from_textstyle(
#else
- IGNOREPARM_InRef_(textstyle);
+ UNREFERENCED_PARAMETER_InRef_(textstyle);
#endif /* OS */
diff --git a/t5/cmodules/gr_rdiag.c b/t5/cmodules/gr_rdiag.c
index a1ccb8b..76b24f1 100644
--- a/t5/cmodules/gr_rdiag.c
+++ b/t5/cmodules/gr_rdiag.c
@@ -976,7 +976,7 @@ gr_riscdiag_normalise_stt(
DRAW_DIAG_OFFSET sttObject = sttObject_in;
myassert0x(p_gr_riscdiag && p_gr_riscdiag->draw_diag.length, TEXT("gr_riscdiag_normalise_stt has no diagram"));
- IGNOREPARM_InRef_(p_gr_riscdiag);
+ UNREFERENCED_PARAMETER_InRef_(p_gr_riscdiag);
if(sttObject == DRAW_DIAG_OFFSET_FIRST)
sttObject = sizeof32(DRAW_FILE_HEADER);
@@ -1099,7 +1099,7 @@ gr_riscdiag_object_first(
TEXT("gr_riscdiag_object_first object ") U32_XTFMT TEXT(" size ") U32_XTFMT TEXT(" goes beyond end ") U32_XTFMT, thisObject, objectSize, *pEndObject);
} /*block*/
#else
- IGNOREPARM_InVal_(recurse);
+ UNREFERENCED_PARAMETER_InVal_(recurse);
#endif /* CHECKING */
/* stay at this first object */
diff --git a/t5/cmodules/gr_scatc.c b/t5/cmodules/gr_scatc.c
index 67e1eca..202e620 100644
--- a/t5/cmodules/gr_scatc.c
+++ b/t5/cmodules/gr_scatc.c
@@ -170,7 +170,7 @@ gr_actualise_series_point(
{
const P_GR_SERIES serp = getserp(cp, series_idx);
- IGNOREPARM_InVal_(plain);
+ UNREFERENCED_PARAMETER_InVal_(plain);
#if 0
if(1 /*!serp->valid.limits*/)
@@ -230,7 +230,7 @@ gr_actualise_series_point_error1(
{
const P_GR_SERIES serp = getserp(cp, series_idx);
- IGNOREPARM_InVal_(plain);
+ UNREFERENCED_PARAMETER_InVal_(plain);
#if 0
if(1 /*!serp->valid.limits*/)
@@ -310,7 +310,7 @@ gr_actualise_series_point_error2(
{
const P_GR_SERIES serp = getserp(cp, series_idx);
- IGNOREPARM_InVal_(plain);
+ UNREFERENCED_PARAMETER_InVal_(plain);
#if 0
if(1 /*!serp->valid.limits*/)
diff --git a/t5/cmodules/gr_texts.c b/t5/cmodules/gr_texts.c
index 96e004a..a0acb64 100644
--- a/t5/cmodules/gr_texts.c
+++ b/t5/cmodules/gr_texts.c
@@ -187,7 +187,7 @@ gr_chart_text_order_set(
_InVal_ GR_CHART_HANDLE ch,
_InVal_ S32 key)
{
- IGNOREPARM_InVal_(ch);
+ UNREFERENCED_PARAMETER_InVal_(ch);
gr_text_key_to_use = key;
}
diff --git a/t5/cmodules/im_cache.c b/t5/cmodules/im_cache.c
index ab8b964..97afa16 100644
--- a/t5/cmodules/im_cache.c
+++ b/t5/cmodules/im_cache.c
@@ -1654,7 +1654,7 @@ image_cache_activate_group(
{
STATUS status;
P_S32 p_new = al_array_extend_by(p_array_handle, S32, 1, PC_ARRAY_INIT_BLOCK_NONE, &status);
- IGNOREPARM(p_base);
+ UNREFERENCED_PARAMETER(p_base);
PTR_ASSERT(p_new);
*p_new = offset;
}
@@ -1696,7 +1696,7 @@ image_cache_patch_groups(
const ARRAY_INDEX n_elements = array_elements(p_array_handle);
ARRAY_INDEX index;
- IGNOREPARM_InVal_(offset);
+ UNREFERENCED_PARAMETER_InVal_(offset);
if(delta == 0)
return;
diff --git a/t5/cmodules/im_convert.c b/t5/cmodules/im_convert.c
index 0747ffa..0adb284 100644
--- a/t5/cmodules/im_convert.c
+++ b/t5/cmodules/im_convert.c
@@ -196,9 +196,9 @@ image_convert_do_convert_data(
*p_t5_filetype_converted = FILETYPE_BMP;
else
status = STATUS_FAIL;
- }
- GdipImage_Dispose(&gdip_image);
+ GdipImage_Dispose(&gdip_image);
+ }
#endif /* OS */
quick_tblock_dispose(&quick_tblock);
@@ -250,7 +250,7 @@ image_convert_do_convert_file(
status_return(status);
#if RISCOS
- IGNOREPARM_InVal_(t5_filetype);
+ UNREFERENCED_PARAMETER_InVal_(t5_filetype);
if(host_os_version_query() < RISCOS_4_0)
mode = TEXT("28r");
@@ -307,9 +307,9 @@ image_convert_do_convert_file(
*p_t5_filetype_converted = FILETYPE_BMP;
else
status = STATUS_FAIL;
- }
- GdipImage_Dispose(&gdip_image);
+ GdipImage_Dispose(&gdip_image);
+ }
#endif /* OS */
quick_tblock_dispose(&quick_tblock);
diff --git a/t5/cmodules/mlec.c b/t5/cmodules/mlec.c
index 6d4f754..13683ec 100644
--- a/t5/cmodules/mlec.c
+++ b/t5/cmodules/mlec.c
@@ -501,6 +501,32 @@ mlec__point_from_colrow(
p_point->y = -(mlec->attributes[MLEC_ATTRIBUTE_MARGIN_TOP] + (S32) row * mlec->attributes[MLEC_ATTRIBUTE_LINESPACE]);
}
+_Check_return_
+static HOST_FONT
+mlec_find_font(
+ const char * name,
+ U32 x16_size_x,
+ U32 x16_size_y)
+{
+ HOST_FONT host_font = HOST_FONT_NONE;
+
+ /* c.f. host_font_find() in Fireworkz */
+ _kernel_swi_regs rs;
+ _kernel_oserror * p_kernel_oserror;
+
+ rs.r[1] = (int) name;
+ rs.r[2] = x16_size_x;
+ rs.r[3] = x16_size_y;
+ rs.r[4] = 0;
+ rs.r[5] = 0;
+
+ if(NULL == (p_kernel_oserror = (_kernel_swi(Font_FindFont, &rs, &rs))))
+ host_font = (HOST_FONT) rs.r[0];
+
+ return(host_font);
+
+}
+
_Check_return_
static HOST_FONT
mlec_get_host_font(void)
@@ -514,33 +540,23 @@ mlec_get_host_font(void)
/*U32 x16_size_x = 16 * 0;*/
U32 x16_size_y = 16 * size_y;
- /* c.f. host_font_find() in Fireworkz */
- _kernel_swi_regs rs;
- _kernel_oserror * p_kernel_oserror;
-
- rs.r[1] = (int) /*"\\E" "Latin1"*/ "\\F" "DejaVuSans.Mono";
- rs.r[2] = /*x16_size_x ? x16_size_x :*/ x16_size_y;
- rs.r[3] = x16_size_y;
- rs.r[4] = 0;
- rs.r[5] = 0;
+ /* Only use DejaVuSans.Mono if we have a Unicode Font Manager */
+ host_font = mlec_find_font("\\F" "DejaVuSans.Mono" "\\E" "UTF8", x16_size_y, x16_size_y);
- if(NULL == (p_kernel_oserror = (_kernel_swi(/*Font_FindFont*/ 0x040081, &rs, &rs))))
+ if(HOST_FONT_NONE != host_font)
{
- host_font = (HOST_FONT) rs.r[0];
- return(host_font);
+ (void) font_LoseFont(host_font);
+
+ host_font = mlec_find_font("\\F" "DejaVuSans.Mono" /*"\\E" "Latin1"*/, x16_size_y, x16_size_y);
+
+ if(HOST_FONT_NONE != host_font)
+ return(host_font);
}
- rs.r[1] = (int) /*"\\E" "Latin1"*/ "\\F" "Corpus.Medium";
- rs.r[2] = /*x16_size_x ? x16_size_x :*/ x16_size_y;
- rs.r[3] = x16_size_y;
- rs.r[4] = 0;
- rs.r[5] = 0;
+ host_font = mlec_find_font("\\F" "Corpus.Medium" /*"\\E" "Latin1"*/, x16_size_y, x16_size_y);
- if(NULL == (p_kernel_oserror = (_kernel_swi(/*Font_FindFont*/ 0x040081, &rs, &rs))))
- {
- host_font = (HOST_FONT) rs.r[0];
+ if(HOST_FONT_NONE != host_font)
return(host_font);
- }
return(HOST_FONT_NONE);
}
@@ -2963,7 +2979,7 @@ mlec__drag_complete(
/*_Inout_*/ MLEC mlec,
BBox * dragboxp)
{
- IGNOREPARM(dragboxp);
+ UNREFERENCED_PARAMETER(dragboxp);
trace_0(TRACE_OUT | TRACE_ANY, TEXT("mlec__drag_complete() - *** null_events_stop(DOCNO_NONE)"));
null_events_stop(P_DOCU_NONE, T5_EVENT_NULL, null_event_mlec_drag, mlec);
@@ -2997,7 +3013,7 @@ mlec_drag_null_event(
PROC_EVENT_PROTO(static, null_event_mlec_drag)
{
- IGNOREPARM_DocuRef_(p_docu);
+ UNREFERENCED_PARAMETER_DocuRef_(p_docu);
#if CHECKING
switch(t5_message)
@@ -3007,7 +3023,7 @@ PROC_EVENT_PROTO(static, null_event_mlec_drag)
case T5_EVENT_NULL:
#else
- IGNOREPARM_InVal_(t5_message);
+ UNREFERENCED_PARAMETER_InVal_(t5_message);
{
#endif
return(mlec_drag_null_event((P_NULL_EVENT_BLOCK) p_data));
@@ -3608,7 +3624,7 @@ show_selection(
}
/* remaining lines are above the graphics window */
- IGNOREPARM(lineCol);
+ UNREFERENCED_PARAMETER(lineCol);
} /*block*/
}
@@ -3740,8 +3756,8 @@ file_write_size(
P_XFER_HANDLE xferhandlep,
_In_ int xfersize)
{
- IGNOREPARM(xferhandlep);
- IGNOREPARM(xfersize);
+ UNREFERENCED_PARAMETER(xferhandlep);
+ UNREFERENCED_PARAMETER(xfersize);
return(0); /*>>>might be better to set the file extent to xfersize - ask Tutu */
}
@@ -3839,7 +3855,7 @@ paste_read_open(
{
marked_text range;
- IGNOREPARM(filename);
+ UNREFERENCED_PARAMETER(filename);
xferhandlep->p = (MLEC) paste;
@@ -3871,7 +3887,7 @@ paste_read_getblock(
{
MLEC mlec = (MLEC) xferhandlep->p;
- IGNOREPARM(datasize);
+ UNREFERENCED_PARAMETER(datasize);
if(mlec)
{
diff --git a/t5/cmodules/mlec2.c b/t5/cmodules/mlec2.c
index 765317a..c1de61c 100644
--- a/t5/cmodules/mlec2.c
+++ b/t5/cmodules/mlec2.c
@@ -117,7 +117,7 @@ mlec__event_menu_proc(
MLEC mlec = (MLEC) handle;
int err = 0;
- IGNOREPARM(submenurequest);
+ UNREFERENCED_PARAMETER(submenurequest);
switch(*hit++)
{
diff --git a/t5/cmodules/myassert.c b/t5/cmodules/myassert.c
index 474785f..dbd8f7f 100644
--- a/t5/cmodules/myassert.c
+++ b/t5/cmodules/myassert.c
@@ -335,10 +335,10 @@ __status_assert(
return(status);
#if 0 /* sometimes you may need to take the assertions out */
- IGNOREPARM(p_function);
- IGNOREPARM(p_file);
- IGNOREPARM_InVal_(line_no);
- IGNOREPARM(tstr);
+ UNREFERENCED_PARAMETER(p_function);
+ UNREFERENCED_PARAMETER(p_file);
+ UNREFERENCED_PARAMETER_InVal_(line_no);
+ UNREFERENCED_PARAMETER(tstr);
#else
{
PCTSTR tstr_s = resource_lookup_tstr_no_default(status);
diff --git a/t5/cmodules/resource.c b/t5/cmodules/resource.c
index 5924d1b..c6b0a83 100644
--- a/t5/cmodules/resource.c
+++ b/t5/cmodules/resource.c
@@ -616,7 +616,7 @@ resource_dll_free(
resource_statics.windows.library_handle[object_id] = 0;
}
#else
- IGNOREPARM_InVal_(object_id);
+ UNREFERENCED_PARAMETER_InVal_(object_id);
#endif
}
@@ -639,8 +639,8 @@ resource_donate(
}
} /*block*/
#else
- IGNOREPARM_InVal_(object_id_dst);
- IGNOREPARM_InVal_(object_id_src);
+ UNREFERENCED_PARAMETER_InVal_(object_id_dst);
+ UNREFERENCED_PARAMETER_InVal_(object_id_src);
#endif
}
@@ -673,7 +673,7 @@ resource_init(
resource_statics.riscos.sprites[object_id].s_24 = p_bound->sprite_area_24;
}
#elif WINDOWS
- IGNOREPARM_CONST(p_u8_bound_msg);
+ UNREFERENCED_PARAMETER_CONST(p_u8_bound_msg);
assert(MSG_WEAK == p_u8_bound_msg);
#if defined(NOT_ALL_IN_ONE)
@@ -697,8 +697,8 @@ resource_init(
}
#else
/* never load any DLL resources */
- IGNOREPARM_InRef_(p_bound);
- IGNOREPARM_InVal_(object_id);
+ UNREFERENCED_PARAMETER_InRef_(p_bound);
+ UNREFERENCED_PARAMETER_InVal_(object_id);
#endif
#endif /* OS */
@@ -853,7 +853,7 @@ resource_get_object_resources(
#if defined(NOT_ALL_IN_ONE)
hInstance = resource_statics.windows.library_handle[object_id];
#else
- IGNOREPARM_InVal_(object_id);
+ UNREFERENCED_PARAMETER_InVal_(object_id);
hInstance = GetInstanceHandle();
#endif
diff --git a/t5/cmodules/riscos/ho_dll.c b/t5/cmodules/riscos/ho_dll.c
index da4023c..9924305 100644
--- a/t5/cmodules/riscos/ho_dll.c
+++ b/t5/cmodules/riscos/ho_dll.c
@@ -165,8 +165,8 @@ ho_dll_msg_exit2(void)
T5_MSG_PROTO(static, maeve_services_ho_dll_msg_initclose, _InRef_ PC_MSG_INITCLOSE p_msg_initclose)
{
- IGNOREPARM_DocuRef_(p_docu);
- IGNOREPARM_InVal_(t5_message);
+ UNREFERENCED_PARAMETER_DocuRef_(p_docu);
+ UNREFERENCED_PARAMETER_InVal_(t5_message);
switch(p_msg_initclose->t5_msg_initclose_message)
{
@@ -183,7 +183,7 @@ T5_MSG_PROTO(static, maeve_services_ho_dll_msg_initclose, _InRef_ PC_MSG_INITCLO
MAEVE_SERVICES_EVENT_PROTO(extern, maeve_services_event_ho_dll)
{
- IGNOREPARM_DocuRef_(p_docu);
+ UNREFERENCED_PARAMETER_DocuRef_(p_docu);
switch(t5_message)
{
diff --git a/t5/cmodules/spell.c b/t5/cmodules/spell.c
index 8b7c8b4..4ef0a00 100644
--- a/t5/cmodules/spell.c
+++ b/t5/cmodules/spell.c
@@ -602,7 +602,7 @@ spell_addword(
cache_lock = 0;
- IGNOREPARM(cache_lock);
+ UNREFERENCED_PARAMETER(cache_lock);
status_return(err);
@@ -1486,6 +1486,8 @@ spell_setoptions(
return(STATUS_OK);
}
+#endif /* OS */
+
/******************************************************************************
*
* return statistics about spelling checker
@@ -1521,8 +1523,6 @@ spell_stats(
}
}
-#endif /* OS */
-
extern void
spell_startup(void)
{
diff --git a/t5/cmodules/ss_date.c b/t5/cmodules/ss_date.c
index ae54ce8..56dc5b2 100644
--- a/t5/cmodules/ss_date.c
+++ b/t5/cmodules/ss_date.c
@@ -295,14 +295,14 @@ ss_ymd_to_dateval(
year += (month_index - 12) / 12;
month_index = 12 + (month_index % 12); /* 12 + (-11,-10,..,-1,0) => 0..11 : month_index now positive */
month = month_index + 1; /* reduces month into 1..12 */
- IGNOREVAR(month); /* useful for debug */
+ UNREFERENCED_LOCAL_VARIABLE(month); /* useful for debug */
}
else if(month_index > 11)
{
year += (month_index / 12);
month_index = (month_index % 12); /* reduce month_index into 0..11 */
month = month_index + 1; /* reduces month into 1..12 */
- IGNOREVAR(month);
+ UNREFERENCED_LOCAL_VARIABLE(month);
}
if(year <= 0)
diff --git a/t5/cmodules/ucs4.c b/t5/cmodules/ucs4.c
index ad34666..5af7a47 100644
--- a/t5/cmodules/ucs4.c
+++ b/t5/cmodules/ucs4.c
@@ -284,7 +284,7 @@ load_case_map_simple(
#if TRACE_ALLOWED && 1
tracef(TRACE_OUT | TRACE_ANY, TEXT("CaseMap: U+%.6X: 0x%.6X(U),0x%.6X(L) # %s\n"), code_point, entry_mapping_uc, entry_mapping_lc, report_sbstr(code_point_name));
#else
- IGNOREPARM(code_point_name);
+ UNREFERENCED_PARAMETER(code_point_name);
#endif
l2_table[code_point - l2_base_ucs4].lowercase = entry_mapping_lc;
diff --git a/t5/cmodules/utf8.c b/t5/cmodules/utf8.c
index b997268..09b0df5 100644
--- a/t5/cmodules/utf8.c
+++ b/t5/cmodules/utf8.c
@@ -873,7 +873,7 @@ utf8_validate(
PC_U8 p_u8 = p_u8_in;
U32 n_bytes_so_far = 0;
- IGNOREPARM_CONST(func);
+ UNREFERENCED_PARAMETER_CONST(func);
assert(strlen_without_NULLCH > uchars_n);
@@ -1006,7 +1006,7 @@ uchars_inline_validate(
PC_U8 p_u8 = p_u8_in;
U32 n_bytes_so_far = 0;
- IGNOREPARM_CONST(func);
+ UNREFERENCED_PARAMETER_CONST(func);
assert(strlen_without_NULLCH > uchars_n);
diff --git a/t5/cmodules/utf8.h b/t5/cmodules/utf8.h
index 121683d..cb8928c 100644
--- a/t5/cmodules/utf8.h
+++ b/t5/cmodules/utf8.h
@@ -573,7 +573,7 @@ uchars_char_copy(
_In_reads_(uchars_n) PC_UCHARS src_uchars,
_InVal_ U32 uchars_n)
{
- IGNOREPARM_InVal_(uchars_n);
+ UNREFERENCED_PARAMETER_InVal_(uchars_n);
assert(1 == uchars_n);
PtrPutByte(dst_uchars, PtrGetByte(src_uchars));
}
diff --git a/t5/cmodules/xustring.c b/t5/cmodules/xustring.c
index afc9488..e8bd00a 100644
--- a/t5/cmodules/xustring.c
+++ b/t5/cmodules/xustring.c
@@ -579,7 +579,7 @@ sbstr_buf_from_ustr(
_InVal_ U32 uchars_n /*strlen_with,without_NULLCH*/)
{
#if USTR_IS_SBSTR
- IGNOREPARM_InVal_(sbchar_codepage);
+ UNREFERENCED_PARAMETER_InVal_(sbchar_codepage);
/* no conversion needed, don't waste any more time/space */
return(xstrnkpy(buffer, elemof_buffer, ustr, ustrlen32_n(ustr, uchars_n)));
#else
diff --git a/t5/common/gflags.h b/t5/common/gflags.h
index 4d1c97d..158f491 100644
--- a/t5/common/gflags.h
+++ b/t5/common/gflags.h
@@ -15,7 +15,7 @@
#define __gflags_h
/* Define the version number of this release */
-#define VERSION_NUMBER 21000
+#define VERSION_NUMBER 21002
/* NB keep in step with other files (definitive list in common.mf_mid) */
#ifdef RELEASED
diff --git a/t5/common/mf_mid b/t5/common/mf_mid
index 29ccd45..5be4bfa 100644
--- a/t5/common/mf_mid
+++ b/t5/common/mf_mid
@@ -10,11 +10,11 @@
# Copyright (C) 1992-1998 Colton Software Limited
# Copyright (C) 1998-2015 R W Colton
-#TEXTUAL_VERSION_NUMBER=2.xx.yy (yy usually 00)
-TEXTUAL_VERSION_NUMBER=2.10
+#TEXTUAL_VERSION_NUMBER=2.xx.yy (when yy is 00, omit .yy)
+TEXTUAL_VERSION_NUMBER=2.10.02
# this goes in !Boot/!Run/Config files
-STUBS_VERSION_NUMBER=21000
+STUBS_VERSION_NUMBER=21002
# when changing version number for release, remember:
# common.gflags.h
# common.mf_mid
diff --git a/t5/external/setup-windows.cmd b/t5/external/setup-windows.cmd
new file mode 100644
index 0000000..c3227c3
--- /dev/null
+++ b/t5/external/setup-windows.cmd
@@ -0,0 +1,40 @@
+@rem Build\windows\setup.cmd
+
+@rem This Source Code Form is subject to the terms of the Mozilla Public
+@rem License, v. 2.0. If a copy of the MPL was not distributed with this
+@rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+@rem Copyright (C) 2013-2016 Stuart Swales
+
+@rem Execute from %FIREWORKZ_ROOT%\t5\external directory
+
+set COLTSOFT_CS_FREE=..\..\..\..\coltsoft\%FIREWORKZ_TBT%\cs-free
+set COLTSOFT_CS_NONFREE=..\..\..\..\coltsoft\%FIREWORKZ_TBT%\cs-nonfree
+
+mklink /j %CD%\cs-free %COLTSOFT_CS_FREE%
+mklink /j %CD%\cs-nonfree %COLTSOFT_CS_NONFREE%
+
+set COLTSOFT_CS_FREE=%CD%\cs-free
+set COLTSOFT_CS_NONFREE=%CD%\cs-nonfree
+
+@rem Patched copy of BTTNCUR from 'Inside OLE 2' for Fireworkz
+
+@set BTTNCURP_FILE=.\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C
+@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
+@set BTTNCURP_FILE=.\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H
+@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
+@set BTTNCURP_FILE=.\Microsoft\InsideOLE2\BTTNCURP\BTTNCURI.H
+@if exist %BTTNCURP_FILE% (@del /F /Q %BTTNCURP_FILE%)
+
+set BTTNCUR_SOURCE=.\Microsoft\InsideOLE2\BTTNCUR
+if exist %COLTSOFT_CS_NONFREE%\Microsoft\InsideOLE2\BTTNCUR (set BTTNCUR_SOURCE=%COLTSOFT_CS_NONFREE%\Microsoft\InsideOLE2\BTTNCUR)
+
+@rem it helps to rename the patch utility on Windows 8 etc
+%COLTSOFT_CS_FREE%\GNU\paatch.exe -b %BTTNCUR_SOURCE%\BTTNCUR.C -o .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C -i .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C.patch --verbose
+%COLTSOFT_CS_FREE%\GNU\paatch.exe -b %BTTNCUR_SOURCE%\BTTNCUR.H -o .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H -i .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H.patch --verbose
+copy /Y %BTTNCUR_SOURCE%\BTTNCURI.H .\Microsoft\InsideOLE2\BTTNCURP
+
+@rem Make the patched source files read-only to avoid accidental mods...
+attrib +r .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.C
+attrib +r .\Microsoft\InsideOLE2\BTTNCURP\BTTNCUR.H
+attrib +r .\Microsoft\InsideOLE2\BTTNCURP\BTTNCURI.H
diff --git a/t5/firewrkz/RelNotes.htm b/t5/firewrkz/RelNotes.htm
index c5a09ff..63b0a20 100644
--- a/t5/firewrkz/RelNotes.htm
+++ b/t5/firewrkz/RelNotes.htm
@@ -101,14 +101,14 @@ Online Resources
Support
- Fireworkz is now free-to-use, so support for Fireworkz is a self-help affair.
+ As Fireworkz is now free-to-use, support for Fireworkz is a self-help affair.
There is a Google Group
colton-software-fireworkz
where you may seek help from other users.
- Please include files (in a ZIP or Spark archive) which demonstrate any problems.
+ Please include files which demonstrate any problems (in a ZIP or Spark archive).
@@ -126,7 +126,31 @@
Release History
- 2.10 (24 Jun 2016)
+ 2.10.02 (07 Jul 2016)
+
+ Version information (and therefore top-bit-set encoding used therein) is saved in each Choices file.
+
+ BaseSingleCol construct is only saved in files where needed (i.e. when non-zero).
+
+ All newlines are suppressed in files between elements in Style definitions and Effect applications.
+
+ Reinstated the older Ctrl-Shift-D keyboard shortcut as synonym for Insert Date (now Ctrl-D).
+
+ RISC OS: Better handles upgrading from an earlier version with a Choices directory but without a ChoicesDoc.
+
+ RISC OS: Uses DejaVuSans.Mono 12pt (if it is available AND a Unicode Font Manager is in use) as the font for formula line text, edit controls and combo box controls.
+
+
+ 2.10.01 (04 Jul 2016)
+
+ When the Faint grid option is used for on-screen display, the (thin) grid colour is now derived from the style system. For spreadsheets, this is usually best set in BaseSheet
.
+
+ RISC OS: Fix for partially initialised structure that could cause fault during application exit.
+
+ RISC OS: Use extended syntax Wimp_ForceRedraw to update title bar more efficiently.
+
+
+ 2.10 (24 Jun 2016)
Spreadsheet functions that take date parameters have been extended to accept numeric input.
@@ -776,7 +800,8 @@
Other changes
LoadOther and SaveOther commands renamed as LoadForeign and SaveForeign for source consistency.
- Fireworkz' inline identifier character changed to ASCII 21 (was ASCII 7). NB. This character value is not exposed in file data.
+ Fireworkz' internal inline sequence identifier character changed to ASCII 21 (was ASCII 7).
+ NB. This character value is not exposed in file data.
This helps on RISC OS where the Font Manager SWI Font_ScanString reads a byte beyond the string length specified as
ASCII 21 is the Font Manager Comment sequence lead-in byte and so is ignored rather than giving an Unhandled CtrlChar error.
@@ -1032,7 +1057,9 @@ Known Problems in This Release
If you have a text cell with an inserted name which refers directly to another cell (e.g. you have defined "fred" to be h30) then if the value in the cell which is referred to changes, the text cell is not automatically reformatted or redisplayed. The way to do this at the moment is to use set_name to define the name in the number cell itself, e.g. set_name("fred", calculation)
- RISC OS: Text handling will not behave correctly if *Alphabet UTF8 is set.
+ RISC OS
+
+ Text handling will not behave correctly if *Alphabet UTF8 is set.
diff --git a/t5/firewrkz/RelNotesW.htm b/t5/firewrkz/RelNotesW.htm
index 96b7a2e..aa87c17 100644
--- a/t5/firewrkz/RelNotesW.htm
+++ b/t5/firewrkz/RelNotesW.htm
@@ -86,7 +86,7 @@ Online Resources
Support
- Fireworkz is now free-to-use, so support for Fireworkz is a self-help affair.
+ As Fireworkz is now free-to-use, support for Fireworkz is a self-help affair.
There is a Google Group
@@ -111,6 +111,22 @@ Release History
+ 2.10.02 (07 Jul 2016)
+
+ Version information (and therefore top-bit-set encoding used therein) is saved in each Choices file.
+
+ BaseSingleCol construct is only saved in files where needed (i.e. when non-zero).
+
+ All newlines are suppressed in files between elements in Style definitions and Effect applications.
+
+ Reinstated the older Ctrl-Shift-D keyboard shortcut as synonym for Insert Date (now Ctrl-D).
+
+
+ 2.10.01 (04 Jul 2016)
+
+ When the Faint grid option is used for on-screen display, the (thin) grid colour is now derived from the style system. For spreadsheets, this is usually best set in BaseSheet
.
+
+
2.10 (24 Jun 2016)
@@ -760,7 +776,8 @@
Other changes
LoadOther and SaveOther commands renamed as LoadForeign and SaveForeign for source consistency.
- Fireworkz' inline identifier character changed to ASCII 21 (was ASCII 7). NB. This character value is not exposed in file data.
+ Fireworkz' internal inline sequence identifier character changed to ASCII 21 (was ASCII 7).
+ NB. This character value is not exposed in file data.
This helps on RISC OS where the Font Manager SWI Font_ScanString reads a byte beyond the string length specified as
ASCII 21 is the Font Manager Comment sequence lead-in byte and so is ignored rather than giving an Unhandled CtrlChar error.
@@ -774,19 +791,19 @@ Other changes
Windows
- Windows: Standard release build is now done on Windows 7 using Visual Studio 2013 Update 5 with the v120_xp platform toolset.
+ Standard release build is now done on Windows 7 using Visual Studio 2013 Update 5 with the v120_xp platform toolset.
- Windows: U:XXXX inline sequences are translated to UTF-16 and rendered using the Wide Character API.
+ U:XXXX inline sequences are translated to UTF-16 and rendered using the Wide Character API.
- Windows: Additional value Windows-<XXXX> added to Version information in Fireworkz file to help file portability, where <XXXXe> is the current Windows ANSI Code Page
+ Additional value Windows-<XXXX> added to Version information in Fireworkz file to help file portability, where <XXXXe> is the current Windows ANSI Code Page
- Windows: When loading supporting documents, such as custom function sheets,
+ When loading supporting documents, such as custom function sheets,
Fireworkz will first scan the path without using the .fwk extension then, if needed, try again without the extension.
This helps with cross-platform portability and centralised storage of supporting documents.
- Windows: Updated templates in line with RISC OS ones (use of four-digit year).
+ Updated templates in line with RISC OS ones (use of four-digit year).
Other fixes
diff --git a/t5/firewrkz/r/RiscPkg/Control b/t5/firewrkz/r/RiscPkg/Control
index ef4d038..cee71c0 100644
--- a/t5/firewrkz/r/RiscPkg/Control
+++ b/t5/firewrkz/r/RiscPkg/Control
@@ -1,5 +1,5 @@
Package: Fireworkz
-Version: 2.10.0
+Version: 2.10.2
Section: Document
Priority: Optional
Maintainer: Colton Software
diff --git a/t5/firewrkz/r/RiscPkg/Copyright b/t5/firewrkz/r/RiscPkg/Copyright
index 7451c5b..d663fe9 100644
--- a/t5/firewrkz/r/RiscPkg/Copyright
+++ b/t5/firewrkz/r/RiscPkg/Copyright
@@ -1,6 +1,6 @@
Copyright (C) 1992-2016 Colton Software
-Fireworkz is free and open source software.
+Fireworkz is free to use and open source software.
Fireworkz is made available to you under the terms of the
Mozilla Public License 2.0 (MPL). This means you may use,
diff --git a/t5/firewrkz/r32b/MakeRiscPkg,fd7 b/t5/firewrkz/r32b/MakeRiscPkg,fd7
index 1e8ac64..ce6eebe 100644
--- a/t5/firewrkz/r32b/MakeRiscPkg,fd7
+++ b/t5/firewrkz/r32b/MakeRiscPkg,fd7
@@ -9,7 +9,7 @@
IfThere $.Temp Then Else %CDir $.Temp
-Set t5$Release 2_10_00
+Set t5$Release 2_10_02
Set t5$Disc $.Temp.Fireworkz_
Set t5$Zip $.Temp.Fireworkz_/zip
diff --git a/t5/firewrkz/r32b/_copy_r32,fd7 b/t5/firewrkz/r32b/_copy_r32,fd7
index 9d8e2c8..82c3e24 100644
--- a/t5/firewrkz/r32b/_copy_r32,fd7
+++ b/t5/firewrkz/r32b/_copy_r32,fd7
@@ -12,39 +12,39 @@ Set where r32m
|
Set r32b_Build$Dir
|
-Copy .t5.Build..fl_123 .* rf~cn
-Copy .t5.Build..fl_ascii .* rf~cn
-Copy .t5.Build..fl_csv .* rf~cn
-Copy .t5.Build..fl_fwp .* rf~cn
-Copy .t5.Build..fl_pdss .* rf~cn
-Copy .t5.Build..fl_pdtx .* rf~cn
-Copy .t5.Build..fl_rtf .* rf~cn
-Copy .t5.Build..fl_xls .* rf~cn
-|
-Copy .t5.Build..fs_123 .* rf~cn
-Copy .t5.Build..fs_ascii .* rf~cn
-Copy .t5.Build..fs_csv .* rf~cn
-Copy .t5.Build..fs_rtf .* rf~cn
-|
-Copy .t5.Build..ob_cells .* rf~cn
-Copy .t5.Build..ob_chart .* rf~cn
-Copy .t5.Build..ob_chspt .* rf~cn
-Copy .t5.Build..ob_dlg .* rf~cn
-Copy .t5.Build..ob_draw .* rf~cn
-Copy .t5.Build..ob_drwio .* rf~cn
-Copy .t5.Build..ob_file .* rf~cn
-Copy .t5.Build..ob_hefo .* rf~cn
-Copy .t5.Build..ob_mails .* rf~cn
-Copy .t5.Build..ob_mlec .* rf~cn
-Copy .t5.Build..ob_note .* rf~cn
-Copy .t5.Build..ob_recn .* rf~cn
-Copy .t5.Build..ob_ruler .* rf~cn
-Copy .t5.Build..ob_skel .* rf~cn
-Copy .t5.Build..ob_skspt .* rf~cn
-Copy .t5.Build..ob_spelb .* rf~cn
-Copy .t5.Build..ob_spell .* rf~cn
-Copy .t5.Build..ob_ss .* rf~cn
-Copy .t5.Build..ob_ssspt .* rf~cn
-Copy .t5.Build..ob_story .* rf~cn
-Copy .t5.Build..ob_text .* rf~cn
-Copy .t5.Build..ob_toolb .* rf~cn
+Copy .t5.Build..fl_123 .* rf~cn
+Copy .t5.Build..fl_ascii .* rf~cn
+Copy .t5.Build..fl_csv .* rf~cn
+Copy .t5.Build..fl_fwp .* rf~cn
+Copy .t5.Build..fl_pdss .* rf~cn
+Copy .t5.Build..fl_pdtx .* rf~cn
+Copy .t5.Build..fl_rtf .* rf~cn
+Copy .t5.Build..fl_xls .* rf~cn
+|
+Copy .t5.Build..fs_123 .* rf~cn
+Copy .t5.Build..fs_ascii .* rf~cn
+Copy .t5.Build..fs_csv .* rf~cn
+Copy .t5.Build..fs_rtf .* rf~cn
+|
+Copy .t5.Build..ob_cells .* rf~cn
+Copy .t5.Build..ob_chart .* rf~cn
+Copy .t5.Build..ob_chspt .* rf~cn
+Copy .t5.Build..ob_dlg .* rf~cn
+Copy .t5.Build..ob_draw .* rf~cn
+Copy .t5.Build..ob_drwio .* rf~cn
+Copy .t5.Build..ob_file .* rf~cn
+Copy .t5.Build..ob_hefo .* rf~cn
+Copy .t5.Build..ob_mails .* rf~cn
+Copy .t5.Build..ob_mlec .* rf~cn
+Copy .t5.Build..ob_note .* rf~cn
+Copy .t5.Build..ob_recn .* rf~cn
+Copy .t5.Build..ob_ruler .* rf~cn
+Copy .t5.Build..ob_skel .* rf~cn
+Copy .t5.Build..ob_skspt .* rf~cn
+Copy .t5.Build..ob_spelb .* rf~cn
+Copy .t5.Build..ob_spell .* rf~cn
+Copy .t5.Build..ob_ss .* rf~cn
+Copy .t5.Build..ob_ssspt .* rf~cn
+Copy .t5.Build..ob_story .* rf~cn
+Copy .t5.Build..ob_text .* rf~cn
+Copy .t5.Build..ob_toolb .* rf~cn
diff --git a/t5/firewrkz/r32m/MakeNN/MakeCommon,feb b/t5/firewrkz/r32m/MakeNN/MakeCommon,feb
index 8f51d91..8287a79 100644
--- a/t5/firewrkz/r32m/MakeNN/MakeCommon,feb
+++ b/t5/firewrkz/r32m/MakeNN/MakeCommon,feb
@@ -3,8 +3,8 @@
Set t5$Product firewrkz
Set t5$Country uk
-Set t5$Build$Dir .t5.Build.r32m..!Fireworkz
-Set t5$Resource$Dir .t5.resource
-Set ap$Resource$Dir .t5..resource.riscos.
+Set t5$Build$Dir .t5.Build.r32m..!Fireworkz
+Set t5$Resource$Dir .t5.resource
+Set ap$Resource$Dir .t5..resource.riscos.
%CDir .Z
diff --git a/t5/firewrkz/r32m/MakeNN/MakeF1Core,feb b/t5/firewrkz/r32m/MakeNN/MakeF1Core,feb
index 5f04cad..fcf0810 100644
--- a/t5/firewrkz/r32m/MakeNN/MakeF1Core,feb
+++ b/t5/firewrkz/r32m/MakeNN/MakeF1Core,feb
@@ -37,8 +37,8 @@
| These are the big dicts, later datestamps
%CDir .Z.User.Dicts
-%Copy .t5.ob_spell.resource.dicts.user .Z.User.Dicts.User f~cln~v
-%Copy .t5.ob_spell.resource.dicts.userc .Z.User.Dicts.UserC f~cln~v
+%Copy .t5.ob_spell.resource.dicts.user .Z.User.Dicts.User f~cln~v
+%Copy .t5.ob_spell.resource.dicts.userc .Z.User.Dicts.UserC f~cln~v
%Access .Z.User.Dicts.* wr/r
%Access .Z.User.* wr/r
@@ -46,4 +46,4 @@
| Top level, contains Fireworkz
-%Copy .t5..r.RelNotes .* f~cln~v
+%Copy .t5..r.RelNotes .* f~cln~v
diff --git a/t5/firewrkz/r32m/MakeNN/MakeF2Core,feb b/t5/firewrkz/r32m/MakeNN/MakeF2Core,feb
index bed0bb8..63c38c7 100644
--- a/t5/firewrkz/r32m/MakeNN/MakeF2Core,feb
+++ b/t5/firewrkz/r32m/MakeNN/MakeF2Core,feb
@@ -19,8 +19,8 @@
%Access .Z.Resource.Choices.* r/r
%CDir .Z.Resource.Dicts
-%Copy .t5.ob_spell.resource.dicts.master .Z.Resource.Dicts.Master f~cln~v
-%Copy .t5.ob_spell.resource.dicts.masterc .Z.Resource.Dicts.MasterC f~cln~v
+%Copy .t5.ob_spell.resource.dicts.master .Z.Resource.Dicts.Master f~cln~v
+%Copy .t5.ob_spell.resource.dicts.masterc .Z.Resource.Dicts.MasterC f~cln~v
%Access .Z.Resource.Dicts.* r/r
%CDir .Z.Resource.Markers
@@ -53,8 +53,8 @@
| not enough room on disc 2 for floppy users to have user dictionaries
|%CDir .Z.User.Dicts
-|%Copy .t5.ob_spell.resource.dicts.user .Z.User.Dicts.User f~cln~v
-|%Copy