Commit Graph

11 Commits

Author SHA1 Message Date
Rafael Antognolli 91a1ac65c7 evas/cserve2: Add handling of FONT_LOAD.
It's not fully functional, some things are still pending:
- Free allocated font;
- answer with error message if failed.



SVN revision: 71605
2012-05-31 21:34:21 +00:00
Rafael Antognolli 22706abe93 evas/cserve2: Some more code to requests management.
Added code to slave read and slave dead callbacks.



SVN revision: 71603
2012-05-31 21:34:09 +00:00
Rafael Antognolli ce514d3d43 evas/cserve2: Use Slave_Command instead of
Message_Type for slave.
This is the command that must be given to the slave, instead of the
message type received from the client.



SVN revision: 71602
2012-05-31 21:34:04 +00:00
Rafael Antognolli a3fa30f70b evas/cserve2: Add requests and slave workers
management.



SVN revision: 71601
2012-05-31 21:33:59 +00:00
Rafael Antognolli 2c9e6a10f3 evas/cserve2: Adding font requests manipulation.
SVN revision: 71600
2012-05-31 21:33:53 +00:00
Rafael Antognolli c9f610366c evas/cserve2: Slave thread is only a simple callback.
The implementation of the slave doesn't need to care about reading
commands and sending answers. It just receives the arguments for its job
and returns the processed data.



SVN revision: 71599
2012-05-31 21:33:43 +00:00
Rafael Antognolli 9a469b778c evas/cserve2: Add threaded slave support.
It's not being used yet, but the font slave will be done using this
code.



SVN revision: 71598
2012-05-31 21:33:37 +00:00
Rafael Antognolli 796df2896c evas/cserve2: Refactory slave to inherit from a slave base.
The Slave_Proc now inherits from Slave, which implements all the
communication logic. The Slave_Proc only has specific code for
processes, while a new Slave_Thread should be added soon with code for
slave threads.



SVN revision: 71368
2012-05-23 20:39:39 +00:00
Rafael Antognolli 44ba936c9c evas/cserve2: Add basic font search when a font load is
requested.
This will only look for fonts already loaded before, no new fonts will
be loaded.



SVN revision: 71365
2012-05-23 18:10:39 +00:00
Iván Briano 02be0a3382 Lil' refactor on CServe2's cache. More to come when the last book of 'A Song of Ice and Fire' is published.
SVN revision: 71356
2012-05-23 17:13:46 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00