Check-in [4e13e6e703]
Not logged in

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

Overview
Comment:Findable path for new images
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4e13e6e7036dde1d8496d40f0e2f290872e41582
User & Date: bernd 2019-11-28 17:04:30
Context
2019-11-30
22:46
Elaborate social network stuff check-in: b0f6281680 user: bernd tags: trunk
2019-11-28
17:04
Findable path for new images check-in: 4e13e6e703 user: bernd tags: trunk
16:54
Typo check-in: 2efb192efa user: bernd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to gui.fs.

439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
: read-avatar ( addr u -- addr' u' )
    ?read-enc-hashed mem>thumb atlas-region ;
Variable user-avatar#
Variable dummy-thumb#
Variable user.png$
Variable thumb.png$
: read-user.png ( -- )
    "doc/user.png" open-fpath-file throw 2drop
    dup >r user.png$ $slurp r> close-file throw ;
: read-thumb.png ( -- )
    "doc/thumb.png" open-fpath-file throw 2drop
    dup >r thumb.png$ $slurp r> close-file throw ;
: user-avatar ( -- addr )
    user-avatar# @ 0= IF
	read-user.png user.png$ $@ mem>thumb atlas-region
	user-avatar# $!
    THEN   user-avatar# $@ drop ;
: dummy-thumb ( -- addr )







|


|







439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
: read-avatar ( addr u -- addr' u' )
    ?read-enc-hashed mem>thumb atlas-region ;
Variable user-avatar#
Variable dummy-thumb#
Variable user.png$
Variable thumb.png$
: read-user.png ( -- )
    "net2o/doc/user.png" open-fpath-file throw 2drop
    dup >r user.png$ $slurp r> close-file throw ;
: read-thumb.png ( -- )
    "net2o/doc/thumb.png" open-fpath-file throw 2drop
    dup >r thumb.png$ $slurp r> close-file throw ;
: user-avatar ( -- addr )
    user-avatar# @ 0= IF
	read-user.png user.png$ $@ mem>thumb atlas-region
	user-avatar# $!
    THEN   user-avatar# $@ drop ;
: dummy-thumb ( -- addr )

Changes to wiki/commands.md.

1
2
3
4
5
6
7
8
9
10
# Commands #

Version 0.9.4-20191121.

net2o separates data and commands.  Data is passed through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64


|







1
2
3
4
5
6
7
8
9
10
# Commands #

Version 0.9.4-20191128.

net2o separates data and commands.  Data is passed through to higher
layers, commands are interpreted when they arrive.  For connection
requests, a special bit is set, and the address then isn't used as
address, but as IV for the opportunistic encoding.

The command interpreter is a stack machine with two data types: 64