Synchronet v3.17b-Win32 (install) has been released (Jan-2019).

New Synchronet YouTube channel

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:source [2012/07/19 02:47]
digitalman [Run-time files] emphasis added
dev:source [2019/10/14 23:50] (current)
digital man [Run-time files] Change links to point to vert.synchro.net instead of bbs.synchro.net (where the legacy Web UI is still used)
Line 4: Line 4:
  
 ===== For Windows (32-bit x86) ===== ===== For Windows (32-bit x86) =====
-  * ''​sbbs_src.zip''​ [[ftp://​bbs.synchro.net/​Synchronet/​sbbs_src.zip|ftp]] [[http://​bbs.synchro.net/​Synchronet/​sbbs_src.zip|http]] +  * Latest successfully built code (nightly): ​''​[[ftp://​bbs.synchro.net/​Synchronet/​sbbs_src.zip|sbbs_src.zip]]''​ 
-  * ''​lib-win32.zip''​ [[ftp://bbs.synchro.net/​Synchronet/​lib-win32.zip|ftp]] [[http://​bbs.synchro.net/​Synchronet/​lib-win32.zip|http]]+  * Latest release (v3.16c) ''​[[ftp://​vert.synchro.net/​Synchronet/​ssrc316c.zip|ssrc316c.zip]]''​
  
-===== For Linux (32-bit x86) ===== +===== For Linux ===== 
-  * ''​sbbs_src.tgz''​ [[ftp://​bbs.synchro.net/​Synchronet/​sbbs_src.tgz|ftp]] [[http://​bbs.synchro.net/​Synchronet/​sbbs_src.tgz|http]] +  * Latest successfully built code (nightly): ​''​[[ftp://​bbs.synchro.net/​Synchronet/​sbbs_src.tgz|sbbs_src.tgz]]''​ 
-  * ''​lib-linux.tgz''​ [[ftp://bbs.synchro.net/​Synchronet/​lib-linux.tgz|ftp]] [[http://​bbs.synchro.net/​Synchronet/​lib-linux.tgz|http]]+  * Latest release (v3.16c) ''​[[ftp://​vert.synchro.net/​Synchronet/​ssrc316c.tgz|ssrc316c.tgz]]''​
  
-===== For Linux (64-bit x64) ===== +===== Style =====  
-  * ''​sbbs_src.tgz''​ [[ftp://bbs.synchro.net/Synchronet/sbbs_src.tgz|ftp]] [[http://bbs.synchro.net/Synchronet/​sbbs_src.tgz|http]] +At this time, the Synchronet C/C++ source code consists of a variety of styles (i.enaming, white-space,​ etc.). The most obvious distinction in style is that //older// code uses a more condensed/terse style (i.efor maximum content in an 80x25 terminal) while //newer// or refactored code uses a more verbose/readable styleA project-wide source code beautification effort (using ''​uncrustify''​) is planned.
-  * ''​lib-linux-x64.tgz''​ [[ftp://ftp.synchro.net/lib-linux-x64.tgz|ftp]] [[http://bbs.synchro.net/​Synchronet/​lib-linux-x64.tgz|http]]+
  
 +==== Tabs ====
 +The tab character (ASCII 9) is used for indentation and alignment in most files (e.g. ''​*.c,​ *.cpp, *.h, *.js''​),​ however the use of tabs for indentation and spaces for alignment is also acceptable. Using spaces for indentation is not acceptable.
 +
 +Most Synchronet source files are created and edited using text editors configured for 4-space tab-stops. This tab preference is reflected in the "​@format.tab-size 4" and "​@format.use-tabs true" blurb in each file's header-comment block as well as the ''​[[http://​editorconfig.org|.editorconfig]]''​ file found in the Synchronet ''​src''​ and ''​[[dir:​exec]]''​ directories. If you use a text viewer or editor that supports the ''​.editorconfig''​ file or [[http://​synchro.net/​ptsc_hdr.html|PT/​SC (@format...) headers]], the Synchronet source files should display and edit as intended, automatically.
 +
 +=== Vim ===
 +If you use the [[https://​www.vim.org/​|Vim]] text editor, consider installing [[https://​www.vim.org/​scripts/​script.php?​script_id=4122|this plugin]] to enable support for the PT/SC headers found in Synchronet source files, to automatically set the tab-stops accordingly when editing Synchronet source files.
 +
 +==== C99 ====
 +Most of the C/C++ source code is built using only compilers support C99 and newer standards, however some libraries (e.g. ''​xpdev''​),​ are still built using older (Borland) C compilers that do not support the full C99 standard. For those Synchronet libraries, care must be taken to *not* use newer C language constructs and standard library functions/​types.
  
 ===== Run-time files ===== ===== Run-time files =====
  
-While technically not source code, if you have not already //​installed//​ Synchronet, you will also need the run-time files:+While technically not source code, if you have not already //​installed//​ Synchronet, you will also need the run-time files (the ''​.zip''​ file contains files with Windows style line endings, while the ''​.tgz''​ contains files with Unix style line endings):
  
-  * ''​sbbs_run.tgz''​ [[ftp://bbs.synchro.net/​Synchronet/​sbbs_run.tgz|ftp]] [[http://bbs.synchro.net/​Synchronet/​sbbs_run.tgz|http]]+  * ''​sbbs_run.tgz''​ [[ftp://vert.synchro.net/​Synchronet/​sbbs_run.tgz|ftp]] [[http://vert.synchro.net/​Synchronet/​sbbs_run.tgz|http]] 
 +  * ''​sbbs_run.zip''​ [[ftp://​vert.synchro.net/​Synchronet/​sbbs_run.zip|ftp]] [[http://​vert.synchro.net/​Synchronet/​sbbs_run.zip|http]]
  
 ===== See Also ===== ===== See Also =====
Line 28: Line 38:
   * [[history:​development|Development History]]   * [[history:​development|Development History]]
   * [[dev:​|Development Index]]   * [[dev:​|Development Index]]
 +  * [[:​install:​nix|UNIX Installation]]
   ​   ​
    
    
  

In Other Languages