Naruto TAKAHASHI
b7b6e3c585
From: Naruto TAKAHASHI <tnaruto@gmail.com>
...
Subject: [E-devel] [PATCH] ecore_con_url_httpauth_set()
Hi all,
I attach a tiny Patch for ecore_con_url_httpauth_set().
CURLOPT_USERNAME and CURLOPT_PASSWORD is declared in enum, so those
options isn't able to be used #ifdef macro's argument.
This patch checks that LIBCURLVERSION_NUM is 0x071301(v7.19.1) and
over. Because CURLOPT_USERNAME and CURLOPT_PASSWORD was added at
7.19.1.
thanks to confirm this patch.
SVN revision: 50539
2010-07-27 10:29:58 +00:00
Christopher Michael
5f64c38549
Fix up a little formatting (wrt wrapping).
...
SVN revision: 50531
2010-07-27 06:33:47 +00:00
Mike Blumenkrantz
f0053045e4
add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
...
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything
SVN revision: 50529
2010-07-27 06:30:27 +00:00
Mike Blumenkrantz
1ddcb2340a
fix threadless compile
...
SVN revision: 50528
2010-07-27 03:59:04 +00:00
Mike Blumenkrantz
12c294af32
doxy
...
SVN revision: 50527
2010-07-27 01:05:13 +00:00
Mike Blumenkrantz
021fe34df8
big doxy update
...
SVN revision: 50526
2010-07-27 01:00:24 +00:00
Mike Blumenkrantz
3e3c256e0d
doxy fixes grrrrrrrrrrrrrrrrrrrrrr
...
SVN revision: 50525
2010-07-27 00:10:40 +00:00
Mike Blumenkrantz
24a6c8ce55
ecore_thread_cancel is now nullsafe, returning EINA_TRUE
...
SVN revision: 50523
2010-07-26 20:41:54 +00:00
Mike Blumenkrantz
7f68aaa0c0
fix fixme: free error strings on ssl shutdown
...
SVN revision: 50516
2010-07-26 20:05:50 +00:00
Mike Blumenkrantz
d214a77221
rename function typedefs
...
SVN revision: 50506
2010-07-26 07:19:27 +00:00
Mike Blumenkrantz
854ccebd14
whoops
...
SVN revision: 50504
2010-07-26 05:47:33 +00:00
Mike Blumenkrantz
d5b507adcc
add typedefs for ecore thread function types because I'm tired of typing them out
...
SVN revision: 50499
2010-07-26 04:20:18 +00:00
Mike Blumenkrantz
034e320ac1
fix longstanding leak
...
SVN revision: 50470
2010-07-24 02:05:35 +00:00
Mike Blumenkrantz
bc9b536b14
correctly init some variables that I missed somehow. I blame Sachiel.
...
SVN revision: 50465
2010-07-23 22:28:18 +00:00
Mike Blumenkrantz
15f3719964
shut up eina
...
SVN revision: 50460
2010-07-23 17:52:50 +00:00
Mike Blumenkrantz
2e9651eeca
fix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps to wait in data_wait functions
...
SVN revision: 50459
2010-07-23 17:30:21 +00:00
Mike Blumenkrantz
f10870c933
whoops
...
SVN revision: 50455
2010-07-23 16:40:40 +00:00
Mike Blumenkrantz
e488119c47
+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
...
SVN revision: 50454
2010-07-23 16:24:35 +00:00
Mike Blumenkrantz
4436081e5b
add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
...
SVN revision: 50453
2010-07-23 15:33:22 +00:00
Mike Blumenkrantz
8ed22a2023
rename mutex
...
SVN revision: 50451
2010-07-23 13:35:14 +00:00
Mike Blumenkrantz
680ec26e8a
fix doxy
...
SVN revision: 50450
2010-07-23 13:12:42 +00:00
Mike Blumenkrantz
9efdf6c9d4
remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
...
SVN revision: 50449
2010-07-23 13:08:38 +00:00
Mike Blumenkrantz
a1022c849e
shutup libtool on convenience libs
...
SVN revision: 50444
2010-07-23 04:20:24 +00:00
Mike Blumenkrantz
c85f521ffa
+ecore_thread_pool_data_modify_or_add
...
SVN revision: 50443
2010-07-23 04:17:41 +00:00
Mike Blumenkrantz
92cd8f2705
api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
...
SVN revision: 50442
2010-07-23 03:39:52 +00:00
Mike Blumenkrantz
ebd21717c6
+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
...
SVN revision: 50438
2010-07-22 20:28:34 +00:00
Cedric BAIL
7726478790
* ecore: add ecore_con_lookup for dns request retrieval.
...
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.
SVN revision: 50425
2010-07-22 11:32:55 +00:00
Mike Blumenkrantz
0ffbf90242
should probably make thread functions threadsafe. and compile.
...
SVN revision: 50411
2010-07-21 08:33:25 +00:00
Mike Blumenkrantz
977be45e37
fix some function variables and a cedric-requested rename
...
SVN revision: 50409
2010-07-21 07:09:51 +00:00
Mike Blumenkrantz
00023656af
man I fail at formatting
...
SVN revision: 50406
2010-07-21 04:26:57 +00:00
Mike Blumenkrantz
82d7183f47
+ecore_thread_total_get to return total number of pending jobs
...
SVN revision: 50405
2010-07-21 04:03:40 +00:00
Mike Blumenkrantz
35ca9e3e12
+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
...
SVN revision: 50399
2010-07-21 02:12:10 +00:00
Mike Blumenkrantz
ec1d528178
+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
...
SVN revision: 50397
2010-07-21 01:04:28 +00:00
Mike Blumenkrantz
5701a455d1
some variable renames to make this easier to understand
...
SVN revision: 50376
2010-07-20 09:40:53 +00:00
Mike Blumenkrantz
75d478dfac
+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
...
SVN revision: 50375
2010-07-20 09:40:18 +00:00
Mike Blumenkrantz
b0ce982544
make some comments that were so close to being real doxy blocks into doxy blocks. come on guys. let's see some doxy hustle!
...
SVN revision: 50373
2010-07-20 05:32:29 +00:00
Mike Blumenkrantz
952dd2bd44
note: '/*' is not how you begin a doxygen code block
...
SVN revision: 50372
2010-07-20 05:25:02 +00:00
Christopher Michael
e6f4e7be70
Remove useless if statement. Regardless if count is greater than 1, we
...
were still returning the count anyway.
SVN revision: 50369
2010-07-19 18:16:56 +00:00
Lucas De Marchi
01d20339dd
Create interface to system bell
...
Only the xlib implementation is done. It's calling XBell() to alert user.
SVN revision: 50290
2010-07-16 20:54:18 +00:00
Christopher Michael
6f110efad1
Remove duplicate if (This is already checked a few lines above, so not
...
needed).
SVN revision: 50272
2010-07-15 20:52:29 +00:00
Lucas De Marchi
749cc7478c
Remove unneeded code with notnull.cocci script
...
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi
2a84379ba9
Remove unneeded code with notnull.cocci script
...
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
SVN revision: 50241
2010-07-14 02:05:47 +00:00
Carsten Haitzler
3a00e81a7c
add pixmap set/get for comp.
...
SVN revision: 50238
2010-07-13 23:31:16 +00:00
Rafael Antognolli
3934ad9f68
Fix accounting safeness logic introduced at rev. 50158.
...
SVN revision: 50202
2010-07-12 17:59:48 +00:00
Gustavo Lima Chaves
2c1a54103d
Changes accounting safeness logic introduced at rev. 50158.
...
SVN revision: 50201
2010-07-12 17:20:14 +00:00
Cedric BAIL
3015da94da
* ecore: fix build without thread.
...
NOTE: if you build ecore without pthread support, you really should know
that it is a bad idea. Only people without pthread support on their
device/C library should disable it.
SVN revision: 50200
2010-07-12 14:39:06 +00:00
Carsten Haitzler
ac9bd77564
fix flags/libs used.
...
SVN revision: 50189
2010-07-12 01:00:52 +00:00
Carsten Haitzler
9d610104a3
more correct dso fix.
...
SVN revision: 50186
2010-07-11 23:59:06 +00:00
Massimo Maiurana
f7d49e0b6d
updating french translation
...
SVN revision: 50178
2010-07-11 08:11:07 +00:00
Vincent Torri
3e15fef7b8
fix warnings
...
SVN revision: 50174
2010-07-10 11:09:40 +00:00