/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Michael Zucchi * * Copyright 2004 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "e-cal-menu.h" #include "gui/e-cal-model.h" #include "itip-utils.h" static void ecalm_standard_menu_factory(EMenu *emp, void *data); static GObjectClass *ecalm_parent; static void ecalm_init(GObject *o) { /*ECalMenu *emp = (ECalMenu *)o; */ } static void ecalm_finalise(GObject *o) { ((GObjectClass *)ecalm_parent)->finalize(o); } static void ecalm_target_free(EMenu *ep, EMenuTarget *t) { switch (t->type) { case E_CAL_MENU_TARGET_SELECT: { ECalMenuTargetSelect *s = (ECalMenuTargetSelect *)t; int i; for (i=0;ievents->len;i++) e_cal_model_free_component_data(s->events->pdata[i]); g_ptr_array_free(s->events, TRUE); g_object_unref(s->model); break; } } ((EMenuClass *)ecalm_parent)->target_free(ep, t); } static void ecalm_class_init(GObjectClass *klass) { klass->finalize = ecalm_finalise; ((EMenuClass *)klass)->target_free = ecalm_target_free; e_menu_class_add_factory((EMenuClass *)klass, NULL, (EMenuFactoryFunc)ecalm_standard_menu_factory, NULL); } GType e_cal_menu_get_type(void) { static GType type = 0; if (type == 0) { static const GTypeInfo info = { sizeof(ECalMenuClass), NULL, NULL, (GClassInitFunc)ecalm_class_init, NULL, NULL, sizeof(ECalMenu), 0, (GInstanceInitFunc)ecalm_init }; ecalm_parent = g_type_class_ref(e_menu_get_type()); type = g_type_register_static(e_menu_get_type(), "ECalMenu", &info, 0); } return type; } ECalMenu *e_cal_menu_new(const char *menuid) { ECalMenu *emp = g_object_new(e_cal_menu_get_type(), NULL); e_menu_construct(&emp->menu, menuid); return emp; } /** * e_cal_menu_target_new_select: * @folder: The selection will ref this for the life of it. * @folder_uri: * @uids: The selection will free this when done with it. * * Create a new selection popup target. * * Return value: **/ ECalMenuTargetSelect * e_cal_menu_target_new_select(ECalMenu *eabp, struct _ECalModel *model, GPtrArray *events) { ECalMenuTargetSelect *t = e_menu_target_new(&eabp->menu, E_CAL_MENU_TARGET_SELECT, sizeof(*t)); guint32 mask = ~0; ECal *client; gboolean read_only; /* FIXME: This is duplicated in e-cal-popup */ t->model = model; g_object_ref(t->model); t->events = events; if (t->events->len == 0) { client = e_cal_model_get_default_client(t->model); } else { ECalModelComponent *comp_data = (ECalModelComponent *)t->events->pdata[0]; mask &= ~E_CAL_MENU_SELECT_ANY; if (t->events->len == 1) mask &= ~E_CAL_MENU_SELECT_ONE; else mask &= ~E_CAL_MENU_SELECT_MANY; if (icalcomponent_get_first_property (comp_data->icalcomp, ICAL_URL_PROPERTY)) mask &= ~E_CAL_MENU_SELECT_HASURL; if (!e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT) && !e_cal_get_static_capability (comp_data->client, CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK) && !icalcomponent_get_first_property (comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY)) mask &= ~E_CAL_MENU_SELECT_ASSIGNABLE; if (!icalcomponent_get_first_property (comp_data->icalcomp, ICAL_COMPLETED_PROPERTY)) mask &= ~ E_CAL_MENU_SELECT_NOTCOMPLETE; if (e_cal_util_component_has_recurrences (comp_data->icalcomp)) mask &= ~E_CAL_MENU_SELECT_RECURRING; else if (e_cal_util_component_is_instance (comp_data->icalcomp)) mask &= ~E_CAL_MENU_SELECT_RECURRING; else mask &= ~E_CAL_MENU_SELECT_NONRECURRING; if (e_cal_util_component_is_instance (comp_data->icalcomp)) mask &= ~E_CAL_MENU_SELECT_INSTANCE; if (e_cal_util_component_has_organizer (comp_data->icalcomp)) { ECalComponent *comp; comp = e_cal_component_new (); e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (comp_data->icalcomp)); if (!itip_organizer_is_user (comp, comp_data->client)) mask &= ~E_CAL_MENU_SELECT_ORGANIZER; g_object_unref (comp); } else { /* organiser is synonym for owner in this case */ mask &= ~(E_CAL_MENU_SELECT_ORGANIZER|E_CAL_MENU_SELECT_NOTMEETING); } client = comp_data->client; } if (client) { e_cal_is_read_only(client, &read_only, NULL); if (!read_only) mask &= ~E_CAL_MENU_SELECT_EDITABLE; } /* This bit isn't implemented ... */ mask &= ~E_CAL_MENU_SELECT_NOTEDITING; t->target.mask = mask; return t; } static void ecalm_standard_menu_factory(EMenu *emp, void *data) { /* noop */ } /* ********************************************************************** */ /* menu plugin handler */ /* */ static void *ecalph_parent_class; #define ecalph ((ECalMenuHook *)eph) static const EMenuHookTargetMask ecalph_select_masks[] = { { "one", E_CAL_MENU_SELECT_ONE }, { "many", E_CAL_MENU_SELECT_MANY }, { "editable", E_CAL_MENU_SELECT_EDITABLE }, { "recurring", E_CAL_MENU_SELECT_RECURRING }, { "non-recurring", E_CAL_MENU_SELECT_NONRECURRING }, { "instance", E_CAL_MENU_SELECT_INSTANCE }, { "organizer", E_CAL_MENU_SELECT_ORGANIZER }, { "not-editing", E_CAL_MENU_SELECT_NOTEDITING }, { "not-meeting", E_CAL_MENU_SELECT_NOTMEETING }, { "assignable", E_CAL_MENU_SELECT_ASSIGNABLE }, { "hasurl", E_CAL_MENU_SELECT_HASURL }, { "not-complete", E_CAL_MENU_SELECT_NOTCOMPLETE }, { NULL } }; static const EMenuHookTargetMap ecalph_targets[] = { { "select", E_CAL_MENU_TARGET_SELECT, ecalph_select_masks }, { NULL } }; static void ecalph_finalise(GObject *o) { /*EPluginHook *eph = (EPluginHook *)o;*/ ((GObjectClass *)ecalph_parent_class)->finalize(o); } static void ecalph_class_init(EPluginHookClass *klass) { int i; ((GObjectClass *)klass)->finalize = ecalph_finalise; ((EPluginHookClass *)klass)->id = "org.gnome.evolution.calendar.bonobomenu:1.0"; for (i = 0; ecalph_targets[i].type; i++) e_menu_hook_class_add_target_map((EMenuHookClass *)klass, &ecalph_targets[i]); /* FIXME: leaks parent set class? */ ((EMenuHookClass *)klass)->menu_class = g_type_class_ref(e_cal_menu_get_type()); } GType e_cal_menu_hook_get_type(void) { static GType type = 0; if (!type) { static const GTypeInfo info = { sizeof(ECalMenuHookClass), NULL, NULL, (GClassInitFunc) ecalph_class_init, NULL, NULL, sizeof(ECalMenuHook), 0, (GInstanceInitFunc) NULL, }; ecalph_parent_class = g_type_class_ref(e_menu_hook_get_type()); type = g_type_register_static(e_menu_hook_get_type(), "ECalMenuHook", &info, 0); } return type; } ph'>* Updated CHANGELOGSFabio Berger2018-08-2554-97/+359 * Merge branch 'development' of github.com:0xProject/0x-monorepo into developmentFabio Berger2018-08-252-0/+8 |\ | * Merge pull request #1010 from 0xProject/feature/website/connect-2-docsFrancesco Agosti2018-08-252-0/+8 | |\ | | * Add documentation for connect v2fragosti2018-08-242-0/+8 * | | Updated api.jsonFabio Berger2018-08-251-1/+1 * | | Small fixes to publish scriptFabio Berger2018-08-251-2/+1 |/ / * | Added missing entry for RC packageFabio Berger2018-08-251-0/+8 * | Excessive commandFabio Berger2018-08-251-1/+0 * | Merge pull request #1014 from 0xProject/feature/json-schemas/remove-superfluo...Fabio Berger2018-08-241-1/+0 |\ \ | * | Remove superflous id from relayer api fee recipients json schemafragosti2018-08-241-1/+0 |/ / * | Merge pull request #997 from 0xProject/feature/forwarder-helper/initBrandon Millman2018-08-2421-18/+674 |\ \ | |/ |/| | * Upgrade changelog version to get around test-publis CI jobBrandon Millman2018-08-241-1/+1 | * Remove CHANGELOG.mdBrandon Millman2018-08-241-1/+0 | * Move sorting phase into its own utils fileBrandon Millman2018-08-242-64/+95 | * Remove legacy docs stuffBrandon Millman2018-08-244-33/+61 | * Merge branch 'development' into feature/forwarder-helper/initBrandon Millman2018-08-24282-12489/+3540 | |\ | * | Update _sortedConfigs namingBrandon Millman2018-08-241-4/+4 | * | Update yarn lockBrandon Millman2018-08-241-0/+4 | * | Merge branch 'development' into feature/forwarder-helper/initBrandon Millman2018-08-2460-826/+1160 | |\ \ | * | | Fix prettierBrandon Millman2018-08-231-0/+1 | * | | Fix lint errorsBrandon Millman2018-08-232-3/+3 | * | | PrettierBrandon Millman2018-08-230-0/+0 | * | | Add changelog entry and fix order-util changelog PR numbersBrandon Millman2018-08-232-4/+14 | * | | Add assertions to factoryBrandon Millman2018-08-233-38/+36 | * | | Add more commentsBrandon Millman2018-08-232-0/+9 | * | | Write initial forwarderHelperFactoryBrandon Millman2018-08-232-0/+17 | * | | Add tests for getMarketBuyOrdersInfoBrandon Millman2018-08-233-11/+52 | * | | Fix rounding bug in marketUtilsBrandon Millman2018-08-232-3/+10 | * | | Add test for sorting that happens in constructorBrandon Millman2018-08-231-2/+85 | * | | Update yarn lockBrandon Millman2018-08-231-1/+16 | * | | Add more TODO itemsBrandon Millman2018-08-231-0/+2 | * | | Make config public readonlyBrandon Millman2018-08-231-3/+3 | * | | Add ForwarderHelperImplConfigBrandon Millman2018-08-236-38/+104 | * | | Remove marketSell and add to marketBuy implementationBrandon Millman2018-08-236-65/+51 | * | | Add stubs for ForwarderHelper interface in ForwarderHelperImplBrandon Millman2018-08-233-12/+58 | * | | Flesh out typesBrandon Millman2018-08-233-3/+85 | * | | Initial skeleton of forwarder-helper packageBrandon Millman2018-08-2315-0/+227 * | | | Merge pull request #1006 from 0xProject/fix/0x.js/uglify-pluginBrandon Millman2018-08-243-4/+25 |\ \ \ \ | |_|_|/ |/| | | | * | | Update uglify plugin to support es6Brandon Millman2018-08-243-4/+25 |/ / / * | | Merge pull request #924 from 0xProject/wrap-typedocFabio Berger2018-08-24282-12523/+3570 |\ \ \ | |_|/ |/| | | * | Remove trailing slashFabio Berger2018-08-241-1/+1 | * | Fix linterFabio Berger2018-08-241-1/+1 | * | Stop nesting interfaces and add necessary type exportsFabio Berger2018-08-242-20/+31 | * | Remove duplicate type and remove nested interfaceFabio Berger2018-08-241-25/+5 | * | Add support for rending the Tuple typeFabio Berger2018-08-233-0/+36 | * | Add missing keyuFabio Berger2018-08-231-1/+5 | * | Remove excessive timestampFabio Berger2018-08-231-1/+0 | * | Improve doc commebntFabio Berger2018-08-231-1/+2 | * | Remove docs catch-all endpointFabio Berger2018-08-231-1/+0 | * | Fix commentsFabio Berger2018-08-232-9/+3 | * | Look for all TS mapped typesFabio Berger2018-08-231-2/+2 | * | Add catch and exit with non-zeroFabio Berger2018-08-231-2/+4 | * | Remove superfluous depFabio Berger2018-08-231-1/+0 | * | Fix CHANGELOG entryFabio Berger2018-08-231-7/+1 | * | Fix double assignmentFabio Berger2018-08-231-1/+1 | * | Upgrade Typedoc to 0.12.0, which works with TS 3.xFabio Berger2018-08-2311-56/+56 | * | Fix prettier issuesFabio Berger2018-08-232-3/+7 | * | Enable dry run of release publishing and handle git tags existingFabio Berger2018-08-233-16/+49 | * | update yarn.lockFabio Berger2018-08-231-3/+7 | * | Missing/superfluous type exports from connectFabio Berger2018-08-231-2/+6 | * | Break with -1 so that the exit code of the loop if hit is non-zeroFabio Berger2018-08-231-1/+1 | * | Prettier fixFabio Berger2018-08-231-1/+1 | * | merge developmentFabio Berger2018-08-2358-812/+1002 | |\ \ | * | | Replace complicated camelCase to spaces logic with change-case packageFabio Berger2018-08-233-22/+140 | * | | Add/improve commentsFabio Berger2018-08-233-5/+11 | * | | Fix changelogsFabio Berger2018-08-232-3/+4 | * | | Merge branch 'development' into wrap-typedocFabio Berger2018-08-231-1/+1 | |\ \ \ | | | |/ | | |/| | * | | Refactor publish script so that root package.json configs.packagesWithDocs is...Fabio Berger2018-08-2313-57/+41 | * | | Fix many linter errors that showed up upon upgrading tsutilFabio Berger2018-08-2324-94/+83 | * | | Remove monorepo-scripts from tslintconfig.jsonFabio Berger2018-08-221-1/+1 | * | | Use actual packageName for external example importsFabio Berger2018-08-2215-2/+17 | * | | Update all CHANGELOGsFabio Berger2018-08-228-2/+83 | * | | Fix prettierFabio Berger2018-08-222-6/+7 | * | | Update contract-wrappers CHANGELOGFabio Berger2018-08-221-2/+6 | * | | Ignore error of first yarn installFabio Berger2018-08-221-1/+1 | * | | Double install catching first ones errorFabio Berger2018-08-221-1/+3 | * | | Add yarn cache cleanFabio Berger2018-08-221-0/+1 | * | | Remove duplicate install cmdFabio Berger2018-08-221-3/+0 | * | | Run yarn twice on CIFabio Berger2018-08-221-2/+3 | * | | Check yarn info on CircleCiFabio Berger2018-08-221-0/+2 | * | | Improve READMEFabio Berger2018-08-221-1/+1 | * | | Fix remaining merge issuesFabio Berger2018-08-227-43/+39 | * | | Merge development branchFabio Berger2018-08-22125-60381/+7836 | |\ \ \ | * | | | Fix bugs in doc gen due to clone vs cloneDeep and pre-maturely removing place...Fabio Berger2018-08-221-7/+7 | * | | | Fix index.ts given fix in doc generationFabio Berger2018-08-224-31/+11 | * | | | Move types from sol-compiler to types so they can be used in other places wit...Fabio Berger2018-08-2230-111/+190 | * | | | Add generated_docs dir to clean commandFabio Berger2018-08-2211-11/+11 | * | | | Stop logging to console for each packages without a package.jsonFabio Berger2018-08-221-1/+1 | * | | | Use bash for loop for generating docs for each package, revert changes to scriptFabio Berger2018-08-227-67/+67 | * | | | Modify script so it can generate docs for a specific package or all packages...Fabio Berger2018-08-224-40/+65 | * | | | Add shouldUpload flag to docGenAndUpload commandFabio Berger2018-08-222-2/+16 | * | | | Fix lowercase names involving ERC acronymFabio Berger2018-08-221-1/+7 | * | | | Add doc comments to AbiDecoderFabio Berger2018-08-221-1/+18 | * | | | Fix sol-cov index.tsFabio Berger2018-08-221-11/+10 | * | | | Fix sol-compiler index.tsFabio Berger2018-08-221-9/+1 | * | | | Fix order-watcher index.tsFabio Berger2018-08-221-3/+9 | * | | | Fix typeFabio Berger2018-08-221-0/+1 | * | | | Don't check if types are used for libraries only include typesFabio Berger2018-08-222-1/+10 | * | | | Fix up order-utilsFabio Berger2018-08-213-5/+30 | * | | | Rather then look for typeArguments, we want to ignore Partial & Promise refe...Fabio Berger2018-08-211-1/+2 | * | | | Add link to Array typeFabio Berger2018-08-211-0/+1 | * | | | Add missing exports to 0x.js and contract-wrappers index.tsFabio Berger2018-08-212-0/+4 | * | | | Add missing keyFabio Berger2018-08-211-1/+1 | * | | | Move sol-compiler dep to `dependencies` now that types from it are exported i...Fabio Berger2018-08-211-1/+1 | * | | | Implement ignoring config typesFabio Berger2018-08-212-2/+7 | * | | | Add more types and ignores to docGenConfigsFabio Berger2018-08-211-3/+10 | * | | | Fix website given that it still depends on an old version of @0xproject/TypesFabio Berger2018-08-201-2/+5 | * | | | Cleanup web3-wrapper and subproviders index.tsFabio Berger2018-08-202-6/+26 | * | | | Cleanup connect index.tsFabio Berger2018-08-201-1/+1 | * | | | Cleanup contract-wrappers index.tsFabio Berger2018-08-207-40/+41 | * | | | Make sure we don't render protected propertiesFabio Berger2018-08-181-5/+9 | * | | | Make sure export isn't internal to the packageFabio Berger2018-08-181-1/+1 | * | | | Also ignore implementationOfFabio Berger2018-08-181-1/+1 | * | | | Refactor DocGenerateAndUploadUtils to be a class, and decompose large methods...Fabio Berger2018-08-183-348/+427 | * | | | Fix commentFabio Berger2018-08-171-1/+2 | * | | | Move doc configs to a separate fileFabio Berger2018-08-173-47/+59 | * | | | Remove outdating commentFabio Berger2018-08-176-12/+6 | * | | | Undo prettierFabio Berger2018-08-171-237/+237 | * | | | Update yarn.lockFabio Berger2018-08-171-3/+2 | * | | | Merge developmentFabio Berger2018-08-1751-242/+665 | |\ \ \ \ | * | | | | Fix external exports section nameFabio Berger2018-08-171-1/+1 | * | | | | Render external dep exportsFabio Berger2018-08-175-6/+50 | * | | | | Remove stray console logFabio Berger2018-08-171-1/+0 | * | | | | Add links for external dep exports to docJsonFabio Berger2018-08-171-4/+41 | * | | | | Remove unused ContractWrapper exportFabio Berger2018-08-171-2/+0 | * | | | | Export Web3ProviderEngine directly instead of indirectly via subprovidersFabio Berger2018-08-163-39/+44 | * | | | | Check for superfluous types in a packages index.ts and throw if they existFabio Berger2018-08-161-0/+31 | * | | | | Improve Error external linkFabio Berger2018-08-161-1/+1 | * | | | | Remove unused types from 0x.js index.ts discoveredFabio Berger2018-08-161-26/+0 | * | | | | Add externalTypeToLink to docJsonFabio Berger2018-08-161-0/+1 | * | | | | Move external types to link mapping to doc generation util and refactor typed...Fabio Berger2018-08-1617-322/+138 | * | | | | Add version to our custom DocJson formatFabio Berger2018-08-151-1/+3 | * | | | | Move purging private underscored items to the doc json generation phaseFabio Berger2018-08-154-30/+27 | * | | | | Link class reference types exported in same package to their declarationFabio Berger2018-08-1510-44/+163 | * | | | | Remove duplicate Typescript importFabio Berger2018-08-151-2/+1 | * | | | | Add ability to hide specific class constructorsFabio Berger2018-08-151-0/+21 | * | | | | Improve missing type detectionFabio Berger2018-08-151-4/+8 | * | | | | Flesh out 0x.js index.ts and added some exports to other index.ts in the processFabio Berger2018-08-154-6/+51 | * | | | | Merge in new 0x.js interfaceFabio Berger2018-08-1519-10889/+284 | |\ \ \ \ \ | | * | | | | Remove 0x.js from Circle CIFabio Berger2018-08-141-245/+237 | | * | | | | Add PR nr.Fabio Berger2018-08-141-1/+2 | | * | | | | Fix mergeFabio Berger2018-08-1488-415/+667 | | |\ \ \ \ \ | | * | | | | | Add CHANGELOG entry about public interface refactorFabio Berger2018-08-141-0/+9 | | * | | | | | Merge branch 'development' into refactor/0x-js-exported-interfaceFabio Berger2018-08-142-16/+6 | | |\ \ \ \ \ \ | | * | | | | | | Refactor 0x.js to simply re-export it's own sub-dependencies rather then wrap...Fabio Berger2018-08-1417-10671/+60 | * | | | | | | | Fix additional merge conflictsFabio Berger2018-08-157-33/+135 | * | | | | | | | Merge developmentFabio Berger2018-08-15248-2012/+5986 | |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | * | | | | | | | Update yarn.lockFabio Berger2018-08-141-7/+0 | * | | | | | | | Add missing types from 0x.js index.tsFabio Berger2018-08-141-1/+10 | * | | | | | | | Add a check to make sure types part of the exported interface are also export...Fabio Berger2018-08-141-3/+51 | * | | | | | | | Remove old commentFabio Berger2018-08-141-1/+1 | * | | | | | | | Split publish_utils since it was becoming too big and unwieldyFabio Berger2018-08-085-102/+106 | * | | | | | | | Add back hashSpyFabio Berger2018-08-083-0/+4 | * | | | | | | | Remove console.logFabio Berger2018-08-081-1/+0 | * | | | | | | | Add additional special-case acronymFabio Berger2018-08-081-1/+1 | * | | | | | | | Remove hash spy for nowFabio Berger2018-08-073-4/+0 | * | | | | | | | Remove console.logFabio Berger2018-08-071-1/+0 | * | | | | | | | Remove stray console logFabio Berger2018-08-071-1/+0 | * | | | | | | | Pass in typeDefinitionByName so that type declarations also link to inner-typ...Fabio Berger2018-08-075-10/+52 | * | | | | | | | Update typesFabio Berger2018-08-071-3/+3 | * | | | | | | | Fix bug where we only rendered one TypeDoc JSON key per export, instead of al...Fabio Berger2018-08-072-10/+15 | * | | | | | | | Add missing type exportsFabio Berger2018-08-073-0/+20 | * | | | | | | | Fix bug related to react-scroll's scrollSpy and the render order of elementsFabio Berger2018-08-061-2/+12 | * | | | | | | | Remove unused importsFabio Berger2018-08-061-3/+1 | * | | | | | | | Fix keyFabio Berger2018-08-065-5/+5 | * | | | | | | | Add missing typeFabio Berger2018-08-061-0/+1 | * | | | | | | | Update yarn.lockFabio Berger2018-08-061-144/+13 | * | | | | | | | Update depFabio Berger2018-08-061-1/+1 | * | | | | | | | Re-order depsFabio Berger2018-08-061-1/+1 | * | | | | | | | Remove stray console.lgosFabio Berger2018-08-063-6/+0 | * | | | | | | | Remove prefix hack and add prefix for objectLiteral functionsFabio Berger2018-08-042-17/+15 | * | | | | | | | Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with capsFabio Berger2018-08-045-20/+20 | * | | | | | | | Fix commebtFabio Berger2018-08-041-1/+1 | * | | | | | | | Omit certain exports and re-org index.tsFabio Berger2018-08-042-4/+7 | * | | | | | | | Add missing sol-cov commentsFabio Berger2018-08-043-1/+11 | * | | | | | | | Add missing compiler commentsFabio Berger2018-08-041-0/+1 | * | | | | | | | Add missing commentsFabio Berger2018-08-041-0/+6 | * | | | | | | | Re-order index.ts and add missing typesFabio Berger2018-08-041-12/+23 | * | | | | | | | Add missing commentsFabio Berger2018-08-049-40/+229 | * | | | | | | | Make rendering of individually exported functions lighter-weightFabio Berger2018-08-042-1/+20 | * | | | | | | | Stop exporting constants from order-utilsFabio Berger2018-08-043-3/+5 | * | | | | | | | Properly render class/objectLiteral properties that are simple variablesFabio Berger2018-08-041-2/+40 | * | | | | | | | Display camelCase names all-caps properlyFabio Berger2018-08-043-2/+24 | * | | | | | | | Omit several exports from order-utils docsFabio Berger2018-08-031-1/+8 | * | | | | | | | Stop exporting cryptoFabio Berger2018-08-032-2/+2 | * | | | | | | | Remove react-docs-example package and links to itFabio Berger2018-08-0349-9164/+3 | * | | | | | | | Make signature_util into an object literal so related functions are rendered ...Fabio Berger2018-08-0310-316/+378 | * | | | | | | | Don't process functions beginning with underscoresFabio Berger2018-08-031-2/+11 | * | | | | | | | Don't render object literal properties that start with underscore since are p...Fabio Berger2018-08-031-1/+2 | * | | | | | | | Add missing doc commentsFabio Berger2018-08-0314-5/+81 | * | | | | | | | Add missing types to web3-wrapper index.tsFabio Berger2018-08-031-0/+9 | * | | | | | | | Re-order subproviders index.ts and add missing typesFabio Berger2018-08-031-12/+20 | * | | | | | | | Add missing types to sol-cov index.tsFabio Berger2018-08-031-1/+12 | * | | | | | | | Color-code basic type arrays orange aswellFabio Berger2018-08-031-0/+5 | * | | | | | | | Fix sol-compiler doc configsFabio Berger2018-08-031-4/+0 | * | | | | | | | Add comments for types and unnest type declarationsFabio Berger2018-08-031-8/+36 | * | | | | | | | Add missing type exportsFabio Berger2018-08-031-1/+8 | * | | | | | | | Refactor logic for clarityFabio Berger2018-08-031-6/+11 | * | | | | | | | Fix-up Order-utils doc pageFabio Berger2018-08-031-5/+1 | * | | | | | | | Add OrderWatcher docs pageFabio Berger2018-08-0314-12/+139 | * | | | | | | | Fix link in 0x.js introFabio Berger2018-08-031-1/+1 | * | | | | | | | Add MD sections to contract-wrappers docsFabio Berger2018-08-033-4/+33 | * | | | | | | | Add support for rendering nested IndexSignaturesFabio Berger2018-08-035-40/+71 | * | | | | | | | Add ability to omit rendering specific exports and also support direct export...Fabio Berger2018-08-032-14/+41 | * | | | | | | | prettierFabio Berger2018-08-021-1/+8 | * | | | | | | | Remove unused varFabio Berger2018-08-021-1/+1 | * | | | | | | | Fix bug where if there were multiple matches, it wouldn't always take the lon...Fabio Berger2018-08-021-2/+8 | * | | | | | | | We need to always include the globals.d.ts otherwise TS complains about .json...Fabio Berger2018-08-021-0/+1 | * | | | | | | | Fix connect docsFabio Berger2018-08-021-6/+0 | * | | | | | | | Don't ignore compiler errorsFabio Berger2018-08-021-1/+1 | * | | | | | | | Add contract-wrappers page and make topBar component more conciseFabio Berger2018-08-0211-119/+121 | * | | | | | | | Prefix menu and sections with markdown as that is all the should now be definedFabio Berger2018-08-0212-130/+85 | * | | | | | | | Add callpath to propertiesFabio Berger2018-08-023-17/+25 | * | | | | | | | Add padding above anchor titles so they show up nice when scrolled toFabio Berger2018-08-023-3/+3 | * | | | | | | | Use our fork of react-scroll that fixes scrolling within an absolutely positi...Fabio Berger2018-08-024-9/+9 | * | | | | | | | Start refactoring docs to remove unnecessary configs given more concise TypeD...Fabio Berger2018-08-0123-628/+272 | * | | | | | | | Update React-scroll, getting rid of the need to manually set the url hashFabio Berger2018-08-017-22/+12 | * | | | | | | | Add /src/artifacts in order-utils to gitignoreFabio Berger2018-08-011-0/+1 | * | | | | | | | Also add artifacts to srcFabio Berger2018-08-011-4/+5 | * | | | | | | | Change order of index.ts since it not dictates to ordering of the docsFabio Berger2018-08-011-26/+27 | * | | | | | | | Remove unused dep so that it's not re-compiled onWatcherFabio Berger2018-08-011-1/+0 | * | | | | | | | Remove consoleFabio Berger2018-07-311-1/+0 | * | | | | | | | Standardize child namingFabio Berger2018-07-311-1/+12 | * | | | | | | | Update yarn.lockFabio Berger2018-07-301-127/+5 | * | | | | | | | Fix bugs in doc genFabio Berger2018-07-301-7/+11 | * | | | | | | | Move logic to publishUtils so can use as command-line and script importFabio Berger2018-07-304-297/+294 | * | | | | | | | Move typeFabio Berger2018-07-302-4/+9 | * | | | | | | | Move publish_release_notes to own script and other publish cleanupFabio Berger2018-07-304-98/+116 | * | | | | | | | Make monorepo-scripts a private package now that no other package depends on itFabio Berger2018-07-301-0/+1 | * | | | | | | | Add back the 'clean' commandFabio Berger2018-07-301-1/+2 | * | | | | | | | Remove no longer necessary includeFabio Berger2018-07-301-2/+1 | * | | | | | | | Fix package.jsonFabio Berger2018-07-301-1/+1 | * | | | | | | | Improve doc gen scriptFabio Berger2018-07-301-15/+17 | * | | | | | | | Add missing exports discovered by generating compact typedoc JSONFabio Berger2018-07-305-4/+32 | * | | | | | | | Remove all in-package monorepo-scripts by adding doc gen/upload and aggregate...Fabio Berger2018-07-3067-705/+400 * | | | | | | | | Merge pull request #1001 from 0xProject/fix/npm-login-with-packageAlex Browne2018-08-233-14/+158 |\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | * | | | | | | | Update CI config to check development instead of v2-prototype branchAlex Browne2018-08-231-1/+1 | * | | | | | | | fix: Make non-interactive npm login for publish tests more robustAlex Browne2018-08-232-13/+157 |/ / / / / / / / * | | | | | | | Merge pull request #974 from 0xProject/feature/connect/sra-api-v2Francesco Agosti2018-08-2358-812/+1002 |\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | * | | | | | | Run prettierfragosti2018-08-231-1/+1 | * | | | | | | Remove comment in updates json-schemas docfragosti2018-08-231-1/+0 | * | | | | | | Add documentation for json-schemasfragosti2018-08-232-0/+36 | * | | | | | | Fix typofragosti2018-08-222-1/+2 | * | | | | | | Remove artifactsfragosti2018-08-221-10036/+0 | * | | | | | | Update variable names, make release candidatefragosti2018-08-222-4/+4 | * | | | | | | Update more names in docsfragosti2018-08-211-3/+4 | * | | | | | | Improve documentationfragosti2018-08-213-6/+15 | * | | | | | | Pin sra-report to 0xproject/connect v1.0.4fragosti2018-08-213-2/+16 | * | | | | | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-08-21