Commit Graph

1521 Commits

Author SHA1 Message Date
briano%netscape.com
4824124342 It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
git-svn-id: svn://10.0.0.236/trunk@26932 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:05:53 +00:00
pinkerton%netscape.com
cbd5c36140 Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
git-svn-id: svn://10.0.0.236/trunk@26899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:15:14 +00:00
michaelp%netscape.com
0e4a1f69c8 flush the font cache after setting a new zoom value.
git-svn-id: svn://10.0.0.236/trunk@26829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:41:17 +00:00
michaelp%netscape.com
bd383bcf10 cleaned.
git-svn-id: svn://10.0.0.236/trunk@26828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:40:20 +00:00
ftang%netscape.com
85c84fbb13 fix bug 4694. Change the Hangul block to the Unicode 2.0 Hangul rnage from 1.1 rnage
git-svn-id: svn://10.0.0.236/trunk@26822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 21:38:07 +00:00
erik%netscape.com
2b056a5512 Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh.
git-svn-id: svn://10.0.0.236/trunk@26813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 17:12:12 +00:00
ramiro%netscape.com
2183c4f5ec Comment out a annoying printf. Approved by cyeh.
git-svn-id: svn://10.0.0.236/trunk@26730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:04:35 +00:00
pavlov%pavlov.net
de0548133f fix for double freeing
git-svn-id: svn://10.0.0.236/trunk@26724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:36:38 +00:00
pavlov%pavlov.net
5fd42621da rot13'd all the files to make them appear much prettier, and in the process fixed some bugs i believe.
git-svn-id: svn://10.0.0.236/trunk@26679 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:02:44 +00:00
pierre%netscape.com
ac248da276 added nsATSUIUtils.cpp
moved the ATSUI code out of nsRenderingContextMac


git-svn-id: svn://10.0.0.236/trunk@26671 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:18:53 +00:00
pierre%netscape.com
a7e3347af5 made the destructor public
git-svn-id: svn://10.0.0.236/trunk@26670 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:17:03 +00:00
pierre%netscape.com
965ad1f548 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:16:22 +00:00
erik%netscape.com
fef325b269 Bug 4573. Was not dealing with the case where only a scalable font was
available (no bitmap fonts). Fixed.


git-svn-id: svn://10.0.0.236/trunk@26507 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:45:38 +00:00
ramiro%netscape.com
ecfe74e4fc Add SetClip{Rect,Region} tracing debug code.
git-svn-id: svn://10.0.0.236/trunk@26476 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 13:22:21 +00:00
ramiro%netscape.com
4ccc8248ec Add #ifdef copy flag debug printfs.
git-svn-id: svn://10.0.0.236/trunk@26475 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 12:48:46 +00:00
michaelp%netscape.com
79d4017b97 enabled creation of blender objects.
git-svn-id: svn://10.0.0.236/trunk@26345 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:49:18 +00:00
erik%netscape.com
4a471099d5 Got rid of some tabs.
git-svn-id: svn://10.0.0.236/trunk@26340 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:31:58 +00:00
syd%netscape.com
a7871a9141 Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
git-svn-id: svn://10.0.0.236/trunk@26331 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:45:08 +00:00
erik%netscape.com
e515da88da Added font scaling. It will try to scale the font if it's available, and
the desired size is more than 20% larger or smaller than an available
bitmap font.


git-svn-id: svn://10.0.0.236/trunk@26329 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:30:07 +00:00
ftang%netscape.com
1504193f4a Fix breakage. Add #include <Resources.h>
git-svn-id: svn://10.0.0.236/trunk@26306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:38:27 +00:00
erik%netscape.com
48e08d6ecc Add some space beneath East Asian characters for the underline. Also,
adjust their baseline to sit above the underline.


git-svn-id: svn://10.0.0.236/trunk@26305 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:30:12 +00:00
ftang%netscape.com
07c6905527 Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre
git-svn-id: svn://10.0.0.236/trunk@26302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:06:55 +00:00
ftang%netscape.com
e16be676b7 Add TextCommon and TextEncodingConverter lib
git-svn-id: svn://10.0.0.236/trunk@26301 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:05:12 +00:00
erik%netscape.com
7cd59c756a Adding Japanese support to the Unix/GTK font code.
git-svn-id: svn://10.0.0.236/trunk@26101 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:06:19 +00:00
erik%netscape.com
ddb0243299 AIX's compiler is strict. Fixed my code.
git-svn-id: svn://10.0.0.236/trunk@26073 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:34:14 +00:00
erik%netscape.com
59813383d2 Need to check for dummy font family, and ignore. Corrected.
git-svn-id: svn://10.0.0.236/trunk@26056 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:40:11 +00:00
erik%netscape.com
6bb38eefa3 Bold Japanese text was not working, since there are no bold Japanese fonts
on Linux. So I re-arranged the font tree to allow normal Japanese fonts to
be used instead.


git-svn-id: svn://10.0.0.236/trunk@26054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:10:38 +00:00
erik%netscape.com
88c9cee5e2 Free the loaded fonts array. Start the loaded fonts array at size 1.
git-svn-id: svn://10.0.0.236/trunk@26041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 15:52:29 +00:00
erik%netscape.com
693fddafb7 Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
code is now live.


git-svn-id: svn://10.0.0.236/trunk@26040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 15:36:01 +00:00
erik%netscape.com
859038b71e Fixed uninitialized memory problem, and added DrawString routine for new
FONT_SWITCHING code (for Unicode). To be enabled (ifdeffed) tomorrow AM.


git-svn-id: svn://10.0.0.236/trunk@26033 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 07:20:13 +00:00
ramiro%netscape.com
26d7763179 Tweak code to allow blending to work on unix. It will currently work only
on certain depths and images.  Demo10 works on 16 bit depths.


git-svn-id: svn://10.0.0.236/trunk@25931 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:29:44 +00:00
ramiro%netscape.com
4adec15809 Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
git-svn-id: svn://10.0.0.236/trunk@25925 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:58:46 +00:00
erik%netscape.com
2dd645998c Initial check-in of new X/GTK font code. Improved font-weight "bolder"
and "lighter", more accurate font-size (max ascent and max descent),
better speed.
However, ifdeffed for now to try on various platforms.


git-svn-id: svn://10.0.0.236/trunk@25759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:04:36 +00:00
jdunn%netscape.com
49f993adf9 Include prenv to get PR_GetEnv prototype
git-svn-id: svn://10.0.0.236/trunk@25756 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:55:29 +00:00
erik%netscape.com
13e6745f5e Fixed a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@25755 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:52:51 +00:00
syd%netscape.com
bcd7aa96e1 Fix for AIX build bustage.
git-svn-id: svn://10.0.0.236/trunk@25743 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:18:54 +00:00
syd%netscape.com
75beec54f9 Fix for AIX compatibility
git-svn-id: svn://10.0.0.236/trunk@25742 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:18:11 +00:00
syd%netscape.com
5279f6ba9b Replace getenv with NSPR function, remove stdlib.h include. Partially done
for AIX build.


git-svn-id: svn://10.0.0.236/trunk@25741 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:17:01 +00:00
mcafee%netscape.com
b5125a44ff Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC.
git-svn-id: svn://10.0.0.236/trunk@25703 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 09:14:07 +00:00
ramiro%netscape.com
f23a8587f3 Take gtk specific blender code out. Its not needed. All blender code is
fully XP now.
Also, turn off manufacturing of blender objects until unix speicifc issues
can be resolved.  Otherwise, stuff like demo4 breaks.


git-svn-id: svn://10.0.0.236/trunk@25682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:21:07 +00:00
michaelp%netscape.com
e819e37260 now vends nsBlender rather than nsBlenderWin.
git-svn-id: svn://10.0.0.236/trunk@25679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:07:12 +00:00
michaelp%netscape.com
a84c5af336 made blender fully XP.
git-svn-id: svn://10.0.0.236/trunk@25668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
4058a64630 kill nsBlenderWin
git-svn-id: svn://10.0.0.236/trunk@25667 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
c3ab7cf6a1 killed
git-svn-id: svn://10.0.0.236/trunk@25666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:53:11 +00:00
ramiro%netscape.com
52ef5e02cd delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.


git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:26:59 +00:00
pavlov%pavlov.net
14f5e1194a more work on Lock() and Unlock()
git-svn-id: svn://10.0.0.236/trunk@25561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:52:05 +00:00
michaelp%netscape.com
09a2209d89 fixed problem of gImageManager becoming a dnagling reference to a dead object
by adding an additional reference to the global image manager when it is
created. current solution is that suggested by adam locke, but this really needs
to be a service so that we don't leak memory. also made destructor virtual
to correct warning pointed out by bruce@cybersight.com.


git-svn-id: svn://10.0.0.236/trunk@25558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:43:32 +00:00
syd%netscape.com
b89400d5e9 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@25557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:42:08 +00:00
michaelp%netscape.com
d3a7c2adb0 added virtual destructors where necessary as pointed out by bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@25555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:41:13 +00:00
syd%netscape.com
ad7a8eea52 Fixed misspell of virtual.
git-svn-id: svn://10.0.0.236/trunk@25547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:33:40 +00:00