Commit Graph

155 Commits

Author SHA1 Message Date
Carsten Haitzler d73b8c5d7b updated patches from jose!
SVN revision: 35756
2008-08-31 02:04:31 +00:00
Carsten Haitzler c1fe72d7e4 jose has some new gradient work - these are his patches. nice work joseg! yes
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).



SVN revision: 35677
2008-08-26 05:45:04 +00:00
Cedric BAIL 53a094e414 Correctly use the string without escaped charactere.
SVN revision: 35179
2008-07-21 11:20:19 +00:00
Carsten Haitzler 3242217c16 cedric rect + arrays patch for reducing allocs
SVN revision: 35024
2008-07-07 21:29:29 +00:00
Peter Wehrfritz 254d60b8a4 add documentation stubs for the textblock
SVN revision: 34935
2008-06-28 10:55:58 +00:00
Carsten Haitzler f2aeab1bd6 fix some escaping :)
SVN revision: 34066
2008-03-20 21:15:16 +00:00
Gustavo Sverzut Barbieri 79a5be8ec3 Fix missing null terminator in textblock.
Although I used 3 lines comments to state it was not required, it is
required because none of the values accounted includes the '\0'.


SVN revision: 33940
2008-03-06 01:06:58 +00:00
Gustavo Sverzut Barbieri 23c566bb07 Cleanup textblock's strbuf implementation.
This should provide correct code in a simpler way by sharing some of
the common code among functions.

Tested with E17 basics, require some applications with extensive usage
of textblock manipulation to do validate results.


SVN revision: 33939
2008-03-06 00:41:47 +00:00
Gustavo Sverzut Barbieri 4bd8fdaeeb Fix evas_object_textblock's strbuf implementation.
Code was not tracking the real size of the allocated memory and was
increasing the string size by one, so the '\0' was being accounted and
the string was being truncated visually.

Patch will remember the exact allocated size and just increment the
string size by the added string, not including it's null-byte
terminator.

This is based on Cedric's BAIL patch set 'evas_object_textblock more
character fix', but doing the minimum to fix the problem.

PS: this code will be rewritten to share some implementation in next commit.


SVN revision: 33937
2008-03-05 21:30:22 +00:00
Gustavo Sverzut Barbieri 4d5430d438 Add room for '\0' in textblock calculations.
In evas_object_textblock, the length forgot the '\0', this create a
buffer overrun.

Author: Cedric BAIL


SVN revision: 33747
2008-02-15 14:45:31 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Christopher Michael f665bd40d6 Comment out unused function...was giving a "defined but not used" warning
during compile. Left function intact, just commented out, in case it was
meant for use later.


SVN revision: 33658
2008-02-01 01:45:46 +00:00
Carsten Haitzler 819e078f4d fix infinite loop!
SVN revision: 31710
2007-09-13 23:16:11 +00:00
Carsten Haitzler be1ba8873b no need for extra nul byte check - while terminated IF its null. so known
condition. formatting too.


SVN revision: 30923
2007-07-21 03:06:08 +00:00
Gustavo Sverzut Barbieri b4ab277e21 Fix bug introduced with r1.138, removed incorrect offset table.
I changed evas_object_textblock_text_markup_get() to just return
previously known contents, not try to recreate them set with other
means, this was not used (at least in our CVS) and was slow and
incorrect.


SVN revision: 30919
2007-07-20 22:30:12 +00:00
Carsten Haitzler 0c4af24a33 save a few bytes by packing structures better... simple savings :)
SVN revision: 30486
2007-06-28 23:22:20 +00:00
kiwi a001af9e23 fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
tilman 07ff938e34 rework how the html entity escape arrays are stored. this saves a few hundred bytes on the data section of the library, kills off ~300 locations, and makes the so 77K smaller.
SVN revision: 30012
2007-05-17 22:48:48 +00:00
tilman 840acd78a4 missing commas in important places ftl
SVN revision: 30001
2007-05-15 19:19:00 +00:00
tilman 936b791547 a bunch of constness fixes
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Sebastian Dransfeld 6849defebf Use cpp to remove code.
SVN revision: 27584
2006-12-28 12:23:13 +00:00
ningerso b8416d9646 Reduce additional layout parsing overhead by using the format string without
copying the contents to temporary buffers. This cuts the time spent during
the layout phase in half.


SVN revision: 27270
2006-11-28 20:30:48 +00:00
ningerso 0a734352bd Improve format parsing performance by using preloaded stringshares to do pointer
comparisons rather than strcmp and avoid extra malloc/free overhead. May be a
slight slow down on short simple text, but a significant improvement on longer
and more complex formatting.


SVN revision: 27268
2006-11-28 16:14:11 +00:00
Carsten Haitzler f80a02f999 a few things.
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h


SVN revision: 27131
2006-11-16 03:20:24 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
Carsten Haitzler c9738a1395 illogict patch for more escapes :)
SVN revision: 22541
2006-05-11 23:46:54 +00:00
moom d2dbafa095 * The textblock object now gets its color multiplied by the color of its
clip object.


SVN revision: 22530
2006-05-11 12:55:04 +00:00
Carsten Haitzler f51753a4b8 rehinting works on the fly now
SVN revision: 20858
2006-03-01 03:48:03 +00:00
Christopher Michael e70d9a0a03 Check that the Textblock_Line exists first before trying to free or else segv
SVN revision: 19903
2006-01-19 14:16:47 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler 1d9ef01856 oops - textblock badness with alloca
SVN revision: 18778
2005-12-02 03:20:56 +00:00
Dan Sinclair 470cf87824 - this fixes a problem in ewl where you couldn't click to put the cursor on
the end of the first line


SVN revision: 18747
2005-12-01 06:18:43 +00:00
Carsten Haitzler 3621124677 stringshare works! :)
SVN revision: 18724
2005-11-30 08:45:20 +00:00
Carsten Haitzler 7ea7bdf610 disable stringshare... something fishy.
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler 96015f59ab use stringshare too
SVN revision: 18680
2005-11-28 15:30:07 +00:00
rbdpngn 74dc468be3 Create a shared style type enum and padding mapping function.
Implement styles for the text object.
Add soft outline text style to text and textblock.


SVN revision: 18644
2005-11-26 08:04:20 +00:00
Carsten Haitzler 59bbe6cf2d move pow lut table to read only shared memory
SVN revision: 18628
2005-11-24 04:40:14 +00:00
Carsten Haitzler 83f010591d no more old textblock - gone. completely. tb2 renamed (as threatened) to
textblock. updated edje and e17.


SVN revision: 18054
2005-10-28 02:56:27 +00:00
Carsten Haitzler d4db65df1f empty string SHOULD work now if the node is non exiustant to start with
SVN revision: 18053
2005-10-28 02:46:16 +00:00
Dan Sinclair ef2fcdc4c1 - make sure we have a name before trying to look it up
- strip off an + or - in _format_fill so we don't end up with things like
  +font=fonts/Vera which then won't match when we try to recognize it as a
  keyword


SVN revision: 17580
2005-10-15 22:02:59 +00:00
sebastid ed1aa8117a Simpler check for 0 stringlength.
SVN revision: 17564
2005-10-15 06:54:42 +00:00
Dan Sinclair 051b5f6fc7 - make sure the string isn't blank before appending it
SVN revision: 17560
2005-10-15 05:19:11 +00:00
Carsten Haitzler 5f828e6fdb dont allow non-defaulted formats
SVN revision: 17558
2005-10-15 04:42:46 +00:00
tsauerbeck 72883bc3de more warning fixes
SVN revision: 17314
2005-10-08 10:43:14 +00:00
Carsten Haitzler 2d9ae536fb fix fallback handling! :)
SVN revision: 16837
2005-09-22 03:00:48 +00:00
sebastid bd8aaeeeab Use right HEAD
SVN revision: 16804
2005-09-20 16:59:39 +00:00
Carsten Haitzler 0e90a7998e fix spaces at start of nodes and lines
SVN revision: 16753
2005-09-18 12:42:34 +00:00
Carsten Haitzler b515892939 fix tb2 move redraws
SVN revision: 16751
2005-09-18 11:55:51 +00:00