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
Philip Searle
a22f5611de
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
0c70f74abe
Correct greyscale PNG scaling factor. Non-interlaced greyscale PNG tests now pass.
2010-11-13 19:29:26 +00:00
Doug Coleman
468d1d40c9
Fix compile error in images.jpeg
2010-10-01 01:41:26 -05:00
Doug Coleman
d97bf9f890
Move <rgb-image> to images.testing, add randomize-image word
2010-09-19 21:54:04 -05:00
Doug Coleman
84942b5409
Make a couple utility words in images vocabulary
2010-09-19 21:43:36 -05:00
Philipp Brüschweiler
b58c93ddbd
Merge remote branch 'origin/native-image-loader' into my-gtk
2010-08-01 11:09:39 +02:00
Philipp Brüschweiler
4c7a88c8a4
images: fix some tests that broke due to an additional slot in image
2010-07-31 20:37:45 +02:00
Philipp Brüschweiler
72f7bced2b
images.gdiplus: add platform.txt
2010-07-31 20:37:45 +02:00
Philipp Brüschweiler
8c61b874b7
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
035ba3bc93
ui.backend.gtk, tools.deploy.unix: support for icons
2010-07-22 12:39:16 +02:00
Philipp Brüschweiler
bb50d31b39
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
9f7847d8ec
images.gtk: use GdkPixbuf to load images
2010-07-17 11:28:24 +02:00
Joe Groff
74dc8db962
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
67a1a0bdea
ui.images, images.loader: move platform-specific image loader setup into images.loader
2010-07-11 08:44:27 -07:00
Joe Groff
abf0aed985
images.cocoa, images.gdiplus: remove hacks around old limited-stream throwing behavior
2010-07-11 08:41:55 -07:00
Joe Groff
3d9c1f9cd5
Merge branch 'master' into native-image-loader
2010-07-11 08:27:29 -07:00
Joe Groff
b1c557a825
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
7f0ba86421
images.jpeg: fix loading error
2010-07-09 14:30:26 -07:00
Joe Groff
8b7cb0bc21
images.p[bgp]m: use throws-on-eof
2010-07-09 14:26:17 -07:00
Joe Groff
9a2dd6a96c
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
0bdc1514fd
io.streams.limited: remove unlimit*
2010-07-09 13:52:15 -07:00
Doug Coleman
2ca509a8fe
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
e228d8478f
images.gdiplus: GDI+ "ARGB" is little-endian, so really maps to opengl BGRA
2010-07-07 14:51:16 -07:00
Joe Groff
aa047a8c79
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
8816b1e215
ui.images: load images.gdiplus as default image handler on windows
2010-07-07 09:07:26 -07:00
Joe Groff
958e086903
new vocab images.gdiplus: image loading using standard windows gdi+ library
2010-07-06 22:37:14 -07:00
Joe Groff
0d35e277ea
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