[tw] Re: New Chrome support status update?

2011-09-01 Thread PMario
Thx for the hint.
Tried it just now, with Chromium 12, Ubuntu 11.04

1) install java plugin:
$: sudo apt-get install sun-java6-jre sun-java6-plugin

2) enable file cookie support:
 --enable-file-cookies

3) enable import from files:
 --allow-file-access-from-files

4) create a starter link like:
chromium-browser --allow-file-access-from-files --enable-file-cookies

==

If you want to import tiddlers from a file, don't use the browse for
a file button, since it creates an error message and a link like:
file:///C:/fakepath/importTW.html which won't work. (I'll create an
issue at github about this)

use:
Enter the URL or pathname here:

with something like:
file:///path/to/importTW.html

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread PMario
There may be some hints at:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/8f65fb30f1c91154?hl=en
-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread PMario
and:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/64da1829c8e96461?hl=en
-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Linux + Google Chrome

2011-09-01 Thread PMario
This [1] may help.
If you use win, the start options are needed.

http://groups.google.com/group/tiddlywiki/msg/15afbec598889ace?hl=en

have fun!
mario

On Aug 30, 2:33 pm, kellemes bordu...@gmail.com wrote:
 TiddlyWiki 2.6.4
 Chromium 12.0.742.112

 Downloaded empty.html with TiddlySaver.jar to local dir but when
 saving changes I get:
 The original file 'empty.html' does not appear to be a valid
 TiddlyWiki
 It's the original file as downloaded from the tw site..

 Latest stable Chrome gives same result..
 Using Firefox it works fine.. but Firefox is no option for me..

 Any idea?

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: File name length and getting the wiki a privacy exception?

2011-09-01 Thread rakugo
On Sep 1, 1:42 am, Sebiale jjmg...@yahoo.com wrote:
 I'm using Firefox.
 I imagine the scenario was number 2.
 I've renamed the latest html and just turned off the backup option for
 now.

Let us know if the problem comes back!

 Still can't figure out how to keep permission from being requested
 after each startup, though I'm not sure if it's a good or bad thing
 that it stay that way.

 Also, can't seem to update the core code, keeps saying there's an
 error with the new core code

The latest version of Firefox prevents upgrading your TiddlyWiki as it
has tightened some security holes that TiddlyWiki took advantage of.
To upgrade the new process is to download the latest TiddlyWiki and
import your existing content.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread Marc J. Cawood
Thanks PMario, I can confirm it's working if both TWs are on localhost.

Time to investigate CORs because tiddlywiki.com seems to suggest you can 
point your local (file) TW at tiddlywhatever.com and it will work...

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/sj6oj2lVbq4J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread Marc J. Cawood
What's this HTTP header X-Requested-With in httpReq? Does that force 
sites to send CORs info (Access-Control-Allow-Origin)?

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/T3JWtDHJDrMJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread Marc J. Cawood
OK, as expected, tampering with the response and adding:

Access-Control-Allow-Origin: *

Solves the cross-domain issue. I wonder why tiddlythemes.com *et al* don't 
add this by default.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/CZPlS7jdRo0J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: one column and mobile view for iphone on tiddlyspace

2011-09-01 Thread Daniel
Good to hear it works on android too.

I realise that including the space doesn't work, so to use it you have to 
manually do the same in each space you want to create mobile friendly views 
on.

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/t4B-HKv4dtYJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread PIon

Access-Control-Allow-Origin: *

Where is this to be added?  I have been driven batty by inability to
save TW's and to import
at all, and to upgrade to 2.6.4 therefore, since  recent upgrades of
software and
browsers.

Ideally I am trying to run Mac OS X 10.6.8, Firefox 7.0 and Safari 5.1
and view TWs
which have usually been upgraded to 2.6.2.  These have been essential
tools for me
but now do not function at all.

 It looks for instance as though FireFox has a memory leak since if I
try to save a TW
the memory use jumps by 1GB or so and uses all available RAM, then
finally I can
get a 'stack overflow' message.  Otherwise it's just a matter of the
usual
It's not possible to save changes. Possible ...
and
Error getting list of tiddlers, click Cancel to try again
messages.

I'm flailing by now, but willing if need be to have things in the same
directory,
or to use and old Firefox 3.6, or whatever is necessary to bridge the
period in which somebody has to figure some the correct revisions.
Unofrtunatly I need the newer browsers for their MathML support (whcih
can be very nice in TiddlyWiki with MathJax already (if the TW runs
at all, which is not the present circumstance!)

Hopefully,

   Patrick

P.S.  Does anyone have any success in installing and operating
TiddlyWeb
which sounds as though it could provide a saving mechanism at least?

On Sep 1, 5:53 am, Marc J. Cawood cawo...@gmail.com wrote:
 OK, as expected, tampering with the response and adding:

 Access-Control-Allow-Origin: *

 Solves the cross-domain issue. I wonder why tiddlythemes.com *et al* don't
 add this by default.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Import Tiddlers for Dummies

2011-09-01 Thread Marc J. Cawood
@Patrick, when you import tiddlers from, say, tiddlytools.com then 
tiddlytools.com needs to add the header I mentioned. However, since it 
doesn't, I needed to tamper with the response using Fiddler. I did this 
manually but you can write a simple two-line script in fiddler which does it 
automatically. It just means you have to start fiddler before you import. 
I'll ask Jeremy if he won't make a proxy which allows us all to import 
easily...

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/Sr8mX-2R73MJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Selecting input boxes with jQuery

2011-09-01 Thread Trey
Hey all,
I'm writing my first plugin.  It will enable gmail style, non-
simultanious hotkeys - as in, press g then i to go to your inbox.  I
have basic functionality already working.  However, I need to stop the
hotkeys from firing when an input box is selected.

To find inputs with focus, I'm trying to use something like:

$('input').focus(function() {
inputHasFocus = true; // Set true if a Form-Field is selected
}).blur(function() {
inputHasFocus = false; // Set false if a Form-Field has left
});

But that doesn't work at all.  The official docs on :focus include
this simple example:

   $(input).focus(function () {
 ...do something
});

(http://api.jquery.com/focus/)
But I can't even get that to work.  jQuery does not seem to be able to
find the input boxes.  What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Calling various macros as functions

2011-09-01 Thread Trey
From the hotkey plugin I'm developing, I'd like to be able to do
things like create new tiddlers, or edit the currently selected
tiddler.  However, these are macros.  I don't know much about this and
couldn't find a good reference (please let me know of one if it
exists) so I started digging around in the core...

something like saving all tiddlers is easy.
--- if (conditions) {saveChanges();}

But to create a new tiddler I have only found this:
--- config.macros.newTiddler.handler =
function(place,macroName,params,wikifier,paramString)
which isn't something I can call.

How do I get to that macro functionality from my plugin?
Tr3y

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Calling various macros as functions

2011-09-01 Thread PMario
No answers but some resources :)

http://oldwiki.tiddlywiki.org/wiki/Dev:Core_Code_Overview
http://www.tiddlytools.com/insideTW/

have fun!
-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] ImportTiddlers not working on Firefox?

2011-09-01 Thread Himanshu
Hi all,

Updated Firefox recently (Mac OSX 10.7, Firefox stable 6.0.1) and just
discovered that Eric's ImportTiddlers plugin does not work. All I get
is either '0 tiddlers' or '1 tiddler', which might be the URL itself
(the behaviour expected if the file is not correctly formatted)
Searching through the groups, I tried the following suggestions:

 - Disabled the plugin and used the bookmarklets version (http://
tiddlytools.com/#InstantBookmarklets) - Didn't work
- Reinstalled the plugin - Didn't work

So I got rid of the plugin altogether, and tried using Tiddlywiki
core's implementation of import tiddlers. To my surprise, that didn't
work either.

Both - the core and the plugin work perfectly in Safari. And, even
Camino.

Any ideas? Anyone else seeing the same problem?

Thanks,

Himanshu

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: ImportTiddlers not working on Firefox?

2011-09-01 Thread Himanshu
Never mind. Got it working.

Read another similar post on this group that explained the problem.
Got it working again by using the ForceCORS extension for Firefox.

Regards,

Himanshu


On Sep 2, 9:15 am, Himanshu hrshu...@gmail.com wrote:
 Hi all,

 Updated Firefox recently (Mac OSX 10.7, Firefox stable 6.0.1) and just
 discovered that Eric's ImportTiddlers plugin does not work. All I get
 is either '0 tiddlers' or '1 tiddler', which might be the URL itself
 (the behaviour expected if the file is not correctly formatted)
 Searching through the groups, I tried the following suggestions:

  - Disabled the plugin and used the bookmarklets version (http://
 tiddlytools.com/#InstantBookmarklets) - Didn't work
 - Reinstalled the plugin - Didn't work

 So I got rid of the plugin altogether, and tried using Tiddlywiki
 core's implementation of import tiddlers. To my surprise, that didn't
 work either.

 Both - the core and the plugin work perfectly in Safari. And, even
 Camino.

 Any ideas? Anyone else seeing the same problem?

 Thanks,

 Himanshu

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Selecting input boxes with jQuery

2011-09-01 Thread ionobr...@gmail.com
All,
figured this out by doing the following:

function function1() {
var m = document.activeElement.type;
if (m == 'text' || m == 'textarea') {
   // don't do anything
} else {
   // do hotkey stuff
}

I'm still stumped as to why the :input selector method didn't work.
But this can be made equivalent.

Tr3y



On Thu, Sep 1, 2011 at 3:53 PM, Trey ionobr...@gmail.com wrote:

 Hey all,
 I'm writing my first plugin.  It will enable gmail style, non-
 simultanious hotkeys - as in, press g then i to go to your inbox.  I
 have basic functionality already working.  However, I need to stop the
 hotkeys from firing when an input box is selected.

 To find inputs with focus, I'm trying to use something like:

 $('input').focus(function() {
    inputHasFocus = true; // Set true if a Form-Field is selected
 }).blur(function() {
    inputHasFocus = false; // Set false if a Form-Field has left
 });

 But that doesn't work at all.  The official docs on :focus include
 this simple example:

   $(input).focus(function () {
         ...do something
    });

 (http://api.jquery.com/focus/)
 But I can't even get that to work.  jQuery does not seem to be able to
 find the input boxes.  What am I doing wrong?

 --
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to 
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/tiddlywiki?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Re: Calling various macros as functions

2011-09-01 Thread ionobr...@gmail.com
Thanks, PM.  I have looked through those now, but I'm still stuck on
my specific question, how to access macro-functionality through
javascript functions.  Appreciate any help.

On Thu, Sep 1, 2011 at 8:04 PM, PMario pmari...@gmail.com wrote:
 No answers but some resources :)

 http://oldwiki.tiddlywiki.org/wiki/Dev:Core_Code_Overview
 http://www.tiddlytools.com/insideTW/

 have fun!
 -m

 --
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to 
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/tiddlywiki?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.