2021-09-21 19:49 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* source/server/letofunc.c
! fix invalid memory access on unterminated strings. When client
called Leto_SetPath( "dir", .T. /* default */ ) it resulted
in strlower/strcmp operations on unterminated string. These
happened with a path added before the .dbf file name was appended.
Random GPF's were spotted on database open/create. Looking for
similar code, i've added null-termination on index files too.
leto_OpenTable(), leto_CreateTable(), leto_OpenIndex(),
leto_CreateIndex() were patched.
; added a note on lock incompatibilty with DBFCDX
2021-09-21 08:41 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/server/leto_2.c
! fix/sort of a workaround quality
In certain conditions set up with Leto_ToggleZip( 1, "secret" )
which was enabling encryption for LZ4 code path: server still
sent out unencrypted packet. Client totally expects encrypted
here on the other hand.
2020-03-06 12:00 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* include/srvleto.h
* source/common/common_c.c
* added headers for specifying fd_set type, on Linux flavours
using musl libc they are in time.h
2019-10-22 19:00 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/server/letocl.c
! fixed C-API LetoDbCreateAlias() introduced in 2019-05-09 15:25,
this function created workarea alias identifier containing
invalid characters - in fact it was ".dbf" extension
2019-10-18 19:42 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/server/letofunc.c
+ support for getting and setting DBOI_RELKEYPOS added to
leto_OrderInfo() C-function. NOTE: although other index
setgets are implemented in leto_OrdFunc(), i've found the
former a cleaner place to work with.
* source/server/leto1.c
+ much useful for scrollbars, implemented client access to
index positioning functions:
DbOrderInfo( DBOI_RELKEYPOS, [<xOrd>], [<cIndexFile>] )
-> <nPos>
; returns a value between 0.0 and 1.0
DbOrderInfo( DBOI_RELKEYPOS, [<xOrd>], [<cIndexFile>], <nNewPos> )
; moves record pointer according to the value and recieve
field values in reply packet
2019-10-17 16:25 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/client/leto1.c
* source/client/letocl.c
* changed the default LETO RDD setting RDDI_REFRESHCOUNT from .T.
to .F. - as it is more reasonable performance default for
user code that is calling RecCount() in a loop. Previous default
generated significant amount of network packets for such (sometimes
common) code.
2019-10-17 16:09 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/client/leto1.c
! make RddInfo( RDDI_REFRESHCOUNT ) actually settable. It was stuck
with the default value
2019-10-16 22:10 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* source/client/leto1.c
! fix unsafe casting causing unrecoverable error when seeking
database opened in different codepage - client issue
Estou usando esse dai, tinha esquecido de avisar. Pois o do Elch está parado.
Saudações,
Itamar M. Lins Jr.