aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-buffer.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-26 09:26:29 +0800
committerDan Winship <danw@src.gnome.org>2000-04-26 09:26:29 +0800
commit69213446495dd586b0b92ff8ad5bb4c4278ecf8a (patch)
tree15bff43e04b3c62c369e2067c4b0b9a7c242f6a8 /camel/camel-stream-buffer.c
parent390beacc98a9f704d75298d8e0c2b8a97ec71b5b (diff)
downloadgsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.gz
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.zst
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.zip
only return TRUE if the parent is at eos AND the buffer has been exhausted
* camel-stream-buffer.c (_eos): only return TRUE if the parent is at eos AND the buffer has been exhausted svn path=/trunk/; revision=2621
Diffstat (limited to 'camel/camel-stream-buffer.c')
-rw-r--r--camel/camel-stream-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-stream-buffer.c b/camel/camel-stream-buffer.c
index cd394e3f81..4830758c9c 100644
--- a/camel/camel-stream-buffer.c
+++ b/camel/camel-stream-buffer.c
@@ -379,7 +379,7 @@ _eos (CamelStream *stream)
{
CamelStreamBuffer *sbf = CAMEL_STREAM_BUFFER (stream);
- return camel_stream_eos(sbf->stream);
+ return camel_stream_eos(sbf->stream) && sbf->ptr == sbf->end;
}
static void
p;id=055763cceb9951b038b07488ddc7ae35210f1efe'>Fix bug where wiki links in dev dropdown weren't working when on the wikiFabio Berger2018-10-053-78/+93 | * Fix react warningFabio Berger2018-10-051-1/+1 | * remove stray logsFabio Berger2018-10-052-2/+0 | * merge base branchFabio Berger2018-10-05154-1229/+3646 | |\ | |/ |/| * | merge developmemntFabio Berger2018-10-05154-1228/+3672 |\ \ | * \ Merge pull request #1115 from 0xProject/upgradeWebpackFabio Berger2018-10-0514-493/+307 | |\ \ | | * | force re-buildFabio Berger2018-10-041-1/+1 | | * | Add website build to instructionsFabio Berger2018-10-041-0/+3 | | * | Revert format and re-add changesFabio Berger2018-10-041-256/+256 | | * | Build website in parallel with other tests since no other test relies on it b...Fabio Berger2018-10-043-254/+256 | | * | Add back sourceMap support for both dev/prodFabio Berger2018-10-041-1/+1 | | * | Upgrade webpackFabio Berger2018-10-0411-485/+294 | |/ / | * | Merge pull request #1112 from 0xProject/feature/instant/umd-upload-and-bundle...Francesco Agosti2018-10-041-0/+3 | |\ \ | | * | Add 0x Instant to bundle analysisfragosti2018-10-041-0/+3 | * | | Merge pull request #1108 from 0xProject/bug/every-artifact-has-every-sourceF. Eugene Aumson2018-10-041-5/+82 | |\ \ \ | | |/ / | |/| | | | * | fix: comment need for sourceCodes pruningF. Eugene Aumson2018-10-031-1/+5 | | * | fix: use original source ID's from compiler outputF. Eugene Aumson2018-10-031-13/+24 | | * | Fix some small bugs in compiler.tsAlex Browne2018-10-031-3/+18 | | * | fix: persist artifacts with only relevant sourcesF. Eugene Aumson2018-10-031-5/+52 | * | | Merge pull request #1109 from 0xProject/feature/instant/initFrancesco Agosti2018-10-0317-64/+1959 | |\ \ \ | | * | | Fix typo in build:cifragosti2018-10-031-1/+1 | | * | | Make package privatefragosti2018-10-031-0/+1 | | * | | Ignore bundles in public dirfragosti2018-10-033-32/+2 | | * | | Add to READMEfragosti2018-10-031-0/+20 | | * | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-10-03126-683/+1825 | | |\| | | | * | | Add public dirfragosti2018-10-034-0/+62 | | * | | Add build:ci commandfragosti2018-10-031-0/+1 | | * | | Add dev environmentfragosti2018-10-035-26/+150 | | * | | Clean up package jsonfragosti2018-10-032-47/+1183 | | * | | Tests are working with coveragefragosti2018-10-032-0/+23 | | * | | Have React setup with basic build workingfragosti2018-09-2812-40/+580 | * | | | Merge pull request #1086 from 0xProject/feature/asset-buyer/improve-asset-buy...Brandon Millman2018-10-0310-359/+207 | |\ \ \ \ | | |_|/ / | |/| | | | | * | | Update READMEBrandon Millman2018-10-031-14/+0 | | * | | Fix linter errorsBrandon Millman2018-10-031-1/+1 | | * | | Merge branch 'development' into feature/asset-buyer/improve-asset-buyer-managerBrandon Millman2018-10-03197-1205/+3860 | | |\ \ \ | | |/ / / | |/| | | | * | | | Merge pull request #1104 from 0xProject/feature/bundlesizeLeonid Logvinov2018-10-0252-99/+216 | |\ \ \ \ | | * | | | Change cache key back to repo from repo-builtLeonid Logvinov2018-10-021-8/+8 | | * | | | Change the lint command backLeonid Logvinov2018-10-021-1/+1 | | * | | | Merge build & installLeonid Logvinov2018-10-021-34/+4 | | * | | | Remove deps cache all togetherLeonid Logvinov2018-10-021-50/+1 | | * | | | Cache all nested node_modules directoriesLeonid Logvinov2018-10-021-5/+42 | | * | | | Explicitly specify yarn cache folderLeonid Logvinov2018-10-021-1/+1 | | * | | | Ignore linter issuesLeonid Logvinov2018-10-021-3/+3 | | * | | | Fix linter issueLeonid Logvinov2018-10-0214-45/+31 | | * | | | Separate deps and built cachesLeonid Logvinov2018-10-021-16/+16 | | * | | | Build tslint rules before running linterLeonid Logvinov2018-10-021-0/+1 | | * | | | Cache yarn cache directory without node modulesLeonid Logvinov2018-10-021-1/+0 | | * | | | Run linter before prettier as it fails more oftenLeonid Logvinov2018-10-021-1/+1 | | * | | | Add yarn cache pathLeonid Logvinov2018-10-021-0/+1 | | * | | | Split CI install and build stepsLeonid Logvinov2018-10-022-6/+29 | | * | | | Move bundle-size out of static tests and don't wait for a build with static t...Leonid Logvinov2018-10-021-3/+11 | | * | | | Introduce a build:ci command that doesn't build webpack bundlesLeonid Logvinov2018-10-0234-0/+34 | | * | | | Measure only one bundle size as they're the sameLeonid Logvinov2018-10-021-3/+0 | | * | | | Fix linter errorsLeonid Logvinov2018-10-021-1/+1 | | * | | | Fix no_website CI buildsLeonid Logvinov2018-10-021-1/+1 | | * | | | Check bundle size on CILeonid Logvinov2018-10-021-0/+1 | | * | | | Add a command to run bundle size reporterLeonid Logvinov2018-10-022-35/+144 | |/ / / / | * | | | Merge pull request #1106 from 0xProject/feature/postpublish-cleanupLeonid Logvinov2018-10-027-7/+7 | |\ \ \ \ | | * | | | Update package.json versions to match the npm onesLeonid Logvinov2018-10-027-7/+7 | |/ / / / | * | | | Updated CHANGELOGSLeonid Logvinov2018-10-0254-0/+351 | * | | | Remove 0x.js bundles from .npmignoreLeonid Logvinov2018-10-021-1/+0 | * | | | Add Jason to websiteBrandon Millman2018-10-022-0/+7 | * | | | Add missing yarn.lock changesFabio Berger2018-10-021-0/+27 | * | | | Fix bug in sol-docFabio Berger2018-10-022-5/+5 | * | | | Merge pull request #1099 from 0xProject/solidityDocRefImprovementsFabio Berger2018-10-0119-368/+674 | |\ \ \ \ | | * | | | Disable max file line count tslint rule for types fileFabio Berger2018-10-011-1/+1 | | * | | | merge developmentFabio Berger2018-09-30102-337/+807 | | |\ \ \ \ | | |/ / / / | |/| | | | | | * | | | Add test that structs are documented in separate sectionFabio Berger2018-09-291-0/+7 | | * | | | Add test for methodSignature gen for methods with param/return structsFabio Berger2018-09-292-0/+44 | | * | | | Fix testsFabio Berger2018-09-291-4/+1 | | * | | | Fix typoFabio Berger2018-09-291-2/+2 | | * | | | Export class instead of functionFabio Berger2018-09-295-526/+529 | | * | | | Fix badge alignmentFabio Berger2018-09-281-1/+1 | | * | | | Fix network badges for V1 and add them for V2Fabio Berger2018-09-281-16/+44 | | * | | | Add more basic typesFabio Berger2018-09-281-1/+1 | | * | | | Fix section headersFabio Berger2018-09-281-1/+1 | | * | | | Only add Stucts section if there are anyFabio Berger2018-09-281-9/+11 | | * | | | Fix missing devdoc comments in output by fixing improper encoding of methodSi...Fabio Berger2018-09-281-1/+10 | | * | | | Switch over remaining usage of `sections.types` for `typeSectionName`Fabio Berger2018-09-281-2/+2 | | * | | | Fix linterFabio Berger2018-09-283-3/+4 | | * | | | Explain cast to anyFabio Berger2018-09-281-0/+2 | | * | | | Improve switch caseFabio Berger2018-09-281-4/+4 | | * | | | Improve commentFabio Berger2018-09-281-4/+4 | | * | | | AlphabetizeFabio Berger2018-09-281-2/+2 | | * | | | Remove excessive typeFabio Berger2018-09-281-2/+1 | | * | | | Include structs section so that we can render struct params/return values pro...Fabio Berger2018-09-283-27/+213 | | * | | | Fix linterFabio Berger2018-09-281-2/+2 | | * | | | Only show arguments if the params are named (i.e not generated getters)Fabio Berger2018-09-281-3/+4 | | * | | | Improve keysFabio Berger2018-09-283-8/+10 | | * | | | Re-use interface component for rendering structs but label it differentlyFabio Berger2018-09-281-2/+2 | | * | | | Make sure basic solidity types are colored orangeFabio Berger2018-09-281-1/+2 | | * | | | Don't render colon for auto-generated gettersFabio Berger2018-09-281-2/+7 | | * | | | Render fallback functions betterFabio Berger2018-09-282-4/+9 | | * | | | Improve keyFabio Berger2018-09-281-2/+2 | | * | | | Fix dropdown menu item so it says "0x smart contracts" not "smart contract"Fabio Berger2018-09-281-1/+1 | | * | | | Rename for clarityFabio Berger2018-09-281-3/+3 | | * | | | Add typeSectionName to docsInfo so we don't use hard-coded "Types"Fabio Berger2018-09-282-4/+6 | | * | | | Add more robust keyFabio Berger2018-09-281-2/+3 | | * | | | Pull in only contracts we want rendered on the doc pageFabio Berger2018-09-281-1/+1 | | * | | | Split _genMethodDoc into it and _genFallbackDoc for clarity. Add isFallback b...Fabio Berger2018-09-272-22/+33 | | | * | | Clean up interfaces and exportsBrandon Millman2018-10-032-40/+38 | | | * | | Remove static methods to retrieve assetDatas from SRABrandon Millman2018-10-031-19/+0 | | | * | | Add AssetUnavailable errorBrandon Millman2018-10-032-7/+4 | | | * | | Merge AssetBuyer and AssetBuyerManagerBrandon Millman2018-10-035-326/+148 | | | * | | Add to CHANGELOGfragosti2018-09-251-0/+9 | | | * | | Merge branch 'development' of https://github.com/0xProject/0x-monorepo into f...fragosti2018-09-2595-338/+752 | | | |\ \ \ | | | * | | | Make package public again, but add warningfragosti2018-09-252-1/+3 | | | * | | | Add AssetBuyerManager to READMEfragosti2018-09-251-0/+14 | | | * | | | Use options object convention everywhere, and make package privatefragosti2018-09-257-142/+106 | | | * | | | Provide convenience methods on AssetBuyerManagerfragosti2018-09-252-1/+43 | | | * | | | Rename StandardRelayerAPIAssetBuyerManager to just AssetBuyerManager and gene...fragosti2018-09-254-28/+61 | | | | | | * Convert more divs to ContainersFabio Berger2018-10-042-49/+44 | | | | | | * Use Container and Text where possibleFabio Berger2018-10-041-12/+11 | | | | | | * rename for clarityFabio Berger2018-10-041-2/+2 | | | | | | * Fix linterFabio Berger2018-10-046-25/+12 | | | | | | * Remove todoFabio Berger2018-10-041-1/+0 | | | | | | * Improve commentFabio Berger2018-10-041-3/+4 | | | | | | * Use nestedSidebarMenu component for Dev homeFabio Berger2018-10-042-43/+20 | | | | | | * Fix nitFabio Berger2018-10-031-1/+1 | | | | | | * Remove stray console.logFabio Berger2018-10-031-2/+0 | | | | | | * Use same Link UI component for react-scroll linksFabio Berger2018-10-0328-136/+212 | | | | | | * remove stray consoleFabio Berger2018-10-031-3/+0 | | | | | | * Make whole bottom bar clickable not just the textFabio Berger2018-10-031-13/+13 | | | | | | * Don't make opening links in new tab a defaultFabio Berger2018-10-031-3/+6 | | | | | | * Decrease size of section descriptionsFabio Berger2018-10-031-1/+1 | | | | | | * Add border underneath logo while user is scrollingFabio Berger2018-10-032-6/+30 | | | | | | * Align logo and menuFabio Berger2018-10-031-11/+11 | | | | | | * Add padding to bottom of scroll areaFabio Berger2018-10-031-3/+7 | | | | | | * Fix linkFabio Berger2018-10-031-1/+6 | | | | | | * Make tutorial buttons also open in a new tabFabio Berger2018-10-031-3/+18 | | | | | | * Convert remaining Links to new UI componentFabio Berger2018-10-033-4/+31 | | | | | | * Use new Link UI component everywhere, and add complementary ALink typeFabio Berger2018-10-0320-347/+424 | | | | | | * Improve mobile paddingFabio Berger2018-10-021-1/+1 | | | | | | * Fix hoveringFabio Berger2018-10-021-2/+2 | | | | | | * Simplify helper methodsFabio Berger2018-10-021-23/+13 | | | | | | * Use colors moduleFabio Berger2018-10-021-2/+2 | | | | | | * Use container instead of divFabio Berger2018-10-021-8/+1 | | | | | | * Move more copy to translation filesFabio Berger2018-10-027-8/+36 | | | | | | * Make menuSubsectionsBySection optionalFabio Berger2018-10-023-4/+6 | | | | | | * Rename for clarityFabio Berger2018-10-021-3/+3 | | | | | | * Move constants before configs and add TODO commentFabio Berger2018-10-021-8/+9 | | | | | | * Add comment about link componentFabio Berger2018-10-021-0/+5 | | | | | | * Move colors to colors.ts fileFabio Berger2018-10-022-4/+6 | | | | | | * Fix bug where button wouldn't be highlighted after hitting browser back butto...Fabio Berger2018-10-021-0/+4 | | | | | | * Prefer basscss over styleFabio Berger2018-10-021-1/+1 | | | | | | * Further shorten descriptionFabio Berger2018-10-025-6/+6 | | | | | | * Fix linterFabio Berger2018-10-012-13/+3 | | | | | | * Disable max file size tslint rule for types fileFabio Berger2018-10-011-1/+1 | | | | | | * Fix bug where main content scrollbar wasn't showing up after navigating back ...Fabio Berger2018-10-011-3/+6 | | | | | | * Fix incorrect merge errorsFabio Berger2018-10-012-2/+1 | | | | | | * Hide .svg file contents from PR review diffFabio Berger2018-10-011-0/+1 | | | | | | * Revert command nameFabio Berger2018-10-011-1/+1 | | | | | | * fix mergeFabio Berger2018-10-012-7/+12 | | | | | | |\ | |_|_|_|_|_|/ |/| | | | | | * | | | | | | mergeFabio Berger2018-10-0112-129/+253 |\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | * | | | | | Merge pull request #1027 from 0xProject/dev-dropdownFabio Berger2018-09-1719-269/+371 | |\ \ \ \ \ \ | | * | | | | | Use Container instead of divFabio Berger2018-09-171-6/+10 | | * | | | | | Fix linterFabio Berger2018-08-301-1/+1 | | * | | | | | Fix prettierFabio Berger2018-08-291-1/+1 | | | | | | | * Merge branch 'dev-section-redesign' into doc-overview-pageFabio Berger2018-10-0188-236/+553 | | | | | | | |\ | |_|_|_|_|_|_|/ |/| | | | | | | * | | | | | | | Publishethereum-types@1.0.9contracts@2.1.48@0xproject/website@0.0.53@0xproject/web3-wrapper@3.0.2@0xproject/utils@2.0.0@0xproject/typescript-typings@3.0.0@0xproject/types@1.1.2@0xproject/testnet-faucets@1.0.50@0xproject/subproviders@2.0.6@0xproject/sra-spec@1.0.5@0xproject/sra-report@1.0.12@0xproject/sol-resolver@1.0.12@0xproject/sol-doc@1.0.1@0xproject/sol-cov@2.1.6@0xproject/sol-compiler@1.1.6@0xproject/react-shared@1.0.13@0xproject/react-docs@1.0.12@0xproject/order-watcher@2.1.0@0xproject/order-utils@1.0.6@0xproject/monorepo-scripts@1.0.10@0xproject/migrations@1.0.13@0xproject/metacoin@0.0.22@0xproject/json-schemas@1.0.5@0xproject/fill-scenarios@1.0.6@0xproject/dev-utils@1.0.11@0xproject/contract-wrappers@2.0.1@0xproject/connect@3.0.0@0xproject/base-contract@3.0.0@0xproject/asset-buyer@1.0.2@0xproject/assert@1.0.12@0xproject/abi-gen@1.0.120x.js@1.0.7Fabio Berger2018-09-2932-225/+225 * | | | | | | | Updated CHANGELOGSFabio Berger2018-09-2954-6/+320 * | | | | | | | Un-nest the interface to fix the doc renderingFabio Berger2018-09-292-5/+8 | |_|_|_|_|/ / |/| | | | | | | | | | | | * Update react-scroll to include fix of using `history.replaceState` instead of...Fabio Berger2018-10-011-1/+1 | | | | | | * Rename website `yarn watch_without_deps` to `yarn dev`Fabio Berger2018-09-291-1/+1 | | | | | | * Convert package descriptions to markdown and linkify themFabio Berger2018-09-281-11/+16 | | | | | | * Fix minor scrolling issueFabio Berger2018-09-281-1/+1 | | | | | | * Add mobile menu to overview pageFabio Berger2018-09-282-3/+23 | | | | | | * Add back ability to listen for menu click events from the sidebarFabio Berger2018-09-281-1/+11 | | | | | | * Add sidebar menu, proper scrolling and mobile-optimizeFabio Berger2018-09-283-91/+203 | | | | | | * Make sidebar menu item formatting optional so package names (with hyphens) re...Fabio Berger2018-09-281-5/+14 | | | | | | * Shorten tutorial descriptionsFabio Berger2018-09-285-15/+10 | | | | | | * Import ObjectMap from types now that it's movedFabio Berger2018-09-281-1/+2 | | | | | | * merge developmentFabio Berger2018-09-28522-111099/+44226 | | | | | | |\ | |_|_|_|_|_|/ |/| | | | | | * | | | | | | Merge pull request #1090 from 0xProject/bug/contract-wrappers/handle-revert-w...Jacob Evans2018-09-283-2/+129 |\ \ \ \ \ \ \ | * | | | | | | Handle revert with reason when decoding call resultJacob Evans2018-09-283-2/+129 * | | | | | | | Remove yarn postinstall hack (#1098)Alex Browne2018-09-282-5/+3 |/ / / / / / / * | | | | | | Merge pull request #1097 from 0xProject/feature/export-expiration-watcherLeonid Logvinov2018-09-272-0/+10 |\ \ \ \ \ \ \ | * | | | | | | Add PR numberLeonid Logvinov2018-09-271-1/+2 | * | | | | | | Export ExpirationWatcher from OrderWatcherLeonid Logvinov2018-09-272-0/+9 |/ / / / / / / * | | | | | | Merge pull request #1069 from 0xProject/feature/ts-ethersLeonid Logvinov2018-09-2723-100/+106 |\ \ \ \ \ \ \ | * | | | | | | Fix linter errorsLeonid Logvinov2018-09-271-2/+3 | * | | | | | | Remove ethers.js carret as it's a beta versionLeonid Logvinov2018-09-2711-11/+11 | * | | | | | | Throw revert reasons from contract wrappersLeonid Logvinov2018-09-271-0/+1 | * | | | | | | Throw revert reasons from contract wrappersLeonid Logvinov2018-09-272-0/+17 | * | | | | | | Merge branch 'development' into feature/ts-ethersLeonid Logvinov2018-09-26164-1095/+3111 | |\ \ \ \ \ \ \ | * | | | | | | | Add CHANGELOG entriesLeonid Logvinov2018-09-212-1/+11 | * | | | | | | | Fix the way we detect BN'sLeonid Logvinov2018-09-212-1/+9 | * | | | | | | | Fix linter issueLeonid Logvinov2018-09-211-1/+1 | * | | | | | | | Remove unused importLeonid Logvinov2018-09-211-1/+0 | * | | | | | | | Fixes for the breaking changes in ethersLeonid Logvinov2018-09-193-9/+15 | * | | | | | | | Upgrade contract_templates to work with ethers 4.0Leonid Logvinov2018-09-193-16/+10 | * | | | | | | | Remove types for ethers.jsLeonid Logvinov2018-09-192-55/+9 | * | | | | | | | Upgrade to TS version of ethersLeonid Logvinov2018-09-1913-18/+34 * | | | | | | | | Merge pull request #1096 from 0xProject/fixIsValidECSignatureFabio Berger2018-09-272-1/+13 |\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | * | | | | | | | Fix PR nrFabio Berger2018-09-271-1/+1 | * | | | | | | | Add address normalization to isValidECSignature methodFabio Berger2018-09-272-1/+13 |/ / / / / / / / * | | | | | | | Remove RC version warningsFabio Berger2018-09-273-6/+0 * | | | | | | | Merge pull request #1094 from 0xProject/feature/website/coinbase-wallet-porta...Francesco Agosti2018-09-2710-18/+71 |\ \ \ \ \ \ \ \ | * | | | | | | | remove items-center classnamefragosti2018-09-261-1/+1 | * | | | | | | | Change clay to Ecosystem Development Leadfragosti2018-09-261-1/+1 | * | | | | | | | Update everything to Coinbase Wallet instead of Toshifragosti2018-09-268-16/+69 * | | | | | | | | Merge pull request #1093 from feuGeneA/sol-doc-fixesF. Eugene Aumson2018-09-271-0/+2 |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | * | | | | | | | fix: add bin file for sol-doc cliF. Eugene Aumson2018-09-261-0/+2 * | | | | | | | | Merge pull request #1088 from 0xProject/fix/website/relayers-columnFrancesco Agosti2018-09-261-1/+5 |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | * | | | | | | | When number of relayers is less than number of columns, reduce column number ...Brandon Millman2018-09-261-1/+5 * | | | | | | | | Merge pull request #1004 from feuGeneA/sol-docF. Eugene Aumson2018-09-26