Skip to content

Commit 4c8736e

Browse files
author
Antonino Calderone
committed
Rel 1.46
1 parent 63b41f2 commit 4c8736e

File tree

9 files changed

+38
-33
lines changed

9 files changed

+38
-33
lines changed

ChangeLog

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ nuBASIC ChangeLog
22
Please send nuBASIC bug reports to <acaldmail@gmail.com>.
33

44
2015-12-16
5-
- Changed icons and commands order of the toolbar
6-
- Bug-fiexd: IDE did not execute old-style programs if first line is special comment "!#"
5+
- Changed icons layout and commands order of the toolbar
6+
- Bug-fix: IDE did not execute old-style programs if first line is special comment "!#"
7+
- Bug-fix: IDE did not clean "Go to procedures" submenu before build new programs
78

89

910
2015-12-15

NEWS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ Please send nuBASIC / nuBasicEditor bug reports to <acaldmail@gmail.com>.
77
Win32/64 built with VS2015 needs "Visual C++ Redistributable Packages for Visual Studio 2015"
88
https://www.microsoft.com/en-us/download/details.aspx?id=48145
99

10+
Dec 22, 2015
11+
* Released nuBASIC 1.46
12+
- Changed icons layout and commands order of the toolbar
13+
- Bug-fix: IDE did not execute old-style programs if first line is special comment "!#"
14+
- Bug-fix: IDE did not clean "Go to procedures" submenu before build new programs
15+
- Improvements and bug-fixes
16+
1017

1118
Dec 15, 2015
1219
* Released nuBASIC 1.45

README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ Features
2525
- Tiny version is suitable for embedded systems
2626

2727
-------------------------------------------------------------------------------
28-
Latest released packages
28+
Released packages
2929
-------------------------------------------------------------------------------
3030
Linux Installers:
31-
RPM (Fedora) 64 bit Installer - nubasic-1.45-1.fc21.x86_64.rpm
32-
Debian / Ubuntu 64 bit Installer - nubasic_1.45-1_amd64.deb
31+
RPM (Fedora) 64 bit Installer - nubasic-<ver>-1.fc21.x86_64.rpm
32+
Debian / Ubuntu 64 bit Installer - nubasic_<ver>-1_amd64.deb
3333

3434
Windows Installers:
35-
* Windows 64 bit Installer (VC++ build) - nubasic-ide-1.45-setup_x64.zip
36-
* Windows 32 bit Installer (VC++ build) - nubasic-ide-1.45-setup.zip
35+
* Windows 64 bit Installer (VC++ build) - nubasic-ide-<ver>-setup_x64.zip
36+
* Windows 32 bit Installer (VC++ build) - nubasic-ide-<ver>-setup.zip
3737

3838
Source code:
39-
* Interpreter and IDE source code: nubasic-1.45.tar.gz
39+
* Interpreter and IDE source code: nubasic-<ver>.tar.gz
4040

4141
Guides (PDF, ODT):
4242
* nuBASIC Guide (ENG)

config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#define PACKAGE_NAME "nubasic"
7575

7676
/* Define to the full name and version of this package. */
77-
#define PACKAGE_STRING "nubasic 1.45"
77+
#define PACKAGE_STRING "nubasic 1.46"
7878

7979
/* Define to the one symbol short name of this package. */
8080
#define PACKAGE_TARNAME "nubasic"
@@ -83,13 +83,13 @@
8383
#define PACKAGE_URL ""
8484

8585
/* Define to the version of this package. */
86-
#define PACKAGE_VERSION "1.45"
86+
#define PACKAGE_VERSION "1.46"
8787

8888
/* Define to 1 if you have the ANSI C header files. */
8989
#define STDC_HEADERS 1
9090

9191
/* Version number of package */
92-
#define VERSION "1.45"
92+
#define VERSION "1.46"
9393

9494
/* Define to `__inline__' or `__inline' if that's what the C compiler
9595
calls it, or to nothing if 'inline' is not supported under any name. */

configure

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for nubasic 1.45.
3+
# Generated by GNU Autoconf 2.69 for nubasic 1.46.
44
#
55
# Report bugs to <acaldmail@gmail.com>.
66
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580580
# Identity of this package.
581581
PACKAGE_NAME='nubasic'
582582
PACKAGE_TARNAME='nubasic'
583-
PACKAGE_VERSION='1.45'
584-
PACKAGE_STRING='nubasic 1.45'
583+
PACKAGE_VERSION='1.46'
584+
PACKAGE_STRING='nubasic 1.46'
585585
PACKAGE_BUGREPORT='acaldmail@gmail.com'
586586
PACKAGE_URL=''
587587

@@ -1286,7 +1286,7 @@ if test "$ac_init_help" = "long"; then
12861286
# Omit some internal or obsolete options to make the list less imposing.
12871287
# This message is too long to be a string in the A/UX 3.1 sh.
12881288
cat <<_ACEOF
1289-
\`configure' configures nubasic 1.45 to adapt to many kinds of systems.
1289+
\`configure' configures nubasic 1.46 to adapt to many kinds of systems.
12901290
12911291
Usage: $0 [OPTION]... [VAR=VALUE]...
12921292
@@ -1356,7 +1356,7 @@ fi
13561356

13571357
if test -n "$ac_init_help"; then
13581358
case $ac_init_help in
1359-
short | recursive ) echo "Configuration of nubasic 1.45:";;
1359+
short | recursive ) echo "Configuration of nubasic 1.46:";;
13601360
esac
13611361
cat <<\_ACEOF
13621362
@@ -1457,7 +1457,7 @@ fi
14571457
test -n "$ac_init_help" && exit $ac_status
14581458
if $ac_init_version; then
14591459
cat <<\_ACEOF
1460-
nubasic configure 1.45
1460+
nubasic configure 1.46
14611461
generated by GNU Autoconf 2.69
14621462
14631463
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1918,7 +1918,7 @@ cat >config.log <<_ACEOF
19181918
This file contains any messages produced by compilers while
19191919
running configure, to aid debugging if configure makes a mistake.
19201920
1921-
It was created by nubasic $as_me 1.45, which was
1921+
It was created by nubasic $as_me 1.46, which was
19221922
generated by GNU Autoconf 2.69. Invocation command line was
19231923
19241924
$ $0 $@
@@ -2781,7 +2781,7 @@ fi
27812781
27822782
# Define the identity of the package.
27832783
PACKAGE='nubasic'
2784-
VERSION='1.45'
2784+
VERSION='1.46'
27852785
27862786
27872787
cat >>confdefs.h <<_ACEOF
@@ -5933,7 +5933,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59335933
# report actual input values of CONFIG_FILES etc. instead of their
59345934
# values after options handling.
59355935
ac_log="
5936-
This file was extended by nubasic $as_me 1.45, which was
5936+
This file was extended by nubasic $as_me 1.46, which was
59375937
generated by GNU Autoconf 2.69. Invocation command line was
59385938
59395939
CONFIG_FILES = $CONFIG_FILES
@@ -5999,7 +5999,7 @@ _ACEOF
59995999
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60006000
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
60016001
ac_cs_version="\\
6002-
nubasic config.status 1.45
6002+
nubasic config.status 1.46
60036003
configured by $0, generated by GNU Autoconf 2.69,
60046004
with options \\"\$ac_cs_config\\"
60056005

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([nubasic], [1.45], [acaldmail@gmail.com])
5+
AC_INIT([nubasic], [1.46], [acaldmail@gmail.com])
66
AM_INIT_AUTOMAKE
77
AC_CONFIG_SRCDIR([nu_expr_function.h])
88
AC_CONFIG_HEADERS([config.h])

examples/breakout.bas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
1010 lives%=lives%-1
103103
1020 Locate h%\2,w%\2-12: Print "Ops... you have "; lives%; " lives"
104104
1030 Locate h%\2+2,w%\2-12: Print "Press any key to continue"
105-
1040 a$=Input$(1)
106-
1050 If a$="q" Then End
105+
1040 a$=InKey$()
106+
1050 If a$="q" Then End Else if len(a$) = 0 then Goto 1040
107107
1060 b%=-1: cls
108108
1070 GoSub 510 : Rem Rectangle
109109
1080 GoSub 580 : Rem Draw wall
@@ -113,8 +113,8 @@
113113
1120 Rem ---- COMPLETED
114114
1130 Locate h%\2,w%\2-12: Print " Sorry, You loose !"
115115
1140 Locate h%\2+2,w%\2-12: Print "Press any key to continue"
116-
1150 a$=Input$(1)
117-
1160 If a$="q" Then end
116+
1150 a$=InKey$()
117+
1160 If a$="q" Then end Else goto 1150
118118
1170 GoTo 60
119119
1180 Rem Rectangle
120120
1190 Locate 1,1

examples/breakout2.bas

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ ProcessPlayerBallCollision:
272272
Beep
273273
Beep
274274

275-
a$=input$(1)
275+
Do
276+
a$=inkey$()
277+
Loop While len(a$)<1
276278

277279
If a$="q" Then End
278280

nuBasicEditor/nuBasicEditor.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,9 +1832,6 @@ void nu::editor_t::create_funcs_menu() NU_NOEXCEPT
18321832
const rt_prog_ctx_t& prog_ctx = g_editor.interpreter().get_ctx();
18331833
const auto & prototypes = prog_ctx.proc_prototypes.data;
18341834

1835-
if (prototypes.empty())
1836-
return;
1837-
18381835
std::string list;
18391836

18401837
HMENU hmenu = GetMenu(get_main_hwnd());
@@ -2016,9 +2013,7 @@ bool nu::editor_t::show_execution_point(int line) NU_NOEXCEPT
20162013
line = 1;
20172014

20182015
auto endpos = send_command(SCI_GETLINEENDPOSITION, line - 1, 0) + 1;
2019-
2020-
//send_command(SCI_LINELENGTH, line - 1, 0)<=1
2021-
2016+
20222017
while (!interpreter().has_runnable_stmt(line) && line < endpos)
20232018
++line;
20242019

0 commit comments

Comments
 (0)