Closed
Bug 500596
Opened 15 years ago
Closed 15 years ago
add an isExternC to variable and function declarations
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: daniel, Assigned: daniel)
References
Details
Attachments
(1 file, 1 obsolete file)
2.31 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
Build Identifier: tip
after the patch isExternC will exist on all extern C function and variable declarations
Reproducible: Always
Assignee | ||
Comment 1•15 years ago
|
||
adds the property, and a test case
Updated•15 years ago
|
Assignee: nobody → daniel
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 2•15 years ago
|
||
(In reply to comment #1)
> Created an attachment (id=385323) [details]
> hg bundle
>
> adds the property, and a test case
Can you post that as a plain patch?
mercurial is complaining:
" an abort: 00changelog.i@3d3ec466400c: unknown parent"
Comment 3•15 years ago
|
||
If you're concerned about patches not being able to represent changes accurately, you should put the following in your ~/.hgrc file:
[diff]
git=true
That should get you git-style patches, which can record copies, renames, and the like.
Assignee | ||
Comment 4•15 years ago
|
||
Real actual patch instead of an hg bundle
Attachment #385323 -
Attachment is obsolete: true
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #3)
> If you're concerned about patches not being able to represent changes
> accurately ...
Actually entirely driven by ignorance. Never used hg before.
Comment 6•15 years ago
|
||
(In reply to comment #5)
> Actually entirely driven by ignorance. Never used hg before.
:) Okay. git-style patches (as enabled by the .hgrc gunk I posted) are the way things are generally done at Mozilla. People are used to reading them, Bugzilla has special support for them, etc. etc.
Mercurial bundles are compact and carry more mercurial metadata, but they're not human-readable, and they're not "reparentable": they only apply to a specific parent change set, unlike patches, which can be applied to anything that's sufficiently textual similar. Basically, bundles are what Mercurial ships across the network when you push and pull; Mercurial lets you treat them as files, too, for flexibility ("push" via thumb drives, say).
Comment 7•15 years ago
|
||
Fixed the testcase to actually fail when things aren't working, also not committing the C testcase at this time as the testsuite doesn't support C yet.
http://hg.mozilla.org/rewriting-and-analysis/dehydra/rev/a4711741cd98
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•