Commit Graph

27 Commits

Author SHA1 Message Date
Carsten Haitzler 782444ca1a clean up x11 impl a bit more and now add a fairly minimal "local" cnp
impl that manages copy & paste within a single process... this is an
example of how to implement cnp for another system and as well covers
fb cnp.. so terminology in fb has cnp work now :)



SVN revision: 75533
2012-08-22 09:37:00 +00:00
Carsten Haitzler 2e83d89fc8 core fixup of elm cnp to be able to work regardless ofr display
backend and isolate x11 specific stuff in its own fat ifdef and
functions/vars.



SVN revision: 75523
2012-08-22 08:33:43 +00:00
Carsten Haitzler b682a7dbcb alas por yorrick... umm errr... alas por html mode copy & paste, we
knew him well. disable because it seems nothing i try requests it
except thunderbird, and thunderbird seems to sumarrily ignore the text
we provide. why - don't know. would have to now dig into thunderbir
src, but suffice to say plaintext is working a charmer, so let's stick
to that.



SVN revision: 73913
2012-07-16 09:16:30 +00:00
Christopher Michael e7aff2633f Elm: Commit roberts patch which fixes the unsafe call to
ecore_evas_window_get with a replacement function that checks the
currently used engine first. This fixes a segfault when running elm
with the wayland engines.



SVN revision: 73568
2012-07-11 11:53:29 +00:00
Michael BOUCHAUD 9a280627db elementary: fix vcard cnp, patch from Guillaume PROUVOT. thx!
SVN revision: 73561
2012-07-11 10:08:46 +00:00
Carsten Haitzler af564b3dc7 improve cnp to tell you when you lost a selection and track obj
deletions.



SVN revision: 72798
2012-06-25 11:16:25 +00:00
Gustavo Sverzut Barbieri 866c5b7a98 CNP is completely broken -- note where it should be fixed.
come on... I'd rather remove this crap than keep it like that. :-(



SVN revision: 72507
2012-06-19 23:33:57 +00:00
Gustavo Sverzut Barbieri dafcd43f50 EAPI elm_drag and elm_drop so I can use them from terminology.
SVN revision: 72505
2012-06-19 20:17:46 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Michal Pakula vel Rutka 39d0d27e53 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [patch] allow copy and paste operations for
non-widget evas objects

I am currently implementing a clipboard for WebKit-EFL. When using
elm_cnp_selection_get and set function an evas object passed has to be
a widget. Currently in WebKit-EFL we are using an view which is an
Evas_Object, but not a widget. Sample WebKit applications like
EWebLauncher and tests applications does not use elementary so I
cannot obtain parent widget for a view object and finally we cannot
perform copy and paste operations.
Widgets are used in elm_cnp_selection functions to obtain
Ecore_X_Window. My patch leaves current way of obtaining it and adds
an another in case when the standard one fails. When Evas_Object is
not a widget I am trying to get an Ecore_X_Window using ecore.



SVN revision: 71381
2012-05-24 04:34:53 +00:00
Hyoyoung Chang f4481a9fad elementary/cnp: add selection type checking at _get_selection_type and clean up indent
SVN revision: 71339
2012-05-23 02:15:56 +00:00
Hyoyoung Chang fc61e67329 elementary/cnp: typo error fix
SVN revision: 71338
2012-05-23 01:05:22 +00:00
Hyoyoung Chang e248599286 elementary/cnp: don't calc sizeof char at buffer malloc
SVN revision: 71337
2012-05-23 00:53:07 +00:00
Hyoyoung Chang 7c6499a975 elementary/cnp: free string after use at notify_handler_html
SVN revision: 71336
2012-05-23 00:51:11 +00:00
Hyoyoung Chang 101093c028 elementary/cnp: add failed malloc checking routines
SVN revision: 71293
2012-05-22 04:42:45 +00:00
ChunEon Park 255900a10f elementary/cnp - + null check
SVN revision: 71292
2012-05-22 04:30:24 +00:00
Michal Pakula vel Rutka 46b0eb6003 elementary/cnp: add null terminating at handling html type
Signed-off-by: Michal Pakula vel Rutka <m.pakula@samsung.com>


SVN revision: 71291
2012-05-22 01:35:12 +00:00
Hyoyoung Chang 7216eade28 elementary/cnp: fix minor indentation
SVN revision: 70889
2012-05-09 08:43:45 +00:00
Carsten Haitzler b6c827e27a remove +1 misleading extra byte
SVN revision: 70167
2012-04-13 10:19:45 +00:00
Carsten Haitzler db1d6cedeb handle malloc failure and free string if sel->datacb is not null
SVN revision: 69965
2012-04-09 08:06:33 +00:00
ChunEon Park 4a0a6b6362 elementary/cnp - [E-devel] [Patch] elm_cnp notify_handler patch
When pasting data to entry, notify_handler_text sent incorrect string. 

Because notify_handler_text received string including garbage value.

I cut string as its data length.

Signed-By-Off: Minseok Kim <minseok3.kim@samsung.com>



SVN revision: 69942
2012-04-06 05:58:50 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Hyoyoung Chang d7bc38e0d5 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp - revise apis
Date: Tue, 28 Feb 2012 15:11:12 +0900

Dear all.

I made a small patch about revise cnp apis.
It changed argument orders of apis to consistence and make elm widget centric.
now all cnp api's first argument is a elm widget.
It breaks api compatibility. so elementarychanges is needed to update.

thanks.


SVN revision: 68491
2012-02-28 06:17:22 +00:00
Carsten Haitzler 57d5595d97 warn--
SVN revision: 68431
2012-02-25 05:12:57 +00:00
Sanjeev BA bde5e891e6 Fix a few more review comments for cnp.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68292
2012-02-23 02:52:11 +00:00
Sanjeev BA c4c2e2bdea Remove MAX, it is not useful for app. developers.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68291
2012-02-23 02:52:07 +00:00
Daniel Juyung Seo d670c44ee0 elm cnp: Renamed elm_cnp_helper.c to elm_cnp.c for consistency.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68008
2012-02-16 07:10:50 +00:00