Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: image's alpha channel not right #1

Open
wants to merge 1,227 commits into
base: GTK-master-patches
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1227 commits
Select commit Hold shift + click to select a range
f971fb4
FEAT: better SORT refinement compatibility check
hiiamboris Nov 22, 2019
744314c
TESTS: for PR #4146
hiiamboris Nov 22, 2019
a3b4382
FIX: minor docstring clarification for SORT
hiiamboris Nov 22, 2019
9b0e7ad
FIX: issue #3595 (`return:` for func now chokes if it has a doc strin…
9214 Mar 17, 2020
3914868
TESTS: function spec validation tests for issue #3595
9214 Mar 17, 2020
6b1a117
Merge remote-tracking branch 'loziniak/random-seed-time'
qtxie May 6, 2020
b98191e
Merge branch 'master' into GTK
bitbegin May 6, 2020
132cfa7
Merge pull request #4425 from rebolek/fix-4424
greggirwin May 6, 2020
412dbde
FIX: Compilation Error: undefined word to-json
qtxie May 7, 2020
ffe9713
FIX: issue #4430 (Unchecked error output length from DRAW).
qtxie May 7, 2020
c149a36
FIX: issue #4427 (`read` on urls doesn't apply CRLF->LF translation).
qtxie May 7, 2020
1601f1a
FIX: TO-CSV can encode block of maps/object properly
rebolek May 7, 2020
73325ed
FIX: out-of-range date days not detected properly in runtime lexer.
dockimbel May 7, 2020
76eb846
FIX: incomplete base 16 binary! literals truncated instead of errorin…
dockimbel May 7, 2020
75bf98a
TESTS: adds some extras lexer regression tests.
dockimbel May 7, 2020
ef66a0e
FEAT: new set of updates in lexer-states.txt and FSM data.
dockimbel May 7, 2020
372452c
Merge branch 'master' into toggle
9214 May 7, 2020
dc2c40b
Merge branch 'GTK' into toggle-gtk
9214 May 7, 2020
b7ffc5a
FIX: use right offset of unicode string to avoid metrics issues
bitbegin May 8, 2020
9a03dcf
FIX: make image with binary data may fill the image with garbage.
qtxie May 8, 2020
786ed42
Merge pull request #4286 from 9214/toggle
qtxie May 8, 2020
2c41bd8
Merge pull request #4287 from 9214/toggle-gtk
qtxie May 8, 2020
e46d34d
FIX: compilation error due to last commit.
qtxie May 8, 2020
5a4401b
Merge pull request #4434 from rebolek/csv-fix-encode-maps
greggirwin May 8, 2020
a9634e5
FIX: avoid crash when get values on no-face widget
bitbegin May 11, 2020
9b50a8a
FIX: texts gets mess up in dyn-gui.red.
qtxie May 11, 2020
903ba9e
FEAT: new set of updates in lexer-states.txt and FSM data.
dockimbel May 11, 2020
71f76ca
FEAT: new set of updates in lexer-states.txt and FSM data.
dockimbel May 11, 2020
18ccd92
FIX: avoids to make zero memory string.
qtxie May 12, 2020
414e594
FIX: clip now support mode
bitbegin May 12, 2020
42d7d8e
FEAT: completes mostly the syncing between lexer-states.txt and the F…
dockimbel May 12, 2020
6aff3bc
FIX: issue #4400 (MAKE-DIR fails silently if it has not a permission …
qtxie May 13, 2020
0fe2749
FIX: issue #4227 (crash in string/concatenate-literal-part).
qtxie May 13, 2020
e2912dd
FIX: issue #4184 ([CRASH] Four ways to trigger `reset-buffer does not…
qtxie May 13, 2020
7d0d667
FIX: issue #4177 (FIND hash! block! is linear)
qtxie May 13, 2020
e5ddddf
FEAT: completes the syncing between lexer-states.txt and the FSM table.
dockimbel May 13, 2020
c5722b6
Merge branch 'master' into fast-lexer
dockimbel May 13, 2020
bbc55d1
FIX: failing test "copy-8" after compiling together series-test and o…
dockimbel May 13, 2020
02ab72e
FIX: `make issue! 123` resulting in error.
dockimbel May 13, 2020
b10ccaa
FEAT: adds find/last on hash!
qtxie May 13, 2020
3cb43d2
FIX: issue #4415 (unexpected result of conversion from STRING! to PER…
dockimbel May 14, 2020
1637a45
FEAT: extend SYSTEM/CATALOG/ACCESSORS with MONEY! accessors.
9214 May 14, 2020
036bf60
FEAT: [money!] refactor main logic of division algorithm.
9214 May 14, 2020
42e78db
FEAT: support image! to Arbitrary quadrilateral for macos
bitbegin Mar 14, 2020
c1ed703
FIX: resize image! with negative width or height
bitbegin Mar 14, 2020
c0003b3
FEAT: support image! to Arbitrary quadrilateral for windows
bitbegin Mar 15, 2020
4f2a36a
FIX: transform image!'s default alpha issue
bitbegin Mar 15, 2020
84ac55f
FEAT: grant wish #3055 (DRAW supports PERCENT! for SCALE)
9214 Mar 22, 2020
66a8ce6
FIX: some actions are not filtered out in face/on-deep-change handler.
qtxie May 15, 2020
13e50c1
FIX: avoid crashed issue when using '#include %../file'
bitbegin May 15, 2020
be407a2
FIX: issue #4356 (Newlines ignored in BUTTON text)
qtxie May 15, 2020
04c4c00
FIX: support center for scale and skew transform
bitbegin May 14, 2020
2505e47
FIX: update transform rotate/skew api for macOS
bitbegin May 15, 2020
faf0fd3
FIX: issue #4358 (check the matrix block)
bitbegin May 15, 2020
72f8f57
FIX: properly uppercase codec names.
dockimbel May 15, 2020
d3553ad
Merge branch 'fast-lexer' of github.com:red/red into fast-lexer
dockimbel May 15, 2020
1cc94d5
FIX: new-line flags set by lexer where overwritten by `money/make-at`.
dockimbel May 15, 2020
8bd0195
FEAT: allows pair! for copy/part argument on series.
dockimbel May 15, 2020
c183cf6
FIX: issue #4254 ([View] Script Error when killing a window just shown).
qtxie May 16, 2020
f7836fd
FIX: support center for scale and skew transform for macOS
bitbegin May 15, 2020
8fdbaf6
FIX: reset matrix issue on macOS
bitbegin May 16, 2020
041843a
Merge branch 'master' into GTK
bitbegin May 16, 2020
93f37b5
FIX: update transform rotate/skew api for gtk3
bitbegin May 16, 2020
ffde76f
TESTS: adds tests for copy/part on series with pair! argument.
dockimbel May 16, 2020
b0996f6
FIX: issue #4432 ([CRASH] involving Parse, Reduce & GC)
qtxie May 11, 2020
172c5fb
FIX: wrong assertion in string.red
qtxie May 12, 2020
26cd0d0
FIX: issue #4433 ([CRASH] when loading a big map)
qtxie May 9, 2020
d862e74
FIX: use `mark-buffers` instead of `on-gc-mark`.
qtxie May 12, 2020
83275f4
Merge branch 'master' into fast-lexer
dockimbel May 16, 2020
a3b5ccc
Merge branch 'master' of https://github.com/red/red into mm
qtxie May 18, 2020
5ab43be
FIX: issue #4091 (FIND with two hashes is picky).
qtxie May 18, 2020
11e9a33
FIX: issue #4100 (request-file/filter with incorrect argument crashes…
hiiamboris Oct 24, 2019
2e2c9ed
FEAT: support matrix-order for gtk3
bitbegin May 18, 2020
608b5bd
FIX: issue #4086 (set operations on the same hash! buffer are broken).
qtxie May 18, 2020
7413861
TESTS: adds tests for issue #4086
qtxie May 18, 2020
364503c
FIX: tests for #3725 were failing on W10
hiiamboris May 18, 2020
781ff98
FIX: issue #4334 ([VID] Incorrect height inferrence from DROP-DOWN).
qtxie May 19, 2020
afc6719
FIX: remove unnecessary cairo save
bitbegin May 19, 2020
bd138d2
FIX: shape and clip transform not right
bitbegin May 19, 2020
cf2a750
FIX: issue #4306 ([View] A call to `view` destroys events sometimes)
qtxie May 19, 2020
2a31ab2
FEAT: reduce code preprocessing system/platform value.
dockimbel May 19, 2020
053dece
FIX: issue #3762 ([CRASH] in `layout/parent/only`).
qtxie May 20, 2020
4607458
FEAT: first support bitmap pen/pen-fill for gtk3
bitbegin May 20, 2020
a2581f8
FIX: need set pen-color now
bitbegin May 20, 2020
d577b3b
FIX: clear current point for circle and triangle
bitbegin May 20, 2020
e1bc872
FIX: remove debugging leftover.
dockimbel May 20, 2020
c8c3949
FIX: lexer promoting integers with quotes to floats too aggressively.
dockimbel May 20, 2020
dca47db
FEAT: minor formatting improvement.
9214 May 19, 2020
b0a969a
FEAT: redefine comparison semantics for MONEY!.
9214 May 19, 2020
5d12cfb
TESTS: extend MONEY! comparison tests.
9214 May 19, 2020
5a042da
FIX: prevent comparison error from corrupting container values.
9214 May 19, 2020
7c64968
TESTS: add an extra comparison test.
9214 May 19, 2020
13d3368
FEAT: inline some of the compiler internal directives.
dockimbel May 20, 2020
4b2cdc4
TESTS: removes one test obsoleted by previous commit.
dockimbel May 20, 2020
b4c8a4e
FIX: improve draw brush bitmap
bitbegin May 21, 2020
4fe9ec8
FIX: issue #3722 ([View] `event/window` returns a wrong face under ve…
qtxie May 21, 2020
b169029
FIX: adds padding pixels for text-list.
qtxie May 21, 2020
7225d11
FIX: issue #4457 (face/selected too big will close the window).
qtxie May 21, 2020
4ffdef4
FEAT: first support draw pattern
bitbegin May 21, 2020
398d733
FIX: allocate image buffer issue
bitbegin May 21, 2020
faf6a8a
FEAT: minor comment reformatting.
dockimbel May 21, 2020
fa26eb0
FEAT: adds a delta-time function (`dt`) to user environment.
dockimbel May 21, 2020
b3b2bb4
FIX: [R/S] literal arrays containing true/false words could corrupt t…
dockimbel May 21, 2020
bd6ce1b
FEAT: completes construction syntax support in lexer.
dockimbel May 21, 2020
56cfe4e
FIX: draw pattern lost alpha channel
bitbegin May 22, 2020
7a05a89
FEAT: lexer's prescan and scan events now receive a datatype! instead…
dockimbel May 22, 2020
2747dfe
FEAT: find/only <any-block!> <datatype!> now forces matching by value…
dockimbel May 22, 2020
a1b2db8
Merge remote-tracking branch 'origin/master' into fast-lexer
qtxie May 23, 2020
eb44b10
FIX: improve draw commands for gtk3
bitbegin May 23, 2020
5aa78a6
FIX: issue #4466 (FIND/same on hash is linear with objects).
qtxie May 25, 2020
1c004ba
FIX: on-over not right on text
bitbegin May 25, 2020
781113f
FIX: select text-list not right
bitbegin May 25, 2020
59668d6
Merge branch 'master' into fast-lexer
dockimbel May 25, 2020
cc5a53b
FIX: commit 54a0db7 was reverted by previous merge.
qtxie May 25, 2020
07f6fbb
FIX: label's default wrap is on
bitbegin May 26, 2020
b8c8385
FIX: improve grad pen for start position
bitbegin May 26, 2020
bcd449e
FIX: properly uppercase codec names in file paths in boot.red
dockimbel May 26, 2020
9b1fad6
FIX: missing ref! entry in system/lexer/exit-states.
dockimbel May 26, 2020
d351c78
FEAT: allows `loop` and `repeat` to take a float argument as counter.
dockimbel May 26, 2020
1e5f51b
TESTS: adds some looping tests with a float argument for counter.
dockimbel May 26, 2020
3e9a772
FIX: some tests failed on Linux or debug mode.
qtxie May 27, 2020
eff09a1
Merge remote-tracking branch 'origin/master' into GTK
bitbegin May 27, 2020
d67ff6f
FIX: update make-image params for gtk3
bitbegin May 27, 2020
17c626d
FIX: use glib's utf8 function instead of user define
bitbegin May 27, 2020
a9f96c8
Revert "Add syntax highlighting for gui-console"
bitbegin May 27, 2020
7fd7b00
FIX: make-image not right for gtk3
bitbegin May 27, 2020
cfb6d30
FIX: use prescan in the highlighter of the gui-console.
qtxie May 27, 2020
54a9781
FIX: regression in `list-dir` caused by integer division rule change.
dockimbel May 27, 2020
9ee89e6
FIX: minor fixes to compiler's lexer.
dockimbel May 27, 2020
22bc8a8
FIX: dead function removal.
dockimbel May 27, 2020
f939d7f
FIX: issue #4470 (Syntax Error : Invalid decimal)
dockimbel May 27, 2020
59192c2
FIX: error when return false in prescan stage.
qtxie May 28, 2020
79109f2
FIX: assertion failure in mark-buffers in lexer.
qtxie May 28, 2020
a3afc9e
FIX: issue #4467 ([View] FIELD is limited with WRAP on)
qtxie May 28, 2020
36857eb
FIX: better fix for lexer-based highlighting in console.
dockimbel May 28, 2020
0cb889b
FIX: some PE section names were incorrectly set for shared libraries.
dockimbel May 28, 2020
9cf0a97
FIX: remove no used export
bitbegin May 29, 2020
2106a82
TESTS: adds test for issue #4432
qtxie May 29, 2020
63e7829
FEAT: improve Travis-CI notification on failure
x8x May 29, 2020
733af32
FIX: GUI console becomes unresponsive after printing very long text.
qtxie May 29, 2020
8b7bff8
FIX: transform not work for prepend mode on gtk3
bitbegin May 29, 2020
19619de
FIX: transform not work for prepend mode on Windows
bitbegin May 29, 2020
5622480
FIX: set area's caret color with font-color
bitbegin May 29, 2020
37ac632
FIX: lexer input pointer can go beyond input end for file! tokens.
dockimbel May 29, 2020
e0e961b
FIX: allows money! values with prefix unit in paths.
dockimbel May 29, 2020
2417a84
Merge branch 'master' of github.com:red/red
dockimbel May 29, 2020
cdc8589
FIX: don't draw circle/ellipse if any radius = 0 to avoid cairo warning
bitbegin May 30, 2020
d79ddd3
FEAT: use default height only if face height shorter than it.
qtxie May 30, 2020
2df03aa
FIX: button default use center align
bitbegin May 30, 2020
4f093f2
FIX: button default use wrap text
bitbegin May 30, 2020
c2f0d89
FIX: interpreter crash after GC pass when global context is relocated.
dockimbel May 31, 2020
f26be82
FIX: need update handle! after change-font
bitbegin May 31, 2020
b7fa9e7
FIX: area's font can't be changed
bitbegin May 31, 2020
81ffa66
FIX: interpreter crashing in infix evaluation after GC pass relocates…
dockimbel May 31, 2020
7f48a30
FIX: issue #4486 (Crash when inserting a face into window's pane).
qtxie May 31, 2020
addc4b3
FIX: issue #4481 ([Draw] Line stops after 1000 coordinates)
qtxie Jun 1, 2020
f246514
Merge pull request #4475 from x8x/travis-ci-fix-timeout
x8x Jun 1, 2020
217c43e
FEAT: Temporarly ignore ARM tests results, set max execution time to …
x8x Jun 1, 2020
0df0fcf
FIX: refactor cascaded delimiters match
bitbegin Mar 4, 2020
1ab13be
FIX: refactor conditional usages of typeset macros.
9214 Jun 1, 2020
5a6dd57
FIX: open/close event should allow to load when match delimiters
bitbegin Jun 2, 2020
575de8e
FIX: issue #4490 ([View] Stack overflow when one forgets to copy the …
qtxie Jun 3, 2020
03044da
Merge branch 'master' of https://github.com/red/red
qtxie Jun 3, 2020
fe9a283
FIX: issue #4494 (strange literal form of cyclic HASH!).
qtxie Jun 3, 2020
7806053
FEAT: simplifies delimiters handling in console input.
dockimbel Jun 3, 2020
9064404
FEAT: minor improvement to delimiters checking from console's input.
dockimbel Jun 3, 2020
a69e27d
FEAT: adds an extra SCAN lexer event triggering on leading word in pa…
dockimbel Jun 3, 2020
5c03732
FIX: issue #4497 ([View] CRASH with pane change & auto-sync off).
qtxie Jun 5, 2020
16b2cdf
FEAT: better report of path syntax error range in lexer callbacks
dockimbel Jun 5, 2020
cc402ec
Merge branch 'master' of github.com:red/red
dockimbel Jun 5, 2020
76c7d44
FIX: SCAN now returns NONE on empty input instead of crashing.
dockimbel Jun 5, 2020
e863bd8
FIX: PRESCAN and OPEN lexer events did not report right delimiter ran…
dockimbel Jun 6, 2020
df5ae42
FIX: regression on LOAD tests.
dockimbel Jun 6, 2020
b08d8e3
FIX: lexer callback triggers ERROR event twice on unclosed {...} stri…
dockimbel Jun 7, 2020
5c878da
FIX: set-path! type not reported properly in lexer CLOSE event.
dockimbel Jun 7, 2020
e7a3b33
FIX: regression in string lexing causing test "#573" to fail.
dockimbel Jun 7, 2020
5e05811
FIX: issue #4502 (SORT randomly arranges images).
qtxie Jun 8, 2020
a941f07
TESTS: adds test for issue #4494
qtxie Jun 8, 2020
84672bb
FIX: refreshing the gui-console when printing in another window.
qtxie Jun 8, 2020
32d548b
FEAT: tab key for completion only.
qtxie Jun 8, 2020
a19e6dd
FEAT: better handling of the text input in some cases.
qtxie Jun 8, 2020
d1f015b
FEAT: allows words to start with a caret character.
dockimbel Jun 8, 2020
3d23acd
FEAT: more accurate report of curly-braced strings starting position …
dockimbel Jun 8, 2020
0525eb1
FIX: lexer corrupting memory or crashing on LOAD event after failing …
dockimbel Jun 8, 2020
3eb847f
FIX: additional fix for issue #4427
qtxie Jun 9, 2020
4a0183b
FIX: gui-console error after CTRL+L
qtxie Jun 10, 2020
4590466
FEAT: adds SCAN and LOAD lexer events for curly braced string literals.
dockimbel Jun 10, 2020
afa1812
FEAT: avoids generating a SCAN lexer event if scanning resulted in a …
dockimbel Jun 10, 2020
afc35c2
FEAT: in lexer's ERROR event, now the type argument is set to the par…
dockimbel Jun 10, 2020
7fb276f
FIX: issue #4509 ([Regression] GUI Console started echoing lines)
qtxie Jun 11, 2020
a34d552
FIX: wrong loading of NUL character literal forms.
dockimbel Jun 11, 2020
9a6b7ea
FIX: do not allow LF or CR characters in double-quoted string literal…
dockimbel Jun 11, 2020
84ec787
FIX: allows lowercase letters to represent escaped non-printable char…
dockimbel Jun 11, 2020
aeb0e27
FEAT: process C0 control characters as separate lexical class behavin…
dockimbel Jun 11, 2020
d895b79
FEAT: allows lowercase letters to represent escaped non-printable cha…
dockimbel Jun 11, 2020
14e656f
FEAT: minor code reformatting.
dockimbel Jun 11, 2020
1520894
FIX: properly separates sticky refinement! literals.
dockimbel Jun 11, 2020
b7920cb
FEAT: propages exclusion of CR from quoted string literals to compile…
dockimbel Jun 11, 2020
ecb2312
FIX: right type not always reported in lexer CLOSE event.
dockimbel Jun 13, 2020
14905b5
FIX: avoids double ERROR lexer event triggering on non-matching closi…
dockimbel Jun 13, 2020
44d06d9
FIX: issue #4511 (CHANGE arbitrarily thrashes hash! table)
qtxie Jun 13, 2020
ab510e9
FIX: crashes when moving hash.
qtxie Jun 14, 2020
a34a784
FIX: assertion failed in series-test.red
qtxie Jun 14, 2020
7509ffd
FIX: multiple fixes related to literal file values starting with %%.
dockimbel Jun 15, 2020
fe9091e
FIX: replaces fix made by commit 14905b558ef3e27b53c4d59d23afbb32d114…
dockimbel Jun 16, 2020
2ffb932
FIX: issue #4521 ([Console] PRINT output is missing a newline before …
qtxie Jun 17, 2020
8efeaf1
FIX: issue #4505 ([Core] [Regression] interpreter started consuming a…
dockimbel Jun 18, 2020
71feb89
FEAT: enables color font in the gui-console on Win10.
qtxie Jun 18, 2020
4784e84
FIX: leading +/- sign in time! literals now correctly loaded.
dockimbel Jun 18, 2020
a4581f0
FEAT: reports an error when a map! literal has an integer prefix.
dockimbel Jun 18, 2020
66571de
FIX: COLOR_FONT flags causes problem on Win7.
qtxie Jun 18, 2020
ca4e905
FIX: `about` error in the gui-console.
qtxie Jun 19, 2020
fdb31e8
FIX: properly select emoji characters in the gui-console.
qtxie Jun 19, 2020
bda45b5
FIX: compilation error on macOS due to last commit.
qtxie Jun 19, 2020
bd5f1e4
FIX: an extra key event triggered when using IME on Windows.
qtxie Jun 19, 2020
7f4723b
FIX: assertion failing on some illegal char! values loading.
dockimbel Jun 19, 2020
4d864b1
FIX: scanning some invalid paths leads to freezing.
dockimbel Jun 20, 2020
2142264
FIX: moves some error checkings from map! construction to lexer code.
dockimbel Jun 22, 2020
3334490
FIX: moves CR character from C_LINE to C_BLANK lexer class.
dockimbel Jun 23, 2020
5e5c01a
FIX: SCAN on construction syntax literals always returning error! type.
dockimbel Jun 23, 2020
bb32462
FEAT: accepts comma and quote characters in literal URLs.
dockimbel Jun 24, 2020
37801d2
FIX: refinement! literals ending with a colon loaded as words.
dockimbel Jun 24, 2020
22a523f
FEAT: allows literals starting with # to stick to word literals tail.
dockimbel Jun 25, 2020
458ddb1
FIX: PE SizeOfHeaders value was not rounded up to a multiple of FileA…
dockimbel Jun 25, 2020
58ef838
FIX: set the "File OS" field in PE resources to a more modern value.
dockimbel Jun 26, 2020
21e6d37
FIX: issue #4551 (on-enter on macOS not working).
qtxie Jun 26, 2020
a16b746
Merge remote-tracking branch 'origin/master' into GTK
bitbegin Jun 26, 2020
cdfb371
FIX: compile failed after merge master
bitbegin Jun 26, 2020
67e893b
FEAT: init v4l2 for camera
bitbegin Jun 29, 2020
bbebbea
FEAT: add close for camera
bitbegin Jun 29, 2020
b119626
FEAT: set stream on for v4l2
bitbegin Jun 29, 2020
6bbf5b0
FEAT: camera open/close
bitbegin Jun 29, 2020
da8ea62
FEAT: create camera thread
bitbegin Jun 30, 2020
14cb54b
FIX: don't use stream
bitbegin Jun 30, 2020
0b567db
FEAT: add mutex/cond for camera
bitbegin Jun 30, 2020
1f076a6
FEAT: add a callback to process camera buffer
bitbegin Jun 30, 2020
f51c298
FEAT: add trylock/unlock for camera device
bitbegin Jun 30, 2020
baadf0a
FEAT: attach a widget to camera device
bitbegin Jun 30, 2020
268f534
FIX: rename camera device
bitbegin Jun 30, 2020
af2587e
FEAT: add camera device to view backend
bitbegin Jun 30, 2020
a6a101b
FEAT: draw camera picture to gtk3
bitbegin Jun 30, 2020
6f352a4
FIX: crash when use pthread_cancel
bitbegin Jul 1, 2020
9ff3c77
FEAT: capture camera picture
bitbegin Jul 1, 2020
250ab46
FEAT: collect camera devices
bitbegin Jul 1, 2020
6f4f06a
FIX: rename camera file name
bitbegin Jul 1, 2020
db71cc9
FEAT: support init-camera and select-camera
bitbegin Jul 2, 2020
67948be
FEAT: improve select-camera
bitbegin Jul 2, 2020
669ef28
FIX: filter the meta capture device
bitbegin Jul 3, 2020
8e2172f
FIX: if there no camera image, use last one for draw event
bitbegin Jul 3, 2020
a2a1088
FIX: don't support yuyv422 for now
bitbegin Jul 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 67 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ jobs:
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run view test
run: |
rebview.exe -qws tests\run-core-tests.r --batch
rebview.exe -qws system\tests\run-all.r --batch
- name: run core test
run: rebview.exe -qws tests\run-core-tests.r --batch
shell: cmd

- uses: actions/upload-artifact@v1
Expand All @@ -26,6 +24,27 @@ jobs:
name: core-test-log
path: quick-test/quick-test.log

Core-Debug:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run core test
run: rebview.exe -qws tests\run-core-tests.r --batch --debug
shell: cmd

- uses: actions/upload-artifact@v1
if: failure()
with:
name: core-debug-test-log
path: quick-test/quick-test.log

View:

runs-on: windows-latest
Expand Down Expand Up @@ -79,14 +98,54 @@ jobs:
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run view test
run: |
rebview.exe -qws tests\run-all.r --each
rebview.exe -qws system\tests\run-all.r --each
- name: run each test
run: rebview.exe -qws tests\run-core-tests.r --ci-each
shell: cmd

- uses: actions/upload-artifact@v1
if: failure()
with:
name: each-test-log
path: quick-test/quick-test.log

Each-Mode-Debug:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run each test
run: rebview.exe -qws tests\run-core-tests.r --ci-each --debug
shell: cmd

- uses: actions/upload-artifact@v1
if: failure()
with:
name: each-debug-test-log
path: quick-test/quick-test.log

Red-System-Test:

runs-on: windows-latest

steps:
- uses: actions/checkout@v1
- name: setup red repo
run: |
$url = "http://static.red-lang.org/build/rebview.exe"
$output = "$Env:GITHUB_WORKSPACE\rebview.exe"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
- name: run Red/System test
run: rebview.exe -qws system\tests\run-all.r --batch
shell: cmd

- uses: actions/upload-artifact@v1
if: failure()
with:
name: rs-test-log
path: quick-test/quick-test.log
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ env:


matrix:
# allow_failures: # Enable to disregard ARM build failures
# - env: OS=arm # Enable to disregard ARM build failures
allow_failures: # Enable to disregard ARM build failures
- env: OS=armel # Enable to disregard ARMel build failures
- env: OS=armhf # Enable to disregard ARMhf build failures

include:


Expand Down Expand Up @@ -62,7 +64,7 @@ matrix:
--entrypoint /red/quick-test/runnable/arm-tests/red/run-all.sh
balenalib/armv5e-debian:latest
- >
docker run -v ${PWD}:/red
travis_wait 15 docker run -v ${PWD}:/red
-e LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/red/quick-test/runnable/arm-tests/system/'
-w /red/quick-test/runnable/arm-tests/system/
--entrypoint /red/quick-test/runnable/arm-tests/system/run-all.sh
Expand All @@ -81,7 +83,7 @@ matrix:
--entrypoint /red/quick-test/runnable/arm-tests/red/run-all.sh
balenalib/raspberry-pi2-debian:latest
- >
docker run -v ${PWD}:/red
travis_wait 15 docker run -v ${PWD}:/red
-e LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/red/quick-test/runnable/arm-tests/system/'
-w /red/quick-test/runnable/arm-tests/system/
--entrypoint /red/quick-test/runnable/arm-tests/system/run-all.sh
Expand Down
17 changes: 8 additions & 9 deletions boot.red
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@ Red [
#include %environment/routines.red
#include %environment/scalars.red
#include %environment/colors.red

#register-intrinsics
#include %environment/functions.red
#include %environment/system.red
#include %environment/lexer.red
#include %environment/operators.red

#register-intrinsics

#include %environment/codecs/png.red
#include %environment/codecs/jpeg.red
#include %environment/codecs/bmp.red
#include %environment/codecs/gif.red
#include %environment/codecs/json.red
#include %environment/codecs/csv.red
#include %environment/codecs/PNG.red
#include %environment/codecs/JPEG.red
#include %environment/codecs/BMP.red
#include %environment/codecs/GIF.red
#include %environment/codecs/JSON.red
#include %environment/codecs/CSV.red

#include %environment/reactivity.red ;-- requires SET intrinsic
#include %environment/networking.red
Expand Down
27 changes: 16 additions & 11 deletions build/includes.r
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ write %build/bin/sources.r set-cache [
;%css-colors.red
%datatypes.red
%functions.red
%lexer.red
%natives.red
%networking.red
%operators.red
Expand All @@ -34,12 +33,12 @@ write %build/bin/sources.r set-cache [
%scalars.red
%system.red
%codecs/ [
%bmp.red
%gif.red
%jpeg.red
%png.red
%csv.red
%json.red
%BMP.red
%GIF.red
%JPEG.red
%PNG.red
%CSV.red
%JSON.red
]
%console/ [
%auto-complete.red
Expand Down Expand Up @@ -85,6 +84,8 @@ write %build/bin/sources.r set-cache [
%dtoa.reds
%hashtable.reds
%interpreter.reds
%lexer.reds
%lexer-transitions.reds
%macros.reds
%natives.reds
%ownership.reds
Expand All @@ -101,8 +102,6 @@ write %build/bin/sources.r set-cache [
%tools.reds
%unicode.reds
%utils.reds
%image-utils.reds
%vector2d.reds
%datatypes/ [
%action.reds
%block.reds
Expand All @@ -112,6 +111,7 @@ write %build/bin/sources.r set-cache [
%common.reds
%context.reds
%datatype.reds
%date.reds
%email.reds
%error.reds
%event.reds
Expand All @@ -120,14 +120,17 @@ write %build/bin/sources.r set-cache [
%function.reds
%get-path.reds
%get-word.reds
%handle.reds
%hash.reds
%image.reds
%image-utils.reds
%integer.reds
%issue.reds
%lit-path.reds
%lit-word.reds
%logic.reds
%map.reds
%money.reds
%native.reds
%none.reds
%op.reds
Expand All @@ -138,6 +141,7 @@ write %build/bin/sources.r set-cache [
%percent.reds
%point.reds
%port.reds
%ref.reds
%refinement.reds
%routine.reds
%series.reds
Expand All @@ -153,9 +157,8 @@ write %build/bin/sources.r set-cache [
%unset.reds
%url.reds
%vector.reds
%vector2d.reds
%word.reds
%handle.reds
%date.reds
]
%platform/ [
%android.reds
Expand Down Expand Up @@ -228,6 +231,8 @@ write %build/bin/sources.r set-cache [
%comdlgs.reds
%draw.reds
%events.reds
%css.reds
%color.reds
%font.reds
%gtk.reds
%gui.reds
Expand Down
Loading