Author Topic: RC3: VSDIFF doesn't work on iOS very well  (Read 3990 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
RC3: VSDIFF doesn't work on iOS very well
« on: November 05, 2014, 02:55:41 AM »

#1:From a terminal:
 
 
~ joe$ mkdir a ~ joe$ mkdir b ~ joe$ cp .bashrc a/file1 ~ joe$ cp .bashrc b/file1 ~ joe$ vsdiff a b 2014-11-04 18:39:27.912 vs[28860:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession: :~ joe$ 
When you run this you get two jumping SlickEdit icons in the dock.
One is a dialog claiming "File a/b does not exist".
This same command line and setup works as expected on Windows.
#2: "vsdiff -?" opens a *really* narrow window with the help text all wrapped and hard to read.
On Windows it opens wide enough to not wrap all the text.
#3: "vsdiff a/file1 b/file1"
This also opens two jumping icons on the dock.
1st is "files match, compare anyways?"
When I answer YES, I'm left with two Slick icons, one with a triangle overlaid.
The one with the triangle appears to be the actual side-by-side diff window.
The other one (that remains jumping for awhile), seems to not have a window associated.
Sure enough, when I do a "ps" from the cmd window:
28870 ttys001    0:03.38 vs
28887 ttys001    0:00.41 vsdiff a/file1 b/file1
28888 ttys001    0:01.85 /Applications/SlickEdit2014.app/Contents/MacOS/vs +new -q -st 0 -mdihide -r diff a/file1 b/file1



28870 is the "normal" vs that I have running, not related to the diff.


#4: When I click in the Diff window, then type Command-Q, I get "Command 'safe-exit' currently not allowed in Diff mode"
Note when the DIFF window first appears (given the above command from #3), even though the arrow keys will allow you to scroll up and down, the window does *not* appear to have focus.
At this point Command-Q does work - at least sometimes.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: RC3: VSDIFF doesn't work on iOS very well
« Reply #1 on: November 05, 2014, 01:50:29 PM »
If you try vsdiff in the latest v18 on Mavericks or Yosemite, you will noticed that it doesn't run at all. Changes to the OS have completely broken what we used to be able to do. The bouncing icons were the work around for vsdiff not running at all. We would still like to come up with a better solution.

vsdiff is a wrapper which runs "vs".

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: RC3: VSDIFF doesn't work on iOS very well
« Reply #2 on: November 05, 2014, 04:17:50 PM »
(Correction) There won't be two icons anymore where one is bouncing. There is still a menu bar. It's better but not perfect.

Command+Q will work in the next build but only if your emulation/key bindings has Command+Q bound to safe-exit.
« Last Edit: November 05, 2014, 06:38:55 PM by Clark »

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: RC3: VSDIFF doesn't work on iOS very well
« Reply #3 on: November 07, 2014, 01:29:46 AM »

#1: Still fails -- I cannot diff two folders from the command line.
Same syntax works on Windows, fails on Mac.




#2: vsdiff -?: Still opens a really narrow window.

The bouncing icons are better.
When I run "vsdiff a/file1 b/file1" I still get two icons though - they just aren't bouncing :-)


jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: RC3: VSDIFF doesn't work on iOS very well
« Reply #4 on: November 07, 2014, 01:40:55 AM »
#1: OK, On Windows I can
   vsdiff a b
and diff two folders.


On Mac, I have to do
   vsdiff a/ b/


Otherwise slick complains it cannot find "a/b"