Commit Graph

9378 Commits

Author SHA1 Message Date
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Rui Seabra b5c3618813 New file.
SVN revision: 47535
2010-03-28 18:46:57 +00:00
Rui Seabra a6d3bede42 Support example files.
SVN revision: 47534
2010-03-28 18:33:49 +00:00
Vincent Torri 9ed7f52215 remove unneeded semi-colon
SVN revision: 47529
2010-03-28 12:24:10 +00:00
Vincent Torri 7bd971f3ae include Evil.h for vc++
SVN revision: 47528
2010-03-28 08:43:53 +00:00
Vincent Torri dbb9cf4df7 add guards around the inclusion of config.h
SVN revision: 47527
2010-03-28 08:36:55 +00:00
Brett Nash d267122d9e Always mark object as dirty after a map_change.
Otherwise doesn't handle UV or colour changes.  It's a bit heavy handed, but
it's a lot easier.


SVN revision: 47526
2010-03-28 05:40:42 +00:00
Mathieu Taillefumier 4c00d5e175 from: Mathieu Taillefumier <mathieu.taillefumier@fys.uio.no>
fix configure check for libpng14.



SVN revision: 47524
2010-03-28 02:10:37 +00:00
Sebastian Dransfeld cfc96c36ad efreet: TODO++
SVN revision: 47520
2010-03-27 20:58:45 +00:00
Sebastian Dransfeld 3806dd7a2c efreet: Track old caches
SVN revision: 47519
2010-03-27 20:53:52 +00:00
Sebastian Dransfeld 17df443aeb efreet: use uncached call so we read from disk
SVN revision: 47516
2010-03-27 20:03:45 +00:00
Sebastian Dransfeld fa732e43f6 efreet: fix function name
SVN revision: 47515
2010-03-27 19:58:54 +00:00
Sebastian Dransfeld 053190d2f4 sync cache reload between desktop and util
SVN revision: 47513
2010-03-27 19:58:33 +00:00
Sebastian Dransfeld 45f4c540d5 efreet_util_init gone
SVN revision: 47511
2010-03-27 19:58:02 +00:00
Sebastian Dransfeld 534519db27 init util alongside rest of efreet
Used to be separate as util had different requirements than base efreet,
and util had high memory usage. No longer the case.

SVN revision: 47510
2010-03-27 19:57:47 +00:00
Sebastian Dransfeld a870815d90 print dangling references
SVN revision: 47509
2010-03-27 19:57:33 +00:00
Vincent Torri 90b73e50a9 quartz -> cocoa renaming
SVN revision: 47508
2010-03-27 19:01:31 +00:00
Vincent Torri 88882132c3 remove unused files
SVN revision: 47507
2010-03-27 18:32:03 +00:00
Vincent Torri c77c8c6cb3 more quartz -> cocoa renaming
SVN revision: 47506
2010-03-27 18:28:50 +00:00
Gustavo Sverzut Barbieri 71d603c360 new program action PARAM_COPY, awesome crazy stuff! :-)
Edje got a new program action called PARAM_COPY in the form:

   action: PARAM_COPY "src_part" "src_param" "dst_part" "dst_param";

This will copy the parameter "src_param" from part "src_part" to
parameter "dst_param" of part "dst_part".

So far so good, why the "crazy" in the first line? Because this also:
  * do type conversion!
  * set properties of native parts, not just EXTERNAL!

The type conversion allows one to get an integer and display that in a
text property, or get an string and convert into a float.

The set of native parts is quite simple, basically a map of Edje.h
edje_object_part_*_set(). With that one can set the string to be used
by a TEXT, or set drag page/step/size/value! (page/step increments are
not supported at the moment, if it is worth, they may be supported in
future).

Sample EDC:

{{{

  // test.edc, compile with edje_cc and run with edje_player

   externals {
      external: "elm";
   }
   collections {
      group { name: "main";
         parts {
            part { name: "bg"; type: RECT;
               description { state: "default" 0.0;
                  color: 255 255 255 255;
               }
            }
            part { name: "entry"; type: EXTERNAL;
               source: "elm/scrolled_entry";
               description { state: "default" 0.0;
                  rel2.relative: 1.0 0.5;
               }
            }
            part { name: "display"; type: TEXT;
               description { state: "default" 0.0;
                  color: 0 128 0 255;
                  rel1.relative: 0.0 0.5;
                  text { font: "Sans"; size: 16; }
               }
            }
            programs {
               program {
                  signal: "changed";
                  source: "entry";
                  action: PARAM_COPY "entry" "text" "display" "text";
               }
            }
         }
      }
   }

}}}



SVN revision: 47500
2010-03-27 01:26:10 +00:00
Gustavo Lima Chaves 79449a8226 Off-by-one at debug?
SVN revision: 47492
2010-03-26 14:46:01 +00:00
Vincent Torri 2c91c3cf21 add colored log on Windows with the DOS console and MSYS
without rxvt emulation. It does not work with MSYS with
rxvt emulation. I don't know the status of the cygwin
terminal.


SVN revision: 47486
2010-03-26 08:08:52 +00:00
Vincent Torri 361446fafe * src/lib/evil_string.c:
* src/lib/evil_string.h:
	add strcasecmp wrapper for vc++



SVN revision: 47485
2010-03-26 08:05:02 +00:00
Vincent Torri 762313eff2 declare buddy init/shutdown functions it this
mempool is statically linked


SVN revision: 47484
2010-03-26 07:47:11 +00:00
Sebastian Dransfeld e9552821a1 efreet: Rename util file first
Rename util file first as it is internal. change for system will happen
on desktop file

SVN revision: 47480
2010-03-26 06:16:19 +00:00
Sebastian Dransfeld 6990198493 Add comments
SVN revision: 47473
2010-03-26 05:33:37 +00:00
Sebastian Dransfeld a86ec92bc9 Add listener for cache updates
SVN revision: 47471
2010-03-26 05:33:12 +00:00
Sebastian Dransfeld 7bbc5e82ba Remove unneeded code
SVN revision: 47470
2010-03-26 05:33:00 +00:00
Sebastian Dransfeld 4e8ebec3f6 efreet_menu.c: Fix compiler warning
SVN revision: 47469
2010-03-26 05:29:15 +00:00
Carsten Haitzler 66881b93ee password mode - dont allow selections
SVN revision: 47466
2010-03-26 04:42:39 +00:00
Carsten Haitzler a3281c13be fix markup insert to be the same as normal text entry code - except given
text markup.



SVN revision: 47465
2010-03-26 04:22:30 +00:00
Carsten Haitzler 79a950519d fix insert markup. (prepend)
SVN revision: 47464
2010-03-26 04:21:16 +00:00
Carsten Haitzler 37743d378e entry bug--
SVN revision: 47463
2010-03-26 03:57:22 +00:00
Gustavo Sverzut Barbieri 430d792e27 allow setting parameters from embryo!
SVN revision: 47459
2010-03-25 20:18:24 +00:00
Gustavo Sverzut Barbieri cfecbc912b Edje EXTERNAL API break, for good.
I'm now introducing a couple of goodies to make externals more useful,
they are:

 * add: extra parameter with the part name. This may be used by
   external objects to emit signals in the name of that part.

 * param_set/param_get: set parameters at runtime, given their names
   and types. This avoids requiring users to get the actual object and
   call methods. This abstraction is also good because it let one uses
   Elementary without even linking to it ;-) (this have limits, like
   complex types are not supported).  Right now this is just exposed
   to C, but goal is to have it exposed in Embryo and Lua as well.

 * translate: new method to translate previously strings that are
   specified statically, such as the parameters names.


Four new functions got added to the Edje API:

 * edje_object_part_external_object_get() so we don't have to abuse
   edje_object_part_swallow_get()

 * edje_object_part_external_param_set() and
   edje_object_part_external_param_get() that call the external type's
   functions.

 * edje_external_param_type_str() to convert types to string and
   provide nicer debugs :-)


TODO:
  * expose external_param_set()/external_param_get() to Embryo and Lua.




SVN revision: 47456
2010-03-25 18:05:42 +00:00
Gustavo Sverzut Barbieri 49da44bf6f convert some printfs to eina error.
SVN revision: 47451
2010-03-25 17:30:59 +00:00
Tiago Rezende Campos Falcao ee58900290 Fix wrong names below<->above
SVN revision: 47446
2010-03-25 16:41:46 +00:00
Iván Briano 3f1e51e008 Dirty copy/paste to delete individual targets from a program
SVN revision: 47444
2010-03-25 11:19:46 +00:00
Carsten Haitzler b0af679619 fix entry delete.
SVN revision: 47443
2010-03-25 08:17:51 +00:00
Tiago Rezende Campos Falcao 6556fa5273 above and below get
SVN revision: 47435
2010-03-24 19:21:03 +00:00
Cedric BAIL 3d27a7b9e4 * evas: improve thread rendering by moving image loading in worker thread.
SVN revision: 47434
2010-03-24 19:07:59 +00:00
Cedric BAIL 3059ecd31c * evas: fix bug that impact performance of map.
TODO: Got the idea that we could spread the load of image data
	on all proc instead of blocking on the main thread for that.


SVN revision: 47430
2010-03-24 16:51:51 +00:00
Cedric BAIL 1a51c662bf * evas: make map work with threaded rendering.
SVN revision: 47429
2010-03-24 16:39:39 +00:00
Cedric BAIL f715c8584d * evas: fix uncertain lock. It's look like it improve perf here without breaking things.
SVN revision: 47428
2010-03-24 14:55:37 +00:00
Cedric BAIL 80901b0abe * evas: fix build with thread rendering on and scale cache off.
SVN revision: 47427
2010-03-24 14:46:28 +00:00
Cedric BAIL 31d6a2e21c * evas: remove lock during heavy computation.
FIXME: Still one at line 685, but don't know if it's safe to move it around.

	TODO: Fix map support with threaded rendering.


SVN revision: 47426
2010-03-24 14:45:58 +00:00
Cedric BAIL 6549ab12ce * evas: fix potential race condition with FT_Activate_Size and threaded rendering.
SVN revision: 47419
2010-03-24 11:07:37 +00:00
Cedric BAIL e414c90820 * evas: fix fribidi race condition (perhaps not the right way) with thread rendering.
SVN revision: 47418
2010-03-24 11:06:54 +00:00
Cedric BAIL 34e4c55f37 * evas: Fix thread rendering issu with scalecache.
SVN revision: 47417
2010-03-24 11:06:02 +00:00
Iván Briano c1b67b4798 Add function to check smart type based on pointer alone. Useful when we have access to the class used to create the object.
SVN revision: 47413
2010-03-24 08:43:39 +00:00