Commit Graph

742 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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 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
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
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
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
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 bc0f40e54c Add automated init/shutdown to rest of the modules 2015-05-04 03:36:54 +03: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 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 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 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 708f02bccc Evas.SmartObject: Add more docs to move_children_relative() 2015-03-31 12:15:41 +03: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 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
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 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 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 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 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 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 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 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
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 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 a4273b1095 Docs: improved evas pages 2015-01-19 23:34:28 +01:00
Davide Andreoli 660c0a7e51 Huge documentation work
Improved structure, contents and style for better readability
2015-01-18 19:07:06 +01:00
Davide Andreoli 928f802ed4 Docs: update Window texts 2015-01-18 10:27:21 +01:00
Davide Andreoli 28d1e6853e New 1.13 property elm.Table.align
And small improvements to the table test
2015-01-17 17:47:58 +01:00
Davide Andreoli f0d76df693 New 1.13 signal clicked,right for Gengrid and List 2015-01-17 17:09:14 +01:00
Davide Andreoli 77d14470c4 New 1.13 elm.Transit.tween_mode_factor_n_set
Also added some missing TRANSIT_TWEEN_MODE_*
2015-01-17 15:55:47 +01:00
Davide Andreoli 308f93a145 New 1.13 signal for elm.Win theme,changed 2015-01-17 12:18:29 +01:00