home *** CD-ROM | disk | FTP | other *** search
- TV 1.03
- =======
-
-
- * TINPUTLI.CPP:
-
- BUG - When in overwrite mode at the end of the line,
- strange characters may be added to the end.
-
- change 244: if( (state & sfCursorIns) != 0 )
- 245: strcpy( data + curPos, data + curPos + 1 );
- 246: else
-
- into 244: if( (state & sfCursorIns) != 0 )
- 245: { if ( strlen(data) < maxLen ) strcpy( data + curPos, data + curPos + 1 ); }
- 246: else
-
-
- * TEDITOR2.CPP:
-
- BUG - change ushort TEditor::nextWord( ushort p )
- {
- while( p < bufLen && isWordChar(bufChar(p)) != 0 )
- p = nextChar(p);
- while( p < bufLen && isWordChar(bufChar(p)) == 0 )
- p = nextChar(p);
- return p;
- }
-
- into ushort TEditor::nextWord( ushort p )
- {
- if ( isWordChar(bufChar(p)) )
- while ( p < bufLen && isWordChar(bufChar(p)) ) p = nextChar(p);
- else p = nextChar(p);
-
- while( p < bufLen && ! isWordChar(bufChar(p)) ) p = nextChar(p);
-
- return p;
- }
-
-
- * TPARAMTE.CPP
-
- BUG - Displays garbage with format where sizeof() != 4.
-
- change 49: paramList = &rec;
- into 49: paramList = rec;
-
- * MSGBOX.CPP:
-
- BUG - messageBoxRect(), messageBox():
- add va_end( argptr );
-
- BUG - messageBoxRect(), messageBox():
- change va_start( argptr, aOptions )
- into va_start( argptr, fmt );
-
-
- Adapt input line length:
- inputBox(): change TRect r(0, 0, 60, 8);
- into ushort len = max( strlen(aLabel) + 9 + limit, strlen(Title) + 11 );
- len = min( len, 60 );
- len = max( len , 24 );
- TRect r(0, 0, len, 8);
-
- inputBoxRect(): change TRect( 4 + strlen(aLabel), 2, dialog->size.x - 3, 3 );
- into uchar x = 4 + strlen( aLabel );
- r = TRect( x, 2, min(x + limit + 2, dialog->size.x - 3), 3 );
-
-
- Center 'OK/Cancel' buttons:
- inputBoxRect(): change
- r = TRect( dialog->size.x - 24, dialog->size.y - 4,
- dialog->size.x - 14 , dialog->size.y - 2);
- into
- r = TRect( dialog->size.x / 2 - 11, dialog->size.y - 4,
- dialog->size.x / 2 - 1 , dialog->size.y - 2);
-
-
-
- * HELP.H : add '#define Uses_fpstream'
-
-
- * Wrong system error messages
- ===========================
-
- SYSTEM.H: BUG change errorString[14] into errorString[15]
-
- TVTEXT2.CPP: BUG
-
- change
-
- const char * const near TSystemError::errorString[] =
- {
- ...
- }
-
- into
-
- const char * const near TSystemError::errorString[] =
- {
- "Disk is write-protected in drive %c",
- "Critical disk error on drive %c", // unknown unit
- "Disk is not ready in drive %c",
- "Critical disk error on drive %c", // unknown command
- "Data integrity error on drive %c", // bad CRC
- "Critical disk error on drive %c", // bad request
- "Seek error on drive %c",
- "Unknown media type in drive %c",
- "Sector not found on drive %c",
- "Printer out of paper",
- "Write fault on drive %c",
- "Read fault on drive %c",
- "General failure on drive %c",
- "Bad memory image of FAT detected",
- "Device access error"
- // invalid disk change ??
- }
-
-
- * SYSERR.CPP:
-
- Drive letter in uppercase: change drive + 'a' into drive + 'A'
-
-
-
- * TWINDOW.CPP
-
- Allow use of arrows like Tab/shift-Tab.
-
- handleEvent(): after case kbTab:
- add case kbDown:
- case kbRight:
-
- after case kbShiftTab:
- add case kbUp:
- case kbLeft:
-
-