- 23 May, 2021 1 commit
-
-
Rob Swindell authored
Resolve error reported on irc with Ubuntu (don't know what version): <rjwboys> ok now i get filedat.c:896:3: error: unknown type name ‘la_int64_t’
-
- 16 May, 2021 2 commits
-
-
Rob Swindell authored
CID 330960, 330967, 330988
-
Rob Swindell authored
This may have contributed to plt's file editing woes.
-
- 13 May, 2021 3 commits
-
-
Rob Swindell authored
Do this in JS and use JSON for format instead of .ini.
-
Rob Swindell authored
This was really slowing down the upgrade_to_v319 and there's no current consumer of the data. Consider adding back in JSON format later or just leave it to JS things to use for JSON-formatted metadata.
-
Rob Swindell authored
Don't use iniSet* since we know we're not updating existing ini entries. Use strListAppendFormat() instead.
-
- 05 May, 2021 1 commit
-
-
Rob Swindell authored
-
- 04 May, 2021 1 commit
-
-
Rob Swindell authored
Some archives contain exactly the same files as others, but in a different order. Believe it or not.
-
- 03 May, 2021 1 commit
-
-
Rob Swindell authored
e.g. when using the JS FileBase.update() method
-
- 02 May, 2021 1 commit
-
-
Rob Swindell authored
This will allow fast/easy display of archive contents without actually reading the archive files. Introduces some new functions: - list_archive_contents() - smb_adddfile_withlist() A new SMB convenience variable ("tail", aliased as "content" for a file). A new file detail level ("file_detail_content", exposed in JS as FileBase.DETAIL.CONTENTS) which adds a "content" array property to file metadata objects for JS FileBase.get(). Files already added to the new filebases won't have this archive content automatically - I'm looking into that now (likely a new or updated JS script to run).
-
- 25 Apr, 2021 1 commit
-
-
Rob Swindell authored
-
- 24 Apr, 2021 1 commit
-
-
Rob Swindell authored
Inspired by Blocktronics (and other ANSI art group) packs' FILE_ID.DIZ/ANS files: * Support (and prioritize) FILE_ID.ANS * Convert ANSI color/attribute sequences in DIZ files to Ctrl-A equivalent (uses SAUCE width and ICE color, if specified) * Don't treat DIZ as a series of lines, they're not always nowadays. * New putmsg() mode: P_INDENT to print files indented by current column * Display full (up to 64-char) filenames in lists when using 132+ column terminal. * Use the Author, Group, and Title fields from the SAUCE if present/non-blank * 2 new text.dat strings: 301 (FiAuthor) and 302 (FiGroup) * Also fix bug with repeated Cost header field on bulk-uploaded files. I know this'll break the *nix build (sauce.c dependency), but I'll fix that next.
-
- 22 Apr, 2021 2 commits
-
-
Rob Swindell authored
-
Rob Swindell authored
Increase total extended description length from 1024 to 4000 characters. Perhaps this should be configurable?
-
- 21 Apr, 2021 1 commit
-
-
Rob Swindell authored
Extracting a file_id.diz would fail if the file contained any disallowed filenames before the DIZ, e.g.: Error: disallowed filename '_blockmen_res[v]olution.ans' (after extracting 0 items successfully)
-
- 17 Apr, 2021 1 commit
-
-
Rob Swindell authored
I forget who it was that said they were still using this feature in v3.18, but here you go, it's working again (the /D and /U commands). I'm not migrating any file sender/recipient info from v3.18, so only files added after upgrading to this will be downloadable from the "user" directory (if you have one). Something that I never implemented before but noticed is missing is the removal (or dereferencing) of user-to-user files that were sent from/to a user that is then deleted. So that's still a TODO item.
-
- 08 Apr, 2021 1 commit
-
-
Rob Swindell authored
When only reading the index (detail = file_detail_index), smb_getfile() just sets the file->name convenience pointer to point to the name in the index. Then when loadfiles() would sort the list, these pointers would not be adjusted (so they would point to the wrong names) resulting in a corrupted file list (e.g. name/size mismatches and no logical sort order). The solution is to call smb_getfile() on each file *after* the read index records have been sorted. This also means that the sort-by-name routines needed to always sort using the index name and not the convenience pointer (which is NULL in this case). While fixing this, I noticed there was no bounds checking in the loadfiles() and loadfilenames() read-loops, so if the indexes happened to be longer than the total_files value from the status header, a buffer under-alloc/overflow would occur and a likely crash as a result. So stop reading the index when the expected maximum number of index records have been read.
-
- 04 Apr, 2021 2 commits
-
-
Rob Swindell authored
Hopefully this will eliminate the "Dereference after null check" warnings by Coverity (e.g. CID 330993).
-
Rob Swindell authored
This won't impact Synchronet as it has a separate signal handling thread, but we still need to behave properly for processes that don't. I'm also saying that ENOMEM does not indicate a disconnection, though it may be better to pretend it was disconnected...
-
- 23 Nov, 2020 1 commit
-
-
Rob Swindell authored
The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down. I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit. There is no functional change in behavior in this comment.
-
- 01 Nov, 2020 1 commit
-
-
Rob Swindell authored
Don't let ANSI terminal control sequence, e.g. from 1337 FILE_ID.DIZs, leak into file descriptions.
-
- 16 Aug, 2020 1 commit
-
-
Rob Swindell authored
-
- 12 Jan, 2019 1 commit
-
-
rswindell authored
rather than calling both flength() and fdate() (which both call stat()), just call stat() once and use the result for both file size and date/time.
-
- 17 Mar, 2018 1 commit
-
-
rswindell authored
-
- 20 Feb, 2018 1 commit
-
-
rswindell authored
-
- 03 Jun, 2017 1 commit
-
-
rswindell authored
This should fix KK4QBN's problem with Windows->Linux migration of file bases of Nighowl CDs (where the files.bbs contain lowercase filenames, but the files themselves are uppercase).
-
- 19 Oct, 2011 1 commit
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t).
-
- 06 Aug, 2011 1 commit
-
-
rswindell authored
place (e.g. the file was probably already uploaded to disk).
-
- 06 Mar, 2010 1 commit
-
-
rswindell authored
inserting (long) typedefs to prevent warnings, but in the case of the JS File() class, actually supporting file lengths > 32-bit.
-
- 11 Jun, 2009 1 commit
-
-
rswindell authored
file) case-insensitively.
-
- 20 Mar, 2009 1 commit
-
-
rswindell authored
-
- 04 Jun, 2008 1 commit
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- 27 Jan, 2008 1 commit
-
-
rswindell authored
-
- 25 Aug, 2007 1 commit
-
-
rswindell authored
enables read & write permissions for user & group & others.
-
- 08 Jul, 2007 1 commit
-
-
deuce authored
-
- 29 Dec, 2006 1 commit
-
-
rswindell authored
FTP server to update date downloaded field).
-
- 20 Sep, 2005 1 commit
-
-
deuce authored
-
- 13 May, 2005 1 commit
-
-
rswindell authored
(sizeof returns 4).
-
- 07 May, 2005 1 commit
-
-
rswindell authored
temp_uler string over-writes f.dir and other stuff. Man I can't wait to nuke this code! Blechy! Pew!
-
- 30 May, 2004 1 commit
-
-
deuce authored
-