Commit Graph

312 Commits

Author SHA1 Message Date
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
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
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 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
Carsten Haitzler f94ea32351 1. fix focus loss after fullscreening
2. add call to get x fd


SVN revision: 8257
2004-01-03 03:24:37 +00:00
rbdpngn dc2fa35658 Minor changes to ecore_config to make it compile on OS X.
SVN revision: 8236
2003-12-31 22:15:33 +00:00
handyande a7830089ca fixup small errors in ecore_config autofoo
SVN revision: 8226
2003-12-29 23:09:57 +00:00
azundris ed6a50bb58 * assorted fixes for RPM-building
SVN revision: 8200
2003-12-23 11:41:25 +00:00
handyande f2ae029f3f ansi fixes
SVN revision: 8151
2003-12-19 16:31:14 +00:00
handyande abeb38543a more ansi
SVN revision: 8150
2003-12-19 15:35:45 +00:00
handyande f8f467b4e5 Spanking works, I am learning\!
SVN revision: 8135
2003-12-17 11:05:29 +00:00
rbdpngn 8b273b4f52 Check separately for the Evas_Engine_FB.h header for enabling it in
ecore_evas.


SVN revision: 8130
2003-12-16 05:54:46 +00:00
xcomputerman 2bd12227d7 We need properties, daddy. We need 'em!
SVN revision: 8055
2003-12-09 05:12:11 +00:00
xcomputerman fb55999ee8 Needs to get IPC headers from within source package -- won't compile on
fresh install


SVN revision: 8037
2003-12-08 17:40:06 +00:00
handyande 94be4269d6 oopsie - got carried away and altered good code
SVN revision: 8013
2003-12-06 17:37:20 +00:00
handyande e41d146893 Fixups, cleanups etc. ecore_config now working with an equate client :)
SVN revision: 8011
2003-12-06 17:24:19 +00:00
handyande dc672f1428 Oops, missed this file
SVN revision: 8008
2003-12-05 18:13:46 +00:00
handyande f6627ea478 This should give a working ecore with ecore_config. No test apps yet, that is another story. Also need a tidyup...
SVN revision: 8007
2003-12-05 16:57:32 +00:00
handyande cdf915f312 Added beginning of ecore_config the final location for proto/examine
SVN revision: 8006
2003-12-05 15:02:17 +00:00
Carsten Haitzler 0e29b41e6e now it builds! cleanly too
SVN revision: 7990
2003-12-03 07:23:08 +00:00
Carsten Haitzler 7f82e8d54b change build order...
SVN revision: 7989
2003-12-03 07:13:47 +00:00
Carsten Haitzler cbb581dda0 copy & paste oopsies
SVN revision: 7988
2003-12-03 07:08:51 +00:00
Carsten Haitzler 90e6b12ca7 and... a backslash
SVN revision: 7987
2003-12-03 07:07:09 +00:00
Carsten Haitzler bafe84e57a use utf8 for compose string
SVN revision: 7986
2003-12-03 07:03:46 +00:00
xcomputerman 6dd589c4c4 Add code to request selections
SVN revision: 7941
2003-11-25 06:10:18 +00:00
xcomputerman 0b893f7b7c Beginnings of support for X selections. Does nothing right now expect set
and clear selections (no actual events handled yet).


SVN revision: 7935
2003-11-24 06:41:43 +00:00
xcomputerman 89060aec27 Add timestamps to ALL events
SVN revision: 7934
2003-11-24 06:19:56 +00:00
rbdpngn 7f18c669d3 Oops, dereferencing a pointer after it's been freed.
SVN revision: 7918
2003-11-19 23:05:08 +00:00
Carsten Haitzler a04d70cc0f till's stick patch
SVN revision: 7901
2003-11-16 02:29:10 +00:00
swielinga 0c0ef02fb4 Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores.
SVN revision: 7872
2003-11-13 12:30:50 +00:00
Carsten Haitzler 532c2ef39b volatile little suckers
SVN revision: 7854
2003-11-10 04:48:28 +00:00
Carsten Haitzler 1fdd7a0c0f handle stale sockets gracefully
SVN revision: 7824
2003-11-08 10:45:46 +00:00
Carsten Haitzler bc8c86bc75 update docs comments.. oops..
SVN revision: 7786
2003-11-03 01:27:06 +00:00
xcomputerman 87cb6e0e4f Variable names for the property_set/property_get functions changed to be
more consistent with Xlib - eliminate confusion :)


SVN revision: 7785
2003-11-03 01:19:48 +00:00
xcomputerman 7513bf76fd Added support for NetWM window state hints.
All were successfully tested except the fullscreen state (is this
supported in E16.6?)


SVN revision: 7783
2003-11-03 00:27:15 +00:00
xcomputerman d5e8e2d154 Apparent typo for fullscreen state atom.
SVN revision: 7781
2003-11-01 22:28:50 +00:00
Carsten Haitzler d2010dac48 ACTUALLY you want this one... that fix would lead to a segv... :) i think
this si what i originally intended but somehow just got wrong :(


SVN revision: 7604
2003-10-15 05:20:07 +00:00
xcomputerman 95080ea56c Little critter in filter deletion
SVN revision: 7603
2003-10-15 05:12:39 +00:00
rbdpngn 92b06a84d2 Support for setting the basic window types. Default to normal type on toplevel
windows.


SVN revision: 7598
2003-10-14 21:42:28 +00:00
rbdpngn f2130a93f5 Added setup for more netwm atoms, also API for working with the current desktop.
SVN revision: 7597
2003-10-14 19:11:35 +00:00
rbdpngn 911e66a03c Missed assigning an event for client machine change. Also added support for
_NET_WM_PID.


SVN revision: 7564
2003-10-13 17:36:09 +00:00
rbdpngn 1926a20d84 Rmoeved API for changing the WM_CLIENT_MACHINE as this shouldn't change after
window creation (afaik), easy enough to re-add it if a need is found.


SVN revision: 7563
2003-10-13 16:28:30 +00:00
rbdpngn 930c2c7fbc Should probably only set the WM_CLIENT_MACHINE automatically for top-level
windows.


SVN revision: 7562
2003-10-13 16:02:41 +00:00
jeoparde d2064a9299 Whoopsie, my mistake earlier ... was too eager to get to bed :)
No, we won't just kill all clients, we'll kill all clients under the
specified root window.


SVN revision: 7558
2003-10-12 22:39:12 +00:00
rbdpngn cb12afcfee Set the default WM_CLIENT_MACHINE based on the results from gethostname, this
is the "right way" to determine it according to NetWM's example.


SVN revision: 7557
2003-10-12 17:55:28 +00:00
rbdpngn 24d7903e31 API for manipulating the WM_CLIENT_MACHINE string.
SVN revision: 7556
2003-10-12 17:35:35 +00:00
jeoparde 7d371a9fb3 And doc.
SVN revision: 7553
2003-10-12 07:15:26 +00:00
jeoparde 859c0c9bb4 The almighty nuke function. Use at your own risk! :)
SVN revision: 7552
2003-10-12 07:12:09 +00:00
rbdpngn 812140933f More NetWM support, this time added _NET_WM_VISIBLE_ICON_NAME.
SVN revision: 7550
2003-10-12 06:55:40 +00:00
rbdpngn d0929d87e8 Support WM_ICON_NAME and _NET_WM_ICON_NAME. Added test cases to ecore_test to
verify these are setting and retrieving the values as well as generating the
correct events.


SVN revision: 7549
2003-10-12 06:25:25 +00:00
Carsten Haitzler a075b4b88c ALSO report children than exited due to signals... and why...
SVN revision: 7548
2003-10-12 05:48:34 +00:00
rbdpngn 0969d64850 Follow the netwm spec and use UTF8 string encoding. Avoid non-portable Xlib
functions too.


SVN revision: 7547
2003-10-12 05:34:47 +00:00
rbdpngn e2fe7241a1 Catch the event when _NET_WM_NAME is changed, trigger an ecore title change
event.


SVN revision: 7546
2003-10-12 05:25:08 +00:00
rbdpngn 54cd8f0c92 Provide an API and events for _NET_WM_VISIBLE_NAME.
SVN revision: 7545
2003-10-12 05:01:41 +00:00
Carsten Haitzler 658076ce9b put patch into the correct cvs tree
SVN revision: 7544
2003-10-12 02:49:52 +00:00
rbdpngn d5ae18cc54 Added checks for the root window to the string property functions.
SVN revision: 7532
2003-10-11 22:15:44 +00:00
rbdpngn d4613c5c70 Include netinet/in.h for connections to be portable to BSD.
Added the atom declarations for the NetWM application window properties.
Created ecore_x_window_prop_string_{set,get}.
Changed ecore_x_window_prop_title_{set,get} to use the new string functions.


SVN revision: 7531
2003-10-11 22:14:22 +00:00
Carsten Haitzler bf3c32e3c4 text utility routines... iconv wrapper there :)
SVN revision: 7521
2003-10-09 07:49:59 +00:00
Carsten Haitzler 67ca2319f5 1. fix docs for event handlers. oops. that was wrong
2. default op for exit event is to quit the main loop if u dont set handlers


SVN revision: 7518
2003-10-09 02:20:37 +00:00
rbdpngn 84d4e6aee1 Patch from Tilman Sauerbeck to set the borderless hint w/o altering the window
functionality. This was causing borderless windows to be unmovable under some
window managers.


SVN revision: 7516
2003-10-08 20:33:30 +00:00
azundris f5b71965c9 raster: please advise which semantics we'll stick with.
SVN revision: 7515
2003-10-08 15:04:54 +00:00
vacuum 64231c6d19 include netinet/in.h so that INADDR_ANY is #defined on FreeBSD
SVN revision: 7506
2003-10-06 15:36:19 +00:00
Carsten Haitzler b6bcdee7db till's patch! pants!
SVN revision: 7476
2003-09-23 22:33:10 +00:00
Carsten Haitzler a5c2425084 damn you salizar! damn you!
errr. i mean. ecore moves to HEAD!


SVN revision: 7475
2003-09-23 08:09:32 +00:00