groffstudio

Check-in [d43bd7f83d]
Login
Overview
Comment:[Bugfix] Calling troff over the system default shell now, potentially finding more paths.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d43bd7f83d8d4cf87904b10e0041231eca1692fd7f199bb7357c7ad001616ac8
User & Date: Cthulhux on 2024-01-10 03:31:35
Other Links: manifest | tags
Context
2024-01-10
04:00
tests check-in: 947b4bfbd2 user: Cthulhux tags: trunk
03:31
[Bugfix] Calling troff over the system default shell now, potentially finding more paths. check-in: d43bd7f83d user: Cthulhux tags: trunk
02:17
[Improved] The default font looked gross on macOS. This should be better now. check-in: de8c52d159 user: Cthulhux tags: trunk
Changes

Modified CHANGES.txt from [ea99defc15] to [797f2a780e].

1
2
3
4
5
6

7
8
9
10
11
12
13
1
2
3
4
5
6
7
8
9
10
11
12
13
14






+







Version [next]

[Feature] Support for hdtbl.
[Changed] Build extras and build preprocessors are now listed in a multi-select box.
[Improved] If no error has occurred, the log file will contain a success message.
[Improved] The default font looked gross on macOS. This should be better now.
[Bugfix] Calling troff over the system default shell now, potentially finding more paths.

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

Version 0.12.0
2022-03-14

[Feature] If the installed version of troff is not detected as groff, a warning is displayed.

Modified src/groffstudio.lpi from [84201116a3] to [a8eb228557].

19
20
21
22
23
24
25

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







+







        <Resource_0 FileName="..\LICENSE" Type="RCDATA" ResourceName="LICENSE"/>
      </Resources>
    </General>
    <VersionInfo>
      <UseVersionInfo Value="True"/>
      <AutoIncrementBuild Value="True"/>
      <MinorVersionNr Value="13"/>
      <BuildNr Value="2"/>
      <Attributes pvaPreRelease="True"/>
      <StringTable ProductName="groffstudio"/>
    </VersionInfo>
    <BuildModes>
      <Item Name="Default" Default="True"/>
    </BuildModes>
    <PublishOptions>
84
85
86
87
88
89
90


91
92
93
94
95
96
97
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100







+
+







    <Target>
      <Filename Value="groffstudio"/>
    </Target>
    <SearchPaths>
      <IncludeFiles Value="$(ProjOutDir)"/>
      <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    </SearchPaths>
    <Conditionals Value="if TargetOS = &apos;darwin&apos; then
  LinkerOptions += &apos; -ld_classic -macosx_version_min&apos;;"/>
    <CodeGeneration>
      <Optimizations>
        <OptimizationLevel Value="4"/>
      </Optimizations>
    </CodeGeneration>
    <Linking>
      <Debugging>

Modified src/unit1.pas from [44732cacc5] to [d57fac412e].

136
137
138
139
140
141
142

143




144
145
146
147
148
149
150
136
137
138
139
140
141
142
143

144
145
146
147
148
149
150
151
152
153
154







+
-
+
+
+
+







  GroffHelpers: TGroffHelpers;
  ResStream: TResourceStream;
  {$IFDEF DARWIN}
  HTTPClient: TFPHttpClient;
  {$ENDIF}
begin
  // What's the current running groff version?
  {$IFDEF WINDOWS}
  if RunCommand('troff', ['--version'], GroffOutputVersion) then
  if RunCommand('cmd', ['/c', 'troff', '--version'], GroffOutputVersion) then
  {$ELSE}
  if RunCommand('/bin/sh', ['-c', 'troff', '--version'], GroffOutputVersion) then
  {$ENDIF}
  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;