webOS Nation Forums >  webOS Developer Forums >  Canuck Coding > Unified Diff Creator
Unified Diff Creator
  Reply
Like Tree10Likes

 
Thread Tools Display Modes
Old 12/07/2009, 09:35 PM   #21 (permalink)
Member
 
Posts: 127
Sent both to you , let me know if you havent received them by now...
mike_pre is offline   Reply With Quote
Old 12/07/2009, 09:43 PM   #22 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,852
Quote:
Originally Posted by mike_pre View Post
Sent both to you , let me know if you havent received them by now...
emailed ya back
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 12/31/2009, 11:40 AM   #23 (permalink)
Member
 
Posts: 1,259
Simply amazing. Good work. I just used this for the first time. Impressive.
bpdamas is offline   Reply With Quote
Old 01/26/2010, 12:40 PM   #24 (permalink)
Homebrew Developer
 
michote's Avatar
 
Posts: 183
I'm pretty new to patching.
I was trying to get some simple patches work on my german pre.
I recieved the original file using QI and saved the modified file.
Then I used your tool to create the patch. so far so good.
When I try to apply the patch I always get a Hunk failed error.
what did I wrong?
I attached the patch and the error-message.

michote
Attached Images
File Type: png Bildschirmfoto-Nachricht.png (14.2 KB, 32 views) Email Attachment
Attached Files
File Type: patch app-launcher-hide-musicplayer-app-de.patch (473 Bytes, 7 views) Email Attachment
michote is offline   Reply With Quote
Old 02/04/2010, 03:16 PM   #25 (permalink)
Member
 
Posts: 4
Quote:
Originally Posted by Jason Robitaille View Post

It's always best to start from the base unaltered files (extracting the webos rom from the webosdoctor is always handy for this) and build patches from there.

As long as the file you use as the "original" is the unaltered original, and your multiple patches don't edit the exact same lines, then GNU patch should be able to automatically adjust for muliple patches on the same file.
Jason, I'm having an incompatibility with a patch I wrote and your "Date as Carrier String" patch and they don't modify the same lines but modify nearby lines.. anything I can do to make it work whether they have your "Date as Carrier String" patch or not?

Here's my patch:
Code:
----------------------------------------------------------
Name: Show Top-Bar Time While Locked
Version: 1.3.5.1-1
Author: csmann19
Description: Shows the time in the top bar while the screen is locked and a call is incoming. Useful in knowing to answer or not when you are expecting a call at a certain time.  Only works after installing the "Date as Carrier String" patch.

--- .orig/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
+++ /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
@@ -343,7 +343,7 @@
 		
 	if (payload.locked != null) {
 		if (payload.locked) {
			$('date').hide();
-			$('clock').hide();
+			$('clock').show();
 			this.deviceLocked = true;
 		}
----------------------------------------------------------
Thanks!

-Chris

Last edited by pogeypre; 02/04/2010 at 05:01 PM.
csmann19 is offline   Reply With Quote
Old 02/23/2010, 05:29 AM   #26 (permalink)
Member
 
Posts: 472
Great tool, thanks a lot. I'd like to add something to the wishlist, if I may.

The file open windows have no window name in Win XP. So my macro that generates the input for dif, cannot see that those windows are indeed open. Because there is a great difference in timing to open those windows, the macro has to wait a very long time to be sure the window is open.

In other words, the macro is a kind of command line and needs to know whether the file open window is indeed open for input.

Sorry for the long explanation.
Dick99999 is offline   Reply With Quote
Old 03/15/2010, 02:59 PM   #27 (permalink)
Member
 
Loonytunes212's Avatar
 
Posts: 293
Thanks Jason and the op for this! It is awesome!
Loonytunes212 is offline   Reply With Quote
Old 03/15/2010, 08:44 PM   #28 (permalink)
Member
 
Posts: 194
this is great! i havent tried it yet, but im pretty excited to make some of my mods into patches.
samid is offline   Reply With Quote
Old 03/20/2010, 09:17 AM   #29 (permalink)
Member
 
mjkjr's Avatar
 
Posts: 1,045
Thank you. I just made my first patch with 'Unified Diff Creator'. I wasn't sure of a "safe" I could test my patch afterwards so I just dropped it right into WebOS QI. Now my very own patch is on my phone working flawless! Thanks again.
mjkjr is offline   Reply With Quote
Old 04/14/2010, 05:15 PM   #30 (permalink)
Member
 
Posts: 10
thanks, now I can make my own patches easyly!
ozhone is offline   Reply With Quote
Old 04/22/2010, 06:26 AM   #31 (permalink)
Member
 
errade's Avatar
 
Posts: 1,608
Jason, this app is incredibly useful. I'm just beginning to play around with creating my own patches and this tool has been invaluable
errade is offline   Reply With Quote
Old 05/20/2010, 01:07 PM   #32 (permalink)
Member
 
mrloserpunk's Avatar
 
Posts: 2,396
So i am working on creating my first patch. It is used to make changes to the dialpad.css and call-log.css in conjunction with my ZomPre Theme. I have the original files from a webos dr extraction, the edited files and the location of the files. I get the patch created and when I go to install it with webos quick install i get this error:

An Error occured when attempting to run /tmp/scriptFile.sh
patch: util.c:427 :savebuf: assertion 's && size' failed
aborted

i get 3 lines of the same error... any idea what i did wrong??
__________________
"When there is no more room in hell, the dead will walk the earth"


PM me your questions, If I cant find an answer, I'll show you who can.
mrloserpunk is offline   Reply With Quote
Old 05/20/2010, 09:18 PM   #33 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
@mrloserpunk after looking at your patch I think the problem lies with this statement. Do you have this font on your Pre font-family: bloody;
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Old 05/20/2010, 09:21 PM   #34 (permalink)
Member
 
mrloserpunk's Avatar
 
Posts: 2,396
Quote:
Originally Posted by mamouton View Post
@mrloserpunk after looking at your patch I think the problem lies with this statement. Do you have this font on your Pre font-family: bloody;
i do, I forgot I would need to add it to others though, but it doesnt explain the webos quickinstall error on my pre.... I have the font... switching the call log and dialpad files from stock to my created ones works fine with winscp, but i cant apply them at all with quick install...

I think i just responded in 3 different places... sorry!
__________________
"When there is no more room in hell, the dead will walk the earth"


PM me your questions, If I cant find an answer, I'll show you who can.
mrloserpunk is offline   Reply With Quote
Old 05/20/2010, 09:37 PM   #35 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
email me the files so I can see something if you don't mind.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Old 05/20/2010, 10:54 PM   #36 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
@mrloserpunk Remove the \ No new line statement from the very last line of your patch and your problem is solved.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Thanked By: mrloserpunk
Old 05/20/2010, 11:02 PM   #37 (permalink)
Member
 
mrloserpunk's Avatar
 
Posts: 2,396
Done! ISSUE FIXED!! Thanks a million man. Although it is a shame it takes 2 patches to get the dial pad and call log distributed as part of a theme



__________________
"When there is no more room in hell, the dead will walk the earth"


PM me your questions, If I cant find an answer, I'll show you who can.
mrloserpunk is offline   Reply With Quote
Old 05/20/2010, 11:03 PM   #38 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
You can combine them into one once you get the patches created. Copy and paste the entire file of one patch into the bottom of the other patch and save.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Old 05/20/2010, 11:18 PM   #39 (permalink)
Member
 
mrloserpunk's Avatar
 
Posts: 2,396
Quote:
Originally Posted by mamouton View Post
You can combine them into one once you get the patches created. Copy and paste the entire file of one patch into the bottom of the other patch and save.
wow. Simple Fantastic and thank you! Now for preware....
__________________
"When there is no more room in hell, the dead will walk the earth"


PM me your questions, If I cant find an answer, I'll show you who can.
mrloserpunk is offline   Reply With Quote
Old 06/14/2010, 02:13 AM   #40 (permalink)
Member
 
patricksmangan's Avatar
 
Posts: 1,238
anyone know why i cant open this .application file in windows 7?

i want to get into patching, but i'm new to all of this. thanks
patricksmangan is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0