3 BufferView_pimpl.C: streamlining mathed <-> outer world interaction
6 LyXAction.C: remove unused LFUN_MATH
9 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * paragraph.[Ch]: add some NO_NEXT ifdefs.
13 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * paragraph.C (Paragraph): reformat a bit
16 (cutIntoMinibuffer): use builtin InsetList function instad of
20 * buffer.C: include boost/bind.hpp, add using std::for_each
21 (writeFileAscii): use ParagraphList iterators
22 (validate): use for_each for validate traversal of paragraphs
23 (getBibkeyList): use ParagraphList iterators
24 (resizeInsets): use for_each to resizeInsetsLyXText for all
26 (getParFromID): use ParagraphList iterators
28 * BufferView2.C (lockInset): use paragraph list and iterators
30 2002-08-14 John Levon <levon@movementarian.org>
32 * lyxserver.C: remove spurious xforms include
34 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
36 * lyxfunc.C (getStatus): disable math-extern outside of math mode
38 2002-08-13 André Pönitz <poenitz@gmx.net>
41 * lyxfunc.C: further cleaning
43 2002-08-13 André Pönitz <poenitz@gmx.net>
45 * funcrequest.h: new constructor
47 * funcrequest.C: move stuff here from .h
53 * lyxfunc.C: subsequent changes
55 * lyxfunc.h: new view() member function
57 * lyxfunc.C: subsequent changes
59 2002-08-13 Angus Leeming <leeming@lyx.org>
70 changes due to the changed LyXView interface that now returns references
71 to member variables not pointers.
73 2002-08-13 Angus Leeming <leeming@lyx.org>
75 * WordLangTuple (word, lang_code): return references to strings,
80 * lyxtext.h: forward-declare WordLangTuple.
85 * text.C: #include "WordLangTuple.h".
88 * text.C: (selectNextWordToSpellcheck): constify return type.
90 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
99 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
101 Made updateCounter always count from start of buffer, and removed
102 second argument (par).
103 Reverted floats number display to '#'. Perhaps I'll try again when the
104 code base is sanitized a bit.
106 2002-08-12 Angus Leeming <leeming@lyx.org>
108 * buffer.[Ch] (getLabelList): constify.
110 2002-08-07 André Pönitz <poenitz@gmx.net>
112 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
114 * funcrequest.h: extension to keep mouse (x,y) position
116 2002-08-12 Juergen Vigna <jug@sad.it>
118 * BufferView2.C (insertErrors): forbid undo when inserting error
121 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
123 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
125 * ParagraphList.[Ch]: new files
127 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
129 * BufferView2.C (lockInset): ParagraphList changes
132 * bufferlist.C: ditto
136 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
139 unused class variable counter_,
141 * paragraph.[Ch] (getFirstCounter): delete unused function
143 * counters.C: include LAssert.h
144 (reset): add a new function with no arg, change other version to
145 not have def. arg and to not allow empty arg.
147 * text2.C (setCounter): remove empty arg from call to Counters::reset
149 2002-08-11 John Levon <levon@movementarian.org>
151 * Makefile.am: add WordLangTuple.h
153 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
156 lyxfunc.C lyxlex_pimpl.C: ws changes only.
158 * insets/insettext.C: InsetList changes
160 * graphics/GraphicsSupport.C (operator()): InsetList changes
162 * toc.C (getTocList): InsetList changes
164 * paragraph_pimpl.[Ch]: InsetList changes
166 * paragraph.[Ch]: InsetList changes
168 * buffer.C (inset_iterator): InsetList changes
169 (setParagraph): ditto
170 * buffer.h (inset_iterator): ditto
171 * iterators.C (operator++): ditto
174 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
176 * InsetList.[Ch]: new files, most InsetList handling moved out of
179 * BufferView2.C (removeAutoInsets): InsetList changes
181 (ChangeInsets): ditto
183 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
185 * paragraph_pimpl.h (empty): new function
187 * paragraph.[Ch] (empty): new function
189 * other files: use the new Paragraph::empty function
191 2002-08-09 John Levon <levon@movementarian.org>
193 * lyxtext.h: remove unused refresh_height
195 2002-08-09 John Levon <levon@movementarian.org>
202 * paragraph.C: move sgml char escaping out of paragraph
205 * paragraph.C: remove id setter
209 * paragraph_pimpl.C: remove dead tex_code_break_column
211 * bufferview_funcs.C: small cleanup
213 * lyxfunc.C: remove dead proto
215 * lyxtext.h: make some stuff private. Remove some dead stuff.
217 * lyxgluelength.C: make as[LyX]String() readable
219 2002-08-08 John Levon <levon@movementarian.org>
227 * toc.C: lyxaction cleanup
229 2002-08-08 John Levon <levon@movementarian.org>
231 * BufferView2.C: small cleanup
234 * lyxfind.C: move unnecessary header into the .C
236 2002-08-08 John Levon <levon@movementarian.org>
238 * funcrequest.h: just tedious nonsense
241 * lyx_main.C: cleanups
244 * vspace.C: remove dead header lyx_main.h
246 2002-08-07 Angus Leeming <leeming@lyx.org>
250 Forward declare class Counters in paragraph.h by moving the ctrs member
251 variable into Paragraph::Pimpl.
252 (counters): new method, returning a reference to pimpl_->ctrs.
254 * text2.C: ensuing changes.
256 2002-08-07 John Levon <levon@movementarian.org>
258 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
260 * BufferView_pimpl.C: announce X selection on double/triple
263 * lyx_main.C: use correct bool in batch dispatch
265 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
267 2002-08-07 André Pönitz <poenitz@gmx.net>
269 * funcrequest.h: new class to wrap a kb_action and its argument
272 * BufferView_pimpl[Ch]:
276 * lyxrc.C: subsequent changes
279 2002-08-07 John Levon <levon@movementarian.org>
281 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
282 document options change.
284 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
289 * makefile.am: move counters functionality over from
290 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
292 2002-08-06 John Levon <levon@movementarian.org>
294 * WordLangTuple.h: new file for word + language code tuple
305 * BufferView2.C: use WordLangTuple
308 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
310 2002-08-06 John Levon <levon@movementarian.org>
312 * lyx_main.C: fix cmdline batch handling
314 2002-08-06 André Pönitz <poenitz@gmx.net>
316 * lyxrc.C: set default for show_banner to true
318 2002-08-06 John Levon <levon@movementarian.org>
320 * pspell.C: fix a crash, and allow new aspell to work
322 2002-08-06 John Levon <levon@movementarian.org>
325 * kbmap.C: small cleanup
328 * vspace.C: add const
330 2002-08-05 John Levon <levon@movementarian.org>
332 * LyXAction.C: back to tabular-insert
334 2002-08-04 John Levon <levon@movementarian.org>
337 * BufferView.C: cosmetic change
339 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
349 * BufferView2.C: purge all "Lyx" not "LyX" strings
352 * lyxcursor.C: attempt to add some documentation
358 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
359 merge with LFUN_TABULAR_INSERT
366 * pspell.C: split up i/pspell implementations into separate
369 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
371 * text2.C: some cleanup
373 * lyxfunc.C: don't check for isp_command == "none" any more, it
374 didn't make any sense
376 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
381 * makefile.am: move counters functionality over
382 from text2.C/paragraph.[Ch] to counters.[Ch], and
384 2002-08-02 John Levon <levon@movementarian.org>
386 * buffer.C: s/lyxconvert/lyx2lyx/
388 2002-08-02 Angus Leeming <leeming@lyx.org>
390 * lyxlex.C: revert John's change as it breaks reading of the user
393 2002-08-02 Angus Leeming <leeming@lyx.org>
395 * importer.C (Import):
396 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
397 changes due to LyXView::view() now returning a boost::shared_ptr.
399 2002-08-02 John Levon <levon@movementarian.org>
401 * lyxlex.C: small cleanup
403 2002-08-02 John Levon <levon@movementarian.org>
405 * text2.C (status): small cleanup, no logic change
407 2002-08-01 John Levon <levon@movementarian.org>
410 * buffer.C (writeFile): don't output alerts, caller
414 * lyx_cb.C: from above
416 * lyxfunc.C: allow to open non-existent files
418 2002-07-31 John Levon <levon@movementarian.org>
420 * lyxserver.C: don't let incidental errors get
423 2002-07-30 John Levon <levon@movementarian.org>
425 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
427 2002-07-30 John Levon <levon@movementarian.org>
430 * lyxserver.C: remove I/O callback too
432 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
434 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
437 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
439 * many files: strip,frontStrip -> trim,ltrim,rtrim
441 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
443 * PrinterParams.h: remove extern containsOnly, and include
444 support/lstrings.h instead.
446 * LaTeX.C (scanAuxFile): modify because of strip changes
448 * buffer.C (makeLaTeXFile): ditto
449 * bufferparams.C (writeFile): ditt
450 * lyxfont.C (stateText): ditto
451 * lyxserver.C (read_ready): ditto
452 * vc-backend.C (scanMaster): ditto
454 * BufferView_pimpl.h: ws changes
456 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
458 2002-07-26 André Pönitz <poenitz@gmx.net>
460 * kb_sequence.C: remove unnedred usings
462 2002-07-26 Juergen Vigna <jug@sad.it>
464 * lyxfind.C (LyXReplace): we have to check better if the returned
465 text is not of theLockingInset()->getLockingInset().
467 2002-07-25 Juergen Vigna <jug@sad.it>
469 * lyxfind.C (LyXReplace): don't replace if we don't get the
472 * undo_funcs.C (createUndo): remove debugging code.
474 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
476 * buffer.C (parseSingleLyXformat2Token): Use default placement
477 when reading old floats.
479 * FloatList.C (FloatList): Change the default placement of figure
482 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
484 * MenuBackend.C: using std::max
486 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
488 * MenuBackend.C (expandToc):
489 (expandToc2): code moved from xforms menu frontend. It is now
490 generic and TOCs are transparent to menu frontends.
492 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
494 * toc.C (getTocList): protect against buf=0
496 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
497 Menu as first parameter. Now, this calls itself recursively to
498 expand a whole tree (this will be useful for TOC handling)
499 (expandFloatInsert): remove 'wide' version of floats
501 * MenuBackend.h (submenuname): returns the name of the submenu.
502 (submenu): returns the submenu itself, provided it has been
503 created by MenuBackend::expand
505 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
507 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
508 insets which have noFontChange == true. (bug #172)
510 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
512 * BufferView_pimpl.C: add connection objects and use them...
515 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
517 * MenuBackend.C (expandLastfiles):
520 (expandFloatListInsert):
522 (expand): split expand in parts
524 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
526 * lyx_gui.C: use lyx_gui::exit()
528 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
530 * LyXAction.C: show the failing pseudo action
532 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
534 * buffer.C (readFile): Run the lyxconvert script in order to read
537 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
541 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
543 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
547 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
549 2002-07-22 Herbert Voss <voss@lyx.org>
552 * lyxlength.[Ch]: add support for the vertical lengths
554 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
556 * toc.[Ch]: std:: fixes
558 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
560 * lyxrc.C: do not include lyx_main.h
562 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
568 * BufferView2.C: include "lyxlex.h"
571 * bufferparams.h: do not #include "lyxlex.h"
573 * lyxtextclasslist.C (Add): remove method
574 (classlist): renamed to classlist_
580 * bufferview_funcs.C:
585 * toc.C (getTocList): use BufferParams::getLyXTextClass
587 * toc.C (getTocList): use InsetFloat::addToToc
589 * toc.[Ch]: new files, containing helper functions to handle table
592 * lyxfunc.C (dispatch): no need to remove spaces around command
594 (getStatus): handle LFUN_SEQUENCE by returning the status of the
595 first command of the sequence; it is not very clever, but I do not
596 have a better idea, actually
598 * LyXAction.C (LookupFunc): make sure to remove space at the
599 beginning and end of the command
601 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
603 * MenuBackend.C (getMenubar): new method: return the menubar of
605 (read): treat differently reading of menu and menubar (in
606 particular, the menubar has no name now)
607 (Menu::menubar): remove
609 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
612 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
614 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
615 a bibitem inset in a RTL paragraph.
617 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
619 * paragraph_pimpl.C: constify
621 * BufferView_pimpl.C:
623 * lyxfunc.C: fix dispatch in a nicer way
625 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
627 * lyxfunc.C (dispatch):
628 * BufferView_pimpl.C:
629 * BufferView_pimpl.h:
631 * BufferView.h: rename Dispatch() to dispatch()
633 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
635 * lyxlayout.C (Read): honor DependsOn tag
637 * lyxlayout.[Ch] (depends_on): new method
639 * version.C.in: update lyx_docversion
641 * LaTeXFeatures.C (getMacros): only define \LyX when needed
643 * paragraph.C (validate): remove from here...
644 * paragraph_pimpl.C (validate): ... and move here
645 (isTextAt): make it const
647 * buffer.C (getLists): ws cleanup
649 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
651 * language.C (read): Use iso8859-1 encoding in latex_lang
652 (this prevents LyX from crashing when using iso10646-1 encoding).
654 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
656 * text2.C (toggleInset): if cursor is inside an inset, close the
657 inset and leave cursor _after_ it
659 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
661 * lyxfunc.C: move minibuffer completion handling out of here
663 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
665 * BufferView_pimpl.C:
666 * LaTeX.C: fix dispatch calls
668 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
670 * text.C (drawChars): Fix Arabic text rendering.
672 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
676 * lyxfunc.C: remove message-push/pop
680 * lyxfunc.C: rationalise some code by removing verboseDispatch
681 in favour of a bool argument to dispatch()
683 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
685 * lyx_main.C (init): make sure to read symlinks as absolute paths
687 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
690 * lyxfunc.C: no need for commandshortcut to be a member
692 2002-07-15 André Pönitz <poenitz@gmx.net>
694 * converter.C: add support for $$s (scripts from lib/scripts dir)
695 * lyx_main.C: white space
698 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
702 * lyxrc.C: remove second exit confirmation
704 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
709 * BufferView_pimpl.h:
710 * BufferView_pimpl.C:
711 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
713 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
715 * MenuBackend.C (expand): add numeric shortcuts to document menu
717 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
719 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
721 * lyxfont.C (setLyXFamily):
728 * buffer.C (asciiParagraph): use ascii_lowercase
730 2002-07-15 Mike Fabian <mfabian@suse.de>
732 * lyxlex_pimpl.C (search_kw):
733 * lyxlex.C (getLongString):
734 * converter.h (operator<):
735 * converter.C (operator<):
736 * buffer.C (parseSingleLyXformat2Token):
738 * ToolbarDefaults.C (read):
739 * MenuBackend.C (checkShortcuts):
741 * LColor.C (getFromGUIName):
742 (getFromLyXName): use the compare_ascii_no_case instead of
743 compare_no_case, because in turkish, 'i' is not the lowercase
744 version of 'I', and thus turkish locale breaks parsing of tags.
746 2002-07-16 Angus Leeming <leeming@lyx.org>
748 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
749 now takes a Buffer const & argument.
751 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
753 * BufferView.C (resize): check there's a buffer to resize
755 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
757 * lyxfunc.C: remove dead code
760 * lyxserver.C: use lyx_guii::set_read_callback
762 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
764 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
765 an inset in a RTL paragraph.
767 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
769 * lyxfunc.C: repaint after a font size update
771 2002-07-15 André Pönitz <poenitz@gmx.net>
773 * lyxlength.C: inBP should be able to return negative values
775 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
777 * lyxfunc.C: use lyx_gui::update_fonts()
779 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
781 * lyxfunc.C: use lyx_gui::update_color()
783 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
789 * lyxrc.C: remove file->new asks for name option, and let
790 buffer-new take an argument
792 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
794 * BufferView_pimpl.C: remove unneeded extra repaint()
796 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
798 * LyXAction.C: allow command-sequence with NoBuffer
800 * lyxfunc.C: don't insist on trailing ';' for command-sequence
802 2002-07-10 Angus Leeming <leeming@lyx.org>
804 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
806 2002-07-09 Angus Leeming <leeming@lyx.org>
808 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
810 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
812 * lengthcommon.h: whitespace
814 * lyxfunc.C: update scrollbar after goto paragraph
816 * lyxtext.h: factor out page break drawing, and fix it so
817 page break/added space paints as selected nicely
819 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
821 * BufferView_pimpl.C: add FIXMEs, clean up a little
823 2002-07-09 André Pönitz <poenitz@gmx.net>
825 * lyxfont.[Ch]: support for wasy symbols
827 2002-07-08 André Pönitz <poenitz@gmx.net>
829 * BufferView_pimpl.C: apply John's patch for #93.
831 2002-07-05 Angus Leeming <leeming@lyx.org>
833 * BufferView_pimpl.C (buffer): generate previews if desired.
835 * LColor.h: add "preview" to the color enum.
837 * LColor.C (LColor): add a corresponding entry to the items array.
839 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
842 2002-07-05 Angus Leeming <leeming@lyx.org>
844 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
845 The body of the code is now in the method that is passed an ostream &
846 rather than a file name.
847 Pass an additional only_preamble parameter, useful for the forthcoming
850 2002-07-03 André Pönitz <poenitz@gmx.net>
852 * lyxfunc.C: simplify getStatus() a bit for math stuff
854 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
856 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
858 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
860 * text.C (changeRegionCase): do not change case of all the
861 document when region ends at paragraph end (bug #461)
863 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
865 * paragraph.C (startTeXParParams):
866 (endTeXParParams): add \protect when necessary
868 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
870 * BufferView_pimpl.C (workAreaExpose): remove warning
872 2002-06-27 Angus Leeming <leeming@lyx.org>
874 * Makefile.am: add lyxlayout_ptr_fwd.h.
876 2002-06-26 André Pönitz <poenitz@gmx.net>
878 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
880 2002-06-25 Angus Leeming <leeming@lyx.org>
882 * lyxfunc.C (dispatch): Comment out the call to
883 grfx::GCache::changeDisplay. The method no longer exists now that the
884 pixmap generation part of the graphics loader has been moved into
887 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
889 * text2.C: layout as layout
891 * text.C: layout as layout
893 * tabular.C (OldFormatRead): layout as layout
895 * paragraph_pimpl.C (TeXDeeper): layout as layout
896 (realizeFont): layout as layout
898 * paragraph.C (writeFile): layout as layout
899 (validate): layout as layout
900 (getFont): layout as layout
901 (getLabelFont): layout as layout
902 (getLayoutFont): layout as layout
903 (breakParagraph): layout as layout
904 (stripLeadingSpaces): layout as layout
905 (getEndLabel): layout as layout
906 (getMaxDepthAfter): layout as layout
907 (applyLayout): layout as layout
908 (TeXOnePar): layout as layout
909 (simpleTeXOnePar): layout as layout
910 (TeXEnvironment): layout as layout
911 (layout): layout as layout
912 (layout): layout as layout
914 * lyxtextclass.C (compare_name): new functor to work with
915 shared_ptr, layout as layout
916 (Read): layout as layout
917 (hasLayout): layout as layout
918 (operator): layout as layout
919 (delete_layout): layout as layout
920 (defaultLayout): layout as layout
922 * lyxlayout_ptr_fwd.h: new file
924 * lyxlayout.C (Read): layout as layout
926 * lyx_cb.C (MenuInsertLabel): layout as layout
928 * bufferlist.C (newFile): layout as layout
930 * buffer.C (readLyXformat2): layout as layout
931 (parseSingleLyXformat2Token): layout as layout
932 (insertStringAsLines): layout as layout
933 (asciiParagraph): layout as layout
934 (latexParagraphs): layout as layout
935 (makeLinuxDocFile): layout as layout
936 (simpleLinuxDocOnePar): layout as layout
937 (makeDocBookFile): layout as layout
938 (simpleDocBookOnePar): layout as layout
939 (getLists): layout as layout
941 * LaTeXFeatures.C (getTClassPreamble): layout as layout
943 * CutAndPaste.C (cutSelection): layout as layout
944 (pasteSelection): layout as layout
945 (SwitchLayoutsBetweenClasses): layout as layout
947 * BufferView_pimpl.C (Dispatch): layout as layout
948 (smartQuote): layout as layout
950 * BufferView2.C (unlockInset): layout as layout
952 2002-06-24 André Pönitz <poenitz@gmx.net>
954 * lyxfunc.C: fix #487
956 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
960 * lyxfunc.C: remove display_shortcuts, show_banner
962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
964 * Buffer_pimpl.C: oops, update on resize
966 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
973 * BufferView.C: use repaint()
975 * BufferView_pimpl.h:
976 * BufferView_pimpl.C: s/updateScreen()/repaint()/
977 as it's a clearer description. Remove superfluous
980 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
982 * text.C: fix bug 488. Not ideal, but getting
983 getWord() to work properly for the insets that
984 matter is more difficult ...
986 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
988 * BufferView_pimpl.C:
991 * lyxfunc.C: remove the six million index lyxfuncs to just
992 one, and DTRT (bug 458)
994 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
998 * BufferView_pimpl.h:
999 * BufferView_pimpl.C: clean up resize() stuff,
1000 and unnecessary updateScreen()s
1002 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1006 * BufferView_pimpl.h:
1007 * BufferView_pimpl.C:
1010 * minibuffer.C: remove focus management of workarea,
1011 not needed. Use screen's greyOut()
1013 2002-06-17 Herbert Voss <voss@lyx.org>
1015 * converter.C: (convert) do not post a message, when converting
1016 fails, let the calling function decide what to do in this case
1018 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1020 * lyxfunc.C: tidy up a little
1022 2002-06-16 <alstrup@diku.dk>
1024 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1025 Got rid of FORMS_H_LOCATION include. Now we are
1028 2002-06-15 LyX Development team <lyx@rilke>
1030 * buffer.[Ch] (sgmlOpenTag):
1031 (sgmlCloseTag): Added support for avoiding pernicious mixed
1032 content. Return number of lines written.
1035 (makeDocBookFile): Fixed calls to sgml*Tag.
1036 Simple white space clean.
1038 (simpleDocBookOnePar): Simple white space clean.
1040 * tabular.[Ch] (docBook): Renamed to docbook and got another
1041 argument to related with the pernicious mixed content.
1043 (docbookRow): Fixed calls for docbook inset method.
1045 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1047 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1048 so it's X11 independent.
1052 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1054 2002-06-15 Lyx Development team <lyx@electronia>
1056 * intl.h: Renamed getTrans to getTransManager.
1058 2002-06-14 Angus Leeming <leeming@lyx.org>
1060 * Makefile.am: nuke forgotten stl_string_fwd.h.
1062 2002-06-12 Angus Leeming <leeming@lyx.org>
1064 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1066 2002-06-13 Angus Leeming <leeming@lyx.org>
1069 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1071 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1073 * kbmap.C (getiso): add support for cyrillic and greek
1075 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1079 * BufferView_pimpl.h:
1080 * BufferView_pimpl.C: move bogus scrolling logic
1083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1086 * BufferView_pimpl.C: view->resize() change
1088 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1090 * BufferView_pimpl.C: topCursorVisible
1093 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1097 * lyx_gui.C: move to frontends/
1101 * lyx_main.C: changes from above
1103 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1110 * lyx_main.C: minor tidy
1112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1114 * BufferView_pimpl.h:
1115 * BufferView_pimpl.C:
1117 * BufferView.C: make painter() const,
1120 * BufferView2.C: use screen() accessor
1123 * lyx_main.C: some minor cleanup
1125 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1127 * BufferView_pimpl.h:
1128 * BufferView_pimpl.C: remove enter/leaveView,
1131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1136 * BufferView_pimpl.h:
1137 * BufferView_pimpl.C: only construct screen once,
1140 * lyxrc.C: remove pointless comment
1142 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1145 * BufferView.C: remove active() and belowMouse()
1147 * BufferView_pimpl.h:
1148 * BufferView_pimpl.C: use workarea() not workarea_,
1149 and make it use a scoped_ptr instead
1151 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1153 * lyx_gui.C: add debug message on BadWindow
1155 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1157 * sp_spell.C: fdopen is not part of the C++ standard.
1159 * paragraph.C (InsetIterator): use >= instead of ==
1161 2002-06-07 Angus Leeming <leeming@lyx.org>
1163 Fixes needed to compile with Compaq cxx 6.5.
1164 * BufferView_pimpl.C:
1171 * lyxtextclasslist.C:
1176 all c-library variables have been moved into namespace std. Wrap
1177 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1182 Add a using std::abs declaration.
1184 * kbmap.h (modifier_pair):
1185 * paragraph.h (InsetTable, InsetList):
1186 * lyxfont.h (FontBits):
1187 type definition made public.
1189 * bufferlist.C (emergencyWriteAll): the compiler complains that
1190 there is more than one possible lyx::class_fun template to choose from.
1191 I re-named the void specialisation as lyx::void_class_fun.
1193 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1195 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1196 the compiler is is unable to find tostr in write_attribute.
1198 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1200 * buffer.C (sgmlError): hide #warning
1202 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1204 * xtl/*: get rid of xtl, which is not in use anyway
1206 * LyXAction.C (init):
1207 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1208 were unimplemented xtl experimentation
1210 2002-06-04 André Pönitz <poenitz@gmx.net>
1212 * lyxfunc.C: disable array operation on simple formulae
1214 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
1216 * converter.C: constify a bit
1218 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
1220 * lyx_gui.C: check xforms version correctly
1222 2002-04-30 Herbert Voss <voss@lyx.org>
1224 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1227 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
1229 * lyxvc.C: fix bug 416 (make sure buffer is saved before
1230 attempt to register it with a VCS)
1232 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1234 * lyx_main.C (init): honor variables LYX_DIR_13x and
1237 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1241 * lyx_main.C: fix a crash on bad command line,
1242 and give a useful exit status on error
1244 * lyxfunc.C (doImport): allow -i lyx to work
1246 2002-03-30 André Pönitz <poenitz@gmx.net>
1248 * lyxfunc.C: mathed font changes
1250 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1265 * trans_mgr.h: srcdocs, and some minor cleanups
1267 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1269 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
1270 call getFont all the time)
1272 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1274 * switch from SigC signals to boost::signals
1276 2002-05-29 André Pönitz <poenitz@gmx.net>
1278 * paragraph_pimpl.C (getChar): don't call size() too often...
1280 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1282 * paragraph_pimpl.C (insertChar): do not try to update tables when
1283 appending (pos == size())
1285 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
1286 in order to reduce drastically the number of comparisons needed to
1287 parse a large document
1289 2002-05-29 André Pönitz <poenitz@gmx.net>
1295 * textclasslist.[Ch]:
1296 * sp_ispell.h: whitespace change
1298 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1300 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
1301 lyxaction directly now.
1303 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
1307 * lyxvc.C: remove unused headers
1309 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1316 * undo_funcs.C: some cleanups. Use shared_ptr
1317 and a template for the undo stacks.
1319 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1321 * BufferView_pimpl.h:
1322 * BufferView_pimpl.C:
1329 * text2.C: use key_state/mouse_state
1331 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1333 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
1336 * chset.C: change include order
1337 (loadFile): use boost regex and get rid of LRegex and LSubstring
1339 * Makefile.am (BOOST_LIBS): new variable
1342 * LaTeX.C: change include order.
1343 (scanAuxFile): use boost regex and get rid of LRegex and
1347 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1352 * FontInfo.C: moved to frontends/xforms/
1355 * FontLoader.C: moved into frontends for GUIIzation
1360 * lyxfunc.C: changes from above
1362 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
1364 * LColor.C: remove spurious X include
1366 * BufferView_pimpl.C:
1371 * text2.C: move font metrics to frontends/
1373 2002-05-24 Juergen Vigna <jug@sad.it>
1375 * undo_funcs.C (textHandleUndo): fix the cursor selection after
1376 setting the undo_cursor.
1378 * ParagraphParameters.h: include local includes first.
1380 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1382 * BufferView_pimpl.C:
1383 * BufferView_pimpl.h:
1387 * screen.C: move WorkArea into frontends/
1393 * BufferView2.C: move LyXScreen into frontends/
1397 * lyx_gui.C: move lyxlookup into frontends/xforms/
1399 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1402 * BufferView_pimpl.C:
1412 * bufferview_funcs.C:
1425 * vc-backend.C: move LyX/XFormsView into frontends/
1427 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
1439 * text2.C: move Painter to frontends/
1441 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1443 * buffer.C: comment out some some code that depend upon lyx_format
1446 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
1447 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
1449 * buffer.h (NO_COMPABILITY): turn off compability
1451 * ColorHandler.C: include scoped_array.hpp
1453 * font.C: Use more specific smart_ptr header.
1456 * ShareContainer.h: ditto
1460 * BufferView_pimpl.h: ditto
1461 * ColorHandler.h: ditto
1463 * kbmap.C (defkey): change call to shared_ptr::reset
1465 2002-05-21 Juergen Vigna <jug@sad.it>
1467 * buffer.C (insertErtContents): fix to insert ert asis if it is
1468 non empty. Skip it completely if it contains only whitespaces.
1470 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
1472 * BufferView_pimpl.C:
1473 * BufferView2.C: clear selection on paste (bug 393)
1475 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1477 * DepTable.C: include ctime
1479 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
1481 * buffer.C (latexParagraphs): Add new argument (moving_arg).
1483 2002-05-14 Juergen Vigna <jug@sad.it>
1485 * text.C (breakParagraph): fixed function to honor the keepempty
1486 layout in the right maner and also to permit the right breaking
1487 algorithm on empty or non empyt keepempty paragraphs.
1489 * paragraph.C (breakParagraph): we have to check also if the par
1490 is really empty (!size()) for isempty otherwise we do the wrong
1493 2002-05-10 Juergen Vigna <jug@sad.it>
1495 * buffer.[Ch] : The following are only changes to the ert
1496 compatibility read reading old LaTeX layout and font stuff and
1497 convert it to ERTInsets.
1499 * buffer.h: added isErtInset().
1501 * buffer.C (struct ErtComp): add a fromlayout bool to check
1502 if we're inside a LaTeX layout.
1503 (isErtInset): new helper function.
1504 (insertErtContents): look for other ert insets before this one
1505 and insert the contents there, so that we don't have subsequent
1506 ERT insets with nothing between them. This way we create only one
1507 inset with multiple paragraphs. Also check if we don't insert only
1508 spaces ' ' as they are ignored anyway afterwards in the .tex file
1509 so if we have only spaces we will ignore this latex part in the
1511 (parseSingleLyXformat2Token \\layout): better compatibility when
1512 reading layout-latex stuff.
1513 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
1515 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
1516 stuff after reading the inset only get the information back from
1519 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
1521 * buffer.C (makeLaTeXFile): Put language options after loading babel.
1523 * LaTeXFeatures.C (getBabelOptions): New method.
1525 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1527 * BufferView_pimpl.C (Dispatch): work around missing argument for
1530 2002-05-08 Juergen Vigna <jug@sad.it>
1532 * text.C (leftMargin): handle paragraph leftindent.
1534 * paragraph.C (writeFile): write the new \\leftindent tag.
1535 (validate): handle leftindent code.
1536 (TeXEnvironment): handle paragraphleftindent code again.
1538 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
1540 * buffer.C (parseSingleLyXformat2Token): added compatibility code
1541 for paragrap_extra indent code and new token \\leftindent.
1542 (latexParagraphs): handle the leftindent as environment.
1544 * ParameterStruct.h: added leftindent support.
1546 * ParagraphParameters.C (leftIndent): added support functions for
1547 the paragraph left indent.
1549 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
1552 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
1554 * paragraph.C (isRightToLeftPar): Return false for a paragraph
1557 * text.C (computeBidiTables): No bidi in insetERT.
1559 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
1562 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1564 * version.C.in: pre 5
1566 2002-05-02 José Matos <jamatos@fep.up.pt>
1567 * buffer.C (makeDocBookFile): white space changes, add newline to
1569 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
1571 * tabular.C (docBook): fix typo.
1573 2002-05-03 Juergen Vigna <jug@sad.it>
1575 * screen.C (drawFromTo): recalculate the rowpointer if we had a
1576 change in LyXText as we can not be sure it was not freed.
1577 (drawOneRow): remove unused code.
1579 * text.C (drawInset): redo the calculation of the need_break_row as
1580 it could have a row which was already freed.
1581 (draw): look at the return value of drawInset and return false if
1582 it also returned false.
1583 (paintRowText): look at the return value of draw and return false if
1584 it also returned false.
1586 * lyxtext.h: added bool return type to drawInset() and draw() so that
1587 if we have a change in the row so that the rowbreak has to be redone
1588 we abort drawing as it will be called again.
1590 2002-05-02 Juergen Vigna <jug@sad.it>
1592 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
1593 a change in the maintext also if we're inside an inset.
1594 (Dispatch): set the cursor again after a break line and after the
1595 screen has been updated as it could be we're in a different row.
1597 * text2.C (fixCursorAfterDelete): check to make sure we don't request
1598 to set the cursor behind the pargraph with > size().
1599 (setCursor): check also for the same paragraph when checking where
1600 to put the cursor if we have a NFR inset.
1602 * buffer.C (parseSingleLyXformat2Token): move the compatibility
1603 parts of layout read further up as it still was in the wrong
1606 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1608 * screen.C (drawFromTo): change sine fullRebreak always return
1611 * buffer.C (parseSingleLyXformat2Token): reindent some
1613 * BufferView_pimpl.C (update): change since fullRebreak always
1615 (Dispatch): git rid of the last hardcoded "Standard"s.
1617 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1619 * text2.[Ch] (fullRebreak): make it return void now that we always
1622 2002-04-30 Juergen Vigna <jug@sad.it>
1624 * buffer.C (parseSingleLyXformat2Token): reset the font before the
1625 ert compatibility check for "latex" layout.
1627 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
1629 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
1630 minipages: use col% instead of p%, and also use the current font.
1631 (makeLaTeXFile): Fix use babel condition.
1632 (parseSingleLyXformat2Token): Correct font when reading old floats.
1634 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
1636 * BufferView_pimpl.C (Dispatch): Check that float type exists when
1637 inserting list of floats.
1639 2002-04-25 Herbert Voss <voss@lyx.org>
1641 * MenuBackend.C (expand): don't add the graphics extensions to the
1644 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1646 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
1647 non-existing layout, do not complain if it was the default layout
1648 of the original class (bug #342)
1650 2002-04-24 Juergen Vigna <jug@sad.it>
1652 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
1653 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
1655 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
1657 * buffer.C (getBibkeyList): If using \bibliography, return the
1658 option field with the reference itself. Enables us to provide natbib
1659 support when using \bibliography.
1661 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
1663 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
1665 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
1666 natbib is provided by the LaTeX class.
1668 2002-04-23 Juergen Vigna <jug@sad.it>
1670 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
1673 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
1675 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1677 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
1679 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
1680 ensuremath around textordmasculine, textordfeminine and
1683 2002-04-19 Juergen Vigna <jug@sad.it>
1685 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
1686 reinitializing the buffer otherwise row-dimensions may be wrong.
1687 (update): reset also the selection cursors if they do exits otherwise
1688 their x/y positions may be wrong.
1690 * text2.C (cursorDown): don't enter the inset if we came from a row
1691 above and are one row over the inset.
1693 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
1694 really leaving an inset.
1696 2002-04-18 Juergen Vigna <jug@sad.it>
1698 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
1699 of the selected paragraph does not have the selected layout also if
1702 * text2.C (setLayout): fixed bug which did not change last selected
1705 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
1706 changed the read and substituted \\end_float with \\end_inset!
1708 * BufferView_pimpl.C (cursorPrevious):
1709 (cursorNext): fixed to make it work with rows heigher than the work
1710 area without moving the cursor only the draw of the row.
1711 (workAreaMotionNotify): fix jumping over high rows.
1713 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1715 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
1718 2002-04-16 Juergen Vigna <jug@sad.it>
1720 * text2.C (setCursor): set also the irow().
1721 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
1723 (cursorDown): support for locking an inset if the x_fix value goes
1724 inside it. That way I can transverse insets too with cursor up/down.
1726 * lyxrow.h: added irow helper function same as other (i) functions.
1728 * BufferView_pimpl.C (cursorPrevious):
1729 (cursorNext): fixed for insets!
1731 2002-04-15 Juergen Vigna <jug@sad.it>
1733 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
1734 position otherwise it is wrong in some cases.
1736 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
1737 inside the inset before the call.
1739 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
1741 * buffer.[Ch] (getBibkeyList): make it const.
1743 2002-04-12 Juergen Vigna <jug@sad.it>
1745 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
1747 * text2.C (getCursorX): new helper function
1748 (setCursor): compute also ix_
1749 (setCursorFromCoordinates): set also ix.
1751 * lyxcursor.h: added ix_ and helper functions.
1753 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
1755 * buffer.C (insertStringAsLines): dont break paragraph if the this
1756 paragraph is inside an inset which does not permit it!
1758 * text.C (breakParagraph): honor keepempty flag and break the paragraph
1759 also with no chars on this paragraph.
1760 (paintRowText): only paint stuff if it's inside the workarea!
1762 * paragraph.C (breakParagraph): honor keepempty flag and break the
1763 paragraph always below not above.
1765 * BufferView2.C (unlockInset): update the paragraph layout on inset
1766 unlock as we changed paragraph in such a case.
1768 * lyxfind.C (LyXFind): clear the former selection if not found!
1770 * text2.C (insertInset): freeze Undo after setUndo so that it is not
1771 again called in insertChar().
1773 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
1774 an inset which uses the whole row!
1775 (rightMargin): ditto.
1776 (insertChar): force a rebreak if we inserted an inset!
1778 2002-03-28 Herbert Voss <voss@lyx.org>
1780 * lyxlength.[Ch]: add inBP() to get the right PS-point
1781 units (BigPoint). With inPixels we have rounding errors
1783 2002-04-11 Juergen Vigna <jug@sad.it>
1785 * text2.C (setCursorFromCoordinates): set iy to the right value.
1786 (setCursor): add check if row->previous exists!
1788 * buffer.C (parseSingleLyXformat2Token): reset font after read of
1789 an old float_type as this was the case in the old code!
1791 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
1793 * BufferView2.C (showLockedInsetCursor): use iy
1794 (fitLockedInsetCursor): ditto
1796 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
1797 locked insets as there we have the right value now.
1799 * lyxcursor.C: added iy_ variable and iy functions to set to the
1800 baseline of cursor-y of the locked inset.
1802 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
1803 (setCursor): fixed for insets which need a full row.
1805 * text.C (rowLastPrintable): don't ignore the last space when before
1806 an inset which needs a full row.
1807 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
1808 as last character of a row when before a inset which needs a full row.
1810 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1812 * version.C.in: update date
1814 * text2.C (fullRebreak): try to always return true and see what
1817 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1819 * MenuBackend.C (expand): use Floating::listName
1821 * FloatList.C (FloatList): add listName argument to the built-in
1824 * Floating.[Ch]: add listName member, which is the 'List of XXX'
1825 text associated with the float.
1827 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1829 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
1831 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1833 * ShareContainer.h: add a couple of missing typenames.
1835 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
1837 * lyxrc.C (getDescription): use _() correctly rather than N_().
1839 2002-03-28 Herbert Voss <voss@lyx.org>
1841 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
1842 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
1844 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1846 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
1847 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
1849 2002-03-29 Juergen Vigna <jug@sad.it>
1851 * lyxfunc.C (dispatch): add a missing fitCursor call.
1853 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
1854 it was scrolled by a cursor move, so return the bool status.
1856 * BufferView.C (fitCursor): return the bool flag also to the outside
1857 world as this is needed.
1859 * screen.C (toggleToggle): don't subtract the offset if it's positive.
1861 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
1862 call the edit() as it is not needed (and wrong) IMO.
1863 (workAreaButtonPress): set the screen_first variable before evt.
1864 unlock the inset as this may change screen_first and then we have
1865 a wrong y position for the click!
1867 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1869 * MenuBackend.C (expand): another translation that I missed
1871 2002-03-28 Juergen Vigna <jug@sad.it>
1873 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
1875 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
1877 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1879 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
1881 * MenuBackend.C (expand): fix export/view/update when there is no
1884 2002-03-27 Herbert Voss <voss@lyx.org>
1886 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
1889 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1891 * bufferview_funcs.C (currentState): only show paragraph number
1892 for is DEVEL_VERSION is set.
1894 * lyxfunc.C (dispatch): put warning in INFO channel
1896 * MenuBackend.C (expand): translate the name of floats
1898 * FloatList.C (FloatList): mark the float names for translation
1900 * converter.C (convert): use LibScriptSearch
1902 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1904 * MenuBackend.C (defaults): fix default menu (we might as well get
1907 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1909 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
1912 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1914 * lyxvc.C: reorder includes.
1916 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
1918 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
1921 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
1923 * CutAndPaste.C: change layouts earlier on paste
1924 to avoid crashing when calling getFont()
1926 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
1928 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
1931 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1933 * WorkArea.C: remove 'Pending' debug message.
1935 * most files: ws cleanup
1937 * buffer.[Ch]: ws changes
1939 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
1941 2002-03-21 Juergen Vigna <jug@sad.it>
1943 * tabular.C (SetMultiColumn): collapse also the contents of the
1944 cells and set the last border right. Added a Buffer const * param.
1946 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1948 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
1951 2002-03-19 Juergen Vigna <jug@sad.it>
1953 * text2.C (clearSelection): reset also xsel_cache.
1955 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
1956 where it needs to be called (John tells us to do so too :)
1957 (selectionLost): reset sel_cache.
1959 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
1961 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1963 * text2.C (setCursorIntern): put debuging code in INSETS channel
1965 2002-03-19 André Pönitz <poenitz@gmx.net>
1967 * lyxfunc.C: tiny whitespace change
1969 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1971 * ToolbarDefaults.C (init):
1972 * LyXAction.C (init):
1974 * BufferView_pimpl.C (Dispatch):
1975 * lyxfunc.C (dispatch): remove LFUN_DEPTH
1977 2002-03-19 Allan Rae <rae@lyx.org>
1979 * exporter.C (Export): removeAutoInsets before doing anything else.
1980 While I've just introduced a dependency on BufferView this really is
1981 the best place to clean the buffer otherwise you need to cleanup in
1982 a dozen places before calling export or cleanup in a dozen functions
1985 * converter.C (runLaTeX):
1986 (scanLog): Better handling of removeAutoInsets and screen updates.
1988 * lyxfunc.C (dispatch): small whitespace changes
1990 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1992 * WorkArea.C (C_WorkAreaEvent): return a value.
1993 (event_cb): return 1 if we handled the event, 0 otherwise.
1995 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
1997 2002-03-18 Juergen Vigna <jug@sad.it>
1999 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2000 (GetAdditionalWidth): ditto.
2004 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2005 inset if we're there actually (probably not used right now but this
2006 is the direction to go for unifying code).
2007 (paste): disable code to clear the selection.
2009 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2010 inside an InsetText and move the check further up as it is in the
2013 * text2.C (pasteSelection): set a selection over the pasted text.
2015 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2017 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2018 and libgraphics to build on Cygwin.
2020 2002-03-15 Juergen Vigna <jug@sad.it>
2022 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2023 inserting an Inset into the paragraph. I know this is not the best
2024 fix but we already use current_view in CutAndPaste so we will remove
2025 all of it's using at the same time.
2027 * buffer.C (sgmlError): deactivated function till it is rewritten in
2028 the right mode, now it can create problems.
2030 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2031 before accessing it.
2033 2002-03-14 Juergen Vigna <jug@sad.it>
2035 * undo_funcs.C (textHandleUndo): do the right thing when updating
2036 the inset after the undo/redo.
2038 * text2.C (setCursor): just some testcode for #44 not ready yet.
2040 * undo_funcs.C (textHandleUndo): set the next() and previous()
2041 pointers of the paragraph to 0 before deleting otherwise we have
2042 problems with the Paragraph::[destructor].
2044 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2045 on a paragraph insertion.
2047 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2049 * buffer.C (asciiParagraph): use += operator for char append to
2052 * paragraph.C (getFontSettings): compare >= not just >
2053 (highestFontInRange): ditto
2056 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2058 * paragraph.C: change several algorithm to be more appripriate for
2059 the problem domain. This is lookip in FontList and in the InsetList.
2061 2002-03-13 André Pönitz <poenitz@gmx.net>
2064 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2066 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2071 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2073 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2075 * Painter.C (display): anon helper function, adjust code for this
2077 (pixmap): remove function.
2079 * Painter.h: remove private display variable.
2081 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2083 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2085 * WorkArea.[Ch]: remove figinset_canvas cruft.
2087 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2089 * lyxtextclass.C (operator): add one item cache optimization.
2091 * bufferlist.h: doxy changes
2093 * bufferlist.C: ws changes
2095 * DepTable.[Ch] (ext_exist): place const in the right spot.
2097 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2099 (workAreaExpose): call resizeInsets when the with BufferView changes.
2100 (Dispatch): adjust for protectedBlank removal
2101 (specialChar): call updateInset if the insert went ok.
2103 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2104 specialChar instead.
2106 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2108 * BufferView.h: doxy change
2110 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2112 * lyxtextclass.C (operator[]): remove non-const version
2113 (defaultLayout): remove non-const version
2115 2002-03-12 Juergen Vigna <jug@sad.it>
2117 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2118 did resize the LyXText too.
2120 * buffer.C (readLyXformat2): set layout information on newly allocated
2123 * tabular.C (OldFormatRead): set layout information on the paragraph.
2125 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2127 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2129 2002-03-11 Juergen Vigna <jug@sad.it>
2131 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2133 (resizeCurrentBuffer): force also the insets to resize themselfes.
2134 (moveCursorUpdate): fixed up for InsetText.
2136 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2139 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2140 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2141 value of Dialogs::tooltipsEnabled().
2142 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2144 2002-03-08 Juergen Vigna <jug@sad.it>
2146 * BufferView_pimpl.C (updateInset): update inset inside inset also
2147 if it isn't inside theLockingInset().
2149 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2151 * buffer.C (asciiParagraph): redo some of the word and line length
2153 (getLists): look for Caption instead of caption.
2155 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2157 * buffer.C (Buffer): initialize niceFile to true
2160 (makeDocBookFile): make sure niceFile is true on exit
2162 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2164 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2166 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2168 * LyXSendto.C: remove.
2169 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2170 * lyx_gui.C: remove now-redundant comment.
2171 * ColorHandler.h: remove forward declaration of class WorkArea.
2172 * lyxfunc.C: remove #include "WorkArea.h".
2174 2002-03-07 Juergen Vigna <jug@sad.it>
2176 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2177 got moved away with the DEPM and also set the inset_owner always
2178 right which before could have been omitted.
2180 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2182 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2183 wanted layout is not found.
2185 2002-03-07 Juergen Vigna <jug@sad.it>
2187 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2189 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2191 * paragraph.C (breakParagraph): use default layout not layout of
2193 (Paragraph): clear ParagraphParameters.
2195 2002-03-06 Juergen Vigna <jug@sad.it>
2197 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2198 otherwise it would not be a valid lenght. Fixed a special case in
2199 the minipage compatibility read where we end the document with a
2202 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2203 was set as it could be 0 for InsetTexts first entry.
2205 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2207 * paragraph.C (writeFile): if layout is empty write out
2208 defaultLayoutName().
2210 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2211 file without named layout we set layout to defaultLayoutName().
2213 2002-03-06 Juergen Vigna <jug@sad.it>
2215 * CutAndPaste.C (copySelection): set layout for new paragraph.
2217 * text.C (prepareToPrint): leave ERT inset left aligned
2218 (leftMargin): don't indent paragraphs inside ERT insets
2220 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2222 * paragraph.C (breakParagraph): dont call clear do the work manually
2224 * paragraph.[Ch] (clear): remove function
2226 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2228 * paragraph.C (Paragraph): dont call clear, the work has already
2231 * lyxtextclass.C (operator): assert if n is empty
2233 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2234 work manually instead.
2236 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2238 * BufferView_pimpl.C: protect selectionLost against text == 0
2240 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2242 * text.C (breakParagraph): fix a setting layout to '0' problem.
2244 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2246 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
2247 final location of file, for the included files, and graphics.
2249 2002-03-05 Juergen Vigna <jug@sad.it>
2251 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
2253 2002-03-04 Juergen Vigna <jug@sad.it>
2255 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
2257 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
2258 last column of multicolumn cells.
2259 (SetWidthOfMulticolCell): recalculate NMC and real columns.
2261 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2263 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
2264 file if it doesn't go to a temporary file.
2266 * buffer.C (sgmlOpenTag):
2267 (sgmlCloseTag): remove extra newline insertion.
2269 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2271 * text.C (getRowNearY): comment out debug msg
2273 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2275 * text2.C: first -> first_y
2277 * text.C (getRowNearY): add some attemts at a possible
2278 optimization, not working.
2280 * tabular.[Ch]: add BufferParams to several function so that newly
2281 created paragraph can be initialized to he default layotu for the
2284 * tabular-old.C (ReadOld): add buf->params to call of Init
2286 * screen.C: rename text->first to text->first_y
2288 * paragraph.C (breakParagraph): always set layout in the broken
2291 * lyxtextclass.C (Read): remove lowercase
2294 (delete_layout): ditto
2296 * lyxtext.h: rename first -> first_y
2298 * lyxlayout.C (Read): remove lowercase
2301 (obsoleted_by): ditto
2303 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
2305 * buffer.C (insertErtContents): add params are to InsetERT
2306 (parseSingleLyXformat2Token): add code to check if a paragraphs
2307 layout really exist.
2308 (parseSingleLyXformat2Token): add params to several inset
2310 (asciiParagraph): remove lowercase, do the layout comparisons with
2313 * BufferView_pimpl.C (cursorNext): first -> first_y
2314 (resizeCurrentBuffer): first -> first_y
2315 (updateScrollbar): first -> first_y
2316 (scrollCB): first -> first_y
2317 (workAreaMotionNotify): first -> first_y
2318 (workAreaButtonPress): first -> first_y
2319 (checkInsetHit): first -> first_y
2320 (cursorPrevious): first -> first_y
2321 (cursorNext): first -> first_y
2322 (Dispatch): add buffer_->params to severl inset contructors
2324 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2326 * lyxlayout.C (Read): remove some debug info that I forgot.
2328 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
2329 clean up the code slightly.
2330 (makeLinuxDocFile): ditto
2331 (makeDocBookFile): ditto
2333 * text2.C: layout as string
2335 * text.C: layout as string
2337 * paragraph_pimpl.C: layout as string
2339 * paragraph.[Ch]: layout as string
2341 * lyxtextclasslist.[Ch]: layout as string
2343 * lyxtextclass.[Ch]: layout as string
2345 * lyxtext.h: layout as string
2347 * lyxlayout.[Ch]: layout as string
2349 * lyx_cb.C: layout as string
2351 * bufferview_funcs.C: layout as string
2353 * bufferparams.C: layout as string
2355 * buffer.C: layout as string
2357 * LyXView.[Ch]: layout as string
2359 * LaTeXFeatures.[Ch]: layout as string
2361 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
2363 * BufferView_pimpl.C: change current_layout to string, remove
2368 (workAreaButtonRelease): layout as string
2370 * BufferView2.C (unlockInset): adjust
2372 * vspace.C (asLatexCommand): use an explict temp variable.
2374 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2376 * Makefile.am: use FRONTEND_*
2378 2002-03-01 Juergen Vigna <jug@sad.it>
2380 * tabular.C (SetWidthOfMulticolCell): changed to something better
2381 I hope but still work in progress.
2382 (recalculateMulticolumnsOfColumn): renamed function from
2383 recalculateMulticolCells as it is more appropriate now.
2384 (SetWidthOfCell): calculate multicols better.
2386 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2388 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
2390 * lyxfunc.C (processKeySym): print sequence also if it is
2391 `deleted' (complete)
2393 * kbsequence.C (print): print sequence even if it is deleted
2394 (complete would be a better word, actually).
2396 * lyxfunc.C (dispatch): print complete options after a prefix key
2398 * vspace.C (asLatexCommand): rewrite in a slightly different form.
2400 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
2402 * text2.C (setCharFont): eliminate setCharFont code duplication.
2404 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2406 * BufferView_pimpl.C (Dispatch): remove bogus handling of
2407 LFUN_TABULAR_FEATURE (bug #177)
2409 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
2411 * Makefile.am: remove figure.h
2413 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2415 * Bufferview_pimpl.C:
2427 * text2.C: remove #include "lyx_gui_misc.h".
2429 * LaTeX.C: added #include <cstdio>
2431 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2433 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
2434 that the paragraph following this one can have.
2436 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
2438 * vspace.C (asLatexCommand): fix bogus gcc warning
2440 * Makefile.am (lyx_SOURCES): remove vms_defines.h
2442 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
2444 * text2.C (setLayout): get rid of redundant code
2446 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
2448 * text2.C (incDepth): make sure depth cannot be increased beyond
2451 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
2453 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
2454 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
2456 * PainterBase.h (image):
2457 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
2460 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2464 * BufferView_pimpl.C:
2465 * BufferView_pimpl.h:
2485 * sp_spell.C: remove fig inset, and the crap house of
2486 cards that follows it
2488 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2494 * nt_defines.h: move .h into support/
2496 * vms_defines.h: remove
2498 * WorkArea.C: add space in debug output
2502 * buffer.C: add WITH_WARNINGS
2506 * bufferlist.C: s/retrive/retrieve/, add docs
2517 * lyxgui.C: add ID to X error handler
2519 * lyxtestclass.c: fix typo
2521 2002-02-26 Juergen Vigna <jug@sad.it>
2523 * tabular_funcs.C (write_attribute): changed so that some default
2524 attributes are not written at all.
2525 (getTokenValue): set default values before trying to read the
2526 value so we have the return value always set as default if we don't
2527 find the token we search for.
2529 * tabular.C (Write): write bools as bools not as strings!
2531 2002-02-22 Juergen Vigna <jug@sad.it>
2533 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
2534 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
2536 * text.C (leftMargin): don't add an indent for paragraphs inside
2537 tabular cells (fix #208).
2539 2002-02-21 José Matos <jamatos@fep.up.pt>
2541 * tabular.C (docBook): fixed support for long tables.
2543 2002-02-20 Juergen Vigna <jug@sad.it>
2545 * text2.C (getFont): get the drawing font of the Inset if this
2546 paragraph is inside an inset (only important for InsetERT for now).
2548 * buffer.C (insertErtContents): use new lanugage params in ERT
2551 * CutAndPaste.C: commenting out seemingly uneeded code.
2553 2002-02-19 Allan Rae <rae@lyx.org>
2555 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
2556 Iterators might be simple to use but they also get invalidated.
2557 (removeAutoInsets): renamed saved cursor tracking variables and added
2558 some comments to clarify what everything does.
2560 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2567 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
2568 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2571 * vc-backend.h: remove #include "support/syscall.h"
2575 * converter.C: rearrange #includes in Lars' approved fashion.
2577 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
2578 forward declare class Timeout in the header file.
2580 * XFormsView.C: changes due to the above.
2582 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
2585 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
2586 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
2588 2002-02-18 José Matos <jamatos@fep.up.pt>
2590 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
2593 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
2595 * a lot of small ws changes
2596 * add a lot of using std::XXX
2597 * use std construcs some places where approp.
2598 * use some exisint stuff from lyxfunctional where approp.
2599 * Make file changes to use partial linking (lets test this now...)
2601 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2605 remove #include "support/syscontr.h" as it's redundant. Always has been.
2613 change Systemcalls::System to Systemcalls::Wait and
2614 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
2615 No change of functionality, just reflects the stripped down Systemcalls
2618 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
2620 * debug.[Ch]: add a GRAPHICS type to the enum.
2622 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2624 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
2626 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
2629 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2631 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
2632 match the changes below.
2634 * text2.C (toggleInset): if there is not editable inset at cursor
2635 position, try to see if cursor is _inside_ a collapsable inset
2638 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2640 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
2641 document menu has a nice checkbox
2643 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2645 * lyxlength.C (asLatexString): change PW to output as percent of
2648 * lengthcommon.C: change '%' to 't%'
2650 * lyxfunc.C (dispatch): a few comments from Martin
2652 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
2656 * BufferView_pimpl.h:
2657 * BufferView_pimpl.C: clear our selection when X tells us we've lost
2660 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2662 * vspace.C (inPixels): fix compiler warning
2664 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2666 * lyxfunc.C (getStatus): fix status message for disabled commands.
2668 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
2670 * BufferView_pimpl.C: fix crash on close buffer
2671 during selection (#227)
2673 2002-01-27 Herbert Voss <voss@lyx.org>
2675 * buffer.C: link old Figure to new graphic inset
2677 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
2679 * FontLoader.C (getFontinfo): Change the latex font names in order
2680 to match the names of type1inst.
2682 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2684 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
2686 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
2689 (remove_files_with_extension): ditto
2690 (remove_file): ditto
2693 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
2694 document is smaller than the work area height. Do not initialize
2695 static variables to 0.
2697 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2699 * lyx_gui.C (init): give the toolbar tooltips a normal font.
2701 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
2702 LFUN_LAYOUT_PARAGRAPHS.
2704 * tabular.C (GetCellFromInset): new method. Finds an inset in a
2705 tabular. It is possible to provide a possible cell, which will
2706 typically be the actcell from the corresponding insettabular
2708 * lyxfunc.C (getStatus): small cleanup; disable
2709 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
2712 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2714 * tabular.C (Validate): remove broken optimization (fixes bug #201)
2716 * paragraph.C (startTeXParParams):
2717 (endTeXParParams): new methods. The LaTeX code to
2718 start/end paragraph formatting
2719 (simpleTeXOnePar): call startTeXParParams also when paragraph is
2720 empty (fixes bug #200)
2722 * vspace.C (inPixels): adapt to the change below
2723 (inPixels): [later] more cleanups (remove unused variables)
2725 * lyxlength.C (inPixels): change to use a width and a height as
2728 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2730 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
2731 Replaced with \paperwidth
2733 * DepTable.C (insert): add std:: qualifier
2735 2002-01-18 Allan Rae <rae@lyx.org>
2737 * text2.C (removeRow): add comment. Should other refresh_?? vars be
2740 * text.C (drawInset): Turned out I didn't know enough about how
2741 rebreaking worked. This fixes most of the redraw problems. I see
2742 an occasional cursor trail when a line is broken now and the cursor
2743 placement can seem out by a few pixels also after a rebreak.
2745 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2747 * buffer.C (parseSingleLyXformat2Token): update because minipage
2748 width is now a LyXLength
2750 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
2752 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
2755 2002-01-17 Juergen Vigna <jug@sad.it>
2757 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
2759 * BufferView2.C (lockInset): call edit() so that theLockingInset()
2760 is set correctly and the inset is updated correctly.
2762 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2764 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
2765 the beginning of the loop.
2767 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
2769 * lyxrc.C: improve help for use_scalable_fonts
2771 2002-01-17 Allan Rae <rae@lyx.org>
2773 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
2775 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2777 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
2778 make sure to set their inset_owner to the right value (bug #171)
2780 2001-12-12 Ben Stanley <bds02@uow.edu.au>
2783 * DepTable.C: Implement mtime checking to reduce time spent doing
2786 2002-01-16 Juergen Vigna <jug@sad.it>
2788 * tabular.C (GetAdditionalHeight): one of error fixed.
2790 * lyxrc.C (output): small fix in writing use_pspell.
2792 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
2794 * sp_base.h: #include LString.h
2796 2002-01-16 Allan Rae <rae@lyx.org>
2798 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
2799 Can someone check this please?
2801 * text.C (drawInset): It was possible that p.row would be removed by
2802 breakAgainOneRow upsetting a few other settings. There may be another
2803 small tweak possible by setting need_break_row = 0 when p.row has been
2804 removed but I don't know enough about the logic here.
2806 2002-01-15 Allan Rae <rae@lyx.org>
2808 * text.C (insertChar): removed conditional truism.
2810 * BufferView2.C (removeAutoInsets): More tweaks.
2811 cur_par_prev could be a stray pointer. Check for trailing empty line
2812 in case last line was cur_par and only had an error inset on it.
2814 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2816 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
2819 * vc-backend.C (most methods):
2820 * exporter.C (Export):
2821 * converter.C (convert):
2823 * LyXSendto.C (SendtoApplyCB):
2824 * lyxfunc.C (dispatch):
2828 * lyx_cb.C (AutoSave):
2830 * BufferView_pimpl.C (MenuInsertLyXFile):
2831 * buffer.C (runChktex): use Buffer::filePath().
2833 * buffer.h: rename filename to filename_; rename filepath to
2834 filepath_ and make it private
2835 (filePath): new method
2837 * buffer.C (writeFile): use fileName()
2840 * lyx_main.C (init): fix starting of LyX when the binary is a
2841 link from so,ewhere else.
2843 * minibuffer.C: include <cctype> for isprint
2845 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2847 * buffer.C (parseSingleLyXformat2Token): changes associated with the
2848 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
2849 name clash with InsetCollapsable's width function.
2851 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2853 * lastfiles.C: include <iterator>
2855 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2857 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
2860 * buffer.C (makeLaTeXFile): ditto.
2861 Also make loop operation more transparent.
2863 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
2865 * ToolbarDefaults.C: remove trailing comma closing namespace.
2867 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
2869 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
2872 * trans.C (Load): comment out unused variable, allowed.
2874 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
2876 * minibuffer.[Ch] (append_char): new method to recieve input from the
2877 drop-down completion browser. If a key was pressed, then recieve this
2878 char and append it to the existing string.
2879 (peek_event): modify the positioning data passed to the completion
2880 browser so that it can be placed above the minibuffer rather than below.
2881 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2883 * LyXAction.C (init): alloe error-next for readonly documents.
2885 * BufferView2.C (ChangeRefsIfUnique): use standard version of
2888 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2890 * bufferlist.C (readFile): create the buffer _after_ checking that
2893 * lyxfunc.C (verboseDispatch): fix handling of arguments
2895 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
2897 * lyxrc.C: use string::erase() instead of initializing to "".
2900 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
2902 * BufferView_pimpl.h:
2903 * BufferView_pimpl.C:
2906 * text2.C: tell X when we have made a selection for copying
2908 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2910 * BufferView_pimpl.C (MenuInsertLyXFile):
2911 * lyxfunc.C (menuNew):
2913 (doImport): add shortcuts to directory buttons
2915 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
2918 * lyxfunc.C (setStatusMessage):
2919 (getStatusMessage): new methods
2920 (getStatus):use setStatusMessage instead of setErrorMessage
2921 (dispatch): when function is disabled, set error message here
2922 [instead of in getStatus previously]
2924 * BufferView_pimpl.C (workAreaButtonRelease): update
2925 toolbar/menubar here too.
2927 2002-01-13 Allan Rae <rae@lyx.org>
2929 * BufferView2.C (removeAutoInsets): finished off earlier fix.
2930 Now seems indestructible. Remaining task is to audit all other
2931 code affected by deleteEmptyParagraphMechanism. One small quirk
2932 left is that an empty document with an error in the preamble can
2933 be made to report an error but no error box appears. I don't know
2935 (removeAutoInsets): Improved comments.
2937 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
2940 * Thesaurus.C: update for Aiksaurus 0.14
2942 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2944 * text2.C (firstParagraph): removed member function, all uses
2945 replaces with ownerParagraph
2946 (redoParagraphs): here
2948 (toggleAppendix): here
2949 * BufferView2.C (insertErrors): here
2950 (setCursorFromRow): here
2952 2002-01-13 Allan Rae <rae@lyx.org>
2954 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
2955 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
2956 There is still a way to segfault this although you may have to do this
2957 multiple times: Have an InsetERT with an unknown command in it.
2958 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
2959 <down-arrow>, <Enter> again, View->DVI, BANG!
2961 * text2.C (setCursor):
2962 (deleteEmptyParagraphMechanism):
2963 * lyxtext.h (setCursor):
2964 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
2965 Making use of the return value may help fix other bugs.
2967 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2969 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
2971 * LyXView.C (updateMenubar): call MenuBar::update here
2972 (updateToolbar): but not here
2973 (showState): do not update toolbar/menubar
2975 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
2976 should need to care about that.
2978 * lyxfunc.C (verboseDispatch): simplify a bit
2979 (getStatus): have a version which takes a pseudoaction, and
2980 another which requires a (kb_action,string).
2982 * LyXAction.C (retrieveActionArg): make it work also when action
2983 is not a pseudo-action.
2984 (getActionName): simplify a bit
2987 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2989 * lyxfunc.C (verboseDispatch): new families of methods with
2990 several ways to specify a command and a bool to indicate whether
2991 the command name and shortcut should be displayed in minibuffer
2992 (eventually, we could extend that to a finer bitmask like
2993 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
2994 (dispatch): the pristine dispatch command which just, well,
2995 dispatchs! Note it still sets its result to minibuffer; I'm not
2998 * lyxfunc.h: remove setHintMessage
3000 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3002 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3004 * BufferView_pimpl.C (specialChar): delete new inset if we have
3005 not been able to insert it.
3007 * kbmap.C: revert to using int instead of kb_action, since all we
3008 are dealing with is pseudo-actions.
3010 * LyXAction.C (searchActionArg): change to return int instead of
3011 kb_action, since the result is a pseudoaction.
3013 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3015 * buffer.C (insertErtContents): Fix (partially) the font bug.
3017 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3019 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3020 as the other one is broken on my machine!
3022 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3025 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3027 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3029 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3030 reflect their actual use. Provide compatibility code for older lyxrc
3033 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3035 change names of popup font variables in line with the changes to lyxrc.C
3037 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3039 * buffer.C (asciiParagraph): avoid outputing a word twice after
3042 * lyxrc.C (getDescription): document that document_path and
3043 template_path can be empty.
3045 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3047 * LaTeXFeatures.C (getMacros):
3048 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3050 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3052 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3054 (getPackages): rename feature "floats" to "float". Use an array to
3055 iterate over 'simple' features (i.e. just a \usepackage). Add
3056 handling of "amsmath" (renamed from "amsstyle").
3058 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3060 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3063 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3065 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3066 FuncStaus::FuncStatus & FuncStaus::some_method().
3068 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3070 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3071 of the func_satus stuff. Edited and massaged in various ways by
3074 * lyxfunc.C (getStatus): use FuncStatus
3076 2002-01-08 Juergen Vigna <jug@sad.it>
3078 * text.C (nextBreakPoint): use function Inset::isChar().
3080 * paragraph.C (TeXOnePar): use function
3081 Inset::forceDefaultParagraphs.
3083 * buffer.C (latexParagraphs): use function
3084 Inset::forceDefaultParagraphs.
3086 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3088 * lyx_gui.C (init): set the style of the menu popups to
3089 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3091 2002-01-07 Juergen Vigna <jug@sad.it>
3093 * text.C (setHeightOfRow): small fix
3094 (prepareToPrint): don't look at alignment if we don't have the place
3097 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3099 * box.C: New file. Move the Box methods and functions out of box.h,
3100 following Lars' suggestion.
3102 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3104 * box.h: #include "support/LOstream.h", needed for inlined function.
3107 * lyxtextclasslist.C: added some using std declarations.
3109 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3111 * box.h: make signed dimensions to allow insets wider than
3112 the screen (bug #162)
3114 * BufferView_pimpl.C: add some insetHit debug
3116 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3118 * vc-backend.C: add FIXME
3120 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3122 * lyxfunc.C (getStatus): enable code for showing math font status
3125 2002-01-07 Juergen Vigna <jug@sad.it>
3127 * text.C (nextBreakPoint): removed debug output not needed anymore.
3129 2002-01-06 Juergen Vigna <jug@sad.it>
3131 * text.C (nextBreakPoint): fixed up this function we had this bug
3132 since ever but now hopefully we break row better.
3133 (insertChar): we have to check if an inset is the next char as it
3134 could now happen that a large inset is causing a break.
3136 2002-01-05 Juergen Vigna <jug@sad.it>
3138 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3139 if it doesn't like to be drawed.
3141 2002-01-04 Juergen Vigna <jug@sad.it>
3143 * BufferView2.C (lockInset): forgot to set a cursor.
3145 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3147 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3152 * form_maths_panel.C:
3153 * form_maths_panel.h:
3154 * form_maths_panel.fd: implemented sub- and super- buttons in math
3157 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3158 (or ^ space) to be used as in TeX (req'd by André).
3160 * lyxfunc.C: Allow ^ and _ again to be used both as
3161 super/subscript (mathed) and as themselves (in text).
3163 2002-01-03 Allan Rae <rae@lyx.org>
3165 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3166 "LyX" or the filename of the current buffer if it has one. This is a
3167 modified form of John Levon's patch.
3169 * XFormsView.C (setWindowTitle): also set icon title.
3171 * LyXView.h (setWindowTitle): signature changed.
3172 * XFormsView.h (setWindowTitle): ditto.
3174 2002-01-02 Juergen Vigna <jug@sad.it>
3176 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3178 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3180 * screen.C (topCursorVisible): introduce a temp var for
3181 text->cursor.row(), handle the case where this row is null. (kindo
3184 * text2.C (setCursor): add a couple of asserts.
3186 * paragraph.h (inset_iterator): add -> operator
3188 * paragraph.[Ch] (autoDeleteInsets): remove member function
3190 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3191 cursor pos correctly and handle inset deletion by itself.
3192 (insertErrors): move iterator declaration out of for expression
3194 * lyxtextclass.C: add <algorithm>
3196 * Makefile.am: added the new files to sources, removed layout.C
3198 * layout.C: removed file
3200 * layout.h: remove LYX_DUMMY_LAYOUT
3202 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3206 * lyxtextclass.[Ch]:
3207 * lyxtextclasslist.[Ch]: new files
3209 * include order changes to a lot of files, also changes because of
3212 2001-12-27 Juergen Vigna <jug@sad.it>
3214 * buffer.C (asciiParagraph): more fixes.
3216 * tabular.C (ascii): make ascii export support export of only the
3217 data separated by a column-delimiter.
3218 (ascii): better support for ascii export.
3220 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3222 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3224 * tabular_funcs.C: use a "using std::getline" instead of the
3225 previous fix from Angus (necessary for cxx + lyxstring)
3227 2001-12-24 Juergen Vigna <jug@sad.it>
3229 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3231 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3232 problems. First check a minipage also if we have some ert-contents
3233 (not only on par->size(), second set the right depth of the paragraph
3234 on the relink to the root-paragraph-list!
3236 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3237 which then did not anymore update the main paragraphs on undo/redo!
3239 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3241 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3242 code. Support all font-changing funcs (even those which are not in
3243 menu currently). Support for reporting font settings in
3244 mathed (disabled until Andre provides a function on mathed's side).
3246 * func_status.h (toggle): small helper function to set toggle
3249 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
3251 * tabular_funcs.C: getline -> std::getline
3253 2001-12-21 Juergen Vigna <jug@sad.it>
3255 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
3256 accessed and could be 0 (I couldn't generate this but it seems
3259 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3261 * tabular_funcs.C: add LIstream.h, move write_attribute to..
3262 * tabular_funcs.h: here and include iosfwd
3264 2001-12-20 Juergen Vigna <jug@sad.it>
3266 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
3267 inside inset but undo_par was.
3269 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3271 * Thesaurus.C: always include <config.h> in sources.
3275 * box.h: do not include <config.h> in header files
3277 * text.C (paintLastRow): remove unused variable
3279 * text.C (transformChar):
3281 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
3284 * font.C (width): rewrite to use uppercase() instead of
3287 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
3289 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
3291 * lyxfind.C: clean up of find failure position change
3293 2001-12-20 Juergen Vigna <jug@sad.it>
3295 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
3297 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
3298 (TeXRow): added to LaTeX a single tabular row.
3299 (TeXLongtableHeaderFooter): added to output LT-h/f data.
3300 (Latex): simplified and finally good LT-h/f support.
3301 (various_functions): just small adaptions for LT-h/f support.
3303 * tabular_funcs.[hC]: added and moved here all not classfunctions
3306 2001-12-19 Juergen Vigna <jug@sad.it>
3308 * tabular.[Ch]: better support for longtabular options (not finished
3311 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3313 * text.C (paintLastRow): use the label font instead of the font of
3314 the last character to compute the size of *_BOX. This makes more
3315 sense and avoids a crash with empty paragraphs.
3316 Use Painter::rectangle to draw EMPTY_BOX.
3318 2001-12-19 Juergen Vigna <jug@sad.it>
3320 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
3321 the paragraphs if the replaced paragraph is not the first one!
3322 Tried to delete not used paragraphs but does not work yet so for
3323 now it's inside #ifdef's and by default off!
3325 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3327 * MenuBackend.C: include "lyx_main.h" instead of declaring
3328 lastfiles (actually was declared as LastFiles* instead of a
3331 2001-12-17 Juergen Vigna <jug@sad.it>
3333 * tabular.C (AppendColumn): applied John's fix
3335 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
3339 * BufferView_pimpl.h:
3340 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
3343 * box.h: new start of class for above
3345 * lyxfunc.C: ignore space-only minibuffer dispatches.
3346 Show the command name when it doesn't exist
3348 * minibuffer.C: don't add empty lines to the history
3350 * minibuffer.C: add a space on dropdown completion
3352 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
3354 * text.C: fix line above/below drawing in insets
3356 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3358 * lyxlength.C (LyXLength): Initialize private variables.
3360 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
3362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
3363 when inserting error insets.
3365 2001-12-13 Juergen Vigna <jug@sad.it>
3367 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
3368 actually sometimes the before-paragraph.
3369 (setUndo): don't clear the redostack if we're not actually undoing!
3371 2001-12-06 Juergen Vigna <jug@sad.it>
3373 * undo_funcs.C (textHandleUndo): well after John's hint I got here
3374 and fixed redoing of main paragraph, so we can use it now ;)
3376 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
3378 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3380 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
3383 2001-12-13 André Pönitz <poenitz@gmx.net>
3386 * undo_func.C: minor cleanup
3388 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3390 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
3391 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
3392 font in urw-fonts package which is marked as -urw-fontspecific and
3393 does not work (incidentally, changing the encoding in the
3394 fonts.dir of this package to -adobe-fontspecific fixes the
3397 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
3398 is a crash when undoing first paragraph (Juergen, please take a
3399 look). THis does not mean the undo fix is wrong, just that it
3402 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
3403 the (Paragraph*) version when needed instead of duplicating the
3406 * text.C (workWidth): use Inset::parOwner to find out where the
3407 inset has been inserted. This is a huge performance gain for large
3408 documents with lots of insets. If Inset::parOwner is not set, fall
3409 back on the brute force method
3411 * paragraph_pimpl.C (insertInset):
3412 * paragraph.C (Paragraph):
3413 (cutIntoMinibuffer): set parOwner of insets when
3414 inserting/removing them
3416 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3418 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
3424 * mathed/formulabase.C:
3425 * mathed/math_cursor.[Ch]:
3426 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
3429 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3431 * lyxlength.[Ch] (operator!=): new function
3433 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3435 * text.C (workWidth): use Inset::parOwner to find out where the
3436 inset has been inserted. This is a huge performance gain for large
3437 documents with lots of insets. If Inset::parOwner is not set, fall
3438 back on the brute force method
3440 * paragraph_pimpl.C (insertInset):
3441 * paragraph.C (Paragraph):
3442 (cutIntoMinibuffer): set parOwner of insets when
3443 inserting/removing them
3445 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
3447 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3449 * tabular-old.C (getTokenValue):
3450 * tabular.C (getTokenValue):
3451 (write_attribute): new versions for LyXLength
3452 (everywhere): adjust the use of widths
3454 * tabular.h: change the type of widths from string to LyXLength
3456 2001-12-11 Ben Stanley <bds02@uow.edu.au>
3458 * paragraph.C: fixed missing line number count when exporting
3459 Environments to LaTeX file
3461 * buffer.C: added informational message for checking line numbers.
3463 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3465 * text2.C (deleteEmptyParagraphMechanism): if there is only one
3466 paragraph, do the 'double space' part, but not the 'empty
3469 * text.C (workWidth): small optimization
3470 (getLengthMarkerHeight): use minimal size for negative lengths.
3472 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
3474 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
3476 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
3478 2001-12-11 André Pönitz <poenitz@gmx.net>
3481 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
3483 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3485 * text2.C: keep selection on a setFont()
3487 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3489 * lyx_cb.C: another bv->text misuse, from insert label
3491 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3494 * kbsequence.C: re-instate nmodifier mask
3496 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
3498 * lyx_main.h: make lyxGUI private.
3500 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3502 * lyxfind.C: place the cursor correctly on failed search
3504 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3506 * text.C (getLengthMarkerHeight): for small heights, the arrows
3507 are not always on top/bottom of the text
3508 (drawLengthMarker): smaller arrows; take the left margin in
3509 account; draw also vfills.
3511 (paintLastRow): remove special code for vfill and standard spaces,
3512 since everything is handled in drawLengthMarker now.
3514 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3516 * buffer.C (insertErtContents): try to handle font and language
3517 interaction a bit better.g
3519 * ColorHandler.C (updateColor): change the hash to cover the whole
3520 LColor enum, ws cleanup
3521 (getGCLinepars): ditto
3522 (getGCLinepars): only lookup in the linecache once.
3524 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
3526 * iterators.C (operator++): Make the iterator more robust
3528 * BufferView2.C (removeAutoInsets): Use paragraph iterators
3530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
3532 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3535 * text.C: better added space drawing
3537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3540 * BufferView2.C: fix layout combo update on inset unlock
3542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3544 * Makefile.am: don't compile unused files
3546 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3550 * LyXAction.C: remove old LFUN_LAYOUTNO
3552 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3554 * paragraph_pimpl.h:
3555 * paragraph_pimpl.C: isTextAt() doesn't need font param
3557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3560 * lyxlex.C: little cleanup
3562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3564 * BufferView_pimpl.C: fix insertAscii for insets
3566 2001-12-05 Juergen Vigna <jug@sad.it>
3568 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
3569 set the right font on the "multi" paragraph paste!
3571 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3577 * lyxlength.C: remove out-commented code.
3593 * vc-backend.C: change "while(" to "while ("
3595 * lyxlength.[Ch]: add zero function to check if length is zero or
3597 * lyxgluelength.C: use it
3599 2001-12-05 Allan Rae <rae@lyx.org>
3601 * lyxlength.C: Attempted a fix for the abs(int) header selection.
3602 Works for 2.95.3, from what I understand of Garst's reports this should
3603 work for other g++ versions. We're screwed if the abs(int) definition
3604 changed between bugfix releases of gcc.
3606 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3608 * text.C: fix chapter label offset !
3610 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
3613 * text.C: fix hfill at end of line, clean up
3615 2001-12-04 Juergen Vigna <jug@sad.it>
3617 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
3618 that we force an update of the inset and it's owners if neccessary.
3620 2001-12-03 Juergen Vigna <jug@sad.it>
3622 * text.C (rowLast): simplified code
3624 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
3626 * lyxfunc.C: fix show options on timeout
3628 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3630 * screen.C (topCursorVisible): scroll half a page when the cursor
3631 reached top of bottom of screen
3633 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
3635 * minibuffer.C: deactivate on loss of focus
3637 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3639 * vspace.[Ch] (operator!=): add operator.
3641 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3643 * BufferView_pimpl.C: refuse to open an inset when
3644 there's a selection.
3646 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
3648 * BufferView_pimpl.C: allow to click on RHS of full row insets
3650 2001-11-30 Juergen Vigna <jug@sad.it>
3652 * tabular.C (LyXTabular): add a same_id to set the same id's in the
3653 insets for undo reasons.
3655 2001-11-28 André Pönitz <poenitz@gmx.net>
3657 * vspace.[Ch]: cosmetical changes
3659 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3669 * kbsequence.C: part re-write of old kb code
3672 * WorkArea.C: remove Lgb_bug_find_hack
3674 2001-11-30 José Matos <jamatos@fep.up.pt>
3676 * buffer.C (makeDocBookFile): add a comment to point a hack.
3677 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
3678 Fixed a double write of labels.
3680 2001-11-29 Ben Stanley <bds02@uow.edu.au>
3683 * LaTeX.h Fixed bug in LaTeX class where it would not
3684 re-run latex if no depfiles were changed, but the .dvi was removed.
3686 2001-11-28 André Pönitz <poenitz@gmx.net>
3688 * all the files from the change on 2001/11/26:
3689 use lyx::layout_type instead of LyXTextClass::size_type
3690 use lyx::textclass_type instead of LyXTextClassList::size_type
3692 2001-11-29 Juergen Vigna <jug@sad.it>
3694 * text.C: added support for paragraph::isFreeSpacing()
3696 * buffer.C: same as above
3698 * paragraph.h: inserted isFreeSpacing() function to enable
3699 FreeSpacing inside InsetERT.
3701 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
3702 of the paragraph's in the cut/copy buffer to 0!
3704 * text2.C (removeRow): remove the assert as it can!
3706 * lyxtext.h: added helper function firstRow returning firstrow and
3707 made firstrow private again.
3709 * BufferView2.C (lockInset): don't relock if we're already locked!
3711 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
3713 (removeRow): added Assert::(firstrow)
3715 * debug.C: forgot to add INSETTEXT here.
3717 2001-11-28 Juergen Vigna <jug@sad.it>
3719 * sp_spell.C (initialize): changed error text to more general
3720 spellchecker command use (not only ispell!)
3722 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
3724 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
3726 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3728 * vspace.C: initialise lyxgluelength on failure
3730 2001-11-28 Allan Rae <rae@lyx.org>
3732 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
3733 declaration & definition that looks like a function declaration.
3735 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3737 * BufferView2.C (copy):
3738 (copyEnvironment): do not clear the selection when doing a copy.
3740 * text.C (paintFirstRow): compilation fix
3742 2001-11-27 Ben Stanley <bds02@uow.edu.au>
3744 * tabular.C (Latex): correct line count when writing latex.
3746 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
3748 * paragraph_pimpl.h:
3749 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
3752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3756 * LColor.C: change vfillline->added_space
3758 * text.C: add markers and text for added space
3760 * vspace.C: fix comment
3762 2001-11-28 André Pönitz <poenitz@gmx.net>
3764 * paragraph.C: whitespace changes
3765 * all the other files from the change on 2001/11/26:
3766 change *::pos_type into lyx::pos_type
3768 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
3770 * buffer.C (parseSingleLyXformat2Token): Set the language to the
3771 language of the document when inserting error insets.
3773 2001-11-26 André Pönitz <poenitz@gmx.net>
3775 * BufferView_pimpl.[Ch]:
3783 * paragraph_pimpl.[Ch]:
3786 * text2.C: reduce header dependencies, introduce type for positions
3788 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3790 * <various>: change to use Alert.h
3792 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
3794 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
3795 when encountering an unknown token.
3796 (readLyXformat2): Show an error message if there were unknown tokens.
3798 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3801 * BufferView_pimpl.C:
3805 * text2.C: use par->isInset()
3807 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3809 * paragraph_pimpl.h:
3810 * paragraph_pimpl.C: cleanup
3812 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3814 * text2.C (removeRow):
3815 * text.C (setHeightOfRow): remove useless (and costly) call to
3818 2001-11-20 Allan Rae <rae@lyx.org>
3820 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
3821 Now need Inset*::checkInsertChar() to return true for appropriate
3822 cases so that the characters in the minibuffer will actually be
3825 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
3827 * text.C: change the order of the includes.
3828 (workWidth): initialize it at once.
3829 (workWidth): make maxw unsigned
3830 (setHeightOfRow): remove unused variable (inset)
3831 (selectSelectedWord): remove unused variable (inset)
3832 (paintRowText): fix drawing of hfill characters, and clean up a bit.
3834 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3836 * lyxserver.C (emergencyCleanup): do not try to close pipes if
3837 server is not running.
3839 (closeConnection): add debug info when server is disabled.
3841 * ColorHandler.C (getGCForeground): send debug message to GUI
3844 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
3846 * kbmap.C (bind): modify because return conventions of
3847 kb_sequence::parse have changed.
3849 * kbsequence.C (parse): only ignore spaces and not any stupid
3850 control character. This avoids tests like s[i] <= ' ', which are
3851 guaranteed to fail with 8bit characters and signed chars.
3852 Change return code to string::npos when there have been no error
3853 (0 was a bad idea when error is at first character)
3855 2001-11-14 José Matos <jamatos@fep.up.pt>
3858 * buffer.C (simpleDocBookOnePar): removed unused argument.
3860 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3862 * text.C (selectNextWordToSpellcheck): do not test explicitely for
3863 insets which are part of a word. Paragraph::isLetter takes care of
3864 that now. Use Paragraph::isInset to identify insets.
3865 (selectSelectedWord): do not test for hyphenation break.
3867 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
3868 that protected spaces are considered as spaces.
3870 * paragraph.C (isLetter): cleanup the code for ispell extras; use
3873 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
3876 * lyxserver.C: fix it. and small cleanup.
3878 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3880 * BufferView_pimpl.C: use inline helpers
3883 * LaTeXFeatures.C: fix typos
3886 * Spacing.C: move spacing_string into class
3888 * ToolbarDefaults.C: move stuff into namespace anon
3890 * layout.h: update enum
3892 * lyxfunc.C: use better debug
3894 * minibuffer.h: fix typo
3898 * WorkArea.C: add and use Debug::WORKAREA
3902 * text2.C: code re-organisation, inline helpers
3904 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
3906 * Layout.C: replaced a few cases of std::vector.size() == 0 with
3907 std::vector.empty().
3909 2001-11-09 Allan Rae <rae@lyx.org>
3911 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
3912 '\n's after tables. Tabular and ERT inset work now makes this no
3915 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
3918 * minibuffer.C: fix crash, improve drop-down completion
3920 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
3923 * lyxserver.C: invalidate fd's when doing endPipe()
3925 2001-11-08 José Matos <jamatos@fep.up.pt>
3927 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
3928 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
3931 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
3933 2001-11-07 José Matos <jamatos@fep.up.pt>
3936 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
3939 * buffer.C (sgmlOpenTag):
3940 * buffer.C (sgmlCloseTag): removed debug info.
3942 * buffer.h (sgmlOpenTag):
3943 * buffer.h (sgmlCloseTag): made public.
3945 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3947 * buffer.C (saveParamsAsDefaults):
3948 * lyx_cb.C (MenuLayoutSave): remove
3950 * LyXAction.C (init):
3952 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
3954 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3956 * buffer.C (setPaperStuff): removed from here...
3958 * bufferparams.C (setPaperStuff): ... and moved there.
3960 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
3964 * XFormsView.C: add support for drop-down completion
3966 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
3968 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
3971 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3973 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
3976 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3978 * lyx_main.C: change ref to known bugs
3980 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3982 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
3983 to work around older babel problems.
3985 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3987 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
3989 2001-10-24 Juergen Vigna <jug@sad.it>
3991 * tabular-old.C (ReadOld): below variable changes reflected.
3993 * tabular.[Ch]: added ltType struct for longtable header/footer
3994 defines and changed all instances where they are used. Added
3995 future support for double top/bottom rows.
3997 2001-10-24 José Matos <jamatos@fep.up.pt>
3999 * buffer.h (docbookHandleCaption):
4000 * buffer.C (docbookHandleCaption): removed unused function.
4001 (makeDocBookFile): moved docbook supported version to v4.1.
4003 2001-10-24 José Matos <jamatos@fep.up.pt>
4006 * tabular.C (docbookRow): new function to export docbook code of a row.
4007 (DocBook): now honors the longtable flags.
4009 2001-10-23 José Matos <jamatos@fep.up.pt>
4012 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4013 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4015 * buffer.C (makeLinuxDocFile):
4016 (makeDocBookFile): reworked the preamble, more clean, and with
4017 support for lyx defined entities. Changed the document declaration
4018 to be more XML friendly.
4020 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4021 if we need to output XML that should be done with a filter.
4023 2001-10-22 Juergen Vigna <jug@sad.it>
4025 * sp_pspell.h (class PSpell): add alive function needed in the
4026 controller to see if the spellchecker could be started.
4028 2001-10-22 Juergen Vigna <jug@sad.it>
4030 * buffer.C (insertStringAsLines): modify the font for inserting
4031 chars in certain conditions by calling checkInsertChar(font).
4033 2001-10-19 Juergen Vigna <jug@sad.it>
4035 * text.C (workWidth): use getRow instead of wrong algorithm.
4036 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4038 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4043 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4045 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4047 * text.C (workWidth): do not search for the exact row when
4048 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4049 optimization for big documents.
4051 2001-10-18 Juergen Vigna <jug@sad.it>
4053 * text.C (workWidth): new function with added Inset * parameter.
4055 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4057 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4059 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4060 change return type of getColumnNearX.
4063 * text.C (changeRegionCase): use uppercase/lowercase instead of
4066 (rightMargin): simplify code by factoring out the uses of
4071 (appendParagraph): use Paragraph::size_type
4073 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4075 * vspace.C (asLatexString): add a missing break
4077 2001-10-15 Herbert Voss <voss@perce.de>
4079 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4081 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4083 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4086 2001-10-10 André Pönitz <poenitz@gmx.net>
4088 * lyxfunc.C: removed greek_kb_flag.
4090 2001-10-10 Herbert Voss <voss@perce.de>
4092 * lyx_main.C: delete global string help_lyxdir.
4094 2001-10-09 Herbert Voss <voss@perce.de>
4096 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4098 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4100 * lyx_main.C: added global string help_lyxdir.
4102 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4104 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4106 * lyxrc.C (set_font_norm_type): support iso8859-4
4108 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4110 * LaTeX.C (deplog): add another regex for MikTeX
4112 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4114 * lyxrc.C (set_font_norm_type): support iso8859-3
4116 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4118 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4120 * LaTeXFeatures.C: remove special case of french and index
4122 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4123 before \begin{document}). This solves several incompatibilities.
4125 2001-10-03 Garst Reese <reese@isn.net>
4127 * lyx_cb.C: change CheckTex error msg.
4129 2001-10-03 José Matos <jamatos@fep.up.pt>
4131 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4133 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4135 * .cvsignore: update
4137 * lyx_main.C (commandLineVersionInfo): use new style version info.
4139 * buffer.C (writeFile):
4142 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4144 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4146 * version.h: update to use stuff in version.C
4148 * version.C.in: new file. Contains version information determined
4149 at compile time. This is a merging of version.h and
4152 2001-10-03 Juergen Vigna <jug@sad.it>
4154 * BufferView_pimpl.C (update): don't change "dirty" status in
4157 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4159 * WorkArea.C (c-tor): re-position version string slightly.
4161 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4163 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4164 revert to previous code.
4166 WorkArea.[Ch]: (show, destroySplash): methods removed.
4168 WorkArea.C: rework code so that it's an amalgam of the codes before and
4169 after the splash screen was moved to WorkArea.
4171 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4174 * vspace.C (inPixels):
4177 * buffer.C (insertStringAsLines):
4178 (asciiParagraph): fix types to be large enough
4180 * lyxlex_pimpl.h: change member status from short to int
4182 * layout.h: fix type of endlabeltype
4185 * kbsequence.C (parse): change return type to string::size_type
4187 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4190 * Bullet.C (bulletSize):
4191 (bulletEntry): do not use short ints as parameters
4193 * BufferView2.C (insertLyXFile): change a char to an int.
4195 * WorkArea.C (WorkArea): remove unneeded floats in computation
4197 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
4199 * buffer.C (asciiParagraph): Treat '\\' as other chars.
4201 * paragraph.C (asString): Do not ignore newline/hfill chars when
4202 copying to the clipboard.
4204 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
4206 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4207 after a multi-line inset.
4209 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4211 * paragraph.C (validate): Set NeedLyXFootnoteCode
4213 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4215 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4216 and decrease-error to decrease.
4218 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4220 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4221 it more readable (should be equivalent)
4223 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
4225 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4227 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4229 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4230 of a cursor (row, etc.) after a character has been deleted
4231 (deleteEmptyParagraphMechanism): call the method above on _all_
4232 cursors held by the LyXText when a double space has been
4235 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4237 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4239 (resizeCurrentBuff): remove code to destroy the old splash dialog.
4241 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4242 background. Use greyOut() and the new show() methods to toggle between
4243 the foreground and background. Add code to remove the splash after
4244 its initial showing.
4246 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
4247 (create_forms): no longer call Dialogs::showSplash.
4249 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4251 * .cvsignore: add version_info.h
4253 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4255 * version_info.h.in: new file
4257 * Makefile.am: add version_info.h.in
4259 * lyx_main.C (commandLineVersionInfo): use version_info defined in
4260 version_info.h instead of VERSION_INFO
4262 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4264 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
4265 The ERT inset now returns string().
4267 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4269 * lyxtext.h, text.C (selectNextWord): renamed as
4270 selectNextWordToSpellcheck.
4272 * text.C (selectNextWordToSpellcheck): Modified to not select
4273 words inside an ERT inset.
4275 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4277 * lyx_cb.C (MenuLayoutSave): change a bit the question
4279 * sp_base.h: include <sys/types.h>
4281 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4283 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
4285 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
4287 * several files: fix typos in user-visible strings
4289 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4291 * text2.C (pasteSelection): do not set the selection, since it
4292 will be cleared later. Actually, the intent was to fix the way the
4293 selection was set, but I figured rmoving the code was just as good.
4295 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
4297 * FontLoader.C (available): Check if font is available without
4300 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4302 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
4304 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
4306 * lyxrc.[Ch]: added display_graphics variable and associated code.
4308 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4310 * bufferparams.C (hasClassDefaults): new method. Returns true if
4311 the buffer parameters correspond to known class defaults
4313 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
4315 * XFormsView.C (show): set minimum size to the main window.
4317 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4319 * text2.C (copySelection):
4321 * lyxfind.C (LyXReplace):
4322 * BufferView_pimpl.C (Dispatch): pass the correct flag to
4323 LyXText::selectionAsString.
4325 * paragraph.C (asString): add "label" argument to the second form
4327 * text2.C (selectionAsString): add "label" argument and pass it to
4328 Paragraph::asString.
4330 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4332 * lyx_main.C (commandLineHelp): remove version information
4334 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
4336 * lyx_main.C: add -version commandline option
4338 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
4340 * paragraph.h: make the optional constructor arg required instead.
4341 some modifications to other files because of this.
4343 * minibuffer.C (C_MiniBuffer_peek_event): make it static
4345 * lyxserver.C (C_LyXComm_callback): make it static
4347 * lyx_main.C (error_handler): make it static
4349 * lyx_gui.C (LyX_XErrHandler): make it static
4351 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
4353 * WorkArea.C: make the extern "C" methods static.
4355 * Makefile.am (lyx_LDADD): simplify
4357 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4359 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
4360 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
4362 * LyXAction.C (init):
4363 * lyxfunc.C (dispatch): associated code removal.
4365 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4367 * lyxfont.h (isSymbolFont): shut off warning
4369 * text.C (setHeightOfRow):
4370 (getVisibleRow): fix crash with empty paragraphs which have a
4373 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
4375 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
4378 2001-09-04 José Matos <jamatos@fep.up.pt>
4381 * tabular.C (docbook): rename docBook method to docbook.
4383 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4385 * Makefile.am: add dependencies to main.o.
4387 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
4389 * FontLoader.C (available): Return false if !lyxrc.use_gui
4391 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
4393 * FontInfo.C (query):
4394 * converter.C (view):
4395 * importer.C (Import):
4396 * exporter.C (Export): Can not -> cannot.
4398 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
4400 * BufferView_pimpl.C: allow to create index inset even if
4403 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
4405 * buffer.C (getLists): replace boost::tie code with an explicit pair
4406 as boost::tie can break some compilers.
4408 * iterators.h: Added a std:: declaration to the return type of
4411 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
4413 * lyxrc.C: add help for view_dvi_paper_option, default to safe
4416 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4418 * iterators.[Ch]: New files. Provide paragraph iterators.
4420 * buffer.C (changeLanguage): Use paragraph iterators.
4421 (isMultiLingual): ditto
4423 * BufferView2.C (ChangeInsets): Use paragraph iterators.
4425 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
4427 * FontLoader.C: Support for cmr font.
4429 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
4431 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
4432 (available): New method.
4434 * FontInfo.C (getFontname): Use scalable fonts even when
4435 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
4438 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4440 * converter.C (Formats::view): reverted! Incorrect fix.
4442 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
4444 * converter.C (Formats::view): only output the -paper option
4445 if the dvi viewer is xdvi, thereby fixing bug #233429.
4447 2001-08-23 Herbert Voss <voss@perce>
4449 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
4451 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
4453 * Spacing.h (Spacing): Set space to Default on in the default
4456 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
4458 * vc-backend.h (RCS::versionString): add RCS to version
4459 (CVS::versionString): add CVS to version
4461 * vc-backend.C (scanMaster): do not add CVS to version.
4462 (scanMaster): do not add RCS to version
4464 * lyxvc.C (versionString): new method
4466 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
4468 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4470 * Spacing.C (set): initialize fval
4472 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
4474 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
4477 2001-08-16 Juergen Vigna <jug@sad.it>
4479 * lyxfunc.C (dispatch): implemented the new FINISHED states.
4481 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4483 * BufferView_pimpl.C:
4486 * text2.C: setParagraph takes linespacing now
4488 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
4490 * LyxAction.C: add internal LFUN_CITATION_INSERT
4492 * LyXView.C: actually apply fix
4494 * bufferlist.C: fix open non-existent file
4496 * lyxfind.C: fix indentation
4498 * lyxfunc.C: remove unneeded assert, fix typo
4500 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4502 * MenuBackend.C: use "Floatname List"
4504 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4506 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
4507 when converting LaTeX layout to insetERT.
4508 Generate a non-collapsed float when reading old float
4510 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4512 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
4515 2001-08-13 Juergen Vigna <jug@sad.it>
4517 * text.C (fill): return 0 instead of 20 as this seems to be the more
4520 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
4522 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
4525 2001-08-13 Juergen Vigna <jug@sad.it>
4527 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
4529 (SearchBackward): comment out the unlocking of the inset_owner this
4530 should not be needed!
4532 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4534 * Many files: Remove inherit_language, and add latex_language
4536 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
4539 2001-08-10 Juergen Vigna <jug@sad.it>
4541 * text.C (prepareToPrint): fixed hfill-width in draw!
4543 * BufferView2.C (selectLastWord): save the selection cursor as this
4544 now is cleared in the function LyXText::clearSelection!
4546 2001-08-08 Juergen Vigna <jug@sad.it>
4548 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
4549 BACKSPACE type functions.
4551 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
4552 is only cutted from the document but not put in the cut-buffer, where
4553 still the old stuff should be.
4555 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
4557 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
4559 * tabular.C (SetWidthOfCell): fixed special case where the width
4561 (LeftLine): handle '|' in align_special.
4563 (LeftAlreadyDrawed): ditto
4564 (SetWidthOfCell): ditto
4566 2001-08-07 Juergen Vigna <jug@sad.it>
4568 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
4570 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4572 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
4573 * lyxlex.[hC]: ditto
4575 2001-08-06 Juergen Vigna <jug@sad.it>
4577 * text.C (getVisibleRow): fix up row clearing a bit.
4579 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4581 * minibuffer.C: make sure the X server sees the changes in the input.
4583 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * paragraph.C (getFont): split into...
4586 (getLabelFont): this
4587 (getLayoutFont): and this
4588 * paragraph_pimpl.C (realizeFont): calling this
4590 * text2.C (getFont): split into...
4591 (getLayoutFont): this
4592 (getLabelFont): and this
4593 (realizeFont): all three calling this
4595 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
4598 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4600 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
4602 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
4604 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
4605 layouts from the Quote inset insertion.
4607 2001-08-03 Juergen Vigna <jug@sad.it>
4609 * BufferView_pimpl.C (update): do the fitCursor only at the end!
4611 * screen.C (drawFromTo): don't call fitcursor here and do the loop
4612 only if status not is already CHANGED_IN_DRAW (second level).
4614 * text.C (draw): don't set the need_break_row when inside an
4617 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4619 * buffer.C (parseSingleLyXformat2Token): handle more latex
4622 * bufferview_funcs.[hC]: change function names to
4623 begin with small char, adjust other files.
4625 2001-08-02 André Pönitz <poenitz@gmx.net>
4628 BufferView_pimpl.C: remove broken special code for math-greek
4630 2001-08-02 Juergen Vigna <jug@sad.it>
4632 * BufferView_pimpl.C (update): redone this function so that we
4633 update the text again if there was a CHANGE_IN_DRAW.
4635 * screen.C (cursorToggle): removed LyXText parameter and recoded.
4636 (drawFromTo): added a new internal bool which is used by draw() and
4638 (general): some cursor drawing problems fixed.
4640 2001-08-01 Juergen Vigna <jug@sad.it>
4642 * lyxfind.C (LyXFind): fixed
4643 (SearchForward): ditto
4644 (SearchBackward): ditto
4646 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
4647 spurius drawing of the cursor in the main area.
4649 * text2.C (status): small fix which could lead to a segfault!
4650 (clearSelection): remove unneeded BufferView param.
4652 2001-08-01 André Pönitz <poenitz@gmx.net>
4654 * lyxfunc.C: small change due to changed mathed interface
4656 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4658 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
4660 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
4662 * lyxfunc.c: fail gracefully if file doesn't exist
4667 * BufferView_pimpl.C: IsDirWriteable() proto changed
4669 * LyXView.C: fix updateWindowTitle() to store the last title
4671 2001-07-31 Juergen Vigna <jug@sad.it>
4673 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
4674 the font (wrong since using of Paragraph::highestFontInRange).
4676 * paragraph.C (highestFontInRange): added a default_size parameter.
4678 * text.C (getVisibleRow): minor clear row changes (still not perfect).
4679 (setHeightOfRow): reformat
4681 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4683 * converter.[hC] + affected files: move to (inital-char)lowercase
4686 * ParagraphParameters.C (ParagraphParameters): remove commented code
4688 * PainterBase.[Ch]: remove commented code
4690 * LaTeXFeatures.h: add "bool floats" for float.sty
4692 * LaTeXFeatures.C (LaTeXFeatures): init floats
4693 (require): handle float
4694 (getPackages): do it with floats
4696 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4698 * BufferView_pimpl.C (Dispatch): improve handling of
4699 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
4701 * commandtags.h: #include lyxfont.h here temporarily to avoid
4704 * bufferlist.h: include LString.h here.
4706 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4708 * text2.C (getStringToIndex): new method.
4710 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
4712 * *: Reduced header file dependencies all over.
4714 2001-07-30 Baruch Even <baruch@lyx.org>
4716 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
4718 2001-07-29 Baruch Even <baruch@lyx.org>
4720 * buffer.C (readInset): Changed GRAPHICS to Graphics.
4722 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4724 * ParameterStruct.h (endif): add a default constructor to make
4725 sure that all variables is initialized.
4727 * ParagraphParameters.C (ParagraphParameters): adjust
4729 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4731 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4732 index; also, check that there is something to index, and that it
4733 does not span over several paragraphs.
4734 (doubleClick): use WHOLE_WORD_STRICT for double click.
4736 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
4738 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
4741 2001-07-26 Baruch Even <baruch@lyx.org>
4743 * buffer.C (readInset): Changed to call up InsetGraphics when reading
4744 an InsetFig figure, backwards compatible reading of old figure code.
4746 2001-07-27 Juergen Vigna <jug@sad.it>
4748 * text2.C: font.realize function adaption.
4750 * text.C (draw): add a warnings lyxerr text if needed.
4752 * layout.C: font.realize function adaption.
4754 * language.C: add inherit_language and implement it's handlings
4756 * bufferview_funcs.C (StyleReset): remove language parameter from
4757 font creation (should be language_inherit now).
4759 * bufferparams.C (writeFile): handle ignore_language.
4761 * paragraph.C (getFontSettings): the language has to be resolved
4762 otherwise we have problems in LyXFont!
4764 * lyxfont.C (lyxWriteChanges): added document_language parameter
4765 (update): removed unneeded language parameter
4767 * paragraph.C (validate): fixed wrong output of color-package when
4768 using interface colors for certain fonts in certain environments,
4769 which should not seen as that on the final output.
4771 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
4773 * BufferView_pimpl.C:
4778 * LyXAction.C: add thesaurus support
4781 * lyxfind.C: add "once" parameter, for thesaurus, to not
4782 move to the next match
4784 2001-07-26 Juergen Vigna <jug@sad.it>
4786 * lyxfont.C (realize): honor ignore_language too!
4789 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
4791 * text.C (draw): one place more for ignore_language to not draw
4794 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
4796 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
4798 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4800 * buffer.C (parseSingleLyXformat2Token): a more general fix for
4801 the minipage conversion problem.
4803 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4805 * buffer.C (parseSingleLyXformat2Token): check minipage if we
4808 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4810 * BufferView.h: don't forward declare WorkArea
4812 * BufferView.C: don't include WorkArea.h
4814 2001-07-25 André Pönitz <poenitz@gmx.net>
4818 * lyxfunc.C: new LFUN 'math-space'
4820 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
4822 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4824 * text2.C (toggleInset): call open/close
4826 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4828 * lyxfunc.C (dispatch): add debug for the disabled case
4830 * font.C (buttonText): make similar to rectText
4832 * buffer.C (readInset): comment out parsing of insetlist and
4835 * PainterBase.C (rectText): small correction
4837 * BufferView_pimpl.C: comment out insettheorem and insetlist
4838 * LyXAction.C: ditto
4839 * commandtags.h: ditto
4841 2001-07-24 Juergen Vigna <jug@sad.it>
4843 * text.C (draw): honor the ignore_language.
4845 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
4847 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4849 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
4852 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4854 * lyxtext.h: remove unused (and unimplemented) methods
4856 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4858 * text.C (getVisibleRow): honor background color
4861 * Painter.h: remove default color argument for fillRectangle
4863 * text.C (backgroundColor): new method
4865 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4867 * text.C (getVisibleRow): adjust
4869 * font.[Ch] (rectText): new method, metrics
4870 (buttonText): new method, metrics
4872 * PainterBase.[hC]: make rectText and buttonText always draw and take
4875 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4877 * ToolbarDefaults.C (read):
4878 * MenuBackend.C (read): allow escaping in all strings
4880 * BufferView_pimpl.C (insertAndEditInset): new method.
4881 (Dispatch): use insertAndEditInset whenever appropriate.
4883 * BufferView_pimpl.C (insertNote): removed
4885 * BufferView_pimpl.C (smartQuote): new method, moved from
4886 BufferView; if an insetquote cannot be inserted, insert a '"'
4889 * BufferView2.C: remove insertCorrectQuote();
4891 * lyxfunc.C (getStatus): Add support for all remaingin
4894 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
4896 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
4897 command (necessary to pass " as parameter of self-insert.
4899 * text.C (selectWordWhenUnderCursor):
4900 (selectWord): add word_location parameter
4901 (selectWordWhenUnderCursor): same + remove special code for word
4903 (selectNextWord): use kind() to guess type of insetspecialchar,
4906 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
4907 (insertErtContents): create ert insets as collapsed.
4908 (readInset): better compatibility code for Info inset.
4910 2001-07-20 Juergen Vigna <jug@sad.it>
4912 * lyxfunc.C (dispatch): use always LyXFind now!
4914 * text2.C (init): add a reinit flag so that the LyXText can be
4915 reinited instead of deleted and reallocated (used in InsetText).
4917 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
4923 2001-07-18 Juergen Vigna <jug@sad.it>
4925 * text.C (selectNextWord): handle insets inside inset by calling
4926 always the bv->text functions so that we can go up the_locking_inset!
4928 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
4929 in strange locations when inside an inset!
4931 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
4932 handling to include insets.
4934 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
4936 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4938 * LyXAction.C (init):
4940 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
4941 LIGATURE_BREAK, since the name is so stupid.
4943 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4945 * buffer.C (readInset): enable reading of new InsetNotes as well as old
4948 * FontLoader.C: remove FORMS_H_LOCATION cruft.
4950 * sp_form.[Ch]: remove.
4952 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
4954 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
4957 * src/buffer.C (readInset): ditto.
4959 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4961 * BufferView_pimpl.C (specialChar): new method. Obsoletes
4962 menuSeparator(), endOfSentenceDot(), ldots() and
4963 hyphenationPoint(), which are therefore removed.
4964 (Dispatch): handle LFUN_HYPHENATION_BREAK.
4966 * LyXAction.C (init):
4967 * commandtags.h: add LFUN_HYPHENATION_BREAK.
4969 * paragraph.C (getWord): removed.
4971 * BufferView_pimpl.C (Dispatch): use last word or selection for
4972 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
4974 * lyx_main.C (queryUserLyXDir): do not ask before creating
4975 user_dir, except if it has been named explicitely.
4977 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4979 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4980 a document of zero size.
4982 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4984 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
4985 approriately in the c-tor and in require().
4986 (getPackages): output the appropriate LaTeX for natbib support.
4988 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
4989 variables "use_natbib" and "use_numerical_citations" when reading the
4991 (readInset): read the various natbib cite commands.
4992 (validate): white-space change.
4994 * bufferparams.[Ch]: new variables "bool use_natbib" and
4995 "bool use_numerical_citations".
4996 (writeFile): output them in the LyX file.
4998 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5000 * lyxfunc.C (getStatus): add support for all the inset insertion
5003 * text2.C (insertInset):
5004 * paragraph.C (insetAllowed):
5005 * BufferView_pimpl.C (insertInset): update to take in account the
5006 renaming of insertInsetAllowed
5008 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5010 * text2.C (getInset): new method. returns inset at cursor position.
5012 * BufferView_pimpl.C (Dispatch): changes because of this.
5014 * LyXAction.C (init): rename open-stuff to inset-toggle.
5016 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5018 * text2.C (toggleInset): renamed from openStuff; use
5021 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5023 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5025 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5027 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5029 * buffer.C (readLyXformat2): Add filename to the error dialog
5031 2001-07-18 Juergen Vigna <jug@sad.it>
5033 * tabular.C (GetCellNumber): put an assert here instead of the check!
5035 2001-07-17 Juergen Vigna <jug@sad.it>
5037 * BufferView_pimpl.C (toggleSelection): adapted too.
5039 * text.C (selectNextWord): adapted for use with insets.
5040 (selectSelectedWord): ditto
5042 2001-07-17 Juergen Vigna <jug@sad.it>
5044 * sp_spell.C (PSpell): fix initialitation order.
5046 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5048 * paragraph.C: spacing
5050 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5052 * sp_spell.C: repair language selection for pspell
5054 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5056 * lyxfunc.h: change more methods to begin with lower char.
5058 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5060 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5061 for unknown layouts.
5063 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5065 * buffer.C (readLyXformat2): Generate an error dialog if there are
5068 2001-07-16 Juergen Vigna <jug@sad.it>
5070 * sp_spell.C: always compile ISpell part.
5072 * lyxrc.C: added use_pspell entry and it's handling.
5074 2001-07-13 Juergen Vigna <jug@sad.it>
5076 * sp_spell.C: removed double includes.
5078 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5080 Consistent use of Lsstream.h:
5081 * Lsstream.h: added using std::stringstream for consistencies sake.
5083 * buffer.C: removed using std::stringstream
5085 * lyxfont.C (stateText):
5086 * paragraph.C (asString):
5087 * text.C (selectNextWord, selectSelectedWord):
5088 * text2.C (setCounter):
5089 * vspace.C (asString, asLatexString):
5090 std::ostringstream -> ostringstream.
5092 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5094 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5095 * commandtags.h: add LFUN_HELP_ABOUTLYX
5096 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5098 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5100 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5102 * lyx_gui_misc.C: remove spellchecker
5103 * lyxfunc.C: showSpellchecker
5105 * sp_ispell.h: added
5106 * sp_pspell.h: added
5108 * sp_form.[Ch]: removed
5109 * spellchecker.[Ch]: removed
5111 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5113 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5115 (simpleTeXSpecialChars): Simply print the input character without
5116 any special translation if pass_thru is set.
5118 * layout.h: Added bool pass_thru to layout class for being able to
5119 implement pass through of a paragraph for Literate Programming.
5121 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5122 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5123 * layout.C (Read): add "passthru" to list of layout tags and add
5124 code to set the pass_thru boolean when it is read.
5126 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5128 * trans_decl.h: remove allowed from KmodInfo
5130 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5134 * paragraph_pimpl.C (erase): use boost::prior
5136 * Painter.C (text): use data() instead of c_str() when length is
5138 * WorkArea.C (putClipboard): ditto
5139 * font.h (width): ditto
5141 * BufferView2.C: use it-> instead of (*it). for iterators
5143 * paragraph_pimpl.C: ditto
5144 * paragraph.C: ditto
5145 * minibuffer.C: ditto
5150 * converter.C: ditto
5152 * Variables.C: ditto
5153 * TextCache.C: ditto
5154 * MenuBackend.C: ditto
5155 * LyXAction.C: ditto
5157 * FloatList.C: ditto
5159 * ColorHandler.C (LyXColorHandler): ditto
5161 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5163 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5165 * text2.C (openStuff): reintroduce this method (which had been
5166 nuked in NEW_INSETS frenzy).
5168 * lyxfunc.C (Dispatch): when an action has not been handled, use
5169 its name in the error message, not its number.
5171 * paragraph.C (inInset): change method name to begin with lowercase.
5174 * text2.C: updates because of this.
5176 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5178 * ToolbarDefaults.C (add): add spaces in error message
5180 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5182 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5183 (readLyXformat2): rename return_par to first_par, use lyxlex's
5184 pushToken and remove the manual push handling.
5185 (parseSingleLyXformat2Token): add another ert comp. variable:
5186 in_tabular, rename return_par to first_par. handle newlines better
5188 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5190 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5192 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5194 * text2.C (getParFromID): removed
5196 * buffer.C (getParFromID): new method moved form lyxtext.
5197 * BufferView2.C (insertErrors): adjust
5198 (setCursorFromRow): adjust
5199 * BufferView_pimpl.C (restorePosition): adjust
5200 * lyxfunc.C (Dispatch): adjust
5201 * undo_funcs.C (textUndo): adjust
5203 (textHandleUndo): adjust
5204 (textHandleUndo): adjust
5206 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5208 * buffer.C: up' the LYX_FORMAT
5210 * lyxfont.h: turn NO_LATEX on as default
5212 * buffer.C (insertErtContents): new methods of tex style compability.
5213 (parseSingleLyXformat2Token): use it several places.
5214 * tabular.C (OldFormatRead): and here
5216 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5218 * text2.C: remove some commented code.
5221 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5222 * trans.C: changes because of the above.
5224 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
5226 * text2.C (setCounter): Fix counters bug with bibliography layout.
5228 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5230 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5231 own member functions
5232 (simpleTeXSpecialChars): ditto
5234 2001-07-06 Juergen Vigna <jug@sad.it>
5236 * a lot of files: changed the access to LyXText::status and the
5237 call of undo-functions.
5239 * undo.[Ch]: added a inset_id to the undo informations.
5241 * undo_funcs.[Ch]: added and moved here all undo functions.
5243 * lyxtext.h: give the status enum a weight, made status_ a private
5244 variable and made accessor functions for it, removed the whole bunch
5245 of undo-functions as they are now in their own file, make some
5246 functions publically available. Added function ownerParagraph with
5249 * paragraph.[Ch]: added "bool same_ids" to the constructor,
5250 made InInset() a const function, added getParFromID() function.
5252 * buffer.[Ch]: added const version for inset_iterator functions,
5253 added getInsetFromID() function.
5255 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
5256 changed undo functions for new version.
5258 2001-07-05 Juergen Vigna <jug@sad.it>
5260 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
5261 unknow mechanism does not call the proper constructor but only this
5262 one also if I request the other!?
5264 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5266 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
5268 * text2.C (LyXText): use initialization lists.
5270 * lyxtext.h (Selection): initialize set_ and mark_
5271 (init): remove method
5273 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
5275 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
5277 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5279 * screen.[Ch]: change method names to begin with lowercase
5281 * BufferView_pimpl.C (updateScrollbar): simplify further and
5282 hopefully make it a bit faster.
5284 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5286 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
5287 calling directly xforms functions.
5289 * Painter.C (Painter):
5290 * lyx_cb.C (MenuWrite):
5291 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
5294 * lyx_gui.C: remove bogus guiruntime extern declaration.
5296 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5298 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
5300 (redoDrawingOfParagraph): ditto
5301 (redoParagraphs): ditto
5302 (cutSelection): don't create a object for CutAndPaste use the
5303 static method directly
5304 (pasteSelection): ditto
5306 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
5309 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * modifications to some other files because of this.
5313 * Makefile.am (lyx_SOURCES): add XFormsView
5315 * XFormsView.[Ch]: new files
5317 * LyXView.[Ch]: make LyXView a base class for the gui handling for
5318 the main window. Move the gui dependent stuff to XFormsView
5320 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5322 * tabular.C (GetCellInset): update cur_cell also in the row/col
5323 version of this function.
5325 * lyxfunc.C: no need to include figure_form.h here.
5331 * lyxvc.C: no need to include forms.h here.
5333 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5335 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
5337 * lyxfunc.C (Dispatch):
5339 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
5340 constructor argument.
5342 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5344 * paragraph.C (Paragraph): dont't clear, and just set layout.
5345 (makeSameLayout): use params's copy contructor.
5347 * ParagraphParameters.[Ch] (makeSame): delete method
5349 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5351 * Variables.[Ch]: fix indentation, rename set to isSet
5353 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5355 * lyxfunc.C (Dispatch): fix typo
5357 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5359 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
5362 * bufferlist.C: include assert.h for emergencyWrite().
5364 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5366 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
5367 give up at last (bug #425202) !
5369 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
5375 * spellchecker.C: strip spellchecker options and bring up
5376 preferences tab instead
5378 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5380 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
5381 the istringstream constructor
5383 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5385 * paragraph.C (getLayout): fix return value
5387 * paragraph.h: do not declare getLayout as inline.
5389 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
5391 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5393 * lyxcursor.h (operator<): new func
5394 (operator>): new func
5395 (operator>=): new func
5396 (operator<=): new func
5398 * text.C (changeCase): use selection.start and selection.end
5399 (changeRegionCase): require from to be <= to. Require par to be a
5402 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
5404 2001-06-27 Juergen Vigna <jug@sad.it>
5406 * text.C (cursorLeftOneWord): changed to return the cursor and added
5407 overlay with BufferView * parameter which calls this one.
5409 (selectWord): use new getWord function.
5410 (changeCase): renamed from changeWordCase as and extended to work
5413 * lyxtext.h: added enum word_location
5415 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
5416 changeCase as this operates now also on selections.
5418 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5420 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
5422 * many files: send debug output to Debug::INFO instead of
5425 * converter.C (View):
5427 (Move): send debug output to Debug::FILES instead of console.
5429 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5431 * lyxfunc.C (getStatus): use func_status
5433 * func_status.h: new header, describing the results of
5436 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
5439 2001-06-25 The LyX Project <jug@sad.it>
5441 * buffer.C (sgmlOpenTag):
5443 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
5445 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5447 * text2.C: remove some dead code
5449 * tabular.C (GetCellInset): store the last cell checked (gotten)
5451 * tabular.h: add the helper for the speedup
5453 * lyxtext.h: remove some dead code
5455 2001-06-26 The LyX Project <Asger>
5457 * paragraph.C: Change export to LaTeX of alignment to
5458 \begin{center} and family for better roundtrip work with reLyX.
5460 * Tune the math drawing a bit.
5462 2001-06-25 The LyX Project <Asger>
5464 * LColor.C (LColor): New color for math background. New color
5467 2001-06-25 The LyX Project <jug@sad.it>
5469 * lyxfunc.C (MenuNew): remove extra check for .lyx file
5472 * bufferlist.C (newFile): do not restrict to files ending with
5475 * BufferView_pimpl.C (MenuInsertLyXFile):
5477 2001-06-24 The LyX Project <jug@sad.it>
5479 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
5482 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5484 * lyxtext.h: rename most methods to begin with a small char.
5485 Lots of changes because of this.
5487 * paragraph.C (Paragraph): do not call fitToSize
5488 (erase): call Pimpl::erase
5489 (insertChar): call Pimpl::insertChar
5490 (insertInset): call Pipl::insertInset
5491 (breakParagraph): do not call fitToSize
5492 (breakParagraphConservative): do not call fitToSize
5493 (fitToSize): remove method
5495 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
5497 2001-06-24 The LyX Project <Asger>
5499 * Fix Qt compilation^2
5501 2001-06-24 The LyX Project <jug@sad.it>
5503 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
5504 depthHook(getDepth()-1).
5507 * ParagraphParameters.h:
5508 * ParameterStruct.h: change type of depth to unsigned int ==
5509 depth_type. Many adaptations to other files before of that.
5511 2001-06-24 The LyX Project <Asger>
5513 * Fix Qt compilation.
5515 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5517 * paragraph.h: renamed several methods to begin with small letter.
5518 several changes to many parts of the code because of this.
5520 2001-06-23 The LyX Project <jug@sad.it>
5522 * text2.C (InsertStringAsLines): renamed from InsertStringA;
5523 rewritten to discard all double spaces when KeepEmpty is off
5524 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
5525 to only handle newlines but not fiddle with spaces and friends.
5527 * lyxfunc.C (MenuNew): when doing 'new from template', use
5528 template_path as default directory
5530 2001-06-23 The LyX Project <Asger>
5532 * Clean-up of header file includes all over
5533 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
5535 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5537 * paragraph.h: renamed from lyxparagraph.h
5539 2001-06-23 Asger <lyx@violet.home.sad.it>
5541 * Buffer.h: Removed Buffer::resize
5542 * BufferList.h: Removed BufferList::resize
5543 * LyXView.h: Added LyXView::resize. This way, we will only reflow
5544 the document lazily when we change the width, or the font settings.
5546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5548 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
5550 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5552 * buffer.h: remove out of date comment
5554 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
5557 * screen.C: fix "theoretical" GC leak
5559 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5561 * LaTeX.C (scanAuxFile):
5562 (deplog): remove trailing \r when reading stream (useful under
5565 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
5567 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
5568 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
5569 and BufferView::theLockingInset(Inset*), so should use them and not
5570 access bv_->text->the_locking_inset directly.
5572 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
5574 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5577 * tex-defs.h: remove old unused file
5579 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
5581 * BufferView_pimpl.C: fix typo, remove minibuffer message
5582 when buffer has loaded
5584 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5586 * lyxfunc.C (Dispatch): use stringstream
5587 (MenuNew): use stringstream
5588 (Open): use stringstream
5590 * importer.C (Import): use stringstream
5592 * bufferview_funcs.C (CurrentState): use stringstream
5594 * LaTeX.C (run): use stringstream
5596 * BufferView_pimpl.C (savePosition): use stringstream
5597 (restorePosition): use stringstream
5598 (MenuInsertLyXFile): use stringstream
5600 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
5613 * vspace.C: removed // -*- C++ -*- as first line.
5616 * version.h: added // -*- C++ -*- as first line.
5618 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5620 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
5622 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
5625 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
5630 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5632 * gettext.C: include LString.h even when --disable-nls is on.
5634 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
5636 * converter.h (Get): changed argument type from int to
5637 FormatList::size_type to avoid unnecessary conversion.
5639 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
5642 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5644 * gettext.h: include LString.h even when --disable-nls is on.
5646 2001-06-07 Juergen Vigna <jug@sad.it>
5648 * text.C (BreakAgain): subst spaces with tabs.
5650 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
5651 (resizeInsetsLyXText): set force on resizeLyXText.
5653 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5655 * gettext.h (gettext_init):
5656 (locale_init): use a real definition instead of a macro
5658 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5660 * Bufferview_pimpl.C:
5662 * LColor.C: further lcolor tidies
5664 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5666 * BufferView_pimpl.C (updateScrollbar): simplify.
5668 * BufferView2.C: don't include insets/insetinfo.h, change
5669 prototype for insertInset and call the Pimpl version. let
5670 updateInset call Pimpl version.
5672 * BufferView.h: move inset_slept to BufferView::Pimpl, move
5673 gotoInset to BufferView::Pimpl
5675 2001-06-01 Juergen Vigna <jug@sad.it>
5677 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
5678 inside a LockingInset (is the update needed at all?).
5680 2001-05-31 Juergen Vigna <jug@sad.it>
5682 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
5683 here not the old one otherwise how should we compare it afterwards
5686 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5691 * FontInfo.C: bring C functions into global namespace when
5694 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5696 * LString.h: make sure config.h has been loaded before LString.h.
5698 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
5699 (one for each char read by EatLine!).
5701 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
5704 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5706 * paragraph.C (BreakParagraph): set the inset_owner in the new par
5707 to the same as the par we break from
5709 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5711 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
5713 * MenuBackend.C (expand): also create menu entries for wide
5714 versions of the floats.
5716 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
5718 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
5720 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
5721 frontends/Makefile.am
5727 * tabular.C (getTokenValue): add std::
5729 * tabular-old.C (getTokenValue): add std::
5730 (getTokenValue): ditto
5731 (getTokenValue): ditto
5733 * screen.C (ToggleSelection): adjust
5735 * lyxtext.h: put selection cursors inside a Selection struct.
5737 * lyxfunc.C (moveCursorUpdate): adjust
5739 * lyxfont.C (latexWriteStartChanges): add std::
5743 * font.h: delete with(char const *, LyXFont const &)
5745 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
5747 * FontInfo.C (getFontname): add std::
5749 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5750 (workAreaButtonPress): adjust
5751 (tripleClick): adjust
5753 (moveCursorUpdate): adjust
5756 * BufferView2.C (gotoInset): adjust
5758 2001-05-30 Juergen Vigna <jug@sad.it>
5760 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
5761 to check pspell I add this as default as I now have new pspell
5762 libraries and they seem to use this.
5764 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5766 * text2.C (CutSelection): make the cursor valid before the call to
5769 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5771 * kbsequence.C (parse): de-uglify a bit the parsing code, which
5772 relied on 0 terminated strings and other horrors. Bug found due to
5773 the new assert in lyxstring!
5775 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
5778 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5780 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
5783 * lyxfunc.C (processKeySym): change method of getting to the
5786 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
5787 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
5788 * BufferView_pimpl.[Ch]: here as private methods.
5790 2001-05-28 Juergen Vigna <jug@sad.it>
5792 * text.C (SetHeightOfRow): added the update() call again as it is
5793 needed to initialize inset dimensions!
5795 2001-05-16 Juergen Vigna <jug@sad.it>
5797 * text2.C (SetCharFont): Add new function with BufferView * and
5798 bool toggleall parameters for setting insets internal fonts.
5799 (SetFont): Freeze the undo as we may change fonts in Insets and
5800 all this change should be inside only one Undo!
5802 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
5803 setting font's in insets as for them we have the SetFont function!
5805 2001-05-15 Juergen Vigna <jug@sad.it>
5807 * text2.C (ClearSelection): to be sure we REALLY don't have any
5810 * tabular.C (TeXCellPreamble): fixed the left border problem for
5813 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5815 * LaTeX.C (deplog): Make sure that the main .tex file is in the
5818 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5820 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
5821 LFUN_BREAKPARAGRAPH.
5823 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
5824 help test to "internal only", similar for LFUN_INSERT_URL
5826 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
5827 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
5828 auto_region_delete and deadkeys.
5830 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
5833 * LColor.C: remove some dead entries, tidy a little
5835 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5837 * lyxfunc.C (processKeySym): comment the Escape handling, remove
5839 (Dispatch): implement LFUN_ESCAPE
5841 * commandtags.h: add LFUN_ESCAPE
5843 * LyXAction.C (init): add entry for LFUN_ESCAPE
5845 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
5846 Remove commented code.
5847 (insertNote): moved here
5848 (open_new_inset): moved here
5850 * BufferView[2].[Ch]: move insertNote and open_new_inset to
5853 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5855 * kbmap.C (findbinding): clean it up and make it work correctly.
5857 * lyx_main.C (init): do not pass argc and argv as parameters
5859 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5861 * buffer.C: fix path for OS/2 & Win32
5865 * lyx_main.C: Added os:: class.
5867 * os2_defines.h: update
5869 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5871 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
5872 better by trying again with reduced state.
5874 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5876 * lyxrc.C (read): print error about invalid key sequence only when
5877 debugging (because not all latinX keysyms are known to some X
5880 * kbsequence.C (getiso): add a few std:: qualifiers
5881 (getiso): comment out extra return statement.
5883 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
5887 (Dispatch): enhance the accent inset a bit. (not perfect)
5889 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5891 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5893 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5895 * bufferlist.C (emergencyWrite): fix assert() call
5897 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
5899 * text.C (InsertChar): Added trivial patch to only send the "you
5900 can not do multiple spaces this way" message once during a
5903 2001-05-08 Baruch Even <baruch@lyx.org>
5905 * Makefile.am: Changed order of libraries to get LyX to link properly
5906 with the gnome frontend.
5908 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5910 * LaTeXFeatures.h: add a std:: qualifier
5912 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5914 * paragraph.C (String): use stringstream
5916 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5918 * paragraph.C (writeFile): remove footflag arg
5920 * buffer.C (makeLaTeXFile): use stringstream
5921 (latexParagraphs): remove footnot gurba
5923 * LaTeXFeatures.C (getPackages): use stringstream
5924 (getMacros): likewise
5925 (getTClassPreamble): likewise
5926 (getFloatDefinitions): new method
5928 * paragraph.C (writeFile): reindent
5931 * WorkArea.h: revert the xpos + etc changes.
5933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
5935 * lyxparagraph.[Ch]: add copy constructor, remove Clone
5937 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
5938 (pasteSelection): likewise
5939 * text2.C (CreateUndo): likewise
5941 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5943 * minibuffer.C (peek_event): temporarily reduce the functionality
5944 of the minibuffer (to allow args on lfuns)
5946 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
5947 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
5949 * buffer.C (readInset): add compability reading of old float
5950 lists, add reading of new style float list.
5951 (readInset): avoid reevaluation of inscmd.getCmdName()
5952 (getLists): reindent
5954 * MenuBackend.C (MenuItem): implement parsing of
5955 md_floatlistinsert and md_floatinsert.
5956 (expand::LastFiles): move initalizaton of iterators out of loop,
5958 (expand::Documents): introduce typdedef vector<string> Strings,
5960 (expand::ExportFormats): introduce typedef vector<Format const *>
5961 Formats, and use it.
5962 (expand): implement FloatListInsert and FloatInsert.
5964 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
5965 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
5966 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
5968 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
5970 (Dispatch::LFUN_FLOAT_LIST): implement
5972 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5974 * LaTeX.C (run): Fix problem with --export code.
5976 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5978 * BufferView.[Ch] (workarea): removed.
5979 (getClipboard) new method; wrapper for workarea()->getClipboard()
5981 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
5984 * WorkArea.h (width, height, xpos, ypos): These methods all
5985 returned the dimensions of the work_area sub-area of WorkArea,
5986 resulting in a position error if the WorkArea were resized. Now
5987 return the dimensions of the entire WorkArea.
5989 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
5991 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5993 * LaTeX.C (deplog): correct the syntax of regex reg1
5995 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * undo.C: remove !NEW_INSETS cruft
5999 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6001 * text2.C: remove !NEW_INSETS cruft
6003 * text.C: remove !NEW_INSETS cruft
6005 * tabular.C: remove !NEW_INSETS cruft
6007 * spellchecker.C: remove !NEW_INSETS cruft
6009 * lyxtext.h: remove !NEW_INSETS cruft
6011 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6013 * lyxfunc.C: remove !NEW_INSETS cruft
6015 * lyxfind.C: remove !NEW_INSETS cruft
6017 * lyx_cb.C: remove !NEW_INSETS cruft
6019 * figureForm.C: remove !NEW_INSETS cruft
6021 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6023 * buffer.[Ch]: remove !NEW_INSETS cruft
6025 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6027 * CutAndPaste.C: remove !NEW_INSETS cruft
6029 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6031 * BufferView2.C: remove !NEW_INSETS cruft
6033 * BufferView.h: remove !NEW_INSETS cruft
6035 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6037 * Lsstream.h: include LString.h before the sstream headers to
6038 fix problem with gcc 2.95.3 and lyxstring
6040 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6042 * lyx_main.C: add using directives when needed for C functions
6043 declared in std:: namespace.
6045 2001-04-27 Juergen Vigna <jug@sad.it>
6047 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6048 (SetHeightOfRow): comment out the update call should not be needed!
6050 2001-04-13 Juergen Vigna <jug@sad.it>
6052 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6053 (LyXTabular): tried to minimize operator= operations (and realized
6054 hopfully Lars wish).
6056 2001-04-27 Juergen Vigna <jug@sad.it>
6058 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6060 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6064 * buffer.C (readInset): hack to make listof algorithm work
6066 * BufferView_pimpl.C: hack to make listof algorithm work
6068 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6070 * LyXAction.C: removed all !NEW_INSETS cruft
6071 (init): moved lfun_item in method
6073 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6075 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6077 * BufferView2.C (theLockingInset): white space.
6079 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6081 * minibuffer.C: include <iostream>
6083 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6085 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6087 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6089 * text.[Ch] (TransposeChars): new method
6091 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6093 * call message directly through LyXView instead of through LyXFunc
6094 * BufferView2.C: adjust
6095 * BufferView_pimpl.C: adjust
6096 * FontLoader.C: adjust
6098 * bufferview_funcs.C: adjust
6099 * converter.C: adjust
6100 * figureForm.C: adjust
6101 * importer.C: adjust
6103 * lyx_gui_misc.C: adjust
6107 + more files in subdirs
6109 * lyxparagraph.h (size): move up int file
6112 * adjust all uses of Assert to lyx::Assert.
6114 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6115 lyxfunctional in namespace lyx
6116 * layout.C (hasLayout): ditto
6119 (delete_layout): ditto
6120 (NumberOfClass): ditto
6121 * converter.C (GetFormat): ditto
6126 * bufferlist.C (getFileNames): ditto
6127 (emergencyWriteAll): ditto
6130 * MenuBackend.C (hasSubmenu): ditto
6133 * BufferView_pimpl.C (getInsetByCode): ditto
6135 2001-04-18 Juergen Vigna <jug@sad.it>
6137 * vspace.C (asLatexString): fixed the 100% problem.
6139 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6141 * lyxfunc.C (Dispatch):
6143 * minibuffer.h: add a few std:: qualifiers
6145 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6147 * minibuffer.[Ch]: reimplement so that commands is initiated and
6148 run from lyxfunc, simplified som handling, and made the completion
6149 and history code for complete. wip.
6151 * lyxfunc.C (processKeySym): call message
6152 (miniDispatch): new temporary method
6153 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6154 (LFUN_MESSAGE): implement
6155 (LFUN_MESSAGE_PUSH): implement
6156 (LFUN_MESSAGE_POP): implement
6157 (initMiniBuffer): the initial/defualt minibuffer message.
6159 * lyxfont.[Ch]: inline some more getters
6161 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6163 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6165 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6166 (AutoSave): use LFUN_MESSAGE
6167 (Reconfigure): ditto
6169 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6171 * figureForm.C: use LFUN_MESSAGE
6173 * converter.C (runLaTeX): use LFUN_MESSAGE
6175 * bufferview_funcs.C: use LFUN_MESSAGE
6177 (changeDepth): ditto
6179 * bufferparams.h: use boost::
6181 * bufferlist.h: inherit privately from noncopyable
6183 * bufferlist.C (loadLyXFile): remove some commented code.
6185 * buffer.C (runChktex): use LFUN_MESSAGE
6187 * ShareContainer.h: inherit privately from noncopyable
6189 * ParagraphParameters.[hC] (depth): inline it.
6191 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6193 (message): new method
6194 (messagePush): ditto
6196 (show): init minibuffer
6197 (showState): direct call
6199 * LaTeX.[Ch]: inherit privately from noncopyable
6200 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6201 instead of WriteStatus.
6203 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6205 * BufferView_pimpl.C (buffer): don't init minibuffer
6206 (workAreaButtonPress): use LFUN_MESSAGE
6207 (workAreaButtonRelease): ditto
6208 (savePosition): ditto
6209 (restorePosition): ditto
6210 (MenuInsertLyXFile): ditto
6211 (workAreaExpose): don't init minibuffer
6212 (update): remove commented code, simplify
6214 * BufferView2.C (openStuff): use LFUN_MESSAGE
6215 (toggleFloat): ditto
6218 (copyEnvironment): ditto
6219 (pasteEnvironment): ditto
6224 (updateInset): remove some commented code
6226 * lastfiles.h: inherit privately from noncopyable
6231 * lyxlex_pimpl.h: ditto
6233 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6234 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6235 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6237 * LyXAction.h: inherit privately from noncopyable, add methods
6238 func_begin, func_end, returning iterators to the func map.
6240 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6241 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6242 (func_begin): new method
6243 (func_end): new method
6245 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
6247 (copySelection): ditto
6248 (pasteSelection): ditto
6250 * BufferView.C: whitespace change
6251 * BufferView.h: inherit privately from noncopyable
6253 2001-04-16 Allan Rae <rae@lyx.org>
6255 * tabular-old.C (l_getline):
6256 * spellchecker.C (sc_check_word):
6257 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
6258 an unrecognised preprocessor directive. So ensure they're wrapped.
6260 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
6262 * src/exporter.C (Export): Give an error message when path to file
6265 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
6267 * LaTeX.C (deplog): Always check that foundfile exists.
6269 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6272 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
6274 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * tabular.[Ch] (getLabelList): implement new method
6278 * minibuffer.h: comment ouf setTiimer
6280 * minibuffer.C (ExecutingCB): constify res
6281 (peek_event): constify s
6282 (Set): constify ntext
6283 (Init): constify nicename
6285 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
6287 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
6288 (savePosition): use two params to Minibuffer::Set
6289 (restorePosition): ditto
6291 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * lyx_main.C: include language.h
6295 * Makefile.am (lyx_main.o): add language.h
6297 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6303 * CutAndPaste.C: include gettext.h
6305 * lyxfont.h: remove old hack with ON and OFF.
6308 * lyxfont.h: do not include language.h...
6313 * bufferview_funcs.C:
6319 * paragraph.C: ... but do it here instead
6321 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6323 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
6325 * tabular.C: small reformat
6327 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
6330 (BreakParagraph): ditto
6331 (SetOnlyLayout): ditto
6334 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
6337 * lastfiles.C: removed most using decl, add std:: where needed
6339 * buffer.C: ws changes
6341 * MenuBackend.C (class compare_format): put into anon namespace
6342 (expand): constify label, names, action, action2
6345 * text.C (SingleWidth): constify font
6346 (IsBoundary): constify rtl2
6347 (GetVisibleRow): constify ww
6349 * LaTeX.C (deplog): constify logfile
6351 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
6353 (workAreaExpose): constify widthChange, heightChange
6355 * lyxrow.C (par): moved
6358 * lyxrow.h: as inlines here
6360 * lyxfont.h (shape): moved from lyxfont.C
6361 (emph): moved from lyxfont.C
6363 * lyxfont.C (LyXFont): use initialization list for all
6365 (shape): move to lyxfont.h as inline
6366 (emph): move to lyxfont.h as inline
6369 2001-04-04 Juergen Vigna <jug@sad.it>
6371 * vspace.C: had to include stdio.h for use of sscanf
6373 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
6376 * BufferView_pimpl.h: remove xforms cruft. Both classes are
6377 independent of xforms.
6379 2001-04-02 Juergen Vigna <jug@sad.it>
6381 * spellchecker.C: fixed namespace placing!
6383 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
6385 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
6386 the LyXParagraph * is 0.
6388 2001-03-29 Juergen Vigna <jug@sad.it>
6390 * vspace.C: added support for %, c%, p%, l%.
6391 (stringFromUnit): added helper function.
6392 (asLatexString): changed to give right results for the %-values.
6394 * buffer.C: convert the widthp in a width%.
6396 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6398 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
6401 * figureForm.[Ch]: stripped the FD_from_figure manipulation
6402 code out of lux_cb.[Ch], ready for its (imminent?) removal.
6404 * lyx_cb.[Ch]: see above.
6406 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
6410 * lyx.[Ch]: replaced by figure_form.[Ch].
6414 * lyxfunc.C: changed headers associated with above changes.
6416 2001-03-27 Juergen Vigna <jug@sad.it>
6418 * BufferView_pimpl.C: set the temporary cursor right!
6420 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6422 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
6424 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6426 * LString.h: removed "using std::getline"!
6428 * BufferView_pimpl.C (Dispatch): changes due to changes in
6429 InsetInclude::Params.
6431 * buffer.C (tag_name): removed redundant break statements as they were
6432 producing lots of warnings with my compiler.
6434 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6436 * LString.h: add "using std::getline" when using the real <string>.
6438 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6440 * buffer.C: removed bitset usage.
6441 PAR_TAG moved to an anonymous name space.
6442 (tag_name): new funtion, also in the anonymous namespace.
6443 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
6444 (makeDocBookFile): clean code. Completed transition from string arrays
6446 (SimpleDocBookOnePar): code clean.
6448 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6450 * tabular.C: add some comments.
6452 2001-03-22 Juergen Vigna <jug@sad.it>
6454 * buffer.C (parseSingleLyXformat2Token): redone the minipage
6455 compatibility read a bit and fixed bug with minipage in different
6458 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
6460 * buffer.C (pop_tag): removed.
6461 (push_tag): removed.
6462 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
6463 array replaced with vector. Added support for CDATA sections.
6464 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
6466 (makeDocBookFile): XML conformant declaration of CDATA section,
6467 fixed bug related to <emphasis> in the first paragraph char.
6468 (sgmlOpenTag): exclude empty tags.
6469 (sgmlCloseTag): ditto.
6471 * buffer.h (pop_tag): removed.
6472 (push_tag): removed.
6474 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6476 * language.h (Languages): added size_type and size().
6478 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6480 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
6481 response on compability reading of minipages. One probliem is that
6482 the old usage of minipages was «flertydig»
6484 * several files here and in subdirs: don't use static at file
6485 scope use anon namespaces instead.
6487 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
6489 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
6490 LaTeX output. This is necessary for Literate document
6493 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6495 * buffer.C: insert hfill when needed.
6497 * tabular.C (l_getline): use string::erase, small whitespace change.
6499 * BufferView_pimpl.C: try the anon namespace.
6502 2001-03-16 Juergen Vigna <jug@sad.it>
6504 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
6505 otherwise it won't open options-dialogs.
6507 * buffer.C: honor pextraWidth(p) on converting minipages.
6509 * tabular.C (l_getline): changed the functions to strip trailing \r.
6511 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
6513 * BufferView_pimpl.C:
6514 * minibuffer..C: added "using SigC::slot" declaration.
6516 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6518 * lyxlex_pimpl.h: noncopyable is in namespace boost.
6524 * paragraph.C: ditto
6526 * lyxtext.h: NO_PEXTRA
6528 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
6530 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
6531 * ParameterStruct.h: ditto
6532 * ParagraphParameters.h: ditto
6533 * lyxparagraph.h: ditto
6535 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6537 * buffer.C: add compability for minipage alignment.
6538 (latexParagraphs): remove unwanted pextra check.
6540 * several files: remove CXX_WORKING_NAMESPACES
6542 * buffer.C (pop_tag): tie is in namespace boost
6544 * BufferView.h: noncopyable is in namespace boost
6549 * lastfiles.h: ditto
6550 * bufferlist.h: ditto
6551 * ShareContainer.h: ditto
6553 * LyXAction.h: ditto
6556 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6558 * Merging changes from BRANCH_MVC back into HEAD.
6560 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
6562 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
6564 * BufferView_pimpl.C: change from intl.C
6568 * Makefile.am: move combox.*
6574 * intl.C: remove dialog (covered by prefs)
6576 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6578 * lyxfunc.C (Dispatch): removed redundant break statement.
6580 2001-03-14 Juergen Vigna <jug@sad.it>
6582 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
6584 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6586 * buffer.C: add hack to fix compability reading of minipages.
6588 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6590 * buffer.C (getLists): Cleanup.
6592 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * lyxfont.C (update): don't honor toggleall on font size.
6596 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
6600 * Makefile.am: moved to frontends/xforms/
6604 * BufferView_pimpl.C: changes for moved mathpanel
6606 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6608 * gettext.h: fix gettext_init() in --disable-nls
6610 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
6614 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6617 * lyx.h: strip external form
6619 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6621 * BufferView_pimpl.C: add comment, destroySplash()
6623 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6625 * BufferView_pimpl.C:
6629 * lyxfunc.C: use re-worked insetinclude
6631 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6633 * buffer.C: add using std::stringstream.
6635 * lyx_cb.C: readd using std::ios.
6637 * buffer.C: add using std::map.
6639 * BufferView_pimpl.C: add using std::vector.
6641 * ShareContainer.h: add std:: to swap.
6643 * buffer.h: add some typedefs
6644 * buffer.C (getLists): use them
6645 (getLists): renamed from getTocList.
6646 add a counter for the different float types and use it in the
6648 (getLists): use the same counter for the NEW_INSETS and the "non"
6651 * lyx_cb.h: remove unused items, includes, using etc.
6653 * ShareContainer.h: remove some commented code, add more comments
6654 and "documentation".
6656 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6658 * buffer.C (getTocList): make the list also when NEW_INSETS is
6661 * buffer.h: remove TocType
6663 * buffer.C (getTocList): change to return a map<string,
6664 vector<TocItem> >, implement for dynamic number of list.
6666 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
6667 * text2.C (PasteSelection): adjust
6668 * CutAndPaste.C (pasteSelection): adjust
6670 * FloatList.C (FloatList): update from the new_insets branch.
6671 * Floating.[Ch]: ditto
6672 * LaTeXFeatures.C: ditto
6674 * lyxlex_pimpl.C: ditto
6676 * paragraph.C (Last): remove when NEW_INSETS is defined.
6678 * other file: changes because of the above.
6680 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6682 * lyxparagraph.h: rename next to next_, previous to previous_,
6683 make them private for NEW_INSETS. Rename Next() to next(),
6684 Previous() to previous().
6686 * other files: changes because of the above.
6688 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
6691 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
6694 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * main.C (main): pass lyx_localedir to gettext_init().
6698 * gettext.h: remove locale_init and gettext_init macros
6700 * gettext.C (locale_init): new function
6701 (gettext_init): new function
6703 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
6706 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
6708 * Moved credits to frontends:
6709 * credits.[Ch]: removed
6710 * credits_form.[Ch]: removed
6711 * lyx_gui_misc.C: remove credits stuff
6714 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6716 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
6718 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
6719 unneeded destructor.
6721 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
6722 a standalone pointer again.
6724 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
6726 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6732 * ToolbarDefaults.C:
6741 * BufferView_pimpl.C: use new file dialog in GUII
6744 * lyx_cb.C: remove LayoutsCB to Toolbar
6746 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6748 * ShareContainer.h (get): add std:: qualifier
6750 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * ShareContainer.h: define a proper ShareContainer::value_type
6753 type (and use typename to please compaq cxx)
6755 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6757 * lyxparagraph.h: move serveral local vars to
6758 ParameterStruct/ParagraphParameters., use ShareContainer in
6759 FontTable., make vars in FontTable private and add getter and
6762 * paragraph.C: changes because of the above.
6764 * lyxfont.h: remove copy constructor and copy assignment. (the
6765 default ones is ok), move number inside FontBits. move inlines to
6768 * lyxfont.C: add number to initializaton of statics, move several
6769 inlines here. constify several local vars. some whitespace
6770 cleanup. Dont hide outerscope variables.
6772 * Spacing.h: add two new constructors to match the set methods.
6774 * ShareContainer.h: new file, will perhaps be moved to support
6776 * ParameterStruct.h: new file
6778 * ParagraphParameters.h: new file
6780 * ParagraphParameters.C: new file
6782 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
6783 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
6785 * BufferView_pimpl.C: ParagraphParameter changes.
6786 * buffer.C: Likewise.
6787 * bufferview_funcs.C: Likewise.
6789 * text2.C: Likewise.
6791 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6793 * lyxfind.C (LyXReplace): do not redefine default argument in
6795 (IsStringInText): ditto
6796 (SearchForward): ditto
6797 (SearchBackward): ditto
6799 2001-03-06 Juergen Vigna <jug@sad.it>
6801 * lyxfind.C (IsStringInText): put parentes around expressions.
6803 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
6805 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
6807 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
6809 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
6811 * stl_string_fwd.h: add comment
6813 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
6816 * tabular.C: remove unused DocBook methods
6822 killed DO_USE_DEFAULT_LANGUAGE
6824 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6826 * lyx_gui.C: do not include language.h.
6828 * bufferview_funcs.C (ToggleAndShow): do not provide optional
6829 arguments in function implementation.
6831 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6833 * BufferView_pimpl.C: add <ctime>
6835 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6837 * BufferView_pimpl.C: add using std::find_if
6839 2001-02-27 José Matos <jamatos@fep.up.pt>
6841 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
6844 2001-02-11 José Matos <jamatos@fep.up.pt>
6846 * buffer.C (makeDocBookFile): command styles now have a parameter as
6849 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
6851 * layout_forms.[Ch]: removed
6852 * lyx_cb.[Ch]: out character
6853 * lyx_gui.C: out character
6854 * lyx_gui_misc.C: out character
6855 * bufferview_funcs.C: : out character,
6856 added toggleall as parameter in ToggleAndShow
6858 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
6860 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
6862 * text2.C (SetCurrentFont): Disable number property at boundary.
6864 2001-02-26 Juergen Vigna <jug@sad.it>
6866 * lyxfunc.C (getStatus): added a string argument override function so
6867 that this is correctly called from LyXFunc::Dispatch if it contains a
6868 do_not_use_argument which is used!
6869 (Dispatch): added check for "custom" export and call appropriate func.
6871 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
6873 * lyxrc.C: Add language_command_local, language_use_babel and
6874 language_global_options.
6876 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
6878 * buffer.C (makeLaTeXFile): Use language_use_babel and
6879 language_global_options.
6881 2001-02-23 Juergen Vigna <jug@sad.it>
6883 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
6884 which works with LyXText and putted it inside BufferView. Here now we
6885 only call for that part the BufferView::Dispatch() function.
6887 * BufferView.C (Dispatch): added.
6889 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
6890 functions which needs to use a LyXText over from LyXFunc.
6891 (MenuInsertLyXFile): added
6892 (getInsetByCode): added
6893 (moveCursorUpdate): added
6894 (static TEXT): added
6896 2001-02-22 Juergen Vigna <jug@sad.it>
6898 * BufferView_pimpl.C (update): call a status update to see if LyXText
6901 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6903 * vc-backend.C (revert): implement for CVS
6904 (getLog): implement for CVS
6906 2001-02-20 Juergen Vigna <jug@sad.it>
6908 * text2.C (ClearSelection): added BufferView param for inset_owner call
6910 * lyxfunc.C (TEXT): added this function and use it instead of
6911 directly owner->view()-text of getLyXText().
6913 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
6915 * src/layout_forms.C: out preamble
6916 * src/layout_forms.h: out preamble
6917 * src/lyx_cb.C: out preamble
6918 * src/lyx_cb.h: out preamble
6919 * src/lyx_gui.C: out preamble
6920 * src/lyx_gui_misc.C: out preamble
6921 * src/lyxfunc.C: connect with guii preamble
6923 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6925 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
6927 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
6929 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
6930 whether to run bibtex.
6932 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
6934 * Makefile.am (lyx_SOURCES): Remove BackStack.h
6936 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6938 * Makefile.am (lyx_SOURCES): removed bibforms.h
6942 * text.C (GetVisibleRow): make several local vars const
6944 * tabular.C: small cleanup.
6946 * lyxserver.C (callback): use compare instead of strncmp
6948 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
6949 inlines to after class or to paragraph.C
6951 * lyxfont.h: remove friend operator!=
6953 * converter.h: move friend bool operator< to non friend and after
6956 * combox.h: small cleanup
6958 * buffer.h: doxygen, remove unused constructor, move inclas inlies
6959 to inlines after class def.
6961 * buffer.C (pop_tag): use string operations instead of strcmp
6963 * bmtable.c: doxygen, small cleanup
6965 * LaTeX.h: remove friend operator==
6967 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6979 * BufferView_pimpl.C:
6980 * BufferView.[Ch]: remove cruft
6982 2001-02-14 Juergen Vigna <jug@sad.it>
6984 * lyxfunc.C: removed #if 0 unused code
6986 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
6988 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
6990 * text2.C (SetSelection): added a BufferView * parameter
6992 2001-02-13 Juergen Vigna <jug@sad.it>
6994 * lyxfunc.C (Dispatch): fixed protected blank problem.
6995 * BufferView2.C (protectedBlank): added LyxText * parameter.
6997 * tabular.C (AppendRow): forgot to set row_info of newly added row.
6998 (AppendColumn): same as above for column_info.
7000 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7001 (moveCursorUpdate): use a LyXText param for support of InsetText.
7003 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7004 (tripleClick): ditto
7006 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7008 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7010 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7012 * text2.C (SetSelection): set correct update status if inset_owner
7015 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7017 * tabular.C: remove some commented code.
7019 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7021 * BufferView_pimpl.C: call hideSplash()
7023 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7026 * bibforms.h: remove
7029 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7030 add LFUN_CHILD_CREATE
7032 * counters.h: fix tiny typo
7037 * lyx.C: move splash to frontends/xforms/
7039 * lyx_gui_misc.C: move Include and Bibform to frontends
7041 * lyxvc.h: clarify comment
7043 * vspace.C: tiny housekeeping
7045 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7047 * text.C (PrepareToPrint): RTL Fix.
7049 * paragraph.C (GetUChar): New method.
7050 (String): Use GetUChar.
7052 * buffer.C (asciiParagraph): Use GetUChar.
7054 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7056 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7058 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7061 * buffer.C: rename to getLogName(), handle
7062 build log / latex log nicely
7064 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7067 * MenuBackend.h: remove support for reference menuitem type.
7069 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7071 * BufferView_pimpl.C: housekeeping
7072 * BufferView_pimpl.h:
7077 * minibuffer.h: move Timeout GUI-I
7079 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7081 * lyxrc.C (read): Update converters data-structures.
7083 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7085 * LaTeX.h (operator!=): add operator != for Aux_Info
7087 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7089 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7091 * LaTeXLog.C: deleted, useful code moved to Buffer
7094 * buffer.C: new function getLatexLogName()
7100 * lyxfunc.C: use frontends for LaTeX and VC logs
7102 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * LaTeX.h: yet another std:: that Allan forgot.
7106 * Variables.C (set): renamed from isset(), because this clashes
7107 with some HP-UX macros (grr).
7109 2001-02-06 Allan Rae <rae@lyx.org>
7111 * LaTeX.h: Another bug fix. Missing std:: this time.
7113 2001-02-04 Allan Rae <rae@lyx.org>
7115 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7116 floats problem. I've left it commented out because it's not quite
7117 correct. It should also test that the current object is a table or
7118 figure inset. But I haven't gotten around to figuring out how to do
7119 that. I *think* it'll be something like: "table" == inset.type()
7121 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7124 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
7126 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7127 all the citation/databases/styles in the auxilary file.
7128 (run): Rerun latex if there was a babel language error.
7130 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
7132 * text.C (Backspace): Preserve the font when changing newline char
7134 (BreakParagraph): If the cursor is before a space, delete the space.
7136 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7138 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7140 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7141 new argument (code).
7142 (ChangeCitationsIfUnique): New method.
7144 * paragraph.C (GetPositionOfInset): Handle bibkey.
7146 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7148 * BufferView_pimpl.h: change type of Position::par_pos to
7149 LyXParagraph::size_type.
7151 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7153 * BufferView_pimpl.C (savePosition, restorePosition): Write
7154 messages to minibuffer.
7156 2001-01-28 José Matos <jamatos@fep.up.pt>
7158 * buffer.C (makeDocBookFile): adds support for document language.
7159 A silly restriction on the name of LatexCommand types where removed.
7160 Added support for CDATA sections, allows to chars unescaped, used
7161 among others in code, to avoid escape < and >.
7163 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7165 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7166 saved positions instrad of a stack. Furthermore, a position is
7167 stored using paragraph id/paragraph position.
7169 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7170 Remove LFUN_REF_BACK.
7172 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7174 * converter.C (dvipdfm_options): New method.
7176 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7178 * vspace.C (isValidLength): Fix for empty input string.
7180 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * LyXAction.C (init): change description of LFUN_FIGURE to
7185 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7187 * LaTeX.C: add using directive
7189 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7191 * MenuBackend.C (expand): Fix the sorting of the formats.
7193 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7195 * lyx_main.C: tiny error message fix
7197 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7199 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7200 calling fl_initialize(). This fixes the problem with ',' as
7201 decimal separator in text files.
7203 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7205 * trans.C (process): Fix the keymap bug.
7207 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
7209 * LaTeX.C (scanAuxFiles): New method. Provides support for
7210 multiple bibliographies (when using the bibtopic/bibunits pacakges).
7211 (scanLogFile) Scan for "run BibTeX" messages.
7213 * buffer.C (makeLaTeXFile): Do not load the ae package when using
7214 OT1 font encoding. Also, load the aecompl package if the ae
7217 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7219 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7221 * texrow.C (increasePos): turn two error messages into debug
7224 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
7226 * LaTeX.C (scanAux): Handle the \@input macro.
7227 (runBibTeX): Use scanAux().
7229 * language.C (latex_options_): New field.
7231 * LaTeXFeatures.C (getMacros): Add language macros.
7233 * buffer.C (makeLaTeXFile): Small fix.
7235 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7237 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7239 * text2.C: add a using directive.
7241 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
7246 * lyxfunc.C: kill LyXBell.
7248 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
7250 * text.C (IsBoundary): Remove the error message
7252 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
7254 * lyxrc.C (setDefaults): Correct initialization value for
7257 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
7259 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
7262 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
7265 * src/LyXAction.C: Added reference-next.
7267 * text.C (InsertChar): Use contains instead of strchr.
7269 * lyx_cb.C (MenuInsertLabel): Enable default value code.
7271 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
7273 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
7274 alignment commands (when needed).
7276 * text.C (InsertChar): Add ':' to number separator chars.