Fresh IDE . Check-in [932014c493]
Not logged in

This repository is a mirror!

The original is located on: https://fresh.flatassembler.net/fossil/repo/fresh
If you want to follow the project, please update your remote-url

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added FixedSys Excelsior font to the themes. All themes set to use the builtin fonts.
Timelines: family | ancestors | descendants | both | latest_freshlib
Files: files | file ages | folders
SHA1:932014c493edc0e799541f87bec86b0f152ebd0e
User & Date: johnfound 2019-07-07 19:02:14
Context
2019-07-07
19:42
Merged with latest_freshlib branch. Preparations for release. Some more tests are needed. check-in: 84acad18c1 user: johnfound tags: trunk
19:02
Added FixedSys Excelsior font to the themes. All themes set to use the builtin fonts. Leaf check-in: 932014c493 user: johnfound tags: latest_freshlib
2019-07-06
17:22
Added built-in fonts for more predictable appearance of the themes. Some work on the themes. check-in: abf3133606 user: johnfound tags: latest_freshlib
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to IDE/themes/Black&White.theme.

1
2
3
4
5
6
7
8
9
Theme.FontFace = Fixedsys
Theme.FontSize = -12
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 35
'Theme.Colors.Default text' = 00C0C0C0h
'Theme.Colors.Default background' = 00000000h
'Theme.Colors.Selected text' = 00000000h
|
|







1
2
3
4
5
6
7
8
9
Theme.FontFace = 'Fixedsys Excelsior 3.01'
Theme.FontSize = -16
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 35
'Theme.Colors.Default text' = 00C0C0C0h
'Theme.Colors.Default background' = 00000000h
'Theme.Colors.Selected text' = 00000000h

Changes to IDE/themes/Classic.theme.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Theme.FontFace = Fixedsys
Theme.FontSize = -12
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 39
'Theme.Colors.Default text' = 00FFFFFFh
'Theme.Colors.Default background' = 00701919h
'Theme.Colors.Selected text' = 00000000h
'Theme.Colors.Selected background' = 00C0C0C0h
'Theme.Colors.Focused line text' = 00000000h
'Theme.Colors.Focused line background' = 00FFFF00h
'Theme.Colors.Left margin background' = 00C0C0C0h
'Theme.Colors.Left margin border' = 00C0C0C0h
'Theme.Colors.Read-only text color' = 00808080h
'Theme.Colors.Read-only background' = 00800000h
'Theme.Colors.Assembler directive' = 00C0FF00h
'Theme.Colors.Preprocessor directive' = 00FF00FFh
Theme.Colors.Instruction = 0000D7FFh
Theme.Colors.Register = 0000FF00h
Theme.Colors.Symbol = 00D0D0D0h
Theme.Colors.Number = 00FFA0C8h
Theme.Colors.String = 00FFFF00h
Theme.Colors.Comment = 00A0A0A0h
|
|
|













|




|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Theme.FontFace = 'Liberation Mono Asm'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 39
'Theme.Colors.Default text' = 00FFFFFFh
'Theme.Colors.Default background' = 00701919h
'Theme.Colors.Selected text' = 00000000h
'Theme.Colors.Selected background' = 00C0C0C0h
'Theme.Colors.Focused line text' = 00000000h
'Theme.Colors.Focused line background' = 00FFFF00h
'Theme.Colors.Left margin background' = 00C0C0C0h
'Theme.Colors.Left margin border' = 00C0C0C0h
'Theme.Colors.Read-only text color' = 00808080h
'Theme.Colors.Read-only background' = 00800000h
'Theme.Colors.Assembler directive' = 0000FF00h
'Theme.Colors.Preprocessor directive' = 00FF00FFh
Theme.Colors.Instruction = 0000D7FFh
Theme.Colors.Register = 0000FF00h
Theme.Colors.Symbol = 00D0D0D0h
Theme.Colors.Number = 00FFFF80h
Theme.Colors.String = 00FFFF00h
Theme.Colors.Comment = 00A0A0A0h

Changes to IDE/themes/Hackerz.theme.

1
2
3
4
5
6
7
8
9
Theme.FontFace = Fixedsys
Theme.FontSize = -13
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 35
'Theme.Colors.Default text' = 00D0D0D0h
'Theme.Colors.Default background' = 00002000h
'Theme.Colors.Selected text' = 00000000h
|
|







1
2
3
4
5
6
7
8
9
Theme.FontFace = 'Fixedsys Excelsior 3.01'
Theme.FontSize = -16
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 35
'Theme.Colors.Default text' = 00D0D0D0h
'Theme.Colors.Default background' = 00002000h
'Theme.Colors.Selected text' = 00000000h

Changes to IDE/themes/Solarized.theme.

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; violet    $c4716c
; blue	    $d28b26
; cyan	    $98a12a
; green     $009985

Theme.Name = 'Solarized light'

Theme.FontFace = Consolas
Theme.FontSize = -15
Theme.FontWeight = 400
Theme.FontItalic = 0
Theme.FontCharset = 204
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 00837b65h		; base00
'Theme.Colors.Default background' = 00e3f6fdh	; base3
'Theme.Colors.Selected text' = 00837b65h	; base00
'Theme.Colors.Selected background' = 0bed4dbh   ; ???
'Theme.Colors.Focused line text' = 00e3f6fdh	; base3
'Theme.Colors.Focused line background' = $2f32dc	; red
'Theme.Colors.Left margin background' = 00e3f6fdh	; base3
'Theme.Colors.Left margin border' = 00969483h		; base0
'Theme.Colors.Read-only text color' = 00C0C0C0h
'Theme.Colors.Read-only background' = 00e3f6fdh

'Theme.Colors.Assembler directive' = 00c4716ch		; violet
'Theme.Colors.Preprocessor directive' = 00164bcbh	; orange
Theme.Colors.Instruction = 00009985h			; green
Theme.Colors.Register = 00d28b26h	; blue
Theme.Colors.Symbol = 00756e58h         ; base01

Theme.Colors.Number = 0098a12ah		; cyan
Theme.Colors.String = 008236d3h		; magenta
Theme.Colors.Comment = 00a0a093h	







|

|

|


|
|
|
|
|
|
|
|

|

|
|
|
|
|

|
|
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; violet    $c4716c
; blue	    $d28b26
; cyan	    $98a12a
; green     $009985

Theme.Name = 'Solarized light'

Theme.FontFace = 'Liberation Mono Asm'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 00837B65h
'Theme.Colors.Default background' = 00E3F6FDh
'Theme.Colors.Selected text' = 00837B65h
'Theme.Colors.Selected background' = 00BED4DBh
'Theme.Colors.Focused line text' = 00E3F6FDh
'Theme.Colors.Focused line background' = 002F32DCh
'Theme.Colors.Left margin background' = 00E3F6FDh
'Theme.Colors.Left margin border' = 00969483h
'Theme.Colors.Read-only text color' = 00C0C0C0h
'Theme.Colors.Read-only background' = 00E3F6FDh

'Theme.Colors.Assembler directive' = 00C4716Ch
'Theme.Colors.Preprocessor directive' = 00164BCBh
Theme.Colors.Instruction = 00009985h
Theme.Colors.Register = 00D28B26h
Theme.Colors.Symbol = 00756E58h

Theme.Colors.Number = 0098A12Ah
Theme.Colors.String = 008236D3h
Theme.Colors.Comment = 00A0A093h

Changes to IDE/themes/SolarizedDark.theme.

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
; violet    $c4716c
; blue	    $d28b26
; cyan	    $98a12a
; green     $009985

Theme.Name = "Solarized dark"

Theme.FontFace = Consolas
Theme.FontSize = -15
Theme.FontWeight = 600
Theme.FontItalic = 0
Theme.FontCharset = 204
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 0093A1A1h
'Theme.Colors.Default background' = 00002B36h
'Theme.Colors.Selected text' = 00002B36h
'Theme.Colors.Selected background' = 00839496h
'Theme.Colors.Focused line text' = 00002B36h







|

|

|







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
; violet    $c4716c
; blue	    $d28b26
; cyan	    $98a12a
; green     $009985

Theme.Name = "Solarized dark"

Theme.FontFace = 'Liberation Mono Asm'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 0093A1A1h
'Theme.Colors.Default background' = 00002B36h
'Theme.Colors.Selected text' = 00002B36h
'Theme.Colors.Selected background' = 00839496h
'Theme.Colors.Focused line text' = 00002B36h

Changes to IDE/themes/Vibrant.theme.

1
2
3
4
5
6
7
8
9
10
11
12
Theme.Name = "Vibrant ink"

Theme.FontFace = 'Source Code Pro Medium'
Theme.FontSize = -15
Theme.FontWeight = 500
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 00FFFFFFh
'Theme.Colors.Default background' = 00000000h
'Theme.Colors.Selected text' = 008000FFh


|

|







1
2
3
4
5
6
7
8
9
10
11
12
Theme.Name = "Vibrant ink"

Theme.FontFace = 'Liberation Mono Asm'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55

'Theme.Colors.Default text' = 00FFFFFFh
'Theme.Colors.Default background' = 00000000h
'Theme.Colors.Selected text' = 008000FFh

Changes to IDE/themes/Windows.theme.

1
2
3
4
5
6
7
8
Theme.FontFace = 'Courier New'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55
'Theme.Colors.Default text' = 00400000h
'Theme.Colors.Default background' = 00FFFFFFh
|







1
2
3
4
5
6
7
8
Theme.FontFace = 'Liberation Mono Asm'
Theme.FontSize = -15
Theme.FontWeight = 700
Theme.FontItalic = 0
Theme.FontCharset = 0
Theme.EditorStyle = 55
'Theme.Colors.Default text' = 00400000h
'Theme.Colors.Default background' = 00FFFFFFh

Added IDE/themes/fonts/FixedSysExcelsior.ttf.

cannot compute difference between binary files

Changes to source/EditPathsOptions.frm.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;<ff
Window frmIDEOptions, 3, 0, 'TForm', 'Aliases', $56000000, $10000, 0, 551, 273, 320, 275, IDEOptionsProc;
Window NONE, 0, 4, 'SysListView32', 'ListView', $5401800D, $200, 103, 0, 48, 312, 200, 0;
Window NONE, 0, 0, 'STATIC', 'A&liases:', $54000200, $0, 99, 8, 4, 64, 19, 0;
Window NONE, 0, 0, 'BUTTON', '&Add', $54018000, $0, 100, 96, 8, 64, 19, 0;
Window NONE, 0, 0, 'BUTTON', '&Remove', $54018000, $0, 101, 168, 8, 64, 19, 0;
Window NONE, 2, 0, 'BUTTON', '&Edit', $54018000, $0, 102, 240, 8, 64, 19, 0;
;ff>

iglobal
  SplitStart AliasLayout
    Split stVert or stJustGap, 8, 19, 0, 100
      Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
        Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
          Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
            Cell cellLabel
            Cell cellBtnAdd
          Cell cellBtnRemove
        Cell cellBtnEdit




|
|
|




|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;<ff
Window frmIDEOptions, 3, 0, 'TForm', 'Aliases', $56000000, $10000, 0, 551, 273, 320, 275, IDEOptionsProc;
Window NONE, 0, 4, 'SysListView32', 'ListView', $5401800D, $200, 103, 0, 48, 312, 200, 0;
Window NONE, 0, 0, 'STATIC', 'A&liases:', $54000200, $0, 99, 8, 4, 64, 19, 0;
Window NONE, 0, 0, 'BUTTON', '&Add', $54010000, $0, 100, 96, 8, 64, 19, 0;
Window NONE, 0, 0, 'BUTTON', '&Remove', $54010000, $0, 101, 168, 8, 64, 19, 0;
Window NONE, 2, 0, 'BUTTON', '&Edit', $54010000, $0, 102, 240, 8, 64, 19, 0;
;ff>

iglobal
  SplitStart AliasLayout
    Split stVert or stJustGap, 8, 24, 0, 100
      Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
        Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
          Split stHoriz or stOriginBR or stJustGap, 8, 64, 0, 100
            Cell cellLabel
            Cell cellBtnAdd
          Cell cellBtnRemove
        Cell cellBtnEdit

Changes to source/ideparams.asm.

180
181
182
183
184
185
186

187
188
189
190
191
192






193
194
195
196
197
198
199

.set_win_browser:
; set Windows browser...

        lea     eax, [.key]
        invoke  RegOpenKeyExW, HKEY_CLASSES_ROOT, cHTTPOpenCommand, 0, KEY_QUERY_VALUE, eax


        lea     eax, [.data]
        lea     ecx, [.len]
        invoke  RegQueryValueExW, [.key], 0, 0, 0, eax, ecx

; search the path for the filename...







        lea     eax, [.data]
        stdcall WideCharToUtf8, eax
        push    eax

        stdcall StrSplitList, eax, ' ', FALSE
        stdcall StrDel ; from the stack








>






>
>
>
>
>
>







180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206

.set_win_browser:
; set Windows browser...

        lea     eax, [.key]
        invoke  RegOpenKeyExW, HKEY_CLASSES_ROOT, cHTTPOpenCommand, 0, KEY_QUERY_VALUE, eax

        mov     [.len], 1020
        lea     eax, [.data]
        lea     ecx, [.len]
        invoke  RegQueryValueExW, [.key], 0, 0, 0, eax, ecx

; search the path for the filename...

        test    eax, eax
        jnz     .end_first_time

        mov     eax, [.len]
        and     dword [.data+eax], 0

        lea     eax, [.data]
        stdcall WideCharToUtf8, eax
        push    eax

        stdcall StrSplitList, eax, ' ', FALSE
        stdcall StrDel ; from the stack