Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxAUI
280Z28:
Here you go.
If I included main.h in the previous patch, I shouldn't have.
This includes the fix from a couple posts up too.
I can't post this on SF because I'm not logged in and can't modify a "nobody" post :(
[attachment deleted by admin]
mandrav:
LOL, this is even worse. Never mind, I 'll fix your original patch.
--- Quote from: ubuntu ---
(Stripping trailing CRs from patch.)
patching file src/environmentsettingsdlg.cpp
(Stripping trailing CRs from patch.)
patching file src/main.cpp
(Stripping trailing CRs from patch.)
patching file src/resources/env_settings.xrc
(Stripping trailing CRs from patch.)
patching file src/wxAUI/manager.cpp
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 40.
Hunk #3 FAILED at 145.
Hunk #4 FAILED at 156.
Hunk #5 FAILED at 168.
Hunk #6 FAILED at 184.
Hunk #7 FAILED at 193.
Hunk #8 FAILED at 213.
Hunk #9 FAILED at 260.
Hunk #10 FAILED at 268.
Hunk #11 FAILED at 293.
Hunk #12 FAILED at 351.
Hunk #13 FAILED at 381.
Hunk #14 FAILED at 395.
Hunk #15 FAILED at 415.
Hunk #16 FAILED at 492.
Hunk #17 FAILED at 602.
Hunk #18 FAILED at 647.
Hunk #19 FAILED at 742.
Hunk #20 FAILED at 922.
Hunk #21 FAILED at 957.
Hunk #22 FAILED at 1024.
Hunk #23 FAILED at 1038.
Hunk #24 FAILED at 1072.
Hunk #25 FAILED at 1100.
Hunk #26 FAILED at 1625.
Hunk #27 FAILED at 1651.
Hunk #28 FAILED at 1676.
Hunk #29 FAILED at 2303.
Hunk #30 FAILED at 2359.
Hunk #31 FAILED at 2449.
Hunk #32 FAILED at 2503.
Hunk #33 FAILED at 2591.
Hunk #34 FAILED at 2751.
Hunk #35 FAILED at 2800.
Hunk #36 FAILED at 2850.
Hunk #37 FAILED at 2868.
Hunk #38 FAILED at 2990.
Hunk #39 FAILED at 3084.
Hunk #40 FAILED at 3216.
Hunk #41 FAILED at 3254.
Hunk #42 FAILED at 3281.
Hunk #43 FAILED at 3307.
Hunk #44 FAILED at 3348.
Hunk #45 FAILED at 3410.
Hunk #46 FAILED at 3483.
Hunk #47 FAILED at 3529.
Hunk #48 FAILED at 3605.
Hunk #49 FAILED at 3947.
49 out of 49 hunks FAILED -- saving rejects to file src/wxAUI/manager.cpp.rej
(Stripping trailing CRs from patch.)
patching file src/wxAUI/manager.h
Hunk #1 FAILED at 26.
Hunk #2 FAILED at 45.
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 142.
Hunk #5 FAILED at 163.
Hunk #6 FAILED at 208.
Hunk #7 FAILED at 294.
Hunk #8 FAILED at 328.
Hunk #9 FAILED at 413.
Hunk #10 FAILED at 445.
Hunk #11 FAILED at 551.
Hunk #12 FAILED at 597.
12 out of 12 hunks FAILED -- saving rejects to file src/wxAUI/manager.h.rej
--- End quote ---
280Z28:
Only TortoiseSVN can apply patches created by TortoiseSVN :(
Although I wrote a Perl script to apply them without TSVN.
Edit: this is it. It'd have to be modified to use with another directory structure but you get the idea.
--- Code: ---# fix line endings
perl -pi -e 's/\r\n/\n/;' *.c *.h *.patch testing/*.c testing/*.h testing/Makefile
# prepare the checkout
perl -pi -e 's/\$Id[^\$]+\$/\$Id\$/;' *.c *.h testing/*.c testing/*.h testing/Makefile
# apply the patch
patch -p0 -N < library.patch
--- End code ---
Der Meister:
--- Quote from: 280Z28 on January 10, 2006, 10:40:32 pm ---Only TortoiseSVN can apply patches created by TortoiseSVN :(
--- End quote ---
I don't use TortoiseSVN but the plain svn can create patches (i.e. diff-files) that can be applied using the linux/unix tool 'patch'. Just run 'svn diff <the file you want to create the patch from> > yourpatchfile' (This produces a normal svn diff and saves the output in the file named 'yourpatchfile' - works on linux but should work also on Windows). To apply the patch just run 'patch -p yourpatchfile' (iirc).
280Z28:
0.9.1 doesn't detect a pane losing focus. The only way a pane become inactive is if another pane in the same FrameManager becomes active. Here's the idea of the fix:
Edit: removed until I find a better solution
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version