groffstudio

Check-in [47ab69880f]
Login
Overview
Comment:0.12.0: [Feature] If the installed version of troff is not detected as groff, a warning is displayed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | release-0.12.0
Files: files | file ages | folders
SHA3-256: 47ab69880fde8e84a55d5beb367e61f15c330a5727aba2e8bbc5b7b3492afb1c
User & Date: Cthulhux on 2022-03-14 16:53:38
Other Links: manifest | tags
Context
2022-03-15
15:10
[Feature] Support for hdtbl. [Changed] Build extras and build preprocessors are now listed in a multi-select box. check-in: 931cfb6b0c user: Cthulhux tags: trunk
2022-03-14
16:53
0.12.0: [Feature] If the installed version of troff is not detected as groff, a warning is displayed. check-in: 47ab69880f user: Cthulhux tags: trunk, release-0.12.0
16:46
[Improved] groffstudio opens on the primary screen now. check-in: a092c06711 user: Cthulhux tags: trunk
Changes

Modified CHANGES.txt from [78948c2a11] to [983e766f33].

1


2

3
4
5
6
7
8
9

1
2
3
4
5
6
7
8
9
10
11
-
+
+

+







Version [next]
Version 0.12.0
2022-03-14

[Feature] If the installed version of troff is not detected as groff, a warning is displayed.
[Changed] On platforms which probably use a package manager (currently, Linux and BSDs), the "update check" checkbox is disabled and the related libraries are not referenced.
[Improved] When exiting groffstudio, the Save function from the "save" button is reused.
[Changed] Less capital letters.
[Improved] groffstudio opens on the primary screen now.

-------------------------------

Modified src/groffstudio.lpi from [e16da16e5f] to [6398047e8e].

18
19
20
21
22
23
24
25

26
27
28
29
30
31
32
33
18
19
20
21
22
23
24

25

26
27
28
29
30
31
32







-
+
-







      <Resources Count="1">
        <Resource_0 FileName="..\LICENSE" Type="RCDATA" ResourceName="LICENSE"/>
      </Resources>
    </General>
    <VersionInfo>
      <UseVersionInfo Value="True"/>
      <AutoIncrementBuild Value="True"/>
      <MinorVersionNr Value="11"/>
      <MinorVersionNr Value="12"/>
      <BuildNr Value="1"/>
      <Attributes pvaPreRelease="True"/>
      <StringTable ProductName="groffstudio"/>
    </VersionInfo>
    <BuildModes>
      <Item Name="Default" Default="True"/>
    </BuildModes>
    <PublishOptions>

Modified src/unit1.pas from [1be6f508b0] to [b7fbc951e8].

146
147
148
149
150
151
152




153
154
155
156
157
158
159
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163







+
+
+
+







  HTTPClient: TFPHttpClient;
  {$ENDIF}
begin
  // What's the current running groff version?
  if RunCommand('troff', ['--version'], GroffOutputVersion) then
  begin
    edtGroffInstalledVersion.Text := GroffOutputVersion;
    if pos('GNU', GroffOutputVersion) = 0 then
       ShowMessage('groffstudio thinks that your installed version of troff is not GNU troff.' + LineEnding +
       'If this is correct, you are advised to fix this before continuing.' + LineEnding +
       'If it is an error, please tell me so I can improve this detection.');
    hasGroff := True;
  end else begin
    edtGroffInstalledVersion.Text := 'n/a';
    hasGroff := False;
    lblTroffCommandNotFound.Visible := True;
  end;