On 2 May 2024, at 5:38, Hin-Tak Leung wrote:
> I think Just uses pyobjc (python binding to objective c), which is bunded on
> mac os x's shipped Python.
macOS doesn't include python anymore BTW.
On 2 May 2024, at 10:37, Alexei Podtelezhnikov wrote:
> Me too. We are talking about an API which
re that's undefined in C standard as well.
Indeed. clang warns:
warning: arithmetic on a null pointer treated as a cast from integer to pointer
is a GNU extension [-Wnull-pointer-arithmetic]
Cheers,
--
Sean McBride, B. Eng
bel is redundant or
>missing, so I consider your constraints as a non-issue.
Note that you can also use -fsanitize=enum to catch at runtime invalid values
in your enum variables too:
<http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html>
Cheers,
--
__
to disable it if they are stuck in the
last century without 'long long' support.
+1.
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
reviewers. While it may be 'correct',
it's probably too complicated and should be refactored in some way.
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
. It's also the *only* place in freetype where is compiler
is also sufficiently unconvinced and therefore warns.
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
0003-Fixed-a-clang-Wcovered-switch-default-warning-by-rem.patch
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
0002-Fix-clang-analyzer-warning-about-dead-store.patch
.
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
0001-Removed-two-minor-dead-stores-to-fix
added a comment explaining.
Also, I don't know the codebase really, so please review with care.
Done, and applied. Thanks!
Thanks! Here's another 2 patches to fix most of the remaining warnings.
Cheers,
--
Sean McBride, B. Eng
or
-fsanitize=...?
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
here:
http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation
Could be useful to build freetype with that flag and see what it finds...
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue
. But oh
well.
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
On Tue, 27 Nov 2012 13:44:14 -0500, Alexei Podtelezhnikov said:
Glyph rendering quality is in the eye of the beholder. What somebody
says is blurry is smooth in the eyes of the other. How do you suggest
that we automate that?
Yes, that's tricky. But that could be delayed until later. Since
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype
freetype with
-fcatch-undefined-behavior and -ftrapv to fix other issues it finds?
Cheers,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing
pretty reasonable to limit yourselves to 10.5 or later, or 10.4 or
later.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
actually releasing a new freetype
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
to follow with all the macros, but I think it's saying
that something is being passed to offsetof() that should not be.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
On 1/12/10 11:09 AM, Sean McBride said:
On 1/12/10 4:43 AM, David Bevan said:
All the proposed solutions assume that there is a (known) integer size
which matches the pointer size.
There is: intptr_t. But it's part of C99, which freetype can not require. :(
I would expect something like
a suitable compiler to hand to test).
#define ALL_POINTS (FT_UShort*)((FT_Byte*)(NULL) - 1);
Clever! I'll commit this to VTK and we'll see tomorrow.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Research
cast' : conversion from 'int' to 'void *' of greater size
I could disable the warning I suppose, unless someone has a good idea
how to fix it.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Research
CVS then wait for the next automated nightly
build. :(
Anyone here have Visual Studio?
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
);
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel
Note that those lines have 2 comparisons, not sure which it is
complaining about...
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
: warning:
`_debug_mem_dummy' defined but not used
http://www.cdash.org/CDash/viewBuildError.php?type=1buildid=493423
WARNING: While resolving call to function 'FTC_GNode_Compare' arguments
were dropped!
--
Sean McBride, B. Eng
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel
this is a problem with the `configure' script, passing wrong
or missing arguments to select the proper architecture.
I agree it is probably an issue with the 'configure' script. Alas, I
know nothing about 'configure' scripts.
Cheers,
--
Sean
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel
discussion of signed overflow and gcc's -Wstrict-overflow warning
is here:
http://www.airs.com/blog/archives/120
It could be fun to see how cleanly freetype builds with -Wstrict-
overflow=5. :)
--
Sean McBride, B. Eng s...@rogue
For anyone that is curious:
Begin Forwarded Message
APPLE-SA-2009-05-12 Security Update 2009-002 / Mac OS X v10.5.7
Security Update 2009-002 / Mac OS X v10.5.7 is now available and
addresses the following:
snip
X11
CVE-ID: CVE-2006-0747, CVE-2007-2754
on OS X freetype is only used in X11.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
://
www.freetype.org/ The issues are already addressed in systems running
Mac OS X v10.5.6.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software
add -save-temps? I tried adding it to CFLAGS but then
configure fails.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
-shifted is signed. IIRC, right-shifting of
negative numbers in C is undefined. Maybe that's what the warning is
getting at.
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue
,
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http
information.
error while running `glibtoolize --force --copy --install'
So what is your recommendation? Installing a separate glibtoolize?
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Research
... Is there no way to
build freetype with the tools Apple provides?
--
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
++ and not C.
Just something to consider...
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
Hi all,
freetype was mentioned in Apple's security update for the iPhone today:
CoreGraphics
CVE-ID: CVE-2008-1806, CVE-2008-1807, CVE-2008-1808
Available for: iPhone v1.0 through v2.0.2
Impact: Multiple vulnerabilities in FreeType v2.3.5
Description: Multiple vulnerabilities exist in
CoreServices to the linker flags would fix that. Not sure
if it's something that should be happening automatically, but probably.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue
of the cross-platform
problems. See:
http://lwn.net/Articles/188693/
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal
. It was merely a suggestion. I know of several others who
found the switch from autotools to CMake to be most useful. I, on the
other hand, have never written an autotools nor CMake file. :(
--
Sean McBride, B. Eng [EMAIL
types like int64_t, uint32_t, etc. See 'stdint.h'.
BTW, bits/wordsize.h does not seem to exist on Mac OS X.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac
.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
(it uses CMake). A better solution is to
just test the SDK version.
I have attached a patch. Suzuki-San, can you review and commit?
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue
it.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http
further investigation is necessary. The results are
acceptable, I'll just update VTK's unit tests. If you think it is worth
investigating further, I could show you how to build and run VTK's tests...
--
Sean McBride, B. Eng
to check if this was expected. See for example:
http://www.cdash.org/CDash/testDetails.php?test=4965930build=102956
Thanks,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue
On 9/27/07 11:56 AM, [EMAIL PROTECTED] said:
On Wed, 26 Sep 2007 10:39:56 -0400
Sean McBride [EMAIL PROTECTED] wrote:
On 9/22/07 6:32 PM, [EMAIL PROTECTED] said:
As a proof of his idea, I wrote a sample header file ftmacdyn.h
to replace Carbon-derived functions in ftmac.c by the function
pointers
10.4, 23% are using 10.3,
and 10% are using 10.2 or older.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
/Win32-
bcc551/20070727-0300-Nightly/BuildWarning.html
It sure would be great if you could fix them.
Thanks,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac
is now Mac OS X-only. The tests for ':' can be removed.
Thanks,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec
a machine using
the Borland compiler:
http://www.vtk.org/Testing/Sites/dash19.kitware/Win32-
bcc32/20070601-0300-Nightly/BuildWarning.html
They aren't as trivial, but perhaps you'd take a look?
Cheers,
--
Sean McBride, B. Eng
,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing list
, I'm not sure whether 10.5.x will set default
MAC_OS_X_VERSION_MIN_REQUIRED to 10.5 (system including
Carbon) or 10.4 (Carbon-free system).
Alas, I cannot discuss 10.5. But I'll just say the above checks look
good to me.
--
Sean
.
On 10.5 this restriction is gone, but other changes will be needed for
10.5, so I don't think we should worry yet.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac
.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
applications. Basically, ftmac.c cannot work in 64
bit on 10.4.
On 10.5, ftmac.c will be able to work in 64 bit, but since 10.5 is
unreleased
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Research
to
consider doing the following replacements:
ft_strcpy, ft_strncpy - strlcpy
ft_strcat - strlcat
For info on why, see:
http://developer.apple.com/documentation/Security/Conceptual/
SecureCodingGuide/Articles/BufferOverflows.html
--
Sean
.
Thanks all,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
I think.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
really, so forgive me if I'm not
making sense.)
Thanks,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
___
Freetype-devel mailing
(called CoreFoundationLite IIRC) is
available as open source. None of Carbon is open source, and I would
not expect that to change.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue
indirectly by using vtk. I have checked the vtk
source and it uses neither of those two functions.
You work looks great, thanks!
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue
is the best solution.
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
, 1997 Christopher Seiwald.
with Apple ProjectBuilder Extensions
Interesting... which Mac OS are you using? I tried on several 10.4
machine here (all with dev tools installed) and none of them have jam.
--
Sean McBride, B. Eng
out how to do that now).
I can probably help with that... when you say 'file descriptor', what do
you mean exactly? (the term can be overloaded). Which API did you get
the descriptor from?
--
Sean McBride, B. Eng [EMAIL
/chapter_5_section_10.html#//
apple_ref/doc/uid/TP40002217-CH239-280492
Thanks,
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal
)
David, how do you want to handle this? It looks as though the API will
have to change to avoid this depreciated type.
Or you could deprecate FT_New_Face_From_FSSpec() and add a new analogous
API FT_New_Face_From_FSRef().
--
Sean McBride
/chapter_1_section_1.html
- The main header is ATSFont.h, in ApplicationServices/ATS
Of course, this isn't a short term problem, and I am not in a position
to supply a patch, but I did want to bring this to your attention.
Thanks,
--
Sean McBride, B
75 matches
Mail list logo