From quanta-devel Mon Aug 29 09:06:20 2005 From: Andras Mantia Date: Mon, 29 Aug 2005 09:06:20 +0000 To: quanta-devel Subject: Re: [quanta-devel] open .js file in quanta Message-Id: <200508291206.20540.amantia () kde ! org> X-MARC-Message: https://marc.info/?l=quanta-devel&m=112531146626959 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0934583164==" --===============0934583164== Content-Type: multipart/signed; boundary="nextPart1958585.3Vm8cpOvuF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1958585.3Vm8cpOvuF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 28 August 2005 23:52, Yan Morin wrote: > From what I'm understanding of this code: > kdewebdev/quanta/utility/quantacommon.cpp:303 > > Quanta could open .js files without 'binary warning' if the files > kdelibs/mimetypes/application/x-javascript.desktop would contains > this property > > [Property::X-KDE-text] > Type=3Dbool > Value=3Dtrue This should be present in a mimetype description file to NOT get the=20 warning. Otherwise it is not possible to find if a file is binary or=20 not. > or that someones creates a > kdelibs/mimetypes/text/x-javascript.desktop files. Yes, this is also a solution. > Note: on my system, .js extension is only associated with > application/x-javascript. Indeed, it does not have the text property. I will add it (for KDE 3.5). > Other thing, is there a reason why quanta don't have a filter for > text/css or application/x-javascript files by default in > kdewebdev/quanta/src/quanta.cpp:351 ? No. :-) But it should be done in some other way, not hardcoding the=20 list. For example gather the information from the installed DTEPs. BTW, I see you could post now here. If you really want to help us, I=20 suggest to check out the branches/work/kdevquanta code. This is what=20 will become the next Quanta version. It relies on KDevelop libraries=20 and currently requires a QUanta installation as well. See the README=20 from there.=20 Of course, you can still help with the current Quanta as this is what=20 will become 3.5, but we are already in feature freeze, meaning that=20 only bugfixes are possible. In any case, just ask like now. :-) Andras =2D-=20 Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org --nextPart1958585.3Vm8cpOvuF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBDEtAMTQdfac6L/08RAlN0AKDMJn0pPjiz3isLycttmTZ542ZuugCgnwOC wPFj805K1CgScvZ180KgcyA= =28Bz -----END PGP SIGNATURE----- --nextPart1958585.3Vm8cpOvuF-- --===============0934583164== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ quanta-devel mailing list quanta-devel@kde.org https://mail.kde.org/mailman/listinfo/quanta-devel --===============0934583164==--