1 2003-08-27 John Levon <levon@movementarian.org>
3 * funcrequest.C: properly initialise POD members
5 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
7 * lyxtext.h (top_y): move top_y from here
12 * BufferView_pimpl.[Ch]: to here
14 * insets/insettabular.C:
15 * insets/insettext.C: adjust
16 * rowpainter.[Ch] (paintRows): remove LyXText & argument
18 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
21 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
23 2003-08-26 André Pönitz <poenitz@gmx.net>
25 * paragraph_func.[Ch] (outerPar): new function
31 * text2.C: remove Inset::par_owner
33 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
38 * text2.C: eliminates the needFullRow/display() stuff
39 altogether, putting the logic in metrics/draw in the insets.
41 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
43 * text2.C (redoParagraphInternal, redoParagraphs):
44 * text.C (redoParagraph): add a call to updateRowPositions at the
45 end of each 'metrics-like' call. Remove all others.
46 (getRow): remove the 'y-computing' version.
47 (getRowNearY): do not compute nor return the real y. Solve the
48 'y < 0' problem and simplify.
50 2003-08-22 Angus Leeming <leeming@lyx.org>
52 * *.[Ch]: clean-up of licence and author blurbs.
53 Also move config.h out of a few .h files and into a few .C files.
55 2003-08-22 André Pönitz <poenitz@gmx.net>
57 * lyxrow.[Ch]: add x_ and *fill_ members
62 * text2.C: adjust/remove prepareToPrint() calls
64 2003-08-22 André Pönitz <poenitz@gmx.net>
66 * lyxrow.[Ch]: add end_ member
68 * lyxrow_funcs.C: use LyXRow::end_
70 * lyxtext.h (singleWidth): add LyXFont parameter
73 * text2.C: adjust LyXText::singleWidth() calls
75 * text.C (redoParagraph): simplify row breaking logic
78 2003-08-19 André Pönitz <poenitz@gmx.net>
80 * funcrequest.C: initialize button_ member
83 * rowpainter.[Ch]: interface consolidation
85 2003-08-18 André Pönitz <poenitz@gmx.net>
92 * text3.C: remove LyXScreen::draw() and fitCursor calls
94 * BranchList.h: remove spurious semicolons
96 * MenuBackend.C: fix branchlist related crash
98 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
110 * text3.C: implements the 'branch inset'
111 idea. This allows the output of various versions of a document
112 from a single source version, selectively outputing or suppressing
113 output of parts of the text.
114 This implementation contains a 'branch list editor' in a separate
115 tab of the document settings dialog. Branches are user definable
116 and have a "display colour" to distinguish them on-screen.
118 ColorHandler was somewhat cleaned up.
119 (1) make possible a dynamically growing LColor list by allowing
120 the graphic context cache to grow along (vector);
121 (2) eliminate an IMHO unnecessary step in colour allocation.
123 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
125 * BufferView_pimpl.C: compile fix
127 2003-08-15 André Pönitz <poenitz@gmx.net>
129 * rowpainter.C: remove extra metrics calls
131 * lyxtext.h: merge the two constructors into a single one,
132 pass reference to owner's par list
134 * BufferView_pimpl.C:
138 2003-08-15 André Pönitz <poenitz@gmx.net>
148 * text_funcs.C: split LyXText::rowlist_ into individual
149 Paragraph::rows_ chunks
152 * BufferView_pimpl.[Ch]:
155 * text3.C: remove toggleSelection()
157 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
159 * bufferlist.C: beautify two alerts (shorter text of buttons)
160 * buffer.C: Remove redundant ' ' from message
162 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
163 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
164 rename VALIGN_CENTER to VALIGN_MIDDLE
166 2003-08-11 André Pönitz <poenitz@gmx.net>
168 * lyxtext.h (getPar):
169 * text.C: new function
171 2003-08-11 André Pönitz <poenitz@gmx.net>
174 * tracer.[Ch]: remove unneeded files
176 * InsetList.[Ch]: remove resizeInsetsLyXText()
181 * text3.C: merge insertParagraphs() and appendParagraph()
182 remove breakAgain(), update()
184 * BufferView_pimpl.[Ch]:
185 * bufferview_funcs.[Ch]:
189 * tabular.C: adjust after text & InsetList changes.
191 2003-08-08 André Pönitz <poenitz@gmx.net>
193 * text.C (insertChar, backspace): replace rowlist fiddling
194 with rebreak of full par
197 * text.C (breakAgainOneRow, redoHeightOfParagraph,
198 checkParagraph, updateInset): removed
200 2003-08-07 André Pönitz <poenitz@gmx.net>
203 * text3.C: merge some LFUN handlers, remove dead code
205 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
209 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
211 * text2.C (DEPM): fix part of bug 1255 and 1256
213 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * BufferView_pimpl.C (workAreaDispatch): change to use
216 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
217 that are no mouse related.
219 2003-08-05 André Pönitz <poenitz@gmx.net>
222 * BufferView_pimpl.[Ch]:
223 * bufferview_funcs.C:
225 * text3.C: rip out "deep update"
227 * textcursor.[Ch] (last_sel_cursor): remove unused member
229 2003-08-04 André Pönitz <poenitz@gmx.net>
232 * BufferView_pimpl.[Ch]:
233 * ParagraphParameters.C:
234 * bufferview_funcs.C:
240 * text3.C: replace "complicated" BufferView::update(...) calls with
243 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
245 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
247 * Makefile.am (lyx_SOURCES): add paper.h
249 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
251 * Makefile.am: move things around so that both lyx-qt and
252 lyx-xforms can be built (according to --with-frontend). Then lyx
253 is a symbolic link to lyx-[firstfrontend]
255 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
257 * Always use std::endl with lyxerr
259 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
261 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
263 2003-08-01 André Pönitz <poenitz@gmx.net>
266 * BufferView_pimpl.[Ch]:
268 * text3.C: merge BufferView::repaint() and BufferView::update()
270 2003-08-01 José Matos <jamatos@lyx.org>
272 * buffer.[Ch]: file_format is no longer a buffer data element.
274 2003-08-01 André Pönitz <poenitz@gmx.net>
279 * text2.C: make redoParagraph more independent of current cursor
281 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
283 * text2.C: remove unneeded members
285 2003-07-30 André Pönitz <poenitz@gmx.net>
287 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
289 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
290 create a single function...
292 * paragraph_funcs.C (moveItem): ... here.
295 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
297 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
299 * LColor.[Ch]: Add comment and greyedout logical colors.
301 2003-07-30 André Pönitz <poenitz@gmx.net>
303 * tabular.C: don't use Assert too heavily. This crashes where it
306 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
308 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
309 is disabled (bug 1232)
311 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
313 * factory.C: limited 'arg' scope
315 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
317 * factory.C: fixed Note submenu issues
319 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
321 * factory.C: submenu for Note/Comment/Greyedout
323 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
326 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
328 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
331 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
332 greyedout. Patch provided by Jürgen Spitzmüller.
334 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * kbmap.C (read): fix error message when reading bind files
338 2003-07-29 Angus Leeming <leeming@lyx.org>
340 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
341 certainly does not do what it purports to do. I am doing it, and
342 us, a favour by killing it.
344 2003-07-28 José Matos <jamatos@lyx.org>
346 * buffer.C (readBody, do_writeFile):
347 * paragraph.C(readParagraph): \end_document replaces \the_end.
349 2003-07-29 André Pönitz <poenitz@gmx.net>
352 * BufferView_pimpl.[Ch]:
356 * textcursor.[Ch]: remove toggleToggle & Co
358 2003-07-28 José Matos <jamatos@fep.up.pt>
360 * buffer.C (readParagraph):
361 * params_func (readParToken, readParagraph):
362 * paragraph.C (write): \layout -> \begin_layout.
364 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * lyxlex_pimpl.C (setFile): clean up slightly.
368 * bufferparams.h: add compressed var
370 * buffer_funcs.C (readFile): adjust for LyXLex change
371 (newFile): ditto + simplify
373 * buffer.C (writeFile): handle writing of compressed files
375 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
376 Check if the file is compressed and set a bufferparm if so.
378 * Makefile.am (lyx_LDADD): remove explicit -lz
380 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
383 makeDocBookFile): put the real LyX version in the first line of
387 * version.C.in: remove lyx_docversion
389 * tabular.C (write_attribute): add a template-based version to
392 2003-07-28 André Pönitz <poenitz@gmx.net>
397 * text3.C: use doubles again for x-coordinates. They are needed.
399 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
401 * messages.C (getLocaleDir): use lyx_localedir()
403 * lyxlex_pimpl.C (setFile): compress stuff
405 * buffer.C (writeFile): add some compression stuff
406 (do_writeFile): new func, dont call expliti close... will this
409 * Makefile.am (lyx_LDADD): add -lz
411 2003-07-28 José Matos <jamatos@fep.up.pt>
413 * buffer.C: increment file format.
414 * paragraph_funcs (readParagraph, readParToken):
415 * paragraph.C (readParagraph): add \end_layout.
417 2003-07-27 Angus Leeming <leeming@lyx.org>
419 * Makefile.am: remove special casing for configure-time setting of
420 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
422 * lyx_main.C (init): remove all Jean-Marc's magic setting of
423 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
425 2003-07-26 André Pönitz <poenitz@gmx.net>
427 * paragraph_func.[Ch]:
428 * paragraph.C (realizeFont): inline it whereever it is used
433 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
436 2003-07-26 André Pönitz <poenitz@gmx.net>
440 * text2.C: get rid of LyXText::need_break_row
442 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * toc.[Ch]: put namespace toc inside namespace lyx
446 * MenuBackend.C (expandToc2): adjust for lyx::toc
449 * lyxfunc.C (dispatch): adjust for lyx::find
451 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
452 lyx::find instead. Reorganize a bit.
453 (LyXReplace): rename to replace
454 (LyXFind): rename to find
456 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
459 2003-07-26 André Pönitz <poenitz@gmx.net>
461 * text.C (setHeightOfRow): restrict scope of temporary variable
463 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
464 code (never has been used?)
466 2003-07-27 Asger Alstrup <alstrup@local>
468 * text.C (fill): Optimise algorithm to exploit that we can reuse
469 the LyXFont for many characters.
470 (setHeightOfRow): Same thing.
471 (rowBreakPoint): Same thing.
473 2003-07-26 Asger Alstrup <alstrup@local>
475 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
477 * text.C (singleWidth): Spurious font copying in hot-spot
478 singleWidth avoided. Reorder tests for arabic for efficiency.
480 * text.C (fill): handle empty paragraphs better.
482 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * encoding.h: add includes
487 * lyxrc.C: remove reading of bind files
489 * lyx_main.C (init): setup bindings and menus only if we have a
492 * kbmap.C (read): new method. Do the actual reading of bind
495 * converter.C (dvipdfm_options):
498 (output): adapt PAPER_* enums.
500 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
502 * bufferparams.h: remove paper-related enums from there
504 * paper.h: New file. A trivial header file to hold paper-related
505 enums. It should later expand to contain many paper-related
508 * lyxrc.C: declare extern displayTranslator
510 2003-07-27 José Matos <jamatos@fep.up.pt>
512 * tabular.[Ch] (linuxdoc): add support for tables and figures
515 2003-07-27 José Matos <jamatos@fep.up.pt>
517 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
518 consistency in both functions.
519 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
521 2003-07-26 Asger Alstrup <alstrup@local>
523 * rowpainter.C (paintRows): Change algorithm to work directly on
524 the insets rather than asking every character in the document
525 whether its an inset.
527 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
529 * buffer.C (openFileWrite): factorize some code
531 2003-07-26 Angus Leeming <leeming@lyx.org>
534 * lyx_main.[Ch]: replace occurances of system_tempdir with
537 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
539 * rename Inset to InsetOld
541 2003-07-25 Asger Alstrup <alstrup@diku.dk>
543 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
544 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
545 which I think is a bit clearer. EDIT is gone, since it was
546 premature optimisation, and broken for mathed anyway.
547 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
548 with cursor positioning in insets as well (math insets still do not
549 work, but that's a different story anyway.) It mysteriously
550 crashes sometimes with undo in the first paragraph, but I'm fairly
551 confident that this is a compiler bug.
553 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * paragraph.C (Paragraph): adjust for new clone return type
557 (copyIntoMinibuffer): ditto
559 2003-07-25 Asger Alstrup <alstrup@lyx.org>
561 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
562 by not having a special case, and always doing a full rebreak of
563 the document after undo.
565 2003-07-23 Angus Leeming <leeming@lyx.org>
567 * factory.C (createInset): InsetExternal::setParams now takes a
570 2003-07-23 Angus Leeming <leeming@lyx.org>
572 * factory.C (createInset): changed interface to the external and
573 graphics mailers' string2params functions.
575 2003-07-23 Angus Leeming <leeming@lyx.org>
577 * factory.C (createInset): pass a
578 Buffer const * parameter to InsetExternalMailer's string2params.
580 2003-07-22 John Levon <levon@movementarian.org>
582 * Thesaurus.h: include the right aiksaurus header
584 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * MenuBackend.C (expand): check menu shortcuts unconditionally
588 2003-07-21 Angus Leeming <leeming@lyx.org>
590 * factory.C (createInset): pass a
591 buffer_path parameter to InsetGraphicsMailer's string2params.
593 2003-07-21 Angus Leeming <leeming@lyx.org>
595 * BufferView_pimpl.C (buffer):
598 * lyxfunc.C (dispatch):
599 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
600 rather than the grfx shortcut.
602 2003-07-21 André Pönitz <poenitz@gmx.net>
604 * rowpainter.C: remove unused variables
607 * tabular_funcs.h: move to tabular.C
608 * Makefile.am: adjust
610 * tabular.[Ch]: basic optical cleaning
612 * author.h: pass references, not values
614 2003-07-18 André Pönitz <poenitz@gmx.net>
622 * text3.C: two-phase drawing for InsetText and InsetTabular
623 some float -> int changes.
625 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
627 * lyx_main.C: fix the fix
629 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
631 * lyx_main.C: fix a crash in batch mode if no files specified
634 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
636 * format.[Ch] (papersize): moved to BufferParams
637 * converter.[Ch] (dvips_options): moved to BufferParams
638 (dvipdfm_options): moved to anon namespace
639 * bufferparams.[Ch]: added above functions.
641 2003-07-17 André Pönitz <poenitz@gmx.net>
645 * text2.C: don't call inset->update() anymore
647 * metricsinfo.[Ch]: add convenience constructor
649 2003-07-16 André Pönitz <poenitz@gmx.net>
654 * text2.C: replace the LyXCursor::irow_ member with
655 on-demand computation of the value
657 2003-07-16 John Levon <levon@movementarian.org>
659 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
661 2003-07-15 André Pönitz <poenitz@gmx.net>
664 * text2.C: remove no more needed refresh_row
666 2003-07-15 André Pönitz <poenitz@gmx.net>
671 * text3.C: refresh_status tristate -> need_update bool
673 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
675 * lyxtext.h (init): remove reinit argument (act as if always true)
676 * text2.C: adjust to that
678 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
680 * bufferview_funcs.[Ch]: introduce function replaceSelection()
681 * text3.C: use it to delete selections in some cases
682 (bugs 441, 673, 702, 954).
684 2003-07-14 André Pönitz <poenitz@gmx.net>
686 * rowpainter.[Ch]: reduce interface
688 2003-07-14 André Pönitz <poenitz@gmx.net>
690 * BufferView_pimpl.C:
691 * text2.C: adjust after removing unused BufferView * argument
693 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
695 * text2.C (init): fix a crash fired on resize
697 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
699 * buffer.[Ch]: added new closing signal
700 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
701 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
702 BufferView::Pimpl via the closing the signal
704 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
706 * buffer.[Ch]: take out all bv-related from buffer
708 * BufferView_pimpl.[Ch]: connect to new signals
709 * CutAndPaste.C: removed useless asserts
710 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
713 * lyxfunc.C: moved view-related funciontality from vc here
714 * paragraph.C: removed outdated comments
717 2003-07-10 André Pönitz <poenitz@gmx.net>
719 * BufferView_pimpl.C:
723 * text2.C: remove InsetText::InnerCache, clean up consequences
725 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
727 * ispell.C: fix two typos in error messages
729 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
731 * Extend Note inset to other forms of annotation like Comment
732 and Greyedout. Right button click gives dialog.
734 Files modified or added (+):
740 * Makefile.am in frontends/xforms, frontends/xforms/forms,
741 frontends/controllers
745 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
747 * aspell.C: add missing namespace lyx::support
749 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
751 * BufferView.[Ch] (newFile): Add
752 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
753 * LaTeX.[Ch] (message): added this signal and use it
754 * buffer.[Ch] (busy, message): added these signals and use them
755 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
759 * importer.C: use buffer signals instead of direct bv calling
760 * lyx_cb.[Ch] (ShowMessage): removed
764 * text2.C: use buffer signals
766 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
768 * introduce namespace lyx::graphics
770 2003-07-02 André Pönitz <poenitz@gmx.net>
772 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
774 2003-07-01 André Pönitz <poenitz@gmx.net>
781 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
782 text*.C to text_func.C
784 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * introduce namespace lyx::support
788 2003-06-30 André Pönitz <poenitz@gmx.net>
793 * text.C: re-enable --with-included-string
795 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * textcursor.C: add <config.h>
799 * text.C (getWord): remove const from word_location arg
801 * lyxvc.C (getLogFile): fix const type order
803 * lyxtext.h: remove const from word_location arg, add arg name
805 * lyxlayout.h: currect type on labeltype.
807 * importer.C: correct \file
809 * converter.C (intToFormat): use std:: on ret val, ws changes
811 * bufferlist.h: correct \file
813 * buffer.C (makeLinuxDocFile): fix const type order
814 (makeDocBookFile): ditto
815 (fillWithBibKeys): use std:: on stdlib args.
817 * CutAndPaste.C: fix authors.
818 (availableSelections): use std:: on return vector
820 2003-06-27 André Pönitz <poenitz@gmx.net>
822 * BufferView_pimpl.C:
823 * bufferview_funcs.C:
831 * text3.C: remove LyXCursor::row_ member
834 * text.C: rename fullRebreak() to partialRebreak() and implement
835 a fullRebreak() that really bereks fully
837 * textcursor.h: new struct for cursor-related data
839 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
841 * lyx_main.C (LyX): get full path of document loaded on the
844 2003-06-26 André Pönitz <poenitz@gmx.net>
846 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
847 remove unused/broken operator>,<,>=.
849 * text.C: remove only use of broken operator<= in an Assert().
851 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
853 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
854 moved errorlist_.clear to showErrorList
856 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
858 * converter.C (scanLog, runLaTeX):
859 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
860 move the bv->showErrorList call to the callers
861 * lyxfunc.C: i.e. here...
863 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
864 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
865 namespace, the second to...
866 * buffer_funcs (BufferFormat, parseErrors): added
867 * errorlist.C (ErrorList(TeXErrors const &)): removed
869 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * ToolbarBackend.C (getIcon): complain when icon cannot be found
873 2003-06-24 "Garst R. Reese" <reese@isn.net>
877 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
881 * version.C.in: change docversion to 1.4
883 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
885 * buffer.C: fix a bug just introduced
887 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
889 * buffer.[Ch]: added the parseError signal and use it, removed
891 * BufferView.[Ch] (addError): moved to ...
892 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
893 to the Buffer::parseError signal to catch (guess what) parse errors
894 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
896 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
898 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
899 ability to create a buffer and to return an existing one from
900 the list. Moved these functions to...
901 * buffer_funcs.[Ch]: added
902 * BufferView.[Ch] (loadLyXFile): added
903 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
904 job removed from bufferlist::loadLyXFile.
905 * buffer.C (setReadOnly): make it work without view
906 (i.e added an if (users))
908 2003-06-19 Angus Leeming <leeming@lyx.org>
911 * LyXAction.C (init):
912 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
913 with LFUN_DIALOG_SHOW <name> <data>.
915 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * CutAndPaste.C (availableSelections): small compilation fix for
918 ancient (gcc 2.9x) compilers
920 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * text3.C (cursorNext): add tmp var
924 * text2.C (updateCounters): for function calling out of for clause
925 (replaceSelectionWithString): ditto
926 (insertStringAsParagraphs): ditto
927 (getColumnNearX): add tmp var
928 (setCursorFromCoordinates): add tmp var
929 (cursorDownParagraph): add tmp var
930 (deleteEmptyParagraphMechanism): add tmp var
932 * text.C (insertChar): add tmp var
934 * rowpainter.C (paintDepthBar): add tmp var
936 * CutAndPaste.C (availableSelections): potentially check all
937 paragraphs in a cut to fill the shown strings.
939 2003-06-18 André Pönitz <poenitz@gmx.net>
941 * kbmap.[Ch]: use vector<> instead of list<>
943 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
945 * text3.C (dispatch): handle arg to LFUN_PASTE, call
946 pasteSelection with index
948 * text2.C (pasteSelection): modify, call pasteSelection with index
950 * paragraph.C (asString): reimplement version with no interval to
951 call the one with interval.
953 * lyxtext.h: add index arg to pasteSelection
955 * MenuBackend.C (MenuItem): handle PasteRecent
956 (Menu::read::Menutags): add md_pasterecent
958 (expandPasteRecent): new function
961 * MenuBackend.h: add PasteRecent to MenuItem::Kind
963 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
965 (availableSelections): new function
967 2003-06-17 Angus Leeming <leeming@lyx.org>
969 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
971 2003-06-17 Angus Leeming <leeming@lyx.org>
974 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
976 * lyxfunc.C (dispatch): invoke it.
978 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
980 * iterators.C (operator++, ParPosition): reintroduce some
981 const_cast for the benefit of older compilers.
983 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * text3.C (dispatch): do not modify clipboard when doing
986 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
987 LFUN_DELETE_SKIP on a selection selection
989 2003-06-16 André Pönitz <poenitz@gmx.net>
995 * tabular.[Ch]: IU of clone() and getLabelList();
997 2003-06-13 André Pönitz <poenitz@gmx.net>
999 * tabular.h: compactification
1001 2003-06-12 André Pönitz <poenitz@gmx.net>
1005 * tabular_funcs.h: some renaming plus whitespace
1007 2003-06-12 André Pönitz <poenitz@gmx.net>
1010 * BufferView_pimpl.C:
1016 * toc.C: Return a Paragraph & for ParIterator::operator*()
1018 2003-06-11 John Levon <levon@movementarian.org>
1022 * ToolbarBackend.C: add "Toolbars" section and
1025 2003-06-10 Angus Leeming <leeming@lyx.org>
1028 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1030 * lyxfunc.C (dispatch): invoke it.
1032 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * main.C: protect <ios> with HAVE_IOS
1035 (main): protect sync_with_stdio with HAVE_IOS
1037 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1039 * text2.C (cutSelection): adjust
1040 (pasteSelection): adjust
1042 * messages.C: handle get of empty string
1044 * main.C (main): use sync_with_stdio(false)
1046 * lyxfunc.C (dispatch): adjust
1048 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1049 (WriteAs): remove unneeded BufferView arg.
1051 * bufferparams.h: use correct types on papersize, papersize2 and
1054 * bufferparams.C (readToken): adjust for type
1055 (writeLaTeX): add missing cases to switch.
1057 * bufferlist.C (quitWriteBuffer): adjust
1060 * buffer.C (asciiParagraph): remove some commented code.
1062 * CutAndPaste.C: remove current_view extern variable.
1063 (cutSelection): add BufferParams arg.
1064 (eraseSelection): add BufferParams arg.
1065 (pasteSelection): add Buffer const & arg
1067 2003-06-07 John Levon <levon@movementarian.org>
1070 * paragraph_funcs.C:
1071 * paragraph_pimpl.C:
1075 * paragraph.C: allow InsetERT to freely space lines,
1076 and some consolidation of code
1078 2003-06-06 José Matos <jamatos@fep.up.pt>
1080 * buffer.C (makeDocBookFile): fix bug #821
1082 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1084 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1086 2003-06-04 Angus Leeming <leeming@lyx.org>
1088 * buffer.C: bump format to 224.
1090 2003-06-05 André Pönitz <poenitz@gmx.net>
1092 * text2.C (redoParagraphs): remove two const_cast<>
1094 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1096 * ParagraphList.h: remove last remnants of NO_STD_LIST
1098 2003-06-03 Angus Leeming <leeming@lyx.org>
1100 * factory.C (createInset): small change to the way InsetExternal's params
1103 2003-06-04 André Pönitz <poenitz@gmx.net>
1105 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1107 * paragraph_pimpl.h:
1108 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1110 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1112 * undo_funcs.C: make some simple cases of undo work again
1114 2003-06-03 John Levon <levon@movementarian.org>
1116 * ispell.C: HPUX doesn't have sys/select.h
1119 2003-06-03 John Levon <levon@movementarian.org>
1121 * CutAndPaste.C: update tabular and include inset
1126 * paragraph.C: remove owningBuffer(), don't pass Buffer
1129 * factory.C: insetGraphicsParams changed
1131 2003-06-02 John Levon <levon@movementarian.org>
1137 * text3.C: remove insetparent
1139 2003-06-02 John Levon <levon@movementarian.org>
1142 * buffer.C: fix inset_iterator.end(), move out of line
1145 2003-06-01 John Levon <levon@movementarian.org>
1147 * text3.C: use a proper cut/paste when doing inset
1148 insert (from Jürgen Spitzmüller)
1150 2003-06-01 John Levon <levon@movementarian.org>
1152 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1154 2003-05-30 André Pönitz <poenitz@gmx.net>
1156 * rowpainter.C: unify second drawing phase
1158 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * trans_mgr.C: remove one case of current_view
1162 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1164 * paragraph_funcs.h: remove paragraph.h include
1166 * paragraph.h: delete NO_STD_LIST stuff
1168 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1170 * buffer.h: remove paragraph.h include
1172 * ParagraphList.C: delete file
1174 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1176 * toc.C (getTocList): adjust
1178 * paragraph_pimpl.C (validate): adjust
1180 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1182 * paragraph.C (Paragraph): adjust
1183 (getPositionOfInset): use const_iterator, adjust
1184 (bibitem): use const_iterator, adjust
1185 (setInsetOwner): adjust
1187 * iterators.C (operator++): adjust
1189 * InsetList.[Ch]: Replace selfmade iterator with standard
1190 vector::iterator also introduce const_iterator. Remove getPos,
1191 getInset and setInset from InsetTable. Adjust accordingly.
1193 * BufferView.C (lockInset): adjust
1194 (ChangeInsets): adjust
1196 * tabular.[Ch]: delete commented same_id functions
1198 2003-05-28 John Levon <levon@movementarian.org>
1200 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1202 2003-05-28 André Pönitz <poenitz@gmx.net>
1204 * metricsinfo.[Ch]: remove 'fullredraw' member
1206 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1208 * lyxtextclass.C (operator): remove caching.
1210 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * text2.C (cursorBottom): adjust
1215 (setCounter): use ParagraphList::find, adjust
1217 * text.C (workWidth): use ParagraphList::find, adjust
1219 * lyxcursor.C (LyXCursor): adjust
1221 * buffer.C (inset_iterator): adjust
1223 * ParagraphList.h: make iterator(value_type) private, make
1224 ParagraphList a friend of iterator.
1226 * ParagraphList.C (find): new function
1228 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1230 2003-05-27 André Pönitz <poenitz@gmx.net>
1232 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1234 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1238 2003-05-26 John Levon <levon@movementarian.org>
1240 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1242 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * remove same_id from function signatures, adjust.
1246 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1250 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1252 * paragraph.C (Paragraph): get rid of same_ids parameter
1254 * ParagraphList.C (insert): adjust
1257 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * paragraph_funcs.C (breakParagraph): adjust
1260 (breakParagraphConservative): adjust
1262 * buffer.C (readParagraph): adjust
1264 * ParagraphList.C (insert): take a reference instead of a pointer
1267 * paragraph.[Ch] (id): new function
1269 * bufferlist.C (newFile): adjust
1271 * ParagraphList.C (ParagraphList): adjust
1273 (push_back): take a reference instead of a pointer.
1275 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1277 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1280 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1281 set else use old code.
1283 * ParagraphList.C: remove all NO_NEXT code and only compile this
1284 code of NO_STD_LIST is set.
1286 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1288 * BufferView_pimpl.C:
1298 * graphics/GraphicsConverter.C:
1299 * graphics/PreviewLoader.C: header adjustment
1301 2003-05-23 Angus Leeming <leeming@lyx.org>
1303 * LaTeXFeatures.[Ch] (useBabel): new method.
1304 * bufferparams.C (writeLaTeX): use it.
1306 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1308 * ParagraphList.h (set): remove unused function.
1310 2003-05-23 André Pönitz <poenitz@gmx.net>
1313 * BufferView_pimpl.C:
1317 * undo_funcs.C: setUndo reworked
1319 * iterators.[Ch]: add access to topmost ParagraphList
1321 * lyxtext.[Ch] (workWidth): add a const
1323 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1325 * texrow.[Ch] (increasePos): remove function
1326 * exporter.C (export): removed unused var and outdated comment
1328 2003-05-23 Angus Leeming <leeming@lyx.org>
1330 * latexrunparams.h: rename fragile as moving_arg.
1331 * paragraph.C (simpleTeXOnePar): ditto.
1332 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1334 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1338 (textUndoOrRedo): comment out a currently unused var.
1340 * paragraph.h (NO_NEXT): enable NO_NEXT
1342 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1344 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1346 * exporter.C (Export): adjust for removeAutoInsets removal.
1348 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1350 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1352 * BufferView.[Ch] (removeAutoInsets): delete function
1354 2003-05-22 Angus Leeming <leeming@lyx.org>
1356 * latexrunparams.h: add a free_spacing variable.
1358 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1359 to pass moving_arg, as the data is stored in runparams.fragile.
1361 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1362 to Inset::latexOptional or to simpleTeXOnePar.
1364 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1365 free_spacing arg to Inset::latexOptional.
1367 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1370 2003-05-22 Angus Leeming <leeming@lyx.org>
1372 * latexrunparams.h: add fragile and use_babel variables.
1374 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1375 * buffer.C (makeLaTeXFile): store this returned value in
1376 runparams.use_babel, thus passing it to the inset::latex methods.
1378 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1379 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1381 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1382 longer has a fragile arg, as it is stored in runparams.fragile.
1384 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1385 moving_arg parameter as the data is stored in runparams.fragile.
1387 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1388 a fragile parameter as the data is stored in runparams.fragile.
1390 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1392 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1394 2003-05-22 Angus Leeming <leeming@lyx.org>
1396 * latexrunparams.h: add a 'bool nice' which defaults to false.
1398 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1399 now encapsulated within runparams.
1401 * bufferlist.C (updateIncludedTeXfiles):
1402 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1404 2003-05-22 Angus Leeming <leeming@lyx.org>
1406 * latexrunparams.h: new file containing struct LatexRunParams.
1407 * Makefile.am: add new file.
1409 * LaTeX.[Ch] (c-tor, run):
1410 * buffer.[Ch] (makeLaTeXFile):
1411 * bufferlist.[Ch] (updateIncludedTeXfiles):
1412 * converter.C (convert, scanLog):
1413 * converter.[Ch] (runLaTeX):
1414 * exporter.C (Export):
1415 * paragraph.[Ch] (simpleTeXOnePar):
1416 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1417 * paragraph_funcs.[Ch] (latexParagraphs):
1418 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1419 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1420 pass around a LatexRunParams parameter.
1422 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * paragraph.[Ch]: remove unused constructor
1426 * ParagraphList.C (erase): new function, taking two iterators
1428 2003-05-22 André Pönitz <poenitz@gmx.net>
1430 * undo_funcs.C: remove duplicated code
1432 * iterator.[Ch]: operator=
1434 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * tabular.C (SetMultiColumn): ws changes
1438 * rowpainter.C (paintFirst): get rid of a ->previous
1440 * lyx_cb.C (getPossibleLabel): parlist simplification
1442 * BufferView.C (ChangeInsets): simplify slightly.
1444 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1446 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1447 * lfuns.h: new LFUN_SPACE
1448 * lyxfunc.C: protected space has a new lfun
1449 * paragraph_funcs.C: read new space insets
1451 * factory.C: handle new space insets
1453 2003-05-22 André Pönitz <poenitz@gmx.net>
1456 * BufferView_pimpl.C:
1459 * undo_funcs.C: return a ParIterator from getParFromID.
1461 * iterators.[Ch]: add two const's
1463 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * toc.C (getTocList): adjust
1467 * iterators.[Ch]: rework for parlist
1469 * buffer.C (par_iterator_begin): adjust
1470 (par_iterator_end): adjust
1472 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1474 * BufferView.C (removeAutoInsets): adjust
1475 (ChangeInsets): adjust
1477 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1479 * text.C (top_y): fix bug 1110
1481 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1483 * errorlist.[Ch]: added
1486 * BufferView_pimpl.C:
1487 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1490 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * Makefile.am: ensure that lyx is relinked upon changes to the
1493 various "convenience" libs.
1495 2003-05-20 Angus Leeming <leeming@lyx.org>
1497 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1498 files are compiled in alphabetical order again.
1500 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1502 2003-05-19 Angus Leeming <leeming@lyx.org>
1504 * gettext.[Ch]: remove "char const * _(char const *)".
1506 2003-05-19 André Pönitz <poenitz@gmx.net>
1508 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1517 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1519 2003-05-19 André Pönitz <poenitz@gmx.net>
1523 * lyxtextclass.[Ch]:
1525 * paragraph_funcs.[Ch]:
1527 * text3.C: more insetenv work
1529 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1531 * ParagraphParameters.C (params2string): small bug fixed
1533 2003-05-16 André Pönitz <poenitz@gmx.net>
1536 * bufferview_funcs.C: patch from Kornel Benko to prevent
1537 crash when _(...) is called twice in a statement
1539 2003-05-16 André Pönitz <poenitz@gmx.net>
1546 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1548 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1550 * lyx_main.C (init): remove spurious static_cast
1552 2003-05-14 André Pönitz <poenitz@gmx.net>
1554 * BufferView.C: fix format string
1556 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1558 * BufferView.[Ch] (insertErrors): removed
1559 * BufferView.[Ch] (showErrorList): added
1560 * buffer.C (runChkTeX):
1561 * converter.C (scanLog): call showErrorList instead of inserterrors
1563 2003-05-13 André Pönitz <poenitz@gmx.net>
1565 * BufferView_pimpl.C:
1567 * bufferview_func.C:
1574 * tabular_funcs.h: tostr() from its own header
1576 * ParagraphParameters.C:
1581 * text3.C: STRCONV()
1583 2003-05-12 André Pönitz <poenitz@gmx.net>
1586 * BufferView_pimpl.C:
1590 * ParagraphParameters.C:
1594 * bufferview_funcs.C:
1607 * paragraph_funcs.C:
1611 * text3.C: boost::format -> bformat all over the place
1614 2003-05-09 André Pönitz <poenitz@gmx.net>
1616 * LColor.[Ch]: Pimpl the #include <map> away
1618 2003-05-09 John Levon <levon@movementarian.org>
1620 * bufferlist.C: never remove emergency saves
1622 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * Makefile.am: better lib building
1626 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1630 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1631 (simpleTeXSpecialChars): adjust
1632 (simpleTeXSpecialChars): adjust
1633 * paragraph.C (simpleTeXOnePar): adjust
1634 * buffer.C (makeLaTeXFile): adjust
1636 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1638 * text2.C (changeDepth): parlist cleanup
1639 (getColumnNearX): ditto
1641 * rowpainter.C (getLabelFont): parlist cleanup
1643 * bufferlist.C (newFile): parlist cleanup
1645 * CutAndPaste.C (eraseSelection): parlist cleanup
1647 * BufferView_pimpl.C (trackChanges): parlist cleanup
1650 * BufferView.C (lockInset): parlist cleanup.
1651 (ChangeInsets): ditto
1653 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * CutAndPaste.h: Update file header.
1657 * CutAndPaste.C: Update file header.
1658 Store the parts cut out of the Document in a limited_stack.
1659 (copySelection): adjust
1660 (pasteSelection): new function, takes the index in the limited stack.
1661 (nrOfParagraphs): adjust
1662 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1663 simplify error inset insertion.
1664 (checkPastePossible): adjust
1666 2003-05-06 John Levon <levon@movementarian.org>
1668 * text2.C: don't cast wrap inset to float
1670 2003-05-05 André Pönitz <poenitz@gmx.net>
1673 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1675 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1676 few naked Paragraph *.
1678 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1680 * bufferparams.C: Output warning if a document with missing
1681 TeX document class is loaded
1682 * exporter.C: Disable TeX exports if the document class is missing
1685 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1686 isTeXClassAvailable()
1688 2003-05-03 John Levon <levon@movementarian.org>
1691 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1692 explicit cursor show/hide
1694 * BufferView_pimpl.h:
1695 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1696 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1698 * lyxfunc.C: hide cursor before dispatching.
1703 * text3.C: remove explicit cursor hides
1705 2003-05-02 André Pönitz <poenitz@gmx.net>
1707 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1710 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1713 * text2.C: tiny whitespace
1715 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1717 * undo_funcs.C: almost only ws changes.
1719 * ParagraphList.C (splice): just return if pl is empty.
1721 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * ParagraphList.C (splice): new function.
1725 * CutAndPaste.C (pasteSelection): use it
1727 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * CutAndPaste.C (pasteSelection): remove the last next and
1730 previous from this file.
1732 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * CutAndPaste.C (pasteSelection): more clean up, user proper
1735 ParagraphList functions for pasteing.
1737 * ParagraphList.C (insert): new function, three arg insert
1739 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * ParagraphList.C (insert): new function, three arg insert
1743 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1746 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1750 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1754 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1757 (copySelection): clean up a bit.
1758 (pasteSelection): use make_pair
1760 * ParagraphList.C (ParagraphList): implement copy constructor
1761 (operator=): implement, base on copy constructor.
1764 * paragraph.C (erase): return a bool
1766 * paragraph_pimpl.C (erasePos): remove function, move contents...
1767 (erase): ... here. Return a bool.
1768 (erase): call erase instead of erasePos.
1770 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1772 * ParagraphList.h: define PitPosPair
1773 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1774 ParagraphList, fix a bug on pasting multiple pars
1775 * text2.C: change interface to C&P
1777 2003-04-30 André Pönitz <poenitz@gmx.net>
1779 * undo_func.C: revert part of yesterday's patch 2
1781 2003-04-30 John Levon <levon@movementarian.org>
1783 * LColor.C: s/tabular/table/
1785 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * text3.C (dispatch): do not convert iterator -> pointer
1788 * undo_funcs.C (setCursorParUndo): ditto
1789 * text_funcs.C (transposeChars): ditto
1791 * text2.C (setLayout): ws changes only
1793 * text.C (breakParagraph): do not convert iterator -> pointer
1795 (acceptChange): ditto
1796 (rejectChange): ditto
1801 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1804 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1806 * text3.C (gotoInset): YABG (yet another bad getChar)
1808 2003-04-29 André Pönitz <poenitz@gmx.net>
1810 * paragraph.h: make operator= private unimplemented as long as
1813 * ParagraphList.C: whitespace
1816 * paragraph_pimpl.[Ch]:
1817 * paragraph_funcs.C:
1819 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1822 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1824 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1826 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1827 * paragraph.[Ch] (erase):
1828 * paragraph_pimpl.[Ch] (erase): change return type and value
1829 * text2.C (cutSelection): some rework
1831 2003-04-28 John Levon <levon@movementarian.org>
1833 * bufferlist.C: changes for unsaved changes dialog
1835 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * bufferlist.C (newFile): set language (messages_) for new
1840 * buffer.C (readFile): ws changes only.
1842 2003-04-28 André Pönitz <poenitz@gmx.net>
1847 * BufferView_pimpl.C:
1848 * BufferView.C: getParFromID related ParagraphList::iterator changes
1850 2003-04-28 André Pönitz <poenitz@gmx.net>
1852 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1855 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * messages.C: remove one more localedir class variable.
1859 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * messages.C (getLocaleDir): singleton generation function
1863 (Messages): add a default constructor.
1865 * main.C (main): do not setup localedir here, do not call
1868 * gettext.C (_): use it.
1869 (gettext_init): delete funciton
1871 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * gettext.C (getLyXMessages): new singleton generating function.
1875 * buffer.C (updateDocLang): adjust
1877 * Makefile.am (messages.o): add target
1878 (main.o): remove target
1880 2003-04-27 John Levon <levon@movementarian.org>
1885 * lyxvc.C: specify cancel button in Alert::prompt
1887 2003-04-26 John Levon <levon@movementarian.org>
1892 * LyXAction.C: add LFUN_INSET_SETTINGS
1894 * lyxfunc.C: don't enable tabular-feature when there's
1895 just any locking inset
1897 2003-04-26 John Levon <levon@movementarian.org>
1899 * bufferlist.C: re-add Cancel to buffer close question
1901 * lyxfunc.C: fix import UI a bit
1903 2003-04-25 John Levon <levon@movementarian.org>
1905 * gettext.C: remove the broken asserts for now
1907 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * messages.C: make case where setlocale cannot comply work better.
1911 * buffer.C (updateDocLang): new function
1912 (changeLanguage): use it
1915 * text2.C (setCounter): use B_ a bit.
1917 * lyxlayout.C (Read): be sure to trim the label strings.
1919 * messages.C (Messages): fix typo in comment
1921 * buffer.C (readFile): set message_ after file is loaded.
1922 (makeDocBookFile): remove double return
1923 (changeLanguage): reset message_ upon language change.
1924 (B_): new func, use this to get translated buffer strings.
1926 * main.C: add myself and Jean Marc as authors.
1928 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * messages.[hC]: pimplify Messages, and three different pimpls to be
1931 used in different circumstances.
1933 * gettext.[Ch]: change for use with new message code.
1935 2003-04-24 André Pönitz <poenitz@gmx.net>
1937 * factory.C: support for eqref
1939 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * messages.[Ch]: add missing char
1943 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1945 * messages.[Ch]: New files
1947 2003-04-18 John Levon <levon@movementarian.org>
1951 * BufferView_pimpl.C:
1955 * text2.C: remove layout-copy/paste (bug 778)
1957 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1959 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1961 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1963 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1964 if they succeed. Act accordingly.
1966 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * text2.C (setCharFont): adjust
1969 (setCounter): adjust
1970 (insertStringAsLines): adjust
1972 * text.C (leftMargin): adjust
1973 (setHeightOfRow): adjust
1975 * rowpainter.C (paintFirst): adjust
1978 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1980 (isFirstInSequence): ditto
1981 (getEndLabel): ditto
1984 * paragraph.C (getParLanguage): comment out some hard stuff.
1986 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1988 (simpleDocBookOnePar): ditto
1989 (makeDocBookFile): use ParagraphList::iterator
1991 * CutAndPaste.C (pasteSelection): adjust
1993 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * text2.C (getFont): adjust
1996 (getLayoutFont): adjust
1997 (getLabelFont): adjust
1999 * paragraph_funcs.C (TeXOnePar): adjust
2001 * buffer.C (simpleLinuxDocOnePar): adjust
2002 (simpleDocBookOnePar): adjust
2004 * CutAndPaste.C (pasteSelection): adjust
2006 * BufferView.C (getEncoding): adjust
2008 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2010 2003-04-16 John Levon <levon@movementarian.org>
2012 * lyxfind.C: use parlist stuff for search/changes
2014 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2018 * text2.C (deleteEmptyParagraphMechanism): adjust
2020 * text2.[Ch] (ownerParagraph): delete func (both of them
2022 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2026 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * ParagraphList.C: prepare for NO_NEXT
2030 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * text2.C (getFont): adjust
2033 (getLayoutFont): adjust
2034 (getLabelFont): adjust
2036 * paragraph.C (getFont): adjust
2037 (getLabelFont): adjust
2038 (getLayoutFont): adjust
2040 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2042 2003-04-15 John Levon <levon@movementarian.org>
2046 * lyx_main.C: handle Include in .ui files
2048 2003-04-15 John Levon <levon@movementarian.org>
2050 * MenuBackend.C: make the doc files length shorter
2053 * ToolbarBackend.C: handle toolbar placement flags,
2056 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2061 * paragraph_funcs.C (TeXOnePar): adjust
2063 * paragraph.C (getLabelFont): add outerfont arg, adjust
2064 (getLayoutFont): ditto
2065 (simpleTeXOnePar): adjust
2067 * paragraph_pimpl.C (realizeFont): delete func
2069 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2071 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2072 row argument, constify cur argument.
2074 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * text2.C (getFont): adjust
2077 (getLayoutFont): adjust
2078 (getLabelFont): adjust
2080 * paragraph_funcs.C (TeXOnePar): adjust
2081 (outerFont): new func...
2082 (realizeFont): ...moved out from here, changed this to facilitate
2085 * paragraph.C (getFont): take outerfont as arg, adjust
2086 (simpleTeXOnePar): add outerfont arg, adjust
2088 * buffer.C (simpleLinuxDocOnePar): adjust
2089 (simpleDocBookOnePar): adjust
2091 * CutAndPaste.C (pasteSelection): adjust
2093 * BufferView.C (getEncoding): adjust
2095 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * text2.C (setCharFont): adjust
2098 (setCounter): adjust
2100 * text.C (leftMargin): adjust
2101 (setHeightOfRow): adjust
2103 * rowpainter.C (paintFirst): adjust
2106 * paragraph_pimpl.C (realizeFont): adjust
2108 * paragraph.C (isFirstInSequence): move from here...
2109 * paragraph_funcs.C (isFirstInSequence): ...to here
2111 * paragraph.C (outerHook): move from here...
2112 * paragraph_funcs.C (outerHook): ...to here
2114 * paragraph.C (depthHook): move from here...
2115 * paragraph_funcs.C (depthHook): ...to here
2117 * paragraph.C (getEndLabel): move from here...
2118 * paragraph_funcs.C (getEndLabel): ...to here
2120 * text2.C (realizeFont): move from here...
2121 * paragraph_funcs.C (realizeFont): ...to here
2123 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2127 2003-04-14 Angus Leeming <leeming@lyx.org>
2129 * LColor.[Ch]: scrap LColor mathcursor.
2131 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * lyxlex.[Ch] (text): delete function
2134 * trans.C (Load): adjust
2135 * paragraph_funcs.C (readParToken): adjust
2137 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2140 vector<char> instead of a char[].
2142 * lyxlex_pimpl.C (getString): adjust
2144 (lex): use getString
2148 * lyxlex.C (text): use pimpl_->getString()
2152 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2155 (makeFontEntriesLayoutSpecific): temp var for par.size()
2156 (setLayout): temp var for ownerParagraphs().end()
2157 (fullRebreak): temp var for rows().end()
2158 (selectionAsString): temp var for boost::next(startpit), realize
2159 that the while really is a regular for loop.
2160 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2161 setCursor in one place.
2162 (setParagraph): temp vr for ownerParagraphs().end()
2163 (updateCounters): make the while loop a for loop
2164 (cutSelection): temp var for ownerParagraphs().end()
2165 (updateInset): make the do {} while() a regular for loop
2166 (getCursorX): use temp vars
2167 (setCurrentFont): use temp vars
2168 (getColumnNearX): use temp vars
2170 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2172 * text.C (transformChar): use temp var for getChar
2173 (computeBidiTables): use temp var for row->par()
2174 (fill): move temp vars for row->par() and pit->layout() earlier in
2176 (labelFill): use temp var for row->par()
2177 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2178 asc and desc, realize that pit never changes and that firstpit is
2179 just a duplicate and not needed. Exchange rit->par() with pit in a
2181 (breakAgain): use a temp var for boost::next(rit)
2182 (breakAgainOneRow): ditto
2183 (breakParagraph): use a temp var for rows().begin()
2184 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2185 (cursorRightOneWord): use temp var for cursor.par() and
2186 cursor.pos(), remove usage of tmpcursor.
2187 (cursorLeftOneWord): use temp var for cursor.par() and
2188 cursor.pos() only set cur at end of function.
2190 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * text.C, text2.C: exchange all usage of Paragraph::next with
2193 boost::next(ParagraphList::iterator)
2195 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2197 * text2.C (cursorTop): simplify implementation
2198 (cursorBottom): ditto
2199 (setParagraph): use ParagraphList::iterator
2200 (setCurrentFont): adjust
2201 (getColumnNearX): adjust
2202 (cursorRight): adjust
2203 (cursorLeft): remove usage of Paragraph::previous
2204 (cursorUpParagraph): ditto
2205 (deleteEmptyParagraphMechanism): slight cleanup
2207 * text.C (isBoundary): take a Paragraph const & instead of a
2209 (addressBreakPoint): ditto
2210 (leftMargin): remove usage of Paragraph::previous.
2211 (setHeightOfRow): ditto
2212 (cursorLeftOneWord): ditto
2213 (selectNextWordToSpellcheck): ditto
2216 (breakParagraph): remove one usage of Paragraph::next
2217 (redoParagraph): ditto
2218 (acceptChange): ditto
2219 (insertChar): adjust
2220 (rowBreakPoint): adjust
2222 * bufferview_funcs.C (toggleAndShow): adjust
2224 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2226 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2227 methods to access it.
2229 * text.C: Added updateRowPositions to compute all row positions.
2230 Make top_y and getRowNearY() to use the cached y position
2232 2003-04-11 John Levon <levon@movementarian.org>
2234 * text.C (rowBreakPoint): reintroduce the labelEnd
2235 checks, code copied from the row fill stuff. Deep voodoo.
2237 * text.C (fill): add a comment and debugging for the
2240 2003-04-11 John Levon <levon@movementarian.org>
2242 * text.C: make sure fullrow insets get wrapped to the next line,
2243 even when they're in a manual label
2245 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * text2.C (insertParagraph): make it take ParagraphList::iterator
2249 (setLayout): make it return ParagraphList::iterator
2250 (redoParagraphs): ditto
2252 (checkParagraph): ditto
2254 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2256 * text2.C: adjust several funcs.
2257 (realizeFont): take a ParagraphList::iterator as arg.
2258 (getLayoutFont): ditto
2259 (getLabelFont): ditto
2260 (setCharFont): ditto
2262 * text.C: adjust several funcs.
2264 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2266 * text.C (selectNextWordToSpellcheck): don't accidentally
2269 2003-04-10 John Levon <levon@movementarian.org>
2271 * ToolbarBackend.C (getIcon): special handling for
2274 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2276 * text2.C (cursorRight): a getChar assert fixed
2278 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * text2.C (getFont): change to take a ParagraphList::iterator
2281 instead of Paragraph*
2282 Adjust several functions.
2284 * text.C (transformChar): change to take a ParagraphList::iterator
2285 instead of Paragraph*
2286 (singleWidth): ditto
2287 Adjust several functions.
2289 * rowpainter.C: adjust several functions
2290 * rowpainter.h:store a ParagraphList::iterator and not a
2294 2003-04-09 John Levon <levon@movementarian.org>
2299 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2300 and the "help" bits as well
2302 2003-04-09 John Levon <levon@movementarian.org>
2305 * ToolbarBackend.C: allow multiple toolbars
2307 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * undo_funcs.C (setCursorParUndo): adjust
2311 * text_funcs.C (transposeChars): adjust
2313 * text3.C (gotoNextInset): adjust
2316 * text2.C (setLayout): adjust
2317 (changeDepth): adjust
2319 (redoParagraphs): adjust
2320 (selectionAsString): adjust
2321 (setParagraph): adjust
2322 (insertInset): adjust
2323 (cutSelection): adjust
2324 (copySelection): adjust
2325 (pasteSelection): adjust
2326 (insertStringAsLines): adjust
2327 (updateInset): adjust
2328 (setCursor): change to take a ParagraphList::iterator parameter
2329 (setCursorIntern): change to take a ParagraphList::iterator parameter
2330 (setCurrentFont): adjust
2331 (cursorLeft): adjust
2332 (cursorRight): adjust
2333 (deleteEmptyParagraphMechanism): adjust
2335 * text.C (breakParagraph): adjust
2336 (insertChar): adjust
2337 (acceptChange): adjust
2338 (rejectChange): adjust
2339 (selectNextWordToSpellcheck): adjust
2340 (changeCase): adjust
2344 * lyxfind.C (SearchForward): adjust
2345 (SearchBackward): adjust
2346 (nextChange): adjust
2348 * lyxcursor.C (par): adjust
2350 * lyxcursor.h: store a ParagraphList::iterator instead of a
2353 * lyx_cb.C (getPossibleLabel): adjust
2355 * bufferview_funcs.C (toggleAndShow): adjust
2357 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2360 * BufferView.C (removeAutoInsets): adjust
2361 (lockedInsetStoreUndo): adjust
2363 2003-04-09 John Levon <levon@movementarian.org>
2365 * ToolbarBackend.C: try icon without argument
2366 if with argument fails
2368 2003-04-08 John Levon <levon@movementarian.org>
2371 * ToolbarBackend.C: add getIcon(), handle tooltip,
2372 and change from "Icon" to "Item".
2374 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2376 * BufferView.C (lockInset): another bad getchar crunched
2378 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2380 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2383 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2385 * lyxfind.C (searchForward, searchBackwards): bug 782
2387 2003-04-07 John Levon <levon@movementarian.org>
2389 * paragraph.C: remove dead comment
2391 * text.C: remove troublesome depth-fiddling code
2392 in leftMargin() and rightMargin() (bug 1017)
2394 * text.C: fix breaking of rows in nested lists
2397 * text2.C (updateCounters): fix up depth values
2400 2003-04-07 John Levon <levon@movementarian.org>
2402 * BufferView_pimpl.C: clear message when doc finishes resizing,
2403 and after a mouse event
2405 * lyxfunc.C: clear message after exiting inset
2407 2003-04-07 John Levon <levon@movementarian.org>
2409 * bufferview_funcs.C: show math status not outside
2410 status in the statusbar
2412 2003-04-07 John Levon <levon@movementarian.org>
2414 * lyxfunc.C: note status changed after a depth change
2416 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2418 * LaTeX.h: move AuxInfo operator==, != out of line.
2419 Remove LaTeX virtual destructor; nothing derives from it.
2420 Move operator()() out of public area and rename it startscript().
2421 Change protected for private.
2423 2003-04-04 Angus Leeming <leeming@lyx.org>
2426 * text2.C: remove unneeded #includes.
2428 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2430 * text2.C (dEPM): fix the heigth of the next row
2432 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2434 * text.C: squashed an invalid getChar requester + some ws changes
2436 2003-04-03 John Levon <levon@movementarian.org>
2438 * bufferview_funcs.h:
2439 * bufferview_funcs.C:
2442 * text2.C: make getStatus work for the env depth lfuns
2444 2003-04-03 John Levon <levon@movementarian.org>
2446 * bufferview_funcs.h:
2447 * bufferview_funcs.C:
2450 * text2.C: parlistize decDepth(), by merging it with incDepth()
2452 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * lyxrow.h: store a ParagraphList::iterator instead of a
2455 Paragraph* and adjust other class functions to suit.
2457 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2460 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2462 * text2.C (setCursor): do not anchor to cursor row for the time being
2464 2003-04-02 John Levon <levon@movementarian.org>
2471 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2473 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * paragraph.h: make ParagraphList and ParagraphList::iterator
2476 friends of Paragraph.
2478 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2480 * ParagraphList.C: Use the private next_ and previous_ from
2483 2003-04-01 John Levon <levon@movementarian.org>
2487 * Makefile.am: rename, remove defaults gunk
2490 * MenuBackend.C: remove defaults gunk
2493 * Languages.C: remove defaults gunk
2496 * lyx_main.C: error out if files couldn't be found.
2498 2003-04-02 John Levon <levon@movementarian.org>
2500 * text2.C: make incDepth() use parlist
2502 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * undo_funcs.C (firstUndoParagraph): adjust
2506 * text3.C (gotoInset): adjust
2507 (dispatch): adjust, and rewrite loop.
2509 * text2.C (init): adjust, and rewrite loop.
2510 (redoParagraphs): adjust
2511 (updateInset): adjust, and rewrite loop.
2512 (deleteEmptyParagraphMechanism): adjust
2514 * tabular.C (LyXTabular): adjust
2515 (SetMultiColumn): adjust
2518 * lyxtext.[Ch] (ownerParagraph): delete function
2519 (ownerParagraphs): new function returns a ParagraphList.
2521 * BufferView.C (removeAutoInsets): adjust
2522 (insertErrors): adjust
2523 (setCursorFromRow): adjust
2525 2003-04-01 Angus Leeming <leeming@lyx.org>
2527 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2530 2003-04-02 John Levon <levon@movementarian.org>
2536 * text_funcs.C: make transposeChars a free function
2538 * lyxrow_funcs.C: remove wrong comment
2540 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * rowpainter.C: adjust
2548 * lyxrow_funcs. [Ch]: new files
2550 * lyxrow.[Ch]: remove next and previous pointers
2551 (next,previous): remove accessor functions
2552 (isParEnd): move to lyxrow_funcs
2553 (lastPos): move to lyxrow_funcs
2554 (nextRowIsAllInset): move to lyxrow_funcs
2555 (lastPrintablePos): move to lyxrow_funcs
2556 (numberOfSeparators): move to lyxrow_funcs
2557 (numberOfHfills): move to lyxrow_funcs
2558 (numberOfLabelHfills): move to lyxrow_funcs
2559 (hfillExpansion): move to lyxrow_funcs
2563 * bufferview_funcs.C (toggleAndShow): adjust
2565 * RowList.h: Remove class RowList from file leave just a
2568 * RowList.C: delete file
2570 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2573 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * text3.C (cursorPrevious): adjust
2576 (cursorNext): adjust
2579 * text2.C (redoHeightOfParagraph): adjust
2580 (redoDrawingOfParagraph): adjust
2583 * text.C (breakParagraph): adjust
2584 (insertChar): adjust
2587 * rowpainter.C (RowPainter): adjust
2588 (leftMargin): simplify and adjust
2589 (most rowpainter functions): adjust.
2591 * rowpainter.h: store the row as RowList::iterator not as Row*
2593 * lyxcursor.C (row): taka RowList::iterator as arg
2596 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2599 2003-04-01 Angus Leeming <leeming@lyx.org>
2601 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2602 stuff like bool Bool.
2604 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2606 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2609 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2614 * lyxtext.h (rows): drop one version and leve a const variant that
2615 returns a RowList::iterator.
2617 2003-03-31 Angus Leeming <leeming@lyx.org>
2619 * text.C (fill): ensure that the signature is the same as that in the
2622 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * text2.C (redoParagraphs): adjust
2625 (updateCounters): adjust
2626 (checkParagraph): adjust
2627 (getColumnNearX): adjust and reformat a bit.
2629 * text.C (top_y): adjust
2631 (leftMargin): adjust
2632 (prepareToPrint): adjust
2634 (getRowNearY): adjust
2636 * lyxtext.h: make rowlist_ mutable.
2638 * RowList.h: add const_iterator
2639 * RowList.C: adjust for RowList::const_iterator.
2641 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2644 2003-03-31 John Levon <levon@movementarian.org>
2647 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2649 * lyx_main.C: set default fonts from using lyx_gui funcs
2651 * exporter.C: pdf_mode moved from lyxrc
2654 * lyxfunc.C: changes from above
2656 2003-03-31 John Levon <levon@movementarian.org>
2658 * lyx_main.C: fix to the last fix
2660 2003-03-31 John Levon <levon@movementarian.org>
2662 * bufferlist.C: "Load original" -> "Load Original"
2668 * format.C: more Alert cleanups
2670 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * text2.C (removeParagraph): make it take a RowList::iterator as
2674 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2675 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2677 * text.C (anchor_row): make it take a RowList::iterator as arg,
2679 (computeBidiTables): make it take a const reference to Row instead
2680 of Row pointer, adjust.
2681 (leftMargin): make it take a RowList::iterator as arg, adjust.
2682 (rowBreakPoint): adjust
2683 (breakAgainOneRow): make it take a RowList::iterator as arg,
2685 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2687 * bufferview_funcs.C (toggleAndShow): adjust
2689 2003-03-30 John Levon <levon@movementarian.org>
2693 * boost-inst.C: moved to support
2695 * several files: changes as a result
2697 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2699 * text2.C (LyXText): adjust.
2701 (removeRow): make it take a RowList::iterator as arg, adjust.
2702 (fullRebreak): adjust
2703 (deleteEmptyParagraphMechanism): adjust
2704 (clearPaint): adjust
2707 * text.C (top_y): adjust
2708 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2709 (breakAgain): make it take a RowList::iterator as arg, adjust.
2710 (breakParagraph): adjust
2711 (insertChar): adjust
2714 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2715 need_break_row, and refresh_row.
2717 * text3.C (dispatch): adjust
2719 * text2.C (checkParagraph): adjust
2721 (setCursorFromCoordinates): adjust
2723 * text.C (top_y): adjust
2725 (getRow): make it return a RowList::iterator, adjust
2726 (getRowNearY): make it return a RowList::iterator, adjust
2728 * text2.C (init): adjust
2729 (insertRow): remove function
2730 (insertParagraph): adjust
2731 (redoParagraphs): adjust
2732 (fullRebreak): adjust
2733 (updateCounters): adjust
2735 * text.C (top_y): rewrite to use RowList iterators.
2737 (setHeightOfRow): rewrite to sue RowList iterators.
2738 (appendParagraph): adjust
2739 (breakAgain): adjust
2740 (breakAgainOneRow): adjust
2741 (breakParagraph): adjust
2743 (getRowNearY): adjust, and remove commented code.
2745 * lyxtext.h (firstRow): delete function
2746 (lastRow): delete function
2747 (rows): new function (const and non-const versions.)
2748 (insertRow): delete function
2750 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2752 2003-03-29 John Levon <levon@movementarian.org>
2754 * BufferView_pimpl.C: always update scrollbar top
2755 because pasting text when we're anchored could mean we
2756 miss an update altogether
2758 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * text2.C (init): use rowlist_.end() and not 0.
2761 (insertRow): change to take a RowList::iterator as arg, adjust
2763 (insertParagraph): change to take a RowList::iterator as arg,
2765 (redoParagraphs): remove some debug msgs.
2767 * text.C (appendParagraph): change to take a RowList::iterator
2768 arg, adjust for this.
2769 (breakAgain): add an assert
2770 (breakAgainOneRow): ditto
2772 2003-03-29 John Levon <levon@movementarian.org>
2774 * text2.C: do not clear selection after inc/decDepth
2777 2003-03-29 John Levon <levon@movementarian.org>
2780 * buffer.C: fix broken strerrors according to Lars
2782 2003-03-29 John Levon <levon@movementarian.org>
2784 * converters.C: more Alert cleanups
2786 2003-03-29 John Levon <levon@movementarian.org>
2788 * bufferview_funcs.C: remove pointless Alert
2790 * buffer.C: fix confusing error message when
2791 a template is chmoded 000
2793 2003-03-29 John Levon <levon@movementarian.org>
2797 * BufferView_pimpl.C: Alert fixes
2801 * tabular-old.C: remove unused table compat reading
2803 2003-03-29 John Levon <levon@movementarian.org>
2808 * lyx_cb.C: more Alert cleanups
2810 * lyxfunc.C: don't allow chktex if not latex document
2812 2003-03-29 John Levon <levon@movementarian.org>
2816 * buffer.C: warnings pushed down from support/,
2819 2003-03-29 John Levon <levon@movementarian.org>
2821 * lyxfunc.C: safety check for C-r (revert)
2823 2003-03-29 John Levon <levon@movementarian.org>
2826 * bufferlist.C: several UI fixes using Alert::prompt.
2827 Fix the pointless looping quit code. Fix stupid revert
2832 * lyx_cb.C: use Alert::prompt
2834 * lyx_main.C: remove a silly question
2836 * lyxfunc.C: remove a couple of silly questions,
2839 2003-03-28 John Levon <levon@movementarian.org>
2841 * text2.C: fix bug 974 (End on empty par)
2843 2003-03-28 John Levon <levon@movementarian.org>
2845 * BufferView_pimpl.C:
2847 * lfuns.h: remove do-nothing math greek lfuns
2849 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * lyxgluelength.h (isValidGlueLength): add default arg on
2852 parameter 2. Remove default arg from friend in class.
2854 * lyxlength.h (isValidLength): add default arg on parameter 2.
2855 Remove default arg from friend in class.
2857 * text2.C (LyXText): adjust, initialize refresh_row.
2861 (insertParagraph): adjst
2862 (redoParagraphs): adjust
2863 (fullRebreak): adjust
2864 (updateCounters): adjust
2865 (deleteEmptyParagraphMechanism): first attempt at fixing a
2868 * text.C (top_y): adjust
2869 (setHeightOfRow): adjust
2871 (getRowNearY): adjust
2873 * lyxtext.h: include RowList.h
2874 (~LyXText): not needed anymore, deleted.
2875 (firstRow): modify for RowList
2876 (lastRow): new function
2877 Delete firstrow and lastrow class variables, add a Rowlist
2878 rowlist_ class variable.
2880 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2883 * RowList.C (insert): fix case where it == begin().
2885 2003-03-26 Angus Leeming <leeming@lyx.org>
2887 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2888 the thesaurus dialog.
2890 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2894 * RowList.[Ch]: new files
2896 * ParagraphList.C (erase): handle the case where it == begin
2899 2003-03-25 John Levon <levon@movementarian.org>
2903 * aspell.C: add new aspell support
2906 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2909 2003-03-25 Angus Leeming <leeming@lyx.org>
2912 * LyXAction.C (init): new LFUN_INSET_INSERT.
2914 * BufferView_pimpl.C (dispatch): split out part of the
2915 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2917 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2920 2003-03-25 Angus Leeming <leeming@lyx.org>
2922 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2924 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2927 * text3.C: remove useless row->height(0)
2929 2003-03-25 John Levon <levon@movementarian.org>
2933 * text3.C: rename the refreshing stuff to better names
2935 2003-03-24 John Levon <levon@movementarian.org>
2937 * BufferView_pimpl.h:
2938 * BufferView_pimpl.C: update layout choice on a mouse
2941 2003-03-23 John Levon <levon@movementarian.org>
2943 * Makefile.am: fix commandtags.h reference
2945 2003-03-22 John Levon <levon@movementarian.org>
2947 * BufferView_pimpl.C:
2952 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2954 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2957 * text.C: take the rtl methods out of line
2959 2003-03-21 André Pönitz <poenitz@gmx.net>
2961 * metricsinfo.[Ch]: new files containing structures to be passed around
2962 during the two-phase-drawing...
2964 2003-03-21 André Pönitz <poenitz@gmx.net>
2966 * lyxtextclass.C: read 'environment' tag.
2968 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2970 * text2.C (removeRow): fix bug 964
2972 2003-03-20 John Levon <levon@movementarian.org>
2976 * text2.C: paint cleanups. Inset::update() dropped font
2979 2003-03-19 John Levon <levon@movementarian.org>
2981 * lyxfunc.C: only fitcursor/markDirty if available()
2983 2003-03-19 John Levon <levon@movementarian.org>
2985 * commandtags.h: rename to ...
2987 * lfuns.h: ... this, and renumber / cleanup
2989 2003-03-19 John Levon <levon@movementarian.org>
2991 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2992 fit the cursor after an lfun
2996 * BufferView_pimpl.h:
2997 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2999 * LyXAction.C: layout-character should have ReadOnly
3001 * ParagraphParameters.C:
3003 * bufferview_funcs.C:
3010 * undo_funcs.C: changes from above
3012 2003-03-18 John Levon <levon@movementarian.org>
3014 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3015 remove it from update()
3017 * lyxfunc.C: update layout choice after an lfun
3019 * text3.C: remove extra updateLayoutChoice()s
3021 2003-03-18 John Levon <levon@movementarian.org>
3023 * text.C: top_y change means full repaint, fix
3024 a drawing bug with cursor movement
3026 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3030 * text2.C: anchor row on setCursor
3032 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3034 * lyxtext.h: remove almost all mutable keywords
3037 * text3.C: remove const keywords accordingly
3039 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3043 (TeXEnvironment): ditto
3046 2003-03-17 John Levon <levon@movementarian.org>
3048 * text.C (rowBreakPoint): remove attempt to fix displayed
3049 math insets inside a manual label
3051 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * lyxtext.h: remove BufferView* as first arg from almost all class
3055 * other files: adjust.
3057 2003-03-17 John Levon <levon@movementarian.org>
3061 * text2.C: more paint cleanups
3063 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3066 * rowpainter.C: remove "smart" background painting code
3068 2003-03-16 John Levon <levon@movementarian.org>
3073 * text3.C: add helper functions for setting refresh_row/y
3075 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3077 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3078 newline inset which *can* get inserted in the pass_thru layouts.
3079 This is primarily for literate documents.
3081 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3083 * buffer.C: increment LYX_FORMAT to 223
3085 2003-03-14 André Pönitz <poenitz@gmx.net>
3087 * textclass.h: prepare for environment handling, ws changes
3088 * lyxlayout.C: read latexheader and latexfooter tags
3090 2003-03-14 John Levon <levon@movementarian.org>
3092 * text2.C: rewrite ::status() a bit
3094 2003-03-13 John Levon <levon@movementarian.org>
3096 * lyxtext.h: add some docs
3098 2003-03-13 John Levon <levon@movementarian.org>
3103 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3105 2003-03-13 John Levon <levon@movementarian.org>
3107 * text3.C: fix appendix redrawing
3109 2003-03-13 John Levon <levon@movementarian.org>
3111 * text.C (setHeightOfRow):
3113 * rowpainter.C: make appendix mark have the text
3114 "Appendix" so the user knows what it is
3117 * LColor.C: s/appendixline/appendix/ from above
3119 2003-03-13 John Levon <levon@movementarian.org>
3121 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3123 * text.C: fix a getChar(pos) bug properly
3125 2003-03-13 Angus Leeming <leeming@lyx.org>
3128 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3129 Probably only temporary. Let's see how things pan out.
3131 * BufferView.C (unlockInset):
3132 * BufferView_pimpl.C (fitCursor):
3133 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3135 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3136 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3138 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3139 new functions that convert ParagraphParameters to and from a string.
3141 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3142 BufferView::Pimpl's dispatch.
3143 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3145 2003-03-13 André Pönitz <poenitz@gmx.net>
3149 * factory.C: make it aware of InsetEnv
3151 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * text2.C (setCursor): never ask for one past last
3154 (setCursor): add some debugging messages.
3156 * text.C (singleWidth): never ask for one past last
3157 (singleWidth): ditto
3159 (rightMargin): ditto
3160 (rowBreakPoint): ditto
3161 (setHeightOfRow): ditto
3162 (prepareToPrint): ditto
3164 * rowpainter.C (paintBackground): never ask for one past last
3165 (paintText): never ask for one past last
3167 * paragraph_pimpl.C (getChar): make the assert stricter, never
3168 allow the one past last pos to be taken
3170 * paragraph.C (getChar): ws changes only
3172 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3173 (numberOfSeparators): ditto
3174 (numberOfHfills): ditto
3176 2003-03-12 John Levon <levon@movementarian.org>
3182 * paragraph_funcs.C: fix per-buffer authorlists
3184 2003-03-12 John Levon <levon@movementarian.org>
3186 * text.C: fix newline in right address
3188 2003-03-12 Angus Leeming <leeming@lyx.org>
3190 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3191 duplicate those in LyXFunc::dispatch.
3195 * ToolbarDefaults.C:
3196 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3197 Add LFUN_FONTFREE_UPDATE.
3199 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3200 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3202 * bufferview_func.[Ch]: several new functions to facilliate
3203 transfer of data to and from the character dialog.
3205 2003-03-12 John Levon <levon@movementarian.org>
3210 * paragraph_funcs.C:
3211 * paragraph_pimpl.C:
3215 * text3.C: remove META_NEWLINE in favour of an inset
3218 * rowpainter.C: remove paintNewline (done by inset)
3220 2003-03-12 John Levon <levon@movementarian.org>
3222 * paragraph_pimpl.C: complain about bad getChar()s
3223 for a while at least
3225 2003-03-12 John Levon <levon@movementarian.org>
3228 * buffer.C: move paragraph read into a separate function,
3229 a little renaming to reflect that.
3232 * bufferparams.C: remove the author_ids map, not necessary now
3235 * factory.C: moved Buffer::readInset to here
3237 * paragraph_funcs.h:
3238 * paragraph_funcs.C: readParagraph free function moved from
3241 * tabular.C: name change
3243 2003-03-12 John Levon <levon@movementarian.org>
3246 * ParagraphParameters.C: move par params input to
3249 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3250 behave like a normal read from the stream wrt reading
3251 a line vs. a \\token
3253 2003-03-12 John Levon <levon@movementarian.org>
3256 * ParagraphParameters.h:
3257 * ParagraphParameters.C: move output code to a
3260 2003-03-12 John Levon <levon@movementarian.org>
3262 * BufferView.C (insertLyXFile):
3265 * tabular.C: use a parlist iterator for creating the
3268 2003-03-12 John Levon <levon@movementarian.org>
3270 * buffer.C: make current_change static local not
3273 2003-03-12 John Levon <levon@movementarian.org>
3275 * buffer.C: fix insertStringAsLines for change tracking
3277 2003-03-12 John Levon <levon@movementarian.org>
3284 * bufferparams.C: move author list into params. Rename some
3285 functions. Move the header reading into a separate token
3286 loop. Move the header token reading into BufferParams.
3288 2003-03-12 John Levon <levon@movementarian.org>
3290 * changes.C: put debug inside lyxerr.debugging() checks
3292 2003-03-11 André Pönitz <poenitz@gmx.net>
3294 * factory.C: make it aware of InsetHFill
3296 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3298 * buffer.C (latexParagraphs): move function from here...
3299 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3302 2003-03-10 Angus Leeming <leeming@lyx.org>
3304 * LyXAction.C (init): fix bug in poplating array with multiple entries
3305 with the same LFUN (spotted by JMarc).
3307 2003-03-10 John Levon <levon@movementarian.org>
3310 * text2.C: move getColumnNearX() near its
3313 2003-03-10 John Levon <levon@movementarian.org>
3315 * text.C: fix break before a minipage
3317 2003-03-10 John Levon <levon@movementarian.org>
3319 * text.C: fix the last commit
3321 2003-03-09 John Levon <levon@movementarian.org>
3325 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3326 bug 365 (don't break before insets unless needed). Don't
3327 return a value > last under any circumstances.
3329 2003-03-09 Angus Leeming <leeming@lyx.org>
3331 * BufferView_pimpl.C (trackChanges, dispatch): call
3332 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3334 2003-03-09 Angus Leeming <leeming@lyx.org>
3336 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3337 than Dialogs::showAboutlyx().
3339 2003-03-09 Angus Leeming <leeming@lyx.org>
3341 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3342 than Dialogs::showTabularCreate().
3344 2003-03-09 John Levon <levon@movementarian.org>
3348 * text2.C: 3rd arg to nextBreakPoint was always the same.
3351 2003-03-08 John Levon <levon@movementarian.org>
3358 * text2.C: Remove the "main" bit from the "main body"
3361 2003-03-08 John Levon <levon@movementarian.org>
3363 * text.C (leftMargin): The left margin of an empty
3364 manual label paragraph should not include the label width
3367 * text.C (prepareToPrint): don't attempt to measure hfills
3368 for empty manual label paragraphs - the answer should be 0
3370 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * CutAndPaste.C: remove commented code and reindent.
3374 2003-03-08 John Levon <levon@movementarian.org>
3377 * lyxfunc.C: move reloadBuffer()
3380 * BufferView.C: to here
3382 * lyxvc.C: add comment
3385 * vc-backend.C: call bv->reload() to avoid
3386 getStatus() check on MENURELOAD
3388 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3390 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3391 to an old format .dep file.
3393 2003-03-07 Angus Leeming <leeming@lyx.org>
3395 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3396 when the LFUN_MOUSE_RELEASE should have been handled by
3397 inset->localDispatch.
3399 2003-03-07 Angus Leeming <leeming@lyx.org>
3401 * BufferView_pimpl.C (dispatch):
3402 * LyXAction.C (init):
3403 * ToolbarDefaults.C (init):
3405 * lyxfunc.C (getStatus):
3406 remove LFUN_INSET_GRAPHICS.
3408 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3410 2003-03-07 Angus Leeming <leeming@lyx.org>
3413 * LyXAction.C (init):
3414 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3416 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3419 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3421 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3422 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3424 2003-03-07 Angus Leeming <leeming@lyx.org>
3426 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3429 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * ParagraphList.C (front): new function
3434 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3436 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3437 and top_row_offset_. removed var first_y.
3439 * text2.C (LyXText, removeRow):
3441 * BufferView_pimpl.C:
3442 use these methods instead of using first_y
3444 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * text2.C (pasteSelection): adjust for checkPastePossible
3448 * CutAndPaste.C: remove Paragraph * buf and replace with
3449 ParagraphList paragraphs.
3450 (DeleteBuffer): delete
3451 (cutSelection): change the tc type to textclass_type
3452 (copySelection): change the tc type to textclass_type
3453 (copySelection): adjust for ParagraphList
3454 (pasteSelection): change the tc type to textclass_type
3455 (pasteSelection): adjust for Paragraphlist
3456 (nrOfParagraphs): simplify for ParagraphList
3457 (checkPastePossible): simplify for ParagraphList
3458 (checkPastePossible): remove unused arg
3460 * ParagraphList.C (insert): handle the case where there are no
3463 * CutAndPaste.h: make CutAndPaste a namespace.
3465 * text3.C (dispatch): adjust
3467 * text.C (breakParagraph): add a ParagraphList as arg
3469 * paragraph_funcs.C (breakParagraph): change to take a
3470 BufferParams and a ParagraphList as args.
3471 (breakParagraphConservative): ditto
3472 (mergeParagraph): ditto
3473 (TeXDeeper): add a ParagraphList arg
3474 (TeXEnvironment): ditto
3477 * buffer.C (readLyXformat2): adjust
3478 (insertStringAsLines): adjust
3479 (latexParagraphs): adjust
3481 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3482 (cutSelection): adjust
3483 (pasteSelection): adjust
3485 * BufferView_pimpl.C (insertInset): adjust
3487 2003-03-05 Angus Leeming <leeming@lyx.org>
3490 * LyXAction.C (init):
3491 * BufferView_pimpl.C (dispatch):
3492 * lyxfunc.C (getStatus):
3493 remove LFUN_CHILD_INSERT.
3495 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3497 2003-03-05 Angus Leeming <leeming@lyx.org>
3500 * LyXAction.C (init):
3501 * src/factory.C (createInset):
3502 * lyxfunc.C (getStatus):
3503 * text3.C (dispatch):
3504 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3506 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3508 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * ParagraphList.C (insert): handle insert right before end()
3511 (erase): fix cases where it can be first or last paragraph.
3513 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3516 Paragraph::next and Paragraph::previous
3519 * text.C (breakParagraph): adjust
3521 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3522 BufferParams& as arg.
3523 (breakParagraph): use ParagraphList::insert
3524 (breakParagraphConservative): take a Buffer* instead of a
3525 BufferParams& as arg.
3526 (breakParagraphConservative): use ParagraphList::insert.
3528 * buffer.C (insertStringAsLines): un-const it
3529 (insertStringAsLines): adjust
3531 * ParagraphList.C (insert): new function
3533 * CutAndPaste.C (pasteSelection): adjust
3535 * text.C (backspace): adjust
3537 * tabular.C (SetMultiColumn): adjust
3539 * CutAndPaste.C (cutSelection): adjust
3540 (pasteSelection): adjust
3542 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3543 Buffer const * as arg
3545 * ParagraphList.C (erase): new function
3546 * paragraph_funcs.C (mergeParagraph): use it
3547 (mergeParagraph): make it take a Buffer* instead of a
3548 BufferParams* as arg
3550 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3552 (breakParagraphConservative): ditto
3554 * paragraph.h: remove the breakParagraph friend
3556 * paragraph.C (eraseIntern): new function
3557 (setChange): new function
3559 * paragraph_funcs.C (mergeParagraph): make it take a
3560 ParagraphList::iterator instead of a Paragraph *, adjust
3563 * paragraph.h: move an #endif so that the change tracking stuff
3564 also works in the NO_NEXT case.
3566 2003-03-04 Angus Leeming <leeming@lyx.org>
3569 * LyXAction.C: new LFUN_INSET_MODIFY.
3571 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3572 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3574 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * several files: ws changes only
3578 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3579 (TeXEnvironment): ditto
3582 * buffer.C (makeLaTeXFile): adjust
3583 (latexParagraphs): make it take ParagraphList::iterator as args
3585 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * buffer.C (latexParagraphs): adjust
3589 * paragraph.C (TeXOnePar): move function...
3590 (optArgInset): move function...
3591 (TeXEnvironment): move function...
3592 * paragraph_pimpl.C (TeXDeeper): move function...
3593 * paragraph_funcs.C: ...here
3595 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3597 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * buffer.C (readInset): remove compability code for old Figure and
3602 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * buffer.C: ws changes
3607 * BufferView_pimpl.C: ditto
3610 * bufferlist.h: ditto
3614 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3616 * converter.[Ch]: split into itself +
3619 * Makefile.am: += graph.[Ch] + format.[Ch]
3626 * lyxrc.C: added #include "format.h"
3628 2003-02-27 Angus Leeming <leeming@lyx.org>
3630 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3633 * factory.C (createInset): add "label" to the factory.
3635 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3636 string and do no more.
3638 2003-02-27 Angus Leeming <leeming@lyx.org>
3641 * LyXAction.C (init):
3642 * factory.C (createInset):
3643 * BufferView_pimpl.C (dispatch):
3644 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3646 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3648 * lyxfunc.C (dispatch):
3649 * text3.C (dispatch): pass name to params2string.
3651 2003-02-26 Angus Leeming <leeming@lyx.org>
3653 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3655 Rearrange the ~includes. Strip out the unnecessary ones.
3657 * factory.C (createInset): reformat.
3658 create new insets for the various LFUN_XYZ_APPLY lfuns.
3660 2003-02-26 John Levon <levon@movementarian.org>
3663 * lyxrow.C: add isParStart,isParEnd helpers
3665 * paragraph.h: make isInserted/DeletedText take refs
3667 * paragraph_funcs.h:
3668 * paragraph_funcs.C: remove #if 0'd code
3673 * text.C: use lyxrow helpers above.
3674 Move draw and paint routines to RowPainter.
3675 Make several methods use refs not pointers.
3676 Make backgroundColor() const.
3677 Add markChangeInDraw(), isInInset().
3678 Merge changeRegionCase into changeCase.
3679 Make workWidth() shouldn't-happen code into an Assert.
3682 * rowpainter.C: new class for painting a row.
3685 * vspace.C: make inPixels take a ref
3687 2003-02-26 Angus Leeming <leeming@lyx.org>
3689 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3692 2003-02-25 John Levon <levon@movementarian.org>
3694 * ispell.C: give the forked command a more accurate name
3696 2003-02-22 John Levon <levon@movementarian.org>
3699 * toc.C: make TocItem store an id not a Paragraph *
3702 2003-02-21 Angus Leeming <leeming@lyx.org>
3704 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3705 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3706 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3707 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3708 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3709 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3711 * BufferView_pimpl.C (dispatch):
3712 * LyXAction.C (init):
3713 * factory.C (createInset):
3714 * lyxfunc.C (getStatus, dispatch):
3715 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3717 2003-02-21 Angus Leeming <leeming@lyx.org>
3719 * BufferView_pimpl.C (MenuInsertLyXFile):
3720 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3721 * lyxfunc.C (menuNew, open, doImport):
3722 no longer pass a LyXView & to fileDlg.
3724 2003-02-21 Angus Leeming <leeming@lyx.org>
3726 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3727 * LyXAction.C: change, BIBKEY to BIBITEM.
3728 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3729 Change InsetBibKey to InsetBibitem.
3730 Change BIBKEY_CODE to BIBITEM_CODE.
3731 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3732 * factory.C: replace insetbib.h with insetbibitem.h.
3733 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3734 * paragraph.C: replace insetbib.h with insetbibitem.h.
3735 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3736 Change bibkey() to bibitem().
3737 * text.C: remove insetbib.h.
3738 * text2.C: replace insetbib.h with insetbibitem.h.
3739 change bibkey() to bibitem().
3740 * text3.C: remove insetbib.h.
3741 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3743 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3745 * lyxrc.C (output): enclose user email in quotes (in case there are
3748 2003-02-18 John Levon <levon@movementarian.org>
3750 * buffer.h: add std::
3752 2003-02-17 John Levon <levon@movementarian.org>
3758 * pspell.C: reworking. Especially in ispell, a large
3759 number of clean ups and bug fixes.
3761 * lyxfunc.C: fix revert to behave sensibly
3763 2003-02-17 André Pönitz <poenitz@gmx.net>
3766 * commandtags.h: new LFUN_INSERT_BIBKEY
3776 * paragraph_func.C: remove special bibkey handling
3778 2003-02-17 John Levon <levon@movementarian.org>
3780 * text.C (Delete): fix case where delete at the end of
3781 the very first paragraph would not merge the pars
3783 2003-02-17 John Levon <levon@movementarian.org>
3785 * lyxrow.C: fix lastPrintablePos()
3787 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3789 * bufferparams.C (writeLaTeX): add a std:here
3791 * buffer.C: and remove a using directive there
3793 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3795 * buffer.C (makeLaTeXFile): move the code that generates the
3798 * bufferparams.C (writeLaTeX): ... in this new method
3800 * LaTeXFeatures.C (getEncodingSet): make const
3801 (getLanguages): make const
3803 * MenuBackend.C (binding): returns the binding associated to this
3805 (add): sets the status of each item by calling getStatus. Adds
3807 (read): add support for OptSubMenu
3808 (expand): remove extra separator at the end of expanded menu
3810 2003-02-15 John Levon <levon@movementarian.org>
3813 * BufferView_pimpl.C:
3815 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3816 inset code that had no actual effect. Remove unneeded status
3819 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3821 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3824 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3826 * text.C (drawLengthMarker): also draw an arrow marker for
3827 symbolic lengths (medskip...)
3829 2003-02-14 John Levon <levon@movementarian.org>
3832 * tabular.C: better method names
3834 2003-02-14 John Levon <levon@movementarian.org>
3836 * BufferView_pimpl.C:
3841 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3842 it's a more accurate name. Remove some pointless uses.
3844 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3846 * text2.C (LyXText): change order of initilizers to shut off
3849 2003-02-14 John Levon <levon@movementarian.org>
3851 * buffer.C: use ParIterator for getParFromID()
3855 * paragraph_pimpl.h:
3856 * paragraph_pimpl.C: remove unused getParFromID()
3858 2003-02-14 John Levon <levon@movementarian.org>
3860 * buffer.C: remove some very old #if 0'd parse code
3862 2003-02-13 John Levon <levon@movementarian.org>
3866 * text2.C: move hfillExpansion(), numberOfSeparators(),
3867 rowLast(), rowLastPrintable(), numberofHfills(),
3868 numberOfLabelHfills() ...
3871 * lyxrow.C: ... to member functions here.
3876 * text.C: remove LyXText::beginningOfMainBody(), and call
3877 p->beginningOfMainBody() directly. Move the check for
3878 LABEL_MANUAL into the latter.
3885 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3891 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3892 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3894 2003-02-13 John Levon <levon@movementarian.org>
3896 * CutAndPaste.C: remove debug
3898 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3900 * paragraph.C (asString): remove two unused variables
3902 * lyxtextclass.C (readTitleType):
3904 (LyXTextClass): handle new members titletype_ and titlename_
3906 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3908 2003-02-09 John Levon <levon@movementarian.org>
3911 * buffer.C: replace hand-coded list with a map for the dep clean
3913 2003-02-08 John Levon <levon@movementarian.org>
3915 * LaTeX.C: consolidate code into showRunMessage() helper
3917 2003-02-08 John Levon <levon@movementarian.org>
3922 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3923 and pass the size in explicitly
3925 * BufferView_pimpl.h:
3926 * BufferView_pimpl.C:
3928 * BufferView.C: add getCurrentChange()
3930 * BufferView_pimpl.h:
3931 * BufferView_pimpl.C: handle change lfuns
3933 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3934 for changes. Mark pasted paragraphs as new.
3936 * support/lyxtime.h:
3937 * support/lyxtime.C:
3938 * DepTable.C: abstract time_t as lyx::time_type
3941 * LColor.C: add colours for new text, deleted text, changebars
3943 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3944 package use "usenames" option.
3948 * LyXAction.C: add change lfuns
3952 * author.C: author handling
3955 * buffer.C: add a per-buffer author list, with first entry as
3956 current author. Handle new .lyx tokens for change tracking. Output
3957 author list to .lyx file. Output dvipost stuff to .tex preamble.
3958 Bump lyx format to 222.
3961 * bufferlist.C: add setCurrentAuthor() to reset current author details
3965 * bufferparams.C: add param for tracking
3967 * bufferview_funcs.C: output change info in minibuffer
3971 * changes.C: add change-tracking structure
3974 * debug.C: add CHANGES debug flag
3977 * lyxfind.C: add code for finding the next change piece
3980 * lyxrc.C: add user_name and user_email
3983 * lyxrow.C: add a metric for the top of the text line
3986 * text.C: implement accept/rejectChange()
3989 * text.C: paint changebars. Paint new/deleted text in the chosen
3990 colours. Strike through deleted text.
3994 * paragraph_pimpl.h:
3995 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3996 in the current change to the insert functions. Rework erase to
3997 mark text as deleted, adding an eraseIntern() and a range-based
3998 erase(). Implement per-paragraph change lookup and
4001 * paragraph_funcs.C: Fixup paste for change tracking.
4003 * tabular.C: mark added row/columns as new.
4005 * text.C: fix rowLast() to never return -1. Don't allow
4006 spellchecking of deleted text. Track transpose changes. Don't
4007 allow paragraph break or merge where appropriate.
4009 * text2.C: leave cursor at end of selection after a cut.
4011 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4013 * text.C (getLengthMarkerHeight):
4014 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4015 visible on screen too.
4017 2003-02-07 John Levon <levon@movementarian.org>
4019 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4021 2003-02-05 Angus Leeming <leeming@lyx.org>
4023 * lyxserver.C (read_ready): revert my patch of 11 September last year
4024 as it sends PC cpu through the roof. Presumably this means that
4025 the lyxserver will no longer run on an Alpha...
4027 2003-01-30 Angus Leeming <leeming@lyx.org>
4029 * factory.C (createInset): create an InsetCommandParam of type "index"
4030 and use it to 'do the right thing'.
4032 * text2.C (getStringToIndex): ensure that cursor position is always
4033 reset to the reset_cursor position.
4035 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4037 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4040 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4044 * lyxfunc.C: Output messages with identical spelling, punctuation,
4047 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4049 * MenuBackend.C (expandFormats): List only viewable export formats
4052 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4055 * lyxfunc.C (getStatus): Make sure that formats other than
4056 "fax" can also be disabled
4058 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4060 * text3.C (dispatch): put the lfuns that insert insets in 3
4061 groups, and call doInsertInset with appropriate arguments.
4062 (doInsertInset): new function, that creates an inset and inserts
4063 it according to some boolean parameters.
4065 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * buffer.C (readFile): remember to pass on 'par' when calling
4068 readFile recursively.
4070 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4072 * MenuBackend.C (expandFormats): add "..." to import formats.
4074 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4076 * paragraph.C (asString): Remove XForms RTL hacks.
4078 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4079 * buffer.C: fix typo
4081 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * Makefile.am (LIBS): delete var
4084 (lyx_LDADD): add @LIBS@ here instead.
4086 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4088 * Clarify the meaning of "wheel mouse jump"
4090 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4092 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4095 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4097 * importer.C (Loaders): do not preallocate 3 elements in the
4098 vector, since one ends up with 6 elements otherwise
4100 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4102 * DepTable.C (write): write the file name as last element of the
4103 .dep file (because it may contain spaces)
4104 (read): read info in the right order
4106 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4108 * paragraph_pimpl.C (simpleTeXBlanks):
4109 (simpleTeXSpecialChars):
4110 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4112 * tabular.C (latex): add some missing case statements. Reindent.
4114 * MenuBackend.C (expandToc): remove unused variable.
4116 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4125 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4128 2003-01-05 John Levon <levon@movementarian.org>
4131 * BufferView.C: add getEncoding()
4134 * kbsequence.C: do not store last keypress
4137 * lyxfunc.C: store last keypress here instead. Pass encoding
4140 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4142 * lyx_main.C (init): remove annoying error message when following
4143 symbolic links (bug #780)
4145 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4147 * text.C (insertChar):
4148 * lyxrc.C (getDescription): remove extra spaces
4150 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4152 * lyxrc.C (getDescription): remove extra spaces
4154 2002-12-20 John Levon <levon@movementarian.org>
4156 * text3.C: hack fix for page up/down across tall rows
4158 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4160 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4163 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4166 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4167 thesaurus is not compiled in
4169 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4171 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4173 2002-12-16 Angus Leeming <leeming@lyx.org>
4176 * lyx_main.C (init): remove override_x_deadkeys stuff.
4178 2002-12-12 John Levon <levon@movementarian.org>
4180 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4181 insert. Only remove shift modifier under strict
4184 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * MenuBackend.C (expandToc): fix crash.
4188 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * MenuBackend.C (expandToc): gettext on float names.
4192 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4194 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4195 implement bool empty() [bug 490]
4197 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4201 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * several files: ws changes
4205 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * text2.C (setCounter): clean up a bit, use boost.format.
4208 (updateCounters): initialize par upon declaration.
4210 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4211 if the layout exists. We do not just store the layout any more.
4212 (SwitchLayoutsBetweenClasses): use boost.format
4214 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4216 * converter.C (convert): if from and to files are the same, use a
4217 temporary files as intermediary
4219 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4222 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4224 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4226 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4228 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * tabular.C (asciiPrintCell): use string(size, char) instead of
4233 * sgml.C (openTag): fix order of arguments to string constructor
4236 * lyxfunc.C (dispatch): use boost.format
4238 * lots of files: change "c" -> 'c'
4240 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4242 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4244 2002-11-25 Angus Leeming <leeming@lyx.org>
4246 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4248 * lyx_main.C (init): compile fix.
4250 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * lyx_cb.C (start): boost.formatify
4253 do not include <iostream>
4255 * lengthcommon.C: ws only
4257 * boost-inst.C,BoostFormat.h: add more explict instantations
4259 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * lots of files: handle USE_BOOST_FORMAT
4263 2002-11-21 John Levon <levon@movementarian.org>
4265 * pspell.C: fix compile
4267 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4269 * lyxfunc.C (dispatch): use boost::format
4273 * lyxfont.C (stateText): use boost::format
4275 * lyx_main.C (LyX): use boost::format
4277 (queryUserLyXDir): ditto
4280 (typedef boost::function): use the recommened syntax.
4282 * importer.C (Import): use boost::format
4284 * debug.C (showLevel): use boost::format
4286 * converter.C (view): use boost::format
4291 * bufferview_funcs.C (currentState): use boost::format
4293 * bufferlist.C (emergencyWrite): use boost::format
4295 * buffer.C (readLyXformat2): use boost::format
4296 (parseSingleLyXformat2Token): ditto
4298 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4300 * LaTeX.C (run): use boost::format
4302 * Chktex.C (scanLogFile): use boost::format
4304 * BufferView_pimpl.C (savePosition): use boost::format
4305 (restorePosition): ditto
4306 (MenuInsertLyXFile): ditto
4308 * BoostFormat.h: help file for explicit instation.
4310 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4312 * tabular.C (latex): Support for block alignment in fixed width
4315 2002-11-17 John Levon <levon@movementarian.org>
4317 * BufferView_pimpl.C:
4319 * lyxfunc.C: split filedialog into open/save
4321 2002-11-08 Juergen Vigna <jug@sad.it>
4323 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4324 by my last patch (hopefully).
4326 2002-11-08 John Levon <levon@movementarian.org>
4335 * toc.C: ParConstIterator, and use it (from Lars)
4337 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4339 * lyxtextclass.[Ch]: revise and add doxygen comments
4341 2002-11-07 John Levon <levon@movementarian.org>
4343 * text.C: fix progress value for spellchecker
4345 * toc.C: fix navigate menu for insetwrap inside minipage
4347 * paragraph_funcs.C: added FIXME for suspect code
4349 2002-11-07 John Levon <levon@movementarian.org>
4351 * BufferView_pimpl.C: fix redrawing of insets
4354 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4356 * text2.C (updateCounters): fix bug 668
4358 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4360 * text3.C (dispatch): Do not make the buffer dirty when moving the
4363 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * vc-backend.C: STRCONV
4368 * text2.C (setCounter): STRCONV
4370 * paragraph.C (asString): STRCONV
4372 * lyxlength.C (asString): STRCONV
4373 (asLatexString): ditto
4375 * lyxgluelength.C (asString): STRCONV
4376 (asLatexString): ditto
4378 * lyxfunc.C (dispatch): STRCONV
4381 * lyxfont.C (stateText): STRCONV
4383 * importer.C (Import): STRCONV
4385 * counters.C (labelItem): STRCONV
4386 (numberLabel): ditto
4387 (numberLabel): remove unused ostringstream o
4392 * bufferview_funcs.C (currentState): STRCONV
4394 * buffer.C (readFile): STRCONV
4395 (asciiParagraph): ditto
4396 (makeLaTeXFile): ditto
4398 * Spacing.C (writeEnvirBegin): STRCONV
4400 * LaTeXFeatures.C (getLanguages): STRCONV
4401 (getPackages): ditto
4403 (getBabelOptions): ditto
4404 (getTClassPreamble): ditto
4405 (getLyXSGMLEntities): ditto
4406 (getIncludedFiles): ditto
4410 (scanAuxFile): ditto
4413 * LString.h: add the STRCONV macros
4415 * BufferView_pimpl.C (savePosition): STRCONV
4416 (restorePosition): ditto
4417 (MenuInsertLyXFile): ditto
4419 * vc-backend.C (scanMaster): change from submatch[...] to
4422 * funcrequest.C: include config.h
4424 * factory.C: include config.h
4426 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4428 * box.C: include config.h
4430 * LaTeX.C (scanAuxFile): change from submatch[...] to
4434 2002-10-25 Angus Leeming <leeming@lyx.org>
4436 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4438 * ispell.[Ch] (setError): new method.
4439 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4440 Use setError() insetead of goto END.
4442 * lyx_cb.C (AutoSave): move out child process into new class
4445 2002-10-30 John Levon <levon@movementarian.org>
4447 * text3.C: make start appendix undoable
4449 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4451 * lyxlength.C (inPixels): Fix returned value.
4453 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4456 2002-10-24 Angus Leeming <leeming@lyx.org>
4458 * lyxgluelength.h: no need to forward declare BufferParams
4459 or BufferView, so don't.
4461 2002-10-21 John Levon <levon@movementarian.org>
4463 * BufferView.C: menuUndo ->undo, redo
4465 * BufferView.h: document, remove dead, make some methods private
4467 * paragraph_funcs.h:
4468 * paragraph_funcs.C:
4469 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4474 * sgml.C: move sgml open/close tag into sgml.C
4476 * bufferview_funcs.h: unused prototype
4479 * lyxfunc.C: remove unused
4482 * text.C: remove unused
4484 2002-10-21 John Levon <levon@movementarian.org>
4488 * BufferView_pimpl.h:
4489 * BufferView_pimpl.C: fix mouse wheel handling based on
4490 patch from Darren Freeman
4492 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4494 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4496 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4498 * lyxlength.C (inPixels): Fix hanfling of negative length.
4499 Fix LyXLength::MU case.
4501 2002-10-16 John Levon <levon@movementarian.org>
4503 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4505 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4507 * converter.C (view): add support for $$i (file name) and $$p
4508 (file path) for the viewer command. If $$i is not specified, then
4509 it is appended to the command (for compatibility with old syntax)
4511 2002-10-14 Juergen Vigna <jug@sad.it>
4513 * undo_funcs.C (textHandleUndo): alter the order in which the
4514 new undopar is added to the LyXText, as we have to set first
4515 the right prev/next and then add it as otherwise the rebuild of
4516 LyXText is not correct. Also reset the cursor to the right paragraph,
4517 with this IMO we could remove the hack in "redoParagraphs()".
4519 2002-10-09 Angus Leeming <leeming@lyx.org>
4521 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4522 to turn off an optimisation if a new inset is to be inserted.
4524 2002-10-11 André Pönitz <poenitz@gmx.net>
4526 * lyxtext.h: make some functions public to allow access
4527 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4529 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4531 * text3.C (dispatch): when changing layout, avoid an infinite loop
4534 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4536 * lyxrc.C (read): treat a viewer or converter command of "none" as
4539 * MenuBackend.C (expandFormats): for an update, also allow the
4540 formats that are not viewable
4542 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4543 script if it is newer than the lyxrc.defaults in user directory
4545 2002-10-07 André Pönitz <poenitz@gmx.net>
4547 * text.C: Vitaly Lipatov's small i18n fix
4549 2002-09-25 Angus Leeming <leeming@lyx.org>
4551 * ispell.h: doxygen fix.
4553 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4555 * buffer.h (readFile): Add a new argument to the method, to allow
4556 reading of old-format templates.
4558 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4560 * toc.C (getTocList): Get TOC from InsetWrap.
4562 2002-09-16 John Levon <levon@movementarian.org>
4564 * lyxfunc.C: check tabular for cut/copy too
4566 2002-09-12 John Levon <levon@movementarian.org>
4571 * factory.C: add header
4573 * paragraph_funcs.h:
4574 * paragraph_funcs.C: cleanup
4576 2002-09-11 John Levon <levon@movementarian.org>
4578 * PrinterParams.h: odd/even default to true
4580 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4582 * PrinterParams.h: update printer parameters for new xforms dialog
4584 2002-09-11 Angus Leeming <leeming@lyx.org>
4586 * lyxserver.C (read_ready): re-write to make it more transparent
4587 and to make it work in coherent fashion under Tru64 Unix.
4589 2002-09-11 André Pönitz <poenitz@gmx.net>
4593 * text3.C: implement LFUN_WORDSEL
4595 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4598 make floatlist_ a boost::shared_ptr<FloatList>
4600 * lyxtextclass.C: include FloatList.h
4601 (LyXTextClass): initialize floatlist_
4602 (TextClassTags): add TC_NOFLOAT
4603 (Read): match "nofloat" to TC_NOFLOAT and use it.
4604 (readFloat): modify call to floatlist_
4608 * FloatList.[Ch] (FloatList): remove commented out float
4610 (erase): new function
4612 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4614 * MenuBackend.C (expandToc): fix crash when there is no document
4617 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4619 * many files: Add insetwrap.
4621 2002-09-09 John Levon <levon@movementarian.org>
4623 * text2.C: remove confusing and awkward depth wraparound
4625 2002-09-09 John Levon <levon@movementarian.org>
4627 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4630 * buffer.C: remove getIncludeonlyList()
4633 * lyxfunc.C: remove headers
4635 2002-09-09 Juergen Vigna <jug@sad.it>
4637 * text.C (getColumnNearX): fix form Michael this is most
4638 probably a cut&paste bug.
4640 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4644 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4645 references, ws changes.
4647 * text2.C (init): update counters after init
4648 (insertParagraph): no need to set counter on idividual paragraphs.
4649 (setCounter): access the counters object in the textclass object
4650 on in the buffer object.
4651 (updateCounters): ditto
4653 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4654 shared_ptr<Counters> to avoid loading counters.h in all
4656 (LyXTextClass): initialize ctrs_
4657 (TextClassTags): add TC_COUNTER, and ...
4658 (Read): use it here.
4659 (CounterTags): new tags
4660 (readCounter): new function
4661 (counters): new funtion
4662 (defaultLayoutName): return a const reference
4664 * counters.C (Counters): remove contructor
4665 (newCounter): remove a couple of unneeded statements.
4666 (newCounter): simplify a bit.
4667 (numberLabel): some small formatting changes.
4669 * buffer.[Ch]: remove all traces of counters, move the Counters
4670 object to the LyXTextClass.
4672 2002-09-06 Alain Castera <castera@in2p3.fr>
4674 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4675 package to set the horizontal alignment on fixed width columns.
4678 * lyx_sty.h: added tabularnewline macro def.
4680 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4682 2002-09-06 John Levon <levon@movementarian.org>
4684 * LyXAction.C: tooltips for sub/superscript
4686 * MenuBackend.C: a bit more verbose
4688 * lyxfunc.C: tiny clean
4690 * undo_funcs.C: document undo_frozen
4692 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * counters.C (Counters): add missing algorithm counter.
4696 * text2.C (setCounter): lookup the counter with layouts latexname
4697 instead of by section number.
4698 (setCounter): use a hackish way to lookup the correct enum
4700 a float name->type change
4701 reset enum couners with counter name directly instead of depth value.
4703 * counters.C (Counters): remove the push_backs, change to use the
4704 float type not the float name.
4705 (labelItem): remove unused string, float name->type change
4707 * counters.h: don't include vector, loose the enums and sects vectors
4709 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4712 (Read): add float->TC_FLOAT to textclassTags
4713 (Read): and handle it in the switch
4714 (readFloat): new function
4716 * FloatList.C (FloatList): comment out the hardcoded float
4719 * lyxlayout.h: ws change.
4721 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4723 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4725 2002-09-03 Angus Leeming <leeming@lyx.org>
4727 * BufferView_pimpl.h: qualified name is not allowed in member
4728 declaration: WorkArea & Pimpl::workarea() const;
4730 * factory.C: added using std::endl directive.
4732 * text3.C: added using std::find and std::vector directives.
4734 2002-08-29 André Pönitz <poenitz@gmx.net>
4737 * text2.C: remove unused member number_of_rows
4740 * BufferView2.C: remove file, move contents to...
4741 * BufferView.C: ... here
4743 * BufferView_pimpl.C:
4744 * factory.C: move more inset creation to factory
4746 * vspace.C: avoid direct usage of LyXText, ws changes
4749 don't provide direct access to WorkArea, use two simple
4750 acessors haveSelction() and workHeight() instead
4753 2002-08-29 John Levon <levon@movementarian.org>
4755 * BufferView_pimpl.C (dispatch): do not continue when
4758 2002-08-28 André Pönitz <poenitz@gmx.net>
4760 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4763 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4765 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4767 * buffer.C: increment LYX_FORMAT to 221
4769 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4770 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4772 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4774 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4776 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4778 * factory.C (createInset): use LyXTextClass::floats
4780 * MenuBackend.C (expandFloatListInsert):
4781 (expandFloatInsert):
4784 * text2.C (setCounter):
4786 * LaTeXFeatures.C (useFloat):
4787 (getFloatDefinitions):
4789 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4791 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4792 floatlist_, with accessor floats().
4794 * FloatList.h: remove global FloatList
4796 2002-08-26 André Pönitz <poenitz@gmx.net>
4798 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4802 * BufferView_pimpl.C:
4803 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4805 2002-08-25 John Levon <levon@movementarian.org>
4807 * LyXAction.C: fix margin note description
4809 2002-08-24 John Levon <levon@movementarian.org>
4813 * bufferview_funcs.C:
4815 * undo_funcs.C: cleanups
4817 * lyxfunc.C: disable CUT/COPY when no selection
4819 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4821 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4822 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4824 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4825 Add backward compatibility to "mono", "gray" and "no".
4827 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4829 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4830 (and file_format >= 200).
4832 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4834 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4836 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4840 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4842 * BufferView_pimpl.C:
4849 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4850 inset and code to make it work with the paragraph code. The inset
4851 can be anywhere in the paragraph, but will only do the expected
4852 thing in LaTeX if the layout file contains the parameter line
4854 (or more generally, a nonzero value) for that layout.
4856 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * paragraph.h: remove the declaration of undefined counters class
4861 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4863 * text2.C (setCounter): fixed enumeration mis-count as reported by
4864 Dr. Richard Hawkins.
4866 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4868 * paragraph_funcs.h: remove some unneeded includes
4870 * text.C (backspace): pasteParagraph now in global scipe
4872 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4873 (pasteSelection): ditto
4875 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4876 * paragraph_funcs.C (pasteParagraph): ... here
4878 2002-08-20 André Pönitz <poenitz@gmx.net>
4880 * commandtags.h: new LFUNs for swapping/copying table row/colums
4883 * lyxfunc.C: support for new lfuns
4885 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * buffer.[Ch]: remove NO_COMPABILITY stuff
4890 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * boost.C (throw_exception): new file, with helper function for
4893 boost compiled without exceptions.
4898 * ParameterStruct.h:
4899 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4901 * bufferlist.C (emergencyWriteAll): use boost bind
4903 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4905 * text.C: include paragraph_funcs.h
4906 (breakParagraph): breakParagraph is now in global scope
4908 * paragraph_funcs.[Ch]: new files
4910 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4913 * buffer.C: include paragraph_funcs.h
4914 (insertStringAsLines): breakParagraph is now in global scope
4916 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4919 * CutAndPaste.C: include paragraph_funcs.h
4920 (cutSelection): breakParagraphConservative is now in global scope
4921 (pasteSelection): ditto
4923 * buffer.h: declare oprator== and operator!= for
4924 Buffer::inset_iterator
4926 * bufferlist.C (emergencyWrite): don't use fmt(...)
4928 * text3.C: add using std::endl
4930 * BufferView.C (moveCursorUpdate): remove default arg
4932 2002-08-20 André Pönitz <poenitz@gmx.net>
4934 * buffer.[Ch]: move inline functions to .C
4937 * BufferView_pimpl.C:
4939 * buffer.[Ch]: use improved inset_iterator
4942 * paragraph.[Ch]: write one paragraph at a time
4944 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4946 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4947 style if style is not specified.
4949 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4951 * text2.C (setCounter): when searching for right label for a
4952 caption, make sure to recurse to parent insets (so that a caption
4953 in a minipage in a figure float works) (bug #568)
4955 2002-08-20 André Pönitz <poenitz@gmx.net>
4957 * text3.C: new file for LyXText::dispatch() and helpers
4959 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4961 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4963 2002-08-19 André Pönitz <poenitz@gmx.net>
4966 * text.C: new LyXText::dispatch()
4968 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4970 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4972 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4974 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4977 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4979 * Makefile.am: use $(variables) instead of @substitutions@
4981 2002-08-15 André Pönitz <poenitz@gmx.net>
4984 * BufferView_pimpl.C: streamlining mathed <-> outer world
4988 * LyXAction.C: remove unused LFUN_MATH
4990 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4994 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * paragraph.C (Paragraph): reformat a bit
4997 (cutIntoMinibuffer): use builtin InsetList function instad of
5001 * buffer.C: include boost/bind.hpp, add using std::for_each
5002 (writeFileAscii): use ParagraphList iterators
5003 (validate): use for_each for validate traversal of paragraphs
5004 (getBibkeyList): use ParagraphList iterators
5005 (resizeInsets): use for_each to resizeInsetsLyXText for all
5007 (getParFromID): use ParagraphList iterators
5009 * BufferView2.C (lockInset): use paragraph list and iterators
5011 2002-08-14 John Levon <levon@movementarian.org>
5013 * lyxserver.C: remove spurious xforms include
5015 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5017 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5019 2002-08-13 André Pönitz <poenitz@gmx.net>
5022 * lyxfunc.C: further cleaning
5024 2002-08-13 André Pönitz <poenitz@gmx.net>
5026 * funcrequest.h: new constructor
5028 * funcrequest.C: move stuff here from .h
5031 * BufferView_pimpl.C:
5034 * lyxfunc.C: subsequent changes
5036 * lyxfunc.h: new view() member function
5038 * lyxfunc.C: subsequent changes
5040 2002-08-13 Angus Leeming <leeming@lyx.org>
5043 * BufferView_pimpl.C:
5051 changes due to the changed LyXView interface that now returns references
5052 to member variables not pointers.
5054 2002-08-13 Angus Leeming <leeming@lyx.org>
5056 * WordLangTuple (word, lang_code): return references to strings,
5061 * lyxtext.h: forward-declare WordLangTuple.
5066 * text.C: #include "WordLangTuple.h".
5069 * text.C: (selectNextWordToSpellcheck): constify return type.
5071 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5077 * paragraph_pimpl.h:
5080 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5082 Made updateCounter always count from start of buffer, and removed
5083 second argument (par).
5084 Reverted floats number display to '#'. Perhaps I'll try again when the
5085 code base is sanitized a bit.
5087 2002-08-12 Angus Leeming <leeming@lyx.org>
5089 * buffer.[Ch] (getLabelList): constify.
5091 2002-08-07 André Pönitz <poenitz@gmx.net>
5093 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5095 * funcrequest.h: extension to keep mouse (x,y) position
5097 2002-08-12 Juergen Vigna <jug@sad.it>
5099 * BufferView2.C (insertErrors): forbid undo when inserting error
5102 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5104 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5106 * ParagraphList.[Ch]: new files
5108 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5110 * BufferView2.C (lockInset): ParagraphList changes
5113 * bufferlist.C: ditto
5117 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5120 unused class variable counter_,
5122 * paragraph.[Ch] (getFirstCounter): delete unused function
5124 * counters.C: include LAssert.h
5125 (reset): add a new function with no arg, change other version to
5126 not have def. arg and to not allow empty arg.
5128 * text2.C (setCounter): remove empty arg from call to Counters::reset
5130 2002-08-11 John Levon <levon@movementarian.org>
5132 * Makefile.am: add WordLangTuple.h
5134 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5137 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5139 * insets/insettext.C: InsetList changes
5141 * graphics/GraphicsSupport.C (operator()): InsetList changes
5143 * toc.C (getTocList): InsetList changes
5145 * paragraph_pimpl.[Ch]: InsetList changes
5147 * paragraph.[Ch]: InsetList changes
5149 * buffer.C (inset_iterator): InsetList changes
5150 (setParagraph): ditto
5151 * buffer.h (inset_iterator): ditto
5152 * iterators.C (operator++): ditto
5153 * iterators.h: ditto
5155 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5157 * InsetList.[Ch]: new files, most InsetList handling moved out of
5160 * BufferView2.C (removeAutoInsets): InsetList changes
5162 (ChangeInsets): ditto
5164 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * paragraph_pimpl.h (empty): new function
5168 * paragraph.[Ch] (empty): new function
5170 * other files: use the new Paragraph::empty function
5172 2002-08-09 John Levon <levon@movementarian.org>
5174 * lyxtext.h: remove unused refresh_height
5176 2002-08-09 John Levon <levon@movementarian.org>
5183 * paragraph.C: move sgml char escaping out of paragraph
5186 * paragraph.C: remove id setter
5190 * paragraph_pimpl.C: remove dead tex_code_break_column
5192 * bufferview_funcs.C: small cleanup
5194 * lyxfunc.C: remove dead proto
5196 * lyxtext.h: make some stuff private. Remove some dead stuff.
5198 * lyxgluelength.C: make as[LyX]String() readable
5200 2002-08-08 John Levon <levon@movementarian.org>
5205 * ToolbarDefaults.C:
5208 * toc.C: lyxaction cleanup
5210 2002-08-08 John Levon <levon@movementarian.org>
5212 * BufferView2.C: small cleanup
5215 * lyxfind.C: move unnecessary header into the .C
5217 2002-08-08 John Levon <levon@movementarian.org>
5219 * funcrequest.h: just tedious nonsense
5222 * lyx_main.C: cleanups
5225 * vspace.C: remove dead header lyx_main.h
5227 2002-08-07 Angus Leeming <leeming@lyx.org>
5230 * paragraph_pimpl.h:
5231 Forward declare class Counters in paragraph.h by moving the ctrs member
5232 variable into Paragraph::Pimpl.
5233 (counters): new method, returning a reference to pimpl_->ctrs.
5235 * text2.C: ensuing changes.
5237 2002-08-07 John Levon <levon@movementarian.org>
5239 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5241 * BufferView_pimpl.C: announce X selection on double/triple
5244 * lyx_main.C: use correct bool in batch dispatch
5246 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5248 2002-08-07 André Pönitz <poenitz@gmx.net>
5250 * funcrequest.h: new class to wrap a kb_action and its argument
5253 * BufferView_pimpl[Ch]:
5257 * lyxrc.C: subsequent changes
5260 2002-08-07 John Levon <levon@movementarian.org>
5262 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5263 document options change.
5265 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5270 * makefile.am: move counters functionality over from
5271 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5273 2002-08-06 John Levon <levon@movementarian.org>
5275 * WordLangTuple.h: new file for word + language code tuple
5286 * BufferView2.C: use WordLangTuple
5289 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5291 2002-08-06 John Levon <levon@movementarian.org>
5293 * lyx_main.C: fix cmdline batch handling
5295 2002-08-06 André Pönitz <poenitz@gmx.net>
5297 * lyxrc.C: set default for show_banner to true
5299 2002-08-06 John Levon <levon@movementarian.org>
5301 * pspell.C: fix a crash, and allow new aspell to work
5303 2002-08-06 John Levon <levon@movementarian.org>
5306 * kbmap.C: small cleanup
5309 * vspace.C: add const
5311 2002-08-05 John Levon <levon@movementarian.org>
5313 * LyXAction.C: back to tabular-insert
5315 2002-08-04 John Levon <levon@movementarian.org>
5318 * BufferView.C: cosmetic change
5320 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5330 * BufferView2.C: purge all "Lyx" not "LyX" strings
5333 * lyxcursor.C: attempt to add some documentation
5338 * ToolbarDefaults.C:
5339 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5340 merge with LFUN_TABULAR_INSERT
5347 * pspell.C: split up i/pspell implementations into separate
5348 files, many cleanups
5350 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5352 * text2.C: some cleanup
5354 * lyxfunc.C: don't check for isp_command == "none" any more, it
5355 didn't make any sense
5357 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5362 * makefile.am: move counters functionality over
5363 from text2.C/paragraph.[Ch] to counters.[Ch], and
5365 2002-08-02 John Levon <levon@movementarian.org>
5367 * buffer.C: s/lyxconvert/lyx2lyx/
5369 2002-08-02 Angus Leeming <leeming@lyx.org>
5371 * lyxlex.C: revert John's change as it breaks reading of the user
5374 2002-08-02 Angus Leeming <leeming@lyx.org>
5376 * importer.C (Import):
5377 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5378 changes due to LyXView::view() now returning a boost::shared_ptr.
5380 2002-08-02 John Levon <levon@movementarian.org>
5382 * lyxlex.C: small cleanup
5384 2002-08-02 John Levon <levon@movementarian.org>
5386 * text2.C (status): small cleanup, no logic change
5388 2002-08-01 John Levon <levon@movementarian.org>
5391 * buffer.C (writeFile): don't output alerts, caller
5395 * lyx_cb.C: from above
5397 * lyxfunc.C: allow to open non-existent files
5399 2002-07-31 John Levon <levon@movementarian.org>
5401 * lyxserver.C: don't let incidental errors get
5404 2002-07-30 John Levon <levon@movementarian.org>
5406 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5408 2002-07-30 John Levon <levon@movementarian.org>
5411 * lyxserver.C: remove I/O callback too
5413 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5415 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5418 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * many files: strip,frontStrip -> trim,ltrim,rtrim
5422 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * PrinterParams.h: remove extern containsOnly, and include
5425 support/lstrings.h instead.
5427 * LaTeX.C (scanAuxFile): modify because of strip changes
5429 * buffer.C (makeLaTeXFile): ditto
5430 * bufferparams.C (writeFile): ditt
5431 * lyxfont.C (stateText): ditto
5432 * lyxserver.C (read_ready): ditto
5433 * vc-backend.C (scanMaster): ditto
5435 * BufferView_pimpl.h: ws changes
5437 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5439 2002-07-26 André Pönitz <poenitz@gmx.net>
5441 * kb_sequence.C: remove unnedred usings
5443 2002-07-26 Juergen Vigna <jug@sad.it>
5445 * lyxfind.C (LyXReplace): we have to check better if the returned
5446 text is not of theLockingInset()->getLockingInset().
5448 2002-07-25 Juergen Vigna <jug@sad.it>
5450 * lyxfind.C (LyXReplace): don't replace if we don't get the
5453 * undo_funcs.C (createUndo): remove debugging code.
5455 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5457 * buffer.C (parseSingleLyXformat2Token): Use default placement
5458 when reading old floats.
5460 * FloatList.C (FloatList): Change the default placement of figure
5461 and tables to "tbp".
5463 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5465 * MenuBackend.C: using std::max
5467 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5469 * MenuBackend.C (expandToc):
5470 (expandToc2): code moved from xforms menu frontend. It is now
5471 generic and TOCs are transparent to menu frontends.
5473 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5475 * toc.C (getTocList): protect against buf=0
5477 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5478 Menu as first parameter. Now, this calls itself recursively to
5479 expand a whole tree (this will be useful for TOC handling)
5480 (expandFloatInsert): remove 'wide' version of floats
5482 * MenuBackend.h (submenuname): returns the name of the submenu.
5483 (submenu): returns the submenu itself, provided it has been
5484 created by MenuBackend::expand
5486 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5489 insets which have noFontChange == true. (bug #172)
5491 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5493 * BufferView_pimpl.C: add connection objects and use them...
5496 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5498 * MenuBackend.C (expandLastfiles):
5501 (expandFloatListInsert):
5502 (expandFloatInsert):
5503 (expand): split expand in parts
5505 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5507 * lyx_gui.C: use lyx_gui::exit()
5509 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5511 * LyXAction.C: show the failing pseudo action
5513 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5515 * buffer.C (readFile): Run the lyxconvert script in order to read
5518 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5522 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5524 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5528 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5530 2002-07-22 Herbert Voss <voss@lyx.org>
5533 * lyxlength.[Ch]: add support for the vertical lengths
5535 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5537 * toc.[Ch]: std:: fixes
5539 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5541 * lyxrc.C: do not include lyx_main.h
5543 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5549 * BufferView2.C: include "lyxlex.h"
5552 * bufferparams.h: do not #include "lyxlex.h"
5554 * lyxtextclasslist.C (Add): remove method
5555 (classlist): renamed to classlist_
5557 * paragraph_pimpl.C:
5561 * bufferview_funcs.C:
5566 * toc.C (getTocList): use BufferParams::getLyXTextClass
5568 * toc.C (getTocList): use InsetFloat::addToToc
5570 * toc.[Ch]: new files, containing helper functions to handle table
5573 * lyxfunc.C (dispatch): no need to remove spaces around command
5575 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5576 first command of the sequence; it is not very clever, but I do not
5577 have a better idea, actually
5579 * LyXAction.C (LookupFunc): make sure to remove space at the
5580 beginning and end of the command
5582 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5584 * MenuBackend.C (getMenubar): new method: return the menubar of
5586 (read): treat differently reading of menu and menubar (in
5587 particular, the menubar has no name now)
5588 (Menu::menubar): remove
5590 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5593 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5595 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5596 a bibitem inset in a RTL paragraph.
5598 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5600 * paragraph_pimpl.C: constify
5602 * BufferView_pimpl.C:
5604 * lyxfunc.C: fix dispatch in a nicer way
5606 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * lyxfunc.C (dispatch):
5609 * BufferView_pimpl.C:
5610 * BufferView_pimpl.h:
5612 * BufferView.h: rename Dispatch() to dispatch()
5614 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5616 * lyxlayout.C (Read): honor DependsOn tag
5618 * lyxlayout.[Ch] (depends_on): new method
5620 * version.C.in: update lyx_docversion
5622 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5624 * paragraph.C (validate): remove from here...
5625 * paragraph_pimpl.C (validate): ... and move here
5626 (isTextAt): make it const
5628 * buffer.C (getLists): ws cleanup
5630 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5632 * language.C (read): Use iso8859-1 encoding in latex_lang
5633 (this prevents LyX from crashing when using iso10646-1 encoding).
5635 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5637 * text2.C (toggleInset): if cursor is inside an inset, close the
5638 inset and leave cursor _after_ it
5640 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5642 * lyxfunc.C: move minibuffer completion handling out of here
5644 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5646 * BufferView_pimpl.C:
5647 * LaTeX.C: fix dispatch calls
5649 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5651 * text.C (drawChars): Fix Arabic text rendering.
5653 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5657 * lyxfunc.C: remove message-push/pop
5661 * lyxfunc.C: rationalise some code by removing verboseDispatch
5662 in favour of a bool argument to dispatch()
5664 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5666 * lyx_main.C (init): make sure to read symlinks as absolute paths
5668 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5671 * lyxfunc.C: no need for commandshortcut to be a member
5673 2002-07-15 André Pönitz <poenitz@gmx.net>
5675 * converter.C: add support for $$s (scripts from lib/scripts dir)
5676 * lyx_main.C: white space
5678 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5682 * lyxrc.C: remove second exit confirmation
5684 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5689 * BufferView_pimpl.h:
5690 * BufferView_pimpl.C:
5691 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5693 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5695 * MenuBackend.C (expand): add numeric shortcuts to document menu
5697 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5699 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5701 * lyxfont.C (setLyXFamily):
5708 * buffer.C (asciiParagraph): use ascii_lowercase
5710 2002-07-15 Mike Fabian <mfabian@suse.de>
5712 * lyxlex_pimpl.C (search_kw):
5713 * lyxlex.C (getLongString):
5714 * converter.h (operator<):
5715 * converter.C (operator<):
5716 * buffer.C (parseSingleLyXformat2Token):
5718 * ToolbarDefaults.C (read):
5719 * MenuBackend.C (checkShortcuts):
5721 * LColor.C (getFromGUIName):
5722 (getFromLyXName): use the compare_ascii_no_case instead of
5723 compare_no_case, because in turkish, 'i' is not the lowercase
5724 version of 'I', and thus turkish locale breaks parsing of tags.
5726 2002-07-16 Angus Leeming <leeming@lyx.org>
5728 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5729 now takes a Buffer const & argument.
5731 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5733 * BufferView.C (resize): check there's a buffer to resize
5735 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5737 * lyxfunc.C: remove dead code
5740 * lyxserver.C: use lyx_guii::set_read_callback
5742 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5744 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5745 an inset in a RTL paragraph.
5747 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5749 * lyxfunc.C: repaint after a font size update
5751 2002-07-15 André Pönitz <poenitz@gmx.net>
5753 * lyxlength.C: inBP should be able to return negative values
5755 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5757 * lyxfunc.C: use lyx_gui::update_fonts()
5759 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5761 * lyxfunc.C: use lyx_gui::update_color()
5763 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5769 * lyxrc.C: remove file->new asks for name option, and let
5770 buffer-new take an argument
5772 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5774 * BufferView_pimpl.C: remove unneeded extra repaint()
5776 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5778 * LyXAction.C: allow command-sequence with NoBuffer
5780 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5782 2002-07-10 Angus Leeming <leeming@lyx.org>
5784 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5786 2002-07-09 Angus Leeming <leeming@lyx.org>
5788 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5790 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5792 * lengthcommon.h: whitespace
5794 * lyxfunc.C: update scrollbar after goto paragraph
5796 * lyxtext.h: factor out page break drawing, and fix it so
5797 page break/added space paints as selected nicely
5799 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5801 * BufferView_pimpl.C: add FIXMEs, clean up a little
5803 2002-07-09 André Pönitz <poenitz@gmx.net>
5805 * lyxfont.[Ch]: support for wasy symbols
5807 2002-07-08 André Pönitz <poenitz@gmx.net>
5809 * BufferView_pimpl.C: apply John's patch for #93.
5811 2002-07-05 Angus Leeming <leeming@lyx.org>
5813 * BufferView_pimpl.C (buffer): generate previews if desired.
5815 * LColor.h: add "preview" to the color enum.
5817 * LColor.C (LColor): add a corresponding entry to the items array.
5819 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5822 2002-07-05 Angus Leeming <leeming@lyx.org>
5824 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5825 The body of the code is now in the method that is passed an ostream &
5826 rather than a file name.
5827 Pass an additional only_preamble parameter, useful for the forthcoming
5830 2002-07-03 André Pönitz <poenitz@gmx.net>
5832 * lyxfunc.C: simplify getStatus() a bit for math stuff
5834 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5836 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5838 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5840 * text.C (changeRegionCase): do not change case of all the
5841 document when region ends at paragraph end (bug #461)
5843 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5845 * paragraph.C (startTeXParParams):
5846 (endTeXParParams): add \protect when necessary
5848 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * BufferView_pimpl.C (workAreaExpose): remove warning
5852 2002-06-27 Angus Leeming <leeming@lyx.org>
5854 * Makefile.am: add lyxlayout_ptr_fwd.h.
5856 2002-06-26 André Pönitz <poenitz@gmx.net>
5858 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5860 2002-06-25 Angus Leeming <leeming@lyx.org>
5862 * lyxfunc.C (dispatch): Comment out the call to
5863 grfx::GCache::changeDisplay. The method no longer exists now that the
5864 pixmap generation part of the graphics loader has been moved into
5867 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5869 * text2.C: layout as layout
5871 * text.C: layout as layout
5873 * tabular.C (OldFormatRead): layout as layout
5875 * paragraph_pimpl.C (TeXDeeper): layout as layout
5876 (realizeFont): layout as layout
5878 * paragraph.C (writeFile): layout as layout
5879 (validate): layout as layout
5880 (getFont): layout as layout
5881 (getLabelFont): layout as layout
5882 (getLayoutFont): layout as layout
5883 (breakParagraph): layout as layout
5884 (stripLeadingSpaces): layout as layout
5885 (getEndLabel): layout as layout
5886 (getMaxDepthAfter): layout as layout
5887 (applyLayout): layout as layout
5888 (TeXOnePar): layout as layout
5889 (simpleTeXOnePar): layout as layout
5890 (TeXEnvironment): layout as layout
5891 (layout): layout as layout
5892 (layout): layout as layout
5894 * lyxtextclass.C (compare_name): new functor to work with
5895 shared_ptr, layout as layout
5896 (Read): layout as layout
5897 (hasLayout): layout as layout
5898 (operator): layout as layout
5899 (delete_layout): layout as layout
5900 (defaultLayout): layout as layout
5902 * lyxlayout_ptr_fwd.h: new file
5904 * lyxlayout.C (Read): layout as layout
5906 * lyx_cb.C (MenuInsertLabel): layout as layout
5908 * bufferlist.C (newFile): layout as layout
5910 * buffer.C (readLyXformat2): layout as layout
5911 (parseSingleLyXformat2Token): layout as layout
5912 (insertStringAsLines): layout as layout
5913 (asciiParagraph): layout as layout
5914 (latexParagraphs): layout as layout
5915 (makeLinuxDocFile): layout as layout
5916 (simpleLinuxDocOnePar): layout as layout
5917 (makeDocBookFile): layout as layout
5918 (simpleDocBookOnePar): layout as layout
5919 (getLists): layout as layout
5921 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5923 * CutAndPaste.C (cutSelection): layout as layout
5924 (pasteSelection): layout as layout
5925 (SwitchLayoutsBetweenClasses): layout as layout
5927 * BufferView_pimpl.C (Dispatch): layout as layout
5928 (smartQuote): layout as layout
5930 * BufferView2.C (unlockInset): layout as layout
5932 2002-06-24 André Pönitz <poenitz@gmx.net>
5934 * lyxfunc.C: fix #487
5936 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5940 * lyxfunc.C: remove display_shortcuts, show_banner
5942 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5944 * Buffer_pimpl.C: oops, update on resize
5946 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5953 * BufferView.C: use repaint()
5955 * BufferView_pimpl.h:
5956 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5957 as it's a clearer description. Remove superfluous
5960 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5962 * text.C: fix bug 488. Not ideal, but getting
5963 getWord() to work properly for the insets that
5964 matter is more difficult ...
5966 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5968 * BufferView_pimpl.C:
5971 * lyxfunc.C: remove the six million index lyxfuncs to just
5972 one, and DTRT (bug 458)
5974 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5978 * BufferView_pimpl.h:
5979 * BufferView_pimpl.C: clean up resize() stuff,
5980 and unnecessary updateScreen()s
5982 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5986 * BufferView_pimpl.h:
5987 * BufferView_pimpl.C:
5990 * minibuffer.C: remove focus management of workarea,
5991 not needed. Use screen's greyOut()
5993 2002-06-17 Herbert Voss <voss@lyx.org>
5995 * converter.C: (convert) do not post a message, when converting
5996 fails, let the calling function decide what to do in this case
5998 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6000 * lyxfunc.C: tidy up a little
6002 2002-06-16 <alstrup@diku.dk>
6004 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6005 Got rid of FORMS_H_LOCATION include. Now we are
6008 2002-06-15 LyX Development team <lyx@rilke>
6010 * buffer.[Ch] (sgmlOpenTag):
6011 (sgmlCloseTag): Added support for avoiding pernicious mixed
6012 content. Return number of lines written.
6015 (makeDocBookFile): Fixed calls to sgml*Tag.
6016 Simple white space clean.
6018 (simpleDocBookOnePar): Simple white space clean.
6020 * tabular.[Ch] (docBook): Renamed to docbook and got another
6021 argument to related with the pernicious mixed content.
6023 (docbookRow): Fixed calls for docbook inset method.
6025 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6027 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6028 so it's X11 independent.
6032 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6034 2002-06-15 Lyx Development team <lyx@electronia>
6036 * intl.h: Renamed getTrans to getTransManager.
6038 2002-06-14 Angus Leeming <leeming@lyx.org>
6040 * Makefile.am: nuke forgotten stl_string_fwd.h.
6042 2002-06-12 Angus Leeming <leeming@lyx.org>
6044 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6046 2002-06-13 Angus Leeming <leeming@lyx.org>
6049 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6051 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6053 * kbmap.C (getiso): add support for cyrillic and greek
6055 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6059 * BufferView_pimpl.h:
6060 * BufferView_pimpl.C: move bogus scrolling logic
6063 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6066 * BufferView_pimpl.C: view->resize() change
6068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6070 * BufferView_pimpl.C: topCursorVisible
6073 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6077 * lyx_gui.C: move to frontends/
6081 * lyx_main.C: changes from above
6083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6090 * lyx_main.C: minor tidy
6092 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6094 * BufferView_pimpl.h:
6095 * BufferView_pimpl.C:
6097 * BufferView.C: make painter() const,
6100 * BufferView2.C: use screen() accessor
6103 * lyx_main.C: some minor cleanup
6105 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6107 * BufferView_pimpl.h:
6108 * BufferView_pimpl.C: remove enter/leaveView,
6111 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6116 * BufferView_pimpl.h:
6117 * BufferView_pimpl.C: only construct screen once,
6120 * lyxrc.C: remove pointless comment
6122 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6125 * BufferView.C: remove active() and belowMouse()
6127 * BufferView_pimpl.h:
6128 * BufferView_pimpl.C: use workarea() not workarea_,
6129 and make it use a scoped_ptr instead
6131 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6133 * lyx_gui.C: add debug message on BadWindow
6135 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6137 * sp_spell.C: fdopen is not part of the C++ standard.
6139 * paragraph.C (InsetIterator): use >= instead of ==
6141 2002-06-07 Angus Leeming <leeming@lyx.org>
6143 Fixes needed to compile with Compaq cxx 6.5.
6144 * BufferView_pimpl.C:
6151 * lyxtextclasslist.C:
6156 all c-library variables have been moved into namespace std. Wrap
6157 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6162 Add a using std::abs declaration.
6164 * kbmap.h (modifier_pair):
6165 * paragraph.h (InsetTable, InsetList):
6166 * lyxfont.h (FontBits):
6167 type definition made public.
6169 * bufferlist.C (emergencyWriteAll): the compiler complains that
6170 there is more than one possible lyx::class_fun template to choose from.
6171 I re-named the void specialisation as lyx::void_class_fun.
6173 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6175 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6176 the compiler is is unable to find tostr in write_attribute.
6178 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6180 * buffer.C (sgmlError): hide #warning
6182 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * xtl/*: get rid of xtl, which is not in use anyway
6186 * LyXAction.C (init):
6187 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6188 were unimplemented xtl experimentation
6190 2002-06-04 André Pönitz <poenitz@gmx.net>
6192 * lyxfunc.C: disable array operation on simple formulae
6194 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6196 * converter.C: constify a bit
6198 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6200 * lyx_gui.C: check xforms version correctly
6202 2002-04-30 Herbert Voss <voss@lyx.org>
6204 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6207 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6209 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6210 attempt to register it with a VCS)
6212 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6214 * lyx_main.C (init): honor variables LYX_DIR_13x and
6217 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6221 * lyx_main.C: fix a crash on bad command line,
6222 and give a useful exit status on error
6224 * lyxfunc.C (doImport): allow -i lyx to work
6226 2002-03-30 André Pönitz <poenitz@gmx.net>
6228 * lyxfunc.C: mathed font changes
6230 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6245 * trans_mgr.h: srcdocs, and some minor cleanups
6247 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6249 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6250 call getFont all the time)
6252 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * switch from SigC signals to boost::signals
6256 2002-05-29 André Pönitz <poenitz@gmx.net>
6258 * paragraph_pimpl.C (getChar): don't call size() too often...
6260 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6262 * paragraph_pimpl.C (insertChar): do not try to update tables when
6263 appending (pos == size())
6265 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6266 in order to reduce drastically the number of comparisons needed to
6267 parse a large document
6269 2002-05-29 André Pönitz <poenitz@gmx.net>
6275 * textclasslist.[Ch]:
6276 * sp_ispell.h: whitespace change
6278 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6280 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6281 lyxaction directly now.
6283 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6287 * lyxvc.C: remove unused headers
6289 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6296 * undo_funcs.C: some cleanups. Use shared_ptr
6297 and a template for the undo stacks.
6299 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6301 * BufferView_pimpl.h:
6302 * BufferView_pimpl.C:
6309 * text2.C: use key_state/mouse_state
6311 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6316 * chset.C: change include order
6317 (loadFile): use boost regex and get rid of LRegex and LSubstring
6319 * Makefile.am (BOOST_LIBS): new variable
6322 * LaTeX.C: change include order.
6323 (scanAuxFile): use boost regex and get rid of LRegex and
6327 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6332 * FontInfo.C: moved to frontends/xforms/
6335 * FontLoader.C: moved into frontends for GUIIzation
6340 * lyxfunc.C: changes from above
6342 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6344 * LColor.C: remove spurious X include
6346 * BufferView_pimpl.C:
6351 * text2.C: move font metrics to frontends/
6353 2002-05-24 Juergen Vigna <jug@sad.it>
6355 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6356 setting the undo_cursor.
6358 * ParagraphParameters.h: include local includes first.
6360 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6362 * BufferView_pimpl.C:
6363 * BufferView_pimpl.h:
6367 * screen.C: move WorkArea into frontends/
6373 * BufferView2.C: move LyXScreen into frontends/
6377 * lyx_gui.C: move lyxlookup into frontends/xforms/
6379 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6382 * BufferView_pimpl.C:
6392 * bufferview_funcs.C:
6405 * vc-backend.C: move LyX/XFormsView into frontends/
6407 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6419 * text2.C: move Painter to frontends/
6421 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6423 * buffer.C: comment out some some code that depend upon lyx_format
6426 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6427 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6429 * buffer.h (NO_COMPABILITY): turn off compability
6431 * ColorHandler.C: include scoped_array.hpp
6433 * font.C: Use more specific smart_ptr header.
6436 * ShareContainer.h: ditto
6440 * BufferView_pimpl.h: ditto
6441 * ColorHandler.h: ditto
6443 * kbmap.C (defkey): change call to shared_ptr::reset
6445 2002-05-21 Juergen Vigna <jug@sad.it>
6447 * buffer.C (insertErtContents): fix to insert ert asis if it is
6448 non empty. Skip it completely if it contains only whitespaces.
6450 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6452 * BufferView_pimpl.C:
6453 * BufferView2.C: clear selection on paste (bug 393)
6455 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6457 * DepTable.C: include ctime
6459 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6461 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6463 2002-05-14 Juergen Vigna <jug@sad.it>
6465 * text.C (breakParagraph): fixed function to honor the keepempty
6466 layout in the right maner and also to permit the right breaking
6467 algorithm on empty or non empyt keepempty paragraphs.
6469 * paragraph.C (breakParagraph): we have to check also if the par
6470 is really empty (!size()) for isempty otherwise we do the wrong
6473 2002-05-10 Juergen Vigna <jug@sad.it>
6475 * buffer.[Ch] : The following are only changes to the ert
6476 compatibility read reading old LaTeX layout and font stuff and
6477 convert it to ERTInsets.
6479 * buffer.h: added isErtInset().
6481 * buffer.C (struct ErtComp): add a fromlayout bool to check
6482 if we're inside a LaTeX layout.
6483 (isErtInset): new helper function.
6484 (insertErtContents): look for other ert insets before this one
6485 and insert the contents there, so that we don't have subsequent
6486 ERT insets with nothing between them. This way we create only one
6487 inset with multiple paragraphs. Also check if we don't insert only
6488 spaces ' ' as they are ignored anyway afterwards in the .tex file
6489 so if we have only spaces we will ignore this latex part in the
6491 (parseSingleLyXformat2Token \\layout): better compatibility when
6492 reading layout-latex stuff.
6493 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6495 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6496 stuff after reading the inset only get the information back from
6499 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6501 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6503 * LaTeXFeatures.C (getBabelOptions): New method.
6505 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6507 * BufferView_pimpl.C (Dispatch): work around missing argument for
6510 2002-05-08 Juergen Vigna <jug@sad.it>
6512 * text.C (leftMargin): handle paragraph leftindent.
6514 * paragraph.C (writeFile): write the new \\leftindent tag.
6515 (validate): handle leftindent code.
6516 (TeXEnvironment): handle paragraphleftindent code again.
6518 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6520 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6521 for paragrap_extra indent code and new token \\leftindent.
6522 (latexParagraphs): handle the leftindent as environment.
6524 * ParameterStruct.h: added leftindent support.
6526 * ParagraphParameters.C (leftIndent): added support functions for
6527 the paragraph left indent.
6529 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6532 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6534 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6537 * text.C (computeBidiTables): No bidi in insetERT.
6539 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6542 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6544 * version.C.in: pre 5
6546 2002-05-02 José Matos <jamatos@fep.up.pt>
6547 * buffer.C (makeDocBookFile): white space changes, add newline to
6549 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6551 * tabular.C (docBook): fix typo.
6553 2002-05-03 Juergen Vigna <jug@sad.it>
6555 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6556 change in LyXText as we can not be sure it was not freed.
6557 (drawOneRow): remove unused code.
6559 * text.C (drawInset): redo the calculation of the need_break_row as
6560 it could have a row which was already freed.
6561 (draw): look at the return value of drawInset and return false if
6562 it also returned false.
6563 (paintRowText): look at the return value of draw and return false if
6564 it also returned false.
6566 * lyxtext.h: added bool return type to drawInset() and draw() so that
6567 if we have a change in the row so that the rowbreak has to be redone
6568 we abort drawing as it will be called again.
6570 2002-05-02 Juergen Vigna <jug@sad.it>
6572 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6573 a change in the maintext also if we're inside an inset.
6574 (Dispatch): set the cursor again after a break line and after the
6575 screen has been updated as it could be we're in a different row.
6577 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6578 to set the cursor behind the pargraph with > size().
6579 (setCursor): check also for the same paragraph when checking where
6580 to put the cursor if we have a NFR inset.
6582 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6583 parts of layout read further up as it still was in the wrong
6586 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6588 * screen.C (drawFromTo): change sine fullRebreak always return
6591 * buffer.C (parseSingleLyXformat2Token): reindent some
6593 * BufferView_pimpl.C (update): change since fullRebreak always
6595 (Dispatch): git rid of the last hardcoded "Standard"s.
6597 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * text2.[Ch] (fullRebreak): make it return void now that we always
6602 2002-04-30 Juergen Vigna <jug@sad.it>
6604 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6605 ert compatibility check for "latex" layout.
6607 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6609 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6610 minipages: use col% instead of p%, and also use the current font.
6611 (makeLaTeXFile): Fix use babel condition.
6612 (parseSingleLyXformat2Token): Correct font when reading old floats.
6614 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6616 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6617 inserting list of floats.
6619 2002-04-25 Herbert Voss <voss@lyx.org>
6621 * MenuBackend.C (expand): don't add the graphics extensions to the
6624 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6627 non-existing layout, do not complain if it was the default layout
6628 of the original class (bug #342)
6630 2002-04-24 Juergen Vigna <jug@sad.it>
6632 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6633 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6635 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6637 * buffer.C (getBibkeyList): If using \bibliography, return the
6638 option field with the reference itself. Enables us to provide natbib
6639 support when using \bibliography.
6641 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6643 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6645 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6646 natbib is provided by the LaTeX class.
6648 2002-04-23 Juergen Vigna <jug@sad.it>
6650 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6653 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6655 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6657 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6659 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6660 ensuremath around textordmasculine, textordfeminine and
6663 2002-04-19 Juergen Vigna <jug@sad.it>
6665 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6666 reinitializing the buffer otherwise row-dimensions may be wrong.
6667 (update): reset also the selection cursors if they do exits otherwise
6668 their x/y positions may be wrong.
6670 * text2.C (cursorDown): don't enter the inset if we came from a row
6671 above and are one row over the inset.
6673 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6674 really leaving an inset.
6676 2002-04-18 Juergen Vigna <jug@sad.it>
6678 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6679 of the selected paragraph does not have the selected layout also if
6682 * text2.C (setLayout): fixed bug which did not change last selected
6685 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6686 changed the read and substituted \\end_float with \\end_inset!
6688 * BufferView_pimpl.C (cursorPrevious):
6689 (cursorNext): fixed to make it work with rows heigher than the work
6690 area without moving the cursor only the draw of the row.
6691 (workAreaMotionNotify): fix jumping over high rows.
6693 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6695 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6698 2002-04-16 Juergen Vigna <jug@sad.it>
6700 * text2.C (setCursor): set also the irow().
6701 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6703 (cursorDown): support for locking an inset if the x_fix value goes
6704 inside it. That way I can transverse insets too with cursor up/down.
6706 * lyxrow.h: added irow helper function same as other (i) functions.
6708 * BufferView_pimpl.C (cursorPrevious):
6709 (cursorNext): fixed for insets!
6711 2002-04-15 Juergen Vigna <jug@sad.it>
6713 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6714 position otherwise it is wrong in some cases.
6716 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6717 inside the inset before the call.
6719 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6721 * buffer.[Ch] (getBibkeyList): make it const.
6723 2002-04-12 Juergen Vigna <jug@sad.it>
6725 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6727 * text2.C (getCursorX): new helper function
6728 (setCursor): compute also ix_
6729 (setCursorFromCoordinates): set also ix.
6731 * lyxcursor.h: added ix_ and helper functions.
6733 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6735 * buffer.C (insertStringAsLines): dont break paragraph if the this
6736 paragraph is inside an inset which does not permit it!
6738 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6739 also with no chars on this paragraph.
6740 (paintRowText): only paint stuff if it's inside the workarea!
6742 * paragraph.C (breakParagraph): honor keepempty flag and break the
6743 paragraph always below not above.
6745 * BufferView2.C (unlockInset): update the paragraph layout on inset
6746 unlock as we changed paragraph in such a case.
6748 * lyxfind.C (LyXFind): clear the former selection if not found!
6750 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6751 again called in insertChar().
6753 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6754 an inset which uses the whole row!
6755 (rightMargin): ditto.
6756 (insertChar): force a rebreak if we inserted an inset!
6758 2002-03-28 Herbert Voss <voss@lyx.org>
6760 * lyxlength.[Ch]: add inBP() to get the right PS-point
6761 units (BigPoint). With inPixels we have rounding errors
6763 2002-04-11 Juergen Vigna <jug@sad.it>
6765 * text2.C (setCursorFromCoordinates): set iy to the right value.
6766 (setCursor): add check if row->previous exists!
6768 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6769 an old float_type as this was the case in the old code!
6771 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6773 * BufferView2.C (showLockedInsetCursor): use iy
6774 (fitLockedInsetCursor): ditto
6776 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6777 locked insets as there we have the right value now.
6779 * lyxcursor.C: added iy_ variable and iy functions to set to the
6780 baseline of cursor-y of the locked inset.
6782 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6783 (setCursor): fixed for insets which need a full row.
6785 * text.C (rowLastPrintable): don't ignore the last space when before
6786 an inset which needs a full row.
6787 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6788 as last character of a row when before a inset which needs a full row.
6790 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6792 * version.C.in: update date
6794 * text2.C (fullRebreak): try to always return true and see what
6797 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6799 * MenuBackend.C (expand): use Floating::listName
6801 * FloatList.C (FloatList): add listName argument to the built-in
6804 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6805 text associated with the float.
6807 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6809 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6811 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6813 * ShareContainer.h: add a couple of missing typenames.
6815 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6817 * lyxrc.C (getDescription): use _() correctly rather than N_().
6819 2002-03-28 Herbert Voss <voss@lyx.org>
6821 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6822 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6824 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6826 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6827 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6829 2002-03-29 Juergen Vigna <jug@sad.it>
6831 * lyxfunc.C (dispatch): add a missing fitCursor call.
6833 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6834 it was scrolled by a cursor move, so return the bool status.
6836 * BufferView.C (fitCursor): return the bool flag also to the outside
6837 world as this is needed.
6839 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6841 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6842 call the edit() as it is not needed (and wrong) IMO.
6843 (workAreaButtonPress): set the screen_first variable before evt.
6844 unlock the inset as this may change screen_first and then we have
6845 a wrong y position for the click!
6847 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6849 * MenuBackend.C (expand): another translation that I missed
6851 2002-03-28 Juergen Vigna <jug@sad.it>
6853 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6855 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6857 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6859 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6861 * MenuBackend.C (expand): fix export/view/update when there is no
6864 2002-03-27 Herbert Voss <voss@lyx.org>
6866 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6869 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * bufferview_funcs.C (currentState): only show paragraph number
6872 for is DEVEL_VERSION is set.
6874 * lyxfunc.C (dispatch): put warning in INFO channel
6876 * MenuBackend.C (expand): translate the name of floats
6878 * FloatList.C (FloatList): mark the float names for translation
6880 * converter.C (convert): use LibScriptSearch
6882 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6884 * MenuBackend.C (defaults): fix default menu (we might as well get
6887 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6889 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6892 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6894 * lyxvc.C: reorder includes.
6896 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6898 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6901 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6903 * CutAndPaste.C: change layouts earlier on paste
6904 to avoid crashing when calling getFont()
6906 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6908 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6911 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6913 * WorkArea.C: remove 'Pending' debug message.
6915 * most files: ws cleanup
6917 * buffer.[Ch]: ws changes
6919 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6921 2002-03-21 Juergen Vigna <jug@sad.it>
6923 * tabular.C (SetMultiColumn): collapse also the contents of the
6924 cells and set the last border right. Added a Buffer const * param.
6926 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6928 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6931 2002-03-19 Juergen Vigna <jug@sad.it>
6933 * text2.C (clearSelection): reset also xsel_cache.
6935 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6936 where it needs to be called (John tells us to do so too :)
6937 (selectionLost): reset sel_cache.
6939 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6941 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6943 * text2.C (setCursorIntern): put debuging code in INSETS channel
6945 2002-03-19 André Pönitz <poenitz@gmx.net>
6947 * lyxfunc.C: tiny whitespace change
6949 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6951 * ToolbarDefaults.C (init):
6952 * LyXAction.C (init):
6954 * BufferView_pimpl.C (Dispatch):
6955 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6957 2002-03-19 Allan Rae <rae@lyx.org>
6959 * exporter.C (Export): removeAutoInsets before doing anything else.
6960 While I've just introduced a dependency on BufferView this really is
6961 the best place to clean the buffer otherwise you need to cleanup in
6962 a dozen places before calling export or cleanup in a dozen functions
6965 * converter.C (runLaTeX):
6966 (scanLog): Better handling of removeAutoInsets and screen updates.
6968 * lyxfunc.C (dispatch): small whitespace changes
6970 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6972 * WorkArea.C (C_WorkAreaEvent): return a value.
6973 (event_cb): return 1 if we handled the event, 0 otherwise.
6975 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6977 2002-03-18 Juergen Vigna <jug@sad.it>
6979 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6980 (GetAdditionalWidth): ditto.
6984 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6985 inset if we're there actually (probably not used right now but this
6986 is the direction to go for unifying code).
6987 (paste): disable code to clear the selection.
6989 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6990 inside an InsetText and move the check further up as it is in the
6993 * text2.C (pasteSelection): set a selection over the pasted text.
6995 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6997 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6998 and libgraphics to build on Cygwin.
7000 2002-03-15 Juergen Vigna <jug@sad.it>
7002 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7003 inserting an Inset into the paragraph. I know this is not the best
7004 fix but we already use current_view in CutAndPaste so we will remove
7005 all of it's using at the same time.
7007 * buffer.C (sgmlError): deactivated function till it is rewritten in
7008 the right mode, now it can create problems.
7010 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7011 before accessing it.
7013 2002-03-14 Juergen Vigna <jug@sad.it>
7015 * undo_funcs.C (textHandleUndo): do the right thing when updating
7016 the inset after the undo/redo.
7018 * text2.C (setCursor): just some testcode for #44 not ready yet.
7020 * undo_funcs.C (textHandleUndo): set the next() and previous()
7021 pointers of the paragraph to 0 before deleting otherwise we have
7022 problems with the Paragraph::[destructor].
7024 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7025 on a paragraph insertion.
7027 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7029 * buffer.C (asciiParagraph): use += operator for char append to
7032 * paragraph.C (getFontSettings): compare >= not just >
7033 (highestFontInRange): ditto
7036 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7038 * paragraph.C: change several algorithm to be more appripriate for
7039 the problem domain. This is lookip in FontList and in the InsetList.
7041 2002-03-13 André Pönitz <poenitz@gmx.net>
7044 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7046 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7051 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7053 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7055 * Painter.C (display): anon helper function, adjust code for this
7057 (pixmap): remove function.
7059 * Painter.h: remove private display variable.
7061 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7063 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7065 * WorkArea.[Ch]: remove figinset_canvas cruft.
7067 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * lyxtextclass.C (operator): add one item cache optimization.
7071 * bufferlist.h: doxy changes
7073 * bufferlist.C: ws changes
7075 * DepTable.[Ch] (ext_exist): place const in the right spot.
7077 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7079 (workAreaExpose): call resizeInsets when the with BufferView changes.
7080 (Dispatch): adjust for protectedBlank removal
7081 (specialChar): call updateInset if the insert went ok.
7083 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7084 specialChar instead.
7086 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7088 * BufferView.h: doxy change
7090 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7092 * lyxtextclass.C (operator[]): remove non-const version
7093 (defaultLayout): remove non-const version
7095 2002-03-12 Juergen Vigna <jug@sad.it>
7097 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7098 did resize the LyXText too.
7100 * buffer.C (readLyXformat2): set layout information on newly allocated
7103 * tabular.C (OldFormatRead): set layout information on the paragraph.
7105 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7107 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7109 2002-03-11 Juergen Vigna <jug@sad.it>
7111 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7113 (resizeCurrentBuffer): force also the insets to resize themselfes.
7114 (moveCursorUpdate): fixed up for InsetText.
7116 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7119 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7120 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7121 value of Dialogs::tooltipsEnabled().
7122 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7124 2002-03-08 Juergen Vigna <jug@sad.it>
7126 * BufferView_pimpl.C (updateInset): update inset inside inset also
7127 if it isn't inside theLockingInset().
7129 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7131 * buffer.C (asciiParagraph): redo some of the word and line length
7133 (getLists): look for Caption instead of caption.
7135 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7137 * buffer.C (Buffer): initialize niceFile to true
7140 (makeDocBookFile): make sure niceFile is true on exit
7142 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7144 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7146 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7148 * LyXSendto.C: remove.
7149 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7150 * lyx_gui.C: remove now-redundant comment.
7151 * ColorHandler.h: remove forward declaration of class WorkArea.
7152 * lyxfunc.C: remove #include "WorkArea.h".
7154 2002-03-07 Juergen Vigna <jug@sad.it>
7156 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7157 got moved away with the DEPM and also set the inset_owner always
7158 right which before could have been omitted.
7160 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7163 wanted layout is not found.
7165 2002-03-07 Juergen Vigna <jug@sad.it>
7167 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7169 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7171 * paragraph.C (breakParagraph): use default layout not layout of
7173 (Paragraph): clear ParagraphParameters.
7175 2002-03-06 Juergen Vigna <jug@sad.it>
7177 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7178 otherwise it would not be a valid lenght. Fixed a special case in
7179 the minipage compatibility read where we end the document with a
7182 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7183 was set as it could be 0 for InsetTexts first entry.
7185 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7187 * paragraph.C (writeFile): if layout is empty write out
7188 defaultLayoutName().
7190 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7191 file without named layout we set layout to defaultLayoutName().
7193 2002-03-06 Juergen Vigna <jug@sad.it>
7195 * CutAndPaste.C (copySelection): set layout for new paragraph.
7197 * text.C (prepareToPrint): leave ERT inset left aligned
7198 (leftMargin): don't indent paragraphs inside ERT insets
7200 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7202 * paragraph.C (breakParagraph): dont call clear do the work manually
7204 * paragraph.[Ch] (clear): remove function
7206 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * paragraph.C (Paragraph): dont call clear, the work has already
7211 * lyxtextclass.C (operator): assert if n is empty
7213 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7214 work manually instead.
7216 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7218 * BufferView_pimpl.C: protect selectionLost against text == 0
7220 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7222 * text.C (breakParagraph): fix a setting layout to '0' problem.
7224 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7226 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7227 final location of file, for the included files, and graphics.
7229 2002-03-05 Juergen Vigna <jug@sad.it>
7231 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7233 2002-03-04 Juergen Vigna <jug@sad.it>
7235 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7237 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7238 last column of multicolumn cells.
7239 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7241 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7243 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7244 file if it doesn't go to a temporary file.
7246 * buffer.C (sgmlOpenTag):
7247 (sgmlCloseTag): remove extra newline insertion.
7249 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * text.C (getRowNearY): comment out debug msg
7253 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * text2.C: first -> first_y
7257 * text.C (getRowNearY): add some attemts at a possible
7258 optimization, not working.
7260 * tabular.[Ch]: add BufferParams to several function so that newly
7261 created paragraph can be initialized to he default layotu for the
7264 * tabular-old.C (ReadOld): add buf->params to call of Init
7266 * screen.C: rename text->first to text->first_y
7268 * paragraph.C (breakParagraph): always set layout in the broken
7271 * lyxtextclass.C (Read): remove lowercase
7274 (delete_layout): ditto
7276 * lyxtext.h: rename first -> first_y
7278 * lyxlayout.C (Read): remove lowercase
7281 (obsoleted_by): ditto
7283 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7285 * buffer.C (insertErtContents): add params are to InsetERT
7286 (parseSingleLyXformat2Token): add code to check if a paragraphs
7287 layout really exist.
7288 (parseSingleLyXformat2Token): add params to several inset
7290 (asciiParagraph): remove lowercase, do the layout comparisons with
7293 * BufferView_pimpl.C (cursorNext): first -> first_y
7294 (resizeCurrentBuffer): first -> first_y
7295 (updateScrollbar): first -> first_y
7296 (scrollCB): first -> first_y
7297 (workAreaMotionNotify): first -> first_y
7298 (workAreaButtonPress): first -> first_y
7299 (checkInsetHit): first -> first_y
7300 (cursorPrevious): first -> first_y
7301 (cursorNext): first -> first_y
7302 (Dispatch): add buffer_->params to severl inset contructors
7304 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * lyxlayout.C (Read): remove some debug info that I forgot.
7308 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7309 clean up the code slightly.
7310 (makeLinuxDocFile): ditto
7311 (makeDocBookFile): ditto
7313 * text2.C: layout as string
7315 * text.C: layout as string
7317 * paragraph_pimpl.C: layout as string
7319 * paragraph.[Ch]: layout as string
7321 * lyxtextclasslist.[Ch]: layout as string
7323 * lyxtextclass.[Ch]: layout as string
7325 * lyxtext.h: layout as string
7327 * lyxlayout.[Ch]: layout as string
7329 * lyx_cb.C: layout as string
7331 * bufferview_funcs.C: layout as string
7333 * bufferparams.C: layout as string
7335 * buffer.C: layout as string
7337 * LyXView.[Ch]: layout as string
7339 * LaTeXFeatures.[Ch]: layout as string
7341 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7343 * BufferView_pimpl.C: change current_layout to string, remove
7348 (workAreaButtonRelease): layout as string
7350 * BufferView2.C (unlockInset): adjust
7352 * vspace.C (asLatexCommand): use an explict temp variable.
7354 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7356 * Makefile.am: use FRONTEND_*
7358 2002-03-01 Juergen Vigna <jug@sad.it>
7360 * tabular.C (SetWidthOfMulticolCell): changed to something better
7361 I hope but still work in progress.
7362 (recalculateMulticolumnsOfColumn): renamed function from
7363 recalculateMulticolCells as it is more appropriate now.
7364 (SetWidthOfCell): calculate multicols better.
7366 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7368 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7370 * lyxfunc.C (processKeySym): print sequence also if it is
7371 `deleted' (complete)
7373 * kbsequence.C (print): print sequence even if it is deleted
7374 (complete would be a better word, actually).
7376 * lyxfunc.C (dispatch): print complete options after a prefix key
7378 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7380 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7382 * text2.C (setCharFont): eliminate setCharFont code duplication.
7384 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7387 LFUN_TABULAR_FEATURE (bug #177)
7389 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7391 * Makefile.am: remove figure.h
7393 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7395 * Bufferview_pimpl.C:
7407 * text2.C: remove #include "lyx_gui_misc.h".
7409 * LaTeX.C: added #include <cstdio>
7411 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7413 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7414 that the paragraph following this one can have.
7416 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7418 * vspace.C (asLatexCommand): fix bogus gcc warning
7420 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7422 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7424 * text2.C (setLayout): get rid of redundant code
7426 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7428 * text2.C (incDepth): make sure depth cannot be increased beyond
7431 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7433 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7434 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7436 * PainterBase.h (image):
7437 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7440 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7444 * BufferView_pimpl.C:
7445 * BufferView_pimpl.h:
7465 * sp_spell.C: remove fig inset, and the crap house of
7466 cards that follows it
7468 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7474 * nt_defines.h: move .h into support/
7476 * vms_defines.h: remove
7478 * WorkArea.C: add space in debug output
7482 * buffer.C: add WITH_WARNINGS
7486 * bufferlist.C: s/retrive/retrieve/, add docs
7497 * lyxgui.C: add ID to X error handler
7499 * lyxtestclass.c: fix typo
7501 2002-02-26 Juergen Vigna <jug@sad.it>
7503 * tabular_funcs.C (write_attribute): changed so that some default
7504 attributes are not written at all.
7505 (getTokenValue): set default values before trying to read the
7506 value so we have the return value always set as default if we don't
7507 find the token we search for.
7509 * tabular.C (Write): write bools as bools not as strings!
7511 2002-02-22 Juergen Vigna <jug@sad.it>
7513 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7514 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7516 * text.C (leftMargin): don't add an indent for paragraphs inside
7517 tabular cells (fix #208).
7519 2002-02-21 José Matos <jamatos@fep.up.pt>
7521 * tabular.C (docBook): fixed support for long tables.
7523 2002-02-20 Juergen Vigna <jug@sad.it>
7525 * text2.C (getFont): get the drawing font of the Inset if this
7526 paragraph is inside an inset (only important for InsetERT for now).
7528 * buffer.C (insertErtContents): use new lanugage params in ERT
7531 * CutAndPaste.C: commenting out seemingly uneeded code.
7533 2002-02-19 Allan Rae <rae@lyx.org>
7535 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7536 Iterators might be simple to use but they also get invalidated.
7537 (removeAutoInsets): renamed saved cursor tracking variables and added
7538 some comments to clarify what everything does.
7540 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7547 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7548 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7551 * vc-backend.h: remove #include "support/syscall.h"
7555 * converter.C: rearrange #includes in Lars' approved fashion.
7557 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7558 forward declare class Timeout in the header file.
7560 * XFormsView.C: changes due to the above.
7562 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7565 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7566 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7568 2002-02-18 José Matos <jamatos@fep.up.pt>
7570 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7573 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7575 * a lot of small ws changes
7576 * add a lot of using std::XXX
7577 * use std construcs some places where approp.
7578 * use some exisint stuff from lyxfunctional where approp.
7579 * Make file changes to use partial linking (lets test this now...)
7581 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7585 remove #include "support/syscontr.h" as it's redundant. Always has been.
7593 change Systemcalls::System to Systemcalls::Wait and
7594 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7595 No change of functionality, just reflects the stripped down Systemcalls
7598 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7600 * debug.[Ch]: add a GRAPHICS type to the enum.
7602 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7604 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7606 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7609 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7611 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7612 match the changes below.
7614 * text2.C (toggleInset): if there is not editable inset at cursor
7615 position, try to see if cursor is _inside_ a collapsable inset
7618 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7621 document menu has a nice checkbox
7623 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * lyxlength.C (asLatexString): change PW to output as percent of
7628 * lengthcommon.C: change '%' to 't%'
7630 * lyxfunc.C (dispatch): a few comments from Martin
7632 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7636 * BufferView_pimpl.h:
7637 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7640 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * vspace.C (inPixels): fix compiler warning
7644 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7646 * lyxfunc.C (getStatus): fix status message for disabled commands.
7648 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7650 * BufferView_pimpl.C: fix crash on close buffer
7651 during selection (#227)
7653 2002-01-27 Herbert Voss <voss@lyx.org>
7655 * buffer.C: link old Figure to new graphic inset
7657 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7659 * FontLoader.C (getFontinfo): Change the latex font names in order
7660 to match the names of type1inst.
7662 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7666 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7669 (remove_files_with_extension): ditto
7670 (remove_file): ditto
7673 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7674 document is smaller than the work area height. Do not initialize
7675 static variables to 0.
7677 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7679 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7681 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7682 LFUN_LAYOUT_PARAGRAPHS.
7684 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7685 tabular. It is possible to provide a possible cell, which will
7686 typically be the actcell from the corresponding insettabular
7688 * lyxfunc.C (getStatus): small cleanup; disable
7689 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7692 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7696 * paragraph.C (startTeXParParams):
7697 (endTeXParParams): new methods. The LaTeX code to
7698 start/end paragraph formatting
7699 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7700 empty (fixes bug #200)
7702 * vspace.C (inPixels): adapt to the change below
7703 (inPixels): [later] more cleanups (remove unused variables)
7705 * lyxlength.C (inPixels): change to use a width and a height as
7708 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7711 Replaced with \paperwidth
7713 * DepTable.C (insert): add std:: qualifier
7715 2002-01-18 Allan Rae <rae@lyx.org>
7717 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7720 * text.C (drawInset): Turned out I didn't know enough about how
7721 rebreaking worked. This fixes most of the redraw problems. I see
7722 an occasional cursor trail when a line is broken now and the cursor
7723 placement can seem out by a few pixels also after a rebreak.
7725 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7727 * buffer.C (parseSingleLyXformat2Token): update because minipage
7728 width is now a LyXLength
7730 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7732 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7735 2002-01-17 Juergen Vigna <jug@sad.it>
7737 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7739 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7740 is set correctly and the inset is updated correctly.
7742 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7745 the beginning of the loop.
7747 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7749 * lyxrc.C: improve help for use_scalable_fonts
7751 2002-01-17 Allan Rae <rae@lyx.org>
7753 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7755 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7758 make sure to set their inset_owner to the right value (bug #171)
7760 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7763 * DepTable.C: Implement mtime checking to reduce time spent doing
7766 2002-01-16 Juergen Vigna <jug@sad.it>
7768 * tabular.C (GetAdditionalHeight): one of error fixed.
7770 * lyxrc.C (output): small fix in writing use_pspell.
7772 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7774 * sp_base.h: #include LString.h
7776 2002-01-16 Allan Rae <rae@lyx.org>
7778 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7779 Can someone check this please?
7781 * text.C (drawInset): It was possible that p.row would be removed by
7782 breakAgainOneRow upsetting a few other settings. There may be another
7783 small tweak possible by setting need_break_row = 0 when p.row has been
7784 removed but I don't know enough about the logic here.
7786 2002-01-15 Allan Rae <rae@lyx.org>
7788 * text.C (insertChar): removed conditional truism.
7790 * BufferView2.C (removeAutoInsets): More tweaks.
7791 cur_par_prev could be a stray pointer. Check for trailing empty line
7792 in case last line was cur_par and only had an error inset on it.
7794 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7796 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7799 * vc-backend.C (most methods):
7800 * exporter.C (Export):
7801 * converter.C (convert):
7803 * LyXSendto.C (SendtoApplyCB):
7804 * lyxfunc.C (dispatch):
7808 * lyx_cb.C (AutoSave):
7810 * BufferView_pimpl.C (MenuInsertLyXFile):
7811 * buffer.C (runChktex): use Buffer::filePath().
7813 * buffer.h: rename filename to filename_; rename filepath to
7814 filepath_ and make it private
7815 (filePath): new method
7817 * buffer.C (writeFile): use fileName()
7820 * lyx_main.C (init): fix starting of LyX when the binary is a
7821 link from so,ewhere else.
7823 * minibuffer.C: include <cctype> for isprint
7825 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7827 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7828 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7829 name clash with InsetCollapsable's width function.
7831 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7833 * lastfiles.C: include <iterator>
7835 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7837 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7840 * buffer.C (makeLaTeXFile): ditto.
7841 Also make loop operation more transparent.
7843 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7845 * ToolbarDefaults.C: remove trailing comma closing namespace.
7847 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7849 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7852 * trans.C (Load): comment out unused variable, allowed.
7854 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7856 * minibuffer.[Ch] (append_char): new method to recieve input from the
7857 drop-down completion browser. If a key was pressed, then recieve this
7858 char and append it to the existing string.
7859 (peek_event): modify the positioning data passed to the completion
7860 browser so that it can be placed above the minibuffer rather than below.
7861 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7863 * LyXAction.C (init): alloe error-next for readonly documents.
7865 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7868 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7870 * bufferlist.C (readFile): create the buffer _after_ checking that
7873 * lyxfunc.C (verboseDispatch): fix handling of arguments
7875 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7877 * lyxrc.C: use string::erase() instead of initializing to "".
7880 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7882 * BufferView_pimpl.h:
7883 * BufferView_pimpl.C:
7886 * text2.C: tell X when we have made a selection for copying
7888 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7890 * BufferView_pimpl.C (MenuInsertLyXFile):
7891 * lyxfunc.C (menuNew):
7893 (doImport): add shortcuts to directory buttons
7895 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7898 * lyxfunc.C (setStatusMessage):
7899 (getStatusMessage): new methods
7900 (getStatus):use setStatusMessage instead of setErrorMessage
7901 (dispatch): when function is disabled, set error message here
7902 [instead of in getStatus previously]
7904 * BufferView_pimpl.C (workAreaButtonRelease): update
7905 toolbar/menubar here too.
7907 2002-01-13 Allan Rae <rae@lyx.org>
7909 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7910 Now seems indestructible. Remaining task is to audit all other
7911 code affected by deleteEmptyParagraphMechanism. One small quirk
7912 left is that an empty document with an error in the preamble can
7913 be made to report an error but no error box appears. I don't know
7915 (removeAutoInsets): Improved comments.
7917 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7920 * Thesaurus.C: update for Aiksaurus 0.14
7922 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7924 * text2.C (firstParagraph): removed member function, all uses
7925 replaces with ownerParagraph
7926 (redoParagraphs): here
7928 (toggleAppendix): here
7929 * BufferView2.C (insertErrors): here
7930 (setCursorFromRow): here
7932 2002-01-13 Allan Rae <rae@lyx.org>
7934 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7935 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7936 There is still a way to segfault this although you may have to do this
7937 multiple times: Have an InsetERT with an unknown command in it.
7938 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7939 <down-arrow>, <Enter> again, View->DVI, BANG!
7941 * text2.C (setCursor):
7942 (deleteEmptyParagraphMechanism):
7943 * lyxtext.h (setCursor):
7944 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7945 Making use of the return value may help fix other bugs.
7947 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7951 * LyXView.C (updateMenubar): call MenuBar::update here
7952 (updateToolbar): but not here
7953 (showState): do not update toolbar/menubar
7955 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7956 should need to care about that.
7958 * lyxfunc.C (verboseDispatch): simplify a bit
7959 (getStatus): have a version which takes a pseudoaction, and
7960 another which requires a (kb_action,string).
7962 * LyXAction.C (retrieveActionArg): make it work also when action
7963 is not a pseudo-action.
7964 (getActionName): simplify a bit
7967 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7969 * lyxfunc.C (verboseDispatch): new families of methods with
7970 several ways to specify a command and a bool to indicate whether
7971 the command name and shortcut should be displayed in minibuffer
7972 (eventually, we could extend that to a finer bitmask like
7973 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7974 (dispatch): the pristine dispatch command which just, well,
7975 dispatchs! Note it still sets its result to minibuffer; I'm not
7978 * lyxfunc.h: remove setHintMessage
7980 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7982 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7984 * BufferView_pimpl.C (specialChar): delete new inset if we have
7985 not been able to insert it.
7987 * kbmap.C: revert to using int instead of kb_action, since all we
7988 are dealing with is pseudo-actions.
7990 * LyXAction.C (searchActionArg): change to return int instead of
7991 kb_action, since the result is a pseudoaction.
7993 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7995 * buffer.C (insertErtContents): Fix (partially) the font bug.
7997 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7999 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8000 as the other one is broken on my machine!
8002 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8005 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8007 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8009 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8010 reflect their actual use. Provide compatibility code for older lyxrc
8013 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8015 change names of popup font variables in line with the changes to lyxrc.C
8017 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8019 * buffer.C (asciiParagraph): avoid outputing a word twice after
8022 * lyxrc.C (getDescription): document that document_path and
8023 template_path can be empty.
8025 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8027 * LaTeXFeatures.C (getMacros):
8028 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8030 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8032 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8034 (getPackages): rename feature "floats" to "float". Use an array to
8035 iterate over 'simple' features (i.e. just a \usepackage). Add
8036 handling of "amsmath" (renamed from "amsstyle").
8038 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8040 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8043 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8045 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8046 FuncStaus::FuncStatus & FuncStaus::some_method().
8048 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8050 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8051 of the func_satus stuff. Edited and massaged in various ways by
8054 * lyxfunc.C (getStatus): use FuncStatus
8056 2002-01-08 Juergen Vigna <jug@sad.it>
8058 * text.C (nextBreakPoint): use function Inset::isChar().
8060 * paragraph.C (TeXOnePar): use function
8061 Inset::forceDefaultParagraphs.
8063 * buffer.C (latexParagraphs): use function
8064 Inset::forceDefaultParagraphs.
8066 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8068 * lyx_gui.C (init): set the style of the menu popups to
8069 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8071 2002-01-07 Juergen Vigna <jug@sad.it>
8073 * text.C (setHeightOfRow): small fix
8074 (prepareToPrint): don't look at alignment if we don't have the place
8077 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8079 * box.C: New file. Move the Box methods and functions out of box.h,
8080 following Lars' suggestion.
8082 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8084 * box.h: #include "support/LOstream.h", needed for inlined function.
8087 * lyxtextclasslist.C: added some using std declarations.
8089 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8091 * box.h: make signed dimensions to allow insets wider than
8092 the screen (bug #162)
8094 * BufferView_pimpl.C: add some insetHit debug
8096 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8098 * vc-backend.C: add FIXME
8100 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8102 * lyxfunc.C (getStatus): enable code for showing math font status
8105 2002-01-07 Juergen Vigna <jug@sad.it>
8107 * text.C (nextBreakPoint): removed debug output not needed anymore.
8109 2002-01-06 Juergen Vigna <jug@sad.it>
8111 * text.C (nextBreakPoint): fixed up this function we had this bug
8112 since ever but now hopefully we break row better.
8113 (insertChar): we have to check if an inset is the next char as it
8114 could now happen that a large inset is causing a break.
8116 2002-01-05 Juergen Vigna <jug@sad.it>
8118 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8119 if it doesn't like to be drawed.
8121 2002-01-04 Juergen Vigna <jug@sad.it>
8123 * BufferView2.C (lockInset): forgot to set a cursor.
8125 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8127 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8132 * form_maths_panel.C:
8133 * form_maths_panel.h:
8134 * form_maths_panel.fd: implemented sub- and super- buttons in math
8137 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8138 (or ^ space) to be used as in TeX (req'd by André).
8140 * lyxfunc.C: Allow ^ and _ again to be used both as
8141 super/subscript (mathed) and as themselves (in text).
8143 2002-01-03 Allan Rae <rae@lyx.org>
8145 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8146 "LyX" or the filename of the current buffer if it has one. This is a
8147 modified form of John Levon's patch.
8149 * XFormsView.C (setWindowTitle): also set icon title.
8151 * LyXView.h (setWindowTitle): signature changed.
8152 * XFormsView.h (setWindowTitle): ditto.
8154 2002-01-02 Juergen Vigna <jug@sad.it>
8156 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8158 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8160 * screen.C (topCursorVisible): introduce a temp var for
8161 text->cursor.row(), handle the case where this row is null. (kindo
8164 * text2.C (setCursor): add a couple of asserts.
8166 * paragraph.h (inset_iterator): add -> operator
8168 * paragraph.[Ch] (autoDeleteInsets): remove member function
8170 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8171 cursor pos correctly and handle inset deletion by itself.
8172 (insertErrors): move iterator declaration out of for expression
8174 * lyxtextclass.C: add <algorithm>
8176 * Makefile.am: added the new files to sources, removed layout.C
8178 * layout.C: removed file
8180 * layout.h: remove LYX_DUMMY_LAYOUT
8182 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8186 * lyxtextclass.[Ch]:
8187 * lyxtextclasslist.[Ch]: new files
8189 * include order changes to a lot of files, also changes because of
8192 2001-12-27 Juergen Vigna <jug@sad.it>
8194 * buffer.C (asciiParagraph): more fixes.
8196 * tabular.C (ascii): make ascii export support export of only the
8197 data separated by a column-delimiter.
8198 (ascii): better support for ascii export.
8200 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8202 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8204 * tabular_funcs.C: use a "using std::getline" instead of the
8205 previous fix from Angus (necessary for cxx + lyxstring)
8207 2001-12-24 Juergen Vigna <jug@sad.it>
8209 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8211 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8212 problems. First check a minipage also if we have some ert-contents
8213 (not only on par->size(), second set the right depth of the paragraph
8214 on the relink to the root-paragraph-list!
8216 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8217 which then did not anymore update the main paragraphs on undo/redo!
8219 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8221 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8222 code. Support all font-changing funcs (even those which are not in
8223 menu currently). Support for reporting font settings in
8224 mathed (disabled until Andre provides a function on mathed's side).
8226 * func_status.h (toggle): small helper function to set toggle
8229 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8231 * tabular_funcs.C: getline -> std::getline
8233 2001-12-21 Juergen Vigna <jug@sad.it>
8235 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8236 accessed and could be 0 (I couldn't generate this but it seems
8239 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8241 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8242 * tabular_funcs.h: here and include iosfwd
8244 2001-12-20 Juergen Vigna <jug@sad.it>
8246 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8247 inside inset but undo_par was.
8249 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * Thesaurus.C: always include <config.h> in sources.
8255 * box.h: do not include <config.h> in header files
8257 * text.C (paintLastRow): remove unused variable
8259 * text.C (transformChar):
8261 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8264 * font.C (width): rewrite to use uppercase() instead of
8267 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8269 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8271 * lyxfind.C: clean up of find failure position change
8273 2001-12-20 Juergen Vigna <jug@sad.it>
8275 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8277 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8278 (TeXRow): added to LaTeX a single tabular row.
8279 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8280 (Latex): simplified and finally good LT-h/f support.
8281 (various_functions): just small adaptions for LT-h/f support.
8283 * tabular_funcs.[hC]: added and moved here all not classfunctions
8286 2001-12-19 Juergen Vigna <jug@sad.it>
8288 * tabular.[Ch]: better support for longtabular options (not finished
8291 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8293 * text.C (paintLastRow): use the label font instead of the font of
8294 the last character to compute the size of *_BOX. This makes more
8295 sense and avoids a crash with empty paragraphs.
8296 Use Painter::rectangle to draw EMPTY_BOX.
8298 2001-12-19 Juergen Vigna <jug@sad.it>
8300 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8301 the paragraphs if the replaced paragraph is not the first one!
8302 Tried to delete not used paragraphs but does not work yet so for
8303 now it's inside #ifdef's and by default off!
8305 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * MenuBackend.C: include "lyx_main.h" instead of declaring
8308 lastfiles (actually was declared as LastFiles* instead of a
8311 2001-12-17 Juergen Vigna <jug@sad.it>
8313 * tabular.C (AppendColumn): applied John's fix
8315 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8319 * BufferView_pimpl.h:
8320 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8323 * box.h: new start of class for above
8325 * lyxfunc.C: ignore space-only minibuffer dispatches.
8326 Show the command name when it doesn't exist
8328 * minibuffer.C: don't add empty lines to the history
8330 * minibuffer.C: add a space on dropdown completion
8332 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8334 * text.C: fix line above/below drawing in insets
8336 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * lyxlength.C (LyXLength): Initialize private variables.
8340 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8342 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8343 when inserting error insets.
8345 2001-12-13 Juergen Vigna <jug@sad.it>
8347 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8348 actually sometimes the before-paragraph.
8349 (setUndo): don't clear the redostack if we're not actually undoing!
8351 2001-12-06 Juergen Vigna <jug@sad.it>
8353 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8354 and fixed redoing of main paragraph, so we can use it now ;)
8356 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8358 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8360 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8363 2001-12-13 André Pönitz <poenitz@gmx.net>
8366 * undo_func.C: minor cleanup
8368 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8370 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8371 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8372 font in urw-fonts package which is marked as -urw-fontspecific and
8373 does not work (incidentally, changing the encoding in the
8374 fonts.dir of this package to -adobe-fontspecific fixes the
8377 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8378 is a crash when undoing first paragraph (Juergen, please take a
8379 look). THis does not mean the undo fix is wrong, just that it
8382 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8383 the (Paragraph*) version when needed instead of duplicating the
8386 * text.C (workWidth): use Inset::parOwner to find out where the
8387 inset has been inserted. This is a huge performance gain for large
8388 documents with lots of insets. If Inset::parOwner is not set, fall
8389 back on the brute force method
8391 * paragraph_pimpl.C (insertInset):
8392 * paragraph.C (Paragraph):
8393 (cutIntoMinibuffer): set parOwner of insets when
8394 inserting/removing them
8396 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8398 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8404 * mathed/formulabase.C:
8405 * mathed/math_cursor.[Ch]:
8406 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8409 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * lyxlength.[Ch] (operator!=): new function
8413 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8415 * text.C (workWidth): use Inset::parOwner to find out where the
8416 inset has been inserted. This is a huge performance gain for large
8417 documents with lots of insets. If Inset::parOwner is not set, fall
8418 back on the brute force method
8420 * paragraph_pimpl.C (insertInset):
8421 * paragraph.C (Paragraph):
8422 (cutIntoMinibuffer): set parOwner of insets when
8423 inserting/removing them
8425 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8427 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * tabular-old.C (getTokenValue):
8430 * tabular.C (getTokenValue):
8431 (write_attribute): new versions for LyXLength
8432 (everywhere): adjust the use of widths
8434 * tabular.h: change the type of widths from string to LyXLength
8436 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8438 * paragraph.C: fixed missing line number count when exporting
8439 Environments to LaTeX file
8441 * buffer.C: added informational message for checking line numbers.
8443 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8446 paragraph, do the 'double space' part, but not the 'empty
8449 * text.C (workWidth): small optimization
8450 (getLengthMarkerHeight): use minimal size for negative lengths.
8452 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8454 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8456 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8458 2001-12-11 André Pönitz <poenitz@gmx.net>
8461 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8463 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8465 * text2.C: keep selection on a setFont()
8467 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8469 * lyx_cb.C: another bv->text misuse, from insert label
8471 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8474 * kbsequence.C: re-instate nmodifier mask
8476 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8478 * lyx_main.h: make lyxGUI private.
8480 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8482 * lyxfind.C: place the cursor correctly on failed search
8484 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * text.C (getLengthMarkerHeight): for small heights, the arrows
8487 are not always on top/bottom of the text
8488 (drawLengthMarker): smaller arrows; take the left margin in
8489 account; draw also vfills.
8491 (paintLastRow): remove special code for vfill and standard spaces,
8492 since everything is handled in drawLengthMarker now.
8494 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * buffer.C (insertErtContents): try to handle font and language
8497 interaction a bit better.g
8499 * ColorHandler.C (updateColor): change the hash to cover the whole
8500 LColor enum, ws cleanup
8501 (getGCLinepars): ditto
8502 (getGCLinepars): only lookup in the linecache once.
8504 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8506 * iterators.C (operator++): Make the iterator more robust
8508 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8510 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8512 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8515 * text.C: better added space drawing
8517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8520 * BufferView2.C: fix layout combo update on inset unlock
8522 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8524 * Makefile.am: don't compile unused files
8526 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8530 * LyXAction.C: remove old LFUN_LAYOUTNO
8532 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8534 * paragraph_pimpl.h:
8535 * paragraph_pimpl.C: isTextAt() doesn't need font param
8537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8540 * lyxlex.C: little cleanup
8542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8544 * BufferView_pimpl.C: fix insertAscii for insets
8546 2001-12-05 Juergen Vigna <jug@sad.it>
8548 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8549 set the right font on the "multi" paragraph paste!
8551 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8557 * lyxlength.C: remove out-commented code.
8573 * vc-backend.C: change "while(" to "while ("
8575 * lyxlength.[Ch]: add zero function to check if length is zero or
8577 * lyxgluelength.C: use it
8579 2001-12-05 Allan Rae <rae@lyx.org>
8581 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8582 Works for 2.95.3, from what I understand of Garst's reports this should
8583 work for other g++ versions. We're screwed if the abs(int) definition
8584 changed between bugfix releases of gcc.
8586 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8588 * text.C: fix chapter label offset !
8590 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8593 * text.C: fix hfill at end of line, clean up
8595 2001-12-04 Juergen Vigna <jug@sad.it>
8597 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8598 that we force an update of the inset and it's owners if neccessary.
8600 2001-12-03 Juergen Vigna <jug@sad.it>
8602 * text.C (rowLast): simplified code
8604 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8606 * lyxfunc.C: fix show options on timeout
8608 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8610 * screen.C (topCursorVisible): scroll half a page when the cursor
8611 reached top of bottom of screen
8613 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8615 * minibuffer.C: deactivate on loss of focus
8617 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * vspace.[Ch] (operator!=): add operator.
8621 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8623 * BufferView_pimpl.C: refuse to open an inset when
8624 there's a selection.
8626 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8628 * BufferView_pimpl.C: allow to click on RHS of full row insets
8630 2001-11-30 Juergen Vigna <jug@sad.it>
8632 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8633 insets for undo reasons.
8635 2001-11-28 André Pönitz <poenitz@gmx.net>
8637 * vspace.[Ch]: cosmetical changes
8639 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8649 * kbsequence.C: part re-write of old kb code
8652 * WorkArea.C: remove Lgb_bug_find_hack
8654 2001-11-30 José Matos <jamatos@fep.up.pt>
8656 * buffer.C (makeDocBookFile): add a comment to point a hack.
8657 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8658 Fixed a double write of labels.
8660 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8663 * LaTeX.h Fixed bug in LaTeX class where it would not
8664 re-run latex if no depfiles were changed, but the .dvi was removed.
8666 2001-11-28 André Pönitz <poenitz@gmx.net>
8668 * all the files from the change on 2001/11/26:
8669 use lyx::layout_type instead of LyXTextClass::size_type
8670 use lyx::textclass_type instead of LyXTextClassList::size_type
8672 2001-11-29 Juergen Vigna <jug@sad.it>
8674 * text.C: added support for paragraph::isFreeSpacing()
8676 * buffer.C: same as above
8678 * paragraph.h: inserted isFreeSpacing() function to enable
8679 FreeSpacing inside InsetERT.
8681 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8682 of the paragraph's in the cut/copy buffer to 0!
8684 * text2.C (removeRow): remove the assert as it can!
8686 * lyxtext.h: added helper function firstRow returning firstrow and
8687 made firstrow private again.
8689 * BufferView2.C (lockInset): don't relock if we're already locked!
8691 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8693 (removeRow): added Assert::(firstrow)
8695 * debug.C: forgot to add INSETTEXT here.
8697 2001-11-28 Juergen Vigna <jug@sad.it>
8699 * sp_spell.C (initialize): changed error text to more general
8700 spellchecker command use (not only ispell!)
8702 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8704 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8706 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8708 * vspace.C: initialise lyxgluelength on failure
8710 2001-11-28 Allan Rae <rae@lyx.org>
8712 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8713 declaration & definition that looks like a function declaration.
8715 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8717 * BufferView2.C (copy):
8718 (copyEnvironment): do not clear the selection when doing a copy.
8720 * text.C (paintFirstRow): compilation fix
8722 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8724 * tabular.C (Latex): correct line count when writing latex.
8726 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8728 * paragraph_pimpl.h:
8729 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8732 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8736 * LColor.C: change vfillline->added_space
8738 * text.C: add markers and text for added space
8740 * vspace.C: fix comment
8742 2001-11-28 André Pönitz <poenitz@gmx.net>
8744 * paragraph.C: whitespace changes
8745 * all the other files from the change on 2001/11/26:
8746 change *::pos_type into lyx::pos_type
8748 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8750 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8751 language of the document when inserting error insets.
8753 2001-11-26 André Pönitz <poenitz@gmx.net>
8755 * BufferView_pimpl.[Ch]:
8763 * paragraph_pimpl.[Ch]:
8766 * text2.C: reduce header dependencies, introduce type for positions
8768 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8770 * <various>: change to use Alert.h
8772 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8774 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8775 when encountering an unknown token.
8776 (readLyXformat2): Show an error message if there were unknown tokens.
8778 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8781 * BufferView_pimpl.C:
8785 * text2.C: use par->isInset()
8787 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8789 * paragraph_pimpl.h:
8790 * paragraph_pimpl.C: cleanup
8792 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8794 * text2.C (removeRow):
8795 * text.C (setHeightOfRow): remove useless (and costly) call to
8798 2001-11-20 Allan Rae <rae@lyx.org>
8800 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8801 Now need Inset*::checkInsertChar() to return true for appropriate
8802 cases so that the characters in the minibuffer will actually be
8805 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * text.C: change the order of the includes.
8808 (workWidth): initialize it at once.
8809 (workWidth): make maxw unsigned
8810 (setHeightOfRow): remove unused variable (inset)
8811 (selectSelectedWord): remove unused variable (inset)
8812 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8814 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8816 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8817 server is not running.
8819 (closeConnection): add debug info when server is disabled.
8821 * ColorHandler.C (getGCForeground): send debug message to GUI
8824 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8826 * kbmap.C (bind): modify because return conventions of
8827 kb_sequence::parse have changed.
8829 * kbsequence.C (parse): only ignore spaces and not any stupid
8830 control character. This avoids tests like s[i] <= ' ', which are
8831 guaranteed to fail with 8bit characters and signed chars.
8832 Change return code to string::npos when there have been no error
8833 (0 was a bad idea when error is at first character)
8835 2001-11-14 José Matos <jamatos@fep.up.pt>
8838 * buffer.C (simpleDocBookOnePar): removed unused argument.
8840 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8842 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8843 insets which are part of a word. Paragraph::isLetter takes care of
8844 that now. Use Paragraph::isInset to identify insets.
8845 (selectSelectedWord): do not test for hyphenation break.
8847 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8848 that protected spaces are considered as spaces.
8850 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8853 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8856 * lyxserver.C: fix it. and small cleanup.
8858 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8860 * BufferView_pimpl.C: use inline helpers
8863 * LaTeXFeatures.C: fix typos
8866 * Spacing.C: move spacing_string into class
8868 * ToolbarDefaults.C: move stuff into namespace anon
8870 * layout.h: update enum
8872 * lyxfunc.C: use better debug
8874 * minibuffer.h: fix typo
8878 * WorkArea.C: add and use Debug::WORKAREA
8882 * text2.C: code re-organisation, inline helpers
8884 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8886 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8887 std::vector.empty().
8889 2001-11-09 Allan Rae <rae@lyx.org>
8891 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8892 '\n's after tables. Tabular and ERT inset work now makes this no
8895 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8898 * minibuffer.C: fix crash, improve drop-down completion
8900 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8903 * lyxserver.C: invalidate fd's when doing endPipe()
8905 2001-11-08 José Matos <jamatos@fep.up.pt>
8907 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8908 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8911 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8913 2001-11-07 José Matos <jamatos@fep.up.pt>
8916 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8919 * buffer.C (sgmlOpenTag):
8920 * buffer.C (sgmlCloseTag): removed debug info.
8922 * buffer.h (sgmlOpenTag):
8923 * buffer.h (sgmlCloseTag): made public.
8925 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8927 * buffer.C (saveParamsAsDefaults):
8928 * lyx_cb.C (MenuLayoutSave): remove
8930 * LyXAction.C (init):
8932 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8934 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8936 * buffer.C (setPaperStuff): removed from here...
8938 * bufferparams.C (setPaperStuff): ... and moved there.
8940 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8944 * XFormsView.C: add support for drop-down completion
8946 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8948 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8951 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8953 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8956 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8958 * lyx_main.C: change ref to known bugs
8960 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8962 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8963 to work around older babel problems.
8965 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8967 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8969 2001-10-24 Juergen Vigna <jug@sad.it>
8971 * tabular-old.C (ReadOld): below variable changes reflected.
8973 * tabular.[Ch]: added ltType struct for longtable header/footer
8974 defines and changed all instances where they are used. Added
8975 future support for double top/bottom rows.
8977 2001-10-24 José Matos <jamatos@fep.up.pt>
8979 * buffer.h (docbookHandleCaption):
8980 * buffer.C (docbookHandleCaption): removed unused function.
8981 (makeDocBookFile): moved docbook supported version to v4.1.
8983 2001-10-24 José Matos <jamatos@fep.up.pt>
8986 * tabular.C (docbookRow): new function to export docbook code of a row.
8987 (DocBook): now honors the longtable flags.
8989 2001-10-23 José Matos <jamatos@fep.up.pt>
8992 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8993 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8995 * buffer.C (makeLinuxDocFile):
8996 (makeDocBookFile): reworked the preamble, more clean, and with
8997 support for lyx defined entities. Changed the document declaration
8998 to be more XML friendly.
9000 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9001 if we need to output XML that should be done with a filter.
9003 2001-10-22 Juergen Vigna <jug@sad.it>
9005 * sp_pspell.h (class PSpell): add alive function needed in the
9006 controller to see if the spellchecker could be started.
9008 2001-10-22 Juergen Vigna <jug@sad.it>
9010 * buffer.C (insertStringAsLines): modify the font for inserting
9011 chars in certain conditions by calling checkInsertChar(font).
9013 2001-10-19 Juergen Vigna <jug@sad.it>
9015 * text.C (workWidth): use getRow instead of wrong algorithm.
9016 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9018 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9023 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9025 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9027 * text.C (workWidth): do not search for the exact row when
9028 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9029 optimization for big documents.
9031 2001-10-18 Juergen Vigna <jug@sad.it>
9033 * text.C (workWidth): new function with added Inset * parameter.
9035 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9037 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9039 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9040 change return type of getColumnNearX.
9043 * text.C (changeRegionCase): use uppercase/lowercase instead of
9046 (rightMargin): simplify code by factoring out the uses of
9051 (appendParagraph): use Paragraph::size_type
9053 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9055 * vspace.C (asLatexString): add a missing break
9057 2001-10-15 Herbert Voss <voss@perce.de>
9059 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9061 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9063 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9066 2001-10-10 André Pönitz <poenitz@gmx.net>
9068 * lyxfunc.C: removed greek_kb_flag.
9070 2001-10-10 Herbert Voss <voss@perce.de>
9072 * lyx_main.C: delete global string help_lyxdir.
9074 2001-10-09 Herbert Voss <voss@perce.de>
9076 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9078 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9080 * lyx_main.C: added global string help_lyxdir.
9082 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9084 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9086 * lyxrc.C (set_font_norm_type): support iso8859-4
9088 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9090 * LaTeX.C (deplog): add another regex for MikTeX
9092 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9094 * lyxrc.C (set_font_norm_type): support iso8859-3
9096 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9098 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9100 * LaTeXFeatures.C: remove special case of french and index
9102 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9103 before \begin{document}). This solves several incompatibilities.
9105 2001-10-03 Garst Reese <reese@isn.net>
9107 * lyx_cb.C: change CheckTex error msg.
9109 2001-10-03 José Matos <jamatos@fep.up.pt>
9111 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9113 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9115 * .cvsignore: update
9117 * lyx_main.C (commandLineVersionInfo): use new style version info.
9119 * buffer.C (writeFile):
9122 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9124 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9126 * version.h: update to use stuff in version.C
9128 * version.C.in: new file. Contains version information determined
9129 at compile time. This is a merging of version.h and
9132 2001-10-03 Juergen Vigna <jug@sad.it>
9134 * BufferView_pimpl.C (update): don't change "dirty" status in
9137 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9139 * WorkArea.C (c-tor): re-position version string slightly.
9141 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9143 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9144 revert to previous code.
9146 WorkArea.[Ch]: (show, destroySplash): methods removed.
9148 WorkArea.C: rework code so that it's an amalgam of the codes before and
9149 after the splash screen was moved to WorkArea.
9151 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9154 * vspace.C (inPixels):
9157 * buffer.C (insertStringAsLines):
9158 (asciiParagraph): fix types to be large enough
9160 * lyxlex_pimpl.h: change member status from short to int
9162 * layout.h: fix type of endlabeltype
9165 * kbsequence.C (parse): change return type to string::size_type
9167 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9170 * Bullet.C (bulletSize):
9171 (bulletEntry): do not use short ints as parameters
9173 * BufferView2.C (insertLyXFile): change a char to an int.
9175 * WorkArea.C (WorkArea): remove unneeded floats in computation
9177 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9179 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9181 * paragraph.C (asString): Do not ignore newline/hfill chars when
9182 copying to the clipboard.
9184 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9186 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9187 after a multi-line inset.
9189 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9191 * paragraph.C (validate): Set NeedLyXFootnoteCode
9193 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9195 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9196 and decrease-error to decrease.
9198 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9201 it more readable (should be equivalent)
9203 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9205 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9207 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9209 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9210 of a cursor (row, etc.) after a character has been deleted
9211 (deleteEmptyParagraphMechanism): call the method above on _all_
9212 cursors held by the LyXText when a double space has been
9215 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9217 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9219 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9221 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9222 background. Use greyOut() and the new show() methods to toggle between
9223 the foreground and background. Add code to remove the splash after
9224 its initial showing.
9226 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9227 (create_forms): no longer call Dialogs::showSplash.
9229 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9231 * .cvsignore: add version_info.h
9233 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9235 * version_info.h.in: new file
9237 * Makefile.am: add version_info.h.in
9239 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9240 version_info.h instead of VERSION_INFO
9242 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9244 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9245 The ERT inset now returns string().
9247 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9249 * lyxtext.h, text.C (selectNextWord): renamed as
9250 selectNextWordToSpellcheck.
9252 * text.C (selectNextWordToSpellcheck): Modified to not select
9253 words inside an ERT inset.
9255 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9257 * lyx_cb.C (MenuLayoutSave): change a bit the question
9259 * sp_base.h: include <sys/types.h>
9261 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9263 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9265 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9267 * several files: fix typos in user-visible strings
9269 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * text2.C (pasteSelection): do not set the selection, since it
9272 will be cleared later. Actually, the intent was to fix the way the
9273 selection was set, but I figured rmoving the code was just as good.
9275 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9277 * FontLoader.C (available): Check if font is available without
9280 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9282 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9284 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9286 * lyxrc.[Ch]: added display_graphics variable and associated code.
9288 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9290 * bufferparams.C (hasClassDefaults): new method. Returns true if
9291 the buffer parameters correspond to known class defaults
9293 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9295 * XFormsView.C (show): set minimum size to the main window.
9297 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * text2.C (copySelection):
9301 * lyxfind.C (LyXReplace):
9302 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9303 LyXText::selectionAsString.
9305 * paragraph.C (asString): add "label" argument to the second form
9307 * text2.C (selectionAsString): add "label" argument and pass it to
9308 Paragraph::asString.
9310 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * lyx_main.C (commandLineHelp): remove version information
9314 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9316 * lyx_main.C: add -version commandline option
9318 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9320 * paragraph.h: make the optional constructor arg required instead.
9321 some modifications to other files because of this.
9323 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9325 * lyxserver.C (C_LyXComm_callback): make it static
9327 * lyx_main.C (error_handler): make it static
9329 * lyx_gui.C (LyX_XErrHandler): make it static
9331 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9333 * WorkArea.C: make the extern "C" methods static.
9335 * Makefile.am (lyx_LDADD): simplify
9337 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9339 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9340 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9342 * LyXAction.C (init):
9343 * lyxfunc.C (dispatch): associated code removal.
9345 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9347 * lyxfont.h (isSymbolFont): shut off warning
9349 * text.C (setHeightOfRow):
9350 (getVisibleRow): fix crash with empty paragraphs which have a
9353 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9355 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9358 2001-09-04 José Matos <jamatos@fep.up.pt>
9361 * tabular.C (docbook): rename docBook method to docbook.
9363 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9365 * Makefile.am: add dependencies to main.o.
9367 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9369 * FontLoader.C (available): Return false if !lyxrc.use_gui
9371 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9373 * FontInfo.C (query):
9374 * converter.C (view):
9375 * importer.C (Import):
9376 * exporter.C (Export): Can not -> cannot.
9378 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9380 * BufferView_pimpl.C: allow to create index inset even if
9383 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9385 * buffer.C (getLists): replace boost::tie code with an explicit pair
9386 as boost::tie can break some compilers.
9388 * iterators.h: Added a std:: declaration to the return type of
9391 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9393 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9396 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9398 * iterators.[Ch]: New files. Provide paragraph iterators.
9400 * buffer.C (changeLanguage): Use paragraph iterators.
9401 (isMultiLingual): ditto
9403 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9405 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9407 * FontLoader.C: Support for cmr font.
9409 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9411 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9412 (available): New method.
9414 * FontInfo.C (getFontname): Use scalable fonts even when
9415 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9418 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9420 * converter.C (Formats::view): reverted! Incorrect fix.
9422 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9424 * converter.C (Formats::view): only output the -paper option
9425 if the dvi viewer is xdvi, thereby fixing bug #233429.
9427 2001-08-23 Herbert Voss <voss@perce>
9429 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9431 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9433 * Spacing.h (Spacing): Set space to Default on in the default
9436 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * vc-backend.h (RCS::versionString): add RCS to version
9439 (CVS::versionString): add CVS to version
9441 * vc-backend.C (scanMaster): do not add CVS to version.
9442 (scanMaster): do not add RCS to version
9444 * lyxvc.C (versionString): new method
9446 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9448 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * Spacing.C (set): initialize fval
9452 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9454 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9457 2001-08-16 Juergen Vigna <jug@sad.it>
9459 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9461 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9463 * BufferView_pimpl.C:
9466 * text2.C: setParagraph takes linespacing now
9468 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9470 * LyxAction.C: add internal LFUN_CITATION_INSERT
9472 * LyXView.C: actually apply fix
9474 * bufferlist.C: fix open non-existent file
9476 * lyxfind.C: fix indentation
9478 * lyxfunc.C: remove unneeded assert, fix typo
9480 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9482 * MenuBackend.C: use "Floatname List"
9484 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9486 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9487 when converting LaTeX layout to insetERT.
9488 Generate a non-collapsed float when reading old float
9490 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9492 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9495 2001-08-13 Juergen Vigna <jug@sad.it>
9497 * text.C (fill): return 0 instead of 20 as this seems to be the more
9500 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9502 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9505 2001-08-13 Juergen Vigna <jug@sad.it>
9507 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9509 (SearchBackward): comment out the unlocking of the inset_owner this
9510 should not be needed!
9512 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9514 * Many files: Remove inherit_language, and add latex_language
9516 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9519 2001-08-10 Juergen Vigna <jug@sad.it>
9521 * text.C (prepareToPrint): fixed hfill-width in draw!
9523 * BufferView2.C (selectLastWord): save the selection cursor as this
9524 now is cleared in the function LyXText::clearSelection!
9526 2001-08-08 Juergen Vigna <jug@sad.it>
9528 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9529 BACKSPACE type functions.
9531 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9532 is only cutted from the document but not put in the cut-buffer, where
9533 still the old stuff should be.
9535 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9537 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9539 * tabular.C (SetWidthOfCell): fixed special case where the width
9541 (LeftLine): handle '|' in align_special.
9543 (LeftAlreadyDrawed): ditto
9544 (SetWidthOfCell): ditto
9546 2001-08-07 Juergen Vigna <jug@sad.it>
9548 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9550 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9552 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9553 * lyxlex.[hC]: ditto
9555 2001-08-06 Juergen Vigna <jug@sad.it>
9557 * text.C (getVisibleRow): fix up row clearing a bit.
9559 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * minibuffer.C: make sure the X server sees the changes in the input.
9563 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * paragraph.C (getFont): split into...
9566 (getLabelFont): this
9567 (getLayoutFont): and this
9568 * paragraph_pimpl.C (realizeFont): calling this
9570 * text2.C (getFont): split into...
9571 (getLayoutFont): this
9572 (getLabelFont): and this
9573 (realizeFont): all three calling this
9575 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9578 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9580 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9582 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9584 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9585 layouts from the Quote inset insertion.
9587 2001-08-03 Juergen Vigna <jug@sad.it>
9589 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9591 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9592 only if status not is already CHANGED_IN_DRAW (second level).
9594 * text.C (draw): don't set the need_break_row when inside an
9597 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9599 * buffer.C (parseSingleLyXformat2Token): handle more latex
9602 * bufferview_funcs.[hC]: change function names to
9603 begin with small char, adjust other files.
9605 2001-08-02 André Pönitz <poenitz@gmx.net>
9608 BufferView_pimpl.C: remove broken special code for math-greek
9610 2001-08-02 Juergen Vigna <jug@sad.it>
9612 * BufferView_pimpl.C (update): redone this function so that we
9613 update the text again if there was a CHANGE_IN_DRAW.
9615 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9616 (drawFromTo): added a new internal bool which is used by draw() and
9618 (general): some cursor drawing problems fixed.
9620 2001-08-01 Juergen Vigna <jug@sad.it>
9622 * lyxfind.C (LyXFind): fixed
9623 (SearchForward): ditto
9624 (SearchBackward): ditto
9626 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9627 spurius drawing of the cursor in the main area.
9629 * text2.C (status): small fix which could lead to a segfault!
9630 (clearSelection): remove unneeded BufferView param.
9632 2001-08-01 André Pönitz <poenitz@gmx.net>
9634 * lyxfunc.C: small change due to changed mathed interface
9636 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9638 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9640 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9642 * lyxfunc.c: fail gracefully if file doesn't exist
9647 * BufferView_pimpl.C: IsDirWriteable() proto changed
9649 * LyXView.C: fix updateWindowTitle() to store the last title
9651 2001-07-31 Juergen Vigna <jug@sad.it>
9653 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9654 the font (wrong since using of Paragraph::highestFontInRange).
9656 * paragraph.C (highestFontInRange): added a default_size parameter.
9658 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9659 (setHeightOfRow): reformat
9661 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * converter.[hC] + affected files: move to (inital-char)lowercase
9666 * ParagraphParameters.C (ParagraphParameters): remove commented code
9668 * PainterBase.[Ch]: remove commented code
9670 * LaTeXFeatures.h: add "bool floats" for float.sty
9672 * LaTeXFeatures.C (LaTeXFeatures): init floats
9673 (require): handle float
9674 (getPackages): do it with floats
9676 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * BufferView_pimpl.C (Dispatch): improve handling of
9679 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9681 * commandtags.h: #include lyxfont.h here temporarily to avoid
9684 * bufferlist.h: include LString.h here.
9686 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9688 * text2.C (getStringToIndex): new method.
9690 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9692 * *: Reduced header file dependencies all over.
9694 2001-07-30 Baruch Even <baruch@lyx.org>
9696 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9698 2001-07-29 Baruch Even <baruch@lyx.org>
9700 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9702 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * ParameterStruct.h (endif): add a default constructor to make
9705 sure that all variables is initialized.
9707 * ParagraphParameters.C (ParagraphParameters): adjust
9709 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9711 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9712 index; also, check that there is something to index, and that it
9713 does not span over several paragraphs.
9714 (doubleClick): use WHOLE_WORD_STRICT for double click.
9716 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9718 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9721 2001-07-26 Baruch Even <baruch@lyx.org>
9723 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9724 an InsetFig figure, backwards compatible reading of old figure code.
9726 2001-07-27 Juergen Vigna <jug@sad.it>
9728 * text2.C: font.realize function adaption.
9730 * text.C (draw): add a warnings lyxerr text if needed.
9732 * layout.C: font.realize function adaption.
9734 * language.C: add inherit_language and implement it's handlings
9736 * bufferview_funcs.C (StyleReset): remove language parameter from
9737 font creation (should be language_inherit now).
9739 * bufferparams.C (writeFile): handle ignore_language.
9741 * paragraph.C (getFontSettings): the language has to be resolved
9742 otherwise we have problems in LyXFont!
9744 * lyxfont.C (lyxWriteChanges): added document_language parameter
9745 (update): removed unneeded language parameter
9747 * paragraph.C (validate): fixed wrong output of color-package when
9748 using interface colors for certain fonts in certain environments,
9749 which should not seen as that on the final output.
9751 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9753 * BufferView_pimpl.C:
9758 * LyXAction.C: add thesaurus support
9761 * lyxfind.C: add "once" parameter, for thesaurus, to not
9762 move to the next match
9764 2001-07-26 Juergen Vigna <jug@sad.it>
9766 * lyxfont.C (realize): honor ignore_language too!
9769 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9771 * text.C (draw): one place more for ignore_language to not draw
9774 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9776 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9778 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9780 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9781 the minipage conversion problem.
9783 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9788 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9790 * BufferView.h: don't forward declare WorkArea
9792 * BufferView.C: don't include WorkArea.h
9794 2001-07-25 André Pönitz <poenitz@gmx.net>
9798 * lyxfunc.C: new LFUN 'math-space'
9800 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9802 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * text2.C (toggleInset): call open/close
9806 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9808 * lyxfunc.C (dispatch): add debug for the disabled case
9810 * font.C (buttonText): make similar to rectText
9812 * buffer.C (readInset): comment out parsing of insetlist and
9815 * PainterBase.C (rectText): small correction
9817 * BufferView_pimpl.C: comment out insettheorem and insetlist
9818 * LyXAction.C: ditto
9819 * commandtags.h: ditto
9821 2001-07-24 Juergen Vigna <jug@sad.it>
9823 * text.C (draw): honor the ignore_language.
9825 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9827 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9832 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9834 * lyxtext.h: remove unused (and unimplemented) methods
9836 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9838 * text.C (getVisibleRow): honor background color
9841 * Painter.h: remove default color argument for fillRectangle
9843 * text.C (backgroundColor): new method
9845 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * text.C (getVisibleRow): adjust
9849 * font.[Ch] (rectText): new method, metrics
9850 (buttonText): new method, metrics
9852 * PainterBase.[hC]: make rectText and buttonText always draw and take
9855 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9857 * ToolbarDefaults.C (read):
9858 * MenuBackend.C (read): allow escaping in all strings
9860 * BufferView_pimpl.C (insertAndEditInset): new method.
9861 (Dispatch): use insertAndEditInset whenever appropriate.
9863 * BufferView_pimpl.C (insertNote): removed
9865 * BufferView_pimpl.C (smartQuote): new method, moved from
9866 BufferView; if an insetquote cannot be inserted, insert a '"'
9869 * BufferView2.C: remove insertCorrectQuote();
9871 * lyxfunc.C (getStatus): Add support for all remaingin
9874 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9876 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9877 command (necessary to pass " as parameter of self-insert.
9879 * text.C (selectWordWhenUnderCursor):
9880 (selectWord): add word_location parameter
9881 (selectWordWhenUnderCursor): same + remove special code for word
9883 (selectNextWord): use kind() to guess type of insetspecialchar,
9886 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9887 (insertErtContents): create ert insets as collapsed.
9888 (readInset): better compatibility code for Info inset.
9890 2001-07-20 Juergen Vigna <jug@sad.it>
9892 * lyxfunc.C (dispatch): use always LyXFind now!
9894 * text2.C (init): add a reinit flag so that the LyXText can be
9895 reinited instead of deleted and reallocated (used in InsetText).
9897 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9903 2001-07-18 Juergen Vigna <jug@sad.it>
9905 * text.C (selectNextWord): handle insets inside inset by calling
9906 always the bv->text functions so that we can go up the_locking_inset!
9908 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9909 in strange locations when inside an inset!
9911 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9912 handling to include insets.
9914 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9916 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * LyXAction.C (init):
9920 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9921 LIGATURE_BREAK, since the name is so stupid.
9923 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9925 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9928 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9930 * sp_form.[Ch]: remove.
9932 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9934 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9937 * src/buffer.C (readInset): ditto.
9939 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9941 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9942 menuSeparator(), endOfSentenceDot(), ldots() and
9943 hyphenationPoint(), which are therefore removed.
9944 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9946 * LyXAction.C (init):
9947 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9949 * paragraph.C (getWord): removed.
9951 * BufferView_pimpl.C (Dispatch): use last word or selection for
9952 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9954 * lyx_main.C (queryUserLyXDir): do not ask before creating
9955 user_dir, except if it has been named explicitely.
9957 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9959 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9960 a document of zero size.
9962 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9964 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9965 approriately in the c-tor and in require().
9966 (getPackages): output the appropriate LaTeX for natbib support.
9968 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9969 variables "use_natbib" and "use_numerical_citations" when reading the
9971 (readInset): read the various natbib cite commands.
9972 (validate): white-space change.
9974 * bufferparams.[Ch]: new variables "bool use_natbib" and
9975 "bool use_numerical_citations".
9976 (writeFile): output them in the LyX file.
9978 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9980 * lyxfunc.C (getStatus): add support for all the inset insertion
9983 * text2.C (insertInset):
9984 * paragraph.C (insetAllowed):
9985 * BufferView_pimpl.C (insertInset): update to take in account the
9986 renaming of insertInsetAllowed
9988 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9990 * text2.C (getInset): new method. returns inset at cursor position.
9992 * BufferView_pimpl.C (Dispatch): changes because of this.
9994 * LyXAction.C (init): rename open-stuff to inset-toggle.
9996 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9998 * text2.C (toggleInset): renamed from openStuff; use
10001 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10003 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10005 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10007 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10009 * buffer.C (readLyXformat2): Add filename to the error dialog
10011 2001-07-18 Juergen Vigna <jug@sad.it>
10013 * tabular.C (GetCellNumber): put an assert here instead of the check!
10015 2001-07-17 Juergen Vigna <jug@sad.it>
10017 * BufferView_pimpl.C (toggleSelection): adapted too.
10019 * text.C (selectNextWord): adapted for use with insets.
10020 (selectSelectedWord): ditto
10022 2001-07-17 Juergen Vigna <jug@sad.it>
10024 * sp_spell.C (PSpell): fix initialitation order.
10026 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * paragraph.C: spacing
10030 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10032 * sp_spell.C: repair language selection for pspell
10034 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * lyxfunc.h: change more methods to begin with lower char.
10038 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10040 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10041 for unknown layouts.
10043 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10045 * buffer.C (readLyXformat2): Generate an error dialog if there are
10048 2001-07-16 Juergen Vigna <jug@sad.it>
10050 * sp_spell.C: always compile ISpell part.
10052 * lyxrc.C: added use_pspell entry and it's handling.
10054 2001-07-13 Juergen Vigna <jug@sad.it>
10056 * sp_spell.C: removed double includes.
10058 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10060 Consistent use of Lsstream.h:
10061 * Lsstream.h: added using std::stringstream for consistencies sake.
10063 * buffer.C: removed using std::stringstream
10065 * lyxfont.C (stateText):
10066 * paragraph.C (asString):
10067 * text.C (selectNextWord, selectSelectedWord):
10068 * text2.C (setCounter):
10069 * vspace.C (asString, asLatexString):
10070 std::ostringstream -> ostringstream.
10072 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10074 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10075 * commandtags.h: add LFUN_HELP_ABOUTLYX
10076 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10078 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10080 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10082 * lyx_gui_misc.C: remove spellchecker
10083 * lyxfunc.C: showSpellchecker
10085 * sp_ispell.h: added
10086 * sp_pspell.h: added
10087 * sp_spell.C: added
10088 * sp_form.[Ch]: removed
10089 * spellchecker.[Ch]: removed
10091 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10093 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10095 (simpleTeXSpecialChars): Simply print the input character without
10096 any special translation if pass_thru is set.
10098 * layout.h: Added bool pass_thru to layout class for being able to
10099 implement pass through of a paragraph for Literate Programming.
10101 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10102 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10103 * layout.C (Read): add "passthru" to list of layout tags and add
10104 code to set the pass_thru boolean when it is read.
10106 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * trans_decl.h: remove allowed from KmodInfo
10110 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10111 remove allowed code
10114 * paragraph_pimpl.C (erase): use boost::prior
10116 * Painter.C (text): use data() instead of c_str() when length is
10118 * WorkArea.C (putClipboard): ditto
10119 * font.h (width): ditto
10121 * BufferView2.C: use it-> instead of (*it). for iterators
10123 * paragraph_pimpl.C: ditto
10124 * paragraph.C: ditto
10125 * minibuffer.C: ditto
10126 * language.C: ditto
10128 * encoding.C: ditto
10129 * counters.C: ditto
10130 * converter.C: ditto
10132 * Variables.C: ditto
10133 * TextCache.C: ditto
10134 * MenuBackend.C: ditto
10135 * LyXAction.C: ditto
10137 * FloatList.C: ditto
10138 * DepTable.C: ditto
10139 * ColorHandler.C (LyXColorHandler): ditto
10141 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10143 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10145 * text2.C (openStuff): reintroduce this method (which had been
10146 nuked in NEW_INSETS frenzy).
10148 * lyxfunc.C (Dispatch): when an action has not been handled, use
10149 its name in the error message, not its number.
10151 * paragraph.C (inInset): change method name to begin with lowercase.
10154 * text2.C: updates because of this.
10156 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10158 * ToolbarDefaults.C (add): add spaces in error message
10160 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10162 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10163 (readLyXformat2): rename return_par to first_par, use lyxlex's
10164 pushToken and remove the manual push handling.
10165 (parseSingleLyXformat2Token): add another ert comp. variable:
10166 in_tabular, rename return_par to first_par. handle newlines better
10168 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10170 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10172 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * text2.C (getParFromID): removed
10176 * buffer.C (getParFromID): new method moved form lyxtext.
10177 * BufferView2.C (insertErrors): adjust
10178 (setCursorFromRow): adjust
10179 * BufferView_pimpl.C (restorePosition): adjust
10180 * lyxfunc.C (Dispatch): adjust
10181 * undo_funcs.C (textUndo): adjust
10183 (textHandleUndo): adjust
10184 (textHandleUndo): adjust
10186 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * buffer.C: up' the LYX_FORMAT
10190 * lyxfont.h: turn NO_LATEX on as default
10192 * buffer.C (insertErtContents): new methods of tex style compability.
10193 (parseSingleLyXformat2Token): use it several places.
10194 * tabular.C (OldFormatRead): and here
10196 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10198 * text2.C: remove some commented code.
10201 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10202 * trans.C: changes because of the above.
10204 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10206 * text2.C (setCounter): Fix counters bug with bibliography layout.
10208 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10211 own member functions
10212 (simpleTeXSpecialChars): ditto
10214 2001-07-06 Juergen Vigna <jug@sad.it>
10216 * a lot of files: changed the access to LyXText::status and the
10217 call of undo-functions.
10219 * undo.[Ch]: added a inset_id to the undo informations.
10221 * undo_funcs.[Ch]: added and moved here all undo functions.
10223 * lyxtext.h: give the status enum a weight, made status_ a private
10224 variable and made accessor functions for it, removed the whole bunch
10225 of undo-functions as they are now in their own file, make some
10226 functions publically available. Added function ownerParagraph with
10229 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10230 made InInset() a const function, added getParFromID() function.
10232 * buffer.[Ch]: added const version for inset_iterator functions,
10233 added getInsetFromID() function.
10235 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10236 changed undo functions for new version.
10238 2001-07-05 Juergen Vigna <jug@sad.it>
10240 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10241 unknow mechanism does not call the proper constructor but only this
10242 one also if I request the other!?
10244 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10246 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10248 * text2.C (LyXText): use initialization lists.
10250 * lyxtext.h (Selection): initialize set_ and mark_
10251 (init): remove method
10253 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10255 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10257 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * screen.[Ch]: change method names to begin with lowercase
10261 * BufferView_pimpl.C (updateScrollbar): simplify further and
10262 hopefully make it a bit faster.
10264 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10266 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10267 calling directly xforms functions.
10269 * Painter.C (Painter):
10270 * lyx_cb.C (MenuWrite):
10271 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10274 * lyx_gui.C: remove bogus guiruntime extern declaration.
10276 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10280 (redoDrawingOfParagraph): ditto
10281 (redoParagraphs): ditto
10282 (cutSelection): don't create a object for CutAndPaste use the
10283 static method directly
10284 (pasteSelection): ditto
10286 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10289 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * modifications to some other files because of this.
10293 * Makefile.am (lyx_SOURCES): add XFormsView
10295 * XFormsView.[Ch]: new files
10297 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10298 the main window. Move the gui dependent stuff to XFormsView
10300 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10302 * tabular.C (GetCellInset): update cur_cell also in the row/col
10303 version of this function.
10305 * lyxfunc.C: no need to include figure_form.h here.
10311 * lyxvc.C: no need to include forms.h here.
10313 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10315 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10317 * lyxfunc.C (Dispatch):
10319 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10320 constructor argument.
10322 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * paragraph.C (Paragraph): dont't clear, and just set layout.
10325 (makeSameLayout): use params's copy contructor.
10327 * ParagraphParameters.[Ch] (makeSame): delete method
10329 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10331 * Variables.[Ch]: fix indentation, rename set to isSet
10333 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10335 * lyxfunc.C (Dispatch): fix typo
10337 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10339 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10342 * bufferlist.C: include assert.h for emergencyWrite().
10344 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10346 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10347 give up at last (bug #425202) !
10349 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10355 * spellchecker.C: strip spellchecker options and bring up
10356 preferences tab instead
10358 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10360 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10361 the istringstream constructor
10363 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * paragraph.C (getLayout): fix return value
10367 * paragraph.h: do not declare getLayout as inline.
10369 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10371 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10373 * lyxcursor.h (operator<): new func
10374 (operator>): new func
10375 (operator>=): new func
10376 (operator<=): new func
10378 * text.C (changeCase): use selection.start and selection.end
10379 (changeRegionCase): require from to be <= to. Require par to be a
10382 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10384 2001-06-27 Juergen Vigna <jug@sad.it>
10386 * text.C (cursorLeftOneWord): changed to return the cursor and added
10387 overlay with BufferView * parameter which calls this one.
10389 (selectWord): use new getWord function.
10390 (changeCase): renamed from changeWordCase as and extended to work
10391 also on selections.
10393 * lyxtext.h: added enum word_location
10395 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10396 changeCase as this operates now also on selections.
10398 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10400 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10402 * many files: send debug output to Debug::INFO instead of
10405 * converter.C (View):
10407 (Move): send debug output to Debug::FILES instead of console.
10409 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10411 * lyxfunc.C (getStatus): use func_status
10413 * func_status.h: new header, describing the results of
10414 LyXFunc::getStatus;
10416 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10419 2001-06-25 The LyX Project <jug@sad.it>
10421 * buffer.C (sgmlOpenTag):
10423 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10425 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * text2.C: remove some dead code
10429 * tabular.C (GetCellInset): store the last cell checked (gotten)
10431 * tabular.h: add the helper for the speedup
10433 * lyxtext.h: remove some dead code
10435 2001-06-26 The LyX Project <Asger>
10437 * paragraph.C: Change export to LaTeX of alignment to
10438 \begin{center} and family for better roundtrip work with reLyX.
10440 * Tune the math drawing a bit.
10442 2001-06-25 The LyX Project <Asger>
10444 * LColor.C (LColor): New color for math background. New color
10447 2001-06-25 The LyX Project <jug@sad.it>
10449 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10451 * lyxfunc.C (Open):
10452 * bufferlist.C (newFile): do not restrict to files ending with
10455 * BufferView_pimpl.C (MenuInsertLyXFile):
10457 2001-06-24 The LyX Project <jug@sad.it>
10459 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10462 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10464 * lyxtext.h: rename most methods to begin with a small char.
10465 Lots of changes because of this.
10467 * paragraph.C (Paragraph): do not call fitToSize
10468 (erase): call Pimpl::erase
10469 (insertChar): call Pimpl::insertChar
10470 (insertInset): call Pipl::insertInset
10471 (breakParagraph): do not call fitToSize
10472 (breakParagraphConservative): do not call fitToSize
10473 (fitToSize): remove method
10475 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10477 2001-06-24 The LyX Project <Asger>
10479 * Fix Qt compilation^2
10481 2001-06-24 The LyX Project <jug@sad.it>
10483 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10484 depthHook(getDepth()-1).
10487 * ParagraphParameters.h:
10488 * ParameterStruct.h: change type of depth to unsigned int ==
10489 depth_type. Many adaptations to other files before of that.
10491 2001-06-24 The LyX Project <Asger>
10493 * Fix Qt compilation.
10495 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * paragraph.h: renamed several methods to begin with small letter.
10498 several changes to many parts of the code because of this.
10500 2001-06-23 The LyX Project <jug@sad.it>
10502 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10503 rewritten to discard all double spaces when KeepEmpty is off
10504 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10505 to only handle newlines but not fiddle with spaces and friends.
10507 * lyxfunc.C (MenuNew): when doing 'new from template', use
10508 template_path as default directory
10510 2001-06-23 The LyX Project <Asger>
10512 * Clean-up of header file includes all over
10513 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10515 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10517 * paragraph.h: renamed from lyxparagraph.h
10519 2001-06-23 Asger <lyx@violet.home.sad.it>
10521 * Buffer.h: Removed Buffer::resize
10522 * BufferList.h: Removed BufferList::resize
10523 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10524 the document lazily when we change the width, or the font settings.
10526 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10528 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10530 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10532 * buffer.h: remove out of date comment
10534 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10537 * screen.C: fix "theoretical" GC leak
10539 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10541 * LaTeX.C (scanAuxFile):
10542 (deplog): remove trailing \r when reading stream (useful under
10545 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10547 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10548 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10549 and BufferView::theLockingInset(Inset*), so should use them and not
10550 access bv_->text->the_locking_inset directly.
10552 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10554 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10557 * tex-defs.h: remove old unused file
10559 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10561 * BufferView_pimpl.C: fix typo, remove minibuffer message
10562 when buffer has loaded
10564 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10566 * lyxfunc.C (Dispatch): use stringstream
10567 (MenuNew): use stringstream
10568 (Open): use stringstream
10570 * importer.C (Import): use stringstream
10572 * bufferview_funcs.C (CurrentState): use stringstream
10574 * LaTeX.C (run): use stringstream
10576 * BufferView_pimpl.C (savePosition): use stringstream
10577 (restorePosition): use stringstream
10578 (MenuInsertLyXFile): use stringstream
10580 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10593 * vspace.C: removed // -*- C++ -*- as first line.
10596 * version.h: added // -*- C++ -*- as first line.
10598 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10602 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10605 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10610 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10612 * gettext.C: include LString.h even when --disable-nls is on.
10614 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10616 * converter.h (Get): changed argument type from int to
10617 FormatList::size_type to avoid unnecessary conversion.
10619 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10622 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10624 * gettext.h: include LString.h even when --disable-nls is on.
10626 2001-06-07 Juergen Vigna <jug@sad.it>
10628 * text.C (BreakAgain): subst spaces with tabs.
10630 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10631 (resizeInsetsLyXText): set force on resizeLyXText.
10633 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10635 * gettext.h (gettext_init):
10636 (locale_init): use a real definition instead of a macro
10638 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10640 * Bufferview_pimpl.C:
10642 * LColor.C: further lcolor tidies
10644 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10646 * BufferView_pimpl.C (updateScrollbar): simplify.
10648 * BufferView2.C: don't include insets/insetinfo.h, change
10649 prototype for insertInset and call the Pimpl version. let
10650 updateInset call Pimpl version.
10652 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10653 gotoInset to BufferView::Pimpl
10655 2001-06-01 Juergen Vigna <jug@sad.it>
10657 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10658 inside a LockingInset (is the update needed at all?).
10660 2001-05-31 Juergen Vigna <jug@sad.it>
10662 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10663 here not the old one otherwise how should we compare it afterwards
10666 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10671 * FontInfo.C: bring C functions into global namespace when
10674 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * LString.h: make sure config.h has been loaded before LString.h.
10678 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10679 (one for each char read by EatLine!).
10681 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10684 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10686 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10687 to the same as the par we break from
10689 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10691 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10693 * MenuBackend.C (expand): also create menu entries for wide
10694 versions of the floats.
10696 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10698 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10700 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10701 frontends/Makefile.am
10707 * tabular.C (getTokenValue): add std::
10709 * tabular-old.C (getTokenValue): add std::
10710 (getTokenValue): ditto
10711 (getTokenValue): ditto
10713 * screen.C (ToggleSelection): adjust
10715 * lyxtext.h: put selection cursors inside a Selection struct.
10717 * lyxfunc.C (moveCursorUpdate): adjust
10719 * lyxfont.C (latexWriteStartChanges): add std::
10721 * lyxfind.C: adjust
10723 * font.h: delete with(char const *, LyXFont const &)
10725 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10727 * FontInfo.C (getFontname): add std::
10729 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10730 (workAreaButtonPress): adjust
10731 (tripleClick): adjust
10733 (moveCursorUpdate): adjust
10736 * BufferView2.C (gotoInset): adjust
10738 2001-05-30 Juergen Vigna <jug@sad.it>
10740 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10741 to check pspell I add this as default as I now have new pspell
10742 libraries and they seem to use this.
10744 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * text2.C (CutSelection): make the cursor valid before the call to
10749 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10752 relied on 0 terminated strings and other horrors. Bug found due to
10753 the new assert in lyxstring!
10755 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10758 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10763 * lyxfunc.C (processKeySym): change method of getting to the
10766 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10767 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10768 * BufferView_pimpl.[Ch]: here as private methods.
10770 2001-05-28 Juergen Vigna <jug@sad.it>
10772 * text.C (SetHeightOfRow): added the update() call again as it is
10773 needed to initialize inset dimensions!
10775 2001-05-16 Juergen Vigna <jug@sad.it>
10777 * text2.C (SetCharFont): Add new function with BufferView * and
10778 bool toggleall parameters for setting insets internal fonts.
10779 (SetFont): Freeze the undo as we may change fonts in Insets and
10780 all this change should be inside only one Undo!
10782 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10783 setting font's in insets as for them we have the SetFont function!
10785 2001-05-15 Juergen Vigna <jug@sad.it>
10787 * text2.C (ClearSelection): to be sure we REALLY don't have any
10790 * tabular.C (TeXCellPreamble): fixed the left border problem for
10793 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10795 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10798 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10801 LFUN_BREAKPARAGRAPH.
10803 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10804 help test to "internal only", similar for LFUN_INSERT_URL
10806 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10807 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10808 auto_region_delete and deadkeys.
10810 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10813 * LColor.C: remove some dead entries, tidy a little
10815 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10819 (Dispatch): implement LFUN_ESCAPE
10821 * commandtags.h: add LFUN_ESCAPE
10823 * LyXAction.C (init): add entry for LFUN_ESCAPE
10825 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10826 Remove commented code.
10827 (insertNote): moved here
10828 (open_new_inset): moved here
10830 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10833 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10835 * kbmap.C (findbinding): clean it up and make it work correctly.
10837 * lyx_main.C (init): do not pass argc and argv as parameters
10839 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10841 * buffer.C: fix path for OS/2 & Win32
10845 * lyx_main.C: Added os:: class.
10847 * os2_defines.h: update
10849 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10852 better by trying again with reduced state.
10854 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * lyxrc.C (read): print error about invalid key sequence only when
10857 debugging (because not all latinX keysyms are known to some X
10860 * kbsequence.C (getiso): add a few std:: qualifiers
10861 (getiso): comment out extra return statement.
10863 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10867 (Dispatch): enhance the accent inset a bit. (not perfect)
10869 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10871 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10873 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10875 * bufferlist.C (emergencyWrite): fix assert() call
10877 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10879 * text.C (InsertChar): Added trivial patch to only send the "you
10880 can not do multiple spaces this way" message once during a
10883 2001-05-08 Baruch Even <baruch@lyx.org>
10885 * Makefile.am: Changed order of libraries to get LyX to link properly
10886 with the gnome frontend.
10888 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * LaTeXFeatures.h: add a std:: qualifier
10892 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * paragraph.C (String): use stringstream
10896 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * paragraph.C (writeFile): remove footflag arg
10900 * buffer.C (makeLaTeXFile): use stringstream
10901 (latexParagraphs): remove footnot gurba
10903 * LaTeXFeatures.C (getPackages): use stringstream
10904 (getMacros): likewise
10905 (getTClassPreamble): likewise
10906 (getFloatDefinitions): new method
10908 * paragraph.C (writeFile): reindent
10911 * WorkArea.h: revert the xpos + etc changes.
10913 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10915 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10917 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10918 (pasteSelection): likewise
10919 * text2.C (CreateUndo): likewise
10921 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10923 * minibuffer.C (peek_event): temporarily reduce the functionality
10924 of the minibuffer (to allow args on lfuns)
10926 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10927 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10929 * buffer.C (readInset): add compability reading of old float
10930 lists, add reading of new style float list.
10931 (readInset): avoid reevaluation of inscmd.getCmdName()
10932 (getLists): reindent
10934 * MenuBackend.C (MenuItem): implement parsing of
10935 md_floatlistinsert and md_floatinsert.
10936 (expand::LastFiles): move initalizaton of iterators out of loop,
10937 avoid reevaluation.
10938 (expand::Documents): introduce typdedef vector<string> Strings,
10940 (expand::ExportFormats): introduce typedef vector<Format const *>
10941 Formats, and use it.
10942 (expand): implement FloatListInsert and FloatInsert.
10944 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10945 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10946 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10948 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10950 (Dispatch::LFUN_FLOAT_LIST): implement
10952 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10954 * LaTeX.C (run): Fix problem with --export code.
10956 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10958 * BufferView.[Ch] (workarea): removed.
10959 (getClipboard) new method; wrapper for workarea()->getClipboard()
10961 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10964 * WorkArea.h (width, height, xpos, ypos): These methods all
10965 returned the dimensions of the work_area sub-area of WorkArea,
10966 resulting in a position error if the WorkArea were resized. Now
10967 return the dimensions of the entire WorkArea.
10969 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10971 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10973 * LaTeX.C (deplog): correct the syntax of regex reg1
10975 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * undo.C: remove !NEW_INSETS cruft
10979 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * text2.C: remove !NEW_INSETS cruft
10983 * text.C: remove !NEW_INSETS cruft
10985 * tabular.C: remove !NEW_INSETS cruft
10987 * spellchecker.C: remove !NEW_INSETS cruft
10989 * lyxtext.h: remove !NEW_INSETS cruft
10991 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10993 * lyxfunc.C: remove !NEW_INSETS cruft
10995 * lyxfind.C: remove !NEW_INSETS cruft
10997 * lyx_cb.C: remove !NEW_INSETS cruft
10999 * figureForm.C: remove !NEW_INSETS cruft
11001 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11003 * buffer.[Ch]: remove !NEW_INSETS cruft
11005 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11007 * CutAndPaste.C: remove !NEW_INSETS cruft
11009 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11011 * BufferView2.C: remove !NEW_INSETS cruft
11013 * BufferView.h: remove !NEW_INSETS cruft
11015 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11017 * Lsstream.h: include LString.h before the sstream headers to
11018 fix problem with gcc 2.95.3 and lyxstring
11020 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11022 * lyx_main.C: add using directives when needed for C functions
11023 declared in std:: namespace.
11025 2001-04-27 Juergen Vigna <jug@sad.it>
11027 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11028 (SetHeightOfRow): comment out the update call should not be needed!
11030 2001-04-13 Juergen Vigna <jug@sad.it>
11032 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11033 (LyXTabular): tried to minimize operator= operations (and realized
11034 hopfully Lars wish).
11036 2001-04-27 Juergen Vigna <jug@sad.it>
11038 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11040 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11042 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11044 * buffer.C (readInset): hack to make listof algorithm work
11046 * BufferView_pimpl.C: hack to make listof algorithm work
11048 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11050 * LyXAction.C: removed all !NEW_INSETS cruft
11051 (init): moved lfun_item in method
11053 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11055 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11057 * BufferView2.C (theLockingInset): white space.
11059 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * minibuffer.C: include <iostream>
11063 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11065 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11067 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11069 * text.[Ch] (TransposeChars): new method
11071 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * call message directly through LyXView instead of through LyXFunc
11074 * BufferView2.C: adjust
11075 * BufferView_pimpl.C: adjust
11076 * FontLoader.C: adjust
11078 * bufferview_funcs.C: adjust
11079 * converter.C: adjust
11080 * figureForm.C: adjust
11081 * importer.C: adjust
11083 * lyx_gui_misc.C: adjust
11084 * lyxfunc.C: adjust
11087 + more files in subdirs
11089 * lyxparagraph.h (size): move up int file
11092 * adjust all uses of Assert to lyx::Assert.
11094 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11095 lyxfunctional in namespace lyx
11096 * layout.C (hasLayout): ditto
11099 (delete_layout): ditto
11100 (NumberOfClass): ditto
11101 * converter.C (GetFormat): ditto
11106 * bufferlist.C (getFileNames): ditto
11107 (emergencyWriteAll): ditto
11110 * MenuBackend.C (hasSubmenu): ditto
11113 * BufferView_pimpl.C (getInsetByCode): ditto
11115 2001-04-18 Juergen Vigna <jug@sad.it>
11117 * vspace.C (asLatexString): fixed the 100% problem.
11119 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * lyxfunc.C (Dispatch):
11123 * minibuffer.h: add a few std:: qualifiers
11125 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * minibuffer.[Ch]: reimplement so that commands is initiated and
11128 run from lyxfunc, simplified som handling, and made the completion
11129 and history code for complete. wip.
11131 * lyxfunc.C (processKeySym): call message
11132 (miniDispatch): new temporary method
11133 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11134 (LFUN_MESSAGE): implement
11135 (LFUN_MESSAGE_PUSH): implement
11136 (LFUN_MESSAGE_POP): implement
11137 (initMiniBuffer): the initial/defualt minibuffer message.
11139 * lyxfont.[Ch]: inline some more getters
11141 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11143 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11145 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11146 (AutoSave): use LFUN_MESSAGE
11147 (Reconfigure): ditto
11149 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11151 * figureForm.C: use LFUN_MESSAGE
11153 * converter.C (runLaTeX): use LFUN_MESSAGE
11155 * bufferview_funcs.C: use LFUN_MESSAGE
11157 (changeDepth): ditto
11159 * bufferparams.h: use boost::
11161 * bufferlist.h: inherit privately from noncopyable
11163 * bufferlist.C (loadLyXFile): remove some commented code.
11165 * buffer.C (runChktex): use LFUN_MESSAGE
11167 * ShareContainer.h: inherit privately from noncopyable
11169 * ParagraphParameters.[hC] (depth): inline it.
11171 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11173 (message): new method
11174 (messagePush): ditto
11175 (messagePop): ditto
11176 (show): init minibuffer
11177 (showState): direct call
11179 * LaTeX.[Ch]: inherit privately from noncopyable
11180 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11181 instead of WriteStatus.
11183 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11185 * BufferView_pimpl.C (buffer): don't init minibuffer
11186 (workAreaButtonPress): use LFUN_MESSAGE
11187 (workAreaButtonRelease): ditto
11188 (savePosition): ditto
11189 (restorePosition): ditto
11190 (MenuInsertLyXFile): ditto
11191 (workAreaExpose): don't init minibuffer
11192 (update): remove commented code, simplify
11194 * BufferView2.C (openStuff): use LFUN_MESSAGE
11195 (toggleFloat): ditto
11198 (copyEnvironment): ditto
11199 (pasteEnvironment): ditto
11204 (updateInset): remove some commented code
11206 * lastfiles.h: inherit privately from noncopyable
11209 * lyx_main.h: ditto
11211 * lyxlex_pimpl.h: ditto
11213 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11214 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11215 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11217 * LyXAction.h: inherit privately from noncopyable, add methods
11218 func_begin, func_end, returning iterators to the func map.
11220 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11221 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11222 (func_begin): new method
11223 (func_end): new method
11225 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11227 (copySelection): ditto
11228 (pasteSelection): ditto
11230 * BufferView.C: whitespace change
11231 * BufferView.h: inherit privately from noncopyable
11233 2001-04-16 Allan Rae <rae@lyx.org>
11235 * tabular-old.C (l_getline):
11236 * spellchecker.C (sc_check_word):
11237 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11238 an unrecognised preprocessor directive. So ensure they're wrapped.
11240 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11242 * src/exporter.C (Export): Give an error message when path to file
11245 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11247 * LaTeX.C (deplog): Always check that foundfile exists.
11249 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11252 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11254 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11256 * tabular.[Ch] (getLabelList): implement new method
11258 * minibuffer.h: comment ouf setTiimer
11260 * minibuffer.C (ExecutingCB): constify res
11261 (peek_event): constify s
11262 (Set): constify ntext
11263 (Init): constify nicename
11265 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11267 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11268 (savePosition): use two params to Minibuffer::Set
11269 (restorePosition): ditto
11271 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * lyx_main.C: include language.h
11275 * Makefile.am (lyx_main.o): add language.h
11277 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11283 * CutAndPaste.C: include gettext.h
11285 * lyxfont.h: remove old hack with ON and OFF.
11288 * lyxfont.h: do not include language.h...
11293 * bufferview_funcs.C:
11299 * paragraph.C: ... but do it here instead
11301 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11303 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11305 * tabular.C: small reformat
11307 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11310 (BreakParagraph): ditto
11311 (SetOnlyLayout): ditto
11314 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11317 * lastfiles.C: removed most using decl, add std:: where needed
11319 * buffer.C: ws changes
11321 * MenuBackend.C (class compare_format): put into anon namespace
11322 (expand): constify label, names, action, action2
11325 * text.C (SingleWidth): constify font
11326 (IsBoundary): constify rtl2
11327 (GetVisibleRow): constify ww
11329 * LaTeX.C (deplog): constify logfile
11331 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11333 (workAreaExpose): constify widthChange, heightChange
11335 * lyxrow.C (par): moved
11338 * lyxrow.h: as inlines here
11340 * lyxfont.h (shape): moved from lyxfont.C
11341 (emph): moved from lyxfont.C
11343 * lyxfont.C (LyXFont): use initialization list for all
11345 (shape): move to lyxfont.h as inline
11346 (emph): move to lyxfont.h as inline
11349 2001-04-04 Juergen Vigna <jug@sad.it>
11351 * vspace.C: had to include stdio.h for use of sscanf
11353 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11356 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11357 independent of xforms.
11359 2001-04-02 Juergen Vigna <jug@sad.it>
11361 * spellchecker.C: fixed namespace placing!
11363 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11365 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11366 the LyXParagraph * is 0.
11368 2001-03-29 Juergen Vigna <jug@sad.it>
11370 * vspace.C: added support for %, c%, p%, l%.
11371 (stringFromUnit): added helper function.
11372 (asLatexString): changed to give right results for the %-values.
11374 * buffer.C: convert the widthp in a width%.
11376 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11378 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11381 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11382 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11384 * lyx_cb.[Ch]: see above.
11386 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11390 * lyx.[Ch]: replaced by figure_form.[Ch].
11394 * lyxfunc.C: changed headers associated with above changes.
11396 2001-03-27 Juergen Vigna <jug@sad.it>
11398 * BufferView_pimpl.C: set the temporary cursor right!
11400 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11402 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11404 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11406 * LString.h: removed "using std::getline"!
11408 * BufferView_pimpl.C (Dispatch): changes due to changes in
11409 InsetInclude::Params.
11411 * buffer.C (tag_name): removed redundant break statements as they were
11412 producing lots of warnings with my compiler.
11414 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11416 * LString.h: add "using std::getline" when using the real <string>.
11418 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11420 * buffer.C: removed bitset usage.
11421 PAR_TAG moved to an anonymous name space.
11422 (tag_name): new funtion, also in the anonymous namespace.
11423 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11424 (makeDocBookFile): clean code. Completed transition from string arrays
11426 (SimpleDocBookOnePar): code clean.
11428 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11430 * tabular.C: add some comments.
11432 2001-03-22 Juergen Vigna <jug@sad.it>
11434 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11435 compatibility read a bit and fixed bug with minipage in different
11438 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11440 * buffer.C (pop_tag): removed.
11441 (push_tag): removed.
11442 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11443 array replaced with vector. Added support for CDATA sections.
11444 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11446 (makeDocBookFile): XML conformant declaration of CDATA section,
11447 fixed bug related to <emphasis> in the first paragraph char.
11448 (sgmlOpenTag): exclude empty tags.
11449 (sgmlCloseTag): ditto.
11451 * buffer.h (pop_tag): removed.
11452 (push_tag): removed.
11454 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11456 * language.h (Languages): added size_type and size().
11458 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11460 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11461 response on compability reading of minipages. One probliem is that
11462 the old usage of minipages was «flertydig»
11464 * several files here and in subdirs: don't use static at file
11465 scope use anon namespaces instead.
11467 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11469 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11470 LaTeX output. This is necessary for Literate document
11473 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11475 * buffer.C: insert hfill when needed.
11477 * tabular.C (l_getline): use string::erase, small whitespace change.
11479 * BufferView_pimpl.C: try the anon namespace.
11480 * WorkArea.C: ditto
11482 2001-03-16 Juergen Vigna <jug@sad.it>
11484 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11485 otherwise it won't open options-dialogs.
11487 * buffer.C: honor pextraWidth(p) on converting minipages.
11489 * tabular.C (l_getline): changed the functions to strip trailing \r.
11491 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11493 * BufferView_pimpl.C:
11494 * minibuffer..C: added "using SigC::slot" declaration.
11496 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11498 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11504 * paragraph.C: ditto
11506 * lyxtext.h: NO_PEXTRA
11508 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11510 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11511 * ParameterStruct.h: ditto
11512 * ParagraphParameters.h: ditto
11513 * lyxparagraph.h: ditto
11515 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11517 * buffer.C: add compability for minipage alignment.
11518 (latexParagraphs): remove unwanted pextra check.
11520 * several files: remove CXX_WORKING_NAMESPACES
11522 * buffer.C (pop_tag): tie is in namespace boost
11524 * BufferView.h: noncopyable is in namespace boost
11526 * lyx_main.h: ditto
11529 * lastfiles.h: ditto
11530 * bufferlist.h: ditto
11531 * ShareContainer.h: ditto
11533 * LyXAction.h: ditto
11536 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11538 * Merging changes from BRANCH_MVC back into HEAD.
11540 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11542 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11544 * BufferView_pimpl.C: change from intl.C
11548 * Makefile.am: move combox.*
11554 * intl.C: remove dialog (covered by prefs)
11556 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11558 * lyxfunc.C (Dispatch): removed redundant break statement.
11560 2001-03-14 Juergen Vigna <jug@sad.it>
11562 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11564 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11566 * buffer.C: add hack to fix compability reading of minipages.
11568 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11570 * buffer.C (getLists): Cleanup.
11572 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11574 * lyxfont.C (update): don't honor toggleall on font size.
11576 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11580 * Makefile.am: moved to frontends/xforms/
11584 * BufferView_pimpl.C: changes for moved mathpanel
11586 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11588 * gettext.h: fix gettext_init() in --disable-nls
11590 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11592 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11594 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11597 * lyx.h: strip external form
11599 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11601 * BufferView_pimpl.C: add comment, destroySplash()
11603 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11605 * BufferView_pimpl.C:
11609 * lyxfunc.C: use re-worked insetinclude
11611 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11613 * buffer.C: add using std::stringstream.
11615 * lyx_cb.C: readd using std::ios.
11617 * buffer.C: add using std::map.
11619 * BufferView_pimpl.C: add using std::vector.
11621 * ShareContainer.h: add std:: to swap.
11623 * buffer.h: add some typedefs
11624 * buffer.C (getLists): use them
11625 (getLists): renamed from getTocList.
11626 add a counter for the different float types and use it in the
11628 (getLists): use the same counter for the NEW_INSETS and the "non"
11631 * lyx_cb.h: remove unused items, includes, using etc.
11633 * ShareContainer.h: remove some commented code, add more comments
11634 and "documentation".
11636 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11638 * buffer.C (getTocList): make the list also when NEW_INSETS is
11641 * buffer.h: remove TocType
11643 * buffer.C (getTocList): change to return a map<string,
11644 vector<TocItem> >, implement for dynamic number of list.
11646 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11647 * text2.C (PasteSelection): adjust
11648 * CutAndPaste.C (pasteSelection): adjust
11650 * FloatList.C (FloatList): update from the new_insets branch.
11651 * Floating.[Ch]: ditto
11652 * LaTeXFeatures.C: ditto
11654 * lyxlex_pimpl.C: ditto
11656 * paragraph.C (Last): remove when NEW_INSETS is defined.
11658 * other file: changes because of the above.
11660 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11662 * lyxparagraph.h: rename next to next_, previous to previous_,
11663 make them private for NEW_INSETS. Rename Next() to next(),
11664 Previous() to previous().
11666 * other files: changes because of the above.
11668 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11671 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11674 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * main.C (main): pass lyx_localedir to gettext_init().
11678 * gettext.h: remove locale_init and gettext_init macros
11680 * gettext.C (locale_init): new function
11681 (gettext_init): new function
11683 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11686 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11688 * Moved credits to frontends:
11689 * credits.[Ch]: removed
11690 * credits_form.[Ch]: removed
11691 * lyx_gui_misc.C: remove credits stuff
11694 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11696 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11698 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11699 unneeded destructor.
11701 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11702 a standalone pointer again.
11704 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11706 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11712 * ToolbarDefaults.C:
11721 * BufferView_pimpl.C: use new file dialog in GUII
11724 * lyx_cb.C: remove LayoutsCB to Toolbar
11726 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * ShareContainer.h (get): add std:: qualifier
11730 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11732 * ShareContainer.h: define a proper ShareContainer::value_type
11733 type (and use typename to please compaq cxx)
11735 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11737 * lyxparagraph.h: move serveral local vars to
11738 ParameterStruct/ParagraphParameters., use ShareContainer in
11739 FontTable., make vars in FontTable private and add getter and
11742 * paragraph.C: changes because of the above.
11744 * lyxfont.h: remove copy constructor and copy assignment. (the
11745 default ones is ok), move number inside FontBits. move inlines to
11748 * lyxfont.C: add number to initializaton of statics, move several
11749 inlines here. constify several local vars. some whitespace
11750 cleanup. Dont hide outerscope variables.
11752 * Spacing.h: add two new constructors to match the set methods.
11754 * ShareContainer.h: new file, will perhaps be moved to support
11756 * ParameterStruct.h: new file
11758 * ParagraphParameters.h: new file
11760 * ParagraphParameters.C: new file
11762 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11763 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11765 * BufferView_pimpl.C: ParagraphParameter changes.
11766 * buffer.C: Likewise.
11767 * bufferview_funcs.C: Likewise.
11768 * text.C: Likewise.
11769 * text2.C: Likewise.
11771 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * lyxfind.C (LyXReplace): do not redefine default argument in
11775 (IsStringInText): ditto
11776 (SearchForward): ditto
11777 (SearchBackward): ditto
11779 2001-03-06 Juergen Vigna <jug@sad.it>
11781 * lyxfind.C (IsStringInText): put parentes around expressions.
11783 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11785 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11787 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11789 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11791 * stl_string_fwd.h: add comment
11793 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11796 * tabular.C: remove unused DocBook methods
11802 killed DO_USE_DEFAULT_LANGUAGE
11804 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * lyx_gui.C: do not include language.h.
11808 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11809 arguments in function implementation.
11811 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11813 * BufferView_pimpl.C: add <ctime>
11815 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11817 * BufferView_pimpl.C: add using std::find_if
11819 2001-02-27 José Matos <jamatos@fep.up.pt>
11821 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11824 2001-02-11 José Matos <jamatos@fep.up.pt>
11826 * buffer.C (makeDocBookFile): command styles now have a parameter as
11827 "title" by default.
11829 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11831 * layout_forms.[Ch]: removed
11832 * lyx_cb.[Ch]: out character
11833 * lyx_gui.C: out character
11834 * lyx_gui_misc.C: out character
11835 * bufferview_funcs.C: : out character,
11836 added toggleall as parameter in ToggleAndShow
11838 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11840 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11842 * text2.C (SetCurrentFont): Disable number property at boundary.
11844 2001-02-26 Juergen Vigna <jug@sad.it>
11846 * lyxfunc.C (getStatus): added a string argument override function so
11847 that this is correctly called from LyXFunc::Dispatch if it contains a
11848 do_not_use_argument which is used!
11849 (Dispatch): added check for "custom" export and call appropriate func.
11851 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11853 * lyxrc.C: Add language_command_local, language_use_babel and
11854 language_global_options.
11856 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11858 * buffer.C (makeLaTeXFile): Use language_use_babel and
11859 language_global_options.
11861 2001-02-23 Juergen Vigna <jug@sad.it>
11863 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11864 which works with LyXText and putted it inside BufferView. Here now we
11865 only call for that part the BufferView::Dispatch() function.
11867 * BufferView.C (Dispatch): added.
11869 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11870 functions which needs to use a LyXText over from LyXFunc.
11871 (MenuInsertLyXFile): added
11872 (getInsetByCode): added
11873 (moveCursorUpdate): added
11874 (static TEXT): added
11876 2001-02-22 Juergen Vigna <jug@sad.it>
11878 * BufferView_pimpl.C (update): call a status update to see if LyXText
11881 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11883 * vc-backend.C (revert): implement for CVS
11884 (getLog): implement for CVS
11886 2001-02-20 Juergen Vigna <jug@sad.it>
11888 * text2.C (ClearSelection): added BufferView param for inset_owner call
11890 * lyxfunc.C (TEXT): added this function and use it instead of
11891 directly owner->view()-text of getLyXText().
11893 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11895 * src/layout_forms.C: out preamble
11896 * src/layout_forms.h: out preamble
11897 * src/lyx_cb.C: out preamble
11898 * src/lyx_cb.h: out preamble
11899 * src/lyx_gui.C: out preamble
11900 * src/lyx_gui_misc.C: out preamble
11901 * src/lyxfunc.C: connect with guii preamble
11903 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11905 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11907 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11909 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11910 whether to run bibtex.
11912 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11914 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11916 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11918 * Makefile.am (lyx_SOURCES): removed bibforms.h
11920 * vspace.h: doxygen
11922 * text.C (GetVisibleRow): make several local vars const
11924 * tabular.C: small cleanup.
11926 * lyxserver.C (callback): use compare instead of strncmp
11928 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11929 inlines to after class or to paragraph.C
11931 * lyxfont.h: remove friend operator!=
11933 * converter.h: move friend bool operator< to non friend and after
11936 * combox.h: small cleanup
11938 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11939 to inlines after class def.
11941 * buffer.C (pop_tag): use string operations instead of strcmp
11943 * bmtable.c: doxygen, small cleanup
11945 * LaTeX.h: remove friend operator==
11947 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11959 * BufferView_pimpl.C:
11960 * BufferView.[Ch]: remove cruft
11962 2001-02-14 Juergen Vigna <jug@sad.it>
11964 * lyxfunc.C: removed #if 0 unused code
11966 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11968 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11970 * text2.C (SetSelection): added a BufferView * parameter
11972 2001-02-13 Juergen Vigna <jug@sad.it>
11974 * lyxfunc.C (Dispatch): fixed protected blank problem.
11975 * BufferView2.C (protectedBlank): added LyxText * parameter.
11977 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11978 (AppendColumn): same as above for column_info.
11980 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11981 (moveCursorUpdate): use a LyXText param for support of InsetText.
11983 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11984 (tripleClick): ditto
11986 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11988 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11990 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11992 * text2.C (SetSelection): set correct update status if inset_owner
11993 (ToggleFree): ditto
11995 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11997 * tabular.C: remove some commented code.
11999 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12001 * BufferView_pimpl.C: call hideSplash()
12003 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12006 * bibforms.h: remove
12009 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12010 add LFUN_CHILD_CREATE
12012 * counters.h: fix tiny typo
12017 * lyx.C: move splash to frontends/xforms/
12019 * lyx_gui_misc.C: move Include and Bibform to frontends
12021 * lyxvc.h: clarify comment
12023 * vspace.C: tiny housekeeping
12025 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12027 * text.C (PrepareToPrint): RTL Fix.
12029 * paragraph.C (GetUChar): New method.
12030 (String): Use GetUChar.
12032 * buffer.C (asciiParagraph): Use GetUChar.
12034 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12036 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12038 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12041 * buffer.C: rename to getLogName(), handle
12042 build log / latex log nicely
12044 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12047 * MenuBackend.h: remove support for reference menuitem type.
12049 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12051 * BufferView_pimpl.C: housekeeping
12052 * BufferView_pimpl.h:
12057 * minibuffer.h: move Timeout GUI-I
12059 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12061 * lyxrc.C (read): Update converters data-structures.
12063 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12065 * LaTeX.h (operator!=): add operator != for Aux_Info
12067 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12069 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12071 * LaTeXLog.C: deleted, useful code moved to Buffer
12074 * buffer.C: new function getLatexLogName()
12080 * lyxfunc.C: use frontends for LaTeX and VC logs
12082 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12084 * LaTeX.h: yet another std:: that Allan forgot.
12086 * Variables.C (set): renamed from isset(), because this clashes
12087 with some HP-UX macros (grr).
12089 2001-02-06 Allan Rae <rae@lyx.org>
12091 * LaTeX.h: Another bug fix. Missing std:: this time.
12093 2001-02-04 Allan Rae <rae@lyx.org>
12095 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12096 floats problem. I've left it commented out because it's not quite
12097 correct. It should also test that the current object is a table or
12098 figure inset. But I haven't gotten around to figuring out how to do
12099 that. I *think* it'll be something like: "table" == inset.type()
12101 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12104 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12106 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12107 all the citation/databases/styles in the auxilary file.
12108 (run): Rerun latex if there was a babel language error.
12110 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12112 * text.C (Backspace): Preserve the font when changing newline char
12114 (BreakParagraph): If the cursor is before a space, delete the space.
12116 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12118 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12120 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12121 new argument (code).
12122 (ChangeCitationsIfUnique): New method.
12124 * paragraph.C (GetPositionOfInset): Handle bibkey.
12126 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12128 * BufferView_pimpl.h: change type of Position::par_pos to
12129 LyXParagraph::size_type.
12131 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12133 * BufferView_pimpl.C (savePosition, restorePosition): Write
12134 messages to minibuffer.
12136 2001-01-28 José Matos <jamatos@fep.up.pt>
12138 * buffer.C (makeDocBookFile): adds support for document language.
12139 A silly restriction on the name of LatexCommand types where removed.
12140 Added support for CDATA sections, allows to chars unescaped, used
12141 among others in code, to avoid escape < and >.
12143 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12145 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12146 saved positions instrad of a stack. Furthermore, a position is
12147 stored using paragraph id/paragraph position.
12149 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12150 Remove LFUN_REF_BACK.
12152 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12154 * converter.C (dvipdfm_options): New method.
12156 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12158 * vspace.C (isValidLength): Fix for empty input string.
12160 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12162 * LyXAction.C (init): change description of LFUN_FIGURE to
12165 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * LaTeX.C: add using directive
12169 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12171 * MenuBackend.C (expand): Fix the sorting of the formats.
12173 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12175 * lyx_main.C: tiny error message fix
12177 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12180 calling fl_initialize(). This fixes the problem with ',' as
12181 decimal separator in text files.
12183 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12185 * trans.C (process): Fix the keymap bug.
12187 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12189 * LaTeX.C (scanAuxFiles): New method. Provides support for
12190 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12191 (scanLogFile) Scan for "run BibTeX" messages.
12193 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12194 OT1 font encoding. Also, load the aecompl package if the ae
12197 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12199 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * texrow.C (increasePos): turn two error messages into debug
12204 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12206 * LaTeX.C (scanAux): Handle the \@input macro.
12207 (runBibTeX): Use scanAux().
12209 * language.C (latex_options_): New field.
12211 * LaTeXFeatures.C (getMacros): Add language macros.
12213 * buffer.C (makeLaTeXFile): Small fix.
12215 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12217 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12219 * text2.C: add a using directive.
12221 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12226 * lyxfunc.C: kill LyXBell.
12228 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12230 * text.C (IsBoundary): Remove the error message
12232 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12234 * lyxrc.C (setDefaults): Correct initialization value for
12237 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12239 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12242 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12243 and GotoNextNote().
12245 * src/LyXAction.C: Added reference-next.
12247 * text.C (InsertChar): Use contains instead of strchr.
12249 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12251 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12253 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12254 alignment commands (when needed).
12256 * text.C (InsertChar): Add ':' to number separator chars.