Commit Graph

40 Commits

Author SHA1 Message Date
Davide Andreoli 250957a6c6 Remove bryce integration, making the module work again 2020-07-12 10:44:06 +02:00
Davide Andreoli 335381d6f2 remove all ancient #ifdefs for old efl versions, we now require efl 1.24 2020-05-01 21:40:44 +02:00
Davide Andreoli a5aa37c726 Meson: explicit efl require and link 2020-05-01 21:22:58 +02:00
Davide Andreoli 7c2a320609 Fix segv on gadget click for gadgets without a popup (in bryce desktop mode) 2020-05-01 21:16:24 +02:00
Davide Andreoli 1f69754970 Explicit link to dl lib
Updated meson to 0.54.1 and was not compiling anymore without this
2020-05-01 20:19:43 +02:00
Davide Andreoli 1b4d07fa90 meson: link_args++ 2020-05-01 15:41:53 +02:00
Davide Andreoli 26a99ee82e A much better way to find the libpython soname
This should work 100% of the time, since py 3.2, and without
any fuzzy searching
2020-04-26 09:01:17 +02:00
Davide Andreoli e4803fdb3f Finally make edgar works again with recent E \o/
Many thanks to raster for helping find a solution...and spank him for breaking edgar :D
2020-04-23 07:52:26 +02:00
Davide Andreoli 53bdf254bd Edgar: switch to meson
...still not working with recent e, that changed the way modules are loaded
2020-04-21 11:49:02 +02:00
Davide Andreoli d0cb51f2ad Make edgar work with current efl+e master 2019-06-18 18:56:47 +02:00
Davide Andreoli 381121b45d Fix for recent gadget api changes
Also use "new style" dialog done with ctxpopup
2018-10-22 23:31:13 +02:00
Davide Andreoli 78c6416b09 change popups to be elm based, no more edje for them
this change gadget API, all the gadgets will be updated
in the next commit
2018-07-14 17:14:03 +02:00
Davide Andreoli 205a16700e Add support for new E gadgets infra
Edgar gadgets can now live on both shelves and bryces.
2018-03-06 11:04:45 +01:00
Davide Andreoli c751489d8c Workaround sizing of the gadgets info popup
This was used to work but now the popup is no more sized correctly.
(read: something break somewhere, and is brobably not going to be fixed)

The fix is not ideal (the popup should not be resizible) but at
least now it show something.
2018-02-18 16:32:44 +01:00
Davide Andreoli 7a09d3d26d FollowTheWhiteRabbit 2017-12-11 19:41:38 +01:00
Davide Andreoli 1f7548132e Fix for efl 1.21 changes
note: efl in git still does not provide EFL_VERSION_1_21, so this is still broken for you.
2017-08-13 09:44:54 +02:00
Davide Andreoli 10cf94460f Fix for recent eo changes
ifdef going crazy... #FollowTheWhiteRabbit (tm)
2016-10-14 21:48:38 +02:00
Davide Andreoli 2462795896 Latest Eo changes
#FollowTheWhiteRabbit (tm)
2016-06-26 17:45:32 +02:00
Davide Andreoli 13475e140c retain compatibility with efl 1.17 2016-05-12 20:44:12 +02:00
Davide Andreoli f23d28a587 Follow recent Eo changes 2016-03-18 21:30:21 +01:00
Davide Andreoli 6e186dcb85 More correct usage of PyErr_Print()
that function can crash if no errors really occurred
2015-09-11 22:49:24 +02:00
Davide Andreoli 3f954f4675 Fix E19 compatibility
Now edgar works again in E20 and E19, still need to test on E18....
someone can test it on 18?
2015-04-09 20:54:00 +02:00
Davide Andreoli 31a1404477 No need to include Elm.h
e.h yet include it
2015-04-08 22:09:59 +02:00
Davide Andreoli 63510bcfbe Try to simplify the E version check
We now use E_VERSION_MAJOR provided by e19 and e20,
while manually set it on e18

Minimum e version: 0.18, sorry Jef, but e17 is really too old to support in a sane and reliable way

Tested only on e20, tomorrow will test in e19 and (hopefully) e18
2015-04-08 22:08:48 +02:00
Kai Huuhko 6669595f1a Revert python code install location to libdir/enlightenment/gadgets
As requested by DaveMDS
2015-04-08 22:06:14 +03:00
Kai Huuhko 4855de622f Add back full E19/E20 compatibility
Not yet E17 compatible, need to find out why E sigaborts on popup open
2015-04-07 23:27:08 +03:00
Kai Huuhko b1c125a796 Follow changes in E 0.19.99 development
e_util_zone_current_get(e_manager_current_get()) -> e_zone_current_get()
2015-03-14 16:40:27 +02:00
Davide Andreoli d6f41d8c8a Try to disable Py_Finalize for now 2015-01-07 19:43:40 +01:00
Davide Andreoli f36ea5a7c2 Fix for recent changes in e19 2014-11-28 20:17:40 +01:00
Davide Andreoli 421ee244a7 theme_edje_object_set() now also support ElmLayout
thus renamed to theme_object_set()
2014-09-07 13:03:58 +02:00
Davide Andreoli ef34d7d9ea E18 wants a br at the end of the dialog, otherwise last line is cutted out 2014-09-02 19:41:09 +02:00
Davide Andreoli beec9a292d Set/calc better the obj size hints, also respect aspect_hints 2014-08-31 16:26:57 +02:00
Davide Andreoli 1ff9d69434 Safety checks 2014-08-31 11:08:14 +02:00
Davide Andreoli 518dd74474 Call the correct gadget method on gc_shutdonw
If this was a popup-on-desktop instance call the popup_destroyed()
method instead of the instance_destroyed() one
2014-08-31 10:45:13 +02:00
Davide Andreoli fd5637b089 Check the existance of the opts dict before accessing it 2014-08-30 17:54:00 +02:00
Davide Andreoli ea66f6dbc2 Added the gadget option: popup_on_desktop
If the gadget have this option setted then on the desktop we put directly
the popup content, instead of the main obj.

Used in the audio gadget
2014-08-30 17:04:43 +02:00
Davide Andreoli af2bd6a42f Use a more recent version of the python m4 macro 2014-08-28 23:35:26 +02:00
Davide Andreoli 9931fa4216 Try a different way to check for python3 2014-08-28 23:23:44 +02:00
Davide Andreoli 0b7cf71b05 Move the gadget infos to the module level
I got some trouble withe them stored inside the class on py3.4,
edgar was getting the info from the base class instead of the gadget.
2014-08-28 20:49:45 +02:00
Davide Andreoli 374e32e5b8 Say welcome to Edgar, the python gadget loader.
You can now write E gadgets in python.
...python rocks !!
2014-08-27 21:40:56 +02:00