Commit Graph

165 Commits

Author SHA1 Message Date
Kim Woelders 83e1e71bee Introduce Epplet_adjust_priority()
Avoiding some code duplication.
2021-08-31 07:11:23 +02:00
Kim Woelders b0192f9165 Drop old hint stuff
Has probably been obsolete for more than a decade by now.
2021-08-23 14:40:42 +02:00
Kim Woelders 901f4af699 Eliminate obsolete AC_HEADER_TIME 2021-03-26 16:33:08 +01:00
Kim Woelders 2e970c84f8 Fix build with -fvisibility=hidden
Just using EAPI from Imlib2.h.
2019-03-13 18:52:38 +01:00
Kim Woelders 49aafdaf62 Change Epplet_dialog_ok() to printf() style
.. avoiding some format-truncation warnings.
2018-08-13 13:22:08 +02:00
Kim Woelders 03408c7d36 Avoid format-truncation warning 2018-08-12 17:39:13 +02:00
Kim Woelders 919dc4c069 Warning cleanups - api. 2016-08-19 09:31:09 +02:00
Kim Woelders f1c8766cca Use "wop" in stead of ancient "remember" IPC command.
Already done in remember case, seems appropriate for unremembering too.
2013-07-14 16:39:59 +02:00
Kim Woelders 631daee134 Remove obsolete USE_OLD_REMEMBER/NO_AUTO_RESPAWN stuff. 2013-07-12 22:23:18 +02:00
Kim Woelders f642c0da22 Minor cleanups in the comms department.
SVN revision: 77226
2012-09-30 09:41:36 +00:00
Kim Woelders 22e7b1bbae Use XkbKeycodeToKeysym() in stead of XKeycodeToKeysym().
Avoids deprecation warning.

SVN revision: 77225
2012-09-30 09:41:34 +00:00
Kim Woelders ee7cfd147d Indent.
SVN revision: 77224
2012-09-30 09:41:07 +00:00
Lucas De Marchi 9c2a943418 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Lucas De Marchi deadbb382c Fix wrong type in malloc
Bugs found by bad-malloc.cocci



SVN revision: 50194
2010-07-12 03:35:43 +00:00
Kim Woelders b907c9f828 Fix some warnings.
SVN revision: 48475
2010-04-30 14:04:50 +00:00
Kim Woelders 54c47230bf Avoid some crashes on early exit. Cleanups.
SVN revision: 38413
2009-01-01 20:42:28 +00:00
Kim Woelders 3f5450a1fd About epplet tweaks (edox) - Remove fonts, use default bg.png.
SVN revision: 38407
2009-01-01 20:42:13 +00:00
Kim Woelders efa657cc06 Move glx stuff to separate library.
SVN revision: 32745
2007-11-17 16:16:09 +00:00
Kim Woelders 45e9c1186d Fix instance counting bug (incorrect use of fcntl return code).
SVN revision: 32582
2007-11-11 17:56:29 +00:00
Kim Woelders 0092b853de New AC_INIT, autofoo cleanups. Bump version.
SVN revision: 32580
2007-11-11 17:51:14 +00:00
Kim Woelders 5bf2662128 Use e16.8 automatic snapshot updates to avoid client message storms when
switching viewport/desk.
Old update mode can be selected using --enable-old-remember.


SVN revision: 28806
2007-03-18 23:56:14 +00:00
Kim Woelders c6358d8d7d Add some (disabled) debug stuff.
SVN revision: 28805
2007-03-18 22:54:02 +00:00
Kim Woelders fdb657042e Oops - Somebody left an XSynchronize in there (bad kwo).
SVN revision: 28804
2007-03-18 22:44:17 +00:00
Kim Woelders d83d1aaf7b Cleanups.
SVN revision: 28793
2007-03-18 04:49:48 +00:00
Kim Woelders 304934aa07 Remove obsolete "new-remember" option.
SVN revision: 28792
2007-03-18 04:29:31 +00:00
Kim Woelders 23954d3e9c No "blanking" between images in E-Slides.
SVN revision: 22157
2006-04-16 08:41:59 +00:00
Kim Woelders 6f9b038c1e Now that we are playing around here - Indent!
SVN revision: 22149
2006-04-15 22:04:48 +00:00
Kim Woelders 2c53dd40de Fix segv and leak.
SVN revision: 22092
2006-04-13 12:06:25 +00:00
Kim Woelders b8f52611db Fix segv and mem leaks.
SVN revision: 22090
2006-04-13 11:07:27 +00:00
Kim Woelders e26a45d2dd Pass data install path by function call in stead of by EROOT in epplet.h.
Look up images in epplet data dir.


SVN revision: 22086
2006-04-13 08:26:31 +00:00
Kim Woelders 9d209516ba Add functions to get epplet data and e16 user directories.
SVN revision: 22068
2006-04-12 19:22:45 +00:00
Kim Woelders 81fc998f0c Eliminate EBIN.
SVN revision: 22066
2006-04-12 18:20:45 +00:00
Kim Woelders 528b750a2c Move to Imlib2. Build for e16.8.
- This is a quick and dirty port to imlib2. It's posible to clean/speed up
  things considerably here and there.
- It's not unlikely that I missed some spots that require fixups.


SVN revision: 21639
2006-03-31 22:56:17 +00:00
Kim Woelders da95987958 Fix epplet instance counting in cases where a leftover lock file exists
which contains the pid of a running process that is not the epplet that
created it.
For the fix to work it is required that the lock file can be locked
using fcntl. If it cannot be locked (e.g. home dir on NFS mount) the
code falls back to the old behavior.


SVN revision: 20286
2006-02-05 09:27:03 +00:00
Michael Jennings 7910f9603f Thu Feb 10 23:27:41 2005 Michael Jennings (mej)
Rename package back to just "epplets."

Allow for ~/.e16 in addition to ~/.enlightenment.

Fix E-Disk for 2.6 kernels.
----------------------------------------------------------------------


SVN revision: 13307
2005-02-11 04:29:17 +00:00
Kim Woelders 9e37cb5eb5 Changed dox->edox to match E 16.7.
Fix epplets for xorg 6.8.x with composite enabled.


SVN revision: 12091
2004-10-30 15:36:00 +00:00
Michael Jennings 4da18e5e68 Mon Nov 24 09:58:06 2003 Michael Jennings (mej)
I'm going to assume raster committed that by mistake, since (1) it has
nothing to do with an fd leak, and (2) it would break the entire
instance counting mechanism.


SVN revision: 7937
2003-11-24 14:59:02 +00:00
Carsten Haitzler 5f17f8ee9d oops. fd leak. forgot to closedir(). fix.
SVN revision: 7936
2003-11-24 07:48:32 +00:00
Michael Jennings 369fe70aff Sun Apr 6 22:37:50 EDT 2003
(KainX)

Applied patch from Kim Woelders <kim@woelders.dk> to support new WM
hints.


SVN revision: 6834
2003-04-07 02:40:02 +00:00
Carsten Haitzler 9700c5cfa5 sleep random amount to get rid fo race for multiple instances
SVN revision: 3347
2000-09-08 00:57:26 +00:00
Horms 320c97df7d * Added Epplet_change_popbutton_label
* Added gatghet type checking to Epplet_draw_popupbutton and
  Epplet_draw_label.


SVN revision: 2895
2000-06-29 23:54:24 +00:00
Tom Gilbert 3804b901b5 Maybe fix naughty TextBox segfault scenario.
SVN revision: 2835
2000-06-18 19:09:15 +00:00
Michael Jennings f95ee57b57 Tue May 2 22:23:09 PDT 2000
(KainX)

The config dialog should now work for the most part.  It still has problems
adding new buttons, and it doesn't like removing labels or images.  But it
works quite well for the most part.  You can even resize it through the GUI.
:-)


SVN revision: 2592
2000-05-03 05:12:09 +00:00
Michael Jennings 058802b5cd Sun Apr 30 23:53:37 PDT 2000
(KainX)

I fixed some bugs in the epplet config load/save routines which were causing
problems with E-Toolbox.  I also added some stuff, like gadget type checking
and the ability to check a gadget's type.  And E-Toolbox now has a config
dialog; it's untested, though, but it might work. :-)


SVN revision: 2587
2000-05-01 06:42:42 +00:00
Michael Jennings 74bcebe339 Don't use this. It still has issues. I'll have to fix them later or
tomorrow.


SVN revision: 2584
2000-04-30 23:19:22 +00:00
Michael Jennings 59569ccb87 Thu Apr 27 21:29:17 PDT 2000
(KainX)

A configuration dialog for E-Toolbox.  Not that it actually alters anything
yet, but we're getting there. :-)


SVN revision: 2571
2000-04-28 04:22:02 +00:00
Michael Jennings 23ccc9c365 Wed Apr 26 20:06:43 PDT 2000
(KainX)

First off, I altered the API library so that images would be properly scaled
before being drawn, rather than just assuming that the image size was okay.  I
also added a function, Epplet_add_sized_popup_entry(), to allow for image
buttons with scaled images in a popup.  Added popup support to E-Toolbox as
well.  You can now have buttons that popup other buttons, and those other
buttons can have images or labels.  So can the popup button itself, and the
popup button can be a "standard" button too.  (The only caviat is that the
popup button must come before any of the buttons in the menu that it pops up;
no biggie.)

I've included a sample config file to demonstrate this.  popup-sample.cfg
shows a single 1x1 up-arrow button which pops up several other buttons.  Nice
and small; stays out of your way until you need it. :-)

I had to fix several issues with the epplet library to make some of this stuff
work, but nothing that violates the spirit of epplets.  For example,
Epplet_gadget_show() now delays the actual drawing of the epplet gadgets until
the epplet itself is unhidden.  And the image button sizing bug with the popup
stuff is fixed.  Stuff like that. =)

I'm going to try to add a GUI configuration interface, as well as come up with
some more sophisticated sample configs.  Just give me time.

Also, if you have a toolbox icon (preferably rendered) or can make one, please
let me know.  E-Toolbox needs an icon. :-)


SVN revision: 2558
2000-04-27 05:25:45 +00:00
Michael Jennings 3afb1042d3 Fri Mar 3 14:43:37 PST 2000
(KainX)

Added Jerome De Greef's E-Exec patch and fixed several warnings.


SVN revision: 2177
2000-03-03 22:45:02 +00:00
Tom Gilbert 4c314c6975 Mon Feb 28 19:50:20 GMT 2000
(gilbertt)

64-bit fixes from Bob Arendt <rdarendt@cwcom.net>


SVN revision: 2150
2000-02-28 19:52:11 +00:00
Tom Gilbert e1c288e567 Mon Feb 28 12:14:11 GMT 2000
(gilbertt)

Fixed Epplet_register_event_handler, prompted by email from Alexandre David
<adavid@DoCS.UU.SE>. His patch was incorrect though, and the proper fix is
to change the line where the event handler is called. (His patch changed
only one definition of it, in the wrong place, and broke epplets ;)


SVN revision: 2146
2000-02-28 12:15:29 +00:00