Commit Graph

167 Commits

Author SHA1 Message Date
eknauel 7040a29760 - Don't export fontsets --- that'll make memory handling and calling
finalizers much more complicated.  Convert fontset to a list of
  patterns instead.

- Don't add a finalizer to pattern returned xft-font-match.  This
  seems to be the reason for the segfaults.  However, I have to admit
  don't fully understand why this is so.
2004-04-27 16:15:19 +00:00
eknauel afb80004d6 fix some issues with freeing Xft/fontconfig resources.
Remaining problem:

  - XftFontsetDestroy() calls free() for each XftPattern stored in the
    Fontset.  XftPatterns created by MAKE-XFT-PATTERN get their own
    finalizer, thus if added to the fontset, there might be two calls
    to free() for that object.  That needs fixing.
2004-04-25 09:27:40 +00:00
mainzelm 6ae8950d98 Adapt examples to load Sunterlib 0.6 files 2004-04-19 11:10:38 +00:00
frese 6ed5ef3d83 - added screen-number-of-screen function 2004-03-15 19:31:50 +00:00
frese 2298e207a0 updated for current interface 2004-01-08 19:08:50 +00:00
frese 444f614553 now using scsh's configure module 2004-01-04 14:37:05 +00:00
frese 23e02fea42 moved /scheme/load-scx.scm.in to /load.scm.in 2003-12-16 14:05:38 +00:00
frese 3472a3e3bd not needed anymore 2003-12-16 14:04:57 +00:00
mainzelm 8c463b59fd Build with xft support. 2003-12-02 12:10:28 +00:00
mainzelm abdae75b90 + Some patches from Daniel Kobras, mainly to reenable load-scx.scm from the source directory
+ Bump the version number to 0.2
2003-12-01 16:09:09 +00:00
michel-schinz b8ddec939b - use "cond" instead of "case" in "canonical-machine",
- downcase OS name in "canonical-os-name".
2003-11-30 20:50:50 +00:00
mainzelm a8b0bdd72a Use configure.scm to determine $host 2003-11-28 15:41:39 +00:00
mainzelm cf516d26c9 Install Scheme code in scheme/ 2003-11-22 20:05:09 +00:00
mainzelm 6a3a89a8c0 Install libraries into architecture-dependent directory 2003-11-22 19:38:14 +00:00
mainzelm aba02de319 Install scheme files and build load-scx.scm from load-scx.scm.in (Thanks to Daniel Kobras) 2003-11-22 14:13:33 +00:00
mainzelm db62ff412d Fix call to FONT-STRUCT:PROPERTIES in GET-FONT-PROPERTY 2003-11-11 06:52:53 +00:00
eknauel e5cb004372 + renamed a bogus occurence oft make-xft-draw 2003-10-28 10:28:25 +00:00
eknauel 0d9d7af4c5 Fixed empty-visual-info to call make-visual-info not make-visual 2003-10-27 10:08:03 +00:00
eknauel 3b66e8fcbe Got rid of the ridiculous scx- prefix 2003-10-27 10:06:25 +00:00
eknauel 4bdbd7e168 The all new, all fancy Xft demo program 2003-10-27 07:49:43 +00:00
eknauel 6097628ca7 + fixed scx-xft-font-match 2003-10-27 07:49:20 +00:00
eknauel dd2a4248c3 + fixed finalizer for xft-font
+ added XftDefaultSubstitute
+ added XftFontSet count/ref
2003-10-26 19:00:42 +00:00
eknauel 92c5bfba88 + little improvements 2003-10-26 16:43:21 +00:00
eknauel 359f7342ad + functions for accessing values inside a XftFont 2003-10-26 16:42:31 +00:00
eknauel 315948f857 + export some Xft constants to Scheme
+ finite types for some Xft pattern objects: xft-weight, xft-slant,
  xft-spacing, xft-rgba

+ functions for translating Xft constants to finite types

+ make XftPatternGet/Add() use the finite types

+ fixed a serious bug in scx_XftPatternAdd
2003-10-25 16:24:46 +00:00
eknauel 9d13fd2930 + predicates for Xft return codes 2003-10-25 13:48:04 +00:00
eknauel 6fa50d8c3d + Put Xft pattern objects into finite type xft-pattern-object 2003-10-25 13:20:47 +00:00
eknauel c6dcfb9fbc fixed scx_XftColorAllocValue() and its scheme counterpart 2003-10-24 06:27:02 +00:00
eknauel 72010947aa + added Xft example program 2003-10-23 17:29:09 +00:00
eknauel 9edc619ab1 scx-xft-color-alloc-name 2003-10-23 17:18:55 +00:00
eknauel 98b492b00d add xft-draw-string-8bit 2003-10-23 17:18:30 +00:00
frese ada7af2ab3 - fixed Iso-C problems
- minor bugs fixed.
2003-10-23 12:38:33 +00:00
frese 9e23478bfd added/changed functions for regions. 2003-10-19 16:50:33 +00:00
eknauel 6a7e9007d7 + fixed gc'ing for xft-color and xft-fontset objects (maybe...)
+ provide more functions for xft-fontsets
+ accept scx's screen-type instead of the raw screen-number
+ added debugging functions XftPatternPrint(), XftFontSetPrint()
+ added XftDefaultHasRender()
2003-10-17 08:38:24 +00:00
eknauel 8892dd700c + added support for XRenderColor 2003-10-17 08:34:07 +00:00
eknauel 5c69abfa05 + fixed typo
+ fixed import of c vars
2003-10-16 16:05:03 +00:00
eknauel a289e7a1d3 + fixed interfaces for Xft stuff
+ added xft package
2003-10-16 16:04:16 +00:00
eknauel bd39b49201 + better handling of functions specific to Xft 2
+ added interface definitions
2003-10-14 15:27:33 +00:00
eknauel ff15c7cd3a + added support for XGlyphInfo (part of the Xrender extension)
+ many bugfixes for xft.[ch]
+ added some interfacing scheme code
2003-10-13 15:27:19 +00:00
mainzelm 4384ee6b60 Kludge to terminate filtering threads 2003-07-15 09:02:55 +00:00
frese aae4511c7b fixed x-error handling / warnings because it did return unspecific 2003-05-04 17:35:02 +00:00
frese 0afc105e6c modified and fixed xlib-error handling/signaling 2003-05-01 21:05:33 +00:00
frese 95c80db77f fixed bug with structure-notify and substructure-notify event-masks 2003-04-25 18:51:07 +00:00
frese e7108c64ca fixed a bug in draw-line 2003-04-15 15:50:11 +00:00
frese 87ee1ef07d replaced the timeout in wait-event with a select on a pipe that wakes up
a wait-event call in the after-function.
2003-04-01 11:35:12 +00:00
frese c813f7466b - fixed bugs in wait-event, property type
- added atom constants from Xatom.h
2003-03-26 14:43:03 +00:00
frese 9967c456ee - fixed some small bugs and typos
- changed error and after-function handling a bit
- added screen caching
- added timeout in wait-event implementation (did not work with multiple threads)
2003-03-25 18:27:18 +00:00
frese 968e69403f - fixed a bug with the default-screen
- fixed sync-event queue problem
2003-03-13 15:17:36 +00:00
frese 9748014efe modified to match the new interface. 2003-03-13 13:48:22 +00:00
frese fa5085eccf - using select in wait-event now
- modified error handling
- added cml-based event dispatcher to sync-event.scm
- fixed some bugs in mask-handling
- fixed a bug with enum-sets
2003-03-13 13:47:17 +00:00