Compare commits

...

464 Commits

Author SHA1 Message Date
Davide Andreoli c8d7bddb47 Do not try to build with Cython3
Thanks goes @rafspiny for pointing this out
2023-11-26 08:36:10 +01:00
Davide Andreoli 4bb6d9fa9f Update package metadata 2023-11-26 08:35:02 +01:00
Davide Andreoli 0b089a5623 Silence pycharm warnings in setup.py 2023-11-26 08:34:14 +01:00
Davide Andreoli a7464e66e6 Maintenance release 1.26.1 2023-10-08 05:45:50 +02:00
Davide Andreoli d1b4512e52 open new development phase 2022-02-27 20:26:17 +01:00
Davide Andreoli 9896656574 Prepare release 1.26.0 2022-02-27 20:21:54 +01:00
Davide Andreoli fb649f30e7 packaging is required to build the wheel 2022-02-27 19:49:30 +01:00
Davide Andreoli f0ab762e16 Copyright 2022 2022-02-27 19:07:34 +01:00
Davide Andreoli 4548c5a01b Fixes a memory error
as reported at:
https://phab.enlightenment.org/D12326
and
https://build.opensuse.org/request/show/945361

thanks goes to Andreas Schwab and Simotek
2022-02-27 11:19:23 +01:00
Davide Andreoli cadc757e7e setup: use packaging instead of distutils for version check
Distutils is deprecated in py3.10, and packaging is already a
dependency of setuptools
2022-02-27 10:52:50 +01:00
Davide Andreoli ed959b59af Update README 2021-12-06 14:27:47 +01:00
Davide Andreoli ec2b95ceab README: remove not maintained/broken apps
Also add some TODO items and fix an htts link
2021-12-06 11:00:13 +01:00
Davide Andreoli dcf362b03f Update README 2021-12-06 09:26:49 +01:00
Davide Andreoli d420f60e0d updated release instructions 2021-12-05 19:18:25 +01:00
Davide Andreoli 0848286409 fix pip uploading
...a really stupid fix
2021-12-05 18:56:44 +01:00
Davide Andreoli 3ca71a067e Dropped python 2.6 support
and deprecate all versions of python 2, with a big-fat warning.
Python2 support will be fully removed in a later release.
2021-12-05 16:13:22 +01:00
Davide Andreoli 9dce9ccad4 setup: stop importing the version from sources
This was creating all sort of issues, because the efl modules in sources
are not meant to work. And installation from sdist using pip was
complainig about efl not found (because it build in a restricted env)

So just read the __init__.py file and extract the version from there
(to be DRY)
2021-12-05 12:24:38 +01:00
Davide Andreoli 7141f21f0b setup: disjoint pythonefl version from efl version
minor version of bindings and efl are not always the same
2021-12-05 12:04:09 +01:00
Davide Andreoli fabcef1278 setup: Factorize reading files and cmd exec 2021-12-05 12:00:47 +01:00
Davide Andreoli a0a6d756b5 Fix install using pip
pip run setup.py bdist_wheel so we need to take that into account

this also fix generation of wheels in general
2021-12-05 10:43:36 +01:00
Davide Andreoli e467b3e871 Change build tool from distutils to setuptools
This is needed for publishing on pip
2021-12-03 08:37:56 +01:00
Davide Andreoli 69cfc2c7fc Docs: always show the breadcumb 2021-11-30 09:21:20 +01:00
Davide Andreoli f70d7c949f Docs: a better flax layout, also with sticky sidebar 2021-11-30 09:19:48 +01:00
Davide Andreoli 838d4b38c5 Docs: comment out unused js 2021-11-29 22:25:05 +01:00
Davide Andreoli b821107688 Docs: updated links 2021-11-29 08:21:38 +01:00
Davide Andreoli e7545e3185 Docs: a bit of style 2021-11-29 08:12:32 +01:00
Davide Andreoli 5ac4f71131 Docs: set pygment style in theme, not in config 2021-11-29 04:56:53 +01:00
Davide Andreoli 7e4116335a Docs: updated sphinx base html theme 2021-11-29 04:55:20 +01:00
Davide Andreoli 26e2b89a9d Docs: use png for inheritance graphs
svg looks a bit better, but the links are then broken :(
2021-11-18 08:21:47 +01:00
Davide Andreoli 2d0668c548 A bit of linting 2021-11-18 07:22:27 +01:00
Davide Andreoli a83da00bc7 Docs: cleanup the conf file
Regenerate from a fresh sphinx-quickstart
2021-11-18 07:02:41 +01:00
Davide Andreoli 31a147fc7c Docs: remove an old workaround
The ClassName(...) on each class was an old hack that is
not needed anymore
2021-11-18 06:25:19 +01:00
Davide Andreoli 1f441a18c8 typo in README 2021-11-17 08:58:51 +01:00
Davide Andreoli d7275844f1 Docs: fix generation of class methods
autodoc_default_flags is deprecated and do not work anymore with sphinx 4.1
Use autodoc_default_options instead

Also separate __init__ and class docs, seems more explicit to me
2021-11-17 08:50:12 +01:00
Davide Andreoli f3c99eeafa gitignore++ 2021-11-14 23:25:02 +01:00
Davide Andreoli 3dfacc01ab Docs: added infra for tutorials
Also remove some really old presentation text,
we should write some new intro
2021-11-14 23:24:18 +01:00
Davide Andreoli 22274ae81d Docs: remove not needed files 2021-11-14 23:21:00 +01:00
Davide Andreoli 25ed1cc567 Fix build after README rename
whopsss
2021-11-14 20:24:02 +01:00
Davide Andreoli 22203c0838 Remove the old TODO file 2021-11-12 07:58:46 +01:00
Davide Andreoli 0253f9e178 New markdown README 2021-11-12 07:51:27 +01:00
Davide Andreoli 55e9e51f69 Open 1.26 development phase 2020-09-24 19:31:13 +02:00
Davide Andreoli 5a81c2c944 Prepare 1.25 release 2020-09-24 19:04:53 +02:00
Davide Andreoli 5a02f13210 Do not fail when build with CC="clang"
clang seems much better in building elementary, while gcc need a lot
of ram and tend to fail badly

So for now on clang is the suggested compiler to use
2020-06-25 18:54:03 +02:00
Davide Andreoli 22cc200a61 Back to devel mode 2020-04-30 08:13:09 +02:00
Davide Andreoli 09e016bdbd Update release instructions 2020-04-30 07:57:59 +02:00
Davide Andreoli bd81c36cd0 Prepare the 1.24 release 2020-04-30 07:46:20 +02:00
Davide Andreoli 81c48dd2d9 Explicitly declare efl submodules
seems to make editors happier
2020-04-29 08:37:53 +02:00
Davide Andreoli b9117cb590 Update INSTALL 2020-04-27 20:04:16 +02:00
Davide Andreoli 32aec52918 Fix tests 2020-04-27 20:02:57 +02:00
Davide Andreoli a7e86793c3 Follow efl rename Efl.Canvas.Text -> Efl.Canvas.Textblock 2020-04-27 20:02:08 +02:00
Davide Andreoli a1eeae15f8 gitignore++ 2020-04-27 19:16:23 +02:00
Davide Andreoli 9ba5210a6a Open up development phase 2019-10-06 11:29:09 +02:00
Davide Andreoli d61c596278 Prepeare the 1.23 release 2019-10-06 08:45:57 +02:00
Davide Andreoli e2ce1b49a3 Open up 1.23 development 2019-04-26 11:30:26 +02:00
Davide Andreoli 8ff30f9edd Prepare 1.22 release 2019-04-23 09:18:32 +02:00
Davide Andreoli d544412cd1 Follow Eo class name changes 2019-04-23 09:13:45 +02:00
Davide Andreoli 3b0552259d Silence Cython warnings
I'm keeping python 2 style for compatibility reasons
2019-04-23 08:55:29 +02:00
Davide Andreoli 4fa39916ee Fix for 1.22 Eo api changes 2019-04-23 08:54:13 +02:00
Davide Andreoli 42ee207c16 In development mode again 2018-08-26 11:42:24 +02:00
Davide Andreoli c9f5b53e28 Try to fix tests on jenkins
Seems this test do not have enough time,
lets try with an higher timeout
2018-08-23 19:56:04 +02:00
Davide Andreoli 8cc259ca26 Remove Systray leftovers 2018-08-23 19:55:46 +02:00
Davide Andreoli d25784cca8 Prepare the 1.21 release 2018-08-23 19:07:46 +02:00
Davide Andreoli 7c555cc9da Say goodbye to the Systray widget
This is a really bad break !!!

... shame on us to have used an efl beta api :(
2018-08-22 21:01:20 +02:00
Davide Andreoli 3e198f7294 Disable a failing test
This is failing only when used in the full suite (00_run_all_tests)

it works normally if launched directly, so I think it's just a
test suite issue
2018-08-21 20:08:23 +02:00
Davide Andreoli b855a82160 This test now work as expected 2018-08-17 11:02:15 +02:00
Davide Andreoli 583f42b131 Setup warnings-- 2018-08-17 10:52:42 +02:00
Davide Andreoli 2991a6683e Fix elm.Image.file.__get__
This is to hide a behaviour changes in elm, quite a corner case, but
spotted by our tests.

If you do a file_get before a file_set, elm is nomore nullifying the
pointers, thus we try to ctouni our garbage. Just initialize well
our vars
2018-08-17 10:46:00 +02:00
Davide Andreoli fb9b06931e Ctxpopup: add slow test with many items
just to replicate the C example
2018-07-22 08:14:12 +02:00
Davide Andreoli 48d9c26945 New 1.21 API: edje.Object.part_text_prediction_hint_hash_set/del 2018-07-22 08:04:09 +02:00
Davide Andreoli 4721842b1e New 1.21 API: elm.Entry.prediction_hint_hash_set/del 2018-07-22 07:51:16 +02:00
Davide Andreoli 6aa3501136 New 1.21 API: Ecore_Exe_Flags.ECORE_EXE_ISOLATE_IO
just a new enum value
2018-07-16 20:16:16 +02:00
Davide Andreoli 18ca98e66f New 1.21 API: Ctxpopup item_insert_before/after
with test
2018-07-16 20:00:50 +02:00
Davide Andreoli 006052543f Fix 2 changed class names
#FollowTheWhiteRabbit
2018-07-15 08:15:44 +02:00
Davide Andreoli 30c9c60b5d Fix warnings spotted by cython 0.28
Those are all simbols redeclared in different places
2018-03-24 08:42:31 +01:00
Davide Andreoli 26607a0986 Changes to make cython 0.28 happy
This just refactor how the extensions are named, nothing
is changed in the final layout of the package.

Renamed the dbus extension, that was indeed the only
one with a different naming scheme.

Also raised the minimum cython version a bit, min is
now at 0.23.5, that is still quite old. The oldest
ones seems to not like the new naming scheme.
2018-03-19 21:16:53 +01:00
Davide Andreoli ffc3c337dc Elm: fix Layout.content_swallow_list_get() to not leak
The eina_list_free was wrongly used and was leaking
the whole list. Fixed.
2018-03-04 09:46:21 +01:00
Davide Andreoli 4b8ddcff7d Elm: add test for elm_image_get() before a set() call 2018-03-01 18:32:46 +01:00
Davide Andreoli 00d92cbebe Changed (again) all the elm class names
#FollowTheWhiteRabbit
2018-02-17 01:18:14 +01:00
Davide Andreoli f81fc890bb systray do not work anymore as the widget has been removed from efl :(
... we still need to decide what to do with this breakage
2017-12-12 19:25:39 +01:00
Davide Andreoli 28c9775898 rename Edje.Object to Efl.Canvas.Layout
#FollowTheWhiteRabbit

also fix a small typo in the Makefile
2017-12-09 20:42:20 +01:00
Davide Andreoli 344da31ceb Efl.Ui.Spinner downgraded to Elm.Spinner
#FollowTheWhiteRabbit
2017-09-07 19:30:34 +02:00
Davide Andreoli bc9d5648e7 Fix an evas test
...not that I really understand the utility nor the root cause of tha fail
but this test was segfaulting
2017-09-03 20:33:26 +02:00
Davide Andreoli 58ab1d26f7 Some new OE widget names
#FollowTheWhiteRabbit
2017-09-03 20:28:07 +02:00
Davide Andreoli fe144b8f96 Pypi is migrating, adjust the release instructions 2017-08-16 21:51:59 +02:00
Davide Andreoli efcebb52bf open up the 1.21 development cycle 2017-08-09 08:54:06 +02:00
Davide Andreoli 7d3799d7fa Prepare the 1.20.0 release 2017-08-05 19:05:00 +02:00
Davide Andreoli 85e23f2851 Prepare the 1.20.0-beta1 pre-release 2017-07-22 18:10:16 +02:00
Davide Andreoli c5759b6d67 New 1.20 API: elm.Menu.open() 2017-07-22 17:39:23 +02:00
Davide Andreoli 5bbaba2a6e New 1.20 API: elm.Genlist.multi_select_mode
with test
2017-07-22 17:24:06 +02:00
Davide Andreoli 74ed9e86a4 Use the buffer engine for elm tests
This should make tests work also on jenkins
2017-07-22 11:35:28 +02:00
Davide Andreoli 3ef64e685c Some more tests cleanups
Now I get 100% success on my machine :)
2017-07-22 11:22:15 +02:00
Davide Andreoli 6e2b444712 Use new style import in elm tests
For some obscure reasons the elm tests was failing here (only when run from the setup.py command) with the old style imports
2017-07-22 11:09:15 +02:00
Davide Andreoli 7d8049b0c5 Adjust some more tests 2017-07-22 10:57:24 +02:00
Davide Andreoli 741000d423 Move elm external test from edje to elm
elm widgets need an elm parent to work correctly, so it's better to use an elm win instead of a ecore evas one.
2017-07-22 10:55:04 +02:00
Davide Andreoli fecc0c2604 Edje: remove custom __repr__ implementation
to be consistent with the others
2017-07-22 09:08:03 +02:00
Davide Andreoli 9d5efd8aef Do not test Combobox widget
it is deprecated
2017-07-22 08:46:19 +02:00
Davide Andreoli 25f620ef19 python-edje do not exists anymore 2017-07-22 08:42:14 +02:00
Davide Andreoli 6e80968778 test list: use a correct FDO icon name 2017-07-20 21:29:46 +02:00
Davide Andreoli 64584362b7 setup.py: clean ecore_input files in CleanGenerated 2017-07-16 20:28:44 +02:00
Davide Andreoli 8ad73b3e69 Ecore.Poller is no more an Eo object in C :( 2017-07-16 14:12:32 +02:00
Davide Andreoli 5b9ba62e8f Fix a nasty ecore.x and ecore.input conflict
Both modules register the ECORE_EVENT_* events, so if you use them toghether one of the 2 was failing to run because the events was already registered by the other.

I'm fixing this by keeping a local event map in ecore.input, not the cleaner solution but it's the safer one I can found (in term of backward compatibility)

This fix (at least) epymc in standalone mode (without a wm)
2017-07-15 22:52:39 +02:00
Davide Andreoli 26a4c38d67 New 1.20 API: evas.Map.coords_get 2017-07-15 17:30:19 +02:00
Davide Andreoli 15b29e3ce8 New 1.20 API: elm/edje text_prediction_hint
no tests, as I have no idea on how to use this feature
2017-07-15 17:07:08 +02:00
Davide Andreoli 6bd7daa883 New 1.20 API: elm.Spinner min/max,reached events
with test
2017-07-15 10:44:58 +02:00
Kai Huuhko 5864a9dd2d Documentation: Add better documentation about object lifetime 2017-07-09 16:50:24 +03:00
Kai Huuhko a475ecba44 Elementary: Add import to efl.edje
Since we can't always anticipate when Elm will return a pointer to
an Edje object, let's just have the type always available.
2017-06-18 20:30:52 +03:00
Davide Andreoli eace418f9b Some new widget names
#FollowTheWhiteRabbit
2017-06-18 18:38:25 +02:00
Davide Andreoli bb2a45f013 Open up 1.20 dev cycle 2017-04-21 09:25:30 +02:00
Davide Andreoli 8c7ad9f31f Prepare the 1.19 release 2017-04-18 19:40:42 +02:00
Davide Andreoli d9f06e72a2 Fix evas.Box test
testing the color for a box do not make much sense, and its failing...
2017-04-18 19:22:17 +02:00
Davide Andreoli df221788f0 Fix file_download test
the old url was not reporting the total size anymore, thus making the test fail
2017-04-18 19:21:04 +02:00
Davide Andreoli 6a7e698368 New 1.19 API: evas.Image.load_head_skip 2017-04-15 20:41:14 +02:00
Davide Andreoli 4557daa602 EcoreConUrl is no more an Eo object :(
#FollowTheWhiteRabbit
2017-04-15 20:20:08 +02:00
Kai Huuhko a70c42e681 elm: Don't allow FontProperties to be freed manually
This could easily lead to segfaults and double frees if the lifetime of the Python object is not managed carefully.

We now do the free automatically when the object no longer has references to it.
2017-04-15 16:50:27 +03:00
Davide Andreoli d87e0a5484 another win stack piece 2017-04-04 20:35:29 +02:00
Davide Andreoli 89bb6a1998 Revert "New 1.19 API: elm.Win.stack_*"
This reverts commit f76e272990.

The win stack api has gone in beta,
we can re-revert after the release
2017-04-04 20:22:35 +02:00
Kai Huuhko b06c3151f7 elm: Fix font_properties_get 2017-03-31 17:51:00 +03:00
Davide Andreoli add166fb62 New 1.19 API: elm.Calendar.date_{min,max}
with test
2017-03-15 21:07:10 +01:00
Davide Andreoli 7aec398ede New 1.19 API: elm.ELM_INPUT_PANEL_LAYOUT_VOICE 2017-03-15 19:54:43 +01:00
Davide Andreoli da9258f474 New 1.19 API: elm.GengridItem.custom_size 2017-03-15 19:41:17 +01:00
Davide Andreoli 9c00cbb0fe New 1.19 API: elm.Naviframe "item,activated" cb
with test refactor/reformat
2017-02-27 20:23:02 +01:00
Davide Andreoli 18e2d9c102 Make the new image test py2 compat 2017-02-26 22:54:18 +01:00
Davide Andreoli 71354b3bb8 New 1.19 API: elm.Image.async_open + 4 new callbacks
with test
2017-02-26 22:50:25 +01:00
Davide Andreoli a293b4e124 Split 2 elm.Image tests in 2 files 2017-02-26 21:29:11 +01:00
Davide Andreoli e3224c882a whops, forgot compat wrappers for added enums 2017-02-26 21:08:03 +01:00
Davide Andreoli dccd0ed62f New 1.19 API: ELM_CALENDAR_REVERSE_DAILY 2017-02-26 20:59:38 +01:00
Davide Andreoli 9231e530bf New 1.19 API: elm.Progressbar.is_pulsing
with a stipid test
2017-02-26 10:30:29 +01:00
Davide Andreoli 6f92607ba4 New 1.19 API: elm.Panel "toggled" signal
with test
2017-02-26 09:43:15 +01:00
Davide Andreoli f76e272990 New 1.19 API: elm.Win.stack_*
with test
2017-02-25 12:58:42 +01:00
Davide Andreoli 3e0dbeb7f7 New 1.19 API: elm.Panel.scrollable_content_size_get 2017-02-25 10:57:19 +01:00
Davide Andreoli 98b7b2408f Rename class names accordly to Eo recent changes
This will lead do break sooner or later, for example:
Datetime is internally an Efl.Ui.Clock, so once Clock will be renamed we will be at a closed corner :(

#FollowTheWhiteRabbit
2016-12-28 14:11:48 +01:00
Davide Andreoli ac7013064f Silence lots of Eo errors
more info in the code comment
2016-11-05 17:51:00 +01:00
Davide Andreoli f2f8906968 Respect pep8 2016-11-05 15:14:41 +01:00
Davide Andreoli 032750af77 Fix Gengrid.item_insert_after to do the right thing 2016-11-05 15:01:48 +01:00
Davide Andreoli 16fa850f24 Fix for cython 0.25
New cython do not like our cdef @DEPRECATED decorator implementation,
I'm not able to fix it, so I just rewrite it in pure python.

The new one is a bit simpler, it do not print the source file anymore,
but still augment the documentation.

Tested with Cython 0.24.1 and 0.25.1 on both python 2.7 and 3.5, hope is enough.

#IHateCython
2016-11-05 11:42:26 +01:00
Davide Andreoli 0b03f8b2f3 some cc don't like the way cython use EINA_LOG macros
In some system we saw the compilation fail with this error:
efl/eo/efl.eo.c:1137:60: error: format not a string literal and no format arguments [-Werror=format-security]
   EINA_LOG_DOM_INFO(__pyx_v_3efl_2eo_PY_EFL_EO_LOG_DOMAIN, __pyx_k_Initializing_efl_eo);

so just ignore those warnings
2016-10-24 21:15:03 +02:00
Davide Andreoli 810623dbe4 Tests: use correct FDO icon names
Hope I catched them all
2016-10-22 12:33:32 +02:00
Davide Andreoli 01220931fc Evas: Do not call xxx_callback_del if obj is NULL
@fix
2016-10-22 11:43:25 +02:00
Davide Andreoli 924f291660 Test External: more readable indentation 2016-10-22 11:30:51 +02:00
Davide Andreoli 2e5e96a8dd Test Externals: keep in sync with the C test 2016-10-22 11:25:30 +02:00
Davide Andreoli ea4bc8790d warnings -- 2016-10-14 23:16:25 +02:00
Davide Andreoli 9e25d34920 warnings-- 2016-10-14 23:04:27 +02:00
Davide Andreoli 953f468229 Edje_External: fix a wrong var name
spotted by (now readable) warnings
2016-10-14 22:54:50 +02:00
Davide Andreoli f872e7b8c6 Fix usage of EINA_LOG_* functions
spotted by warnings :)
2016-10-14 22:45:32 +02:00
Davide Andreoli e0d892ecaa Silence some false compiler warnings
This make the output a lot more readable, we can now spot real warnings
2016-10-14 22:43:19 +02:00
Davide Andreoli cb062511b2 Makefile: go with py3 by default
this do not affect normal build (python setup.py xxx)
the Makefile is just a shortcut for devs
2016-10-14 22:41:03 +02:00
Davide Andreoli fa5b944f31 Eo: Eo_Event -> Efl_Event
#FollowTheWhiteRabbit (tm)
2016-10-14 21:29:15 +02:00
Davide Andreoli 99c618fc2b Remove ecore warning about subprocess incompatibility
This conflict seems to not exists anymore, the added test should prove it

Also removed unused return values from the existing exe test

(cherry picked from commit 191af7ac380ab87d29e4886fe07cd02b8dd5afa9)
2016-10-02 09:56:27 +02:00
Davide Andreoli 1a2b8e64f8 small doc fix 2016-09-24 13:58:12 +02:00
Kai Huuhko 6ad9bb3521 Emotion: Document module names and mark module options as deprecated 2016-09-03 22:37:49 +03:00
Kai Huuhko 0217da6c1f Emotion: Change default module_name to gstreamer1 2016-09-03 22:37:19 +03:00
Kai Huuhko f7e96cf0af Elm.Spinner: Add two missing signals and fix documentation issues 2016-08-29 18:44:35 +03:00
Kai Huuhko 58cfedf5af Elm.Genlist: Document new "indent" item style 2016-08-26 21:47:46 +03:00
Kai Huuhko 818e7db2e6 Tests: Disable edje edit test that segfaults 2016-08-21 20:02:01 +03:00
Kai Huuhko 6fa2d3ff95 Follow Eo -> Efl renames 2016-08-21 19:53:41 +03:00
Davide Andreoli 212eca4321 1.19 development starts now 2016-08-21 15:57:21 +02:00
Davide Andreoli cca359974a Prepare the 1.18.0 release 2016-08-20 09:32:49 +02:00
Kai Huuhko f652b6e18f Evas.Smart: Store event string in the spec to ensure it doesn't get decreffed
This fixes event string corruption and segfault in epymc
2016-08-16 22:57:09 +03:00
Kai Huuhko fdab8ed5b6 tests: Fix edje decorators test
Commit dd584b9f79ec41b53ca620ae534fcf84f12e30a9 fixed bad behaviour in edje entry.

Our test was picking up the "changed" and "cursor,changed" signals emitted by edje entry
when its text was set to "" on creation. Raster changed this behaviour, removing the
emissions, so let's do the same in our test and add some future proofing as well.

Fixes T4374
2016-08-16 21:57:21 +03:00
Kai Huuhko b2af779d7d Switch enums to use the old system we had previously
This allows us to support Cython 0.23+
2016-08-16 10:11:34 +03:00
Davide Andreoli 4bd421562d Improve the ecore test suite
no more print and lots more asserts
2016-08-14 13:02:19 +02:00
Davide Andreoli d6fc38ea59 ecore.Exe: implement is_deleted for consistency with other classes 2016-08-14 11:58:49 +02:00
Davide Andreoli 380e7a58ff ecore.FdHandler: implement is_deleted for consistency with other classes 2016-08-14 10:35:58 +02:00
Davide Andreoli 939cd71702 Small Timer docs improvement 2016-08-14 08:55:01 +02:00
Kai Huuhko 0ef56b3a58 setup.py: Fix error handling in uninstall command 2016-08-14 05:03:34 +03:00
Kai Huuhko c955d488f9 setup.py: Blacklist Cython 0.24 2016-08-14 04:41:11 +03:00
Kai Huuhko a575effa6b setup.py: Check that pregenerated files are available when requested 2016-08-14 04:27:45 +03:00
Davide Andreoli 3d31901da7 new 1.18 API: elm.Window.noblank
with test
2016-08-13 15:18:26 +02:00
Davide Andreoli 79979d9d2d New 1.18 API: elm.Slider.indicator_show_on_focus
with test
2016-08-13 13:44:22 +02:00
Davide Andreoli a8c1486aad New 1.18 API: elm.Entry.file_text_format 2016-08-13 12:59:43 +02:00
Kai Huuhko 54adcd9970 Bump copyright year 2016-08-13 01:13:30 +03:00
Kai Huuhko 96ae57ed6a Elm.Photo: Add callback prints to example 2016-08-12 23:57:15 +03:00
Davide Andreoli eaa09b6b16 New 1.18 API: elm.Popup.scrollable 2016-08-12 22:46:27 +02:00
Davide Andreoli 6ff9589e83 New 1.18 API: elm.Popup.align
with test, also added test for the existing orient property
2016-08-12 22:28:00 +02:00
Davide Andreoli 222f32eaf2 New 1.18 API: elm.Configuration.vsync 2016-08-12 13:26:58 +02:00
Davide Andreoli 5258779d41 New 1.18 API: elm.Configuration.icon_theme 2016-08-12 13:22:43 +02:00
Davide Andreoli 5342d77d60 New 1.18 API: elm-Configuration.font_hint_type 2016-08-12 12:59:27 +02:00
Davide Andreoli 7066070992 New 1.18 API: elm.Configuration.first_item_focus_on_first_focusin
Also this one was there from 1.11
2016-08-12 10:23:50 +02:00
Davide Andreoli cfb967333d New 1.18 API: elm.Configuration.accel_preference_override
This one was in real there from 1.11, but we missed it
2016-08-12 10:17:20 +02:00
Davide Andreoli 78d90dd467 New 1.18 API: 3 new getters for elm.Photo
NOTE: the test for the editable property is failing...need to recheck this!
2016-08-12 10:04:49 +02:00
Kai Huuhko 30c2ce90c3 Partial revert of ecd93319ee
This API was never meant to be exposed.
2016-08-12 05:52:23 +03:00
Kai Huuhko 55039295f2 Elm.List: Sync with C API 2016-08-12 02:46:30 +03:00
Kai Huuhko ad2ead12f7 api_coverage.py: Ignore systray 2016-08-12 02:44:22 +03:00
Kai Huuhko ecd93319ee Elm.Image: Sync with C API 2016-08-12 00:13:51 +03:00
Davide Andreoli 187ca5249b Fix the genlist reusable contents test 2016-08-11 11:31:07 +02:00
Davide Andreoli a1bef554e0 New 1.18 API: elm.Object.focus_move_policy_automatic
TBH I think that "automatic" should just have been a new value in the
elm.Object.focus_move_policy enum.... but I really don't have any more
energy to discuss this thing.
2016-08-10 20:59:53 +02:00
Davide Andreoli 23c6ffc8cf Docs and tests for new elm.Label styles
default/left
default/right
marker/left
marker/right
2016-08-10 19:06:50 +02:00
Davide Andreoli 71946bffb3 Mark the ComboBox widget as broken/deprecated.
This is really sad, but the combobox is broken by design and should have been never used in legacy code.

Really, really, sorry about the inconvenience!!
2016-08-10 18:38:32 +02:00
Davide Andreoli bc411cd774 New 1.18 API: elm.Configuration.web_backend 2016-08-10 11:41:49 +02:00
Kai Huuhko aeeee73fda Ecore: Include traceback with subprocess warning 2016-08-09 22:24:11 +03:00
Davide Andreoli 9fb954433e New 1.18 API: elm.Configuration.popup_scrollable 2016-08-09 21:20:44 +02:00
Davide Andreoli 4e57019e1e New 1.18 API: elm.Entry.select_allow
with test
2016-08-09 21:10:16 +02:00
Davide Andreoli f59e7c0c18 New 1.18 API: edje.Edje.part_box_insert_after() 2016-08-09 20:40:02 +02:00
Davide Andreoli e47f403a0b New 1.18 API: elm.Slider.range_enabled/range
with test
2016-08-09 18:52:55 +02:00
Davide Andreoli 2f1aff95c5 New 1.18 API: elm.Configuration.scroll_animation_disabled 2016-08-09 17:22:08 +02:00
Davide Andreoli 01d334b5f6 New 1.18 API: elm.Genlist.filtered_items_count()
with test
2016-08-09 16:21:43 +02:00
Davide Andreoli 105743d304 New 1.18 API: elm.Configuration.scroll_accel_factor 2016-08-09 15:56:25 +02:00
Davide Andreoli c11a7cf227 New 1.18 API: elm Genlist reusable content functionality
with a FAILING test (failing also in C)

(I love to implement broken stuff)
2016-08-09 15:39:35 +02:00
Davide Andreoli 99113cd990 Fix implementation of elm.GenlistItem.all_contents_unset()
the old implementation was not working at all, so I marked it @since 1.18
also added a test for it
2016-08-09 12:56:00 +02:00
Davide Andreoli 9381d46765 New 1.18 API: elm.GengridItem.all_contents_unset()
with test
2016-08-09 12:22:11 +02:00
Davide Andreoli 83656bff33 New 1.18 API: elm.Entry.select_region (get + property)
with test
2016-08-09 10:19:14 +02:00
Davide Andreoli 48eec126bb New 1.18 API: elm.Transit.revert()
with test
2016-08-09 09:51:24 +02:00
Davide Andreoli b37c970587 Fix definition of oe functions
#FollowTheWhiteRabbit (tm)
2016-08-08 18:01:39 +02:00
Davide Andreoli 5a3c19b521 dbus: do not segv atexit under py3
This is a workaround as I cannot find a better way to fix this :(

The real issue is that dbus run some callback in our code after
our shutdown of ecore and eina
2016-08-08 17:20:16 +02:00
Davide Andreoli 02f7eb07dd dbus: fix watch cleanups
EINA_LIST_FREE is wrong here, because the handler is already
removed from the list inside e_dbus_fd_handler_del.
Use EINA_LIST_FOREACH_SAFE to be more correct
2016-08-08 17:08:53 +02:00
Davide Andreoli 4a0310140a dbus: actually make timeouts works
dbus timeout are in millisecs, while ecore need seconds...
so timeouts was broken... since the time of e_dbus
2016-08-08 16:59:59 +02:00
Davide Andreoli d87b3bb9d0 dbus: cleanup timeouts
now timeouts should be much more stable
2016-08-08 16:43:35 +02:00
Davide Andreoli a19f0ad434 dbus: code cleanup
no functional changes
2016-08-08 15:47:35 +02:00
Davide Andreoli 11d23a94f1 dbus: remove unuse field in timer struct
td->interval is never used, so remove it
2016-08-08 15:41:45 +02:00
Davide Andreoli f287a1f98c dbus: rename globals to be consistent
no functional changes
2016-08-08 15:32:44 +02:00
Davide Andreoli ffb294b82f dbus: remove unused code
refcount is never incremented nor used, thus the connection was never properly closed

...shutdown bug still there
2016-08-08 15:29:01 +02:00
Kai Huuhko 78c9fe21af Revert "Remove NullHandler from C library logger"
This reverts commit bc8bac1f1a.
2016-08-05 19:43:28 +03:00
Kai Huuhko 13ea0cbe1d Logger: Fix unicode handling with message file and function string parts 2016-08-05 19:30:26 +03:00
Kai Huuhko f86234dd25 Evas.Smart: Comment out a warning for an issue we can't fix
When a smart event has event_info we need to convert it to a Python object.
We rely on the C library documentation to inform us when an event includes event_info
and assign a conversion function to the event handler based on this and pass the Python
object as an extra parameter to the callback. However when the documentation has omitted
this information we erroneously leave the extra parameter out, making the callbacks have
one less parameter, which our users rely on. Finding out the error after release is
useless since fixing it would mean breaking user callbacks.

This warning informed us at runtime when event_info was non-null but it's pretty much
useless so let's remove it.

Our smart callbacks should never have had two different signatures.
2016-08-05 19:12:44 +03:00
Davide Andreoli fbabb111d8 Fix (and optimize) smart callbacks add/del 2016-08-05 17:20:33 +02:00
Davide Andreoli 283efd1a28 Logger: do not fail if the error msg contain invalid chars
now invalid chars are replaced by an "?"
2016-08-05 15:09:06 +02:00
Davide Andreoli 12217e9c2a Add docs (and repr) for ECORE_EXE_TERM_WITH_PARENT 2016-08-05 14:23:42 +02:00
Kai Huuhko bc8bac1f1a Remove NullHandler from C library logger
This makes py-efl spew out an error if your app hasn't been setup to handle the logging.

If you don't like this, complain to Dave.
2016-08-04 14:31:21 +03:00
Kai Huuhko 0916eae9ff Add logging to the rest of the individual unit tests 2016-08-03 14:47:42 +03:00
Kai Huuhko d6bad7a838 Enable logging in elm image icon unit test 2016-08-03 12:10:12 +03:00
Davide Andreoli 2ebc0dcf74 2 more class name tests 2016-08-02 19:30:49 +02:00
Davide Andreoli e2edab7b1c tests: 2 small fixes
* ElmWeb external test skipped for the moment.
* Decorators test fixed by adding the new "edje,language,none" signal ti the list of expected.
2016-08-01 20:05:04 +02:00
Davide Andreoli 11c7d38a56 rename Elm_Frame -> Efl_Ui_frame
#FollowTheWhiteRabbit (tm)
2016-08-01 17:24:15 +02:00
Davide Andreoli 9b5b526620 Ecore.Idlers are no more an Eo object in C :(
#TheWhiteRabbitIsDead
2016-08-01 17:09:22 +02:00
Davide Andreoli 8f23c26d89 Ecore.Animator is no more an Eo object in C :(
#TheWhiteRabbitIsDead
2016-08-01 16:50:57 +02:00
Davide Andreoli 5680c76a49 Adjust dns lookup test
something changed in the lookup behaviour as this test was passing in the past,
but indeed the new behaviour seems more correct
2016-07-24 14:37:14 +02:00
Davide Andreoli 082456600a Rename some classes to new Eo names
#FollowTheWhiteRabbit (tm)
2016-06-26 16:17:20 +02:00
Davide Andreoli be3069b280 Update to new Eo callback stop mechanism
#FollowTheWhiteRabbit (tm)
2016-06-26 15:54:36 +02:00
Davide Andreoli 36ca39e015 Follow recent Eo class names change 2016-06-03 14:21:22 +02:00
Davide Andreoli 243664d738 Add a test to check eo class names
a bit hackish, but do his work.
And is important to check those names now that efl class names are going to be shuffled around :P
2016-06-03 14:20:41 +02:00
Davide Andreoli e0456df2a2 better indent 2016-06-03 11:45:08 +02:00
Davide Andreoli 51946aaf8b Follow eo class rename 2016-06-03 11:14:40 +02:00
Davide Andreoli cadf409404 Going back to use eo_del instead of eo_unref
...still untested as the bindings are broken for something else atm
2016-06-03 09:14:31 +02:00
Davide Andreoli 7fd0f973ca Safer version of the parent hack
not all objects have a bindable parent, Timer fe have Loop as parent and we don't have bindings for Loop.
2016-05-29 15:49:17 +02:00
Davide Andreoli c2c09d4dc9 Hack to keep the legacy behavior of Eo.parent 2016-05-29 15:41:46 +02:00
Davide Andreoli bae6125061 Slideshow: Fix doc to reflect the real behaviour of the widget. 2016-05-23 19:50:01 +02:00
Bernhard M. Wiedemann 5bbbed95c0 Allow to skip last_updated and sphinx_version
Summary:
this part is a copied from Sphinx-1.3.6 's
sphinx/themes/basic/layout.html

and allows distributions to drop the build date
to have reproducible builds

Test Plan:
in doc/conf.py set
html_last_updated_fmt = None
and make sure that generated html files do not contain
Last updated on None

Reviewers: DaveMDS

Differential Revision: https://phab.enlightenment.org/D3781
2016-05-23 19:22:12 +02:00
Davide Andreoli eca2dfaa0b Follow Eo changes
eo_del -> eo_unref
eo_key_del -> eo_key_set(NULL)
EO_BASE_EVENT_DEL -> EO_EVENT_DEL
2016-05-18 21:38:46 +02:00
Davide Andreoli aba5250634 Follow recent Eo changes 2016-04-24 12:11:07 +02:00
Kai Huuhko 41c1779e81 Shuffle in the latest Eo memes 2016-03-19 01:08:33 +02:00
Kai Huuhko 77d023dfe1 More Eo updates 2016-03-09 20:07:05 +02:00
Kai Huuhko 05c19962dc Follow changes in Eo
- version 4 (eo_add changes coming later)
- events
2016-03-04 11:10:11 +02:00
Davide Andreoli fea03a787c Fix 2 examples to work with py2 2016-02-08 19:42:22 +01:00
Davide Andreoli b6f729dc3a Open the 1.18 development cycle 2016-02-07 20:22:44 +01:00
Davide Andreoli 6668176720 Prepare the 1.17 release 2016-02-06 14:59:44 +01:00
Kai Huuhko 9a3d441f1c Update TODO 2016-02-03 14:05:51 +02:00
Kai Huuhko d5656fdd3d Elm.Genlist: Add small optimizations for filter and state cbs 2016-02-03 14:05:51 +02:00
Kai Huuhko ba7bf818d8 Elm.MultiButtonEntry: Correct documentation 2016-02-03 14:05:38 +02:00
Kai Huuhko 1189e17fe0 Elm.FileSelector: Fix ref leak 2016-02-02 21:41:37 +02:00
Kai Huuhko fc987411da Clean up cruft code 2016-02-02 21:37:02 +02:00
Kai Huuhko 523fe8ad4d Elm.MultiButtonEntry: Fix filter callback 2016-02-02 21:23:02 +02:00
Kai Huuhko 3661a78c96 Elm.MultiButtonEntry: Attempt to fix leaks, add more docs 2016-02-02 20:30:20 +02:00
Kai Huuhko caef23bb34 Trivial todo note updates and doc fix 2016-02-02 14:23:00 +02:00
Kai Huuhko 684ad779dc Edje: Make ExternalParam_from_ptr a C only function 2016-02-02 14:11:08 +02:00
Davide Andreoli 625500bffc fix the url for the remote image test 2016-01-23 19:28:41 +01:00
Davide Andreoli 0ecf04eba9 just a bit of indentation 2016-01-23 18:44:06 +01:00
Davide Andreoli 11d3007f02 New 1.17 API: evas.Object.paragraph_direction 2016-01-23 18:34:13 +01:00
Davide Andreoli cab804e69b New 1.17 API: elm.Notity.dismiss() 2016-01-23 16:40:49 +01:00
Davide Andreoli 190d0aa7b6 New 1.17 API: elm.Popup.dismiss() 2016-01-23 16:32:08 +01:00
Davide Andreoli 24318c8d33 New 1.17 API: elm.Configuration.profile_* family functions 2016-01-23 15:56:25 +01:00
Kai Huuhko 6980ffb0e4 Elementary: Use the private internal_data dict instead of abusing user data dict 2016-01-23 15:55:49 +02:00
Kai Huuhko fa69908d71 Eo: Add a private dict which can be used for callbacks etc. 2016-01-23 15:38:06 +02:00
Davide Andreoli 86aa8c5138 New 1.17 API: elm.Ctxpopup "geometry,update" smart cb 2016-01-23 14:33:01 +01:00
Davide Andreoli 9809eb2739 New 1.17 API: ELM_GEN[GRID/LIST]_ITEM_SCROLLTO_BOTTOM
The grid enum was a bit messed, it was using the list enums, fixed and leave the old one in place for compatibility
2016-01-23 13:46:43 +01:00
Davide Andreoli 4f8dfc195f New elm widget: Combobox
with docs and example
2016-01-23 12:19:20 +01:00
Davide Andreoli 078d440e05 New 1.17 API: edje.Edje.color_class_clear() 2016-01-21 23:03:11 +01:00
Davide Andreoli e087d0d918 New 1.17 API: edje.Edje.text_class_del() 2016-01-21 22:51:20 +01:00
Davide Andreoli 920a8891e6 whops, forgot to commit this file in a previous commit 2016-01-21 22:32:08 +01:00
Davide Andreoli f03f83fba9 New 1.17 API: elm.Configuration.context_menu_disabled 2016-01-21 22:31:07 +01:00
Davide Andreoli 926c325de8 New 1.17 API: edje size_class family functions 2016-01-21 21:33:23 +01:00
Davide Andreoli 005dd26f73 Implemented Genlist filter ability
It is somehow not perfectly working, see TODO for more info
2016-01-20 22:55:43 +01:00
Davide Andreoli 90595ffdca Gengrid: a small doc improvement 2016-01-18 21:25:00 +01:00
Davide Andreoli fc68b43317 ecore_con.Url: do not fail when receiving an event that is not for us.
The url callbacks are called for EVERY ecore_con usage, object_from_instance
can fail in case the Url is not generated from us (for example an elm Image that
load the data from the net). So just ignore those events.
2016-01-18 21:24:26 +01:00
Davide Andreoli 458121f6be Moved (un)focused and language,changed events down to Object.
There is no need to replicate this events in every widget, they belong to Object
2016-01-10 13:09:19 +01:00
Davide Andreoli f3e6315413 Add a new module: ecore_input
as always with docs and example
2016-01-08 22:18:49 +01:00
Davide Andreoli 592467c7bd ethumb test: more correct global usage 2016-01-04 20:14:58 +01:00
Davide Andreoli 1599140196 Forgot since 1.17 in last commits 2016-01-03 18:59:47 +01:00
Davide Andreoli 0021e4a186 oh, this is really important ... :) 2016-01-03 18:51:38 +01:00
Davide Andreoli 17df9e69aa Revamp old and broken EthumbClient module
This was not functional at all, so I broke the API "a bit"
2016-01-03 18:50:33 +01:00
Davide Andreoli 93d2c01002 Implemented efl.Ethumb.Ethumb class.
With docs and an example

EthumbClient will follow asap
2016-01-03 16:48:45 +01:00
Davide Andreoli e963e6d061 emotion test: another harmless leftover removed 2016-01-03 16:48:45 +01:00
Davide Andreoli 8af35d3f56 emotion test: remove an unwanted/unused import 2016-01-03 16:48:45 +01:00
Kai Huuhko 8f2baa86b5 utils.deprecated: Fix compatibility with Python 3.5 2016-01-03 09:32:05 +02:00
Kai Huuhko 6c16e2f746 Ecore.Exe: Add missing documentation for the Events 2015-12-25 21:17:14 +02:00
Kai Huuhko 16f7cb1a24 api_coverage.py: Include all files in cdef search
Fixes Elm
2015-12-25 21:17:14 +02:00
Davide Andreoli 06cb7ad598 More tests on GenlistItem show/bring_in 2015-12-20 12:25:22 +01:00
Kai Huuhko 75fa5ff256 Elementary.dnd: Fix various leftover issues 2015-12-09 21:26:29 +02:00
Kai Huuhko 5d73c59088 print()-- 2015-12-09 21:02:59 +02:00
Kai Huuhko 453c2a123c Elementary: Implement drag and drop
Has some issues which we can work on later, should be API stable now.
2015-12-09 20:58:06 +02:00
Davide Andreoli 8e7616c1b3 Add test/example for Genlist tree 2015-12-07 12:20:49 +01:00
Davide Andreoli 76e94bcbf8 just a note 2015-11-16 20:46:58 +01:00
Davide Andreoli eaf3110089 A new ecore module: ecore_con
It's now super easy to perform various network task in a full efl fashion.
Implemented "Lookup" for dns query and "Url" to perform http requests.
"Server" will come soon.

Comes with quite complete docs, examples and unit tests
2015-11-16 20:45:07 +01:00
Davide Andreoli f01ac0788e Open the 1.17 development phase 2015-11-15 21:28:14 +01:00
Davide Andreoli d4f355f584 2 small fix in docs 2015-11-15 21:09:06 +01:00
Davide Andreoli 5594375fac test: show python-efl and python versions in win title 2015-11-14 17:54:21 +01:00
Davide Andreoli aceff14567 Prepare the 1.16 release 2015-11-14 17:41:57 +01:00
Davide Andreoli 8ad08e8ef8 New 1.16 API: various next_item_get/set 2015-11-14 17:27:49 +01:00
Davide Andreoli ed5f93850f New 1.16 API: Elm.Object.focus_region_show_mode 2015-11-14 16:37:20 +01:00
Davide Andreoli 435e57ca44 rename Hoversel API label_auto_changed->auto_update 2015-10-20 21:23:05 +02:00
Davide Andreoli fd0b963651 Implemented TablePadding test 2015-10-20 21:22:09 +02:00
Davide Andreoli a7c8b2d40d New 1.16 API: Hoversel.label_auto_changed
...what a bad name for this prop
2015-10-07 22:05:28 +02:00
Davide Andreoli b82ed6f029 New 1.16 API: Configuration.scroll_thumbscroll_smooth_* 2015-10-07 20:58:21 +02:00
Davide Andreoli df1719d4c9 Blacklist Cython 0.23.X
The 0.23 series break our enum usage, 0.24 will come with a new enum
system, so wait for it and blacklist the broken one for now.
2015-10-06 20:54:49 +02:00
Davide Andreoli 3c20338884 new 1.16 API: Index.standard_priority and IndexItem.priority 2015-10-06 20:39:51 +02:00
Davide Andreoli 95846a8eaa Genlist: new 1.16 'changed' signal 2015-10-06 19:59:51 +02:00
Davide Andreoli e9c55b7f5e Add missed doc for ObjectItem.tooltip_window_mode 2015-08-24 22:50:08 +02:00
Davide Andreoli 28812962d5 Rewamped genlist tests
* splitted each test in a single file
* use new style imports
* some other small improvements here and there
2015-08-16 16:43:43 +02:00
Davide Andreoli 191ce5c22c Improve a bit Genlist documentation
This can be improved lots more, but I'm out of time :(
2015-08-16 12:10:46 +02:00
Davide Andreoli 40ac305d0d GenlistItem.data is now also writable 2015-08-15 13:36:00 +02:00
Davide Andreoli d0026d6103 Add the missed prop elm.Object.tooltip_orient 2015-08-12 09:54:07 +02:00
Davide Andreoli 1dc4053ce5 Re-enable the evas callbacks len test
Dunno why this was commented out, seems usefull to me
2015-08-05 15:06:50 +02:00
Davide Andreoli 7f132af8d6 Update release process instructions 2015-08-05 15:05:20 +02:00
Davide Andreoli 870611de99 Open the 1.16 development phase 2015-08-05 14:21:38 +02:00
Davide Andreoli 0834e66762 Prepare the 1.15.0 release 2015-08-04 10:31:46 +02:00
Davide Andreoli 43591f8b8e Docs: Add classes that was not documented 2015-08-04 09:21:21 +02:00
Davide Andreoli 3de1d7be24 New 1.15 API: evas.Textblock.obstacle_* functions
untested, but quite simple api, should work
2015-08-03 18:53:19 +02:00
Davide Andreoli 634c56d14c New 1.15 API: Window.autohide 2015-08-03 18:16:26 +02:00
Davide Andreoli f3b3858902 New 1.15 API: Configuration.transition_duration_factor 2015-08-03 17:04:05 +02:00
Davide Andreoli f3df1b4cc9 New 1.15 API: Scroller.wheel_disabled, with test 2015-08-03 16:37:25 +02:00
Davide Andreoli 7f5c30c7fd New 1.15 signal for Entry: context,open 2015-08-03 16:20:40 +02:00
Davide Andreoli 281cb65c1a Entry: Fix the name of the callback_rejected_del function 2015-08-03 16:17:33 +02:00
Davide Andreoli 130f1db451 New 1.15 API: Object.focus_move_policy, with test. 2015-08-03 16:09:16 +02:00
Davide Andreoli 97dadf30da New 1.15 API: EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, with test
Also fixed EVAS_CALLBACK_AXIS_UPDATE that was half implemented
2015-08-03 14:09:36 +02:00
Davide Andreoli 5e138dcdf2 Fix build on OSX
should fix T2440
2015-07-12 19:42:56 +02:00
Davide Andreoli 4ad8fc60ae Fix build when ecore-x is not available 2015-07-12 19:35:55 +02:00
Kai Huuhko 37930f389d Follow recent changes in Eo 2015-06-01 17:59:47 +03:00
Davide Andreoli ac685358bd Docs: fix a small error in Ctxpopup 2015-05-17 14:52:18 +02:00
Davide Andreoli 92c05e801a Doc for SegmentControlItem 2015-05-14 20:46:42 +02:00
Kai Huuhko 3dd36bd770 Elm: Replace FIXME in init about argc/v with description 2015-05-09 20:54:44 +03:00
Kai Huuhko 9b234a4266 Elm: Fix module init from embedded interpreter
sys.argv doesn't exist there
2015-05-09 20:16:45 +03:00
Kai Huuhko a1f36bb073 Elm: Unify modules into a monolithic module 2015-05-07 22:37:48 +03:00
Davide Andreoli dba05cc1ba Add notes for pypi upload 2015-05-07 20:56:55 +02:00
Kai Huuhko d571c49e6f Open up development for 1.15 2015-05-07 13:18:01 +03:00
Kai Huuhko 1011cb76df Bump version for 1.14.0 release 2015-05-04 09:25:43 +03:00
Kai Huuhko 94779d1640 Examples: Fixed ecore_x and dbus examples 2015-05-04 08:38:27 +03:00
Kai Huuhko 59b2e1ee59 elm.Toolbar: Note earlier changes to events and update example
See commit 61b53f2477
2015-05-04 06:10:45 +03:00
Davide Andreoli c03464e343 Add the data property for SlideshowItem
To be consistent with Genlist/grid behaviour
2015-05-04 03:19:28 +02:00
Kai Huuhko 4d73872f8f Removed init/shutdown calls from tests and examples 2015-05-04 04:03:07 +03:00
Kai Huuhko e37026ec17 Remove init/shutdown from elm and emotion main tests 2015-05-04 03:36:54 +03:00
Kai Huuhko bc0f40e54c Add automated init/shutdown to rest of the modules 2015-05-04 03:36:54 +03:00
Davide Andreoli 532bc85acd Updated Changelog 2015-05-04 02:22:43 +02:00
Davide Andreoli 9b258cb28e Changed slideshow to use new-style item data.
Item data is now a single value instead of args/kargs, to reflect the usage in Genlist/Gengrid

Also updated the test
2015-05-04 02:21:07 +02:00
Kai Huuhko a70d9c7cd4 Small clarifications to ChangeLog 2015-05-03 15:09:42 +03:00
Davide Andreoli 6a927f0695 Update Changelog with recent fixes 2015-05-03 12:31:42 +02:00
Kai Huuhko acf2d33969 Evas.Textgrid: Fix memleak
Had to change the type of cellrows from list to custom tuple-like type.
2015-05-03 13:05:15 +03:00
Kai Huuhko fb34f48c9d Examples: Add systray test/example to the main menu 2015-04-28 03:14:39 +03:00
Kai Huuhko 8df029d240 Emotion: Fix documentation paragraph title 2015-04-28 02:33:04 +03:00
Davide Andreoli 9a19db3013 Release: 1.14.0-beta1 2015-04-26 14:49:42 +02:00
Kai Huuhko ce58291d20 Evas: Fix documentation 2015-04-24 22:25:15 +03:00
Kai Huuhko 8f68e52ecc Documentation: Prettify warning/note boxes, class headers
Sphinx 1.3 includes class constructor's signature in the class header;
reduced font size slightly to accommodate this change.
2015-04-23 04:45:20 +03:00
Kai Huuhko c3b9a5b18f Documentation: Sphinx 1.3 compatibility fixes 2015-04-22 13:06:07 +03:00
Kai Huuhko c08888239f Elm: Move ecore events registration out of init 2015-04-20 06:27:10 +03:00
Kai Huuhko 6532ef85f6 Elm.Systray: Fix compile warning 2015-04-20 06:27:10 +03:00
Davide Andreoli c0e6254c1f New 1.14 signal: Colorselector changed,user 2015-04-19 10:36:43 +02:00
Davide Andreoli f6326d582b New 1.14 API: item,longressed signal for Multibuttonentry 2015-04-17 21:16:23 +02:00
Kai Huuhko b704005981 Elm.Systray: Fix compile
Here's a hint to any developer at home: CTRL-S *before* you commit.
2015-04-17 14:59:11 +03:00
Kai Huuhko 70fb839813 Elm: Move ecore events registration to init()
Fixes an issue with docs generation
2015-04-17 11:35:43 +03:00
Kai Huuhko 9ffa09d729 Elm.Entry: Fix compile warning and doc issues 2015-04-17 11:35:43 +03:00
Davide Andreoli b3833978c8 New 1.14 API: edje.text_class_get() and edje.Edje.text_class_get() 2015-04-16 22:36:22 +02:00
Davide Andreoli f183fc171f New 1.14 API: elm.Scroller.loop
Scroller test redone to include loop and more
2015-04-16 22:05:55 +02:00
Kai Huuhko 219ba9cdd9 Use atexit to shutdown eo, evas and ecore modules
They already had a call to init in the module, thus there was a mismatch
not obvious to users.
2015-04-15 12:02:34 +03:00
Kai Huuhko 1d5ae5fbc9 Elm: Add forgotten versionadded 2015-04-15 00:37:50 +03:00
Kai Huuhko 144e28a230 Elm: Clarify init/shutdown change
With docs and test logging
2015-04-15 00:35:30 +03:00
Kai Huuhko 0c170c5bb3 Elm: Add object layer enums 2015-04-15 00:33:47 +03:00
Kai Huuhko 278fe32110 Elm: Add ecore events defined in elm_general.h 2015-04-15 00:17:24 +03:00
Kai Huuhko 75f3f3b70a Elm: Handle init and shutdown inside the module 2015-04-15 00:17:24 +03:00
Davide Andreoli eb60fbc01e Fix elm.Video test to work again
also put in a forgotten change from last commit
2015-04-14 22:55:20 +02:00
Davide Andreoli 61590afc6f New 1.14 API: file_get for Video and Layout
with stupid tests
2015-04-14 22:21:35 +02:00
Davide Andreoli 3765021dc0 New 1.14 API: elm.Slider.indicator_visible_mode
with test
2015-04-14 21:22:38 +02:00
Davide Andreoli e8172a5cfe New 1.14 API: elm.Configuration.window_auto_focus_enable/window_auto_focus_animate 2015-04-14 20:44:10 +02:00
Davide Andreoli 0f0e84d792 Test Elm.Image: use new EVAS_ORIENT_* enums 2015-04-12 14:01:49 +02:00
Davide Andreoli e9f07ff537 New 1.14 API: elm.Photocam.image_orient
with test.

NOTE: playing with the test reveal lots of image_orient errors
2015-04-12 13:41:05 +02:00
Davide Andreoli 6fbe0ba320 New 1.14 function: Elm.Transit.go_in()
with test
2015-04-12 12:49:43 +02:00
Davide Andreoli 0190d16c05 New 1.14 property: Evas.Image.orient
with a simple test
2015-04-12 12:35:57 +02:00
Kai Huuhko f20c56fe15 Update TODO and INSTALL 2015-04-05 14:27:28 +03:00
Kai Huuhko 708f02bccc Evas.SmartObject: Add more docs to move_children_relative() 2015-03-31 12:15:41 +03:00
Kai Huuhko aee5433cdc Fix method/prop highlight color with Sphinx 1.3 2015-03-25 07:15:20 +02:00
Kai Huuhko a119c3ccdb Tests: Fix custom smart event callbacks' tests
Custom events always get event_info since commit
fcc93216f9
2015-03-25 05:53:38 +02:00
Kai Huuhko 9f4eab83b7 Elm.Naviframe: Fix item_pop_cb call 2015-03-24 14:48:05 +02:00
Kai Huuhko 61b53f2477 Elm.Toolbar: Add missing event_info to events 2015-03-24 09:06:49 +02:00
Kai Huuhko 73b54938c6 Elm.Naviframe: Add item_pop_cb, missing event_info for events 2015-03-24 09:05:40 +02:00
Kai Huuhko aaaa3a1438 Evas.Rect: Use inline and nogil to optimize the intersection helper 2015-03-24 05:05:28 +02:00
Kai Huuhko fcc93216f9 Evas.SmartObject: Fix smart callbacks with NULL event_info
If the event has a conversion func assigned but event_info is NULL
we should pass None instead of dropping the parameter. This behavior
is now the same as before the callback rework.
2015-03-23 19:15:25 +02:00
Kai Huuhko 8a0dccbf22 Evas: Optimize Smart methods
The methods are now checked on __init__. If a method is not initially
defined the calls to it will be skipped entirely. The methods can be
rebound later in runtime by initially providing an empty (pass) method.
2015-03-21 10:38:24 +02:00
Kai Huuhko 1940b51f15 Evas.SmartObject: Use calloc to allocate the array 2015-03-21 10:37:47 +02:00
Kai Huuhko 149f7d1278 setup.py: Fix Cython specific options
**SPANK SPANK SPANK!!**  Dave has been naughty.

build_ext must be imported from Cython in order for options like
 --cython-dbg to be understood by the setup script.
2015-03-21 10:08:25 +02:00
Kai Huuhko 0266db28bd Eo: Add the property 'parent' 2015-03-21 10:06:45 +02:00
Kai Huuhko c547f72374 Ecore-X: Fix copy & paste error in last commit 2015-03-13 20:36:05 +02:00
Kai Huuhko 0a9ccfca74 Ecore-X: Add cursor_free, deprecate screensaver_supend 2015-03-13 20:13:31 +02:00
Kai Huuhko 6036567b41 Ecore-X: Add cursor_shape_get() 2015-03-13 19:48:15 +02:00
Kai Huuhko 4ccea0f35d Evas.SmartObject: Add smart callback introspection 2015-03-13 19:22:01 +02:00
Kai Huuhko ea2d5bd689 Evas.SmartObject: Optimize Smart calls 2015-03-13 13:10:22 +02:00
Kai Huuhko 3120e56250 Evas.SmartObject: Go back to the old cb system
Turns out the C calls are awfully slow.

Dave, good work with the tests!
2015-03-13 02:40:39 +02:00
Davide Andreoli 807f0417db Some tests for SmartObject callbacks 2015-03-12 22:02:07 +01:00
Kai Huuhko ccc88f6650 Elementary.Object: Use Evas.Object._set_obj() 2015-03-12 21:17:25 +02:00
Kai Huuhko 4b9a44d2fc Evas.Object: Add more documentation for size hints from C headers 2015-03-12 19:39:29 +02:00
Kai Huuhko dd5b35ef8f Evas.Object: Re-order the methods into sections, cosmetic 2015-03-12 18:52:08 +02:00
Kai Huuhko 6fa1b78256 Evas.SmartObject: Keep reference to Smart in the SO object
Smart gets freed automatically when no SO or user has references to it.
2015-03-12 18:22:46 +02:00
Kai Huuhko 270ac10e09 Evas.SmartObject: Optimize python cb call 2015-03-12 16:19:35 +02:00
Kai Huuhko 179404e279 Evas.SmartObject: Change SmartCb spec into a custom object
This allows faster C access to the values, avoids casting the conv_func
pointer to an integer and back.
2015-03-12 14:27:36 +02:00
Kai Huuhko 8b594d4bd8 Evas.SmartObject: Improve Smart cb handling
Calling custom callbacks with event_info was broken, fixed.

A check was added for event_info pointer, a warning will emit
when it's non-NULL and we don't have a conv function set.

Small optimizations.
2015-03-12 02:00:04 +02:00
Kai Huuhko 247eb9e452 Evas.SmartObject: Revert SmartCb add/del mechanism partially
We need to keep a better track of the spec references so they
don't get mixed up when user adds and deletes the callbacks.
2015-03-11 22:13:00 +02:00
Kai Huuhko a407e11298 Evas: Change SmartCb event_info conversions into C functions 2015-03-11 15:37:06 +02:00
Kai Huuhko d36b61e97e Evas.SmartObject: Keep refs in a list
Using Py_INCREF/DECREF in add/del we could have dangling references when
the object is deleted without user calling callback_del.
2015-03-11 11:36:50 +02:00
Kai Huuhko 7fad9e3ff4 Evas.SmartObject: Simplify callback handler code
This should do the same as the previous approach, except heaps and tons
faster. No more dicts and lists to go through.
2015-03-11 04:13:08 +02:00
Kai Huuhko c4786f997e Evas.SmartObject: changed smart event callback add/del methods to cdef 2015-03-11 02:12:36 +02:00
Kai Huuhko 4ab927809e Move smart callback handling from elm Object to evas SO and inherit 2015-03-10 22:53:16 +02:00
Kai Huuhko a11fadc82d Evas.SmartObject: Handle object deletion in a saner way
Evas free event gets called last, we free resources there so that the
SO callbacks can call with a valid object reference.
2015-03-10 00:04:28 +02:00
Kai Huuhko d416425f51 Evas.SmartObject: Trivial changes
Removed cruft, upgraded cls == NULL log message level to ERR,
added formatter to SO example logging.
2015-03-09 21:01:55 +02:00
Kai Huuhko fbc22d850d Make Evas.SO iterator a generic Eo iterator and move to efl.eo 2015-03-09 19:36:42 +02:00
Kai Huuhko 16f04ee2ec Evas.SmartObject: Move documentation to right places 2015-03-09 17:40:34 +02:00
Kai Huuhko 9dbff82aac Evas: Copy SO methods member_add/del to Object.smart_member_add/del 2015-03-09 13:11:15 +02:00
Kai Huuhko 3dd81c4f60 Evas.SmartObject: Switch to using C implementation of ClippedSO 2015-03-08 23:48:21 +02:00
Kai Huuhko 9e86901b0d Evas.SmartObject: Add unicode/py3k safety to callback methods 2015-03-08 23:47:07 +02:00
Kai Huuhko c61e4912e7 Evas.SmartObject: Allow callback calls even when obj is NULL 2015-03-08 20:06:32 +02:00
Kai Huuhko 204aecc746 Evas.SmartObject: Use the correct function when deleting data 2015-03-08 20:04:50 +02:00
Kai Huuhko f3a5b44151 Evas.SmartObject: Add smart_get, commented out parent getter
Need to test if we can use Eo parent_get to do the same thing.
2015-03-08 19:35:47 +02:00
Kai Huuhko c1e51903fe Evas.SmartObject: Fix crash when Smart is re-used 2015-03-08 19:20:58 +02:00
Kai Huuhko 3d7b940631 Evas: Remove now redundant SmartObject metaclass 2015-03-08 18:18:01 +02:00
Kai Huuhko db5663773e Evas.SmartObject: Fix issues in the new API implementation 2015-03-08 18:15:26 +02:00
Kai Huuhko 3c710bb4b4 Evas.SmartObject: Change tests and examples in accordance to new API 2015-03-08 18:07:57 +02:00
Kai Huuhko 4af81e96a7 Evas.SmartObject: rewrite because of changes in Cython 0.21.1
Unfortunately it was impossible to keep api compatibility.

Compiles but didn't test it yet, need to rewrite the tests and
examples too.
2015-03-07 21:38:08 +02:00
Kai Huuhko d3357619f7 Evas: Bring back SmartObject
Possible TODO: support per-child delete cb like in C
2015-03-05 21:07:38 +02:00
Kai Huuhko ded0c5fd06 Elementary: Documentation fixes 2015-03-05 14:19:48 +02:00
Kai Huuhko 2dcc34230e Documentation: Switch syntax highlighting (pygments) style to monokai
It suits our dark background coloring better.
2015-03-04 11:21:59 +02:00
Kai Huuhko aabeef1bae Documentation: Add some functional coloring and visual cues 2015-03-03 22:32:31 +02:00
Kai Huuhko 5fdfe2e553 Elementary.scroller: Make ScrollerWidget private
We now also disallow Scrollable initialization.

Hopefully these changes clarify the intended usage of these classes.
2015-03-03 17:26:45 +02:00
Kai Huuhko 2a1a08ae40 Elementary.scroller: Documentation fixes 2015-03-03 14:11:03 +02:00
Kai Huuhko 4fedd07228 Elementary.box: Add an iterator for Box's children
Usage example:

  box = Box(parent)
  box.pack_end(mychild)

  for child in box:
      print(child)
2015-03-02 10:16:34 +02:00
Kai Huuhko 5efbb8810b Evas: Optimize rect getters class initialization 2015-03-02 09:02:51 +02:00
Kai Huuhko 65d68e7aee Evas.Rect: Optimizations
Freelist will keep Rect objects around for quick instancing,
casts to extension type will skip unnecessary type tests.
2015-03-02 07:55:16 +02:00
Kai Huuhko ca4899125d Tests: Change test names to reflect the change from last commit 2015-03-02 05:27:29 +02:00
Kai Huuhko 460d749aef Evas.Rect: Rename intercepts to intersects, correct the algorithm
It now uses the same algorithm as eina_rectangle
2015-03-02 05:22:57 +02:00
Kai Huuhko ee9c3cb042 tests.evas: Add a valid, failing test for Rect.intercepts
The algorithm used produces a false negative when the shapes intersect
in a cross shape.
2015-03-02 05:19:04 +02:00
Kai Huuhko f18ddbf87c Elementary.window: Improve documentation of Window constructor 2015-02-26 05:42:30 +02:00
Kai Huuhko 9c801a9416 Elementary.systray: Follow Eo changes 2015-02-26 05:40:56 +02:00
Kai Huuhko c8f782538f Remove tests that were infact wrong. 2015-02-26 01:02:09 +02:00
Kai Huuhko ff83ec4266 Evas: Rename Object.parent_get to smart_parent_get
It was clashing with Eo.parent_get and is more correct in regards
to C api naming.
2015-02-25 23:41:14 +02:00
Davide Andreoli 9afb74906b Fix code to conform to recent Eo changes. 2015-02-25 21:44:31 +01:00
Kai Huuhko e27e5e3f13 Examples.elementary: Update fs_entry/btn tests
to not use deprecated methods.
2015-02-21 17:51:33 +02:00
Kai Huuhko 2ce228be96 Elementary: Add module systray
Test/example needs more work
2015-02-21 05:41:14 +02:00
Davide Andreoli d141a912e5 Fix Photocam.internal_image to actually work
This property/get_function was totally wrong :(
2015-02-21 00:19:50 +01:00
Davide Andreoli 9428a7418e Fix Scroller doc 2015-02-20 20:45:22 +01:00
Davide Andreoli 4b7d08e38a Fix for cython 0.22 2015-02-19 20:22:39 +01:00
Davide Andreoli abbccd84aa Correct commit count
The current method of counting commits give a wrong number. This lets git do the counting.

patch by Doug Newgard slightly modified by me
2015-02-16 22:30:58 +01:00
Davide Andreoli 65ff1c8217 Image.memfile_set: do not raise exceptions.
The first raise (when img do not support the buffer interface) is useless,
as python yet raise the same TypeError exception.

The latter is removed to be consistent with the docs and the C api,
so return a bool and do not rise the exception. We are going to move
to autogeneration sooner or later, so we must keep the api as much
as possible close to the C one, to minimize the future effort of porting
applications.
2015-02-16 20:57:25 +01:00
Davide Andreoli b4fcee3de2 Use consistent indentation style with the rest of the code 2015-02-16 20:38:25 +01:00
Davide Andreoli a90f1dd54d Remove a wrong line from the previous commit 2015-02-16 20:24:26 +01:00
Kai Huuhko 31a6f559b0 Elementary.image: Add memfile support 2015-02-16 14:54:26 +02:00
Davide Andreoli 1ccc6012d8 Fix the signature of the un/highlight List callback to include the item.
Also fixed docs for all the other item callbacks, sorry for the noise.
2015-02-15 14:31:50 +01:00
Davide Andreoli ca7b737d67 Now start the 1.14 development cycle 2015-02-09 23:24:51 +01:00
Davide Andreoli c64ca0fa1a Rollup stable 1.13.0 release 2015-02-09 20:18:06 +01:00
Davide Andreoli 8106e2b1aa fixed elm.Entry.cursor_content_get() to not crash when called
With a new test Entry Notepad
2015-02-07 20:07:55 +01:00
Davide Andreoli 6309b15873 Indentation: do not mix continuation line with indent 2015-02-07 13:00:15 +01:00
Davide Andreoli 28da8bad4a Fix Entry Anchor test
we need to import Hover if we want to use it
2015-02-07 12:55:21 +01:00
Davide Andreoli fb09f3dad5 Deprecate elm.Configuration.engine and preferred_engine
Also fix misnamed _accel_preference_set() (removed trailing _)

and bumped version to beta2
2015-02-07 12:12:40 +01:00
Davide Andreoli c6508c52bb Include the betaX in dist package name.
This will generate the 1.13.0-beta1 pre-release
2015-02-07 11:25:51 +01:00
Davide Andreoli 806fad39cb Prepare a first 1.13.0 pre-release 2015-02-03 20:51:35 +01:00
Davide Andreoli 7eb3217a69 Restructured Emotion docs 2015-01-31 17:21:32 +01:00
Davide Andreoli 24025e6d81 Restructured edje docs 2015-01-31 17:14:42 +01:00
Davide Andreoli 1d8ffd1ed4 Restructured eo docs 2015-01-31 17:00:18 +01:00
Davide Andreoli 588d28ab12 Restructured ecore doc 2015-01-31 16:51:54 +01:00
Davide Andreoli b71a0af896 Add a new example for win main_menu 2015-01-23 20:37:04 +01:00
Davide Andreoli 6ac80225fb Improve a bit the Window test 2015-01-23 20:07:50 +01:00
602 changed files with 31737 additions and 21815 deletions

5
.gitignore vendored
View File

@ -28,4 +28,9 @@ pip-log.txt
# Cython generated files
efl/*/*.c
efl/*/*.h
!efl/dbus_mainloop/e_dbus.*
efl/*/*.html
# Various editors trash
.idea/
.vscode/

10
.pylintrc Normal file
View File

@ -0,0 +1,10 @@
[MESSAGES CONTROL]
#enable=
disable=consider-using-f-string, # for older python we still support
redundant-u-string-prefix, # for older python we still support
invalid-name, # seems too pedantic to me
missing-function-docstring,
missing-class-docstring,
missing-module-docstring,

168
CODING
View File

@ -1,3 +1,28 @@
TODO
====
* Automatically build and publish binary wheels on pypi
- for py: 36,37,38,39,310
- for linux x86 and rpi
- see https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
- see https://github.com/pypa/manylinux
- also include efl itsef in the wheels? PySide is doing this
* Drop python 2 compatibility
- Switch to cython3
- remove all the workarounds for py2 (see strings and enums)
* Improved editors support, at least on VSCode and PyCharm
* Try to implement better the elementary module, removing
the __init__ module hack (that create problems in the docs)
* Make the examples a first citizen!
- install them with python efl
- make them easily runnable
- show them in the docs
- show the code inside the examples themself?
- make the code editable on the fly?
Style
=====
@ -8,6 +33,60 @@ Style
* When comparing C pointers with NULL, use == and != instead of the python
operator "is". This makes a visual distinction between python and C code.
* For long lines that do not fit in the 80 cols please use only the first
raccomandation from PEP-8 (Aligned with opening delimiter). Example:
Yes:
foo = long_function_name(var_one, var_two,
var_three, var_four)
No:
foo = long_function_name(
var_one, var_two,
var_three, var_four)
This to keep new code consistent with the rest of the bindings and to
try to match the style of the C efl code style as much as possible.
...also because I found it more readable and I like it more :P -davemds-
Documentation cheatsheet
========================
* Links:
:class:`List` (for classes)
:func:`elm_list_go` (for functions)
:attr:`homogeneous` (for properties)
:ref:`Elm_List_Mode` (for enums)
:data:`ELM_LIST_LIMIT` (for enum values)
:func:`efl.evas.Object.delete` (for items not in current scope)
:func:`~efl.evas.Object.delete` (will show it short, just "delete")
* Formatting:
``ELM_LIST_SCROLL`` (for enum values, bools and None)
* Versions:
.. versionadded:: 1.15
.. versionchanged:: 1.15
Description of the change.
.. deprecated:: 1.15
Use the blah, blah way instead.
* Notes:
.. seealso:: :py:attr:`mode`
.. note:: Some text to be noted, blah, blah, blah,
some more information for this note, etc.
.. warning:: Same as note, but the box will be red
some more information for this warning, etc.
Design patterns
===============
@ -44,61 +123,54 @@ Tips