OS X version multibyte input added (Unofficial build)

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

OS X version multibyte input added (Unofficial build)

Post #1by dirkpitt » 17.06.2007, 08:58

I just added support for multibyte console input (Chinese/Japanese/Korean etc) in the OS X version of Celestia. It's not yet in CVS, but an unofficial build is available from my builds site.

This build also includes a long-overdue fix for shift+tab not working in the OS X version's console.

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 8 months
Location: Leiden, The Netherlands

Post #2by julesstoop » 17.06.2007, 21:23

Downloading it right now, thanks!

By the way. Building from CVS has stopped working for me about two weeks ago (until then it went fine). Do you have any idea what I shoud be looking at to fix it?
Lapinism matters!
http://settuno.com/

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #3by Cham » 17.06.2007, 22:57

Thanks a lot Dirkpitt, that shift-tab feature was really missing. Now it works beautifully.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #4by dirkpitt » 17.06.2007, 23:32

julesstoop wrote:Building from CVS has stopped working for me about two weeks ago (until then it went fine). Do you have any idea what I shoud be looking at to fix it?


Are you opening celestia.xcode, or celestia.xcodeproj?
Only celestia.xcodeproj works (for now). If celestia.xcodeproj appears as a plain folder, try downloading Xcode 2.4.1 from Apple's site.

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 8 months
Location: Leiden, The Netherlands

Post #5by julesstoop » 18.06.2007, 01:55

I'm opening the .xcodeproj-file.
When I try to build it stops very early on. In my errors folder it gives three errors related to the English, French and Spnaisch localisations:

Tool:0: pbxcp: EclipseFinder.nib: No such file or directory
Tool:0: pbxcp: EclipseFinder.nib: No such file or directory
Tool:0: pbxcp: EclipseFinder.nib: No such file or directory

These files seem to be the culprits:
/Users/julesstoop/celestia/macosx/English.lproj/EclipseFinder.nib
/Users/julesstoop/celestia/macosx/es.lproj/EclipseFinder.nib
/Users/julesstoop/celestia/macosx/fr.lproj/EclipseFinder.nib
Lapinism matters!
http://settuno.com/

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #6by dirkpitt » 18.06.2007, 03:39

Nib files are finicky to update from CVS sometimes... in cases like this you should redownload a fresh copy of Celestia from CVS to get the updated nib files.

Or you could in this case try deleting any existing EclipseFinder.nib files that you already have, and choose SCM > Update Entire Project in Xcode before building.

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 8 months
Location: Leiden, The Netherlands

Post #7by julesstoop » 18.06.2007, 10:15

Thanks Dirk!
Glad to hear it's that simple a problem. Any ideas about the reason why nib-files are such a challenge to CVS?
Lapinism matters!
http://settuno.com/

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #8by dirkpitt » 18.06.2007, 14:24

It's because nib files are actually folders that contain files that are normally invisible to you. However, CVS needs to be able to see these "hidden" files, and it does so by storing information about the files inside the nib folder. This information can get out of sync or accidentally deleted, causing problems.

Deleting the nib file (including any multiple copies of it) and updating again from CVS should fix most of these issues.

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 8 months
Location: Leiden, The Netherlands

Post #9by julesstoop » 19.06.2007, 00:02

Aha, thanks. Noticed it just now in my contextual menu's (had a hunch as well):
Show Package Contents

Never thought of that :)
Why? Because everybody who'm I know involved in developing software for OS X, refers to them simply as NIB-files and not as NIB-packages or NIB-bundles. Strange lack of convenient nomenclature...
Lapinism matters!
http://settuno.com/

Sui Ota
Posts: 75
Joined: 05.10.2005
With us: 19 years 1 month
Location: Saitama, Japan

Post #10by Sui Ota » 24.06.2007, 11:06

Sorry for the late reply,
I tried this feature from the CVS, and succeeded to input localized name!
Selecting a object becomes useful... Thank you very much :D
-Suι

Avatar
Topic author
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #11by dirkpitt » 28.06.2007, 03:37

Oops, just noticed your post, Sui. Thanks for the confirmation!


Return to “Development”