Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
646d1aac
Commit
646d1aac
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Fix JSDOC property descriptions
Add some missing descriptions, fix the order of others.
parent
1930b79c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/js_filebase.c
+2
-0
2 additions, 0 deletions
src/sbbs3/js_filebase.c
src/sbbs3/js_internal.c
+5
-5
5 additions, 5 deletions
src/sbbs3/js_internal.c
src/sbbs3/js_system.c
+1
-0
1 addition, 0 deletions
src/sbbs3/js_system.c
with
8 additions
and
5 deletions
src/sbbs3/js_filebase.c
+
2
−
0
View file @
646d1aac
...
@@ -1849,6 +1849,8 @@ static char* filebase_sort_prop_desc[] = {
...
@@ -1849,6 +1849,8 @@ static char* filebase_sort_prop_desc[] = {
"Filename descending, case sensitive sort order"
,
"Filename descending, case sensitive sort order"
,
"Import date/time ascending sort order"
,
"Import date/time ascending sort order"
,
"Import date/time descending sort order"
,
"Import date/time descending sort order"
,
"File size in bytes, ascending sort order"
,
"File size in bytes, descending sort order"
,
NULL
NULL
};
};
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/js_internal.c
+
5
−
5
View file @
646d1aac
...
@@ -223,11 +223,6 @@ static char* prop_desc[] = {
...
@@ -223,11 +223,6 @@ static char* prop_desc[] = {
,
"Option flags - <small>READ ONLY</small>"
,
"Option flags - <small>READ ONLY</small>"
,
"Do callbacks after script finishes running"
,
"Do callbacks after script finishes running"
/* New properties go here... */
/* New properties go here... */
,
"Full path and filename of JS file executed"
,
"JS filename executed (with no path)"
,
"Directory of executed JS file"
,
"Either the configured startup directory in SCFG (for externals) or the cwd when jsexec is started"
,
"Global scope for this script"
,
"load() search path array.<br>For relative load paths (e.g. not beginning with '/' or '
\\
'), "
,
"load() search path array.<br>For relative load paths (e.g. not beginning with '/' or '
\\
'), "
"the path is assumed to be a sub-directory of the (configurable) mods or exec directories "
"the path is assumed to be a sub-directory of the (configurable) mods or exec directories "
"and is searched accordingly. "
"and is searched accordingly. "
...
@@ -236,6 +231,11 @@ static char* prop_desc[] = {
...
@@ -236,6 +231,11 @@ static char* prop_desc[] = {
"exec/load/somefile.js<br>"
"exec/load/somefile.js<br>"
"mods/somefile.js<br>"
"mods/somefile.js<br>"
"exec/somefile.js<br>"
"exec/somefile.js<br>"
,
"Full path and filename of JS file executed"
,
"JS filename executed (with no path)"
,
"Directory of executed JS file"
,
"Either the configured startup directory in SCFG (for externals) or the cwd when jsexec is started"
,
"Global scope for this script"
,
NULL
,
NULL
};
};
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/js_system.c
+
1
−
0
View file @
646d1aac
...
@@ -484,6 +484,7 @@ static char* sys_prop_desc[] = {
...
@@ -484,6 +484,7 @@ static char* sys_prop_desc[] = {
,
"Operator is available for chat"
,
"Operator is available for chat"
,
"System QWK-ID (for QWK packets)"
,
"System QWK-ID (for QWK packets)"
,
"Settings bitfield (see <tt>SYS_*</tt> in <tt>sbbsdefs.js</tt> for bit definitions)"
,
"Settings bitfield (see <tt>SYS_*</tt> in <tt>sbbsdefs.js</tt> for bit definitions)"
,
"Login control settings bitfield (see <tt>LOGIN_*</tt> in <tt>sbbsdefs.js</tt> for bit definitions)"
,
"Internet address (host or domain name)"
,
"Internet address (host or domain name)"
,
"Location (city, state)"
,
"Location (city, state)"
,
"Timezone (use <i>system.zonestr()</i> to get string representation)"
,
"Timezone (use <i>system.zonestr()</i> to get string representation)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment