IP Library Granted Patent US 7,149,680
Granted Patent B2
US 7,149,680 · App. 10/017,059 · Granted Dec 12, 2006

System and method for providing language-specific extensions to the compare facility in an edit system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,149,680
App. No.
10/017,059
Granted
Dec 12, 2006
Kind
B2
Abstract

An extension of any n-file compare and/or merge utility in an edit system includes services provided by a parser attached to the edit system for the particular file type. A compare command in the edit system is enabled by an extension-registration process to query, upon activation, for any compare extensions supported by the parser. Selected files are displayed to a user with non-comparing elements highlighted according to a compare strategy selected with reference to the compare extensions.

Claims (59)

1. A method comprising:

selecting at least two documents for comparison, wherein the at least two documents contain source code written in at least one programming language;

identifying the at least one programming language as being utilized in the at least two documents;

in response to the identifying, associating a respective parser to each of the at least two documents, wherein each respective parser is tailored to parse documents that utilize a specific programming language;

determining whether all associated parsers are of a same type;

in response to determining that all associated parsers are of the same type, selecting and applying either a default compare strategy or a custom compare strategy when comparing the at least two documents; displaying the result of the comparing; and

in response to determining that not all associated parsers are of the same type, applying the default compare strategy; displaying the result of the comparing.

2. The method according to claim 1 , further comprising:

in response to selecting the custom compare strategy when comparing the at least two documents, selecting at least one compare option to be utilized in the custom compare strategy.

3. The method according to claim 1 , further comprising:

in response to selecting the custom compare strategy when comparing the at least two documents, displaying a compare dialog for selecting at least one compare option to be utilized in the custom compare strategy.

4. The method according to claim 1 , wherein the respective parser reads and analyzes documents according to file type, maintains document information throughout document editing, provides token colorization, provides a content-outline of the document, provides code-assist functions, provides automatic formatting of user input, provides navigation between classes and tokens, and provides language-sensitive help on contents of the document.

5. The method according to claim 1 , wherein the comparison is performed while ignoring comments.

6. The method according to claim 1 , wherein the comparison anticipates expected differences between the at least two documents including a change of a class or a variable name.

7. A computer-readable medium storing a computer-program

product, comprising instructions for: selecting at least two documents for comparison, wherein the at least two documents contain source code written in at least one programming language;

identifying the at least one programming language as being utilized in the at least two documents;

in response to the identifying, associating a respective parser to each of the at least two documents, wherein each respective parser is tailored to parse documents that utilize a specific programming language;

determining whether all associated parsers are of a same type;

in response to determining that all associated parsers are of the same type, selecting and applying either a default compare strategy or a custom compare strategy when comparing the at least two documents; displaying the result of the comprising; and

in response to determining that not all associated parsers are of the same type, applying the default compare strategy; displaying the result of the comparing.

8. The computer-readable medium according to claim 7 , storing a computer-program product, further comprising instructions for:

in response to selecting the custom compare strategy when comparing the at least two documents, selecting at least one compare option to be utilized in the custom compare strategy.

9. The computer-readable medium according to claim 7 , storing a computer-program product, further comprising instructions for:

in response to selecting the custom compare strategy when comparing the at least two documents, displaying a compare dialog for selecting at least one compare option to be utilized in the custom compare strategy.

10. The computer-readable medium according to claim 7 , wherein the computer program product further includes instructions for:

reading and analyzing documents according to file type;

maintaining document information throughout document editing;

providing token colorization;

providing a content-outline of the document;

providing code-assist functions;

providing automatic formatting of user input;

providing navigation between classes and tokens; and

providing language-sensitive help on contents of the document.

11. The computer-readable medium according to claim 7 , storing a computer program product, wherein the instructions for the comparison is performed while ignoring comments.

12. The computer-readable medium according to claim 7 , storing a computer program product wherein the instructions for the comparison anticipates expected differences between the at least two documents including a change of a class or a variable name.

13. A data processing system comprising:

at least one processor;

a system memory coupled to said processor, said system memory storing a computer program product including instructions for:

selecting at least two documents for comparison, wherein the at least two documents contain source code written in at least one programming language;

identifying the at least one programming language as being utilized in the at least two documents;

in response to the identifying, associating a respective parser to each of the at least two documents, wherein each respective parser is tailored to parse documents that utilize a specific programming language;

determining whether all associated parsers are of a same type; in response to determining that all associated parsers are of the same type, selecting and applying either a default compare strategy or a custom compare strategy when comparing the at least two documents; displaying the result of the comparing; and

in response to determining that not all associated parsers are of the same type, applying the default compare strategy;displaying the result of the comparing.

14. The data processing system according to claim 10 , wherein the computer program product further comprises instructions for:

in response to selecting the custom compare strategy when comparing the at least two documents, selecting at Least one compare option to be utilized in the custom compare strategy.

15. The data processing system according to claim 10 , wherein the computer program product further comprises instructions for:

in response to selecting the custom compare strategy when comparing the at least two documents, displaying a compare dialog for selecting at least one compare option to be utilized in the custom compare strategy.

16. The data processing system according to claim 10 , wherein the computer program product further comprises instructions for:

reading and analyzing documents according to file type;

maintaining document information throughout document editing;

providing token colorization;

providing a content-outline of the document;

providing code-assist functions;

providing automatic formatting of user input

providing navigation between classes and tokens; and

providing language-sensitive help on contents of the document.

17. The data processing system according to claim 10 , storing a computer program product, wherein the instructions for the comparison is performed while ignoring comments.

18. The data processing system according to claim 10 , wherein the comparison anticipates expected differences between the at least two documents including a change of a class or a variable name.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 13, 2015
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: LINKEDIN CORPORATION
Reel/Frame 035201/0479 →