[Bf-committers] Test account

2012-04-25 Thread ValterVB .

It is really a good opportunity for buying electronic products. Don't miss it.
   Best regards!  www.gmail123.com . 
△ 
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Arabic translation support in the UI script

2011-10-09 Thread ValterVB
I use these commands:

D:\BlenderSVN\install\blender25-win64-vc\blender --background --factory-startup 
 --python update_msg.py
D:\BlenderSVN\install\blender25-win64-vc\blender --background --factory-startup 
 --python update_pot.py
D:\BlenderSVN\install\blender25-win64-vc\blender --background --factory-startup 
 --python update_po.py

Isn't correct?

Thanks
-Messaggio originale- 
From: Sergey I. Sharybin
Sent: Sunday, October 09, 2011 12:03 PM
To: bf-committers@blender.org
Subject: Re: [Bf-committers] Arabic translation support in the UI script

Hi,

Looks like you're trying to run update_po script in way like this:
`blender --python update_po.py it`. It's wrong way. Only update_msg,py
is supposed to be run in blender, all the rest script are supposed to be
run using pyton in way like `python update_po.py`

ValterVB wrote:
 I have some problem to update the po file.
 I have compiled Blender wih SCONS on Win 7 64 bit, I have changed
 update_pot.py for the problem with GETTEXT.
 Some Solution?

 In step 1 I have the following error:
 ---
 Written 9165 messages to: 'D:\\BlenderSVN\\blender\\po\\messages.txt'
 Error: Not freed memory blocks: 1
 RNA_enum_items_add len: 320 034F5A08

 Blender quit
 ---
 In step 2 No error

 In step 3 I have the following Message:
 ---
 *** Running 'D:\\BlenderSVN\\blender\\po\\update_po.py' ***

 msgmerge --update --backup=none --lang=it D:\BlenderSVN\blender\po\it.po
 D:\BlenderSVN\blender\po\blender.pot
 
 
 
 
 
 
 
 
 
 
 
 .. done.
 read blend: D:\BlenderSVN\blender\po\it
 Unable to open D:\BlenderSVN\blender\po\it: Unknown error reading file.
 ---


-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers 

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Arabic translation support in the UI script

2011-10-08 Thread ValterVB
I have some problem to update the po file.
I have compiled Blender wih SCONS on Win 7 64 bit, I have changed 
update_pot.py for the problem with GETTEXT.
Some Solution?

In step 1 I have the following error:
---
Written 9165 messages to: 'D:\\BlenderSVN\\blender\\po\\messages.txt'
Error: Not freed memory blocks: 1
RNA_enum_items_add len: 320 034F5A08

Blender quit
---
In step 2 No error

In step 3 I have the following Message:
---
*** Running 'D:\\BlenderSVN\\blender\\po\\update_po.py' ***

msgmerge --update --backup=none --lang=it D:\BlenderSVN\blender\po\it.po 
D:\BlenderSVN\blender\po\blender.pot











.. done.
read blend: D:\BlenderSVN\blender\po\it
Unable to open D:\BlenderSVN\blender\po\it: Unknown error reading file.
---

-Messaggio originale- 
From: Dalai Felinto
Sent: Thursday, October 06, 2011 9:22 AM
To: bf-blender developers
Subject: Re: [Bf-committers] Arabic translation support in the UI script

I talked with Sergey and this is the current workflow. We can add it to
//po/README.txt if other translators will run into that. But the basic
information is there already:

(1) run update_msg.py (it needs compiled Blender)
(2) run update_pot.py - gather the latest strings from Blender
(3) run update_po.py - sync in the new changes from trunk
(4) run clean_po.py - remove the no longer needed msgstr/msgid
(5) run merge_po.py to bring the new .po file into trunk's .po

If you actually want to discard the old translations from trunk's ar.po it's
better to cook your own .py for that (trivial to adapt the arabic_to_utf.py
for that as you know). Given that this is the exception and not the rule I
don't think we need this officially in trunk. This would happen between (4)
and (5).

* Note: you likely want to run clean_po.py in your new .po to avoid
translate strings that are not needed.

(can someone please share this in the translators mailing-list?)

--
Dalai


2011/10/5 Dalai Felinto dfeli...@gmail.com

 Hi Yousef ,

 Blender is no longer storing the .pot file in trunk. The reason is that
 this file changes a lot, and is really easy to rebuild running the scripts
 in the .po folder.

 Would it help if I send you the latest blender.pot and the ar.po resulting
 from that? You would still need to run a .po merge.
 Maybe we could take the resulting trunk ar.po, clean all the msgstr and
 then use the merge_po.py scrip.
 The script was written by Sergey, CC here.
 @Sergey, is that right? any other suggestions here?


 By the way, here [1] you can find my new take in the arabic_to_utf script.
 There are a few changes making it to look more python-like (I got some of
 your changes there). The result will still differ from your take on it. 
 The
 reason(s) is: (1) I believe I need to check for both side-connections, not
 only the start. (2) since your 1st script it seems you didn't check 
 whether
 the char itself can connect to the left/right (always checking only the 
 next
 chars). (3) if you don't increase (g) inside the loop for
 the laaam/l/laaahz/ you will end up processing the following char
 twice.

 * I'm not so sure about the (3), but the (1) and (2) reflects the little I
 understand of the arabic language (reading your code + wikipedia + help 
 from
 a friend)

 Regards,
 Dalai

 1- http://dl.dropbox.com/u/3292898/arabic/arabic_to_utf.py

 2011/10/4 Yousef Hurfoush ba...@msn.com

 hi

 @ Dalai

 i finished translating the 1st milestone in ar.po (~1000 phrase), and i'd
 like to update it in the trunk:
 the problem is that it is based on pot file which was before the new
 generated ar.po

 another issue is that this we are re-translating the file from zero,
 and the one in the trunk is about 5000 fuzzy translated misplaced words
 so i need an empty .pot template and i can't generate it the old way!

 can you provide me with an empty ar.po file i could work on?
 and can i merge my translated file into it without errors

 here is the new translation:
 https://sourceforge.net/p/batp/code/44/tree/done/ar.po


 and a screen shot in blender:
 

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40128] trunk/blender/source/blender: Recast: forgot the new files in last commit.

2011-09-11 Thread ValterVB
Now working :)

-Messaggio originale- 
From: Benoit Bolsee
Sent: Sunday, September 11, 2011 4:43 PM
To: bf-blender-...@blender.org
Subject: [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40128] 
trunk/blender/source/blender: Recast: forgot the new files in last commit.

Revision: 40128
  
http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=40128
Author:   ben2610
Date: 2011-09-11 14:43:53 + (Sun, 11 Sep 2011)
Log Message:
---
Recast: forgot the new files in last commit.

Added Paths:
---
trunk/blender/source/blender/blenkernel/BKE_navmesh_conversion.h
trunk/blender/source/blender/blenkernel/intern/navmesh_conversion.cpp

Removed Paths:
-
trunk/blender/source/blender/editors/include/ED_navmesh_conversion.h
trunk/blender/source/blender/editors/util/navmesh_conversion.cpp

Added: trunk/blender/source/blender/blenkernel/BKE_navmesh_conversion.h
===
--- trunk/blender/source/blender/blenkernel/BKE_navmesh_conversion.h 
(rev 0)
+++ trunk/blender/source/blender/blenkernel/BKE_navmesh_conversion.h 
2011-09-11 14:43:53 UTC (rev 40128)
@@ -0,0 +1,64 @@
+/**
+* $Id$
+*
+* * BEGIN GPL LICENSE BLOCK *
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software Foundation,
+* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*
+* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+* All rights reserved.
+*
+* The Original Code is: all of this file.
+*
+* Contributor(s): none yet.
+*
+* * END GPL LICENSE BLOCK *
+*/
+
+#ifndef BKE_NAVMESH_CONVERSION_H
+#define BKE_NAVMESH_CONVERSION_H
+
+struct DerivedMesh;
+
+/* navmesh_conversion.cpp */
+bool buildNavMeshDataByDerivedMesh(DerivedMesh *dm, int vertsPerPoly,
+int nverts, float *verts,
+int ndtris, unsigned short *dtris,
+int npolys, unsigned short *dmeshes,
+unsigned short* polys, int *dtrisToPolysMap,
+int *dtrisToTrisMap, int *trisToFacesMap);
+
+bool buildRawVertIndicesData(DerivedMesh* dm, int nverts, float *verts,
+ int ntris, unsigned short *tris, int *trisToFacesMap,
+ int *recastData);
+
+bool buildNavMeshData(const int nverts, const float* verts,
+   const int ntris, const unsigned short *tris,
+   const int* recastData, const int* trisToFacesMap,
+   int ndtris, unsigned short *dtris,
+   int npolys, unsigned short *dmeshes, unsigned short *polys,
+   int vertsPerPoly, int *dtrisToPolysMap, int *dtrisToTrisMap);
+
+bool buildPolygonsByDetailedMeshes(const int vertsPerPoly, const int 
npolys,
+ unsigned short* polys, const unsigned short* dmeshes,
+ const float* verts, const unsigned short* dtris,
+ const int* dtrisToPolysMap);
+
+int polyNumVerts(const unsigned short* p, const int vertsPerPoly);
+bool polyIsConvex(const unsigned short* p, const int vertsPerPoly, const 
float* verts);
+int polyFindVertex(const unsigned short* p, const int vertsPerPoly, 
unsigned short vertexIdx);
+float distPointToSegmentSq(const float* point, const float* a, const float* 
b);
+
+#endif //NAVMESH_CONVERSION_H


Property changes on: 
trunk/blender/source/blender/blenkernel/BKE_navmesh_conversion.h
___
Added: svn:keywords
   + Author Date Id Revision
Added: svn:eol-style
   + native

Added: trunk/blender/source/blender/blenkernel/intern/navmesh_conversion.cpp
===
--- trunk/blender/source/blender/blenkernel/intern/navmesh_conversion.cpp 
(rev 0)
+++ trunk/blender/source/blender/blenkernel/intern/navmesh_conversion.cpp 
2011-09-11 14:43:53 UTC (rev 40128)
@@ -0,0 +1,464 @@
+/**
+* $Id$
+*
+* * BEGIN GPL LICENSE BLOCK *
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software Foundation,
+* 

Re: [Bf-committers] Blender developer IRC meeting minutes, April 10 2011

2011-04-11 Thread ValterVB
Sergey, I can't update the driver.
I haven't administrator privilege. It's my job laptop and I don't use it 
with Blender, but  if you need some test I can do it.

Ciao
Valter


-Messaggio originale- 
From: Sergey I. Sharybin
Sent: Monday, April 11, 2011 5:14 PM
To: bf-committers@blender.org
Subject: Re: [Bf-committers] Blender developer IRC meeting minutes, April 10 
2011

  Valter and Gustav,

I've checked google a bit and found that 1-2 years old drivers crashes
at second call of wglMakeCurrent when using shared contexts. Is it
possible to you to update your driver to the newer version?

I'm preparing newer version with more debug prints after context
creation to be sure you've got crash exactly at wglMakeCurrent or
somewhere else, would be useful if you'll investigate posibility of
driver upgrade during i'm working.

P.S. To get log of blender you could try to use blender.exe -d 
log.txt in the console -- should work fine.

ValterVB wrote:
 If you are interested: I have a crash with
 blender-2.57-prerelease-intelgfx-debug-r36098M-win32.exe
 Here the log (print screen) http://www.pasteall.org/pic/10909 and here the
 system info http://www.pasteall.org/20734

 Ciao
 VB

 -Messaggio originale-
 From: Gustav Göransson
 Sent: Monday, April 11, 2011 3:45 PM
 To: bf-blender developers
 Subject: Re: [Bf-committers] Blender developer IRC meeting minutes,April 
 10
 2011

 Hi

 I did some more testing with various official builds. There was no 
 problems
 opening 2 new windows with the older build. However I did get a crash when
 switching from triple buffer to any other drawing mode with the 64-bit
 builds, but that might be a separate issue?...

 2.56a 32-bit: OK
 2.56a 64-bit: OK (however crashes when switching form tripple buffer to 
 any
 other mode)
 2.57 RC2 32-bit: OK
 2.57 RC2 64-bit: OK (however crashes when switching form tripple buffer to
 any other mode)
 Blender 32-bit r36097 from buildbot: Crash
 Debug 32-bit: Crash
 Debug 64-bit: Crash

 Is the debug log stored anywhere, cause I didn't manage to find it? 
 However
 here's some print screens of the frozen console windows:
 http://gustavgoransson.com/temp/32.png
 http://gustavgoransson.com/temp/64.png

 I also answered in the thread at BA.org
 http://blenderartists.org/forum/showthread.php?214584

 /Gustav


 On Mon, Apr 11, 2011 at 14:07, Sergey I. 
 Sharybing.ula...@gmail.comwrote:

   Ooops.. Mistakes are here...

 And if there'll be still issues, please show us console output for
 `blender -d` using binaries

 http://letworyinteractive.com/builds/blender-2.57-prerelease-intelgfx-debug-r36098M-win64.exe
 or

 http://letworyinteractive.com/builds/blender-2.57-prerelease-intelgfx-debug-r36098M-win32.exe

 Sergey I. Sharybin wrote:
 And if there'll be still issues, please show us console output for
 `blender -d` isunf binaries

 http://letworyinteractive.com/builds/blender-2.57-prerelease-intelgfx-debug-r36098M-win64.exe
 or

 http://letworyinteractive.com/builds/blender-2.57-prerelease-intelgfx-debug-r36098M-win32.exe
 Gustav Göransson wrote:
 On Sun, Apr 10, 2011 at 17:53, Ton Roosendaalt...@blender.org   wrote:

 - There's now code in svn that should prevent Intel graphics cards to
 crash on opening 2nd windows (like User Preferences). Please report if
 this can be confirmed.


 For me it had the opposite effect. I have not experienced any
 problems earlier with opening a 2nd window. However with the latest
 revision
 blender crashes immediately when opening the User Preferences. I'm
 running
 win 7 with Intel 4500MHD graphics...
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers


 --
 With best regards, Sergey I. Sharybin

 --
 With best regards, Sergey I. Sharybin

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers



-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers 

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers