removed obsolete docs

This commit is contained in:
Samuel D. Crow 2021-03-11 21:59:00 -06:00
parent 301018f1fd
commit db06b3bf62
4 changed files with 0 additions and 203 deletions

View File

@ -1,65 +0,0 @@
1. check AutoFooter if all files are there, add new files when necessary
2. generate flex.c and bison.c by typing:
flex -i -I -L -s -t yabasic.flex >flex.c
perl -i -n -e 'if (!/^\#include\s+<unistd.h>\s+$$/) {print if $$i;$$i++}' flex.c
bison -d -l -t -v --output-file bison.c yabasic.bison
3. edit flex.c as follows:
- add the headers (after #include<stdio.h>) and the static declaration
#include <zlib.h>
#include "program.h"
static int isparsed = 0;
- replace the default input buffer size
#define YY_BUF_SIZE 16384
with
#define YY_BUF_SIZE PROGLEN
- search for
#define YY_INPUT(buf,result,max_size) \
replace the last lines of this define
else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
&& ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
with
else if ( ((result = zread( buf, 1, max_size, yyin )) == 0) && !ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" );
- add to the function
static int yy_get_next_buffer()
after
int ret_val;
the following line
if(isparsed) return EOB_ACT_END_OF_FILE;
- add the function zread at the end of flex.c:
int zread(char* dest, size_t memb_size, size_t num_memb, FILE *file)
{
long destlen = PROGLEN;
if(isparsed==1)
return 0;
isparsed = 1;
uncompress(dest,&destlen,myProg,sizeof(myProg));
return destlen;
}
- NOTE: you only have to go through this process when new commands have been added to
yabasic.flex. Otherwise you can just take the modified flex.c from the last BuildFactory.
4. edit main.c as follows:
- search for the function
int isbound(void)
delete the whole function and replace it with:
int isbound(void)
{
FILE *interpreter;
if (!interpreter_path || !interpreter_path[0]) {
error(FATAL,"interpreter_path is not set !");
return 0;
}
if (!(interpreter=fopen(interpreter_path,"r"))) {
sprintf(string,"Couldn't open '%s' to check, if it is bound: %s",interpreter_path,my_strerror(errno));
error(WARNING,string);
return 0;
}
return 1;
}

View File

@ -1,35 +0,0 @@
Several commands require ncurses compiled in to work. These are all related to terminal functions. If one needs to run a terminal app that uses these functions one needs to re-compile yab.
Compiling yab with ncurses
1 change src/global.h line 1
from :
//define BUILD_NCURSES
to:
#define BUILD_NCURSES
2 change src/makefile line 92
from:
LIB = -lbe -lroot -ltranslation -ltracker -lmedia
to:
LIB = -lbe -lroot -ltranslation -ltracker -lmedia -lncurses
3 install ncurses and ncurses devel
4
run make in the src directory
NOTE:
An ncurses enabled version of yab and libyab.so are not compatible with the standard version and may break working apps if installed.

View File

@ -1,91 +0,0 @@
yab 1.7.6
-fix Draw Command with transparency error
-fix Treebox error, Treebox add wasn't correct
yab 1.7.5.6
- fix tabview bugs introduecd in 1.7.5.5
-fix tabview set command
-allow tabview to be removed by removing the parent view
-add Option$ "plain | bold | fixed" and point$ to texteditl set
-TEXTEDIT SET TextEdit$, "plain", "25" sets the text to system plain font at 25 point size.
yab 1.7.5.5
-Enable tabview with tabs on the side. This removes trhe reliance on BControlLook
yab Version 1.7.5.4
-now compiles on x86_64
-yab-IDE now updates BuildFactory files on launch
-add Window Get Windiwid$, "Minimized-To-Deskbar"
-update help files for yab-ide
yab Version 1.7.5.3
- gcc4 now compiles
- fix system shutdown bug
- remove un-needed BuildFactory files
- add https:// to texturl
- BuildFactory use declared appsig
- yab-IDE use declared appsig, or use filename for appsig
yab Version 1.7.5.2
- use public rgb_color mix_color()
yab Version 1.7.5.1
-add cursor to textedit set command
-add textedit get "countphysicallines"
-fix ran() command
-add small gutter to textedit view
yab Version 1.7.5
-libyab.so --- smaller binaries
yab Version 1.7.4.5 Changes from 1.7.4.1
-use standard flex for BuildFactory
-ATTRIBUTE SET and ATTRIBUTE GET$ re-worked to work better
-open a, "File", "r+"
-TEXTEDIT SET Option$= "align", left/center/right
yab Version 1.7.4.1 Changes from version 1.7
-LOCALIZE doesn't work again due to changes in haiku.
-TEXTCONTROL added more options for set options.
yab Version 1.7 Changes from Version 1.6
- COLUMNBOX updated to Haiku style (thanks Stargater!)
- STATUSBAR didn't follow LAYOUT, fixed now
- RESTORE Label$ allows for dynamic label strings
- various ATTRIBUTE commands
- Localization now works again, see Localizer how it is done
- reorganized localization commands are now:
LOCALIZE mime$, LOCALIZE STOP, LOCALIZE, TRANSLATE$ and MENU TRANSLATE$
- SUBMENU SET "Remove" now implemented
- yab cleaned up (a bit at least)
- yab IDE cleaned up
- BuildFactory cleaned up
- yab-Commands documentation cleaned up
yab Version 1.6 Changes from Version 1.5
- removed all ZETA and BeOS dependencies
- SPINCONTROL look updated to Haiku style
- CALENDAR look updated to Haiku style and code refactored
- TABVIEW look updated to Haiku style
- TABVIEW now supports bottom tabs (like it did on ZETA)
- Haiku native tooltips are now used; they still suck, but this finally
resolves the race condition bug (this should also resolve the hanging
BuildFactory, thx to clasqm for reporting)
- using "copy" for an empty selection in TEXTEDIT does not clear the
clipboard anymore (thx to streakx for reporting)
- Haiku forced a minimum button height, yab does not like force (thx to
Lelldorin for reporting)
- Title in BOXVIEW is now shown correctly (thx to Lelldorin for reporting)
- Window flags don't reset anymore after calling WINDOW SET (thx to clasqm
for reporting)
Known problems:
- Tooltips cannot be unset, they cannot change color, they steal focus (fixed on
new Haiku builds), they suck (blame the Haiku team ;))
- Tooltips do not work for all Widgets
- Spincontrol cannot move shift-tab backwards
Other Fixes (1.6):
- Scrolling in the yab IDE works again with new Haiku builds (the bug in Haiku
got fixed, thx to leszek for reporting, thx for zooey for fixing)

View File

@ -1,12 +0,0 @@
ToDo
Features:
- LPT and COM signal send/receive, specific request by lorglas
- Layout
Bugs:
- drop file bug ide
- strings cannot handle chr$(0)
- TEXTEDIT selection somehow buggy, seems to be a Haiku issue
- SOUND commands don't work because of a missing API call in Haiku
- printing seems to be broken (further testing needed)