Commit Graph

55 Commits (a9ebc772df8d90a36b772cdebf5d85e3670a54ab)

Author SHA1 Message Date
Doug Coleman 97a928a1bd images.loader.gtk: Add with-destructors. Fixes #1893.
Also did this on imac: cd /usr/local/lib && ln -s /opt/local/lib/libgobject-2.0.dylib .
2017-12-29 15:25:16 -06:00
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Björn Lindqvist ba9a1ca5ef basic/, extra/: even more tags 2017-07-07 01:45:13 +02:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
John Benediktsson 6b1bb67ba6 images.loader.gtk: remove call to deprecated g_type_init. 2016-11-30 09:21:42 -08:00
Björn Lindqvist a9ac763912 alien.libraries: word>dlsym was a stupid idea that didn't work
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist bfd40f0215 images.loader.gtk: startup hook for type registration 2016-11-30 11:57:14 +01: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
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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 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 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
Slava Pestov cf238b4c7d images.*: remove usage of io.streams.limited 2011-09-01 22:31:45 -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
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
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
Keith Lazuka 6ce12ed342 images.bitmap: now conforms to image encode protocol. images.normalization: added several component-order shuffle words 2009-10-09 15:58:34 -04:00
Keith Lazuka f297e88987 images.loader: added image encode protocol 2009-09-30 10:00:18 -04:00
Doug Coleman be8033a39f limit the byte-reader streams when loading images 2009-09-28 16:29:56 -05:00
Doug Coleman bdb95d7fc3 remove debug, fix bootstrap 2009-08-26 14:45:02 -05:00
Doug Coleman 974266c9d5 support loading images from streams, add load-http-image 2009-08-26 14:27:01 -05:00
Slava Pestov b18c84454b Move constructors vocabulary to extra and refactor basis code not to use it 2009-06-13 18:47:19 -05:00
Doug Coleman a3f0c6c057 use singletons instead of subclassing the image class 2009-06-04 16:09:38 -05:00
Daniel Ehrenberg ba5b582e01 Redoing images.loader to work with jpeg 2009-06-02 20:39:51 -05:00
Slava Pestov 7c705c4db4 Comment out JPEG code until we figure out if we want default bootstrap to depend on BLAS or not 2009-05-16 10:02:48 -05:00
Doug Coleman c443d6d815 check in marc's jpeg loader, png decoder, huffman, inflate, and image-processing vocabularies 2009-05-14 15:46:10 -05:00
Doug Coleman 1551eacfa2 add support for tiff grayscale images 2009-04-09 10:44:50 -05:00