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
John Benediktsson
5c76cbb421
rename some words to x>sequence and sequence>x.
2012-07-23 21:28:38 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
Doug Coleman
de9997dea3
issue #358 : fix images.gif
2012-06-21 08:35:43 -07:00
Joe Groff
273b5115bf
add content-gadget hook for inspector
...
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
5f735e4fcc
images.viewer.prettyprint: mark not loaded/tested
...
Prevent mason from loading it and complaining that it can't write gadgets to a text file.
2011-11-13 23:09:37 -08:00
Joe Groff
d1786adfe4
new module images.viewer.prettyprint
...
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
John Benediktsson
afc07c0e05
io.binary: make le> and be> faster (20% and 75%, respectively).
...
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
2011-10-11 21:13:30 -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
Joe Groff
81b12adcad
math.blas, alien.fortran: move to unmaintained cuz I'm getting too old for this shit. closes #171
2011-09-24 20:59:21 -07:00
Doug Coleman
f41fcc937e
Forgot QUALIFIED: math in images.png.
2011-09-13 15:45:47 -05:00
Doug Coleman
cb1ed13a37
Generate reference .figs for all of pngsuite
...
Make directory for bad pngs from libpng
2011-09-13 12:11:04 -05:00
Doug Coleman
5ea02f4798
PNG library should reverse filter on entire bytes
...
Add word to test that some pngs fail to load
2011-09-13 12:10:18 -05:00
Doug Coleman
e04b0acdcd
Update png images tests for image structure change
2011-08-31 15:28:49 -05:00
Joe Groff
57bcd3a039
images: move pure Factor image format implementations to extra/
2011-08-27 17:30:45 -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
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
John Benediktsson
2005df3b0c
Merge branch 'master' of git://github.com/slavapestov/factor
2011-02-14 22:19:34 -08:00
Keita Haga
073eda332a
In several documentation, remove whitespace before or after the colon or period
2011-02-10 01:51:13 +09:00
John Benediktsson
f4cc2bcdaa
images.http: allow urls to be used with http-image.
2011-01-27 20:00:42 -08:00
John Benediktsson
1defecf279
images.http: use the content type from the http response if provided.
2011-01-26 18:05:02 -08:00
John Benediktsson
b4ca9daf27
images.gif: the Graphics Control Block is OPTIONAL in the GIF spec.
2011-01-26 17:23:30 -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
Slava Pestov
fbbaef70c4
Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction
2010-10-08 18:55:13 -07:00
Doug Coleman
f7af445625
Add stream-peek1 and remove it from images.gif and dns. Add sequence-peek but not stream-peek (yet?)
2010-10-08 06:34:17 -07:00
Doug Coleman
d97bf9f890
Move <rgb-image> to images.testing, add randomize-image word
2010-09-19 21:54:04 -05: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
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
05f98a184c
images.viewer: tag "not tested" rather than "not tested^M"
2010-05-18 12:43:31 -07:00
Slava Pestov
8a1765a9e9
images.viewer: add not tested tag since the unit tests rely on a GL context
2010-05-18 15:39:43 -04:00
Jon Harper
c7012f4276
fix exception for large images
2010-05-16 17:36:51 +02:00
Jon Harper
429c9df977
gl-texture-int is now in opengl.textures
2010-05-15 21:44:08 +02:00
Jon Harper
badbb3fbfd
fix images.viewer + documentation
2010-05-15 21:33:22 +02:00
Erik Charlebois
3d4dadffe2
Image encoding/decoding of PBM format
2010-04-12 00:49:16 -07:00
Erik Charlebois
925d2c7e58
PGM image loading and saving
2010-04-04 03:23:04 -07:00
Erik Charlebois
116c8850ac
PPM image loading and saving
2010-04-01 00:44:32 -07:00
Doug Coleman
55e772c528
Remove the http-data word
2010-03-01 22:32:15 -06:00
Doug Coleman
9bf7f56283
Add a new word http-data that is just http-get nip
2010-02-27 07:58:35 -06:00
Joe Groff
1df64a12ce
images.atlas: add "make-atlas-assoc" word to take a name->image assoc and generate a name->texcoord assoc alongside the atlas
2010-02-04 19:43:14 -08:00
Joe Groff
df744bf633
tweak images.atlas interface. return a hash of images to texcoords for the images that made up the atlas
2010-02-01 12:05:28 -08:00
Joe Groff
52e25f190c
images.atlas tool for creating an atlas image from an array of image objects
2010-01-29 16:33:19 -08:00
Slava Pestov
8b8b9031fd
Move a few libraries from extra to basis since basis stuff depends on them
2009-11-01 22:17:00 -06:00
Joe Groff
935c0797c3
update existing code for [let change
2009-10-27 22:05:37 -05:00
Keith Lazuka
5429b2132a
images.normalization: reorder-components should fail if component-order is not a representation of its layout
2009-10-09 15:58:36 -04:00
Keith Lazuka
afae8753f2
images.normalization: fixed USING
2009-10-09 15:58:36 -04:00