Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - warpcafe

Pages: 1 ... 7 8 [9] 10 11 ... 45
121
Hi fr4nk,

yep, this is the odd bug we had-hadnot-haveback for quite some time.
As a workaround, launch

http://www.os2world.com/forum

This will launch the forum "unframed" (which resolves the problem)
Next, enter an accurate string for the thread title into the "search" entry field in the right upper part.
In your case, this would be "pretty-print".

Perform the search - and one of the first results should be the link to the thread.
Click it and it will load the thread.

Sorry if there is perhaps a more elegant or efficient way of doing this, but this works for me.
I know it's nasty and cumbersome... but this will perhaps change only once os2world.com shifts to a different (or newer) forum software.
The cause seems to be something in the SMF-Joomla bridge component. I have no idea what exactly the problem is though...

Hope this helps
Thomas

122
Rexx / Re: RFC: A pretty-print processor?
« on: 2010.07.19, 22:42:47 »
Hej Jep,

Can you please therefore also write down some initial thoughts of how to call the rexx funtions to use with parameters, what they should do and mean etc.

that's easy as duck soup. OK, so you want some details?
This is what I need the DLL to do in its first release:
Note 1: No error-handling implicitly described. Obviously, each function should set an RC variable...
Note 2: All of the below is available in PdfLib 7 AFAIK ...and also part of any standard "printer object" API... more or less "flavored"...

pdfLoadFuncs()
- Loads the library and makes all functions available to rexx.

pdfDropFuncs()
- obvious, eh?

pdfStartDoc( title, author, comments, keywords ) RETURNS doc_handle
- starts the print job, sets the document information accordingly to the parameters (all optional except "title" BTW)
- The doc_handle enables creating more than 1 PDF doc at the same time...

pdfEndDoc( doc_handle )
- ends print job for the document specified by "doc_handle"
- this is when the output to the "print device" starts

pdfStartPage ( doc_handle, [ height, width] | [ pagesize, orientation ] )
- creates a blank page in the document specified by "doc_handle" at the end of the page list
  (or, to put it like this: It appends a new page in the doc)
- syntax 1: creates a page by specifying height and width in "dots" or whatever unit is supported in PDF (don't know)
- syntax 2: creates a page by specifying a mnemomic like "A4", "legal", ... and whether it's "landscape" or "portrait"
- the new page becomes the "current" page (the one that receives all text and graphics output)
- the previously "current" page (if any) is implicitly "closed" (also see "pdfEndPage below)
- the internal page counter is incremented

pdfEndPage ( doc_handle )
- closes processing for the "current" page
- Comment: This would mostly be used only for the last page in the doc since pdfStartPage() closes a previous page implicitly
  (in your code, you would only "start new pages" and explicitly "close" only the last one before using pdfEndDoc...)

So, these were the "bones" - here is the "flesh":

pdfLoadFont ( fontname ) RETURNS font_handle
- makes a known, installed font available. "fontname" is an alias-like name, e.g. "Helvetica"

pdfLoadFontFile ( filename ) RETURNS font_handle
- loads a font by specifying the font file name, e.g. "COURBD.TTF" (if TTF supported - don't know) or "HELVB.OFM"
- Note: I don't know enough on how Acrobat handles fonts (or font files). PLease bear with me
- Note: I don't have OS/2 or eCS at hand. Sorry if the postscript font files use a different extension (PFM? ATM? WTF? ;) )
  I guess you know what I meant here...

pdfFontSize ( font_handle, pointsize )
- sets the text size to "pointsize" points, e.g. "12" means 12-point ...for the font associated by font_handle

pdfFontWeight ( font_handle, style )
- sets the text style (any combination of "italic", "bold", "underlined" ) for the font associated by font_handle

pdfShow ( doc_handle, font_handle, textstring )
- outputs the text specified by "textstring" at the current cursor location on the current page of the doc_handle document
- updates (increments) the current writing position to after the end of the text just printed

pdfGetTextSize ( font_handle, textstring ) RETURNS sizepoints
- calculates the width in POINTS (measure of page) for the string specified by "textstring" if it would be printed using
  the font as specified by font_handle

pdfGetCurrPos ( doc_handle ) RETURNS pos_x, pos_y
- retrieves the x/y coordinates (in POINTS, measure of page) of the current writing position
  (e.g "0,0" = left/top corner)

pdfSetCurrPos ( doc_handle, pos_x, pos_y )
- sets the coordinates (in POINTS, measure of page) of the current writing position (offset for next output function)

pdfShowAt ( doc_handle, font_handle, textstring, pos_x, pos_y )
- for the lazy: combines pdfSetCurrPos() and pdfShow() into 1 function

pdfLoadPicture ( filename ) RETURNS pic_handle
- allocates a buffer to hold the file contained in the graphics file "filename" (fully-qualified; drive-path-filename-exstension)
- loads the picture from the graphics file specified by "filename" into memory buffer
- makes that buffer being accessible as "pic_handle"
- Note: Formats supported initially: BMP, PNG (no transparency support needed at first), JPG

pdfShowPicture (doc_handle, pic_handle, [size_x, size_y] )
- outputs the picture specified by pic_handle at the current writing position with no scaling/clipping/shrinking
- if size_x and size_y are specified, the picture is resized accordingly to these new dimensions before printing it

pdfLine ( doc_handle, pos_x1, pos_y1, pos_x2, pos_y2, thickness )
- draws a line from coordinate pos_x1/pos_y1 to coordinates pos_x2/pos_y2 using "thickness" points width
  (e.g.  12,100,100,150,3 -> draws a line of 3pt thickness from x=12,y=100 to x=100,y=150)

Well, that's all I need for the first round. :)
- text justification stuff can be easily figured out by using pdfTextWidth and pdfSetCurrPos
- no line feed stuff needed in first round, this can be programmed by using pdfSetCurrPos
- no watermark or signature or hyperlink crap needed now
- almost everything basic is feasible with these functions

Hope I was able to somehow explain what I meant.
Cheers,
Thomas

123
Rexx / Re: RFC: A pretty-print processor?
« on: 2010.07.17, 14:53:18 »
Hi all,

so what's the state here?
Recently I came across an article in a web developer magazine about PDFLib and what one can do with it. Nice. I then went to the site at www.pfdlib.de... it says

Quote
The PDFlib Lite 7 source code package contains C source code, support files for the C, C++, Java, Perl, PHP, Python, Ruby, and Tcl language bindings, the PDFlib tutorial and API reference manual, as well as samples for all supported languages. Please see here for a sparate download of the documentation.

Sounds good, right?
What I would need is a sort of pdflib that can be called from OS/2-rexx (native, classic or OO.. whatever).

We have an older port of pdflib (v.3) already on hobbes and there are even the "free" sources of PDFLib 7 Lite. We simply lack something painlessly useable from OS/2-rexx just like we do with the other rexx-DLLs we mostly use.

Ain't there any skilled person here who could craft a rexx-enabled DLL from that?

Cheers,
Thomas

124
Applications / Re: OpenOffice
« on: 2010.06.30, 13:03:25 »
Hi Dennis,

as far as I recall from my purchase of the Support Agreement, you will be able to access a download site with all binaries from 2.x until the latest release (once the purchase was processed).

P.S.: How about writing an email to Mensys and simply ask them? ;-)

Cheers,
Thomas

125
Hi Pete,

I'm just guessing here... have you changed the default printer or anything related to your printer settings?

Cheers,
Thomas

126
Heya,

a bit of update on this:
During todays edition of my frequent lunch chats with Rodrick Klein, I was told that Mensys has successfully finished the development phase of the new Intel (wired) NIC driver (the one in question here). Mensys aims to enter a public beta testing phase for the new driver starting within this week by releasing the driver "Intel e1000e" (e1000e.os2) to the eCS Beta Zone.

An official announcement with an according link and information to test volunteers will follow.

Cheers,
Thomas


127
Hi,

well... I agree:
Delenda carthago! :)

128
Hi,

...
  • Genmac future. Phone call with Willibald Meyer. Indicates he will provide information to Steve Levine.

I hate to say this, but thought it would make sense to tell you:
As I have understood from the German os2.org forum, there seems to be largely different viewpoints on this between Willibald Meyer and Mensys. Between the lines, my impression is that Willibald Meyer will NOT open-source anything to Mensys. If netlabs could make a difference here I don't know. I guess if you ask either person involved here, you get a couple of different responses.
Bottom line: Better don't expect great changes to the status quo of GenMac...

Cheers,
Thomas

129
Setup & Installation / Re: eCS 2.0 GA - first details
« on: 2010.05.07, 11:20:08 »
Hi,

@Fahrvenugen: Exactly!

@Pete: They will include a Seamonkey 2.xx on CD#2... not sure about the detailed version though.

Cheers,
Thomas

130
Setup & Installation / eCS 2.0 GA - first details
« on: 2010.05.06, 15:17:50 »
Hi all,

I wasn't sure in which forum to put this, so please bear with me if this is the wrong one.
I have submitted the German version of this 2 days ago to os2.org and have decided to -sigh- ;) make the effort and do a translation of it here:

On Tuesday, Roderick Klein from Mensys called me for a chat over the phone and passed some first facts to me about the GA version of eCS 2.0. In short:

1)
The GA version will ship with Thunderbird2 (.??) and Firefox 3.5.7 that will come with preconfigured run! scripts for them to ease coexsistence.

2)
Special attention was paid to make 2.0 install flawlessly over existing installations, especially with regards to version information of ACPI drivers. In contrast to common criticism, that one would rather do clean installs of 2.0 than upgrade some "crappy old RC", they did not focus on clean new installs but rather take care of clean migrations.

3)
With Uniaud (-16), the new developer in charge actually managed to fix all known open bugs filed until to date... within the last two weeks.  And "fixing bugs" actually means to resolve the issues before closing the tickets (in contrast to what the previous developer apparently did). As a consequence, Mensys decided to block access to the code repository for -cough- some of the previous maintainers -cough- to mitigate the risk of having them bringing their crappy code back in.

4)
Multiple stages of verification were introduced with the ACPI driver packaging in order to ensure that not only the package release numbers increase with new version, but rather the included files aren't backlevel artifacts from wrong packaging. The latter -as I can confirm out of personal painful experience- seemed to be happening frequently over in "saintpetersborough" with folks testing their installations rather from a file replacement point of view and forgetting about the endusers way of installing things.Well, anyway, they seem to be very skilled marketing guys but the end user is rather seen as someone having a need for colorful launchpads. Sorry for being OT, back to topic:

5)
JFS, in its shipping flavor, will come with a truinkload of fixes. Also, a lot of improvements occurred in the area of LVM and its usage for partioning during the installation phase.

6)
Currently, CD2 is being packaged. By the way - it will also include a Clam-based antivirus client. I have to admit that I don't see the reason behind this, but that just my 2 cents... perhaps someone around here will rather appreciate this decision.
CD1 (the installation CD) is currently being finalized from a contents point of view. Anyone following the eCS-cvs-tweets at twitter will certainly confirm that quite some things are going on here, so that I can hardly judge whether or not the final installation CD will perhaps be crafted at the Mensys booth at Warpstock Europe 2010 ;)
Or perhaps, like with WSE2008 in Düsseldorf, it will be Team Trier burning eCS CDs again? That would at least perfectly fit into the picture since Team Trier is organizing this year's Warpstock Europe edition ;)

Okay, that's it for the moment guys (an gals). Hope you'll enjoy fighting pro and con the above stuff. I do not know if they will prepare a demo-CD soon or whether they plan to have USB-bootability in mind. I'll check back with Roderick next time I'll find him equally talkative to last Tuesday :)

(Roderick, if you see this and something is not accurate -or simply wrong- feel free to chip in for clarification... other than that, thanks for sharing some news with us!)

Cheers
Thomas

131
Setup & Installation / Re: LVM - the curse of eCS?
« on: 2010.05.05, 11:03:43 »
Hi guys,

in case steveb (or someone coming here for assistance) has no access to the bugtracker:

Quote
Summary:
0002608: eCS is incapable of removing existing disk info

Description:
If a hard disk contains a corrupt partition table or is partitioned with a Vista installation of the full hard disk size, eCS is not capable of repartitioning the disk.

If the partition table is corrupt, neither MiniLVM nor LVM will allow you to change the partitioning. If there is a Vista partition of the full hard disk size, the hard disk checker will even stop the process earlier.

As fas as I understand, DFSee is able to fix these things. As a result, Mensys is incorporating a DFSee-based engine subpart into MiniLVM to adress such issues more or less "automatically" in the future.

Steve, when you launch LVM, do you get any error messages right at the start like "disk corrupted" or similar?

HTH, Thomas

132
Internet / Re: How (again) to run Firefox, TB at same time
« on: 2010.04.26, 18:00:29 »
Hi all,

hmm... okay, I have downloaded some of the older builds to see where this takes me.
Unfortunately, I'll have to wait 'til next weekend... am on the road currently... but perhaps VirtualBox can help on my machine tonite already ;)

Anyway, FWIW, here's a FTP archive link for all Firefox releases ever done (including those that dropped out the "releases" folder at mozilla.org):
ftp://archive.mozilla.org/pub/mozilla.org/firefox/releases/

It took me some time to find that one. That's why I thought it might be worth mentioning here - it could save time for others ;)
Will send in updates as soon as they occur...

Cheers,
Thomas

133
Internet / Re: How (again) to run Firefox, TB at same time
« on: 2010.04.26, 17:37:45 »
Hej,

Jesus christ! This one http://www.os2world.com/content/view/19406/2/ explains it pretty well.
However, I have yet to find out if that affects the pre-3.6 stuff as well... (and up to what version?)

Thanks a lot for opening my eyes on it... cheers,
Thomas

134
Internet / Re: How (again) to run Firefox, TB at same time
« on: 2010.04.26, 14:01:02 »
Folks,

I was successful and have documented what I did so far. Unfortunately however, I noticed something strange I can't explain: Jave doesn't work! Gosh. Firefox tells me I need to install and/or turn on Java support.
The thing is: It worked for ages, with all kinds of Seamonkeys... for Firefox, the last time I checked, it worked with a 2.x something version... now with 3.5.8 it won't.

I went thru the docs and checked requirements and stuff... all looks fine. ipluginw.dll is in the components subdir and I didn't copy anything to the plugins dirctory at first. When I noticed it didn't work, I tried copying the usual np...dlls to the plugins dirctory, but still nothing happened (also, about:plugins doesn't show Java).

Can someone give me a hint what could be the cause? I'm running the Java 142 from Innotek BTW. Could it be that there is a glitch in my libpath or something as stupid as that? And if so - what should I check for?
Now that I'm away from the machine, something else comes to mind (but I can't check it): Is Java support turned-off by default in the settings somewhere? Naah, can't be the case, can it...?

TIA
Thomas

135
Internet / Re: How (again) to run Firefox, TB at same time
« on: 2010.04.22, 17:08:29 »
Hej, : :D

...yes, but I prefer the version from the readme (it was also the one I remebered and that's why I thought the website was _not_ the one I was searching for) although it surely does the trick too. ;)

Cheers,
Thomas

Pages: 1 ... 7 8 [9] 10 11 ... 45