Commit Graph

1228 Commits

Author SHA1 Message Date
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