scroller branch%demo/scroller.reddx box from demo, it works fine. If you remove react block from dx, it works fine. On W10 it works fine.console-view at the button click?Red [Needs: 'View] metrics-font: make font! [] styles: [ panel-widget: [ default-actor: on-down template: [ type: 'panel pane: copy [] actors: [ on-create: func [face [object!] event [event! none!]] [ append face/pane make face! [ type: 'field font: (metrics-font) parent: face ] ] ] ] ] ] window: layout/styles [ panel [ panel-widget button "CLICK ME" [ print "OK?" make metrics-font [style: 'bold] ; XXXXX print "OK!" ] ] ] styles view/flags window ['resize]
free(): invalid pointer [1] 5197 abort (core dumped) munmap_chunk(): invalid pointer [1] 5138 abort (core dumped) double free or corruption (out) [1] 5270 abort (core dumped) *** Runtime Error 1: access violation *** Cannot determine source file/line info. ***
console-view compiled from latest GTK branch.view [p: progress 0% button "go" [loop 10 [p/data: p/data + 10% wait 0.5]]]
wait, it will workview [p: progress 0% button "go" [loop 100000 [p/data: p/data + 0.001%]]]
waitview [p: progress 0% button "go" [loop 10 [p/data: p/data + 10% loop 10 [system/view/platform/do-event-loop yes] wait 0.5]]]view [p: progress 0% button "go" [loop 10 [p/data: p/data + 10% loop 10 [do-events/no-wait] wait 0.5]]]sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libgtk-3-0:i386 libcanberra-gtk3-module:i386 libcurl4:i386
libcurl3:i386 if no libcurl4:i386.>> ? system/view/metrics/colors
SYSTEM/VIEW/METRICS/COLORS is a map! with the following words and values:
area tuple! 255.255.255>> ? system/view/metrics/colors
SYSTEM/VIEW/METRICS/COLORS is a map! with the following words and values:
text tuple! 72.136.211
window tuple! 0.0.0
panel tuple! 0.0.0
tab-panel tuple! 255.255.255Red [File: %z-index.red Needs: View] ccc: draw 20x20 [ fill-pen red box 0x0 20x20 fill-pen green circle 10x10 10 ] view [ base draw [ image ccc 0x0 20x20 ] ]
% ~/prj/red/gtk/red-github/console-view__Gtk --== Red 0.6.4 ==-- Type HELP for starting information. >> view [] n: 497 >> view [] n: 254 >>
red in /usr/local/bin I get:~$ red Compiling compression library... Compiling Red console... *** Loading Error: file access error: %../image-utils.reds *** in file: %/home/ralf/datatypes/image.reds *** at line: 13
Red 0.6.4 for Linux built 29-Apr-2020/11:52:07+10:00 commit #7f9804b
console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.328: Theme parsing error: gtk.css:27:35: Junk at end of value for background-color (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:40:48: Junk at end of value for background-color (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:48:46: Junk at end of value for background-color (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:59:58: Junk at end of value for background-color (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:66:28: The :prelight pseudo-class is deprecated. Use :hover instead. (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:70:46: Junk at end of value for background-color (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:77:35: The :prelight pseudo-class is deprecated. Use :hover instead. (console-2020-4-29-7002:11496): Gtk-WARNING **: 11:08:29.329: Theme parsing error: gtk.css:81:58: Junk at end of value for background-color 66 --== Red 0.6.4 ==-- Type HELP for starting information. >> about Red 0.6.4 for Linux built 29-Apr-2020/3:52:07+02:00 commit #7f9804b >>
$RED_GTK_STYLES ?layout ["title" 600x400 ….]
gtk.css file in ~/.config/gtk-3.0/gtk.css? The system default one (/usr/share/themes/Adwaita/gtk-3.0/gtk.css) should be no warning.redGTK inside docker container: [red-gtk-macOS](https://github.com/rcqls/red-gtk-macOS).code/Showcase/ballots/ballots.red seems to be buggy for the two last windows when selecting. http://static.red-lang.org/dl/branch/GTK/linux/red-latest running inside a docker container based on ubuntu i386. Maybe that’s the explanation... >> ? system/build/git
SYSTEM/BUILD/GIT is an object! with the following words and values:
branch string! "GTK"
tag issue! #v0.6.4
ahead integer! 2490
date date! 31-May-2020/14:55:54
commit issue! #b7fa9e7b586fed8a325db5e009b1cc70...
message string! "FIX: area's font can't be changed"red-latest from http://static.red- lang.org/dl/branch/GTK/linux/red-latest? In such a case, this would be an error coming from docker container but I never observe this weird behavior before.git checkout -b 0.6.5)0.6.5 branch ...$ git log
commit 489dfe96d65001ada72f2956e6224703ced18b1a (HEAD -> 0.6.5, origin/0.6.5)
Author: Qingtian <xqtxyz@gmail.com>
Date: Thu May 28 19:26:48 2020 -0700
some fixes (#87)
* FIX: perlin.red cannot be compiled.
* FIX: disable Draw button while image is processing.
* FEAT: minor improvements in ballots demo.
commit f090ae7688ff34fd765c5d58cbfb7158c6ac01b7
Author: Nenad Rakocevic <nr@red-lang.org>
Date: Fri May 22 19:43:33 2020 +0200
FEAT: upgrades lexer scripts after callback `type` argument change.
`type` value is now a datatype! when a type name is passed.git checkout -b 0.6.5 did not change the workspace because git log was not the one you show me. Now it’s ok after git clone -b 0.6.5 https://github.com/red/code.view-test.red has a similar problem when dragging the robot image just below the book list, it can’t be dragged anymore. In the other places it is ok.view-test.red since camera is a base element maybe without transparent option. [guaracy@guaracy maze ]$ red -r -t windows win.red -=== Red Compiler 0.6.4 ===- Compiling /home/guaracy/temp/red/maze/win.red ... ...compilation time : 1249 ms Target: windows Compiling to native code... *** Red/System Compiler Internal Error: Script Error : int-ptr! has no value *** Where: none *** Near: [file-sum: make struct! int-ptr! [0]]
>> about/debug
-----------RED & PLATFORM VERSION-----------
RED: [ branch: "master" tag: #v0.6.4 ahead: 2709 date: 25-Aug-2020/3:51:06 commit: #a2a22be4543f9d1a1b7a880f029cd27f75f8b72e ]
PLATFORM: [ name: "Linux Mint 19.3" OS: 'Linux arch: 'x86_64 version: 5.4.0 build: {#46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020} ]
--------------------------------------------
>>macmini:Desktop apple$ red.dms -c -t RPi frog.red -=== Red Compiler 0.6.4 ===- Compiling test1.red ... ...compilation time : 1360 ms Target: RPi Compiling to native code... ...compilation time : 44105 ms ...linking time : 439 ms ...output file size : 2024204 bytes ...output file : /Users/red/Desktop/frog
-r flag) and use RPi-GTK target, assuming that you have the necessary GTK dependencies installed on your Pi. You can use [this](https://github.com/red/red/wiki/%5BNOTE%5D-Linux-GTK-dependencies) list as a starting point.macmini:Desktop apple$ red.dms -r -t RPi-GTK frog.red -=== Red Compiler 0.6.4 ===- Compiling /usr/local/var/www/frog.red ... ...compilation time : 1434 ms Target: RPi-GTK Compiling to native code... ...compilation time : 44035 ms ...linking time : 440 ms ...output file size : 2023508 bytes ...output file : /Users/red/Desktop/frog
-r -d flags and launch the binary from system shell, then paste the output (if any) here./usr/local/bin/red.dms -r -d RPi-GTK /usr/local/var/www/frog.red Cannot access source file: /Users/apple/Desktop/RPi-GTK
macmini:Desktop apple$ red.dms -r -d -t RPi-GTK test1.red -=== Red Compiler 0.6.4 ===- Compiling test1.red ... ...compilation time : 1361 ms Target: RPi-GTK Compiling to native code... ...compilation time : 48854 ms ...linking time : 4805 ms ...output file size : 4873596 bytes ...output file : /Users/apple/Desktop/test1
pi@raspberrypi:~/Desktop $ ./test1 ./test1: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
ldd and see which shared libraries are linked).libc or libcurl) are temporary. That doesn't mean that Red cannot be distributed.If you are using a Debian 7+ or Ubuntu 13.10+ version, you should use libcurl3 with multiarch:
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libcurl3:i386pi@raspberrypi:~/Desktop $ sudo apt-get install libc6:i386 libcurl4:i386 Reading package lists... Done Building dependency tree Reading state information... Done Package libc6:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libdb1-compat tzdata Package libcurl4:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libc6:i386' has no installation candidate E: Package 'libcurl4:i386' has no installation candidate
sudo apt-get install libc6 libcurl4
pi@raspberrypi:~/Desktop $ ./frog (frog:8982): GLib-GObject-CRITICAL **: 22:06:08.722: g_value_set_boolean: assertion 'G_VALUE_HOLDS_BOOLEAN (value)' failed *** Runtime Error 1: access violation Segmentation fault
request-file/title/file/filter "Select ABC Files " "./data/sources" ["ABC Files " "*.abc"]>> request-file/title/file/filter "Select ABC Files " "%./dn-abc-tools/data/sources" ["ABC Files " "*.abc"] GLib-GIO-Message: 19:04:50.528: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.