Commit Graph

347 Commits

Author SHA1 Message Date
handyande 6fe7d8ea33 Start tidyup with namespaces - fingers crossed
SVN revision: 9186
2004-03-01 23:11:28 +00:00
xcomputerman 63cab74f85 Fix typo
SVN revision: 9185
2004-03-01 23:08:45 +00:00
xcomputerman 2d071118c6 Xdnd drag code...
SVN revision: 9155
2004-02-29 08:15:47 +00:00
xcomputerman 51ffb9d7ec Throw in a couple macros
SVN revision: 9154
2004-02-29 05:08:26 +00:00
xcomputerman 2ab6962986 Add ecore_x_window_parent_get()
SVN revision: 9153
2004-02-29 04:37:18 +00:00
xcomputerman 9a7832dcdc Implement more functions prerequisite to Xdnd
- ecore_x_window_visible_get() <-- yeah, hard to believe it wasn't there
- ecore_x_server_grab/ungrab <-- that too
- ecore_x_window_at_xy_get()


SVN revision: 9152
2004-02-29 04:29:25 +00:00
Carsten Haitzler 2b2c5f4874 indenting cleanliness
SVN revision: 9103
2004-02-25 02:24:59 +00:00
handyande d2071dcb65 Hmm, Moz name changes again
SVN revision: 9097
2004-02-24 19:54:51 +00:00
tsauerbeck d245bdc21c Added ECORE_FD_ERROR to go w/ ECORE_FD_READ AND _WRITE. I couldn't trigger the error 'event' though, which makes me wonder whether i missed something
SVN revision: 9096
2004-02-24 19:45:01 +00:00
xcomputerman be56b5d25a Added generic functions to fetch geometry, border width
and depth for a drawable, and wrapper functions for windows
and pixmaps (overrides previous commit)


SVN revision: 9069
2004-02-21 21:44:48 +00:00
xcomputerman d4a727c911 ecore_x_window_geometry_get() added
SVN revision: 9068
2004-02-21 21:09:13 +00:00
xcomputerman a2df8a3305 Fetch AnyPropertyType from application
SVN revision: 9067
2004-02-21 20:44:37 +00:00
xcomputerman 999135b7e8 Finish up client message handling for Xdnd. Still has a couple of
unresolved cases that will be filled out when the actual dnd process loop
is written.


SVN revision: 9059
2004-02-21 08:58:20 +00:00
Carsten Haitzler fdf0900afc 1.fix docs @
2. sync AUTHORs and docs


SVN revision: 9040
2004-02-20 08:18:28 +00:00
Carsten Haitzler 75047789ad slight change in doc comments... get rid of htmlisms...
SVN revision: 9037
2004-02-20 07:06:29 +00:00
Carsten Haitzler fae57357af aaah bah! back to normal for you.
SVN revision: 9008
2004-02-17 12:57:40 +00:00
Carsten Haitzler 1a912496dd oops - fix make script...
SVN revision: 9004
2004-02-17 07:59:30 +00:00
Carsten Haitzler eeb498c48e cross-compile!
SVN revision: 9001
2004-02-17 07:12:01 +00:00
Carsten Haitzler 2ca079e07e dan sinclair's fix.
SVN revision: 8986
2004-02-16 02:48:13 +00:00
Carsten Haitzler f2739b6881 make moves and resizes immediate for ecore_evas - much mroe efficient :)
SVN revision: 8985
2004-02-16 02:26:38 +00:00
handyande 48909cd668 Fixy - taa kim
SVN revision: 8983
2004-02-15 22:43:48 +00:00
xcomputerman cf99e62a4d WM_NAME and WM_CLIENT_MACHINE should not be UTF8 strings, use proper
Xlib functions instead of manually setting the string property.


SVN revision: 8982
2004-02-15 22:33:55 +00:00
xcomputerman 50a3cd34cf Modified patch from kwo. Makes ecore_x_window_prop_withdrawn_set etc. do
the right thing, provides a proper framework for the initial_state
WMHint; fix a bug with client message event in prop_desktop_request()


SVN revision: 8980
2004-02-15 21:37:34 +00:00
handyande a1ddf4c17c A few mem leaks plugged - getting to grips with valgrind
SVN revision: 8976
2004-02-15 14:50:23 +00:00
handyande 1de79f8555 A few mem leaks plugged - getting to grips with valgrind
SVN revision: 8974
2004-02-15 14:43:08 +00:00
rephorm 00865bb457 use static buf's and snprintf
SVN revision: 8959
2004-02-13 17:07:45 +00:00
tsauerbeck e2d3ecad95 initialize e->modifiers. fixed indentation.
SVN revision: 8909
2004-02-08 19:39:29 +00:00
rbdpngn 696f8624c2 Wrapped the utf8 converter in an ifdef to match other uses in the file.
SVN revision: 8894
2004-02-08 07:49:16 +00:00
rbdpngn 91ac3f026a Missing handler for converting utf8 strings.
SVN revision: 8893
2004-02-08 07:45:37 +00:00
xcomputerman 8ff56f78ad Send and receive XdndStatus messages
SVN revision: 8883
2004-02-07 19:37:47 +00:00
xcomputerman 4230dd4018 Add layer constants to header file and update documentation accordingly
SVN revision: 8877
2004-02-07 12:05:55 +00:00
xcomputerman 665a4eea0a - Fix ambiguity in sticky hints ... NetWM defines two different ways of
making windows sticky, so we'll do both
- Fix desktop_request() function to actually do the right thing
- Add state_request() function


SVN revision: 8876
2004-02-07 11:59:43 +00:00
xcomputerman 825267301e Off-by-one array size is an unnecessary leak.
SVN revision: 8873
2004-02-07 11:20:48 +00:00
xcomputerman 7bd9bb32a1 Another API change suggested by kwo - layer_set() now accepts a value
from 1 to 255, 4 being the "default" layer.


SVN revision: 8872
2004-02-07 11:01:48 +00:00
xcomputerman b9a04789b4 - Fix nasty bug in NetWM state functions that caused it to read 8 bit
values from the vectors instead of 32bit XIDs
- ecore_x_window_prop_layer_set() now calls the state_set function
  instead of trying to manipulate the properties directly


SVN revision: 8871
2004-02-07 10:48:38 +00:00
xcomputerman debf59ce8b - Fix window_type_dialog_set() call in ecore_evas_test
- Ecore_Evas now returns the container window when we request its window,
  not the internal one - this fixes problems with NETWM hints not
  affecting ecore_evas windows


SVN revision: 8864
2004-02-07 00:55:37 +00:00
xcomputerman 42322a763f Mask out the window_type_foo* calls altogether
SVN revision: 8863
2004-02-07 00:50:54 +00:00
handyande b2968742fc Moved theme setting to be E-global (most things have a winter theme ;)
Fixed bug #0000029


SVN revision: 8861
2004-02-07 00:10:06 +00:00
rephorm 37c85df6ca make sure that the file actually gets writting on save.
SVN revision: 8856
2004-02-06 18:48:55 +00:00
xcomputerman ea6e49293b API Change enforced - instead of multiple window_type_foo_* functions, one
window_type_set() function with an enum parameter (ECORE_X_WINDOW_TYPE_*)


SVN revision: 8852
2004-02-06 17:46:47 +00:00
xcomputerman 9555ba07c8 More Xdnd code
- a few functions added to the header
- dnd events added
- more work on client messages


SVN revision: 8829
2004-02-06 05:32:51 +00:00
rbdpngn 9d138d3cf4 Hopefully, fix the parallel build issues some people were seeing.
SVN revision: 8815
2004-02-05 14:35:55 +00:00
xcomputerman 2a7be94297 Teh xdnd cometh!
No, it doesn't even remotely do anything useful yet.


SVN revision: 8812
2004-02-05 07:14:56 +00:00
tsauerbeck 9d7fe9552c memleak fixes
SVN revision: 8797
2004-02-04 17:43:41 +00:00
handyande ba0281b1f0 Never save system properties in apps config files unless they have been overridden (modified locally)
SVN revision: 8789
2004-02-03 22:53:13 +00:00
tsauerbeck 129dae7f9e Ecore_Evas.h now contains HAVE_ECORE_EVAS_FB and -GL. it's generated by autoconf, so edit Ecore_Evas.h.in instead now
SVN revision: 8784
2004-02-03 20:12:28 +00:00
tsauerbeck 60a47ef2a8 add ecore refcounting, so ewl doesn't break apps that have their own ecore main loop
SVN revision: 8781
2004-02-03 19:49:46 +00:00
handyande 2d72dd7b1a use the created system file if one is not defined (modifications will cause it to get saved to ~/.e/config.db)
SVN revision: 8762
2004-02-01 23:54:08 +00:00
handyande 8783ce6d8f fix up the crazy generic install location for system.db
SVN revision: 8761
2004-02-01 21:49:01 +00:00
handyande 1eb8a988bf Should fix naming conflicts - need a proper namespace fixup
SVN revision: 8760
2004-02-01 21:22:38 +00:00
Kim Woelders 79fa670e3f Added some more _NET... atoms.
SVN revision: 8746
2004-02-01 11:00:41 +00:00
Carsten Haitzler d200c1bded no seg patch!
SVN revision: 8741
2004-02-01 07:28:09 +00:00
Kim Woelders 4fac2bf8d1 Suggesting a minor change to ecore_x_window_prop_window_type_set().
SVN revision: 8707
2004-01-28 21:48:27 +00:00
handyande 9cd45b3d1a Added a simple db build script to generate a simple system db which will be copied if none exists (by ecore_config)
SVN revision: 8705
2004-01-28 18:54:15 +00:00
Carsten Haitzler 8b9a69df94 dont need this anymore
SVN revision: 8691
2004-01-28 02:51:49 +00:00
Carsten Haitzler beff24c325 update README
SVN revision: 8689
2004-01-28 02:48:43 +00:00
handyande ce67dbb02c Thanks Azundris
SVN revision: 8670
2004-01-26 15:27:11 +00:00
rbdpngn 8086b80a5e Link in some libs needed by the plugin.
SVN revision: 8654
2004-01-25 18:07:53 +00:00
handyande 655db0c9e8 Yay, fixed - Can I see who changed this code please? ;)
SVN revision: 8652
2004-01-25 11:18:33 +00:00
xcomputerman 04ddf4dcf9 Test ... add TODO comment
SVN revision: 8646
2004-01-25 03:17:09 +00:00
handyande 16213ad8b8 avoid worning
SVN revision: 8638
2004-01-24 18:45:29 +00:00
handyande 25fc77282f Hmm, this must have disappeared in the move from ./ipc
SVN revision: 8635
2004-01-24 17:56:49 +00:00
rbdpngn d5b246e384 These global variables need to be extern in the header and
declared/initialized elsewhere.


SVN revision: 8627
2004-01-23 04:01:40 +00:00
xcomputerman 97b96943d9 Support for standard X cursor fonts
SVN revision: 8619
2004-01-22 23:14:06 +00:00
xcomputerman a0e886c297 Support for UTF8 conversions
SVN revision: 8610
2004-01-22 05:56:14 +00:00
xcomputerman c132e33f2d Select event input mask
SVN revision: 8609
2004-01-22 05:23:33 +00:00
handyande c8167731d6 Well, this is the api to the new simpler and cleaner ecore_config
much code remains, it will be tidied out later if this is seen to be good


SVN revision: 8591
2004-01-20 16:19:45 +00:00
xcomputerman 3318459b23 More bit char return value bugs fixed
SVN revision: 8579
2004-01-20 03:26:05 +00:00
Carsten Haitzler b8d3b7762c and move the window too for completeness
SVN revision: 8573
2004-01-20 01:03:15 +00:00
handyande 3b2ef67c3a More playing with ecore_config
Azundris suggested this new layout and I agree
docs should be available soon


SVN revision: 8570
2004-01-20 00:45:52 +00:00
atmosphere c436a9c5ee explicitly use signed char
SVN revision: 8567
2004-01-19 19:31:21 +00:00
tsauerbeck 500ef41c6d init curstate before using it
SVN revision: 8563
2004-01-18 19:13:16 +00:00
Kim Woelders c91bfe7455 Fix some compiler warnings.
SVN revision: 8557
2004-01-18 09:29:39 +00:00
xcomputerman 6be3ed40e3 Apparently reading a bit value sets all the bits of the target variable
to 1, hence -1 instead of 1...fix for property value queries


SVN revision: 8553
2004-01-18 05:41:23 +00:00
tsauerbeck f28a4af246 added valgrind suppression file for ecore
SVN revision: 8547
2004-01-17 23:50:13 +00:00
xcomputerman dadd638530 Some documentation
SVN revision: 8511
2004-01-17 00:52:22 +00:00
xcomputerman 5273a7fb41 Refuse selection request if conversion to target failed or a converter
is not available


SVN revision: 8510
2004-01-17 00:22:32 +00:00
xcomputerman 1c38ca23ec Update request API to use strings for target types instead of enums
SVN revision: 8509
2004-01-17 00:14:37 +00:00
xcomputerman b26938f6c3 Selections:
- Framework for conversion functions complete
- Added default function for TEXT, COMPOUND_TEXT and STRING


SVN revision: 8508
2004-01-16 22:34:02 +00:00
xcomputerman 31d579cb9b More work on selections:
- implement functions to add, delete and run conversion callbacks
  (not usable yet)


SVN revision: 8506
2004-01-16 20:41:45 +00:00
Kim Woelders 523228ca6c Sshhhhh
SVN revision: 8495
2004-01-16 16:59:07 +00:00
rbdpngn c53a08409a The start of desktop change notification, added the ability to set the command
used to launch a window (set in the defaults).


SVN revision: 8429
2004-01-14 23:08:58 +00:00
xcomputerman ab1d54cbc9 Kaboom! acconfig.h gone
SVN revision: 8410
2004-01-14 19:09:14 +00:00
xcomputerman 84a6083d5d Boom, Copy & Paste all works now
SVN revision: 8398
2004-01-14 05:18:43 +00:00
xcomputerman 6f41c8705e Generate Ecore event for selection clear
SVN revision: 8397
2004-01-14 04:43:51 +00:00
handyande 862a18b206 more work, seperate bounded numbers in api
fix float bugs


SVN revision: 8390
2004-01-13 21:15:23 +00:00
tsauerbeck a170fcc554 call evas_shutdown() from ecore_evas_shutdown()
SVN revision: 8384
2004-01-13 19:44:21 +00:00
handyande 1b485c4149 Added types to default calls - this concludes my planned api additions for now
Made edb only save modified (non-default) properties


SVN revision: 8353
2004-01-12 16:08:08 +00:00
tsauerbeck 33a4059b2c fix an off-by-one bug
SVN revision: 8342
2004-01-11 12:14:14 +00:00
tsauerbeck 435d6499ac plugged a memleak
SVN revision: 8335
2004-01-11 00:51:15 +00:00
xcomputerman 8fcfc53754 Lots of overdue selections code.
- Pasting works, but has a little data size-related bug that will be
  fixed soon. A work around would be to use the returned size (len) to
  determine the correct data length but this should be done within
  ecore itself.
- Copy code isn't working yet


SVN revision: 8332
2004-01-10 21:01:18 +00:00
xcomputerman 814b888746 ecore_x_window_prop.c:
- Bad pointer dereferencing fixed. Surprised this wasn't caught earlier


SVN revision: 8331
2004-01-10 19:56:44 +00:00
xcomputerman f8823f65d3 Slight change to opacity API:
- Use a 0 - 255 range instead, keeping consistent with 8-bit RGBA
  conventions
- Clip supplied value if not in bounds


SVN revision: 8318
2004-01-09 08:38:39 +00:00
xcomputerman eacc3bcc49 Thanks to Brett Nash for pointing out that this integer division will
not work.


SVN revision: 8282
2004-01-06 16:45:31 +00:00
xcomputerman e348e59778 Add support for the proposed _NET_WM_WINDOW_OPACITY window manager hint.
At the moment does nothing useful unless you're running kdrive with a
specially patched version of Metacity ... but I just felt like putting it
in there anyways for later.

A little bit of the upcoming selections code leaked in with one of the
files in this commit.


SVN revision: 8280
2004-01-06 03:42:05 +00:00
handyande 023fa75ea5 OK, spanking noted, examine and its referenced to ewl moved out and into apps/examine
SVN revision: 8277
2004-01-05 22:29:30 +00:00
rbdpngn df231df3b6 Flattened some of the nesting of macros for the ecore_txt check, hopefully
this will convince older autotools versions to play nice.


SVN revision: 8274
2004-01-04 20:23:36 +00:00
xcomputerman 6bae1f82b5 Various inconsequential semantic updates
SVN revision: 8271
2004-01-04 00:31:29 +00:00
xcomputerman 94128b91ba Back that out...did nothing to help :(
SVN revision: 8267
2004-01-03 17:29:44 +00:00
xcomputerman 1de145b423 First attempt to fix this autoconf issue
SVN revision: 8266
2004-01-03 17:17:30 +00:00