1 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3 * BranchList.C: point fix, earlier forgotten
5 2003-09-02 Angus Leeming <leeming@lyx.org>
7 * box.C (contains): renamed from 'contained' after a fantastic
10 2003-09-02 John Levon <levon@movementarian.org>
16 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
18 2003-09-02 John Levon <levon@movementarian.org>
20 * text2.C: simplification of cursorEnd(), including partial
23 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
25 * buffer.C (readFile): add a space
27 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
29 * BufferView_pimpl.C (update): remove bogus fitCursor() call
31 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
33 * buffer.C (readFile): new function, take a filename and a
34 ParagraphList::iterator
36 (readFile): adjust, make it private. don't use setStream, make
37 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
38 always contain the filename.
40 * BufferView.C (insertLyXFile): simplify and make it work for
43 2003-08-30 John Levon <levon@movementarian.org>
45 * Makefile.am: fix dist (from Kayvan)
47 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
49 * most files: change to use const Buffer refs
51 2003-08-27 André Pönitz <poenitz@gmx.net>
53 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
56 2003-08-27 John Levon <levon@movementarian.org>
58 * funcrequest.C: properly initialise POD members
60 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
62 * lyxtext.h (top_y): move top_y from here
67 * BufferView_pimpl.[Ch]: to here
69 * insets/insettabular.C:
70 * insets/insettext.C: adjust
71 * rowpainter.[Ch] (paintRows): remove LyXText & argument
73 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
76 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
78 2003-08-26 André Pönitz <poenitz@gmx.net>
80 * paragraph_func.[Ch] (outerPar): new function
86 * text2.C: remove Inset::par_owner
88 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
93 * text2.C: eliminates the needFullRow/display() stuff
94 altogether, putting the logic in metrics/draw in the insets.
96 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
98 * text2.C (redoParagraphInternal, redoParagraphs):
99 * text.C (redoParagraph): add a call to updateRowPositions at the
100 end of each 'metrics-like' call. Remove all others.
101 (getRow): remove the 'y-computing' version.
102 (getRowNearY): do not compute nor return the real y. Solve the
103 'y < 0' problem and simplify.
105 2003-08-22 Angus Leeming <leeming@lyx.org>
107 * *.[Ch]: clean-up of licence and author blurbs.
108 Also move config.h out of a few .h files and into a few .C files.
110 2003-08-22 André Pönitz <poenitz@gmx.net>
112 * lyxrow.[Ch]: add x_ and *fill_ members
117 * text2.C: adjust/remove prepareToPrint() calls
119 2003-08-22 André Pönitz <poenitz@gmx.net>
121 * lyxrow.[Ch]: add end_ member
123 * lyxrow_funcs.C: use LyXRow::end_
125 * lyxtext.h (singleWidth): add LyXFont parameter
128 * text2.C: adjust LyXText::singleWidth() calls
130 * text.C (redoParagraph): simplify row breaking logic
133 2003-08-19 André Pönitz <poenitz@gmx.net>
135 * funcrequest.C: initialize button_ member
138 * rowpainter.[Ch]: interface consolidation
140 2003-08-18 André Pönitz <poenitz@gmx.net>
143 * BufferView_pimpl.C:
147 * text3.C: remove LyXScreen::draw() and fitCursor calls
149 * BranchList.h: remove spurious semicolons
151 * MenuBackend.C: fix branchlist related crash
153 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
165 * text3.C: implements the 'branch inset'
166 idea. This allows the output of various versions of a document
167 from a single source version, selectively outputing or suppressing
168 output of parts of the text.
169 This implementation contains a 'branch list editor' in a separate
170 tab of the document settings dialog. Branches are user definable
171 and have a "display colour" to distinguish them on-screen.
173 ColorHandler was somewhat cleaned up.
174 (1) make possible a dynamically growing LColor list by allowing
175 the graphic context cache to grow along (vector);
176 (2) eliminate an IMHO unnecessary step in colour allocation.
178 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
180 * BufferView_pimpl.C: compile fix
182 2003-08-15 André Pönitz <poenitz@gmx.net>
184 * rowpainter.C: remove extra metrics calls
186 * lyxtext.h: merge the two constructors into a single one,
187 pass reference to owner's par list
189 * BufferView_pimpl.C:
193 2003-08-15 André Pönitz <poenitz@gmx.net>
203 * text_funcs.C: split LyXText::rowlist_ into individual
204 Paragraph::rows_ chunks
207 * BufferView_pimpl.[Ch]:
210 * text3.C: remove toggleSelection()
212 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
214 * bufferlist.C: beautify two alerts (shorter text of buttons)
215 * buffer.C: Remove redundant ' ' from message
217 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
218 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
219 rename VALIGN_CENTER to VALIGN_MIDDLE
221 2003-08-11 André Pönitz <poenitz@gmx.net>
223 * lyxtext.h (getPar):
224 * text.C: new function
226 2003-08-11 André Pönitz <poenitz@gmx.net>
229 * tracer.[Ch]: remove unneeded files
231 * InsetList.[Ch]: remove resizeInsetsLyXText()
236 * text3.C: merge insertParagraphs() and appendParagraph()
237 remove breakAgain(), update()
239 * BufferView_pimpl.[Ch]:
240 * bufferview_funcs.[Ch]:
244 * tabular.C: adjust after text & InsetList changes.
246 2003-08-08 André Pönitz <poenitz@gmx.net>
248 * text.C (insertChar, backspace): replace rowlist fiddling
249 with rebreak of full par
252 * text.C (breakAgainOneRow, redoHeightOfParagraph,
253 checkParagraph, updateInset): removed
255 2003-08-07 André Pönitz <poenitz@gmx.net>
258 * text3.C: merge some LFUN handlers, remove dead code
260 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
264 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
266 * text2.C (DEPM): fix part of bug 1255 and 1256
268 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * BufferView_pimpl.C (workAreaDispatch): change to use
271 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
272 that are no mouse related.
274 2003-08-05 André Pönitz <poenitz@gmx.net>
277 * BufferView_pimpl.[Ch]:
278 * bufferview_funcs.C:
280 * text3.C: rip out "deep update"
282 * textcursor.[Ch] (last_sel_cursor): remove unused member
284 2003-08-04 André Pönitz <poenitz@gmx.net>
287 * BufferView_pimpl.[Ch]:
288 * ParagraphParameters.C:
289 * bufferview_funcs.C:
295 * text3.C: replace "complicated" BufferView::update(...) calls with
298 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
300 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
302 * Makefile.am (lyx_SOURCES): add paper.h
304 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
306 * Makefile.am: move things around so that both lyx-qt and
307 lyx-xforms can be built (according to --with-frontend). Then lyx
308 is a symbolic link to lyx-[firstfrontend]
310 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
312 * Always use std::endl with lyxerr
314 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
316 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
318 2003-08-01 André Pönitz <poenitz@gmx.net>
321 * BufferView_pimpl.[Ch]:
323 * text3.C: merge BufferView::repaint() and BufferView::update()
325 2003-08-01 José Matos <jamatos@lyx.org>
327 * buffer.[Ch]: file_format is no longer a buffer data element.
329 2003-08-01 André Pönitz <poenitz@gmx.net>
334 * text2.C: make redoParagraph more independent of current cursor
336 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
338 * text2.C: remove unneeded members
340 2003-07-30 André Pönitz <poenitz@gmx.net>
342 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
344 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
345 create a single function...
347 * paragraph_funcs.C (moveItem): ... here.
350 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
352 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
354 * LColor.[Ch]: Add comment and greyedout logical colors.
356 2003-07-30 André Pönitz <poenitz@gmx.net>
358 * tabular.C: don't use Assert too heavily. This crashes where it
361 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
363 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
364 is disabled (bug 1232)
366 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
368 * factory.C: limited 'arg' scope
370 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
372 * factory.C: fixed Note submenu issues
374 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
376 * factory.C: submenu for Note/Comment/Greyedout
378 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
381 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
383 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
386 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
387 greyedout. Patch provided by Jürgen Spitzmüller.
389 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * kbmap.C (read): fix error message when reading bind files
393 2003-07-29 Angus Leeming <leeming@lyx.org>
395 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
396 certainly does not do what it purports to do. I am doing it, and
397 us, a favour by killing it.
399 2003-07-28 José Matos <jamatos@lyx.org>
401 * buffer.C (readBody, do_writeFile):
402 * paragraph.C(readParagraph): \end_document replaces \the_end.
404 2003-07-29 André Pönitz <poenitz@gmx.net>
407 * BufferView_pimpl.[Ch]:
411 * textcursor.[Ch]: remove toggleToggle & Co
413 2003-07-28 José Matos <jamatos@fep.up.pt>
415 * buffer.C (readParagraph):
416 * params_func (readParToken, readParagraph):
417 * paragraph.C (write): \layout -> \begin_layout.
419 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * lyxlex_pimpl.C (setFile): clean up slightly.
423 * bufferparams.h: add compressed var
425 * buffer_funcs.C (readFile): adjust for LyXLex change
426 (newFile): ditto + simplify
428 * buffer.C (writeFile): handle writing of compressed files
430 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
431 Check if the file is compressed and set a bufferparm if so.
433 * Makefile.am (lyx_LDADD): remove explicit -lz
435 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
437 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
438 makeDocBookFile): put the real LyX version in the first line of
442 * version.C.in: remove lyx_docversion
444 * tabular.C (write_attribute): add a template-based version to
447 2003-07-28 André Pönitz <poenitz@gmx.net>
452 * text3.C: use doubles again for x-coordinates. They are needed.
454 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
456 * messages.C (getLocaleDir): use lyx_localedir()
458 * lyxlex_pimpl.C (setFile): compress stuff
460 * buffer.C (writeFile): add some compression stuff
461 (do_writeFile): new func, dont call expliti close... will this
464 * Makefile.am (lyx_LDADD): add -lz
466 2003-07-28 José Matos <jamatos@fep.up.pt>
468 * buffer.C: increment file format.
469 * paragraph_funcs (readParagraph, readParToken):
470 * paragraph.C (readParagraph): add \end_layout.
472 2003-07-27 Angus Leeming <leeming@lyx.org>
474 * Makefile.am: remove special casing for configure-time setting of
475 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
477 * lyx_main.C (init): remove all Jean-Marc's magic setting of
478 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
480 2003-07-26 André Pönitz <poenitz@gmx.net>
482 * paragraph_func.[Ch]:
483 * paragraph.C (realizeFont): inline it whereever it is used
488 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
491 2003-07-26 André Pönitz <poenitz@gmx.net>
495 * text2.C: get rid of LyXText::need_break_row
497 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * toc.[Ch]: put namespace toc inside namespace lyx
501 * MenuBackend.C (expandToc2): adjust for lyx::toc
504 * lyxfunc.C (dispatch): adjust for lyx::find
506 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
507 lyx::find instead. Reorganize a bit.
508 (LyXReplace): rename to replace
509 (LyXFind): rename to find
511 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
514 2003-07-26 André Pönitz <poenitz@gmx.net>
516 * text.C (setHeightOfRow): restrict scope of temporary variable
518 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
519 code (never has been used?)
521 2003-07-27 Asger Alstrup <alstrup@local>
523 * text.C (fill): Optimise algorithm to exploit that we can reuse
524 the LyXFont for many characters.
525 (setHeightOfRow): Same thing.
526 (rowBreakPoint): Same thing.
528 2003-07-26 Asger Alstrup <alstrup@local>
530 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
532 * text.C (singleWidth): Spurious font copying in hot-spot
533 singleWidth avoided. Reorder tests for arabic for efficiency.
535 * text.C (fill): handle empty paragraphs better.
537 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * encoding.h: add includes
542 * lyxrc.C: remove reading of bind files
544 * lyx_main.C (init): setup bindings and menus only if we have a
547 * kbmap.C (read): new method. Do the actual reading of bind
550 * converter.C (dvipdfm_options):
553 (output): adapt PAPER_* enums.
555 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
557 * bufferparams.h: remove paper-related enums from there
559 * paper.h: New file. A trivial header file to hold paper-related
560 enums. It should later expand to contain many paper-related
563 * lyxrc.C: declare extern displayTranslator
565 2003-07-27 José Matos <jamatos@fep.up.pt>
567 * tabular.[Ch] (linuxdoc): add support for tables and figures
570 2003-07-27 José Matos <jamatos@fep.up.pt>
572 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
573 consistency in both functions.
574 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
576 2003-07-26 Asger Alstrup <alstrup@local>
578 * rowpainter.C (paintRows): Change algorithm to work directly on
579 the insets rather than asking every character in the document
580 whether its an inset.
582 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
584 * buffer.C (openFileWrite): factorize some code
586 2003-07-26 Angus Leeming <leeming@lyx.org>
589 * lyx_main.[Ch]: replace occurances of system_tempdir with
592 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * rename Inset to InsetOld
596 2003-07-25 Asger Alstrup <alstrup@diku.dk>
598 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
599 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
600 which I think is a bit clearer. EDIT is gone, since it was
601 premature optimisation, and broken for mathed anyway.
602 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
603 with cursor positioning in insets as well (math insets still do not
604 work, but that's a different story anyway.) It mysteriously
605 crashes sometimes with undo in the first paragraph, but I'm fairly
606 confident that this is a compiler bug.
608 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * paragraph.C (Paragraph): adjust for new clone return type
612 (copyIntoMinibuffer): ditto
614 2003-07-25 Asger Alstrup <alstrup@lyx.org>
616 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
617 by not having a special case, and always doing a full rebreak of
618 the document after undo.
620 2003-07-23 Angus Leeming <leeming@lyx.org>
622 * factory.C (createInset): InsetExternal::setParams now takes a
625 2003-07-23 Angus Leeming <leeming@lyx.org>
627 * factory.C (createInset): changed interface to the external and
628 graphics mailers' string2params functions.
630 2003-07-23 Angus Leeming <leeming@lyx.org>
632 * factory.C (createInset): pass a
633 Buffer const * parameter to InsetExternalMailer's string2params.
635 2003-07-22 John Levon <levon@movementarian.org>
637 * Thesaurus.h: include the right aiksaurus header
639 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * MenuBackend.C (expand): check menu shortcuts unconditionally
643 2003-07-21 Angus Leeming <leeming@lyx.org>
645 * factory.C (createInset): pass a
646 buffer_path parameter to InsetGraphicsMailer's string2params.
648 2003-07-21 Angus Leeming <leeming@lyx.org>
650 * BufferView_pimpl.C (buffer):
653 * lyxfunc.C (dispatch):
654 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
655 rather than the grfx shortcut.
657 2003-07-21 André Pönitz <poenitz@gmx.net>
659 * rowpainter.C: remove unused variables
662 * tabular_funcs.h: move to tabular.C
663 * Makefile.am: adjust
665 * tabular.[Ch]: basic optical cleaning
667 * author.h: pass references, not values
669 2003-07-18 André Pönitz <poenitz@gmx.net>
677 * text3.C: two-phase drawing for InsetText and InsetTabular
678 some float -> int changes.
680 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
682 * lyx_main.C: fix the fix
684 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
686 * lyx_main.C: fix a crash in batch mode if no files specified
689 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
691 * format.[Ch] (papersize): moved to BufferParams
692 * converter.[Ch] (dvips_options): moved to BufferParams
693 (dvipdfm_options): moved to anon namespace
694 * bufferparams.[Ch]: added above functions.
696 2003-07-17 André Pönitz <poenitz@gmx.net>
700 * text2.C: don't call inset->update() anymore
702 * metricsinfo.[Ch]: add convenience constructor
704 2003-07-16 André Pönitz <poenitz@gmx.net>
709 * text2.C: replace the LyXCursor::irow_ member with
710 on-demand computation of the value
712 2003-07-16 John Levon <levon@movementarian.org>
714 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
716 2003-07-15 André Pönitz <poenitz@gmx.net>
719 * text2.C: remove no more needed refresh_row
721 2003-07-15 André Pönitz <poenitz@gmx.net>
726 * text3.C: refresh_status tristate -> need_update bool
728 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
730 * lyxtext.h (init): remove reinit argument (act as if always true)
731 * text2.C: adjust to that
733 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
735 * bufferview_funcs.[Ch]: introduce function replaceSelection()
736 * text3.C: use it to delete selections in some cases
737 (bugs 441, 673, 702, 954).
739 2003-07-14 André Pönitz <poenitz@gmx.net>
741 * rowpainter.[Ch]: reduce interface
743 2003-07-14 André Pönitz <poenitz@gmx.net>
745 * BufferView_pimpl.C:
746 * text2.C: adjust after removing unused BufferView * argument
748 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
750 * text2.C (init): fix a crash fired on resize
752 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
754 * buffer.[Ch]: added new closing signal
755 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
756 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
757 BufferView::Pimpl via the closing the signal
759 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
761 * buffer.[Ch]: take out all bv-related from buffer
763 * BufferView_pimpl.[Ch]: connect to new signals
764 * CutAndPaste.C: removed useless asserts
765 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
768 * lyxfunc.C: moved view-related funciontality from vc here
769 * paragraph.C: removed outdated comments
772 2003-07-10 André Pönitz <poenitz@gmx.net>
774 * BufferView_pimpl.C:
778 * text2.C: remove InsetText::InnerCache, clean up consequences
780 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
782 * ispell.C: fix two typos in error messages
784 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
786 * Extend Note inset to other forms of annotation like Comment
787 and Greyedout. Right button click gives dialog.
789 Files modified or added (+):
795 * Makefile.am in frontends/xforms, frontends/xforms/forms,
796 frontends/controllers
800 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
802 * aspell.C: add missing namespace lyx::support
804 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
806 * BufferView.[Ch] (newFile): Add
807 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
808 * LaTeX.[Ch] (message): added this signal and use it
809 * buffer.[Ch] (busy, message): added these signals and use them
810 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
814 * importer.C: use buffer signals instead of direct bv calling
815 * lyx_cb.[Ch] (ShowMessage): removed
819 * text2.C: use buffer signals
821 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * introduce namespace lyx::graphics
825 2003-07-02 André Pönitz <poenitz@gmx.net>
827 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
829 2003-07-01 André Pönitz <poenitz@gmx.net>
836 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
837 text*.C to text_func.C
839 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * introduce namespace lyx::support
843 2003-06-30 André Pönitz <poenitz@gmx.net>
848 * text.C: re-enable --with-included-string
850 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * textcursor.C: add <config.h>
854 * text.C (getWord): remove const from word_location arg
856 * lyxvc.C (getLogFile): fix const type order
858 * lyxtext.h: remove const from word_location arg, add arg name
860 * lyxlayout.h: currect type on labeltype.
862 * importer.C: correct \file
864 * converter.C (intToFormat): use std:: on ret val, ws changes
866 * bufferlist.h: correct \file
868 * buffer.C (makeLinuxDocFile): fix const type order
869 (makeDocBookFile): ditto
870 (fillWithBibKeys): use std:: on stdlib args.
872 * CutAndPaste.C: fix authors.
873 (availableSelections): use std:: on return vector
875 2003-06-27 André Pönitz <poenitz@gmx.net>
877 * BufferView_pimpl.C:
878 * bufferview_funcs.C:
886 * text3.C: remove LyXCursor::row_ member
889 * text.C: rename fullRebreak() to partialRebreak() and implement
890 a fullRebreak() that really bereks fully
892 * textcursor.h: new struct for cursor-related data
894 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
896 * lyx_main.C (LyX): get full path of document loaded on the
899 2003-06-26 André Pönitz <poenitz@gmx.net>
901 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
902 remove unused/broken operator>,<,>=.
904 * text.C: remove only use of broken operator<= in an Assert().
906 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
908 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
909 moved errorlist_.clear to showErrorList
911 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
913 * converter.C (scanLog, runLaTeX):
914 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
915 move the bv->showErrorList call to the callers
916 * lyxfunc.C: i.e. here...
918 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
919 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
920 namespace, the second to...
921 * buffer_funcs (BufferFormat, parseErrors): added
922 * errorlist.C (ErrorList(TeXErrors const &)): removed
924 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * ToolbarBackend.C (getIcon): complain when icon cannot be found
928 2003-06-24 "Garst R. Reese" <reese@isn.net>
932 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
934 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
936 * version.C.in: change docversion to 1.4
938 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
940 * buffer.C: fix a bug just introduced
942 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
944 * buffer.[Ch]: added the parseError signal and use it, removed
946 * BufferView.[Ch] (addError): moved to ...
947 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
948 to the Buffer::parseError signal to catch (guess what) parse errors
949 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
951 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
953 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
954 ability to create a buffer and to return an existing one from
955 the list. Moved these functions to...
956 * buffer_funcs.[Ch]: added
957 * BufferView.[Ch] (loadLyXFile): added
958 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
959 job removed from bufferlist::loadLyXFile.
960 * buffer.C (setReadOnly): make it work without view
961 (i.e added an if (users))
963 2003-06-19 Angus Leeming <leeming@lyx.org>
966 * LyXAction.C (init):
967 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
968 with LFUN_DIALOG_SHOW <name> <data>.
970 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * CutAndPaste.C (availableSelections): small compilation fix for
973 ancient (gcc 2.9x) compilers
975 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * text3.C (cursorNext): add tmp var
979 * text2.C (updateCounters): for function calling out of for clause
980 (replaceSelectionWithString): ditto
981 (insertStringAsParagraphs): ditto
982 (getColumnNearX): add tmp var
983 (setCursorFromCoordinates): add tmp var
984 (cursorDownParagraph): add tmp var
985 (deleteEmptyParagraphMechanism): add tmp var
987 * text.C (insertChar): add tmp var
989 * rowpainter.C (paintDepthBar): add tmp var
991 * CutAndPaste.C (availableSelections): potentially check all
992 paragraphs in a cut to fill the shown strings.
994 2003-06-18 André Pönitz <poenitz@gmx.net>
996 * kbmap.[Ch]: use vector<> instead of list<>
998 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1000 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1001 pasteSelection with index
1003 * text2.C (pasteSelection): modify, call pasteSelection with index
1005 * paragraph.C (asString): reimplement version with no interval to
1006 call the one with interval.
1008 * lyxtext.h: add index arg to pasteSelection
1010 * MenuBackend.C (MenuItem): handle PasteRecent
1011 (Menu::read::Menutags): add md_pasterecent
1013 (expandPasteRecent): new function
1016 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1018 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1020 (availableSelections): new function
1022 2003-06-17 Angus Leeming <leeming@lyx.org>
1024 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1026 2003-06-17 Angus Leeming <leeming@lyx.org>
1029 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1031 * lyxfunc.C (dispatch): invoke it.
1033 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * iterators.C (operator++, ParPosition): reintroduce some
1036 const_cast for the benefit of older compilers.
1038 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * text3.C (dispatch): do not modify clipboard when doing
1041 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1042 LFUN_DELETE_SKIP on a selection selection
1044 2003-06-16 André Pönitz <poenitz@gmx.net>
1050 * tabular.[Ch]: IU of clone() and getLabelList();
1052 2003-06-13 André Pönitz <poenitz@gmx.net>
1054 * tabular.h: compactification
1056 2003-06-12 André Pönitz <poenitz@gmx.net>
1060 * tabular_funcs.h: some renaming plus whitespace
1062 2003-06-12 André Pönitz <poenitz@gmx.net>
1065 * BufferView_pimpl.C:
1071 * toc.C: Return a Paragraph & for ParIterator::operator*()
1073 2003-06-11 John Levon <levon@movementarian.org>
1077 * ToolbarBackend.C: add "Toolbars" section and
1080 2003-06-10 Angus Leeming <leeming@lyx.org>
1083 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1085 * lyxfunc.C (dispatch): invoke it.
1087 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * main.C: protect <ios> with HAVE_IOS
1090 (main): protect sync_with_stdio with HAVE_IOS
1092 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1094 * text2.C (cutSelection): adjust
1095 (pasteSelection): adjust
1097 * messages.C: handle get of empty string
1099 * main.C (main): use sync_with_stdio(false)
1101 * lyxfunc.C (dispatch): adjust
1103 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1104 (WriteAs): remove unneeded BufferView arg.
1106 * bufferparams.h: use correct types on papersize, papersize2 and
1109 * bufferparams.C (readToken): adjust for type
1110 (writeLaTeX): add missing cases to switch.
1112 * bufferlist.C (quitWriteBuffer): adjust
1115 * buffer.C (asciiParagraph): remove some commented code.
1117 * CutAndPaste.C: remove current_view extern variable.
1118 (cutSelection): add BufferParams arg.
1119 (eraseSelection): add BufferParams arg.
1120 (pasteSelection): add Buffer const & arg
1122 2003-06-07 John Levon <levon@movementarian.org>
1125 * paragraph_funcs.C:
1126 * paragraph_pimpl.C:
1130 * paragraph.C: allow InsetERT to freely space lines,
1131 and some consolidation of code
1133 2003-06-06 José Matos <jamatos@fep.up.pt>
1135 * buffer.C (makeDocBookFile): fix bug #821
1137 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1139 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1141 2003-06-04 Angus Leeming <leeming@lyx.org>
1143 * buffer.C: bump format to 224.
1145 2003-06-05 André Pönitz <poenitz@gmx.net>
1147 * text2.C (redoParagraphs): remove two const_cast<>
1149 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1151 * ParagraphList.h: remove last remnants of NO_STD_LIST
1153 2003-06-03 Angus Leeming <leeming@lyx.org>
1155 * factory.C (createInset): small change to the way InsetExternal's params
1158 2003-06-04 André Pönitz <poenitz@gmx.net>
1160 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1162 * paragraph_pimpl.h:
1163 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1165 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1167 * undo_funcs.C: make some simple cases of undo work again
1169 2003-06-03 John Levon <levon@movementarian.org>
1171 * ispell.C: HPUX doesn't have sys/select.h
1174 2003-06-03 John Levon <levon@movementarian.org>
1176 * CutAndPaste.C: update tabular and include inset
1181 * paragraph.C: remove owningBuffer(), don't pass Buffer
1184 * factory.C: insetGraphicsParams changed
1186 2003-06-02 John Levon <levon@movementarian.org>
1192 * text3.C: remove insetparent
1194 2003-06-02 John Levon <levon@movementarian.org>
1197 * buffer.C: fix inset_iterator.end(), move out of line
1200 2003-06-01 John Levon <levon@movementarian.org>
1202 * text3.C: use a proper cut/paste when doing inset
1203 insert (from Jürgen Spitzmüller)
1205 2003-06-01 John Levon <levon@movementarian.org>
1207 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1209 2003-05-30 André Pönitz <poenitz@gmx.net>
1211 * rowpainter.C: unify second drawing phase
1213 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * trans_mgr.C: remove one case of current_view
1217 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1219 * paragraph_funcs.h: remove paragraph.h include
1221 * paragraph.h: delete NO_STD_LIST stuff
1223 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1225 * buffer.h: remove paragraph.h include
1227 * ParagraphList.C: delete file
1229 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1231 * toc.C (getTocList): adjust
1233 * paragraph_pimpl.C (validate): adjust
1235 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1237 * paragraph.C (Paragraph): adjust
1238 (getPositionOfInset): use const_iterator, adjust
1239 (bibitem): use const_iterator, adjust
1240 (setInsetOwner): adjust
1242 * iterators.C (operator++): adjust
1244 * InsetList.[Ch]: Replace selfmade iterator with standard
1245 vector::iterator also introduce const_iterator. Remove getPos,
1246 getInset and setInset from InsetTable. Adjust accordingly.
1248 * BufferView.C (lockInset): adjust
1249 (ChangeInsets): adjust
1251 * tabular.[Ch]: delete commented same_id functions
1253 2003-05-28 John Levon <levon@movementarian.org>
1255 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1257 2003-05-28 André Pönitz <poenitz@gmx.net>
1259 * metricsinfo.[Ch]: remove 'fullredraw' member
1261 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1263 * lyxtextclass.C (operator): remove caching.
1265 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * text2.C (cursorBottom): adjust
1270 (setCounter): use ParagraphList::find, adjust
1272 * text.C (workWidth): use ParagraphList::find, adjust
1274 * lyxcursor.C (LyXCursor): adjust
1276 * buffer.C (inset_iterator): adjust
1278 * ParagraphList.h: make iterator(value_type) private, make
1279 ParagraphList a friend of iterator.
1281 * ParagraphList.C (find): new function
1283 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1285 2003-05-27 André Pönitz <poenitz@gmx.net>
1287 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1289 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1293 2003-05-26 John Levon <levon@movementarian.org>
1295 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1297 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * remove same_id from function signatures, adjust.
1301 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1305 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1307 * paragraph.C (Paragraph): get rid of same_ids parameter
1309 * ParagraphList.C (insert): adjust
1312 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1314 * paragraph_funcs.C (breakParagraph): adjust
1315 (breakParagraphConservative): adjust
1317 * buffer.C (readParagraph): adjust
1319 * ParagraphList.C (insert): take a reference instead of a pointer
1322 * paragraph.[Ch] (id): new function
1324 * bufferlist.C (newFile): adjust
1326 * ParagraphList.C (ParagraphList): adjust
1328 (push_back): take a reference instead of a pointer.
1330 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1332 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1335 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1336 set else use old code.
1338 * ParagraphList.C: remove all NO_NEXT code and only compile this
1339 code of NO_STD_LIST is set.
1341 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1343 * BufferView_pimpl.C:
1353 * graphics/GraphicsConverter.C:
1354 * graphics/PreviewLoader.C: header adjustment
1356 2003-05-23 Angus Leeming <leeming@lyx.org>
1358 * LaTeXFeatures.[Ch] (useBabel): new method.
1359 * bufferparams.C (writeLaTeX): use it.
1361 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1363 * ParagraphList.h (set): remove unused function.
1365 2003-05-23 André Pönitz <poenitz@gmx.net>
1368 * BufferView_pimpl.C:
1372 * undo_funcs.C: setUndo reworked
1374 * iterators.[Ch]: add access to topmost ParagraphList
1376 * lyxtext.[Ch] (workWidth): add a const
1378 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1380 * texrow.[Ch] (increasePos): remove function
1381 * exporter.C (export): removed unused var and outdated comment
1383 2003-05-23 Angus Leeming <leeming@lyx.org>
1385 * latexrunparams.h: rename fragile as moving_arg.
1386 * paragraph.C (simpleTeXOnePar): ditto.
1387 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1389 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1393 (textUndoOrRedo): comment out a currently unused var.
1395 * paragraph.h (NO_NEXT): enable NO_NEXT
1397 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1399 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1401 * exporter.C (Export): adjust for removeAutoInsets removal.
1403 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1405 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1407 * BufferView.[Ch] (removeAutoInsets): delete function
1409 2003-05-22 Angus Leeming <leeming@lyx.org>
1411 * latexrunparams.h: add a free_spacing variable.
1413 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1414 to pass moving_arg, as the data is stored in runparams.fragile.
1416 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1417 to Inset::latexOptional or to simpleTeXOnePar.
1419 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1420 free_spacing arg to Inset::latexOptional.
1422 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1425 2003-05-22 Angus Leeming <leeming@lyx.org>
1427 * latexrunparams.h: add fragile and use_babel variables.
1429 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1430 * buffer.C (makeLaTeXFile): store this returned value in
1431 runparams.use_babel, thus passing it to the inset::latex methods.
1433 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1434 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1436 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1437 longer has a fragile arg, as it is stored in runparams.fragile.
1439 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1440 moving_arg parameter as the data is stored in runparams.fragile.
1442 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1443 a fragile parameter as the data is stored in runparams.fragile.
1445 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1447 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1449 2003-05-22 Angus Leeming <leeming@lyx.org>
1451 * latexrunparams.h: add a 'bool nice' which defaults to false.
1453 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1454 now encapsulated within runparams.
1456 * bufferlist.C (updateIncludedTeXfiles):
1457 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1459 2003-05-22 Angus Leeming <leeming@lyx.org>
1461 * latexrunparams.h: new file containing struct LatexRunParams.
1462 * Makefile.am: add new file.
1464 * LaTeX.[Ch] (c-tor, run):
1465 * buffer.[Ch] (makeLaTeXFile):
1466 * bufferlist.[Ch] (updateIncludedTeXfiles):
1467 * converter.C (convert, scanLog):
1468 * converter.[Ch] (runLaTeX):
1469 * exporter.C (Export):
1470 * paragraph.[Ch] (simpleTeXOnePar):
1471 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1472 * paragraph_funcs.[Ch] (latexParagraphs):
1473 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1474 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1475 pass around a LatexRunParams parameter.
1477 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1479 * paragraph.[Ch]: remove unused constructor
1481 * ParagraphList.C (erase): new function, taking two iterators
1483 2003-05-22 André Pönitz <poenitz@gmx.net>
1485 * undo_funcs.C: remove duplicated code
1487 * iterator.[Ch]: operator=
1489 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * tabular.C (SetMultiColumn): ws changes
1493 * rowpainter.C (paintFirst): get rid of a ->previous
1495 * lyx_cb.C (getPossibleLabel): parlist simplification
1497 * BufferView.C (ChangeInsets): simplify slightly.
1499 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1501 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1502 * lfuns.h: new LFUN_SPACE
1503 * lyxfunc.C: protected space has a new lfun
1504 * paragraph_funcs.C: read new space insets
1506 * factory.C: handle new space insets
1508 2003-05-22 André Pönitz <poenitz@gmx.net>
1511 * BufferView_pimpl.C:
1514 * undo_funcs.C: return a ParIterator from getParFromID.
1516 * iterators.[Ch]: add two const's
1518 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * toc.C (getTocList): adjust
1522 * iterators.[Ch]: rework for parlist
1524 * buffer.C (par_iterator_begin): adjust
1525 (par_iterator_end): adjust
1527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1529 * BufferView.C (removeAutoInsets): adjust
1530 (ChangeInsets): adjust
1532 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1534 * text.C (top_y): fix bug 1110
1536 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1538 * errorlist.[Ch]: added
1541 * BufferView_pimpl.C:
1542 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1545 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * Makefile.am: ensure that lyx is relinked upon changes to the
1548 various "convenience" libs.
1550 2003-05-20 Angus Leeming <leeming@lyx.org>
1552 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1553 files are compiled in alphabetical order again.
1555 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1557 2003-05-19 Angus Leeming <leeming@lyx.org>
1559 * gettext.[Ch]: remove "char const * _(char const *)".
1561 2003-05-19 André Pönitz <poenitz@gmx.net>
1563 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1572 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1574 2003-05-19 André Pönitz <poenitz@gmx.net>
1578 * lyxtextclass.[Ch]:
1580 * paragraph_funcs.[Ch]:
1582 * text3.C: more insetenv work
1584 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1586 * ParagraphParameters.C (params2string): small bug fixed
1588 2003-05-16 André Pönitz <poenitz@gmx.net>
1591 * bufferview_funcs.C: patch from Kornel Benko to prevent
1592 crash when _(...) is called twice in a statement
1594 2003-05-16 André Pönitz <poenitz@gmx.net>
1601 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1603 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1605 * lyx_main.C (init): remove spurious static_cast
1607 2003-05-14 André Pönitz <poenitz@gmx.net>
1609 * BufferView.C: fix format string
1611 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1613 * BufferView.[Ch] (insertErrors): removed
1614 * BufferView.[Ch] (showErrorList): added
1615 * buffer.C (runChkTeX):
1616 * converter.C (scanLog): call showErrorList instead of inserterrors
1618 2003-05-13 André Pönitz <poenitz@gmx.net>
1620 * BufferView_pimpl.C:
1622 * bufferview_func.C:
1629 * tabular_funcs.h: tostr() from its own header
1631 * ParagraphParameters.C:
1636 * text3.C: STRCONV()
1638 2003-05-12 André Pönitz <poenitz@gmx.net>
1641 * BufferView_pimpl.C:
1645 * ParagraphParameters.C:
1649 * bufferview_funcs.C:
1662 * paragraph_funcs.C:
1666 * text3.C: boost::format -> bformat all over the place
1669 2003-05-09 André Pönitz <poenitz@gmx.net>
1671 * LColor.[Ch]: Pimpl the #include <map> away
1673 2003-05-09 John Levon <levon@movementarian.org>
1675 * bufferlist.C: never remove emergency saves
1677 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * Makefile.am: better lib building
1681 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1685 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1686 (simpleTeXSpecialChars): adjust
1687 (simpleTeXSpecialChars): adjust
1688 * paragraph.C (simpleTeXOnePar): adjust
1689 * buffer.C (makeLaTeXFile): adjust
1691 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1693 * text2.C (changeDepth): parlist cleanup
1694 (getColumnNearX): ditto
1696 * rowpainter.C (getLabelFont): parlist cleanup
1698 * bufferlist.C (newFile): parlist cleanup
1700 * CutAndPaste.C (eraseSelection): parlist cleanup
1702 * BufferView_pimpl.C (trackChanges): parlist cleanup
1705 * BufferView.C (lockInset): parlist cleanup.
1706 (ChangeInsets): ditto
1708 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * CutAndPaste.h: Update file header.
1712 * CutAndPaste.C: Update file header.
1713 Store the parts cut out of the Document in a limited_stack.
1714 (copySelection): adjust
1715 (pasteSelection): new function, takes the index in the limited stack.
1716 (nrOfParagraphs): adjust
1717 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1718 simplify error inset insertion.
1719 (checkPastePossible): adjust
1721 2003-05-06 John Levon <levon@movementarian.org>
1723 * text2.C: don't cast wrap inset to float
1725 2003-05-05 André Pönitz <poenitz@gmx.net>
1728 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1730 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1731 few naked Paragraph *.
1733 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1735 * bufferparams.C: Output warning if a document with missing
1736 TeX document class is loaded
1737 * exporter.C: Disable TeX exports if the document class is missing
1740 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1741 isTeXClassAvailable()
1743 2003-05-03 John Levon <levon@movementarian.org>
1746 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1747 explicit cursor show/hide
1749 * BufferView_pimpl.h:
1750 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1751 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1753 * lyxfunc.C: hide cursor before dispatching.
1758 * text3.C: remove explicit cursor hides
1760 2003-05-02 André Pönitz <poenitz@gmx.net>
1762 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1765 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1768 * text2.C: tiny whitespace
1770 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * undo_funcs.C: almost only ws changes.
1774 * ParagraphList.C (splice): just return if pl is empty.
1776 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * ParagraphList.C (splice): new function.
1780 * CutAndPaste.C (pasteSelection): use it
1782 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * CutAndPaste.C (pasteSelection): remove the last next and
1785 previous from this file.
1787 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * CutAndPaste.C (pasteSelection): more clean up, user proper
1790 ParagraphList functions for pasteing.
1792 * ParagraphList.C (insert): new function, three arg insert
1794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * ParagraphList.C (insert): new function, three arg insert
1798 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1801 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1805 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1812 (copySelection): clean up a bit.
1813 (pasteSelection): use make_pair
1815 * ParagraphList.C (ParagraphList): implement copy constructor
1816 (operator=): implement, base on copy constructor.
1819 * paragraph.C (erase): return a bool
1821 * paragraph_pimpl.C (erasePos): remove function, move contents...
1822 (erase): ... here. Return a bool.
1823 (erase): call erase instead of erasePos.
1825 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1827 * ParagraphList.h: define PitPosPair
1828 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1829 ParagraphList, fix a bug on pasting multiple pars
1830 * text2.C: change interface to C&P
1832 2003-04-30 André Pönitz <poenitz@gmx.net>
1834 * undo_func.C: revert part of yesterday's patch 2
1836 2003-04-30 John Levon <levon@movementarian.org>
1838 * LColor.C: s/tabular/table/
1840 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * text3.C (dispatch): do not convert iterator -> pointer
1843 * undo_funcs.C (setCursorParUndo): ditto
1844 * text_funcs.C (transposeChars): ditto
1846 * text2.C (setLayout): ws changes only
1848 * text.C (breakParagraph): do not convert iterator -> pointer
1850 (acceptChange): ditto
1851 (rejectChange): ditto
1856 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1859 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1861 * text3.C (gotoInset): YABG (yet another bad getChar)
1863 2003-04-29 André Pönitz <poenitz@gmx.net>
1865 * paragraph.h: make operator= private unimplemented as long as
1868 * ParagraphList.C: whitespace
1871 * paragraph_pimpl.[Ch]:
1872 * paragraph_funcs.C:
1874 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1877 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1879 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1881 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1882 * paragraph.[Ch] (erase):
1883 * paragraph_pimpl.[Ch] (erase): change return type and value
1884 * text2.C (cutSelection): some rework
1886 2003-04-28 John Levon <levon@movementarian.org>
1888 * bufferlist.C: changes for unsaved changes dialog
1890 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * bufferlist.C (newFile): set language (messages_) for new
1895 * buffer.C (readFile): ws changes only.
1897 2003-04-28 André Pönitz <poenitz@gmx.net>
1902 * BufferView_pimpl.C:
1903 * BufferView.C: getParFromID related ParagraphList::iterator changes
1905 2003-04-28 André Pönitz <poenitz@gmx.net>
1907 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1910 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * messages.C: remove one more localedir class variable.
1914 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * messages.C (getLocaleDir): singleton generation function
1918 (Messages): add a default constructor.
1920 * main.C (main): do not setup localedir here, do not call
1923 * gettext.C (_): use it.
1924 (gettext_init): delete funciton
1926 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * gettext.C (getLyXMessages): new singleton generating function.
1930 * buffer.C (updateDocLang): adjust
1932 * Makefile.am (messages.o): add target
1933 (main.o): remove target
1935 2003-04-27 John Levon <levon@movementarian.org>
1940 * lyxvc.C: specify cancel button in Alert::prompt
1942 2003-04-26 John Levon <levon@movementarian.org>
1947 * LyXAction.C: add LFUN_INSET_SETTINGS
1949 * lyxfunc.C: don't enable tabular-feature when there's
1950 just any locking inset
1952 2003-04-26 John Levon <levon@movementarian.org>
1954 * bufferlist.C: re-add Cancel to buffer close question
1956 * lyxfunc.C: fix import UI a bit
1958 2003-04-25 John Levon <levon@movementarian.org>
1960 * gettext.C: remove the broken asserts for now
1962 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * messages.C: make case where setlocale cannot comply work better.
1966 * buffer.C (updateDocLang): new function
1967 (changeLanguage): use it
1970 * text2.C (setCounter): use B_ a bit.
1972 * lyxlayout.C (Read): be sure to trim the label strings.
1974 * messages.C (Messages): fix typo in comment
1976 * buffer.C (readFile): set message_ after file is loaded.
1977 (makeDocBookFile): remove double return
1978 (changeLanguage): reset message_ upon language change.
1979 (B_): new func, use this to get translated buffer strings.
1981 * main.C: add myself and Jean Marc as authors.
1983 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1985 * messages.[hC]: pimplify Messages, and three different pimpls to be
1986 used in different circumstances.
1988 * gettext.[Ch]: change for use with new message code.
1990 2003-04-24 André Pönitz <poenitz@gmx.net>
1992 * factory.C: support for eqref
1994 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * messages.[Ch]: add missing char
1998 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2000 * messages.[Ch]: New files
2002 2003-04-18 John Levon <levon@movementarian.org>
2006 * BufferView_pimpl.C:
2010 * text2.C: remove layout-copy/paste (bug 778)
2012 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2014 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2016 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2018 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2019 if they succeed. Act accordingly.
2021 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * text2.C (setCharFont): adjust
2024 (setCounter): adjust
2025 (insertStringAsLines): adjust
2027 * text.C (leftMargin): adjust
2028 (setHeightOfRow): adjust
2030 * rowpainter.C (paintFirst): adjust
2033 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2035 (isFirstInSequence): ditto
2036 (getEndLabel): ditto
2039 * paragraph.C (getParLanguage): comment out some hard stuff.
2041 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2043 (simpleDocBookOnePar): ditto
2044 (makeDocBookFile): use ParagraphList::iterator
2046 * CutAndPaste.C (pasteSelection): adjust
2048 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * text2.C (getFont): adjust
2051 (getLayoutFont): adjust
2052 (getLabelFont): adjust
2054 * paragraph_funcs.C (TeXOnePar): adjust
2056 * buffer.C (simpleLinuxDocOnePar): adjust
2057 (simpleDocBookOnePar): adjust
2059 * CutAndPaste.C (pasteSelection): adjust
2061 * BufferView.C (getEncoding): adjust
2063 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2065 2003-04-16 John Levon <levon@movementarian.org>
2067 * lyxfind.C: use parlist stuff for search/changes
2069 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2073 * text2.C (deleteEmptyParagraphMechanism): adjust
2075 * text2.[Ch] (ownerParagraph): delete func (both of them
2077 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2081 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * ParagraphList.C: prepare for NO_NEXT
2085 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * text2.C (getFont): adjust
2088 (getLayoutFont): adjust
2089 (getLabelFont): adjust
2091 * paragraph.C (getFont): adjust
2092 (getLabelFont): adjust
2093 (getLayoutFont): adjust
2095 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2097 2003-04-15 John Levon <levon@movementarian.org>
2101 * lyx_main.C: handle Include in .ui files
2103 2003-04-15 John Levon <levon@movementarian.org>
2105 * MenuBackend.C: make the doc files length shorter
2108 * ToolbarBackend.C: handle toolbar placement flags,
2111 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2116 * paragraph_funcs.C (TeXOnePar): adjust
2118 * paragraph.C (getLabelFont): add outerfont arg, adjust
2119 (getLayoutFont): ditto
2120 (simpleTeXOnePar): adjust
2122 * paragraph_pimpl.C (realizeFont): delete func
2124 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2126 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2127 row argument, constify cur argument.
2129 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * text2.C (getFont): adjust
2132 (getLayoutFont): adjust
2133 (getLabelFont): adjust
2135 * paragraph_funcs.C (TeXOnePar): adjust
2136 (outerFont): new func...
2137 (realizeFont): ...moved out from here, changed this to facilitate
2140 * paragraph.C (getFont): take outerfont as arg, adjust
2141 (simpleTeXOnePar): add outerfont arg, adjust
2143 * buffer.C (simpleLinuxDocOnePar): adjust
2144 (simpleDocBookOnePar): adjust
2146 * CutAndPaste.C (pasteSelection): adjust
2148 * BufferView.C (getEncoding): adjust
2150 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * text2.C (setCharFont): adjust
2153 (setCounter): adjust
2155 * text.C (leftMargin): adjust
2156 (setHeightOfRow): adjust
2158 * rowpainter.C (paintFirst): adjust
2161 * paragraph_pimpl.C (realizeFont): adjust
2163 * paragraph.C (isFirstInSequence): move from here...
2164 * paragraph_funcs.C (isFirstInSequence): ...to here
2166 * paragraph.C (outerHook): move from here...
2167 * paragraph_funcs.C (outerHook): ...to here
2169 * paragraph.C (depthHook): move from here...
2170 * paragraph_funcs.C (depthHook): ...to here
2172 * paragraph.C (getEndLabel): move from here...
2173 * paragraph_funcs.C (getEndLabel): ...to here
2175 * text2.C (realizeFont): move from here...
2176 * paragraph_funcs.C (realizeFont): ...to here
2178 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2182 2003-04-14 Angus Leeming <leeming@lyx.org>
2184 * LColor.[Ch]: scrap LColor mathcursor.
2186 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * lyxlex.[Ch] (text): delete function
2189 * trans.C (Load): adjust
2190 * paragraph_funcs.C (readParToken): adjust
2192 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2194 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2195 vector<char> instead of a char[].
2197 * lyxlex_pimpl.C (getString): adjust
2199 (lex): use getString
2203 * lyxlex.C (text): use pimpl_->getString()
2207 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2210 (makeFontEntriesLayoutSpecific): temp var for par.size()
2211 (setLayout): temp var for ownerParagraphs().end()
2212 (fullRebreak): temp var for rows().end()
2213 (selectionAsString): temp var for boost::next(startpit), realize
2214 that the while really is a regular for loop.
2215 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2216 setCursor in one place.
2217 (setParagraph): temp vr for ownerParagraphs().end()
2218 (updateCounters): make the while loop a for loop
2219 (cutSelection): temp var for ownerParagraphs().end()
2220 (updateInset): make the do {} while() a regular for loop
2221 (getCursorX): use temp vars
2222 (setCurrentFont): use temp vars
2223 (getColumnNearX): use temp vars
2225 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2227 * text.C (transformChar): use temp var for getChar
2228 (computeBidiTables): use temp var for row->par()
2229 (fill): move temp vars for row->par() and pit->layout() earlier in
2231 (labelFill): use temp var for row->par()
2232 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2233 asc and desc, realize that pit never changes and that firstpit is
2234 just a duplicate and not needed. Exchange rit->par() with pit in a
2236 (breakAgain): use a temp var for boost::next(rit)
2237 (breakAgainOneRow): ditto
2238 (breakParagraph): use a temp var for rows().begin()
2239 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2240 (cursorRightOneWord): use temp var for cursor.par() and
2241 cursor.pos(), remove usage of tmpcursor.
2242 (cursorLeftOneWord): use temp var for cursor.par() and
2243 cursor.pos() only set cur at end of function.
2245 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * text.C, text2.C: exchange all usage of Paragraph::next with
2248 boost::next(ParagraphList::iterator)
2250 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2252 * text2.C (cursorTop): simplify implementation
2253 (cursorBottom): ditto
2254 (setParagraph): use ParagraphList::iterator
2255 (setCurrentFont): adjust
2256 (getColumnNearX): adjust
2257 (cursorRight): adjust
2258 (cursorLeft): remove usage of Paragraph::previous
2259 (cursorUpParagraph): ditto
2260 (deleteEmptyParagraphMechanism): slight cleanup
2262 * text.C (isBoundary): take a Paragraph const & instead of a
2264 (addressBreakPoint): ditto
2265 (leftMargin): remove usage of Paragraph::previous.
2266 (setHeightOfRow): ditto
2267 (cursorLeftOneWord): ditto
2268 (selectNextWordToSpellcheck): ditto
2271 (breakParagraph): remove one usage of Paragraph::next
2272 (redoParagraph): ditto
2273 (acceptChange): ditto
2274 (insertChar): adjust
2275 (rowBreakPoint): adjust
2277 * bufferview_funcs.C (toggleAndShow): adjust
2279 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2281 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2282 methods to access it.
2284 * text.C: Added updateRowPositions to compute all row positions.
2285 Make top_y and getRowNearY() to use the cached y position
2287 2003-04-11 John Levon <levon@movementarian.org>
2289 * text.C (rowBreakPoint): reintroduce the labelEnd
2290 checks, code copied from the row fill stuff. Deep voodoo.
2292 * text.C (fill): add a comment and debugging for the
2295 2003-04-11 John Levon <levon@movementarian.org>
2297 * text.C: make sure fullrow insets get wrapped to the next line,
2298 even when they're in a manual label
2300 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * text2.C (insertParagraph): make it take ParagraphList::iterator
2304 (setLayout): make it return ParagraphList::iterator
2305 (redoParagraphs): ditto
2307 (checkParagraph): ditto
2309 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2311 * text2.C: adjust several funcs.
2312 (realizeFont): take a ParagraphList::iterator as arg.
2313 (getLayoutFont): ditto
2314 (getLabelFont): ditto
2315 (setCharFont): ditto
2317 * text.C: adjust several funcs.
2319 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2321 * text.C (selectNextWordToSpellcheck): don't accidentally
2324 2003-04-10 John Levon <levon@movementarian.org>
2326 * ToolbarBackend.C (getIcon): special handling for
2329 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2331 * text2.C (cursorRight): a getChar assert fixed
2333 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * text2.C (getFont): change to take a ParagraphList::iterator
2336 instead of Paragraph*
2337 Adjust several functions.
2339 * text.C (transformChar): change to take a ParagraphList::iterator
2340 instead of Paragraph*
2341 (singleWidth): ditto
2342 Adjust several functions.
2344 * rowpainter.C: adjust several functions
2345 * rowpainter.h:store a ParagraphList::iterator and not a
2349 2003-04-09 John Levon <levon@movementarian.org>
2354 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2355 and the "help" bits as well
2357 2003-04-09 John Levon <levon@movementarian.org>
2360 * ToolbarBackend.C: allow multiple toolbars
2362 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * undo_funcs.C (setCursorParUndo): adjust
2366 * text_funcs.C (transposeChars): adjust
2368 * text3.C (gotoNextInset): adjust
2371 * text2.C (setLayout): adjust
2372 (changeDepth): adjust
2374 (redoParagraphs): adjust
2375 (selectionAsString): adjust
2376 (setParagraph): adjust
2377 (insertInset): adjust
2378 (cutSelection): adjust
2379 (copySelection): adjust
2380 (pasteSelection): adjust
2381 (insertStringAsLines): adjust
2382 (updateInset): adjust
2383 (setCursor): change to take a ParagraphList::iterator parameter
2384 (setCursorIntern): change to take a ParagraphList::iterator parameter
2385 (setCurrentFont): adjust
2386 (cursorLeft): adjust
2387 (cursorRight): adjust
2388 (deleteEmptyParagraphMechanism): adjust
2390 * text.C (breakParagraph): adjust
2391 (insertChar): adjust
2392 (acceptChange): adjust
2393 (rejectChange): adjust
2394 (selectNextWordToSpellcheck): adjust
2395 (changeCase): adjust
2399 * lyxfind.C (SearchForward): adjust
2400 (SearchBackward): adjust
2401 (nextChange): adjust
2403 * lyxcursor.C (par): adjust
2405 * lyxcursor.h: store a ParagraphList::iterator instead of a
2408 * lyx_cb.C (getPossibleLabel): adjust
2410 * bufferview_funcs.C (toggleAndShow): adjust
2412 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2415 * BufferView.C (removeAutoInsets): adjust
2416 (lockedInsetStoreUndo): adjust
2418 2003-04-09 John Levon <levon@movementarian.org>
2420 * ToolbarBackend.C: try icon without argument
2421 if with argument fails
2423 2003-04-08 John Levon <levon@movementarian.org>
2426 * ToolbarBackend.C: add getIcon(), handle tooltip,
2427 and change from "Icon" to "Item".
2429 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2431 * BufferView.C (lockInset): another bad getchar crunched
2433 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2435 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2438 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2440 * lyxfind.C (searchForward, searchBackwards): bug 782
2442 2003-04-07 John Levon <levon@movementarian.org>
2444 * paragraph.C: remove dead comment
2446 * text.C: remove troublesome depth-fiddling code
2447 in leftMargin() and rightMargin() (bug 1017)
2449 * text.C: fix breaking of rows in nested lists
2452 * text2.C (updateCounters): fix up depth values
2455 2003-04-07 John Levon <levon@movementarian.org>
2457 * BufferView_pimpl.C: clear message when doc finishes resizing,
2458 and after a mouse event
2460 * lyxfunc.C: clear message after exiting inset
2462 2003-04-07 John Levon <levon@movementarian.org>
2464 * bufferview_funcs.C: show math status not outside
2465 status in the statusbar
2467 2003-04-07 John Levon <levon@movementarian.org>
2469 * lyxfunc.C: note status changed after a depth change
2471 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2473 * LaTeX.h: move AuxInfo operator==, != out of line.
2474 Remove LaTeX virtual destructor; nothing derives from it.
2475 Move operator()() out of public area and rename it startscript().
2476 Change protected for private.
2478 2003-04-04 Angus Leeming <leeming@lyx.org>
2481 * text2.C: remove unneeded #includes.
2483 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2485 * text2.C (dEPM): fix the heigth of the next row
2487 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2489 * text.C: squashed an invalid getChar requester + some ws changes
2491 2003-04-03 John Levon <levon@movementarian.org>
2493 * bufferview_funcs.h:
2494 * bufferview_funcs.C:
2497 * text2.C: make getStatus work for the env depth lfuns
2499 2003-04-03 John Levon <levon@movementarian.org>
2501 * bufferview_funcs.h:
2502 * bufferview_funcs.C:
2505 * text2.C: parlistize decDepth(), by merging it with incDepth()
2507 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * lyxrow.h: store a ParagraphList::iterator instead of a
2510 Paragraph* and adjust other class functions to suit.
2512 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2515 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2517 * text2.C (setCursor): do not anchor to cursor row for the time being
2519 2003-04-02 John Levon <levon@movementarian.org>
2526 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2528 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * paragraph.h: make ParagraphList and ParagraphList::iterator
2531 friends of Paragraph.
2533 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2535 * ParagraphList.C: Use the private next_ and previous_ from
2538 2003-04-01 John Levon <levon@movementarian.org>
2542 * Makefile.am: rename, remove defaults gunk
2545 * MenuBackend.C: remove defaults gunk
2548 * Languages.C: remove defaults gunk
2551 * lyx_main.C: error out if files couldn't be found.
2553 2003-04-02 John Levon <levon@movementarian.org>
2555 * text2.C: make incDepth() use parlist
2557 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * undo_funcs.C (firstUndoParagraph): adjust
2561 * text3.C (gotoInset): adjust
2562 (dispatch): adjust, and rewrite loop.
2564 * text2.C (init): adjust, and rewrite loop.
2565 (redoParagraphs): adjust
2566 (updateInset): adjust, and rewrite loop.
2567 (deleteEmptyParagraphMechanism): adjust
2569 * tabular.C (LyXTabular): adjust
2570 (SetMultiColumn): adjust
2573 * lyxtext.[Ch] (ownerParagraph): delete function
2574 (ownerParagraphs): new function returns a ParagraphList.
2576 * BufferView.C (removeAutoInsets): adjust
2577 (insertErrors): adjust
2578 (setCursorFromRow): adjust
2580 2003-04-01 Angus Leeming <leeming@lyx.org>
2582 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2585 2003-04-02 John Levon <levon@movementarian.org>
2591 * text_funcs.C: make transposeChars a free function
2593 * lyxrow_funcs.C: remove wrong comment
2595 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2598 * rowpainter.C: adjust
2603 * lyxrow_funcs. [Ch]: new files
2605 * lyxrow.[Ch]: remove next and previous pointers
2606 (next,previous): remove accessor functions
2607 (isParEnd): move to lyxrow_funcs
2608 (lastPos): move to lyxrow_funcs
2609 (nextRowIsAllInset): move to lyxrow_funcs
2610 (lastPrintablePos): move to lyxrow_funcs
2611 (numberOfSeparators): move to lyxrow_funcs
2612 (numberOfHfills): move to lyxrow_funcs
2613 (numberOfLabelHfills): move to lyxrow_funcs
2614 (hfillExpansion): move to lyxrow_funcs
2618 * bufferview_funcs.C (toggleAndShow): adjust
2620 * RowList.h: Remove class RowList from file leave just a
2623 * RowList.C: delete file
2625 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2628 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * text3.C (cursorPrevious): adjust
2631 (cursorNext): adjust
2634 * text2.C (redoHeightOfParagraph): adjust
2635 (redoDrawingOfParagraph): adjust
2638 * text.C (breakParagraph): adjust
2639 (insertChar): adjust
2642 * rowpainter.C (RowPainter): adjust
2643 (leftMargin): simplify and adjust
2644 (most rowpainter functions): adjust.
2646 * rowpainter.h: store the row as RowList::iterator not as Row*
2648 * lyxcursor.C (row): taka RowList::iterator as arg
2651 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2654 2003-04-01 Angus Leeming <leeming@lyx.org>
2656 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2657 stuff like bool Bool.
2659 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2661 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2664 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2666 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2669 * lyxtext.h (rows): drop one version and leve a const variant that
2670 returns a RowList::iterator.
2672 2003-03-31 Angus Leeming <leeming@lyx.org>
2674 * text.C (fill): ensure that the signature is the same as that in the
2677 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * text2.C (redoParagraphs): adjust
2680 (updateCounters): adjust
2681 (checkParagraph): adjust
2682 (getColumnNearX): adjust and reformat a bit.
2684 * text.C (top_y): adjust
2686 (leftMargin): adjust
2687 (prepareToPrint): adjust
2689 (getRowNearY): adjust
2691 * lyxtext.h: make rowlist_ mutable.
2693 * RowList.h: add const_iterator
2694 * RowList.C: adjust for RowList::const_iterator.
2696 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2699 2003-03-31 John Levon <levon@movementarian.org>
2702 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2704 * lyx_main.C: set default fonts from using lyx_gui funcs
2706 * exporter.C: pdf_mode moved from lyxrc
2709 * lyxfunc.C: changes from above
2711 2003-03-31 John Levon <levon@movementarian.org>
2713 * lyx_main.C: fix to the last fix
2715 2003-03-31 John Levon <levon@movementarian.org>
2717 * bufferlist.C: "Load original" -> "Load Original"
2723 * format.C: more Alert cleanups
2725 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * text2.C (removeParagraph): make it take a RowList::iterator as
2729 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2730 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2732 * text.C (anchor_row): make it take a RowList::iterator as arg,
2734 (computeBidiTables): make it take a const reference to Row instead
2735 of Row pointer, adjust.
2736 (leftMargin): make it take a RowList::iterator as arg, adjust.
2737 (rowBreakPoint): adjust
2738 (breakAgainOneRow): make it take a RowList::iterator as arg,
2740 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2742 * bufferview_funcs.C (toggleAndShow): adjust
2744 2003-03-30 John Levon <levon@movementarian.org>
2748 * boost-inst.C: moved to support
2750 * several files: changes as a result
2752 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * text2.C (LyXText): adjust.
2756 (removeRow): make it take a RowList::iterator as arg, adjust.
2757 (fullRebreak): adjust
2758 (deleteEmptyParagraphMechanism): adjust
2759 (clearPaint): adjust
2762 * text.C (top_y): adjust
2763 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2764 (breakAgain): make it take a RowList::iterator as arg, adjust.
2765 (breakParagraph): adjust
2766 (insertChar): adjust
2769 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2770 need_break_row, and refresh_row.
2772 * text3.C (dispatch): adjust
2774 * text2.C (checkParagraph): adjust
2776 (setCursorFromCoordinates): adjust
2778 * text.C (top_y): adjust
2780 (getRow): make it return a RowList::iterator, adjust
2781 (getRowNearY): make it return a RowList::iterator, adjust
2783 * text2.C (init): adjust
2784 (insertRow): remove function
2785 (insertParagraph): adjust
2786 (redoParagraphs): adjust
2787 (fullRebreak): adjust
2788 (updateCounters): adjust
2790 * text.C (top_y): rewrite to use RowList iterators.
2792 (setHeightOfRow): rewrite to sue RowList iterators.
2793 (appendParagraph): adjust
2794 (breakAgain): adjust
2795 (breakAgainOneRow): adjust
2796 (breakParagraph): adjust
2798 (getRowNearY): adjust, and remove commented code.
2800 * lyxtext.h (firstRow): delete function
2801 (lastRow): delete function
2802 (rows): new function (const and non-const versions.)
2803 (insertRow): delete function
2805 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2807 2003-03-29 John Levon <levon@movementarian.org>
2809 * BufferView_pimpl.C: always update scrollbar top
2810 because pasting text when we're anchored could mean we
2811 miss an update altogether
2813 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * text2.C (init): use rowlist_.end() and not 0.
2816 (insertRow): change to take a RowList::iterator as arg, adjust
2818 (insertParagraph): change to take a RowList::iterator as arg,
2820 (redoParagraphs): remove some debug msgs.
2822 * text.C (appendParagraph): change to take a RowList::iterator
2823 arg, adjust for this.
2824 (breakAgain): add an assert
2825 (breakAgainOneRow): ditto
2827 2003-03-29 John Levon <levon@movementarian.org>
2829 * text2.C: do not clear selection after inc/decDepth
2832 2003-03-29 John Levon <levon@movementarian.org>
2835 * buffer.C: fix broken strerrors according to Lars
2837 2003-03-29 John Levon <levon@movementarian.org>
2839 * converters.C: more Alert cleanups
2841 2003-03-29 John Levon <levon@movementarian.org>
2843 * bufferview_funcs.C: remove pointless Alert
2845 * buffer.C: fix confusing error message when
2846 a template is chmoded 000
2848 2003-03-29 John Levon <levon@movementarian.org>
2852 * BufferView_pimpl.C: Alert fixes
2856 * tabular-old.C: remove unused table compat reading
2858 2003-03-29 John Levon <levon@movementarian.org>
2863 * lyx_cb.C: more Alert cleanups
2865 * lyxfunc.C: don't allow chktex if not latex document
2867 2003-03-29 John Levon <levon@movementarian.org>
2871 * buffer.C: warnings pushed down from support/,
2874 2003-03-29 John Levon <levon@movementarian.org>
2876 * lyxfunc.C: safety check for C-r (revert)
2878 2003-03-29 John Levon <levon@movementarian.org>
2881 * bufferlist.C: several UI fixes using Alert::prompt.
2882 Fix the pointless looping quit code. Fix stupid revert
2887 * lyx_cb.C: use Alert::prompt
2889 * lyx_main.C: remove a silly question
2891 * lyxfunc.C: remove a couple of silly questions,
2894 2003-03-28 John Levon <levon@movementarian.org>
2896 * text2.C: fix bug 974 (End on empty par)
2898 2003-03-28 John Levon <levon@movementarian.org>
2900 * BufferView_pimpl.C:
2902 * lfuns.h: remove do-nothing math greek lfuns
2904 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * lyxgluelength.h (isValidGlueLength): add default arg on
2907 parameter 2. Remove default arg from friend in class.
2909 * lyxlength.h (isValidLength): add default arg on parameter 2.
2910 Remove default arg from friend in class.
2912 * text2.C (LyXText): adjust, initialize refresh_row.
2916 (insertParagraph): adjst
2917 (redoParagraphs): adjust
2918 (fullRebreak): adjust
2919 (updateCounters): adjust
2920 (deleteEmptyParagraphMechanism): first attempt at fixing a
2923 * text.C (top_y): adjust
2924 (setHeightOfRow): adjust
2926 (getRowNearY): adjust
2928 * lyxtext.h: include RowList.h
2929 (~LyXText): not needed anymore, deleted.
2930 (firstRow): modify for RowList
2931 (lastRow): new function
2932 Delete firstrow and lastrow class variables, add a Rowlist
2933 rowlist_ class variable.
2935 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2938 * RowList.C (insert): fix case where it == begin().
2940 2003-03-26 Angus Leeming <leeming@lyx.org>
2942 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2943 the thesaurus dialog.
2945 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2949 * RowList.[Ch]: new files
2951 * ParagraphList.C (erase): handle the case where it == begin
2954 2003-03-25 John Levon <levon@movementarian.org>
2958 * aspell.C: add new aspell support
2961 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2964 2003-03-25 Angus Leeming <leeming@lyx.org>
2967 * LyXAction.C (init): new LFUN_INSET_INSERT.
2969 * BufferView_pimpl.C (dispatch): split out part of the
2970 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2972 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2975 2003-03-25 Angus Leeming <leeming@lyx.org>
2977 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2979 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2982 * text3.C: remove useless row->height(0)
2984 2003-03-25 John Levon <levon@movementarian.org>
2988 * text3.C: rename the refreshing stuff to better names
2990 2003-03-24 John Levon <levon@movementarian.org>
2992 * BufferView_pimpl.h:
2993 * BufferView_pimpl.C: update layout choice on a mouse
2996 2003-03-23 John Levon <levon@movementarian.org>
2998 * Makefile.am: fix commandtags.h reference
3000 2003-03-22 John Levon <levon@movementarian.org>
3002 * BufferView_pimpl.C:
3007 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3009 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3012 * text.C: take the rtl methods out of line
3014 2003-03-21 André Pönitz <poenitz@gmx.net>
3016 * metricsinfo.[Ch]: new files containing structures to be passed around
3017 during the two-phase-drawing...
3019 2003-03-21 André Pönitz <poenitz@gmx.net>
3021 * lyxtextclass.C: read 'environment' tag.
3023 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3025 * text2.C (removeRow): fix bug 964
3027 2003-03-20 John Levon <levon@movementarian.org>
3031 * text2.C: paint cleanups. Inset::update() dropped font
3034 2003-03-19 John Levon <levon@movementarian.org>
3036 * lyxfunc.C: only fitcursor/markDirty if available()
3038 2003-03-19 John Levon <levon@movementarian.org>
3040 * commandtags.h: rename to ...
3042 * lfuns.h: ... this, and renumber / cleanup
3044 2003-03-19 John Levon <levon@movementarian.org>
3046 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3047 fit the cursor after an lfun
3051 * BufferView_pimpl.h:
3052 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3054 * LyXAction.C: layout-character should have ReadOnly
3056 * ParagraphParameters.C:
3058 * bufferview_funcs.C:
3065 * undo_funcs.C: changes from above
3067 2003-03-18 John Levon <levon@movementarian.org>
3069 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3070 remove it from update()
3072 * lyxfunc.C: update layout choice after an lfun
3074 * text3.C: remove extra updateLayoutChoice()s
3076 2003-03-18 John Levon <levon@movementarian.org>
3078 * text.C: top_y change means full repaint, fix
3079 a drawing bug with cursor movement
3081 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3085 * text2.C: anchor row on setCursor
3087 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3089 * lyxtext.h: remove almost all mutable keywords
3092 * text3.C: remove const keywords accordingly
3094 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3098 (TeXEnvironment): ditto
3101 2003-03-17 John Levon <levon@movementarian.org>
3103 * text.C (rowBreakPoint): remove attempt to fix displayed
3104 math insets inside a manual label
3106 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3108 * lyxtext.h: remove BufferView* as first arg from almost all class
3110 * other files: adjust.
3112 2003-03-17 John Levon <levon@movementarian.org>
3116 * text2.C: more paint cleanups
3118 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3121 * rowpainter.C: remove "smart" background painting code
3123 2003-03-16 John Levon <levon@movementarian.org>
3128 * text3.C: add helper functions for setting refresh_row/y
3130 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3132 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3133 newline inset which *can* get inserted in the pass_thru layouts.
3134 This is primarily for literate documents.
3136 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3138 * buffer.C: increment LYX_FORMAT to 223
3140 2003-03-14 André Pönitz <poenitz@gmx.net>
3142 * textclass.h: prepare for environment handling, ws changes
3143 * lyxlayout.C: read latexheader and latexfooter tags
3145 2003-03-14 John Levon <levon@movementarian.org>
3147 * text2.C: rewrite ::status() a bit
3149 2003-03-13 John Levon <levon@movementarian.org>
3151 * lyxtext.h: add some docs
3153 2003-03-13 John Levon <levon@movementarian.org>
3158 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3160 2003-03-13 John Levon <levon@movementarian.org>
3162 * text3.C: fix appendix redrawing
3164 2003-03-13 John Levon <levon@movementarian.org>
3166 * text.C (setHeightOfRow):
3168 * rowpainter.C: make appendix mark have the text
3169 "Appendix" so the user knows what it is
3172 * LColor.C: s/appendixline/appendix/ from above
3174 2003-03-13 John Levon <levon@movementarian.org>
3176 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3178 * text.C: fix a getChar(pos) bug properly
3180 2003-03-13 Angus Leeming <leeming@lyx.org>
3183 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3184 Probably only temporary. Let's see how things pan out.
3186 * BufferView.C (unlockInset):
3187 * BufferView_pimpl.C (fitCursor):
3188 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3190 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3191 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3193 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3194 new functions that convert ParagraphParameters to and from a string.
3196 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3197 BufferView::Pimpl's dispatch.
3198 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3200 2003-03-13 André Pönitz <poenitz@gmx.net>
3204 * factory.C: make it aware of InsetEnv
3206 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * text2.C (setCursor): never ask for one past last
3209 (setCursor): add some debugging messages.
3211 * text.C (singleWidth): never ask for one past last
3212 (singleWidth): ditto
3214 (rightMargin): ditto
3215 (rowBreakPoint): ditto
3216 (setHeightOfRow): ditto
3217 (prepareToPrint): ditto
3219 * rowpainter.C (paintBackground): never ask for one past last
3220 (paintText): never ask for one past last
3222 * paragraph_pimpl.C (getChar): make the assert stricter, never
3223 allow the one past last pos to be taken
3225 * paragraph.C (getChar): ws changes only
3227 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3228 (numberOfSeparators): ditto
3229 (numberOfHfills): ditto
3231 2003-03-12 John Levon <levon@movementarian.org>
3237 * paragraph_funcs.C: fix per-buffer authorlists
3239 2003-03-12 John Levon <levon@movementarian.org>
3241 * text.C: fix newline in right address
3243 2003-03-12 Angus Leeming <leeming@lyx.org>
3245 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3246 duplicate those in LyXFunc::dispatch.
3250 * ToolbarDefaults.C:
3251 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3252 Add LFUN_FONTFREE_UPDATE.
3254 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3255 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3257 * bufferview_func.[Ch]: several new functions to facilliate
3258 transfer of data to and from the character dialog.
3260 2003-03-12 John Levon <levon@movementarian.org>
3265 * paragraph_funcs.C:
3266 * paragraph_pimpl.C:
3270 * text3.C: remove META_NEWLINE in favour of an inset
3273 * rowpainter.C: remove paintNewline (done by inset)
3275 2003-03-12 John Levon <levon@movementarian.org>
3277 * paragraph_pimpl.C: complain about bad getChar()s
3278 for a while at least
3280 2003-03-12 John Levon <levon@movementarian.org>
3283 * buffer.C: move paragraph read into a separate function,
3284 a little renaming to reflect that.
3287 * bufferparams.C: remove the author_ids map, not necessary now
3290 * factory.C: moved Buffer::readInset to here
3292 * paragraph_funcs.h:
3293 * paragraph_funcs.C: readParagraph free function moved from
3296 * tabular.C: name change
3298 2003-03-12 John Levon <levon@movementarian.org>
3301 * ParagraphParameters.C: move par params input to
3304 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3305 behave like a normal read from the stream wrt reading
3306 a line vs. a \\token
3308 2003-03-12 John Levon <levon@movementarian.org>
3311 * ParagraphParameters.h:
3312 * ParagraphParameters.C: move output code to a
3315 2003-03-12 John Levon <levon@movementarian.org>
3317 * BufferView.C (insertLyXFile):
3320 * tabular.C: use a parlist iterator for creating the
3323 2003-03-12 John Levon <levon@movementarian.org>
3325 * buffer.C: make current_change static local not
3328 2003-03-12 John Levon <levon@movementarian.org>
3330 * buffer.C: fix insertStringAsLines for change tracking
3332 2003-03-12 John Levon <levon@movementarian.org>
3339 * bufferparams.C: move author list into params. Rename some
3340 functions. Move the header reading into a separate token
3341 loop. Move the header token reading into BufferParams.
3343 2003-03-12 John Levon <levon@movementarian.org>
3345 * changes.C: put debug inside lyxerr.debugging() checks
3347 2003-03-11 André Pönitz <poenitz@gmx.net>
3349 * factory.C: make it aware of InsetHFill
3351 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3353 * buffer.C (latexParagraphs): move function from here...
3354 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3357 2003-03-10 Angus Leeming <leeming@lyx.org>
3359 * LyXAction.C (init): fix bug in poplating array with multiple entries
3360 with the same LFUN (spotted by JMarc).
3362 2003-03-10 John Levon <levon@movementarian.org>
3365 * text2.C: move getColumnNearX() near its
3368 2003-03-10 John Levon <levon@movementarian.org>
3370 * text.C: fix break before a minipage
3372 2003-03-10 John Levon <levon@movementarian.org>
3374 * text.C: fix the last commit
3376 2003-03-09 John Levon <levon@movementarian.org>
3380 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3381 bug 365 (don't break before insets unless needed). Don't
3382 return a value > last under any circumstances.
3384 2003-03-09 Angus Leeming <leeming@lyx.org>
3386 * BufferView_pimpl.C (trackChanges, dispatch): call
3387 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3389 2003-03-09 Angus Leeming <leeming@lyx.org>
3391 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3392 than Dialogs::showAboutlyx().
3394 2003-03-09 Angus Leeming <leeming@lyx.org>
3396 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3397 than Dialogs::showTabularCreate().
3399 2003-03-09 John Levon <levon@movementarian.org>
3403 * text2.C: 3rd arg to nextBreakPoint was always the same.
3406 2003-03-08 John Levon <levon@movementarian.org>
3413 * text2.C: Remove the "main" bit from the "main body"
3416 2003-03-08 John Levon <levon@movementarian.org>
3418 * text.C (leftMargin): The left margin of an empty
3419 manual label paragraph should not include the label width
3422 * text.C (prepareToPrint): don't attempt to measure hfills
3423 for empty manual label paragraphs - the answer should be 0
3425 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * CutAndPaste.C: remove commented code and reindent.
3429 2003-03-08 John Levon <levon@movementarian.org>
3432 * lyxfunc.C: move reloadBuffer()
3435 * BufferView.C: to here
3437 * lyxvc.C: add comment
3440 * vc-backend.C: call bv->reload() to avoid
3441 getStatus() check on MENURELOAD
3443 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3445 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3446 to an old format .dep file.
3448 2003-03-07 Angus Leeming <leeming@lyx.org>
3450 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3451 when the LFUN_MOUSE_RELEASE should have been handled by
3452 inset->localDispatch.
3454 2003-03-07 Angus Leeming <leeming@lyx.org>
3456 * BufferView_pimpl.C (dispatch):
3457 * LyXAction.C (init):
3458 * ToolbarDefaults.C (init):
3460 * lyxfunc.C (getStatus):
3461 remove LFUN_INSET_GRAPHICS.
3463 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3465 2003-03-07 Angus Leeming <leeming@lyx.org>
3468 * LyXAction.C (init):
3469 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3471 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3474 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3476 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3477 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3479 2003-03-07 Angus Leeming <leeming@lyx.org>
3481 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3484 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * ParagraphList.C (front): new function
3489 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3491 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3492 and top_row_offset_. removed var first_y.
3494 * text2.C (LyXText, removeRow):
3496 * BufferView_pimpl.C:
3497 use these methods instead of using first_y
3499 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * text2.C (pasteSelection): adjust for checkPastePossible
3503 * CutAndPaste.C: remove Paragraph * buf and replace with
3504 ParagraphList paragraphs.
3505 (DeleteBuffer): delete
3506 (cutSelection): change the tc type to textclass_type
3507 (copySelection): change the tc type to textclass_type
3508 (copySelection): adjust for ParagraphList
3509 (pasteSelection): change the tc type to textclass_type
3510 (pasteSelection): adjust for Paragraphlist
3511 (nrOfParagraphs): simplify for ParagraphList
3512 (checkPastePossible): simplify for ParagraphList
3513 (checkPastePossible): remove unused arg
3515 * ParagraphList.C (insert): handle the case where there are no
3518 * CutAndPaste.h: make CutAndPaste a namespace.
3520 * text3.C (dispatch): adjust
3522 * text.C (breakParagraph): add a ParagraphList as arg
3524 * paragraph_funcs.C (breakParagraph): change to take a
3525 BufferParams and a ParagraphList as args.
3526 (breakParagraphConservative): ditto
3527 (mergeParagraph): ditto
3528 (TeXDeeper): add a ParagraphList arg
3529 (TeXEnvironment): ditto
3532 * buffer.C (readLyXformat2): adjust
3533 (insertStringAsLines): adjust
3534 (latexParagraphs): adjust
3536 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3537 (cutSelection): adjust
3538 (pasteSelection): adjust
3540 * BufferView_pimpl.C (insertInset): adjust
3542 2003-03-05 Angus Leeming <leeming@lyx.org>
3545 * LyXAction.C (init):
3546 * BufferView_pimpl.C (dispatch):
3547 * lyxfunc.C (getStatus):
3548 remove LFUN_CHILD_INSERT.
3550 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3552 2003-03-05 Angus Leeming <leeming@lyx.org>
3555 * LyXAction.C (init):
3556 * src/factory.C (createInset):
3557 * lyxfunc.C (getStatus):
3558 * text3.C (dispatch):
3559 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3561 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3563 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * ParagraphList.C (insert): handle insert right before end()
3566 (erase): fix cases where it can be first or last paragraph.
3568 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3571 Paragraph::next and Paragraph::previous
3574 * text.C (breakParagraph): adjust
3576 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3577 BufferParams& as arg.
3578 (breakParagraph): use ParagraphList::insert
3579 (breakParagraphConservative): take a Buffer* instead of a
3580 BufferParams& as arg.
3581 (breakParagraphConservative): use ParagraphList::insert.
3583 * buffer.C (insertStringAsLines): un-const it
3584 (insertStringAsLines): adjust
3586 * ParagraphList.C (insert): new function
3588 * CutAndPaste.C (pasteSelection): adjust
3590 * text.C (backspace): adjust
3592 * tabular.C (SetMultiColumn): adjust
3594 * CutAndPaste.C (cutSelection): adjust
3595 (pasteSelection): adjust
3597 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3598 Buffer const * as arg
3600 * ParagraphList.C (erase): new function
3601 * paragraph_funcs.C (mergeParagraph): use it
3602 (mergeParagraph): make it take a Buffer* instead of a
3603 BufferParams* as arg
3605 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3607 (breakParagraphConservative): ditto
3609 * paragraph.h: remove the breakParagraph friend
3611 * paragraph.C (eraseIntern): new function
3612 (setChange): new function
3614 * paragraph_funcs.C (mergeParagraph): make it take a
3615 ParagraphList::iterator instead of a Paragraph *, adjust
3618 * paragraph.h: move an #endif so that the change tracking stuff
3619 also works in the NO_NEXT case.
3621 2003-03-04 Angus Leeming <leeming@lyx.org>
3624 * LyXAction.C: new LFUN_INSET_MODIFY.
3626 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3627 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3629 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3631 * several files: ws changes only
3633 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3634 (TeXEnvironment): ditto
3637 * buffer.C (makeLaTeXFile): adjust
3638 (latexParagraphs): make it take ParagraphList::iterator as args
3640 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * buffer.C (latexParagraphs): adjust
3644 * paragraph.C (TeXOnePar): move function...
3645 (optArgInset): move function...
3646 (TeXEnvironment): move function...
3647 * paragraph_pimpl.C (TeXDeeper): move function...
3648 * paragraph_funcs.C: ...here
3650 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3652 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * buffer.C (readInset): remove compability code for old Figure and
3657 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * buffer.C: ws changes
3662 * BufferView_pimpl.C: ditto
3665 * bufferlist.h: ditto
3669 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3671 * converter.[Ch]: split into itself +
3674 * Makefile.am: += graph.[Ch] + format.[Ch]
3681 * lyxrc.C: added #include "format.h"
3683 2003-02-27 Angus Leeming <leeming@lyx.org>
3685 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3688 * factory.C (createInset): add "label" to the factory.
3690 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3691 string and do no more.
3693 2003-02-27 Angus Leeming <leeming@lyx.org>
3696 * LyXAction.C (init):
3697 * factory.C (createInset):
3698 * BufferView_pimpl.C (dispatch):
3699 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3701 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3703 * lyxfunc.C (dispatch):
3704 * text3.C (dispatch): pass name to params2string.
3706 2003-02-26 Angus Leeming <leeming@lyx.org>
3708 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3710 Rearrange the ~includes. Strip out the unnecessary ones.
3712 * factory.C (createInset): reformat.
3713 create new insets for the various LFUN_XYZ_APPLY lfuns.
3715 2003-02-26 John Levon <levon@movementarian.org>
3718 * lyxrow.C: add isParStart,isParEnd helpers
3720 * paragraph.h: make isInserted/DeletedText take refs
3722 * paragraph_funcs.h:
3723 * paragraph_funcs.C: remove #if 0'd code
3728 * text.C: use lyxrow helpers above.
3729 Move draw and paint routines to RowPainter.
3730 Make several methods use refs not pointers.
3731 Make backgroundColor() const.
3732 Add markChangeInDraw(), isInInset().
3733 Merge changeRegionCase into changeCase.
3734 Make workWidth() shouldn't-happen code into an Assert.
3737 * rowpainter.C: new class for painting a row.
3740 * vspace.C: make inPixels take a ref
3742 2003-02-26 Angus Leeming <leeming@lyx.org>
3744 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3747 2003-02-25 John Levon <levon@movementarian.org>
3749 * ispell.C: give the forked command a more accurate name
3751 2003-02-22 John Levon <levon@movementarian.org>
3754 * toc.C: make TocItem store an id not a Paragraph *
3757 2003-02-21 Angus Leeming <leeming@lyx.org>
3759 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3760 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3761 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3762 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3763 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3764 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3766 * BufferView_pimpl.C (dispatch):
3767 * LyXAction.C (init):
3768 * factory.C (createInset):
3769 * lyxfunc.C (getStatus, dispatch):
3770 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3772 2003-02-21 Angus Leeming <leeming@lyx.org>
3774 * BufferView_pimpl.C (MenuInsertLyXFile):
3775 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3776 * lyxfunc.C (menuNew, open, doImport):
3777 no longer pass a LyXView & to fileDlg.
3779 2003-02-21 Angus Leeming <leeming@lyx.org>
3781 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3782 * LyXAction.C: change, BIBKEY to BIBITEM.
3783 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3784 Change InsetBibKey to InsetBibitem.
3785 Change BIBKEY_CODE to BIBITEM_CODE.
3786 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3787 * factory.C: replace insetbib.h with insetbibitem.h.
3788 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3789 * paragraph.C: replace insetbib.h with insetbibitem.h.
3790 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3791 Change bibkey() to bibitem().
3792 * text.C: remove insetbib.h.
3793 * text2.C: replace insetbib.h with insetbibitem.h.
3794 change bibkey() to bibitem().
3795 * text3.C: remove insetbib.h.
3796 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3798 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3800 * lyxrc.C (output): enclose user email in quotes (in case there are
3803 2003-02-18 John Levon <levon@movementarian.org>
3805 * buffer.h: add std::
3807 2003-02-17 John Levon <levon@movementarian.org>
3813 * pspell.C: reworking. Especially in ispell, a large
3814 number of clean ups and bug fixes.
3816 * lyxfunc.C: fix revert to behave sensibly
3818 2003-02-17 André Pönitz <poenitz@gmx.net>
3821 * commandtags.h: new LFUN_INSERT_BIBKEY
3831 * paragraph_func.C: remove special bibkey handling
3833 2003-02-17 John Levon <levon@movementarian.org>
3835 * text.C (Delete): fix case where delete at the end of
3836 the very first paragraph would not merge the pars
3838 2003-02-17 John Levon <levon@movementarian.org>
3840 * lyxrow.C: fix lastPrintablePos()
3842 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3844 * bufferparams.C (writeLaTeX): add a std:here
3846 * buffer.C: and remove a using directive there
3848 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3850 * buffer.C (makeLaTeXFile): move the code that generates the
3853 * bufferparams.C (writeLaTeX): ... in this new method
3855 * LaTeXFeatures.C (getEncodingSet): make const
3856 (getLanguages): make const
3858 * MenuBackend.C (binding): returns the binding associated to this
3860 (add): sets the status of each item by calling getStatus. Adds
3862 (read): add support for OptSubMenu
3863 (expand): remove extra separator at the end of expanded menu
3865 2003-02-15 John Levon <levon@movementarian.org>
3868 * BufferView_pimpl.C:
3870 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3871 inset code that had no actual effect. Remove unneeded status
3874 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3876 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3879 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3881 * text.C (drawLengthMarker): also draw an arrow marker for
3882 symbolic lengths (medskip...)
3884 2003-02-14 John Levon <levon@movementarian.org>
3887 * tabular.C: better method names
3889 2003-02-14 John Levon <levon@movementarian.org>
3891 * BufferView_pimpl.C:
3896 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3897 it's a more accurate name. Remove some pointless uses.
3899 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3901 * text2.C (LyXText): change order of initilizers to shut off
3904 2003-02-14 John Levon <levon@movementarian.org>
3906 * buffer.C: use ParIterator for getParFromID()
3910 * paragraph_pimpl.h:
3911 * paragraph_pimpl.C: remove unused getParFromID()
3913 2003-02-14 John Levon <levon@movementarian.org>
3915 * buffer.C: remove some very old #if 0'd parse code
3917 2003-02-13 John Levon <levon@movementarian.org>
3921 * text2.C: move hfillExpansion(), numberOfSeparators(),
3922 rowLast(), rowLastPrintable(), numberofHfills(),
3923 numberOfLabelHfills() ...
3926 * lyxrow.C: ... to member functions here.
3931 * text.C: remove LyXText::beginningOfMainBody(), and call
3932 p->beginningOfMainBody() directly. Move the check for
3933 LABEL_MANUAL into the latter.
3940 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3946 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3947 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3949 2003-02-13 John Levon <levon@movementarian.org>
3951 * CutAndPaste.C: remove debug
3953 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3955 * paragraph.C (asString): remove two unused variables
3957 * lyxtextclass.C (readTitleType):
3959 (LyXTextClass): handle new members titletype_ and titlename_
3961 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3963 2003-02-09 John Levon <levon@movementarian.org>
3966 * buffer.C: replace hand-coded list with a map for the dep clean
3968 2003-02-08 John Levon <levon@movementarian.org>
3970 * LaTeX.C: consolidate code into showRunMessage() helper
3972 2003-02-08 John Levon <levon@movementarian.org>
3977 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3978 and pass the size in explicitly
3980 * BufferView_pimpl.h:
3981 * BufferView_pimpl.C:
3983 * BufferView.C: add getCurrentChange()
3985 * BufferView_pimpl.h:
3986 * BufferView_pimpl.C: handle change lfuns
3988 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3989 for changes. Mark pasted paragraphs as new.
3991 * support/lyxtime.h:
3992 * support/lyxtime.C:
3993 * DepTable.C: abstract time_t as lyx::time_type
3996 * LColor.C: add colours for new text, deleted text, changebars
3998 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3999 package use "usenames" option.
4003 * LyXAction.C: add change lfuns
4007 * author.C: author handling
4010 * buffer.C: add a per-buffer author list, with first entry as
4011 current author. Handle new .lyx tokens for change tracking. Output
4012 author list to .lyx file. Output dvipost stuff to .tex preamble.
4013 Bump lyx format to 222.
4016 * bufferlist.C: add setCurrentAuthor() to reset current author details
4020 * bufferparams.C: add param for tracking
4022 * bufferview_funcs.C: output change info in minibuffer
4026 * changes.C: add change-tracking structure
4029 * debug.C: add CHANGES debug flag
4032 * lyxfind.C: add code for finding the next change piece
4035 * lyxrc.C: add user_name and user_email
4038 * lyxrow.C: add a metric for the top of the text line
4041 * text.C: implement accept/rejectChange()
4044 * text.C: paint changebars. Paint new/deleted text in the chosen
4045 colours. Strike through deleted text.
4049 * paragraph_pimpl.h:
4050 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4051 in the current change to the insert functions. Rework erase to
4052 mark text as deleted, adding an eraseIntern() and a range-based
4053 erase(). Implement per-paragraph change lookup and
4056 * paragraph_funcs.C: Fixup paste for change tracking.
4058 * tabular.C: mark added row/columns as new.
4060 * text.C: fix rowLast() to never return -1. Don't allow
4061 spellchecking of deleted text. Track transpose changes. Don't
4062 allow paragraph break or merge where appropriate.
4064 * text2.C: leave cursor at end of selection after a cut.
4066 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4068 * text.C (getLengthMarkerHeight):
4069 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4070 visible on screen too.
4072 2003-02-07 John Levon <levon@movementarian.org>
4074 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4076 2003-02-05 Angus Leeming <leeming@lyx.org>
4078 * lyxserver.C (read_ready): revert my patch of 11 September last year
4079 as it sends PC cpu through the roof. Presumably this means that
4080 the lyxserver will no longer run on an Alpha...
4082 2003-01-30 Angus Leeming <leeming@lyx.org>
4084 * factory.C (createInset): create an InsetCommandParam of type "index"
4085 and use it to 'do the right thing'.
4087 * text2.C (getStringToIndex): ensure that cursor position is always
4088 reset to the reset_cursor position.
4090 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4092 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4095 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4099 * lyxfunc.C: Output messages with identical spelling, punctuation,
4102 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4104 * MenuBackend.C (expandFormats): List only viewable export formats
4107 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4110 * lyxfunc.C (getStatus): Make sure that formats other than
4111 "fax" can also be disabled
4113 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4115 * text3.C (dispatch): put the lfuns that insert insets in 3
4116 groups, and call doInsertInset with appropriate arguments.
4117 (doInsertInset): new function, that creates an inset and inserts
4118 it according to some boolean parameters.
4120 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * buffer.C (readFile): remember to pass on 'par' when calling
4123 readFile recursively.
4125 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4127 * MenuBackend.C (expandFormats): add "..." to import formats.
4129 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4131 * paragraph.C (asString): Remove XForms RTL hacks.
4133 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4134 * buffer.C: fix typo
4136 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * Makefile.am (LIBS): delete var
4139 (lyx_LDADD): add @LIBS@ here instead.
4141 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4143 * Clarify the meaning of "wheel mouse jump"
4145 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4147 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4150 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4152 * importer.C (Loaders): do not preallocate 3 elements in the
4153 vector, since one ends up with 6 elements otherwise
4155 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4157 * DepTable.C (write): write the file name as last element of the
4158 .dep file (because it may contain spaces)
4159 (read): read info in the right order
4161 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4163 * paragraph_pimpl.C (simpleTeXBlanks):
4164 (simpleTeXSpecialChars):
4165 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4167 * tabular.C (latex): add some missing case statements. Reindent.
4169 * MenuBackend.C (expandToc): remove unused variable.
4171 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4180 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4183 2003-01-05 John Levon <levon@movementarian.org>
4186 * BufferView.C: add getEncoding()
4189 * kbsequence.C: do not store last keypress
4192 * lyxfunc.C: store last keypress here instead. Pass encoding
4195 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4197 * lyx_main.C (init): remove annoying error message when following
4198 symbolic links (bug #780)
4200 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4202 * text.C (insertChar):
4203 * lyxrc.C (getDescription): remove extra spaces
4205 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4207 * lyxrc.C (getDescription): remove extra spaces
4209 2002-12-20 John Levon <levon@movementarian.org>
4211 * text3.C: hack fix for page up/down across tall rows
4213 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4215 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4218 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4220 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4221 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4222 thesaurus is not compiled in
4224 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4226 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4228 2002-12-16 Angus Leeming <leeming@lyx.org>
4231 * lyx_main.C (init): remove override_x_deadkeys stuff.
4233 2002-12-12 John Levon <levon@movementarian.org>
4235 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4236 insert. Only remove shift modifier under strict
4239 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4241 * MenuBackend.C (expandToc): fix crash.
4243 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * MenuBackend.C (expandToc): gettext on float names.
4247 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4249 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4250 implement bool empty() [bug 490]
4252 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4256 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * several files: ws changes
4260 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * text2.C (setCounter): clean up a bit, use boost.format.
4263 (updateCounters): initialize par upon declaration.
4265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4266 if the layout exists. We do not just store the layout any more.
4267 (SwitchLayoutsBetweenClasses): use boost.format
4269 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4271 * converter.C (convert): if from and to files are the same, use a
4272 temporary files as intermediary
4274 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4277 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4279 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4281 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4283 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * tabular.C (asciiPrintCell): use string(size, char) instead of
4288 * sgml.C (openTag): fix order of arguments to string constructor
4291 * lyxfunc.C (dispatch): use boost.format
4293 * lots of files: change "c" -> 'c'
4295 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4297 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4299 2002-11-25 Angus Leeming <leeming@lyx.org>
4301 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4303 * lyx_main.C (init): compile fix.
4305 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * lyx_cb.C (start): boost.formatify
4308 do not include <iostream>
4310 * lengthcommon.C: ws only
4312 * boost-inst.C,BoostFormat.h: add more explict instantations
4314 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * lots of files: handle USE_BOOST_FORMAT
4318 2002-11-21 John Levon <levon@movementarian.org>
4320 * pspell.C: fix compile
4322 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4324 * lyxfunc.C (dispatch): use boost::format
4328 * lyxfont.C (stateText): use boost::format
4330 * lyx_main.C (LyX): use boost::format
4332 (queryUserLyXDir): ditto
4335 (typedef boost::function): use the recommened syntax.
4337 * importer.C (Import): use boost::format
4339 * debug.C (showLevel): use boost::format
4341 * converter.C (view): use boost::format
4346 * bufferview_funcs.C (currentState): use boost::format
4348 * bufferlist.C (emergencyWrite): use boost::format
4350 * buffer.C (readLyXformat2): use boost::format
4351 (parseSingleLyXformat2Token): ditto
4353 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4355 * LaTeX.C (run): use boost::format
4357 * Chktex.C (scanLogFile): use boost::format
4359 * BufferView_pimpl.C (savePosition): use boost::format
4360 (restorePosition): ditto
4361 (MenuInsertLyXFile): ditto
4363 * BoostFormat.h: help file for explicit instation.
4365 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4367 * tabular.C (latex): Support for block alignment in fixed width
4370 2002-11-17 John Levon <levon@movementarian.org>
4372 * BufferView_pimpl.C:
4374 * lyxfunc.C: split filedialog into open/save
4376 2002-11-08 Juergen Vigna <jug@sad.it>
4378 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4379 by my last patch (hopefully).
4381 2002-11-08 John Levon <levon@movementarian.org>
4390 * toc.C: ParConstIterator, and use it (from Lars)
4392 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4394 * lyxtextclass.[Ch]: revise and add doxygen comments
4396 2002-11-07 John Levon <levon@movementarian.org>
4398 * text.C: fix progress value for spellchecker
4400 * toc.C: fix navigate menu for insetwrap inside minipage
4402 * paragraph_funcs.C: added FIXME for suspect code
4404 2002-11-07 John Levon <levon@movementarian.org>
4406 * BufferView_pimpl.C: fix redrawing of insets
4409 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4411 * text2.C (updateCounters): fix bug 668
4413 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4415 * text3.C (dispatch): Do not make the buffer dirty when moving the
4418 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * vc-backend.C: STRCONV
4423 * text2.C (setCounter): STRCONV
4425 * paragraph.C (asString): STRCONV
4427 * lyxlength.C (asString): STRCONV
4428 (asLatexString): ditto
4430 * lyxgluelength.C (asString): STRCONV
4431 (asLatexString): ditto
4433 * lyxfunc.C (dispatch): STRCONV
4436 * lyxfont.C (stateText): STRCONV
4438 * importer.C (Import): STRCONV
4440 * counters.C (labelItem): STRCONV
4441 (numberLabel): ditto
4442 (numberLabel): remove unused ostringstream o
4447 * bufferview_funcs.C (currentState): STRCONV
4449 * buffer.C (readFile): STRCONV
4450 (asciiParagraph): ditto
4451 (makeLaTeXFile): ditto
4453 * Spacing.C (writeEnvirBegin): STRCONV
4455 * LaTeXFeatures.C (getLanguages): STRCONV
4456 (getPackages): ditto
4458 (getBabelOptions): ditto
4459 (getTClassPreamble): ditto
4460 (getLyXSGMLEntities): ditto
4461 (getIncludedFiles): ditto
4465 (scanAuxFile): ditto
4468 * LString.h: add the STRCONV macros
4470 * BufferView_pimpl.C (savePosition): STRCONV
4471 (restorePosition): ditto
4472 (MenuInsertLyXFile): ditto
4474 * vc-backend.C (scanMaster): change from submatch[...] to
4477 * funcrequest.C: include config.h
4479 * factory.C: include config.h
4481 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4483 * box.C: include config.h
4485 * LaTeX.C (scanAuxFile): change from submatch[...] to
4489 2002-10-25 Angus Leeming <leeming@lyx.org>
4491 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4493 * ispell.[Ch] (setError): new method.
4494 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4495 Use setError() insetead of goto END.
4497 * lyx_cb.C (AutoSave): move out child process into new class
4500 2002-10-30 John Levon <levon@movementarian.org>
4502 * text3.C: make start appendix undoable
4504 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4506 * lyxlength.C (inPixels): Fix returned value.
4508 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4511 2002-10-24 Angus Leeming <leeming@lyx.org>
4513 * lyxgluelength.h: no need to forward declare BufferParams
4514 or BufferView, so don't.
4516 2002-10-21 John Levon <levon@movementarian.org>
4518 * BufferView.C: menuUndo ->undo, redo
4520 * BufferView.h: document, remove dead, make some methods private
4522 * paragraph_funcs.h:
4523 * paragraph_funcs.C:
4524 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4529 * sgml.C: move sgml open/close tag into sgml.C
4531 * bufferview_funcs.h: unused prototype
4534 * lyxfunc.C: remove unused
4537 * text.C: remove unused
4539 2002-10-21 John Levon <levon@movementarian.org>
4543 * BufferView_pimpl.h:
4544 * BufferView_pimpl.C: fix mouse wheel handling based on
4545 patch from Darren Freeman
4547 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4549 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4551 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4553 * lyxlength.C (inPixels): Fix hanfling of negative length.
4554 Fix LyXLength::MU case.
4556 2002-10-16 John Levon <levon@movementarian.org>
4558 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4560 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4562 * converter.C (view): add support for $$i (file name) and $$p
4563 (file path) for the viewer command. If $$i is not specified, then
4564 it is appended to the command (for compatibility with old syntax)
4566 2002-10-14 Juergen Vigna <jug@sad.it>
4568 * undo_funcs.C (textHandleUndo): alter the order in which the
4569 new undopar is added to the LyXText, as we have to set first
4570 the right prev/next and then add it as otherwise the rebuild of
4571 LyXText is not correct. Also reset the cursor to the right paragraph,
4572 with this IMO we could remove the hack in "redoParagraphs()".
4574 2002-10-09 Angus Leeming <leeming@lyx.org>
4576 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4577 to turn off an optimisation if a new inset is to be inserted.
4579 2002-10-11 André Pönitz <poenitz@gmx.net>
4581 * lyxtext.h: make some functions public to allow access
4582 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4584 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4586 * text3.C (dispatch): when changing layout, avoid an infinite loop
4589 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4591 * lyxrc.C (read): treat a viewer or converter command of "none" as
4594 * MenuBackend.C (expandFormats): for an update, also allow the
4595 formats that are not viewable
4597 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4598 script if it is newer than the lyxrc.defaults in user directory
4600 2002-10-07 André Pönitz <poenitz@gmx.net>
4602 * text.C: Vitaly Lipatov's small i18n fix
4604 2002-09-25 Angus Leeming <leeming@lyx.org>
4606 * ispell.h: doxygen fix.
4608 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4610 * buffer.h (readFile): Add a new argument to the method, to allow
4611 reading of old-format templates.
4613 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4615 * toc.C (getTocList): Get TOC from InsetWrap.
4617 2002-09-16 John Levon <levon@movementarian.org>
4619 * lyxfunc.C: check tabular for cut/copy too
4621 2002-09-12 John Levon <levon@movementarian.org>
4626 * factory.C: add header
4628 * paragraph_funcs.h:
4629 * paragraph_funcs.C: cleanup
4631 2002-09-11 John Levon <levon@movementarian.org>
4633 * PrinterParams.h: odd/even default to true
4635 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4637 * PrinterParams.h: update printer parameters for new xforms dialog
4639 2002-09-11 Angus Leeming <leeming@lyx.org>
4641 * lyxserver.C (read_ready): re-write to make it more transparent
4642 and to make it work in coherent fashion under Tru64 Unix.
4644 2002-09-11 André Pönitz <poenitz@gmx.net>
4648 * text3.C: implement LFUN_WORDSEL
4650 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4653 make floatlist_ a boost::shared_ptr<FloatList>
4655 * lyxtextclass.C: include FloatList.h
4656 (LyXTextClass): initialize floatlist_
4657 (TextClassTags): add TC_NOFLOAT
4658 (Read): match "nofloat" to TC_NOFLOAT and use it.
4659 (readFloat): modify call to floatlist_
4663 * FloatList.[Ch] (FloatList): remove commented out float
4665 (erase): new function
4667 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4669 * MenuBackend.C (expandToc): fix crash when there is no document
4672 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4674 * many files: Add insetwrap.
4676 2002-09-09 John Levon <levon@movementarian.org>
4678 * text2.C: remove confusing and awkward depth wraparound
4680 2002-09-09 John Levon <levon@movementarian.org>
4682 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4685 * buffer.C: remove getIncludeonlyList()
4688 * lyxfunc.C: remove headers
4690 2002-09-09 Juergen Vigna <jug@sad.it>
4692 * text.C (getColumnNearX): fix form Michael this is most
4693 probably a cut&paste bug.
4695 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4699 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4700 references, ws changes.
4702 * text2.C (init): update counters after init
4703 (insertParagraph): no need to set counter on idividual paragraphs.
4704 (setCounter): access the counters object in the textclass object
4705 on in the buffer object.
4706 (updateCounters): ditto
4708 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4709 shared_ptr<Counters> to avoid loading counters.h in all
4711 (LyXTextClass): initialize ctrs_
4712 (TextClassTags): add TC_COUNTER, and ...
4713 (Read): use it here.
4714 (CounterTags): new tags
4715 (readCounter): new function
4716 (counters): new funtion
4717 (defaultLayoutName): return a const reference
4719 * counters.C (Counters): remove contructor
4720 (newCounter): remove a couple of unneeded statements.
4721 (newCounter): simplify a bit.
4722 (numberLabel): some small formatting changes.
4724 * buffer.[Ch]: remove all traces of counters, move the Counters
4725 object to the LyXTextClass.
4727 2002-09-06 Alain Castera <castera@in2p3.fr>
4729 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4730 package to set the horizontal alignment on fixed width columns.
4733 * lyx_sty.h: added tabularnewline macro def.
4735 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4737 2002-09-06 John Levon <levon@movementarian.org>
4739 * LyXAction.C: tooltips for sub/superscript
4741 * MenuBackend.C: a bit more verbose
4743 * lyxfunc.C: tiny clean
4745 * undo_funcs.C: document undo_frozen
4747 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * counters.C (Counters): add missing algorithm counter.
4751 * text2.C (setCounter): lookup the counter with layouts latexname
4752 instead of by section number.
4753 (setCounter): use a hackish way to lookup the correct enum
4755 a float name->type change
4756 reset enum couners with counter name directly instead of depth value.
4758 * counters.C (Counters): remove the push_backs, change to use the
4759 float type not the float name.
4760 (labelItem): remove unused string, float name->type change
4762 * counters.h: don't include vector, loose the enums and sects vectors
4764 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4767 (Read): add float->TC_FLOAT to textclassTags
4768 (Read): and handle it in the switch
4769 (readFloat): new function
4771 * FloatList.C (FloatList): comment out the hardcoded float
4774 * lyxlayout.h: ws change.
4776 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4778 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4780 2002-09-03 Angus Leeming <leeming@lyx.org>
4782 * BufferView_pimpl.h: qualified name is not allowed in member
4783 declaration: WorkArea & Pimpl::workarea() const;
4785 * factory.C: added using std::endl directive.
4787 * text3.C: added using std::find and std::vector directives.
4789 2002-08-29 André Pönitz <poenitz@gmx.net>
4792 * text2.C: remove unused member number_of_rows
4795 * BufferView2.C: remove file, move contents to...
4796 * BufferView.C: ... here
4798 * BufferView_pimpl.C:
4799 * factory.C: move more inset creation to factory
4801 * vspace.C: avoid direct usage of LyXText, ws changes
4804 don't provide direct access to WorkArea, use two simple
4805 acessors haveSelction() and workHeight() instead
4808 2002-08-29 John Levon <levon@movementarian.org>
4810 * BufferView_pimpl.C (dispatch): do not continue when
4813 2002-08-28 André Pönitz <poenitz@gmx.net>
4815 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4818 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4820 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4822 * buffer.C: increment LYX_FORMAT to 221
4824 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4825 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4827 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4829 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4831 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4833 * factory.C (createInset): use LyXTextClass::floats
4835 * MenuBackend.C (expandFloatListInsert):
4836 (expandFloatInsert):
4839 * text2.C (setCounter):
4841 * LaTeXFeatures.C (useFloat):
4842 (getFloatDefinitions):
4844 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4846 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4847 floatlist_, with accessor floats().
4849 * FloatList.h: remove global FloatList
4851 2002-08-26 André Pönitz <poenitz@gmx.net>
4853 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4857 * BufferView_pimpl.C:
4858 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4860 2002-08-25 John Levon <levon@movementarian.org>
4862 * LyXAction.C: fix margin note description
4864 2002-08-24 John Levon <levon@movementarian.org>
4868 * bufferview_funcs.C:
4870 * undo_funcs.C: cleanups
4872 * lyxfunc.C: disable CUT/COPY when no selection
4874 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4876 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4877 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4879 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4880 Add backward compatibility to "mono", "gray" and "no".
4882 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4884 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4885 (and file_format >= 200).
4887 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4889 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4891 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4895 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4897 * BufferView_pimpl.C:
4904 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4905 inset and code to make it work with the paragraph code. The inset
4906 can be anywhere in the paragraph, but will only do the expected
4907 thing in LaTeX if the layout file contains the parameter line
4909 (or more generally, a nonzero value) for that layout.
4911 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * paragraph.h: remove the declaration of undefined counters class
4916 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4918 * text2.C (setCounter): fixed enumeration mis-count as reported by
4919 Dr. Richard Hawkins.
4921 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4923 * paragraph_funcs.h: remove some unneeded includes
4925 * text.C (backspace): pasteParagraph now in global scipe
4927 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4928 (pasteSelection): ditto
4930 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4931 * paragraph_funcs.C (pasteParagraph): ... here
4933 2002-08-20 André Pönitz <poenitz@gmx.net>
4935 * commandtags.h: new LFUNs for swapping/copying table row/colums
4938 * lyxfunc.C: support for new lfuns
4940 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * buffer.[Ch]: remove NO_COMPABILITY stuff
4945 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * boost.C (throw_exception): new file, with helper function for
4948 boost compiled without exceptions.
4953 * ParameterStruct.h:
4954 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4956 * bufferlist.C (emergencyWriteAll): use boost bind
4958 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4960 * text.C: include paragraph_funcs.h
4961 (breakParagraph): breakParagraph is now in global scope
4963 * paragraph_funcs.[Ch]: new files
4965 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4968 * buffer.C: include paragraph_funcs.h
4969 (insertStringAsLines): breakParagraph is now in global scope
4971 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4974 * CutAndPaste.C: include paragraph_funcs.h
4975 (cutSelection): breakParagraphConservative is now in global scope
4976 (pasteSelection): ditto
4978 * buffer.h: declare oprator== and operator!= for
4979 Buffer::inset_iterator
4981 * bufferlist.C (emergencyWrite): don't use fmt(...)
4983 * text3.C: add using std::endl
4985 * BufferView.C (moveCursorUpdate): remove default arg
4987 2002-08-20 André Pönitz <poenitz@gmx.net>
4989 * buffer.[Ch]: move inline functions to .C
4992 * BufferView_pimpl.C:
4994 * buffer.[Ch]: use improved inset_iterator
4997 * paragraph.[Ch]: write one paragraph at a time
4999 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5001 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5002 style if style is not specified.
5004 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5006 * text2.C (setCounter): when searching for right label for a
5007 caption, make sure to recurse to parent insets (so that a caption
5008 in a minipage in a figure float works) (bug #568)
5010 2002-08-20 André Pönitz <poenitz@gmx.net>
5012 * text3.C: new file for LyXText::dispatch() and helpers
5014 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5016 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5018 2002-08-19 André Pönitz <poenitz@gmx.net>
5021 * text.C: new LyXText::dispatch()
5023 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5025 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5027 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5029 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5032 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5034 * Makefile.am: use $(variables) instead of @substitutions@
5036 2002-08-15 André Pönitz <poenitz@gmx.net>
5039 * BufferView_pimpl.C: streamlining mathed <-> outer world
5043 * LyXAction.C: remove unused LFUN_MATH
5045 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5049 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * paragraph.C (Paragraph): reformat a bit
5052 (cutIntoMinibuffer): use builtin InsetList function instad of
5056 * buffer.C: include boost/bind.hpp, add using std::for_each
5057 (writeFileAscii): use ParagraphList iterators
5058 (validate): use for_each for validate traversal of paragraphs
5059 (getBibkeyList): use ParagraphList iterators
5060 (resizeInsets): use for_each to resizeInsetsLyXText for all
5062 (getParFromID): use ParagraphList iterators
5064 * BufferView2.C (lockInset): use paragraph list and iterators
5066 2002-08-14 John Levon <levon@movementarian.org>
5068 * lyxserver.C: remove spurious xforms include
5070 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5072 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5074 2002-08-13 André Pönitz <poenitz@gmx.net>
5077 * lyxfunc.C: further cleaning
5079 2002-08-13 André Pönitz <poenitz@gmx.net>
5081 * funcrequest.h: new constructor
5083 * funcrequest.C: move stuff here from .h
5086 * BufferView_pimpl.C:
5089 * lyxfunc.C: subsequent changes
5091 * lyxfunc.h: new view() member function
5093 * lyxfunc.C: subsequent changes
5095 2002-08-13 Angus Leeming <leeming@lyx.org>
5098 * BufferView_pimpl.C:
5106 changes due to the changed LyXView interface that now returns references
5107 to member variables not pointers.
5109 2002-08-13 Angus Leeming <leeming@lyx.org>
5111 * WordLangTuple (word, lang_code): return references to strings,
5116 * lyxtext.h: forward-declare WordLangTuple.
5121 * text.C: #include "WordLangTuple.h".
5124 * text.C: (selectNextWordToSpellcheck): constify return type.
5126 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5132 * paragraph_pimpl.h:
5135 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5137 Made updateCounter always count from start of buffer, and removed
5138 second argument (par).
5139 Reverted floats number display to '#'. Perhaps I'll try again when the
5140 code base is sanitized a bit.
5142 2002-08-12 Angus Leeming <leeming@lyx.org>
5144 * buffer.[Ch] (getLabelList): constify.
5146 2002-08-07 André Pönitz <poenitz@gmx.net>
5148 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5150 * funcrequest.h: extension to keep mouse (x,y) position
5152 2002-08-12 Juergen Vigna <jug@sad.it>
5154 * BufferView2.C (insertErrors): forbid undo when inserting error
5157 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5159 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * ParagraphList.[Ch]: new files
5163 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5165 * BufferView2.C (lockInset): ParagraphList changes
5168 * bufferlist.C: ditto
5172 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5175 unused class variable counter_,
5177 * paragraph.[Ch] (getFirstCounter): delete unused function
5179 * counters.C: include LAssert.h
5180 (reset): add a new function with no arg, change other version to
5181 not have def. arg and to not allow empty arg.
5183 * text2.C (setCounter): remove empty arg from call to Counters::reset
5185 2002-08-11 John Levon <levon@movementarian.org>
5187 * Makefile.am: add WordLangTuple.h
5189 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5192 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5194 * insets/insettext.C: InsetList changes
5196 * graphics/GraphicsSupport.C (operator()): InsetList changes
5198 * toc.C (getTocList): InsetList changes
5200 * paragraph_pimpl.[Ch]: InsetList changes
5202 * paragraph.[Ch]: InsetList changes
5204 * buffer.C (inset_iterator): InsetList changes
5205 (setParagraph): ditto
5206 * buffer.h (inset_iterator): ditto
5207 * iterators.C (operator++): ditto
5208 * iterators.h: ditto
5210 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5212 * InsetList.[Ch]: new files, most InsetList handling moved out of
5215 * BufferView2.C (removeAutoInsets): InsetList changes
5217 (ChangeInsets): ditto
5219 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * paragraph_pimpl.h (empty): new function
5223 * paragraph.[Ch] (empty): new function
5225 * other files: use the new Paragraph::empty function
5227 2002-08-09 John Levon <levon@movementarian.org>
5229 * lyxtext.h: remove unused refresh_height
5231 2002-08-09 John Levon <levon@movementarian.org>
5238 * paragraph.C: move sgml char escaping out of paragraph
5241 * paragraph.C: remove id setter
5245 * paragraph_pimpl.C: remove dead tex_code_break_column
5247 * bufferview_funcs.C: small cleanup
5249 * lyxfunc.C: remove dead proto
5251 * lyxtext.h: make some stuff private. Remove some dead stuff.
5253 * lyxgluelength.C: make as[LyX]String() readable
5255 2002-08-08 John Levon <levon@movementarian.org>
5260 * ToolbarDefaults.C:
5263 * toc.C: lyxaction cleanup
5265 2002-08-08 John Levon <levon@movementarian.org>
5267 * BufferView2.C: small cleanup
5270 * lyxfind.C: move unnecessary header into the .C
5272 2002-08-08 John Levon <levon@movementarian.org>
5274 * funcrequest.h: just tedious nonsense
5277 * lyx_main.C: cleanups
5280 * vspace.C: remove dead header lyx_main.h
5282 2002-08-07 Angus Leeming <leeming@lyx.org>
5285 * paragraph_pimpl.h:
5286 Forward declare class Counters in paragraph.h by moving the ctrs member
5287 variable into Paragraph::Pimpl.
5288 (counters): new method, returning a reference to pimpl_->ctrs.
5290 * text2.C: ensuing changes.
5292 2002-08-07 John Levon <levon@movementarian.org>
5294 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5296 * BufferView_pimpl.C: announce X selection on double/triple
5299 * lyx_main.C: use correct bool in batch dispatch
5301 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5303 2002-08-07 André Pönitz <poenitz@gmx.net>
5305 * funcrequest.h: new class to wrap a kb_action and its argument
5308 * BufferView_pimpl[Ch]:
5312 * lyxrc.C: subsequent changes
5315 2002-08-07 John Levon <levon@movementarian.org>
5317 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5318 document options change.
5320 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5325 * makefile.am: move counters functionality over from
5326 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5328 2002-08-06 John Levon <levon@movementarian.org>
5330 * WordLangTuple.h: new file for word + language code tuple
5341 * BufferView2.C: use WordLangTuple
5344 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5346 2002-08-06 John Levon <levon@movementarian.org>
5348 * lyx_main.C: fix cmdline batch handling
5350 2002-08-06 André Pönitz <poenitz@gmx.net>
5352 * lyxrc.C: set default for show_banner to true
5354 2002-08-06 John Levon <levon@movementarian.org>
5356 * pspell.C: fix a crash, and allow new aspell to work
5358 2002-08-06 John Levon <levon@movementarian.org>
5361 * kbmap.C: small cleanup
5364 * vspace.C: add const
5366 2002-08-05 John Levon <levon@movementarian.org>
5368 * LyXAction.C: back to tabular-insert
5370 2002-08-04 John Levon <levon@movementarian.org>
5373 * BufferView.C: cosmetic change
5375 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5385 * BufferView2.C: purge all "Lyx" not "LyX" strings
5388 * lyxcursor.C: attempt to add some documentation
5393 * ToolbarDefaults.C:
5394 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5395 merge with LFUN_TABULAR_INSERT
5402 * pspell.C: split up i/pspell implementations into separate
5403 files, many cleanups
5405 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5407 * text2.C: some cleanup
5409 * lyxfunc.C: don't check for isp_command == "none" any more, it
5410 didn't make any sense
5412 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5417 * makefile.am: move counters functionality over
5418 from text2.C/paragraph.[Ch] to counters.[Ch], and
5420 2002-08-02 John Levon <levon@movementarian.org>
5422 * buffer.C: s/lyxconvert/lyx2lyx/
5424 2002-08-02 Angus Leeming <leeming@lyx.org>
5426 * lyxlex.C: revert John's change as it breaks reading of the user
5429 2002-08-02 Angus Leeming <leeming@lyx.org>
5431 * importer.C (Import):
5432 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5433 changes due to LyXView::view() now returning a boost::shared_ptr.
5435 2002-08-02 John Levon <levon@movementarian.org>
5437 * lyxlex.C: small cleanup
5439 2002-08-02 John Levon <levon@movementarian.org>
5441 * text2.C (status): small cleanup, no logic change
5443 2002-08-01 John Levon <levon@movementarian.org>
5446 * buffer.C (writeFile): don't output alerts, caller
5450 * lyx_cb.C: from above
5452 * lyxfunc.C: allow to open non-existent files
5454 2002-07-31 John Levon <levon@movementarian.org>
5456 * lyxserver.C: don't let incidental errors get
5459 2002-07-30 John Levon <levon@movementarian.org>
5461 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5463 2002-07-30 John Levon <levon@movementarian.org>
5466 * lyxserver.C: remove I/O callback too
5468 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5470 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5473 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * many files: strip,frontStrip -> trim,ltrim,rtrim
5477 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * PrinterParams.h: remove extern containsOnly, and include
5480 support/lstrings.h instead.
5482 * LaTeX.C (scanAuxFile): modify because of strip changes
5484 * buffer.C (makeLaTeXFile): ditto
5485 * bufferparams.C (writeFile): ditt
5486 * lyxfont.C (stateText): ditto
5487 * lyxserver.C (read_ready): ditto
5488 * vc-backend.C (scanMaster): ditto
5490 * BufferView_pimpl.h: ws changes
5492 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5494 2002-07-26 André Pönitz <poenitz@gmx.net>
5496 * kb_sequence.C: remove unnedred usings
5498 2002-07-26 Juergen Vigna <jug@sad.it>
5500 * lyxfind.C (LyXReplace): we have to check better if the returned
5501 text is not of theLockingInset()->getLockingInset().
5503 2002-07-25 Juergen Vigna <jug@sad.it>
5505 * lyxfind.C (LyXReplace): don't replace if we don't get the
5508 * undo_funcs.C (createUndo): remove debugging code.
5510 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5512 * buffer.C (parseSingleLyXformat2Token): Use default placement
5513 when reading old floats.
5515 * FloatList.C (FloatList): Change the default placement of figure
5516 and tables to "tbp".
5518 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5520 * MenuBackend.C: using std::max
5522 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5524 * MenuBackend.C (expandToc):
5525 (expandToc2): code moved from xforms menu frontend. It is now
5526 generic and TOCs are transparent to menu frontends.
5528 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5530 * toc.C (getTocList): protect against buf=0
5532 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5533 Menu as first parameter. Now, this calls itself recursively to
5534 expand a whole tree (this will be useful for TOC handling)
5535 (expandFloatInsert): remove 'wide' version of floats
5537 * MenuBackend.h (submenuname): returns the name of the submenu.
5538 (submenu): returns the submenu itself, provided it has been
5539 created by MenuBackend::expand
5541 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5543 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5544 insets which have noFontChange == true. (bug #172)
5546 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * BufferView_pimpl.C: add connection objects and use them...
5551 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5553 * MenuBackend.C (expandLastfiles):
5556 (expandFloatListInsert):
5557 (expandFloatInsert):
5558 (expand): split expand in parts
5560 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5562 * lyx_gui.C: use lyx_gui::exit()
5564 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5566 * LyXAction.C: show the failing pseudo action
5568 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5570 * buffer.C (readFile): Run the lyxconvert script in order to read
5573 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5577 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5579 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5583 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5585 2002-07-22 Herbert Voss <voss@lyx.org>
5588 * lyxlength.[Ch]: add support for the vertical lengths
5590 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5592 * toc.[Ch]: std:: fixes
5594 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * lyxrc.C: do not include lyx_main.h
5598 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5604 * BufferView2.C: include "lyxlex.h"
5607 * bufferparams.h: do not #include "lyxlex.h"
5609 * lyxtextclasslist.C (Add): remove method
5610 (classlist): renamed to classlist_
5612 * paragraph_pimpl.C:
5616 * bufferview_funcs.C:
5621 * toc.C (getTocList): use BufferParams::getLyXTextClass
5623 * toc.C (getTocList): use InsetFloat::addToToc
5625 * toc.[Ch]: new files, containing helper functions to handle table
5628 * lyxfunc.C (dispatch): no need to remove spaces around command
5630 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5631 first command of the sequence; it is not very clever, but I do not
5632 have a better idea, actually
5634 * LyXAction.C (LookupFunc): make sure to remove space at the
5635 beginning and end of the command
5637 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5639 * MenuBackend.C (getMenubar): new method: return the menubar of
5641 (read): treat differently reading of menu and menubar (in
5642 particular, the menubar has no name now)
5643 (Menu::menubar): remove
5645 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5648 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5650 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5651 a bibitem inset in a RTL paragraph.
5653 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5655 * paragraph_pimpl.C: constify
5657 * BufferView_pimpl.C:
5659 * lyxfunc.C: fix dispatch in a nicer way
5661 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * lyxfunc.C (dispatch):
5664 * BufferView_pimpl.C:
5665 * BufferView_pimpl.h:
5667 * BufferView.h: rename Dispatch() to dispatch()
5669 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5671 * lyxlayout.C (Read): honor DependsOn tag
5673 * lyxlayout.[Ch] (depends_on): new method
5675 * version.C.in: update lyx_docversion
5677 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5679 * paragraph.C (validate): remove from here...
5680 * paragraph_pimpl.C (validate): ... and move here
5681 (isTextAt): make it const
5683 * buffer.C (getLists): ws cleanup
5685 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5687 * language.C (read): Use iso8859-1 encoding in latex_lang
5688 (this prevents LyX from crashing when using iso10646-1 encoding).
5690 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5692 * text2.C (toggleInset): if cursor is inside an inset, close the
5693 inset and leave cursor _after_ it
5695 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5697 * lyxfunc.C: move minibuffer completion handling out of here
5699 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5701 * BufferView_pimpl.C:
5702 * LaTeX.C: fix dispatch calls
5704 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5706 * text.C (drawChars): Fix Arabic text rendering.
5708 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5712 * lyxfunc.C: remove message-push/pop
5716 * lyxfunc.C: rationalise some code by removing verboseDispatch
5717 in favour of a bool argument to dispatch()
5719 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5721 * lyx_main.C (init): make sure to read symlinks as absolute paths
5723 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5726 * lyxfunc.C: no need for commandshortcut to be a member
5728 2002-07-15 André Pönitz <poenitz@gmx.net>
5730 * converter.C: add support for $$s (scripts from lib/scripts dir)
5731 * lyx_main.C: white space
5733 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5737 * lyxrc.C: remove second exit confirmation
5739 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5744 * BufferView_pimpl.h:
5745 * BufferView_pimpl.C:
5746 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5748 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5750 * MenuBackend.C (expand): add numeric shortcuts to document menu
5752 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5754 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5756 * lyxfont.C (setLyXFamily):
5763 * buffer.C (asciiParagraph): use ascii_lowercase
5765 2002-07-15 Mike Fabian <mfabian@suse.de>
5767 * lyxlex_pimpl.C (search_kw):
5768 * lyxlex.C (getLongString):
5769 * converter.h (operator<):
5770 * converter.C (operator<):
5771 * buffer.C (parseSingleLyXformat2Token):
5773 * ToolbarDefaults.C (read):
5774 * MenuBackend.C (checkShortcuts):
5776 * LColor.C (getFromGUIName):
5777 (getFromLyXName): use the compare_ascii_no_case instead of
5778 compare_no_case, because in turkish, 'i' is not the lowercase
5779 version of 'I', and thus turkish locale breaks parsing of tags.
5781 2002-07-16 Angus Leeming <leeming@lyx.org>
5783 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5784 now takes a Buffer const & argument.
5786 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5788 * BufferView.C (resize): check there's a buffer to resize
5790 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5792 * lyxfunc.C: remove dead code
5795 * lyxserver.C: use lyx_guii::set_read_callback
5797 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5799 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5800 an inset in a RTL paragraph.
5802 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5804 * lyxfunc.C: repaint after a font size update
5806 2002-07-15 André Pönitz <poenitz@gmx.net>
5808 * lyxlength.C: inBP should be able to return negative values
5810 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5812 * lyxfunc.C: use lyx_gui::update_fonts()
5814 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5816 * lyxfunc.C: use lyx_gui::update_color()
5818 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5824 * lyxrc.C: remove file->new asks for name option, and let
5825 buffer-new take an argument
5827 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5829 * BufferView_pimpl.C: remove unneeded extra repaint()
5831 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5833 * LyXAction.C: allow command-sequence with NoBuffer
5835 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5837 2002-07-10 Angus Leeming <leeming@lyx.org>
5839 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5841 2002-07-09 Angus Leeming <leeming@lyx.org>
5843 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5845 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5847 * lengthcommon.h: whitespace
5849 * lyxfunc.C: update scrollbar after goto paragraph
5851 * lyxtext.h: factor out page break drawing, and fix it so
5852 page break/added space paints as selected nicely
5854 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5856 * BufferView_pimpl.C: add FIXMEs, clean up a little
5858 2002-07-09 André Pönitz <poenitz@gmx.net>
5860 * lyxfont.[Ch]: support for wasy symbols
5862 2002-07-08 André Pönitz <poenitz@gmx.net>
5864 * BufferView_pimpl.C: apply John's patch for #93.
5866 2002-07-05 Angus Leeming <leeming@lyx.org>
5868 * BufferView_pimpl.C (buffer): generate previews if desired.
5870 * LColor.h: add "preview" to the color enum.
5872 * LColor.C (LColor): add a corresponding entry to the items array.
5874 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5877 2002-07-05 Angus Leeming <leeming@lyx.org>
5879 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5880 The body of the code is now in the method that is passed an ostream &
5881 rather than a file name.
5882 Pass an additional only_preamble parameter, useful for the forthcoming
5885 2002-07-03 André Pönitz <poenitz@gmx.net>
5887 * lyxfunc.C: simplify getStatus() a bit for math stuff
5889 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5891 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5893 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5895 * text.C (changeRegionCase): do not change case of all the
5896 document when region ends at paragraph end (bug #461)
5898 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5900 * paragraph.C (startTeXParParams):
5901 (endTeXParParams): add \protect when necessary
5903 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5905 * BufferView_pimpl.C (workAreaExpose): remove warning
5907 2002-06-27 Angus Leeming <leeming@lyx.org>
5909 * Makefile.am: add lyxlayout_ptr_fwd.h.
5911 2002-06-26 André Pönitz <poenitz@gmx.net>
5913 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5915 2002-06-25 Angus Leeming <leeming@lyx.org>
5917 * lyxfunc.C (dispatch): Comment out the call to
5918 grfx::GCache::changeDisplay. The method no longer exists now that the
5919 pixmap generation part of the graphics loader has been moved into
5922 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5924 * text2.C: layout as layout
5926 * text.C: layout as layout
5928 * tabular.C (OldFormatRead): layout as layout
5930 * paragraph_pimpl.C (TeXDeeper): layout as layout
5931 (realizeFont): layout as layout
5933 * paragraph.C (writeFile): layout as layout
5934 (validate): layout as layout
5935 (getFont): layout as layout
5936 (getLabelFont): layout as layout
5937 (getLayoutFont): layout as layout
5938 (breakParagraph): layout as layout
5939 (stripLeadingSpaces): layout as layout
5940 (getEndLabel): layout as layout
5941 (getMaxDepthAfter): layout as layout
5942 (applyLayout): layout as layout
5943 (TeXOnePar): layout as layout
5944 (simpleTeXOnePar): layout as layout
5945 (TeXEnvironment): layout as layout
5946 (layout): layout as layout
5947 (layout): layout as layout
5949 * lyxtextclass.C (compare_name): new functor to work with
5950 shared_ptr, layout as layout
5951 (Read): layout as layout
5952 (hasLayout): layout as layout
5953 (operator): layout as layout
5954 (delete_layout): layout as layout
5955 (defaultLayout): layout as layout
5957 * lyxlayout_ptr_fwd.h: new file
5959 * lyxlayout.C (Read): layout as layout
5961 * lyx_cb.C (MenuInsertLabel): layout as layout
5963 * bufferlist.C (newFile): layout as layout
5965 * buffer.C (readLyXformat2): layout as layout
5966 (parseSingleLyXformat2Token): layout as layout
5967 (insertStringAsLines): layout as layout
5968 (asciiParagraph): layout as layout
5969 (latexParagraphs): layout as layout
5970 (makeLinuxDocFile): layout as layout
5971 (simpleLinuxDocOnePar): layout as layout
5972 (makeDocBookFile): layout as layout
5973 (simpleDocBookOnePar): layout as layout
5974 (getLists): layout as layout
5976 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5978 * CutAndPaste.C (cutSelection): layout as layout
5979 (pasteSelection): layout as layout
5980 (SwitchLayoutsBetweenClasses): layout as layout
5982 * BufferView_pimpl.C (Dispatch): layout as layout
5983 (smartQuote): layout as layout
5985 * BufferView2.C (unlockInset): layout as layout
5987 2002-06-24 André Pönitz <poenitz@gmx.net>
5989 * lyxfunc.C: fix #487
5991 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5995 * lyxfunc.C: remove display_shortcuts, show_banner
5997 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5999 * Buffer_pimpl.C: oops, update on resize
6001 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6008 * BufferView.C: use repaint()
6010 * BufferView_pimpl.h:
6011 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6012 as it's a clearer description. Remove superfluous
6015 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6017 * text.C: fix bug 488. Not ideal, but getting
6018 getWord() to work properly for the insets that
6019 matter is more difficult ...
6021 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6023 * BufferView_pimpl.C:
6026 * lyxfunc.C: remove the six million index lyxfuncs to just
6027 one, and DTRT (bug 458)
6029 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6033 * BufferView_pimpl.h:
6034 * BufferView_pimpl.C: clean up resize() stuff,
6035 and unnecessary updateScreen()s
6037 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6041 * BufferView_pimpl.h:
6042 * BufferView_pimpl.C:
6045 * minibuffer.C: remove focus management of workarea,
6046 not needed. Use screen's greyOut()
6048 2002-06-17 Herbert Voss <voss@lyx.org>
6050 * converter.C: (convert) do not post a message, when converting
6051 fails, let the calling function decide what to do in this case
6053 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6055 * lyxfunc.C: tidy up a little
6057 2002-06-16 <alstrup@diku.dk>
6059 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6060 Got rid of FORMS_H_LOCATION include. Now we are
6063 2002-06-15 LyX Development team <lyx@rilke>
6065 * buffer.[Ch] (sgmlOpenTag):
6066 (sgmlCloseTag): Added support for avoiding pernicious mixed
6067 content. Return number of lines written.
6070 (makeDocBookFile): Fixed calls to sgml*Tag.
6071 Simple white space clean.
6073 (simpleDocBookOnePar): Simple white space clean.
6075 * tabular.[Ch] (docBook): Renamed to docbook and got another
6076 argument to related with the pernicious mixed content.
6078 (docbookRow): Fixed calls for docbook inset method.
6080 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6082 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6083 so it's X11 independent.
6087 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6089 2002-06-15 Lyx Development team <lyx@electronia>
6091 * intl.h: Renamed getTrans to getTransManager.
6093 2002-06-14 Angus Leeming <leeming@lyx.org>
6095 * Makefile.am: nuke forgotten stl_string_fwd.h.
6097 2002-06-12 Angus Leeming <leeming@lyx.org>
6099 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6101 2002-06-13 Angus Leeming <leeming@lyx.org>
6104 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6106 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6108 * kbmap.C (getiso): add support for cyrillic and greek
6110 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6114 * BufferView_pimpl.h:
6115 * BufferView_pimpl.C: move bogus scrolling logic
6118 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6121 * BufferView_pimpl.C: view->resize() change
6123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6125 * BufferView_pimpl.C: topCursorVisible
6128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6132 * lyx_gui.C: move to frontends/
6136 * lyx_main.C: changes from above
6138 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6145 * lyx_main.C: minor tidy
6147 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6149 * BufferView_pimpl.h:
6150 * BufferView_pimpl.C:
6152 * BufferView.C: make painter() const,
6155 * BufferView2.C: use screen() accessor
6158 * lyx_main.C: some minor cleanup
6160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6162 * BufferView_pimpl.h:
6163 * BufferView_pimpl.C: remove enter/leaveView,
6166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6171 * BufferView_pimpl.h:
6172 * BufferView_pimpl.C: only construct screen once,
6175 * lyxrc.C: remove pointless comment
6177 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6180 * BufferView.C: remove active() and belowMouse()
6182 * BufferView_pimpl.h:
6183 * BufferView_pimpl.C: use workarea() not workarea_,
6184 and make it use a scoped_ptr instead
6186 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6188 * lyx_gui.C: add debug message on BadWindow
6190 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6192 * sp_spell.C: fdopen is not part of the C++ standard.
6194 * paragraph.C (InsetIterator): use >= instead of ==
6196 2002-06-07 Angus Leeming <leeming@lyx.org>
6198 Fixes needed to compile with Compaq cxx 6.5.
6199 * BufferView_pimpl.C:
6206 * lyxtextclasslist.C:
6211 all c-library variables have been moved into namespace std. Wrap
6212 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6217 Add a using std::abs declaration.
6219 * kbmap.h (modifier_pair):
6220 * paragraph.h (InsetTable, InsetList):
6221 * lyxfont.h (FontBits):
6222 type definition made public.
6224 * bufferlist.C (emergencyWriteAll): the compiler complains that
6225 there is more than one possible lyx::class_fun template to choose from.
6226 I re-named the void specialisation as lyx::void_class_fun.
6228 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6230 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6231 the compiler is is unable to find tostr in write_attribute.
6233 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6235 * buffer.C (sgmlError): hide #warning
6237 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6239 * xtl/*: get rid of xtl, which is not in use anyway
6241 * LyXAction.C (init):
6242 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6243 were unimplemented xtl experimentation
6245 2002-06-04 André Pönitz <poenitz@gmx.net>
6247 * lyxfunc.C: disable array operation on simple formulae
6249 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6251 * converter.C: constify a bit
6253 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6255 * lyx_gui.C: check xforms version correctly
6257 2002-04-30 Herbert Voss <voss@lyx.org>
6259 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6262 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6264 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6265 attempt to register it with a VCS)
6267 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6269 * lyx_main.C (init): honor variables LYX_DIR_13x and
6272 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6276 * lyx_main.C: fix a crash on bad command line,
6277 and give a useful exit status on error
6279 * lyxfunc.C (doImport): allow -i lyx to work
6281 2002-03-30 André Pönitz <poenitz@gmx.net>
6283 * lyxfunc.C: mathed font changes
6285 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6300 * trans_mgr.h: srcdocs, and some minor cleanups
6302 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6304 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6305 call getFont all the time)
6307 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6309 * switch from SigC signals to boost::signals
6311 2002-05-29 André Pönitz <poenitz@gmx.net>
6313 * paragraph_pimpl.C (getChar): don't call size() too often...
6315 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6317 * paragraph_pimpl.C (insertChar): do not try to update tables when
6318 appending (pos == size())
6320 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6321 in order to reduce drastically the number of comparisons needed to
6322 parse a large document
6324 2002-05-29 André Pönitz <poenitz@gmx.net>
6330 * textclasslist.[Ch]:
6331 * sp_ispell.h: whitespace change
6333 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6336 lyxaction directly now.
6338 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6342 * lyxvc.C: remove unused headers
6344 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6351 * undo_funcs.C: some cleanups. Use shared_ptr
6352 and a template for the undo stacks.
6354 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6356 * BufferView_pimpl.h:
6357 * BufferView_pimpl.C:
6364 * text2.C: use key_state/mouse_state
6366 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6368 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6371 * chset.C: change include order
6372 (loadFile): use boost regex and get rid of LRegex and LSubstring
6374 * Makefile.am (BOOST_LIBS): new variable
6377 * LaTeX.C: change include order.
6378 (scanAuxFile): use boost regex and get rid of LRegex and
6382 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6387 * FontInfo.C: moved to frontends/xforms/
6390 * FontLoader.C: moved into frontends for GUIIzation
6395 * lyxfunc.C: changes from above
6397 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6399 * LColor.C: remove spurious X include
6401 * BufferView_pimpl.C:
6406 * text2.C: move font metrics to frontends/
6408 2002-05-24 Juergen Vigna <jug@sad.it>
6410 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6411 setting the undo_cursor.
6413 * ParagraphParameters.h: include local includes first.
6415 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6417 * BufferView_pimpl.C:
6418 * BufferView_pimpl.h:
6422 * screen.C: move WorkArea into frontends/
6428 * BufferView2.C: move LyXScreen into frontends/
6432 * lyx_gui.C: move lyxlookup into frontends/xforms/
6434 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6437 * BufferView_pimpl.C:
6447 * bufferview_funcs.C:
6460 * vc-backend.C: move LyX/XFormsView into frontends/
6462 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6474 * text2.C: move Painter to frontends/
6476 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6478 * buffer.C: comment out some some code that depend upon lyx_format
6481 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6482 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6484 * buffer.h (NO_COMPABILITY): turn off compability
6486 * ColorHandler.C: include scoped_array.hpp
6488 * font.C: Use more specific smart_ptr header.
6491 * ShareContainer.h: ditto
6495 * BufferView_pimpl.h: ditto
6496 * ColorHandler.h: ditto
6498 * kbmap.C (defkey): change call to shared_ptr::reset
6500 2002-05-21 Juergen Vigna <jug@sad.it>
6502 * buffer.C (insertErtContents): fix to insert ert asis if it is
6503 non empty. Skip it completely if it contains only whitespaces.
6505 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6507 * BufferView_pimpl.C:
6508 * BufferView2.C: clear selection on paste (bug 393)
6510 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * DepTable.C: include ctime
6514 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6516 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6518 2002-05-14 Juergen Vigna <jug@sad.it>
6520 * text.C (breakParagraph): fixed function to honor the keepempty
6521 layout in the right maner and also to permit the right breaking
6522 algorithm on empty or non empyt keepempty paragraphs.
6524 * paragraph.C (breakParagraph): we have to check also if the par
6525 is really empty (!size()) for isempty otherwise we do the wrong
6528 2002-05-10 Juergen Vigna <jug@sad.it>
6530 * buffer.[Ch] : The following are only changes to the ert
6531 compatibility read reading old LaTeX layout and font stuff and
6532 convert it to ERTInsets.
6534 * buffer.h: added isErtInset().
6536 * buffer.C (struct ErtComp): add a fromlayout bool to check
6537 if we're inside a LaTeX layout.
6538 (isErtInset): new helper function.
6539 (insertErtContents): look for other ert insets before this one
6540 and insert the contents there, so that we don't have subsequent
6541 ERT insets with nothing between them. This way we create only one
6542 inset with multiple paragraphs. Also check if we don't insert only
6543 spaces ' ' as they are ignored anyway afterwards in the .tex file
6544 so if we have only spaces we will ignore this latex part in the
6546 (parseSingleLyXformat2Token \\layout): better compatibility when
6547 reading layout-latex stuff.
6548 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6550 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6551 stuff after reading the inset only get the information back from
6554 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6556 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6558 * LaTeXFeatures.C (getBabelOptions): New method.
6560 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * BufferView_pimpl.C (Dispatch): work around missing argument for
6565 2002-05-08 Juergen Vigna <jug@sad.it>
6567 * text.C (leftMargin): handle paragraph leftindent.
6569 * paragraph.C (writeFile): write the new \\leftindent tag.
6570 (validate): handle leftindent code.
6571 (TeXEnvironment): handle paragraphleftindent code again.
6573 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6575 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6576 for paragrap_extra indent code and new token \\leftindent.
6577 (latexParagraphs): handle the leftindent as environment.
6579 * ParameterStruct.h: added leftindent support.
6581 * ParagraphParameters.C (leftIndent): added support functions for
6582 the paragraph left indent.
6584 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6587 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6589 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6592 * text.C (computeBidiTables): No bidi in insetERT.
6594 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6597 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * version.C.in: pre 5
6601 2002-05-02 José Matos <jamatos@fep.up.pt>
6602 * buffer.C (makeDocBookFile): white space changes, add newline to
6604 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6606 * tabular.C (docBook): fix typo.
6608 2002-05-03 Juergen Vigna <jug@sad.it>
6610 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6611 change in LyXText as we can not be sure it was not freed.
6612 (drawOneRow): remove unused code.
6614 * text.C (drawInset): redo the calculation of the need_break_row as
6615 it could have a row which was already freed.
6616 (draw): look at the return value of drawInset and return false if
6617 it also returned false.
6618 (paintRowText): look at the return value of draw and return false if
6619 it also returned false.
6621 * lyxtext.h: added bool return type to drawInset() and draw() so that
6622 if we have a change in the row so that the rowbreak has to be redone
6623 we abort drawing as it will be called again.
6625 2002-05-02 Juergen Vigna <jug@sad.it>
6627 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6628 a change in the maintext also if we're inside an inset.
6629 (Dispatch): set the cursor again after a break line and after the
6630 screen has been updated as it could be we're in a different row.
6632 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6633 to set the cursor behind the pargraph with > size().
6634 (setCursor): check also for the same paragraph when checking where
6635 to put the cursor if we have a NFR inset.
6637 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6638 parts of layout read further up as it still was in the wrong
6641 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6643 * screen.C (drawFromTo): change sine fullRebreak always return
6646 * buffer.C (parseSingleLyXformat2Token): reindent some
6648 * BufferView_pimpl.C (update): change since fullRebreak always
6650 (Dispatch): git rid of the last hardcoded "Standard"s.
6652 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6654 * text2.[Ch] (fullRebreak): make it return void now that we always
6657 2002-04-30 Juergen Vigna <jug@sad.it>
6659 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6660 ert compatibility check for "latex" layout.
6662 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6664 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6665 minipages: use col% instead of p%, and also use the current font.
6666 (makeLaTeXFile): Fix use babel condition.
6667 (parseSingleLyXformat2Token): Correct font when reading old floats.
6669 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6671 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6672 inserting list of floats.
6674 2002-04-25 Herbert Voss <voss@lyx.org>
6676 * MenuBackend.C (expand): don't add the graphics extensions to the
6679 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6682 non-existing layout, do not complain if it was the default layout
6683 of the original class (bug #342)
6685 2002-04-24 Juergen Vigna <jug@sad.it>
6687 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6688 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6690 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6692 * buffer.C (getBibkeyList): If using \bibliography, return the
6693 option field with the reference itself. Enables us to provide natbib
6694 support when using \bibliography.
6696 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6698 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6700 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6701 natbib is provided by the LaTeX class.
6703 2002-04-23 Juergen Vigna <jug@sad.it>
6705 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6708 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6710 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6712 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6714 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6715 ensuremath around textordmasculine, textordfeminine and
6718 2002-04-19 Juergen Vigna <jug@sad.it>
6720 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6721 reinitializing the buffer otherwise row-dimensions may be wrong.
6722 (update): reset also the selection cursors if they do exits otherwise
6723 their x/y positions may be wrong.
6725 * text2.C (cursorDown): don't enter the inset if we came from a row
6726 above and are one row over the inset.
6728 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6729 really leaving an inset.
6731 2002-04-18 Juergen Vigna <jug@sad.it>
6733 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6734 of the selected paragraph does not have the selected layout also if
6737 * text2.C (setLayout): fixed bug which did not change last selected
6740 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6741 changed the read and substituted \\end_float with \\end_inset!
6743 * BufferView_pimpl.C (cursorPrevious):
6744 (cursorNext): fixed to make it work with rows heigher than the work
6745 area without moving the cursor only the draw of the row.
6746 (workAreaMotionNotify): fix jumping over high rows.
6748 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6753 2002-04-16 Juergen Vigna <jug@sad.it>
6755 * text2.C (setCursor): set also the irow().
6756 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6758 (cursorDown): support for locking an inset if the x_fix value goes
6759 inside it. That way I can transverse insets too with cursor up/down.
6761 * lyxrow.h: added irow helper function same as other (i) functions.
6763 * BufferView_pimpl.C (cursorPrevious):
6764 (cursorNext): fixed for insets!
6766 2002-04-15 Juergen Vigna <jug@sad.it>
6768 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6769 position otherwise it is wrong in some cases.
6771 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6772 inside the inset before the call.
6774 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6776 * buffer.[Ch] (getBibkeyList): make it const.
6778 2002-04-12 Juergen Vigna <jug@sad.it>
6780 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6782 * text2.C (getCursorX): new helper function
6783 (setCursor): compute also ix_
6784 (setCursorFromCoordinates): set also ix.
6786 * lyxcursor.h: added ix_ and helper functions.
6788 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6790 * buffer.C (insertStringAsLines): dont break paragraph if the this
6791 paragraph is inside an inset which does not permit it!
6793 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6794 also with no chars on this paragraph.
6795 (paintRowText): only paint stuff if it's inside the workarea!
6797 * paragraph.C (breakParagraph): honor keepempty flag and break the
6798 paragraph always below not above.
6800 * BufferView2.C (unlockInset): update the paragraph layout on inset
6801 unlock as we changed paragraph in such a case.
6803 * lyxfind.C (LyXFind): clear the former selection if not found!
6805 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6806 again called in insertChar().
6808 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6809 an inset which uses the whole row!
6810 (rightMargin): ditto.
6811 (insertChar): force a rebreak if we inserted an inset!
6813 2002-03-28 Herbert Voss <voss@lyx.org>
6815 * lyxlength.[Ch]: add inBP() to get the right PS-point
6816 units (BigPoint). With inPixels we have rounding errors
6818 2002-04-11 Juergen Vigna <jug@sad.it>
6820 * text2.C (setCursorFromCoordinates): set iy to the right value.
6821 (setCursor): add check if row->previous exists!
6823 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6824 an old float_type as this was the case in the old code!
6826 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6828 * BufferView2.C (showLockedInsetCursor): use iy
6829 (fitLockedInsetCursor): ditto
6831 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6832 locked insets as there we have the right value now.
6834 * lyxcursor.C: added iy_ variable and iy functions to set to the
6835 baseline of cursor-y of the locked inset.
6837 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6838 (setCursor): fixed for insets which need a full row.
6840 * text.C (rowLastPrintable): don't ignore the last space when before
6841 an inset which needs a full row.
6842 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6843 as last character of a row when before a inset which needs a full row.
6845 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6847 * version.C.in: update date
6849 * text2.C (fullRebreak): try to always return true and see what
6852 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * MenuBackend.C (expand): use Floating::listName
6856 * FloatList.C (FloatList): add listName argument to the built-in
6859 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6860 text associated with the float.
6862 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6864 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6866 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6868 * ShareContainer.h: add a couple of missing typenames.
6870 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6872 * lyxrc.C (getDescription): use _() correctly rather than N_().
6874 2002-03-28 Herbert Voss <voss@lyx.org>
6876 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6877 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6879 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6882 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6884 2002-03-29 Juergen Vigna <jug@sad.it>
6886 * lyxfunc.C (dispatch): add a missing fitCursor call.
6888 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6889 it was scrolled by a cursor move, so return the bool status.
6891 * BufferView.C (fitCursor): return the bool flag also to the outside
6892 world as this is needed.
6894 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6896 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6897 call the edit() as it is not needed (and wrong) IMO.
6898 (workAreaButtonPress): set the screen_first variable before evt.
6899 unlock the inset as this may change screen_first and then we have
6900 a wrong y position for the click!
6902 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6904 * MenuBackend.C (expand): another translation that I missed
6906 2002-03-28 Juergen Vigna <jug@sad.it>
6908 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6910 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6912 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6914 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6916 * MenuBackend.C (expand): fix export/view/update when there is no
6919 2002-03-27 Herbert Voss <voss@lyx.org>
6921 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6924 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * bufferview_funcs.C (currentState): only show paragraph number
6927 for is DEVEL_VERSION is set.
6929 * lyxfunc.C (dispatch): put warning in INFO channel
6931 * MenuBackend.C (expand): translate the name of floats
6933 * FloatList.C (FloatList): mark the float names for translation
6935 * converter.C (convert): use LibScriptSearch
6937 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * MenuBackend.C (defaults): fix default menu (we might as well get
6942 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6944 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6947 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * lyxvc.C: reorder includes.
6951 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6953 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6956 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6958 * CutAndPaste.C: change layouts earlier on paste
6959 to avoid crashing when calling getFont()
6961 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6963 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6966 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * WorkArea.C: remove 'Pending' debug message.
6970 * most files: ws cleanup
6972 * buffer.[Ch]: ws changes
6974 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6976 2002-03-21 Juergen Vigna <jug@sad.it>
6978 * tabular.C (SetMultiColumn): collapse also the contents of the
6979 cells and set the last border right. Added a Buffer const * param.
6981 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6983 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6986 2002-03-19 Juergen Vigna <jug@sad.it>
6988 * text2.C (clearSelection): reset also xsel_cache.
6990 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6991 where it needs to be called (John tells us to do so too :)
6992 (selectionLost): reset sel_cache.
6994 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6996 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6998 * text2.C (setCursorIntern): put debuging code in INSETS channel
7000 2002-03-19 André Pönitz <poenitz@gmx.net>
7002 * lyxfunc.C: tiny whitespace change
7004 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7006 * ToolbarDefaults.C (init):
7007 * LyXAction.C (init):
7009 * BufferView_pimpl.C (Dispatch):
7010 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7012 2002-03-19 Allan Rae <rae@lyx.org>
7014 * exporter.C (Export): removeAutoInsets before doing anything else.
7015 While I've just introduced a dependency on BufferView this really is
7016 the best place to clean the buffer otherwise you need to cleanup in
7017 a dozen places before calling export or cleanup in a dozen functions
7020 * converter.C (runLaTeX):
7021 (scanLog): Better handling of removeAutoInsets and screen updates.
7023 * lyxfunc.C (dispatch): small whitespace changes
7025 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7027 * WorkArea.C (C_WorkAreaEvent): return a value.
7028 (event_cb): return 1 if we handled the event, 0 otherwise.
7030 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7032 2002-03-18 Juergen Vigna <jug@sad.it>
7034 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7035 (GetAdditionalWidth): ditto.
7039 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7040 inset if we're there actually (probably not used right now but this
7041 is the direction to go for unifying code).
7042 (paste): disable code to clear the selection.
7044 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7045 inside an InsetText and move the check further up as it is in the
7048 * text2.C (pasteSelection): set a selection over the pasted text.
7050 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7052 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7053 and libgraphics to build on Cygwin.
7055 2002-03-15 Juergen Vigna <jug@sad.it>
7057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7058 inserting an Inset into the paragraph. I know this is not the best
7059 fix but we already use current_view in CutAndPaste so we will remove
7060 all of it's using at the same time.
7062 * buffer.C (sgmlError): deactivated function till it is rewritten in
7063 the right mode, now it can create problems.
7065 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7066 before accessing it.
7068 2002-03-14 Juergen Vigna <jug@sad.it>
7070 * undo_funcs.C (textHandleUndo): do the right thing when updating
7071 the inset after the undo/redo.
7073 * text2.C (setCursor): just some testcode for #44 not ready yet.
7075 * undo_funcs.C (textHandleUndo): set the next() and previous()
7076 pointers of the paragraph to 0 before deleting otherwise we have
7077 problems with the Paragraph::[destructor].
7079 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7080 on a paragraph insertion.
7082 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7084 * buffer.C (asciiParagraph): use += operator for char append to
7087 * paragraph.C (getFontSettings): compare >= not just >
7088 (highestFontInRange): ditto
7091 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * paragraph.C: change several algorithm to be more appripriate for
7094 the problem domain. This is lookip in FontList and in the InsetList.
7096 2002-03-13 André Pönitz <poenitz@gmx.net>
7099 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7101 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7106 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7108 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7110 * Painter.C (display): anon helper function, adjust code for this
7112 (pixmap): remove function.
7114 * Painter.h: remove private display variable.
7116 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7118 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7120 * WorkArea.[Ch]: remove figinset_canvas cruft.
7122 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7124 * lyxtextclass.C (operator): add one item cache optimization.
7126 * bufferlist.h: doxy changes
7128 * bufferlist.C: ws changes
7130 * DepTable.[Ch] (ext_exist): place const in the right spot.
7132 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7134 (workAreaExpose): call resizeInsets when the with BufferView changes.
7135 (Dispatch): adjust for protectedBlank removal
7136 (specialChar): call updateInset if the insert went ok.
7138 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7139 specialChar instead.
7141 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7143 * BufferView.h: doxy change
7145 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7147 * lyxtextclass.C (operator[]): remove non-const version
7148 (defaultLayout): remove non-const version
7150 2002-03-12 Juergen Vigna <jug@sad.it>
7152 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7153 did resize the LyXText too.
7155 * buffer.C (readLyXformat2): set layout information on newly allocated
7158 * tabular.C (OldFormatRead): set layout information on the paragraph.
7160 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7162 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7164 2002-03-11 Juergen Vigna <jug@sad.it>
7166 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7168 (resizeCurrentBuffer): force also the insets to resize themselfes.
7169 (moveCursorUpdate): fixed up for InsetText.
7171 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7174 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7175 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7176 value of Dialogs::tooltipsEnabled().
7177 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7179 2002-03-08 Juergen Vigna <jug@sad.it>
7181 * BufferView_pimpl.C (updateInset): update inset inside inset also
7182 if it isn't inside theLockingInset().
7184 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * buffer.C (asciiParagraph): redo some of the word and line length
7188 (getLists): look for Caption instead of caption.
7190 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7192 * buffer.C (Buffer): initialize niceFile to true
7195 (makeDocBookFile): make sure niceFile is true on exit
7197 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7199 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7201 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7203 * LyXSendto.C: remove.
7204 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7205 * lyx_gui.C: remove now-redundant comment.
7206 * ColorHandler.h: remove forward declaration of class WorkArea.
7207 * lyxfunc.C: remove #include "WorkArea.h".
7209 2002-03-07 Juergen Vigna <jug@sad.it>
7211 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7212 got moved away with the DEPM and also set the inset_owner always
7213 right which before could have been omitted.
7215 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7217 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7218 wanted layout is not found.
7220 2002-03-07 Juergen Vigna <jug@sad.it>
7222 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7224 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7226 * paragraph.C (breakParagraph): use default layout not layout of
7228 (Paragraph): clear ParagraphParameters.
7230 2002-03-06 Juergen Vigna <jug@sad.it>
7232 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7233 otherwise it would not be a valid lenght. Fixed a special case in
7234 the minipage compatibility read where we end the document with a
7237 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7238 was set as it could be 0 for InsetTexts first entry.
7240 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * paragraph.C (writeFile): if layout is empty write out
7243 defaultLayoutName().
7245 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7246 file without named layout we set layout to defaultLayoutName().
7248 2002-03-06 Juergen Vigna <jug@sad.it>
7250 * CutAndPaste.C (copySelection): set layout for new paragraph.
7252 * text.C (prepareToPrint): leave ERT inset left aligned
7253 (leftMargin): don't indent paragraphs inside ERT insets
7255 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7257 * paragraph.C (breakParagraph): dont call clear do the work manually
7259 * paragraph.[Ch] (clear): remove function
7261 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7263 * paragraph.C (Paragraph): dont call clear, the work has already
7266 * lyxtextclass.C (operator): assert if n is empty
7268 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7269 work manually instead.
7271 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7273 * BufferView_pimpl.C: protect selectionLost against text == 0
7275 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7277 * text.C (breakParagraph): fix a setting layout to '0' problem.
7279 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7281 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7282 final location of file, for the included files, and graphics.
7284 2002-03-05 Juergen Vigna <jug@sad.it>
7286 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7288 2002-03-04 Juergen Vigna <jug@sad.it>
7290 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7292 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7293 last column of multicolumn cells.
7294 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7296 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7298 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7299 file if it doesn't go to a temporary file.
7301 * buffer.C (sgmlOpenTag):
7302 (sgmlCloseTag): remove extra newline insertion.
7304 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * text.C (getRowNearY): comment out debug msg
7308 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7310 * text2.C: first -> first_y
7312 * text.C (getRowNearY): add some attemts at a possible
7313 optimization, not working.
7315 * tabular.[Ch]: add BufferParams to several function so that newly
7316 created paragraph can be initialized to he default layotu for the
7319 * tabular-old.C (ReadOld): add buf->params to call of Init
7321 * screen.C: rename text->first to text->first_y
7323 * paragraph.C (breakParagraph): always set layout in the broken
7326 * lyxtextclass.C (Read): remove lowercase
7329 (delete_layout): ditto
7331 * lyxtext.h: rename first -> first_y
7333 * lyxlayout.C (Read): remove lowercase
7336 (obsoleted_by): ditto
7338 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7340 * buffer.C (insertErtContents): add params are to InsetERT
7341 (parseSingleLyXformat2Token): add code to check if a paragraphs
7342 layout really exist.
7343 (parseSingleLyXformat2Token): add params to several inset
7345 (asciiParagraph): remove lowercase, do the layout comparisons with
7348 * BufferView_pimpl.C (cursorNext): first -> first_y
7349 (resizeCurrentBuffer): first -> first_y
7350 (updateScrollbar): first -> first_y
7351 (scrollCB): first -> first_y
7352 (workAreaMotionNotify): first -> first_y
7353 (workAreaButtonPress): first -> first_y
7354 (checkInsetHit): first -> first_y
7355 (cursorPrevious): first -> first_y
7356 (cursorNext): first -> first_y
7357 (Dispatch): add buffer_->params to severl inset contructors
7359 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * lyxlayout.C (Read): remove some debug info that I forgot.
7363 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7364 clean up the code slightly.
7365 (makeLinuxDocFile): ditto
7366 (makeDocBookFile): ditto
7368 * text2.C: layout as string
7370 * text.C: layout as string
7372 * paragraph_pimpl.C: layout as string
7374 * paragraph.[Ch]: layout as string
7376 * lyxtextclasslist.[Ch]: layout as string
7378 * lyxtextclass.[Ch]: layout as string
7380 * lyxtext.h: layout as string
7382 * lyxlayout.[Ch]: layout as string
7384 * lyx_cb.C: layout as string
7386 * bufferview_funcs.C: layout as string
7388 * bufferparams.C: layout as string
7390 * buffer.C: layout as string
7392 * LyXView.[Ch]: layout as string
7394 * LaTeXFeatures.[Ch]: layout as string
7396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7398 * BufferView_pimpl.C: change current_layout to string, remove
7403 (workAreaButtonRelease): layout as string
7405 * BufferView2.C (unlockInset): adjust
7407 * vspace.C (asLatexCommand): use an explict temp variable.
7409 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7411 * Makefile.am: use FRONTEND_*
7413 2002-03-01 Juergen Vigna <jug@sad.it>
7415 * tabular.C (SetWidthOfMulticolCell): changed to something better
7416 I hope but still work in progress.
7417 (recalculateMulticolumnsOfColumn): renamed function from
7418 recalculateMulticolCells as it is more appropriate now.
7419 (SetWidthOfCell): calculate multicols better.
7421 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7425 * lyxfunc.C (processKeySym): print sequence also if it is
7426 `deleted' (complete)
7428 * kbsequence.C (print): print sequence even if it is deleted
7429 (complete would be a better word, actually).
7431 * lyxfunc.C (dispatch): print complete options after a prefix key
7433 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7435 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7437 * text2.C (setCharFont): eliminate setCharFont code duplication.
7439 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7442 LFUN_TABULAR_FEATURE (bug #177)
7444 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7446 * Makefile.am: remove figure.h
7448 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7450 * Bufferview_pimpl.C:
7462 * text2.C: remove #include "lyx_gui_misc.h".
7464 * LaTeX.C: added #include <cstdio>
7466 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7468 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7469 that the paragraph following this one can have.
7471 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7473 * vspace.C (asLatexCommand): fix bogus gcc warning
7475 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7477 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7479 * text2.C (setLayout): get rid of redundant code
7481 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7483 * text2.C (incDepth): make sure depth cannot be increased beyond
7486 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7488 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7489 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7491 * PainterBase.h (image):
7492 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7495 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7499 * BufferView_pimpl.C:
7500 * BufferView_pimpl.h:
7520 * sp_spell.C: remove fig inset, and the crap house of
7521 cards that follows it
7523 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7529 * nt_defines.h: move .h into support/
7531 * vms_defines.h: remove
7533 * WorkArea.C: add space in debug output
7537 * buffer.C: add WITH_WARNINGS
7541 * bufferlist.C: s/retrive/retrieve/, add docs
7552 * lyxgui.C: add ID to X error handler
7554 * lyxtestclass.c: fix typo
7556 2002-02-26 Juergen Vigna <jug@sad.it>
7558 * tabular_funcs.C (write_attribute): changed so that some default
7559 attributes are not written at all.
7560 (getTokenValue): set default values before trying to read the
7561 value so we have the return value always set as default if we don't
7562 find the token we search for.
7564 * tabular.C (Write): write bools as bools not as strings!
7566 2002-02-22 Juergen Vigna <jug@sad.it>
7568 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7569 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7571 * text.C (leftMargin): don't add an indent for paragraphs inside
7572 tabular cells (fix #208).
7574 2002-02-21 José Matos <jamatos@fep.up.pt>
7576 * tabular.C (docBook): fixed support for long tables.
7578 2002-02-20 Juergen Vigna <jug@sad.it>
7580 * text2.C (getFont): get the drawing font of the Inset if this
7581 paragraph is inside an inset (only important for InsetERT for now).
7583 * buffer.C (insertErtContents): use new lanugage params in ERT
7586 * CutAndPaste.C: commenting out seemingly uneeded code.
7588 2002-02-19 Allan Rae <rae@lyx.org>
7590 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7591 Iterators might be simple to use but they also get invalidated.
7592 (removeAutoInsets): renamed saved cursor tracking variables and added
7593 some comments to clarify what everything does.
7595 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7602 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7603 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7606 * vc-backend.h: remove #include "support/syscall.h"
7610 * converter.C: rearrange #includes in Lars' approved fashion.
7612 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7613 forward declare class Timeout in the header file.
7615 * XFormsView.C: changes due to the above.
7617 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7620 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7621 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7623 2002-02-18 José Matos <jamatos@fep.up.pt>
7625 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7628 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7630 * a lot of small ws changes
7631 * add a lot of using std::XXX
7632 * use std construcs some places where approp.
7633 * use some exisint stuff from lyxfunctional where approp.
7634 * Make file changes to use partial linking (lets test this now...)
7636 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7640 remove #include "support/syscontr.h" as it's redundant. Always has been.
7648 change Systemcalls::System to Systemcalls::Wait and
7649 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7650 No change of functionality, just reflects the stripped down Systemcalls
7653 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7655 * debug.[Ch]: add a GRAPHICS type to the enum.
7657 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7659 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7661 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7664 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7667 match the changes below.
7669 * text2.C (toggleInset): if there is not editable inset at cursor
7670 position, try to see if cursor is _inside_ a collapsable inset
7673 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7676 document menu has a nice checkbox
7678 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7680 * lyxlength.C (asLatexString): change PW to output as percent of
7683 * lengthcommon.C: change '%' to 't%'
7685 * lyxfunc.C (dispatch): a few comments from Martin
7687 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.h:
7692 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7695 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * vspace.C (inPixels): fix compiler warning
7699 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7701 * lyxfunc.C (getStatus): fix status message for disabled commands.
7703 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7705 * BufferView_pimpl.C: fix crash on close buffer
7706 during selection (#227)
7708 2002-01-27 Herbert Voss <voss@lyx.org>
7710 * buffer.C: link old Figure to new graphic inset
7712 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7714 * FontLoader.C (getFontinfo): Change the latex font names in order
7715 to match the names of type1inst.
7717 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7719 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7721 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7724 (remove_files_with_extension): ditto
7725 (remove_file): ditto
7728 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7729 document is smaller than the work area height. Do not initialize
7730 static variables to 0.
7732 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7734 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7736 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7737 LFUN_LAYOUT_PARAGRAPHS.
7739 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7740 tabular. It is possible to provide a possible cell, which will
7741 typically be the actcell from the corresponding insettabular
7743 * lyxfunc.C (getStatus): small cleanup; disable
7744 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7747 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7751 * paragraph.C (startTeXParParams):
7752 (endTeXParParams): new methods. The LaTeX code to
7753 start/end paragraph formatting
7754 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7755 empty (fixes bug #200)
7757 * vspace.C (inPixels): adapt to the change below
7758 (inPixels): [later] more cleanups (remove unused variables)
7760 * lyxlength.C (inPixels): change to use a width and a height as
7763 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7765 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7766 Replaced with \paperwidth
7768 * DepTable.C (insert): add std:: qualifier
7770 2002-01-18 Allan Rae <rae@lyx.org>
7772 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7775 * text.C (drawInset): Turned out I didn't know enough about how
7776 rebreaking worked. This fixes most of the redraw problems. I see
7777 an occasional cursor trail when a line is broken now and the cursor
7778 placement can seem out by a few pixels also after a rebreak.
7780 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7782 * buffer.C (parseSingleLyXformat2Token): update because minipage
7783 width is now a LyXLength
7785 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7787 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7790 2002-01-17 Juergen Vigna <jug@sad.it>
7792 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7794 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7795 is set correctly and the inset is updated correctly.
7797 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7799 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7800 the beginning of the loop.
7802 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7804 * lyxrc.C: improve help for use_scalable_fonts
7806 2002-01-17 Allan Rae <rae@lyx.org>
7808 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7810 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7813 make sure to set their inset_owner to the right value (bug #171)
7815 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7818 * DepTable.C: Implement mtime checking to reduce time spent doing
7821 2002-01-16 Juergen Vigna <jug@sad.it>
7823 * tabular.C (GetAdditionalHeight): one of error fixed.
7825 * lyxrc.C (output): small fix in writing use_pspell.
7827 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7829 * sp_base.h: #include LString.h
7831 2002-01-16 Allan Rae <rae@lyx.org>
7833 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7834 Can someone check this please?
7836 * text.C (drawInset): It was possible that p.row would be removed by
7837 breakAgainOneRow upsetting a few other settings. There may be another
7838 small tweak possible by setting need_break_row = 0 when p.row has been
7839 removed but I don't know enough about the logic here.
7841 2002-01-15 Allan Rae <rae@lyx.org>
7843 * text.C (insertChar): removed conditional truism.
7845 * BufferView2.C (removeAutoInsets): More tweaks.
7846 cur_par_prev could be a stray pointer. Check for trailing empty line
7847 in case last line was cur_par and only had an error inset on it.
7849 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7854 * vc-backend.C (most methods):
7855 * exporter.C (Export):
7856 * converter.C (convert):
7858 * LyXSendto.C (SendtoApplyCB):
7859 * lyxfunc.C (dispatch):
7863 * lyx_cb.C (AutoSave):
7865 * BufferView_pimpl.C (MenuInsertLyXFile):
7866 * buffer.C (runChktex): use Buffer::filePath().
7868 * buffer.h: rename filename to filename_; rename filepath to
7869 filepath_ and make it private
7870 (filePath): new method
7872 * buffer.C (writeFile): use fileName()
7875 * lyx_main.C (init): fix starting of LyX when the binary is a
7876 link from so,ewhere else.
7878 * minibuffer.C: include <cctype> for isprint
7880 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7882 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7883 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7884 name clash with InsetCollapsable's width function.
7886 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7888 * lastfiles.C: include <iterator>
7890 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7892 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7895 * buffer.C (makeLaTeXFile): ditto.
7896 Also make loop operation more transparent.
7898 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7900 * ToolbarDefaults.C: remove trailing comma closing namespace.
7902 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7904 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7907 * trans.C (Load): comment out unused variable, allowed.
7909 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7911 * minibuffer.[Ch] (append_char): new method to recieve input from the
7912 drop-down completion browser. If a key was pressed, then recieve this
7913 char and append it to the existing string.
7914 (peek_event): modify the positioning data passed to the completion
7915 browser so that it can be placed above the minibuffer rather than below.
7916 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7918 * LyXAction.C (init): alloe error-next for readonly documents.
7920 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7923 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7925 * bufferlist.C (readFile): create the buffer _after_ checking that
7928 * lyxfunc.C (verboseDispatch): fix handling of arguments
7930 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7932 * lyxrc.C: use string::erase() instead of initializing to "".
7935 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7937 * BufferView_pimpl.h:
7938 * BufferView_pimpl.C:
7941 * text2.C: tell X when we have made a selection for copying
7943 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * BufferView_pimpl.C (MenuInsertLyXFile):
7946 * lyxfunc.C (menuNew):
7948 (doImport): add shortcuts to directory buttons
7950 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7953 * lyxfunc.C (setStatusMessage):
7954 (getStatusMessage): new methods
7955 (getStatus):use setStatusMessage instead of setErrorMessage
7956 (dispatch): when function is disabled, set error message here
7957 [instead of in getStatus previously]
7959 * BufferView_pimpl.C (workAreaButtonRelease): update
7960 toolbar/menubar here too.
7962 2002-01-13 Allan Rae <rae@lyx.org>
7964 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7965 Now seems indestructible. Remaining task is to audit all other
7966 code affected by deleteEmptyParagraphMechanism. One small quirk
7967 left is that an empty document with an error in the preamble can
7968 be made to report an error but no error box appears. I don't know
7970 (removeAutoInsets): Improved comments.
7972 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7975 * Thesaurus.C: update for Aiksaurus 0.14
7977 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * text2.C (firstParagraph): removed member function, all uses
7980 replaces with ownerParagraph
7981 (redoParagraphs): here
7983 (toggleAppendix): here
7984 * BufferView2.C (insertErrors): here
7985 (setCursorFromRow): here
7987 2002-01-13 Allan Rae <rae@lyx.org>
7989 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7990 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7991 There is still a way to segfault this although you may have to do this
7992 multiple times: Have an InsetERT with an unknown command in it.
7993 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7994 <down-arrow>, <Enter> again, View->DVI, BANG!
7996 * text2.C (setCursor):
7997 (deleteEmptyParagraphMechanism):
7998 * lyxtext.h (setCursor):
7999 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8000 Making use of the return value may help fix other bugs.
8002 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8004 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8006 * LyXView.C (updateMenubar): call MenuBar::update here
8007 (updateToolbar): but not here
8008 (showState): do not update toolbar/menubar
8010 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8011 should need to care about that.
8013 * lyxfunc.C (verboseDispatch): simplify a bit
8014 (getStatus): have a version which takes a pseudoaction, and
8015 another which requires a (kb_action,string).
8017 * LyXAction.C (retrieveActionArg): make it work also when action
8018 is not a pseudo-action.
8019 (getActionName): simplify a bit
8022 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * lyxfunc.C (verboseDispatch): new families of methods with
8025 several ways to specify a command and a bool to indicate whether
8026 the command name and shortcut should be displayed in minibuffer
8027 (eventually, we could extend that to a finer bitmask like
8028 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8029 (dispatch): the pristine dispatch command which just, well,
8030 dispatchs! Note it still sets its result to minibuffer; I'm not
8033 * lyxfunc.h: remove setHintMessage
8035 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8037 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * BufferView_pimpl.C (specialChar): delete new inset if we have
8040 not been able to insert it.
8042 * kbmap.C: revert to using int instead of kb_action, since all we
8043 are dealing with is pseudo-actions.
8045 * LyXAction.C (searchActionArg): change to return int instead of
8046 kb_action, since the result is a pseudoaction.
8048 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8050 * buffer.C (insertErtContents): Fix (partially) the font bug.
8052 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8054 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8055 as the other one is broken on my machine!
8057 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8060 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8062 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8064 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8065 reflect their actual use. Provide compatibility code for older lyxrc
8068 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8070 change names of popup font variables in line with the changes to lyxrc.C
8072 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8074 * buffer.C (asciiParagraph): avoid outputing a word twice after
8077 * lyxrc.C (getDescription): document that document_path and
8078 template_path can be empty.
8080 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8082 * LaTeXFeatures.C (getMacros):
8083 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8085 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8087 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8089 (getPackages): rename feature "floats" to "float". Use an array to
8090 iterate over 'simple' features (i.e. just a \usepackage). Add
8091 handling of "amsmath" (renamed from "amsstyle").
8093 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8095 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8098 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8100 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8101 FuncStaus::FuncStatus & FuncStaus::some_method().
8103 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8105 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8106 of the func_satus stuff. Edited and massaged in various ways by
8109 * lyxfunc.C (getStatus): use FuncStatus
8111 2002-01-08 Juergen Vigna <jug@sad.it>
8113 * text.C (nextBreakPoint): use function Inset::isChar().
8115 * paragraph.C (TeXOnePar): use function
8116 Inset::forceDefaultParagraphs.
8118 * buffer.C (latexParagraphs): use function
8119 Inset::forceDefaultParagraphs.
8121 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8123 * lyx_gui.C (init): set the style of the menu popups to
8124 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8126 2002-01-07 Juergen Vigna <jug@sad.it>
8128 * text.C (setHeightOfRow): small fix
8129 (prepareToPrint): don't look at alignment if we don't have the place
8132 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8134 * box.C: New file. Move the Box methods and functions out of box.h,
8135 following Lars' suggestion.
8137 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8139 * box.h: #include "support/LOstream.h", needed for inlined function.
8142 * lyxtextclasslist.C: added some using std declarations.
8144 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8146 * box.h: make signed dimensions to allow insets wider than
8147 the screen (bug #162)
8149 * BufferView_pimpl.C: add some insetHit debug
8151 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8153 * vc-backend.C: add FIXME
8155 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8157 * lyxfunc.C (getStatus): enable code for showing math font status
8160 2002-01-07 Juergen Vigna <jug@sad.it>
8162 * text.C (nextBreakPoint): removed debug output not needed anymore.
8164 2002-01-06 Juergen Vigna <jug@sad.it>
8166 * text.C (nextBreakPoint): fixed up this function we had this bug
8167 since ever but now hopefully we break row better.
8168 (insertChar): we have to check if an inset is the next char as it
8169 could now happen that a large inset is causing a break.
8171 2002-01-05 Juergen Vigna <jug@sad.it>
8173 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8174 if it doesn't like to be drawed.
8176 2002-01-04 Juergen Vigna <jug@sad.it>
8178 * BufferView2.C (lockInset): forgot to set a cursor.
8180 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8182 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8187 * form_maths_panel.C:
8188 * form_maths_panel.h:
8189 * form_maths_panel.fd: implemented sub- and super- buttons in math
8192 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8193 (or ^ space) to be used as in TeX (req'd by André).
8195 * lyxfunc.C: Allow ^ and _ again to be used both as
8196 super/subscript (mathed) and as themselves (in text).
8198 2002-01-03 Allan Rae <rae@lyx.org>
8200 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8201 "LyX" or the filename of the current buffer if it has one. This is a
8202 modified form of John Levon's patch.
8204 * XFormsView.C (setWindowTitle): also set icon title.
8206 * LyXView.h (setWindowTitle): signature changed.
8207 * XFormsView.h (setWindowTitle): ditto.
8209 2002-01-02 Juergen Vigna <jug@sad.it>
8211 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8213 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8215 * screen.C (topCursorVisible): introduce a temp var for
8216 text->cursor.row(), handle the case where this row is null. (kindo
8219 * text2.C (setCursor): add a couple of asserts.
8221 * paragraph.h (inset_iterator): add -> operator
8223 * paragraph.[Ch] (autoDeleteInsets): remove member function
8225 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8226 cursor pos correctly and handle inset deletion by itself.
8227 (insertErrors): move iterator declaration out of for expression
8229 * lyxtextclass.C: add <algorithm>
8231 * Makefile.am: added the new files to sources, removed layout.C
8233 * layout.C: removed file
8235 * layout.h: remove LYX_DUMMY_LAYOUT
8237 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8241 * lyxtextclass.[Ch]:
8242 * lyxtextclasslist.[Ch]: new files
8244 * include order changes to a lot of files, also changes because of
8247 2001-12-27 Juergen Vigna <jug@sad.it>
8249 * buffer.C (asciiParagraph): more fixes.
8251 * tabular.C (ascii): make ascii export support export of only the
8252 data separated by a column-delimiter.
8253 (ascii): better support for ascii export.
8255 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8257 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8259 * tabular_funcs.C: use a "using std::getline" instead of the
8260 previous fix from Angus (necessary for cxx + lyxstring)
8262 2001-12-24 Juergen Vigna <jug@sad.it>
8264 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8266 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8267 problems. First check a minipage also if we have some ert-contents
8268 (not only on par->size(), second set the right depth of the paragraph
8269 on the relink to the root-paragraph-list!
8271 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8272 which then did not anymore update the main paragraphs on undo/redo!
8274 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8276 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8277 code. Support all font-changing funcs (even those which are not in
8278 menu currently). Support for reporting font settings in
8279 mathed (disabled until Andre provides a function on mathed's side).
8281 * func_status.h (toggle): small helper function to set toggle
8284 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8286 * tabular_funcs.C: getline -> std::getline
8288 2001-12-21 Juergen Vigna <jug@sad.it>
8290 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8291 accessed and could be 0 (I couldn't generate this but it seems
8294 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8296 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8297 * tabular_funcs.h: here and include iosfwd
8299 2001-12-20 Juergen Vigna <jug@sad.it>
8301 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8302 inside inset but undo_par was.
8304 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * Thesaurus.C: always include <config.h> in sources.
8310 * box.h: do not include <config.h> in header files
8312 * text.C (paintLastRow): remove unused variable
8314 * text.C (transformChar):
8316 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8319 * font.C (width): rewrite to use uppercase() instead of
8322 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8324 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8326 * lyxfind.C: clean up of find failure position change
8328 2001-12-20 Juergen Vigna <jug@sad.it>
8330 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8332 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8333 (TeXRow): added to LaTeX a single tabular row.
8334 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8335 (Latex): simplified and finally good LT-h/f support.
8336 (various_functions): just small adaptions for LT-h/f support.
8338 * tabular_funcs.[hC]: added and moved here all not classfunctions
8341 2001-12-19 Juergen Vigna <jug@sad.it>
8343 * tabular.[Ch]: better support for longtabular options (not finished
8346 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * text.C (paintLastRow): use the label font instead of the font of
8349 the last character to compute the size of *_BOX. This makes more
8350 sense and avoids a crash with empty paragraphs.
8351 Use Painter::rectangle to draw EMPTY_BOX.
8353 2001-12-19 Juergen Vigna <jug@sad.it>
8355 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8356 the paragraphs if the replaced paragraph is not the first one!
8357 Tried to delete not used paragraphs but does not work yet so for
8358 now it's inside #ifdef's and by default off!
8360 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * MenuBackend.C: include "lyx_main.h" instead of declaring
8363 lastfiles (actually was declared as LastFiles* instead of a
8366 2001-12-17 Juergen Vigna <jug@sad.it>
8368 * tabular.C (AppendColumn): applied John's fix
8370 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8374 * BufferView_pimpl.h:
8375 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8378 * box.h: new start of class for above
8380 * lyxfunc.C: ignore space-only minibuffer dispatches.
8381 Show the command name when it doesn't exist
8383 * minibuffer.C: don't add empty lines to the history
8385 * minibuffer.C: add a space on dropdown completion
8387 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8389 * text.C: fix line above/below drawing in insets
8391 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8393 * lyxlength.C (LyXLength): Initialize private variables.
8395 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8398 when inserting error insets.
8400 2001-12-13 Juergen Vigna <jug@sad.it>
8402 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8403 actually sometimes the before-paragraph.
8404 (setUndo): don't clear the redostack if we're not actually undoing!
8406 2001-12-06 Juergen Vigna <jug@sad.it>
8408 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8409 and fixed redoing of main paragraph, so we can use it now ;)
8411 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8413 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8415 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8418 2001-12-13 André Pönitz <poenitz@gmx.net>
8421 * undo_func.C: minor cleanup
8423 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8426 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8427 font in urw-fonts package which is marked as -urw-fontspecific and
8428 does not work (incidentally, changing the encoding in the
8429 fonts.dir of this package to -adobe-fontspecific fixes the
8432 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8433 is a crash when undoing first paragraph (Juergen, please take a
8434 look). THis does not mean the undo fix is wrong, just that it
8437 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8438 the (Paragraph*) version when needed instead of duplicating the
8441 * text.C (workWidth): use Inset::parOwner to find out where the
8442 inset has been inserted. This is a huge performance gain for large
8443 documents with lots of insets. If Inset::parOwner is not set, fall
8444 back on the brute force method
8446 * paragraph_pimpl.C (insertInset):
8447 * paragraph.C (Paragraph):
8448 (cutIntoMinibuffer): set parOwner of insets when
8449 inserting/removing them
8451 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8453 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8459 * mathed/formulabase.C:
8460 * mathed/math_cursor.[Ch]:
8461 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8464 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8466 * lyxlength.[Ch] (operator!=): new function
8468 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8470 * text.C (workWidth): use Inset::parOwner to find out where the
8471 inset has been inserted. This is a huge performance gain for large
8472 documents with lots of insets. If Inset::parOwner is not set, fall
8473 back on the brute force method
8475 * paragraph_pimpl.C (insertInset):
8476 * paragraph.C (Paragraph):
8477 (cutIntoMinibuffer): set parOwner of insets when
8478 inserting/removing them
8480 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8482 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8484 * tabular-old.C (getTokenValue):
8485 * tabular.C (getTokenValue):
8486 (write_attribute): new versions for LyXLength
8487 (everywhere): adjust the use of widths
8489 * tabular.h: change the type of widths from string to LyXLength
8491 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8493 * paragraph.C: fixed missing line number count when exporting
8494 Environments to LaTeX file
8496 * buffer.C: added informational message for checking line numbers.
8498 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8500 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8501 paragraph, do the 'double space' part, but not the 'empty
8504 * text.C (workWidth): small optimization
8505 (getLengthMarkerHeight): use minimal size for negative lengths.
8507 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8509 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8511 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8513 2001-12-11 André Pönitz <poenitz@gmx.net>
8516 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8518 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8520 * text2.C: keep selection on a setFont()
8522 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8524 * lyx_cb.C: another bv->text misuse, from insert label
8526 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8529 * kbsequence.C: re-instate nmodifier mask
8531 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8533 * lyx_main.h: make lyxGUI private.
8535 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8537 * lyxfind.C: place the cursor correctly on failed search
8539 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8541 * text.C (getLengthMarkerHeight): for small heights, the arrows
8542 are not always on top/bottom of the text
8543 (drawLengthMarker): smaller arrows; take the left margin in
8544 account; draw also vfills.
8546 (paintLastRow): remove special code for vfill and standard spaces,
8547 since everything is handled in drawLengthMarker now.
8549 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8551 * buffer.C (insertErtContents): try to handle font and language
8552 interaction a bit better.g
8554 * ColorHandler.C (updateColor): change the hash to cover the whole
8555 LColor enum, ws cleanup
8556 (getGCLinepars): ditto
8557 (getGCLinepars): only lookup in the linecache once.
8559 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8561 * iterators.C (operator++): Make the iterator more robust
8563 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8565 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8567 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8570 * text.C: better added space drawing
8572 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8575 * BufferView2.C: fix layout combo update on inset unlock
8577 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8579 * Makefile.am: don't compile unused files
8581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8585 * LyXAction.C: remove old LFUN_LAYOUTNO
8587 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8589 * paragraph_pimpl.h:
8590 * paragraph_pimpl.C: isTextAt() doesn't need font param
8592 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8595 * lyxlex.C: little cleanup
8597 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8599 * BufferView_pimpl.C: fix insertAscii for insets
8601 2001-12-05 Juergen Vigna <jug@sad.it>
8603 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8604 set the right font on the "multi" paragraph paste!
8606 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * lyxlength.C: remove out-commented code.
8628 * vc-backend.C: change "while(" to "while ("
8630 * lyxlength.[Ch]: add zero function to check if length is zero or
8632 * lyxgluelength.C: use it
8634 2001-12-05 Allan Rae <rae@lyx.org>
8636 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8637 Works for 2.95.3, from what I understand of Garst's reports this should
8638 work for other g++ versions. We're screwed if the abs(int) definition
8639 changed between bugfix releases of gcc.
8641 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8643 * text.C: fix chapter label offset !
8645 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8648 * text.C: fix hfill at end of line, clean up
8650 2001-12-04 Juergen Vigna <jug@sad.it>
8652 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8653 that we force an update of the inset and it's owners if neccessary.
8655 2001-12-03 Juergen Vigna <jug@sad.it>
8657 * text.C (rowLast): simplified code
8659 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8661 * lyxfunc.C: fix show options on timeout
8663 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8665 * screen.C (topCursorVisible): scroll half a page when the cursor
8666 reached top of bottom of screen
8668 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8670 * minibuffer.C: deactivate on loss of focus
8672 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * vspace.[Ch] (operator!=): add operator.
8676 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8678 * BufferView_pimpl.C: refuse to open an inset when
8679 there's a selection.
8681 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8683 * BufferView_pimpl.C: allow to click on RHS of full row insets
8685 2001-11-30 Juergen Vigna <jug@sad.it>
8687 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8688 insets for undo reasons.
8690 2001-11-28 André Pönitz <poenitz@gmx.net>
8692 * vspace.[Ch]: cosmetical changes
8694 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8704 * kbsequence.C: part re-write of old kb code
8707 * WorkArea.C: remove Lgb_bug_find_hack
8709 2001-11-30 José Matos <jamatos@fep.up.pt>
8711 * buffer.C (makeDocBookFile): add a comment to point a hack.
8712 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8713 Fixed a double write of labels.
8715 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8718 * LaTeX.h Fixed bug in LaTeX class where it would not
8719 re-run latex if no depfiles were changed, but the .dvi was removed.
8721 2001-11-28 André Pönitz <poenitz@gmx.net>
8723 * all the files from the change on 2001/11/26:
8724 use lyx::layout_type instead of LyXTextClass::size_type
8725 use lyx::textclass_type instead of LyXTextClassList::size_type
8727 2001-11-29 Juergen Vigna <jug@sad.it>
8729 * text.C: added support for paragraph::isFreeSpacing()
8731 * buffer.C: same as above
8733 * paragraph.h: inserted isFreeSpacing() function to enable
8734 FreeSpacing inside InsetERT.
8736 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8737 of the paragraph's in the cut/copy buffer to 0!
8739 * text2.C (removeRow): remove the assert as it can!
8741 * lyxtext.h: added helper function firstRow returning firstrow and
8742 made firstrow private again.
8744 * BufferView2.C (lockInset): don't relock if we're already locked!
8746 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8748 (removeRow): added Assert::(firstrow)
8750 * debug.C: forgot to add INSETTEXT here.
8752 2001-11-28 Juergen Vigna <jug@sad.it>
8754 * sp_spell.C (initialize): changed error text to more general
8755 spellchecker command use (not only ispell!)
8757 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8759 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8761 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8763 * vspace.C: initialise lyxgluelength on failure
8765 2001-11-28 Allan Rae <rae@lyx.org>
8767 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8768 declaration & definition that looks like a function declaration.
8770 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * BufferView2.C (copy):
8773 (copyEnvironment): do not clear the selection when doing a copy.
8775 * text.C (paintFirstRow): compilation fix
8777 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8779 * tabular.C (Latex): correct line count when writing latex.
8781 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8783 * paragraph_pimpl.h:
8784 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8787 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8791 * LColor.C: change vfillline->added_space
8793 * text.C: add markers and text for added space
8795 * vspace.C: fix comment
8797 2001-11-28 André Pönitz <poenitz@gmx.net>
8799 * paragraph.C: whitespace changes
8800 * all the other files from the change on 2001/11/26:
8801 change *::pos_type into lyx::pos_type
8803 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8805 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8806 language of the document when inserting error insets.
8808 2001-11-26 André Pönitz <poenitz@gmx.net>
8810 * BufferView_pimpl.[Ch]:
8818 * paragraph_pimpl.[Ch]:
8821 * text2.C: reduce header dependencies, introduce type for positions
8823 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8825 * <various>: change to use Alert.h
8827 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8829 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8830 when encountering an unknown token.
8831 (readLyXformat2): Show an error message if there were unknown tokens.
8833 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8836 * BufferView_pimpl.C:
8840 * text2.C: use par->isInset()
8842 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8844 * paragraph_pimpl.h:
8845 * paragraph_pimpl.C: cleanup
8847 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8849 * text2.C (removeRow):
8850 * text.C (setHeightOfRow): remove useless (and costly) call to
8853 2001-11-20 Allan Rae <rae@lyx.org>
8855 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8856 Now need Inset*::checkInsertChar() to return true for appropriate
8857 cases so that the characters in the minibuffer will actually be
8860 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * text.C: change the order of the includes.
8863 (workWidth): initialize it at once.
8864 (workWidth): make maxw unsigned
8865 (setHeightOfRow): remove unused variable (inset)
8866 (selectSelectedWord): remove unused variable (inset)
8867 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8869 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8872 server is not running.
8874 (closeConnection): add debug info when server is disabled.
8876 * ColorHandler.C (getGCForeground): send debug message to GUI
8879 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8881 * kbmap.C (bind): modify because return conventions of
8882 kb_sequence::parse have changed.
8884 * kbsequence.C (parse): only ignore spaces and not any stupid
8885 control character. This avoids tests like s[i] <= ' ', which are
8886 guaranteed to fail with 8bit characters and signed chars.
8887 Change return code to string::npos when there have been no error
8888 (0 was a bad idea when error is at first character)
8890 2001-11-14 José Matos <jamatos@fep.up.pt>
8893 * buffer.C (simpleDocBookOnePar): removed unused argument.
8895 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8897 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8898 insets which are part of a word. Paragraph::isLetter takes care of
8899 that now. Use Paragraph::isInset to identify insets.
8900 (selectSelectedWord): do not test for hyphenation break.
8902 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8903 that protected spaces are considered as spaces.
8905 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8908 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8911 * lyxserver.C: fix it. and small cleanup.
8913 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8915 * BufferView_pimpl.C: use inline helpers
8918 * LaTeXFeatures.C: fix typos
8921 * Spacing.C: move spacing_string into class
8923 * ToolbarDefaults.C: move stuff into namespace anon
8925 * layout.h: update enum
8927 * lyxfunc.C: use better debug
8929 * minibuffer.h: fix typo
8933 * WorkArea.C: add and use Debug::WORKAREA
8937 * text2.C: code re-organisation, inline helpers
8939 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8941 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8942 std::vector.empty().
8944 2001-11-09 Allan Rae <rae@lyx.org>
8946 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8947 '\n's after tables. Tabular and ERT inset work now makes this no
8950 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8953 * minibuffer.C: fix crash, improve drop-down completion
8955 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8958 * lyxserver.C: invalidate fd's when doing endPipe()
8960 2001-11-08 José Matos <jamatos@fep.up.pt>
8962 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8963 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8966 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8968 2001-11-07 José Matos <jamatos@fep.up.pt>
8971 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8974 * buffer.C (sgmlOpenTag):
8975 * buffer.C (sgmlCloseTag): removed debug info.
8977 * buffer.h (sgmlOpenTag):
8978 * buffer.h (sgmlCloseTag): made public.
8980 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8982 * buffer.C (saveParamsAsDefaults):
8983 * lyx_cb.C (MenuLayoutSave): remove
8985 * LyXAction.C (init):
8987 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8989 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8991 * buffer.C (setPaperStuff): removed from here...
8993 * bufferparams.C (setPaperStuff): ... and moved there.
8995 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8999 * XFormsView.C: add support for drop-down completion
9001 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9003 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9006 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9008 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9011 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9013 * lyx_main.C: change ref to known bugs
9015 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9017 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9018 to work around older babel problems.
9020 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9022 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9024 2001-10-24 Juergen Vigna <jug@sad.it>
9026 * tabular-old.C (ReadOld): below variable changes reflected.
9028 * tabular.[Ch]: added ltType struct for longtable header/footer
9029 defines and changed all instances where they are used. Added
9030 future support for double top/bottom rows.
9032 2001-10-24 José Matos <jamatos@fep.up.pt>
9034 * buffer.h (docbookHandleCaption):
9035 * buffer.C (docbookHandleCaption): removed unused function.
9036 (makeDocBookFile): moved docbook supported version to v4.1.
9038 2001-10-24 José Matos <jamatos@fep.up.pt>
9041 * tabular.C (docbookRow): new function to export docbook code of a row.
9042 (DocBook): now honors the longtable flags.
9044 2001-10-23 José Matos <jamatos@fep.up.pt>
9047 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9048 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9050 * buffer.C (makeLinuxDocFile):
9051 (makeDocBookFile): reworked the preamble, more clean, and with
9052 support for lyx defined entities. Changed the document declaration
9053 to be more XML friendly.
9055 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9056 if we need to output XML that should be done with a filter.
9058 2001-10-22 Juergen Vigna <jug@sad.it>
9060 * sp_pspell.h (class PSpell): add alive function needed in the
9061 controller to see if the spellchecker could be started.
9063 2001-10-22 Juergen Vigna <jug@sad.it>
9065 * buffer.C (insertStringAsLines): modify the font for inserting
9066 chars in certain conditions by calling checkInsertChar(font).
9068 2001-10-19 Juergen Vigna <jug@sad.it>
9070 * text.C (workWidth): use getRow instead of wrong algorithm.
9071 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9073 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9078 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9080 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9082 * text.C (workWidth): do not search for the exact row when
9083 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9084 optimization for big documents.
9086 2001-10-18 Juergen Vigna <jug@sad.it>
9088 * text.C (workWidth): new function with added Inset * parameter.
9090 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9092 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9094 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9095 change return type of getColumnNearX.
9098 * text.C (changeRegionCase): use uppercase/lowercase instead of
9101 (rightMargin): simplify code by factoring out the uses of
9106 (appendParagraph): use Paragraph::size_type
9108 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * vspace.C (asLatexString): add a missing break
9112 2001-10-15 Herbert Voss <voss@perce.de>
9114 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9116 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9118 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9121 2001-10-10 André Pönitz <poenitz@gmx.net>
9123 * lyxfunc.C: removed greek_kb_flag.
9125 2001-10-10 Herbert Voss <voss@perce.de>
9127 * lyx_main.C: delete global string help_lyxdir.
9129 2001-10-09 Herbert Voss <voss@perce.de>
9131 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9133 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9135 * lyx_main.C: added global string help_lyxdir.
9137 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9139 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9141 * lyxrc.C (set_font_norm_type): support iso8859-4
9143 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9145 * LaTeX.C (deplog): add another regex for MikTeX
9147 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9149 * lyxrc.C (set_font_norm_type): support iso8859-3
9151 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9153 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9155 * LaTeXFeatures.C: remove special case of french and index
9157 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9158 before \begin{document}). This solves several incompatibilities.
9160 2001-10-03 Garst Reese <reese@isn.net>
9162 * lyx_cb.C: change CheckTex error msg.
9164 2001-10-03 José Matos <jamatos@fep.up.pt>
9166 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9168 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9170 * .cvsignore: update
9172 * lyx_main.C (commandLineVersionInfo): use new style version info.
9174 * buffer.C (writeFile):
9177 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9179 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9181 * version.h: update to use stuff in version.C
9183 * version.C.in: new file. Contains version information determined
9184 at compile time. This is a merging of version.h and
9187 2001-10-03 Juergen Vigna <jug@sad.it>
9189 * BufferView_pimpl.C (update): don't change "dirty" status in
9192 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9194 * WorkArea.C (c-tor): re-position version string slightly.
9196 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9198 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9199 revert to previous code.
9201 WorkArea.[Ch]: (show, destroySplash): methods removed.
9203 WorkArea.C: rework code so that it's an amalgam of the codes before and
9204 after the splash screen was moved to WorkArea.
9206 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9209 * vspace.C (inPixels):
9212 * buffer.C (insertStringAsLines):
9213 (asciiParagraph): fix types to be large enough
9215 * lyxlex_pimpl.h: change member status from short to int
9217 * layout.h: fix type of endlabeltype
9220 * kbsequence.C (parse): change return type to string::size_type
9222 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9225 * Bullet.C (bulletSize):
9226 (bulletEntry): do not use short ints as parameters
9228 * BufferView2.C (insertLyXFile): change a char to an int.
9230 * WorkArea.C (WorkArea): remove unneeded floats in computation
9232 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9234 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9236 * paragraph.C (asString): Do not ignore newline/hfill chars when
9237 copying to the clipboard.
9239 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9241 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9242 after a multi-line inset.
9244 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9246 * paragraph.C (validate): Set NeedLyXFootnoteCode
9248 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9250 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9251 and decrease-error to decrease.
9253 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9255 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9256 it more readable (should be equivalent)
9258 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9260 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9262 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9265 of a cursor (row, etc.) after a character has been deleted
9266 (deleteEmptyParagraphMechanism): call the method above on _all_
9267 cursors held by the LyXText when a double space has been
9270 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9272 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9274 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9276 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9277 background. Use greyOut() and the new show() methods to toggle between
9278 the foreground and background. Add code to remove the splash after
9279 its initial showing.
9281 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9282 (create_forms): no longer call Dialogs::showSplash.
9284 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9286 * .cvsignore: add version_info.h
9288 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9290 * version_info.h.in: new file
9292 * Makefile.am: add version_info.h.in
9294 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9295 version_info.h instead of VERSION_INFO
9297 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9299 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9300 The ERT inset now returns string().
9302 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9304 * lyxtext.h, text.C (selectNextWord): renamed as
9305 selectNextWordToSpellcheck.
9307 * text.C (selectNextWordToSpellcheck): Modified to not select
9308 words inside an ERT inset.
9310 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * lyx_cb.C (MenuLayoutSave): change a bit the question
9314 * sp_base.h: include <sys/types.h>
9316 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9318 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9320 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9322 * several files: fix typos in user-visible strings
9324 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9326 * text2.C (pasteSelection): do not set the selection, since it
9327 will be cleared later. Actually, the intent was to fix the way the
9328 selection was set, but I figured rmoving the code was just as good.
9330 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9332 * FontLoader.C (available): Check if font is available without
9335 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9337 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9339 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9341 * lyxrc.[Ch]: added display_graphics variable and associated code.
9343 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9345 * bufferparams.C (hasClassDefaults): new method. Returns true if
9346 the buffer parameters correspond to known class defaults
9348 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9350 * XFormsView.C (show): set minimum size to the main window.
9352 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * text2.C (copySelection):
9356 * lyxfind.C (LyXReplace):
9357 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9358 LyXText::selectionAsString.
9360 * paragraph.C (asString): add "label" argument to the second form
9362 * text2.C (selectionAsString): add "label" argument and pass it to
9363 Paragraph::asString.
9365 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9367 * lyx_main.C (commandLineHelp): remove version information
9369 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9371 * lyx_main.C: add -version commandline option
9373 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * paragraph.h: make the optional constructor arg required instead.
9376 some modifications to other files because of this.
9378 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9380 * lyxserver.C (C_LyXComm_callback): make it static
9382 * lyx_main.C (error_handler): make it static
9384 * lyx_gui.C (LyX_XErrHandler): make it static
9386 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9388 * WorkArea.C: make the extern "C" methods static.
9390 * Makefile.am (lyx_LDADD): simplify
9392 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9394 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9395 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9397 * LyXAction.C (init):
9398 * lyxfunc.C (dispatch): associated code removal.
9400 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9402 * lyxfont.h (isSymbolFont): shut off warning
9404 * text.C (setHeightOfRow):
9405 (getVisibleRow): fix crash with empty paragraphs which have a
9408 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9410 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9413 2001-09-04 José Matos <jamatos@fep.up.pt>
9416 * tabular.C (docbook): rename docBook method to docbook.
9418 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9420 * Makefile.am: add dependencies to main.o.
9422 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9424 * FontLoader.C (available): Return false if !lyxrc.use_gui
9426 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9428 * FontInfo.C (query):
9429 * converter.C (view):
9430 * importer.C (Import):
9431 * exporter.C (Export): Can not -> cannot.
9433 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9435 * BufferView_pimpl.C: allow to create index inset even if
9438 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9440 * buffer.C (getLists): replace boost::tie code with an explicit pair
9441 as boost::tie can break some compilers.
9443 * iterators.h: Added a std:: declaration to the return type of
9446 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9448 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9451 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9453 * iterators.[Ch]: New files. Provide paragraph iterators.
9455 * buffer.C (changeLanguage): Use paragraph iterators.
9456 (isMultiLingual): ditto
9458 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9460 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9462 * FontLoader.C: Support for cmr font.
9464 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9466 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9467 (available): New method.
9469 * FontInfo.C (getFontname): Use scalable fonts even when
9470 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9473 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9475 * converter.C (Formats::view): reverted! Incorrect fix.
9477 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9479 * converter.C (Formats::view): only output the -paper option
9480 if the dvi viewer is xdvi, thereby fixing bug #233429.
9482 2001-08-23 Herbert Voss <voss@perce>
9484 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9486 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9488 * Spacing.h (Spacing): Set space to Default on in the default
9491 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * vc-backend.h (RCS::versionString): add RCS to version
9494 (CVS::versionString): add CVS to version
9496 * vc-backend.C (scanMaster): do not add CVS to version.
9497 (scanMaster): do not add RCS to version
9499 * lyxvc.C (versionString): new method
9501 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9503 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9505 * Spacing.C (set): initialize fval
9507 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9509 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9512 2001-08-16 Juergen Vigna <jug@sad.it>
9514 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9516 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9518 * BufferView_pimpl.C:
9521 * text2.C: setParagraph takes linespacing now
9523 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9525 * LyxAction.C: add internal LFUN_CITATION_INSERT
9527 * LyXView.C: actually apply fix
9529 * bufferlist.C: fix open non-existent file
9531 * lyxfind.C: fix indentation
9533 * lyxfunc.C: remove unneeded assert, fix typo
9535 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9537 * MenuBackend.C: use "Floatname List"
9539 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9541 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9542 when converting LaTeX layout to insetERT.
9543 Generate a non-collapsed float when reading old float
9545 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9547 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9550 2001-08-13 Juergen Vigna <jug@sad.it>
9552 * text.C (fill): return 0 instead of 20 as this seems to be the more
9555 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9557 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9560 2001-08-13 Juergen Vigna <jug@sad.it>
9562 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9564 (SearchBackward): comment out the unlocking of the inset_owner this
9565 should not be needed!
9567 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9569 * Many files: Remove inherit_language, and add latex_language
9571 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9574 2001-08-10 Juergen Vigna <jug@sad.it>
9576 * text.C (prepareToPrint): fixed hfill-width in draw!
9578 * BufferView2.C (selectLastWord): save the selection cursor as this
9579 now is cleared in the function LyXText::clearSelection!
9581 2001-08-08 Juergen Vigna <jug@sad.it>
9583 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9584 BACKSPACE type functions.
9586 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9587 is only cutted from the document but not put in the cut-buffer, where
9588 still the old stuff should be.
9590 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9592 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9594 * tabular.C (SetWidthOfCell): fixed special case where the width
9596 (LeftLine): handle '|' in align_special.
9598 (LeftAlreadyDrawed): ditto
9599 (SetWidthOfCell): ditto
9601 2001-08-07 Juergen Vigna <jug@sad.it>
9603 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9605 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9608 * lyxlex.[hC]: ditto
9610 2001-08-06 Juergen Vigna <jug@sad.it>
9612 * text.C (getVisibleRow): fix up row clearing a bit.
9614 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * minibuffer.C: make sure the X server sees the changes in the input.
9618 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * paragraph.C (getFont): split into...
9621 (getLabelFont): this
9622 (getLayoutFont): and this
9623 * paragraph_pimpl.C (realizeFont): calling this
9625 * text2.C (getFont): split into...
9626 (getLayoutFont): this
9627 (getLabelFont): and this
9628 (realizeFont): all three calling this
9630 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9633 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9635 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9637 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9639 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9640 layouts from the Quote inset insertion.
9642 2001-08-03 Juergen Vigna <jug@sad.it>
9644 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9646 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9647 only if status not is already CHANGED_IN_DRAW (second level).
9649 * text.C (draw): don't set the need_break_row when inside an
9652 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * buffer.C (parseSingleLyXformat2Token): handle more latex
9657 * bufferview_funcs.[hC]: change function names to
9658 begin with small char, adjust other files.
9660 2001-08-02 André Pönitz <poenitz@gmx.net>
9663 BufferView_pimpl.C: remove broken special code for math-greek
9665 2001-08-02 Juergen Vigna <jug@sad.it>
9667 * BufferView_pimpl.C (update): redone this function so that we
9668 update the text again if there was a CHANGE_IN_DRAW.
9670 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9671 (drawFromTo): added a new internal bool which is used by draw() and
9673 (general): some cursor drawing problems fixed.
9675 2001-08-01 Juergen Vigna <jug@sad.it>
9677 * lyxfind.C (LyXFind): fixed
9678 (SearchForward): ditto
9679 (SearchBackward): ditto
9681 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9682 spurius drawing of the cursor in the main area.
9684 * text2.C (status): small fix which could lead to a segfault!
9685 (clearSelection): remove unneeded BufferView param.
9687 2001-08-01 André Pönitz <poenitz@gmx.net>
9689 * lyxfunc.C: small change due to changed mathed interface
9691 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9693 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9695 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9697 * lyxfunc.c: fail gracefully if file doesn't exist
9702 * BufferView_pimpl.C: IsDirWriteable() proto changed
9704 * LyXView.C: fix updateWindowTitle() to store the last title
9706 2001-07-31 Juergen Vigna <jug@sad.it>
9708 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9709 the font (wrong since using of Paragraph::highestFontInRange).
9711 * paragraph.C (highestFontInRange): added a default_size parameter.
9713 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9714 (setHeightOfRow): reformat
9716 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9718 * converter.[hC] + affected files: move to (inital-char)lowercase
9721 * ParagraphParameters.C (ParagraphParameters): remove commented code
9723 * PainterBase.[Ch]: remove commented code
9725 * LaTeXFeatures.h: add "bool floats" for float.sty
9727 * LaTeXFeatures.C (LaTeXFeatures): init floats
9728 (require): handle float
9729 (getPackages): do it with floats
9731 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * BufferView_pimpl.C (Dispatch): improve handling of
9734 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9736 * commandtags.h: #include lyxfont.h here temporarily to avoid
9739 * bufferlist.h: include LString.h here.
9741 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9743 * text2.C (getStringToIndex): new method.
9745 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9747 * *: Reduced header file dependencies all over.
9749 2001-07-30 Baruch Even <baruch@lyx.org>
9751 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9753 2001-07-29 Baruch Even <baruch@lyx.org>
9755 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9757 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * ParameterStruct.h (endif): add a default constructor to make
9760 sure that all variables is initialized.
9762 * ParagraphParameters.C (ParagraphParameters): adjust
9764 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9766 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9767 index; also, check that there is something to index, and that it
9768 does not span over several paragraphs.
9769 (doubleClick): use WHOLE_WORD_STRICT for double click.
9771 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9773 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9776 2001-07-26 Baruch Even <baruch@lyx.org>
9778 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9779 an InsetFig figure, backwards compatible reading of old figure code.
9781 2001-07-27 Juergen Vigna <jug@sad.it>
9783 * text2.C: font.realize function adaption.
9785 * text.C (draw): add a warnings lyxerr text if needed.
9787 * layout.C: font.realize function adaption.
9789 * language.C: add inherit_language and implement it's handlings
9791 * bufferview_funcs.C (StyleReset): remove language parameter from
9792 font creation (should be language_inherit now).
9794 * bufferparams.C (writeFile): handle ignore_language.
9796 * paragraph.C (getFontSettings): the language has to be resolved
9797 otherwise we have problems in LyXFont!
9799 * lyxfont.C (lyxWriteChanges): added document_language parameter
9800 (update): removed unneeded language parameter
9802 * paragraph.C (validate): fixed wrong output of color-package when
9803 using interface colors for certain fonts in certain environments,
9804 which should not seen as that on the final output.
9806 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9808 * BufferView_pimpl.C:
9813 * LyXAction.C: add thesaurus support
9816 * lyxfind.C: add "once" parameter, for thesaurus, to not
9817 move to the next match
9819 2001-07-26 Juergen Vigna <jug@sad.it>
9821 * lyxfont.C (realize): honor ignore_language too!
9824 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9826 * text.C (draw): one place more for ignore_language to not draw
9829 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9831 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9833 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9836 the minipage conversion problem.
9838 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9843 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * BufferView.h: don't forward declare WorkArea
9847 * BufferView.C: don't include WorkArea.h
9849 2001-07-25 André Pönitz <poenitz@gmx.net>
9853 * lyxfunc.C: new LFUN 'math-space'
9855 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9857 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * text2.C (toggleInset): call open/close
9861 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * lyxfunc.C (dispatch): add debug for the disabled case
9865 * font.C (buttonText): make similar to rectText
9867 * buffer.C (readInset): comment out parsing of insetlist and
9870 * PainterBase.C (rectText): small correction
9872 * BufferView_pimpl.C: comment out insettheorem and insetlist
9873 * LyXAction.C: ditto
9874 * commandtags.h: ditto
9876 2001-07-24 Juergen Vigna <jug@sad.it>
9878 * text.C (draw): honor the ignore_language.
9880 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9882 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9884 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9887 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9889 * lyxtext.h: remove unused (and unimplemented) methods
9891 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9893 * text.C (getVisibleRow): honor background color
9896 * Painter.h: remove default color argument for fillRectangle
9898 * text.C (backgroundColor): new method
9900 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * text.C (getVisibleRow): adjust
9904 * font.[Ch] (rectText): new method, metrics
9905 (buttonText): new method, metrics
9907 * PainterBase.[hC]: make rectText and buttonText always draw and take
9910 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9912 * ToolbarDefaults.C (read):
9913 * MenuBackend.C (read): allow escaping in all strings
9915 * BufferView_pimpl.C (insertAndEditInset): new method.
9916 (Dispatch): use insertAndEditInset whenever appropriate.
9918 * BufferView_pimpl.C (insertNote): removed
9920 * BufferView_pimpl.C (smartQuote): new method, moved from
9921 BufferView; if an insetquote cannot be inserted, insert a '"'
9924 * BufferView2.C: remove insertCorrectQuote();
9926 * lyxfunc.C (getStatus): Add support for all remaingin
9929 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9931 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9932 command (necessary to pass " as parameter of self-insert.
9934 * text.C (selectWordWhenUnderCursor):
9935 (selectWord): add word_location parameter
9936 (selectWordWhenUnderCursor): same + remove special code for word
9938 (selectNextWord): use kind() to guess type of insetspecialchar,
9941 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9942 (insertErtContents): create ert insets as collapsed.
9943 (readInset): better compatibility code for Info inset.
9945 2001-07-20 Juergen Vigna <jug@sad.it>
9947 * lyxfunc.C (dispatch): use always LyXFind now!
9949 * text2.C (init): add a reinit flag so that the LyXText can be
9950 reinited instead of deleted and reallocated (used in InsetText).
9952 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9958 2001-07-18 Juergen Vigna <jug@sad.it>
9960 * text.C (selectNextWord): handle insets inside inset by calling
9961 always the bv->text functions so that we can go up the_locking_inset!
9963 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9964 in strange locations when inside an inset!
9966 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9967 handling to include insets.
9969 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9971 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9973 * LyXAction.C (init):
9975 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9976 LIGATURE_BREAK, since the name is so stupid.
9978 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9980 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9983 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9985 * sp_form.[Ch]: remove.
9987 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9989 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9992 * src/buffer.C (readInset): ditto.
9994 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9996 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9997 menuSeparator(), endOfSentenceDot(), ldots() and
9998 hyphenationPoint(), which are therefore removed.
9999 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10001 * LyXAction.C (init):
10002 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10004 * paragraph.C (getWord): removed.
10006 * BufferView_pimpl.C (Dispatch): use last word or selection for
10007 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10009 * lyx_main.C (queryUserLyXDir): do not ask before creating
10010 user_dir, except if it has been named explicitely.
10012 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10014 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10015 a document of zero size.
10017 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10019 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10020 approriately in the c-tor and in require().
10021 (getPackages): output the appropriate LaTeX for natbib support.
10023 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10024 variables "use_natbib" and "use_numerical_citations" when reading the
10026 (readInset): read the various natbib cite commands.
10027 (validate): white-space change.
10029 * bufferparams.[Ch]: new variables "bool use_natbib" and
10030 "bool use_numerical_citations".
10031 (writeFile): output them in the LyX file.
10033 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10035 * lyxfunc.C (getStatus): add support for all the inset insertion
10038 * text2.C (insertInset):
10039 * paragraph.C (insetAllowed):
10040 * BufferView_pimpl.C (insertInset): update to take in account the
10041 renaming of insertInsetAllowed
10043 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10045 * text2.C (getInset): new method. returns inset at cursor position.
10047 * BufferView_pimpl.C (Dispatch): changes because of this.
10049 * LyXAction.C (init): rename open-stuff to inset-toggle.
10051 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10053 * text2.C (toggleInset): renamed from openStuff; use
10056 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10058 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10060 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10062 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10064 * buffer.C (readLyXformat2): Add filename to the error dialog
10066 2001-07-18 Juergen Vigna <jug@sad.it>
10068 * tabular.C (GetCellNumber): put an assert here instead of the check!
10070 2001-07-17 Juergen Vigna <jug@sad.it>
10072 * BufferView_pimpl.C (toggleSelection): adapted too.
10074 * text.C (selectNextWord): adapted for use with insets.
10075 (selectSelectedWord): ditto
10077 2001-07-17 Juergen Vigna <jug@sad.it>
10079 * sp_spell.C (PSpell): fix initialitation order.
10081 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * paragraph.C: spacing
10085 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10087 * sp_spell.C: repair language selection for pspell
10089 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * lyxfunc.h: change more methods to begin with lower char.
10093 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10095 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10096 for unknown layouts.
10098 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10100 * buffer.C (readLyXformat2): Generate an error dialog if there are
10103 2001-07-16 Juergen Vigna <jug@sad.it>
10105 * sp_spell.C: always compile ISpell part.
10107 * lyxrc.C: added use_pspell entry and it's handling.
10109 2001-07-13 Juergen Vigna <jug@sad.it>
10111 * sp_spell.C: removed double includes.
10113 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10115 Consistent use of Lsstream.h:
10116 * Lsstream.h: added using std::stringstream for consistencies sake.
10118 * buffer.C: removed using std::stringstream
10120 * lyxfont.C (stateText):
10121 * paragraph.C (asString):
10122 * text.C (selectNextWord, selectSelectedWord):
10123 * text2.C (setCounter):
10124 * vspace.C (asString, asLatexString):
10125 std::ostringstream -> ostringstream.
10127 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10129 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10130 * commandtags.h: add LFUN_HELP_ABOUTLYX
10131 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10133 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10135 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10137 * lyx_gui_misc.C: remove spellchecker
10138 * lyxfunc.C: showSpellchecker
10140 * sp_ispell.h: added
10141 * sp_pspell.h: added
10142 * sp_spell.C: added
10143 * sp_form.[Ch]: removed
10144 * spellchecker.[Ch]: removed
10146 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10148 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10150 (simpleTeXSpecialChars): Simply print the input character without
10151 any special translation if pass_thru is set.
10153 * layout.h: Added bool pass_thru to layout class for being able to
10154 implement pass through of a paragraph for Literate Programming.
10156 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10157 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10158 * layout.C (Read): add "passthru" to list of layout tags and add
10159 code to set the pass_thru boolean when it is read.
10161 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10163 * trans_decl.h: remove allowed from KmodInfo
10165 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10166 remove allowed code
10169 * paragraph_pimpl.C (erase): use boost::prior
10171 * Painter.C (text): use data() instead of c_str() when length is
10173 * WorkArea.C (putClipboard): ditto
10174 * font.h (width): ditto
10176 * BufferView2.C: use it-> instead of (*it). for iterators
10178 * paragraph_pimpl.C: ditto
10179 * paragraph.C: ditto
10180 * minibuffer.C: ditto
10181 * language.C: ditto
10183 * encoding.C: ditto
10184 * counters.C: ditto
10185 * converter.C: ditto
10187 * Variables.C: ditto
10188 * TextCache.C: ditto
10189 * MenuBackend.C: ditto
10190 * LyXAction.C: ditto
10192 * FloatList.C: ditto
10193 * DepTable.C: ditto
10194 * ColorHandler.C (LyXColorHandler): ditto
10196 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10198 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10200 * text2.C (openStuff): reintroduce this method (which had been
10201 nuked in NEW_INSETS frenzy).
10203 * lyxfunc.C (Dispatch): when an action has not been handled, use
10204 its name in the error message, not its number.
10206 * paragraph.C (inInset): change method name to begin with lowercase.
10209 * text2.C: updates because of this.
10211 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * ToolbarDefaults.C (add): add spaces in error message
10215 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10217 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10218 (readLyXformat2): rename return_par to first_par, use lyxlex's
10219 pushToken and remove the manual push handling.
10220 (parseSingleLyXformat2Token): add another ert comp. variable:
10221 in_tabular, rename return_par to first_par. handle newlines better
10223 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10227 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * text2.C (getParFromID): removed
10231 * buffer.C (getParFromID): new method moved form lyxtext.
10232 * BufferView2.C (insertErrors): adjust
10233 (setCursorFromRow): adjust
10234 * BufferView_pimpl.C (restorePosition): adjust
10235 * lyxfunc.C (Dispatch): adjust
10236 * undo_funcs.C (textUndo): adjust
10238 (textHandleUndo): adjust
10239 (textHandleUndo): adjust
10241 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * buffer.C: up' the LYX_FORMAT
10245 * lyxfont.h: turn NO_LATEX on as default
10247 * buffer.C (insertErtContents): new methods of tex style compability.
10248 (parseSingleLyXformat2Token): use it several places.
10249 * tabular.C (OldFormatRead): and here
10251 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10253 * text2.C: remove some commented code.
10256 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10257 * trans.C: changes because of the above.
10259 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10261 * text2.C (setCounter): Fix counters bug with bibliography layout.
10263 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10265 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10266 own member functions
10267 (simpleTeXSpecialChars): ditto
10269 2001-07-06 Juergen Vigna <jug@sad.it>
10271 * a lot of files: changed the access to LyXText::status and the
10272 call of undo-functions.
10274 * undo.[Ch]: added a inset_id to the undo informations.
10276 * undo_funcs.[Ch]: added and moved here all undo functions.
10278 * lyxtext.h: give the status enum a weight, made status_ a private
10279 variable and made accessor functions for it, removed the whole bunch
10280 of undo-functions as they are now in their own file, make some
10281 functions publically available. Added function ownerParagraph with
10284 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10285 made InInset() a const function, added getParFromID() function.
10287 * buffer.[Ch]: added const version for inset_iterator functions,
10288 added getInsetFromID() function.
10290 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10291 changed undo functions for new version.
10293 2001-07-05 Juergen Vigna <jug@sad.it>
10295 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10296 unknow mechanism does not call the proper constructor but only this
10297 one also if I request the other!?
10299 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10303 * text2.C (LyXText): use initialization lists.
10305 * lyxtext.h (Selection): initialize set_ and mark_
10306 (init): remove method
10308 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10310 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10312 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10314 * screen.[Ch]: change method names to begin with lowercase
10316 * BufferView_pimpl.C (updateScrollbar): simplify further and
10317 hopefully make it a bit faster.
10319 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10322 calling directly xforms functions.
10324 * Painter.C (Painter):
10325 * lyx_cb.C (MenuWrite):
10326 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10329 * lyx_gui.C: remove bogus guiruntime extern declaration.
10331 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10333 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10335 (redoDrawingOfParagraph): ditto
10336 (redoParagraphs): ditto
10337 (cutSelection): don't create a object for CutAndPaste use the
10338 static method directly
10339 (pasteSelection): ditto
10341 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10344 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * modifications to some other files because of this.
10348 * Makefile.am (lyx_SOURCES): add XFormsView
10350 * XFormsView.[Ch]: new files
10352 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10353 the main window. Move the gui dependent stuff to XFormsView
10355 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10357 * tabular.C (GetCellInset): update cur_cell also in the row/col
10358 version of this function.
10360 * lyxfunc.C: no need to include figure_form.h here.
10366 * lyxvc.C: no need to include forms.h here.
10368 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10372 * lyxfunc.C (Dispatch):
10374 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10375 constructor argument.
10377 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * paragraph.C (Paragraph): dont't clear, and just set layout.
10380 (makeSameLayout): use params's copy contructor.
10382 * ParagraphParameters.[Ch] (makeSame): delete method
10384 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10386 * Variables.[Ch]: fix indentation, rename set to isSet
10388 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10390 * lyxfunc.C (Dispatch): fix typo
10392 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10394 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10397 * bufferlist.C: include assert.h for emergencyWrite().
10399 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10401 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10402 give up at last (bug #425202) !
10404 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10410 * spellchecker.C: strip spellchecker options and bring up
10411 preferences tab instead
10413 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10416 the istringstream constructor
10418 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10420 * paragraph.C (getLayout): fix return value
10422 * paragraph.h: do not declare getLayout as inline.
10424 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10426 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10428 * lyxcursor.h (operator<): new func
10429 (operator>): new func
10430 (operator>=): new func
10431 (operator<=): new func
10433 * text.C (changeCase): use selection.start and selection.end
10434 (changeRegionCase): require from to be <= to. Require par to be a
10437 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10439 2001-06-27 Juergen Vigna <jug@sad.it>
10441 * text.C (cursorLeftOneWord): changed to return the cursor and added
10442 overlay with BufferView * parameter which calls this one.
10444 (selectWord): use new getWord function.
10445 (changeCase): renamed from changeWordCase as and extended to work
10446 also on selections.
10448 * lyxtext.h: added enum word_location
10450 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10451 changeCase as this operates now also on selections.
10453 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10455 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10457 * many files: send debug output to Debug::INFO instead of
10460 * converter.C (View):
10462 (Move): send debug output to Debug::FILES instead of console.
10464 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10466 * lyxfunc.C (getStatus): use func_status
10468 * func_status.h: new header, describing the results of
10469 LyXFunc::getStatus;
10471 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10474 2001-06-25 The LyX Project <jug@sad.it>
10476 * buffer.C (sgmlOpenTag):
10478 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10480 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10482 * text2.C: remove some dead code
10484 * tabular.C (GetCellInset): store the last cell checked (gotten)
10486 * tabular.h: add the helper for the speedup
10488 * lyxtext.h: remove some dead code
10490 2001-06-26 The LyX Project <Asger>
10492 * paragraph.C: Change export to LaTeX of alignment to
10493 \begin{center} and family for better roundtrip work with reLyX.
10495 * Tune the math drawing a bit.
10497 2001-06-25 The LyX Project <Asger>
10499 * LColor.C (LColor): New color for math background. New color
10502 2001-06-25 The LyX Project <jug@sad.it>
10504 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10506 * lyxfunc.C (Open):
10507 * bufferlist.C (newFile): do not restrict to files ending with
10510 * BufferView_pimpl.C (MenuInsertLyXFile):
10512 2001-06-24 The LyX Project <jug@sad.it>
10514 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10517 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * lyxtext.h: rename most methods to begin with a small char.
10520 Lots of changes because of this.
10522 * paragraph.C (Paragraph): do not call fitToSize
10523 (erase): call Pimpl::erase
10524 (insertChar): call Pimpl::insertChar
10525 (insertInset): call Pipl::insertInset
10526 (breakParagraph): do not call fitToSize
10527 (breakParagraphConservative): do not call fitToSize
10528 (fitToSize): remove method
10530 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10532 2001-06-24 The LyX Project <Asger>
10534 * Fix Qt compilation^2
10536 2001-06-24 The LyX Project <jug@sad.it>
10538 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10539 depthHook(getDepth()-1).
10542 * ParagraphParameters.h:
10543 * ParameterStruct.h: change type of depth to unsigned int ==
10544 depth_type. Many adaptations to other files before of that.
10546 2001-06-24 The LyX Project <Asger>
10548 * Fix Qt compilation.
10550 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10552 * paragraph.h: renamed several methods to begin with small letter.
10553 several changes to many parts of the code because of this.
10555 2001-06-23 The LyX Project <jug@sad.it>
10557 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10558 rewritten to discard all double spaces when KeepEmpty is off
10559 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10560 to only handle newlines but not fiddle with spaces and friends.
10562 * lyxfunc.C (MenuNew): when doing 'new from template', use
10563 template_path as default directory
10565 2001-06-23 The LyX Project <Asger>
10567 * Clean-up of header file includes all over
10568 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10570 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10572 * paragraph.h: renamed from lyxparagraph.h
10574 2001-06-23 Asger <lyx@violet.home.sad.it>
10576 * Buffer.h: Removed Buffer::resize
10577 * BufferList.h: Removed BufferList::resize
10578 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10579 the document lazily when we change the width, or the font settings.
10581 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10583 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10585 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10587 * buffer.h: remove out of date comment
10589 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10592 * screen.C: fix "theoretical" GC leak
10594 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * LaTeX.C (scanAuxFile):
10597 (deplog): remove trailing \r when reading stream (useful under
10600 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10602 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10603 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10604 and BufferView::theLockingInset(Inset*), so should use them and not
10605 access bv_->text->the_locking_inset directly.
10607 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10609 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10612 * tex-defs.h: remove old unused file
10614 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView_pimpl.C: fix typo, remove minibuffer message
10617 when buffer has loaded
10619 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * lyxfunc.C (Dispatch): use stringstream
10622 (MenuNew): use stringstream
10623 (Open): use stringstream
10625 * importer.C (Import): use stringstream
10627 * bufferview_funcs.C (CurrentState): use stringstream
10629 * LaTeX.C (run): use stringstream
10631 * BufferView_pimpl.C (savePosition): use stringstream
10632 (restorePosition): use stringstream
10633 (MenuInsertLyXFile): use stringstream
10635 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10648 * vspace.C: removed // -*- C++ -*- as first line.
10651 * version.h: added // -*- C++ -*- as first line.
10653 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10657 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10660 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10665 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10667 * gettext.C: include LString.h even when --disable-nls is on.
10669 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10671 * converter.h (Get): changed argument type from int to
10672 FormatList::size_type to avoid unnecessary conversion.
10674 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10677 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10679 * gettext.h: include LString.h even when --disable-nls is on.
10681 2001-06-07 Juergen Vigna <jug@sad.it>
10683 * text.C (BreakAgain): subst spaces with tabs.
10685 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10686 (resizeInsetsLyXText): set force on resizeLyXText.
10688 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * gettext.h (gettext_init):
10691 (locale_init): use a real definition instead of a macro
10693 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10695 * Bufferview_pimpl.C:
10697 * LColor.C: further lcolor tidies
10699 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * BufferView_pimpl.C (updateScrollbar): simplify.
10703 * BufferView2.C: don't include insets/insetinfo.h, change
10704 prototype for insertInset and call the Pimpl version. let
10705 updateInset call Pimpl version.
10707 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10708 gotoInset to BufferView::Pimpl
10710 2001-06-01 Juergen Vigna <jug@sad.it>
10712 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10713 inside a LockingInset (is the update needed at all?).
10715 2001-05-31 Juergen Vigna <jug@sad.it>
10717 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10718 here not the old one otherwise how should we compare it afterwards
10721 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10726 * FontInfo.C: bring C functions into global namespace when
10729 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10731 * LString.h: make sure config.h has been loaded before LString.h.
10733 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10734 (one for each char read by EatLine!).
10736 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10739 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10741 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10742 to the same as the par we break from
10744 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10748 * MenuBackend.C (expand): also create menu entries for wide
10749 versions of the floats.
10751 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10753 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10755 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10756 frontends/Makefile.am
10762 * tabular.C (getTokenValue): add std::
10764 * tabular-old.C (getTokenValue): add std::
10765 (getTokenValue): ditto
10766 (getTokenValue): ditto
10768 * screen.C (ToggleSelection): adjust
10770 * lyxtext.h: put selection cursors inside a Selection struct.
10772 * lyxfunc.C (moveCursorUpdate): adjust
10774 * lyxfont.C (latexWriteStartChanges): add std::
10776 * lyxfind.C: adjust
10778 * font.h: delete with(char const *, LyXFont const &)
10780 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10782 * FontInfo.C (getFontname): add std::
10784 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10785 (workAreaButtonPress): adjust
10786 (tripleClick): adjust
10788 (moveCursorUpdate): adjust
10791 * BufferView2.C (gotoInset): adjust
10793 2001-05-30 Juergen Vigna <jug@sad.it>
10795 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10796 to check pspell I add this as default as I now have new pspell
10797 libraries and they seem to use this.
10799 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10801 * text2.C (CutSelection): make the cursor valid before the call to
10804 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10807 relied on 0 terminated strings and other horrors. Bug found due to
10808 the new assert in lyxstring!
10810 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10813 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10818 * lyxfunc.C (processKeySym): change method of getting to the
10821 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10822 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10823 * BufferView_pimpl.[Ch]: here as private methods.
10825 2001-05-28 Juergen Vigna <jug@sad.it>
10827 * text.C (SetHeightOfRow): added the update() call again as it is
10828 needed to initialize inset dimensions!
10830 2001-05-16 Juergen Vigna <jug@sad.it>
10832 * text2.C (SetCharFont): Add new function with BufferView * and
10833 bool toggleall parameters for setting insets internal fonts.
10834 (SetFont): Freeze the undo as we may change fonts in Insets and
10835 all this change should be inside only one Undo!
10837 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10838 setting font's in insets as for them we have the SetFont function!
10840 2001-05-15 Juergen Vigna <jug@sad.it>
10842 * text2.C (ClearSelection): to be sure we REALLY don't have any
10845 * tabular.C (TeXCellPreamble): fixed the left border problem for
10848 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10850 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10853 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10856 LFUN_BREAKPARAGRAPH.
10858 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10859 help test to "internal only", similar for LFUN_INSERT_URL
10861 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10862 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10863 auto_region_delete and deadkeys.
10865 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10868 * LColor.C: remove some dead entries, tidy a little
10870 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10872 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10874 (Dispatch): implement LFUN_ESCAPE
10876 * commandtags.h: add LFUN_ESCAPE
10878 * LyXAction.C (init): add entry for LFUN_ESCAPE
10880 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10881 Remove commented code.
10882 (insertNote): moved here
10883 (open_new_inset): moved here
10885 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10888 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * kbmap.C (findbinding): clean it up and make it work correctly.
10892 * lyx_main.C (init): do not pass argc and argv as parameters
10894 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10896 * buffer.C: fix path for OS/2 & Win32
10900 * lyx_main.C: Added os:: class.
10902 * os2_defines.h: update
10904 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10907 better by trying again with reduced state.
10909 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10911 * lyxrc.C (read): print error about invalid key sequence only when
10912 debugging (because not all latinX keysyms are known to some X
10915 * kbsequence.C (getiso): add a few std:: qualifiers
10916 (getiso): comment out extra return statement.
10918 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10922 (Dispatch): enhance the accent inset a bit. (not perfect)
10924 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10928 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * bufferlist.C (emergencyWrite): fix assert() call
10932 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10934 * text.C (InsertChar): Added trivial patch to only send the "you
10935 can not do multiple spaces this way" message once during a
10938 2001-05-08 Baruch Even <baruch@lyx.org>
10940 * Makefile.am: Changed order of libraries to get LyX to link properly
10941 with the gnome frontend.
10943 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10945 * LaTeXFeatures.h: add a std:: qualifier
10947 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * paragraph.C (String): use stringstream
10951 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * paragraph.C (writeFile): remove footflag arg
10955 * buffer.C (makeLaTeXFile): use stringstream
10956 (latexParagraphs): remove footnot gurba
10958 * LaTeXFeatures.C (getPackages): use stringstream
10959 (getMacros): likewise
10960 (getTClassPreamble): likewise
10961 (getFloatDefinitions): new method
10963 * paragraph.C (writeFile): reindent
10966 * WorkArea.h: revert the xpos + etc changes.
10968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10970 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10972 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10973 (pasteSelection): likewise
10974 * text2.C (CreateUndo): likewise
10976 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * minibuffer.C (peek_event): temporarily reduce the functionality
10979 of the minibuffer (to allow args on lfuns)
10981 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10982 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10984 * buffer.C (readInset): add compability reading of old float
10985 lists, add reading of new style float list.
10986 (readInset): avoid reevaluation of inscmd.getCmdName()
10987 (getLists): reindent
10989 * MenuBackend.C (MenuItem): implement parsing of
10990 md_floatlistinsert and md_floatinsert.
10991 (expand::LastFiles): move initalizaton of iterators out of loop,
10992 avoid reevaluation.
10993 (expand::Documents): introduce typdedef vector<string> Strings,
10995 (expand::ExportFormats): introduce typedef vector<Format const *>
10996 Formats, and use it.
10997 (expand): implement FloatListInsert and FloatInsert.
10999 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11000 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11001 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11003 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11005 (Dispatch::LFUN_FLOAT_LIST): implement
11007 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11009 * LaTeX.C (run): Fix problem with --export code.
11011 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11013 * BufferView.[Ch] (workarea): removed.
11014 (getClipboard) new method; wrapper for workarea()->getClipboard()
11016 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11019 * WorkArea.h (width, height, xpos, ypos): These methods all
11020 returned the dimensions of the work_area sub-area of WorkArea,
11021 resulting in a position error if the WorkArea were resized. Now
11022 return the dimensions of the entire WorkArea.
11024 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11026 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11028 * LaTeX.C (deplog): correct the syntax of regex reg1
11030 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * undo.C: remove !NEW_INSETS cruft
11034 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11036 * text2.C: remove !NEW_INSETS cruft
11038 * text.C: remove !NEW_INSETS cruft
11040 * tabular.C: remove !NEW_INSETS cruft
11042 * spellchecker.C: remove !NEW_INSETS cruft
11044 * lyxtext.h: remove !NEW_INSETS cruft
11046 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11048 * lyxfunc.C: remove !NEW_INSETS cruft
11050 * lyxfind.C: remove !NEW_INSETS cruft
11052 * lyx_cb.C: remove !NEW_INSETS cruft
11054 * figureForm.C: remove !NEW_INSETS cruft
11056 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11058 * buffer.[Ch]: remove !NEW_INSETS cruft
11060 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11062 * CutAndPaste.C: remove !NEW_INSETS cruft
11064 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11066 * BufferView2.C: remove !NEW_INSETS cruft
11068 * BufferView.h: remove !NEW_INSETS cruft
11070 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11072 * Lsstream.h: include LString.h before the sstream headers to
11073 fix problem with gcc 2.95.3 and lyxstring
11075 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11077 * lyx_main.C: add using directives when needed for C functions
11078 declared in std:: namespace.
11080 2001-04-27 Juergen Vigna <jug@sad.it>
11082 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11083 (SetHeightOfRow): comment out the update call should not be needed!
11085 2001-04-13 Juergen Vigna <jug@sad.it>
11087 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11088 (LyXTabular): tried to minimize operator= operations (and realized
11089 hopfully Lars wish).
11091 2001-04-27 Juergen Vigna <jug@sad.it>
11093 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11095 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11097 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11099 * buffer.C (readInset): hack to make listof algorithm work
11101 * BufferView_pimpl.C: hack to make listof algorithm work
11103 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * LyXAction.C: removed all !NEW_INSETS cruft
11106 (init): moved lfun_item in method
11108 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11110 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11112 * BufferView2.C (theLockingInset): white space.
11114 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11116 * minibuffer.C: include <iostream>
11118 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11120 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11122 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11124 * text.[Ch] (TransposeChars): new method
11126 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11128 * call message directly through LyXView instead of through LyXFunc
11129 * BufferView2.C: adjust
11130 * BufferView_pimpl.C: adjust
11131 * FontLoader.C: adjust
11133 * bufferview_funcs.C: adjust
11134 * converter.C: adjust
11135 * figureForm.C: adjust
11136 * importer.C: adjust
11138 * lyx_gui_misc.C: adjust
11139 * lyxfunc.C: adjust
11142 + more files in subdirs
11144 * lyxparagraph.h (size): move up int file
11147 * adjust all uses of Assert to lyx::Assert.
11149 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11150 lyxfunctional in namespace lyx
11151 * layout.C (hasLayout): ditto
11154 (delete_layout): ditto
11155 (NumberOfClass): ditto
11156 * converter.C (GetFormat): ditto
11161 * bufferlist.C (getFileNames): ditto
11162 (emergencyWriteAll): ditto
11165 * MenuBackend.C (hasSubmenu): ditto
11168 * BufferView_pimpl.C (getInsetByCode): ditto
11170 2001-04-18 Juergen Vigna <jug@sad.it>
11172 * vspace.C (asLatexString): fixed the 100% problem.
11174 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11176 * lyxfunc.C (Dispatch):
11178 * minibuffer.h: add a few std:: qualifiers
11180 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11182 * minibuffer.[Ch]: reimplement so that commands is initiated and
11183 run from lyxfunc, simplified som handling, and made the completion
11184 and history code for complete. wip.
11186 * lyxfunc.C (processKeySym): call message
11187 (miniDispatch): new temporary method
11188 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11189 (LFUN_MESSAGE): implement
11190 (LFUN_MESSAGE_PUSH): implement
11191 (LFUN_MESSAGE_POP): implement
11192 (initMiniBuffer): the initial/defualt minibuffer message.
11194 * lyxfont.[Ch]: inline some more getters
11196 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11198 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11200 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11201 (AutoSave): use LFUN_MESSAGE
11202 (Reconfigure): ditto
11204 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11206 * figureForm.C: use LFUN_MESSAGE
11208 * converter.C (runLaTeX): use LFUN_MESSAGE
11210 * bufferview_funcs.C: use LFUN_MESSAGE
11212 (changeDepth): ditto
11214 * bufferparams.h: use boost::
11216 * bufferlist.h: inherit privately from noncopyable
11218 * bufferlist.C (loadLyXFile): remove some commented code.
11220 * buffer.C (runChktex): use LFUN_MESSAGE
11222 * ShareContainer.h: inherit privately from noncopyable
11224 * ParagraphParameters.[hC] (depth): inline it.
11226 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11228 (message): new method
11229 (messagePush): ditto
11230 (messagePop): ditto
11231 (show): init minibuffer
11232 (showState): direct call
11234 * LaTeX.[Ch]: inherit privately from noncopyable
11235 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11236 instead of WriteStatus.
11238 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11240 * BufferView_pimpl.C (buffer): don't init minibuffer
11241 (workAreaButtonPress): use LFUN_MESSAGE
11242 (workAreaButtonRelease): ditto
11243 (savePosition): ditto
11244 (restorePosition): ditto
11245 (MenuInsertLyXFile): ditto
11246 (workAreaExpose): don't init minibuffer
11247 (update): remove commented code, simplify
11249 * BufferView2.C (openStuff): use LFUN_MESSAGE
11250 (toggleFloat): ditto
11253 (copyEnvironment): ditto
11254 (pasteEnvironment): ditto
11259 (updateInset): remove some commented code
11261 * lastfiles.h: inherit privately from noncopyable
11264 * lyx_main.h: ditto
11266 * lyxlex_pimpl.h: ditto
11268 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11269 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11270 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11272 * LyXAction.h: inherit privately from noncopyable, add methods
11273 func_begin, func_end, returning iterators to the func map.
11275 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11276 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11277 (func_begin): new method
11278 (func_end): new method
11280 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11282 (copySelection): ditto
11283 (pasteSelection): ditto
11285 * BufferView.C: whitespace change
11286 * BufferView.h: inherit privately from noncopyable
11288 2001-04-16 Allan Rae <rae@lyx.org>
11290 * tabular-old.C (l_getline):
11291 * spellchecker.C (sc_check_word):
11292 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11293 an unrecognised preprocessor directive. So ensure they're wrapped.
11295 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11297 * src/exporter.C (Export): Give an error message when path to file
11300 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11302 * LaTeX.C (deplog): Always check that foundfile exists.
11304 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11309 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11311 * tabular.[Ch] (getLabelList): implement new method
11313 * minibuffer.h: comment ouf setTiimer
11315 * minibuffer.C (ExecutingCB): constify res
11316 (peek_event): constify s
11317 (Set): constify ntext
11318 (Init): constify nicename
11320 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11322 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11323 (savePosition): use two params to Minibuffer::Set
11324 (restorePosition): ditto
11326 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11328 * lyx_main.C: include language.h
11330 * Makefile.am (lyx_main.o): add language.h
11332 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11338 * CutAndPaste.C: include gettext.h
11340 * lyxfont.h: remove old hack with ON and OFF.
11343 * lyxfont.h: do not include language.h...
11348 * bufferview_funcs.C:
11354 * paragraph.C: ... but do it here instead
11356 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11358 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11360 * tabular.C: small reformat
11362 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11365 (BreakParagraph): ditto
11366 (SetOnlyLayout): ditto
11369 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11372 * lastfiles.C: removed most using decl, add std:: where needed
11374 * buffer.C: ws changes
11376 * MenuBackend.C (class compare_format): put into anon namespace
11377 (expand): constify label, names, action, action2
11380 * text.C (SingleWidth): constify font
11381 (IsBoundary): constify rtl2
11382 (GetVisibleRow): constify ww
11384 * LaTeX.C (deplog): constify logfile
11386 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11388 (workAreaExpose): constify widthChange, heightChange
11390 * lyxrow.C (par): moved
11393 * lyxrow.h: as inlines here
11395 * lyxfont.h (shape): moved from lyxfont.C
11396 (emph): moved from lyxfont.C
11398 * lyxfont.C (LyXFont): use initialization list for all
11400 (shape): move to lyxfont.h as inline
11401 (emph): move to lyxfont.h as inline
11404 2001-04-04 Juergen Vigna <jug@sad.it>
11406 * vspace.C: had to include stdio.h for use of sscanf
11408 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11411 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11412 independent of xforms.
11414 2001-04-02 Juergen Vigna <jug@sad.it>
11416 * spellchecker.C: fixed namespace placing!
11418 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11420 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11421 the LyXParagraph * is 0.
11423 2001-03-29 Juergen Vigna <jug@sad.it>
11425 * vspace.C: added support for %, c%, p%, l%.
11426 (stringFromUnit): added helper function.
11427 (asLatexString): changed to give right results for the %-values.
11429 * buffer.C: convert the widthp in a width%.
11431 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11433 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11436 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11437 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11439 * lyx_cb.[Ch]: see above.
11441 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11445 * lyx.[Ch]: replaced by figure_form.[Ch].
11449 * lyxfunc.C: changed headers associated with above changes.
11451 2001-03-27 Juergen Vigna <jug@sad.it>
11453 * BufferView_pimpl.C: set the temporary cursor right!
11455 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11457 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11459 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11461 * LString.h: removed "using std::getline"!
11463 * BufferView_pimpl.C (Dispatch): changes due to changes in
11464 InsetInclude::Params.
11466 * buffer.C (tag_name): removed redundant break statements as they were
11467 producing lots of warnings with my compiler.
11469 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11471 * LString.h: add "using std::getline" when using the real <string>.
11473 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11475 * buffer.C: removed bitset usage.
11476 PAR_TAG moved to an anonymous name space.
11477 (tag_name): new funtion, also in the anonymous namespace.
11478 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11479 (makeDocBookFile): clean code. Completed transition from string arrays
11481 (SimpleDocBookOnePar): code clean.
11483 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11485 * tabular.C: add some comments.
11487 2001-03-22 Juergen Vigna <jug@sad.it>
11489 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11490 compatibility read a bit and fixed bug with minipage in different
11493 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11495 * buffer.C (pop_tag): removed.
11496 (push_tag): removed.
11497 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11498 array replaced with vector. Added support for CDATA sections.
11499 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11501 (makeDocBookFile): XML conformant declaration of CDATA section,
11502 fixed bug related to <emphasis> in the first paragraph char.
11503 (sgmlOpenTag): exclude empty tags.
11504 (sgmlCloseTag): ditto.
11506 * buffer.h (pop_tag): removed.
11507 (push_tag): removed.
11509 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11511 * language.h (Languages): added size_type and size().
11513 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11515 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11516 response on compability reading of minipages. One probliem is that
11517 the old usage of minipages was «flertydig»
11519 * several files here and in subdirs: don't use static at file
11520 scope use anon namespaces instead.
11522 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11524 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11525 LaTeX output. This is necessary for Literate document
11528 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11530 * buffer.C: insert hfill when needed.
11532 * tabular.C (l_getline): use string::erase, small whitespace change.
11534 * BufferView_pimpl.C: try the anon namespace.
11535 * WorkArea.C: ditto
11537 2001-03-16 Juergen Vigna <jug@sad.it>
11539 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11540 otherwise it won't open options-dialogs.
11542 * buffer.C: honor pextraWidth(p) on converting minipages.
11544 * tabular.C (l_getline): changed the functions to strip trailing \r.
11546 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11548 * BufferView_pimpl.C:
11549 * minibuffer..C: added "using SigC::slot" declaration.
11551 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11553 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11559 * paragraph.C: ditto
11561 * lyxtext.h: NO_PEXTRA
11563 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11565 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11566 * ParameterStruct.h: ditto
11567 * ParagraphParameters.h: ditto
11568 * lyxparagraph.h: ditto
11570 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11572 * buffer.C: add compability for minipage alignment.
11573 (latexParagraphs): remove unwanted pextra check.
11575 * several files: remove CXX_WORKING_NAMESPACES
11577 * buffer.C (pop_tag): tie is in namespace boost
11579 * BufferView.h: noncopyable is in namespace boost
11581 * lyx_main.h: ditto
11584 * lastfiles.h: ditto
11585 * bufferlist.h: ditto
11586 * ShareContainer.h: ditto
11588 * LyXAction.h: ditto
11591 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11593 * Merging changes from BRANCH_MVC back into HEAD.
11595 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11597 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView_pimpl.C: change from intl.C
11603 * Makefile.am: move combox.*
11609 * intl.C: remove dialog (covered by prefs)
11611 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11613 * lyxfunc.C (Dispatch): removed redundant break statement.
11615 2001-03-14 Juergen Vigna <jug@sad.it>
11617 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11619 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11621 * buffer.C: add hack to fix compability reading of minipages.
11623 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11625 * buffer.C (getLists): Cleanup.
11627 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11629 * lyxfont.C (update): don't honor toggleall on font size.
11631 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11635 * Makefile.am: moved to frontends/xforms/
11639 * BufferView_pimpl.C: changes for moved mathpanel
11641 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11643 * gettext.h: fix gettext_init() in --disable-nls
11645 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11647 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11649 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11652 * lyx.h: strip external form
11654 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C: add comment, destroySplash()
11658 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView_pimpl.C:
11664 * lyxfunc.C: use re-worked insetinclude
11666 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11668 * buffer.C: add using std::stringstream.
11670 * lyx_cb.C: readd using std::ios.
11672 * buffer.C: add using std::map.
11674 * BufferView_pimpl.C: add using std::vector.
11676 * ShareContainer.h: add std:: to swap.
11678 * buffer.h: add some typedefs
11679 * buffer.C (getLists): use them
11680 (getLists): renamed from getTocList.
11681 add a counter for the different float types and use it in the
11683 (getLists): use the same counter for the NEW_INSETS and the "non"
11686 * lyx_cb.h: remove unused items, includes, using etc.
11688 * ShareContainer.h: remove some commented code, add more comments
11689 and "documentation".
11691 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11693 * buffer.C (getTocList): make the list also when NEW_INSETS is
11696 * buffer.h: remove TocType
11698 * buffer.C (getTocList): change to return a map<string,
11699 vector<TocItem> >, implement for dynamic number of list.
11701 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11702 * text2.C (PasteSelection): adjust
11703 * CutAndPaste.C (pasteSelection): adjust
11705 * FloatList.C (FloatList): update from the new_insets branch.
11706 * Floating.[Ch]: ditto
11707 * LaTeXFeatures.C: ditto
11709 * lyxlex_pimpl.C: ditto
11711 * paragraph.C (Last): remove when NEW_INSETS is defined.
11713 * other file: changes because of the above.
11715 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11717 * lyxparagraph.h: rename next to next_, previous to previous_,
11718 make them private for NEW_INSETS. Rename Next() to next(),
11719 Previous() to previous().
11721 * other files: changes because of the above.
11723 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11726 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11729 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11731 * main.C (main): pass lyx_localedir to gettext_init().
11733 * gettext.h: remove locale_init and gettext_init macros
11735 * gettext.C (locale_init): new function
11736 (gettext_init): new function
11738 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11741 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11743 * Moved credits to frontends:
11744 * credits.[Ch]: removed
11745 * credits_form.[Ch]: removed
11746 * lyx_gui_misc.C: remove credits stuff
11749 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11751 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11753 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11754 unneeded destructor.
11756 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11757 a standalone pointer again.
11759 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11761 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11767 * ToolbarDefaults.C:
11776 * BufferView_pimpl.C: use new file dialog in GUII
11779 * lyx_cb.C: remove LayoutsCB to Toolbar
11781 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * ShareContainer.h (get): add std:: qualifier
11785 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * ShareContainer.h: define a proper ShareContainer::value_type
11788 type (and use typename to please compaq cxx)
11790 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11792 * lyxparagraph.h: move serveral local vars to
11793 ParameterStruct/ParagraphParameters., use ShareContainer in
11794 FontTable., make vars in FontTable private and add getter and
11797 * paragraph.C: changes because of the above.
11799 * lyxfont.h: remove copy constructor and copy assignment. (the
11800 default ones is ok), move number inside FontBits. move inlines to
11803 * lyxfont.C: add number to initializaton of statics, move several
11804 inlines here. constify several local vars. some whitespace
11805 cleanup. Dont hide outerscope variables.
11807 * Spacing.h: add two new constructors to match the set methods.
11809 * ShareContainer.h: new file, will perhaps be moved to support
11811 * ParameterStruct.h: new file
11813 * ParagraphParameters.h: new file
11815 * ParagraphParameters.C: new file
11817 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11818 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11820 * BufferView_pimpl.C: ParagraphParameter changes.
11821 * buffer.C: Likewise.
11822 * bufferview_funcs.C: Likewise.
11823 * text.C: Likewise.
11824 * text2.C: Likewise.
11826 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11828 * lyxfind.C (LyXReplace): do not redefine default argument in
11830 (IsStringInText): ditto
11831 (SearchForward): ditto
11832 (SearchBackward): ditto
11834 2001-03-06 Juergen Vigna <jug@sad.it>
11836 * lyxfind.C (IsStringInText): put parentes around expressions.
11838 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11840 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11842 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11844 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11846 * stl_string_fwd.h: add comment
11848 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11851 * tabular.C: remove unused DocBook methods
11857 killed DO_USE_DEFAULT_LANGUAGE
11859 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * lyx_gui.C: do not include language.h.
11863 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11864 arguments in function implementation.
11866 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11868 * BufferView_pimpl.C: add <ctime>
11870 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11872 * BufferView_pimpl.C: add using std::find_if
11874 2001-02-27 José Matos <jamatos@fep.up.pt>
11876 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11879 2001-02-11 José Matos <jamatos@fep.up.pt>
11881 * buffer.C (makeDocBookFile): command styles now have a parameter as
11882 "title" by default.
11884 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11886 * layout_forms.[Ch]: removed
11887 * lyx_cb.[Ch]: out character
11888 * lyx_gui.C: out character
11889 * lyx_gui_misc.C: out character
11890 * bufferview_funcs.C: : out character,
11891 added toggleall as parameter in ToggleAndShow
11893 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11895 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11897 * text2.C (SetCurrentFont): Disable number property at boundary.
11899 2001-02-26 Juergen Vigna <jug@sad.it>
11901 * lyxfunc.C (getStatus): added a string argument override function so
11902 that this is correctly called from LyXFunc::Dispatch if it contains a
11903 do_not_use_argument which is used!
11904 (Dispatch): added check for "custom" export and call appropriate func.
11906 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11908 * lyxrc.C: Add language_command_local, language_use_babel and
11909 language_global_options.
11911 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11913 * buffer.C (makeLaTeXFile): Use language_use_babel and
11914 language_global_options.
11916 2001-02-23 Juergen Vigna <jug@sad.it>
11918 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11919 which works with LyXText and putted it inside BufferView. Here now we
11920 only call for that part the BufferView::Dispatch() function.
11922 * BufferView.C (Dispatch): added.
11924 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11925 functions which needs to use a LyXText over from LyXFunc.
11926 (MenuInsertLyXFile): added
11927 (getInsetByCode): added
11928 (moveCursorUpdate): added
11929 (static TEXT): added
11931 2001-02-22 Juergen Vigna <jug@sad.it>
11933 * BufferView_pimpl.C (update): call a status update to see if LyXText
11936 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11938 * vc-backend.C (revert): implement for CVS
11939 (getLog): implement for CVS
11941 2001-02-20 Juergen Vigna <jug@sad.it>
11943 * text2.C (ClearSelection): added BufferView param for inset_owner call
11945 * lyxfunc.C (TEXT): added this function and use it instead of
11946 directly owner->view()-text of getLyXText().
11948 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11950 * src/layout_forms.C: out preamble
11951 * src/layout_forms.h: out preamble
11952 * src/lyx_cb.C: out preamble
11953 * src/lyx_cb.h: out preamble
11954 * src/lyx_gui.C: out preamble
11955 * src/lyx_gui_misc.C: out preamble
11956 * src/lyxfunc.C: connect with guii preamble
11958 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11960 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11962 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11964 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11965 whether to run bibtex.
11967 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11969 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11971 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11973 * Makefile.am (lyx_SOURCES): removed bibforms.h
11975 * vspace.h: doxygen
11977 * text.C (GetVisibleRow): make several local vars const
11979 * tabular.C: small cleanup.
11981 * lyxserver.C (callback): use compare instead of strncmp
11983 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11984 inlines to after class or to paragraph.C
11986 * lyxfont.h: remove friend operator!=
11988 * converter.h: move friend bool operator< to non friend and after
11991 * combox.h: small cleanup
11993 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11994 to inlines after class def.
11996 * buffer.C (pop_tag): use string operations instead of strcmp
11998 * bmtable.c: doxygen, small cleanup
12000 * LaTeX.h: remove friend operator==
12002 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12014 * BufferView_pimpl.C:
12015 * BufferView.[Ch]: remove cruft
12017 2001-02-14 Juergen Vigna <jug@sad.it>
12019 * lyxfunc.C: removed #if 0 unused code
12021 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12023 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12025 * text2.C (SetSelection): added a BufferView * parameter
12027 2001-02-13 Juergen Vigna <jug@sad.it>
12029 * lyxfunc.C (Dispatch): fixed protected blank problem.
12030 * BufferView2.C (protectedBlank): added LyxText * parameter.
12032 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12033 (AppendColumn): same as above for column_info.
12035 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12036 (moveCursorUpdate): use a LyXText param for support of InsetText.
12038 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12039 (tripleClick): ditto
12041 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12043 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12045 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12047 * text2.C (SetSelection): set correct update status if inset_owner
12048 (ToggleFree): ditto
12050 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12052 * tabular.C: remove some commented code.
12054 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.C: call hideSplash()
12058 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12061 * bibforms.h: remove
12064 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12065 add LFUN_CHILD_CREATE
12067 * counters.h: fix tiny typo
12072 * lyx.C: move splash to frontends/xforms/
12074 * lyx_gui_misc.C: move Include and Bibform to frontends
12076 * lyxvc.h: clarify comment
12078 * vspace.C: tiny housekeeping
12080 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12082 * text.C (PrepareToPrint): RTL Fix.
12084 * paragraph.C (GetUChar): New method.
12085 (String): Use GetUChar.
12087 * buffer.C (asciiParagraph): Use GetUChar.
12089 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12091 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12093 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12096 * buffer.C: rename to getLogName(), handle
12097 build log / latex log nicely
12099 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12102 * MenuBackend.h: remove support for reference menuitem type.
12104 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.C: housekeeping
12107 * BufferView_pimpl.h:
12112 * minibuffer.h: move Timeout GUI-I
12114 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12116 * lyxrc.C (read): Update converters data-structures.
12118 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12120 * LaTeX.h (operator!=): add operator != for Aux_Info
12122 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12124 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12126 * LaTeXLog.C: deleted, useful code moved to Buffer
12129 * buffer.C: new function getLatexLogName()
12135 * lyxfunc.C: use frontends for LaTeX and VC logs
12137 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12139 * LaTeX.h: yet another std:: that Allan forgot.
12141 * Variables.C (set): renamed from isset(), because this clashes
12142 with some HP-UX macros (grr).
12144 2001-02-06 Allan Rae <rae@lyx.org>
12146 * LaTeX.h: Another bug fix. Missing std:: this time.
12148 2001-02-04 Allan Rae <rae@lyx.org>
12150 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12151 floats problem. I've left it commented out because it's not quite
12152 correct. It should also test that the current object is a table or
12153 figure inset. But I haven't gotten around to figuring out how to do
12154 that. I *think* it'll be something like: "table" == inset.type()
12156 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12159 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12161 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12162 all the citation/databases/styles in the auxilary file.
12163 (run): Rerun latex if there was a babel language error.
12165 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12167 * text.C (Backspace): Preserve the font when changing newline char
12169 (BreakParagraph): If the cursor is before a space, delete the space.
12171 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12173 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12175 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12176 new argument (code).
12177 (ChangeCitationsIfUnique): New method.
12179 * paragraph.C (GetPositionOfInset): Handle bibkey.
12181 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * BufferView_pimpl.h: change type of Position::par_pos to
12184 LyXParagraph::size_type.
12186 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12188 * BufferView_pimpl.C (savePosition, restorePosition): Write
12189 messages to minibuffer.
12191 2001-01-28 José Matos <jamatos@fep.up.pt>
12193 * buffer.C (makeDocBookFile): adds support for document language.
12194 A silly restriction on the name of LatexCommand types where removed.
12195 Added support for CDATA sections, allows to chars unescaped, used
12196 among others in code, to avoid escape < and >.
12198 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12200 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12201 saved positions instrad of a stack. Furthermore, a position is
12202 stored using paragraph id/paragraph position.
12204 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12205 Remove LFUN_REF_BACK.
12207 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12209 * converter.C (dvipdfm_options): New method.
12211 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12213 * vspace.C (isValidLength): Fix for empty input string.
12215 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12217 * LyXAction.C (init): change description of LFUN_FIGURE to
12220 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12222 * LaTeX.C: add using directive
12224 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12226 * MenuBackend.C (expand): Fix the sorting of the formats.
12228 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12230 * lyx_main.C: tiny error message fix
12232 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12234 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12235 calling fl_initialize(). This fixes the problem with ',' as
12236 decimal separator in text files.
12238 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12240 * trans.C (process): Fix the keymap bug.
12242 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12244 * LaTeX.C (scanAuxFiles): New method. Provides support for
12245 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12246 (scanLogFile) Scan for "run BibTeX" messages.
12248 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12249 OT1 font encoding. Also, load the aecompl package if the ae
12252 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12254 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * texrow.C (increasePos): turn two error messages into debug
12259 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12261 * LaTeX.C (scanAux): Handle the \@input macro.
12262 (runBibTeX): Use scanAux().
12264 * language.C (latex_options_): New field.
12266 * LaTeXFeatures.C (getMacros): Add language macros.
12268 * buffer.C (makeLaTeXFile): Small fix.
12270 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12272 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12274 * text2.C: add a using directive.
12276 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12281 * lyxfunc.C: kill LyXBell.
12283 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12285 * text.C (IsBoundary): Remove the error message
12287 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12289 * lyxrc.C (setDefaults): Correct initialization value for
12292 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12294 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12297 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12298 and GotoNextNote().
12300 * src/LyXAction.C: Added reference-next.
12302 * text.C (InsertChar): Use contains instead of strchr.
12304 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12306 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12308 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12309 alignment commands (when needed).
12311 * text.C (InsertChar): Add ':' to number separator chars.