[Bf-committers] Re: A patch for correct display of Chinese characters of File Open box (Bf-committers Digest, Vol 23, Issue 38)

Drip Stone wisitvenita at gmail.com
Tue Jun 20 08:20:20 CEST 2006


I made a stable patch for File-Open-Box problem to Chinese characters.
Comparing to the earlier one,  this patch won't crush blender when we
open and or use the File Open box.
To input Chinese or other International characters in blender, I need
more wok to do.

On 6/18/06, bf-committers-request at projects.blender.org
<bf-committers-request at projects.blender.org> wrote:
> Send Bf-committers mailing list submissions to
>         bf-committers at projects.blender.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://projects.blender.org/mailman/listinfo/bf-committers
> or, via email, send a message with subject or body 'help' to
>         bf-committers-request at projects.blender.org
>
> You can reach the person managing the list at
>         bf-committers-owner at projects.blender.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Bf-committers digest..."
>
>
> Today's Topics:
>
>    1. A patch for correct display of Chinese character of       File Open
>       box (Drip Stone)
>    2. Bittorrent seeding (Joe Eagar)
>    3. Re: Obsolete Bullet projectfiles? Re: CVS commit:
>       blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp
>       (bjornmose)
>    4. Re: Obsolete Bullet projectfiles? Re: CVS
>       commit:blender/extern/bullet/BulletDynamics
>       BLI_BulletDynamics.dsp (Erwin Coumans)
>    5. Python bone.roll bugfix and dof bindings (Alberto Torres)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 17 Jun 2006 23:26:34 +0800
> From: "Drip Stone" <wisitvenita at gmail.com>
> Subject: [Bf-committers] A patch for correct display of Chinese
>         character of    File Open box
> To: bf-committers at projects.blender.org
> Message-ID:
>         <5b0822940606170826w1429a15ar4a63ccd5c97d994d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> A patch for correct display of Chinese character of File Open box
>
> Some infomations here:
>
> 1./cvsroot/bf-blender/blender/config/win32-vc-config.py
> I don't know how to link iconv.lib into Blender executive file, so I
> add iconv at the end of
> LLIBS = 'ws2_32 dxguid vfw32 winmm kernel32 user32 gdi32 comdlg32
> advapi32 shell32 ole32 oleaut32 uuid'
>
> 2./cvsroot/bf-blender/blender/source/blender/ftfont/SConscript and
> /cvsroot/bf-blender/blender/source/blender/src/SConscript
> I modified them for enable ICONV. I don't know if they are the right place
>
> 3./cvsroot/bf-blender/blender/source/blender/src/filesel.c
> I mainly modified this file
> if some 'if' or 'case' are added in, other language whichi are not
> native will be supported
>
> 4./cvsroot/bf-blender/blender/source/blender/src/interface_draw.c
> I modified this file to support intenational. broken(a name) told me. Thanks.
>
> I think somebody can enhance it. Here I just give a suggestion for
> native English
> coders.
>
> -DripStone
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: dripstone.patch.rar
> Type: application/x-rar-compressed
> Size: 1747 bytes
> Desc: not available
> Url : http://projects.blender.org/pipermail/bf-committers/attachments/20060617/3e1d42f7/dripstone.patch-0001.bin
>
> ------------------------------
>
> Message: 2
> Date: Sat, 17 Jun 2006 08:31:02 -0700
> From: Joe Eagar <joeeagar at prodigy.net>
> Subject: [Bf-committers] Bittorrent seeding
> To: bf-blender developers <bf-committers at projects.blender.org>
> Message-ID: <44942036.2000602 at prodigy.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi.  I'm available to preseed the torrents of 2.42 (if we're doing
> bittorrent this time around).  Last time I seeded, I uploaded about
> 150-200 megs of Blender, so people do use the torrents.
>
> Joe
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 17 Jun 2006 23:55:35 +0200
> From: bjornmose <bjornmose at gmx.net>
> Subject: Re: [Bf-committers] Obsolete Bullet projectfiles? Re: CVS
>         commit: blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp
> To: bf-blender developers <bf-committers at projects.blender.org>
> Message-ID: <44947A57.1070401 at gmx.net>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> erwin at erwincoumans.com wrote:
> >
> > Haha :)
> I always like to give people a good laugh.
> > Actually, those old projectfiles in blender/extern/bullet/Bullet a and
> > blender/extern/bullet/BulletDynamics are obsolete. Bullet library has
> > autogenerated projectfiles in bullet/msvc, but I didn't add those to
> > Blender.
> None of the documentation files provided in the foo/bullet dir give a
> hint how to autogenerate those project files. See, i'm not so keen on
> creating/maintaining those files if there is a 'simly push that button'
> solution for that. Not to mention that i hate to clutter up CVS tree
> with unneeded files.
> So maybe some few enlightening words in a 'HowToBuild.txt' might help
> build system maintainers.
>
> On the other hand  MSVC6 build newcomers often fail to understand the
> 1st 'intern' then 'blender' workspace mambo ( and i found myself
> 'gnarfing' on it every once a while ) and another step in the building
> pipeline won't make things easier. That were the main reasons to pull
> building bullet in the blender workspace and providing proper
> projectfiles. Humm, i think this goes for other (7/8) VS users as well.
>
> > Probably best to delete those obsolete projectfiles, if noone uses them.
> > Does anyone use those obsolete projectfiles?
> > blender/extern/bullet/Bullet/Bullet3.dsp
> > blender/extern/bullet/Bullet/Bullet3_vc7.vcproj
> > blender/extern/bullet/Bullet/Bullet3_vc8.vcproj
> > blender/extern/bullet/Bullet/Bullet3_vc8.sln
> > blender/extern/bullet/Bullet/BulletDynamics.dsp
> > blender/extern/bullet/Bullet/BulletDynamics_vc8.vcproj
> > blender/extern/bullet/Bullet/BulletDynamics_vc7.vcproj
> > Otherwise, I'll remove them after the 2.42 release (just in case).
> With the said above it should be clear i am 'pro' removing obsolete
> files, provided every 'stumble across' newcomer builder can build and
> debug down into. Oh... how i whished i had tools like that, way back
> then, to understand what a program does.
>
> my 0.02 euros, but may be i am missing the 'big point' again,
> so me apoligizes and gives alzheimer and all other post 45 shortcomings
> the blame
> ole
>
> > Thanks,
> > Erwin
> >
> > Jens Ole Wund (bjornmose) writes:
> >
> >> bjornmose (Jens Ole Wund(bjornmose)) 2006/06/17 00:06:22 CEST
> >>   Added files:
> >>     blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp     Log:
> >>   MSVC6
> >>   Defensive way not to interfere with other (crystal) build systems
> >>   so .. i can maintain building bullet for blender on MSVC6 without
> >> spitting in
> >>   the "whateverbulletteamthinkstobenice" soup
> >> _______________________________________________
> >> Bf-blender-cvs mailing list
> >> Bf-blender-cvs at projects.blender.org
> >> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
> >
> >
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at projects.blender.org
> > http://projects.blender.org/mailman/listinfo/bf-committers
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 17 Jun 2006 18:48:17 -0700
> From: "Erwin Coumans" <erwin at erwincoumans.com>
> Subject: Re: [Bf-committers] Obsolete Bullet projectfiles? Re: CVS
>         commit:blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp
> To: "bf-blender developers" <bf-committers at projects.blender.org>
> Message-ID: <000c01c69279$45d8ebe0$6401a8c0 at BigVaio>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>         reply-type=response
>
> ?!?
>
> Anyway, unless someone still needs those files below, we can removed them
> after the 2.42 release ;-)
>
>  blender/extern/bullet/Bullet/Bullet3.dsp
>  blender/extern/bullet/Bullet/Bullet3_vc7.vcproj
>  blender/extern/bullet/Bullet/Bullet3_vc8.vcproj
>  blender/extern/bullet/Bullet/Bullet3_vc8.sln
>  blender/extern/bullet/Bullet/BulletDynamics.dsp
>  blender/extern/bullet/Bullet/BulletDynamics_vc8.vcproj
>  blender/extern/bullet/Bullet/BulletDynamics_vc7.vcproj
>
> Thanks,
> Erwin
>
>
>
>
> ----- Original Message -----
> From: "bjornmose" <bjornmose at gmx.net>
> To: "bf-blender developers" <bf-committers at projects.blender.org>
> Sent: Saturday, June 17, 2006 2:55 PM
> Subject: Re: [Bf-committers] Obsolete Bullet projectfiles? Re: CVS
> commit:blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp
>
>
> > erwin at erwincoumans.com wrote:
> >>
> >> Haha :)
> > I always like to give people a good laugh.
> >> Actually, those old projectfiles in blender/extern/bullet/Bullet a and
> >> blender/extern/bullet/BulletDynamics are obsolete. Bullet library has
> >> autogenerated projectfiles in bullet/msvc, but I didn't add those to
> >> Blender.
> > None of the documentation files provided in the foo/bullet dir give a hint
> > how to autogenerate those project files. See, i'm not so keen on
> > creating/maintaining those files if there is a 'simly push that button'
> > solution for that. Not to mention that i hate to clutter up CVS tree with
> > unneeded files.
> > So maybe some few enlightening words in a 'HowToBuild.txt' might help
> > build system maintainers.
> >
> > On the other hand  MSVC6 build newcomers often fail to understand the 1st
> > 'intern' then 'blender' workspace mambo ( and i found myself 'gnarfing' on
> > it every once a while ) and another step in the building pipeline won't
> > make things easier. That were the main reasons to pull building bullet in
> > the blender workspace and providing proper projectfiles. Humm, i think
> > this goes for other (7/8) VS users as well.
> >
> >> Probably best to delete those obsolete projectfiles, if noone uses them.
> >> Does anyone use those obsolete projectfiles?
> >> blender/extern/bullet/Bullet/Bullet3.dsp
> >> blender/extern/bullet/Bullet/Bullet3_vc7.vcproj
> >> blender/extern/bullet/Bullet/Bullet3_vc8.vcproj
> >> blender/extern/bullet/Bullet/Bullet3_vc8.sln
> >> blender/extern/bullet/Bullet/BulletDynamics.dsp
> >> blender/extern/bullet/Bullet/BulletDynamics_vc8.vcproj
> >> blender/extern/bullet/Bullet/BulletDynamics_vc7.vcproj
> >> Otherwise, I'll remove them after the 2.42 release (just in case).
> > With the said above it should be clear i am 'pro' removing obsolete files,
> > provided every 'stumble across' newcomer builder can build and debug down
> > into. Oh... how i whished i had tools like that, way back then, to
> > understand what a program does.
> >
> > my 0.02 euros, but may be i am missing the 'big point' again,
> > so me apoligizes and gives alzheimer and all other post 45 shortcomings
> > the blame
> > ole
> >
> >> Thanks,
> >> Erwin
> >>
> >> Jens Ole Wund (bjornmose) writes:
> >>
> >>> bjornmose (Jens Ole Wund(bjornmose)) 2006/06/17 00:06:22 CEST
> >>>   Added files:
> >>>     blender/extern/bullet/BulletDynamics BLI_BulletDynamics.dsp     Log:
> >>>   MSVC6
> >>>   Defensive way not to interfere with other (crystal) build systems
> >>>   so .. i can maintain building bullet for blender on MSVC6 without
> >>> spitting in
> >>>   the "whateverbulletteamthinkstobenice" soup
> >>> _______________________________________________
> >>> Bf-blender-cvs mailing list
> >>> Bf-blender-cvs at projects.blender.org
> >>> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
> >>
> >>
> >>
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at projects.blender.org
> >> http://projects.blender.org/mailman/listinfo/bf-committers
> >>
> >>
> >
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at projects.blender.org
> > http://projects.blender.org/mailman/listinfo/bf-committers
> >
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 18 Jun 2006 06:41:46 +0200
> From: "Alberto Torres" <kungfoobar at gmail.com>
> Subject: [Bf-committers] Python bone.roll bugfix and dof bindings
> To: bf-committers at projects.blender.org
> Message-ID:
>         <bf7d15e10606172141l4b4c9c67y4e33a4644d54dd75 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
> I fixed a bug that made me crazy while I was making a python script.
>
> Select an armature and get the roll value in editmode
> arm=Blender.GetSelected()[0].getData()
> arm.makeEditable()
> print arm.bones['Bone'].roll
> (always getting something like -4.12342341324e-44)
>
> Without makeEditable() I was getting the correct value, but I later
> discovered that the bindings are different in editmode. The binding
> for roll was buggy. I've attached a patch.
>
> I also needed to access all DoF (degrees of freedom, not depth of
> field) values. There are already limitMin and limitMax.
> I added stiffness, ikstretch, lock x/y/z and limit x/y/z. I
> implemented the last two as arrays of booleans (dofLock and dofLimit),
> also accepting arrays of integers (i.e. [True,False,True] or [1,0,1]).
>
> I knew nothing about python one week ago, but I made my first script
> (dealing with armatures and constraints), then I made my first blender
> patch and ended up hacking blender code to suit my needs. Am I
> becoming addicted to this?
>
> Although cvs was feature frozen last Tuesday, I think my code is good
> enough to be included in the next Blender release.
>
> Best regards
> --
> Alberto Torres Ruiz (a.k.a. DiThi)
> e-mail: kungfoobar at gmail.com
> Jabber ID: dithi at jabber.org
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: rollfix.patch
> Type: text/x-patch
> Size: 639 bytes
> Desc: not available
> Url : http://projects.blender.org/pipermail/bf-committers/attachments/20060618/c2979df5/rollfix.bin
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: dofbindings.patch
> Type: text/x-patch
> Size: 10789 bytes
> Desc: not available
> Url : http://projects.blender.org/pipermail/bf-committers/attachments/20060618/c2979df5/dofbindings.bin
>
> ------------------------------
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
> End of Bf-committers Digest, Vol 23, Issue 38
> *********************************************
>


More information about the Bf-committers mailing list