1 2001-07-06 Juergen Vigna <jug@sad.it>
3 * a lot of files: changed the access to LyXText::status and the
4 call of undo-functions.
6 * undo.[Ch]: added a inset_id to the undo informations.
8 * undo_funcs.[Ch]: added and moved here all undo functions.
10 * lyxtext.h: give the status enum a weight, made status_ a private
11 variable and made accessor functions for it, removed the whole bunch
12 of undo-functions as they are now in their own file, make some
13 functions publically available. Added function ownerParagraph with
16 * paragraph.[Ch]: added "bool same_ids" to the constructor,
17 made InInset() a const function, added getParFromID() function.
19 * buffer.[Ch]: added const version for inset_iterator functions,
20 added getInsetFromID() function.
22 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
23 changed undo functions for new version.
25 2001-07-05 Juergen Vigna <jug@sad.it>
27 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
28 unknow mechanism does not call the proper consturctor but only this
29 one also if I request the other!?
31 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
35 * text2.C (LyXText): use initialization lists.
37 * lyxtext.h (Selection): initialize set_ and mark_
40 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
42 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
44 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * screen.[Ch]: change method names to begin with lowercase
48 * BufferView_pimpl.C (updateScrollbar): simplify further and
49 hopefully make it a bit faster.
51 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
54 calling directly xforms functions.
56 * Painter.C (Painter):
57 * lyx_cb.C (MenuWrite):
58 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
61 * lyx_gui.C: remove bogus guiruntime extern declaration.
63 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
67 (redoDrawingOfParagraph): ditto
68 (redoParagraphs): ditto
69 (cutSelection): don't create a object for CutAndPaste use the
70 static method directly
71 (pasteSelection): ditto
73 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
76 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * modifications to some other files because of this.
80 * Makefile.am (lyx_SOURCES): add XFormsView
82 * XFormsView.[Ch]: new files
84 * LyXView.[Ch]: make LyXView a base class for the gui handling for
85 the main window. Move the gui dependent stuff to XFormsView
87 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
89 * tabular.C (GetCellInset): update cur_cell also in the row/col
90 version of this function.
92 * lyxfunc.C: no need to include figure_form.h here.
98 * lyxvc.C: no need to include forms.h here.
100 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
102 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
104 * lyxfunc.C (Dispatch):
106 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
107 constructor argument.
109 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
111 * paragraph.C (Paragraph): dont't clear, and just set layout.
112 (makeSameLayout): use params's copy contructor.
114 * ParagraphParameters.[Ch] (makeSame): delete method
116 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
118 * Variables.[Ch]: fix indentation, rename set to isSet
120 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * lyxfunc.C (Dispatch): fix typo
124 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
126 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
129 * bufferlist.C: include assert.h for emergencyWrite().
131 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
133 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
134 give up at last (bug #425202) !
136 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
142 * spellchecker.C: strip spellchecker options and bring up
143 preferences tab instead
145 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
147 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
148 the istringstream constructor
150 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
152 * paragraph.C (getLayout): fix return value
154 * paragraph.h: do not declare getLayout as inline.
156 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
158 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
160 * lyxcursor.h (operator<): new func
161 (operator>): new func
162 (operator>=): new func
163 (operator<=): new func
165 * text.C (changeCase): use selection.start and selection.end
166 (changeRegionCase): require from to be <= to. Require par to be a
169 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
171 2001-06-27 Juergen Vigna <jug@sad.it>
173 * text.C (cursorLeftOneWord): changed to return the cursor and added
174 overlay with BufferView * parameter which calls this one.
176 (selectWord): use new getWord function.
177 (changeCase): renamed from changeWordCase as and extended to work
180 * lyxtext.h: added enum word_location
182 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
183 changeCase as this operates now also on selections.
185 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
187 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
189 * many files: send debug output to Debug::INFO instead of
192 * converter.C (View):
194 (Move): send debug output to Debug::FILES instead of console.
196 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
198 * lyxfunc.C (getStatus): use func_status
200 * func_status.h: new header, describing the results of
203 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
206 2001-06-25 The LyX Project <jug@sad.it>
208 * buffer.C (sgmlOpenTag):
210 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
212 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
214 * text2.C: remove some dead code
216 * tabular.C (GetCellInset): store the last cell checked (gotten)
218 * tabular.h: add the helper for the speedup
220 * lyxtext.h: remove some dead code
222 2001-06-26 The LyX Project <Asger>
224 * paragraph.C: Change export to LaTeX of alignment to
225 \begin{center} and family for better roundtrip work with reLyX.
227 * Tune the math drawing a bit.
229 2001-06-25 The LyX Project <Asger>
231 * LColor.C (LColor): New color for math background. New color
234 2001-06-25 The LyX Project <jug@sad.it>
236 * lyxfunc.C (MenuNew): remove extra check for .lyx file
239 * bufferlist.C (newFile): do not restrict to files ending with
242 * BufferView_pimpl.C (MenuInsertLyXFile):
244 2001-06-24 The LyX Project <jug@sad.it>
246 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
249 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * lyxtext.h: rename most methods to begin with a small char.
252 Lots of changes because of this.
254 * paragraph.C (Paragraph): do not call fitToSize
255 (erase): call Pimpl::erase
256 (insertChar): call Pimpl::insertChar
257 (insertInset): call Pipl::insertInset
258 (breakParagraph): do not call fitToSize
259 (breakParagraphConservative): do not call fitToSize
260 (fitToSize): remove method
262 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
264 2001-06-24 The LyX Project <Asger>
266 * Fix Qt compilation^2
268 2001-06-24 The LyX Project <jug@sad.it>
270 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
271 depthHook(getDepth()-1).
274 * ParagraphParameters.h:
275 * ParameterStruct.h: change type of depth to unsigned int ==
276 depth_type. Many adaptations to other files before of that.
278 2001-06-24 The LyX Project <Asger>
280 * Fix Qt compilation.
282 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
284 * paragraph.h: renamed several methods to begin with small letter.
285 several changes to many parts of the code because of this.
287 2001-06-23 The LyX Project <jug@sad.it>
289 * text2.C (InsertStringAsLines): renamed from InsertStringA;
290 rewritten to discard all double spaces when KeepEmpty is off
291 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
292 to only handle newlines but not fiddle with spaces and friends.
294 * lyxfunc.C (MenuNew): when doing 'new from template', use
295 template_path as default directory
297 2001-06-23 The LyX Project <Asger>
299 * Clean-up of header file includes all over
300 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
302 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
304 * paragraph.h: renamed from lyxparagraph.h
306 2001-06-23 Asger <lyx@violet.home.sad.it>
308 * Buffer.h: Removed Buffer::resize
309 * BufferList.h: Removed BufferList::resize
310 * LyXView.h: Added LyXView::resize. This way, we will only reflow
311 the document lazily when we change the width, or the font settings.
313 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
315 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
317 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
319 * buffer.h: remove out of date comment
321 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
324 * screen.C: fix "theoretical" GC leak
326 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
328 * LaTeX.C (scanAuxFile):
329 (deplog): remove trailing \r when reading stream (useful under
332 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
334 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
335 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
336 and BufferView::theLockingInset(Inset*), so should use them and not
337 access bv_->text->the_locking_inset directly.
339 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
341 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
344 * tex-defs.h: remove old unused file
346 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
348 * BufferView_pimpl.C: fix typo, remove minibuffer message
349 when buffer has loaded
351 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
353 * lyxfunc.C (Dispatch): use stringstream
354 (MenuNew): use stringstream
355 (Open): use stringstream
357 * importer.C (Import): use stringstream
359 * bufferview_funcs.C (CurrentState): use stringstream
361 * LaTeX.C (run): use stringstream
363 * BufferView_pimpl.C (savePosition): use stringstream
364 (restorePosition): use stringstream
365 (MenuInsertLyXFile): use stringstream
367 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
380 * vspace.C: removed // -*- C++ -*- as first line.
383 * version.h: added // -*- C++ -*- as first line.
385 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
389 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
392 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
394 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
397 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * gettext.C: include LString.h even when --disable-nls is on.
401 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
403 * converter.h (Get): changed argument type from int to
404 FormatList::size_type to avoid unnecessary conversion.
406 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
409 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * gettext.h: include LString.h even when --disable-nls is on.
413 2001-06-07 Juergen Vigna <jug@sad.it>
415 * text.C (BreakAgain): subst spaces with tabs.
417 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
418 (resizeInsetsLyXText): set force on resizeLyXText.
420 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
422 * gettext.h (gettext_init):
423 (locale_init): use a real definition instead of a macro
425 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
427 * Bufferview_pimpl.C:
429 * LColor.C: further lcolor tidies
431 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
433 * BufferView_pimpl.C (updateScrollbar): simplify.
435 * BufferView2.C: don't include insets/insetinfo.h, change
436 prototype for insertInset and call the Pimpl version. let
437 updateInset call Pimpl version.
439 * BufferView.h: move inset_slept to BufferView::Pimpl, move
440 gotoInset to BufferView::Pimpl
442 2001-06-01 Juergen Vigna <jug@sad.it>
444 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
445 inside a LockingInset (is the update needed at all?).
447 2001-05-31 Juergen Vigna <jug@sad.it>
449 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
450 here not the old one otherwise how should we compare it afterwards
453 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
458 * FontInfo.C: bring C functions into global namespace when
461 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
463 * LString.h: make sure config.h has been loaded before LString.h.
465 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
466 (one for each char read by EatLine!).
468 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
471 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
473 * paragraph.C (BreakParagraph): set the inset_owner in the new par
474 to the same as the par we break from
476 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
478 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
480 * MenuBackend.C (expand): also create menu entries for wide
481 versions of the floats.
483 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
485 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
487 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
488 frontends/Makefile.am
494 * tabular.C (getTokenValue): add std::
496 * tabular-old.C (getTokenValue): add std::
497 (getTokenValue): ditto
498 (getTokenValue): ditto
500 * screen.C (ToggleSelection): adjust
502 * lyxtext.h: put selection cursors inside a Selection struct.
504 * lyxfunc.C (moveCursorUpdate): adjust
506 * lyxfont.C (latexWriteStartChanges): add std::
510 * font.h: delete with(char const *, LyXFont const &)
512 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
514 * FontInfo.C (getFontname): add std::
516 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
517 (workAreaButtonPress): adjust
518 (tripleClick): adjust
520 (moveCursorUpdate): adjust
523 * BufferView2.C (gotoInset): adjust
525 2001-05-30 Juergen Vigna <jug@sad.it>
527 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
528 to check pspell I add this as default as I now have new pspell
529 libraries and they seem to use this.
531 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
533 * text2.C (CutSelection): make the cursor valid before the call to
536 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
538 * kbsequence.C (parse): de-uglify a bit the parsing code, which
539 relied on 0 terminated strings and other horrors. Bug found due to
540 the new assert in lyxstring!
542 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
545 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
547 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
550 * lyxfunc.C (processKeySym): change method of getting to the
553 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
554 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
555 * BufferView_pimpl.[Ch]: here as private methods.
557 2001-05-28 Juergen Vigna <jug@sad.it>
559 * text.C (SetHeightOfRow): added the update() call again as it is
560 needed to initialize inset dimensions!
562 2001-05-16 Juergen Vigna <jug@sad.it>
564 * text2.C (SetCharFont): Add new function with BufferView * and
565 bool toggleall parameters for setting insets internal fonts.
566 (SetFont): Freeze the undo as we may change fonts in Insets and
567 all this change should be inside only one Undo!
569 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
570 setting font's in insets as for them we have the SetFont function!
572 2001-05-15 Juergen Vigna <jug@sad.it>
574 * text2.C (ClearSelection): to be sure we REALLY don't have any
577 * tabular.C (TeXCellPreamble): fixed the left border problem for
580 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
582 * LaTeX.C (deplog): Make sure that the main .tex file is in the
585 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
590 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
591 help test to "internal only", similar for LFUN_INSERT_URL
593 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
594 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
595 auto_region_delete and deadkeys.
597 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
600 * LColor.C: remove some dead entries, tidy a little
602 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
604 * lyxfunc.C (processKeySym): comment the Escape handling, remove
606 (Dispatch): implement LFUN_ESCAPE
608 * commandtags.h: add LFUN_ESCAPE
610 * LyXAction.C (init): add entry for LFUN_ESCAPE
612 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
613 Remove commented code.
614 (insertNote): moved here
615 (open_new_inset): moved here
617 * BufferView[2].[Ch]: move insertNote and open_new_inset to
620 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
622 * kbmap.C (findbinding): clean it up and make it work correctly.
624 * lyx_main.C (init): do not pass argc and argv as parameters
626 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
628 * buffer.C: fix path for OS/2 & Win32
632 * lyx_main.C: Added os:: class.
634 * os2_defines.h: update
636 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
638 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
639 better by trying again with reduced state.
641 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
643 * lyxrc.C (read): print error about invalid key sequence only when
644 debugging (because not all latinX keysyms are known to some X
647 * kbsequence.C (getiso): add a few std:: qualifiers
648 (getiso): comment out extra return statement.
650 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
652 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
654 (Dispatch): enhance the accent inset a bit. (not perfect)
656 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
658 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
660 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * bufferlist.C (emergencyWrite): fix assert() call
664 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
666 * text.C (InsertChar): Added trivial patch to only send the "you
667 can not do multiple spaces this way" message once during a
670 2001-05-08 Baruch Even <baruch@lyx.org>
672 * Makefile.am: Changed order of libraries to get LyX to link properly
673 with the gnome frontend.
675 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
677 * LaTeXFeatures.h: add a std:: qualifier
679 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
681 * paragraph.C (String): use stringstream
683 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * paragraph.C (writeFile): remove footflag arg
687 * buffer.C (makeLaTeXFile): use stringstream
688 (latexParagraphs): remove footnot gurba
690 * LaTeXFeatures.C (getPackages): use stringstream
691 (getMacros): likewise
692 (getTClassPreamble): likewise
693 (getFloatDefinitions): new method
695 * paragraph.C (writeFile): reindent
698 * WorkArea.h: revert the xpos + etc changes.
700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
702 * lyxparagraph.[Ch]: add copy constructor, remove Clone
704 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
705 (pasteSelection): likewise
706 * text2.C (CreateUndo): likewise
708 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
710 * minibuffer.C (peek_event): temporarily reduce the functionality
711 of the minibuffer (to allow args on lfuns)
713 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
714 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
716 * buffer.C (readInset): add compability reading of old float
717 lists, add reading of new style float list.
718 (readInset): avoid reevaluation of inscmd.getCmdName()
721 * MenuBackend.C (MenuItem): implement parsing of
722 md_floatlistinsert and md_floatinsert.
723 (expand::LastFiles): move initalizaton of iterators out of loop,
725 (expand::Documents): introduce typdedef vector<string> Strings,
727 (expand::ExportFormats): introduce typedef vector<Format const *>
729 (expand): implement FloatListInsert and FloatInsert.
731 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
732 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
733 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
735 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
737 (Dispatch::LFUN_FLOAT_LIST): implement
739 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
741 * LaTeX.C (run): Fix problem with --export code.
743 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
745 * BufferView.[Ch] (workarea): removed.
746 (getClipboard) new method; wrapper for workarea()->getClipboard()
748 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
751 * WorkArea.h (width, height, xpos, ypos): These methods all
752 returned the dimensions of the work_area sub-area of WorkArea,
753 resulting in a position error if the WorkArea were resized. Now
754 return the dimensions of the entire WorkArea.
756 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
758 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
760 * LaTeX.C (deplog): correct the syntax of regex reg1
762 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
764 * undo.C: remove !NEW_INSETS cruft
766 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
768 * text2.C: remove !NEW_INSETS cruft
770 * text.C: remove !NEW_INSETS cruft
772 * tabular.C: remove !NEW_INSETS cruft
774 * spellchecker.C: remove !NEW_INSETS cruft
776 * lyxtext.h: remove !NEW_INSETS cruft
778 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
780 * lyxfunc.C: remove !NEW_INSETS cruft
782 * lyxfind.C: remove !NEW_INSETS cruft
784 * lyx_cb.C: remove !NEW_INSETS cruft
786 * figureForm.C: remove !NEW_INSETS cruft
788 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
790 * buffer.[Ch]: remove !NEW_INSETS cruft
792 * ToolbarDefaults.C: remove !NEW_INSETS cruft
794 * CutAndPaste.C: remove !NEW_INSETS cruft
796 * BufferView_pimpl.C: remove !NEW_INSETS cruft
798 * BufferView2.C: remove !NEW_INSETS cruft
800 * BufferView.h: remove !NEW_INSETS cruft
802 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
804 * Lsstream.h: include LString.h before the sstream headers to
805 fix problem with gcc 2.95.3 and lyxstring
807 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
809 * lyx_main.C: add using directives when needed for C functions
810 declared in std:: namespace.
812 2001-04-27 Juergen Vigna <jug@sad.it>
814 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
815 (SetHeightOfRow): comment out the update call should not be needed!
817 2001-04-13 Juergen Vigna <jug@sad.it>
819 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
820 (LyXTabular): tried to minimize operator= operations (and realized
823 2001-04-27 Juergen Vigna <jug@sad.it>
825 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
827 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
829 * lyxfunc.C (Dispatch): hack to make listof algorithm work
831 * buffer.C (readInset): hack to make listof algorithm work
833 * BufferView_pimpl.C: hack to make listof algorithm work
835 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
837 * LyXAction.C: removed all !NEW_INSETS cruft
838 (init): moved lfun_item in method
840 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
842 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
844 * BufferView2.C (theLockingInset): white space.
846 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
848 * minibuffer.C: include <iostream>
850 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
852 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
854 * commandtags.h: add LFUN_TRANSPOSE_CHARS
856 * text.[Ch] (TransposeChars): new method
858 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
860 * call message directly through LyXView instead of through LyXFunc
861 * BufferView2.C: adjust
862 * BufferView_pimpl.C: adjust
863 * FontLoader.C: adjust
865 * bufferview_funcs.C: adjust
866 * converter.C: adjust
867 * figureForm.C: adjust
870 * lyx_gui_misc.C: adjust
874 + more files in subdirs
876 * lyxparagraph.h (size): move up int file
879 * adjust all uses of Assert to lyx::Assert.
881 * BufferView2.C (ChangeCitationsIfUnique): adjust for
882 lyxfunctional in namespace lyx
883 * layout.C (hasLayout): ditto
886 (delete_layout): ditto
887 (NumberOfClass): ditto
888 * converter.C (GetFormat): ditto
893 * bufferlist.C (getFileNames): ditto
894 (emergencyWriteAll): ditto
897 * MenuBackend.C (hasSubmenu): ditto
900 * BufferView_pimpl.C (getInsetByCode): ditto
902 2001-04-18 Juergen Vigna <jug@sad.it>
904 * vspace.C (asLatexString): fixed the 100% problem.
906 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
908 * lyxfunc.C (Dispatch):
910 * minibuffer.h: add a few std:: qualifiers
912 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
914 * minibuffer.[Ch]: reimplement so that commands is initiated and
915 run from lyxfunc, simplified som handling, and made the completion
916 and history code for complete. wip.
918 * lyxfunc.C (processKeySym): call message
919 (miniDispatch): new temporary method
920 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
921 (LFUN_MESSAGE): implement
922 (LFUN_MESSAGE_PUSH): implement
923 (LFUN_MESSAGE_POP): implement
924 (initMiniBuffer): the initial/defualt minibuffer message.
926 * lyxfont.[Ch]: inline some more getters
928 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
930 * lyx_gui_misc.[Ch] (WriteStatus): remove method
932 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
933 (AutoSave): use LFUN_MESSAGE
936 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
938 * figureForm.C: use LFUN_MESSAGE
940 * converter.C (runLaTeX): use LFUN_MESSAGE
942 * bufferview_funcs.C: use LFUN_MESSAGE
946 * bufferparams.h: use boost::
948 * bufferlist.h: inherit privately from noncopyable
950 * bufferlist.C (loadLyXFile): remove some commented code.
952 * buffer.C (runChktex): use LFUN_MESSAGE
954 * ShareContainer.h: inherit privately from noncopyable
956 * ParagraphParameters.[hC] (depth): inline it.
958 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
960 (message): new method
963 (show): init minibuffer
964 (showState): direct call
966 * LaTeX.[Ch]: inherit privately from noncopyable
967 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
968 instead of WriteStatus.
970 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
972 * BufferView_pimpl.C (buffer): don't init minibuffer
973 (workAreaButtonPress): use LFUN_MESSAGE
974 (workAreaButtonRelease): ditto
975 (savePosition): ditto
976 (restorePosition): ditto
977 (MenuInsertLyXFile): ditto
978 (workAreaExpose): don't init minibuffer
979 (update): remove commented code, simplify
981 * BufferView2.C (openStuff): use LFUN_MESSAGE
985 (copyEnvironment): ditto
986 (pasteEnvironment): ditto
991 (updateInset): remove some commented code
993 * lastfiles.h: inherit privately from noncopyable
998 * lyxlex_pimpl.h: ditto
1000 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
1001 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
1002 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1004 * LyXAction.h: inherit privately from noncopyable, add methods
1005 func_begin, func_end, returning iterators to the func map.
1007 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
1008 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
1009 (func_begin): new method
1010 (func_end): new method
1012 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
1014 (copySelection): ditto
1015 (pasteSelection): ditto
1017 * BufferView.C: whitespace change
1018 * BufferView.h: inherit privately from noncopyable
1020 2001-04-16 Allan Rae <rae@lyx.org>
1022 * tabular-old.C (l_getline):
1023 * spellchecker.C (sc_check_word):
1024 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
1025 an unrecognised preprocessor directive. So ensure they're wrapped.
1027 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
1029 * src/exporter.C (Export): Give an error message when path to file
1032 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
1034 * LaTeX.C (deplog): Always check that foundfile exists.
1036 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1039 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
1041 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1043 * tabular.[Ch] (getLabelList): implement new method
1045 * minibuffer.h: comment ouf setTiimer
1047 * minibuffer.C (ExecutingCB): constify res
1048 (peek_event): constify s
1049 (Set): constify ntext
1050 (Init): constify nicename
1052 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
1054 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
1055 (savePosition): use two params to Minibuffer::Set
1056 (restorePosition): ditto
1058 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1060 * lyx_main.C: include language.h
1062 * Makefile.am (lyx_main.o): add language.h
1064 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * CutAndPaste.C: include gettext.h
1072 * lyxfont.h: remove old hack with ON and OFF.
1075 * lyxfont.h: do not include language.h...
1080 * bufferview_funcs.C:
1086 * paragraph.C: ... but do it here instead
1088 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1090 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
1092 * tabular.C: small reformat
1094 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
1097 (BreakParagraph): ditto
1098 (SetOnlyLayout): ditto
1101 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
1104 * lastfiles.C: removed most using decl, add std:: where needed
1106 * buffer.C: ws changes
1108 * MenuBackend.C (class compare_format): put into anon namespace
1109 (expand): constify label, names, action, action2
1112 * text.C (SingleWidth): constify font
1113 (IsBoundary): constify rtl2
1114 (GetVisibleRow): constify ww
1116 * LaTeX.C (deplog): constify logfile
1118 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
1120 (workAreaExpose): constify widthChange, heightChange
1122 * lyxrow.C (par): moved
1125 * lyxrow.h: as inlines here
1127 * lyxfont.h (shape): moved from lyxfont.C
1128 (emph): moved from lyxfont.C
1130 * lyxfont.C (LyXFont): use initialization list for all
1132 (shape): move to lyxfont.h as inline
1133 (emph): move to lyxfont.h as inline
1136 2001-04-04 Juergen Vigna <jug@sad.it>
1138 * vspace.C: had to include stdio.h for use of sscanf
1140 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
1143 * BufferView_pimpl.h: remove xforms cruft. Both classes are
1144 independent of xforms.
1146 2001-04-02 Juergen Vigna <jug@sad.it>
1148 * spellchecker.C: fixed namespace placing!
1150 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
1152 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
1153 the LyXParagraph * is 0.
1155 2001-03-29 Juergen Vigna <jug@sad.it>
1157 * vspace.C: added support for %, c%, p%, l%.
1158 (stringFromUnit): added helper function.
1159 (asLatexString): changed to give right results for the %-values.
1161 * buffer.C: convert the widthp in a width%.
1163 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1165 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1168 * figureForm.[Ch]: stripped the FD_from_figure manipulation
1169 code out of lux_cb.[Ch], ready for its (imminent?) removal.
1171 * lyx_cb.[Ch]: see above.
1173 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1177 * lyx.[Ch]: replaced by figure_form.[Ch].
1181 * lyxfunc.C: changed headers associated with above changes.
1183 2001-03-27 Juergen Vigna <jug@sad.it>
1185 * BufferView_pimpl.C: set the temporary cursor right!
1187 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1189 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1191 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1193 * LString.h: removed "using std::getline"!
1195 * BufferView_pimpl.C (Dispatch): changes due to changes in
1196 InsetInclude::Params.
1198 * buffer.C (tag_name): removed redundant break statements as they were
1199 producing lots of warnings with my compiler.
1201 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1203 * LString.h: add "using std::getline" when using the real <string>.
1205 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1207 * buffer.C: removed bitset usage.
1208 PAR_TAG moved to an anonymous name space.
1209 (tag_name): new funtion, also in the anonymous namespace.
1210 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1211 (makeDocBookFile): clean code. Completed transition from string arrays
1213 (SimpleDocBookOnePar): code clean.
1215 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1217 * tabular.C: add some comments.
1219 2001-03-22 Juergen Vigna <jug@sad.it>
1221 * buffer.C (parseSingleLyXformat2Token): redone the minipage
1222 compatibility read a bit and fixed bug with minipage in different
1225 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
1227 * buffer.C (pop_tag): removed.
1228 (push_tag): removed.
1229 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1230 array replaced with vector. Added support for CDATA sections.
1231 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1233 (makeDocBookFile): XML conformant declaration of CDATA section,
1234 fixed bug related to <emphasis> in the first paragraph char.
1235 (sgmlOpenTag): exclude empty tags.
1236 (sgmlCloseTag): ditto.
1238 * buffer.h (pop_tag): removed.
1239 (push_tag): removed.
1241 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1243 * language.h (Languages): added size_type and size().
1245 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1247 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1248 response on compability reading of minipages. One probliem is that
1249 the old usage of minipages was «flertydig»
1251 * several files here and in subdirs: don't use static at file
1252 scope use anon namespaces instead.
1254 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
1256 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1257 LaTeX output. This is necessary for Literate document
1260 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1262 * buffer.C: insert hfill when needed.
1264 * tabular.C (l_getline): use string::erase, small whitespace change.
1266 * BufferView_pimpl.C: try the anon namespace.
1269 2001-03-16 Juergen Vigna <jug@sad.it>
1271 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1272 otherwise it won't open options-dialogs.
1274 * buffer.C: honor pextraWidth(p) on converting minipages.
1276 * tabular.C (l_getline): changed the functions to strip trailing \r.
1278 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
1280 * BufferView_pimpl.C:
1281 * minibuffer..C: added "using SigC::slot" declaration.
1283 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1285 * lyxlex_pimpl.h: noncopyable is in namespace boost.
1291 * paragraph.C: ditto
1293 * lyxtext.h: NO_PEXTRA
1295 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1297 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1298 * ParameterStruct.h: ditto
1299 * ParagraphParameters.h: ditto
1300 * lyxparagraph.h: ditto
1302 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1304 * buffer.C: add compability for minipage alignment.
1305 (latexParagraphs): remove unwanted pextra check.
1307 * several files: remove CXX_WORKING_NAMESPACES
1309 * buffer.C (pop_tag): tie is in namespace boost
1311 * BufferView.h: noncopyable is in namespace boost
1316 * lastfiles.h: ditto
1317 * bufferlist.h: ditto
1318 * ShareContainer.h: ditto
1320 * LyXAction.h: ditto
1323 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1325 * Merging changes from BRANCH_MVC back into HEAD.
1327 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1329 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
1331 * BufferView_pimpl.C: change from intl.C
1335 * Makefile.am: move combox.*
1341 * intl.C: remove dialog (covered by prefs)
1343 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1345 * lyxfunc.C (Dispatch): removed redundant break statement.
1347 2001-03-14 Juergen Vigna <jug@sad.it>
1349 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1351 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1353 * buffer.C: add hack to fix compability reading of minipages.
1355 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1357 * buffer.C (getLists): Cleanup.
1359 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1361 * lyxfont.C (update): don't honor toggleall on font size.
1363 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1367 * Makefile.am: moved to frontends/xforms/
1371 * BufferView_pimpl.C: changes for moved mathpanel
1373 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1375 * gettext.h: fix gettext_init() in --disable-nls
1377 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1379 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1381 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1384 * lyx.h: strip external form
1386 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1388 * BufferView_pimpl.C: add comment, destroySplash()
1390 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1392 * BufferView_pimpl.C:
1396 * lyxfunc.C: use re-worked insetinclude
1398 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1400 * buffer.C: add using std::stringstream.
1402 * lyx_cb.C: readd using std::ios.
1404 * buffer.C: add using std::map.
1406 * BufferView_pimpl.C: add using std::vector.
1408 * ShareContainer.h: add std:: to swap.
1410 * buffer.h: add some typedefs
1411 * buffer.C (getLists): use them
1412 (getLists): renamed from getTocList.
1413 add a counter for the different float types and use it in the
1415 (getLists): use the same counter for the NEW_INSETS and the "non"
1418 * lyx_cb.h: remove unused items, includes, using etc.
1420 * ShareContainer.h: remove some commented code, add more comments
1421 and "documentation".
1423 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1425 * buffer.C (getTocList): make the list also when NEW_INSETS is
1428 * buffer.h: remove TocType
1430 * buffer.C (getTocList): change to return a map<string,
1431 vector<TocItem> >, implement for dynamic number of list.
1433 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1434 * text2.C (PasteSelection): adjust
1435 * CutAndPaste.C (pasteSelection): adjust
1437 * FloatList.C (FloatList): update from the new_insets branch.
1438 * Floating.[Ch]: ditto
1439 * LaTeXFeatures.C: ditto
1441 * lyxlex_pimpl.C: ditto
1443 * paragraph.C (Last): remove when NEW_INSETS is defined.
1445 * other file: changes because of the above.
1447 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1449 * lyxparagraph.h: rename next to next_, previous to previous_,
1450 make them private for NEW_INSETS. Rename Next() to next(),
1451 Previous() to previous().
1453 * other files: changes because of the above.
1455 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
1458 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1461 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1463 * main.C (main): pass lyx_localedir to gettext_init().
1465 * gettext.h: remove locale_init and gettext_init macros
1467 * gettext.C (locale_init): new function
1468 (gettext_init): new function
1470 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1473 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
1475 * Moved credits to frontends:
1476 * credits.[Ch]: removed
1477 * credits_form.[Ch]: removed
1478 * lyx_gui_misc.C: remove credits stuff
1481 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1483 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1485 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1486 unneeded destructor.
1488 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1489 a standalone pointer again.
1491 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1493 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1499 * ToolbarDefaults.C:
1508 * BufferView_pimpl.C: use new file dialog in GUII
1511 * lyx_cb.C: remove LayoutsCB to Toolbar
1513 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1515 * ShareContainer.h (get): add std:: qualifier
1517 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1519 * ShareContainer.h: define a proper ShareContainer::value_type
1520 type (and use typename to please compaq cxx)
1522 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1524 * lyxparagraph.h: move serveral local vars to
1525 ParameterStruct/ParagraphParameters., use ShareContainer in
1526 FontTable., make vars in FontTable private and add getter and
1529 * paragraph.C: changes because of the above.
1531 * lyxfont.h: remove copy constructor and copy assignment. (the
1532 default ones is ok), move number inside FontBits. move inlines to
1535 * lyxfont.C: add number to initializaton of statics, move several
1536 inlines here. constify several local vars. some whitespace
1537 cleanup. Dont hide outerscope variables.
1539 * Spacing.h: add two new constructors to match the set methods.
1541 * ShareContainer.h: new file, will perhaps be moved to support
1543 * ParameterStruct.h: new file
1545 * ParagraphParameters.h: new file
1547 * ParagraphParameters.C: new file
1549 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1550 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1552 * BufferView_pimpl.C: ParagraphParameter changes.
1553 * buffer.C: Likewise.
1554 * bufferview_funcs.C: Likewise.
1556 * text2.C: Likewise.
1558 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1560 * lyxfind.C (LyXReplace): do not redefine default argument in
1562 (IsStringInText): ditto
1563 (SearchForward): ditto
1564 (SearchBackward): ditto
1566 2001-03-06 Juergen Vigna <jug@sad.it>
1568 * lyxfind.C (IsStringInText): put parentes around expressions.
1570 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
1572 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1574 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1576 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1578 * stl_string_fwd.h: add comment
1580 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1583 * tabular.C: remove unused DocBook methods
1589 killed DO_USE_DEFAULT_LANGUAGE
1591 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1593 * lyx_gui.C: do not include language.h.
1595 * bufferview_funcs.C (ToggleAndShow): do not provide optional
1596 arguments in function implementation.
1598 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1600 * BufferView_pimpl.C: add <ctime>
1602 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1604 * BufferView_pimpl.C: add using std::find_if
1606 2001-02-27 José Matos <jamatos@fep.up.pt>
1608 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1611 2001-02-11 José Matos <jamatos@fep.up.pt>
1613 * buffer.C (makeDocBookFile): command styles now have a parameter as
1616 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1618 * layout_forms.[Ch]: removed
1619 * lyx_cb.[Ch]: out character
1620 * lyx_gui.C: out character
1621 * lyx_gui_misc.C: out character
1622 * bufferview_funcs.C: : out character,
1623 added toggleall as parameter in ToggleAndShow
1625 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1627 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1629 * text2.C (SetCurrentFont): Disable number property at boundary.
1631 2001-02-26 Juergen Vigna <jug@sad.it>
1633 * lyxfunc.C (getStatus): added a string argument override function so
1634 that this is correctly called from LyXFunc::Dispatch if it contains a
1635 do_not_use_argument which is used!
1636 (Dispatch): added check for "custom" export and call appropriate func.
1638 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1640 * lyxrc.C: Add language_command_local, language_use_babel and
1641 language_global_options.
1643 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1645 * buffer.C (makeLaTeXFile): Use language_use_babel and
1646 language_global_options.
1648 2001-02-23 Juergen Vigna <jug@sad.it>
1650 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1651 which works with LyXText and putted it inside BufferView. Here now we
1652 only call for that part the BufferView::Dispatch() function.
1654 * BufferView.C (Dispatch): added.
1656 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1657 functions which needs to use a LyXText over from LyXFunc.
1658 (MenuInsertLyXFile): added
1659 (getInsetByCode): added
1660 (moveCursorUpdate): added
1661 (static TEXT): added
1663 2001-02-22 Juergen Vigna <jug@sad.it>
1665 * BufferView_pimpl.C (update): call a status update to see if LyXText
1668 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1670 * vc-backend.C (revert): implement for CVS
1671 (getLog): implement for CVS
1673 2001-02-20 Juergen Vigna <jug@sad.it>
1675 * text2.C (ClearSelection): added BufferView param for inset_owner call
1677 * lyxfunc.C (TEXT): added this function and use it instead of
1678 directly owner->view()-text of getLyXText().
1680 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1682 * src/layout_forms.C: out preamble
1683 * src/layout_forms.h: out preamble
1684 * src/lyx_cb.C: out preamble
1685 * src/lyx_cb.h: out preamble
1686 * src/lyx_gui.C: out preamble
1687 * src/lyx_gui_misc.C: out preamble
1688 * src/lyxfunc.C: connect with guii preamble
1690 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1692 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1694 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1696 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1697 whether to run bibtex.
1699 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1701 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1703 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1705 * Makefile.am (lyx_SOURCES): removed bibforms.h
1709 * text.C (GetVisibleRow): make several local vars const
1711 * tabular.C: small cleanup.
1713 * lyxserver.C (callback): use compare instead of strncmp
1715 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1716 inlines to after class or to paragraph.C
1718 * lyxfont.h: remove friend operator!=
1720 * converter.h: move friend bool operator< to non friend and after
1723 * combox.h: small cleanup
1725 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1726 to inlines after class def.
1728 * buffer.C (pop_tag): use string operations instead of strcmp
1730 * bmtable.c: doxygen, small cleanup
1732 * LaTeX.h: remove friend operator==
1734 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1746 * BufferView_pimpl.C:
1747 * BufferView.[Ch]: remove cruft
1749 2001-02-14 Juergen Vigna <jug@sad.it>
1751 * lyxfunc.C: removed #if 0 unused code
1753 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1755 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1757 * text2.C (SetSelection): added a BufferView * parameter
1759 2001-02-13 Juergen Vigna <jug@sad.it>
1761 * lyxfunc.C (Dispatch): fixed protected blank problem.
1762 * BufferView2.C (protectedBlank): added LyxText * parameter.
1764 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1765 (AppendColumn): same as above for column_info.
1767 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1768 (moveCursorUpdate): use a LyXText param for support of InsetText.
1770 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1771 (tripleClick): ditto
1773 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1775 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1777 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1779 * text2.C (SetSelection): set correct update status if inset_owner
1782 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1784 * tabular.C: remove some commented code.
1786 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1788 * BufferView_pimpl.C: call hideSplash()
1790 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1793 * bibforms.h: remove
1796 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1797 add LFUN_CHILD_CREATE
1799 * counters.h: fix tiny typo
1804 * lyx.C: move splash to frontends/xforms/
1806 * lyx_gui_misc.C: move Include and Bibform to frontends
1808 * lyxvc.h: clarify comment
1810 * vspace.C: tiny housekeeping
1812 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1814 * text.C (PrepareToPrint): RTL Fix.
1816 * paragraph.C (GetUChar): New method.
1817 (String): Use GetUChar.
1819 * buffer.C (asciiParagraph): Use GetUChar.
1821 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1823 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1825 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1828 * buffer.C: rename to getLogName(), handle
1829 build log / latex log nicely
1831 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1834 * MenuBackend.h: remove support for reference menuitem type.
1836 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1838 * BufferView_pimpl.C: housekeeping
1839 * BufferView_pimpl.h:
1844 * minibuffer.h: move Timeout GUI-I
1846 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1848 * lyxrc.C (read): Update converters data-structures.
1850 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1852 * LaTeX.h (operator!=): add operator != for Aux_Info
1854 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1856 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1858 * LaTeXLog.C: deleted, useful code moved to Buffer
1861 * buffer.C: new function getLatexLogName()
1867 * lyxfunc.C: use frontends for LaTeX and VC logs
1869 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1871 * LaTeX.h: yet another std:: that Allan forgot.
1873 * Variables.C (set): renamed from isset(), because this clashes
1874 with some HP-UX macros (grr).
1876 2001-02-06 Allan Rae <rae@lyx.org>
1878 * LaTeX.h: Another bug fix. Missing std:: this time.
1880 2001-02-04 Allan Rae <rae@lyx.org>
1882 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1883 floats problem. I've left it commented out because it's not quite
1884 correct. It should also test that the current object is a table or
1885 figure inset. But I haven't gotten around to figuring out how to do
1886 that. I *think* it'll be something like: "table" == inset.type()
1888 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1891 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1893 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1894 all the citation/databases/styles in the auxilary file.
1895 (run): Rerun latex if there was a babel language error.
1897 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1899 * text.C (Backspace): Preserve the font when changing newline char
1901 (BreakParagraph): If the cursor is before a space, delete the space.
1903 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1905 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1907 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1908 new argument (code).
1909 (ChangeCitationsIfUnique): New method.
1911 * paragraph.C (GetPositionOfInset): Handle bibkey.
1913 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1915 * BufferView_pimpl.h: change type of Position::par_pos to
1916 LyXParagraph::size_type.
1918 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1920 * BufferView_pimpl.C (savePosition, restorePosition): Write
1921 messages to minibuffer.
1923 2001-01-28 José Matos <jamatos@fep.up.pt>
1925 * buffer.C (makeDocBookFile): adds support for document language.
1926 A silly restriction on the name of LatexCommand types where removed.
1927 Added support for CDATA sections, allows to chars unescaped, used
1928 among others in code, to avoid escape < and >.
1930 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1932 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1933 saved positions instrad of a stack. Furthermore, a position is
1934 stored using paragraph id/paragraph position.
1936 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1937 Remove LFUN_REF_BACK.
1939 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1941 * converter.C (dvipdfm_options): New method.
1943 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1945 * vspace.C (isValidLength): Fix for empty input string.
1947 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1949 * LyXAction.C (init): change description of LFUN_FIGURE to
1952 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1954 * LaTeX.C: add using directive
1956 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1958 * MenuBackend.C (expand): Fix the sorting of the formats.
1960 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1962 * lyx_main.C: tiny error message fix
1964 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1966 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1967 calling fl_initialize(). This fixes the problem with ',' as
1968 decimal separator in text files.
1970 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1972 * trans.C (process): Fix the keymap bug.
1974 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1976 * LaTeX.C (scanAuxFiles): New method. Provides support for
1977 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1978 (scanLogFile) Scan for "run BibTeX" messages.
1980 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1981 OT1 font encoding. Also, load the aecompl package if the ae
1984 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1986 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1988 * texrow.C (increasePos): turn two error messages into debug
1991 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1993 * LaTeX.C (scanAux): Handle the \@input macro.
1994 (runBibTeX): Use scanAux().
1996 * language.C (latex_options_): New field.
1998 * LaTeXFeatures.C (getMacros): Add language macros.
2000 * buffer.C (makeLaTeXFile): Small fix.
2002 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2004 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2006 * text2.C: add a using directive.
2008 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
2013 * lyxfunc.C: kill LyXBell.
2015 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
2017 * text.C (IsBoundary): Remove the error message
2019 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
2021 * lyxrc.C (setDefaults): Correct initialization value for
2024 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
2026 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
2029 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
2032 * src/LyXAction.C: Added reference-next.
2034 * text.C (InsertChar): Use contains instead of strchr.
2036 * lyx_cb.C (MenuInsertLabel): Enable default value code.
2038 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
2040 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
2041 alignment commands (when needed).
2043 * text.C (InsertChar): Add ':' to number separator chars.