summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ui text: store SEL_FORMAT_TEXT only for now.devs/tasn/canvas_text_stagingDaniel Hirt2016-06-161-1/+2
|
* Canvas test: remove style test for nowDaniel Hirt2016-06-161-45/+0
|
* Ui text: fixup buildDaniel Hirt2016-06-162-20/+20
|
* Ui text: introduce this new text widgetDaniel Hirt2016-06-1611-1/+6363
| | | | | | | | This composite object utilizes the Efl.Canvas.Text, Efl.Canvas.Text.Cursor and Efl.Ui.Interactive API to server as a proper replacement for the Elm Entry widget. @feature
* Ui text interactive: introduce this new object (rebase squash)Tom Hacohen2016-06-166-1/+1486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @feature Ui text: Add a new interactive version of Canvas.Text This object is internal and is essentially a Canvas.Text that accepts key and mouse input. It should be used by Ui.Text as the text layout/input driver. Ui text interactive: Add include guard to header. Ui internal text: Improve input handling support and add selection. Ui internal text: Add a lot of imf stuff. Add more text selection handling code. Add support for allowing selection. Efl.Ui.Text.Interactive: (reword) code format fix. Efl.Ui.Text.Interactive: Remove useless struct members. Add multiline toggle support and a constructor. Text interactive: Add support for legcay newline. Text interactive: Use the new cursor_equal function. Efl.Ui.Text.Interactive: (Rebase split) fixup cursor Efl.Ui.Interactive: (Rebase split) fixup line_jump_by usage Text interactive: Cleanup tab/return handling. Text interactive: Use cursor_equal more. Text interactive: Simplify and unify selection handling in key input. Text interactive: Fix user text change reporting. This is useful for implementing undo/redo. Text interactive: Add documentation to event. Efl text interactive: (Rebase reword) Add a new interface to be used later. Ui text interactive: Migrate one missing change_info call. Ui text interactive: Mark the correct type for the change event. Ui text interactive: (Edited) Move to elementary and add "selection,changed". This is useful for implementing selection handlers. We had to move it to elementary because we started referencing cursors. Ui internal: Emit an event for selection changed. Ui text interactive: Remove unused code. Ui text interactive: Remove more unused code. Ui text interactive: Remove more unused code. Ui text interactive: Rename improperly named function. Ui text interactive: Update code to the new canvas text api. Ui text interactive: provide access to the selection cursors. This is the new API for manipulation selection outside of the object. Just manipulate these cursors to manipulate the selection. Fix previous commit. Ui interactive: Clean up internal functions. Ui interactive: Fix abuse of selection in word deletion. Ui text interactive: Fix selection. Ui text interactive: Fix right key to move next. Ui text interactive: Fix selection using keyboard. Ui text interactive: Don't emit selection changed events twice. We now use the cursor changed event to track changes, so no need to manually emit events ourselves. Ui Text interactive: Remove selection,cleared signal, use changed instead. If the selection cursors are equal, there's no selection, if they are different, there is. Ui text interactive: remove redundant code. Ui text interactive: Don't emit selection changed events on init. Ui text interactive: Remove unused variable. Efl.Ui.Interactive: fixup char_coor usage Ui text interactive: Fix some fixmes. Ui text interactive: fix selection_cursors_get Ui text interactive: Skip key down events if marked ON_HOLD.
* Canvas Text: continue porting api and fixup bugsDaniel Hirt2016-06-166-185/+297
| | | | | | | Also: This merges style user and normal style into a list with precedence. This allows for more flexibility while keeping the API clean. @feature
* Canvas text cursor: introduce this new objectTom Hacohen2016-06-168-757/+1113
| | | | | | | The text cursor is now an eo object. Consult the efl_canvas_text_cursor.eo file for the API. @feature
* Canvas text: introduce new text objectDaniel Hirt2016-06-1611-1451/+2815
| | | | | | | | | | | | | | | | | | | | | | The implementation depends on creating different code paths from the now-legacy behavior of text appending. The annotation system introduced in this commit replaces the current way of applying formats on text. Up until now it has been quite a hassle for the user to control the formats, as it required keeping track of the format positions with an opener and closer formats almost every time (with the exception of own-closing formats). The combination of Efl.Text API along with the Efl.Canvas.Text annotation API essentially replaces the capabilities of the old format. There is additional annotation API to allow more control, so be sure to check the documentation/.eo files and the wiki page of Efl.Canvas.Text. The style API now accepts actual strings of format style. There is not longer need to instantiate as style with style_new() followed later by style_free(). @feature
* Edje text: fix behavior for text source and source attribute.Mykyta Biliavskyi2016-06-161-2/+6
| | | | | | Check present source by index, because name of source can be non NULL. Updates name of source part accordingly to the current source part index.
* Evil: fix EAPI when dirent.h and mman.h are included (Windows only)Vincent Torri2016-06-162-0/+7
| | | | | | | | Test Plan: compilatioN Reviewers: cedric, jpeg, stefan_schmidt Differential Revision: https://phab.enlightenment.org/D4055
* tests: eio: use eina file infrastructure for temporary file creationStefan Schmidt2016-06-161-4/+6
| | | | The tmp dir is not always /tmp.
* tests: eio: silence unused paramater warnings in new eio_map testStefan Schmidt2016-06-161-1/+1
|
* eio_map: Add test suite for eio map moduleVivek Ellur2016-06-164-0/+103
| | | | | | | | | | | | | Summary: Added test suite for eio map module Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: stefan_schmidt, raster, cedric Differential Revision: https://phab.enlightenment.org/D3321
* Edje_edit: fix text_source_set and text_text_source_set.Mykyta Biliavskyi2016-06-161-11/+2
| | | | | Do not need to replace text value inside edje_edit_state_text_text_source_set, because edje_text module will use text from source.
* examples: elua: ensure the install hook honors a set DESTDIRStefan Schmidt2016-06-161-3/+3
| | | | | | | Reported by Simotek when testing the latest snapshot: Were getting closer, "/usr/bin/mkdir -p /usr/share/elua/examples" should be "/usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/efl-1.17.99.48545-1.x86_64/usr/share/elua/examples"
* edje_edit: return NULL if part has not style attributeVyacheslav Reutskiy2016-06-161-1/+4
|
* svg_loader: fixed parsing of transformation attributeSubhransu Mohanty2016-06-161-5/+4
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4048
* edje_cc_out : fix possible buffer overrunSubhransu Mohanty2016-06-161-7/+10
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4044
* svg_loader: Fixed color attribute parserSubhransu Mohanty2016-06-161-4/+5
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4049
* edje_load : return if we can't decode the vector data.Subhransu Mohanty2016-06-161-0/+1
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4050
* examples: Use EO_CALLBACKS_ARRAY_DEFINE in all examplesJean-Philippe Andre2016-06-163-21/+6
| | | | Again, for Windows.
* tests: Use EO_CALLBACKS_ARRAY_DEFINE in all testsJean-Philippe Andre2016-06-162-23/+23
| | | | This should make them work on Windows, too.
* Evas: Fix usage of callback arraysJean-Philippe Andre2016-06-162-12/+10
| | | | | | | | This should fix compilation of EFL for Windows (at least this is one more step...) - evas box - evas table
* Evas: Stop using Evas.Image in public inheritanceJean-Philippe Andre2016-06-165-5/+7
| | | | | | So, it seems my previous commit 79abba52c50840c043e4b was a job half done, as I forgot to remove Evas.Image from the inheritance tree of all new evas image classes.
* Efl: Move Efl.Canvas to efl/interfacesJean-Philippe Andre2016-06-167-4/+4
| | | | | | | Not sure this is a good name for this interface, but it definitely doesn't belong inside lib/evas/ Thanks Jiyoun for the question / report :)
* edje: remove extraneous parenthesisJean Guyomarc'h2016-06-151-1/+1
|
* eolian-cxx: Fix generation of non-inline function in headersFelipe Magno de Almeida2016-06-151-3/+3
|
* eolian-cxx: Remove warning about unused parameterFelipe Magno de Almeida2016-06-151-1/+1
|
* eolian-cxx: Fix conversion to bool in clangFelipe Magno de Almeida2016-06-151-1/+1
|
* eina: fix compiling of safepointers on OSXJean Guyomarc'h2016-06-151-1/+1
| | | | | | | This is a reccurring compatibility issue... MAP_ANONYMOUS is not defined on OSX, but MAP_ANON is. I know MAP_ANON is marked as deprecated in the Linux man pages, but it has the benefit of being more portable.
* elementary-cxx: Fix compilation of some C++ examplesLuciana Magno de Almeida2016-06-1519-292/+406
|
* elementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORTFelipe Magno de Almeida2016-06-151-0/+3
|
* eolian-cxx: Fixed generation of implicit conversion operatorsFelipe Magno de Almeida2016-06-152-15/+27
|
* eina-cxx: Add overload for std::nullptr_t to stringviewFelipe Magno de Almeida2016-06-151-0/+4
|
* evas: do not use static array with pointer to other variable.Cedric Bail2016-06-151-49/+61
| | | | Aka fix Windows build. This is exactly the same trick as for events array.
* ecore: prevent crash in case of double ecore_timer_del in legacy case.Cedric Bail2016-06-151-0/+9
|
* wayland_shm: Fix another dmabuf corner caseDerek Foreman2016-06-153-8/+36
| | | | | | | | | When kernel support for locally mmapping buffers is unavailable and software rendering is used, dmabuf may need to fallback to shm for the very first frame rendered. We need to copy that frame to a shm buffer during the fallback to make sure it's actually displayed.
* evas: disable generic loader on Windows.Cedric Bail2016-06-151-10/+31
| | | | | Generic do use a few primitve that require development, testing and tunning on Windows (Namely the alarm and shm part).
* eolian: enable inheritance checks and fix EFL to build with themDaniel Kolesa2016-06-158-10/+7
| | | | | | | | | | | | | | | | Somehow, there was code in the tree that apparently isn't tested at all, even once - if it was, the eo.c logic that performs inheritance checks would be triggered. I don't know how this could have happened (actually I do, it's Cedric's fault and he should be publicly shamed for it) but these checks make sure this will never happen again. But since the code itself appears to be untested, I don't know if there isn't any other brokenness in it. But that's beyond the scope of this change, so for now, let's make sure all our inheritance is at least formally correct. Also, enable eo_interface.eo generated code in Eo itself so that Eo.Interface can be used when inheriting. @fix
* eolian-cxx: Add tests for @beta and @protected eventsFelipe Magno de Almeida2016-06-152-1/+22
|
* eolian: move deferred eo file parsing to the very endDaniel Kolesa2016-06-152-17/+24
| | | | | | | | Because of this the cyclic check would occasionally have false positives. By moving deferred eo parsing to the end of the whole parse process, it can no longer affect the cyclic checker. @fix
* poppler: remove enum nameMarcel Hollerbach2016-06-151-4/+4
| | | | | | otherwise errors like T3896 will happen. This fixes T3896.
* edje_edit: save referenced groups when image id's are changedVitalii Vorobiov2016-06-151-0/+37
| | | | @fix
* eina_cxx: make sure we ship eina_deleter.hh with our distributionStefan Schmidt2016-06-151-0/+1
| | | | | IN commit 8906998ef2821a237c4deba07dc8336afdc4c471 this new file was added but never made sure that it actually gets shipped.
* examples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as wellStefan Schmidt2016-06-153-0/+3
| | | | | EFL_CANVAS_RECTANGLE_CLASS is needed here which is still covered by the EO_API define.
* build: fix last bash occurance in use with gen_shader.shStefan Schmidt2016-06-151-1/+1
| | | | | We switched all the other ones from bash to sh already and raster ported the script itself.
* configure - remove gnu make hack as it seems to not be needed anymoreCarsten Haitzler (Rasterman)2016-06-151-9/+0
| | | | | | | as per T3767 it seems that it's not needed. i tested and nothing went wrong. let's see. fixes T3767 @fix
* geneirc loader build patches for windowsVincent Torri2016-06-154-2/+11
| | | | from T3790 - xcf.diff
* more sh instead of dashCarsten Haitzler (Rasterman)2016-06-151-1/+1
|
* bash to sh fixing - use sh not dash so it works normallyCarsten Haitzler (Rasterman)2016-06-151-2/+2
| | | | | i was forcing dash to be used to use a simple "sh only" compatible shell because bash just is too lenient. bo now to sh not dash.