Re: [fpc-pascal] Const attributes

2017-07-31 Thread Felipe Monteiro de Carvalho
ck and make sure that in each possible execution path inside the constructor the field can only be set once, I would be happy to have a final implementation which doesn't do this detail. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] Const attributes

2017-07-31 Thread Felipe Monteiro de Carvalho
nguages > with final fields allow here) Java final fields can only be set in constructors (and only once in each constructor, but I guess it isn't necessary to immitate this part). -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-10 Thread Felipe Monteiro de Carvalho
s in Pascal. Something like: try ( stringList := TStringList.Create; otherObj := TSomeOtherClass.Create; ) code here except exception block, optional end; And any object in the () section would be auto-freed, auto-checking if it was already created or not. -- Felipe Monteiro

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-10 Thread Felipe Monteiro de Carvalho
king. Under the hood there is only 1 code operating on Object instances. It is backwards compatible to pre-generic Java and it can't possibly impact performance. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-10 Thread Felipe Monteiro de Carvalho
claim that templates are faster than Java generics, I'm just repeating what I heard. If they aren't faster, then Java has better generics, because they are easier to use and debug. -- Felipe Monteiro de Carvalho ___ fpc-pascal ma

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-10 Thread Felipe Monteiro de Carvalho
they want specific knowledge of Android APIs and libraries, and dislike the Java generic APIs). Its even surprising like: wow, such a nice framework and noone ever does anything interresting with it o.O It looks like that C++ and C# are utilized in much more varied and interresting projects than

Re: [fpc-pascal] Food for thought - language string improvement

2017-07-07 Thread Felipe Monteiro de Carvalho
ltiple-inheritance, would be extremely useful in Lazarus) 2> Try with resources like in Java -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpGUI on macOS

2017-06-09 Thread Felipe Monteiro de Carvalho
E with Carbon for now (until Cocoa is good enough), but for personal projects I recommend Cocoa, unless you are affected by a missing functionality or something. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.fr

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Felipe Monteiro de Carvalho
can be done, I know that Banco Itau does this, but I don't know what exactly they use. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Browser and exe

2017-05-23 Thread Felipe Monteiro de Carvalho
e GUI in html/javascript which is served to the web browser. In the past there was stuff like ActiveX and a Java similar, but nowadays they are pretty much all deprecated sometimes even unsupported at all, people should use html+javascript for web interfaces. -- Felipe Monteiro de Car

Re: [fpc-pascal] FPC Graphics options?

2017-05-21 Thread Felipe Monteiro de Carvalho
reference, accessing operating system APIs is a nightmare which involves writing large JNI wrappers in C...etc. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC Graphics options?

2017-05-12 Thread Felipe Monteiro de Carvalho
the least safe, but C++ and Java look deeply entrenched. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Vehicle management

2017-05-11 Thread Felipe Monteiro de Carvalho
it is for OpenGL). I never used approach 2 and dont plan on using it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Vehicle management

2017-05-08 Thread Felipe Monteiro de Carvalho
org/Android_Programming -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Language constructs and types that dependent upon system unit

2017-01-19 Thread Felipe Monteiro de Carvalho
ls when they fail, not beforehand suppose they won't work. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Drawing bitmap by pixel

2017-01-19 Thread Felipe Monteiro de Carvalho
tions for example for alpha blending among other stuff. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Blind Users

2016-10-26 Thread Felipe Monteiro de Carvalho
in general and specifically about adding accessibility to custom control (non-native ones) in the LCL: http://wiki.lazarus.freepascal.org/LCL_Accessibility -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] NSTextStorage.paragraphs

2016-09-27 Thread Felipe Monteiro de Carvalho
this: function paragraphs: NSArray; message 'paragraphs'; I am just wondering why it isn't added in the default bindings and how to add it myself. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-24 Thread Felipe Monteiro de Carvalho
On Wed, Aug 24, 2016 at 2:12 PM, Ralf Quint wrote: > Negative. I downloaded and installed it just fine on Windows 8.1/64... Anyone knows if Windows 7 would also work? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-23 Thread Felipe Monteiro de Carvalho
"Offer valid from August 22nd 2016 to September 9th 2016" So people interested should be aware of this time limit. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-b

Re: [fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Felipe Monteiro de Carvalho
escendent, then it will write each field of the class to the stream. But in a generic class/function there is no way to ask if T is an int, or is an TSomeClass, or am I missing some way of writing code that is different for various possible types? thank

[fpc-pascal] Compatibility of very similar generic types

2016-08-18 Thread Felipe Monteiro de Carvalho
rong and will fail in some future compiler version or something, or while not recommended I am correct that there is no real reason why it could possibly fail. Considering my points above? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pasc

Re: [fpc-pascal] Hello, I suggest that you change the TFPGMap in fgl.

2016-07-19 Thread Felipe Monteiro de Carvalho
Hello, You could always send a patch with a TFPGHashedMap or TFPGRedBlackMap implementation. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc

[fpc-pascal] heaptrc and high RAM usage

2016-03-30 Thread Felipe Monteiro de Carvalho
"size 88" isn't very helpful, if it uses only 88 bytes it surely can't be the guilty one. Any ideas if I should try something else instead of heaptrc? Or any other ideas about what to do? thanks, -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] cwstrings unit and UTF8Decode()

2016-03-25 Thread Felipe Monteiro de Carvalho
re reliable, more cross-platform and some routines actually are several times faster than system ones. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] cwstrings unit and UTF8Decode()

2016-03-25 Thread Felipe Monteiro de Carvalho
On Fri, Mar 25, 2016 at 2:01 PM, Michael Van Canneyt wrote: > Look at the sources Which proves me right, or do I miss something? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.

Re: [fpc-pascal] cwstrings unit and UTF8Decode()

2016-03-25 Thread Felipe Monteiro de Carvalho
#x27;t depending on cwstring for (most?) of its funcionality. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Smartphone apps in FPC

2016-03-18 Thread Felipe Monteiro de Carvalho
that requires many IDE modifications). wow, any link describing how to achieve that? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Felipe Monteiro de Carvalho
7;, [lTableName, AItemNr]); ? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Felipe Monteiro de Carvalho
On Wed, Feb 10, 2016 at 1:20 PM, Michael Van Canneyt wrote: > You used sql.add. Did you do sql.clear first ? > Otherwise you'll be sending 2 sql statements as 1. ok, that fixed the issue, thanks! -- Felipe Monteiro de Carvalho ___ fpc-pasc

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Felipe Monteiro de Carvalho
Result in sqlite3 console: sqlite> SELECT * FROM "Header_0" WHERE ID=0; 0|0|0|0|18| -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Felipe Monteiro de Carvalho
On Wed, Feb 10, 2016 at 12:45 PM, Michael Van Canneyt wrote: > Did you try clearing SQL first ? What do you mean? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mail

[fpc-pascal] EDatabaseError on SELECT

2016-02-10 Thread Felipe Monteiro de Carvalho
"%s" WHERE ID=%u', [lTableName, UINT32_ID_SINGLE_ROW_TABLE]); FQuery.SQL.Add(lSQL); FQuery.Open; // <- EDatabaseError I tested with sqlite3 command line and the same statement issues no syntax error ... Any ideas??? lTableName = Header_0 UINT32_ID_SINGLE_ROW_TABLE=0 thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Format and Cardinal

2016-02-10 Thread Felipe Monteiro de Carvalho
Hello, lol, thanks for the comprehensive reply, if no one objects I will add a note about this in http://www.freepascal.org/docs-html/rtl/sysutils/format.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Format and Cardinal

2016-02-10 Thread Felipe Monteiro de Carvalho
Hello, Why does this trigger an range check exception: var lNum: Cardinal; lStr: string; begin lNum := High(Cardinal); lStr := Format('Num=%u', [lNum]); Format doesn't support integer numbers above High(Integer) ? I really need to use IntToStr? thanks, -- Felipe Monte

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-05 Thread Felipe Monteiro de Carvalho
line Z otherwise W; the keyword needs to be after the condition, not before. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-04 Thread Felipe Monteiro de Carvalho
ke core is completely against any implementation. While actually simply no-one is working on the desired solution, which are 2 very different things. > "if then" is a statement. This is a clear and unambiguous rule. The idea was "inline if" not "if" -- Felip

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-04 Thread Felipe Monteiro de Carvalho
, in the next version? > The same applies to the ARC objects. What's that? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-04 Thread Felipe Monteiro de Carvalho
Disappointed :( Why was it done? I thought that pretty much everyone was in favor? It isn't very pascalish, that's true, but we could implement it like the proposed "inline if A then B else C" syntax... which is very pascalish and cool. thanks, -- Felipe

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Felipe Monteiro de Carvalho
If other people already use "iif" then maybe it is better to use the same name? Also I vaguely remember at least a few functions in existing code named IfThen which would conflict with the new one. But "iif", well I never saw anyone name a function like that... -- Felipe

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-01 Thread Felipe Monteiro de Carvalho
So finally we have the ternary operator in Pascal? This will simplify converting from C to Pascal. > j ;= IfThen(i < 32, 48, 21); I guess this is a typo and should be ":=" instead of ";=" thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Loading PNG files as OpenGL textures

2015-10-16 Thread Felipe Monteiro de Carvalho
any of them do. The wiki page that you linked has some examples: http://wiki.freepascal.org/fcl-image#Walk-through -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Read JSON from file

2015-08-07 Thread Felipe Monteiro de Carvalho
On Fri, Aug 7, 2015 at 8:33 AM, Michael Van Canneyt wrote: > As it happens, I have yesterday committed an extension which allows you to > specify that the JSON supports comments. > Both // and /* */ are detected and discarded. Great! =) -- Felipe Monteiro de

Re: [fpc-pascal] Read JSON from file

2015-08-06 Thread Felipe Monteiro de Carvalho
lParser.Strict := False; lData := lParser.Parse; finally lParser.Free; lStream.Free; end; Well, in my particular case I use TStringList because I pre-process the data, removing comments which are not allowed in JSON. -- Felipe Monteiro de Carvalho ___

[fpc-pascal] fpcanvas and alpha-blending

2015-07-29 Thread Felipe Monteiro de Carvalho
ot sure if this is desirable... and brush has no mode. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] jsonrtti and integer arrays

2015-07-08 Thread Felipe Monteiro de Carvalho
object? A non-rtti simple example would also be good, since it looks like that the rtti version cannot read arrays. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Felipe Monteiro de Carvalho
7;t matter, should it? Sourceforge writes that you can't export crypto tech to some countries, but I don't remember anything else other than that. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Felipe Monteiro de Carvalho
I compile native for linux, windows and Mac and cross-compile only for Android. I use the same project unit for every system except Android. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] cocoa programming without objective-pascal mode

2014-11-02 Thread Felipe Monteiro de Carvalho
not FPC/Lazarus that are less Apple friendly. It is Apple that is each time less Pascal friendly, and for that matter also each time less C/C++/Java friendly. Apple wants you to use Swift (or whatever it's called). -- Felipe Monteiro de Carvalho _

Re: [fpc-pascal] TDomNode to text and/or document

2014-09-22 Thread Felipe Monteiro de Carvalho
dNode := lDoc.ImportNode(ANode, True); lDoc.AppendChild(lImportedNode); By the way, whats the difference between TDOMNode and TDOMElement? Confusing... -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] TDomNode to text and/or document

2014-09-22 Thread Felipe Monteiro de Carvalho
? something like: etc etc etc TextContent doesn't help at all here. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] console gdb in mac

2014-09-07 Thread Felipe Monteiro de Carvalho
On Sun, Sep 7, 2014 at 5:19 PM, Felipe Monteiro de Carvalho wrote: > I'm trying to debug lcl-cocoa, but the debugger in the IDE is not > helping (not stopping in breakpoints inside the LCL, can't read > variable names, etc...) Well, I see now that IDE debugging generally works

[fpc-pascal] console gdb in mac

2014-09-07 Thread Felipe Monteiro de Carvalho
gling will be involved here =) In particular, let's say I am here: procedure TControl.SetParent(NewParent: TWinControl); begin if FParent = NewParent then exit; <<--- here How can I read the value of field FParent which is located in object "Self" ? thanks,

Re: [fpc-pascal] Android/JNI control example

2014-04-24 Thread Felipe Monteiro de Carvalho
including creating buttons in Pascal. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] JNI/Android: Java events calling pascal code

2014-04-23 Thread Felipe Monteiro de Carvalho
interfaces it will implement, list of functions and address to their implementation, etc, etc. But we don't have at the moment AFAIK. So maybe someone braver will actually do this, since it is possible =D But I didn't for my Android app in the app store (True Democracy) -- Felipe

Re: [fpc-pascal] Re: read cells contents from .xls file

2013-10-02 Thread Felipe Monteiro de Carvalho
compiling your project which uses fpspreadsheet: 1> Path to fpspreadsheet 2> Path to lazutils (located in the folder lazarus/components/lazutils) You need to download Lazarus to have lazutils, but you don't have to use it as an IDE. Felipe Monteiro de Carvalho On Wed, Oct 2, 2013

Re: [fpc-pascal] Re: read cells contents from .xls file

2013-10-02 Thread Felipe Monteiro de Carvalho
Why cant you download the latest FPC? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] read cells contents from .xls file

2013-10-01 Thread Felipe Monteiro de Carvalho
e some info for a quick hack eg some bullets or some > idea what I need to do eg to read the no or string in eg cell x23 of sheet > jim in fred.xls. > > John > > > > > > > On 30 September 2013 16:38, Felipe Monteiro de Carvalho > wrote: >> >> You mea

Re: [fpc-pascal] read cells contents from .xls file

2013-09-30 Thread Felipe Monteiro de Carvalho
You mean like this library does? http://wiki.freepascal.org/FPSpreadsheet Felipe Monteiro de Carvalho On Mon, Sep 30, 2013 at 5:33 PM, John Lee wrote: > File produced by excel 2003. Can anyone tell me the basic ideas, formats, > pitfalls - I'd just like to write a short routine &

Re: [fpc-pascal] Android and cwstring

2013-08-01 Thread Felipe Monteiro de Carvalho
at they should not be used. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Android and cwstring

2013-07-31 Thread Felipe Monteiro de Carvalho
On Wed, Jul 31, 2013 at 8:51 PM, Sven Barth wrote: > The cwstring of Android uses the ICU library libicuuc.so. Is this available in the NDK for one of the higher API levels? It is not in the list for API level 8. -- Felipe Monteiro de Carva

Re: [fpc-pascal] Android and cwstring

2013-07-31 Thread Felipe Monteiro de Carvalho
lable in the Lazarus source tree, here: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/lazutils/paswstring.pas?view=markup&revision=41389&root=lazarus You can copy it to your project and use it. -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Sockets?

2013-07-17 Thread Felipe Monteiro de Carvalho
Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] OT: Re: http://www.freepascal.org/future.var

2013-07-05 Thread Felipe Monteiro de Carvalho
On Fri, Jul 5, 2013 at 11:27 AM, Noah Silva wrote: > I (can) and (will not) ... This interpretation is wrong. For the sentence to mean this, it would need to be worded like this: "I can, but will not ..." -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] can someone please email me a zipped hello world binary program MIPS big endian for testing on my MIPS hardware?

2013-06-13 Thread Felipe Monteiro de Carvalho
to see if it runs. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Some RTL functions cry big tears when mixing Pchar and Ansistring/String

2013-06-11 Thread Felipe Monteiro de Carvalho
, I simply resorted to reading the entire code base again ... until I found the error. Running in a different operating system also helps, sometimes it debugs better in another OS. Sometimes it even works fine in another OS, despite the error being present at all times =

Re: [fpc-pascal] Re: Android JNI failing in Galaxy S4

2013-05-22 Thread Felipe Monteiro de Carvalho
eeds to be compiled for arm-android of course. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Android JNI failing in Galaxy S4

2013-05-22 Thread Felipe Monteiro de Carvalho
r Android which can be utilized as examples to learn how to use JNI. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Android JNI failing in Galaxy S4

2013-05-22 Thread Felipe Monteiro de Carvalho
Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Android JNI failing in Galaxy S4

2013-05-22 Thread Felipe Monteiro de Carvalho
On Tue, May 21, 2013 at 5:47 PM, Felipe Monteiro de Carvalho wrote: > My only idea at the moment is to do the static export too... maybe > that will work, lets see. No, that didn't help anything =( -- Felipe Monteiro de Carvalho ___

[fpc-pascal] Android JNI failing in Galaxy S4

2013-05-22 Thread Felipe Monteiro de Carvalho
do the static export too... maybe that will work, lets see. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Xcode

2012-09-17 Thread Felipe Monteiro de Carvalho
y issues which involve the templates. But like Jonas said you may need aditional steps to install command line tools in newer Xcode versions. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

Re: [fpc-pascal] Constant of 2D array

2012-09-11 Thread Felipe Monteiro de Carvalho
On Tue, Sep 11, 2012 at 2:58 PM, Vincent Snijders wrote: > const number_return_map: array[0..7,0..7] of byte = Ah, nice, thanks =) Now it works... and the syntax is almost the same as in C++ which facilitates the conversion -- Felipe Monteiro de Carva

[fpc-pascal] Constant of 2D array

2012-09-11 Thread Felipe Monteiro de Carvalho
expects a 1D array only. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] (no subject)

2012-02-24 Thread Felipe Monteiro de Carvalho
I think that you just described class methods: http://www.freepascal.org/docs-html/ref/refsu27.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] dbus in Pascal

2012-02-22 Thread Felipe Monteiro de Carvalho
g this How do you get messages with this library? You need to call something periodically? I always thought that dbus needs integration with the application loop. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freep

[fpc-pascal] dbus in Pascal

2012-02-22 Thread Felipe Monteiro de Carvalho
Hello, I haven't touched in dbus in ages, so I was wondering how people are using it. Did anyone write a wrapper around libdbus for Lazarus or is everyone using directly libdbus or something like dbus-glib? Do we have bindings for dbus-glib already translated? thanks, -- Felipe Montei

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-21 Thread Felipe Monteiro de Carvalho
can vary then. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How create a full text search with TChmWriter?

2012-02-21 Thread Felipe Monteiro de Carvalho
tes. Which FPC version are you using? Those errors occured for me in FPC 2.4.* but disappeared in FPC 2.6.0 FPC 2.7.1 introduced new errors =) -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

Re: [fpc-pascal] Re: level curve and surface generation code

2012-02-20 Thread Felipe Monteiro de Carvalho
work out very well =) -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] level curve and surface generation code

2012-02-20 Thread Felipe Monteiro de Carvalho
e those fit better to OpenGL. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Working Free Pascal android JNI example

2012-02-13 Thread Felipe Monteiro de Carvalho
Hello, For asking Android questions I recommend the Lazarus forum: http://www.lazarus.freepascal.org/index.php/board,43.0.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] What ARM targets are supported by FPC?

2012-02-08 Thread Felipe Monteiro de Carvalho
ke directfb via LCL-CustomDrawn: See http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface It was specially designed to run in a system such a the framebuffer, which is very similar to what Android for example offers: Only a raw surface. -- Felipe Monteiro

Re: [fpc-pascal] Problem using make install in Windows

2012-02-07 Thread Felipe Monteiro de Carvalho
Thanks, you were right =) But strange that it considered my "\" a space. I know that "\ " is a escaping for a space, but there was no space in the end. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists

[fpc-pascal] Problem using make install in Windows

2012-02-06 Thread Felipe Monteiro de Carvalho
irectory `F:/Programas/fpcsvn' make: *** [install] Error 2 I see the space between \dest and \examples but I dont see how it is something that I did wrong, or else it should fail in the RTL too. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

Re: [fpc-pascal] TStringStream.DataString returns garbage?

2012-02-03 Thread Felipe Monteiro de Carvalho
suggest is using a more clear wording. "AsText" might be hard to understand what the author ment. Either with the length or without it is still text in a certain way. A more clear wording could be: AWriteTextContentsOnly: Boolean = False or AWriteStringLength: Boolean = True --

Re: [fpc-pascal] libQT4Pas - Why it is needed?

2012-01-29 Thread Felipe Monteiro de Carvalho
anything directly. It requires a special format using plain procedures in a special way, so it is like a C interface, or a plan Pascal procedural interface. It is called JNI and it will never accept C++ -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] fpdoc links and short description

2012-01-27 Thread Felipe Monteiro de Carvalho
: -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpdoc links and short description

2012-01-27 Thread Felipe Monteiro de Carvalho
On Fri, Jan 27, 2012 at 11:06 AM, wrote: > Most likely a bug, please report it. umm, now I have rebuilt the docs and it obtained the short description in the top-level view. I think I was using an old version of fpdoc ... -- Felipe Monteiro de Carva

[fpc-pascal] fpdoc links and short description

2012-01-27 Thread Felipe Monteiro de Carvalho
the short description too? How? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Converting header with va_list

2012-01-18 Thread Felipe Monteiro de Carvalho
this worked for me sending a pointer to the first element of a pascal static Array in the parameter Args. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Converting header with va_list

2012-01-18 Thread Felipe Monteiro de Carvalho
Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Postscriptcanvas

2012-01-17 Thread Felipe Monteiro de Carvalho
-- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Postscriptcanvas

2012-01-17 Thread Felipe Monteiro de Carvalho
. So with your requirements using the LCL is probably not necessary. If you are targeting only linux then you can probably use a command line execution to print the file. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Felipe Monteiro de Carvalho
If the use case is closing the main form without quitting the application, then I would prefer a property TApplication.QuitApplicationWhenMainFormCloses or something like that. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Advanced Records - Why not available by default?

2012-01-17 Thread Felipe Monteiro de Carvalho
oone, then noone would have written the code to support them in the first place) And if you dont like them, you dont need to use them. The LCL rarely uses newer compiler features. I would say the same for most code in the FCL. -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] Postscriptcanvas

2012-01-17 Thread Felipe Monteiro de Carvalho
normally done. LCL applications do not need to be visual, just make an application without any forms. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Postscriptcanvas

2012-01-15 Thread Felipe Monteiro de Carvalho
On Fri, Jan 13, 2012 at 3:31 PM, David Copeland wrote: > Is it possible to use the PostScriptCanvas unit in a non-gui program? For drawing or for printing? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.

Re: [fpc-pascal] Re: Finished full JVM Android application

2012-01-03 Thread Felipe Monteiro de Carvalho
CL-CustomDrawn-Android is native and communicates via JNI with the Android Java APIs. And I don't see any reason to change it into using the JVM port even in a remote future, because it already works great. -- Felipe Monteiro de Carvalho ___ fpc-pasc

Re: [fpc-pascal] where are the sources for rtl.chm, fcl.chm ref.chm etc.?

2011-12-24 Thread Felipe Monteiro de Carvalho
d_html.sh -rw-r--r-- 1 felipe staff 1623 8 Nov 21:17 build_lcl_docs.lpi -rwxr-xr-x 1 felipe staff 3048 12 Ago 09:22 build_lcl_html.sh -rw-r--r-- 1 felipe staff 2253 8 Nov 21:17 fpdoc.css ... -- Felipe Monteiro de Carvalho ___ fpc

  1   2   3   4   5   6   7   8   9   >