products/Sources/formale Sprachen/C/LibreOffice/xmloff/source/draw/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 1 kB image not shown  

 gen-hb-version.py   Interaktion und
PortierbarkeitPython

 

#!/usr/bin/env python3

"This tool is intended to be used from meson"

import os, sys, shutil, re

if len (sys.argv) < 4:
 sys.exit(__doc__)

version = sys.argv[1]
major, minor, micro = version.split (".")

OUTPUT = sys.argv[2]
INPUT = sys.argv[3]
CURRENT_SOURCE_DIR = os.path.dirname(INPUT)

try:
 with open (OUTPUT, "r", encoding='utf-8') as old_output:
  for line in old_output:
   old_version = re.match (r"#define HB_VERSION_STRING \"(\d.\d.\d)\"", line)
   if old_version and old_version[1] == version:
    sys.exit ()
except IOError:
 pass

with open (INPUT, "r", encoding='utf-8') as template:
 with open (OUTPUT, "wb") as output:
  output.write (template.read ()
   .replace ("@HB_VERSION_MAJOR@", major)
   .replace ("@HB_VERSION_MINOR@", minor)
   .replace ("@HB_VERSION_MICRO@", micro)
   .replace ("@HB_VERSION@", version)
   .encode ())

# copy it also to the source tree, but only if it has changed
baseline_filename = os.path.join (CURRENT_SOURCE_DIR, os.path.basename (OUTPUT))
with open(baseline_filename, "rb") as baseline:
 with open(OUTPUT, "rb") as generated:
  if baseline.read() != generated.read():
   shutil.copyfile (OUTPUT, baseline_filename)

Messung V0.5 in Prozent
C=90 H=95 G=92

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-27) ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.