Repository navigation
v0.18.0
·
20 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
list_triggersandlist_program_unitsname where an inherited body lives (#122). A row withbodySource: inheritednow carries the sameinheritedpointerget_trigger/get_program_unitserve (parent module, file, name,ownerPath), at either verbosity. In a mostly subclassed form that turns oneget_triggercall per trigger into a single listing.- The "no converter" error names
--convert-command/OFMCP_CONVERT_COMMAND(#122), or--compile-command/OFMCP_COMPILE_COMMANDfor a.pll, besideORACLE_HOMEand the pre-converted file. The site's own command is often the easiest fix, and the error was where nobody learned about it. - Force a re-conversion of a cached module (#121):
fetch_module(force=true), and--forcewith--prefetch/--prefetch-all/--prefetch-type. A module whose source is unchanged was never converted again, so a result from a wrong setup —frmf2xmlwithout the forms directory onFORMS_PATHsucceeds minus every inherited object — kept being served after the setup was fixed, until its cache entry was deleted by hand. Annotations are kept.--forcewithout a prefetch is a usage error. - The forms directory can be given as
OFMCP_FORMS_DIR, for a host that starts the server with a fixed command line and can pass a user's settings only as environment variables.--forms-diror the positional argument still wins, and an exported variable never conflicts with either. A blank value, or a${…}template nobody filled in, counts as not set. {start}in a converter command is replaced with the absolute directory the server was started in, in--convert-commandand--compile-commandalike, and is never appended. A relative program was already found from there, but a relative argument is looked up by the command, which runs in the converted directory;{start}names a file shipped beside the server (["java", "{start}/converter/Convert.java", "{}", "{out}"]) from one value on every OS.- The plugin launcher runs without
OFMCP_PLUGIN_DATA(plugin version 1.5.0), keeping its downloads in a per-user data directory of the OS instead of stopping. Its messages name theOFMCP_SERVER_VERSIONvariable beside/plugin, for hosts that have no/plugin.
Fixed
ORACLE_HOMEconversion works on a Linux Forms 12c+ install (#120). Three things stood in the way, on Forms 14.1.2 at least:frmf2xmlis not in$ORACLE_HOME/binthere, only asfrmf2xml.shin the Forms instance. The tools are now also looked for in$FORMS_INSTANCE/bin, and.sh(and, on Windows,.cmd) wrappers are accepted.frmf2xmlwrites its XML next to the module there, not into its working directory, so the server found no output — and a writable forms directory got XML among its sources. It now converts a copy of the module in a private staging directory and moves the result into the cache, so the forms directory is never written to and may be read-only.- Started without a terminal or a display, as an MCP host may start it,
frmcmp_batchfailed withFRM-91500andfrmf2xmlwith "Failed to create new forms context". Outside Windows, the tools now run withTERM=vt220andFORMS_API_TK_BYPASS=TRUEunless the environment already sets them.
What's Changed
- chore(deps): Bump eclipse-temurin from
dbb43d8toecdc0adby @dependabot[bot] in #116 - chore(deps): Bump gradle/actions/setup-gradle from 6.4.0 to 6.4.1 by @dependabot[bot] in #117
- chore(deps): Bump docker/login-action from 4.6.0 to 4.7.0 by @dependabot[bot] in #118
- feat: launch from environment variables alone (#119) by @aoreshkov in #123
- fix(convert): ORACLE_HOME conversion on a Linux Forms 12c+ install (#120) by @aoreshkov in #124
- feat: force a re-conversion of a cached module (#121) by @aoreshkov in #125
- feat: name inherited sources in list rows and the convert command in the no-converter error (#122) by @aoreshkov in #126
- chore(release): 0.18.0 by @aoreshkov in #127
Full Changelog: v0.17.0...v0.18.0