Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
Björn Lindqvist
8cd471eda6
images.loader.gdiplus: both BGRA and BGRX formats are supported
2015-10-25 21:57:41 +01:00
John Benediktsson
75e50ec5e0
images.loader: use accessors in tests.
2015-09-06 08:23:17 -07:00
Björn Lindqvist
5684fab484
images.loader.gdiplus: fix for the call to GdipBitmapLockBits
...
GdipBitmapLockBits might trigger gc so the GpRect struct must be copied
to stable stack memory so that the collector doesn't move it.
2015-09-06 15:15:01 +02:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson
04c0fdc39e
images: adding an "each-pixel" that iterates over pixels by row.
2015-07-14 17:19:04 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
ed5eb5f644
images.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>.
2014-11-29 18:58:42 -08:00
John Benediktsson
1fc1c4f091
images: cleanup using.
2014-10-24 18:18:45 -07:00
Björn Lindqvist
78830a476a
images.loader.tests: restructure the tests because the gtk linux backend doesn't handle some formats that the windows backend does
2014-10-10 10:55:52 -07:00
Björn Lindqvist
9d384c14ba
images.loader.gtk: fix fall-through in case problem in image>GdkPixbuf
2014-10-10 10:55:45 -07:00
Björn Lindqvist
c0b4537e1a
images.loader.gdiplus: implementation of the image>stream word for GDI+
...
for Windows
2014-10-09 14:37:58 -07:00
Björn Lindqvist
c10c5f5736
images: move rowstride to the images vocab because it will be used by
...
gdi too
2014-10-09 14:37:58 -07:00
John Benediktsson
dcd3938d0d
images.loader: simplify registrations.
2014-03-14 09:17:13 -07:00
John Benediktsson
ab76deaf25
images: minor cleanup.
2014-03-14 08:26:05 -07:00
John Benediktsson
4e206f4181
images.loader: optionally register "non-system" image classes.
2014-03-14 07:32:27 -07:00
Björn Lindqvist
944718c817
images.loader: docs for save-graphic-image
2014-03-14 07:32:26 -07:00
Björn Lindqvist
3a8164cd8a
images.loader: support for saving images on the gtk-image backend
2014-03-14 07:32:26 -07:00
John Benediktsson
140252f6f4
images.loader.cocoa: adding ability to save cocoa images to files.
2013-09-20 11:58:39 -07:00
Doug Coleman
f9ea61bf91
basis/extra: Update last usages of <sliced-groups> to <groups>.
2013-03-23 12:08:18 -07:00
Doug Coleman
8917ae9ad7
grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes
2013-03-23 11:37:51 -07:00
John Benediktsson
9a9ccf971b
images: don't truncate in image-dim.
2012-11-01 16:48:44 -07:00
John Benediktsson
e5d325df44
images: adding "2x" images.
2012-11-01 16:11:55 -07:00
Doug Coleman
2b9f4668b6
images: gdiplus had a resource leak (file descriptor). change stream>image to dispose of the
...
stream no matter what.
2012-08-25 11:44:40 -07:00
Joe Groff
bf0e07cffe
images.loader.gtk: typo
2011-11-02 19:02:27 -07:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Doug Coleman
359c931d35
Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176 .
2011-11-02 09:38:03 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson
645fb8ccd3
images.cocoa: removing unused image loader code.
2011-09-25 16:41:11 -07:00
John Benediktsson
849674f847
images: only register with the images.loader on proper platform. Fixes #172 . Fixes #173 .
2011-09-24 19:19:34 -07:00
Slava Pestov
8d4891a5af
core-graphics: set premultiplied-alpha? in make-bitmap-image. Fixes #73
2011-09-08 23:08:16 -07:00
Joe Groff
863262ece7
images.cocoa: set premultiplied-alpha? on loaded images
2011-09-03 11:30:27 -07:00
Slava Pestov
b3cbdb0426
images.cocoa: fix it to work on OS X 10.5 by drawing the image into a CGContext instead of getting image data directly
2011-09-02 18:59:58 -07:00
Slava Pestov
cf238b4c7d
images.*: remove usage of io.streams.limited
2011-09-01 22:31:45 -07:00
Joe Groff
13d1a8b8c8
Merge remote-tracking branch 'github/merge-native-image-loader'
2011-08-28 13:37:11 -07:00
Joe Groff
ba416afd61
images.tessel(l)ation: spelling
2011-08-27 17:30:45 -07:00
Joe Groff
57bcd3a039
images: move pure Factor image format implementations to extra/
2011-08-27 17:30:45 -07:00
Joe Groff
baeb8a45fe
images.gdiplus, windows.gdiplus, windows.streams: update for change to with-out-parameters
2011-08-27 15:53:07 -07:00
Joe Groff
9040ee37e0
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
John Benediktsson
a429f67b87
Merge remote-tracking branch 'philip-searle/master'
2011-08-26 19:42:04 -07:00
John Benediktsson
1defecf279
images.http: use the content type from the http response if provided.
2011-01-26 18:05:02 -08:00
Philip Searle
e83cc32b14
Add palette and odd-sized PNG unit tests. Fix loading interlaced PNGs < 8x8 in size.
2010-11-13 23:52:13 +00:00