Overview
Comment: | [Improved] Finding groff happens in a thread now. No more blocking on startup. [Removed] So we got rid of the loading window again. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
802d0d061a14c0778c2991b0cc7196e1 |
User & Date: | Cthulhux on 2024-01-12 13:36:06 |
Other Links: | manifest | tags |
Context
2024-01-14
| ||
16:34 | added a note about Linux compatibility check-in: 9225c13747 user: Cthulhux tags: trunk | |
2024-01-12
| ||
13:36 | [Improved] Finding groff happens in a thread now. No more blocking on startup. [Removed] So we got rid of the loading window again. check-in: 802d0d061a user: Cthulhux tags: trunk | |
10:25 | Added Mastodon contact check-in: 783ebc937c user: Cthulhux tags: trunk | |
Changes
Modified CHANGES.txt from [1b324e0183] to [45376537f1].
|
| | > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Version [next] [Improved] Finding groff happens in a thread now. No more blocking on startup. [Removed] So we got rid of the loading window again. ------------------------------- Version 0.12.0 2024-01-11 [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. |
︙ | ︙ |
Modified src/groffstudio.lpi from [c7cb82821c] to [5ada8edd7d].
︙ | ︙ | |||
18 19 20 21 22 23 24 | <Resources Count="1"> <Resource_0 FileName="..\LICENSE" Type="RCDATA" ResourceName="LICENSE"/> </Resources> </General> <VersionInfo> <UseVersionInfo Value="True"/> <AutoIncrementBuild Value="True"/> | | | 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="14"/> <BuildNr Value="16"/> <Attributes pvaPreRelease="True"/> <StringTable ProductName="groffstudio"/> </VersionInfo> <BuildModes> <Item Name="Default" Default="True"/> </BuildModes> |
︙ | ︙ | |||
75 76 77 78 79 80 81 | <Filename Value="buildoutputwindow.pas"/> <IsPartOfProject Value="True"/> <ComponentName Value="BuildStatusWindow"/> <HasResources Value="True"/> <ResourceBaseClass Value="Form"/> <UnitName Value="BuildOutputWindow"/> </Unit> | < < < < < < < < | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | <Filename Value="buildoutputwindow.pas"/> <IsPartOfProject Value="True"/> <ComponentName Value="BuildStatusWindow"/> <HasResources Value="True"/> <ResourceBaseClass Value="Form"/> <UnitName Value="BuildOutputWindow"/> </Unit> </Units> </ProjectOptions> <CompilerOptions> <Version Value="11"/> <PathDelim Value="\"/> <Target> <Filename Value="groffstudio"/> |
︙ | ︙ |
Modified src/groffstudio.lpr from [6bd99be7bf] to [85befef33a].
︙ | ︙ | |||
21 22 23 24 25 26 27 | {$IFDEF UNIX} cthreads, {$ENDIF} {$IFDEF HASAMIGA} athreads, {$ENDIF} Interfaces, | | < < < < < < < < < | < | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | {$IFDEF UNIX} cthreads, {$ENDIF} {$IFDEF HASAMIGA} athreads, {$ENDIF} Interfaces, Forms, lazcontrols, Unit1, Helpers, BuildOutputWindow; {$R *.res} begin RequireDerivedFormResource:=True; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TMainForm, MainForm); Application.Run; end. |
Deleted src/splashscreen.lfm version [1492917ff1].
|
| < < < < < < < < < < < < < < < < < < < < |
Deleted src/splashscreen.pas version [a952d1c450].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Modified src/unit1.lfm from [8f95214e34] to [2d8e8a4496].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | object MainForm: TMainForm Left = 1073 Height = 692 Top = 99 Width = 847 Caption = 'groffstudio' ClientHeight = 692 ClientWidth = 847 DefaultMonitor = dmPrimary Position = poScreenCenter OnClose = FormClose OnCreate = FormCreate object MainStatusBar: TStatusBar Left = 0 Height = 23 Top = 669 Width = 847 | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | object MainForm: TMainForm Left = 1073 Height = 692 Top = 99 Width = 847 Caption = 'groffstudio' ClientHeight = 692 ClientWidth = 847 DefaultMonitor = dmPrimary Position = poScreenCenter LCLVersion = '3.99.0.0' OnClose = FormClose OnCreate = FormCreate object MainStatusBar: TStatusBar Left = 0 Height = 23 Top = 669 Width = 847 |
︙ | ︙ |
Modified src/unit1.pas from [5cfb67d430] to [cfe77c0b23].
︙ | ︙ | |||
98 99 100 101 102 103 104 | procedure SynEdit1Change(Sender: TObject); {$IFDEF DARWIN} procedure GetSocketHandler(Sender: TObject; const UseSSL: Boolean; out AHandler: TSocketHandler); {$ENDIF} private var currentGroffFilePath: String; var currentGroffFileName: String; | < > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > < < < < < < < < < < < < | < < < < < | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | procedure SynEdit1Change(Sender: TObject); {$IFDEF DARWIN} procedure GetSocketHandler(Sender: TObject; const UseSSL: Boolean; out AHandler: TSocketHandler); {$ENDIF} private var currentGroffFilePath: String; var currentGroffFileName: String; var unsavedChanges: Boolean; {$IFDEF WINDOWS} var latestGroffWindowsUrl: String; {$ENDIF} var storeBuildSettings: Boolean; var updateCheck: Boolean; public end; TDetectGroffThread = class(TThread) procedure Execute; Override; end; var MainForm: TMainForm; BuildWindow: TBuildStatusWindow; hasGroff: Boolean; implementation {$R *.lfm} procedure TDetectGroffThread.Execute; var GroffOutputVersion: String; begin FreeOnTerminate := True; {$IFDEF WINDOWS} if RunCommand('cmd', ['/c', 'troff --version'], GroffOutputVersion, [], swoHIDE) then {$ELSE} if RunCommand('/bin/sh', ['-c', 'troff --version'], GroffOutputVersion, [], swoHIDE) then {$ENDIF} begin MainForm.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 MainForm.edtGroffInstalledVersion.Text := 'n/a'; hasGroff := False; MainForm.lblTroffCommandNotFound.Visible := True; end; end; { TMainForm } procedure TMainForm.FormCreate(Sender: TObject); var OnlineVersionsFile: String; {$IFDEF WINDOWS} reGroffVersion: TRegExpr; {$ENDIF} reGroffStudioVersion: TRegExpr; FileVerInfo: TFileVersionInfo; HasVersionUpdate: Integer; GroffHelpers: TGroffHelpers; ResStream: TResourceStream; {$IFDEF DARWIN} HTTPClient: TFPHttpClient; {$ENDIF} begin // What's the current running groff version? TDetectGroffThread.Create(False); // Default file name currentGroffFileName := '[unsaved file]'; // Embed the license ResStream:= TResourceStream.Create(HInstance, 'LICENSE', RT_RCDATA); try |
︙ | ︙ |