1 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4 unused class variable counter_,
6 * paragraph.[Ch] (getFirstCounter): delete unused function
8 * counters.C: include LAssert.h
9 (reset): add a new function with no arg, change other version to
10 not have def. arg and to not allow empty arg.
12 * text2.C (setCounter): remove empty arg from call to Counters::reset
14 2002-08-11 John Levon <levon@movementarian.org>
16 * Makefile.am: add WordLangTuple.h
18 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
21 lyxfunc.C lyxlex_pimpl.C: ws changes only.
23 * insets/insettext.C: InsetList changes
25 * graphics/GraphicsSupport.C (operator()): InsetList changes
27 * toc.C (getTocList): InsetList changes
29 * paragraph_pimpl.[Ch]: InsetList changes
31 * paragraph.[Ch]: InsetList changes
33 * buffer.C (inset_iterator): InsetList changes
35 * buffer.h (inset_iterator): ditto
36 * iterators.C (operator++): ditto
39 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
41 * InsetList.[Ch]: new files, most InsetList handling moved out of
44 * BufferView2.C (removeAutoInsets): InsetList changes
48 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * paragraph_pimpl.h (empty): new function
52 * paragraph.[Ch] (empty): new function
54 * other files: use the new Paragraph::empty function
56 2002-08-09 John Levon <levon@movementarian.org>
58 * lyxtext.h: remove unused refresh_height
60 2002-08-09 John Levon <levon@movementarian.org>
67 * paragraph.C: move sgml char escaping out of paragraph
70 * paragraph.C: remove id setter
74 * paragraph_pimpl.C: remove dead tex_code_break_column
76 * bufferview_funcs.C: small cleanup
78 * lyxfunc.C: remove dead proto
80 * lyxtext.h: make some stuff private. Remove some dead stuff.
82 * lyxgluelength.C: make as[LyX]String() readable
84 2002-08-08 John Levon <levon@movementarian.org>
92 * toc.C: lyxaction cleanup
94 2002-08-08 John Levon <levon@movementarian.org>
96 * BufferView2.C: small cleanup
99 * lyxfind.C: move unnecessary header into the .C
101 2002-08-08 John Levon <levon@movementarian.org>
103 * funcrequest.h: just tedious nonsense
106 * lyx_main.C: cleanups
109 * vspace.C: remove dead header lyx_main.h
111 2002-08-07 Angus Leeming <leeming@lyx.org>
115 Forward declare class Counters in paragraph.h by moving the ctrs member
116 variable into Paragraph::Pimpl.
117 (counters): new method, returning a reference to pimpl_->ctrs.
119 * text2.C: ensuing changes.
121 2002-08-07 John Levon <levon@movementarian.org>
123 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
125 * BufferView_pimpl.C: announce X selection on double/triple
128 * lyx_main.C: use correct bool in batch dispatch
130 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
132 2002-08-07 André Pönitz <poenitz@gmx.net>
134 * funcrequest.h: new class to wrap a kb_action and its argument
137 * BufferView_pimpl[Ch]:
141 * lyxrc.C: subsequent changes
144 2002-08-07 John Levon <levon@movementarian.org>
146 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
147 document options change.
149 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
154 * makefile.am: move counters functionality over from
155 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
157 2002-08-06 John Levon <levon@movementarian.org>
159 * WordLangTuple.h: new file for word + language code tuple
170 * BufferView2.C: use WordLangTuple
173 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
175 2002-08-06 John Levon <levon@movementarian.org>
177 * lyx_main.C: fix cmdline batch handling
179 2002-08-06 André Pönitz <poenitz@gmx.net>
181 * lyxrc.C: set default for show_banner to true
183 2002-08-06 John Levon <levon@movementarian.org>
185 * pspell.C: fix a crash, and allow new aspell to work
187 2002-08-06 John Levon <levon@movementarian.org>
190 * kbmap.C: small cleanup
193 * vspace.C: add const
195 2002-08-05 John Levon <levon@movementarian.org>
197 * LyXAction.C: back to tabular-insert
199 2002-08-04 John Levon <levon@movementarian.org>
202 * BufferView.C: cosmetic change
204 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
214 * BufferView2.C: purge all "Lyx" not "LyX" strings
217 * lyxcursor.C: attempt to add some documentation
223 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
224 merge with LFUN_TABULAR_INSERT
231 * pspell.C: split up i/pspell implementations into separate
234 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
236 * text2.C: some cleanup
238 * lyxfunc.C: don't check for isp_command == "none" any more, it
239 didn't make any sense
241 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
246 * makefile.am: move counters functionality over
247 from text2.C/paragraph.[Ch] to counters.[Ch], and
249 2002-08-02 John Levon <levon@movementarian.org>
251 * buffer.C: s/lyxconvert/lyx2lyx/
253 2002-08-02 Angus Leeming <leeming@lyx.org>
255 * lyxlex.C: revert John's change as it breaks reading of the user
258 2002-08-02 Angus Leeming <leeming@lyx.org>
260 * importer.C (Import):
261 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
262 changes due to LyXView::view() now returning a boost::shared_ptr.
264 2002-08-02 John Levon <levon@movementarian.org>
266 * lyxlex.C: small cleanup
268 2002-08-02 John Levon <levon@movementarian.org>
270 * text2.C (status): small cleanup, no logic change
272 2002-08-01 John Levon <levon@movementarian.org>
275 * buffer.C (writeFile): don't output alerts, caller
279 * lyx_cb.C: from above
281 * lyxfunc.C: allow to open non-existent files
283 2002-07-31 John Levon <levon@movementarian.org>
285 * lyxserver.C: don't let incidental errors get
288 2002-07-30 John Levon <levon@movementarian.org>
290 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
292 2002-07-30 John Levon <levon@movementarian.org>
295 * lyxserver.C: remove I/O callback too
297 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
302 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
304 * many files: strip,frontStrip -> trim,ltrim,rtrim
306 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
308 * PrinterParams.h: remove extern containsOnly, and include
309 support/lstrings.h instead.
311 * LaTeX.C (scanAuxFile): modify because of strip changes
313 * buffer.C (makeLaTeXFile): ditto
314 * bufferparams.C (writeFile): ditt
315 * lyxfont.C (stateText): ditto
316 * lyxserver.C (read_ready): ditto
317 * vc-backend.C (scanMaster): ditto
319 * BufferView_pimpl.h: ws changes
321 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
323 2002-07-26 André Pönitz <poenitz@gmx.net>
325 * kb_sequence.C: remove unnedred usings
327 2002-07-26 Juergen Vigna <jug@sad.it>
329 * lyxfind.C (LyXReplace): we have to check better if the returned
330 text is not of theLockingInset()->getLockingInset().
332 2002-07-25 Juergen Vigna <jug@sad.it>
334 * lyxfind.C (LyXReplace): don't replace if we don't get the
337 * undo_funcs.C (createUndo): remove debugging code.
339 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
341 * buffer.C (parseSingleLyXformat2Token): Use default placement
342 when reading old floats.
344 * FloatList.C (FloatList): Change the default placement of figure
347 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
349 * MenuBackend.C: using std::max
351 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * MenuBackend.C (expandToc):
354 (expandToc2): code moved from xforms menu frontend. It is now
355 generic and TOCs are transparent to menu frontends.
357 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
359 * toc.C (getTocList): protect against buf=0
361 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
362 Menu as first parameter. Now, this calls itself recursively to
363 expand a whole tree (this will be useful for TOC handling)
364 (expandFloatInsert): remove 'wide' version of floats
366 * MenuBackend.h (submenuname): returns the name of the submenu.
367 (submenu): returns the submenu itself, provided it has been
368 created by MenuBackend::expand
370 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
372 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
373 insets which have noFontChange == true. (bug #172)
375 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
377 * BufferView_pimpl.C: add connection objects and use them...
380 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
382 * MenuBackend.C (expandLastfiles):
385 (expandFloatListInsert):
387 (expand): split expand in parts
389 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
391 * lyx_gui.C: use lyx_gui::exit()
393 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
395 * LyXAction.C: show the failing pseudo action
397 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
399 * buffer.C (readFile): Run the lyxconvert script in order to read
402 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
406 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
408 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
412 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
414 2002-07-22 Herbert Voss <voss@lyx.org>
417 * lyxlength.[Ch]: add support for the vertical lengths
419 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
421 * toc.[Ch]: std:: fixes
423 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
425 * lyxrc.C: do not include lyx_main.h
427 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
433 * BufferView2.C: include "lyxlex.h"
436 * bufferparams.h: do not #include "lyxlex.h"
438 * lyxtextclasslist.C (Add): remove method
439 (classlist): renamed to classlist_
445 * bufferview_funcs.C:
450 * toc.C (getTocList): use BufferParams::getLyXTextClass
452 * toc.C (getTocList): use InsetFloat::addToToc
454 * toc.[Ch]: new files, containing helper functions to handle table
457 * lyxfunc.C (dispatch): no need to remove spaces around command
459 (getStatus): handle LFUN_SEQUENCE by returning the status of the
460 first command of the sequence; it is not very clever, but I do not
461 have a better idea, actually
463 * LyXAction.C (LookupFunc): make sure to remove space at the
464 beginning and end of the command
466 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
468 * MenuBackend.C (getMenubar): new method: return the menubar of
470 (read): treat differently reading of menu and menubar (in
471 particular, the menubar has no name now)
472 (Menu::menubar): remove
474 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
477 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
479 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
480 a bibitem inset in a RTL paragraph.
482 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
484 * paragraph_pimpl.C: constify
486 * BufferView_pimpl.C:
488 * lyxfunc.C: fix dispatch in a nicer way
490 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
492 * lyxfunc.C (dispatch):
493 * BufferView_pimpl.C:
494 * BufferView_pimpl.h:
496 * BufferView.h: rename Dispatch() to dispatch()
498 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
500 * lyxlayout.C (Read): honor DependsOn tag
502 * lyxlayout.[Ch] (depends_on): new method
504 * version.C.in: update lyx_docversion
506 * LaTeXFeatures.C (getMacros): only define \LyX when needed
508 * paragraph.C (validate): remove from here...
509 * paragraph_pimpl.C (validate): ... and move here
510 (isTextAt): make it const
512 * buffer.C (getLists): ws cleanup
514 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
516 * language.C (read): Use iso8859-1 encoding in latex_lang
517 (this prevents LyX from crashing when using iso10646-1 encoding).
519 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
521 * text2.C (toggleInset): if cursor is inside an inset, close the
522 inset and leave cursor _after_ it
524 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
526 * lyxfunc.C: move minibuffer completion handling out of here
528 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
530 * BufferView_pimpl.C:
531 * LaTeX.C: fix dispatch calls
533 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
535 * text.C (drawChars): Fix Arabic text rendering.
537 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
541 * lyxfunc.C: remove message-push/pop
545 * lyxfunc.C: rationalise some code by removing verboseDispatch
546 in favour of a bool argument to dispatch()
548 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
550 * lyx_main.C (init): make sure to read symlinks as absolute paths
552 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
555 * lyxfunc.C: no need for commandshortcut to be a member
557 2002-07-15 André Pönitz <poenitz@gmx.net>
559 * converter.C: add support for $$s (scripts from lib/scripts dir)
560 * lyx_main.C: white space
563 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
567 * lyxrc.C: remove second exit confirmation
569 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
574 * BufferView_pimpl.h:
575 * BufferView_pimpl.C:
576 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
578 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
580 * MenuBackend.C (expand): add numeric shortcuts to document menu
582 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
584 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
586 * lyxfont.C (setLyXFamily):
593 * buffer.C (asciiParagraph): use ascii_lowercase
595 2002-07-15 Mike Fabian <mfabian@suse.de>
597 * lyxlex_pimpl.C (search_kw):
598 * lyxlex.C (getLongString):
599 * converter.h (operator<):
600 * converter.C (operator<):
601 * buffer.C (parseSingleLyXformat2Token):
603 * ToolbarDefaults.C (read):
604 * MenuBackend.C (checkShortcuts):
606 * LColor.C (getFromGUIName):
607 (getFromLyXName): use the compare_ascii_no_case instead of
608 compare_no_case, because in turkish, 'i' is not the lowercase
609 version of 'I', and thus turkish locale breaks parsing of tags.
611 2002-07-16 Angus Leeming <leeming@lyx.org>
613 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
614 now takes a Buffer const & argument.
616 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
618 * BufferView.C (resize): check there's a buffer to resize
620 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
622 * lyxfunc.C: remove dead code
625 * lyxserver.C: use lyx_guii::set_read_callback
627 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
629 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
630 an inset in a RTL paragraph.
632 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
634 * lyxfunc.C: repaint after a font size update
636 2002-07-15 André Pönitz <poenitz@gmx.net>
638 * lyxlength.C: inBP should be able to return negative values
640 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
642 * lyxfunc.C: use lyx_gui::update_fonts()
644 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
646 * lyxfunc.C: use lyx_gui::update_color()
648 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
654 * lyxrc.C: remove file->new asks for name option, and let
655 buffer-new take an argument
657 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
659 * BufferView_pimpl.C: remove unneeded extra repaint()
661 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
663 * LyXAction.C: allow command-sequence with NoBuffer
665 * lyxfunc.C: don't insist on trailing ';' for command-sequence
667 2002-07-10 Angus Leeming <leeming@lyx.org>
669 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
671 2002-07-09 Angus Leeming <leeming@lyx.org>
673 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
675 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
677 * lengthcommon.h: whitespace
679 * lyxfunc.C: update scrollbar after goto paragraph
681 * lyxtext.h: factor out page break drawing, and fix it so
682 page break/added space paints as selected nicely
684 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
686 * BufferView_pimpl.C: add FIXMEs, clean up a little
688 2002-07-09 André Pönitz <poenitz@gmx.net>
690 * lyxfont.[Ch]: support for wasy symbols
692 2002-07-08 André Pönitz <poenitz@gmx.net>
694 * BufferView_pimpl.C: apply John's patch for #93.
696 2002-07-05 Angus Leeming <leeming@lyx.org>
698 * BufferView_pimpl.C (buffer): generate previews if desired.
700 * LColor.h: add "preview" to the color enum.
702 * LColor.C (LColor): add a corresponding entry to the items array.
704 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
707 2002-07-05 Angus Leeming <leeming@lyx.org>
709 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
710 The body of the code is now in the method that is passed an ostream &
711 rather than a file name.
712 Pass an additional only_preamble parameter, useful for the forthcoming
715 2002-07-03 André Pönitz <poenitz@gmx.net>
717 * lyxfunc.C: simplify getStatus() a bit for math stuff
719 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
723 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
725 * text.C (changeRegionCase): do not change case of all the
726 document when region ends at paragraph end (bug #461)
728 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
730 * paragraph.C (startTeXParParams):
731 (endTeXParParams): add \protect when necessary
733 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
735 * BufferView_pimpl.C (workAreaExpose): remove warning
737 2002-06-27 Angus Leeming <leeming@lyx.org>
739 * Makefile.am: add lyxlayout_ptr_fwd.h.
741 2002-06-26 André Pönitz <poenitz@gmx.net>
743 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
745 2002-06-25 Angus Leeming <leeming@lyx.org>
747 * lyxfunc.C (dispatch): Comment out the call to
748 grfx::GCache::changeDisplay. The method no longer exists now that the
749 pixmap generation part of the graphics loader has been moved into
752 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
754 * text2.C: layout as layout
756 * text.C: layout as layout
758 * tabular.C (OldFormatRead): layout as layout
760 * paragraph_pimpl.C (TeXDeeper): layout as layout
761 (realizeFont): layout as layout
763 * paragraph.C (writeFile): layout as layout
764 (validate): layout as layout
765 (getFont): layout as layout
766 (getLabelFont): layout as layout
767 (getLayoutFont): layout as layout
768 (breakParagraph): layout as layout
769 (stripLeadingSpaces): layout as layout
770 (getEndLabel): layout as layout
771 (getMaxDepthAfter): layout as layout
772 (applyLayout): layout as layout
773 (TeXOnePar): layout as layout
774 (simpleTeXOnePar): layout as layout
775 (TeXEnvironment): layout as layout
776 (layout): layout as layout
777 (layout): layout as layout
779 * lyxtextclass.C (compare_name): new functor to work with
780 shared_ptr, layout as layout
781 (Read): layout as layout
782 (hasLayout): layout as layout
783 (operator): layout as layout
784 (delete_layout): layout as layout
785 (defaultLayout): layout as layout
787 * lyxlayout_ptr_fwd.h: new file
789 * lyxlayout.C (Read): layout as layout
791 * lyx_cb.C (MenuInsertLabel): layout as layout
793 * bufferlist.C (newFile): layout as layout
795 * buffer.C (readLyXformat2): layout as layout
796 (parseSingleLyXformat2Token): layout as layout
797 (insertStringAsLines): layout as layout
798 (asciiParagraph): layout as layout
799 (latexParagraphs): layout as layout
800 (makeLinuxDocFile): layout as layout
801 (simpleLinuxDocOnePar): layout as layout
802 (makeDocBookFile): layout as layout
803 (simpleDocBookOnePar): layout as layout
804 (getLists): layout as layout
806 * LaTeXFeatures.C (getTClassPreamble): layout as layout
808 * CutAndPaste.C (cutSelection): layout as layout
809 (pasteSelection): layout as layout
810 (SwitchLayoutsBetweenClasses): layout as layout
812 * BufferView_pimpl.C (Dispatch): layout as layout
813 (smartQuote): layout as layout
815 * BufferView2.C (unlockInset): layout as layout
817 2002-06-24 André Pönitz <poenitz@gmx.net>
819 * lyxfunc.C: fix #487
821 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
825 * lyxfunc.C: remove display_shortcuts, show_banner
827 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
829 * Buffer_pimpl.C: oops, update on resize
831 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
838 * BufferView.C: use repaint()
840 * BufferView_pimpl.h:
841 * BufferView_pimpl.C: s/updateScreen()/repaint()/
842 as it's a clearer description. Remove superfluous
845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
847 * text.C: fix bug 488. Not ideal, but getting
848 getWord() to work properly for the insets that
849 matter is more difficult ...
851 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
853 * BufferView_pimpl.C:
856 * lyxfunc.C: remove the six million index lyxfuncs to just
857 one, and DTRT (bug 458)
859 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
863 * BufferView_pimpl.h:
864 * BufferView_pimpl.C: clean up resize() stuff,
865 and unnecessary updateScreen()s
867 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
871 * BufferView_pimpl.h:
872 * BufferView_pimpl.C:
875 * minibuffer.C: remove focus management of workarea,
876 not needed. Use screen's greyOut()
878 2002-06-17 Herbert Voss <voss@lyx.org>
880 * converter.C: (convert) do not post a message, when converting
881 fails, let the calling function decide what to do in this case
883 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
885 * lyxfunc.C: tidy up a little
887 2002-06-16 <alstrup@diku.dk>
889 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
890 Got rid of FORMS_H_LOCATION include. Now we are
893 2002-06-15 LyX Development team <lyx@rilke>
895 * buffer.[Ch] (sgmlOpenTag):
896 (sgmlCloseTag): Added support for avoiding pernicious mixed
897 content. Return number of lines written.
900 (makeDocBookFile): Fixed calls to sgml*Tag.
901 Simple white space clean.
903 (simpleDocBookOnePar): Simple white space clean.
905 * tabular.[Ch] (docBook): Renamed to docbook and got another
906 argument to related with the pernicious mixed content.
908 (docbookRow): Fixed calls for docbook inset method.
910 2002-06-15 Lyx Development team <larsbj@birdstep.com>
912 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
913 so it's X11 independent.
917 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
919 2002-06-15 Lyx Development team <lyx@electronia>
921 * intl.h: Renamed getTrans to getTransManager.
923 2002-06-14 Angus Leeming <leeming@lyx.org>
925 * Makefile.am: nuke forgotten stl_string_fwd.h.
927 2002-06-12 Angus Leeming <leeming@lyx.org>
929 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
931 2002-06-13 Angus Leeming <leeming@lyx.org>
934 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
936 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
938 * kbmap.C (getiso): add support for cyrillic and greek
940 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
944 * BufferView_pimpl.h:
945 * BufferView_pimpl.C: move bogus scrolling logic
948 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
951 * BufferView_pimpl.C: view->resize() change
953 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
955 * BufferView_pimpl.C: topCursorVisible
958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
962 * lyx_gui.C: move to frontends/
966 * lyx_main.C: changes from above
968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
975 * lyx_main.C: minor tidy
977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
979 * BufferView_pimpl.h:
980 * BufferView_pimpl.C:
982 * BufferView.C: make painter() const,
985 * BufferView2.C: use screen() accessor
988 * lyx_main.C: some minor cleanup
990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
992 * BufferView_pimpl.h:
993 * BufferView_pimpl.C: remove enter/leaveView,
996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1001 * BufferView_pimpl.h:
1002 * BufferView_pimpl.C: only construct screen once,
1005 * lyxrc.C: remove pointless comment
1007 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1010 * BufferView.C: remove active() and belowMouse()
1012 * BufferView_pimpl.h:
1013 * BufferView_pimpl.C: use workarea() not workarea_,
1014 and make it use a scoped_ptr instead
1016 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1018 * lyx_gui.C: add debug message on BadWindow
1020 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1022 * sp_spell.C: fdopen is not part of the C++ standard.
1024 * paragraph.C (InsetIterator): use >= instead of ==
1026 2002-06-07 Angus Leeming <leeming@lyx.org>
1028 Fixes needed to compile with Compaq cxx 6.5.
1029 * BufferView_pimpl.C:
1036 * lyxtextclasslist.C:
1041 all c-library variables have been moved into namespace std. Wrap
1042 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1047 Add a using std::abs declaration.
1049 * kbmap.h (modifier_pair):
1050 * paragraph.h (InsetTable, InsetList):
1051 * lyxfont.h (FontBits):
1052 type definition made public.
1054 * bufferlist.C (emergencyWriteAll): the compiler complains that
1055 there is more than one possible lyx::class_fun template to choose from.
1056 I re-named the void specialisation as lyx::void_class_fun.
1058 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1060 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1061 the compiler is is unable to find tostr in write_attribute.
1063 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1065 * buffer.C (sgmlError): hide #warning
1067 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1069 * xtl/*: get rid of xtl, which is not in use anyway
1071 * LyXAction.C (init):
1072 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1073 were unimplemented xtl experimentation
1075 2002-06-04 André Pönitz <poenitz@gmx.net>
1077 * lyxfunc.C: disable array operation on simple formulae
1079 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
1081 * converter.C: constify a bit
1083 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
1085 * lyx_gui.C: check xforms version correctly
1087 2002-04-30 Herbert Voss <voss@lyx.org>
1089 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1092 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
1094 * lyxvc.C: fix bug 416 (make sure buffer is saved before
1095 attempt to register it with a VCS)
1097 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1099 * lyx_main.C (init): honor variables LYX_DIR_13x and
1102 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1106 * lyx_main.C: fix a crash on bad command line,
1107 and give a useful exit status on error
1109 * lyxfunc.C (doImport): allow -i lyx to work
1111 2002-03-30 André Pönitz <poenitz@gmx.net>
1113 * lyxfunc.C: mathed font changes
1115 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1130 * trans_mgr.h: srcdocs, and some minor cleanups
1132 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1134 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
1135 call getFont all the time)
1137 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1139 * switch from SigC signals to boost::signals
1141 2002-05-29 André Pönitz <poenitz@gmx.net>
1143 * paragraph_pimpl.C (getChar): don't call size() too often...
1145 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1147 * paragraph_pimpl.C (insertChar): do not try to update tables when
1148 appending (pos == size())
1150 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
1151 in order to reduce drastically the number of comparisons needed to
1152 parse a large document
1154 2002-05-29 André Pönitz <poenitz@gmx.net>
1160 * textclasslist.[Ch]:
1161 * sp_ispell.h: whitespace change
1163 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1165 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
1166 lyxaction directly now.
1168 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
1172 * lyxvc.C: remove unused headers
1174 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1181 * undo_funcs.C: some cleanups. Use shared_ptr
1182 and a template for the undo stacks.
1184 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1186 * BufferView_pimpl.h:
1187 * BufferView_pimpl.C:
1194 * text2.C: use key_state/mouse_state
1196 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1198 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
1201 * chset.C: change include order
1202 (loadFile): use boost regex and get rid of LRegex and LSubstring
1204 * Makefile.am (BOOST_LIBS): new variable
1207 * LaTeX.C: change include order.
1208 (scanAuxFile): use boost regex and get rid of LRegex and
1212 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1217 * FontInfo.C: moved to frontends/xforms/
1220 * FontLoader.C: moved into frontends for GUIIzation
1225 * lyxfunc.C: changes from above
1227 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1229 * LColor.C: remove spurious X include
1231 * BufferView_pimpl.C:
1236 * text2.C: move font metrics to frontends/
1238 2002-05-24 Juergen Vigna <jug@sad.it>
1240 * undo_funcs.C (textHandleUndo): fix the cursor selection after
1241 setting the undo_cursor.
1243 * ParagraphParameters.h: include local includes first.
1245 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1247 * BufferView_pimpl.C:
1248 * BufferView_pimpl.h:
1252 * screen.C: move WorkArea into frontends/
1258 * BufferView2.C: move LyXScreen into frontends/
1262 * lyx_gui.C: move lyxlookup into frontends/xforms/
1264 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1267 * BufferView_pimpl.C:
1277 * bufferview_funcs.C:
1290 * vc-backend.C: move LyX/XFormsView into frontends/
1292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1304 * text2.C: move Painter to frontends/
1306 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1308 * buffer.C: comment out some some code that depend upon lyx_format
1311 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
1312 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
1314 * buffer.h (NO_COMPABILITY): turn off compability
1316 * ColorHandler.C: include scoped_array.hpp
1318 * font.C: Use more specific smart_ptr header.
1321 * ShareContainer.h: ditto
1325 * BufferView_pimpl.h: ditto
1326 * ColorHandler.h: ditto
1328 * kbmap.C (defkey): change call to shared_ptr::reset
1330 2002-05-21 Juergen Vigna <jug@sad.it>
1332 * buffer.C (insertErtContents): fix to insert ert asis if it is
1333 non empty. Skip it completely if it contains only whitespaces.
1335 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1337 * BufferView_pimpl.C:
1338 * BufferView2.C: clear selection on paste (bug 393)
1340 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1342 * DepTable.C: include ctime
1344 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1346 * buffer.C (latexParagraphs): Add new argument (moving_arg).
1348 2002-05-14 Juergen Vigna <jug@sad.it>
1350 * text.C (breakParagraph): fixed function to honor the keepempty
1351 layout in the right maner and also to permit the right breaking
1352 algorithm on empty or non empyt keepempty paragraphs.
1354 * paragraph.C (breakParagraph): we have to check also if the par
1355 is really empty (!size()) for isempty otherwise we do the wrong
1358 2002-05-10 Juergen Vigna <jug@sad.it>
1360 * buffer.[Ch] : The following are only changes to the ert
1361 compatibility read reading old LaTeX layout and font stuff and
1362 convert it to ERTInsets.
1364 * buffer.h: added isErtInset().
1366 * buffer.C (struct ErtComp): add a fromlayout bool to check
1367 if we're inside a LaTeX layout.
1368 (isErtInset): new helper function.
1369 (insertErtContents): look for other ert insets before this one
1370 and insert the contents there, so that we don't have subsequent
1371 ERT insets with nothing between them. This way we create only one
1372 inset with multiple paragraphs. Also check if we don't insert only
1373 spaces ' ' as they are ignored anyway afterwards in the .tex file
1374 so if we have only spaces we will ignore this latex part in the
1376 (parseSingleLyXformat2Token \\layout): better compatibility when
1377 reading layout-latex stuff.
1378 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
1380 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
1381 stuff after reading the inset only get the information back from
1384 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
1386 * buffer.C (makeLaTeXFile): Put language options after loading babel.
1388 * LaTeXFeatures.C (getBabelOptions): New method.
1390 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * BufferView_pimpl.C (Dispatch): work around missing argument for
1395 2002-05-08 Juergen Vigna <jug@sad.it>
1397 * text.C (leftMargin): handle paragraph leftindent.
1399 * paragraph.C (writeFile): write the new \\leftindent tag.
1400 (validate): handle leftindent code.
1401 (TeXEnvironment): handle paragraphleftindent code again.
1403 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
1405 * buffer.C (parseSingleLyXformat2Token): added compatibility code
1406 for paragrap_extra indent code and new token \\leftindent.
1407 (latexParagraphs): handle the leftindent as environment.
1409 * ParameterStruct.h: added leftindent support.
1411 * ParagraphParameters.C (leftIndent): added support functions for
1412 the paragraph left indent.
1414 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
1417 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1419 * paragraph.C (isRightToLeftPar): Return false for a paragraph
1422 * text.C (computeBidiTables): No bidi in insetERT.
1424 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
1427 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1429 * version.C.in: pre 5
1431 2002-05-02 José Matos <jamatos@fep.up.pt>
1432 * buffer.C (makeDocBookFile): white space changes, add newline to
1434 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
1436 * tabular.C (docBook): fix typo.
1438 2002-05-03 Juergen Vigna <jug@sad.it>
1440 * screen.C (drawFromTo): recalculate the rowpointer if we had a
1441 change in LyXText as we can not be sure it was not freed.
1442 (drawOneRow): remove unused code.
1444 * text.C (drawInset): redo the calculation of the need_break_row as
1445 it could have a row which was already freed.
1446 (draw): look at the return value of drawInset and return false if
1447 it also returned false.
1448 (paintRowText): look at the return value of draw and return false if
1449 it also returned false.
1451 * lyxtext.h: added bool return type to drawInset() and draw() so that
1452 if we have a change in the row so that the rowbreak has to be redone
1453 we abort drawing as it will be called again.
1455 2002-05-02 Juergen Vigna <jug@sad.it>
1457 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
1458 a change in the maintext also if we're inside an inset.
1459 (Dispatch): set the cursor again after a break line and after the
1460 screen has been updated as it could be we're in a different row.
1462 * text2.C (fixCursorAfterDelete): check to make sure we don't request
1463 to set the cursor behind the pargraph with > size().
1464 (setCursor): check also for the same paragraph when checking where
1465 to put the cursor if we have a NFR inset.
1467 * buffer.C (parseSingleLyXformat2Token): move the compatibility
1468 parts of layout read further up as it still was in the wrong
1471 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1473 * screen.C (drawFromTo): change sine fullRebreak always return
1476 * buffer.C (parseSingleLyXformat2Token): reindent some
1478 * BufferView_pimpl.C (update): change since fullRebreak always
1480 (Dispatch): git rid of the last hardcoded "Standard"s.
1482 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1484 * text2.[Ch] (fullRebreak): make it return void now that we always
1487 2002-04-30 Juergen Vigna <jug@sad.it>
1489 * buffer.C (parseSingleLyXformat2Token): reset the font before the
1490 ert compatibility check for "latex" layout.
1492 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
1494 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
1495 minipages: use col% instead of p%, and also use the current font.
1496 (makeLaTeXFile): Fix use babel condition.
1497 (parseSingleLyXformat2Token): Correct font when reading old floats.
1499 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1501 * BufferView_pimpl.C (Dispatch): Check that float type exists when
1502 inserting list of floats.
1504 2002-04-25 Herbert Voss <voss@lyx.org>
1506 * MenuBackend.C (expand): don't add the graphics extensions to the
1509 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1511 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
1512 non-existing layout, do not complain if it was the default layout
1513 of the original class (bug #342)
1515 2002-04-24 Juergen Vigna <jug@sad.it>
1517 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
1518 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
1520 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1522 * buffer.C (getBibkeyList): If using \bibliography, return the
1523 option field with the reference itself. Enables us to provide natbib
1524 support when using \bibliography.
1526 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
1528 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
1530 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
1531 natbib is provided by the LaTeX class.
1533 2002-04-23 Juergen Vigna <jug@sad.it>
1535 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
1538 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
1540 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1542 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
1544 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
1545 ensuremath around textordmasculine, textordfeminine and
1548 2002-04-19 Juergen Vigna <jug@sad.it>
1550 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
1551 reinitializing the buffer otherwise row-dimensions may be wrong.
1552 (update): reset also the selection cursors if they do exits otherwise
1553 their x/y positions may be wrong.
1555 * text2.C (cursorDown): don't enter the inset if we came from a row
1556 above and are one row over the inset.
1558 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
1559 really leaving an inset.
1561 2002-04-18 Juergen Vigna <jug@sad.it>
1563 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
1564 of the selected paragraph does not have the selected layout also if
1567 * text2.C (setLayout): fixed bug which did not change last selected
1570 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
1571 changed the read and substituted \\end_float with \\end_inset!
1573 * BufferView_pimpl.C (cursorPrevious):
1574 (cursorNext): fixed to make it work with rows heigher than the work
1575 area without moving the cursor only the draw of the row.
1576 (workAreaMotionNotify): fix jumping over high rows.
1578 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1580 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
1583 2002-04-16 Juergen Vigna <jug@sad.it>
1585 * text2.C (setCursor): set also the irow().
1586 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
1588 (cursorDown): support for locking an inset if the x_fix value goes
1589 inside it. That way I can transverse insets too with cursor up/down.
1591 * lyxrow.h: added irow helper function same as other (i) functions.
1593 * BufferView_pimpl.C (cursorPrevious):
1594 (cursorNext): fixed for insets!
1596 2002-04-15 Juergen Vigna <jug@sad.it>
1598 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
1599 position otherwise it is wrong in some cases.
1601 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
1602 inside the inset before the call.
1604 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1606 * buffer.[Ch] (getBibkeyList): make it const.
1608 2002-04-12 Juergen Vigna <jug@sad.it>
1610 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
1612 * text2.C (getCursorX): new helper function
1613 (setCursor): compute also ix_
1614 (setCursorFromCoordinates): set also ix.
1616 * lyxcursor.h: added ix_ and helper functions.
1618 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
1620 * buffer.C (insertStringAsLines): dont break paragraph if the this
1621 paragraph is inside an inset which does not permit it!
1623 * text.C (breakParagraph): honor keepempty flag and break the paragraph
1624 also with no chars on this paragraph.
1625 (paintRowText): only paint stuff if it's inside the workarea!
1627 * paragraph.C (breakParagraph): honor keepempty flag and break the
1628 paragraph always below not above.
1630 * BufferView2.C (unlockInset): update the paragraph layout on inset
1631 unlock as we changed paragraph in such a case.
1633 * lyxfind.C (LyXFind): clear the former selection if not found!
1635 * text2.C (insertInset): freeze Undo after setUndo so that it is not
1636 again called in insertChar().
1638 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
1639 an inset which uses the whole row!
1640 (rightMargin): ditto.
1641 (insertChar): force a rebreak if we inserted an inset!
1643 2002-03-28 Herbert Voss <voss@lyx.org>
1645 * lyxlength.[Ch]: add inBP() to get the right PS-point
1646 units (BigPoint). With inPixels we have rounding errors
1648 2002-04-11 Juergen Vigna <jug@sad.it>
1650 * text2.C (setCursorFromCoordinates): set iy to the right value.
1651 (setCursor): add check if row->previous exists!
1653 * buffer.C (parseSingleLyXformat2Token): reset font after read of
1654 an old float_type as this was the case in the old code!
1656 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
1658 * BufferView2.C (showLockedInsetCursor): use iy
1659 (fitLockedInsetCursor): ditto
1661 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
1662 locked insets as there we have the right value now.
1664 * lyxcursor.C: added iy_ variable and iy functions to set to the
1665 baseline of cursor-y of the locked inset.
1667 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
1668 (setCursor): fixed for insets which need a full row.
1670 * text.C (rowLastPrintable): don't ignore the last space when before
1671 an inset which needs a full row.
1672 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
1673 as last character of a row when before a inset which needs a full row.
1675 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1677 * version.C.in: update date
1679 * text2.C (fullRebreak): try to always return true and see what
1682 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1684 * MenuBackend.C (expand): use Floating::listName
1686 * FloatList.C (FloatList): add listName argument to the built-in
1689 * Floating.[Ch]: add listName member, which is the 'List of XXX'
1690 text associated with the float.
1692 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1694 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
1696 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1698 * ShareContainer.h: add a couple of missing typenames.
1700 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
1702 * lyxrc.C (getDescription): use _() correctly rather than N_().
1704 2002-03-28 Herbert Voss <voss@lyx.org>
1706 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
1707 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
1709 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1711 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
1712 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
1714 2002-03-29 Juergen Vigna <jug@sad.it>
1716 * lyxfunc.C (dispatch): add a missing fitCursor call.
1718 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
1719 it was scrolled by a cursor move, so return the bool status.
1721 * BufferView.C (fitCursor): return the bool flag also to the outside
1722 world as this is needed.
1724 * screen.C (toggleToggle): don't subtract the offset if it's positive.
1726 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
1727 call the edit() as it is not needed (and wrong) IMO.
1728 (workAreaButtonPress): set the screen_first variable before evt.
1729 unlock the inset as this may change screen_first and then we have
1730 a wrong y position for the click!
1732 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1734 * MenuBackend.C (expand): another translation that I missed
1736 2002-03-28 Juergen Vigna <jug@sad.it>
1738 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
1740 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
1742 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1744 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
1746 * MenuBackend.C (expand): fix export/view/update when there is no
1749 2002-03-27 Herbert Voss <voss@lyx.org>
1751 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
1754 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1756 * bufferview_funcs.C (currentState): only show paragraph number
1757 for is DEVEL_VERSION is set.
1759 * lyxfunc.C (dispatch): put warning in INFO channel
1761 * MenuBackend.C (expand): translate the name of floats
1763 * FloatList.C (FloatList): mark the float names for translation
1765 * converter.C (convert): use LibScriptSearch
1767 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1769 * MenuBackend.C (defaults): fix default menu (we might as well get
1772 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1774 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
1777 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1779 * lyxvc.C: reorder includes.
1781 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
1783 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
1786 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
1788 * CutAndPaste.C: change layouts earlier on paste
1789 to avoid crashing when calling getFont()
1791 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1793 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
1796 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1798 * WorkArea.C: remove 'Pending' debug message.
1800 * most files: ws cleanup
1802 * buffer.[Ch]: ws changes
1804 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
1806 2002-03-21 Juergen Vigna <jug@sad.it>
1808 * tabular.C (SetMultiColumn): collapse also the contents of the
1809 cells and set the last border right. Added a Buffer const * param.
1811 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1813 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
1816 2002-03-19 Juergen Vigna <jug@sad.it>
1818 * text2.C (clearSelection): reset also xsel_cache.
1820 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
1821 where it needs to be called (John tells us to do so too :)
1822 (selectionLost): reset sel_cache.
1824 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
1826 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1828 * text2.C (setCursorIntern): put debuging code in INSETS channel
1830 2002-03-19 André Pönitz <poenitz@gmx.net>
1832 * lyxfunc.C: tiny whitespace change
1834 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1836 * ToolbarDefaults.C (init):
1837 * LyXAction.C (init):
1839 * BufferView_pimpl.C (Dispatch):
1840 * lyxfunc.C (dispatch): remove LFUN_DEPTH
1842 2002-03-19 Allan Rae <rae@lyx.org>
1844 * exporter.C (Export): removeAutoInsets before doing anything else.
1845 While I've just introduced a dependency on BufferView this really is
1846 the best place to clean the buffer otherwise you need to cleanup in
1847 a dozen places before calling export or cleanup in a dozen functions
1850 * converter.C (runLaTeX):
1851 (scanLog): Better handling of removeAutoInsets and screen updates.
1853 * lyxfunc.C (dispatch): small whitespace changes
1855 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1857 * WorkArea.C (C_WorkAreaEvent): return a value.
1858 (event_cb): return 1 if we handled the event, 0 otherwise.
1860 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
1862 2002-03-18 Juergen Vigna <jug@sad.it>
1864 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
1865 (GetAdditionalWidth): ditto.
1869 * BufferView2.C (copy): use getLyXText() so that we do it inside an
1870 inset if we're there actually (probably not used right now but this
1871 is the direction to go for unifying code).
1872 (paste): disable code to clear the selection.
1874 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
1875 inside an InsetText and move the check further up as it is in the
1878 * text2.C (pasteSelection): set a selection over the pasted text.
1880 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
1882 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
1883 and libgraphics to build on Cygwin.
1885 2002-03-15 Juergen Vigna <jug@sad.it>
1887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
1888 inserting an Inset into the paragraph. I know this is not the best
1889 fix but we already use current_view in CutAndPaste so we will remove
1890 all of it's using at the same time.
1892 * buffer.C (sgmlError): deactivated function till it is rewritten in
1893 the right mode, now it can create problems.
1895 * paragraph.C (isLineSeparator): check if getInset returns != 0,
1896 before accessing it.
1898 2002-03-14 Juergen Vigna <jug@sad.it>
1900 * undo_funcs.C (textHandleUndo): do the right thing when updating
1901 the inset after the undo/redo.
1903 * text2.C (setCursor): just some testcode for #44 not ready yet.
1905 * undo_funcs.C (textHandleUndo): set the next() and previous()
1906 pointers of the paragraph to 0 before deleting otherwise we have
1907 problems with the Paragraph::[destructor].
1909 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
1910 on a paragraph insertion.
1912 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1914 * buffer.C (asciiParagraph): use += operator for char append to
1917 * paragraph.C (getFontSettings): compare >= not just >
1918 (highestFontInRange): ditto
1921 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1923 * paragraph.C: change several algorithm to be more appripriate for
1924 the problem domain. This is lookip in FontList and in the InsetList.
1926 2002-03-13 André Pönitz <poenitz@gmx.net>
1929 * LyXAction.C: remove unused LFUN_MATH_MACROARG
1931 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
1936 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
1938 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1940 * Painter.C (display): anon helper function, adjust code for this
1942 (pixmap): remove function.
1944 * Painter.h: remove private display variable.
1946 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
1948 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
1950 * WorkArea.[Ch]: remove figinset_canvas cruft.
1952 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1954 * lyxtextclass.C (operator): add one item cache optimization.
1956 * bufferlist.h: doxy changes
1958 * bufferlist.C: ws changes
1960 * DepTable.[Ch] (ext_exist): place const in the right spot.
1962 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
1964 (workAreaExpose): call resizeInsets when the with BufferView changes.
1965 (Dispatch): adjust for protectedBlank removal
1966 (specialChar): call updateInset if the insert went ok.
1968 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
1969 specialChar instead.
1971 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
1973 * BufferView.h: doxy change
1975 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
1977 * lyxtextclass.C (operator[]): remove non-const version
1978 (defaultLayout): remove non-const version
1980 2002-03-12 Juergen Vigna <jug@sad.it>
1982 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
1983 did resize the LyXText too.
1985 * buffer.C (readLyXformat2): set layout information on newly allocated
1988 * tabular.C (OldFormatRead): set layout information on the paragraph.
1990 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
1992 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
1994 2002-03-11 Juergen Vigna <jug@sad.it>
1996 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
1998 (resizeCurrentBuffer): force also the insets to resize themselfes.
1999 (moveCursorUpdate): fixed up for InsetText.
2001 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2004 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2005 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2006 value of Dialogs::tooltipsEnabled().
2007 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2009 2002-03-08 Juergen Vigna <jug@sad.it>
2011 * BufferView_pimpl.C (updateInset): update inset inside inset also
2012 if it isn't inside theLockingInset().
2014 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2016 * buffer.C (asciiParagraph): redo some of the word and line length
2018 (getLists): look for Caption instead of caption.
2020 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2022 * buffer.C (Buffer): initialize niceFile to true
2025 (makeDocBookFile): make sure niceFile is true on exit
2027 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2029 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2031 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2033 * LyXSendto.C: remove.
2034 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2035 * lyx_gui.C: remove now-redundant comment.
2036 * ColorHandler.h: remove forward declaration of class WorkArea.
2037 * lyxfunc.C: remove #include "WorkArea.h".
2039 2002-03-07 Juergen Vigna <jug@sad.it>
2041 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2042 got moved away with the DEPM and also set the inset_owner always
2043 right which before could have been omitted.
2045 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2047 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2048 wanted layout is not found.
2050 2002-03-07 Juergen Vigna <jug@sad.it>
2052 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2054 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2056 * paragraph.C (breakParagraph): use default layout not layout of
2058 (Paragraph): clear ParagraphParameters.
2060 2002-03-06 Juergen Vigna <jug@sad.it>
2062 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2063 otherwise it would not be a valid lenght. Fixed a special case in
2064 the minipage compatibility read where we end the document with a
2067 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2068 was set as it could be 0 for InsetTexts first entry.
2070 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2072 * paragraph.C (writeFile): if layout is empty write out
2073 defaultLayoutName().
2075 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2076 file without named layout we set layout to defaultLayoutName().
2078 2002-03-06 Juergen Vigna <jug@sad.it>
2080 * CutAndPaste.C (copySelection): set layout for new paragraph.
2082 * text.C (prepareToPrint): leave ERT inset left aligned
2083 (leftMargin): don't indent paragraphs inside ERT insets
2085 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2087 * paragraph.C (breakParagraph): dont call clear do the work manually
2089 * paragraph.[Ch] (clear): remove function
2091 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2093 * paragraph.C (Paragraph): dont call clear, the work has already
2096 * lyxtextclass.C (operator): assert if n is empty
2098 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2099 work manually instead.
2101 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2103 * BufferView_pimpl.C: protect selectionLost against text == 0
2105 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2107 * text.C (breakParagraph): fix a setting layout to '0' problem.
2109 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2111 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
2112 final location of file, for the included files, and graphics.
2114 2002-03-05 Juergen Vigna <jug@sad.it>
2116 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
2118 2002-03-04 Juergen Vigna <jug@sad.it>
2120 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
2122 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
2123 last column of multicolumn cells.
2124 (SetWidthOfMulticolCell): recalculate NMC and real columns.
2126 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2128 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
2129 file if it doesn't go to a temporary file.
2131 * buffer.C (sgmlOpenTag):
2132 (sgmlCloseTag): remove extra newline insertion.
2134 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2136 * text.C (getRowNearY): comment out debug msg
2138 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2140 * text2.C: first -> first_y
2142 * text.C (getRowNearY): add some attemts at a possible
2143 optimization, not working.
2145 * tabular.[Ch]: add BufferParams to several function so that newly
2146 created paragraph can be initialized to he default layotu for the
2149 * tabular-old.C (ReadOld): add buf->params to call of Init
2151 * screen.C: rename text->first to text->first_y
2153 * paragraph.C (breakParagraph): always set layout in the broken
2156 * lyxtextclass.C (Read): remove lowercase
2159 (delete_layout): ditto
2161 * lyxtext.h: rename first -> first_y
2163 * lyxlayout.C (Read): remove lowercase
2166 (obsoleted_by): ditto
2168 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
2170 * buffer.C (insertErtContents): add params are to InsetERT
2171 (parseSingleLyXformat2Token): add code to check if a paragraphs
2172 layout really exist.
2173 (parseSingleLyXformat2Token): add params to several inset
2175 (asciiParagraph): remove lowercase, do the layout comparisons with
2178 * BufferView_pimpl.C (cursorNext): first -> first_y
2179 (resizeCurrentBuffer): first -> first_y
2180 (updateScrollbar): first -> first_y
2181 (scrollCB): first -> first_y
2182 (workAreaMotionNotify): first -> first_y
2183 (workAreaButtonPress): first -> first_y
2184 (checkInsetHit): first -> first_y
2185 (cursorPrevious): first -> first_y
2186 (cursorNext): first -> first_y
2187 (Dispatch): add buffer_->params to severl inset contructors
2189 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2191 * lyxlayout.C (Read): remove some debug info that I forgot.
2193 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
2194 clean up the code slightly.
2195 (makeLinuxDocFile): ditto
2196 (makeDocBookFile): ditto
2198 * text2.C: layout as string
2200 * text.C: layout as string
2202 * paragraph_pimpl.C: layout as string
2204 * paragraph.[Ch]: layout as string
2206 * lyxtextclasslist.[Ch]: layout as string
2208 * lyxtextclass.[Ch]: layout as string
2210 * lyxtext.h: layout as string
2212 * lyxlayout.[Ch]: layout as string
2214 * lyx_cb.C: layout as string
2216 * bufferview_funcs.C: layout as string
2218 * bufferparams.C: layout as string
2220 * buffer.C: layout as string
2222 * LyXView.[Ch]: layout as string
2224 * LaTeXFeatures.[Ch]: layout as string
2226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
2228 * BufferView_pimpl.C: change current_layout to string, remove
2233 (workAreaButtonRelease): layout as string
2235 * BufferView2.C (unlockInset): adjust
2237 * vspace.C (asLatexCommand): use an explict temp variable.
2239 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2241 * Makefile.am: use FRONTEND_*
2243 2002-03-01 Juergen Vigna <jug@sad.it>
2245 * tabular.C (SetWidthOfMulticolCell): changed to something better
2246 I hope but still work in progress.
2247 (recalculateMulticolumnsOfColumn): renamed function from
2248 recalculateMulticolCells as it is more appropriate now.
2249 (SetWidthOfCell): calculate multicols better.
2251 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2253 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
2255 * lyxfunc.C (processKeySym): print sequence also if it is
2256 `deleted' (complete)
2258 * kbsequence.C (print): print sequence even if it is deleted
2259 (complete would be a better word, actually).
2261 * lyxfunc.C (dispatch): print complete options after a prefix key
2263 * vspace.C (asLatexCommand): rewrite in a slightly different form.
2265 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
2267 * text2.C (setCharFont): eliminate setCharFont code duplication.
2269 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2271 * BufferView_pimpl.C (Dispatch): remove bogus handling of
2272 LFUN_TABULAR_FEATURE (bug #177)
2274 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
2276 * Makefile.am: remove figure.h
2278 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2280 * Bufferview_pimpl.C:
2292 * text2.C: remove #include "lyx_gui_misc.h".
2294 * LaTeX.C: added #include <cstdio>
2296 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2298 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
2299 that the paragraph following this one can have.
2301 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
2303 * vspace.C (asLatexCommand): fix bogus gcc warning
2305 * Makefile.am (lyx_SOURCES): remove vms_defines.h
2307 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
2309 * text2.C (setLayout): get rid of redundant code
2311 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
2313 * text2.C (incDepth): make sure depth cannot be increased beyond
2316 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
2318 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
2319 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
2321 * PainterBase.h (image):
2322 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
2325 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2329 * BufferView_pimpl.C:
2330 * BufferView_pimpl.h:
2350 * sp_spell.C: remove fig inset, and the crap house of
2351 cards that follows it
2353 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2359 * nt_defines.h: move .h into support/
2361 * vms_defines.h: remove
2363 * WorkArea.C: add space in debug output
2367 * buffer.C: add WITH_WARNINGS
2371 * bufferlist.C: s/retrive/retrieve/, add docs
2382 * lyxgui.C: add ID to X error handler
2384 * lyxtestclass.c: fix typo
2386 2002-02-26 Juergen Vigna <jug@sad.it>
2388 * tabular_funcs.C (write_attribute): changed so that some default
2389 attributes are not written at all.
2390 (getTokenValue): set default values before trying to read the
2391 value so we have the return value always set as default if we don't
2392 find the token we search for.
2394 * tabular.C (Write): write bools as bools not as strings!
2396 2002-02-22 Juergen Vigna <jug@sad.it>
2398 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
2399 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
2401 * text.C (leftMargin): don't add an indent for paragraphs inside
2402 tabular cells (fix #208).
2404 2002-02-21 José Matos <jamatos@fep.up.pt>
2406 * tabular.C (docBook): fixed support for long tables.
2408 2002-02-20 Juergen Vigna <jug@sad.it>
2410 * text2.C (getFont): get the drawing font of the Inset if this
2411 paragraph is inside an inset (only important for InsetERT for now).
2413 * buffer.C (insertErtContents): use new lanugage params in ERT
2416 * CutAndPaste.C: commenting out seemingly uneeded code.
2418 2002-02-19 Allan Rae <rae@lyx.org>
2420 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
2421 Iterators might be simple to use but they also get invalidated.
2422 (removeAutoInsets): renamed saved cursor tracking variables and added
2423 some comments to clarify what everything does.
2425 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2432 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
2433 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2436 * vc-backend.h: remove #include "support/syscall.h"
2440 * converter.C: rearrange #includes in Lars' approved fashion.
2442 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
2443 forward declare class Timeout in the header file.
2445 * XFormsView.C: changes due to the above.
2447 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
2450 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
2451 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
2453 2002-02-18 José Matos <jamatos@fep.up.pt>
2455 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
2458 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2460 * a lot of small ws changes
2461 * add a lot of using std::XXX
2462 * use std construcs some places where approp.
2463 * use some exisint stuff from lyxfunctional where approp.
2464 * Make file changes to use partial linking (lets test this now...)
2466 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2470 remove #include "support/syscontr.h" as it's redundant. Always has been.
2478 change Systemcalls::System to Systemcalls::Wait and
2479 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
2480 No change of functionality, just reflects the stripped down Systemcalls
2483 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2485 * debug.[Ch]: add a GRAPHICS type to the enum.
2487 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2489 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
2491 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
2494 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2496 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
2497 match the changes below.
2499 * text2.C (toggleInset): if there is not editable inset at cursor
2500 position, try to see if cursor is _inside_ a collapsable inset
2503 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2505 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
2506 document menu has a nice checkbox
2508 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2510 * lyxlength.C (asLatexString): change PW to output as percent of
2513 * lengthcommon.C: change '%' to 't%'
2515 * lyxfunc.C (dispatch): a few comments from Martin
2517 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
2521 * BufferView_pimpl.h:
2522 * BufferView_pimpl.C: clear our selection when X tells us we've lost
2525 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2527 * vspace.C (inPixels): fix compiler warning
2529 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2531 * lyxfunc.C (getStatus): fix status message for disabled commands.
2533 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
2535 * BufferView_pimpl.C: fix crash on close buffer
2536 during selection (#227)
2538 2002-01-27 Herbert Voss <voss@lyx.org>
2540 * buffer.C: link old Figure to new graphic inset
2542 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
2544 * FontLoader.C (getFontinfo): Change the latex font names in order
2545 to match the names of type1inst.
2547 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2549 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
2551 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
2554 (remove_files_with_extension): ditto
2555 (remove_file): ditto
2558 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
2559 document is smaller than the work area height. Do not initialize
2560 static variables to 0.
2562 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2564 * lyx_gui.C (init): give the toolbar tooltips a normal font.
2566 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
2567 LFUN_LAYOUT_PARAGRAPHS.
2569 * tabular.C (GetCellFromInset): new method. Finds an inset in a
2570 tabular. It is possible to provide a possible cell, which will
2571 typically be the actcell from the corresponding insettabular
2573 * lyxfunc.C (getStatus): small cleanup; disable
2574 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
2577 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2579 * tabular.C (Validate): remove broken optimization (fixes bug #201)
2581 * paragraph.C (startTeXParParams):
2582 (endTeXParParams): new methods. The LaTeX code to
2583 start/end paragraph formatting
2584 (simpleTeXOnePar): call startTeXParParams also when paragraph is
2585 empty (fixes bug #200)
2587 * vspace.C (inPixels): adapt to the change below
2588 (inPixels): [later] more cleanups (remove unused variables)
2590 * lyxlength.C (inPixels): change to use a width and a height as
2593 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2595 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
2596 Replaced with \paperwidth
2598 * DepTable.C (insert): add std:: qualifier
2600 2002-01-18 Allan Rae <rae@lyx.org>
2602 * text2.C (removeRow): add comment. Should other refresh_?? vars be
2605 * text.C (drawInset): Turned out I didn't know enough about how
2606 rebreaking worked. This fixes most of the redraw problems. I see
2607 an occasional cursor trail when a line is broken now and the cursor
2608 placement can seem out by a few pixels also after a rebreak.
2610 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2612 * buffer.C (parseSingleLyXformat2Token): update because minipage
2613 width is now a LyXLength
2615 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
2617 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
2620 2002-01-17 Juergen Vigna <jug@sad.it>
2622 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
2624 * BufferView2.C (lockInset): call edit() so that theLockingInset()
2625 is set correctly and the inset is updated correctly.
2627 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2629 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
2630 the beginning of the loop.
2632 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
2634 * lyxrc.C: improve help for use_scalable_fonts
2636 2002-01-17 Allan Rae <rae@lyx.org>
2638 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
2640 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2642 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
2643 make sure to set their inset_owner to the right value (bug #171)
2645 2001-12-12 Ben Stanley <bds02@uow.edu.au>
2648 * DepTable.C: Implement mtime checking to reduce time spent doing
2651 2002-01-16 Juergen Vigna <jug@sad.it>
2653 * tabular.C (GetAdditionalHeight): one of error fixed.
2655 * lyxrc.C (output): small fix in writing use_pspell.
2657 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
2659 * sp_base.h: #include LString.h
2661 2002-01-16 Allan Rae <rae@lyx.org>
2663 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
2664 Can someone check this please?
2666 * text.C (drawInset): It was possible that p.row would be removed by
2667 breakAgainOneRow upsetting a few other settings. There may be another
2668 small tweak possible by setting need_break_row = 0 when p.row has been
2669 removed but I don't know enough about the logic here.
2671 2002-01-15 Allan Rae <rae@lyx.org>
2673 * text.C (insertChar): removed conditional truism.
2675 * BufferView2.C (removeAutoInsets): More tweaks.
2676 cur_par_prev could be a stray pointer. Check for trailing empty line
2677 in case last line was cur_par and only had an error inset on it.
2679 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2681 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
2684 * vc-backend.C (most methods):
2685 * exporter.C (Export):
2686 * converter.C (convert):
2688 * LyXSendto.C (SendtoApplyCB):
2689 * lyxfunc.C (dispatch):
2693 * lyx_cb.C (AutoSave):
2695 * BufferView_pimpl.C (MenuInsertLyXFile):
2696 * buffer.C (runChktex): use Buffer::filePath().
2698 * buffer.h: rename filename to filename_; rename filepath to
2699 filepath_ and make it private
2700 (filePath): new method
2702 * buffer.C (writeFile): use fileName()
2705 * lyx_main.C (init): fix starting of LyX when the binary is a
2706 link from so,ewhere else.
2708 * minibuffer.C: include <cctype> for isprint
2710 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2712 * buffer.C (parseSingleLyXformat2Token): changes associated with the
2713 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
2714 name clash with InsetCollapsable's width function.
2716 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2718 * lastfiles.C: include <iterator>
2720 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2722 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
2725 * buffer.C (makeLaTeXFile): ditto.
2726 Also make loop operation more transparent.
2728 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2730 * ToolbarDefaults.C: remove trailing comma closing namespace.
2732 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
2734 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
2737 * trans.C (Load): comment out unused variable, allowed.
2739 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
2741 * minibuffer.[Ch] (append_char): new method to recieve input from the
2742 drop-down completion browser. If a key was pressed, then recieve this
2743 char and append it to the existing string.
2744 (peek_event): modify the positioning data passed to the completion
2745 browser so that it can be placed above the minibuffer rather than below.
2746 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2748 * LyXAction.C (init): alloe error-next for readonly documents.
2750 * BufferView2.C (ChangeRefsIfUnique): use standard version of
2753 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2755 * bufferlist.C (readFile): create the buffer _after_ checking that
2758 * lyxfunc.C (verboseDispatch): fix handling of arguments
2760 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
2762 * lyxrc.C: use string::erase() instead of initializing to "".
2765 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2767 * BufferView_pimpl.h:
2768 * BufferView_pimpl.C:
2771 * text2.C: tell X when we have made a selection for copying
2773 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2775 * BufferView_pimpl.C (MenuInsertLyXFile):
2776 * lyxfunc.C (menuNew):
2778 (doImport): add shortcuts to directory buttons
2780 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
2783 * lyxfunc.C (setStatusMessage):
2784 (getStatusMessage): new methods
2785 (getStatus):use setStatusMessage instead of setErrorMessage
2786 (dispatch): when function is disabled, set error message here
2787 [instead of in getStatus previously]
2789 * BufferView_pimpl.C (workAreaButtonRelease): update
2790 toolbar/menubar here too.
2792 2002-01-13 Allan Rae <rae@lyx.org>
2794 * BufferView2.C (removeAutoInsets): finished off earlier fix.
2795 Now seems indestructible. Remaining task is to audit all other
2796 code affected by deleteEmptyParagraphMechanism. One small quirk
2797 left is that an empty document with an error in the preamble can
2798 be made to report an error but no error box appears. I don't know
2800 (removeAutoInsets): Improved comments.
2802 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
2805 * Thesaurus.C: update for Aiksaurus 0.14
2807 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2809 * text2.C (firstParagraph): removed member function, all uses
2810 replaces with ownerParagraph
2811 (redoParagraphs): here
2813 (toggleAppendix): here
2814 * BufferView2.C (insertErrors): here
2815 (setCursorFromRow): here
2817 2002-01-13 Allan Rae <rae@lyx.org>
2819 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
2820 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
2821 There is still a way to segfault this although you may have to do this
2822 multiple times: Have an InsetERT with an unknown command in it.
2823 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
2824 <down-arrow>, <Enter> again, View->DVI, BANG!
2826 * text2.C (setCursor):
2827 (deleteEmptyParagraphMechanism):
2828 * lyxtext.h (setCursor):
2829 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
2830 Making use of the return value may help fix other bugs.
2832 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2834 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
2836 * LyXView.C (updateMenubar): call MenuBar::update here
2837 (updateToolbar): but not here
2838 (showState): do not update toolbar/menubar
2840 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
2841 should need to care about that.
2843 * lyxfunc.C (verboseDispatch): simplify a bit
2844 (getStatus): have a version which takes a pseudoaction, and
2845 another which requires a (kb_action,string).
2847 * LyXAction.C (retrieveActionArg): make it work also when action
2848 is not a pseudo-action.
2849 (getActionName): simplify a bit
2852 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2854 * lyxfunc.C (verboseDispatch): new families of methods with
2855 several ways to specify a command and a bool to indicate whether
2856 the command name and shortcut should be displayed in minibuffer
2857 (eventually, we could extend that to a finer bitmask like
2858 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
2859 (dispatch): the pristine dispatch command which just, well,
2860 dispatchs! Note it still sets its result to minibuffer; I'm not
2863 * lyxfunc.h: remove setHintMessage
2865 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
2867 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2869 * BufferView_pimpl.C (specialChar): delete new inset if we have
2870 not been able to insert it.
2872 * kbmap.C: revert to using int instead of kb_action, since all we
2873 are dealing with is pseudo-actions.
2875 * LyXAction.C (searchActionArg): change to return int instead of
2876 kb_action, since the result is a pseudoaction.
2878 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
2880 * buffer.C (insertErtContents): Fix (partially) the font bug.
2882 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
2884 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
2885 as the other one is broken on my machine!
2887 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
2890 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
2892 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
2894 * lyxrc.[Ch]: change names and descriptions of popup font variables to
2895 reflect their actual use. Provide compatibility code for older lyxrc
2898 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
2900 change names of popup font variables in line with the changes to lyxrc.C
2902 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2904 * buffer.C (asciiParagraph): avoid outputing a word twice after
2907 * lyxrc.C (getDescription): document that document_path and
2908 template_path can be empty.
2910 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2912 * LaTeXFeatures.C (getMacros):
2913 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
2915 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
2917 * LaTeXFeatures.C (useFloat): require "float" here instead of in
2919 (getPackages): rename feature "floats" to "float". Use an array to
2920 iterate over 'simple' features (i.e. just a \usepackage). Add
2921 handling of "amsmath" (renamed from "amsstyle").
2923 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
2925 * LaTeXFeatures.C (require): Prevent duplicate entries in the
2928 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
2930 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
2931 FuncStaus::FuncStatus & FuncStaus::some_method().
2933 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
2935 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
2936 of the func_satus stuff. Edited and massaged in various ways by
2939 * lyxfunc.C (getStatus): use FuncStatus
2941 2002-01-08 Juergen Vigna <jug@sad.it>
2943 * text.C (nextBreakPoint): use function Inset::isChar().
2945 * paragraph.C (TeXOnePar): use function
2946 Inset::forceDefaultParagraphs.
2948 * buffer.C (latexParagraphs): use function
2949 Inset::forceDefaultParagraphs.
2951 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2953 * lyx_gui.C (init): set the style of the menu popups to
2954 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
2956 2002-01-07 Juergen Vigna <jug@sad.it>
2958 * text.C (setHeightOfRow): small fix
2959 (prepareToPrint): don't look at alignment if we don't have the place
2962 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2964 * box.C: New file. Move the Box methods and functions out of box.h,
2965 following Lars' suggestion.
2967 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
2969 * box.h: #include "support/LOstream.h", needed for inlined function.
2972 * lyxtextclasslist.C: added some using std declarations.
2974 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
2976 * box.h: make signed dimensions to allow insets wider than
2977 the screen (bug #162)
2979 * BufferView_pimpl.C: add some insetHit debug
2981 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
2983 * vc-backend.C: add FIXME
2985 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2987 * lyxfunc.C (getStatus): enable code for showing math font status
2990 2002-01-07 Juergen Vigna <jug@sad.it>
2992 * text.C (nextBreakPoint): removed debug output not needed anymore.
2994 2002-01-06 Juergen Vigna <jug@sad.it>
2996 * text.C (nextBreakPoint): fixed up this function we had this bug
2997 since ever but now hopefully we break row better.
2998 (insertChar): we have to check if an inset is the next char as it
2999 could now happen that a large inset is causing a break.
3001 2002-01-05 Juergen Vigna <jug@sad.it>
3003 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3004 if it doesn't like to be drawed.
3006 2002-01-04 Juergen Vigna <jug@sad.it>
3008 * BufferView2.C (lockInset): forgot to set a cursor.
3010 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3012 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3017 * form_maths_panel.C:
3018 * form_maths_panel.h:
3019 * form_maths_panel.fd: implemented sub- and super- buttons in math
3022 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3023 (or ^ space) to be used as in TeX (req'd by André).
3025 * lyxfunc.C: Allow ^ and _ again to be used both as
3026 super/subscript (mathed) and as themselves (in text).
3028 2002-01-03 Allan Rae <rae@lyx.org>
3030 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3031 "LyX" or the filename of the current buffer if it has one. This is a
3032 modified form of John Levon's patch.
3034 * XFormsView.C (setWindowTitle): also set icon title.
3036 * LyXView.h (setWindowTitle): signature changed.
3037 * XFormsView.h (setWindowTitle): ditto.
3039 2002-01-02 Juergen Vigna <jug@sad.it>
3041 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3043 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3045 * screen.C (topCursorVisible): introduce a temp var for
3046 text->cursor.row(), handle the case where this row is null. (kindo
3049 * text2.C (setCursor): add a couple of asserts.
3051 * paragraph.h (inset_iterator): add -> operator
3053 * paragraph.[Ch] (autoDeleteInsets): remove member function
3055 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3056 cursor pos correctly and handle inset deletion by itself.
3057 (insertErrors): move iterator declaration out of for expression
3059 * lyxtextclass.C: add <algorithm>
3061 * Makefile.am: added the new files to sources, removed layout.C
3063 * layout.C: removed file
3065 * layout.h: remove LYX_DUMMY_LAYOUT
3067 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3071 * lyxtextclass.[Ch]:
3072 * lyxtextclasslist.[Ch]: new files
3074 * include order changes to a lot of files, also changes because of
3077 2001-12-27 Juergen Vigna <jug@sad.it>
3079 * buffer.C (asciiParagraph): more fixes.
3081 * tabular.C (ascii): make ascii export support export of only the
3082 data separated by a column-delimiter.
3083 (ascii): better support for ascii export.
3085 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3087 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3089 * tabular_funcs.C: use a "using std::getline" instead of the
3090 previous fix from Angus (necessary for cxx + lyxstring)
3092 2001-12-24 Juergen Vigna <jug@sad.it>
3094 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3096 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3097 problems. First check a minipage also if we have some ert-contents
3098 (not only on par->size(), second set the right depth of the paragraph
3099 on the relink to the root-paragraph-list!
3101 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3102 which then did not anymore update the main paragraphs on undo/redo!
3104 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3106 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3107 code. Support all font-changing funcs (even those which are not in
3108 menu currently). Support for reporting font settings in
3109 mathed (disabled until Andre provides a function on mathed's side).
3111 * func_status.h (toggle): small helper function to set toggle
3114 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
3116 * tabular_funcs.C: getline -> std::getline
3118 2001-12-21 Juergen Vigna <jug@sad.it>
3120 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
3121 accessed and could be 0 (I couldn't generate this but it seems
3124 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3126 * tabular_funcs.C: add LIstream.h, move write_attribute to..
3127 * tabular_funcs.h: here and include iosfwd
3129 2001-12-20 Juergen Vigna <jug@sad.it>
3131 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
3132 inside inset but undo_par was.
3134 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3136 * Thesaurus.C: always include <config.h> in sources.
3140 * box.h: do not include <config.h> in header files
3142 * text.C (paintLastRow): remove unused variable
3144 * text.C (transformChar):
3146 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
3149 * font.C (width): rewrite to use uppercase() instead of
3152 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
3154 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
3156 * lyxfind.C: clean up of find failure position change
3158 2001-12-20 Juergen Vigna <jug@sad.it>
3160 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
3162 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
3163 (TeXRow): added to LaTeX a single tabular row.
3164 (TeXLongtableHeaderFooter): added to output LT-h/f data.
3165 (Latex): simplified and finally good LT-h/f support.
3166 (various_functions): just small adaptions for LT-h/f support.
3168 * tabular_funcs.[hC]: added and moved here all not classfunctions
3171 2001-12-19 Juergen Vigna <jug@sad.it>
3173 * tabular.[Ch]: better support for longtabular options (not finished
3176 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3178 * text.C (paintLastRow): use the label font instead of the font of
3179 the last character to compute the size of *_BOX. This makes more
3180 sense and avoids a crash with empty paragraphs.
3181 Use Painter::rectangle to draw EMPTY_BOX.
3183 2001-12-19 Juergen Vigna <jug@sad.it>
3185 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
3186 the paragraphs if the replaced paragraph is not the first one!
3187 Tried to delete not used paragraphs but does not work yet so for
3188 now it's inside #ifdef's and by default off!
3190 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3192 * MenuBackend.C: include "lyx_main.h" instead of declaring
3193 lastfiles (actually was declared as LastFiles* instead of a
3196 2001-12-17 Juergen Vigna <jug@sad.it>
3198 * tabular.C (AppendColumn): applied John's fix
3200 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
3204 * BufferView_pimpl.h:
3205 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
3208 * box.h: new start of class for above
3210 * lyxfunc.C: ignore space-only minibuffer dispatches.
3211 Show the command name when it doesn't exist
3213 * minibuffer.C: don't add empty lines to the history
3215 * minibuffer.C: add a space on dropdown completion
3217 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
3219 * text.C: fix line above/below drawing in insets
3221 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3223 * lyxlength.C (LyXLength): Initialize private variables.
3225 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
3227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
3228 when inserting error insets.
3230 2001-12-13 Juergen Vigna <jug@sad.it>
3232 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
3233 actually sometimes the before-paragraph.
3234 (setUndo): don't clear the redostack if we're not actually undoing!
3236 2001-12-06 Juergen Vigna <jug@sad.it>
3238 * undo_funcs.C (textHandleUndo): well after John's hint I got here
3239 and fixed redoing of main paragraph, so we can use it now ;)
3241 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
3243 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3245 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
3248 2001-12-13 André Pönitz <poenitz@gmx.net>
3251 * undo_func.C: minor cleanup
3253 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3255 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
3256 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
3257 font in urw-fonts package which is marked as -urw-fontspecific and
3258 does not work (incidentally, changing the encoding in the
3259 fonts.dir of this package to -adobe-fontspecific fixes the
3262 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
3263 is a crash when undoing first paragraph (Juergen, please take a
3264 look). THis does not mean the undo fix is wrong, just that it
3267 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
3268 the (Paragraph*) version when needed instead of duplicating the
3271 * text.C (workWidth): use Inset::parOwner to find out where the
3272 inset has been inserted. This is a huge performance gain for large
3273 documents with lots of insets. If Inset::parOwner is not set, fall
3274 back on the brute force method
3276 * paragraph_pimpl.C (insertInset):
3277 * paragraph.C (Paragraph):
3278 (cutIntoMinibuffer): set parOwner of insets when
3279 inserting/removing them
3281 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3283 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
3289 * mathed/formulabase.C:
3290 * mathed/math_cursor.[Ch]:
3291 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
3294 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3296 * lyxlength.[Ch] (operator!=): new function
3298 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3300 * text.C (workWidth): use Inset::parOwner to find out where the
3301 inset has been inserted. This is a huge performance gain for large
3302 documents with lots of insets. If Inset::parOwner is not set, fall
3303 back on the brute force method
3305 * paragraph_pimpl.C (insertInset):
3306 * paragraph.C (Paragraph):
3307 (cutIntoMinibuffer): set parOwner of insets when
3308 inserting/removing them
3310 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3312 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3314 * tabular-old.C (getTokenValue):
3315 * tabular.C (getTokenValue):
3316 (write_attribute): new versions for LyXLength
3317 (everywhere): adjust the use of widths
3319 * tabular.h: change the type of widths from string to LyXLength
3321 2001-12-11 Ben Stanley <bds02@uow.edu.au>
3323 * paragraph.C: fixed missing line number count when exporting
3324 Environments to LaTeX file
3326 * buffer.C: added informational message for checking line numbers.
3328 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3330 * text2.C (deleteEmptyParagraphMechanism): if there is only one
3331 paragraph, do the 'double space' part, but not the 'empty
3334 * text.C (workWidth): small optimization
3335 (getLengthMarkerHeight): use minimal size for negative lengths.
3337 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
3339 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
3341 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
3343 2001-12-11 André Pönitz <poenitz@gmx.net>
3346 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
3348 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3350 * text2.C: keep selection on a setFont()
3352 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3354 * lyx_cb.C: another bv->text misuse, from insert label
3356 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3359 * kbsequence.C: re-instate nmodifier mask
3361 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
3363 * lyx_main.h: make lyxGUI private.
3365 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3367 * lyxfind.C: place the cursor correctly on failed search
3369 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3371 * text.C (getLengthMarkerHeight): for small heights, the arrows
3372 are not always on top/bottom of the text
3373 (drawLengthMarker): smaller arrows; take the left margin in
3374 account; draw also vfills.
3376 (paintLastRow): remove special code for vfill and standard spaces,
3377 since everything is handled in drawLengthMarker now.
3379 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3381 * buffer.C (insertErtContents): try to handle font and language
3382 interaction a bit better.g
3384 * ColorHandler.C (updateColor): change the hash to cover the whole
3385 LColor enum, ws cleanup
3386 (getGCLinepars): ditto
3387 (getGCLinepars): only lookup in the linecache once.
3389 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
3391 * iterators.C (operator++): Make the iterator more robust
3393 * BufferView2.C (removeAutoInsets): Use paragraph iterators
3395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
3397 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3400 * text.C: better added space drawing
3402 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3405 * BufferView2.C: fix layout combo update on inset unlock
3407 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3409 * Makefile.am: don't compile unused files
3411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3415 * LyXAction.C: remove old LFUN_LAYOUTNO
3417 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3419 * paragraph_pimpl.h:
3420 * paragraph_pimpl.C: isTextAt() doesn't need font param
3422 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3425 * lyxlex.C: little cleanup
3427 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3429 * BufferView_pimpl.C: fix insertAscii for insets
3431 2001-12-05 Juergen Vigna <jug@sad.it>
3433 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
3434 set the right font on the "multi" paragraph paste!
3436 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3442 * lyxlength.C: remove out-commented code.
3458 * vc-backend.C: change "while(" to "while ("
3460 * lyxlength.[Ch]: add zero function to check if length is zero or
3462 * lyxgluelength.C: use it
3464 2001-12-05 Allan Rae <rae@lyx.org>
3466 * lyxlength.C: Attempted a fix for the abs(int) header selection.
3467 Works for 2.95.3, from what I understand of Garst's reports this should
3468 work for other g++ versions. We're screwed if the abs(int) definition
3469 changed between bugfix releases of gcc.
3471 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3473 * text.C: fix chapter label offset !
3475 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3478 * text.C: fix hfill at end of line, clean up
3480 2001-12-04 Juergen Vigna <jug@sad.it>
3482 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
3483 that we force an update of the inset and it's owners if neccessary.
3485 2001-12-03 Juergen Vigna <jug@sad.it>
3487 * text.C (rowLast): simplified code
3489 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3491 * lyxfunc.C: fix show options on timeout
3493 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3495 * screen.C (topCursorVisible): scroll half a page when the cursor
3496 reached top of bottom of screen
3498 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
3500 * minibuffer.C: deactivate on loss of focus
3502 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3504 * vspace.[Ch] (operator!=): add operator.
3506 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3508 * BufferView_pimpl.C: refuse to open an inset when
3509 there's a selection.
3511 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
3513 * BufferView_pimpl.C: allow to click on RHS of full row insets
3515 2001-11-30 Juergen Vigna <jug@sad.it>
3517 * tabular.C (LyXTabular): add a same_id to set the same id's in the
3518 insets for undo reasons.
3520 2001-11-28 André Pönitz <poenitz@gmx.net>
3522 * vspace.[Ch]: cosmetical changes
3524 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3534 * kbsequence.C: part re-write of old kb code
3537 * WorkArea.C: remove Lgb_bug_find_hack
3539 2001-11-30 José Matos <jamatos@fep.up.pt>
3541 * buffer.C (makeDocBookFile): add a comment to point a hack.
3542 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
3543 Fixed a double write of labels.
3545 2001-11-29 Ben Stanley <bds02@uow.edu.au>
3548 * LaTeX.h Fixed bug in LaTeX class where it would not
3549 re-run latex if no depfiles were changed, but the .dvi was removed.
3551 2001-11-28 André Pönitz <poenitz@gmx.net>
3553 * all the files from the change on 2001/11/26:
3554 use lyx::layout_type instead of LyXTextClass::size_type
3555 use lyx::textclass_type instead of LyXTextClassList::size_type
3557 2001-11-29 Juergen Vigna <jug@sad.it>
3559 * text.C: added support for paragraph::isFreeSpacing()
3561 * buffer.C: same as above
3563 * paragraph.h: inserted isFreeSpacing() function to enable
3564 FreeSpacing inside InsetERT.
3566 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
3567 of the paragraph's in the cut/copy buffer to 0!
3569 * text2.C (removeRow): remove the assert as it can!
3571 * lyxtext.h: added helper function firstRow returning firstrow and
3572 made firstrow private again.
3574 * BufferView2.C (lockInset): don't relock if we're already locked!
3576 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
3578 (removeRow): added Assert::(firstrow)
3580 * debug.C: forgot to add INSETTEXT here.
3582 2001-11-28 Juergen Vigna <jug@sad.it>
3584 * sp_spell.C (initialize): changed error text to more general
3585 spellchecker command use (not only ispell!)
3587 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
3589 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
3591 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3593 * vspace.C: initialise lyxgluelength on failure
3595 2001-11-28 Allan Rae <rae@lyx.org>
3597 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
3598 declaration & definition that looks like a function declaration.
3600 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3602 * BufferView2.C (copy):
3603 (copyEnvironment): do not clear the selection when doing a copy.
3605 * text.C (paintFirstRow): compilation fix
3607 2001-11-27 Ben Stanley <bds02@uow.edu.au>
3609 * tabular.C (Latex): correct line count when writing latex.
3611 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
3613 * paragraph_pimpl.h:
3614 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
3617 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3621 * LColor.C: change vfillline->added_space
3623 * text.C: add markers and text for added space
3625 * vspace.C: fix comment
3627 2001-11-28 André Pönitz <poenitz@gmx.net>
3629 * paragraph.C: whitespace changes
3630 * all the other files from the change on 2001/11/26:
3631 change *::pos_type into lyx::pos_type
3633 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
3635 * buffer.C (parseSingleLyXformat2Token): Set the language to the
3636 language of the document when inserting error insets.
3638 2001-11-26 André Pönitz <poenitz@gmx.net>
3640 * BufferView_pimpl.[Ch]:
3648 * paragraph_pimpl.[Ch]:
3651 * text2.C: reduce header dependencies, introduce type for positions
3653 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3655 * <various>: change to use Alert.h
3657 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
3659 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
3660 when encountering an unknown token.
3661 (readLyXformat2): Show an error message if there were unknown tokens.
3663 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3666 * BufferView_pimpl.C:
3670 * text2.C: use par->isInset()
3672 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3674 * paragraph_pimpl.h:
3675 * paragraph_pimpl.C: cleanup
3677 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3679 * text2.C (removeRow):
3680 * text.C (setHeightOfRow): remove useless (and costly) call to
3683 2001-11-20 Allan Rae <rae@lyx.org>
3685 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
3686 Now need Inset*::checkInsertChar() to return true for appropriate
3687 cases so that the characters in the minibuffer will actually be
3690 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3692 * text.C: change the order of the includes.
3693 (workWidth): initialize it at once.
3694 (workWidth): make maxw unsigned
3695 (setHeightOfRow): remove unused variable (inset)
3696 (selectSelectedWord): remove unused variable (inset)
3697 (paintRowText): fix drawing of hfill characters, and clean up a bit.
3699 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3701 * lyxserver.C (emergencyCleanup): do not try to close pipes if
3702 server is not running.
3704 (closeConnection): add debug info when server is disabled.
3706 * ColorHandler.C (getGCForeground): send debug message to GUI
3709 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
3711 * kbmap.C (bind): modify because return conventions of
3712 kb_sequence::parse have changed.
3714 * kbsequence.C (parse): only ignore spaces and not any stupid
3715 control character. This avoids tests like s[i] <= ' ', which are
3716 guaranteed to fail with 8bit characters and signed chars.
3717 Change return code to string::npos when there have been no error
3718 (0 was a bad idea when error is at first character)
3720 2001-11-14 José Matos <jamatos@fep.up.pt>
3723 * buffer.C (simpleDocBookOnePar): removed unused argument.
3725 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3727 * text.C (selectNextWordToSpellcheck): do not test explicitely for
3728 insets which are part of a word. Paragraph::isLetter takes care of
3729 that now. Use Paragraph::isInset to identify insets.
3730 (selectSelectedWord): do not test for hyphenation break.
3732 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
3733 that protected spaces are considered as spaces.
3735 * paragraph.C (isLetter): cleanup the code for ispell extras; use
3738 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
3741 * lyxserver.C: fix it. and small cleanup.
3743 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3745 * BufferView_pimpl.C: use inline helpers
3748 * LaTeXFeatures.C: fix typos
3751 * Spacing.C: move spacing_string into class
3753 * ToolbarDefaults.C: move stuff into namespace anon
3755 * layout.h: update enum
3757 * lyxfunc.C: use better debug
3759 * minibuffer.h: fix typo
3763 * WorkArea.C: add and use Debug::WORKAREA
3767 * text2.C: code re-organisation, inline helpers
3769 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
3771 * Layout.C: replaced a few cases of std::vector.size() == 0 with
3772 std::vector.empty().
3774 2001-11-09 Allan Rae <rae@lyx.org>
3776 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
3777 '\n's after tables. Tabular and ERT inset work now makes this no
3780 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3783 * minibuffer.C: fix crash, improve drop-down completion
3785 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
3788 * lyxserver.C: invalidate fd's when doing endPipe()
3790 2001-11-08 José Matos <jamatos@fep.up.pt>
3792 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
3793 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
3796 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
3798 2001-11-07 José Matos <jamatos@fep.up.pt>
3801 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
3804 * buffer.C (sgmlOpenTag):
3805 * buffer.C (sgmlCloseTag): removed debug info.
3807 * buffer.h (sgmlOpenTag):
3808 * buffer.h (sgmlCloseTag): made public.
3810 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3812 * buffer.C (saveParamsAsDefaults):
3813 * lyx_cb.C (MenuLayoutSave): remove
3815 * LyXAction.C (init):
3817 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
3819 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3821 * buffer.C (setPaperStuff): removed from here...
3823 * bufferparams.C (setPaperStuff): ... and moved there.
3825 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
3829 * XFormsView.C: add support for drop-down completion
3831 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
3833 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
3836 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3838 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
3841 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3843 * lyx_main.C: change ref to known bugs
3845 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3847 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
3848 to work around older babel problems.
3850 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3852 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
3854 2001-10-24 Juergen Vigna <jug@sad.it>
3856 * tabular-old.C (ReadOld): below variable changes reflected.
3858 * tabular.[Ch]: added ltType struct for longtable header/footer
3859 defines and changed all instances where they are used. Added
3860 future support for double top/bottom rows.
3862 2001-10-24 José Matos <jamatos@fep.up.pt>
3864 * buffer.h (docbookHandleCaption):
3865 * buffer.C (docbookHandleCaption): removed unused function.
3866 (makeDocBookFile): moved docbook supported version to v4.1.
3868 2001-10-24 José Matos <jamatos@fep.up.pt>
3871 * tabular.C (docbookRow): new function to export docbook code of a row.
3872 (DocBook): now honors the longtable flags.
3874 2001-10-23 José Matos <jamatos@fep.up.pt>
3877 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
3878 of the lyx defined sgml entities used in a docbook/linuxdoc document.
3880 * buffer.C (makeLinuxDocFile):
3881 (makeDocBookFile): reworked the preamble, more clean, and with
3882 support for lyx defined entities. Changed the document declaration
3883 to be more XML friendly.
3885 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
3886 if we need to output XML that should be done with a filter.
3888 2001-10-22 Juergen Vigna <jug@sad.it>
3890 * sp_pspell.h (class PSpell): add alive function needed in the
3891 controller to see if the spellchecker could be started.
3893 2001-10-22 Juergen Vigna <jug@sad.it>
3895 * buffer.C (insertStringAsLines): modify the font for inserting
3896 chars in certain conditions by calling checkInsertChar(font).
3898 2001-10-19 Juergen Vigna <jug@sad.it>
3900 * text.C (workWidth): use getRow instead of wrong algorithm.
3901 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
3903 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
3908 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
3910 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3912 * text.C (workWidth): do not search for the exact row when
3913 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
3914 optimization for big documents.
3916 2001-10-18 Juergen Vigna <jug@sad.it>
3918 * text.C (workWidth): new function with added Inset * parameter.
3920 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3922 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
3924 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
3925 change return type of getColumnNearX.
3928 * text.C (changeRegionCase): use uppercase/lowercase instead of
3931 (rightMargin): simplify code by factoring out the uses of
3936 (appendParagraph): use Paragraph::size_type
3938 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3940 * vspace.C (asLatexString): add a missing break
3942 2001-10-15 Herbert Voss <voss@perce.de>
3944 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
3946 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3948 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
3951 2001-10-10 André Pönitz <poenitz@gmx.net>
3953 * lyxfunc.C: removed greek_kb_flag.
3955 2001-10-10 Herbert Voss <voss@perce.de>
3957 * lyx_main.C: delete global string help_lyxdir.
3959 2001-10-09 Herbert Voss <voss@perce.de>
3961 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
3963 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
3965 * lyx_main.C: added global string help_lyxdir.
3967 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
3969 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3971 * lyxrc.C (set_font_norm_type): support iso8859-4
3973 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
3975 * LaTeX.C (deplog): add another regex for MikTeX
3977 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
3979 * lyxrc.C (set_font_norm_type): support iso8859-3
3981 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3983 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
3985 * LaTeXFeatures.C: remove special case of french and index
3987 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
3988 before \begin{document}). This solves several incompatibilities.
3990 2001-10-03 Garst Reese <reese@isn.net>
3992 * lyx_cb.C: change CheckTex error msg.
3994 2001-10-03 José Matos <jamatos@fep.up.pt>
3996 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
3998 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4000 * .cvsignore: update
4002 * lyx_main.C (commandLineVersionInfo): use new style version info.
4004 * buffer.C (writeFile):
4007 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4009 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4011 * version.h: update to use stuff in version.C
4013 * version.C.in: new file. Contains version information determined
4014 at compile time. This is a merging of version.h and
4017 2001-10-03 Juergen Vigna <jug@sad.it>
4019 * BufferView_pimpl.C (update): don't change "dirty" status in
4022 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4024 * WorkArea.C (c-tor): re-position version string slightly.
4026 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4028 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4029 revert to previous code.
4031 WorkArea.[Ch]: (show, destroySplash): methods removed.
4033 WorkArea.C: rework code so that it's an amalgam of the codes before and
4034 after the splash screen was moved to WorkArea.
4036 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4039 * vspace.C (inPixels):
4042 * buffer.C (insertStringAsLines):
4043 (asciiParagraph): fix types to be large enough
4045 * lyxlex_pimpl.h: change member status from short to int
4047 * layout.h: fix type of endlabeltype
4050 * kbsequence.C (parse): change return type to string::size_type
4052 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4055 * Bullet.C (bulletSize):
4056 (bulletEntry): do not use short ints as parameters
4058 * BufferView2.C (insertLyXFile): change a char to an int.
4060 * WorkArea.C (WorkArea): remove unneeded floats in computation
4062 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
4064 * buffer.C (asciiParagraph): Treat '\\' as other chars.
4066 * paragraph.C (asString): Do not ignore newline/hfill chars when
4067 copying to the clipboard.
4069 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
4071 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4072 after a multi-line inset.
4074 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4076 * paragraph.C (validate): Set NeedLyXFootnoteCode
4078 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4080 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4081 and decrease-error to decrease.
4083 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4085 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4086 it more readable (should be equivalent)
4088 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
4090 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4092 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4094 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4095 of a cursor (row, etc.) after a character has been deleted
4096 (deleteEmptyParagraphMechanism): call the method above on _all_
4097 cursors held by the LyXText when a double space has been
4100 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4102 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4104 (resizeCurrentBuff): remove code to destroy the old splash dialog.
4106 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4107 background. Use greyOut() and the new show() methods to toggle between
4108 the foreground and background. Add code to remove the splash after
4109 its initial showing.
4111 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
4112 (create_forms): no longer call Dialogs::showSplash.
4114 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4116 * .cvsignore: add version_info.h
4118 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4120 * version_info.h.in: new file
4122 * Makefile.am: add version_info.h.in
4124 * lyx_main.C (commandLineVersionInfo): use version_info defined in
4125 version_info.h instead of VERSION_INFO
4127 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4129 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
4130 The ERT inset now returns string().
4132 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4134 * lyxtext.h, text.C (selectNextWord): renamed as
4135 selectNextWordToSpellcheck.
4137 * text.C (selectNextWordToSpellcheck): Modified to not select
4138 words inside an ERT inset.
4140 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4142 * lyx_cb.C (MenuLayoutSave): change a bit the question
4144 * sp_base.h: include <sys/types.h>
4146 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4148 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
4150 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
4152 * several files: fix typos in user-visible strings
4154 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4156 * text2.C (pasteSelection): do not set the selection, since it
4157 will be cleared later. Actually, the intent was to fix the way the
4158 selection was set, but I figured rmoving the code was just as good.
4160 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
4162 * FontLoader.C (available): Check if font is available without
4165 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4167 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
4169 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
4171 * lyxrc.[Ch]: added display_graphics variable and associated code.
4173 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4175 * bufferparams.C (hasClassDefaults): new method. Returns true if
4176 the buffer parameters correspond to known class defaults
4178 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
4180 * XFormsView.C (show): set minimum size to the main window.
4182 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4184 * text2.C (copySelection):
4186 * lyxfind.C (LyXReplace):
4187 * BufferView_pimpl.C (Dispatch): pass the correct flag to
4188 LyXText::selectionAsString.
4190 * paragraph.C (asString): add "label" argument to the second form
4192 * text2.C (selectionAsString): add "label" argument and pass it to
4193 Paragraph::asString.
4195 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4197 * lyx_main.C (commandLineHelp): remove version information
4199 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
4201 * lyx_main.C: add -version commandline option
4203 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4205 * paragraph.h: make the optional constructor arg required instead.
4206 some modifications to other files because of this.
4208 * minibuffer.C (C_MiniBuffer_peek_event): make it static
4210 * lyxserver.C (C_LyXComm_callback): make it static
4212 * lyx_main.C (error_handler): make it static
4214 * lyx_gui.C (LyX_XErrHandler): make it static
4216 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
4218 * WorkArea.C: make the extern "C" methods static.
4220 * Makefile.am (lyx_LDADD): simplify
4222 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4224 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
4225 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
4227 * LyXAction.C (init):
4228 * lyxfunc.C (dispatch): associated code removal.
4230 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4232 * lyxfont.h (isSymbolFont): shut off warning
4234 * text.C (setHeightOfRow):
4235 (getVisibleRow): fix crash with empty paragraphs which have a
4238 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
4240 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
4243 2001-09-04 José Matos <jamatos@fep.up.pt>
4246 * tabular.C (docbook): rename docBook method to docbook.
4248 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4250 * Makefile.am: add dependencies to main.o.
4252 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
4254 * FontLoader.C (available): Return false if !lyxrc.use_gui
4256 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
4258 * FontInfo.C (query):
4259 * converter.C (view):
4260 * importer.C (Import):
4261 * exporter.C (Export): Can not -> cannot.
4263 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
4265 * BufferView_pimpl.C: allow to create index inset even if
4268 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4270 * buffer.C (getLists): replace boost::tie code with an explicit pair
4271 as boost::tie can break some compilers.
4273 * iterators.h: Added a std:: declaration to the return type of
4276 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
4278 * lyxrc.C: add help for view_dvi_paper_option, default to safe
4281 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4283 * iterators.[Ch]: New files. Provide paragraph iterators.
4285 * buffer.C (changeLanguage): Use paragraph iterators.
4286 (isMultiLingual): ditto
4288 * BufferView2.C (ChangeInsets): Use paragraph iterators.
4290 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
4292 * FontLoader.C: Support for cmr font.
4294 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
4296 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
4297 (available): New method.
4299 * FontInfo.C (getFontname): Use scalable fonts even when
4300 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
4303 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4305 * converter.C (Formats::view): reverted! Incorrect fix.
4307 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4309 * converter.C (Formats::view): only output the -paper option
4310 if the dvi viewer is xdvi, thereby fixing bug #233429.
4312 2001-08-23 Herbert Voss <voss@perce>
4314 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
4316 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
4318 * Spacing.h (Spacing): Set space to Default on in the default
4321 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
4323 * vc-backend.h (RCS::versionString): add RCS to version
4324 (CVS::versionString): add CVS to version
4326 * vc-backend.C (scanMaster): do not add CVS to version.
4327 (scanMaster): do not add RCS to version
4329 * lyxvc.C (versionString): new method
4331 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
4333 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4335 * Spacing.C (set): initialize fval
4337 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
4339 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
4342 2001-08-16 Juergen Vigna <jug@sad.it>
4344 * lyxfunc.C (dispatch): implemented the new FINISHED states.
4346 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4348 * BufferView_pimpl.C:
4351 * text2.C: setParagraph takes linespacing now
4353 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
4355 * LyxAction.C: add internal LFUN_CITATION_INSERT
4357 * LyXView.C: actually apply fix
4359 * bufferlist.C: fix open non-existent file
4361 * lyxfind.C: fix indentation
4363 * lyxfunc.C: remove unneeded assert, fix typo
4365 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4367 * MenuBackend.C: use "Floatname List"
4369 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4371 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
4372 when converting LaTeX layout to insetERT.
4373 Generate a non-collapsed float when reading old float
4375 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4377 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
4380 2001-08-13 Juergen Vigna <jug@sad.it>
4382 * text.C (fill): return 0 instead of 20 as this seems to be the more
4385 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4387 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
4390 2001-08-13 Juergen Vigna <jug@sad.it>
4392 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
4394 (SearchBackward): comment out the unlocking of the inset_owner this
4395 should not be needed!
4397 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4399 * Many files: Remove inherit_language, and add latex_language
4401 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
4404 2001-08-10 Juergen Vigna <jug@sad.it>
4406 * text.C (prepareToPrint): fixed hfill-width in draw!
4408 * BufferView2.C (selectLastWord): save the selection cursor as this
4409 now is cleared in the function LyXText::clearSelection!
4411 2001-08-08 Juergen Vigna <jug@sad.it>
4413 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
4414 BACKSPACE type functions.
4416 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
4417 is only cutted from the document but not put in the cut-buffer, where
4418 still the old stuff should be.
4420 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
4422 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
4424 * tabular.C (SetWidthOfCell): fixed special case where the width
4426 (LeftLine): handle '|' in align_special.
4428 (LeftAlreadyDrawed): ditto
4429 (SetWidthOfCell): ditto
4431 2001-08-07 Juergen Vigna <jug@sad.it>
4433 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
4435 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4437 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
4438 * lyxlex.[hC]: ditto
4440 2001-08-06 Juergen Vigna <jug@sad.it>
4442 * text.C (getVisibleRow): fix up row clearing a bit.
4444 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4446 * minibuffer.C: make sure the X server sees the changes in the input.
4448 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4450 * paragraph.C (getFont): split into...
4451 (getLabelFont): this
4452 (getLayoutFont): and this
4453 * paragraph_pimpl.C (realizeFont): calling this
4455 * text2.C (getFont): split into...
4456 (getLayoutFont): this
4457 (getLabelFont): and this
4458 (realizeFont): all three calling this
4460 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
4463 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4465 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
4467 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
4469 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
4470 layouts from the Quote inset insertion.
4472 2001-08-03 Juergen Vigna <jug@sad.it>
4474 * BufferView_pimpl.C (update): do the fitCursor only at the end!
4476 * screen.C (drawFromTo): don't call fitcursor here and do the loop
4477 only if status not is already CHANGED_IN_DRAW (second level).
4479 * text.C (draw): don't set the need_break_row when inside an
4482 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4484 * buffer.C (parseSingleLyXformat2Token): handle more latex
4487 * bufferview_funcs.[hC]: change function names to
4488 begin with small char, adjust other files.
4490 2001-08-02 André Pönitz <poenitz@gmx.net>
4493 BufferView_pimpl.C: remove broken special code for math-greek
4495 2001-08-02 Juergen Vigna <jug@sad.it>
4497 * BufferView_pimpl.C (update): redone this function so that we
4498 update the text again if there was a CHANGE_IN_DRAW.
4500 * screen.C (cursorToggle): removed LyXText parameter and recoded.
4501 (drawFromTo): added a new internal bool which is used by draw() and
4503 (general): some cursor drawing problems fixed.
4505 2001-08-01 Juergen Vigna <jug@sad.it>
4507 * lyxfind.C (LyXFind): fixed
4508 (SearchForward): ditto
4509 (SearchBackward): ditto
4511 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
4512 spurius drawing of the cursor in the main area.
4514 * text2.C (status): small fix which could lead to a segfault!
4515 (clearSelection): remove unneeded BufferView param.
4517 2001-08-01 André Pönitz <poenitz@gmx.net>
4519 * lyxfunc.C: small change due to changed mathed interface
4521 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4523 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
4525 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
4527 * lyxfunc.c: fail gracefully if file doesn't exist
4532 * BufferView_pimpl.C: IsDirWriteable() proto changed
4534 * LyXView.C: fix updateWindowTitle() to store the last title
4536 2001-07-31 Juergen Vigna <jug@sad.it>
4538 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
4539 the font (wrong since using of Paragraph::highestFontInRange).
4541 * paragraph.C (highestFontInRange): added a default_size parameter.
4543 * text.C (getVisibleRow): minor clear row changes (still not perfect).
4544 (setHeightOfRow): reformat
4546 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4548 * converter.[hC] + affected files: move to (inital-char)lowercase
4551 * ParagraphParameters.C (ParagraphParameters): remove commented code
4553 * PainterBase.[Ch]: remove commented code
4555 * LaTeXFeatures.h: add "bool floats" for float.sty
4557 * LaTeXFeatures.C (LaTeXFeatures): init floats
4558 (require): handle float
4559 (getPackages): do it with floats
4561 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4563 * BufferView_pimpl.C (Dispatch): improve handling of
4564 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
4566 * commandtags.h: #include lyxfont.h here temporarily to avoid
4569 * bufferlist.h: include LString.h here.
4571 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4573 * text2.C (getStringToIndex): new method.
4575 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
4577 * *: Reduced header file dependencies all over.
4579 2001-07-30 Baruch Even <baruch@lyx.org>
4581 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
4583 2001-07-29 Baruch Even <baruch@lyx.org>
4585 * buffer.C (readInset): Changed GRAPHICS to Graphics.
4587 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4589 * ParameterStruct.h (endif): add a default constructor to make
4590 sure that all variables is initialized.
4592 * ParagraphParameters.C (ParagraphParameters): adjust
4594 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4596 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4597 index; also, check that there is something to index, and that it
4598 does not span over several paragraphs.
4599 (doubleClick): use WHOLE_WORD_STRICT for double click.
4601 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
4603 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
4606 2001-07-26 Baruch Even <baruch@lyx.org>
4608 * buffer.C (readInset): Changed to call up InsetGraphics when reading
4609 an InsetFig figure, backwards compatible reading of old figure code.
4611 2001-07-27 Juergen Vigna <jug@sad.it>
4613 * text2.C: font.realize function adaption.
4615 * text.C (draw): add a warnings lyxerr text if needed.
4617 * layout.C: font.realize function adaption.
4619 * language.C: add inherit_language and implement it's handlings
4621 * bufferview_funcs.C (StyleReset): remove language parameter from
4622 font creation (should be language_inherit now).
4624 * bufferparams.C (writeFile): handle ignore_language.
4626 * paragraph.C (getFontSettings): the language has to be resolved
4627 otherwise we have problems in LyXFont!
4629 * lyxfont.C (lyxWriteChanges): added document_language parameter
4630 (update): removed unneeded language parameter
4632 * paragraph.C (validate): fixed wrong output of color-package when
4633 using interface colors for certain fonts in certain environments,
4634 which should not seen as that on the final output.
4636 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
4638 * BufferView_pimpl.C:
4643 * LyXAction.C: add thesaurus support
4646 * lyxfind.C: add "once" parameter, for thesaurus, to not
4647 move to the next match
4649 2001-07-26 Juergen Vigna <jug@sad.it>
4651 * lyxfont.C (realize): honor ignore_language too!
4654 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
4656 * text.C (draw): one place more for ignore_language to not draw
4659 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
4661 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
4663 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4665 * buffer.C (parseSingleLyXformat2Token): a more general fix for
4666 the minipage conversion problem.
4668 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4670 * buffer.C (parseSingleLyXformat2Token): check minipage if we
4673 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4675 * BufferView.h: don't forward declare WorkArea
4677 * BufferView.C: don't include WorkArea.h
4679 2001-07-25 André Pönitz <poenitz@gmx.net>
4683 * lyxfunc.C: new LFUN 'math-space'
4685 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
4687 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4689 * text2.C (toggleInset): call open/close
4691 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4693 * lyxfunc.C (dispatch): add debug for the disabled case
4695 * font.C (buttonText): make similar to rectText
4697 * buffer.C (readInset): comment out parsing of insetlist and
4700 * PainterBase.C (rectText): small correction
4702 * BufferView_pimpl.C: comment out insettheorem and insetlist
4703 * LyXAction.C: ditto
4704 * commandtags.h: ditto
4706 2001-07-24 Juergen Vigna <jug@sad.it>
4708 * text.C (draw): honor the ignore_language.
4710 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
4712 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4714 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
4717 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4719 * lyxtext.h: remove unused (and unimplemented) methods
4721 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4723 * text.C (getVisibleRow): honor background color
4726 * Painter.h: remove default color argument for fillRectangle
4728 * text.C (backgroundColor): new method
4730 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4732 * text.C (getVisibleRow): adjust
4734 * font.[Ch] (rectText): new method, metrics
4735 (buttonText): new method, metrics
4737 * PainterBase.[hC]: make rectText and buttonText always draw and take
4740 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4742 * ToolbarDefaults.C (read):
4743 * MenuBackend.C (read): allow escaping in all strings
4745 * BufferView_pimpl.C (insertAndEditInset): new method.
4746 (Dispatch): use insertAndEditInset whenever appropriate.
4748 * BufferView_pimpl.C (insertNote): removed
4750 * BufferView_pimpl.C (smartQuote): new method, moved from
4751 BufferView; if an insetquote cannot be inserted, insert a '"'
4754 * BufferView2.C: remove insertCorrectQuote();
4756 * lyxfunc.C (getStatus): Add support for all remaingin
4759 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
4761 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
4762 command (necessary to pass " as parameter of self-insert.
4764 * text.C (selectWordWhenUnderCursor):
4765 (selectWord): add word_location parameter
4766 (selectWordWhenUnderCursor): same + remove special code for word
4768 (selectNextWord): use kind() to guess type of insetspecialchar,
4771 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
4772 (insertErtContents): create ert insets as collapsed.
4773 (readInset): better compatibility code for Info inset.
4775 2001-07-20 Juergen Vigna <jug@sad.it>
4777 * lyxfunc.C (dispatch): use always LyXFind now!
4779 * text2.C (init): add a reinit flag so that the LyXText can be
4780 reinited instead of deleted and reallocated (used in InsetText).
4782 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
4788 2001-07-18 Juergen Vigna <jug@sad.it>
4790 * text.C (selectNextWord): handle insets inside inset by calling
4791 always the bv->text functions so that we can go up the_locking_inset!
4793 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
4794 in strange locations when inside an inset!
4796 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
4797 handling to include insets.
4799 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
4801 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4803 * LyXAction.C (init):
4805 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
4806 LIGATURE_BREAK, since the name is so stupid.
4808 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4810 * buffer.C (readInset): enable reading of new InsetNotes as well as old
4813 * FontLoader.C: remove FORMS_H_LOCATION cruft.
4815 * sp_form.[Ch]: remove.
4817 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
4819 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
4822 * src/buffer.C (readInset): ditto.
4824 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4826 * BufferView_pimpl.C (specialChar): new method. Obsoletes
4827 menuSeparator(), endOfSentenceDot(), ldots() and
4828 hyphenationPoint(), which are therefore removed.
4829 (Dispatch): handle LFUN_HYPHENATION_BREAK.
4831 * LyXAction.C (init):
4832 * commandtags.h: add LFUN_HYPHENATION_BREAK.
4834 * paragraph.C (getWord): removed.
4836 * BufferView_pimpl.C (Dispatch): use last word or selection for
4837 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
4839 * lyx_main.C (queryUserLyXDir): do not ask before creating
4840 user_dir, except if it has been named explicitely.
4842 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4844 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4845 a document of zero size.
4847 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4849 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
4850 approriately in the c-tor and in require().
4851 (getPackages): output the appropriate LaTeX for natbib support.
4853 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
4854 variables "use_natbib" and "use_numerical_citations" when reading the
4856 (readInset): read the various natbib cite commands.
4857 (validate): white-space change.
4859 * bufferparams.[Ch]: new variables "bool use_natbib" and
4860 "bool use_numerical_citations".
4861 (writeFile): output them in the LyX file.
4863 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4865 * lyxfunc.C (getStatus): add support for all the inset insertion
4868 * text2.C (insertInset):
4869 * paragraph.C (insetAllowed):
4870 * BufferView_pimpl.C (insertInset): update to take in account the
4871 renaming of insertInsetAllowed
4873 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
4875 * text2.C (getInset): new method. returns inset at cursor position.
4877 * BufferView_pimpl.C (Dispatch): changes because of this.
4879 * LyXAction.C (init): rename open-stuff to inset-toggle.
4881 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
4883 * text2.C (toggleInset): renamed from openStuff; use
4886 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4888 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
4890 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
4892 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
4894 * buffer.C (readLyXformat2): Add filename to the error dialog
4896 2001-07-18 Juergen Vigna <jug@sad.it>
4898 * tabular.C (GetCellNumber): put an assert here instead of the check!
4900 2001-07-17 Juergen Vigna <jug@sad.it>
4902 * BufferView_pimpl.C (toggleSelection): adapted too.
4904 * text.C (selectNextWord): adapted for use with insets.
4905 (selectSelectedWord): ditto
4907 2001-07-17 Juergen Vigna <jug@sad.it>
4909 * sp_spell.C (PSpell): fix initialitation order.
4911 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4913 * paragraph.C: spacing
4915 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
4917 * sp_spell.C: repair language selection for pspell
4919 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * lyxfunc.h: change more methods to begin with lower char.
4923 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
4925 * buffer.C (parseSingleLyXformat2Token): Generate error insets
4926 for unknown layouts.
4928 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
4930 * buffer.C (readLyXformat2): Generate an error dialog if there are
4933 2001-07-16 Juergen Vigna <jug@sad.it>
4935 * sp_spell.C: always compile ISpell part.
4937 * lyxrc.C: added use_pspell entry and it's handling.
4939 2001-07-13 Juergen Vigna <jug@sad.it>
4941 * sp_spell.C: removed double includes.
4943 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4945 Consistent use of Lsstream.h:
4946 * Lsstream.h: added using std::stringstream for consistencies sake.
4948 * buffer.C: removed using std::stringstream
4950 * lyxfont.C (stateText):
4951 * paragraph.C (asString):
4952 * text.C (selectNextWord, selectSelectedWord):
4953 * text2.C (setCounter):
4954 * vspace.C (asString, asLatexString):
4955 std::ostringstream -> ostringstream.
4957 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
4959 * LyXAction.C: add LFUN_HELP_ABOUTLYX
4960 * commandtags.h: add LFUN_HELP_ABOUTLYX
4961 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
4963 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
4965 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
4967 * lyx_gui_misc.C: remove spellchecker
4968 * lyxfunc.C: showSpellchecker
4970 * sp_ispell.h: added
4971 * sp_pspell.h: added
4973 * sp_form.[Ch]: removed
4974 * spellchecker.[Ch]: removed
4976 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
4978 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
4980 (simpleTeXSpecialChars): Simply print the input character without
4981 any special translation if pass_thru is set.
4983 * layout.h: Added bool pass_thru to layout class for being able to
4984 implement pass through of a paragraph for Literate Programming.
4986 * layout.C: add LT_PASS_THRU to LayoutTags enum.
4987 * layout.C (LyXLayout): set pass_thru to flase in constructor.
4988 * layout.C (Read): add "passthru" to list of layout tags and add
4989 code to set the pass_thru boolean when it is read.
4991 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4993 * trans_decl.h: remove allowed from KmodInfo
4995 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
4999 * paragraph_pimpl.C (erase): use boost::prior
5001 * Painter.C (text): use data() instead of c_str() when length is
5003 * WorkArea.C (putClipboard): ditto
5004 * font.h (width): ditto
5006 * BufferView2.C: use it-> instead of (*it). for iterators
5008 * paragraph_pimpl.C: ditto
5009 * paragraph.C: ditto
5010 * minibuffer.C: ditto
5015 * converter.C: ditto
5017 * Variables.C: ditto
5018 * TextCache.C: ditto
5019 * MenuBackend.C: ditto
5020 * LyXAction.C: ditto
5022 * FloatList.C: ditto
5024 * ColorHandler.C (LyXColorHandler): ditto
5026 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5028 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5030 * text2.C (openStuff): reintroduce this method (which had been
5031 nuked in NEW_INSETS frenzy).
5033 * lyxfunc.C (Dispatch): when an action has not been handled, use
5034 its name in the error message, not its number.
5036 * paragraph.C (inInset): change method name to begin with lowercase.
5039 * text2.C: updates because of this.
5041 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5043 * ToolbarDefaults.C (add): add spaces in error message
5045 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5047 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5048 (readLyXformat2): rename return_par to first_par, use lyxlex's
5049 pushToken and remove the manual push handling.
5050 (parseSingleLyXformat2Token): add another ert comp. variable:
5051 in_tabular, rename return_par to first_par. handle newlines better
5053 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5055 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5057 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5059 * text2.C (getParFromID): removed
5061 * buffer.C (getParFromID): new method moved form lyxtext.
5062 * BufferView2.C (insertErrors): adjust
5063 (setCursorFromRow): adjust
5064 * BufferView_pimpl.C (restorePosition): adjust
5065 * lyxfunc.C (Dispatch): adjust
5066 * undo_funcs.C (textUndo): adjust
5068 (textHandleUndo): adjust
5069 (textHandleUndo): adjust
5071 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5073 * buffer.C: up' the LYX_FORMAT
5075 * lyxfont.h: turn NO_LATEX on as default
5077 * buffer.C (insertErtContents): new methods of tex style compability.
5078 (parseSingleLyXformat2Token): use it several places.
5079 * tabular.C (OldFormatRead): and here
5081 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5083 * text2.C: remove some commented code.
5086 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5087 * trans.C: changes because of the above.
5089 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
5091 * text2.C (setCounter): Fix counters bug with bibliography layout.
5093 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5095 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5096 own member functions
5097 (simpleTeXSpecialChars): ditto
5099 2001-07-06 Juergen Vigna <jug@sad.it>
5101 * a lot of files: changed the access to LyXText::status and the
5102 call of undo-functions.
5104 * undo.[Ch]: added a inset_id to the undo informations.
5106 * undo_funcs.[Ch]: added and moved here all undo functions.
5108 * lyxtext.h: give the status enum a weight, made status_ a private
5109 variable and made accessor functions for it, removed the whole bunch
5110 of undo-functions as they are now in their own file, make some
5111 functions publically available. Added function ownerParagraph with
5114 * paragraph.[Ch]: added "bool same_ids" to the constructor,
5115 made InInset() a const function, added getParFromID() function.
5117 * buffer.[Ch]: added const version for inset_iterator functions,
5118 added getInsetFromID() function.
5120 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
5121 changed undo functions for new version.
5123 2001-07-05 Juergen Vigna <jug@sad.it>
5125 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
5126 unknow mechanism does not call the proper constructor but only this
5127 one also if I request the other!?
5129 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5131 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5133 * text2.C (LyXText): use initialization lists.
5135 * lyxtext.h (Selection): initialize set_ and mark_
5136 (init): remove method
5138 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
5140 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
5142 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5144 * screen.[Ch]: change method names to begin with lowercase
5146 * BufferView_pimpl.C (updateScrollbar): simplify further and
5147 hopefully make it a bit faster.
5149 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5151 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
5152 calling directly xforms functions.
5154 * Painter.C (Painter):
5155 * lyx_cb.C (MenuWrite):
5156 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
5159 * lyx_gui.C: remove bogus guiruntime extern declaration.
5161 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5163 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
5165 (redoDrawingOfParagraph): ditto
5166 (redoParagraphs): ditto
5167 (cutSelection): don't create a object for CutAndPaste use the
5168 static method directly
5169 (pasteSelection): ditto
5171 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
5174 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5176 * modifications to some other files because of this.
5178 * Makefile.am (lyx_SOURCES): add XFormsView
5180 * XFormsView.[Ch]: new files
5182 * LyXView.[Ch]: make LyXView a base class for the gui handling for
5183 the main window. Move the gui dependent stuff to XFormsView
5185 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5187 * tabular.C (GetCellInset): update cur_cell also in the row/col
5188 version of this function.
5190 * lyxfunc.C: no need to include figure_form.h here.
5196 * lyxvc.C: no need to include forms.h here.
5198 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5200 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5202 * lyxfunc.C (Dispatch):
5204 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
5205 constructor argument.
5207 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5209 * paragraph.C (Paragraph): dont't clear, and just set layout.
5210 (makeSameLayout): use params's copy contructor.
5212 * ParagraphParameters.[Ch] (makeSame): delete method
5214 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5216 * Variables.[Ch]: fix indentation, rename set to isSet
5218 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * lyxfunc.C (Dispatch): fix typo
5222 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5224 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
5227 * bufferlist.C: include assert.h for emergencyWrite().
5229 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5231 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
5232 give up at last (bug #425202) !
5234 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
5240 * spellchecker.C: strip spellchecker options and bring up
5241 preferences tab instead
5243 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5245 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
5246 the istringstream constructor
5248 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5250 * paragraph.C (getLayout): fix return value
5252 * paragraph.h: do not declare getLayout as inline.
5254 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
5256 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5258 * lyxcursor.h (operator<): new func
5259 (operator>): new func
5260 (operator>=): new func
5261 (operator<=): new func
5263 * text.C (changeCase): use selection.start and selection.end
5264 (changeRegionCase): require from to be <= to. Require par to be a
5267 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
5269 2001-06-27 Juergen Vigna <jug@sad.it>
5271 * text.C (cursorLeftOneWord): changed to return the cursor and added
5272 overlay with BufferView * parameter which calls this one.
5274 (selectWord): use new getWord function.
5275 (changeCase): renamed from changeWordCase as and extended to work
5278 * lyxtext.h: added enum word_location
5280 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
5281 changeCase as this operates now also on selections.
5283 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5285 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
5287 * many files: send debug output to Debug::INFO instead of
5290 * converter.C (View):
5292 (Move): send debug output to Debug::FILES instead of console.
5294 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5296 * lyxfunc.C (getStatus): use func_status
5298 * func_status.h: new header, describing the results of
5301 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
5304 2001-06-25 The LyX Project <jug@sad.it>
5306 * buffer.C (sgmlOpenTag):
5308 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
5310 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5312 * text2.C: remove some dead code
5314 * tabular.C (GetCellInset): store the last cell checked (gotten)
5316 * tabular.h: add the helper for the speedup
5318 * lyxtext.h: remove some dead code
5320 2001-06-26 The LyX Project <Asger>
5322 * paragraph.C: Change export to LaTeX of alignment to
5323 \begin{center} and family for better roundtrip work with reLyX.
5325 * Tune the math drawing a bit.
5327 2001-06-25 The LyX Project <Asger>
5329 * LColor.C (LColor): New color for math background. New color
5332 2001-06-25 The LyX Project <jug@sad.it>
5334 * lyxfunc.C (MenuNew): remove extra check for .lyx file
5337 * bufferlist.C (newFile): do not restrict to files ending with
5340 * BufferView_pimpl.C (MenuInsertLyXFile):
5342 2001-06-24 The LyX Project <jug@sad.it>
5344 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
5347 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5349 * lyxtext.h: rename most methods to begin with a small char.
5350 Lots of changes because of this.
5352 * paragraph.C (Paragraph): do not call fitToSize
5353 (erase): call Pimpl::erase
5354 (insertChar): call Pimpl::insertChar
5355 (insertInset): call Pipl::insertInset
5356 (breakParagraph): do not call fitToSize
5357 (breakParagraphConservative): do not call fitToSize
5358 (fitToSize): remove method
5360 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
5362 2001-06-24 The LyX Project <Asger>
5364 * Fix Qt compilation^2
5366 2001-06-24 The LyX Project <jug@sad.it>
5368 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
5369 depthHook(getDepth()-1).
5372 * ParagraphParameters.h:
5373 * ParameterStruct.h: change type of depth to unsigned int ==
5374 depth_type. Many adaptations to other files before of that.
5376 2001-06-24 The LyX Project <Asger>
5378 * Fix Qt compilation.
5380 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5382 * paragraph.h: renamed several methods to begin with small letter.
5383 several changes to many parts of the code because of this.
5385 2001-06-23 The LyX Project <jug@sad.it>
5387 * text2.C (InsertStringAsLines): renamed from InsertStringA;
5388 rewritten to discard all double spaces when KeepEmpty is off
5389 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
5390 to only handle newlines but not fiddle with spaces and friends.
5392 * lyxfunc.C (MenuNew): when doing 'new from template', use
5393 template_path as default directory
5395 2001-06-23 The LyX Project <Asger>
5397 * Clean-up of header file includes all over
5398 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
5400 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5402 * paragraph.h: renamed from lyxparagraph.h
5404 2001-06-23 Asger <lyx@violet.home.sad.it>
5406 * Buffer.h: Removed Buffer::resize
5407 * BufferList.h: Removed BufferList::resize
5408 * LyXView.h: Added LyXView::resize. This way, we will only reflow
5409 the document lazily when we change the width, or the font settings.
5411 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5413 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
5415 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5417 * buffer.h: remove out of date comment
5419 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5422 * screen.C: fix "theoretical" GC leak
5424 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5426 * LaTeX.C (scanAuxFile):
5427 (deplog): remove trailing \r when reading stream (useful under
5430 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
5432 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
5433 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
5434 and BufferView::theLockingInset(Inset*), so should use them and not
5435 access bv_->text->the_locking_inset directly.
5437 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
5439 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5442 * tex-defs.h: remove old unused file
5444 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
5446 * BufferView_pimpl.C: fix typo, remove minibuffer message
5447 when buffer has loaded
5449 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5451 * lyxfunc.C (Dispatch): use stringstream
5452 (MenuNew): use stringstream
5453 (Open): use stringstream
5455 * importer.C (Import): use stringstream
5457 * bufferview_funcs.C (CurrentState): use stringstream
5459 * LaTeX.C (run): use stringstream
5461 * BufferView_pimpl.C (savePosition): use stringstream
5462 (restorePosition): use stringstream
5463 (MenuInsertLyXFile): use stringstream
5465 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
5478 * vspace.C: removed // -*- C++ -*- as first line.
5481 * version.h: added // -*- C++ -*- as first line.
5483 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5485 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
5487 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
5490 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5492 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
5495 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5497 * gettext.C: include LString.h even when --disable-nls is on.
5499 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
5501 * converter.h (Get): changed argument type from int to
5502 FormatList::size_type to avoid unnecessary conversion.
5504 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
5507 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5509 * gettext.h: include LString.h even when --disable-nls is on.
5511 2001-06-07 Juergen Vigna <jug@sad.it>
5513 * text.C (BreakAgain): subst spaces with tabs.
5515 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
5516 (resizeInsetsLyXText): set force on resizeLyXText.
5518 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5520 * gettext.h (gettext_init):
5521 (locale_init): use a real definition instead of a macro
5523 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5525 * Bufferview_pimpl.C:
5527 * LColor.C: further lcolor tidies
5529 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5531 * BufferView_pimpl.C (updateScrollbar): simplify.
5533 * BufferView2.C: don't include insets/insetinfo.h, change
5534 prototype for insertInset and call the Pimpl version. let
5535 updateInset call Pimpl version.
5537 * BufferView.h: move inset_slept to BufferView::Pimpl, move
5538 gotoInset to BufferView::Pimpl
5540 2001-06-01 Juergen Vigna <jug@sad.it>
5542 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
5543 inside a LockingInset (is the update needed at all?).
5545 2001-05-31 Juergen Vigna <jug@sad.it>
5547 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
5548 here not the old one otherwise how should we compare it afterwards
5551 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5556 * FontInfo.C: bring C functions into global namespace when
5559 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5561 * LString.h: make sure config.h has been loaded before LString.h.
5563 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
5564 (one for each char read by EatLine!).
5566 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
5569 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5571 * paragraph.C (BreakParagraph): set the inset_owner in the new par
5572 to the same as the par we break from
5574 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5576 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
5578 * MenuBackend.C (expand): also create menu entries for wide
5579 versions of the floats.
5581 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
5583 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
5585 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
5586 frontends/Makefile.am
5592 * tabular.C (getTokenValue): add std::
5594 * tabular-old.C (getTokenValue): add std::
5595 (getTokenValue): ditto
5596 (getTokenValue): ditto
5598 * screen.C (ToggleSelection): adjust
5600 * lyxtext.h: put selection cursors inside a Selection struct.
5602 * lyxfunc.C (moveCursorUpdate): adjust
5604 * lyxfont.C (latexWriteStartChanges): add std::
5608 * font.h: delete with(char const *, LyXFont const &)
5610 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
5612 * FontInfo.C (getFontname): add std::
5614 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5615 (workAreaButtonPress): adjust
5616 (tripleClick): adjust
5618 (moveCursorUpdate): adjust
5621 * BufferView2.C (gotoInset): adjust
5623 2001-05-30 Juergen Vigna <jug@sad.it>
5625 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
5626 to check pspell I add this as default as I now have new pspell
5627 libraries and they seem to use this.
5629 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5631 * text2.C (CutSelection): make the cursor valid before the call to
5634 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5636 * kbsequence.C (parse): de-uglify a bit the parsing code, which
5637 relied on 0 terminated strings and other horrors. Bug found due to
5638 the new assert in lyxstring!
5640 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
5643 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5645 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
5648 * lyxfunc.C (processKeySym): change method of getting to the
5651 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
5652 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
5653 * BufferView_pimpl.[Ch]: here as private methods.
5655 2001-05-28 Juergen Vigna <jug@sad.it>
5657 * text.C (SetHeightOfRow): added the update() call again as it is
5658 needed to initialize inset dimensions!
5660 2001-05-16 Juergen Vigna <jug@sad.it>
5662 * text2.C (SetCharFont): Add new function with BufferView * and
5663 bool toggleall parameters for setting insets internal fonts.
5664 (SetFont): Freeze the undo as we may change fonts in Insets and
5665 all this change should be inside only one Undo!
5667 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
5668 setting font's in insets as for them we have the SetFont function!
5670 2001-05-15 Juergen Vigna <jug@sad.it>
5672 * text2.C (ClearSelection): to be sure we REALLY don't have any
5675 * tabular.C (TeXCellPreamble): fixed the left border problem for
5678 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5680 * LaTeX.C (deplog): Make sure that the main .tex file is in the
5683 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
5686 LFUN_BREAKPARAGRAPH.
5688 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
5689 help test to "internal only", similar for LFUN_INSERT_URL
5691 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
5692 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
5693 auto_region_delete and deadkeys.
5695 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
5698 * LColor.C: remove some dead entries, tidy a little
5700 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5702 * lyxfunc.C (processKeySym): comment the Escape handling, remove
5704 (Dispatch): implement LFUN_ESCAPE
5706 * commandtags.h: add LFUN_ESCAPE
5708 * LyXAction.C (init): add entry for LFUN_ESCAPE
5710 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
5711 Remove commented code.
5712 (insertNote): moved here
5713 (open_new_inset): moved here
5715 * BufferView[2].[Ch]: move insertNote and open_new_inset to
5718 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5720 * kbmap.C (findbinding): clean it up and make it work correctly.
5722 * lyx_main.C (init): do not pass argc and argv as parameters
5724 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5726 * buffer.C: fix path for OS/2 & Win32
5730 * lyx_main.C: Added os:: class.
5732 * os2_defines.h: update
5734 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5736 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
5737 better by trying again with reduced state.
5739 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5741 * lyxrc.C (read): print error about invalid key sequence only when
5742 debugging (because not all latinX keysyms are known to some X
5745 * kbsequence.C (getiso): add a few std:: qualifiers
5746 (getiso): comment out extra return statement.
5748 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
5750 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
5752 (Dispatch): enhance the accent inset a bit. (not perfect)
5754 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5756 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5758 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5760 * bufferlist.C (emergencyWrite): fix assert() call
5762 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
5764 * text.C (InsertChar): Added trivial patch to only send the "you
5765 can not do multiple spaces this way" message once during a
5768 2001-05-08 Baruch Even <baruch@lyx.org>
5770 * Makefile.am: Changed order of libraries to get LyX to link properly
5771 with the gnome frontend.
5773 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5775 * LaTeXFeatures.h: add a std:: qualifier
5777 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5779 * paragraph.C (String): use stringstream
5781 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5783 * paragraph.C (writeFile): remove footflag arg
5785 * buffer.C (makeLaTeXFile): use stringstream
5786 (latexParagraphs): remove footnot gurba
5788 * LaTeXFeatures.C (getPackages): use stringstream
5789 (getMacros): likewise
5790 (getTClassPreamble): likewise
5791 (getFloatDefinitions): new method
5793 * paragraph.C (writeFile): reindent
5796 * WorkArea.h: revert the xpos + etc changes.
5798 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
5800 * lyxparagraph.[Ch]: add copy constructor, remove Clone
5802 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
5803 (pasteSelection): likewise
5804 * text2.C (CreateUndo): likewise
5806 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5808 * minibuffer.C (peek_event): temporarily reduce the functionality
5809 of the minibuffer (to allow args on lfuns)
5811 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
5812 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
5814 * buffer.C (readInset): add compability reading of old float
5815 lists, add reading of new style float list.
5816 (readInset): avoid reevaluation of inscmd.getCmdName()
5817 (getLists): reindent
5819 * MenuBackend.C (MenuItem): implement parsing of
5820 md_floatlistinsert and md_floatinsert.
5821 (expand::LastFiles): move initalizaton of iterators out of loop,
5823 (expand::Documents): introduce typdedef vector<string> Strings,
5825 (expand::ExportFormats): introduce typedef vector<Format const *>
5826 Formats, and use it.
5827 (expand): implement FloatListInsert and FloatInsert.
5829 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
5830 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
5831 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
5833 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
5835 (Dispatch::LFUN_FLOAT_LIST): implement
5837 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5839 * LaTeX.C (run): Fix problem with --export code.
5841 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5843 * BufferView.[Ch] (workarea): removed.
5844 (getClipboard) new method; wrapper for workarea()->getClipboard()
5846 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
5849 * WorkArea.h (width, height, xpos, ypos): These methods all
5850 returned the dimensions of the work_area sub-area of WorkArea,
5851 resulting in a position error if the WorkArea were resized. Now
5852 return the dimensions of the entire WorkArea.
5854 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
5856 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5858 * LaTeX.C (deplog): correct the syntax of regex reg1
5860 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5862 * undo.C: remove !NEW_INSETS cruft
5864 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5866 * text2.C: remove !NEW_INSETS cruft
5868 * text.C: remove !NEW_INSETS cruft
5870 * tabular.C: remove !NEW_INSETS cruft
5872 * spellchecker.C: remove !NEW_INSETS cruft
5874 * lyxtext.h: remove !NEW_INSETS cruft
5876 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
5878 * lyxfunc.C: remove !NEW_INSETS cruft
5880 * lyxfind.C: remove !NEW_INSETS cruft
5882 * lyx_cb.C: remove !NEW_INSETS cruft
5884 * figureForm.C: remove !NEW_INSETS cruft
5886 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
5888 * buffer.[Ch]: remove !NEW_INSETS cruft
5890 * ToolbarDefaults.C: remove !NEW_INSETS cruft
5892 * CutAndPaste.C: remove !NEW_INSETS cruft
5894 * BufferView_pimpl.C: remove !NEW_INSETS cruft
5896 * BufferView2.C: remove !NEW_INSETS cruft
5898 * BufferView.h: remove !NEW_INSETS cruft
5900 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5902 * Lsstream.h: include LString.h before the sstream headers to
5903 fix problem with gcc 2.95.3 and lyxstring
5905 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5907 * lyx_main.C: add using directives when needed for C functions
5908 declared in std:: namespace.
5910 2001-04-27 Juergen Vigna <jug@sad.it>
5912 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
5913 (SetHeightOfRow): comment out the update call should not be needed!
5915 2001-04-13 Juergen Vigna <jug@sad.it>
5917 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
5918 (LyXTabular): tried to minimize operator= operations (and realized
5919 hopfully Lars wish).
5921 2001-04-27 Juergen Vigna <jug@sad.it>
5923 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
5925 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * lyxfunc.C (Dispatch): hack to make listof algorithm work
5929 * buffer.C (readInset): hack to make listof algorithm work
5931 * BufferView_pimpl.C: hack to make listof algorithm work
5933 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5935 * LyXAction.C: removed all !NEW_INSETS cruft
5936 (init): moved lfun_item in method
5938 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
5940 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5942 * BufferView2.C (theLockingInset): white space.
5944 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5946 * minibuffer.C: include <iostream>
5948 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
5950 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
5952 * commandtags.h: add LFUN_TRANSPOSE_CHARS
5954 * text.[Ch] (TransposeChars): new method
5956 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5958 * call message directly through LyXView instead of through LyXFunc
5959 * BufferView2.C: adjust
5960 * BufferView_pimpl.C: adjust
5961 * FontLoader.C: adjust
5963 * bufferview_funcs.C: adjust
5964 * converter.C: adjust
5965 * figureForm.C: adjust
5966 * importer.C: adjust
5968 * lyx_gui_misc.C: adjust
5972 + more files in subdirs
5974 * lyxparagraph.h (size): move up int file
5977 * adjust all uses of Assert to lyx::Assert.
5979 * BufferView2.C (ChangeCitationsIfUnique): adjust for
5980 lyxfunctional in namespace lyx
5981 * layout.C (hasLayout): ditto
5984 (delete_layout): ditto
5985 (NumberOfClass): ditto
5986 * converter.C (GetFormat): ditto
5991 * bufferlist.C (getFileNames): ditto
5992 (emergencyWriteAll): ditto
5995 * MenuBackend.C (hasSubmenu): ditto
5998 * BufferView_pimpl.C (getInsetByCode): ditto
6000 2001-04-18 Juergen Vigna <jug@sad.it>
6002 * vspace.C (asLatexString): fixed the 100% problem.
6004 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6006 * lyxfunc.C (Dispatch):
6008 * minibuffer.h: add a few std:: qualifiers
6010 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6012 * minibuffer.[Ch]: reimplement so that commands is initiated and
6013 run from lyxfunc, simplified som handling, and made the completion
6014 and history code for complete. wip.
6016 * lyxfunc.C (processKeySym): call message
6017 (miniDispatch): new temporary method
6018 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6019 (LFUN_MESSAGE): implement
6020 (LFUN_MESSAGE_PUSH): implement
6021 (LFUN_MESSAGE_POP): implement
6022 (initMiniBuffer): the initial/defualt minibuffer message.
6024 * lyxfont.[Ch]: inline some more getters
6026 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6028 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6030 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6031 (AutoSave): use LFUN_MESSAGE
6032 (Reconfigure): ditto
6034 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6036 * figureForm.C: use LFUN_MESSAGE
6038 * converter.C (runLaTeX): use LFUN_MESSAGE
6040 * bufferview_funcs.C: use LFUN_MESSAGE
6042 (changeDepth): ditto
6044 * bufferparams.h: use boost::
6046 * bufferlist.h: inherit privately from noncopyable
6048 * bufferlist.C (loadLyXFile): remove some commented code.
6050 * buffer.C (runChktex): use LFUN_MESSAGE
6052 * ShareContainer.h: inherit privately from noncopyable
6054 * ParagraphParameters.[hC] (depth): inline it.
6056 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6058 (message): new method
6059 (messagePush): ditto
6061 (show): init minibuffer
6062 (showState): direct call
6064 * LaTeX.[Ch]: inherit privately from noncopyable
6065 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6066 instead of WriteStatus.
6068 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6070 * BufferView_pimpl.C (buffer): don't init minibuffer
6071 (workAreaButtonPress): use LFUN_MESSAGE
6072 (workAreaButtonRelease): ditto
6073 (savePosition): ditto
6074 (restorePosition): ditto
6075 (MenuInsertLyXFile): ditto
6076 (workAreaExpose): don't init minibuffer
6077 (update): remove commented code, simplify
6079 * BufferView2.C (openStuff): use LFUN_MESSAGE
6080 (toggleFloat): ditto
6083 (copyEnvironment): ditto
6084 (pasteEnvironment): ditto
6089 (updateInset): remove some commented code
6091 * lastfiles.h: inherit privately from noncopyable
6096 * lyxlex_pimpl.h: ditto
6098 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6099 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6100 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6102 * LyXAction.h: inherit privately from noncopyable, add methods
6103 func_begin, func_end, returning iterators to the func map.
6105 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6106 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6107 (func_begin): new method
6108 (func_end): new method
6110 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
6112 (copySelection): ditto
6113 (pasteSelection): ditto
6115 * BufferView.C: whitespace change
6116 * BufferView.h: inherit privately from noncopyable
6118 2001-04-16 Allan Rae <rae@lyx.org>
6120 * tabular-old.C (l_getline):
6121 * spellchecker.C (sc_check_word):
6122 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
6123 an unrecognised preprocessor directive. So ensure they're wrapped.
6125 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
6127 * src/exporter.C (Export): Give an error message when path to file
6130 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
6132 * LaTeX.C (deplog): Always check that foundfile exists.
6134 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6137 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
6139 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * tabular.[Ch] (getLabelList): implement new method
6143 * minibuffer.h: comment ouf setTiimer
6145 * minibuffer.C (ExecutingCB): constify res
6146 (peek_event): constify s
6147 (Set): constify ntext
6148 (Init): constify nicename
6150 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
6152 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
6153 (savePosition): use two params to Minibuffer::Set
6154 (restorePosition): ditto
6156 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6158 * lyx_main.C: include language.h
6160 * Makefile.am (lyx_main.o): add language.h
6162 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6168 * CutAndPaste.C: include gettext.h
6170 * lyxfont.h: remove old hack with ON and OFF.
6173 * lyxfont.h: do not include language.h...
6178 * bufferview_funcs.C:
6184 * paragraph.C: ... but do it here instead
6186 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6188 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
6190 * tabular.C: small reformat
6192 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
6195 (BreakParagraph): ditto
6196 (SetOnlyLayout): ditto
6199 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
6202 * lastfiles.C: removed most using decl, add std:: where needed
6204 * buffer.C: ws changes
6206 * MenuBackend.C (class compare_format): put into anon namespace
6207 (expand): constify label, names, action, action2
6210 * text.C (SingleWidth): constify font
6211 (IsBoundary): constify rtl2
6212 (GetVisibleRow): constify ww
6214 * LaTeX.C (deplog): constify logfile
6216 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
6218 (workAreaExpose): constify widthChange, heightChange
6220 * lyxrow.C (par): moved
6223 * lyxrow.h: as inlines here
6225 * lyxfont.h (shape): moved from lyxfont.C
6226 (emph): moved from lyxfont.C
6228 * lyxfont.C (LyXFont): use initialization list for all
6230 (shape): move to lyxfont.h as inline
6231 (emph): move to lyxfont.h as inline
6234 2001-04-04 Juergen Vigna <jug@sad.it>
6236 * vspace.C: had to include stdio.h for use of sscanf
6238 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
6241 * BufferView_pimpl.h: remove xforms cruft. Both classes are
6242 independent of xforms.
6244 2001-04-02 Juergen Vigna <jug@sad.it>
6246 * spellchecker.C: fixed namespace placing!
6248 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
6250 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
6251 the LyXParagraph * is 0.
6253 2001-03-29 Juergen Vigna <jug@sad.it>
6255 * vspace.C: added support for %, c%, p%, l%.
6256 (stringFromUnit): added helper function.
6257 (asLatexString): changed to give right results for the %-values.
6259 * buffer.C: convert the widthp in a width%.
6261 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6263 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
6266 * figureForm.[Ch]: stripped the FD_from_figure manipulation
6267 code out of lux_cb.[Ch], ready for its (imminent?) removal.
6269 * lyx_cb.[Ch]: see above.
6271 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
6275 * lyx.[Ch]: replaced by figure_form.[Ch].
6279 * lyxfunc.C: changed headers associated with above changes.
6281 2001-03-27 Juergen Vigna <jug@sad.it>
6283 * BufferView_pimpl.C: set the temporary cursor right!
6285 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6287 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
6289 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6291 * LString.h: removed "using std::getline"!
6293 * BufferView_pimpl.C (Dispatch): changes due to changes in
6294 InsetInclude::Params.
6296 * buffer.C (tag_name): removed redundant break statements as they were
6297 producing lots of warnings with my compiler.
6299 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6301 * LString.h: add "using std::getline" when using the real <string>.
6303 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6305 * buffer.C: removed bitset usage.
6306 PAR_TAG moved to an anonymous name space.
6307 (tag_name): new funtion, also in the anonymous namespace.
6308 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
6309 (makeDocBookFile): clean code. Completed transition from string arrays
6311 (SimpleDocBookOnePar): code clean.
6313 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6315 * tabular.C: add some comments.
6317 2001-03-22 Juergen Vigna <jug@sad.it>
6319 * buffer.C (parseSingleLyXformat2Token): redone the minipage
6320 compatibility read a bit and fixed bug with minipage in different
6323 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
6325 * buffer.C (pop_tag): removed.
6326 (push_tag): removed.
6327 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
6328 array replaced with vector. Added support for CDATA sections.
6329 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
6331 (makeDocBookFile): XML conformant declaration of CDATA section,
6332 fixed bug related to <emphasis> in the first paragraph char.
6333 (sgmlOpenTag): exclude empty tags.
6334 (sgmlCloseTag): ditto.
6336 * buffer.h (pop_tag): removed.
6337 (push_tag): removed.
6339 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6341 * language.h (Languages): added size_type and size().
6343 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6345 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
6346 response on compability reading of minipages. One probliem is that
6347 the old usage of minipages was «flertydig»
6349 * several files here and in subdirs: don't use static at file
6350 scope use anon namespaces instead.
6352 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
6354 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
6355 LaTeX output. This is necessary for Literate document
6358 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6360 * buffer.C: insert hfill when needed.
6362 * tabular.C (l_getline): use string::erase, small whitespace change.
6364 * BufferView_pimpl.C: try the anon namespace.
6367 2001-03-16 Juergen Vigna <jug@sad.it>
6369 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
6370 otherwise it won't open options-dialogs.
6372 * buffer.C: honor pextraWidth(p) on converting minipages.
6374 * tabular.C (l_getline): changed the functions to strip trailing \r.
6376 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
6378 * BufferView_pimpl.C:
6379 * minibuffer..C: added "using SigC::slot" declaration.
6381 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6383 * lyxlex_pimpl.h: noncopyable is in namespace boost.
6389 * paragraph.C: ditto
6391 * lyxtext.h: NO_PEXTRA
6393 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
6395 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
6396 * ParameterStruct.h: ditto
6397 * ParagraphParameters.h: ditto
6398 * lyxparagraph.h: ditto
6400 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6402 * buffer.C: add compability for minipage alignment.
6403 (latexParagraphs): remove unwanted pextra check.
6405 * several files: remove CXX_WORKING_NAMESPACES
6407 * buffer.C (pop_tag): tie is in namespace boost
6409 * BufferView.h: noncopyable is in namespace boost
6414 * lastfiles.h: ditto
6415 * bufferlist.h: ditto
6416 * ShareContainer.h: ditto
6418 * LyXAction.h: ditto
6421 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6423 * Merging changes from BRANCH_MVC back into HEAD.
6425 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
6427 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
6429 * BufferView_pimpl.C: change from intl.C
6433 * Makefile.am: move combox.*
6439 * intl.C: remove dialog (covered by prefs)
6441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6443 * lyxfunc.C (Dispatch): removed redundant break statement.
6445 2001-03-14 Juergen Vigna <jug@sad.it>
6447 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
6449 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6451 * buffer.C: add hack to fix compability reading of minipages.
6453 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6455 * buffer.C (getLists): Cleanup.
6457 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6459 * lyxfont.C (update): don't honor toggleall on font size.
6461 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
6465 * Makefile.am: moved to frontends/xforms/
6469 * BufferView_pimpl.C: changes for moved mathpanel
6471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6473 * gettext.h: fix gettext_init() in --disable-nls
6475 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6477 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
6479 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6482 * lyx.h: strip external form
6484 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6486 * BufferView_pimpl.C: add comment, destroySplash()
6488 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6490 * BufferView_pimpl.C:
6494 * lyxfunc.C: use re-worked insetinclude
6496 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6498 * buffer.C: add using std::stringstream.
6500 * lyx_cb.C: readd using std::ios.
6502 * buffer.C: add using std::map.
6504 * BufferView_pimpl.C: add using std::vector.
6506 * ShareContainer.h: add std:: to swap.
6508 * buffer.h: add some typedefs
6509 * buffer.C (getLists): use them
6510 (getLists): renamed from getTocList.
6511 add a counter for the different float types and use it in the
6513 (getLists): use the same counter for the NEW_INSETS and the "non"
6516 * lyx_cb.h: remove unused items, includes, using etc.
6518 * ShareContainer.h: remove some commented code, add more comments
6519 and "documentation".
6521 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6523 * buffer.C (getTocList): make the list also when NEW_INSETS is
6526 * buffer.h: remove TocType
6528 * buffer.C (getTocList): change to return a map<string,
6529 vector<TocItem> >, implement for dynamic number of list.
6531 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
6532 * text2.C (PasteSelection): adjust
6533 * CutAndPaste.C (pasteSelection): adjust
6535 * FloatList.C (FloatList): update from the new_insets branch.
6536 * Floating.[Ch]: ditto
6537 * LaTeXFeatures.C: ditto
6539 * lyxlex_pimpl.C: ditto
6541 * paragraph.C (Last): remove when NEW_INSETS is defined.
6543 * other file: changes because of the above.
6545 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6547 * lyxparagraph.h: rename next to next_, previous to previous_,
6548 make them private for NEW_INSETS. Rename Next() to next(),
6549 Previous() to previous().
6551 * other files: changes because of the above.
6553 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
6556 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
6559 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6561 * main.C (main): pass lyx_localedir to gettext_init().
6563 * gettext.h: remove locale_init and gettext_init macros
6565 * gettext.C (locale_init): new function
6566 (gettext_init): new function
6568 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
6571 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
6573 * Moved credits to frontends:
6574 * credits.[Ch]: removed
6575 * credits_form.[Ch]: removed
6576 * lyx_gui_misc.C: remove credits stuff
6579 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6581 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
6583 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
6584 unneeded destructor.
6586 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
6587 a standalone pointer again.
6589 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
6591 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6597 * ToolbarDefaults.C:
6606 * BufferView_pimpl.C: use new file dialog in GUII
6609 * lyx_cb.C: remove LayoutsCB to Toolbar
6611 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * ShareContainer.h (get): add std:: qualifier
6615 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * ShareContainer.h: define a proper ShareContainer::value_type
6618 type (and use typename to please compaq cxx)
6620 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6622 * lyxparagraph.h: move serveral local vars to
6623 ParameterStruct/ParagraphParameters., use ShareContainer in
6624 FontTable., make vars in FontTable private and add getter and
6627 * paragraph.C: changes because of the above.
6629 * lyxfont.h: remove copy constructor and copy assignment. (the
6630 default ones is ok), move number inside FontBits. move inlines to
6633 * lyxfont.C: add number to initializaton of statics, move several
6634 inlines here. constify several local vars. some whitespace
6635 cleanup. Dont hide outerscope variables.
6637 * Spacing.h: add two new constructors to match the set methods.
6639 * ShareContainer.h: new file, will perhaps be moved to support
6641 * ParameterStruct.h: new file
6643 * ParagraphParameters.h: new file
6645 * ParagraphParameters.C: new file
6647 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
6648 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
6650 * BufferView_pimpl.C: ParagraphParameter changes.
6651 * buffer.C: Likewise.
6652 * bufferview_funcs.C: Likewise.
6654 * text2.C: Likewise.
6656 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * lyxfind.C (LyXReplace): do not redefine default argument in
6660 (IsStringInText): ditto
6661 (SearchForward): ditto
6662 (SearchBackward): ditto
6664 2001-03-06 Juergen Vigna <jug@sad.it>
6666 * lyxfind.C (IsStringInText): put parentes around expressions.
6668 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
6670 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
6672 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
6674 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
6676 * stl_string_fwd.h: add comment
6678 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
6681 * tabular.C: remove unused DocBook methods
6687 killed DO_USE_DEFAULT_LANGUAGE
6689 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * lyx_gui.C: do not include language.h.
6693 * bufferview_funcs.C (ToggleAndShow): do not provide optional
6694 arguments in function implementation.
6696 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6698 * BufferView_pimpl.C: add <ctime>
6700 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6702 * BufferView_pimpl.C: add using std::find_if
6704 2001-02-27 José Matos <jamatos@fep.up.pt>
6706 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
6709 2001-02-11 José Matos <jamatos@fep.up.pt>
6711 * buffer.C (makeDocBookFile): command styles now have a parameter as
6714 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
6716 * layout_forms.[Ch]: removed
6717 * lyx_cb.[Ch]: out character
6718 * lyx_gui.C: out character
6719 * lyx_gui_misc.C: out character
6720 * bufferview_funcs.C: : out character,
6721 added toggleall as parameter in ToggleAndShow
6723 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
6725 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
6727 * text2.C (SetCurrentFont): Disable number property at boundary.
6729 2001-02-26 Juergen Vigna <jug@sad.it>
6731 * lyxfunc.C (getStatus): added a string argument override function so
6732 that this is correctly called from LyXFunc::Dispatch if it contains a
6733 do_not_use_argument which is used!
6734 (Dispatch): added check for "custom" export and call appropriate func.
6736 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
6738 * lyxrc.C: Add language_command_local, language_use_babel and
6739 language_global_options.
6741 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
6743 * buffer.C (makeLaTeXFile): Use language_use_babel and
6744 language_global_options.
6746 2001-02-23 Juergen Vigna <jug@sad.it>
6748 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
6749 which works with LyXText and putted it inside BufferView. Here now we
6750 only call for that part the BufferView::Dispatch() function.
6752 * BufferView.C (Dispatch): added.
6754 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
6755 functions which needs to use a LyXText over from LyXFunc.
6756 (MenuInsertLyXFile): added
6757 (getInsetByCode): added
6758 (moveCursorUpdate): added
6759 (static TEXT): added
6761 2001-02-22 Juergen Vigna <jug@sad.it>
6763 * BufferView_pimpl.C (update): call a status update to see if LyXText
6766 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6768 * vc-backend.C (revert): implement for CVS
6769 (getLog): implement for CVS
6771 2001-02-20 Juergen Vigna <jug@sad.it>
6773 * text2.C (ClearSelection): added BufferView param for inset_owner call
6775 * lyxfunc.C (TEXT): added this function and use it instead of
6776 directly owner->view()-text of getLyXText().
6778 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
6780 * src/layout_forms.C: out preamble
6781 * src/layout_forms.h: out preamble
6782 * src/lyx_cb.C: out preamble
6783 * src/lyx_cb.h: out preamble
6784 * src/lyx_gui.C: out preamble
6785 * src/lyx_gui_misc.C: out preamble
6786 * src/lyxfunc.C: connect with guii preamble
6788 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6790 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
6792 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
6794 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
6795 whether to run bibtex.
6797 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
6799 * Makefile.am (lyx_SOURCES): Remove BackStack.h
6801 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6803 * Makefile.am (lyx_SOURCES): removed bibforms.h
6807 * text.C (GetVisibleRow): make several local vars const
6809 * tabular.C: small cleanup.
6811 * lyxserver.C (callback): use compare instead of strncmp
6813 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
6814 inlines to after class or to paragraph.C
6816 * lyxfont.h: remove friend operator!=
6818 * converter.h: move friend bool operator< to non friend and after
6821 * combox.h: small cleanup
6823 * buffer.h: doxygen, remove unused constructor, move inclas inlies
6824 to inlines after class def.
6826 * buffer.C (pop_tag): use string operations instead of strcmp
6828 * bmtable.c: doxygen, small cleanup
6830 * LaTeX.h: remove friend operator==
6832 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6844 * BufferView_pimpl.C:
6845 * BufferView.[Ch]: remove cruft
6847 2001-02-14 Juergen Vigna <jug@sad.it>
6849 * lyxfunc.C: removed #if 0 unused code
6851 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
6853 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
6855 * text2.C (SetSelection): added a BufferView * parameter
6857 2001-02-13 Juergen Vigna <jug@sad.it>
6859 * lyxfunc.C (Dispatch): fixed protected blank problem.
6860 * BufferView2.C (protectedBlank): added LyxText * parameter.
6862 * tabular.C (AppendRow): forgot to set row_info of newly added row.
6863 (AppendColumn): same as above for column_info.
6865 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
6866 (moveCursorUpdate): use a LyXText param for support of InsetText.
6868 * BufferView_pimpl.C (doubleClick): added support for InsetText.
6869 (tripleClick): ditto
6871 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
6873 * BufferView_pimpl.C (update): added LyXText param to honor insets.
6875 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
6877 * text2.C (SetSelection): set correct update status if inset_owner
6880 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
6882 * tabular.C: remove some commented code.
6884 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6886 * BufferView_pimpl.C: call hideSplash()
6888 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
6891 * bibforms.h: remove
6894 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
6895 add LFUN_CHILD_CREATE
6897 * counters.h: fix tiny typo
6902 * lyx.C: move splash to frontends/xforms/
6904 * lyx_gui_misc.C: move Include and Bibform to frontends
6906 * lyxvc.h: clarify comment
6908 * vspace.C: tiny housekeeping
6910 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6912 * text.C (PrepareToPrint): RTL Fix.
6914 * paragraph.C (GetUChar): New method.
6915 (String): Use GetUChar.
6917 * buffer.C (asciiParagraph): Use GetUChar.
6919 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6921 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
6923 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
6926 * buffer.C: rename to getLogName(), handle
6927 build log / latex log nicely
6929 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6932 * MenuBackend.h: remove support for reference menuitem type.
6934 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
6936 * BufferView_pimpl.C: housekeeping
6937 * BufferView_pimpl.h:
6942 * minibuffer.h: move Timeout GUI-I
6944 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
6946 * lyxrc.C (read): Update converters data-structures.
6948 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
6950 * LaTeX.h (operator!=): add operator != for Aux_Info
6952 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
6954 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
6956 * LaTeXLog.C: deleted, useful code moved to Buffer
6959 * buffer.C: new function getLatexLogName()
6965 * lyxfunc.C: use frontends for LaTeX and VC logs
6967 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6969 * LaTeX.h: yet another std:: that Allan forgot.
6971 * Variables.C (set): renamed from isset(), because this clashes
6972 with some HP-UX macros (grr).
6974 2001-02-06 Allan Rae <rae@lyx.org>
6976 * LaTeX.h: Another bug fix. Missing std:: this time.
6978 2001-02-04 Allan Rae <rae@lyx.org>
6980 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
6981 floats problem. I've left it commented out because it's not quite
6982 correct. It should also test that the current object is a table or
6983 figure inset. But I haven't gotten around to figuring out how to do
6984 that. I *think* it'll be something like: "table" == inset.type()
6986 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
6989 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
6991 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
6992 all the citation/databases/styles in the auxilary file.
6993 (run): Rerun latex if there was a babel language error.
6995 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
6997 * text.C (Backspace): Preserve the font when changing newline char
6999 (BreakParagraph): If the cursor is before a space, delete the space.
7001 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7003 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7005 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7006 new argument (code).
7007 (ChangeCitationsIfUnique): New method.
7009 * paragraph.C (GetPositionOfInset): Handle bibkey.
7011 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7013 * BufferView_pimpl.h: change type of Position::par_pos to
7014 LyXParagraph::size_type.
7016 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7018 * BufferView_pimpl.C (savePosition, restorePosition): Write
7019 messages to minibuffer.
7021 2001-01-28 José Matos <jamatos@fep.up.pt>
7023 * buffer.C (makeDocBookFile): adds support for document language.
7024 A silly restriction on the name of LatexCommand types where removed.
7025 Added support for CDATA sections, allows to chars unescaped, used
7026 among others in code, to avoid escape < and >.
7028 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7030 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7031 saved positions instrad of a stack. Furthermore, a position is
7032 stored using paragraph id/paragraph position.
7034 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7035 Remove LFUN_REF_BACK.
7037 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7039 * converter.C (dvipdfm_options): New method.
7041 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7043 * vspace.C (isValidLength): Fix for empty input string.
7045 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7047 * LyXAction.C (init): change description of LFUN_FIGURE to
7050 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7052 * LaTeX.C: add using directive
7054 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7056 * MenuBackend.C (expand): Fix the sorting of the formats.
7058 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7060 * lyx_main.C: tiny error message fix
7062 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7064 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7065 calling fl_initialize(). This fixes the problem with ',' as
7066 decimal separator in text files.
7068 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7070 * trans.C (process): Fix the keymap bug.
7072 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
7074 * LaTeX.C (scanAuxFiles): New method. Provides support for
7075 multiple bibliographies (when using the bibtopic/bibunits pacakges).
7076 (scanLogFile) Scan for "run BibTeX" messages.
7078 * buffer.C (makeLaTeXFile): Do not load the ae package when using
7079 OT1 font encoding. Also, load the aecompl package if the ae
7082 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7084 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7086 * texrow.C (increasePos): turn two error messages into debug
7089 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
7091 * LaTeX.C (scanAux): Handle the \@input macro.
7092 (runBibTeX): Use scanAux().
7094 * language.C (latex_options_): New field.
7096 * LaTeXFeatures.C (getMacros): Add language macros.
7098 * buffer.C (makeLaTeXFile): Small fix.
7100 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7104 * text2.C: add a using directive.
7106 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
7111 * lyxfunc.C: kill LyXBell.
7113 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
7115 * text.C (IsBoundary): Remove the error message
7117 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
7119 * lyxrc.C (setDefaults): Correct initialization value for
7122 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
7124 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
7127 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
7130 * src/LyXAction.C: Added reference-next.
7132 * text.C (InsertChar): Use contains instead of strchr.
7134 * lyx_cb.C (MenuInsertLabel): Enable default value code.
7136 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
7138 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
7139 alignment commands (when needed).
7141 * text.C (InsertChar): Add ':' to number separator chars.