Joe Groff
eb711a5e73
images.loader.gtk: typo
2011-11-02 19:02:27 -07:00
Joe Groff
75cba3106a
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Doug Coleman
caa71f1c98
Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176 .
2011-11-02 09:38:03 -07:00
John Benediktsson
0e3d598e69
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
62029073da
images.cocoa: removing unused image loader code.
2011-09-25 16:41:11 -07:00
John Benediktsson
508a504907
images: only register with the images.loader on proper platform. Fixes #172 . Fixes #173 .
2011-09-24 19:19:34 -07:00
Slava Pestov
9a0140ea08
core-graphics: set premultiplied-alpha? in make-bitmap-image. Fixes #73
2011-09-08 23:08:16 -07:00
Joe Groff
b841a33ad8
images.cocoa: set premultiplied-alpha? on loaded images
2011-09-03 11:30:27 -07:00
Slava Pestov
1ecc572da8
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
ef1ddca2fe
images.*: remove usage of io.streams.limited
2011-09-01 22:31:45 -07:00
Joe Groff
5010720ad3
Merge remote-tracking branch 'github/merge-native-image-loader'
2011-08-28 13:37:11 -07:00
Joe Groff
9a58ad111a
images.tessel(l)ation: spelling
2011-08-27 17:30:45 -07:00
Joe Groff
2fe4152b81
images: move pure Factor image format implementations to extra/
2011-08-27 17:30:45 -07:00
Joe Groff
c84758646e
images.gdiplus, windows.gdiplus, windows.streams: update for change to with-out-parameters
2011-08-27 15:53:07 -07:00
Joe Groff
3757210244
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
879523d163
Merge remote-tracking branch 'philip-searle/master'
2011-08-26 19:42:04 -07:00
John Benediktsson
2dc1a52cc7
images.http: use the content type from the http response if provided.
2011-01-26 18:05:02 -08:00
Philip Searle
b9bf4af258
Add palette and odd-sized PNG unit tests. Fix loading interlaced PNGs < 8x8 in size.
2010-11-13 23:52:13 +00:00
Philip Searle
37d146d315
Fix support for interlaced 1/2/4/8/16-bit greyscale and interlaced 8-bit truecolour PNG files.
2010-11-13 21:45:11 +00:00
Philip Searle
8e749d52ce
Correct greyscale PNG scaling factor. Non-interlaced greyscale PNG tests now pass.
2010-11-13 19:29:26 +00:00
Doug Coleman
918108bccd
Fix compile error in images.jpeg
2010-10-01 01:41:26 -05:00
Doug Coleman
45b0791f1e
Move <rgb-image> to images.testing, add randomize-image word
2010-09-19 21:54:04 -05:00
Doug Coleman
dbdcb78cab
Make a couple utility words in images vocabulary
2010-09-19 21:43:36 -05:00
Philipp Brüschweiler
303da7e303
Merge remote branch 'origin/native-image-loader' into my-gtk
2010-08-01 11:09:39 +02:00
Philipp Brüschweiler
0e7dc91478
images: fix some tests that broke due to an additional slot in image
2010-07-31 20:37:45 +02:00
Philipp Brüschweiler
35c6d0b02f
images.gdiplus: add platform.txt
2010-07-31 20:37:45 +02:00
Philipp Brüschweiler
3551d1a404
ui.backend.gtk: load icon data directly into factor.image when deploying, no io is needed
2010-07-26 21:11:53 +02:00
Philipp Brüschweiler
5ea5881ccd
ui.backend.gtk, tools.deploy.unix: support for icons
2010-07-22 12:39:16 +02:00
Philipp Brüschweiler
52bb1c37f9
images.gtk: update to new with-out-parameters, small speedup when loading aligned images
2010-07-17 11:47:31 +02:00
Philipp Brüschweiler
6855bc3042
images.gtk: use GdkPixbuf to load images
2010-07-17 11:28:24 +02:00
Joe Groff
25bff1e66a
Revert "ui.images, images.loader: move platform-specific image loader setup into images.loader"
...
This reverts commit 2bbf752cbe .
2010-07-16 11:36:20 -07:00
Joe Groff
2bbf752cbe
ui.images, images.loader: move platform-specific image loader setup into images.loader
2010-07-11 08:44:27 -07:00
Joe Groff
56965b0f1e
images.cocoa, images.gdiplus: remove hacks around old limited-stream throwing behavior
2010-07-11 08:41:55 -07:00
Joe Groff
9a02e98e6e
Merge branch 'master' into native-image-loader
2010-07-11 08:27:29 -07:00
Joe Groff
4d082e08f4
io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words
2010-07-09 18:10:51 -07:00
Joe Groff
e8b9cb5116
images.jpeg: fix loading error
2010-07-09 14:30:26 -07:00
Joe Groff
40c1a28e7d
images.p[bgp]m: use throws-on-eof
2010-07-09 14:26:17 -07:00
Joe Groff
89307d2f94
images.loader and friends: push throws-on-eof down to the loaders that want it
2010-07-09 14:20:32 -07:00
Joe Groff
47a47f8e76
io.streams.limited: remove unlimit*
2010-07-09 13:52:15 -07:00
Doug Coleman
d00ea1892a
Split off io.streams.throwing from io.streams.limited and update usages of limited streams
2010-07-09 13:32:09 -05:00
Joe Groff
5101a86d6a
images.gdiplus: GDI+ "ARGB" is little-endian, so really maps to opengl BGRA
2010-07-07 14:51:16 -07:00
Joe Groff
bbacd08a7d
images.gdiplus: don't multiply stride by pixel size because that's part of the stride already, noob
2010-07-07 13:54:24 -07:00
Joe Groff
5180e12c6b
ui.images: load images.gdiplus as default image handler on windows
2010-07-07 09:07:26 -07:00
Joe Groff
39465ce8fd
new vocab images.gdiplus: image loading using standard windows gdi+ library
2010-07-06 22:37:14 -07:00
Joe Groff
36440c75a4
images, opengl.textures, images.cocoa: add support for premultiplied alpha so we can use data from cocoa images
2010-06-27 13:44:25 -07:00
Joe Groff
275c835338
images.cocoa: work around broken limited-stream behavior
2010-06-27 13:31:07 -07:00
Joe Groff
9689079c7e
new vocab images.cocoa: load image objects using native cocoa api
2010-06-27 12:29:21 -07:00
Philipp Brüschweiler
bf41d025d2
ui.render: set pack alignment to 1, so padding images isn't needed anymore
2010-06-01 13:52:00 +02:00
Slava Pestov
40f58f27d6
specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length
2010-05-18 23:09:34 -04:00
Slava Pestov
d2d466de29
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00