aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-19 04:56:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-19 04:56:46 +0800
commit647d16e85b27fda1143b79b34252519c8b249a84 (patch)
tree78b344bac343afd6c08deee5b2e2610da1c31096
parent74d33aeee03c1cefd6360de50452e286a1f50aff (diff)
downloadgsoc2013-evolution-647d16e85b27fda1143b79b34252519c8b249a84.tar.gz
gsoc2013-evolution-647d16e85b27fda1143b79b34252519c8b249a84.tar.zst
gsoc2013-evolution-647d16e85b27fda1143b79b34252519c8b249a84.zip
Added in imap_[g,s]et_message_user_flag() methods (imap_get_message_info):
2000-07-18 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_class_init): Added in imap_[g,s]et_message_user_flag() methods (imap_get_message_info): Rewrote to use the more efficient way of downloading summary information and also added a UID comparison so that if the UID requested doesn't match the UID received, it returns NULL. FIXME: When the mailer gets NULL when it requested message info, it seems that it displays a row for that message and when you try and select the blank row, it segfaults. * providers/imap/camel-imap-store.c (get_folder): Oops, this should not be checking against "/", it should be checking against dir_sep. * providers/imap/camel-imap-folder.c (imap_parse_subfolder_line): Updated to trim out the leading namespace. (imap_get_subfolder_names): Let the subfolder parser trim the namespace off the folder name. svn path=/trunk/; revision=4215
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c159
2 files changed, 115 insertions, 50 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f22fd84b54..bf4c3b7374 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -2,6 +2,12 @@
* providers/imap/camel-imap-folder.c (camel_imap_folder_class_init): Added
in imap_[g,s]et_message_user_flag() methods
+ (imap_get_message_info): Rewrote to use the more efficient way of
+ downloading summary information and also added a UID comparison so that
+ if the UID requested doesn't match the UID received, it returns NULL.
+ FIXME: When the mailer gets NULL when it requested message info, it
+ seems that it displays a row for that message and when you try and select
+ the blank row, it segfaults.
* providers/imap/camel-imap-store.c (get_folder): Oops, this should not be
checking against "/", it should be checking against dir_sep.
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index c94f533ed0..f5235c5a30 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -341,8 +341,9 @@ imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
static void
imap_expunge (CamelFolder *folder, CamelException *ex)
{
+ CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (folder);
gchar *result;
- gint status;
+ gint status, max, i;
g_return_if_fail (folder != NULL);
@@ -365,6 +366,28 @@ imap_expunge (CamelFolder *folder, CamelException *ex)
gtk_signal_emit_by_name (GTK_OBJECT (folder), "folder_changed", 0);
g_free (result);
+
+ g_return_if_fail (imap_folder->summary != NULL);
+
+ /* now we need to remove the imap summary so it'll be regenerated */
+ max = imap_folder->summary->len;
+ for (i = 0; i < max; i++) {
+ CamelMessageInfo *info;
+
+ info = g_ptr_array_index (imap_folder->summary, i);
+ g_free (info->subject);
+ g_free (info->from);
+ g_free (info->to);
+ g_free (info->cc);
+ g_free (info->uid);
+ g_free (info->message_id);
+ header_references_list_clear (&info->references);
+ g_free (info);
+ info = NULL;
+ }
+
+ g_ptr_array_free (imap_folder->summary, TRUE);
+ imap_folder->summary = NULL;
}
#if 0
@@ -1134,7 +1157,7 @@ imap_get_summary (CamelFolder *folder, CamelException *ex)
}
for (flags += 6; *flags && *flags != '('; flags++); /* advance to <flags> */
- for (q = flags; *q && *q != ')' && *q != ' '; q++); /* find the end of <flags> */
+ for (q = flags; *q && *q != ')' /*&& *q != ' '*/; q++); /* find the end of <flags> */
flags = g_strndup (flags, (gint)(q - flags + 1));
d(fprintf (stderr, "*** info->flags = %s\n", flags));
@@ -1230,7 +1253,7 @@ imap_get_message_info (CamelFolder *folder, const char *uid)
CamelMessageInfo *info = NULL;
struct _header_raw *h, *tail = NULL;
const char *received;
- char *result, *p;
+ char *result, *muid, *flags, *header, *q;
int j, status;
/* lets first check to see if we have the message info cached */
@@ -1243,26 +1266,105 @@ imap_get_message_info (CamelFolder *folder, const char *uid)
if (!strcmp (info->uid, uid))
return info;
}
+ } else {
+ /* If the summary doesn't exist, lets create it from scratch */
+ CamelException *ex;
+ int max, i;
+
+ ex = camel_exception_new ();
+
+ if (!imap_get_summary (folder, ex)) {
+ camel_exception_free (ex);
+ return NULL;
+ }
+ camel_exception_free (ex);
+
+ max = imap_folder->summary->len;
+ for (i = 0; i < max; i++) {
+ info = g_ptr_array_index (imap_folder->summary, i);
+ if (!strcmp (info->uid, uid))
+ return info;
+ }
+
+ return NULL;
}
/* we don't have a cached copy, so fetch it */
status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store), folder,
- &result, "UID FETCH %s BODY[HEADER.FIELDS "
- "(SUBJECT FROM TO CC DATE MESSAGE-ID "
- "REFERENCES IN-REPLY-TO)]", uid);
+ &result, "UID FETCH %s (UID FLAGS BODY[HEADER.FIELDS "
+ "(SUBJECT FROM TO CC DATE MESSAGE-ID "
+ "REFERENCES IN-REPLY-TO)])", uid);
if (status != CAMEL_IMAP_OK) {
g_free (result);
return NULL;
}
+
+ /* lets grab the UID... */
+ if (!(muid = strstr (result, "(UID "))) {
+ d(fprintf (stderr, "Cannot get a uid for %s\n\n%s\n\n", uid, result));
+ g_free (result);
+ return NULL;
+ }
+
+ for (muid += 5; *muid && (*muid < '0' || *muid > '9'); muid++); /* advance to <uid> */
+ for (q = muid; *q && *q != ')' && *q != ' '; q++); /* find the end of the <uid> */
+ muid = g_strndup (muid, (gint)(q - muid));
+
+ /* make sure the UIDs are identical */
+ if (strcmp (muid, uid)) {
+ d(fprintf (stderr, "UIDs are not identical %s != %s\n", uid, muid));
+ g_free (result);
+ g_free (muid);
+ return NULL;
+ }
+ g_free (muid);
+ info = g_malloc0 (sizeof (CamelMessageInfo));
+ info->uid = g_strdup (uid);
+ d(fprintf (stderr, "*** info->uid = %s\n", info->uid));
+
+ /* now lets grab the FLAGS */
+ if (!(flags = strstr (q, "FLAGS "))) {
+ d(fprintf (stderr, "We didn't seem to get any flags for %s...\n", uid));
+ g_free (info->uid);
+ g_free (info);
+ g_free (result);
+ return NULL;
+ }
+
+ for (flags += 6; *flags && *flags != '('; flags++); /* advance to <flags> */
+ for (q = flags; *q && *q != ')'; q++); /* find the end of <flags> */
+ flags = g_strndup (flags, (gint)(q - flags + 1));
+ d(fprintf (stderr, "*** info->flags = %s\n", flags));
+
+ /* now we gotta parse for the flags */
+ info->flags = 0;
+ if (strstr (flags, "\\Seen"))
+ info->flags |= CAMEL_MESSAGE_SEEN;
+ if (strstr (flags, "\\Answered"))
+ info->flags |= CAMEL_MESSAGE_ANSWERED;
+ if (strstr (flags, "\\Flagged"))
+ info->flags |= CAMEL_MESSAGE_FLAGGED;
+ if (strstr (flags, "\\Deleted"))
+ info->flags |= CAMEL_MESSAGE_DELETED;
+ if (strstr (flags, "\\Draft"))
+ info->flags |= CAMEL_MESSAGE_DRAFT;
+ g_free (flags);
+ flags = NULL;
+
+ d(fprintf (stderr, "we got the flags... %d\n", info->flags));
+
+ /* construct the header list */
+ /* fast-forward to beginning of header info... */
+ for (header = q; *header && *header != '\n'; header++);
h = NULL;
for (j = 0; *header_fields[j]; j++) {
struct _header_raw *raw;
char *field, *value;
field = g_strdup_printf ("\n%s:", header_fields[j]);
- value = get_header_field (result, field);
+ value = get_header_field (header, field);
g_free (field);
if (!value)
continue;
@@ -1283,7 +1385,6 @@ imap_get_message_info (CamelFolder *folder, const char *uid)
}
/* construct the CamelMessageInfo */
- info = g_malloc0 (sizeof (CamelMessageInfo));
info->subject = camel_summary_format_string (h, "subject");
info->from = camel_summary_format_address (h, "from");
info->to = camel_summary_format_address (h, "to");
@@ -1303,9 +1404,6 @@ imap_get_message_info (CamelFolder *folder, const char *uid)
info->references = header_references_decode (header_raw_find (&h, "references", NULL));
if (info->references == NULL)
info->references = header_references_decode (header_raw_find (&h, "in-reply-to", NULL));
-
- info->uid = g_strdup (uid);
- g_free (result);
while (h->next) {
struct _header_raw *next = h->next;
@@ -1315,45 +1413,6 @@ imap_get_message_info (CamelFolder *folder, const char *uid)
g_free (h);
h = next;
}
-
- /* now to get the flags */
- status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store), folder,
- &result, "UID FETCH %s FLAGS", uid);
-
- if (status != CAMEL_IMAP_OK) {
- g_free (result);
- d(fprintf (stderr, "Warning: Error getting FLAGS for message %s\n", uid));
-
- return info; /* I guess we should return what we got so far? */
- }
-
- if (!result || *result != '*') {
- g_free (result);
- d(fprintf (stderr, "Warning: FLAGS for message %s not found\n", uid));
-
- return info; /* I guess we should return what we got so far? */
- }
-
- p = strchr (result, '(') + 1;
- if (g_strncasecmp (p, "FLAGS", 5)) {
- g_free (result);
- d(fprintf (stderr, "Warning: FLAGS for message %s not found\n", uid));
-
- return info; /* I guess we should return what we got so far? */
- }
-
- /* now we gotta parse for the flags */
- info->flags = 0;
- if (strstr (p, "\\Seen"))
- info->flags |= CAMEL_MESSAGE_SEEN;
- if (strstr (p, "\\Answered"))
- info->flags |= CAMEL_MESSAGE_ANSWERED;
- if (strstr (p, "\\Flagged"))
- info->flags |= CAMEL_MESSAGE_FLAGGED;
- if (strstr (p, "\\Deleted"))
- info->flags |= CAMEL_MESSAGE_DELETED;
- if (strstr (p, "\\Draft"))
- info->flags |= CAMEL_MESSAGE_DRAFT;
g_free (result);
cbadd610fcb'>feat: add sol-doc command-line interfaceF. Eugene Aumson2018-09-224-10/+44 | * | | | Merge remote-tracking branch 'upstream/development' into sol-docF. Eugene Aumson2018-09-2160-61/+6440 | |\ \ \ \ | * | | | | use Array.join rather than string concatenationF. Eugene Aumson2018-09-181-7/+5 | * | | | | doc constructors as returning a Reference...F. Eugene Aumson2018-09-181-1/+1 | * | | | | remove stale commentsF. Eugene Aumson2018-09-181-9/+4 | * | | | | add newline to delimit interface declarationF. Eugene Aumson2018-09-181-0/+1 | * | | | | test multiple return values from a solidity methodF. Eugene Aumson2018-09-182-0/+27 | * | | | | minorly tweak commentsF. Eugene Aumson2018-09-182-3/+2 | * | | | | add and test support for return commentF. Eugene Aumson2018-09-182-0/+12 | * | | | | add and test support for fallback functionsF. Eugene Aumson2018-09-182-1/+8 | * | | | | test all the natspec stuff we use in our contractsF. Eugene Aumson2018-09-182-1/+140 | * | | | | test w/&w/out devdoc content in contractF. Eugene Aumson2018-09-182-56/+176 | * | | | | test w/&w/out passing in `contractsToCompile`F. Eugene Aumson2018-09-182-59/+76 | * | | | | Merge branch 'development' into sol-docF. Eugene Aumson2018-09-12256-107919/+29750 | |\ \ \ \ \ | * | | | | | ammend generated docs with solc's devdoc outputF. Eugene Aumson2018-09-012-15/+63 | * | | | | | rename 2 variablesF. Eugene Aumson2018-09-011-4/+4 | * | | | | | satisfy linterF. Eugene Aumson2018-08-316-12/+4 | * | | | | | introduce named vars to clarify return statementsF. Eugene Aumson2018-08-311-2/+5 | * | | | | | Merge remote-tracking branch 'upstream/development' into sol-docF. Eugene Aumson2018-08-31157-874/+2645 | |\ \ \ \ \ \ | * | | | | | | enable sol-doc tests in circleciF. Eugene Aumson2018-08-312-0/+3 | * | | | | | | transform solc's ABI output into doc typesF. Eugene Aumson2018-08-313-66/+284 | * | | | | | | move export to top of fileF. Eugene Aumson2018-08-311-1/+1 | * | | | | | | rename variablesF. Eugene Aumson2018-08-311-7/+7 | * | | | | | | add named var to make `if` condition more readableF. Eugene Aumson2018-08-311-1/+2 | * | | | | | | reduce proximity b/w instantiation and use of varF. Eugene Aumson2018-08-311-2/+1 | * | | | | | | remove unnecessary class SolidityDocFormatF. Eugene Aumson2018-08-313-10/+3 | * | | | | | | comment public interfaceF. Eugene Aumson2018-08-301-1/+13 | * | | | | | | remove unused constructor parameterF. Eugene Aumson2018-08-302-6/+2 | * | | | | | | dev-depend on @0xproject/tslint-configF. Eugene Aumson2018-08-301-0/+1 | * | | | | | | correct package.json's privacy specificationF. Eugene Aumson2018-08-301-1/+3 | * | | | | | | add named references for returned objectsF. Eugene Aumson2018-08-301-3/+6 | * | | | | | | re-word comment: 'construction' -> 'instantiation'F. Eugene Aumson2018-08-301-1/+1 | * | | | | | | rename method _addHexPrefixesF. Eugene Aumson2018-08-301-2/+2 | * | | | | | | remove mistaken TODOF. Eugene Aumson2018-08-301-1/+0 | * | | | | | | move shared doc types from react-docs to @0x/typesF. Eugene Aumson2018-08-3019-270/+265 | * | | | | | | hack postinstall to correct types package symlinkF. Eugene Aumson2018-08-301-11/+12 | * | | | | | | remove unneeded entries from doc gen configF. Eugene Aumson2018-08-301-2/+0 | * | | | | | | add devdoc support to solc typings, and use itF. Eugene Aumson2018-08-296-69/+104 | * | | | | | | add package sol-docF. Eugene Aumson2018-08-2911-0/+264 | * | | | | | | add interface to return compiler output...F. Eugene Aumson2018-08-291-11/+33 | * | | | | | | rename var `compiledData` to `compiledContract`F. Eugene Aumson2018-08-291-13/+13 | * | | | | | | extract method _getContractNamesToCompile()F. Eugene Aumson2018-08-291-4/+5 | * | | | | | | split methodF. Eugene Aumson2018-08-291-22/+29 * | | | | | | | Merge pull request #1091 from 0xProject/feature/sra-spec/order-config-to-post...Francesco Agosti2018-09-2612-30/+46 |\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | * | | | | | | Add to changelogfragosti2018-09-261-0/+9 | * | | | | | | Change /order_config endpoint to POSTfragosti2018-09-262-4/+4 | * | | | | | | Update examplesfragosti2018-09-266-20/+27 | * | | | | | | Fix erroneous ERC721 proxy idfragosti2018-09-261-3/+3 | * | | | | | | Fix development flowfragosti2018-09-262-3/+3 * | | | | | | | Merge branch 'development' into addFlagToPublishReleasesFabio Berger2018-09-264-2/+20 |\ \ \ \ \ \ \ \ | * | | | | | | | Merge branch 'development' of github.com:0xProject/0x-monorepo into developmentFabio Berger2018-09-264-2/+20 | |\| | | | | | | | | * | | | | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-2652-2/+328 | | |\ \ \ \ \ \ \ | | * | | | | | | | Add weijie and rahulfragosti2018-09-263-0/+18 | | * | | | | | | | Change news linkfragosti2018-09-261-2/+2 | | | |_|_|_|_|_|/ | | |/| | | | | | * | | | | | | | | TypoFabio Berger2018-09-261-1/+1 * | | | | | | | | Support passing in package names into publish_release_notes command-line for ...Fabio Berger2018-09-262-4/+23 |/ / / / / / / / * | / / / / / / Publishethereum-types@1.0.8contracts@2.1.47@0xproject/website@0.0.52@0xproject/web3-wrapper@3.0.1@0xproject/utils@1.0.11@0xproject/typescript-typings@2.0.2@0xproject/types@1.1.1@0xproject/testnet-faucets@1.0.49@0xproject/subproviders@2.0.5@0xproject/sra-spec@1.0.4@0xproject/sra-report@1.0.11@0xproject/sol-resolver@1.0.11@0xproject/sol-cov@2.1.5@0xproject/sol-compiler@1.1.5@0xproject/react-shared@1.0.12@0xproject/react-docs@1.0.11@0xproject/order-watcher@2.0.0@0xproject/order-utils@1.0.5@0xproject/migrations@1.0.12@0xproject/metacoin@0.0.21@0xproject/json-schemas@1.0.4@0xproject/fill-scenarios@1.0.5@0xproject/dev-utils@1.0.10@0xproject/contract-wrappers@2.0.0@0xproject/connect@2.0.4@0xproject/base-contract@2.0.5@0xproject/asset-buyer@1.0.1@0xproject/assert@1.0.11@0xproject/abi-gen@1.0.110x.js@1.0.6Fabio Berger2018-09-2630-217/+217 | |/ / / / / / |/| | | | | | * | | | | | | Updated CHANGELOGSFabio Berger2018-09-2652-2/+328 |/ / / / / / * | | | | | Properly render function generic types that don't extend another typeFabio Berger2018-09-263-10/+18 * | | | | | Add changelog entryFabio Berger2018-09-251-0/+5 * | | | | | Add transactionHash to OrderState and emit it from OrderWatcher subscriptionFabio Berger2018-09-255-13/+64 * | | | | | merge developmentFabio Berger2018-09-25132-900/+2001 |\ \ \ \ \ \ | * | | | | | Publishcontracts@2.1.46@0xproject/website@0.0.51@0xproject/web3-wrapper@3.0.0@0xproject/utils@1.0.10@0xproject/types@1.1.0@0xproject/testnet-faucets@1.0.48@0xproject/subproviders@2.0.4@0xproject/sra-spec@1.0.3@0xproject/sra-report@1.0.10@0xproject/sol-resolver@1.0.10@0xproject/sol-cov@2.1.4@0xproject/sol-compiler@1.1.4@0xproject/react-shared@1.0.11@0xproject/react-docs@1.0.10@0xproject/order-watcher@1.0.5@0xproject/order-utils@1.0.4@0xproject/migrations@1.0.11@0xproject/metacoin@0.0.20@0xproject/json-schemas@1.0.3@0xproject/fill-scenarios@1.0.4@0xproject/dev-utils@1.0.9@0xproject/contract-wrappers@1.0.5@0xproject/connect@2.0.3@0xproject/base-contract@2.0.4@0xproject/asset-buyer@1.0.0@0xproject/assert@1.0.10@0xproject/abi-gen@1.0.100x.js@1.0.5Leonid Logvinov2018-09-2528-170/+170 | * | | | | | Updated CHANGELOGSLeonid Logvinov2018-09-2548-3/+301 | * | | | | | Move SRA types from @0xproject/connect to @0xproject/sra-typesLeonid Logvinov2018-09-2516-164/+187 | * | | | | | Feature/custom verdaccio dockerfile (#1083)Alex Browne2018-09-254-0/+93 | | |_|_|_|/ | |/| | | | | * | | | | Merge pull request #1037 from 0xProject/feature/forwarder-helper/sra-and-rpcFrancesco Agosti2018-09-2443-571/+1257 | |\ \ \ \ \ | | * | | | | Upgrade all depsfragosti2018-09-241-8/+8 | | * | | | | Improve READMEfragosti2018-09-241-3/+1 | | * | | | | Add expiry bufferfragosti2018-09-244-14/+51 | | * | | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-2197-230/+6688 | | |\ \ \ \ \ | | * | | | | | Small typosfragosti2018-09-212-2/+2 | | * | | | | | Add order provider response validationfragosti2018-09-213-0/+15 | | * | | | | | Make asset buyer map privatefragosti2018-09-211-4/+4 | | * | | | | | More renamingfragosti2018-09-218-67/+68 | | * | | | | | Renamed orderFetcherResponseProcessor to orderProviderResponseProcessoerfragosti2018-09-212-7/+7 | | * | | | | | Add labels to TODOsfragosti2018-09-212-4/+5 | | * | | | | | Move some logic to order utilsfragosti2018-09-212-8/+16 | | * | | | | | Add utility to get assetDatasfragosti2018-09-211-1/+8 | | * | | | | | Rename OrderFetcher to OrderProvider and other small improvementsfragosti2018-09-209-49/+48 | | * | | | | | Update descriptions for methods on AssetBuyerfragosti2018-09-201-3/+3 | | * | | | | | Add better description to READMEfragosti2018-09-201-1/+3 | | * | | | | | Implement StandardRelayerAPIAssetBuyerManagerfragosti2018-09-207-14/+166 | | * | | | | | Move ObjectMap to shared typesfragosti2018-09-195-7/+17 | | * | | | | | Rename forceOrderRefresh to shouldForceOrderRefreshfragosti2018-09-193-5/+5 | | * | | | | | Calculate min and max rates in buy quotefragosti2018-09-193-33/+70 | | * | | | | | Add isValidPercentage assertfragosti2018-09-192-13/+14 | | * | | | | | Make ForwaderWrapper take in a number for feePercentage instead of BigNumberfragosti2018-09-193-6/+19 | | * | | | | | make the slippage percentage customizable by integratorfragosti2018-09-183-7/+20 | | * | | | | | Restrict orders field of AssetBuyerOrdersAndFillableAmounts to SignedOrder fo...fragosti2018-09-181-2/+2 | | * | | | | | Fix order expired bugfragosti2018-09-181-1/+1 | | * | | | | | Move all constants to own filefragosti2018-09-182-12/+11 | | * | | | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-1831-39/+241 | | |\ \ \ \ \ \ | | * | | | | | | Add factory method for specific assetData to buy and add commentsBrandon Millman2018-09-152-3/+54 | | * | | | | | | Add factory method on AssetBuyer for specific token addressBrandon Millman2018-09-151-1/+20 | | * | | | | | | Add factory method on AssetBuyer for provided ordersBrandon Millman2018-09-152-1/+39 | | * | | | | | | Export the order fetchersBrandon Millman2018-09-151-0/+2 | | * | | | | | | Fix lint errorsBrandon Millman2018-09-153-18/+5 | | * | | | | | | Delete old testBrandon Millman2018-09-151-136/+0 | | * | | | | | | Implement ProvidedOrderFetcherBrandon Millman2018-09-153-1/+48 | | * | | | | | | Implement StandardRelayerAPIOrderFetcherBrandon Millman2018-09-153-262/+84 | | * | | | | | | Flesh out the AssetBuyer classBrandon Millman2018-09-159-233/+544 | | * | | | | | | Create initial AssetBuyer classBrandon Millman2018-09-159-573/+634 | | * | | | | | | Update readme, changelog, and package.json with renameBrandon Millman2018-09-154-51/+14 | | * | | | | | | Move packages/forwarder-helper into packages/asset-buyerBrandon Millman2018-09-1518-0/+0 | | * | | | | | | Various clean upBrandon Millman2018-09-152-4/+6 | | * | | | | | | Catch standard relayer api errorsBrandon Millman2018-09-152-4/+10 | | * | | | | | | Remove taker address as param and filter out non-open ordersBrandon Millman2018-09-153-8/+18 | | * | | | | | | Add getForwarderHelperForMakerAssetDataAsync method to forwarderHelperFactoryBrandon Millman2018-09-155-4/+253 | * | | | | | | | Merge pull request #1073 from 0xProject/fix/website/signing-order-validation-bugFrancesco Agosti2018-09-243-2/+3 | |\ \ \ \ \ \ \ \ | | * \ \ \ \ \ \ \ Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-2499-237/+6721 | | |\ \ \ \ \ \ \ \ | | | | |_|/ / / / / | | | |/| | | | | | | | * | | | | | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-1830-34/+181 | | |\ \ \ \ \ \ \ \ | | | | |_|/ / / / / | | | |/| | | | | | | | * | | | | | | | Fix order creation and fill flow in Portalfragosti2018-09-183-2/+3 * | | | | | | | | | Fix lint issuesFabio Berger2018-09-252-19/+17 * | | | | | | | | | Fix prettierFabio Berger2018-09-251-1/+2 * | | | | | | | | | Fix prettierFabio Berger2018-09-252-4/+6 * | | | | | | | | | Decode logs received from blockstreamFabio Berger2018-09-252-8/+10 * | | | | | | | | | Add missing typeFabio Berger2018-09-251-1/+1 * | | | | | | | | | Update changelogsFabio Berger2018-09-252-2/+12 * | | | | | | | | | Refactor blockstream integration to use the proper callback method interfaceFabio Berger2018-09-252-22/+58 * | | | | | | | | | Add entry about newly exposed methodFabio Berger2018-09-251-0/+4 * | | | | | | | | | Expose method to send raw JSON RPC payloadsFabio Berger2018-09-251-34/+39 * | | | | | | | | | Merge developmentFabio Berger2018-09-2490-264/+655 |\| | | | | | | | | | * | | | | | | | | Add comments for clarityFabio Berger2018-09-242-0/+2 | * | | | | | | | | Add to doc comment why a block might not be returned to the callerFabio Berger2018-09-241-0/+1 | * | | | | | | | | Add PR nrFabio Berger2018-09-241-1/+2 | * | | | | | | | | Add CHANGELOG entry for change to getBlockAsyncFabio Berger2018-09-241-0/+9 | * | | | | | | | | Fix bug where if block wasn't found, getBlockAsync would throw. Now it return...Fabio Berger2018-09-247-31/+78 | | |_|/ / / / / / | |/| | | | | | | | * | | | | | | | Publishethereum-types@1.0.7contracts@2.1.45@0xproject/website@0.0.50@0xproject/web3-wrapper@2.0.3@0xproject/utils@1.0.9@0xproject/typescript-typings@2.0.1@0xproject/types@1.0.2@0xproject/testnet-faucets@1.0.47@0xproject/subproviders@2.0.3@0xproject/sra-spec@1.0.2@0xproject/sra-report@1.0.9@0xproject/sol-resolver@1.0.9@0xproject/sol-cov@2.1.3@0xproject/sol-compiler@1.1.3@0xproject/react-shared@1.0.10@0xproject/react-docs@1.0.9@0xproject/order-watcher@1.0.4@0xproject/order-utils@1.0.3@0xproject/monorepo-scripts@1.0.9@0xproject/migrations@1.0.10@0xproject/metacoin@0.0.19@0xproject/json-schemas@1.0.2@0xproject/forwarder-helper@1.0.4@0xproject/fill-scenarios@1.0.3@0xproject/dev-utils@1.0.8@0xproject/contract-wrappers@1.0.4@0xproject/connect@2.0.2@0xproject/base-contract@2.0.3@0xproject/assert@1.0.9@0xproject/abi-gen@1.0.90x.js@1.0.4Leonid Logvinov2018-09-2131-213/+213 | * | | | | | | | Updated CHANGELOGSLeonid Logvinov2018-09-2152-1/+331 | * | | | | | | | Don't depend on a specific version of node typesLeonid Logvinov2018-09-2118-18/+18 | * | | | | | | | Add PR numberFabio Berger2018-09-211-1/+2 * | | | | | | | | Fix prettierFabio Berger2018-09-213-3/+7 * | | | | | | | | Add changelog entriesFabio Berger2018-09-212-0/+16 * | | | | | | | | Upgrade blockstream to version that supports fetching logs by blockHash, fixi...Fabio Berger2018-09-212-2/+2 * | | | | | | | | Add blockHash to FilterObject now that EIP234 is supportedFabio Berger2018-09-211-0/+1 * | | | | | | | | Add assertion that one cannot specify both blockHash & fromBlock/toBlock to g...Fabio Berger2018-09-211-0/+4 |/ / / / / / / / * | | | | | | | Also make sure the transactionReceipt contains a blockNumber when checking if...Fabio Berger2018-09-212-1/+10 * | | | | | | | Set ContractEventArg type definition to `any`Philippe Castonguay2018-09-211-1/+1 * | | | | | | | Add BigNumber[] support in ContractEventArgPhilippe Castonguay2018-09-201-1/+1 | |_|_|_|_|_|/ |/| | | | | | * | | | | | | Publishcontracts@2.1.44@0xproject/website@0.0.49@0xproject/testnet-faucets@1.0.46@0xproject/order-watcher@1.0.3@0xproject/order-utils@1.0.2@0xproject/migrations@1.0.9@0xproject/forwarder-helper@1.0.3@0xproject/fill-scenarios@1.0.2@0xproject/contract-wrappers@1.0.3@0xproject/connect@2.0.10x.js@1.0.3Fabio Berger2018-09-1911-30/+30 * | | | | | | Updated CHANGELOGSFabio Berger2018-09-1916-5/+69 * | | | | | | Update changelog entriesFabio Berger2018-09-195-0/+40 * | | | | | | Add back in evm.bytecode.object since it's needed to generate contract-wrappersFabio Berger2018-09-1914-318/+412 * | | | | | | Make higher-order packages copy over trimmed down artifactsFabio Berger2018-09-194-4/+4 * | | | | | | Create trimmed artifacts of v2 contractsFabio Berger2018-09-1914-0/+5946 | |/ / / / / |/| | | | | * | | | | | Publish@0xproject/website@0.0.48@0xproject/testnet-faucets@1.0.45@0xproject/order-watcher@1.0.2@0xproject/migrations@1.0.8@0xproject/forwarder-helper@1.0.2@0xproject/contract-wrappers@1.0.20x.js@1.0.2Fabio Berger2018-09-187-15/+15 * | | | | | Updated CHANGELOGSFabio Berger2018-09-1810-3/+44 * | | | | | Add CHANGELOG entries about bug fixFabio Berger2018-09-183-0/+24 * | | | | | Add missing mainnet addresses to ZRXToken & WETH artifactsFabio Berger2018-09-182-0/+10 * | | | | | Merge pull request #1063 from 0xProject/feature/0x.js/update-readme-importJacob Evans2018-09-1811-19/+91 |\ \ \ \ \ \ | |/ / / / / |/| | | | | | * | | | | Folder 1.0.0 -> 1.0.1Jacob Evans2018-09-185-5/+5 | * | | | | Rename to v1->v0 v2->v1Jacob Evans2018-09-181-17/+17 | * | | | | Remove note about RC versionsJacob Evans2018-09-133-13/+11 | * | | | | 0xjs README/website docs updateJacob Evans2018-09-1313-30/+111 * | | | | | Fix forwarder package.jsonFabio Berger2018-09-171-1/+1 * | | | | | Add 0x.js 2.0.0 async and installation sectionsFabio Berger2018-09-172-0/+64 * | | | | | Update decoration errorFabio Berger2018-09-171-1/+1 * | | | | | Update 0x.js READMEFabio Berger2018-09-171-1/+8 * | | | | | Remove doc commands from forwarder-helper package for nowFabio Berger2018-09-171-3/+0 | |/ / / / |/| | | | * | | | | Change Davids descriptionfragosti2018-09-121-1/+1 * | | | | Add images for David Sacks and Genefragosti2018-09-122-0/+0 * | | | | Fix David Sacks linksfragosti2018-09-121-4/+4 * | | | | Merge branch 'feature/website/add-gene' into developmentfragosti2018-09-121-0/+8 |\ \ \ \ \ | * | | | | Add Gene info to websitefragosti2018-09-121-0/+8 | | |_|_|/ | |/| | | * / | | | Add david sacksfragosti2018-09-121-2/+14 |/ / / / * | | | Clear localstoragefragosti2018-09-071-1/+1 * | | | Fix minting for new tokens on testnetsfragosti2018-09-075-40/+51 |/ / / * | | Link bug bounty section to wikiAmir Bandeali2018-09-061-40/+1 * | | Update README with directory structure and bug bountyAmir Bandeali2018-09-061-6/+66 * | | Check token exists for network for user paramsJacob Evans2018-09-062-16/+23 * | | Remove unused name and symbolJacob Evans2018-09-051-12/+5 * | | Floor expiration timeJacob Evans2018-09-052-1/+11 * | | [testnet-faucets] update to v2Jacob Evans2018-09-055-51/+117 * | | Publishethereum-types@1.0.6contracts@2.1.43@0xproject/website@0.0.47@0xproject/web3-wrapper@2.0.2@0xproject/utils@1.0.8@0xproject/typescript-typings@2.0.0@0xproject/types@1.0.1@0xproject/tslint-config@1.0.7@0xproject/testnet-faucets@1.0.44@0xproject/subproviders@2.0.2@0xproject/sra-spec@1.0.1@0xproject/sra-report@1.0.8@0xproject/sol-resolver@1.0.8@0xproject/sol-cov@2.1.2@0xproject/sol-compiler@1.1.2@0xproject/react-shared@1.0.9@0xproject/react-docs@1.0.8@0xproject/order-watcher@1.0.1@0xproject/order-utils@1.0.1@0xproject/monorepo-scripts@1.0.8@0xproject/migrations@1.0.7@0xproject/metacoin@0.0.18@0xproject/json-schemas@1.0.1@0xproject/forwarder-helper@1.0.1@0xproject/fill-scenarios@1.0.1@0xproject/dev-utils@1.0.7@0xproject/contract-wrappers@1.0.1@0xproject/connect@2.0.0@0xproject/base-contract@2.0.2@0xproject/assert@1.0.8@0xproject/abi-gen@1.0.80x.js@1.0.1Fabio Berger2018-09-0532-257/+253 * | | Updated CHANGELOGSFabio Berger2018-09-0554-5/+320 * | | Update CHANGELOG's to publish non-RC versionsFabio Berger2018-09-054-4/+4 * | | Merge pull request #1058 from 0xProject/fix/connect/use-big-number-in-requestsFrancesco Agosti2018-09-054-10/+20 |\ \ \ | * | | Change orderConfig from POST to GET like in specfragosti2018-09-052-4/+4 | * | | Add to CHANGELOGfragosti2018-09-052-1/+10 | * | | Use BigNumber instead of string where appropriate in OrderConfigRequestfragosti2018-09-052-6/+7 * | | | Update order-watcher/package.jsonAlex Browne2018-09-051-2/+2 * | | | More small artifacts updates/changesAlex Browne2018-09-055-73/+98 * | | | Fix bug in contracts testsAlex Browne2018-09-051-1/+1 * | | | More small chnages/bug fixesAlex Browne2018-09-059-265/+10 * | | | Rename and update some artifact locationsAlex Browne2018-09-0528-280/+96 * | | | Rename 2.0.0-beta-testnet to 2.0.0-testnetAlex Browne2018-09-0514-0/+0 * | | | Add missing testnet addresses to 2.0.0-mainnet artifactsAlex Browne2018-09-056-6/+96 * | | | Copy artifacts from 2.0.0-beta-testnet that do not appear in 2.0.0-mainnetAlex Browne2018-09-058-0/+13387 |/ / / * | | Merge pull request #1055 from 0xProject/deployment/2.0.0-beta-testnet/ropstenAlex Browne2018-09-0540-100811/+3627 |\ \ \ | * \ \ Merge branch 'deployment/2.0.0-beta-testnet/ropsten' of github.com:0xProject/...Jacob Evans2018-09-0521-13/+6010 | |\ \ \ | | * \ \ merge developmentFabio Berger2018-09-0521-13/+6010 | | |\ \ \ | * | | | | Revert Forwarder address for GanacheJacob Evans2018-09-051-1/+1 | * | | | | Remove Rinkeby from Exchange.jsonJacob Evans2018-09-051-5/+0 | |/ / / / | * | | | Revert the exchange address changeJacob Evans2018-09-051-2/+2 | * | | | Tslint magic-numberJacob Evans2018-09-051-0/+2 | * | | | Ropsten/Kovan Contract deploymentJacob Evans2018-09-0540-100812/+3631 * | | | | Merge pull request #1044 from 0xProject/feature/website/update-portal-v2Francesco Agosti2018-09-05