]>
git.lyx.org Git - lyx.git/log
Abdelrazak Younes [Thu, 31 May 2007 12:48:42 +0000 (12:48 +0000)]
This commit allows to support the full unicode range in GuiFontMetrics thus fixing the crash in this bug:
http://bugzilla.lyx.org/show_bug.cgi?id=3759
It also simplifies and fix the smallcaps case which was not correct WRT unicode. Even though I don't know if toUpper() means something in the non ucs2 range.
FYI, I used toqstr() to do the ucs4 -> ucs2 conversion when needed. This helper method works only with Qt >= 4.2.
* GuiFontMetrics::smallcapsWidth(): changed to work with single ucs4 characters.
* GuiFontMetrics::xxx(): make sure that font metrics works with characters not in the ucs2 range.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18593
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 31 May 2007 12:30:17 +0000 (12:30 +0000)]
This patch transfer Inset::destroyed signal to InsetText and InsetMathNest thus freeing some memory as normal math chars and symbols won't have it.
It also solve a crash with non disconnect boost::signal and gcc-3.3 or 3.4.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18592
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 31 May 2007 12:07:48 +0000 (12:07 +0000)]
* src/MenuBackend.cpp (expandBranches): when there is no branch, just
insert a no-op entry "No Branch in Document!". Makes the branch
feature more discorevable
(expandDocuments, expandFormats, expandFloatListInsert):
(expandCharStyleInsert, expandToc, expandBranches): fix message
when no document is open.
* lib/ui/stdmenus.inc: the insert>branch menu does not need to be
optional.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18591
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Thu, 31 May 2007 12:02:47 +0000 (12:02 +0000)]
Add a fallback to run lyx2lyx from the build directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18590
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 31 May 2007 11:51:23 +0000 (11:51 +0000)]
* src/insets/InsetListingsParams.cpp: fix/improve message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18589
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Thu, 31 May 2007 11:20:29 +0000 (11:20 +0000)]
update announce to rc1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18588
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 31 May 2007 01:34:33 +0000 (01:34 +0000)]
Scons: check HAVE_DECL_MKSTEMP to fix a configuration error with gcc4 on Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18587
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 31 May 2007 00:48:23 +0000 (00:48 +0000)]
update installer: update also lyx.bat file (needed for new launcher)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18586
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 May 2007 23:22:58 +0000 (23:22 +0000)]
unicodesymbols:
- remove incorrect sign for information
- add some character supported by the ascii-package
- added some letterlike symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18585
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 30 May 2007 22:01:12 +0000 (22:01 +0000)]
Make OK button the default even after various sorts of resets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18584
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 30 May 2007 21:32:02 +0000 (21:32 +0000)]
* po/de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18583
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 May 2007 21:25:23 +0000 (21:25 +0000)]
unicodesymbols: support two more symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18582
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 30 May 2007 20:57:17 +0000 (20:57 +0000)]
* src/insets/InsetListingsParams.cpp: fix message: "latex" => "LaTeX"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18581
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 May 2007 19:38:22 +0000 (19:38 +0000)]
* avoid redraw if possible (OK by Abdel and Dov)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18580
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Wed, 30 May 2007 08:35:23 +0000 (08:35 +0000)]
* po/de.po: more updates (listing dialog)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18579
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 May 2007 07:30:17 +0000 (07:30 +0000)]
* help future developers reading my code and wondering what the heck I am doing here with all those variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18578
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 May 2007 06:58:08 +0000 (06:58 +0000)]
* put debug variables into #ifdef 0 block. Good that modern computer
science can enforce good code quality by stopping compilation if
unused variables are found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18577
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Wed, 30 May 2007 06:44:18 +0000 (06:44 +0000)]
* removed the "dirty trick" to append a row with wrong start and
end (but start and end inside of the buffer limits) for the last
empty row behind a newline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18576
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 30 May 2007 06:00:31 +0000 (06:00 +0000)]
* config/qt4.m4 (QT4_DO_PKG_CONFIG): use = instead of == to check for equality with 'test' (bug 3770)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18575
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 30 May 2007 00:25:36 +0000 (00:25 +0000)]
unicodesymbols: add some missing punctuation characters again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18574
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 29 May 2007 23:58:56 +0000 (23:58 +0000)]
unicodesymbols: add some missing punctuation characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18573
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 29 May 2007 22:13:03 +0000 (22:13 +0000)]
unicodesymbols: add macro from Herbert Voss
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18572
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 29 May 2007 21:45:46 +0000 (21:45 +0000)]
* po/*.po: remerge after "Listings" => "Listing" change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18571
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 29 May 2007 21:23:23 +0000 (21:23 +0000)]
replace "Listings" by "Listing" (plural => singular)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18570
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 20:53:32 +0000 (20:53 +0000)]
1. switch LFUN_UP/DOWN handling to a structural approach, i.e. the
dispatchers in mathed and text only do local work, i.e. only try to
move the cursor with their local knowledge, not globally as before in
the Cursor::goUpDown function before. The old approach used one of
brutefind functions as a last way out to really move the cursor up or
down. The result was some strange behavior that the nearest inset was
selected when jumping from math to text, not one in the next line.
2. removed LFUN_FINISHED_UP/DOWN, as there seem to be no effect and it
seems to be obsolete.
3. target_x is working again, mainly by adding a textTargetOffset_
member to the Cursor which keeps the difference between the target_x
and the actual position of the cursor on screen. As long as
pos+offset=target is fulfilled the target_x is not touched and the
cursor keep the column while going up/down.
4. moved the text cursor up/down code to the Cursor class, in analogy
to the mathed code.
5. For 1 it is necessary to know the cursor position before the
dispatch. So this data is added to the Cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18569
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 29 May 2007 20:42:23 +0000 (20:42 +0000)]
update he.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18568
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 20:41:31 +0000 (20:41 +0000)]
* Moving up from lower index shouldn't depend on existance of upper (and other
way round), OK by Uwe and Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18567
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 29 May 2007 20:20:43 +0000 (20:20 +0000)]
Hebrew updates by Ran:
- Intro.lyx
- splash.lyx
- he.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18566
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 29 May 2007 19:53:27 +0000 (19:53 +0000)]
generate_contributions.py: forgot this when adding Koji Yokota to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18565
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 29 May 2007 17:24:09 +0000 (17:24 +0000)]
* src/frontends/qt4/ui/PrefConvertersUi.ui:
- fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18564
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 29 May 2007 17:02:29 +0000 (17:02 +0000)]
Fix bug 2555:
* src/Text2.cpp:
- (setFont): set font of inset as well, not only content
- (setCharFont): remove obsolete assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18563
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 29 May 2007 16:58:42 +0000 (16:58 +0000)]
Make table readable no matter what the tab settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18562
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 29 May 2007 16:58:16 +0000 (16:58 +0000)]
* src/frontends/qt4/ui/PrefCopiersUi.ui:
- fix layout (bug 3772)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18561
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 15:30:22 +0000 (15:30 +0000)]
Patch from Bennett Helm:
* Updated URL for downloading Qt from trolltech.com.
* Changed references from DarwinPorts to MacPorts
(now that they seem to have finished the name/website transition).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18560
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 15:26:30 +0000 (15:26 +0000)]
* with the MacOSX packaging option enabled its easy to fake a application
bundle using a symbolic link
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18559
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 14:06:35 +0000 (14:06 +0000)]
* added MacOSX packaging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18558
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Tue, 29 May 2007 11:38:28 +0000 (11:38 +0000)]
* added WidgetFlags argument to DockView to set Qt::Drawer flag where needed
* added Qt::Drawer flag to TOC
* reverted Jürgen's patch (i.e. the source view is docked below the text again),
wide drawers are not Mac-like (tm)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18557
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 29 May 2007 08:11:56 +0000 (08:11 +0000)]
* *.po: remerge (TOC has become Outline)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18555
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 29 May 2007 07:38:38 +0000 (07:38 +0000)]
* src/frontends/qt4/Dialogs.cpp:
* lib/ui/stdtoolbars.inc:
* lib/ui/classic.ui: replace "TOC" by "Outline"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18554
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Tue, 29 May 2007 07:30:58 +0000 (07:30 +0000)]
* de.po: updates (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18553
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 23:35:28 +0000 (23:35 +0000)]
installer update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18552
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 23:24:18 +0000 (23:24 +0000)]
fix SCons (I forgot to add the new folder two days ago)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18551
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Mon, 28 May 2007 22:27:45 +0000 (22:27 +0000)]
Whitespace cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 21:09:09 +0000 (21:09 +0000)]
add Koji Yokota to the credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18549
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Mon, 28 May 2007 17:08:00 +0000 (17:08 +0000)]
* po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18546
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Mon, 28 May 2007 17:04:05 +0000 (17:04 +0000)]
* fix #3310: When you click on a line after the end of the text,
cursor jumps to the follwing math mode text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18545
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 16:04:01 +0000 (16:04 +0000)]
unicodesymbols: (last round of adding symbols)
- add dingbats
- add geometrical shapes
- add the missing card suit symbols
- use Herbert's solution for the "℅" character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18544
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 28 May 2007 12:25:53 +0000 (12:25 +0000)]
* src/BufferParams.{cpp, h}
* src/graphics/PreviewLoader.cpp:
- make member writeEncodingPreamble void.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18543
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 11:44:13 +0000 (11:44 +0000)]
unicodesymbols: - add box drawing characters
- add characters supported by wasysym
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18542
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 11:27:16 +0000 (11:27 +0000)]
installer: - support for Hebrew and Japanese
- new Czech translation by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18541
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 28 May 2007 11:23:39 +0000 (11:23 +0000)]
EmbeddedObjects: fix issue recovered by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18540
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 28 May 2007 07:56:38 +0000 (07:56 +0000)]
* src/Thesaurus.{cpp, h}: revert accidental commit in rev18538.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18539
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 28 May 2007 07:43:15 +0000 (07:43 +0000)]
Fix bug 3522.
* src/BufferParams.{cpp,h} (writeLaTeX):
- move inputenc generation to an own function,
writeEncodingPreamble
* src/graphics/PreviewLoader.cpp (startLoading):
- use the inputenc command and encoding of the buffer
by using the aforementioned new function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18538
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 28 May 2007 07:17:47 +0000 (07:17 +0000)]
* src/frontends/qt4/Dialogs.cpp:
- put view-source drawer to the right in Mac (bug 3564)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18537
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 27 May 2007 22:46:09 +0000 (22:46 +0000)]
* ListingsParam::ListingsParam(): use const ref.
* add some doxygen comments and FIXME.
* white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18536
a592a061 -630c-0410-9148-
cb99ea01b6c8
Lars Gullik Bjønnes [Sun, 27 May 2007 20:09:45 +0000 (20:09 +0000)]
Update nb.po. Remove obsolete entries and either clear or fix fuzzy entries.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18535
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 27 May 2007 14:19:36 +0000 (14:19 +0000)]
UserGuide: - German translation updates by Hartmut
- new Image for the German Userguide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18534
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 27 May 2007 11:55:46 +0000 (11:55 +0000)]
* InsetListingsParams.cpp: Code reorganization. Should fix bug 3639 and open the way to more advanced gui controls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18533
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Sun, 27 May 2007 08:16:17 +0000 (08:16 +0000)]
* depending on "front" the last position is a valid one (Dov Feldstern's patch)
* fixes http://bugzilla.lyx.org/show_bug.cgi?id=3720
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18532
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 27 May 2007 04:02:54 +0000 (04:02 +0000)]
Fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18531
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 26 May 2007 22:01:56 +0000 (22:01 +0000)]
unicodesymbols: - add last missing textcomp symbols
- fix paragraph sign
- fix bracket code number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18530
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Sat, 26 May 2007 20:45:24 +0000 (20:45 +0000)]
Do not use \&@#^_~$ as lstinline delimiter, as suggested by Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18529
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:45:23 +0000 (17:45 +0000)]
Remove shortcuts for buffer-reload, per JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18528
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:42:23 +0000 (17:42 +0000)]
Fix bug 3644: Make cancel button the default in revert dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18527
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:38:26 +0000 (17:38 +0000)]
Fix for bug 3488. Need to reconnect buffer if load of new buffer fails. Also added comments regarding possible fix for bug 3701.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18526
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:35:54 +0000 (17:35 +0000)]
Cleanup. Also added notes about how to fix bug 3440, which I do not propose to do now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18525
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:33:52 +0000 (17:33 +0000)]
Change related to 18445: buffer.fileName() uses .absFilename().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18524
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 26 May 2007 17:26:58 +0000 (17:26 +0000)]
Make logic clearer, with help from Lars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18523
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 26 May 2007 15:03:19 +0000 (15:03 +0000)]
add some const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18522
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 26 May 2007 14:53:12 +0000 (14:53 +0000)]
- white space
- replace an occurrence of from_ascii() to _() for translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18521
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 26 May 2007 14:45:38 +0000 (14:45 +0000)]
- Convert char * to string and docstring for the hints, thus fixing the translation.
- cleanup the header.
- encapsulate local code in local namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18520
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 26 May 2007 13:28:23 +0000 (13:28 +0000)]
* po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18519
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 26 May 2007 12:41:39 +0000 (12:41 +0000)]
* lib/ui/stdmenues.inc: rename "Table Of Contents" to "Outline"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18518
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Sat, 26 May 2007 11:25:41 +0000 (11:25 +0000)]
* src/insets/InsetInclude.cpp: formatting (in response to r18445)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18517
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 25 May 2007 23:17:24 +0000 (23:17 +0000)]
Sanitize cursor saving/restoring in a multi-view context.
* Inset: new destroyed signal (copy ctor and operator= needed because of a signal is not copiable)
* CursorSlice:
- connect to inset destructor wherever possible
- invalidate(), isValid(): new method.
- inset_: now private
* DocIterator::fixIfBroken(): new method for properly fixing cursors.
* StableDocIterator::asDocIterator(): verify cursor sanity before creating it.
* Cursor::fixIfBroken(): now a simple wrapper around DocIterator::fixIfBroken()
* BufferView::setBuffer(): verify cursor sanity before restoring it.
* WorkArea::redraw(): verify cursor sanity of concurrent BufferView display.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18516
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 25 May 2007 17:13:49 +0000 (17:13 +0000)]
installer update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18515
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 25 May 2007 17:10:53 +0000 (17:10 +0000)]
Unicodesymbols: - add all characters supported by the textcomp-package
- add quotation characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18514
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 25 May 2007 16:15:02 +0000 (16:15 +0000)]
Choose a delimiter for lstinline (braces can not be used for some listings version)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18513
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 25 May 2007 15:19:31 +0000 (15:19 +0000)]
fix eol style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18511
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 25 May 2007 15:15:20 +0000 (15:15 +0000)]
update to boost 1.34
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18510
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Fri, 25 May 2007 15:05:46 +0000 (15:05 +0000)]
fix merge build src/frontends/qt4/QDocument.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18509
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 25 May 2007 14:38:22 +0000 (14:38 +0000)]
InsetListings: use float for placements because of the handling differences between float and floatplacement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18508
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 25 May 2007 12:32:08 +0000 (12:32 +0000)]
fix bug 3723:
* src/Buffer.cpp (read): clear listings params.
* src/frontends/qt4/QDocument.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18507
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 25 May 2007 09:39:18 +0000 (09:39 +0000)]
installer: - use Inkscape as SVG to PDF converter when it is installed
- code cleanup to get rid of the two preferences files
- updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18506
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 25 May 2007 09:20:35 +0000 (09:20 +0000)]
l10n work:
* src/Buffer.cpp:
- make view-source string translatable
* src/frontends/controllers/ControlToc.h:
- make getGuiName public
* src/frontends/qt4/TocWidget.cpp:
- use getGuiName for the combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18505
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Fri, 25 May 2007 01:02:38 +0000 (01:02 +0000)]
Minor fixes, in response to Lar's email
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18504
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 24 May 2007 23:32:00 +0000 (23:32 +0000)]
EmbeddedObjects.lyx: translation updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18503
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 24 May 2007 22:19:58 +0000 (22:19 +0000)]
Use a new internal structure for InsetListingsParams, fix bugs 3713 and 3718
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18501
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 22:17:04 +0000 (22:17 +0000)]
Forgot to restore this before committing 18494. This fixes bug 3725.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18500
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 19:21:21 +0000 (19:21 +0000)]
Remove some calls that do nothing but print an error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18497
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 19:19:23 +0000 (19:19 +0000)]
Fix stupid use of "or".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18496
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Thu, 24 May 2007 17:17:35 +0000 (17:17 +0000)]
revert buggy patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18495
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 17:17:04 +0000 (17:17 +0000)]
Fix for bugs 2199 and 3667. Most of the changes were to the logic. Buffers
that were opened for possible included LyX files need to be closed if those
files cannot be loaded, for example. A bit more work was needed to allow a
LyX file to include itself as a verbatim or listings without trying to load
itself and without relying upon loadIfNeeded() to report the problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18494
a592a061 -630c-0410-9148-
cb99ea01b6c8
Michael Schmitt [Thu, 24 May 2007 16:56:21 +0000 (16:56 +0000)]
* po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18493
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 16:45:38 +0000 (16:45 +0000)]
Remove originaldir flag from HTML converters so that View-HTML works. Export still does not work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18492
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 24 May 2007 16:42:40 +0000 (16:42 +0000)]
Update documentation regarding converters, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18491
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 24 May 2007 16:29:40 +0000 (16:29 +0000)]
* do not lookup the same macro all the time
* only update the representation if anything was changed (this gives a
huge speedup), fixes #2452
* minor cleanup of the code, especially setting up the coordinate
cache. Without this can lead to crashes if the macros do not mention
all the arguments.
* And a last fix included makes sure that the metrics are always in
sync with the drawing. Before it was possible to go into the macro
with the cursor in a way that the metrics were for the viewing mode,
but the drawing was done for editing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18489
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 24 May 2007 16:09:31 +0000 (16:09 +0000)]
* force the tex2lyx Font class everywhere in tex2lyx. Without this in
TextClass.cpp the tex2lyx Font class was used, but elsewhere the LyX one.
Hence, because of different binary sizes strange segfaults happened because
the inline methods of TextClass used a different binary layout than the
non-inline methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18488
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Thu, 24 May 2007 16:02:42 +0000 (16:02 +0000)]
Updated translations for Norwegian.
Particularly new stuff:
* new menu entries
* TOC dialog
* listings dialog
* Lots of tooltips that was invisible last time
* Random changed texts all over the place
Helge Hafting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18487
a592a061 -630c-0410-9148-
cb99ea01b6c8
Bo Peng [Thu, 24 May 2007 14:10:35 +0000 (14:10 +0000)]
Increase listings counter for InsetInclude with lstinputlisting and a caption, fix bug 3708
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18486
a592a061 -630c-0410-9148-
cb99ea01b6c8