proto-verse / anomalyjobs

Automatically exported from code.google.com/p/anomalyjobs
0 stars 0 forks source link

PennMUSH Compatibility for 5.2 release #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To support PennMUSH compatibility in the 5.2 release, the following changes
are required.

1. Either @swtich during install (if @setting) or @edit after install (if
inside attribute):
- @lock/SpeechLock --> @lock/Speech
- COMMANDS --> !NO_COMMAND and !COMMANDS --> NO_COMMAND
- HALTED --> HALT
- INHERIT --> WIZARD

2. move server-specific functions to softcode functions and switch based on
version().
- FN_COLUMNS would direct to either columns() or a Penn equivalent with
align or table
- FN_STRTRUNC would direct to either strtrunc() or Penn's left()
- FN_CENTERTRUNC in some cases of center() to center(left())

3. replace server-specific functions with cross-platform equivalents:
- list(<list>, <eval>) --> [iter(<list>, <eval>, %B, %R)]%R
- get() which could produce null math arguments replaced with default()
- trace math on fdiv() vs. div() in ART calcs. A round(fdiv(),0) will
probably work for both.
- Replace whitspace with %B if needed for arguments
- orflags(...WZ) --> or(hasflag(...wizard),hasflag(...royalty))

4. sort comment attributes numerically. Required on Penn. Won't hurt MUX to
re-sort a sorted list.

5. version() based switch in Job Tracker's TRIG_MAIL

6. version() based switch for TRIG_LOG @logging (Penn's /cmd log for now,
emitting this exception to the installer.)

7. version() based @restart or @shutdown/reboot (should PROMPT rather than
execute?)

8. version() based @daily vs. &daily (and emit syntax to link to a CRON object)

9. version() based search() syntax for the bbpocket search.

10. version() based &JOBSH me=, &JOBSB me=, etc. at the end (Penn version
has no =)

11. Replace pie charts with bar graphs per issue 24.  Preserve pie chart
code as an (optional, unsupported) addon.

12. Thoroughly review use of @wait/@notify and determine appropriate
compatible settings or substitutions for fractional wait times.

Original issue reported on code.google.com by widdis@gmail.com on 11 Dec 2009 at 12:14

GoogleCodeExporter commented 9 years ago
Add to 2. above:

- pack() --> baseconv()
- hasattr() --> hasattrval(), and hasattrp() --> hasattrvalp()
- trim() --> trimtiny()

Original comment by widdis@gmail.com on 11 Dec 2009 at 1:10

GoogleCodeExporter commented 9 years ago
Completed: 1 (r60, r61, r62, r63), 5 (r64), 6 with no emit (r65), 7 (r66), and 
9 (all
instances of search()) (r67).

Original comment by widdis@gmail.com on 11 Dec 2009 at 9:55

GoogleCodeExporter commented 9 years ago
10. is a nofix; compatibility issue will be solved by hasattr() to hasattrval()
conversion.

Original comment by widdis@gmail.com on 11 Dec 2009 at 9:57

GoogleCodeExporter commented 9 years ago
Completed: 2 (r73, r74, r75, r76, r77, r78), 3 (r70, r71, r72), 4 (r68), 8 
(r69), and
both pie chart versions (r79).

All that remains is replacing fractional @waits with appropriate integer 
equivalents

Original comment by widdis@gmail.com on 12 Dec 2009 at 1:07

GoogleCodeExporter commented 9 years ago
12. @waits thoroughly reviewed.  Penn updates complete, ready for testing.

Original comment by widdis@gmail.com on 12 Dec 2009 at 2:19