Commit Graph

146 Commits

Author SHA1 Message Date
frese a678b14752 fixed gc protection 2003-05-02 12:51:03 +00:00
frese 0afc105e6c modified and fixed xlib-error handling/signaling 2003-05-01 21:05:33 +00:00
frese 5f0df79c0f prevent a context switch withing the after-function with
disable/enable-interrupts
2003-04-26 12:01:24 +00:00
frese 2e6d5657a4 fixed bug due to s48_get_imported_binding causing a garbage collection. 2003-04-25 18:52:58 +00:00
frese ad89f01b78 fixed bugs in some structure events
fixed a bug in client-message-event
2003-04-24 15:08:24 +00:00
frese c72b51e58e fixed a bug in scx_enter_size_hint_alist 2003-04-22 21:55:26 +00:00
frese f12cd06a4e make code ANSI-C compliant 2003-04-17 14:53:27 +00:00
frese 89e23d9df0 fixed a bug in LookupString 2003-04-03 19:28:35 +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 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
frese 829150be2f obsolete 2003-03-11 03:06:17 +00:00
frese aaf82e55b6 - changed xid-types to simple numbers
- added "display" to function interfaces
- moved type extraction/creation to C
- more simplifications
2003-03-11 02:47:38 +00:00
frese acc76aa869 - fixed the fix in scx_extents_text :-( 2002-06-19 08:45:33 +00:00
frese c4863e589d - fixed some small bugs in scx_set_after_function and scx_extents_text. 2002-06-19 08:35:23 +00:00
frese 093edeb064 - fixed a bug in get-wm-hints. 2002-04-26 08:22:46 +00:00
nofreude 1921b30246 changed the resurce enumeration 2002-04-25 13:13:49 +00:00
nofreude 44d7ea81e6 First, imperfect version of the resource-conversion: scheme48<->XtResource. Some
additional work has to be done, e.g. the callback-converter code.
2002-04-12 13:22:21 +00:00
frese 1bf411918c + added function to read/write properties of type WINDOW. 2002-04-02 11:36:34 +00:00
frese 546f0d828f - fixed a bug in get-window-attributes. 2002-03-17 15:52:03 +00:00
frese a14d2fbadf - fixed a bug in text-width. 2002-03-17 15:51:21 +00:00
frese 6bb4947c2c - fixed a bug in get-property.
- added some functions for easier access to properties: get-property,
  get-string-property, change-string-property.
2002-03-17 15:50:41 +00:00
frese 26c416d441 - graphic functions now all use lists and pairs as rectangle/point
arguments.
- addded some auxiliary functions for rectangles.
2002-03-17 15:49:02 +00:00
frese 351ba3e23e - fixed a bug in scx_Get_Gc_Values. 2002-03-17 15:47:09 +00:00
frese 2c91c73a18 - the xlib-internal event-queue was not respected in event-ready? and
wait-event etc.
2002-03-17 15:44:45 +00:00
frese a7ec9ccd53 - replaced the use of symbols 'none, 'parent-relative etc. by
functions that create special X-Objects. e.g. special-window:none,
  special-pixmap:copy-from-parent.

- added a discloser for windows (makes debugging easier).

- fixed bugs in gcontext-font, get-window-attributes and text-width

- added enumerated types for colormap-alloc in create-colormap and grab-mode
2002-03-17 15:41:56 +00:00
frese 84ca2f8675 + fixed some bugs.
+ added optional screen argument to some display-functions.
+ added more any-event-* functions.
+ implemented send-event.
+ updated interfaces.
2002-02-25 13:10:11 +00:00
nofreude 1cd80a8dcf First basic implementation in scheme48 2002-02-15 14:46:45 +00:00
mainzelm 2ddccd90a2 Pass command line to scsh. 2002-02-15 09:43:43 +00:00
frese 28f5ce9341 - not needed anymore. 2002-02-08 17:15:27 +00:00
frese 10558fa5f0 - fixed GC_PROTECT bugs
- replaced most of symbol or symbol list arguments by enumerated types,
  enum-sets and alists of enumerated types.
- reformed event representation. Every event has it's own record-type now.
2002-02-08 17:09:43 +00:00
frese 2f1b033618 - fixed GC protection. 2002-02-04 13:40:22 +00:00
frese b6a026853a - fixed a bug in draw-image-text. 2002-02-04 12:44:08 +00:00
frese 40fcb8e61d - updated for new libs directory and structures, resp. the xpm package. 2002-01-28 00:23:38 +00:00
frese 70c363f042 - implemented read-file-to-pixmap and create-pixmap-from-data. 2002-01-28 00:21:16 +00:00
frese b4f1bcad78 - changed variable arguments and return values in set-wm-hints!,
get-wm-hints, set-wm-normal-hints!, get-wm-normal-hints,
create-gcontext, change-gcontext, get-visual-info,
change-window-attributes, get-window-attributes, configure-window,
create-window to use an enumerated type instead of symbols.
- renamed functions in xlib-client (e.g. wm-hints to get-wm-hints).
2002-01-06 16:53:13 +00:00
frese 625a7c2fc2 + added forgotten export of scx_Copy_Region. 2001-12-13 13:26:21 +00:00
mainzelm ac61d5fcef Wait on events by using the VM's select. 2001-12-04 14:18:57 +00:00
mainzelm 443719def9 Use SCXIMAGE to determine the image. 2001-12-04 11:07:47 +00:00
frese 08c1a8b798 - update and moved here from c/xlib/ 2001-12-04 10:23:51 +00:00
frese 9c3925b721 - elk used this file but we never did. 2001-10-23 09:46:12 +00:00
frese 7a7c752670 - added and corrected some symbol tables. 2001-10-09 15:46:21 +00:00
frese faffbdd4ed - added finalize? argument to make-pixel, so that allocated
color-cells (=pixels) are freed correctly.
2001-10-09 15:45:26 +00:00
frese fefeb73ccf - completed get-gcontext-values and change/get-window-attributes to
pack/unpack all values correctly.
- added copy-gcontext! and copy-gcontext
- added comments.
2001-10-09 15:43:55 +00:00
frese 9478e09049 - make-font can now create a font from a font-id (Xfont)
- added %font->fontstruct, resp. scx_Font_ID_To_Font_Struct for that.
- removed gcontext-font (see gcontext.scm)
- added comments.
2001-10-09 15:42:26 +00:00
frese b4fb3ffd9f - added display-select-input, resp. scx_Display_Select_Input. 2001-10-09 15:33:45 +00:00
frese 648252ba0d - removed direct calls to scx_Create_Color
- renamed save-color-cell to store-color
- added store-colors, copy-colormap-and-free,
respect. scx_Store_Colors, scx_Copy_Colormap
- renamed alloc-named-color to query/alloc-named-color
- added new alloc-named-color that can be used like alloc-color!
- changed my-floor definition (color.scm)
- added parse-color
- updated calls to make-pixel
2001-10-09 15:31:33 +00:00
frese ac8219c0a8 - fixed a memory leak in scx_Wm_Hints. 2001-10-09 15:27:30 +00:00
frese 41efc382c7 + graphic: changed representations of rectangles to lists (x y width height),
and points to pairs (x . y). Added some auxiliary functions for that.
+ text: made the format arguments optional, and default to '1-byte.
+ added comments.
2001-10-04 12:31:44 +00:00
frese f388edb0f1 + fixed bugs in scx_Display_Keycodes_Per_Keysym and
scx_Keycode_To_Keysym.
+ added comments.
2001-10-04 12:21:25 +00:00
frese 45c05c8475 + added new types, interface and structure for region. 2001-09-25 12:56:15 +00:00
frese 5bd0685662 + added support for regions. 2001-09-25 12:45:12 +00:00
frese e7cce49d13 + Added support for visuals.
+ Implemented some missing routines for color control:
create-colormap, alloc-color-cells, set-color-cell.
2001-09-20 14:41:01 +00:00
frese f6d39682a3 fixed some typos. 2001-08-29 14:54:26 +00:00
frese 780cc2f939 implementation for scheme48. 2001-08-29 14:54:05 +00:00
frese 3a36140b69 corrected the implementation of the after-function stuff. 2001-08-29 14:52:44 +00:00
nofreude 13e3c7ad78 first implementation for s48 2001-08-28 14:39:07 +00:00
nofreude e93288fc47 first implementation for s48 2001-08-28 14:19:32 +00:00
nofreude 254a6c92ce added the Scx_parse_Color Funktion. 2001-08-22 14:51:06 +00:00
nofreude a61c257d4e first implementation for s48 2001-08-22 12:09:56 +00:00
frese 42c8c9b37e implemented for scheme48. 2001-08-22 11:57:51 +00:00
frese 6455adec4b fixed some typos. 2001-08-22 11:56:46 +00:00
frese b352b3d4c5 Abstracted over the input of an XWindowChanges structure as an alist,
to use in scx_Configure_Window as well as in scx_Reconfigure_Wm_Window
(client.c).
2001-08-21 08:26:54 +00:00
frese 4b314ade40 Added correct memory allocation for the char and XChar2b arrays in
scx_Draw_Image_Text and scx_Draw_Poly_Text. Added the scx_ prefixes.
2001-08-21 08:19:02 +00:00
frese 2c8bb6981f fixed the calls to XListFonts, XListFontsWithInfo. 2001-08-21 08:11:26 +00:00
frese 193a14a544 Added suffix "scx_" to all functions and macros. Added initialization
for all GC_PROTECTed variables.
2001-07-31 14:51:21 +00:00
frese 6fffd9346a migrated to scheme48. 2001-07-31 13:15:32 +00:00
frese def9eb131a fixed AList_To_XWindowAttributes, changed all function from returning
lists to returning vectors.
2001-07-30 14:22:22 +00:00
frese aa52bf5b67 fixed Bit_To_Symbol and Bits_To_Symbols. 2001-07-30 14:18:32 +00:00
frese a6a8d85ac1 fixed AList_To_GCValues and corrected the representation of gcontext->function. 2001-07-30 14:15:34 +00:00
frese 18b286a92f fixed some calls of Bits_To_Symbols. 2001-07-30 14:13:03 +00:00
frese 6163f90f6f implemented in scheme48. 2001-07-30 14:11:41 +00:00
frese 72e7e23b89 added Get_Geometry. 2001-07-19 15:34:22 +00:00
frese 443e7ebb9c fixed bug in AList_To_GCValues. 2001-07-19 15:33:50 +00:00
frese 3f576eac93 added Get_Motion_Events. moved Event_Syms table to type.c. removed
commented code.
2001-07-19 15:32:59 +00:00
frese 9789bdd313 fixed Bit_To_Symbol bug. inserted Event_Syms table. 2001-07-19 15:31:12 +00:00
frese e691622d29 added new types and files. 2001-07-19 15:29:18 +00:00
nofreude 71fc990882 Changes for scheme48 and scx 2001-07-19 13:59:42 +00:00
frese 3a18c650e5 implemented the functions for scx. 2001-07-18 15:44:41 +00:00
nofreude 120a787447 Changed to Scheme48 2001-07-16 13:22:50 +00:00
frese 37a4d6ac46 Fixed wrong definition of Event_Mask_Syms. And commented out unused things. 2001-07-16 11:57:12 +00:00
frese bb12a98fa8 Fixed Event_Mask_Syms/Event_Syms confusion. 2001-07-16 11:55:03 +00:00
frese 2a471242a5 Fixed wrong string comparison. 2001-07-16 11:52:01 +00:00
frese 704e6cc895 Added/renamed Event_Mask_Syms. Changed Symbol(s)_To_Bit(s). 2001-07-16 11:51:14 +00:00
nofreude 539d16858a some fixes 2001-07-11 14:59:28 +00:00
nofreude a1079b015b *** empty log message *** 2001-07-11 14:49:34 +00:00
nofreude 7609b10f0e *** empty log message *** 2001-07-11 14:22:42 +00:00
frese 6f62901564 new: event.c, and some changes. 2001-07-09 13:39:59 +00:00
uid52805 743f003202 Ported to Scheme48. 2001-07-04 14:21:56 +00:00
frese 8e54e23d26 some changes, cleaned up, debuged and tested. 2001-06-27 13:44:48 +00:00
frese 45ffe04e5f Only some small changes. 2001-06-25 11:46:06 +00:00
frese 36f9d36db5 Major changes. The first window showed up! 2001-06-11 15:25:39 +00:00
frese 54bc366be8 Minor changes. 2001-05-21 15:33:59 +00:00
frese ce53a9ebd9 Untested conversion to the s48 ffi. 2001-05-21 15:33:32 +00:00
frese e87ee02ee9 First automatic conversion to scheme48 names. 2001-05-14 13:48:37 +00:00
frese f4b9866a6b Unmodified C files from elk. 2001-05-08 14:21:00 +00:00