Springen naar inhoud


WanWizard

Lid geworden: 10 sep 2006
Offline Laatste activiteit: Vandaag, 11:18
*****

Berichten die ik gemaakt heb

In Topic:Is het beter om openpli volledig assembly asm te programmeren omdat sneller is?

Vandaag, 11:18

Ik zou zeggen, leef je uit.


In Topic:Openpli 9.0...setpassword vs changerootpasswrd

Vandaag, 11:17

I have to say I've never used it, I always use the commandline.

 

I've checked, there is also a "setpasswd" plugin in the systemplugins section, it adds a "Change root password" menu item in Setup  / System, and doesn't ask for the current password.


In Topic:RC 9.0 - Problems with Windows filenames that contain Umlauts

Gisteren, 19:59

True, I have no real preference as a non-E2 developer, as long as it is fixed ;).


In Topic:hbbtv plugin for OpenOPLI

Gisteren, 15:07

256Mb is still very much doable, 128MB is slowly becoming a big problem, especially for kirkstone images with at the moment won't fit.


In Topic:RC 9.0 - Problems with Windows filenames that contain Umlauts

Gisteren, 15:05

That depends on whether we want to work around it (which this does), or fix it.

 

A fix would be (with my non-existant C++ and SWIG knowledge):

-    std::string getPath() const { return path; }
+    std::vector<char> getPath() const { return std::vector<char>(path.begin(), path.end()); }

causing getPath() to return bytes again, like it did in Python2.

The rest can then be handled in the python code.
 

If we go for getRawPath(), we introduce a new method which requires changes through the entire E2 code (as getPath() is useless, you can only use it if you know up front it will contain valid utf8, so all getPath() calls have to be replaced).