]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b97bd23aecd4cddeeb68bb91b15fa729cd6702ab
[lyx.git] / src / ChangeLog
1         
2 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
5         offset_ref accessors
6
7         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
8         top_y_, merge fitcursor with update
9         (updateScrollbar, scrollDocView, fitCursor, center, update): new
10         coord scheme
11         (metrics): introduce
12         (workAreaDispatch): adapt to new coord scheme
13         (redoCurrentBuffer): remove
14
15         * FontIterator.[Ch]: Use Paragraph & instead of pit_type 
16
17         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
18         CurStatus enum.
19         
20         * coordcache.[Ch]: add paragraph cache and helpers
21
22         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
23         adjust everywhere
24
25         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
26         (targetX, setTargetX): introduce
27
28         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
29         baseline -> ascent, as the rest of lyx
30
31         * lyxtext.h: remove redoParagraphs, updateParPositions,
32         fullRebreak, redoParagraphInternal. move dist to anon namespace in
33         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
34         have ascent/descent (ascent is ascent of first par)
35
36         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
37         step of BufferView
38
39         * paragraph.[Ch]: unify dimension handling with the rest of lyx
40
41         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
42
43         * pariterator.C: fix infinite loop introduced in par->pit renaming
44
45         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
46         in insets and LyXText, draw two off-screen paragraphs using
47         NullPainter, and adapt to new coord scheme
48
49         * text.C: 
50         * text2.C: 
51         * text3.C: adapt lfun handlers to the new coord scheme, which
52         means: there's only guaranteed coord information for onscreen pars
53         plus one above and one below. This implies that one can do search
54         from y coordinates in the range [-1,workHeight]
55
56 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * rename a lot of InsetOld to InsetBase
59
60 2004-11-25  Angus Leeming  <leeming@lyx.org>
61
62         * BufferView_pimpl.C:
63         * lyx_cb.C:
64         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
65
66 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
69         call BufferView::getStatus if LCursor::getStatus did nothing
70         (setStatusMessage, getStatusMessage): removed.
71
72         * FuncStatus.C (message): new methods. Used to provide an error
73         message indicating why a command is disabled.
74         (clear, |=, FuncStatus): update for message.
75
76 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * lyxfunc.C (dispatch): always call sendDispatchMessage
79
80 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * BufferView.C:
83         * BufferView_pimpl.C:
84         * CutAndPaste.C:
85         * FontIterator.C:
86         * buffer.C:
87         * cursor.C:
88         * cursor_slice.[Ch]:
89         * dociterator.[Ch]:
90         * lyxfind.C:
91         * paragraph_funcs.C:
92         * pariterator.C:
93         * rowpainter.C:
94         * text.C:
95         * text2.C:
96         * text3.C:
97         * undo.C: par->pit renaming
98
99 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
100
101         * tabular.C (cellstruct): use initialization, store a shared_ptr
102         to insettext instead of the insettext directly, adjust to fit.
103         (operator=):  new function
104         (swap): new function
105         (rowstruct): use initialization
106         (columnstruct): use initialization
107         (ltType): use initialization
108
109
110         * lyxlength.h (swap): new function
111
112         * LColor.[Ch] (operator=): use the common semantics
113
114 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * lyxfind.C (findNextChange): update the bufferview after setting
117         the selection.
118
119 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
122         number of InsetOptArgs has already been inserted.
123
124         * output_latex.C (latexOptArgInsets): new method. This outputs all
125         the optarg insets, up to the limit defined in the layout file.
126         (optArgInset): removed
127         (TeXOnePar): call latexOptArgInsets; correctly update texrow
128
129 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * paragraph.C (isLetter): remove special spellchecker-related
132         code; return true also for digits
133         (isWord, isKomma): remove
134
135         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
136         * lyxfind.C (MatchString()): use isLetter instead of isWord
137
138 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
139
140         * pariterator.h (operatir=): comment out un-implemented member
141         function.
142
143         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
144         static cast.
145
146 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
147
148         * lyxfont.h: include LColor.h to satisfy concept checks.
149
150 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
151
152         * pariterator.h: add typdefs for value_type, difference_type,
153         pointer and reference to satisfy concept checks. Also add default
154         constructor for same reason.
155
156         * pariterator.C (operator++): add post-increment operator to
157         satisfy concept checks.
158
159         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
160         checks.
161
162         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
163
164         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
165         checks. Also rename base_type to BaseType to follow naming
166         standard better.
167
168         * FloatList.h: include Floating.h to satisfy concept checks.
169
170 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * lyxfunc.C (getStatus): when the origin of the request is menu or
173         toolbar, and the LyXView does not have focus, do as if there was
174         no buffer (bug 1720)
175
176         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
177         FuncRequest to individual entries of LFUN_SEQUENCE
178
179 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * output_latex.C (TeXOnePar): override runparams.moving_arg
182         according to the needprotect value of the current paragraph (bug
183         1739)
184
185         * paragraph.C (simpleTeXOnePar): no need to override
186         runparams.moving_args here
187
188 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
189
190         * vspace.C: fix off-by-one-error, related to fix #1682
191
192 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
193
194         * lengthcommon.C: a more general fix for bug 1682
195
196 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * text.C (backspace): fix crash
199
200 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
201
202         * format.[Ch] (getFormatFromFile): new method
203         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
204
205 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
208
209 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * lyxfunc.C (dispatch): remove the verbose argument
212         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
213         instead
214
215         * kbmap.C (defkey): set the origin of func to KEYBOARD
216
217         * MenuBackend.C (MenuItem):
218         * ToolbarBackend.C (add): set the origin of func to UI
219
220         * funcrequest.[Ch]: add origin member, which indicates which part
221         of LyX requests an action
222
223 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * converter.C (move): don't lie in the error message
226         * converter.h (isReachable, move): document
227
228 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
229
230         * buffer.C: remove unused using lyx::support::atoi
231         * paragraph_funcs.C: ditto
232
233 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
234
235         * bufferlist.C (exists): use bind and equal_to instead of
236         compare_memfun
237         (getBuffer): ditto
238         * lyxtextclasslist.C (NumberOfClass): ditto
239
240         * cursor.C (insert): use for_each instead of explicit for loop
241
242         * bufferlist.C (getFileNames): use std::transform and
243         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
244
245         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
246         for loop
247
248         * buffer.C (changeLanguage): use for_each instead of explicit for
249         loop
250         (hasParWithID): implement using getParFromID
251
252         * LaTeXFeatures.C: ws change only
253
254         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
255         to cleanup a bit.
256
257         * BufferView_pimpl.C (trackChanges): use for_each instead of
258         expilicit for loop
259
260 2004-11-04  André Pönitz  <poenitz@gmx.net>
261
262         * undo.h:
263         * undo.C (textUndoOrRedo): fix crash when creating undo information.
264
265         * dociterator.C (asDocIterator): use hard assert again.
266
267 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * lyxlength.C (asLatexString): rewrite so that it does not use
270         snprintf anymore
271
272 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * text3.C (specialChar, dispatch): make sure cursor moves to the
275         right after inserting an inset
276
277 2004-11-02  José Matos  <jamatos@lyx.org>
278
279         * output_docbook.C (docbook):
280         * paragraph.C (getID):
281         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
282         garantee that the output is always legal.
283
284         * tabular.C (docbook):
285         * outputprams.[Ch]: remove mixed contents.
286
287 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
288
289         * text2.C (setCounter): prevent endless loop
290
291 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
292
293         * exporter.C (copyFile): use the mover instead of support::copy()
294         * exporter.C (Export): pass format and latex name to copyFile()
295         * exporter.h (addExternalFile): document
296         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
297
298 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
299
300         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
301
302 2004-10-30  José Matos  <jamatos@lyx.org>
303
304         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
305         text and no inset or font change. This allows to use CDATA
306         sections just for the whole paragraph.
307
308 2004-10-30  José Matos  <jamatos@lyx.org>
309
310         * paragraph.C (getFirstWord): remove unused variable.
311
312 2004-10-30  José Matos  <jamatos@lyx.org>
313
314         * paragraph.C (getFirstWord): the content should always be escaped
315         there.
316         (simpleDocBookOnePar):
317         * output_docbook.C (makeEnvironment): replace reference to CDATA
318         to style pass_thru.
319
320 2004-10-30  José Matos  <jamatos@lyx.org>
321
322         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
323
324 2004-10-30  José Matos  <jamatos@lyx.org>
325
326         * output_docbook.C (makeParagraphs):
327         * paragraph.[Ch] (emptyTag): for docbook and company, if the
328         standard paragraph has only a given type of content drop the wrapper.
329
330 2004-10-29  José Matos  <jamatos@lyx.org>
331
332         * output_docbook.C (makeEnvironment):
333         * sgml.C (openTag):
334         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
335
336 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
337
338         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
339         (cleanID): sanitize any id.
340
341 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
342
343         * buffer.C, lyxlex_pimpl.C:
344         * lyxlex_pimpl.C (setFile):
345         s/getExtFromContents/getFormatFromContents/
346
347 2004-10-28  José Matos  <jamatos@lyx.org>
348
349         * output_docbook.C (makeEnvironment): move id to broadest possible
350         scope.
351
352         * sgml.C (openTag): apply substitution of <> for all attributes.
353
354 2004-10-28  José Matos  <jamatos@lyx.org>
355
356         * buffer.C (makeLinuxDocFile, makeDocBookFile):
357         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
358         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
359
360         * sgml.[Ch]: new version for open and closeTag for paragraph and
361         for strings. Now they handle the ids of paragraphs.
362
363 2004-10-26  Angus Leeming  <leeming@lyx.org>
364
365         * Makefile.am: add mover.[Ch].
366
367         * converter.C (convert, move): use the new Movers to move external
368         files to the temp directory.
369
370         * lyx_main.C (init): ensure that the global system_movers data
371         is initialised.
372
373         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
374         preferences file.
375
376         * mover.[Ch]: new files, defining a Mover as a utility to move an
377         external file between directories and, if necessary, manipulate this
378         file using a helper script.
379
380 2004-10-25  José Matos  <jamatos@lyx.org>
381
382         * output_docbook.C (makeCommand): merge two if's that tested the
383         same condition.
384
385 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * sgml.C (escapeString): fix warning in a better way
388
389 2004-10-25  José Matos  <jamatos@lyx.org>
390
391         * sgml.C (escapeString): import the require boosts header file for
392         tie, and avoid a signed unsigned comparison.
393
394 2004-10-25  José Matos  <jamatos@lyx.org>
395
396         * sgml.h: add #include <string>
397
398 2004-10-25  José Matos  <jamatos@lyx.org>
399
400         * sgml.[Ch] (escapeString): new function to escape all the string.
401
402 2004-10-24  José Matos  <jamatos@lyx.org>
403
404         * paragraph.[Ch] (getFirstWord): new function to get the first
405         word. Useful for description.
406         (simpleDocBookOnePar): remove depth argument, add another that
407         says where to start the paragraph.
408
409         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
410         use the new functions to fix cleanly the support for descriptions.
411
412 2004-10-24  José Matos  <jamatos@lyx.org>
413
414         * buffer.C (makeLinuxDocFile, makeDocBookFile):
415         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
416         * output_linuxdoc.C (linuxdocParagraphs):
417         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
418         add buffer as argument.
419
420 2004-10-24  José Matos  <jamatos@lyx.org>
421
422         * output_docbook.C (makeEnvironment, searchEnvironment): place
423         CDATA inside paragraphs and fix scope for listitems.
424
425 2004-10-24  José Matos  <jamatos@lyx.org>
426
427         * output_docbook.C: remove using statement for stack.
428
429 2004-10-23  José Matos  <jamatos@lyx.org>
430
431         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
432         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
433         docbook. The new scheme is recursive and makes use of iterators, the
434         same as latex export works.
435         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
436         directly with the paragraph contents. This code was moved up to
437         output_docbook.C (docbookParagraphs).
438         * sgml.C (openTag, closeTag): removed unneeded newlines.
439         (closeEnvTags) removed.
440
441 2004-10-23  André Pönitz  <poenitz@gmx.net>
442
443         * undo.C (textUndoOrRedo):
444         * dociterator.C (asDocIterator): work around crash
445
446         * cursor.C (getStatus): replace ASSERT by more verbose error message
447           and manual correction of the problem. Should increase stability
448           while providing more sensible information.
449
450 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
453
454         * bufferlist.C (previous, next): new methods
455
456         * lfuns.h:
457         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
458
459 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
460
461         * buffer.C (makeDocBookFile): add dsssl stylesheet control
462         entities to preamble.
463
464 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * messages.C (Pimpl): strip off translation context information
467
468 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
471         the cursor is correct (bug 1694)
472
473 2004-10-13  José Matos  <jamatos@lyx.org>
474
475         * output_docbook.C (docbookParagraphs): fix closing tags in the
476         end of the document.
477
478 2004-10-09  José Matos  <jamatos@lyx.org>
479
480         * buffer.C: format up to 237.
481         * bufferparams.C (write): use tostr to convert booleans to strings.
482
483 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
486
487 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
488
489         * LaTeX.C: implement use of babel language in xindy.
490
491 2004-10-05  José Matos  <jamatos@lyx.org>
492
493         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
494         Add new translators to help reading and writing the lyx file.
495
496 2004-10-05  José Matos  <jamatos@lyx.org>
497
498         * ParagraphParameters.C (read):
499         * text.C (readParToken): replace nexToken by more appropriate lex
500         methods.
501
502 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
503
504         * LaTeX.C (runMakeIndex):
505         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
506         (usually 'makeindex') configurable.
507
508         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
509         with a variable rather than with a number.
510
511 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * output_latex.C (TeXOnePar): make sure font setting is the first
514         thing that gets output (and the last at the end). Should fix bug
515         1404.
516
517 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * pch.h: use proper signal include
520
521         * LaTeX.h: Use preferred calling of Boost.Signal
522         * buffer.h: ditto
523
524 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
525
526         * pch.h: dont include <boost/function/function0.hpp>
527
528         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
529
530         * paragraph_pimpl.h: remove usage of ShareContainer
531
532         * paragraph_pimpl.C: remove initialization of ShareContainer.
533
534 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         Fix bug #1666
537
538         * BufferView.C (putSelectionAt): change the semantics when
539         backwards == true: now, this just swaps cursor and anchor wrt the
540         forward case
541
542         * BufferView.h (putSelectionAt): add some documentation
543
544         * lyxfind.C (findBackwards): rewrite using while(). In particular,
545         make sure backwardChar is done at least once (to avoid getting
546         stuck)
547         (findNextChange): use putSelectionAt in the forward direction
548         (operator()): use Paragraph::isWord
549
550 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * Spacing.C (set): c_str fix
553
554 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * lyx_cb.C (Reconfigure): quote the name of configure script in
557         case it contains spaces
558
559 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
560
561         * client: new dir
562
563         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
564         (BOOST_LIBS): use top_buildir when looking for the file
565
566 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
567
568         * pch.h: do not use include boost/format.hpp, multiple symbols
569                 will result (gcc bug)
570
571
572 2004-08-23  José Matos  <jamatos@lyx.org>
573
574         * bufferparams.C (readToken): fix reading of the author field.
575
576 2004-08-20  José Matos  <jamatos@lyx.org>
577
578         * lyxrc.C: remove support/translator.h inclusion since it is not used.
579
580 2004-08-20  José Matos  <jamatos@lyx.org>
581
582         * lyxlex.[Ch] (findToken): remove function.
583
584         * ParagraphParameters.C (findToken):
585         * bufferparams.C (findToken): replace call for previous function
586         with local copy. This local function has one more argument, the
587         read string argument.
588
589 2004-08-16  José Matos  <jamatos@lyx.org>
590
591         * ParagraphParameters.C (write):
592         * Spacing.C (writeFile):
593         * bufferparams.C (writeLaTeX):
594         * lyx_cb.C (Reconfigure):
595         * paragraph.C (write):
596         * tabular.C (write): remove unnecessary space at end of line.
597
598
599 2004-08-16  José Matos  <jamatos@lyx.org>
600
601         * text.C (readParagraph): remove debug message.
602
603 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
606         crash
607
608         * output_plaintext.C (asciiParagraph): set depth correctly
609
610         * outputparams.h: add member depth
611
612         * paragraph_funcs.C (ownerPar): remove.
613
614         * text2.C (setCounter): remove first_pit; comment out some
615         non-working code that uses ownerPar
616
617         * BufferView.C (getParentLanguage): remove. Not used anymore, and
618         uses ownerPar
619
620 2004-08-16  José Matos  <jamatos@lyx.org>
621
622         * text.C (readParToken, readParagraph, read): report all unknown tokens.
623         For the same level of importance use the same chanel to report problems.
624         (read): add code to deal with \begin_body and \end_body.
625
626
627 2004-08-15  José Matos  <jamatos@lyx.org>
628
629         * lyxlex.C (getString): fix comment, buffer::readBody is now
630         buffer:readDocument.
631
632         * tex-strings.C (string_papersize): Default -> default,
633         Custom -> custom, for consistency with other options.
634
635 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
636
637         * pch.h: new file
638
639         * Makefile.am: support pch
640
641 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
642
643         * text.C (readParToken): remove the static LyXFont variable and
644         pass it as a parameter instead. This fixes a nasty bug where an
645         inset will be inserted with a bad font in some situations
646         (readParagraph): adapt
647
648         * text2.C (setCounter): reduce number of calls to pars_[pit]
649
650         * text.C (singleWidth): add an assert, fix a test
651
652         * rowpainter.C (paintText): reduce number of calls to singleWidth
653
654         * paragraph.C (isHfill):
655         (isNewline): ws only
656
657 2004-08-14  André Pönitz  <poenitz@gmx.net>
658
659         * text.C:
660         * text2.C:
661         * rowpainter.C:
662         * lyxtext.h (several functions): use a Paragraph & argument
663         instead of par_type
664
665 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * metricsinfo.h: add a new field ltr_pos to PainterInfo
668
669         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
670
671         * text.C (singleWidth): remove useless test
672
673 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * tabular.h: remove bogus comments
676
677         * tabular.C (getDescentOfRow):
678         (isPartOfMultiColumn): add assertions
679
680         * lyxlength.C (inPixels): remove #warning
681
682 2004-08-14  André Pönitz  <poenitz@gmx.net>
683
684         * paragraph.h: inline getChar()
685
686         * BufferView.h: remove unused declarations
687
688 2004-08-14  José Matos  <jamatos@lyx.org>
689
690         * Buffer.[Ch] (readDocument): new name for old readBody.
691         * Buffer.C: new file format, new keywords: \begin_document,
692         \begin_header, \begin_body, \end_body.
693
694         * bufferparams.C (readToken): replace all calls to lex.nextToken
695         by lex.next(). Do the same to eatLine except where really needed.
696
697         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
698         line when writing to the lyx file.
699
700         * output_plaintext.C (asciiParagraph): fix Bibliography style
701         handling.
702
703         * text.C (read): fix end of file handling.
704
705 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * MenuBackend.C (Menu::operator[]): new method to access
708         individual menu items
709         (Menu::hasFunc): new method. search for an item that corresponds
710         to a given func
711         (MenuBackend::specialMenu): new method
712         (MenuBackend::expand): if a special menu has been set, skip
713         entries whose func() appears in this menu
714
715 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
716
717         * text3.C: use Debug::DEBUG a bit more
718
719         * text.C (leftMargin): try to simplify a tiny bit change var x to
720         l_margin. Dont output the wide margins always.
721         (rightMargin): no margin in inner texts
722
723         * rowpainter.h (nestMargin): new func
724         (changebarMargin): new func
725         (rightMargin): new func
726
727         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
728         now functions.
729         (paintLast): ditto
730
731         * factory.C (createInset): modify setDrawFrame
732
733         * cursor.C: use Debug::DEBUG a bit more
734
735 2004-08-14  André Pönitz  <poenitz@gmx.net>
736
737         * coordcache.[Ch]:
738         * Makefile.am: new files to accomodate an 'external' (x,y)-position
739         cache for all insets in (at least partially) visible (top-level)
740         paragraphs.
741
742         * BufferView_pimpl.C: reset external coord cache before every update.
743         This means the coord cache only contains valid entries.
744
745 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
746
747         bug 1096
748         * BufferView_pimpl.C (getInsetByCode): move function out of class
749         and change in to a template in anon namespace. Also fix to do what
750         suits us better.
751
752 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
753
754         bug 1305
755         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
756         of char
757         (breakParagraph): rename par to par_offset and use a local
758         reference. Add code to keep the language over a rebreak.
759         (breakParagraphConservative): rename par to par_offset, use a
760         local reference
761         (mergeParagraph): ditto
762         (outerHook): ditto
763         (isFirstInSequence): ditto
764         (outerFont): rename pit to par_offset
765
766         * paragraph.C: ws change
767         * paragraph.h: ditto
768         * text3.C: ditto
769         * text.C: ditto
770
771 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
774         treatment for ']'
775
776         * paragraph.C (simpleTeXOnePar): when we have a \item with
777         optional argument, enclose the argument with curly brackets (in
778         case it contains a closing square bracket)
779
780         * text2.C (editXY):
781         * text2.C (editXY):
782         * text3.C (checkInsetHit): constify
783
784 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
787         documents (bug 1629)
788
789 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         Fix toggling of collapsable insets with the mouse (bug 1558)
792
793         * lyxfunc.C (dispatch): adapt to LCursor changes
794
795         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
796         make sure that dispatch is not invoked twice
797
798         * cursor.C (needsUpdate): new method
799         (dispatch): return void
800         (result): new method, to access the DispatchResult of the cursor.
801
802 2004-08-13  José Matos  <jamatos@lyx.org>
803
804         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
805
806 2004-08-13  André Pönitz  <poenitz@gmx.net>
807
808         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
809
810         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
811           multiple cells
812
813 2004-08-12  André Pönitz  <poenitz@gmx.net>
814
815         * text3.C: take out the 'cursor right' form insertInset and only
816         do it in those places when it is really needed. Fixes crash on
817         C-m...
818
819 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
820
821         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
822
823         * BufferView_pimpl.C (setBuffer): initialize the current font of
824         the underlying LyXText
825
826 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * kbsequence.C (print): use UI native formatting for menu
829         shortcuts
830
831         * text.C (insertChar): call Paragraph::insertChar with a font
832         argument (cosmetic)
833
834         * paragraph.C (insertInset, insertChar): the version that takes a
835         LyXFont argument is now a wrapper around the other one (the
836         opposite used to be true).
837
838         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
839         argument. Font setting is done in Paragraph now.
840
841 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * outputparams.h: add new members intitle and lang.
844
845         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
846         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
847
848 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
849
850         * text3.C (dispatch): remove special handling of button 4 and 5,
851         it is now taken care of in the frontend code.
852
853 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
854
855         * Spacing.h: add <string> (STLPort compile fix)
856
857 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
858
859         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
860
861 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
862
863         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
864         to bool.
865
866         * converter.C (showMessage): inherit from unary_function, make
867         operator() const.
868
869         * buffer.C (writeFile): initialize retval
870
871         * InsetList.h: rename private variable list to list_
872         * InsetList.[Ch]: adjust accordingly.
873
874 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
875
876         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
877         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
878         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
879         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
880         * ParagraphParameters.C, LaTeXFeatures.C: replace
881         "support/std_sstream.h" with <sstream>
882
883 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
884
885         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
886         * lyxsocket.C (LyXServerSocket): ditto
887         (serverCallback): ditto
888
889 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
890
891         * LaTeXFeatures.C: check release date when loading jurabib.
892
893 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
894
895         * lyxserver.C (startPipe): call register_socket_callback
896         (endPipe): call unregister_socket_callback
897
898 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
899
900         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
901         (LyXServerSocket): register the callback
902         (LyXServerSocket): unregister the callback
903         (fd): delete function
904         (serverCallback): improve error checking and setup the callbacks.
905         (dataCallback): change arg to fd.
906         (writeln): new func (copied fro the client socket) used for server
907         write to client.
908         (LyXDataSocket): simplify
909         (~LyXDataSocket): close ann unregiser callback
910         (server): delete function
911         (fd): delete function
912         (readln): small changes, improve some std::string usage
913         (writeln): constify a bit
914
915 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
918         Qt frontend
919
920 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
921
922         * BufferView_pimpl.C (setBuffer): set the layout combox value only
923         after it has been populated
924
925 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * text2.C (insertInset): move cursor when inserting inset.
928
929 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * kbmap.C (findbindings): a couple of new methods. returns a
932         container of kb_sequence objects. The real work is done by the
933         private recursive version
934         (printbindings): uses findbindings to print out a bracketed list
935         of bindings (renamed from findbinding).
936
937         * MenuBackend.C (binding): use kb_keymap::findbindings
938
939         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
940
941 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
942
943         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
944
945 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
946
947         * paragraph.C (isWord): return true on insets that report
948         isLetter().
949
950         * text.C (getWord): use Paragraph::isWord to decide what is in a
951         word and what is not; fix bug 1609.
952
953 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
954
955         * tex-strings.C: add "none" to string_paperpackages[], fixes
956         off-by-one-error in the paperpackage selection.
957
958         * lyxlex.[Ch]:
959         * tex-strings.[Ch]: char const * string[n]
960         -> char const * const string[]
961
962 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
965         command, return early.
966
967 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * debug.h: add DEBUG to enum and fix size of ANY.
970
971         * debug.C: add support for Debug::DEBUG
972         (showTags): cast errorTags.level to unsigned int
973
974         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
975         (redoCurrentBuffer): ditto
976         (updateScrollbar): ditto
977         * cursor.C (dispatch): ditto
978         * text2.C (setLayout): ditto
979         (setFont): ditto
980         (updateCounters): ditto
981         (editXY): ditto
982         (deleteEmptyParagraphMechanism): ditto
983
984 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
985
986         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
987         annotations to cleanup the Makefile slightly.
988
989 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * lyxrc.C: do not set user_email to a default value but use empty
992         instead. The entry used to be translated, which does not work
993         since at the point where lyxrc is constructed there is no
994         translation service available
995
996         * messages.C (getLocaleDir): remove and use directly
997         lyx_localedir() instead
998
999 2004-06-02  Angus Leeming  <leeming@lyx.org>
1000
1001         Fix crash caused by dereferencing null pointer 'exportdata' in
1002         OutputParams by creating a new ExportData variable on the heap,
1003         storing it in a boost::shared_ptr.
1004         The crash was triggered when generating an Instant Preview
1005         of an external inset.
1006
1007         * Makefile.am: add outputparams.C
1008
1009         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1010         (c-tor): allocate memory to it.
1011
1012         * exporter.C (c-tor): associated changes.
1013
1014 2004-06-01  Angus Leeming  <leeming@lyx.org>
1015
1016         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1017         contains data before calling isInset(0). (Bug 1513.)
1018
1019 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * exporter.C (checkOverwrite): new method
1022         * exporter.C (copyFile): new method
1023         * exporter.C (Export): copy referenced files to the document dir
1024         * exporter.[Ch]: new class ExportedFile
1025         * exporter.[Ch]: new class ExportData. Contains currently the
1026         names of referenced external files
1027         * outputparams.h: add exportdata member.
1028
1029 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1030
1031         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1032         version.C-tmp
1033
1034 2004-05-19  Angus Leeming  <leeming@lyx.org>
1035
1036         * LaTeXFeatures.C:
1037         * ToolbarBackend.C:
1038         * bufferparams.C:
1039         * lyxfunc.C: small changes due to the introduction of namespace
1040         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1041
1042 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * text3.C (dispatch): supress update when only moving the cursor
1045         * cursor.C (selHandle): remove commented code
1046
1047 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * paragraph.C (startTeXParParams): correct column count
1050         * CutAndPaste.C (pasteSelection): remove const_cast
1051         * output_docbook.C (docbookParagraphs): remove const_cast
1052         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1053         const_cast and return ParagraphList::const_iterator
1054         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1055         * output_plaintext.C (writeFileAscii): remove const_cast
1056         * paragraph.[Ch] (simpleTeXOnePar): make const
1057         * paragraph_funcs.C (outerPar): use const iterators
1058         * paragraph_pimpl.C (validate): use const iterators
1059         * text.C (setHeightOfRow): use const iterators
1060
1061 2004-05-17  Angus Leeming  <leeming@lyx.org>
1062
1063         * lfuns.h:
1064         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1065
1066         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1067         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1068         if the citation engine has changed.
1069
1070 2004-05-14  José Matos  <jamatos@lyx.org>
1071
1072         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1073         if the textclass does not provide it. Have it different for sgml and
1074         xml.
1075         support the language of document.
1076         * output_docbook.C (docbookParagraphs):
1077         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1078         first anchor as the id of the paragraph, remove special case code.
1079         * sgml.C (escapeChar): escape only < & >.
1080
1081 2004-05-14  Angus Leeming  <leeming@lyx.org>
1082
1083         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1084         dependencies on src/frontends/controllers/biblio.h. Define a
1085         CiteEngine_enum wrapper class to enable the enum to be forward
1086         declared.
1087
1088 2004-05-12  Angus Leeming  <leeming@lyx.org>
1089
1090         * buffer.C: up LYX_FORMAT to 234.
1091         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1092         use_numerical_citations with a single biblio::CiteEngine cite_engine
1093         variable.
1094         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1095
1096 2004-05-13  José Matos  <jamatos@lyx.org>
1097
1098         * converter.h:
1099         * converter.C (Converter, readFlags): add xml member.
1100         * outputparams.h: add XML flavor.
1101         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1102
1103 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1104
1105         * lyxfunc.C (dispatch):
1106         (getStatus): fix handling of LFUN_SEQUENCE
1107
1108 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * debug.C (showLevel): do not forget the end-of-line marker
1111
1112 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * kbmap.C (read): do not stop parsing a bind file when an error
1115         occurs (bug 1575)
1116
1117 2004-04-29  Angus Leeming  <leeming@lyx.org>
1118
1119         * cursor.C:
1120         * factory.C:
1121         * pariterator.C:
1122         * text2.C: wrap a bunch of #warning statements
1123         inside #ifdef WITH_WARNINGS blocks.
1124
1125 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1126
1127         * buffer.C: increment format to 233.
1128
1129 2004-04-28  Angus Leeming  <leeming@lyx.org>
1130
1131         * BufferView_pimpl.C:
1132         * lyxfunc.C:
1133         * text3.C:
1134         s/updateToolbar()/updateToolbars()/
1135         s/Toolbar.h/Toolbars.h/
1136
1137 2004-04-28  Angus Leeming  <leeming@lyx.org>
1138
1139         * BufferView.[Ch] (c-tor):
1140         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1141         No longer passes these data to the WorkArea generator.
1142
1143 2004-04-28  Angus Leeming  <leeming@lyx.org>
1144
1145         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1146
1147 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1148
1149         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1150
1151 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * output_latex.C (TeXEnvironment): make sure that there is a line
1154         break before \end{foo} for the last paragraph of a document
1155         (TeXOnePar): if the paragraph is at the end of the document (or
1156         inset) and the language has to be reset, then make sure that the
1157         line break is _before_ the language command, not after (fixes bug
1158         1225); also make sure that the language reset command is the first
1159         thing after the paragraph (to ensure proper nesting of
1160         environments and thus fix bug 1404)
1161
1162 2004-04-21  John Levon  <levon@movementarian.org>
1163
1164         * ToolbarBackend.h:
1165         * ToolbarBackend.C: make "name" be a programmatic name
1166         and a gui_name field.
1167
1168         * lyxfunc.C: display the minibuffer on M-x
1169
1170 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1173         (bug 1526)
1174
1175 2004-04-19  Angus Leeming  <leeming@lyx.org>
1176
1177         * BufferView_pimpl.C (setBuffer): changed preview interface.
1178
1179         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1180         possible values.
1181
1182 2004-04-19  John Levon  <levon@movementarian.org>
1183
1184         * BufferView_pimpl.C:
1185         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1186
1187 2004-04-05  Angus Leeming  <leeming@lyx.org>
1188
1189         * text.C (redoParagraphs): add call to updateCounters(), thereby
1190         fixing the missing "Figure #:" label from the caption of a
1191         figure float.
1192
1193 2004-04-13  Angus Leeming  <leeming@lyx.org>
1194
1195         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1196         cursor is clicked out of an inset.
1197
1198 2004-04-13  Angus Leeming  <leeming@lyx.org>
1199
1200         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1201         than an InsetOld one.
1202
1203 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1204
1205         * format.[Ch]: add editor to Format
1206         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1207         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1208
1209 2004-04-08  André Pönitz  <poenitz@gmx.net>
1210
1211         * metricsinfo.h: remove PainterInfo::width member
1212
1213 2004-04-08  Angus Leeming  <leeming@lyx.org>
1214
1215         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1216         "\providecommand" rather than "\newcommand", thereby preventing
1217         clashes with packages that define "\boldsymbol" themselves.
1218         Eg, beamer.
1219
1220 2004-04-08  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1223         thereby squashing an unnecessary warning.
1224
1225 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1226
1227         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1228         setBuffer()
1229
1230 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * BufferView.C (setCursor): call redoParagraph (some insets could
1233         have been opened)
1234         (putSelectionAt): remove the 'double update' trick
1235
1236         * BufferView_pimpl.C (fitCursor): call refreshPar
1237         (workAreaDispatch): remove an uneeded update call
1238         (dispatch): remove some manual update calls
1239
1240         * cursor.[Ch]: remove cached_y_, updatePos
1241         (selHandle): set noUpdate when appropriate
1242
1243         * lyxfunc.C (dispatch): track if we need an update
1244
1245         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1246
1247         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1248         (paintSelection): cheap optimization, do not call cursorX when not
1249         needed
1250         (paintPars): change signature
1251         (refreshPar): add
1252         (paintText): adjust
1253         (paintTextInset): adjust
1254
1255         * text.C: adjust
1256
1257 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * lengthcommon.C: compilation fix: remove explicit array size from
1260         unit_name[] and friends
1261
1262 2004-04-05  Angus Leeming  <leeming@lyx.org>
1263
1264         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1265
1266         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1267         present only for the preferences dialog.
1268         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1269
1270 2004-04-05  Angus Leeming  <leeming@lyx.org>
1271
1272         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1273         to enable the frontends to export changes to lyxrc correctly.
1274
1275         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1276
1277 2004-04-07  André Pönitz  <poenitz@gmx.net>
1278
1279         * cursor.[Ch] (selClear, adjust): remove math
1280
1281         * cursor_slice.C: more agressive assert
1282
1283         * lyxfunc.C:
1284         * BufferView_pimpl.C: rework mouse event dispatch
1285
1286         * dociterator.C:
1287         * paragraph.C:
1288         * text2.C:
1289         * text3.C: adjust
1290
1291 2004-04-05  André Pönitz  <poenitz@gmx.net>
1292
1293         * cursor.[Ch] (valign, halign...): remove unneeded functions
1294
1295 2004-04-05  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyxlength.[Ch] (unit_name et al.): const-correct.
1298
1299 2004-04-05  Angus Leeming  <leeming@lyx.org>
1300
1301         * BufferView_pimpl.C:
1302         * buffer.C:
1303         * counters.C:
1304         * cursor.C:
1305         * lyxfunc.C
1306         * paragraph.C:
1307         * pariterator.C:
1308         * text.C:
1309         * text2.C:
1310         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1311
1312 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1315
1316 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1319         * BufferView_pimpl.[Ch] (getStatus)
1320         * BufferView.[Ch] (getStatus): add
1321         * lyxfunc.C (getStatus): move lfuns handled in
1322         BufferView::dispatch to te function above
1323         * Cursor.C (setSelection): set selection() = true
1324
1325 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1328
1329 2004-03-31  Angus Leeming  <leeming@lyx.org>
1330
1331         * lyxfunc.C (dispatch): Fall through to the generic
1332         Dialogs::show("preamble").
1333
1334 2004-03-31  Angus Leeming  <leeming@lyx.org>
1335
1336         * lyxfunc.C (dispatch): Fall through to the generic
1337         Dialogs::show("spellchecker").
1338
1339 2004-03-31  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1342         preferences dialog.
1343
1344 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1345
1346         * BufferView.C
1347         * cursor.[Ch]
1348         * dociterator.[Ch]:
1349         * insetiterator.[Ch]:
1350         * lyxfind.C:
1351         * lyxfunc.C:
1352         * pariterator.[Ch]:
1353         * text2.C:
1354         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1355
1356 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1359         insets where we are putting the cursor.
1360
1361 2004-03-31  Angus Leeming  <leeming@lyx.org>
1362
1363         * lfuns.h:
1364         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1365
1366         * lyxrc.[Ch] (read, write): overloaded member functions taking
1367         a std::[io]stream arguments.
1368
1369         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1370
1371 2004-03-31  Angus Leeming  <leeming@lyx.org>
1372
1373         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1374         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1375
1376         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1377         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1378
1379 2004-03-31  Angus Leeming  <leeming@lyx.org>
1380
1381         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1382         the LFUN_ALL_INSETS_TOGGLE code.
1383
1384 2004-03-30  Angus Leeming  <leeming@lyx.org>
1385
1386         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1387         has died. Fall through to the generic Dialogs::show("document").
1388
1389 2004-03-30  Angus Leeming  <leeming@lyx.org>
1390
1391         * lfuns.h:
1392         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1393         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1394
1395         * lyxfunc.C (getStatus, dispatch): define the actions for these
1396         lfuns. Little more than a cut and pste job from ControlDocument.C
1397
1398         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1399
1400 2004-03-30  Angus Leeming  <leeming@lyx.org>
1401
1402         * lfuns.h:
1403         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1404         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1405
1406         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1407         open/closed state of ollapsable insets. Usage:
1408
1409         all-inset-toggle <state> <name>, where
1410         <state> == "open" || "closed" || "toggle" and
1411         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1412
1413         * lyxtext.h, text2.C (toggleInset): removed.
1414
1415         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1416         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1417         now passes LFUN_INSET_TOGGLE to the found inset.
1418
1419         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1420         is now invoked as "all-insets-toggle toggle branch".
1421
1422 2004-03-30  Angus Leeming  <leeming@lyx.org>
1423
1424         * dociterator.C:
1425         * insetiterator.C:
1426         * pariterator.[Ch]: added/corrected header blurb.
1427
1428 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1429
1430         * dociterator.[Ch]: add an inset_ member
1431         (backwardPos): implemented
1432         (backwardPos, forwardPos): use inset_ when the stack is empty.
1433         (doc_iterator_begin, doc_iterator_end): implemented
1434         * pariterator.[Ch]: adjust, add begin, end
1435         * insetiterator.[Ch]: adjust, add begin, end
1436         * cursor.C:
1437         * document.C:
1438         * BufferView.C:
1439         * BufferView_pimpl.C:
1440         * CutAndPaste.C: adjust
1441
1442 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1443
1444         * buffer.C: increment file format to 232.
1445         * LaTeXFeatures.C: add bibtopic package.
1446         * bufferparams.[Ch]: param \use_bibtopic.
1447
1448         * lyxrc.[Ch]: add lyxrc bibtex_command
1449         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1450
1451         * buffer.C: increment file format to 231.
1452
1453 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * dociterator.C: implement forwardPar
1456         * iterators.[Ch]: remove, replaced by
1457         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1458         * BufferView.C:
1459         * BufferView_pimpl.C:
1460         * CutAndPaste.C:
1461         * buffer.C:
1462         * bufferview_funcs.C:
1463         * cursor.C:
1464         * lyxfind.C
1465         * lyxfunc.C
1466         * paragraph_funcs.C
1467         * toc.C:
1468         * Makefile.am: adjust
1469
1470 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * CutAndPaste.C (pasteSelection): fix 2 crashes
1473         (eraseSelection): fix a crash
1474         * paragraph_funcs.C: remove a warning
1475
1476 2004-03-28  Angus Leeming  <leeming@lyx.org>
1477
1478         * lfuns.h:
1479         * LyXAction.C (init): new LFUN_PRINT.
1480
1481         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1482
1483 2004-03-27  Angus Leeming  <leeming@lyx.org>
1484
1485         * lfuns.h:
1486         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1487
1488         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1489
1490 2004-03-27  Angus Leeming  <leeming@lyx.org>
1491
1492         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1493         insetlist always contains non-null pointers to insets.
1494
1495 2004-03-26  Angus Leeming  <leeming@lyx.org>
1496
1497         * src/BufferView_pimpl.C:
1498         * src/CutAndPaste.C:
1499         * src/buffer.C:
1500         * src/iterators.C:
1501         * src/output_plaintext.C:
1502         * src/outputparams.h:
1503         * src/paragraph_funcs.C:
1504         * src/rowpainter.C:
1505         * src/text.C:
1506         * src/text2.C:
1507         * src/frontends/controllers/ControlErrorList.C:
1508         * src/frontends/gtk/FileDialogPrivate.C:
1509         * src/frontends/gtk/GPainter.C:
1510         * src/frontends/gtk/GToolbar.C:
1511         * src/frontends/qt2/QRef.C:
1512         * src/mathed/math_scriptinset.C: squash compiler warnings.
1513
1514 2004-03-26  Angus Leeming  <leeming@lyx.org>
1515
1516         * ispell.C (LaunchIspell::start):
1517         * lyx_cb.C (AutoSaveBuffer::start):
1518         invoke run(DontWait) rather than runNonBlocking().
1519
1520 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1521
1522         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1523
1524 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1525
1526         * kbsequence.C (print): adjust
1527
1528         * kbmap.C (printKeySym): rename and change signature
1529         (printKey): use LyXKeySym::print()
1530
1531 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1532
1533         * undo.C: add using std::advance to compile for stlport
1534
1535 2004-03-24  Angus Leeming  <leeming@lyx.org>
1536
1537         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1538         it leads to a crash when no buffer is present.
1539
1540 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541             Martin Vermeer  <martin.vermeer@hut.fi>
1542
1543         * lyxfunc.C (dispatch):
1544         * bufferparams.C (readToken): use the new LColor::setColor
1545
1546         * LColor.[Ch] (setColor): new version that takes two strings as
1547         argument and creates a new color entry if necessary
1548
1549 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1550
1551         * buffer.C (makeLaTeXFile): if the main latex file that is
1552         processed is usually a subdocument of some master, then pretend
1553         for a while that it is actually the master
1554
1555 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1556
1557         * buffer.C (getLabelList):
1558         (getBibkeyList): use getMasterBuffer()
1559         (getMasterBuffer): new method. Returns the main document in the
1560         case where one is using included documents.
1561
1562 2004-03-25  André Pönitz  <poenitz@gmx.net>
1563
1564         * Makefile.am:
1565         * iterators.[Ch]:
1566         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1567
1568         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1569
1570         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1571         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1572
1573         * ParameterStruct.h: merge with ParagraphParameters
1574
1575         * lyxtext.h: remove LyXText::parOffset() and getPar()
1576
1577         * text3.C: Remove all 'manual' update calls. We do now one per user
1578         interaction which is completely sufficient.
1579
1580         * Bidi.C:
1581         * BufferView.[Ch]:
1582         * BufferView_pimpl.C:
1583         * FontIterator.[Ch]:
1584         * MenuBackend.C:
1585         * ParagraphParameters.[Ch]:
1586         * buffer.C:
1587         * buffer.h:
1588         * bufferlist.C:
1589         * cursor.[Ch]:
1590         * cursor_slice.[Ch]:
1591         * dociterator.[Ch]:
1592         * errorlist.[Ch]:
1593         * factory.C:
1594         * lfuns.h:
1595         * lyxfind.C:
1596         * lyxfunc.C:
1597         * output_docbook.[Ch]:
1598         * output_latex.[Ch]:
1599         * output_linuxdoc.[Ch]:
1600         * output_plaintext.[Ch]:
1601         * paragraph.[Ch]:
1602         * paragraph_funcs.[Ch]:
1603         * paragraph_pimpl.[Ch]:
1604         * rowpainter.C:
1605         * tabular.[Ch]:
1606         * text.C:
1607         * text2.C:
1608         * toc.C:
1609         * undo.[Ch]: adjust
1610
1611         * frontends/controllers/ControlDocument.C:
1612         * frontends/controllers/ControlErrorList.C:
1613         * frontends/controllers/ControlSpellchecker.C:
1614         * insets/inset.C:
1615         * insets/inset.h:
1616         * insets/insetbase.h:
1617         * insets/insetbibitem.C:
1618         * insets/insetbox.C:
1619         * insets/insetbranch.C:
1620         * insets/insetcaption.C:
1621         * insets/insetcharstyle.C:
1622         * insets/insetcharstyle.h:
1623         * insets/insetcollapsable.C:
1624         * insets/insetcollapsable.h:
1625         * insets/insetert.C:
1626         * insets/insetfloat.C:
1627         * insets/insetfoot.C:
1628         * insets/insetmarginal.C:
1629         * insets/insetnote.C:
1630         * insets/insetoptarg.C:
1631         * insets/insettabular.C:
1632         * insets/insettext.C:
1633         * insets/insettext.h:
1634         * insets/insetwrap.C:
1635         * mathed/math_mboxinset.C:
1636         * mathed/math_nestinset.C:
1637         * mathed/math_scriptinset.C:
1638         * mathed/math_scriptinset.h:
1639         * support/types.h:
1640
1641 2004-03-24  Angus Leeming  <leeming@lyx.org>
1642
1643         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1644         deal with any child processes that have finished but are waiting to
1645         communicate this fact to the rest of LyX.
1646
1647 2004-03-24  Angus Leeming  <leeming@lyx.org>
1648
1649         64-bit compile fixes.
1650
1651         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1652         (c-tor): pass lyx::pos_types rather than ints.
1653
1654         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1655         lyx::pos_type.
1656
1657         * text.C (Delete): compile fix.
1658         (getPar): ensure that function declaration is the same as that in
1659         the header file.
1660
1661 2004-03-23  Angus Leeming  <leeming@lyx.org>
1662
1663         * ispell.C (LaunchIspell):
1664         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1665         a boost::shred_ptr rather than a std::auto_ptr.
1666
1667 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1668
1669         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1670         handle LFUN_FILE_INSERT_*
1671
1672         * lyxrc.C (setDefaults, getDescription, output, read):
1673         * lyxrc.h: remove ps_command
1674
1675 2004-03-22  Angus Leeming  <leeming@lyx.org>
1676
1677         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1678         Ensure that error_handler is processed once only and that all data
1679         is saved before attempting to output any warning messages.
1680
1681         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1682
1683 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1686
1687 2004-03-19  André Pönitz  <poenitz@gmx.net>
1688
1689         * cursor.[Ch] (reset): take main text inset as argument
1690
1691         * BufferView: adjust
1692         * BufferView_pimpl.C: adjust
1693
1694         * paragraph.[Ch]: fix completely broken operator=()
1695
1696 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1697
1698         * LColor.C (getFromLyXName): make sure that the color name is used
1699         as lowercase.
1700
1701 2004-03-17  Angus Leeming  <leeming@lyx.org>
1702
1703         * lfuns.h:
1704         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1705
1706         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1707         dialog and to kill a forked process.
1708
1709 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1710
1711         * text2.C (setCursorFromCoordinates): fix font problem
1712
1713 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1714
1715         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1716         bogus "rebuild cursor" code
1717
1718 2004-03-11  André Pönitz  <poenitz@gmx.net>
1719
1720         * buffer.[Ch]: use InsetText instead of LyXText as container for
1721         the main lyx text.
1722
1723         * dociterator.[Ch]: drop the BufferView * member which is not needed
1724         anymore after the change to buffer.C
1725
1726         * paragraph_funcs.C:
1727         * text.C:
1728         * text2.C:
1729         * BufferView.[Ch]:
1730         * BufferView_pimpl.[Ch]:
1731         * cursor.[Ch]:
1732         * cursor_slice.[Ch]: adjust
1733
1734         * text3.C: fix bug in mathDispatch
1735
1736 2004-03-08  André Pönitz  <poenitz@gmx.net>
1737
1738         * undo.[Ch]: use 'StableDocumentIterator' as base for
1739         the Undo struct.
1740
1741 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1742
1743         * LaTeXFeatures.C:
1744         * bufferparams.[Ch]: add jurabib support and param.
1745
1746         * LaTeX.C: add FIXME/comment.
1747
1748 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1749
1750         * buffer.C: increment file format to 230.
1751
1752 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * cursor.C (dispatch): avoid infinite loops
1755
1756 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * rowpainter.C (paintSelection): fix x coordinates
1759
1760 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * text.C (rowBreakPoint): fix breaking before displayed insets
1763
1764 2004-03-01  André Pönitz  <poenitz@gmx.net>
1765
1766         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1767
1768         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1769
1770         * Makefile.am:
1771         * BufferView.C:
1772         * BufferView_pimpl.C:
1773         * buffer.C:
1774         * lyxfind.C:
1775         * lyxfunc.C:
1776         * text.C:
1777         * text2.C:
1778         * text3.C: adjust
1779
1780 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * lyxtext.h:
1783         * text.C:
1784         * text2.C:
1785         * rowpainter.C:
1786         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1787         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1788
1789 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1790
1791         * Bidi.[Ch] (computeTables): const correctness
1792         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1793         fill_hfill, fill_label_hfill and x from Row
1794         * lyxtext.h: prepareToPrint returns a RowMetrics
1795         * rowPainter.C: adjust
1796         * text.C (prepareToPrint): use width, not textWidth. adjust
1797         (redoParagraphInternal, cursorX): adjust
1798         * text2.C (getColumnNearX): adjust
1799         (init): put a default value to the top LyXText::width
1800
1801 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1802
1803         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1804
1805 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1806
1807         * lyxtext.h: add FontIterator class
1808
1809         * text.C (FontIterator, operator*, operator->, operator++): add
1810         (rowBreakPoint, setRowWidth): adjust (fixing a
1811         rebreaking bug)
1812
1813 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * BufferView_pimpl.C (workAreaDispatch): allow also
1816         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1817
1818 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1819
1820         * text.C (rowBreakPoint): fix a bug showing with very large insets
1821
1822 2004-02-25  André Pönitz  <poenitz@gmx.net>
1823
1824         * text3.C:
1825         * cursor.[Ch]: move some mathed specific code to mathed
1826
1827 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1828
1829         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1830         use_tempdir in preferences
1831         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1832         tempfile creation
1833         * lyx_main.C: ensure that tempdir is valid
1834         * lyxlex.h: correct typo
1835         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1836         * paragraph.[Ch] (isMultiLingual): make const
1837         * cursor.[Ch] (openable): make const
1838
1839 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1840
1841         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1842
1843 2004-02-20  André Pönitz  <poenitz@gmx.net>
1844
1845         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1846
1847         * cursor.[Ch]: prepare for localized getStatus()
1848
1849         * lyxtext.h:
1850         * tabular.C:
1851         * text.C:
1852         * text2.C:
1853         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1854
1855 2004-02-20  André Pönitz  <poenitz@gmx.net>
1856
1857         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1858
1859 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1860
1861         * text2.C (setCursorFromCoordinates): switch to absolute coords
1862         (cursorUp): adjust
1863         (cursorDown): adjust
1864         * text3.C (dispatch): adjust
1865
1866 2004-02-16  André Pönitz  <poenitz@gmx.net>
1867
1868         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1869           insets/ChangeLog)
1870
1871         * cursor_slice.[Ch]: remove unneeded acessor function
1872
1873         * lyxtext.h: rename rtl() to isRTL()
1874
1875         * rowpainter.C:
1876         * tabular.C:
1877         * text.C:
1878         * text2.C:
1879         * text3.C: adjust
1880
1881 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * rowpainter.C (paintSelection): coord fix
1884
1885 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1886
1887         * Spacing.C: compile fix
1888
1889 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * cursor.C (dispatch): restore current_ before returning
1892
1893 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1894
1895         * text2.C (cursorUp, cursorDown): fix coords
1896         (moveUp): fix crash
1897
1898 2004-02-12  André Pönitz  <poenitz@gmx.net>
1899
1900         * lyxtext.h:
1901         * text.C:
1902         * text2.C:
1903         * text3.C: add LCursor & parameter to most cursor movement functions
1904           remove usage of LyXText::cursorRow() and cursorPar()
1905
1906         * cursor.[Ch]: add textRow() needed members
1907
1908         * BufferView.C:
1909         * BufferView_pimpl.C:
1910         * paragraph.[Ch]:
1911         * BufferView.C:
1912         * BufferView_pimpl.C: adjust
1913
1914 2004-02-11  André Pönitz  <poenitz@gmx.net>
1915
1916         * lyxfunc.C:
1917         * BufferView.[Ch]:
1918         * BufferView_pimpl.C: shift undo/redo handling
1919
1920         * cursor.[Ch]: fix mathed crash
1921
1922         * lyxfind.C:
1923         * lyxtext.h: move selectionAsText to LCursor
1924
1925         * output_latex.C:
1926         * paragraph.C:
1927         * text.C:
1928         * text2.C:
1929         * text3.C: adjust
1930
1931         * rowpainter.C: fix excessive drawing
1932
1933 2004-02-06  André Pönitz  <poenitz@gmx.net>
1934
1935         * BufferView.[Ch]:
1936         * BufferView_pimpl.[Ch]:
1937         * text3.C: move some text specific LFUN handling
1938
1939 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * text3.C (checkInsetHit): adjust coords
1942         * text2.C (getColumnNearX): adjust coords
1943         (edit): adjust coords
1944         * text.C (getRowNearY): add two asserts
1945
1946 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1947
1948         * converter.C:
1949         * format.C: add using std::distance to compile on gcc 2.95/stlport
1950
1951 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1952
1953         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1954
1955 2004-02-04  André Pönitz  <poenitz@gmx.net>
1956
1957         * BufferView.[Ch] (insertInset):
1958         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1959
1960         * text2.C:
1961         * text3.C: adjust
1962
1963 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1966         on the default clause of the switch
1967         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1968         wasn't catched by LCursor::dispatch
1969
1970 2004-02-03  André Pönitz  <poenitz@gmx.net>
1971
1972         * BufferView.C:
1973         * cursor.[Ch]: some additional asserts
1974
1975         * undo.[Ch]: remove LyXText dependency in interface
1976
1977         * lyxfunc.C: adjust
1978
1979         * lyxtext.h (firstPar, lastPar): remove dead functions
1980
1981         * text.C:
1982         * text2.C:
1983         * text3.C:
1984         * paragraph.[Ch]: adjust
1985
1986 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1987
1988         * lyxfind.C (find): fix argument order in call to ::find
1989
1990 2004-02-02  André Pönitz  <poenitz@gmx.net>
1991
1992         * cursor.[Ch]: remove direct access to anchor
1993
1994         * text.C: remove findText() hack
1995
1996 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * iterators.[Ch] (lockPath): remove in favour of...
1999         * BufferView.[Ch] (setCursor): this addition
2000         * BufferView.C (putSelectionAt): adjust
2001         * undo.C (performUndoOrRedo): adjust
2002         * lyxfunc.C (dispatch): adjust
2003
2004 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2005
2006         * iterators.C (lockPath): add a missing slice
2007         * undo.C (performUndoOrRedo): remove redundant positioning code
2008
2009 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2010
2011         * vc-backend.C (scanMaster): ";" -> ';'
2012
2013 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2014
2015         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2016         std::binary_function
2017
2018         * lyxtextclass.C (compare_name): rename to...
2019         (LayoutNamesEqual): ...this
2020
2021         * lyxlex_pimpl.C (compare_tags): inherit from
2022         std::binary_function, put back into anon namespace
2023
2024         * lyxfind.C (MatchString): inherig from std::binary_function
2025         (findChange): use empty() istead of !size()
2026
2027         * format.C (FormatNamesEqual): new functor
2028         (getFormat): use it
2029         (getNumber): use it
2030         (add): use it
2031         (erase): use it
2032         (setViewer): use it
2033
2034         * converter.C (compare_Converter): rename to...
2035         (ConverterEqual): ...this, and fixup a bit.
2036         (getConverter): use it, and make function const
2037         (getNumber): use it, and make function const
2038         (add): use it
2039         (erase): use it:
2040
2041         * bufferlist.C: add using boost::bind
2042
2043         * MenuBackend.C (MenuNamesEqual): new functor
2044         (hasMenu): use it, and make function const
2045         (hasSubmenu): use nested bind to get rid of compare_memfun.
2046
2047 2004-01-30  André Pönitz  <poenitz@gmx.net>
2048
2049         * BufferView_pimpl.C:
2050         * cursor.C:
2051         * cursor.h:
2052         * cursor_slice.[Ch]:
2053         * lyxfunc.C:
2054         * lyxtext.h:
2055         * paragraph_funcs.C:
2056         * paragraph_funcs.h:
2057         * rowpainter.C:
2058         * text.C:
2059         * text2.C:
2060         * text3.C: move some of the edit(x,y) handling to the insets
2061         some coordinate changes.
2062
2063 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2064
2065         * text.C: add using statements for std::advance and std::distance
2066
2067         * paragraph.C: add using statement for std::distance
2068
2069         * lyxfind.C: add using statement for std::advance
2070
2071         * cursor.C (region): remove std:: from swap
2072         (openable): use nucleus in stead of operator->
2073
2074         * BufferView.C: add using statements for std::distance and std::swap
2075
2076 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2077
2078         * iterators.C: Remove the pimple, move the needed structures to
2079         the header file. Create accessor for the positions stack.
2080         (asPosIterator): remove function
2081
2082         * PosIterator.C (PosIterator): move constructors to top of file
2083         (PosIterator): reimplement the constructor taking a ParIterator in
2084         terms of setFrom.
2085         (setFrom): new function
2086         (operator!=): inline it
2087
2088 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2089
2090         * lyxfind.C (replaceAll): use std::advance
2091
2092         * iterators.h: inherit from std::iterator.
2093
2094         * PosIterator.C (advance, distance): remove
2095         * PosIterator.h: interit from std::iterator.
2096
2097 2004-01-26  André Pönitz  <poenitz@gmx.net>
2098
2099         * BufferView.[Ch]:
2100         * BufferView_pimpl.[Ch]:
2101         * InsetList.[Ch]:
2102         * PosIterator.[Ch]:
2103         * buffer.h:
2104         * bufferview_funcs.C:
2105         * cursor.[Ch]:
2106         * cursor_slice.h:
2107         * factory.[Ch]:
2108         * iterators.[Ch]:
2109         * lyxfind.C:
2110         * lyxfunc.C:
2111         * lyxtext.h:
2112         * output_docbook.C:
2113         * output_latex.C:
2114         * output_linuxdoc.C:
2115         * output_plaintext.C:
2116         * paragraph.[Ch]:
2117         * paragraph_funcs.[Ch]:
2118         * paragraph_pimpl.[Ch]:
2119         * rowpainter.C:
2120         * tabular.C:
2121         * tabular.h:
2122         * text.C:
2123         * text2.C:
2124         * text3.C: more IU:  dumps most of the rest of the mathcursor
2125     implementation into cursor.[Ch]; "globalize" a bit of it.
2126
2127 2004-01-25  Angus Leeming  <leeming@lyx.org>
2128
2129         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2130
2131 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2132
2133         * LaTeXFeatures.h: add nice_ and nice() const
2134         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2135
2136 2004-01-20  André Pönitz  <poenitz@gmx.net>
2137
2138         * BufferView.[Ch]:
2139         * BufferView_pimpl.C:
2140         * PosIterator.C:
2141         * bufferview_funcs.C:
2142         * cursor.[Ch]:
2143         * cursor_slice.[Ch]:
2144         * factory.C:
2145         * iterators.C:
2146         * lyx_cb.C:
2147         * lyxfind.C:
2148         * lyxfunc.C:
2149         * lyxtext.h:
2150         * rowpainter.C:
2151         * text.C:
2152         * text2.C:
2153         * text3.C:
2154         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2155           LCursor and mathcursor parts to LCursor and InsetBase.
2156
2157 2004-01-15  André Pönitz  <poenitz@gmx.net>
2158
2159         * cursor_slice.[Ch]: add a few covienience functions
2160
2161         * funcrequest.[Ch]: remove BufferView * member
2162
2163         * BufferView_pimpl.C:
2164         * cursor.C:
2165         * factory.[Ch]:
2166         * lyxfind.[Ch]:
2167         * lyxfunc.C:
2168         * lyxtext.h:
2169         * text3.C:
2170         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2171
2172 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2175         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2176
2177 2004-01-13  André Pönitz  <poenitz@gmx.net>
2178
2179         * textcursor.[Ch]:
2180         * lyxtext.h: hide cursor and selection anchor behind accessor function
2181
2182         * BufferView.C:
2183         * BufferView_pimpl.[Ch]:
2184         * PosIterator.C:
2185         * bufferview_funcs.C:
2186         * cursor.h:
2187         * lyxfind.C:
2188         * lyxfunc.C:
2189         * text.C:
2190         * text2.C:
2191         * text3.C:
2192         * undo.C: adjust
2193
2194         * cursor.h:
2195         * cursor_slice.[Ch]: some integer type changes for inset unification
2196
2197         * lyxcursor.[hC]: remove, it's CursorSlice now.
2198
2199         * Makefile.am:
2200         * BufferView_pimpl.[Ch]:
2201         * bufferview_funcs.C:
2202         * cursor_slice.C:
2203         * lyxtext.h:
2204         * text.C:
2205         * text2.C:
2206         * text3.C:
2207         * textcursor.[Ch]: adjust
2208
2209 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2210
2211         * text2.C (undoSpan): add and use
2212         * text.C (breakParagraph): use undoSpan (fix bug 578)
2213         * lyxtext.h: adjust
2214
2215 2004-01-08  Angus Leeming  <leeming@lyx.org>
2216
2217         * BufferView_pimpl.C (MenuInsertLyXFile):
2218         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2219         * lyxfunc.C (menuNew, open, doImport):
2220         FileFilterList change to the FileDialog open and save functions.
2221
2222 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2223
2224         * ShareContainer.h: make isEqual and isUnique adaptable
2225
2226         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2227
2228 2004-01-07  Angus Leeming  <leeming@lyx.org>
2229
2230         * LyXAction.C:
2231         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2232
2233         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2234
2235         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2236         functions replacing find, replace and replaceAll.
2237
2238         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2239         LFUN_WORDFIND(FORWARD|BACKWARD).
2240
2241 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * text.C (breakParagraph): remove an outdated #warning
2244
2245 2004-01-07  André Pönitz  <poenitz@gmx.net>
2246
2247         * lyxfind.C: somewhat clearer logic
2248
2249         * text.C: prevent crash in cursorX on unitialized row cache
2250
2251 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * lyxcursor.[Ch] (operator>): add
2254         * textcursor.C (selStart, selEnd): use std::min and std::max
2255
2256 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2257
2258         * Chktex.C: include boost/format.hpp
2259
2260 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2261
2262         * InsetList.C: replace functor MathcIt with adaptable functor
2263         InsetTablePosLess
2264         (insetIterator): modify accordingly
2265
2266         * BranchList.h: move the BranchNamesEqual functor here from...
2267         * BranchList.C: ... to here
2268
2269         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2270         SameName and match.
2271         (add): replace a finding loop with std::find_if.
2272
2273 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2274
2275         * output_docbook.C: moving LatexParam functionality into
2276         .layout files
2277
2278 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2279
2280         * buffer.C: increment format to 229.
2281
2282 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2283
2284         * LaTeXFeatures.C:
2285         * lyx_sty.[Ch]: remove minipageindent_def
2286
2287         * LyXAction.C:
2288         * factory.C:
2289         * lfuns.h:
2290         * lyxfunc.C:
2291         * text3.C: remove LFUN_INSET_MINIPAGE
2292
2293 2003-12-28  Angus Leeming  <leeming@lyx.org>
2294
2295         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2296
2297 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * text2.C (setParagraph): fix off-by-one crash
2300
2301 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2302
2303         * output_docbook.C: header stuff for AGU
2304
2305 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * text2.C (redoCursor): remove
2308         * text.C:
2309         * text3.C:
2310         * BufferView_pimpl.C: remove calls to redoCursor and
2311         setCursor(cursor.par(), cursor.pos()) all around
2312
2313 2003-12-15  Angus Leeming  <leeming@lyx.org>
2314
2315         * buffer.C: up the format to 228.
2316
2317 2003-12-15  André Pönitz  <poenitz@gmx.net>
2318
2319         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2320         slices
2321
2322         * Makefile.am:
2323
2324         * BufferView_pimpl.C:
2325         * cursor.[Ch]:
2326         * lyxcursor.[Ch]:
2327         * rowpainter.[Ch]:
2328         * lyxtext.h:
2329         * text.C:
2330         * text2.C:
2331         * text3.C: adjust
2332
2333 2003-12-15  Angus Leeming  <leeming@lyx.org>
2334
2335         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2336         than getFromGUIName to manipulate the color.
2337
2338 2003-12-14  Angus Leeming  <leeming@lyx.org>
2339
2340         * BranchList.[Ch]: minimize the API.
2341         (Branch::getBranch, getColor): now return a 'const &'.
2342         (Branch::setSelected) now returns a bool set to true if the
2343         selection status changes.
2344         (BranchList::clear, size, getColor, setColor, setSelected,
2345         allBranches, allSelected, separator): removed.
2346         (BranchList::find): new functions, returning the Branch with
2347         the given name.
2348         (BranchList::add, remove): return a bool indicating that
2349         the operation was successful.
2350
2351         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2352         new InsetBranch::isBranchSlected member function.
2353
2354         * LColor.[Ch]: mimimize the API.
2355         (fill): renamed as addColor and made private.
2356         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2357         versions of these functions taking a string arg have been removed.
2358
2359         * bufferparams.C (readToken):
2360         * lyxfunc.C (dispatch):
2361         * lyxrc.C (read): changes due to the altered BranchList and
2362         LColor APIs.
2363
2364         * factory.C (createInset, readInset): changes due to altered
2365         InsetBranch c-tor.
2366
2367 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2368
2369         * factory.C:
2370         * lyxfunc.C: remove insetminipage. "minipage-insert"
2371         now produces a frameless minipage box inset.
2372
2373 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * textcursor.[Ch] (selStart,selEnd): add new methods
2376         remove selection::start, end, use LyXCursor::operator<
2377         * lyxcursor.[Ch] (operator<): add
2378         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2379         * BufferView.[Ch] (unsetXSel): add
2380         * text2.C (clearSelection): use unsetXSel,adjust
2381         * text.C: adjust
2382         * text3.C: adjust
2383         * rowpainter.C: adjust
2384         * bufferview_funcs.C (put_selection_at): adjust
2385
2386 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2387
2388         * BufferView_pimpl.C: small coord. correction
2389
2390 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2391
2392         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2393         dragging over the splash screen.
2394
2395 2003-12-11  Angus Leeming  <leeming@lyx.org>
2396
2397         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2398         as it is now handled in LyXText::dispatch.
2399
2400         * text3.C (doInsertInset): remove a level of nesting.
2401
2402 2003-12-11  Angus Leeming  <leeming@lyx.org>
2403
2404         * factory.C (createInset): changes due to the changed interface to
2405         InsetCommandMailer::string2params.
2406
2407 2003-12-10  Angus Leeming  <leeming@lyx.org>
2408
2409         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2410         'dialog-show-new-inset <inset name>'
2411
2412 2003-12-10  Angus Leeming  <leeming@lyx.org>
2413
2414         * buffer.C: up the format to 227.
2415
2416         * factory.C: the box inset is now identified simply by 'Box'.
2417
2418 2003-12-10  Angus Leeming  <leeming@lyx.org>
2419
2420         * buffer.C: up the format to 226.
2421
2422         * factory.C: the note inset is now identified simply by 'Note'.
2423
2424 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2425
2426         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2427         when a pit is enough. Standarize a couple of loops.
2428
2429 2003-12-05  Angus Leeming  <leeming@lyx.org>
2430
2431         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2432         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2433         data to the re-worked "log" dialog.
2434
2435 2003-12-03  André Pönitz  <poenitz@gmx.net>
2436
2437         * PosIterator.C:
2438         * iterators.C:
2439         * lyxtext.h:
2440         * output_latex.C:
2441         * paragraph_funcs.C:
2442         * text.C:
2443         * text2.C: use Inset::getText instead of Inset::getParagraph
2444
2445 2003-12-03  André Pönitz  <poenitz@gmx.net>
2446
2447         * buffer.[Ch]:
2448         * lyxtext.h:
2449         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2450         InsetText::read() as LyXText::read()
2451
2452 2003-12-02  Angus Leeming  <leeming@lyx.org>
2453
2454         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2455         type. Add a comment in the implementation that the function uses
2456         the stream's bad() function rather than fail() as the std::streams
2457         would do.
2458
2459 2003-12-02  André Pönitz  <poenitz@gmx.net>
2460
2461         * lyxlex.[Ch]: make interface more similar to std::stream
2462
2463         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2464
2465 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2468
2469 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2470
2471         * vspace.[Ch]: remove VSpace::NONE
2472
2473 2003-12-01  André Pönitz  <poenitz@gmx.net>
2474
2475         * buffer.[Ch]:
2476         * lyxtext.h: move ParagraphList member to LyXText
2477         rename LyXText::ownerParagraphs to LyXText::paragraph
2478
2479         * CutAndPaste.C:
2480         * bufferview_funcs.C:
2481         * iterators.[Ch]:
2482         * lyx_cb.C:
2483         * paragraph.C:
2484         * rowpainter.C:
2485         * tabular.C:
2486         * text.C:
2487         * text2.C:
2488         * text3.C: adjust
2489
2490         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2491
2492         * undo.C: fix cursor positioning
2493
2494 2003-12-01  John Levon  <levon@movementarian.org>
2495
2496         * BufferView_pimpl.C: fix a crash on exit with
2497         a buffer open
2498
2499 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2500
2501         * BranchList.C: fix setSelected() method.
2502
2503 2003-11-28  André Pönitz  <poenitz@gmx.net>
2504
2505         * ParagraphParameters.[Ch]:
2506         * ParameterStruct.h: remove space above/below from Paragraph to
2507          InsetVSpace
2508
2509         * BufferView_pimpl.C:
2510         * factory.C:
2511         * lyxfunc.C:
2512         * lyxtext.h:
2513         * output_latex.C:
2514         * paragraph.C:
2515         * paragraph_funcs.C:
2516         * rowpainter.[Ch]:
2517         * text.C:
2518         * text2.C:
2519         * text3.C: adjust
2520
2521 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2522
2523         * factory.C: Syntax change for CharStyles
2524
2525 2003-11-28  André Pönitz  <poenitz@gmx.net>
2526
2527         * BufferView.[Ch]:
2528         * BufferView.[Ch]:
2529         * buffer.[Ch]:
2530         * buffer.[Ch]: move LyXText member
2531
2532 2003-11-28  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView.[Ch]: make LyXText * text a private member
2535
2536         * BufferView_pimpl.C:
2537         * cursor.C:
2538         * iterators.C:
2539         * lyx_cb.C:
2540         * lyxfind.C:
2541         * lyxtext.h:
2542         * rowpainter.[Ch]:
2543         * text.C:
2544         * text2.C:
2545         * undo.C: adjust
2546
2547         * output_plaintext.C: cleanup
2548
2549 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * buffer.C:
2552         * lyxtextclass.[Ch]: parametrize SGML document header
2553
2554 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2555
2556         * converter.[Ch]:
2557         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2558         getFlavor().
2559
2560 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * text2.C (setFont): rework using PosIterator (no more recursive)
2563         (setCharFont): no more needed
2564         (setLayout): no more selection cursors fiddling (done by redoCursor)
2565         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2566         destroy remaining ones)
2567
2568 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2571         * lyxtext.h: ditto
2572         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2573         selection cursors
2574         * lyxfunc.C: adjust
2575         * text3.C: adjust + re-allow multi par depth changes
2576         * textcursor.C: simplify a bit
2577
2578 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2579
2580         * src/buffer.C:
2581         * src/lyxlayout.C:
2582         * src/lyxlayout.h:
2583         * src/lyxtext.h:
2584         * src/output_docbook.C:
2585         * src/output_latex.C:
2586         * src/paragraph.C:
2587         * src/paragraph.h:
2588         * src/sgml.C:
2589         * src/sgml.h:
2590         * src/text2.C: Introducing a number of tags parametrizing various
2591         XML formats that we may want to support
2592
2593 2003-11-25  André Pönitz  <poenitz@gmx.net>
2594
2595         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2596
2597         * lyxtext.h (leftMargin/rightMargin): simplify interface
2598
2599         * rowpainter.C:
2600         * text.C:
2601         * text2.C:
2602         * text3.C: adjust
2603
2604 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2605
2606         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2607         master file to any child files. Fixes bug 546.
2608
2609 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2610
2611         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2612
2613 2003-11-24  André Pönitz  <poenitz@gmx.net>
2614
2615         * rowpainter.C: simplification
2616
2617         * text2.C (updateCounters): remove call to redoParagraph on
2618         changed labels as this is far too expensive.
2619
2620 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2621
2622         * converter.C (convert): fix a crash: this function gets
2623         called with buffer == 0 from importer code.
2624
2625 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2626
2627         * text3.C (cursorPrevious): make sure that we do not compare
2628         iterators form different containers.
2629         (cursorNext): ditto
2630
2631         * rowpainter.C (paintSelection): make sure that we do not compare
2632         iterators from different containers.
2633
2634         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2635         iterators from different ParagraphList containers.
2636         [NEXT] ditto
2637
2638         * text2.C (LyXText): change order of initialization slightly
2639         (operator=): new function. copy all variables except cache_par_
2640         (moveUp): make sure that we do not compare iterators from
2641         different ParagraphList constainers.
2642         (moveDown): ditto
2643
2644         * text.C (firstPar): new function
2645         (lastPar): new function
2646         (endPar): new function
2647
2648         * lyxtext.h: move things around and group public functions, public
2649         variables, private functions, private variables
2650
2651 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2652
2653         * factory.C: change call to InsetERT constructor to avoid
2654         additional invocation of method status
2655         * text2.C (toggleInset): remove redundant update() call
2656         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2657         instead of a Bufferview pointer
2658
2659 2003-11-21  André Pönitz  <poenitz@gmx.net>
2660
2661         * rowpainter.C: simplification
2662
2663 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2664
2665         * text3.C (dispatch): make possible to extend a word/row selection
2666         with the mouse
2667
2668 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * lyxtext.h: x0_,y0_ -> xo_,yo_
2671         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2672         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2673         * rowpainter.C (paintRows): paint full paragraphs
2674
2675 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2678         screen coordinates)
2679
2680 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * lyxtext.h: add x0_, y0_
2683         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2684         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2685
2686 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * text2.C (setCursorIntern): move the x_target update here *
2689         * text3.C: change some bv() to true/false in calls to
2690         cursorUp/Down/Right/Left
2691         * cursor.C: use helper function.
2692
2693 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2694
2695         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2696         * paragraph_funcs.[Ch]: correct comment
2697         * rowpainter.C: do not paint selections away from bv->cursor()
2698         Fix a long standing selection painting bug.
2699         * text3.C: generalize mouse-selection code to LyXTexts other that
2700         top one
2701         * textcursor.C: do not use y coords if we can use par offsets
2702
2703 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2706         cursor position after e.g. inset insert)
2707
2708 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * lyxfind.C (replace): adjust to locking removal + some
2711         code simplification
2712
2713 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2716         of the path
2717
2718 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2719
2720         * lyxlayout.[Ch]:
2721         * output_docbook.C: XML sanitation: new layout
2722         parameters InnerTag and CommandDepth
2723
2724 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2725
2726         * BufferView_pimpl.C:
2727         * factory.C:
2728         * text3.C: Fix the insertion and modification of button-style
2729         insets
2730
2731 2003-11-13  André Pönitz  <poenitz@gmx.net>
2732
2733         * InsetList.[Ch]: remove deleteLyXText
2734
2735         * paragraph.[Ch]: cache beginOfBody position
2736
2737         * Bidi.C:
2738         * text.C:
2739         * text2.C:
2740         * text3.C: remove superfluous update() calls
2741
2742         * vspace.C: cleanup
2743
2744 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2745
2746         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2747         * BufferView.C (fitLockedInsetCursor): remove
2748         * cursor.[Ch] (getDim): add
2749         * text.C (getRowNearY): add faster version
2750         * text3.C: remove some update calls
2751
2752 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2753
2754         * LaTeXFeatures.C:
2755         * LyXAction.C:
2756         * MenuBackend.C:
2757         * MenuBackend.h:
2758         * dispatchresult.h:
2759         * factory.C:
2760         * lfuns.h:
2761         * lyxfunc.C:
2762         * lyxtextclass.C:
2763         * lyxtextclass.h:
2764         * text3.C: The Character Style /XML short element patch.
2765
2766 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2767
2768         * text3.C:
2769         * factory.C: Small step to solving 'unable to insert some insets'
2770         problem
2771
2772 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * cursor.[Ch] (updatePos): new function for updating the y
2775         position of the tip inset
2776         * bufferview_funcs.C (put_selection_at):
2777         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2778
2779 2003-11-11  André Pönitz  <poenitz@gmx.net>
2780
2781         * text.C: remove big comment on invalid Paragraph pointers as it is
2782         not valid anymore
2783
2784 2003-11-11  André Pönitz  <poenitz@gmx.net>
2785
2786         * text_funcs.[Ch]: merge with ...
2787
2788         * text.C: ... this
2789
2790         * lyxtext.h:
2791         * text2.C:
2792         * text3.C: adjust
2793
2794         * Makefile.am: remove text_funcs.[Ch]
2795
2796 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2797
2798         * cursor.C (getPos): return absolute cached y coord
2799
2800         * BufferView_pimpl.C (fitCursor): new simplistic code
2801         (workAreaDispatch): add a fitCursor call
2802
2803 2003-11-10  André Pönitz  <poenitz@gmx.net>
2804
2805         * BufferView.[Ch]:
2806         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2807
2808 2003-11-10  André Pönitz  <poenitz@gmx.net>
2809
2810         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2811         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2812         indicate that the cursor needs to leave an inset
2813
2814         * lyxtext.h: remove inset locking
2815
2816         * cursor.[Ch]: re-implement functionality provided by inset locking
2817
2818         * BufferView.[Ch]:
2819         * BufferView_pimpl.[Ch]:
2820         * LyXAction.C:
2821         * bufferview_funcs.[Ch]:
2822         * factory.C:
2823         * funcrequest.[Ch]:
2824         * iterators.C:
2825         * lyx_cb.C:
2826         * lyxfind.C:
2827         * lyxfunc.C:
2828         * text.C:
2829         * text2.C:
2830         * text3.C:
2831         * undo.C: adjust
2832
2833 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * PosIterator.[Ch]: replace the stack with a vector, add inset
2836         accesor
2837         * iterators.[C]: adjust
2838
2839 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2842         replaced
2843         * paragraph_funcs.C (readParToken): put the correct id in the
2844         error item, not the id of the top paragraph
2845
2846 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2847
2848         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2849         * bufferview_funcs.C (put_selection_at): use the above
2850
2851 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2854
2855 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2856
2857         * output_linuxdoc.h:
2858         * output_plaintext.h:
2859         * output.h:
2860         * output_docbook.h: add #include statements
2861
2862 2003-11-05  José Matos  <jamatos@lyx.org>
2863
2864         * output_docbook.[Ch]:
2865         * output_latex.[Ch]:
2866         * output_linuxdoc.[Ch]:
2867         * output_plaintext.[Ch]: New files for output formats.
2868         * output.[Ch]: New file for helper functions.
2869
2870         * buffer.[Ch]:
2871         * paragraph_funcs.[Ch]: output functions moved to new files.
2872
2873         * outputparams.h: rename of latexrunparams.h
2874
2875         * LaTeX.[Ch]:
2876         * buffer.[Ch]:
2877         * bufferlist.[Ch]:
2878         * converter.[Ch]:
2879         * exporter.C:
2880         * paragraph.[Ch]:
2881         * paragraph_funcs.[Ch]:
2882         * paragraph_pimpl.[Ch]:
2883         * tabular.[Ch]: rename ascii to plaintext
2884         and LatexRunParams to OutputParams.
2885
2886 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2887
2888         * iterators.[Ch] (text): require bv argument
2889         * undo.C (recordUndo):
2890         * lyxfunc.C (dispatch):
2891         * bufferview_funcs.C (put_selection_at): adjust
2892
2893 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2894
2895         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2896
2897 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2898
2899         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2900         nestings
2901
2902 2003-11-04  André Pönitz  <poenitz@gmx.net>
2903
2904         * cursor.[Ch]: restructure
2905
2906         * BufferView.[Ch]:
2907         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2908
2909         * iterators.[Ch] (asCursor): remove
2910
2911         * lfuns.h: remove LFUN_INSET_EDIT
2912
2913         * lyxfunc.C:
2914         * tabular.C:
2915         * text.C:
2916         * text2.C:
2917         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2918
2919 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2920
2921         * lyxfind.[Ch]: complete overhaul
2922         * BufferView_pimpl.C:
2923         * lyxfunc.C: adjust
2924         * paragraph.[Ch] (insert): add
2925
2926 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * BufferView.[Ch]:
2929         * lyxtext.h:
2930         * text.C: remove dead spellcheck code
2931
2932 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * dispatchresult.h: add a val setter
2935
2936         * cursor.C (dispatch): use a tempvar for data_[i]
2937
2938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * PosIterator.[Ch]: compile fix
2941
2942 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * text.C (cursorPar): deactivate the cursor cache
2945
2946 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2949
2950 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * text3.C (dispatch): adjust for new DisptchResult semantics.
2953
2954         * lyxfunc.C (dispatch): handle update when return from
2955         Cursor::dispatch, adjust for new DispatchResult semantics.
2956
2957         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2958         DispatchResult(true) mean to not update. Add class functions for
2959         setting dispatched and update, as well as reading.
2960
2961         * cursor.C (dispatch): don't handle update here
2962
2963 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2964
2965         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2966         * trans_mgr.C: adjust
2967
2968         * paragraph_funcs.C (readParToken): exception safety
2969
2970         * lyxvc.h: store the vcs pointer in a scoped_ptr
2971         * lyxvc.C: adjust
2972
2973         * lyxsocket.C (serverCallback): exception safety
2974
2975         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2976
2977         * ispell.C (clone): make it return a auto_ptr
2978
2979         * factory.C (createInset): exception safety
2980         (readInset): exception safety
2981
2982         * bufferlist.C (newBuffer): exception safety
2983
2984         * Thesaurus.C (Thesaurus): use initialization for aik_
2985
2986         * MenuBackend.C (expandToc): exception safety.
2987
2988 2003-11-03  André Pönitz  <poenitz@gmx.net>
2989
2990         * buffer.C:
2991         * buffer.h:
2992         * bufferview_funcs.C: remove getInsetFromId()
2993
2994         * lyxcursor.[Ch]:
2995         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2996
2997         * lyxfunc.C:
2998         * text2.C:
2999         * text3.C: adjust
3000
3001 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * PosIterator.C (distance, advance): new
3004         * bufferview_funcs.[Ch] (put_selection_at): new
3005         * iterators.[Ch] (lockPath): new
3006
3007 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * iterators.[Ch] (asPosIterator): added
3010         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3011         * PosIterator.[Ch]: added
3012
3013 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3014
3015         * text3.C:
3016         * lyxfunc.C:
3017         * cursor.C (dispatch):
3018         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3019
3020         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3021         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3022         contructor, add a class function dispatched. Remove operator>=
3023
3024 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * debug.C: only use the default constructor for debugstream
3027         (lyxerr) here.
3028
3029         * main.C (main): include debug.h and setup the lyxerr streambuf
3030         here.
3031
3032 2003-10-31  José Matos  <jamatos@lyx.org>
3033
3034         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3035
3036         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3037         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3038         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3039         * paragraph_pimpl.C (simpleTeXSpecialC):
3040         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3041         add LatexRunParams argument.
3042
3043         * exporter.C (Export): change call accordingly.
3044
3045         * latexrunparams.h: add new member to take care of the other backends.
3046 2003-10-30  José Matos  <jamatos@lyx.org>
3047
3048         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3049         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3050         factorise code for paragraph output.
3051         * buffer.[Ch]:
3052         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3053         move functions.
3054
3055 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * text3.C (dispatch):
3058         * lyxfunc.C (dispatch):
3059         * cursor.C (dispatch):
3060         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3061
3062         * dispatchresult.h: make the dispatch_result_t ctor explicit
3063
3064 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3065
3066         * sgml.[Ch]:
3067         * buffer.C: small refactoring of docbook stuff
3068
3069 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3072         meaning.
3073
3074 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3077         operator dispatch_result_t, and operators for == != and >=
3078
3079         * cursor.C (dispatch): adjust for operator dispatch_result_t
3080         removal. comment out call to update
3081
3082         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3083
3084 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * text3.C:
3087         * text2.C:
3088         * text.C:
3089         * lyxtext.h:
3090         * lyxfunc.C:
3091         * cursor.C:
3092         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3093         (dispatch):
3094
3095         * dispatchresult.h: new file, DispatchResult broken out of
3096         insets/insetbase.h
3097
3098         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3099
3100 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3101
3102         * text.C (rowBreakPoint): put a hack inside #if 0
3103
3104 2003-10-28  André Pönitz  <poenitz@gmx.net>
3105
3106         * lyxtext.h:
3107         * metricsinfo.C:
3108         * paragraph_funcs.C:
3109         * rowpainter.C:
3110         * text.C:
3111         * text2.C: general cleanup (lots of small stuff)
3112
3113 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text2.C (cursorEnd): simple fix to the "end key goes to one
3116         before the end on last row" bug
3117
3118 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * text.C (backspace): fix the "zombie characters"
3121
3122 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3125
3126 2003-10-27  André Pönitz  <poenitz@gmx.net>
3127
3128         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3129
3130         * factory.C: handle new InsetPagebreak, InsetLine
3131
3132         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3133         and move handling into new InsetPagebreak, InsetLine
3134
3135         * BufferView_pimpl.C:
3136         * LyXAction.C:
3137         * ParagraphParameters.C:
3138         * ParameterStruct.h:
3139         * lyxfunc.C:
3140         * lyxtext.h:
3141         * paragraph.C:
3142         * paragraph.h:
3143         * paragraph_funcs.C:
3144         * paragraph_pimpl.C:
3145         * rowpainter.C:
3146         * text.C:
3147         * text2.C:
3148         * text3.C: adjust
3149
3150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3151
3152         * text.C:
3153         * lyxrow_funcs.[Ch]:
3154         * Bidi.C:
3155         * paragraph.C:
3156         * lyxtext.h:
3157         * rowpainter.C:
3158         * text2.C:
3159         * text3.C: remove lastPos uses in favour of Row::endpos
3160
3161 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * undo.C (performUndoOrRedo): fix two crashes by setting a
3164         cursor by hand and reordering some calls. Use bv->lockInset instead
3165         of inset->edit because the latter loses cursor information
3166
3167 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3170         by Martin
3171         (rowBreakPoint): fix width. change point to point + 1.
3172         Add a missing check.
3173
3174 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3175
3176         * MenuBackend.C:
3177         * lyxfunc.C: fix (at least partly) the problems
3178         with the Nav menu and headers inside branch insets
3179         reported by Kayvan
3180
3181 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * paragraph.C (getChar): add strong asserts
3184
3185         * lyxrow_funcs.C (lastPos): remove hideous hack
3186
3187         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3188         (fill): adjust to that (avoid an infinite loop)
3189
3190 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3193
3194 2003-10-23  André Pönitz  <poenitz@gmx.net>
3195
3196         * RowList_fwd.h: change list<> to vector<> to gain speed
3197         after suggestion from Alfredo
3198
3199 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3200
3201         * lyxtext.h: move the bidi stuff from here...
3202         * text.C: and here
3203         * text2.C: and here
3204         * Bidi.[Ch]: ... to here
3205
3206 2003-10-23  André Pönitz  <poenitz@gmx.net>
3207
3208         * lyxtext.h:
3209         * text.C (isLastRow, isFirstRow): new functions
3210
3211         * paragraph.h: new width cache member
3212
3213         * rowpainter.C: replace RowList::iterator with Row & where possible
3214
3215         * lyxfunc.C: replace several view()->text with a single call
3216
3217         * toc.C: fix 'unused' warning
3218
3219 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3220
3221         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3222         when woring with stream::pos_type
3223         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3224
3225 2003-10-22  André Pönitz  <poenitz@gmx.net>
3226
3227         * lyxtext.h:
3228         * text.C: use Row & instead of RowList::iterator
3229
3230         * lyxrow.h: rename end() to endpos()
3231
3232         * rowpainter.C:
3233         * text.C:
3234         * text2.C: adjust
3235
3236 2003-10-22  Angus Leeming  <leeming@lyx.org>
3237
3238         * buffer.[Ch] (fully_loaded): new member function, returning true
3239         only when the file has been loaded fully.
3240         Used to prevent the premature generation of previews and by the
3241         citation inset to prevent computation of the natbib-style label.
3242
3243         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3244         templates are all set up.
3245
3246         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3247
3248 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * text.C: fixed an "oops" in the "is a bit silly"
3251         bug fix
3252
3253 2003-10-21  André Pönitz  <poenitz@gmx.net>
3254
3255         * FuncStatus.[Ch]: small stuff, whitespace
3256
3257         * lyxfont.[Ch]: operator<<() for debug reasons
3258
3259         * lyxfunc.C:
3260         * lyxrow_funcs.C:
3261         * lyxtext.h: whitespace, spelling
3262
3263         * paragraph.C: naming of variables
3264
3265         * text.C:
3266         * text2.C: small stuff
3267
3268
3269 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3270
3271         * text.C: (1) finish off the inset display() work;
3272         (2) fix the "is a bit silly" bug (accessing char
3273         past end of par).
3274
3275 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3276
3277         * text.C: re-introduce display() for insets, fixing the
3278         various bugs (stretch of line above, math inset
3279         positioning, ...)
3280
3281 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3282
3283         * text.C (rightMargin): remove spurious semicolon
3284
3285         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3286         1415)
3287
3288 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * text3.C: fix one crash due to wrong cursor def
3291
3292 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * vc-backend.C (scanMaster): make the regex static
3295
3296         * LaTeX.C (scanAuxFile): make the regexs static
3297
3298         * text3.C (doInsertInset, dispatch, dispatch):
3299         * text2.C (cursorUp, cursorDown):
3300         * text.C (selectNextWordToSpellcheck):
3301         * BufferView_pimpl.C (dispatch):
3302         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3303
3304 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3305
3306         * lyxsocket.C: include <cerrno>
3307
3308 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * lyxfunc.C (dispatch): remove textcache stuff
3311
3312         * bufferlist.C (release): remove textcache stuff
3313         (closeAll): ditto
3314
3315         * TextCache.C: delete file
3316         * TextCache.h: delete file
3317
3318         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3319
3320         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3321         delete of the bv_->text.
3322         (resizeCurrentBuffer): remove texcache stuff
3323         (workAreaResize): ditto
3324
3325 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3328         action.
3329
3330 2003-10-16  André Pönitz  <poenitz@gmx.net>
3331
3332         * lyxrow.[Ch]:
3333         * paragraph.h:
3334         * rowpainter.C:
3335         * text.C:
3336         * text2.C:
3337         * text3.C: speed up by storing y positions per paragraph plus per-row
3338         offset instead of having a 'full' y position in the row.
3339
3340 2003-10-15  André Pönitz  <poenitz@gmx.net>
3341
3342         * iterators.[Ch]:
3343         * iterators.[Ch]:
3344         * undo.[Ch]: make undo aware of inner insets
3345
3346 2003-10-14  Angus Leeming  <leeming@lyx.org>
3347
3348         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3349         static member functions LyX::ref() and LyX::cref.
3350         (lastfiles): new accessor functions for the new lastfiles_ member var.
3351         (addLyXView, views_): add a new LyXView to the list of views_.
3352         (updateInset): loop over all LyXViews to call their own updateInset
3353         member function, returning a pointer to the Buffer owning the inset.
3354
3355         * BufferView_pimpl.C (loadLyXFile):
3356         * MenuBackend.C (expandLastfiles):
3357         * bufferlist.C (MenuWrite, QuitLyX):
3358         lastfiles is no longer a global variable.
3359         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3360
3361         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3362         static function. Access through LyX::cref().emergencyCleanup().
3363
3364 2003-10-14  André Pönitz  <poenitz@gmx.net>
3365
3366         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3367
3368         * undo.[Ch]: restoring part of 'undo in insets'
3369
3370         * Makefile.am:
3371         * undo_funcs.[Ch]: merge with undo.[Ch]
3372
3373         * tabular.C: small cleansing stuff
3374
3375 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3376
3377         * paragraph_funcs.C (readParToken): report unknown insets as error
3378         boxes. Use the outer paragraph as location (also for unknown
3379         tokens).
3380
3381         * factory.C (readInset): do not abort on reading an unknown inset.
3382         Eat it and return 0.
3383
3384 2003-10-13  Angus Leeming  <leeming@lyx.org>
3385
3386         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3387
3388         * lyxrc.C: displayTranslator is now a function,
3389         declared in GraphicsTypes.h.
3390
3391 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3392
3393         * format.C: new placeholder $$a to pass the socket address.
3394
3395         * bufferlist.[Ch]: new function getBufferFromTmp.
3396
3397         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3398           files in the temporary dir.
3399
3400 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3401
3402         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3403
3404         * Makefile.am: add lyxsocket.[Ch].
3405
3406         * lyx_main.C (error_handler): handle SIGPIPE.
3407
3408 2003-10-13  André Pönitz  <poenitz@gmx.net>
3409
3410         * BufferView_pimpl.C:
3411         * lyxtext.h:
3412         * text.C:
3413         * text2.C:
3414         * text3.C:
3415         * undo_funcs.[Ch]: use paroffset_type instead of
3416           ParagraphList::iterators to prevent multiple conversion
3417           (and get a more robust interface)
3418
3419 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3420
3421         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3422         * lyxtext.h: ditto
3423         * text3.C (dispatch): ditto
3424
3425 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3428         move the onlyfile, use onlyfile instead of foundfile in a couple
3429         of places.
3430
3431         * DepTable.C (update): flush the error stream a bit more
3432
3433 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * lyxserver.C (callback): adjust
3436
3437         * lyxfunc.C (getStatus): add a missing brace in commented code
3438         (ensureBufferClean): reindent
3439         (dispatch): delete version taking a string
3440
3441 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * LaTeX.C (deplog): move found file handlig from here...
3444         (handleFoundFile): .. to new function here.
3445         (deplog): make sure to discover several files mentioned on the
3446         same log line.
3447
3448 2003-10-10  André Pönitz  <poenitz@gmx.net>
3449
3450         * lyxfunc.C:
3451         * lyxtext.h:
3452         * tabular.C:
3453         * text.C:
3454         * text2.C:
3455         * text3.C: fix some of the tabular crashes
3456
3457 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3458
3459         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3460
3461         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3462
3463 2003-10-09  André Pönitz  <poenitz@gmx.net>
3464
3465         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3466
3467         * BufferView.C:
3468         * BufferView_pimpl.C:
3469         * bufferview_funcs.C:
3470         * lyx_cb.C:
3471         * lyxcursor.C:
3472         * lyxfind.C:
3473         * lyxfunc.C:
3474         * lyxtext.h:
3475         * text.C:
3476         * text2.C:
3477         * text3.C:
3478         * text_funcs.[Ch]:
3479         * textcursor.[Ch]:
3480         * undo_funcs.C: adjust
3481
3482 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * text2.C (incrementItemDepth): new function, use a backtracking
3485         algorithm to discover the correct item depth.
3486         (resetEnumCounterIfNeeded): new function, use a backtracking
3487         algorithm to discover if counter reset is needed.
3488         (setCounter): use them. Simplify a bit. Add different labels for
3489         different item depths for itemize.
3490
3491         * paragraph.C (Paragraph): remove initialization of enumdepth
3492         (operator=): ditto
3493
3494         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3495         enumerate and itemize. Change the type of itemdepth to signed char.
3496
3497 2003-10-08  André Pönitz  <poenitz@gmx.net>
3498
3499         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3500           thing assignable.
3501         * text.C:
3502         * text2.C: adjust
3503
3504         * tabular.[Ch]: fix crash after 'row-insert'
3505
3506 2003-10-08  Angus Leeming  <leeming@lyx.org>
3507
3508         Fix doxygen warnings.
3509
3510         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3511         Remove CutAndPaste:: prefix from header file declaration.
3512
3513         * LColor.h (fill): remove LColor:: prefix from declaration.
3514
3515         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3516         use lyx::depth_type rather than Paragraph::depth_type so that
3517         header file and .C file match.
3518
3519         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3520
3521         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3522         * aspell.C: \file aspell_local.C -> \file aspell.C
3523         * gettext.C: \file gettext.C -> \file src/gettext.C
3524         * gettext.h: \file gettext.h -> \file src/gettext.h
3525         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3526         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3527         * text.C: \file text.C -> \file src/text.C
3528
3529         * toc.C: move comment so that doxygen is not confused.
3530
3531 2003-10-07  Angus Leeming  <leeming@lyx.org>
3532
3533         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3534
3535 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3536
3537         * aspell.C:
3538         * aspell_local.h: add forgotten std::string's.
3539
3540 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3541
3542         * LaTeXFeatures.C:
3543         * LyXAction.C:
3544         * factory.C:
3545         * lfuns.h:
3546         * lyxfunc.C:
3547         * text3.C: The Box patch. Fancybox support, minipage, parbox
3548
3549 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3550
3551         * CutAndPaste.h:
3552         * DepTable.h:
3553         * FloatList.h:
3554         * LaTeXFeatures.h:
3555         * ParagraphParameters.h:
3556         * TextCache.h:
3557         * Thesaurus.h:
3558         * bufferlist.h:
3559         * exporter.h:
3560         * importer.h:
3561         * lastfiles.h:
3562         * lyxfind.h:
3563         * lyxfont.h:
3564         * lyxlex.h:
3565         * lyxtextclasslist.h:
3566         * messages.h:
3567         * paragraph.h:
3568         * paragraph_pimpl.C:
3569         * textcursor.h: add <string> and other small fixes to make Lars'
3570         std::string patch compile with STLport.
3571
3572 2003-10-06  Angus Leeming  <leeming@lyx.org>
3573
3574         * LColor.h: Add missing #include <string>.
3575
3576 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * All most all file in all subdirs: Make <string> be the prefered
3579         way of getting to std::string, add using declarations.
3580
3581 2003-10-06  André Pönitz  <poenitz@gmx.net>
3582
3583         * metricsinfo.C: initialize LyXFont before changing attribute.
3584         (fixes the 'math in \emph is upright' bug)
3585
3586 2003-10-06  André Pönitz  <poenitz@gmx.net>
3587
3588         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3589
3590 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3591
3592         * graph.C:
3593         * paragraph_pimpl.C: Small fixes to build using STLport
3594
3595 2003-10-02  André Pönitz  <poenitz@gmx.net>
3596
3597         * lyxfunc.C:
3598         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3599
3600 2003-10-01  André Pönitz  <poenitz@gmx.net>
3601
3602         * factory.C: assert early
3603
3604 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * lyx_main.C: remove the global debug object
3607
3608         * debug.h: adjust for new debugstream
3609
3610         * debug.C: adjust for new debugstream and keep the global debug
3611         object here.
3612
3613 2003-09-22  Angus Leeming  <leeming@lyx.org>
3614
3615         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3616         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3617         an incomplete class LyXFont.
3618
3619 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * factory.C: bug fix in branches
3622
3623 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * lyxfunc.C (processKeySym): adjust
3626         (dispatch): adjust
3627         (dispatch): change arg name from ev to func, adjust
3628         (sendDispatchMessage): ditto
3629
3630         * lyx_main.C (defaultKeyBindings): adjust keybindings
3631         (deadKeyBindings): ditto
3632
3633         * kbsequence.C (addkey): return a FuncRequest
3634
3635         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3636
3637         * kbmap.C (bind): take a FuncRequest as arg, adjust
3638         (read): adjust
3639         (lookup): adjust
3640         (defkey): change to take a FuncRequest as arg, adjust
3641         (findbinding): take a FuncRequest as arg, adjust.
3642
3643         * funcrequest.h (operator=): added
3644
3645         * funcrequest.C (FuncRequest): default kb_action changed from
3646         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3647
3648         * buffer.C (dispatch): simplify
3649         (dispatch): adjust to take a FuncRequest as arg, adjust
3650
3651         * boost.C (assertion_failed): change assertion message slightly
3652
3653         * ToolbarBackend.C (read): simplify
3654
3655         * MenuBackend.C (binding): adjust call to findbinding, add a
3656         message if no binding is found.
3657         (read): simplify
3658         (expandToc): correct by adding a empty FuncRequest
3659
3660         * LyXAction.C: include <boost/assert.hpp>
3661         (isPseudoAction): delete function
3662         (LookupFunc): change name to...
3663         (lookupFunc): this. change return type to FuncRequest.
3664         (getActionName): take kb_action as arg, simplify
3665         (funcHasFlag): add an assert, simplify.
3666
3667 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3668
3669         * toc.C (action): return a FuncRequest, simplify
3670
3671         * lyxfunc.C (processKeySym): adjust
3672         (getStatus): delete version that takes an int.
3673         (getStatus): adjust
3674         (dispatch): delete version that takes action as int
3675         (dispatch): adjust
3676         (sendDispatchMessage): simplify and adjust
3677
3678         * funcrequest.C (getArg): take unsigned int as arg
3679
3680         * ToolbarBackend.C (read): adjust
3681         (add): delete version that takes func as a string.
3682         (getIton): take a FuncRequest as arg
3683
3684         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3685         action.
3686
3687         * MenuBackend.C (MenuItem): add a new construct that only takes a
3688         Kind, simplify the constructor use for submenus.
3689         (add): adjust
3690         (expandLastfiles): adjust
3691         (expandDocuments): adjust
3692         (expandFormats): adjust
3693         (expandFloatListInsert): adjust
3694         (expandFloatInsert): adjust
3695         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3696
3697         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3698         Remove class variables lyx_pseudo_map and lyx_arg_map
3699
3700         * LyXAction.C (searchActionArg): delete function
3701         (getPseudoAction): delete function
3702         (retrieveActionArg): delete function
3703         (LookupFunc): make it return kb_action, simplify.
3704         (getActionName): simplify
3705
3706         * factory.C (createInset): fix new bug
3707
3708 2003-09-19  Angus Leeming  <leeming@lyx.org>
3709
3710         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3711         masterFilename_ parameter in the include inset.
3712
3713         * factory.C (createInset): changes due to the changes to InsetInclude.
3714
3715 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3716
3717         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3718
3719 2003-09-18  Angus Leeming  <leeming@lyx.org>
3720
3721         * buffer.C:
3722         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3723         Inset::fillWithBibKeys.
3724         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3725
3726 2003-09-18  Angus Leeming  <leeming@lyx.org>
3727
3728         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3729         variables.
3730         (ctor): pass and store a 'Buffer const &'
3731         (buffer): new member function.
3732
3733         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3734         '*this' to the LaTeXFeatures ctor.
3735
3736 2003-09-18  Angus Leeming  <leeming@lyx.org>
3737
3738         * LColor.h:
3739         * lyxfont.C:
3740         * lyxfont.h:
3741         * lyxtext.h:
3742         * text.C: rename EnumLColor as LColor_color.
3743
3744 2003-09-18  Angus Leeming  <leeming@lyx.org>
3745
3746         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3747         remove #include "insets/insetbase.h" from cursor.h.
3748
3749 2003-09-18  Angus Leeming  <leeming@lyx.org>
3750
3751         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3752         InsetOld_code to remove #include "inset.h".
3753
3754         * iterators.C: add #include "insets/inset.h"
3755
3756 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3757
3758         * BufferView.C: remove more locking stuff that apparently doesn't
3759         do anything sensible.
3760
3761 2003-09-16  André Pönitz  <poenitz@gmx.net>
3762
3763         * paragraph.[Ch]:
3764         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3765           performance boost.
3766
3767 2003-09-16  Angus Leeming  <leeming@lyx.org>
3768
3769         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3770
3771         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3772         arg/return type.
3773
3774         * paragraph.h: remove #include "lyxfont.h". Forward declare
3775         LyXFont_size.
3776
3777 2003-09-16  Angus Leeming  <leeming@lyx.org>
3778
3779         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3780         of support/textutils.h.
3781         (isWord): move the contents of support/textutils.h's IsWordChar here.
3782
3783         * buffer.C:
3784         * lyxfind.C:
3785         * rowpainter.C:
3786         * text.C:
3787         * text2.C: add #include "paragraph.h".
3788
3789         * rowpainter.C:
3790         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3791
3792 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * main.C:
3795         * lyx_main.C:
3796         * lyx_cb.C:
3797         * buffer.C:
3798         * LaTeX.C: use namespace alias for lyx::support::os
3799
3800 2003-09-16  Angus Leeming  <leeming@lyx.org>
3801
3802         * bufferparams.C:
3803         * bufferview_funcs.C:
3804         * factory.C:
3805         * lyxfunc.C:
3806         * paragraph_pimpl.C:
3807         * rowpainter.C:
3808         * text.C: add #include "LColor.h".
3809
3810 2003-09-16  Angus Leeming  <leeming@lyx.org>
3811
3812         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3813         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3814         return LyXFont &.
3815         Store the FontBits::color variable as an int rather than as an
3816         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3817         file.
3818
3819         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3820         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3821         string calls together.
3822
3823         * lyxrc.C: add #include "LColor.h".
3824
3825 2003-09-15  Angus Leeming  <leeming@lyx.org>
3826
3827         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3828         a cow_ptr.
3829
3830 2003-09-15  Angus Leeming  <leeming@lyx.org>
3831
3832         * LColor.h: add an EnumLColor wrapper for LColor::color.
3833
3834         * lyxfont.[Ch] (color, setColor, realColor):
3835         * lyxtext.h, text.C (backgroundColor):
3836         pass EnumLColor args to/from the functions, rather than LColor::color
3837         ones.
3838
3839         * lyxfont.h:
3840         * lyxtext.h: forward declare EnumLColor.
3841
3842         * lyx_main.C: add #include "LColor.h".
3843
3844 2003-09-15  Angus Leeming  <leeming@lyx.org>
3845
3846         * .cvsignore: add lyx-gtk.
3847
3848 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * Chktex.C
3851         * LaTeX.C
3852         * LaTeXFeatures.C
3853         * ParagraphParameters.C
3854         * Spacing.C
3855         * buffer.C
3856         * bufferparams.C
3857         * bufferview_funcs.C
3858         * chset.C
3859         * counters.C
3860         * funcrequest.C
3861         * lyxfont.C
3862         * lyxgluelength.C
3863         * lyxlength.C
3864         * paragraph.C
3865         * paragraph_funcs.C
3866         * text3.C
3867         * vc-backend.C: remove usage of STRCONV
3868
3869 2003-09-15  Angus Leeming  <leeming@lyx.org>
3870
3871         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3872         explicitly define the color passed to the painter.
3873
3874 2003-09-15  Angus Leeming  <leeming@lyx.org>
3875
3876         * bufferparams.C (BufferParams): reorder member initializers to avoid
3877         compiler warning.
3878
3879 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3880
3881         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3882         * text.C (updateRowPositions): remove an unusual nop
3883
3884 2003-09-12  André Pönitz  <poenitz@gmx.net>
3885
3886         * BufferView_pimpl.C:
3887         * Bullet.C:
3888         * layout.h:
3889         * lyxfunc.C:
3890         * lyxlayout.[Ch]:
3891         * lyxtextclass.C:
3892         * rowpainter.C:
3893         * text.C:
3894         * text2.C:
3895         * Counters.[Ch]: finish the 'automatic counters' job
3896
3897 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3898
3899         * aspell.C: include <boost/assert.cpp> (compile fix)
3900
3901 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3902
3903         * boost.C (assertion_failed): use lyx::support::abort instead of
3904         assert.
3905
3906 2003-09-10  Angus Leeming  <leeming@lyx.org>
3907
3908         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3909         with their _fwd progeny.
3910
3911 2003-09-09  Angus Leeming  <leeming@lyx.org>
3912
3913         134 files throughtout the source tree: replace 'using namespace abc;'
3914         directives with the appropriate 'using abc::xyz;' declarations.
3915
3916 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3917
3918         * boost.C (emergencyCleanup): moved here from LAssert.c
3919         (assertion_failed): new function, called by BOOST_ASSERT
3920
3921         * several files: change Assert to BOOST_ASSERT
3922
3923 2003-09-09  Angus Leeming  <leeming@lyx.org>
3924
3925         * buffer.[Ch]: Add an Impl class and move Buffer's member
3926         variables into it. As a result move several header files out of
3927         buffer.h.
3928
3929         Add header files to lots of .C files all over the tree as a result.
3930
3931 2003-09-09  Angus Leeming  <leeming@lyx.org>
3932
3933         * buffer.[Ch]: make Buffer's member variables private. Add
3934         accessor functions.
3935
3936         Lots of changes all over the tree as a result.
3937
3938 2003-09-08  Angus Leeming  <leeming@lyx.org>
3939
3940         * graph.C: #include <config.h>.
3941
3942 2003-09-08  Angus Leeming  <leeming@lyx.org>
3943
3944         * BranchList.C:
3945         * BufferView.C:
3946         * BufferView_pimpl.C:
3947         * CutAndPaste.C:
3948         * DepTable.C:
3949         * LaTeX.C:
3950         * LaTeXFeatures.C:
3951         * LyXAction.C:
3952         * MenuBackend.C:
3953         * TextCache.C:
3954         * aspell.C:
3955         * buffer.C:
3956         * bufferlist.C:
3957         * changes.C:
3958         * chset.C:
3959         * converter.C:
3960         * counters.C:
3961         * debug.C:
3962         * graph.C:
3963         * ispell.C:
3964         * lyx_cb.C:
3965         * lyxfind.C:
3966         * lyxfunc.C:
3967         * lyxlex_pimpl.C:
3968         * lyxrc.C:
3969         * lyxrow.C:
3970         * paragraph.C:
3971         * rowpainter.C:
3972         * texrow.C:
3973         * text.C:
3974         * text2.C:
3975         * toc.C: remove redundant using directives.
3976
3977 2003-09-07  Angus Leeming  <leeming@lyx.org>
3978
3979         * LaTeXFeatures.h: remove #include "support/types.h".
3980         * ToolbarBackend.h: remove #include <algorithm>.
3981         * changes.h: remove #include <ctime>.
3982         * debug.h: remove #include <iosfwd>.
3983         * graph.h: remove #include "support/std_string.h".
3984         * lyx_main.h: remove #include <csignal>.
3985         * lyxlex_pimpl.h: remove #include <fstream>.
3986         * sgml.h: remove #include <algorithm>, <utility>.
3987         * toc.h: remove #include "support/std_ostream.h".
3988         Add #include <iosfwd>.
3989
3990 2003-09-07  Angus Leeming  <leeming@lyx.org>
3991
3992         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3993
3994         * converter.h: forward declare LatexRunParams.
3995         * encoding.h: remove #include "lyxrc.h".
3996         * lyxtext.h: remove #include "LColor.h".
3997         * lyxtextclass.h: remove #include "support/types.h".
3998         * trans.h: remove #include "tex-accent.h".
3999         * trans_mgr.h: remove #include "tex-accent.h".
4000         * insets/inset.h: remove #include "support/types.h", <vector>.
4001         * insets/insetcollapsable.h: remove #include "LColor.h".
4002         * insets/insetinclude.h: remove #include "dimension.h".
4003         * insets/insetlatexaccent.h: remove #include "dimension.h".
4004         * insets/insetoptarg.h:: remove #include "insettext.h".
4005         * insets/insettext.h: remove #include "dimension.h",
4006         <boost/shared_ptr.hpp>
4007
4008         * insets/renderers.h: add #include "dimension.h".
4009         * insets/updatableinset.h: add #include "support/types.h".
4010
4011         * many .C files: Associated changes.
4012
4013 2003-09-06  Angus Leeming  <leeming@lyx.org>
4014
4015         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4016         one, inside testInvariant.
4017
4018         * PrinterParams.C: new file.
4019         * PrinterParams.[Ch]: move the function bodies out of line.
4020
4021 2003-09-06  Angus Leeming  <leeming@lyx.org>
4022
4023         * ParagraphParameters.h: forward declare ParameterStruct rather than
4024         including its header file.
4025         (depth): moved out-of-line.
4026
4027 2003-09-06  Angus Leeming  <leeming@lyx.org>
4028
4029         * BufferView_pimpl.h:
4030         * kbmap.h:
4031         * kbsequence.h:
4032         * lyxfunc.h: forward declare LyXKeySym rather than
4033         #include "frontends/LyXKeySym.h".
4034
4035         * BufferView_pimpl.C:
4036         * kbmap.C:
4037         * kbsequence.C:
4038         * lyxfunc.C: associated changes.
4039
4040 2003-09-06  Angus Leeming  <leeming@lyx.org>
4041
4042         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4043         As a result, can remove the #include "insets/inset.h" from BufferView.h
4044
4045 2003-09-06  Angus Leeming  <leeming@lyx.org>
4046
4047         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4048         As a result, can remove the #include "insets/inset.h" from BufferView.h
4049
4050 2003-09-06  Angus Leeming  <leeming@lyx.org>
4051
4052         * buffer_funcs.C:
4053         * buffer.h:
4054         * bufferlist.C:
4055         * BufferView.C:
4056         * bufferview_funcs.C:
4057         * BufferView_pimpl.C:
4058         * CutAndPaste.C:
4059         * lyx_cb.C:
4060         * lyxfunc.C:
4061         * paragraph.h:
4062         * ParagraphParameters.C:
4063         * tabular.C:
4064         * text3.C:
4065         * toc.C:
4066         * undo_funcs.C:
4067         * frontends/controllers/ControlDocument.C:
4068         * insets/insetcaption.C: rearrange the #includes into some sort of
4069         coherent order.
4070
4071         * buffer.h: remove #includes ErrorList.h, undo.h
4072
4073 2003-09-06  Angus Leeming  <leeming@lyx.org>
4074
4075         * support/types.h: add a 'depth_type' typedef, used to store the
4076         nesting depth of a paragraph.
4077
4078         * paragraph.h:
4079         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4080         defining explicitly.
4081
4082         * buffer.h:
4083         * paragraph_funcs.h:
4084         * ParagraphParameters.h:
4085         * sgml.h: use lyx::depth_type rather than Paragraph or
4086         ParameterStruct's depth_type.
4087
4088         * buffer.h
4089         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4090
4091         * BufferView.C:
4092         * BufferView_pimpl.C:
4093         * CutAndPaste.C:
4094         * ParagraphParameters.C:
4095         * buffer_funcs.C:
4096         * bufferlist.C:
4097         * bufferview_funcs.C:
4098         * lyx_cb.C:
4099         * lyxfunc.C:
4100         * tabular.C:
4101         * text3.C:
4102         * toc.C:
4103         * undo_funcs.C:
4104         * frontends/LyXView.C:
4105         * frontends/controllers/ControlDocument.C:
4106         * frontends/controllers/ControlErrorList.C:
4107         * insets/insetbibitem.C:
4108         * insets/insetbranch.C:
4109         * insets/insetcaption.C:
4110         * insets/insetcollapsable.C:
4111         * insets/insetenv.C:
4112         * insets/insetert.C:
4113         * insets/insetfloat.C:
4114         * insets/insetfoot.C:
4115         * insets/insetfootlike.C:
4116         * insets/insetnewline.C:
4117         * insets/insetquotes.C:
4118         * insets/insettabular.C:
4119         * insets/insettext.C:
4120         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4121
4122         * frontends/controllers/ControlChanges.C: #include "changes.h".
4123
4124 2003-09-06  Angus Leeming  <leeming@lyx.org>
4125
4126         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4127         than #including paragraph.h.
4128
4129         * ParagraphList.h:
4130         * RowList.h: deleted. Superfluous.
4131
4132         * CutAndPaste.h:
4133         * iterators.h:
4134         * lyxcursor.h:
4135         * lyxtext.h:
4136         * text_funcs.h:
4137         * undo.h:
4138         * undo_funcs.h:
4139         * insets/inset.h:
4140         * insets/insettext.h: use ParagraphList_fwd.h rather than
4141         ParagraphList.h.
4142
4143         * paragraph.h: don't forward declare ParagraphList.
4144
4145         * buffer.h:
4146         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4147         rather than ParagraphList.h. paragraph.h is still needed for the
4148         Paragraph::depth_type parameters.
4149
4150         * textcursor.h: enable it to compile stand-alone in light of the
4151         above changes.
4152
4153         * bufferview_funcs.C:
4154         * iterators.C:
4155         * lyxfunc.C:
4156         * lyxrow_funcs.C:
4157         * paragraph.C:
4158         * rowpainter.C:
4159         * text.C:
4160         * text2.C:
4161         * text3.C:
4162         * text_funcs.C:
4163         * textcursor.C:
4164         * undo.C:
4165         * frontends/controllers/ControlParagraph.C:
4166         * frontends/controllers/ControlTabular.C:
4167         * insets/insetmarginal.C:
4168         * insets/insetminipage.C:
4169         * insets/insetnote.C:
4170         * insets/insetoptarg.C: add header files needed to compile again.
4171
4172 2003-09-06  Angus Leeming  <leeming@lyx.org>
4173
4174         * RowList_fwd.h: new file, forward-declaring Row rather than
4175         #including lyxrow.h.
4176
4177         * lyxrow_funcs.h:
4178         * lyxtext.h:
4179         * paragraph.h:
4180         * insets/insettext.h: use it instead of RowList.h
4181
4182         * bufferview_funcs.C:
4183         * lyxfunc.C:
4184         * lyxrow_funcs.C:
4185         * paragraph.C:
4186         * rowpainter.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: #include "RowList.h".
4190
4191 2003-09-05  Angus Leeming  <leeming@lyx.org>
4192
4193         * factory.C (createInset):
4194         * vspace.C (c-tor): replace sscanf call with an istringstream.
4195         * ispell.C: re-add missing HP/UX headers.
4196         * lyxserver.C: re-add missing  os2 headers.
4197
4198 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4199
4200         * BranchList.C:
4201         * graph.C:
4202         * ispell.C:
4203         * lastfiles.C:
4204         * lyx_cb.C:
4205         * lyxserver.C:
4206         * texrow.C:
4207         * text3.C: re-add missing system headers, needed for 2.95.2.
4208
4209 2003-09-05  Angus Leeming  <leeming@lyx.org>
4210
4211         Changes most place everywhere due to the removal of using directives
4212         from support/std_sstream.h.
4213
4214 2003-09-05  Angus Leeming  <leeming@lyx.org>
4215
4216         Replace LString.h with support/std_string.h,
4217         Lsstream.h with support/std_sstream.h,
4218         support/LIstream.h with support/std_istream.h,
4219         support/LOstream.h with support/std_ostream.h.
4220
4221         Changes resulting throughout the tree.
4222
4223 2003-09-05  Angus Leeming  <leeming@lyx.org>
4224
4225         * sgml.h: ensure that the header file can be compiled stand-alone.
4226         * *.C: strip out redundant #includes. (320 in total.)
4227
4228 2003-09-04  Angus Leeming  <leeming@lyx.org>
4229
4230         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4231         here (from getPackages).
4232
4233         * debug.[Ch]: add a new EXTERNAL tag.
4234
4235 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4236
4237         * text2.C (cursorEnd): simplify
4238         (setCursor): adjust
4239         (getColumnNearX): adjust
4240
4241         * text.C (computeBidiTables): adjust
4242         (fill): adjust
4243
4244         * rowpainter.C (paintChars): adjust
4245         (paintSelection): adjust
4246         (paintChangeBar): adjust
4247         (paintText): adjust
4248
4249         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4250         lastPos instead.
4251         (numberOfSeparators): adjust
4252
4253 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4254
4255         * LyXAction.C:
4256         * box.[Ch]:
4257         * lfuns.h:
4258         * lyxfunc.C:
4259         * text3.C: Restricts the mouse click functionality
4260         of insets like bibtex, include, toc and floatlist to the visible
4261         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4262         up the dialogs. Cursor has to be in front of the inset (i.e.
4263         start of row) for this to function.
4264
4265 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4266
4267         * bufferview_funcs.C (currentState): output row information
4268
4269 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4270
4271         * bufferview_funcs.C (currentState): output paragraph position
4272
4273 2003-09-04  Angus Leeming  <leeming@lyx.org>
4274
4275         * FloatList.h: move out #include "Floating.h".
4276         * LaTeX.h: move out #include "DepTable.h".
4277         * LyXAction.h: move out #include "funcrequest.h".
4278         * buffer.h: move out #include "author.h", "iterators.h".
4279         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4280         * lyx_main.h: move out #include "errorlist.h".
4281         * lyxfunc.h: move out #include "FuncStatus.h".
4282         * lyxtext: move out #include "lyxcursor.h".
4283         * paragraph_pimpl.h: move out #include "counters.h".
4284
4285 2003-09-03  Angus Leeming  <leeming@lyx.org>
4286
4287         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4288         preamble_snippets list, enabling us to add snippets to the preamble
4289         only if the snippet was not there already.
4290
4291 2003-09-04  Angus Leeming  <leeming@lyx.org>
4292
4293         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4294
4295 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4298         update
4299
4300 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4301
4302         * BranchList.C: point fix, earlier forgotten
4303
4304 2003-09-02  Angus Leeming  <leeming@lyx.org>
4305
4306         * box.C (contains): renamed from 'contained' after a fantastic
4307         amount of hot air.
4308
4309 2003-09-02  John Levon  <levon@movementarian.org>
4310
4311         * BufferView.C:
4312         * lyxcursor.h:
4313         * lyxcursor.C:
4314         * lyxfunc.C:
4315         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4316
4317 2003-09-02  John Levon  <levon@movementarian.org>
4318
4319         * text2.C: simplification of cursorEnd(), including partial
4320         fix for bug 1376
4321
4322 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * buffer.C (readFile): add a space
4325
4326 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4329
4330 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * buffer.C (readFile): new function, take a filename and a
4333         ParagraphList::iterator
4334         (readFile): adjust
4335         (readFile): adjust, make it private. don't use setStream, make
4336         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4337         always contain the filename.
4338
4339         * BufferView.C (insertLyXFile): simplify and make it work for
4340         gzipped files.
4341
4342 2003-08-30  John Levon  <levon@movementarian.org>
4343
4344         * Makefile.am: fix dist (from Kayvan)
4345
4346 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * most files: change to use const Buffer refs
4349
4350 2003-08-27  André Pönitz  <poenitz@gmx.net>
4351
4352         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4353         on top of ownerPar().
4354
4355 2003-08-27  John Levon  <levon@movementarian.org>
4356
4357         * funcrequest.C: properly initialise POD members
4358
4359 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * lyxtext.h (top_y): move top_y from here
4362         * text.C:
4363         * text2.C:
4364         * text3.C:
4365         * BufferView.[Ch]:
4366         * BufferView_pimpl.[Ch]: to here
4367         * frontends/screen.C:
4368         * insets/insettabular.C:
4369         * insets/insettext.C: adjust
4370         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4371
4372 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * BufferView.[Ch]:
4375         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4376
4377 2003-08-26  André Pönitz  <poenitz@gmx.net>
4378
4379         * paragraph_func.[Ch] (outerPar): new function
4380
4381         * paragraph.C:
4382         * paragraph_funcs.C:
4383         * paragraph_funcs.h:
4384         * paragraph_pimpl.C:
4385         * text2.C: remove Inset::par_owner
4386
4387 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4388
4389         * lyxrow_funcs.C:
4390         * lyxtext.h:
4391         * text.C:
4392         * text2.C: eliminates the needFullRow/display() stuff
4393         altogether, putting the logic in metrics/draw in the insets.
4394
4395 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * text2.C (redoParagraphInternal, redoParagraphs):
4398         * text.C (redoParagraph): add a call to updateRowPositions at the
4399         end of each 'metrics-like' call. Remove all others.
4400         (getRow): remove the 'y-computing' version.
4401         (getRowNearY): do not compute nor return the real y. Solve the
4402         'y < 0' problem and simplify.
4403
4404 2003-08-22  Angus Leeming  <leeming@lyx.org>
4405
4406         * *.[Ch]: clean-up of licence and author blurbs.
4407         Also move config.h out of a few .h files and into a few .C files.
4408
4409 2003-08-22  André Pönitz  <poenitz@gmx.net>
4410
4411         * lyxrow.[Ch]: add x_ and *fill_ members
4412
4413         * lyxtext.h:
4414         * text.C:
4415         * rowpainter.C:
4416         * text2.C: adjust/remove prepareToPrint() calls
4417
4418 2003-08-22  André Pönitz  <poenitz@gmx.net>
4419
4420         * lyxrow.[Ch]: add  end_ member
4421
4422         * lyxrow_funcs.C: use LyXRow::end_
4423
4424         * lyxtext.h (singleWidth): add LyXFont parameter
4425
4426         * rowpainter.C:
4427         * text2.C: adjust LyXText::singleWidth() calls
4428
4429         * text.C (redoParagraph): simplify row breaking logic
4430
4431
4432 2003-08-19  André Pönitz  <poenitz@gmx.net>
4433
4434         * funcrequest.C: initialize button_ member
4435
4436         * text3.C:
4437         * rowpainter.[Ch]: interface consolidation
4438
4439 2003-08-18  André Pönitz  <poenitz@gmx.net>
4440
4441         * BufferView.C:
4442         * BufferView_pimpl.C:
4443         * lyxfind.C:
4444         * paragraph_funcs.C:
4445         * rowpainter.C:
4446         * text3.C: remove LyXScreen::draw() and fitCursor calls
4447
4448         * BranchList.h: remove spurious semicolons
4449
4450         * MenuBackend.C: fix branchlist related crash
4451
4452 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4453
4454         * BranchList.[Ch]:
4455         * InsetList.[Ch]:
4456         * LColor.[Ch]:
4457         * LyXAction.C:
4458         * Makefile.am:
4459         * MenuBackend.[Ch]:
4460         * bufferparams.[Ch]:
4461         * factory.C:
4462         * lfuns.h:
4463         * lyxfunc.C:
4464         * text3.C: implements the 'branch inset'
4465         idea. This allows the output of various versions of a document
4466         from a single source version, selectively outputing or suppressing
4467         output of parts of the text.
4468         This implementation contains a 'branch list editor' in a separate
4469         tab of the document settings dialog. Branches are user definable
4470         and have a "display colour" to distinguish them on-screen.
4471
4472         ColorHandler was somewhat cleaned up.
4473         (1) make possible a dynamically growing LColor list by allowing
4474         the graphic context cache to grow along (vector);
4475         (2) eliminate an IMHO unnecessary step in colour allocation.
4476
4477 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4478
4479         * BufferView_pimpl.C: compile fix
4480
4481 2003-08-15  André Pönitz  <poenitz@gmx.net>
4482
4483         * rowpainter.C: remove extra metrics calls
4484
4485         * lyxtext.h: merge the two constructors into a single one,
4486           pass reference to owner's par list
4487
4488         * BufferView_pimpl.C:
4489         * text.C:
4490         * text2.C: adjust
4491
4492 2003-08-15  André Pönitz  <poenitz@gmx.net>
4493
4494         * lyxrow_funcs.[Ch]:
4495         * lyxtext.h:
4496         * paragraph.h:
4497         * paragraph_funcs.C:
4498         * rowpainter.C:
4499         * text.C:
4500         * text2.C:
4501         * text3.C:
4502         * text_funcs.C: split LyXText::rowlist_ into individual
4503         Paragraph::rows_ chunks
4504
4505         * BufferView.[Ch]:
4506         * BufferView_pimpl.[Ch]:
4507         * lyxfind.C:
4508         * lyxtext.h:
4509         * text3.C: remove toggleSelection()
4510
4511 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4512
4513         * bufferlist.C: beautify two alerts (shorter text of buttons)
4514         * buffer.C: Remove redundant ' ' from message
4515         * tabular.h:
4516         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4517         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4518         rename VALIGN_CENTER to VALIGN_MIDDLE
4519
4520 2003-08-11  André Pönitz  <poenitz@gmx.net>
4521
4522         * lyxtext.h (getPar):
4523         * text.C: new function
4524
4525 2003-08-11  André Pönitz  <poenitz@gmx.net>
4526
4527         * Makefile.am:
4528         * tracer.[Ch]: remove unneeded files
4529
4530         * InsetList.[Ch]: remove resizeInsetsLyXText()
4531
4532         * lyxtext.h:
4533         * text.C:
4534         * text2.C:
4535         * text3.C: merge insertParagraphs() and appendParagraph()
4536         remove breakAgain(), update()
4537
4538         * BufferView_pimpl.[Ch]:
4539         * bufferview_funcs.[Ch]:
4540         * lyxfunc.C:
4541         * paragraph.[Ch]:
4542         * rowpainter.C:
4543         * tabular.C: adjust after text & InsetList changes.
4544
4545 2003-08-08  André Pönitz  <poenitz@gmx.net>
4546
4547         * text.C (insertChar, backspace): replace rowlist fiddling
4548         with rebreak of full par
4549
4550         * lyxtext.h:
4551         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4552         checkParagraph, updateInset): removed
4553
4554 2003-08-07  André Pönitz  <poenitz@gmx.net>
4555
4556         * paragraph.C:
4557         * text3.C: merge some LFUN handlers, remove dead code
4558
4559 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4560
4561         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4562
4563 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * text2.C (DEPM): fix part of bug 1255 and 1256
4566
4567 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4568
4569         * BufferView_pimpl.C (workAreaDispatch): change to use
4570         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4571         that are no mouse related.
4572
4573 2003-08-05  André Pönitz  <poenitz@gmx.net>
4574
4575         * BufferView.[Ch]:
4576         * BufferView_pimpl.[Ch]:
4577         * bufferview_funcs.C:
4578         * text2.C:
4579         * text3.C: rip out "deep update"
4580
4581         * textcursor.[Ch] (last_sel_cursor): remove unused member
4582
4583 2003-08-04  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView.[Ch]:
4586         * BufferView_pimpl.[Ch]:
4587         * ParagraphParameters.C:
4588         * bufferview_funcs.C:
4589         * lyx_cb.C:
4590         * lyxfind.C:
4591         * lyxfunc.C:
4592         * text.C:
4593         * text2.C:
4594         * text3.C: replace "complicated" BufferView::update(...) calls with
4595         simpler ones.
4596
4597         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4598
4599 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4600
4601         * Makefile.am (lyx_SOURCES): add paper.h
4602
4603 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4604
4605         * Makefile.am: move things around so that both lyx-qt and
4606         lyx-xforms can be built (according to --with-frontend). Then lyx
4607         is a symbolic link to lyx-[firstfrontend]
4608
4609 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4610
4611         * Always use std::endl with lyxerr
4612
4613 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4614
4615         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4616
4617 2003-08-01  André Pönitz  <poenitz@gmx.net>
4618
4619         * BufferView.[Ch]:
4620         * BufferView_pimpl.[Ch]:
4621         * lyxfunc.C:
4622         * text3.C: merge BufferView::repaint() and BufferView::update()
4623
4624 2003-08-01  José Matos  <jamatos@lyx.org>
4625
4626         * buffer.[Ch]: file_format is no longer a buffer data element.
4627
4628 2003-08-01  André Pönitz  <poenitz@gmx.net>
4629
4630         * BufferView.C:
4631         * lyxtext.h:
4632         * text.C:
4633         * text2.C: make redoParagraph more independent of current cursor
4634
4635         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4636         * text.C:
4637         * text2.C: remove unneeded members
4638
4639 2003-07-30  André Pönitz  <poenitz@gmx.net>
4640
4641         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4642
4643         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4644           create a single function...
4645
4646         * paragraph_funcs.C (moveItem): ... here.
4647
4648         * text.C:
4649           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4650
4651 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4652
4653         * LColor.[Ch]: Add comment and greyedout logical colors.
4654
4655 2003-07-30  André Pönitz  <poenitz@gmx.net>
4656
4657         * tabular.C: don't use Assert too heavily. This crashes where it
4658           shouldn't
4659
4660 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4663         is disabled (bug 1232)
4664
4665 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4666
4667         * factory.C: limited 'arg' scope
4668
4669 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4670
4671         * factory.C: fixed Note submenu issues
4672
4673 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4674
4675         * factory.C: submenu for Note/Comment/Greyedout
4676
4677 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * lyx_main.C (LyX):
4680         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4681
4682 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * LaTeXFeatures.C:
4685         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4686         greyedout. Patch provided by Jürgen Spitzmüller.
4687
4688 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4689
4690         * kbmap.C (read): fix error message when reading bind files
4691
4692 2003-07-29  Angus Leeming  <leeming@lyx.org>
4693
4694         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4695         certainly does not do what it purports to do. I am doing it, and
4696         us, a favour by killing it.
4697
4698 2003-07-28  José Matos  <jamatos@lyx.org>
4699
4700         * buffer.C (readBody, do_writeFile):
4701         * paragraph.C(readParagraph): \end_document replaces \the_end.
4702
4703 2003-07-29  André Pönitz  <poenitz@gmx.net>
4704
4705         * BufferView.[Ch]:
4706         * BufferView_pimpl.[Ch]:
4707         * lyxfunc.C:
4708         * text2.C:
4709         * text3.C:
4710         * textcursor.[Ch]: remove toggleToggle & Co
4711
4712 2003-07-28  José Matos  <jamatos@fep.up.pt>
4713
4714         * buffer.C (readParagraph):
4715         * params_func (readParToken, readParagraph):
4716         * paragraph.C (write): \layout -> \begin_layout.
4717
4718 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * lyxlex_pimpl.C (setFile): clean up slightly.
4721
4722         * bufferparams.h: add compressed var
4723
4724         * buffer_funcs.C (readFile): adjust for LyXLex change
4725         (newFile): ditto + simplify
4726
4727         * buffer.C (writeFile): handle writing of compressed files
4728
4729         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4730         Check if the file is compressed and set a bufferparm if so.
4731
4732         * Makefile.am (lyx_LDADD): remove explicit -lz
4733
4734 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4735
4736         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4737         makeDocBookFile): put the real LyX version in the first line of
4738         the file
4739
4740         * version.h:
4741         * version.C.in: remove lyx_docversion
4742
4743         * tabular.C (write_attribute): add a template-based version to
4744         write enums properly
4745
4746 2003-07-28  André Pönitz  <poenitz@gmx.net>
4747
4748         * lyxtext.h:
4749         * text.C:
4750         * text2.C:
4751         * text3.C: use doubles again for x-coordinates. They are needed.
4752
4753 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * messages.C (getLocaleDir): use lyx_localedir()
4756
4757         * lyxlex_pimpl.C (setFile): compress stuff
4758
4759         * buffer.C (writeFile): add some compression stuff
4760         (do_writeFile): new func, dont call expliti close... will this
4761         breake anything?
4762
4763         * Makefile.am (lyx_LDADD): add -lz
4764
4765 2003-07-28  José Matos  <jamatos@fep.up.pt>
4766
4767         * buffer.C: increment file format.
4768         * paragraph_funcs (readParagraph, readParToken):
4769         * paragraph.C (readParagraph): add \end_layout.
4770
4771 2003-07-27  Angus Leeming  <leeming@lyx.org>
4772
4773         * Makefile.am: remove special casing for configure-time setting of
4774         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4775
4776         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4777         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4778
4779 2003-07-26  André Pönitz  <poenitz@gmx.net>
4780
4781         * paragraph_func.[Ch]:
4782         * paragraph.C (realizeFont): inline it whereever it is used
4783
4784         * rowpainter.C:
4785         * text.C:
4786         * text2.C:
4787         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4788
4789
4790 2003-07-26  André Pönitz  <poenitz@gmx.net>
4791
4792         *       lyxtext.h:
4793         * text.C:
4794         * text2.C: get rid of LyXText::need_break_row
4795
4796 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * toc.[Ch]: put namespace toc inside namespace lyx
4799
4800         * MenuBackend.C (expandToc2): adjust for lyx::toc
4801         (expandToc): ditto
4802
4803         * lyxfunc.C (dispatch): adjust for lyx::find
4804
4805         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4806         lyx::find instead. Reorganize a bit.
4807         (LyXReplace): rename to replace
4808         (LyXFind): rename to find
4809
4810         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4811         (dispatch): ditto
4812
4813 2003-07-26  André Pönitz  <poenitz@gmx.net>
4814
4815         * text.C (setHeightOfRow): restrict scope of temporary variable
4816
4817         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4818           code (never has been used?)
4819
4820 2003-07-27  Asger Alstrup  <alstrup@local>
4821
4822         * text.C (fill): Optimise algorithm to exploit that we can reuse
4823         the LyXFont for many characters.
4824         (setHeightOfRow): Same thing.
4825         (rowBreakPoint): Same thing.
4826
4827 2003-07-26  Asger Alstrup  <alstrup@local>
4828
4829         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4830
4831         * text.C (singleWidth): Spurious font copying in hot-spot
4832         singleWidth avoided. Reorder tests for arabic for efficiency.
4833
4834         * text.C (fill): handle empty paragraphs better.
4835
4836 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4837
4838         * ispell.C:
4839         * encoding.h: add includes
4840
4841         * lyxrc.C: remove reading of bind files
4842
4843         * lyx_main.C (init): setup bindings and menus only if we have a
4844         gui.
4845
4846         * kbmap.C (read): new method. Do the actual reading of bind
4847         files.
4848
4849         * converter.C (dvipdfm_options):
4850         * bufferparams.C:
4851         * lyxrc.C (read):
4852         (output): adapt PAPER_* enums.
4853
4854         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4855
4856         * bufferparams.h: remove paper-related enums from there
4857
4858         * paper.h: New file. A trivial header file to hold paper-related
4859         enums. It should later expand to contain many paper-related
4860         horrors access.
4861
4862         * lyxrc.C: declare extern displayTranslator
4863
4864 2003-07-27  José Matos  <jamatos@fep.up.pt>
4865
4866         * tabular.[Ch] (linuxdoc): add support for tables and figures
4867         (linuxdoc).
4868
4869 2003-07-27  José Matos  <jamatos@fep.up.pt>
4870
4871         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4872         consistency in both functions.
4873         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4874
4875 2003-07-26  Asger Alstrup  <alstrup@local>
4876
4877         * rowpainter.C (paintRows): Change algorithm to work directly on
4878         the insets rather than asking every character in the document
4879         whether its an inset.
4880
4881 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * buffer.C (openFileWrite): factorize some code
4884
4885 2003-07-26  Angus Leeming  <leeming@lyx.org>
4886
4887         * lyx_cb.C:
4888         * lyx_main.[Ch]: replace occurances of system_tempdir with
4889         os::getTmpDir().
4890
4891 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * rename Inset to InsetOld
4894
4895 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4896
4897         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4898         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4899         which I think is a bit clearer. EDIT is gone, since it was
4900         premature optimisation, and broken for mathed anyway.
4901         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4902         with cursor positioning in insets as well (math insets still do not
4903         work, but that's a different story anyway.) It mysteriously
4904         crashes sometimes with undo in the first paragraph, but I'm fairly
4905         confident that this is a compiler bug.
4906
4907 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * paragraph.C (Paragraph): adjust for new clone return type
4910         (operator==): ditto
4911         (copyIntoMinibuffer): ditto
4912
4913 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4914
4915         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4916         by not having a special case, and always doing a full rebreak of
4917         the document after undo.
4918
4919 2003-07-23  Angus Leeming  <leeming@lyx.org>
4920
4921         * factory.C (createInset): InsetExternal::setParams now takes a
4922         Buffer const * arg.
4923
4924 2003-07-23  Angus Leeming  <leeming@lyx.org>
4925
4926         * factory.C (createInset): changed interface to the external and
4927         graphics mailers' string2params functions.
4928
4929 2003-07-23  Angus Leeming  <leeming@lyx.org>
4930
4931         * factory.C (createInset): pass a
4932         Buffer const * parameter to InsetExternalMailer's string2params.
4933
4934 2003-07-22  John Levon  <levon@movementarian.org>
4935
4936         * Thesaurus.h: include the right aiksaurus header
4937
4938 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4939
4940         * MenuBackend.C (expand): check menu shortcuts unconditionally
4941
4942 2003-07-21  Angus Leeming  <leeming@lyx.org>
4943
4944         * factory.C (createInset): pass a
4945         buffer_path parameter to InsetGraphicsMailer's string2params.
4946
4947 2003-07-21  Angus Leeming  <leeming@lyx.org>
4948
4949         * BufferView_pimpl.C (buffer):
4950         * buffer.C (d-tor):
4951         * lyx_main.C (LyX):
4952         * lyxfunc.C (dispatch):
4953         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4954         rather than the grfx shortcut.
4955
4956 2003-07-21  André Pönitz  <poenitz@gmx.net>
4957
4958         * rowpainter.C: remove unused variables
4959
4960         * tabular_funcs.C:
4961         * tabular_funcs.h: move to tabular.C
4962         * Makefile.am: adjust
4963
4964         * tabular.[Ch]: basic optical cleaning
4965
4966         * author.h: pass references, not values
4967
4968 2003-07-18  André Pönitz  <poenitz@gmx.net>
4969
4970         * lyxtext.h:
4971         * metricsinfo.C:
4972         * metricsinfo.h:
4973         * rowpainter.C:
4974         * text.C:
4975         * text2.C:
4976         * text3.C: two-phase drawing for InsetText and InsetTabular
4977         some float -> int changes.
4978
4979 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * lyx_main.C: fix the fix
4982
4983 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * lyx_main.C: fix a crash in batch mode if no files specified
4986         * converter.C: ws
4987
4988 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * format.[Ch] (papersize): moved to BufferParams
4991         * converter.[Ch] (dvips_options): moved to BufferParams
4992         (dvipdfm_options): moved to anon namespace
4993         * bufferparams.[Ch]: added above functions.
4994
4995 2003-07-17  André Pönitz  <poenitz@gmx.net>
4996
4997         * lyxtext.h:
4998         * rowpainter.C:
4999         * text2.C: don't call inset->update() anymore
5000
5001         * metricsinfo.[Ch]: add convenience constructor
5002
5003 2003-07-16  André Pönitz  <poenitz@gmx.net>
5004
5005         * lyxcursor.[Ch]:
5006         * lyxfunc.[Ch]:
5007         * text.C:
5008         * text2.C: replace the LyXCursor::irow_ member with
5009          on-demand computation of the value
5010
5011 2003-07-16  John Levon  <levon@movementarian.org>
5012
5013         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5014
5015 2003-07-15  André Pönitz  <poenitz@gmx.net>
5016
5017         * text.C:
5018         * text2.C: remove no more needed refresh_row
5019
5020 2003-07-15  André Pönitz  <poenitz@gmx.net>
5021
5022         * lyxtext.h:
5023         * rowpainter.C:
5024         * text2.C:
5025         * text3.C: refresh_status tristate -> need_update bool
5026
5027 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * lyxtext.h (init): remove reinit argument (act as if always true)
5030         * text2.C: adjust to that
5031
5032 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5033
5034         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5035         * text3.C: use it to delete selections in some cases
5036         (bugs 441, 673, 702, 954).
5037
5038 2003-07-14  André Pönitz  <poenitz@gmx.net>
5039
5040         * rowpainter.[Ch]: reduce interface
5041
5042 2003-07-14  André Pönitz  <poenitz@gmx.net>
5043
5044         * BufferView_pimpl.C:
5045         * text2.C: adjust after removing unused BufferView * argument
5046
5047 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * text2.C (init): fix a crash fired on resize
5050
5051 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * buffer.[Ch]: added new closing signal
5054         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5055         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5056         BufferView::Pimpl via the closing the signal
5057
5058 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * buffer.[Ch]: take out all bv-related from buffer
5061         * BufferView.C:
5062         * BufferView_pimpl.[Ch]: connect to new signals
5063         * CutAndPaste.C: removed useless asserts
5064         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5065         * lyxvc.[Ch]:
5066         * vc-backend.[Ch]:
5067         * lyxfunc.C: moved view-related funciontality from vc here
5068         * paragraph.C: removed outdated comments
5069         * text.C: ws
5070
5071 2003-07-10  André Pönitz  <poenitz@gmx.net>
5072
5073         * BufferView_pimpl.C:
5074         * tabular.h:
5075         * tabular_funcs.C:
5076         * text.C:
5077         * text2.C: remove InsetText::InnerCache, clean up consequences
5078
5079 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5080
5081         * ispell.C: fix two typos in error messages
5082
5083 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5084
5085         * Extend Note inset to other forms of annotation like Comment
5086         and Greyedout. Right button click gives dialog.
5087
5088         Files modified or added (+):
5089
5090         * insetnote.[Ch]
5091         * FormNote.[Ch]      +
5092         * ControlNote.[Ch]   +
5093         * form_note.fd       +
5094         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5095         frontends/controllers
5096         * xforms/Dialogs.C
5097         * factory.C
5098
5099 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5100
5101         * aspell.C: add missing namespace lyx::support
5102
5103 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * BufferView.[Ch] (newFile): Add
5106         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5107         * LaTeX.[Ch] (message): added this signal and use it
5108         * buffer.[Ch] (busy, message): added these signals and use them
5109         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5110         * converter.C:
5111         * exporter.C:
5112         * format.C:
5113         * importer.C: use buffer signals instead of direct bv calling
5114         * lyx_cb.[Ch] (ShowMessage): removed
5115         * lyx_main.C:
5116         * lyxfunc.C:
5117         * paragraph_funcs.C:
5118         * text2.C: use buffer signals
5119
5120 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * introduce namespace lyx::graphics
5123
5124 2003-07-02  André Pönitz  <poenitz@gmx.net>
5125
5126         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5127
5128 2003-07-01  André Pönitz  <poenitz@gmx.net>
5129
5130         * text.C:
5131         * text2.C:
5132         * text3.C:
5133         * text_funcs.[Ch]:
5134         * textcursor.h:
5135         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5136           text*.C to text_func.C
5137
5138 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * introduce namespace lyx::support
5141
5142 2003-06-30  André Pönitz  <poenitz@gmx.net>
5143
5144         * Chktex.C:
5145         * funcrequest.C:
5146         * lyxtext.h:
5147         * text.C: re-enable --with-included-string
5148
5149 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * textcursor.C: add <config.h>
5152
5153         * text.C (getWord): remove const from word_location arg
5154
5155         * lyxvc.C (getLogFile): fix const type order
5156
5157         * lyxtext.h: remove const from word_location arg, add arg name
5158
5159         * lyxlayout.h: currect type on labeltype.
5160
5161         * importer.C: correct \file
5162
5163         * converter.C (intToFormat): use std:: on ret val, ws changes
5164
5165         * bufferlist.h: correct \file
5166
5167         * buffer.C (makeLinuxDocFile): fix const type order
5168         (makeDocBookFile): ditto
5169         (fillWithBibKeys): use std:: on stdlib args.
5170
5171         * CutAndPaste.C: fix authors.
5172         (availableSelections): use std:: on return vector
5173
5174 2003-06-27  André Pönitz  <poenitz@gmx.net>
5175
5176         * BufferView_pimpl.C:
5177         * bufferview_funcs.C:
5178         * lyxcursor.C:
5179         * lyxcursor.h:
5180         * lyxfunc.C:
5181         * lyxtext.h:
5182         * rowpainter.C:
5183         * text.C:
5184         * text2.C:
5185         * text3.C: remove LyXCursor::row_ member
5186
5187         * lyxtext.h:
5188         * text.C: rename fullRebreak() to partialRebreak() and implement
5189           a fullRebreak() that really bereks fully
5190
5191         * textcursor.h: new struct for cursor-related data
5192
5193 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5194
5195         * lyx_main.C (LyX): get full path of document loaded on the
5196         command line
5197
5198 2003-06-26  André Pönitz  <poenitz@gmx.net>
5199
5200         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5201           remove unused/broken operator>,<,>=.
5202
5203         *       text.C: remove only use of broken operator<= in an Assert().
5204
5205 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5206
5207         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5208         moved errorlist_.clear to showErrorList
5209
5210 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5211
5212         * converter.C (scanLog, runLaTeX):
5213         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5214         move the bv->showErrorList call to the callers
5215         * lyxfunc.C: i.e. here...
5216         * text2.C: and here
5217         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5218         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5219         namespace, the second to...
5220         * buffer_funcs (BufferFormat, parseErrors): added
5221         * errorlist.C (ErrorList(TeXErrors const &)): removed
5222
5223 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5224
5225         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5226
5227 2003-06-24  "Garst R. Reese" <reese@isn.net>
5228
5229         * debug.C: fix typo
5230
5231 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5232
5233         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5234
5235         * version.C.in: change docversion to 1.4
5236
5237 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5238
5239         * buffer.C: fix a bug just introduced
5240
5241 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * buffer.[Ch]: added the parseError signal and use it, removed
5244         sgmlError
5245         * BufferView.[Ch] (addError): moved to ...
5246         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5247         to the Buffer::parseError signal to catch (guess what) parse errors
5248         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5249
5250 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5253         ability to create a buffer and to return an existing one from
5254         the list. Moved these functions to...
5255         * buffer_funcs.[Ch]: added
5256         * BufferView.[Ch] (loadLyXFile): added
5257         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5258         job removed from bufferlist::loadLyXFile.
5259         * buffer.C (setReadOnly): make it work without view
5260         (i.e added an if (users))
5261
5262 2003-06-19  Angus Leeming  <leeming@lyx.org>
5263
5264         * lfuns.h:
5265         * LyXAction.C (init):
5266         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5267         with LFUN_DIALOG_SHOW <name> <data>.
5268
5269 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5270
5271         * CutAndPaste.C (availableSelections): small compilation fix for
5272         ancient (gcc 2.9x) compilers
5273
5274 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * text3.C (cursorNext): add tmp var
5277
5278         * text2.C (updateCounters): for function calling out of for clause
5279         (replaceSelectionWithString): ditto
5280         (insertStringAsParagraphs): ditto
5281         (getColumnNearX): add tmp var
5282         (setCursorFromCoordinates): add tmp var
5283         (cursorDownParagraph): add tmp var
5284         (deleteEmptyParagraphMechanism): add tmp var
5285
5286         * text.C (insertChar): add tmp var
5287
5288         * rowpainter.C (paintDepthBar): add tmp var
5289
5290         * CutAndPaste.C (availableSelections): potentially check all
5291         paragraphs in a cut to fill the shown strings.
5292
5293 2003-06-18  André Pönitz  <poenitz@gmx.net>
5294
5295         * kbmap.[Ch]: use vector<> instead of list<>
5296
5297 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5298
5299         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5300         pasteSelection with index
5301
5302         * text2.C (pasteSelection): modify, call pasteSelection with index
5303
5304         * paragraph.C (asString): reimplement version with no interval to
5305         call the one with interval.
5306
5307         * lyxtext.h: add index arg to pasteSelection
5308
5309         * MenuBackend.C (MenuItem): handle PasteRecent
5310         (Menu::read::Menutags): add md_pasterecent
5311         (read): handle it
5312         (expandPasteRecent): new function
5313         (expand): use it
5314
5315         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5316
5317         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5318         the limited stack
5319         (availableSelections): new function
5320
5321 2003-06-17  Angus Leeming  <leeming@lyx.org>
5322
5323         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5324
5325 2003-06-17  Angus Leeming  <leeming@lyx.org>
5326
5327         * lfuns.h:
5328         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5329
5330         * lyxfunc.C (dispatch): invoke it.
5331
5332 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5333
5334         * iterators.C (operator++, ParPosition): reintroduce some
5335         const_cast for the benefit of older compilers.
5336
5337 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5338
5339         * text3.C (dispatch): do not modify clipboard when doing
5340         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5341         LFUN_DELETE_SKIP on a selection selection
5342
5343 2003-06-16  André Pönitz  <poenitz@gmx.net>
5344
5345         * BufferView.C:
5346         * buffer.C:
5347         * buffer.h:
5348         * paragraph.C:
5349         * tabular.[Ch]: IU of clone() and getLabelList();
5350
5351 2003-06-13  André Pönitz  <poenitz@gmx.net>
5352
5353         * tabular.h: compactification
5354
5355 2003-06-12  André Pönitz  <poenitz@gmx.net>
5356
5357         * tabular.C:
5358         * tabular.h:
5359         * tabular_funcs.h: some renaming plus whitespace
5360
5361 2003-06-12  André Pönitz  <poenitz@gmx.net>
5362
5363         * BufferView.C:
5364         * BufferView_pimpl.C:
5365         * CutAndPaste.C:
5366         * buffer.C:
5367         * iterators.[Ch]:
5368         * lyxfunc.C:
5369         * text.C:
5370         * toc.C: Return a Paragraph & for ParIterator::operator*()
5371
5372 2003-06-11  John Levon  <levon@movementarian.org>
5373
5374         * lyx_main.C:
5375         * ToolbarBackend.h:
5376         * ToolbarBackend.C: add "Toolbars" section and
5377         put the flags there
5378
5379 2003-06-10  Angus Leeming  <leeming@lyx.org>
5380
5381         * lfuns.h:
5382         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5383
5384         * lyxfunc.C (dispatch): invoke it.
5385
5386 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * main.C: protect <ios> with HAVE_IOS
5389         (main): protect sync_with_stdio with HAVE_IOS
5390
5391 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5392
5393         * text2.C (cutSelection): adjust
5394         (pasteSelection): adjust
5395
5396         * messages.C: handle get of empty string
5397
5398         * main.C (main): use sync_with_stdio(false)
5399
5400         * lyxfunc.C (dispatch): adjust
5401
5402         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5403         (WriteAs): remove unneeded BufferView arg.
5404
5405         * bufferparams.h: use correct types on papersize, papersize2 and
5406         paperpackage.
5407
5408         * bufferparams.C (readToken): adjust for type
5409         (writeLaTeX): add missing cases to switch.
5410
5411         * bufferlist.C (quitWriteBuffer): adjust
5412         (close): adjust
5413
5414         * buffer.C (asciiParagraph): remove some commented code.
5415
5416         * CutAndPaste.C: remove current_view extern variable.
5417         (cutSelection): add BufferParams arg.
5418         (eraseSelection): add BufferParams arg.
5419         (pasteSelection): add Buffer const & arg
5420
5421 2003-06-07  John Levon  <levon@movementarian.org>
5422
5423         * buffer.C:
5424         * paragraph_funcs.C:
5425         * paragraph_pimpl.C:
5426         * text.C:
5427         * text2.C:
5428         * paragraph.h:
5429         * paragraph.C: allow InsetERT to freely space lines,
5430         and some consolidation of code
5431
5432 2003-06-06  José Matos  <jamatos@fep.up.pt>
5433
5434         * buffer.C (makeDocBookFile): fix bug #821
5435
5436 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5439
5440 2003-06-04  Angus Leeming  <leeming@lyx.org>
5441
5442         * buffer.C: bump format to 224.
5443
5444 2003-06-05  André Pönitz  <poenitz@gmx.net>
5445
5446         * text2.C (redoParagraphs): remove two const_cast<>
5447
5448 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5449
5450         * ParagraphList.h: remove last remnants of NO_STD_LIST
5451
5452 2003-06-03  Angus Leeming  <leeming@lyx.org>
5453
5454         * factory.C (createInset): small change to the way InsetExternal's params
5455         are set.
5456
5457 2003-06-04  André Pönitz  <poenitz@gmx.net>
5458
5459         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5460
5461         * paragraph_pimpl.h:
5462         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5463
5464         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5465
5466         * undo_funcs.C: make some simple cases of undo work again
5467
5468 2003-06-03  John Levon  <levon@movementarian.org>
5469
5470         * ispell.C: HPUX doesn't have sys/select.h
5471         (from Albert Chin)
5472
5473 2003-06-03  John Levon  <levon@movementarian.org>
5474
5475         * CutAndPaste.C: update tabular and include inset
5476         buffer references
5477
5478         * buffer.h:
5479         * paragraph.h:
5480         * paragraph.C: remove owningBuffer(), don't pass Buffer
5481         to clone()
5482
5483         * factory.C: insetGraphicsParams changed
5484
5485 2003-06-02  John Levon  <levon@movementarian.org>
5486
5487         * LyXAction.C:
5488         * factory.C:
5489         * lfuns.h:
5490         * lyxfunc.C:
5491         * text3.C: remove insetparent
5492
5493 2003-06-02  John Levon  <levon@movementarian.org>
5494
5495         * buffer.h:
5496         * buffer.C: fix inset_iterator.end(), move out of line
5497         (bug 1149)
5498
5499 2003-06-01  John Levon  <levon@movementarian.org>
5500
5501         * text3.C: use a proper cut/paste when doing inset
5502         insert (from Jürgen Spitzmüller)
5503
5504 2003-06-01  John Levon  <levon@movementarian.org>
5505
5506         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5507
5508 2003-05-30  André Pönitz  <poenitz@gmx.net>
5509
5510         * rowpainter.C: unify second drawing phase
5511
5512 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * trans_mgr.C: remove one case of current_view
5515
5516         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5517
5518         * paragraph_funcs.h: remove paragraph.h include
5519
5520         * paragraph.h: delete NO_STD_LIST stuff
5521
5522         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5523
5524         * buffer.h: remove paragraph.h include
5525
5526         * ParagraphList.C: delete file
5527
5528         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5529
5530         * toc.C (getTocList): adjust
5531
5532         * paragraph_pimpl.C (validate): adjust
5533
5534         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5535
5536         * paragraph.C (Paragraph): adjust
5537         (getPositionOfInset): use const_iterator, adjust
5538         (bibitem): use const_iterator, adjust
5539         (setInsetOwner): adjust
5540
5541         * iterators.C (operator++): adjust
5542
5543         * InsetList.[Ch]: Replace selfmade iterator with standard
5544         vector::iterator also introduce const_iterator. Remove getPos,
5545         getInset and setInset from InsetTable. Adjust accordingly.
5546
5547         * BufferView.C (lockInset): adjust
5548         (ChangeInsets): adjust
5549
5550         * tabular.[Ch]: delete commented same_id functions
5551
5552 2003-05-28  John Levon  <levon@movementarian.org>
5553
5554         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5555
5556 2003-05-28  André Pönitz  <poenitz@gmx.net>
5557
5558         * metricsinfo.[Ch]: remove 'fullredraw' member
5559
5560 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5561
5562         * lyxtextclass.C (operator): remove caching.
5563
5564 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * text3.C: adjust
5567
5568         * text2.C (cursorBottom): adjust
5569         (setCounter): use ParagraphList::find, adjust
5570
5571         * text.C (workWidth): use ParagraphList::find, adjust
5572
5573         * lyxcursor.C (LyXCursor): adjust
5574
5575         * buffer.C (inset_iterator): adjust
5576
5577         * ParagraphList.h: make iterator(value_type) private, make
5578         ParagraphList a friend of iterator.
5579
5580         * ParagraphList.C (find): new function
5581
5582         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5583
5584 2003-05-27  André Pönitz  <poenitz@gmx.net>
5585
5586         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5587
5588 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5589
5590         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5591
5592 2003-05-26  John Levon  <levon@movementarian.org>
5593
5594         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5595
5596 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * remove same_id from function signatures, adjust.
5599
5600 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5603
5604         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5605
5606         * paragraph.C (Paragraph): get rid of same_ids parameter
5607
5608         * ParagraphList.C (insert): adjust
5609         (push_back): adjust
5610
5611 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * paragraph_funcs.C (breakParagraph): adjust
5614         (breakParagraphConservative): adjust
5615
5616         * buffer.C (readParagraph): adjust
5617
5618         * ParagraphList.C (insert): take a reference instead of a pointer
5619         (insert): adjust
5620
5621         * paragraph.[Ch] (id): new function
5622
5623         * bufferlist.C (newFile): adjust
5624
5625         * ParagraphList.C (ParagraphList): adjust
5626         (assign): adjust
5627         (push_back): take a reference instead of a pointer.
5628
5629         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5630
5631         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5632         instead.
5633
5634         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5635         set else use old code.
5636
5637         * ParagraphList.C: remove all NO_NEXT code and only compile this
5638         code of NO_STD_LIST is set.
5639
5640 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * BufferView_pimpl.C:
5643         * TextCache.C:
5644         * TextCache.h:
5645         * bufferlist.C:
5646         * errorlist.h:
5647         * format.C:
5648         * format.h:
5649         * graph.C:
5650         * lyxfunc.C:
5651         * lyxrc.C:
5652         * graphics/GraphicsConverter.C:
5653         * graphics/PreviewLoader.C: header adjustment
5654
5655 2003-05-23  Angus Leeming  <leeming@lyx.org>
5656
5657         * LaTeXFeatures.[Ch] (useBabel): new method.
5658         * bufferparams.C (writeLaTeX): use it.
5659
5660 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * ParagraphList.h (set): remove unused function.
5663
5664 2003-05-23  André Pönitz  <poenitz@gmx.net>
5665
5666         * BufferView.C:
5667         * BufferView_pimpl.C:
5668         * buffer.C:
5669         * buffer.h:
5670         * lyxfunc.C:
5671         * undo_funcs.C: setUndo reworked
5672
5673         * iterators.[Ch]: add access to topmost ParagraphList
5674
5675         * lyxtext.[Ch] (workWidth): add a const
5676
5677 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5678
5679         * texrow.[Ch] (increasePos): remove function
5680         * exporter.C (export): removed unused var and outdated comment
5681
5682 2003-05-23  Angus Leeming  <leeming@lyx.org>
5683
5684         * latexrunparams.h: rename fragile as moving_arg.
5685         * paragraph.C (simpleTeXOnePar): ditto.
5686         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5687
5688 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5691         (createUndo): ditto
5692         (textUndoOrRedo): comment out a currently unused var.
5693
5694         * paragraph.h (NO_NEXT): enable NO_NEXT
5695
5696         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5697
5698         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5699
5700         * exporter.C (Export): adjust for removeAutoInsets removal.
5701
5702         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5703
5704         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5705
5706         * BufferView.[Ch] (removeAutoInsets): delete function
5707
5708 2003-05-22  Angus Leeming  <leeming@lyx.org>
5709
5710         * latexrunparams.h: add a free_spacing variable.
5711
5712         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5713         to pass moving_arg, as the data is stored in runparams.fragile.
5714
5715         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5716         to Inset::latexOptional or to simpleTeXOnePar.
5717
5718         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5719         free_spacing arg to Inset::latexOptional.
5720
5721         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5722         free_spacing arg.
5723
5724 2003-05-22  Angus Leeming  <leeming@lyx.org>
5725
5726         * latexrunparams.h: add fragile and use_babel variables.
5727
5728         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5729         * buffer.C (makeLaTeXFile): store this returned value in
5730         runparams.use_babel, thus passing it to the inset::latex methods.
5731
5732         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5733         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5734
5735         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5736         longer has a fragile arg, as it is stored in runparams.fragile.
5737
5738         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5739         moving_arg parameter as the data is stored in runparams.fragile.
5740
5741         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5742         a fragile parameter as the data is stored in runparams.fragile.
5743
5744 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5747
5748 2003-05-22  Angus Leeming  <leeming@lyx.org>
5749
5750         * latexrunparams.h: add a 'bool nice' which defaults to false.
5751
5752         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5753         now encapsulated within runparams.
5754
5755         * bufferlist.C (updateIncludedTeXfiles):
5756         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5757
5758 2003-05-22  Angus Leeming  <leeming@lyx.org>
5759
5760         * latexrunparams.h: new file containing struct LatexRunParams.
5761         * Makefile.am: add new file.
5762
5763         * LaTeX.[Ch] (c-tor, run):
5764         * buffer.[Ch] (makeLaTeXFile):
5765         * bufferlist.[Ch] (updateIncludedTeXfiles):
5766         * converter.C (convert, scanLog):
5767         * converter.[Ch] (runLaTeX):
5768         * exporter.C (Export):
5769         * paragraph.[Ch] (simpleTeXOnePar):
5770         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5771         * paragraph_funcs.[Ch] (latexParagraphs):
5772         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5773         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5774         pass around a LatexRunParams parameter.
5775
5776 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * paragraph.[Ch]: remove unused constructor
5779
5780         * ParagraphList.C (erase): new function, taking two iterators
5781
5782 2003-05-22  André Pönitz  <poenitz@gmx.net>
5783
5784         * undo_funcs.C: remove duplicated code
5785
5786         * iterator.[Ch]: operator=
5787
5788 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * tabular.C (SetMultiColumn): ws changes
5791
5792         * rowpainter.C (paintFirst): get rid of a ->previous
5793
5794         * lyx_cb.C (getPossibleLabel): parlist simplification
5795
5796         * BufferView.C (ChangeInsets): simplify slightly.
5797
5798 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5799
5800         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5801         * lfuns.h: new LFUN_SPACE
5802         * lyxfunc.C: protected space has a new lfun
5803         * paragraph_funcs.C: read new space insets
5804         * text3.C:
5805         * factory.C: handle new space insets
5806
5807 2003-05-22  André Pönitz  <poenitz@gmx.net>
5808
5809         * BufferView.C:
5810         * BufferView_pimpl.C:
5811         * buffer.[Ch]:
5812         * lyxfunc.C:
5813         * undo_funcs.C: return a ParIterator from getParFromID.
5814
5815         * iterators.[Ch]: add two const's
5816
5817 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5818
5819         * toc.C (getTocList): adjust
5820
5821         * iterators.[Ch]: rework for parlist
5822
5823         * buffer.C (par_iterator_begin): adjust
5824         (par_iterator_end): adjust
5825
5826         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5827
5828         * BufferView.C (removeAutoInsets): adjust
5829         (ChangeInsets): adjust
5830
5831 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5832
5833         * text.C (top_y): fix bug 1110
5834
5835 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * errorlist.[Ch]: added
5838         * buffer.C:
5839         * BufferView.[Ch]:
5840         * BufferView_pimpl.C:
5841         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5842         instead
5843
5844 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * Makefile.am: ensure that lyx is relinked upon changes to the
5847         various "convenience" libs.
5848
5849 2003-05-20  Angus Leeming  <leeming@lyx.org>
5850
5851         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5852         files are compiled in alphabetical order again.
5853
5854         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5855
5856 2003-05-19  Angus Leeming  <leeming@lyx.org>
5857
5858         * gettext.[Ch]: remove "char const * _(char const *)".
5859
5860 2003-05-19  André Pönitz  <poenitz@gmx.net>
5861
5862         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5863
5864         * Makefile.am:
5865         * BufferView.C:
5866         * DepTable.h:
5867         * LaTeXFeatures.C:
5868         * buffer.C:
5869         * lyxfont.C:
5870         * lyxlex.h:
5871         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5872
5873 2003-05-19  André Pönitz  <poenitz@gmx.net>
5874
5875         * buffer.C:
5876         * lyxlayout.[Ch]:
5877         * lyxtextclass.[Ch]:
5878         * paragraph.C:
5879         * paragraph_funcs.[Ch]:
5880         * text2.C:
5881         * text3.C: more insetenv work
5882
5883 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * ParagraphParameters.C (params2string): small bug fixed
5886
5887 2003-05-16  André Pönitz  <poenitz@gmx.net>
5888
5889         * debug.C:
5890         * bufferview_funcs.C: patch from Kornel Benko to prevent
5891           crash when _(...) is called twice in a statement
5892
5893 2003-05-16  André Pönitz  <poenitz@gmx.net>
5894
5895         * BufferView.C:
5896         * lyxfunc.C:
5897         * text.C:
5898         * text2.C:
5899         * text3.C:
5900         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5901
5902 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * lyx_main.C (init): remove spurious static_cast
5905
5906 2003-05-14  André Pönitz  <poenitz@gmx.net>
5907
5908         * BufferView.C: fix format string
5909
5910 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5911
5912         * BufferView.[Ch] (insertErrors): removed
5913         * BufferView.[Ch] (showErrorList): added
5914         * buffer.C (runChkTeX):
5915         * converter.C (scanLog): call showErrorList instead of inserterrors
5916
5917 2003-05-13  André Pönitz  <poenitz@gmx.net>
5918
5919         * BufferView_pimpl.C:
5920         * buffer.C:
5921         * bufferview_func.C:
5922         * MenuBackend.C:
5923         * lyxfunc.C:
5924         * lyxrc.C:
5925         * tex-accent.C:
5926         * text3.C:
5927         * toc.C:
5928         * tabular_funcs.h: tostr() from its own header
5929
5930         * ParagraphParameters.C:
5931         * ToolbarBackend.C:
5932         * bufferparams.C:
5933         * format.C:
5934         * lyxlex_pimpl.C:
5935         * text3.C: STRCONV()
5936
5937 2003-05-12  André Pönitz  <poenitz@gmx.net>
5938
5939         * BufferView.C:
5940         * BufferView_pimpl.C:
5941         * CutAndPaste.C:
5942         * LaTeX.C:
5943         * LaTeXFeatures.C:
5944         * ParagraphParameters.C:
5945         * buffer.C:
5946         * bufferlist.C:
5947         * bufferparams.C:
5948         * bufferview_funcs.C:
5949         * converter.C:
5950         * counters.C:
5951         * debug.C:
5952         * exporter.C:
5953         * format.C:
5954         * importer.C:
5955         * lyx_cb.C:
5956         * lyx_main.C:
5957         * lyxfont.C:
5958         * lyxfunc.C:
5959         * lyxvc.C:
5960         * paragraph.C:
5961         * paragraph_funcs.C:
5962         * tabular.C:
5963         * tabular_funcs.C:
5964         * text2.C:
5965         * text3.C:  boost::format -> bformat  all over the place
5966
5967
5968 2003-05-09  André Pönitz  <poenitz@gmx.net>
5969
5970         * LColor.[Ch]: Pimpl the #include <map> away
5971
5972 2003-05-09  John Levon  <levon@movementarian.org>
5973
5974         * bufferlist.C: never remove emergency saves
5975
5976 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * Makefile.am: better lib building
5979
5980 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5983         instead.
5984         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5985         (simpleTeXSpecialChars): adjust
5986         (simpleTeXSpecialChars): adjust
5987         * paragraph.C (simpleTeXOnePar): adjust
5988         * buffer.C (makeLaTeXFile): adjust
5989
5990         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5991
5992         * text2.C (changeDepth): parlist cleanup
5993         (getColumnNearX): ditto
5994
5995         * rowpainter.C (getLabelFont): parlist cleanup
5996
5997         * bufferlist.C (newFile): parlist cleanup
5998
5999         * CutAndPaste.C (eraseSelection): parlist cleanup
6000
6001         * BufferView_pimpl.C (trackChanges): parlist cleanup
6002         (dispatch): ditto
6003
6004         * BufferView.C (lockInset): parlist cleanup.
6005         (ChangeInsets): ditto
6006
6007 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6008
6009         * CutAndPaste.h: Update file header.
6010
6011         * CutAndPaste.C: Update file header.
6012         Store the parts cut out of the Document in a limited_stack.
6013         (copySelection): adjust
6014         (pasteSelection): new function, takes the index in the limited stack.
6015         (nrOfParagraphs): adjust
6016         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6017         simplify error inset insertion.
6018         (checkPastePossible): adjust
6019
6020 2003-05-06  John Levon  <levon@movementarian.org>
6021
6022         * text2.C: don't cast wrap inset to float
6023
6024 2003-05-05  André Pönitz  <poenitz@gmx.net>
6025
6026         * iterator.C:
6027         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6028
6029         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6030           few naked Paragraph *.
6031
6032 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6033
6034         * bufferparams.C: Output warning if a document with missing
6035         TeX document class is loaded
6036         * exporter.C: Disable TeX exports if the document class is missing
6037         * lyxtextclass.C:
6038         * lyxtextclass.h:
6039         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6040         isTeXClassAvailable()
6041
6042 2003-05-03  John Levon  <levon@movementarian.org>
6043
6044         * BufferView.h:
6045         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6046         explicit cursor show/hide
6047
6048         * BufferView_pimpl.h:
6049         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6050         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6051
6052         * lyxfunc.C: hide cursor before dispatching.
6053
6054         * lyx_cb.C:
6055         * lyxfind.C:
6056         * text.C:
6057         * text3.C: remove explicit cursor hides
6058
6059 2003-05-02  André Pönitz  <poenitz@gmx.net>
6060
6061         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6062
6063         * undo_funcs.C:
6064         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6065           linked lists
6066
6067         * text2.C: tiny whitespace
6068
6069 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * undo_funcs.C: almost only ws changes.
6072
6073         * ParagraphList.C (splice): just return if pl is empty.
6074
6075 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * ParagraphList.C (splice): new function.
6078
6079         * CutAndPaste.C (pasteSelection): use it
6080
6081 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * CutAndPaste.C (pasteSelection): remove the last next and
6084         previous from this file.
6085
6086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * CutAndPaste.C (pasteSelection): more clean up, user proper
6089         ParagraphList functions for pasteing.
6090
6091         * ParagraphList.C (insert): new function, three arg insert
6092
6093 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * ParagraphList.C (insert): new function, three arg insert
6096
6097         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6098         not on paragraphs.
6099
6100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6103
6104 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6107
6108 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6111         (copySelection): clean up a bit.
6112         (pasteSelection): use make_pair
6113
6114         * ParagraphList.C (ParagraphList): implement copy constructor
6115         (operator=): implement, base on copy constructor.
6116         (assign): new func
6117
6118         * paragraph.C (erase): return a bool
6119
6120         * paragraph_pimpl.C (erasePos): remove function, move contents...
6121         (erase): ... here. Return a bool.
6122         (erase): call erase instead of erasePos.
6123
6124 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6125
6126         * ParagraphList.h: define PitPosPair
6127         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6128         ParagraphList, fix a bug on pasting multiple pars
6129         * text2.C: change interface to C&P
6130
6131 2003-04-30  André Pönitz  <poenitz@gmx.net>
6132
6133         * undo_func.C: revert part of yesterday's patch 2
6134
6135 2003-04-30  John Levon  <levon@movementarian.org>
6136
6137         * LColor.C: s/tabular/table/
6138
6139 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * text3.C (dispatch): do not convert iterator -> pointer
6142         * undo_funcs.C (setCursorParUndo): ditto
6143         * text_funcs.C (transposeChars): ditto
6144
6145         * text2.C (setLayout): ws changes only
6146
6147         * text.C (breakParagraph): do not convert iterator -> pointer
6148         (insertChar): ditto
6149         (acceptChange): ditto
6150         (rejectChange): ditto
6151         (changeCase): ditto
6152         (Delete): ditto
6153         (backspace): ditto
6154
6155         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6156         pointer
6157
6158 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6159
6160         * text3.C (gotoInset): YABG (yet another bad getChar)
6161
6162 2003-04-29  André Pönitz  <poenitz@gmx.net>
6163
6164         * paragraph.h: make operator= private unimplemented as long as
6165           it is unusable
6166
6167         * ParagraphList.C: whitespace
6168
6169         * paragraph.[Ch]:
6170         * paragraph_pimpl.[Ch]:
6171         * paragraph_funcs.C:
6172         * CutAndPaste.C:
6173         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6174
6175         * text2.C:
6176           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6177
6178 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6179
6180         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6181         * paragraph.[Ch] (erase):
6182         * paragraph_pimpl.[Ch] (erase): change return type and value
6183         * text2.C (cutSelection): some rework
6184
6185 2003-04-28  John Levon  <levon@movementarian.org>
6186
6187         * bufferlist.C: changes for unsaved changes dialog
6188
6189 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * bufferlist.C (newFile): set language (messages_) for new
6192         documents also.
6193
6194         * buffer.C (readFile): ws changes only.
6195
6196 2003-04-28  André Pönitz  <poenitz@gmx.net>
6197
6198         * undo_funcs.C:
6199         * lyxfunc.C:
6200         * buffer.[Ch]:
6201         * BufferView_pimpl.C:
6202         * BufferView.C: getParFromID related ParagraphList::iterator changes
6203
6204 2003-04-28  André Pönitz  <poenitz@gmx.net>
6205
6206         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6207           Changes
6208
6209 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * messages.C: remove one more localedir class variable.
6212
6213 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * messages.C (getLocaleDir): singleton generation function
6216         (Pimpl): use it.
6217         (Messages): add a default constructor.
6218
6219         * main.C (main): do not setup localedir here, do not call
6220         gettext_init.
6221
6222         * gettext.C (_): use it.
6223         (gettext_init): delete funciton
6224
6225 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * gettext.C (getLyXMessages): new singleton generating function.
6228
6229         * buffer.C (updateDocLang): adjust
6230
6231         * Makefile.am (messages.o): add target
6232         (main.o): remove target
6233
6234 2003-04-27  John Levon  <levon@movementarian.org>
6235
6236         * bufferlist.C:
6237         * lyx_cb.C:
6238         * lyxfunc.C:
6239         * lyxvc.C: specify cancel button in Alert::prompt
6240
6241 2003-04-26  John Levon  <levon@movementarian.org>
6242
6243         * text3.C:
6244         * lyxfunc.C:
6245         * lfuns.h:
6246         * LyXAction.C: add LFUN_INSET_SETTINGS
6247
6248         * lyxfunc.C: don't enable tabular-feature when there's
6249         just any locking inset
6250
6251 2003-04-26  John Levon  <levon@movementarian.org>
6252
6253         * bufferlist.C: re-add Cancel to buffer close question
6254
6255         * lyxfunc.C: fix import UI a bit
6256
6257 2003-04-25  John Levon  <levon@movementarian.org>
6258
6259         * gettext.C: remove the broken asserts for now
6260
6261 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * messages.C: make case where setlocale cannot comply work better.
6264
6265         * buffer.C (updateDocLang): new function
6266         (changeLanguage): use it
6267         (readFile): use it
6268
6269         * text2.C (setCounter): use B_ a bit.
6270
6271         * lyxlayout.C (Read): be sure to trim the label strings.
6272
6273         * messages.C (Messages): fix typo in comment
6274
6275         * buffer.C (readFile): set message_ after file is loaded.
6276         (makeDocBookFile): remove double return
6277         (changeLanguage): reset message_ upon language change.
6278         (B_): new func, use this to get translated buffer strings.
6279
6280         * main.C: add myself and Jean Marc as authors.
6281
6282 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * messages.[hC]: pimplify Messages, and three different pimpls to be
6285         used in different circumstances.
6286
6287         * gettext.[Ch]: change for use with new message code.
6288
6289 2003-04-24 André Pönitz <poenitz@gmx.net>
6290
6291         * factory.C: support for eqref
6292
6293 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * messages.[Ch]: add missing char
6296
6297         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6298
6299         * messages.[Ch]: New files
6300
6301 2003-04-18  John Levon  <levon@movementarian.org>
6302
6303         * BufferView.h:
6304         * BufferView.C:
6305         * BufferView_pimpl.C:
6306         * lfuns.h:
6307         * LyXAction.C:
6308         * lyxtext.h:
6309         * text2.C: remove layout-copy/paste (bug 778)
6310
6311 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6314
6315 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6318         if they succeed. Act accordingly.
6319
6320 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * text2.C (setCharFont): adjust
6323         (setCounter): adjust
6324         (insertStringAsLines): adjust
6325
6326         * text.C (leftMargin): adjust
6327         (setHeightOfRow): adjust
6328
6329         * rowpainter.C (paintFirst): adjust
6330         (paintLast): adjust
6331
6332         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6333         (outerHook): ditto
6334         (isFirstInSequence): ditto
6335         (getEndLabel): ditto
6336         (outerFont): adjust
6337
6338         * paragraph.C (getParLanguage): comment out some hard stuff.
6339
6340         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6341         (sgmlError): ditto
6342         (simpleDocBookOnePar): ditto
6343         (makeDocBookFile): use ParagraphList::iterator
6344
6345         * CutAndPaste.C (pasteSelection): adjust
6346
6347 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * text2.C (getFont): adjust
6350         (getLayoutFont): adjust
6351         (getLabelFont): adjust
6352
6353         * paragraph_funcs.C (TeXOnePar): adjust
6354
6355         * buffer.C (simpleLinuxDocOnePar): adjust
6356         (simpleDocBookOnePar): adjust
6357
6358         * CutAndPaste.C (pasteSelection): adjust
6359
6360         * BufferView.C (getEncoding): adjust
6361
6362         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6363
6364 2003-04-16  John Levon  <levon@movementarian.org>
6365
6366         * lyxfind.C: use parlist stuff for search/changes
6367
6368 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6371
6372         * text2.C (deleteEmptyParagraphMechanism): adjust
6373
6374         * text2.[Ch] (ownerParagraph): delete func (both of them
6375
6376 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6379
6380 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * ParagraphList.C: prepare for NO_NEXT
6383
6384 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * text2.C (getFont): adjust
6387         (getLayoutFont): adjust
6388         (getLabelFont): adjust
6389
6390         * paragraph.C (getFont): adjust
6391         (getLabelFont): adjust
6392         (getLayoutFont): adjust
6393
6394         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6395
6396 2003-04-15  John Levon  <levon@movementarian.org>
6397
6398         From Angus Leeming
6399
6400         * lyx_main.C: handle Include in .ui files
6401
6402 2003-04-15  John Levon  <levon@movementarian.org>
6403
6404         * MenuBackend.C: make the doc files length shorter
6405
6406         * ToolbarBackend.h:
6407         * ToolbarBackend.C: handle toolbar placement flags,
6408         Minibuffer
6409
6410 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6413         adjust
6414
6415         * paragraph_funcs.C (TeXOnePar): adjust
6416
6417         * paragraph.C (getLabelFont): add outerfont arg, adjust
6418         (getLayoutFont): ditto
6419         (simpleTeXOnePar): adjust
6420
6421         * paragraph_pimpl.C (realizeFont): delete func
6422
6423 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6424
6425         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6426         row argument, constify cur argument.
6427
6428 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * text2.C (getFont): adjust
6431         (getLayoutFont): adjust
6432         (getLabelFont): adjust
6433
6434         * paragraph_funcs.C (TeXOnePar): adjust
6435         (outerFont): new func...
6436         (realizeFont): ...moved out from here, changed this to facilitate
6437         transition
6438
6439         * paragraph.C (getFont): take outerfont as arg, adjust
6440         (simpleTeXOnePar): add outerfont arg, adjust
6441
6442         * buffer.C (simpleLinuxDocOnePar): adjust
6443         (simpleDocBookOnePar): adjust
6444
6445         * CutAndPaste.C (pasteSelection): adjust
6446
6447         * BufferView.C (getEncoding): adjust
6448
6449 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * text2.C (setCharFont): adjust
6452         (setCounter): adjust
6453
6454         * text.C (leftMargin): adjust
6455         (setHeightOfRow): adjust
6456
6457         * rowpainter.C (paintFirst): adjust
6458         (paintLast): adjust
6459
6460         * paragraph_pimpl.C (realizeFont): adjust
6461
6462         * paragraph.C (isFirstInSequence): move from here...
6463         * paragraph_funcs.C (isFirstInSequence): ...to here
6464
6465         * paragraph.C (outerHook): move from here...
6466         * paragraph_funcs.C (outerHook): ...to here
6467
6468         * paragraph.C (depthHook): move from here...
6469         * paragraph_funcs.C (depthHook): ...to here
6470
6471         * paragraph.C (getEndLabel): move from here...
6472         * paragraph_funcs.C (getEndLabel): ...to here
6473
6474         * text2.C (realizeFont): move from here...
6475         * paragraph_funcs.C (realizeFont): ...to here
6476
6477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6480
6481 2003-04-14  Angus Leeming  <leeming@lyx.org>
6482
6483         * LColor.[Ch]: scrap LColor mathcursor.
6484
6485 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * lyxlex.[Ch] (text): delete function
6488         * trans.C (Load): adjust
6489         * paragraph_funcs.C (readParToken): adjust
6490
6491 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6494         vector<char> instead of a char[].
6495
6496         * lyxlex_pimpl.C (getString): adjust
6497         (next): adjust
6498         (lex): use getString
6499         (eatLine): adjust
6500         (nextToken): adjust
6501
6502         * lyxlex.C (text): use pimpl_->getString()
6503         (getBool): ditto
6504         (findToken): ditto
6505
6506 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6509         (makeFontEntriesLayoutSpecific): temp var for par.size()
6510         (setLayout): temp var for ownerParagraphs().end()
6511         (fullRebreak): temp var for rows().end()
6512         (selectionAsString): temp var for boost::next(startpit), realize
6513         that the while really is a regular for loop.
6514         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6515         setCursor in one place.
6516         (setParagraph): temp vr for ownerParagraphs().end()
6517         (updateCounters): make the while loop a for loop
6518         (cutSelection): temp var for ownerParagraphs().end()
6519         (updateInset): make the do {} while() a regular for loop
6520         (getCursorX): use temp vars
6521         (setCurrentFont): use temp vars
6522         (getColumnNearX): use temp vars
6523
6524 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6525
6526         * text.C (transformChar): use temp var for getChar
6527         (computeBidiTables): use temp var for row->par()
6528         (fill): move temp vars for row->par() and pit->layout() earlier in
6529         the function.
6530         (labelFill): use temp var for row->par()
6531         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6532         asc and desc, realize that pit never changes and that firstpit is
6533         just a duplicate and not needed. Exchange rit->par() with pit in a
6534         lot of places.
6535         (breakAgain): use a temp var for boost::next(rit)
6536         (breakAgainOneRow): ditto
6537         (breakParagraph): use a temp var for rows().begin()
6538         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6539         (cursorRightOneWord): use temp var for cursor.par() and
6540         cursor.pos(), remove usage of tmpcursor.
6541         (cursorLeftOneWord): use temp var for cursor.par() and
6542         cursor.pos() only set cur at end of function.
6543
6544 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * text.C, text2.C: exchange all usage of Paragraph::next with
6547         boost::next(ParagraphList::iterator)
6548
6549         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6550
6551         * text2.C (cursorTop): simplify implementation
6552         (cursorBottom): ditto
6553         (setParagraph): use ParagraphList::iterator
6554         (setCurrentFont): adjust
6555         (getColumnNearX): adjust
6556         (cursorRight): adjust
6557         (cursorLeft): remove usage of Paragraph::previous
6558         (cursorUpParagraph): ditto
6559         (deleteEmptyParagraphMechanism): slight cleanup
6560
6561         * text.C (isBoundary): take a Paragraph const & instead of a
6562         pointer as arg.
6563         (addressBreakPoint): ditto
6564         (leftMargin): remove usage of Paragraph::previous.
6565         (setHeightOfRow): ditto
6566         (cursorLeftOneWord): ditto
6567         (selectNextWordToSpellcheck): ditto
6568         (Delete): ditto
6569         (backspace): ditto
6570         (breakParagraph): remove one usage of Paragraph::next
6571         (redoParagraph): ditto
6572         (acceptChange): ditto
6573         (insertChar): adjust
6574         (rowBreakPoint): adjust
6575
6576         * bufferview_funcs.C (toggleAndShow): adjust
6577
6578 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6581         methods to access it.
6582         * lyxtext.h:
6583         * text.C: Added updateRowPositions to compute all row positions.
6584         Make top_y and getRowNearY() to use the cached y position
6585
6586 2003-04-11  John Levon  <levon@movementarian.org>
6587
6588         * text.C (rowBreakPoint): reintroduce the labelEnd
6589         checks, code copied from the row fill stuff. Deep voodoo.
6590
6591         * text.C (fill): add a comment and debugging for the
6592         next poor soul.
6593
6594 2003-04-11  John Levon  <levon@movementarian.org>
6595
6596         * text.C: make sure fullrow insets get wrapped to the next line,
6597         even when they're in a manual label
6598
6599 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * text2.C (insertParagraph): make it take ParagraphList::iterator
6602         as arg.
6603         (setLayout): make it return ParagraphList::iterator
6604         (redoParagraphs): ditto
6605         (setCounter): ditto
6606         (checkParagraph): ditto
6607
6608         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6609
6610         * text2.C: adjust several funcs.
6611         (realizeFont): take a ParagraphList::iterator as arg.
6612         (getLayoutFont): ditto
6613         (getLabelFont): ditto
6614         (setCharFont): ditto
6615
6616         * text.C: adjust several funcs.
6617
6618 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6619
6620         * text.C (selectNextWordToSpellcheck): don't accidentally
6621         skip insets
6622
6623 2003-04-10  John Levon  <levon@movementarian.org>
6624
6625         * ToolbarBackend.C (getIcon): special handling for
6626         LFUN_MATH_DELIM
6627
6628 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6629
6630         * text2.C (cursorRight): a getChar assert fixed
6631
6632 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * text2.C (getFont): change to take a ParagraphList::iterator
6635         instead of Paragraph*
6636         Adjust several functions.
6637
6638         * text.C (transformChar): change to take a ParagraphList::iterator
6639         instead of Paragraph*
6640         (singleWidth): ditto
6641         Adjust several functions.
6642
6643         * rowpainter.C: adjust several functions
6644         * rowpainter.h:store a ParagraphList::iterator and not a
6645         Paragraph&.
6646
6647
6648 2003-04-09  John Levon  <levon@movementarian.org>
6649
6650         * lyxfunc.C:
6651         * lfuns.h:
6652         * LyXAction.h:
6653         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6654         and the "help" bits as well
6655
6656 2003-04-09  John Levon  <levon@movementarian.org>
6657
6658         * ToolbarBackend.h:
6659         * ToolbarBackend.C: allow multiple toolbars
6660
6661 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * undo_funcs.C (setCursorParUndo): adjust
6664
6665         * text_funcs.C (transposeChars): adjust
6666
6667         * text3.C (gotoNextInset): adjust
6668         (dispatch): adjust
6669
6670         * text2.C (setLayout): adjust
6671         (changeDepth): adjust
6672         (setFont): adjust
6673         (redoParagraphs): adjust
6674         (selectionAsString): adjust
6675         (setParagraph): adjust
6676         (insertInset): adjust
6677         (cutSelection): adjust
6678         (copySelection): adjust
6679         (pasteSelection): adjust
6680         (insertStringAsLines): adjust
6681         (updateInset): adjust
6682         (setCursor): change to take a ParagraphList::iterator parameter
6683         (setCursorIntern): change to take a ParagraphList::iterator parameter
6684         (setCurrentFont): adjust
6685         (cursorLeft): adjust
6686         (cursorRight): adjust
6687         (deleteEmptyParagraphMechanism): adjust
6688
6689         * text.C (breakParagraph): adjust
6690         (insertChar): adjust
6691         (acceptChange): adjust
6692         (rejectChange): adjust
6693         (selectNextWordToSpellcheck): adjust
6694         (changeCase): adjust
6695         (Delete): adjust
6696         (backspace): adjust
6697
6698         * lyxfind.C (SearchForward): adjust
6699         (SearchBackward): adjust
6700         (nextChange): adjust
6701
6702         * lyxcursor.C (par): adjust
6703
6704         * lyxcursor.h: store a ParagraphList::iterator instead of a
6705         Paragraph*
6706
6707         * lyx_cb.C (getPossibleLabel): adjust
6708
6709         * bufferview_funcs.C (toggleAndShow): adjust
6710
6711         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6712         (dispatch): adjust
6713
6714         * BufferView.C (removeAutoInsets): adjust
6715         (lockedInsetStoreUndo): adjust
6716
6717 2003-04-09  John Levon  <levon@movementarian.org>
6718
6719         * ToolbarBackend.C: try icon without argument
6720         if with argument fails
6721
6722 2003-04-08  John Levon  <levon@movementarian.org>
6723
6724         * ToolbarBackend.h:
6725         * ToolbarBackend.C: add getIcon(), handle tooltip,
6726         and change from "Icon" to "Item".
6727
6728 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6729
6730         * BufferView.C (lockInset): another bad getchar crunched
6731
6732 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6733
6734         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6735         again)
6736
6737 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * lyxfind.C (searchForward, searchBackwards): bug 782
6740
6741 2003-04-07  John Levon  <levon@movementarian.org>
6742
6743         * paragraph.C: remove dead comment
6744
6745         * text.C: remove troublesome depth-fiddling code
6746         in leftMargin() and rightMargin() (bug 1017)
6747
6748         * text.C: fix breaking of rows in nested lists
6749         (bug 1004)
6750
6751         * text2.C (updateCounters): fix up depth values
6752         (bug 1013)
6753
6754 2003-04-07  John Levon  <levon@movementarian.org>
6755
6756         * BufferView_pimpl.C: clear message when doc finishes resizing,
6757         and after a mouse event
6758
6759         * lyxfunc.C: clear message after exiting inset
6760
6761 2003-04-07  John Levon  <levon@movementarian.org>
6762
6763         * bufferview_funcs.C: show math status not outside
6764         status in the statusbar
6765
6766 2003-04-07  John Levon  <levon@movementarian.org>
6767
6768         * lyxfunc.C: note status changed after a depth change
6769
6770 2003-04-04  Angus Leeming  <leeming@lyx.org>
6771
6772         * LaTeX.h: move AuxInfo operator==, != out of line.
6773         Remove LaTeX virtual destructor; nothing derives from it.
6774         Move operator()() out of public area and rename it startscript().
6775         Change protected for private.
6776
6777 2003-04-04  Angus Leeming  <leeming@lyx.org>
6778
6779         * lyxfunc.C:
6780         * text2.C: remove unneeded #includes.
6781
6782 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6783
6784         * text2.C (dEPM): fix the heigth of the next row
6785
6786 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6787
6788         * text.C: squashed an invalid getChar requester + some ws changes
6789
6790 2003-04-03  John Levon  <levon@movementarian.org>
6791
6792         * bufferview_funcs.h:
6793         * bufferview_funcs.C:
6794         * lyxfunc.C:
6795         * lyxtext.h:
6796         * text2.C: make getStatus work for the env depth lfuns
6797
6798 2003-04-03  John Levon  <levon@movementarian.org>
6799
6800         * bufferview_funcs.h:
6801         * bufferview_funcs.C:
6802         * lyxfunc.C:
6803         * lyxtext.h:
6804         * text2.C: parlistize decDepth(), by merging it with incDepth()
6805
6806 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * lyxrow.h: store a ParagraphList::iterator instead of a
6809         Paragraph* and adjust other class functions to suit.
6810
6811         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6812         above.
6813
6814 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6815
6816         * text2.C (setCursor): do not anchor to cursor row for the time being
6817
6818 2003-04-02  John Levon  <levon@movementarian.org>
6819
6820         * LyXAction.C:
6821         * lfuns.h:
6822         * lyx_main.C:
6823         * lyxtext.h:
6824         * text.C:
6825         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6826
6827 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * paragraph.h: make ParagraphList and ParagraphList::iterator
6830         friends of Paragraph.
6831
6832         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6833
6834         * ParagraphList.C: Use the private next_ and previous_ from
6835         Paragraph.
6836
6837 2003-04-01  John Levon  <levon@movementarian.org>
6838
6839         * ToolbarBackend.h:
6840         * ToolbarBackend.C:
6841         * Makefile.am: rename, remove defaults gunk
6842
6843         * MenuBackend.h:
6844         * MenuBackend.C: remove defaults gunk
6845
6846         * Languages.h:
6847         * Languages.C: remove defaults gunk
6848
6849         * lyx_main.h:
6850         * lyx_main.C: error out if files couldn't be found.
6851
6852 2003-04-02  John Levon  <levon@movementarian.org>
6853
6854         * text2.C: make incDepth() use parlist
6855
6856 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * undo_funcs.C (firstUndoParagraph): adjust
6859
6860         * text3.C (gotoInset): adjust
6861         (dispatch): adjust, and rewrite loop.
6862
6863         * text2.C (init): adjust, and rewrite loop.
6864         (redoParagraphs): adjust
6865         (updateInset): adjust, and rewrite loop.
6866         (deleteEmptyParagraphMechanism): adjust
6867
6868         * tabular.C (LyXTabular): adjust
6869         (SetMultiColumn): adjust
6870         (TeXRow): adjust
6871
6872         * lyxtext.[Ch] (ownerParagraph): delete function
6873         (ownerParagraphs): new function returns a ParagraphList.
6874
6875         * BufferView.C (removeAutoInsets): adjust
6876         (insertErrors): adjust
6877         (setCursorFromRow): adjust
6878
6879 2003-04-01  Angus Leeming  <leeming@lyx.org>
6880
6881         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6882         in the frontends.
6883
6884 2003-04-02  John Levon  <levon@movementarian.org>
6885
6886         * lyxtext.h:
6887         * text.C:
6888         * Makefile.am:
6889         * text_funcs.h:
6890         * text_funcs.C: make transposeChars a free function
6891
6892         * lyxrow_funcs.C: remove wrong comment
6893
6894 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * lyxtext.h: adjust
6897         * rowpainter.C: adjust
6898         * text.C: adjust
6899         * text2.C: adjust
6900         * text3.C: adjust
6901
6902         * lyxrow_funcs. [Ch]: new files
6903
6904         * lyxrow.[Ch]: remove next and previous pointers
6905         (next,previous): remove accessor functions
6906         (isParEnd): move to lyxrow_funcs
6907         (lastPos): move to lyxrow_funcs
6908         (nextRowIsAllInset): move to lyxrow_funcs
6909         (lastPrintablePos): move to lyxrow_funcs
6910         (numberOfSeparators): move to lyxrow_funcs
6911         (numberOfHfills): move to lyxrow_funcs
6912         (numberOfLabelHfills): move to lyxrow_funcs
6913         (hfillExpansion): move to lyxrow_funcs
6914
6915         * lyxfunc.C: adjust
6916
6917         * bufferview_funcs.C (toggleAndShow): adjust
6918
6919         * RowList.h: Remove class RowList from file leave just a
6920         std::list<Row>.
6921
6922         * RowList.C: delete file
6923
6924         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6925         and lyxrow_funcs.h
6926
6927 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * text3.C (cursorPrevious): adjust
6930         (cursorNext): adjust
6931         (dispatch): adjust
6932
6933         * text2.C (redoHeightOfParagraph): adjust
6934         (redoDrawingOfParagraph): adjust
6935         (setCursor): adjust
6936
6937         * text.C (breakParagraph): adjust
6938         (insertChar): adjust
6939         (backspace): adjust
6940
6941         * rowpainter.C (RowPainter): adjust
6942         (leftMargin): simplify and adjust
6943         (most rowpainter functions): adjust.
6944
6945         * rowpainter.h: store the row as RowList::iterator not as Row*
6946
6947         * lyxcursor.C (row): taka RowList::iterator as arg
6948         (irow): ditto
6949
6950         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6951         of Row*.
6952
6953 2003-04-01  Angus Leeming  <leeming@lyx.org>
6954
6955         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6956         stuff like bool Bool.
6957
6958 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6961         rewrite a loop
6962
6963 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6966         RowList::iterator.
6967
6968         * lyxtext.h (rows): drop one version and leve a const variant that
6969         returns a RowList::iterator.
6970
6971 2003-03-31  Angus Leeming  <leeming@lyx.org>
6972
6973         * text.C (fill): ensure that the signature is the same as that in the
6974         header file.
6975
6976 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * text2.C (redoParagraphs): adjust
6979         (updateCounters): adjust
6980         (checkParagraph): adjust
6981         (getColumnNearX): adjust and reformat a bit.
6982
6983         * text.C (top_y): adjust
6984         (workWidth): adjust
6985         (leftMargin): adjust
6986         (prepareToPrint): adjust
6987         (getRow): adjust
6988         (getRowNearY): adjust
6989
6990         * lyxtext.h: make rowlist_ mutable.
6991
6992         * RowList.h: add const_iterator
6993         * RowList.C: adjust for RowList::const_iterator.
6994
6995         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6996         adjust.
6997
6998 2003-03-31  John Levon  <levon@movementarian.org>
6999
7000         * lyxrc.h:
7001         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7002
7003         * lyx_main.C: set default fonts from using lyx_gui funcs
7004
7005         * exporter.C: pdf_mode moved from lyxrc
7006
7007         * lyx_cb.C:
7008         * lyxfunc.C: changes from above
7009
7010 2003-03-31  John Levon  <levon@movementarian.org>
7011
7012         * lyx_main.C: fix to the last fix
7013
7014 2003-03-31  John Levon  <levon@movementarian.org>
7015
7016         * bufferlist.C: "Load original" -> "Load Original"
7017
7018         * converter.C:
7019         * exporter.C:
7020         * importer.C:
7021         * lyx_main.C:
7022         * format.C: more Alert cleanups
7023
7024 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * text2.C (removeParagraph): make it take a RowList::iterator as
7027         arg, adjust.
7028         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7029         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7030
7031         * text.C (anchor_row): make it take a RowList::iterator as arg,
7032         adjust.
7033         (computeBidiTables): make it take a const reference to Row instead
7034         of Row pointer, adjust.
7035         (leftMargin): make it take a RowList::iterator as arg, adjust.
7036         (rowBreakPoint): adjust
7037         (breakAgainOneRow): make it take a RowList::iterator as arg,
7038         adjust.
7039         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7040
7041         * bufferview_funcs.C (toggleAndShow): adjust
7042
7043 2003-03-30  John Levon  <levon@movementarian.org>
7044
7045         * Makefile.am:
7046         * BoostFormat.h:
7047         * boost-inst.C: moved to support
7048
7049         * several files: changes as a result
7050
7051 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * text2.C (LyXText): adjust.
7054         (init): adjust
7055         (removeRow): make it take a RowList::iterator as arg, adjust.
7056         (fullRebreak): adjust
7057         (deleteEmptyParagraphMechanism): adjust
7058         (clearPaint): adjust
7059         (postPaint): adjust
7060
7061         * text.C (top_y): adjust
7062         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7063         (breakAgain): make it take a RowList::iterator as arg, adjust.
7064         (breakParagraph): adjust
7065         (insertChar): adjust
7066         (backspace): adjust
7067
7068         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7069         need_break_row, and refresh_row.
7070
7071         * text3.C (dispatch): adjust
7072
7073         * text2.C (checkParagraph): adjust
7074         (setCursor): adjust
7075         (setCursorFromCoordinates): adjust
7076
7077         * text.C (top_y): adjust
7078         (workWidth): adjust
7079         (getRow): make it return a RowList::iterator, adjust
7080         (getRowNearY): make it return a RowList::iterator, adjust
7081
7082         * text2.C (init): adjust
7083         (insertRow): remove function
7084         (insertParagraph): adjust
7085         (redoParagraphs): adjust
7086         (fullRebreak): adjust
7087         (updateCounters): adjust
7088
7089         * text.C (top_y): rewrite to use RowList iterators.
7090         (top_y): adjust
7091         (setHeightOfRow): rewrite to sue RowList iterators.
7092         (appendParagraph): adjust
7093         (breakAgain): adjust
7094         (breakAgainOneRow): adjust
7095         (breakParagraph): adjust
7096         (getRow): adjust
7097         (getRowNearY): adjust, and remove commented code.
7098
7099         * lyxtext.h (firstRow): delete function
7100         (lastRow): delete function
7101         (rows): new function (const and non-const versions.)
7102         (insertRow): delete function
7103
7104         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7105
7106 2003-03-29  John Levon  <levon@movementarian.org>
7107
7108         * BufferView_pimpl.C: always update scrollbar top
7109         because pasting text when we're anchored could mean we
7110         miss an update altogether
7111
7112 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * text2.C (init): use rowlist_.end() and not 0.
7115         (insertRow): change to take a RowList::iterator as arg, adjust
7116         for this.
7117         (insertParagraph): change to take a RowList::iterator as arg,
7118         adjust for this.
7119         (redoParagraphs): remove some debug msgs.
7120
7121         * text.C (appendParagraph): change to take a RowList::iterator
7122         arg, adjust for this.
7123         (breakAgain): add an assert
7124         (breakAgainOneRow): ditto
7125
7126 2003-03-29  John Levon  <levon@movementarian.org>
7127
7128         * text2.C: do not clear selection after inc/decDepth
7129         (bug 550)
7130
7131 2003-03-29  John Levon  <levon@movementarian.org>
7132
7133         * BufferView.C:
7134         * buffer.C: fix broken strerrors according to Lars
7135
7136 2003-03-29  John Levon  <levon@movementarian.org>
7137
7138         * converters.C: more Alert cleanups
7139
7140 2003-03-29  John Levon  <levon@movementarian.org>
7141
7142         * bufferview_funcs.C: remove pointless Alert
7143
7144         * buffer.C: fix confusing error message when
7145         a template is chmoded 000
7146
7147 2003-03-29  John Levon  <levon@movementarian.org>
7148
7149         * BufferView.C:
7150         * BufferView.h:
7151         * BufferView_pimpl.C: Alert fixes
7152
7153         * Makefile.am:
7154         * tabular.C:
7155         * tabular-old.C: remove unused table compat reading
7156
7157 2003-03-29  John Levon  <levon@movementarian.org>
7158
7159         * BufferView.C:
7160         * buffer.C:
7161         * lyx_cb.h:
7162         * lyx_cb.C: more Alert cleanups
7163
7164         * lyxfunc.C: don't allow chktex if not latex document
7165
7166 2003-03-29  John Levon  <levon@movementarian.org>
7167
7168         * lyx_cb.C:
7169         * BufferView.C:
7170         * buffer.C: warnings pushed down from support/,
7171         kill err_alert
7172
7173 2003-03-29  John Levon  <levon@movementarian.org>
7174
7175         * lyxfunc.C: safety check for C-r (revert)
7176
7177 2003-03-29  John Levon  <levon@movementarian.org>
7178
7179         * bufferlist.h:
7180         * bufferlist.C: several UI fixes using Alert::prompt.
7181         Fix the pointless looping quit code. Fix stupid revert
7182         behaviour (bug 938)
7183
7184         * lyxvc.h:
7185         * lyxvc.C:
7186         * lyx_cb.C: use Alert::prompt
7187
7188         * lyx_main.C: remove a silly question
7189
7190         * lyxfunc.C: remove a couple of silly questions,
7191         use Alert::prompt
7192
7193 2003-03-28  John Levon  <levon@movementarian.org>
7194
7195         * text2.C: fix bug 974 (End on empty par)
7196
7197 2003-03-28  John Levon  <levon@movementarian.org>
7198
7199         * BufferView_pimpl.C:
7200         * LyXAction.C:
7201         * lfuns.h: remove do-nothing math greek lfuns
7202
7203 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * lyxgluelength.h (isValidGlueLength): add default arg on
7206         parameter 2. Remove default arg from friend in class.
7207
7208         * lyxlength.h (isValidLength): add default arg on parameter 2.
7209         Remove default arg from friend in class.
7210
7211         * text2.C (LyXText): adjust, initialize refresh_row.
7212         (init): adjust
7213         (removeRow): adjust
7214         (insertRow): adjust
7215         (insertParagraph): adjst
7216         (redoParagraphs): adjust
7217         (fullRebreak): adjust
7218         (updateCounters): adjust
7219         (deleteEmptyParagraphMechanism): first attempt at fixing a
7220         crashing bug.
7221
7222         * text.C (top_y): adjust
7223         (setHeightOfRow): adjust
7224         (getRow): adjust
7225         (getRowNearY): adjust
7226
7227         * lyxtext.h: include RowList.h
7228         (~LyXText): not needed anymore, deleted.
7229         (firstRow): modify for RowList
7230         (lastRow): new function
7231         Delete firstrow and lastrow class variables, add a Rowlist
7232         rowlist_ class variable.
7233
7234         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7235         paragraph is empty.
7236
7237         * RowList.C (insert): fix case where it == begin().
7238
7239 2003-03-26  Angus Leeming  <leeming@lyx.org>
7240
7241         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7242         the thesaurus dialog.
7243
7244 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7247
7248         * RowList.[Ch]: new files
7249
7250         * ParagraphList.C (erase): handle the case where it == begin
7251         correctly.
7252
7253 2003-03-25  John Levon  <levon@movementarian.org>
7254
7255         * Makefile.am:
7256         * aspell_local.h:
7257         * aspell.C: add new aspell support
7258
7259         * lyxrc.h:
7260         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7261         have it accessible.
7262
7263 2003-03-25  Angus Leeming  <leeming@lyx.org>
7264
7265         * lfuns.h:
7266         * LyXAction.C (init): new LFUN_INSET_INSERT.
7267
7268         * BufferView_pimpl.C (dispatch): split out part of the
7269         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7270
7271         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7272         LFUN_INSET_APPLY.
7273
7274 2003-03-25  Angus Leeming  <leeming@lyx.org>
7275
7276         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7277
7278 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * text2.C:
7281         * text3.C: remove useless row->height(0)
7282
7283 2003-03-25  John Levon  <levon@movementarian.org>
7284
7285         * lyxtext.h:
7286         * text2.C:
7287         * text3.C: rename the refreshing stuff to better names
7288
7289 2003-03-24  John Levon  <levon@movementarian.org>
7290
7291         * BufferView_pimpl.h:
7292         * BufferView_pimpl.C: update layout choice on a mouse
7293         press/release
7294
7295 2003-03-23  John Levon  <levon@movementarian.org>
7296
7297         * Makefile.am: fix commandtags.h reference
7298
7299 2003-03-22  John Levon  <levon@movementarian.org>
7300
7301         * BufferView_pimpl.C:
7302         * lyxtext.h:
7303         * rowpainter.C:
7304         * rowpainter.h:
7305         * text.C:
7306         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7307
7308 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7309
7310         * lyxtext.h:
7311         * text.C: take the rtl methods out of line
7312
7313 2003-03-21 André Pönitz <poenitz@gmx.net>
7314
7315         * metricsinfo.[Ch]: new files containing structures to be passed around
7316         during the two-phase-drawing...
7317
7318 2003-03-21 André Pönitz <poenitz@gmx.net>
7319
7320         * lyxtextclass.C: read 'environment' tag.
7321
7322 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * text2.C (removeRow): fix bug 964
7325
7326 2003-03-20  John Levon  <levon@movementarian.org>
7327
7328         * rowpainter.C:
7329         * text.C:
7330         * text2.C: paint cleanups. Inset::update() dropped font
7331         parameter
7332
7333 2003-03-19  John Levon  <levon@movementarian.org>
7334
7335         * lyxfunc.C: only fitcursor/markDirty if available()
7336
7337 2003-03-19  John Levon  <levon@movementarian.org>
7338
7339         * commandtags.h: rename to ...
7340
7341         * lfuns.h: ... this, and renumber / cleanup
7342
7343 2003-03-19  John Levon  <levon@movementarian.org>
7344
7345         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7346         fit the cursor after an lfun
7347
7348         * BufferView.h:
7349         * BufferView.C:
7350         * BufferView_pimpl.h:
7351         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7352
7353         * LyXAction.C: layout-character should have ReadOnly
7354
7355         * ParagraphParameters.C:
7356         * buffer.C:
7357         * bufferview_funcs.C:
7358         * lyx_cb.C:
7359         * lyxfind.C:
7360         * lyxtext.h:
7361         * text.C:
7362         * text2.C:
7363         * text3.C:
7364         * undo_funcs.C: changes from above
7365
7366 2003-03-18  John Levon  <levon@movementarian.org>
7367
7368         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7369         remove it from update()
7370
7371         * lyxfunc.C: update layout choice after an lfun
7372
7373         * text3.C: remove extra updateLayoutChoice()s
7374
7375 2003-03-18  John Levon  <levon@movementarian.org>
7376
7377         * text.C: top_y change means full repaint, fix
7378         a drawing bug with cursor movement
7379
7380 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7381
7382         * lyxtext.h:
7383         * text.C:
7384         * text2.C: anchor row on setCursor
7385
7386 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7387
7388         * lyxtext.h: remove almost all mutable keywords
7389         * text.C:
7390         * text2.C:
7391         * text3.C: remove const keywords accordingly
7392
7393 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7396         anon namespace
7397         (TeXEnvironment): ditto
7398         (TeXOnePar): ditto
7399
7400 2003-03-17  John Levon  <levon@movementarian.org>
7401
7402         * text.C (rowBreakPoint): remove attempt to fix displayed
7403         math insets inside a manual label
7404
7405 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * lyxtext.h: remove BufferView* as first arg from almost all class
7408         functions.
7409         * other files: adjust.
7410
7411 2003-03-17  John Levon  <levon@movementarian.org>
7412
7413         * lyxtext.h:
7414         * undo_funcs.C:
7415         * text2.C: more paint cleanups
7416
7417         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7418
7419         * rowpainter.h:
7420         * rowpainter.C: remove "smart" background painting code
7421
7422 2003-03-16  John Levon  <levon@movementarian.org>
7423
7424         * lyxtext.h:
7425         * text.C:
7426         * text2.C:
7427         * text3.C: add helper functions for setting refresh_row/y
7428
7429 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7430
7431         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7432         newline inset which *can* get inserted in the pass_thru layouts.
7433         This is primarily for literate documents.
7434
7435 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7436
7437         * buffer.C: increment LYX_FORMAT to 223
7438
7439 2003-03-14 André Pönitz <poenitz@gmx.net>
7440
7441         * textclass.h: prepare for environment handling, ws changes
7442         * lyxlayout.C: read latexheader and latexfooter tags
7443
7444 2003-03-14  John Levon  <levon@movementarian.org>
7445
7446         * text2.C: rewrite ::status() a bit
7447
7448 2003-03-13  John Levon  <levon@movementarian.org>
7449
7450         * lyxtext.h: add some docs
7451
7452 2003-03-13  John Levon  <levon@movementarian.org>
7453
7454         * lyxtext.h:
7455         * text.C:
7456         * text2.C:
7457         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7458
7459 2003-03-13  John Levon  <levon@movementarian.org>
7460
7461         * text3.C: fix appendix redrawing
7462
7463 2003-03-13  John Levon  <levon@movementarian.org>
7464
7465         * text.C (setHeightOfRow):
7466         * rowpainter.h:
7467         * rowpainter.C: make appendix mark have the text
7468           "Appendix" so the user knows what it is
7469
7470         * LColor.h:
7471         * LColor.C: s/appendixline/appendix/ from above
7472
7473 2003-03-13  John Levon  <levon@movementarian.org>
7474
7475         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7476
7477         * text.C: fix a getChar(pos) bug properly
7478
7479 2003-03-13  Angus Leeming  <leeming@lyx.org>
7480
7481         * commandtags.h:
7482         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7483         Probably only temporary. Let's see how things pan out.
7484
7485         * BufferView.C (unlockInset):
7486         * BufferView_pimpl.C (fitCursor):
7487         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7488
7489         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7490         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7491
7492         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7493         new functions that convert ParagraphParameters to and from a string.
7494
7495         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7496         BufferView::Pimpl's dispatch.
7497         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7498
7499 2003-03-13 André Pönitz <poenitz@gmx.net>
7500
7501         * lyxfunc.C:
7502         * text3.C:
7503         * factory.C: make it aware of InsetEnv
7504
7505 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * text2.C (setCursor): never ask for one past last
7508         (setCursor): add some debugging messages.
7509
7510         * text.C (singleWidth): never ask for one past last
7511         (singleWidth): ditto
7512         (leftMargin): ditto
7513         (rightMargin): ditto
7514         (rowBreakPoint): ditto
7515         (setHeightOfRow): ditto
7516         (prepareToPrint): ditto
7517
7518         * rowpainter.C (paintBackground): never ask for one past last
7519         (paintText): never ask for one past last
7520
7521         * paragraph_pimpl.C (getChar): make the assert stricter, never
7522         allow the one past last pos to be taken
7523
7524         * paragraph.C (getChar): ws changes only
7525
7526         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7527         (numberOfSeparators): ditto
7528         (numberOfHfills): ditto
7529
7530 2003-03-12  John Levon  <levon@movementarian.org>
7531
7532         * author.h:
7533         * author.C:
7534         * bufferparams.h:
7535         * bufferparams.C:
7536         * paragraph_funcs.C: fix per-buffer authorlists
7537
7538 2003-03-12  John Levon  <levon@movementarian.org>
7539
7540         * text.C: fix newline in right address
7541
7542 2003-03-12  Angus Leeming  <leeming@lyx.org>
7543
7544         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7545         duplicate those in LyXFunc::dispatch.
7546
7547         * commandtags.h:
7548         * LyXAction.C:
7549         * ToolbarDefaults.C:
7550         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7551         Add LFUN_FONTFREE_UPDATE.
7552
7553         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7554         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7555
7556         * bufferview_func.[Ch]: several new functions to facilliate
7557         transfer of data to and from the character dialog.
7558
7559 2003-03-12  John Levon  <levon@movementarian.org>
7560
7561         * buffer.C:
7562         * paragraph.h:
7563         * paragraph.C:
7564         * paragraph_funcs.C:
7565         * paragraph_pimpl.C:
7566         * sgml.C:
7567         * tabular.C:
7568         * text.C:
7569         * text3.C: remove META_NEWLINE in favour of an inset
7570
7571         * rowpainter.h:
7572         * rowpainter.C: remove paintNewline (done by inset)
7573
7574 2003-03-12  John Levon  <levon@movementarian.org>
7575
7576         * paragraph_pimpl.C: complain about bad getChar()s
7577         for a while at least
7578
7579 2003-03-12  John Levon  <levon@movementarian.org>
7580
7581         * buffer.h:
7582         * buffer.C: move paragraph read into a separate function,
7583         a little renaming to reflect that.
7584
7585         * bufferparams.h:
7586         * bufferparams.C: remove the author_ids map, not necessary now
7587
7588         * factory.h:
7589         * factory.C: moved Buffer::readInset to here
7590
7591         * paragraph_funcs.h:
7592         * paragraph_funcs.C: readParagraph free function moved from
7593         buffer.C
7594
7595         * tabular.C: name change
7596
7597 2003-03-12  John Levon  <levon@movementarian.org>
7598
7599         * buffer.C:
7600         * ParagraphParameters.C: move par params input to
7601         a read() method
7602
7603         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7604         behave like a normal read from the stream wrt reading
7605         a line vs. a \\token
7606
7607 2003-03-12  John Levon  <levon@movementarian.org>
7608
7609         * paragraph.C:
7610         * ParagraphParameters.h:
7611         * ParagraphParameters.C: move output code to a
7612         ::write() method
7613
7614 2003-03-12  John Levon  <levon@movementarian.org>
7615
7616         * BufferView.C (insertLyXFile):
7617         * buffer.h:
7618         * buffer.C:
7619         * tabular.C: use a parlist iterator for creating the
7620           document.
7621
7622 2003-03-12  John Levon  <levon@movementarian.org>
7623
7624         * buffer.C: make current_change static local not
7625           static file-scope
7626
7627 2003-03-12  John Levon  <levon@movementarian.org>
7628
7629         * buffer.C: fix insertStringAsLines for change tracking
7630
7631 2003-03-12  John Levon  <levon@movementarian.org>
7632
7633         * BufferView.C:
7634         * tabular.C:
7635         * buffer.h:
7636         * buffer.C:
7637         * bufferparams.h:
7638         * bufferparams.C: move author list into params. Rename some
7639           functions. Move the header reading into a separate token
7640           loop. Move the header token reading into BufferParams.
7641
7642 2003-03-12  John Levon  <levon@movementarian.org>
7643
7644         * changes.C: put debug inside lyxerr.debugging() checks
7645
7646 2003-03-11 André Pönitz <poenitz@gmx.net>
7647
7648         * factory.C: make it aware of InsetHFill
7649
7650 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7651
7652         * buffer.C (latexParagraphs): move function from here...
7653         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7654         args.
7655
7656 2003-03-10  Angus Leeming  <leeming@lyx.org>
7657
7658         * LyXAction.C (init): fix bug in poplating array with multiple entries
7659         with the same LFUN (spotted by JMarc).
7660
7661 2003-03-10  John Levon  <levon@movementarian.org>
7662
7663         * text.C:
7664         * text2.C: move getColumnNearX() near its
7665         only call site
7666
7667 2003-03-10  John Levon  <levon@movementarian.org>
7668
7669         * text.C: fix break before a minipage
7670
7671 2003-03-10  John Levon  <levon@movementarian.org>
7672
7673         * text.C: fix the last commit
7674
7675 2003-03-09  John Levon  <levon@movementarian.org>
7676
7677         * lyxtext.h:
7678         * text.C:
7679         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7680         bug 365 (don't break before insets unless needed). Don't
7681         return a value > last under any circumstances.
7682
7683 2003-03-09  Angus Leeming  <leeming@lyx.org>
7684
7685         * BufferView_pimpl.C (trackChanges, dispatch): call
7686         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7687
7688 2003-03-09  Angus Leeming  <leeming@lyx.org>
7689
7690         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7691         than Dialogs::showAboutlyx().
7692
7693 2003-03-09  Angus Leeming  <leeming@lyx.org>
7694
7695         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7696         than Dialogs::showTabularCreate().
7697
7698 2003-03-09  John Levon  <levon@movementarian.org>
7699
7700         * lyxtext.h:
7701         * text.C:
7702         * text2.C: 3rd arg to nextBreakPoint was always the same.
7703           Use references.
7704
7705 2003-03-08  John Levon  <levon@movementarian.org>
7706
7707         * lyxrow.C:
7708         * paragraph.C:
7709         * paragraph.h:
7710         * rowpainter.C:
7711         * text.C:
7712         * text2.C: Remove the "main" bit from the "main body"
7713           notion.
7714
7715 2003-03-08  John Levon  <levon@movementarian.org>
7716
7717         * text.C (leftMargin): The left margin of an empty
7718         manual label paragraph should not include the label width
7719         string length.
7720
7721         * text.C (prepareToPrint): don't attempt to measure hfills
7722         for empty manual label paragraphs - the answer should be 0
7723
7724 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * CutAndPaste.C: remove commented code and reindent.
7727
7728 2003-03-08  John Levon  <levon@movementarian.org>
7729
7730         * lyxfunc.h:
7731         * lyxfunc.C: move reloadBuffer()
7732
7733         * BufferView.h:
7734         * BufferView.C: to here
7735
7736         * lyxvc.C: add comment
7737
7738         * vc-backend.h:
7739         * vc-backend.C: call bv->reload() to avoid
7740           getStatus() check on MENURELOAD
7741
7742 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7743
7744         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7745         to an old format .dep file.
7746
7747 2003-03-07  Angus Leeming  <leeming@lyx.org>
7748
7749         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7750         when the LFUN_MOUSE_RELEASE should have been handled by
7751         inset->localDispatch.
7752
7753 2003-03-07  Angus Leeming  <leeming@lyx.org>
7754
7755         * BufferView_pimpl.C (dispatch):
7756         * LyXAction.C (init):
7757         * ToolbarDefaults.C (init):
7758         * commandtags.h:
7759         * lyxfunc.C (getStatus):
7760         remove LFUN_INSET_GRAPHICS.
7761
7762         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7763
7764 2003-03-07  Angus Leeming  <leeming@lyx.org>
7765
7766         * commandtags.h:
7767         * LyXAction.C (init):
7768         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7769
7770         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7771
7772         * commandtags.h:
7773         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7774
7775         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7776         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7777
7778 2003-03-07  Angus Leeming  <leeming@lyx.org>
7779
7780         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7781         remove "ert".
7782
7783 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * ParagraphList.C (front): new function
7786         (back): implement
7787
7788 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7789
7790         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7791         and top_row_offset_. removed var first_y.
7792         * text.C (top_y):
7793         * text2.C (LyXText, removeRow):
7794         * text3.C:
7795         * BufferView_pimpl.C:
7796         use these methods instead of using first_y
7797
7798 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * text2.C (pasteSelection): adjust for checkPastePossible
7801
7802         * CutAndPaste.C: remove Paragraph * buf and replace with
7803         ParagraphList paragraphs.
7804         (DeleteBuffer): delete
7805         (cutSelection): change the tc type to textclass_type
7806         (copySelection): change the tc type to textclass_type
7807         (copySelection): adjust for ParagraphList
7808         (pasteSelection): change the tc type to textclass_type
7809         (pasteSelection): adjust for Paragraphlist
7810         (nrOfParagraphs): simplify for ParagraphList
7811         (checkPastePossible): simplify for ParagraphList
7812         (checkPastePossible): remove unused arg
7813
7814         * ParagraphList.C (insert): handle the case where there are no
7815         paragraphs yet.
7816
7817         * CutAndPaste.h: make CutAndPaste a namespace.
7818
7819         * text3.C (dispatch): adjust
7820
7821         * text.C (breakParagraph): add a ParagraphList as arg
7822
7823         * paragraph_funcs.C (breakParagraph): change to take a
7824         BufferParams and a ParagraphList as args.
7825         (breakParagraphConservative): ditto
7826         (mergeParagraph): ditto
7827         (TeXDeeper): add a ParagraphList arg
7828         (TeXEnvironment): ditto
7829         (TeXOnePar): ditto
7830
7831         * buffer.C (readLyXformat2): adjust
7832         (insertStringAsLines): adjust
7833         (latexParagraphs): adjust
7834
7835         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7836         (cutSelection): adjust
7837         (pasteSelection): adjust
7838
7839         * BufferView_pimpl.C (insertInset): adjust
7840
7841 2003-03-05  Angus Leeming  <leeming@lyx.org>
7842
7843         * commandtags.h:
7844         * LyXAction.C (init):
7845         * BufferView_pimpl.C (dispatch):
7846         * lyxfunc.C (getStatus):
7847         remove LFUN_CHILD_INSERT.
7848
7849         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7850
7851 2003-03-05  Angus Leeming  <leeming@lyx.org>
7852
7853         * commandtags.h:
7854         * LyXAction.C (init):
7855         * src/factory.C (createInset):
7856         * lyxfunc.C (getStatus):
7857         * text3.C (dispatch):
7858         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7859
7860         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7861
7862 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7863
7864         * ParagraphList.C (insert): handle insert right before end()
7865         (erase): fix cases where it can be first or last paragraph.
7866
7867 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7870         Paragraph::next and Paragraph::previous
7871         (TeXOnePar): ditto
7872
7873         * text.C (breakParagraph): adjust
7874
7875         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7876         BufferParams& as arg.
7877         (breakParagraph): use ParagraphList::insert
7878         (breakParagraphConservative): take a Buffer* instead of a
7879         BufferParams& as arg.
7880         (breakParagraphConservative): use ParagraphList::insert.
7881
7882         * buffer.C (insertStringAsLines): un-const it
7883         (insertStringAsLines): adjust
7884
7885         * ParagraphList.C (insert): new function
7886
7887         * CutAndPaste.C (pasteSelection): adjust
7888
7889         * text.C (backspace): adjust
7890
7891         * tabular.C (SetMultiColumn): adjust
7892
7893         * CutAndPaste.C (cutSelection): adjust
7894         (pasteSelection): adjust
7895
7896         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7897         Buffer const * as arg
7898
7899         * ParagraphList.C (erase): new function
7900         * paragraph_funcs.C (mergeParagraph): use it
7901         (mergeParagraph): make it take a Buffer* instead of a
7902         BufferParams* as arg
7903
7904         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7905         as arg
7906         (breakParagraphConservative): ditto
7907
7908         * paragraph.h: remove the breakParagraph friend
7909
7910         * paragraph.C (eraseIntern): new function
7911         (setChange): new function
7912
7913         * paragraph_funcs.C (mergeParagraph): make it take a
7914         ParagraphList::iterator instead of a Paragraph *, adjust
7915         accordingly.
7916
7917         * paragraph.h: move an #endif so that the change tracking stuff
7918         also works in the NO_NEXT case.
7919
7920 2003-03-04  Angus Leeming  <leeming@lyx.org>
7921
7922         * commandtags.h:
7923         * LyXAction.C: new LFUN_INSET_MODIFY.
7924
7925         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7926         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7927
7928 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * several files: ws changes only
7931
7932         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7933         (TeXEnvironment): ditto
7934         (TeXDeeper): ditto
7935
7936         * buffer.C (makeLaTeXFile): adjust
7937         (latexParagraphs): make it take ParagraphList::iterator as args
7938
7939 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * buffer.C (latexParagraphs): adjust
7942
7943         * paragraph.C (TeXOnePar): move function...
7944         (optArgInset): move function...
7945         (TeXEnvironment): move function...
7946         * paragraph_pimpl.C (TeXDeeper): move function...
7947         * paragraph_funcs.C: ...here
7948
7949         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7950
7951 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * buffer.C (readInset): remove compability code for old Figure and
7954         InsetInfo insets
7955
7956 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * buffer.C: ws changes
7959         (readInset):
7960
7961         * BufferView_pimpl.C: ditto
7962         * author.C: ditto
7963         * buffer.h: ditto
7964         * bufferlist.h: ditto
7965         * changes.h: ditto
7966         * lyxfunc.C: ditto
7967
7968 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7969
7970         * converter.[Ch]: split into itself +
7971         * graph.[Ch]
7972         * format.[Ch]
7973         * Makefile.am: += graph.[Ch] + format.[Ch]
7974         * MenuBackend.C
7975         * buffer.C
7976         * exporter.C
7977         * importer.C
7978         * lyx_main.C
7979         * lyxfunc.C
7980         * lyxrc.C: added #include "format.h"
7981
7982 2003-02-27  Angus Leeming  <leeming@lyx.org>
7983
7984         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7985           a label.
7986
7987         * factory.C (createInset): add "label" to the factory.
7988
7989         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7990           string and do no more.
7991
7992 2003-02-27  Angus Leeming  <leeming@lyx.org>
7993
7994         * commandtags.h:
7995         * LyXAction.C (init):
7996         * factory.C (createInset):
7997         * BufferView_pimpl.C (dispatch):
7998           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7999
8000         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8001
8002         * lyxfunc.C (dispatch):
8003         * text3.C (dispatch): pass name to params2string.
8004
8005 2003-02-26  Angus Leeming  <leeming@lyx.org>
8006
8007         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8008           blocks together.
8009           Rearrange the ~includes. Strip out the unnecessary ones.
8010
8011         * factory.C (createInset): reformat.
8012           create new insets for the various LFUN_XYZ_APPLY lfuns.
8013
8014 2003-02-26  John Levon  <levon@movementarian.org>
8015
8016         * lyxrow.h:
8017         * lyxrow.C: add isParStart,isParEnd helpers
8018
8019         * paragraph.h: make isInserted/DeletedText take refs
8020
8021         * paragraph_funcs.h:
8022         * paragraph_funcs.C: remove #if 0'd code
8023
8024         * lyxtext.h:
8025         * text3.C:
8026         * text2.C:
8027         * text.C: use lyxrow helpers above.
8028           Move draw and paint routines to RowPainter.
8029           Make several methods use refs not pointers.
8030           Make backgroundColor() const.
8031           Add markChangeInDraw(), isInInset().
8032           Merge changeRegionCase into changeCase.
8033           Make workWidth() shouldn't-happen code into an Assert.
8034
8035         * rowpainter.h:
8036         * rowpainter.C: new class for painting a row.
8037
8038         * vspace.h:
8039         * vspace.C: make inPixels take a ref
8040
8041 2003-02-26  Angus Leeming  <leeming@lyx.org>
8042
8043         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8044         LFUN_REF_APPLY.
8045
8046 2003-02-25  John Levon  <levon@movementarian.org>
8047
8048         * ispell.C: give the forked command a more accurate name
8049
8050 2003-02-22  John Levon  <levon@movementarian.org>
8051
8052         * toc.h:
8053         * toc.C: make TocItem store an id not a Paragraph *
8054           (bug #913)
8055
8056 2003-02-21  Angus Leeming  <leeming@lyx.org>
8057
8058         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8059           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8060           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8061           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8062           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8063           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8064
8065         * BufferView_pimpl.C (dispatch):
8066         * LyXAction.C (init):
8067         * factory.C (createInset):
8068         * lyxfunc.C (getStatus, dispatch):
8069         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8070
8071 2003-02-21  Angus Leeming  <leeming@lyx.org>
8072
8073         * BufferView_pimpl.C (MenuInsertLyXFile):
8074         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8075         * lyxfunc.C (menuNew, open, doImport):
8076           no longer pass a LyXView & to fileDlg.
8077
8078 2003-02-21  Angus Leeming  <leeming@lyx.org>
8079
8080         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8081         * LyXAction.C: change, BIBKEY to BIBITEM.
8082         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8083         Change InsetBibKey to InsetBibitem.
8084         Change BIBKEY_CODE to BIBITEM_CODE.
8085         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8086         * factory.C: replace insetbib.h with insetbibitem.h.
8087         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8088         * paragraph.C: replace insetbib.h with insetbibitem.h.
8089         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8090         Change bibkey() to bibitem().
8091         * text.C: remove insetbib.h.
8092         * text2.C: replace insetbib.h with insetbibitem.h.
8093         change bibkey() to bibitem().
8094         * text3.C: remove insetbib.h.
8095         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8096
8097 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8098
8099         * lyxrc.C (output): enclose user email in quotes (in case there are
8100         several words)
8101
8102 2003-02-18  John Levon  <levon@movementarian.org>
8103
8104         * buffer.h: add std::
8105
8106 2003-02-17  John Levon  <levon@movementarian.org>
8107
8108         * SpellBase.h:
8109         * ispell.h:
8110         * ispell.C:
8111         * pspell.h:
8112         * pspell.C: reworking. Especially in ispell, a large
8113           number of clean ups and bug fixes.
8114
8115         * lyxfunc.C: fix revert to behave sensibly
8116
8117 2003-02-17 André Pönitz <poenitz@gmx.net>
8118
8119         * LyXAction.C:
8120         * commandtags.h: new LFUN_INSERT_BIBKEY
8121
8122         * layout.h:
8123         * lyxlayout.C:
8124         * buffer.C:
8125         * factory.C:
8126         * text.C:
8127         * text2.C:
8128         * text3.C:
8129         * paragraph.[Ch]:
8130         * paragraph_func.C: remove special bibkey handling
8131
8132 2003-02-17  John Levon  <levon@movementarian.org>
8133
8134         * text.C (Delete): fix case where delete at the end of
8135           the very first paragraph would not merge the pars
8136
8137 2003-02-17  John Levon  <levon@movementarian.org>
8138
8139         * lyxrow.C: fix lastPrintablePos()
8140
8141 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8142
8143         * bufferparams.C (writeLaTeX): add a std:here
8144
8145         * buffer.C: and remove a using directive there
8146
8147 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8148
8149         * buffer.C (makeLaTeXFile): move the code that generates the
8150           preamble...
8151
8152         * bufferparams.C (writeLaTeX): ... in this new method
8153
8154         * LaTeXFeatures.C (getEncodingSet): make const
8155           (getLanguages): make const
8156
8157         * MenuBackend.C (binding): returns the binding associated to this
8158           action
8159           (add): sets the status of each item by calling getStatus. Adds
8160           some intelligence.
8161           (read): add support for OptSubMenu
8162           (expand): remove extra separator at the end of expanded menu
8163
8164 2003-02-15  John Levon  <levon@movementarian.org>
8165
8166         * BufferView.C:
8167         * BufferView_pimpl.C:
8168         * bufferlist.h:
8169         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8170           inset code that had no actual effect. Remove unneeded status
8171           code.
8172
8173 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8176           in preamble
8177
8178 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8179
8180         * text.C (drawLengthMarker): also draw an arrow marker for
8181           symbolic lengths (medskip...)
8182
8183 2003-02-14  John Levon  <levon@movementarian.org>
8184
8185         * tabular.h:
8186         * tabular.C: better method names
8187
8188 2003-02-14  John Levon  <levon@movementarian.org>
8189
8190         * BufferView_pimpl.C:
8191         * bufferlist.C:
8192         * buffer.C:
8193         * converter.C:
8194         * lyx_cb.C:
8195         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8196           it's a more accurate name. Remove some pointless uses.
8197
8198 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8199
8200         * text2.C (LyXText): change order of initilizers to shut off
8201           warnings
8202
8203 2003-02-14  John Levon  <levon@movementarian.org>
8204
8205         * buffer.C: use ParIterator for getParFromID()
8206
8207         * paragraph.h:
8208         * paragraph.C:
8209         * paragraph_pimpl.h:
8210         * paragraph_pimpl.C: remove unused getParFromID()
8211
8212 2003-02-14  John Levon  <levon@movementarian.org>
8213
8214         * buffer.C: remove some very old #if 0'd parse code
8215
8216 2003-02-13  John Levon  <levon@movementarian.org>
8217
8218         * text.h:
8219         * text.C:
8220         * text2.C: move hfillExpansion(), numberOfSeparators(),
8221           rowLast(), rowLastPrintable(), numberofHfills(),
8222           numberOfLabelHfills() ...
8223
8224         * lyxrow.h:
8225         * lyxrow.C: ... to member functions here.
8226
8227         * paragraph.h:
8228         * paragraph.C:
8229         * lyxtext.h:
8230         * text.C: remove LyXText::beginningOfMainBody(), and call
8231           p->beginningOfMainBody() directly. Move the check for
8232           LABEL_MANUAL into the latter.
8233
8234         * text.h:
8235         * text.C:
8236         * text2.C:
8237         * vspace.C:
8238         * BufferView.h:
8239         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8240
8241         * text.h:
8242         * text.C:
8243         * text2.C:
8244         * text3.C:
8245         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8246           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8247
8248 2003-02-13  John Levon  <levon@movementarian.org>
8249
8250         * CutAndPaste.C: remove debug
8251
8252 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8253
8254         * paragraph.C (asString): remove two unused variables
8255
8256         * lyxtextclass.C (readTitleType):
8257           (Read):
8258           (LyXTextClass): handle new members titletype_ and titlename_
8259
8260         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8261
8262 2003-02-09  John Levon  <levon@movementarian.org>
8263
8264         * buffer.h:
8265         * buffer.C: replace hand-coded list with a map for the dep clean
8266
8267 2003-02-08  John Levon  <levon@movementarian.org>
8268
8269         * LaTeX.C: consolidate code into showRunMessage() helper
8270
8271 2003-02-08  John Levon  <levon@movementarian.org>
8272
8273         * lyxfind.C:
8274         * lyxtext.h:
8275         * text2.C:
8276         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8277           and pass the size in explicitly
8278
8279         * BufferView_pimpl.h:
8280         * BufferView_pimpl.C:
8281         * BufferView.h:
8282         * BufferView.C: add getCurrentChange()
8283
8284         * BufferView_pimpl.h:
8285         * BufferView_pimpl.C: handle change lfuns
8286
8287         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8288           for changes. Mark pasted paragraphs as new.
8289
8290         * support/lyxtime.h:
8291         * support/lyxtime.C:
8292         * DepTable.C: abstract time_t as lyx::time_type
8293
8294         * LColor.h:
8295         * LColor.C: add colours for new text, deleted text, changebars
8296
8297         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8298           package use "usenames" option.
8299
8300         * commandtags.h:
8301         * lyxfunc.C:
8302         * LyXAction.C: add change lfuns
8303
8304         * Makefile.am:
8305         * author.h:
8306         * author.C: author handling
8307
8308         * buffer.h:
8309         * buffer.C: add a per-buffer author list, with first entry as
8310           current author. Handle new .lyx tokens for change tracking. Output
8311           author list to .lyx file. Output dvipost stuff to .tex preamble.
8312           Bump lyx format to 222.
8313
8314         * bufferlist.h:
8315         * bufferlist.C: add setCurrentAuthor() to reset current author details
8316           in all buffers.
8317
8318         * bufferparams.h:
8319         * bufferparams.C: add param for tracking
8320
8321         * bufferview_funcs.C: output change info in minibuffer
8322
8323         * Makefile.am:
8324         * changes.h:
8325         * changes.C: add change-tracking structure
8326
8327         * debug.h:
8328         * debug.C: add CHANGES debug flag
8329
8330         * lyxfind.h:
8331         * lyxfind.C: add code for finding the next change piece
8332
8333         * lyxrc.h:
8334         * lyxrc.C: add user_name and user_email
8335
8336         * lyxrow.h:
8337         * lyxrow.C: add a metric for the top of the text line
8338
8339         * lyxtext.h:
8340         * text.C: implement accept/rejectChange()
8341
8342         * lyxtext.h:
8343         * text.C: paint changebars. Paint new/deleted text in the chosen
8344         colours. Strike through deleted text.
8345
8346         * paragraph.h:
8347         * paragraph.C:
8348         * paragraph_pimpl.h:
8349         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8350           in the current change to the insert functions. Rework erase to
8351           mark text as deleted, adding an eraseIntern() and a range-based
8352           erase(). Implement per-paragraph change lookup and
8353           accept/reject.
8354
8355         * paragraph_funcs.C: Fixup paste for change tracking.
8356
8357         * tabular.C: mark added row/columns as new.
8358
8359         * text.C: fix rowLast() to never return -1. Don't allow
8360           spellchecking of deleted text. Track transpose changes. Don't
8361           allow paragraph break or merge where appropriate.
8362
8363         * text2.C: leave cursor at end of selection after a cut.
8364
8365 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8366
8367         * text.C (getLengthMarkerHeight):
8368         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8369         visible on screen too.
8370
8371 2003-02-07  John Levon  <levon@movementarian.org>
8372
8373         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8374
8375 2003-02-05  Angus Leeming  <leeming@lyx.org>
8376
8377         * lyxserver.C (read_ready): revert my patch of 11 September last year
8378         as it sends PC cpu through the roof. Presumably this means that
8379         the lyxserver will no longer run on an Alpha...
8380
8381 2003-01-30  Angus Leeming  <leeming@lyx.org>
8382
8383         * factory.C (createInset): create an InsetCommandParam of type "index"
8384         and use it to 'do the right thing'.
8385
8386         * text2.C (getStringToIndex): ensure that cursor position is always
8387         reset to the reset_cursor position.
8388
8389 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8390
8391         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8392         disabled.
8393
8394 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8395
8396         * bufferview.C:
8397         * lyxcb.C:
8398         * lyxfunc.C: Output messages with identical spelling, punctuation,
8399         and spaces
8400
8401 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8402
8403         * MenuBackend.C (expandFormats): List only viewable export formats
8404         in "View" menu
8405
8406         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8407         message
8408
8409         * lyxfunc.C (getStatus): Make sure that formats other than
8410         "fax" can also be disabled
8411
8412 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8413
8414         * text3.C (dispatch): put the lfuns that insert insets in 3
8415         groups, and call doInsertInset with appropriate arguments.
8416         (doInsertInset): new function, that creates an inset and inserts
8417         it according to some boolean parameters.
8418
8419 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * buffer.C (readFile): remember to pass on 'par' when calling
8422         readFile recursively.
8423
8424 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8425
8426         * MenuBackend.C (expandFormats): add "..." to import formats.
8427
8428 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8429
8430         * paragraph.C (asString): Remove XForms RTL hacks.
8431
8432 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8433         * buffer.C: fix typo
8434
8435 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * Makefile.am (LIBS): delete var
8438         (lyx_LDADD): add @LIBS@ here instead.
8439
8440 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8441
8442         * Clarify the meaning of "wheel mouse jump"
8443
8444 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8445
8446         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8447         tabular in a float
8448
8449 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8450
8451         * importer.C (Loaders): do not preallocate 3 elements in the
8452         vector, since one ends up with 6 elements otherwise
8453
8454 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8455
8456         * DepTable.C (write): write the file name as last element of the
8457         .dep file (because it may contain spaces)
8458         (read): read info in the right order
8459
8460 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8461
8462         * paragraph_pimpl.C (simpleTeXBlanks):
8463         (simpleTeXSpecialChars):
8464         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8465
8466         * tabular.C (latex): add some missing case statements. Reindent.
8467
8468         * MenuBackend.C (expandToc): remove unused variable.
8469
8470 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8471
8472         * LColor.C:
8473         * LaTeX.C:
8474         * LyXAction.C:
8475         * MenuBackend.C:
8476         * buffer.C:
8477         * exporter.C:
8478         * lyxfunc.C:
8479         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8480         and the like.
8481
8482 2003-01-05  John Levon  <levon@movementarian.org>
8483
8484         * BufferView.h:
8485         * BufferView.C: add getEncoding()
8486
8487         * kbsequence.h:
8488         * kbsequence.C: do not store last keypress
8489
8490         * lyxfunc.h:
8491         * lyxfunc.C: store last keypress here instead. Pass encoding
8492           to getISOEncoded()
8493
8494 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8495
8496         * lyx_main.C (init): remove annoying error message when following
8497         symbolic links (bug #780)
8498
8499 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8500
8501         * text.C (insertChar):
8502         * lyxrc.C (getDescription): remove extra spaces
8503
8504 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8505
8506         * lyxrc.C (getDescription): remove extra spaces
8507
8508 2002-12-20  John Levon  <levon@movementarian.org>
8509
8510         * text3.C: hack fix for page up/down across tall rows
8511
8512 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8513
8514         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8515         not been invoked
8516
8517 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8518
8519         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8520         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8521         thesaurus is not compiled in
8522
8523 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8524
8525         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8526
8527 2002-12-16  Angus Leeming  <leeming@lyx.org>
8528
8529         * lyxrc.[Ch]:
8530         * lyx_main.C (init): remove override_x_deadkeys stuff.
8531
8532 2002-12-12  John Levon  <levon@movementarian.org>
8533
8534         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8535           insert. Only remove shift modifier under strict
8536           circumstances.
8537
8538 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * MenuBackend.C (expandToc): fix crash.
8541
8542 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * MenuBackend.C (expandToc): gettext on float names.
8545
8546 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8547
8548         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8549         implement bool empty() [bug 490]
8550
8551 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8552
8553         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8554
8555 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8556
8557         * several files: ws changes
8558
8559 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8560
8561         * text2.C (setCounter): clean up a bit, use boost.format.
8562         (updateCounters): initialize par upon declaration.
8563
8564         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8565         if the layout exists. We do not just store the layout any more.
8566         (SwitchLayoutsBetweenClasses): use boost.format
8567
8568 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8569
8570         * converter.C (convert): if from and to files are the same, use a
8571         temporary files as intermediary
8572
8573 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * commandtags.h:
8576         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8577
8578 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8579
8580         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8581
8582 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8583
8584         * tabular.C (asciiPrintCell): use string(size, char) instead of
8585         explicit loop.
8586
8587         * sgml.C (openTag): fix order of arguments to string constructor
8588         (closeTag): ditto
8589
8590         * lyxfunc.C (dispatch): use boost.format
8591
8592         * lots of files: change "c" -> 'c'
8593
8594 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8595
8596         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8597
8598 2002-11-25  Angus Leeming  <leeming@lyx.org>
8599
8600         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8601
8602         * lyx_main.C (init): compile fix.
8603
8604 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * lyx_cb.C (start): boost.formatify
8607         do not include <iostream>
8608
8609         * lengthcommon.C: ws only
8610
8611         * boost-inst.C,BoostFormat.h: add more explict instantations
8612
8613 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8614
8615         * lots of files: handle USE_BOOST_FORMAT
8616
8617 2002-11-21  John Levon  <levon@movementarian.org>
8618
8619         * pspell.C: fix compile
8620
8621 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8622
8623         * lyxfunc.C (dispatch): use boost::format
8624         (open): ditto
8625         (doImport): ditto
8626
8627         * lyxfont.C (stateText): use boost::format
8628
8629         * lyx_main.C (LyX): use boost::format
8630         (init): ditto
8631         (queryUserLyXDir): ditto
8632         (readRcFile): ditto
8633         (parse_dbg): ditto
8634         (typedef boost::function): use the recommened syntax.
8635
8636         * importer.C (Import): use boost::format
8637
8638         * debug.C (showLevel): use boost::format
8639
8640         * converter.C (view): use boost::format
8641         (convert): ditto
8642         (move): ditto
8643         (scanLog): ditto
8644
8645         * bufferview_funcs.C (currentState): use boost::format
8646
8647         * bufferlist.C (emergencyWrite): use boost::format
8648
8649         * buffer.C (readLyXformat2): use boost::format
8650         (parseSingleLyXformat2Token): ditto
8651
8652         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8653
8654         * LaTeX.C (run): use boost::format
8655
8656         * Chktex.C (scanLogFile): use boost::format
8657
8658         * BufferView_pimpl.C (savePosition): use boost::format
8659         (restorePosition): ditto
8660         (MenuInsertLyXFile): ditto
8661
8662         * BoostFormat.h: help file for explicit instation.
8663
8664 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8665
8666         * tabular.C (latex): Support for block alignment in fixed width
8667         columns.
8668
8669 2002-11-17  John Levon  <levon@movementarian.org>
8670
8671         * BufferView_pimpl.C:
8672         * lyx_cb.C:
8673         * lyxfunc.C: split filedialog into open/save
8674
8675 2002-11-08  Juergen Vigna  <jug@sad.it>
8676
8677         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8678         by my last patch (hopefully).
8679
8680 2002-11-08  John Levon  <levon@movementarian.org>
8681
8682         * iterators.h:
8683         * iterators.C:
8684         * buffer.h:
8685         * buffer.C:
8686         * paragraph.h:
8687         * paragraph.C:
8688         * toc.h:
8689         * toc.C: ParConstIterator, and use it (from Lars)
8690
8691 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8692
8693         * lyxtextclass.[Ch]: revise and add doxygen comments
8694
8695 2002-11-07  John Levon  <levon@movementarian.org>
8696
8697         * text.C: fix progress value for spellchecker
8698
8699         * toc.C: fix navigate menu for insetwrap inside minipage
8700
8701         * paragraph_funcs.C: added FIXME for suspect code
8702
8703 2002-11-07  John Levon  <levon@movementarian.org>
8704
8705         * BufferView_pimpl.C: fix redrawing of insets
8706           on buffer switch
8707
8708 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8709
8710         * text2.C (updateCounters): fix bug 668
8711
8712 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8713
8714         * text3.C (dispatch): Do not make the buffer dirty when moving the
8715         cursor.
8716
8717 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * vc-backend.C: STRCONV
8720         (scanMaster): ditto
8721
8722         * text2.C (setCounter): STRCONV
8723
8724         * paragraph.C (asString): STRCONV
8725
8726         * lyxlength.C (asString): STRCONV
8727         (asLatexString): ditto
8728
8729         * lyxgluelength.C (asString): STRCONV
8730         (asLatexString): ditto
8731
8732         * lyxfunc.C (dispatch): STRCONV
8733         (open): ditto
8734
8735         * lyxfont.C (stateText): STRCONV
8736
8737         * importer.C (Import): STRCONV
8738
8739         * counters.C (labelItem): STRCONV
8740         (numberLabel): ditto
8741         (numberLabel): remove unused ostringstream o
8742
8743         * chset.C: STRCONV
8744         (loadFile): ditto
8745
8746         * bufferview_funcs.C (currentState): STRCONV
8747
8748         * buffer.C (readFile): STRCONV
8749         (asciiParagraph): ditto
8750         (makeLaTeXFile): ditto
8751
8752         * Spacing.C (writeEnvirBegin): STRCONV
8753
8754         * LaTeXFeatures.C (getLanguages): STRCONV
8755         (getPackages): ditto
8756         (getMacros): ditto
8757         (getBabelOptions): ditto
8758         (getTClassPreamble): ditto
8759         (getLyXSGMLEntities): ditto
8760         (getIncludedFiles): ditto
8761
8762         * LaTeX.C: STRCONV
8763         (run): ditto
8764         (scanAuxFile): ditto
8765         (deplog): ditto
8766
8767         * LString.h: add the STRCONV macros
8768
8769         * BufferView_pimpl.C (savePosition): STRCONV
8770         (restorePosition): ditto
8771         (MenuInsertLyXFile): ditto
8772
8773         * vc-backend.C (scanMaster): change from submatch[...] to
8774         submatch.str(...)
8775
8776         * funcrequest.C: include config.h
8777
8778         * factory.C: include config.h
8779
8780         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8781
8782         * box.C: include config.h
8783
8784         * LaTeX.C (scanAuxFile): change from submatch[...] to
8785         submatch.str(...)
8786         (deplog): ditto
8787
8788 2002-10-25  Angus Leeming  <leeming@lyx.org>
8789
8790         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8791
8792         * ispell.[Ch] (setError): new method.
8793         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8794         Use setError() insetead of goto END.
8795
8796         * lyx_cb.C (AutoSave): move out child process into new class
8797         AutoSaveBuffer.
8798
8799 2002-10-30  John Levon  <levon@movementarian.org>
8800
8801         * text3.C: make start appendix undoable
8802
8803 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8804
8805         * lyxlength.C (inPixels): Fix returned value.
8806
8807         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8808         environment.
8809
8810 2002-10-24  Angus Leeming  <leeming@lyx.org>
8811
8812         * lyxgluelength.h: no need to forward declare BufferParams
8813         or BufferView, so don't.
8814
8815 2002-10-21  John Levon  <levon@movementarian.org>
8816
8817         * BufferView.C: menuUndo ->undo, redo
8818
8819         * BufferView.h: document, remove dead, make some methods private
8820
8821         * paragraph_funcs.h:
8822         * paragraph_funcs.C:
8823         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8824
8825         * buffer.h:
8826         * buffer.C:
8827         * sgml.h:
8828         * sgml.C: move sgml open/close tag into sgml.C
8829
8830         * bufferview_funcs.h: unused prototype
8831
8832         * lyxfunc.h:
8833         * lyxfunc.C: remove unused
8834
8835         * lyxtext.h:
8836         * text.C: remove unused
8837
8838 2002-10-21  John Levon  <levon@movementarian.org>
8839
8840         * BufferView.h:
8841         * BufferView.C:
8842         * BufferView_pimpl.h:
8843         * BufferView_pimpl.C: fix mouse wheel handling based on
8844           patch from Darren Freeman
8845
8846 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8847
8848         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8849
8850 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8851
8852         * lyxlength.C (inPixels): Fix hanfling of negative length.
8853         Fix LyXLength::MU case.
8854
8855 2002-10-16  John Levon  <levon@movementarian.org>
8856
8857         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8858
8859 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8860
8861         * converter.C (view): add support for $$i (file name) and $$p
8862         (file path) for the viewer command. If $$i is not specified, then
8863         it is appended to the command (for compatibility with old syntax)
8864
8865 2002-10-14  Juergen Vigna  <jug@sad.it>
8866
8867         * undo_funcs.C (textHandleUndo): alter the order in which the
8868         new undopar is added to the LyXText, as we have to set first
8869         the right prev/next and then add it as otherwise the rebuild of
8870         LyXText is not correct. Also reset the cursor to the right paragraph,
8871         with this IMO we could remove the hack in "redoParagraphs()".
8872
8873 2002-10-09  Angus Leeming  <leeming@lyx.org>
8874
8875         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8876         to turn off an optimisation if a new inset is to be inserted.
8877
8878 2002-10-11 André Pönitz <poenitz@gmx.net>
8879
8880         * lyxtext.h: make some functions public to allow access
8881         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8882
8883 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8884
8885         * text3.C (dispatch): when changing layout, avoid an infinite loop
8886         [bug #652]
8887
8888 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8889
8890         * lyxrc.C (read): treat a viewer or converter command of "none" as
8891         if it were empty.
8892
8893         * MenuBackend.C (expandFormats): for an update, also allow the
8894         formats that are not viewable
8895
8896         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8897         script if it is newer than the lyxrc.defaults in user directory
8898
8899 2002-10-07 André Pönitz <poenitz@gmx.net>
8900
8901         * text.C: Vitaly Lipatov's small i18n fix
8902
8903 2002-09-25  Angus Leeming  <leeming@lyx.org>
8904
8905         * ispell.h: doxygen fix.
8906
8907 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * buffer.h (readFile): Add a new argument to the method, to allow
8910         reading of old-format templates.
8911
8912 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8913
8914         * toc.C (getTocList): Get TOC from InsetWrap.
8915
8916 2002-09-16  John Levon  <levon@movementarian.org>
8917
8918         * lyxfunc.C: check tabular for cut/copy too
8919
8920 2002-09-12  John Levon  <levon@movementarian.org>
8921
8922         * LyXAction.C: tidy
8923
8924         * factory.h:
8925         * factory.C: add header
8926
8927         * paragraph_funcs.h:
8928         * paragraph_funcs.C: cleanup
8929
8930 2002-09-11  John Levon  <levon@movementarian.org>
8931
8932         * PrinterParams.h: odd/even default to true
8933
8934 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8935
8936         * PrinterParams.h: update printer parameters for new xforms dialog
8937
8938 2002-09-11  Angus Leeming  <leeming@lyx.org>
8939
8940         * lyxserver.C (read_ready): re-write to make it more transparent
8941         and to make it work in coherent fashion under Tru64 Unix.
8942
8943 2002-09-11  André Pönitz <poenitz@gmx.net>
8944
8945         * commandtags.h:
8946         * LyXAction.C:
8947         * text3.C: implement LFUN_WORDSEL
8948
8949 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8950
8951         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8952         make floatlist_ a boost::shared_ptr<FloatList>
8953
8954         * lyxtextclass.C: include FloatList.h
8955         (LyXTextClass): initialize floatlist_
8956         (TextClassTags): add TC_NOFLOAT
8957         (Read): match "nofloat" to TC_NOFLOAT and use it.
8958         (readFloat): modify call to floatlist_
8959         (floats): ditto
8960         (floats): ditto
8961
8962         * FloatList.[Ch] (FloatList): remove commented out float
8963         initialization.
8964         (erase): new function
8965
8966 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8967
8968         * MenuBackend.C (expandToc): fix crash when there is no document
8969         open
8970
8971 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8972
8973         * many files: Add insetwrap.
8974
8975 2002-09-09  John Levon  <levon@movementarian.org>
8976
8977         * text2.C: remove confusing and awkward depth wraparound
8978
8979 2002-09-09  John Levon  <levon@movementarian.org>
8980
8981         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8982
8983         * buffer.h:
8984         * buffer.C: remove getIncludeonlyList()
8985
8986         * paragraph.C:
8987         * lyxfunc.C: remove headers
8988
8989 2002-09-09  Juergen Vigna  <jug@sad.it>
8990
8991         * text.C (getColumnNearX): fix form Michael this is most
8992         probably a cut&paste bug.
8993
8994 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8995
8996         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8997
8998         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8999         references, ws changes.
9000
9001         * text2.C (init): update counters after init
9002         (insertParagraph): no need to set counter on idividual paragraphs.
9003         (setCounter): access the counters object in the textclass object
9004         on in the buffer object.
9005         (updateCounters): ditto
9006
9007         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9008         shared_ptr<Counters> to avoid loading counters.h in all
9009         compilation units.
9010         (LyXTextClass): initialize ctrs_
9011         (TextClassTags): add TC_COUNTER, and ...
9012         (Read): use it here.
9013         (CounterTags): new tags
9014         (readCounter): new function
9015         (counters): new funtion
9016         (defaultLayoutName): return a const reference
9017
9018         * counters.C (Counters): remove contructor
9019         (newCounter): remove a couple of unneeded statements.
9020         (newCounter): simplify a bit.
9021         (numberLabel): some small formatting changes.
9022
9023         * buffer.[Ch]: remove all traces of counters, move the Counters
9024         object to the LyXTextClass.
9025
9026 2002-09-06  Alain Castera  <castera@in2p3.fr>
9027
9028         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9029         package to set the horizontal alignment on fixed width columns.
9030
9031         * lyx_sty.C:
9032         * lyx_sty.h: added tabularnewline macro def.
9033
9034         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9035
9036 2002-09-06  John Levon  <levon@movementarian.org>
9037
9038         * LyXAction.C: tooltips for sub/superscript
9039
9040         * MenuBackend.C: a bit more verbose
9041
9042         * lyxfunc.C: tiny clean
9043
9044         * undo_funcs.C: document undo_frozen
9045
9046 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9047
9048         * counters.C (Counters): add missing algorithm counter.
9049
9050         * text2.C (setCounter): lookup the counter with layouts latexname
9051         instead of by section number.
9052         (setCounter): use a hackish way to lookup the correct enum
9053         counter.
9054         a float name->type change
9055         reset enum couners with counter name directly instead of depth value.
9056
9057         * counters.C (Counters): remove the push_backs, change to use the
9058         float type not the float name.
9059         (labelItem): remove unused string, float name->type change
9060
9061         * counters.h: don't include vector, loose the enums and sects vectors
9062
9063 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9064
9065         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9066         (Read): add float->TC_FLOAT to textclassTags
9067         (Read): and handle it in the switch
9068         (readFloat): new function
9069
9070         * FloatList.C (FloatList): comment out the hardcoded float
9071         definitions.
9072
9073         * lyxlayout.h: ws change.
9074
9075 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9078
9079 2002-09-03  Angus Leeming  <leeming@lyx.org>
9080
9081         * BufferView_pimpl.h: qualified name is not allowed in member
9082         declaration: WorkArea & Pimpl::workarea() const;
9083
9084         * factory.C: added using std::endl directive.
9085
9086         * text3.C: added using std::find and std::vector directives.
9087
9088 2002-08-29  André Pönitz <poenitz@gmx.net>
9089
9090         * lyxtext.h:
9091         * text2.C: remove unused member number_of_rows
9092
9093         * Makefile.am:
9094         * BufferView2.C: remove file, move contents to...
9095         * BufferView.C: ... here
9096
9097         * BufferView_pimpl.C:
9098         * factory.C: move more inset creation to factory
9099
9100         * vspace.C: avoid direct usage of LyXText, ws changes
9101
9102         * BufferView.[Ch]:
9103                 don't provide direct access to WorkArea, use two simple
9104                 acessors haveSelction() and workHeight() instead
9105
9106
9107 2002-08-29  John Levon  <levon@movementarian.org>
9108
9109         * BufferView_pimpl.C (dispatch): do not continue when
9110           no buffer
9111
9112 2002-08-28  André Pönitz <poenitz@gmx.net>
9113
9114         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9115
9116         * BufferView.h:
9117         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9118
9119 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9120
9121         * buffer.C: increment LYX_FORMAT to 221
9122
9123         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9124         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9125
9126         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9127
9128         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9129
9130 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * factory.C (createInset): use LyXTextClass::floats
9133
9134         * MenuBackend.C (expandFloatListInsert):
9135         (expandFloatInsert):
9136         (expandToc):
9137
9138         * text2.C (setCounter):
9139
9140         * LaTeXFeatures.C (useFloat):
9141         (getFloatDefinitions):
9142
9143         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9144
9145         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9146         floatlist_, with accessor floats().
9147
9148         * FloatList.h: remove global FloatList
9149
9150 2002-08-26  André Pönitz <poenitz@gmx.net>
9151
9152         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9153
9154         * BufferView.h:
9155         * BufferView2.C:
9156         * BufferView_pimpl.C:
9157         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9158
9159 2002-08-25  John Levon  <levon@movementarian.org>
9160
9161         * LyXAction.C: fix margin note description
9162
9163 2002-08-24  John Levon  <levon@movementarian.org>
9164
9165         * buffer.C:
9166         * bufferlist.C:
9167         * bufferview_funcs.C:
9168         * lyxfont.C:
9169         * undo_funcs.C: cleanups
9170
9171         * lyxfunc.C: disable CUT/COPY when no selection
9172
9173 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9174
9175         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9176         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9177
9178         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9179         Add backward compatibility to "mono", "gray" and "no".
9180
9181 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9182
9183         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9184         (and file_format >= 200).
9185
9186 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9189
9190 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9191
9192         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9193
9194 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9195
9196         * BufferView_pimpl.C:
9197         * LyXAction.C:
9198         * buffer.C:
9199         * commandtags.h:
9200         * lyxfunc.C:
9201         * paragraph.[Ch]:
9202         * text2.C:
9203         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9204         inset and code to make it  work with the paragraph code. The inset
9205         can be anywhere in the paragraph, but will only do the expected
9206         thing in LaTeX if the layout file contains the parameter line
9207                         OptionalArgs    1
9208         (or more generally, a nonzero value) for that layout.
9209
9210 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9211
9212         * paragraph.h: remove the declaration of undefined counters class
9213         function.
9214
9215 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9216
9217         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9218         Dr. Richard Hawkins.
9219
9220 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * paragraph_funcs.h: remove some unneeded includes
9223
9224         * text.C (backspace): pasteParagraph now in global scipe
9225
9226         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9227         (pasteSelection): ditto
9228
9229         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9230         * paragraph_funcs.C (pasteParagraph): ... here
9231
9232 2002-08-20  André Pönitz <poenitz@gmx.net>
9233
9234         * commandtags.h: new LFUNs for swapping/copying table row/colums
9235
9236         * LyXAction.C:
9237         * lyxfunc.C: support for new lfuns
9238
9239 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9240
9241         * tabular.C:
9242         * buffer.[Ch]: remove NO_COMPABILITY stuff
9243
9244 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * boost.C (throw_exception): new file, with helper function for
9247         boost compiled without exceptions.
9248
9249         * paragraph.h:
9250         * lyxlength.C:
9251         * buffer.C:
9252         * ParameterStruct.h:
9253         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9254
9255         * bufferlist.C (emergencyWriteAll): use boost bind
9256
9257         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9258
9259         * text.C: include paragraph_funcs.h
9260         (breakParagraph): breakParagraph is now in global scope
9261
9262         * paragraph_funcs.[Ch]: new files
9263
9264         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9265         global scope
9266
9267         * buffer.C: include paragraph_funcs.h
9268         (insertStringAsLines): breakParagraph is now in global scope
9269
9270         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9271         paragraph_funcs.C
9272
9273         * CutAndPaste.C: include paragraph_funcs.h
9274         (cutSelection): breakParagraphConservative is now in global scope
9275         (pasteSelection): ditto
9276
9277         * buffer.h: declare oprator== and operator!= for
9278         Buffer::inset_iterator
9279
9280         * bufferlist.C (emergencyWrite): don't use fmt(...)
9281
9282         * text3.C: add using std::endl
9283
9284         * BufferView.C (moveCursorUpdate): remove default arg
9285
9286 2002-08-20  André Pönitz <poenitz@gmx.net>
9287
9288         * buffer.[Ch]: move inline functions to .C
9289
9290         * BufferView2.C:
9291         * BufferView_pimpl.C:
9292         * text.C:
9293         * buffer.[Ch]: use improved inset_iterator
9294
9295         * buffer.C:
9296         * paragraph.[Ch]: write one paragraph at a time
9297
9298 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9299
9300         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9301         style if style is not specified.
9302
9303 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9304
9305         * text2.C (setCounter): when searching for right label for a
9306         caption, make sure to recurse to parent insets (so that a caption
9307         in a minipage in a figure float works) (bug #568)
9308
9309 2002-08-20  André Pönitz <poenitz@gmx.net>
9310
9311         * text3.C: new file for LyXText::dispatch() and helpers
9312
9313         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9314
9315         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9316
9317 2002-08-19  André Pönitz <poenitz@gmx.net>
9318
9319         * lyxtext.h:
9320         * text.C: new LyXText::dispatch()
9321
9322         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9323
9324 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9325
9326         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9327
9328         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9329         Hebrew text.
9330
9331 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9332
9333         * Makefile.am: use $(variables) instead of @substitutions@
9334
9335 2002-08-15  André Pönitz <poenitz@gmx.net>
9336
9337         * lyxfunc.C:
9338         * BufferView_pimpl.C: streamlining mathed <-> outer world
9339         interaction
9340
9341         * commandtags.h:
9342         * LyXAction.C: remove unused LFUN_MATH
9343
9344 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9345
9346         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9347
9348 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * paragraph.C (Paragraph): reformat a bit
9351         (cutIntoMinibuffer): use builtin InsetList function instad of
9352         doing it manually.
9353         (getInset): ditto
9354
9355         * buffer.C: include boost/bind.hpp, add using std::for_each
9356         (writeFileAscii): use ParagraphList iterators
9357         (validate): use for_each for validate traversal of paragraphs
9358         (getBibkeyList): use ParagraphList iterators
9359         (resizeInsets): use for_each to resizeInsetsLyXText for all
9360         paragraphs.
9361         (getParFromID): use ParagraphList iterators
9362
9363         * BufferView2.C (lockInset): use paragraph list and iterators
9364
9365 2002-08-14  John Levon  <levon@movementarian.org>
9366
9367         * lyxserver.C: remove spurious xforms include
9368
9369 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9372
9373 2002-08-13  André Pönitz <poenitz@gmx.net>
9374
9375         * LyXAction.[Ch]:
9376         * lyxfunc.C: further cleaning
9377
9378 2002-08-13  André Pönitz <poenitz@gmx.net>
9379
9380         * funcrequest.h: new constructor
9381
9382         * funcrequest.C: move stuff here from .h
9383
9384         * Makefile.am:
9385         * BufferView_pimpl.C:
9386         * LyXAction.C:
9387         * toc.C:
9388         * lyxfunc.C: subsequent changes
9389
9390         * lyxfunc.h: new view() member function
9391
9392         * lyxfunc.C: subsequent changes
9393
9394 2002-08-13  Angus Leeming  <leeming@lyx.org>
9395
9396         * BufferView2.C:
9397         * BufferView_pimpl.C:
9398         * buffer.C:
9399         * converter.C:
9400         * importer.C:
9401         * lyxfunc.C:
9402         * lyxvc.C:
9403         * toc.C:
9404         * vc-backend.C:
9405         changes due to the changed LyXView interface that now returns references
9406         to member variables not pointers.
9407
9408 2002-08-13  Angus Leeming  <leeming@lyx.org>
9409
9410         * WordLangTuple (word, lang_code): return references to strings,
9411         not strings.
9412
9413         * BufferView.h:
9414         * SpellBase.h:
9415         * lyxtext.h: forward-declare WordLangTuple.
9416
9417         * BufferView2.C:
9418         * ispell.C:
9419         * pspell.C:
9420         * text.C: #include "WordLangTuple.h".
9421
9422         * lyxtext.h:
9423         * text.C: (selectNextWordToSpellcheck): constify return type.
9424
9425 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9426
9427         * buffer.C:
9428         * buffer.h:
9429         * lyxtext.h:
9430         * paragraph.C:
9431         * paragraph_pimpl.h:
9432         * text.C:
9433         * text2.C:
9434         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9435         suggested by Angus.
9436         Made updateCounter always count from start of buffer, and removed
9437         second argument (par).
9438         Reverted floats number display to '#'. Perhaps I'll try again when the
9439         code base is sanitized a bit.
9440
9441 2002-08-12  Angus Leeming  <leeming@lyx.org>
9442
9443         * buffer.[Ch] (getLabelList): constify.
9444
9445 2002-08-07  André Pönitz <poenitz@gmx.net>
9446
9447         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9448
9449         * funcrequest.h: extension to keep mouse (x,y) position
9450
9451 2002-08-12  Juergen Vigna  <jug@sad.it>
9452
9453         * BufferView2.C (insertErrors): forbid undo when inserting error
9454         insets.
9455
9456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9457
9458 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9459
9460         * ParagraphList.[Ch]: new files
9461
9462         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9463
9464         * BufferView2.C (lockInset): ParagraphList changes
9465         * toc.C: ditto
9466         * text2.C: ditto
9467         * bufferlist.C: ditto
9468         * buffer.h: ditto
9469         * buffer.C: ditto
9470
9471 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9472
9473         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9474         unused class variable counter_,
9475
9476         * paragraph.[Ch] (getFirstCounter): delete unused function
9477
9478         * counters.C: include LAssert.h
9479         (reset): add a new function with no arg, change other version to
9480         not have def. arg and to not allow empty arg.
9481
9482         * text2.C (setCounter): remove empty arg from call to Counters::reset
9483
9484 2002-08-11  John Levon  <levon@movementarian.org>
9485
9486         * Makefile.am: add WordLangTuple.h
9487
9488 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9489
9490         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9491         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9492
9493         * insets/insettext.C: InsetList changes
9494
9495         * graphics/GraphicsSupport.C (operator()): InsetList changes
9496
9497         * toc.C (getTocList): InsetList changes
9498
9499         * paragraph_pimpl.[Ch]: InsetList changes
9500
9501         * paragraph.[Ch]: InsetList changes
9502
9503         * buffer.C (inset_iterator): InsetList changes
9504         (setParagraph): ditto
9505         * buffer.h (inset_iterator): ditto
9506         * iterators.C (operator++): ditto
9507         * iterators.h: ditto
9508
9509         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9510
9511         * InsetList.[Ch]: new files, most InsetList handling moved out of
9512         paragraph.C.
9513
9514         * BufferView2.C (removeAutoInsets): InsetList changes
9515         (lockInset): ditto
9516         (ChangeInsets): ditto
9517
9518 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9519
9520         * paragraph_pimpl.h (empty): new function
9521
9522         * paragraph.[Ch] (empty): new function
9523
9524         * other files: use the new Paragraph::empty function
9525
9526 2002-08-09  John Levon  <levon@movementarian.org>
9527
9528         * lyxtext.h: remove unused refresh_height
9529
9530 2002-08-09  John Levon  <levon@movementarian.org>
9531
9532         * Makefile.am:
9533         * sgml.h:
9534         * sgml.C:
9535         * buffer.C:
9536         * paragraph.h:
9537         * paragraph.C: move sgml char escaping out of paragraph
9538
9539         * paragraph.h:
9540         * paragraph.C: remove id setter
9541
9542         * buffer.C:
9543         * paragraph.C:
9544         * paragraph_pimpl.C: remove dead tex_code_break_column
9545
9546         * bufferview_funcs.C: small cleanup
9547
9548         * lyxfunc.C: remove dead proto
9549
9550         * lyxtext.h: make some stuff private. Remove some dead stuff.
9551
9552         * lyxgluelength.C: make as[LyX]String() readable
9553
9554 2002-08-08  John Levon  <levon@movementarian.org>
9555
9556         * LyXAction.h:
9557         * LyXAction.C:
9558         * MenuBackend.C:
9559         * ToolbarDefaults.C:
9560         * lyxfunc.C:
9561         * lyxrc.C:
9562         * toc.C: lyxaction cleanup
9563
9564 2002-08-08  John Levon  <levon@movementarian.org>
9565
9566         * BufferView2.C: small cleanup
9567
9568         * lyxfind.h:
9569         * lyxfind.C: move unnecessary header into the .C
9570
9571 2002-08-08  John Levon  <levon@movementarian.org>
9572
9573         * funcrequest.h: just tedious nonsense
9574
9575         * lyx_main.h:
9576         * lyx_main.C: cleanups
9577
9578         * buffer.C:
9579         * vspace.C: remove dead header lyx_main.h
9580
9581 2002-08-07  Angus Leeming  <leeming@lyx.org>
9582
9583         * Paragraph.[Ch]:
9584         * paragraph_pimpl.h:
9585         Forward declare class Counters in paragraph.h by moving the ctrs member
9586         variable into Paragraph::Pimpl.
9587         (counters): new method, returning a reference to pimpl_->ctrs.
9588
9589         * text2.C: ensuing changes.
9590
9591 2002-08-07  John Levon  <levon@movementarian.org>
9592
9593         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9594
9595         * BufferView_pimpl.C: announce X selection on double/triple
9596           click
9597
9598         * lyx_main.C: use correct bool in batch dispatch
9599
9600         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9601
9602 2002-08-07  André Pönitz <poenitz@gmx.net>
9603
9604         * funcrequest.h: new class to wrap a kb_action and its argument
9605
9606         * BufferView.[Ch]:
9607         * BufferView_pimpl[Ch]:
9608         * LaTeX.C:
9609         * LyXAction.[Ch]:
9610         * lyxfunc.[Ch]:
9611         * lyxrc.C: subsequent changes
9612
9613
9614 2002-08-07  John Levon  <levon@movementarian.org>
9615
9616         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9617           document options change.
9618
9619 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9620
9621         * counters.[Ch]
9622         * text2.C
9623         * paragraph.[Ch]
9624         * makefile.am: move counters functionality over from
9625         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9626
9627 2002-08-06  John Levon  <levon@movementarian.org>
9628
9629         * WordLangTuple.h: new file for word + language code tuple
9630
9631         * SpellBase.h:
9632         * pspell.h:
9633         * pspell.C:
9634         * ispell.h:
9635         * ispell.C:
9636         * lyxtext.h:
9637         * text.C:
9638         * text2.C:
9639         * BufferView.h:
9640         * BufferView2.C: use WordLangTuple
9641
9642         * layout.h:
9643         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9644
9645 2002-08-06  John Levon  <levon@movementarian.org>
9646
9647         * lyx_main.C: fix cmdline batch handling
9648
9649 2002-08-06  André Pönitz <poenitz@gmx.net>
9650
9651         * lyxrc.C: set default for show_banner to true
9652
9653 2002-08-06  John Levon  <levon@movementarian.org>
9654
9655         * pspell.C: fix a crash, and allow new aspell to work
9656
9657 2002-08-06  John Levon  <levon@movementarian.org>
9658
9659         * lyxfunc.C:
9660         * kbmap.C: small cleanup
9661
9662         * vspace.h:
9663         * vspace.C: add const
9664
9665 2002-08-05  John Levon  <levon@movementarian.org>
9666
9667         * LyXAction.C: back to tabular-insert
9668
9669 2002-08-04  John Levon  <levon@movementarian.org>
9670
9671         * BufferView.h:
9672         * BufferView.C: cosmetic change
9673
9674         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9675
9676         * bufferlist.C:
9677         * buffer.h:
9678         * buffer.C:
9679         * lyxcb.h:
9680         * lyxcb.C:
9681         * lyxserver.C:
9682         * lyxvc.C:
9683         * vc-backend.C:
9684         * BufferView2.C: purge all "Lyx" not "LyX" strings
9685
9686         * lyxcursor.h:
9687         * lyxcursor.C: attempt to add some documentation
9688
9689         * lyxfunc.C:
9690         * commandtags.h:
9691         * LyXAction.C:
9692         * ToolbarDefaults.C:
9693         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9694           merge with LFUN_TABULAR_INSERT
9695
9696         * Makefile.am:
9697         * SpellBase.h:
9698         * ispell.h:
9699         * ispell.C:
9700         * pspell.h:
9701         * pspell.C: split up i/pspell implementations into separate
9702           files, many cleanups
9703
9704         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9705
9706         * text2.C: some cleanup
9707
9708         * lyxfunc.C: don't check for isp_command == "none" any more, it
9709           didn't make any sense
9710
9711 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9712
9713         * counters.[Ch]
9714         * text2.C
9715         * paragraph.[Ch]
9716         * makefile.am: move counters functionality over
9717         from text2.C/paragraph.[Ch] to counters.[Ch], and
9718         make proper C++.
9719 2002-08-02  John Levon  <levon@movementarian.org>
9720
9721         * buffer.C: s/lyxconvert/lyx2lyx/
9722
9723 2002-08-02  Angus Leeming  <leeming@lyx.org>
9724
9725         * lyxlex.C: revert John's change as it breaks reading of the user
9726         preamble.
9727
9728 2002-08-02  Angus Leeming  <leeming@lyx.org>
9729
9730         * importer.C (Import):
9731         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9732         changes due to LyXView::view() now returning a boost::shared_ptr.
9733
9734 2002-08-02  John Levon  <levon@movementarian.org>
9735
9736         * lyxlex.C: small cleanup
9737
9738 2002-08-02  John Levon  <levon@movementarian.org>
9739
9740         * text2.C (status): small cleanup, no logic change
9741
9742 2002-08-01  John Levon  <levon@movementarian.org>
9743
9744         * buffer.h:
9745         * buffer.C (writeFile): don't output alerts, caller
9746           handles this
9747
9748         * bufferlist.C:
9749         * lyx_cb.C: from above
9750
9751         * lyxfunc.C: allow to open non-existent files
9752
9753 2002-07-31  John Levon  <levon@movementarian.org>
9754
9755         * lyxserver.C: don't let incidental errors get
9756           in the way (errno)
9757
9758 2002-07-30  John Levon  <levon@movementarian.org>
9759
9760         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9761
9762 2002-07-30  John Levon  <levon@movementarian.org>
9763
9764         * lyxserver.h:
9765         * lyxserver.C: remove I/O callback too
9766
9767 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9770         log.
9771
9772 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9773
9774         * many files: strip,frontStrip -> trim,ltrim,rtrim
9775
9776 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9777
9778         * PrinterParams.h: remove extern containsOnly, and include
9779         support/lstrings.h instead.
9780
9781         * LaTeX.C (scanAuxFile): modify because of strip changes
9782         (deplog): ditto
9783         * buffer.C (makeLaTeXFile): ditto
9784         * bufferparams.C (writeFile): ditt
9785         * lyxfont.C (stateText): ditto
9786         * lyxserver.C (read_ready): ditto
9787         * vc-backend.C (scanMaster): ditto
9788
9789         * BufferView_pimpl.h: ws changes
9790
9791         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9792
9793 2002-07-26  André Pönitz <poenitz@gmx.net>
9794
9795         * kb_sequence.C: remove unnedred usings
9796
9797 2002-07-26  Juergen Vigna  <jug@sad.it>
9798
9799         * lyxfind.C (LyXReplace): we have to check better if the returned
9800         text is not of theLockingInset()->getLockingInset().
9801
9802 2002-07-25  Juergen Vigna  <jug@sad.it>
9803
9804         * lyxfind.C (LyXReplace): don't replace if we don't get the
9805         right LyXText.
9806
9807         * undo_funcs.C (createUndo): remove debugging code.
9808
9809 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9810
9811         * buffer.C (parseSingleLyXformat2Token): Use default placement
9812         when reading old floats.
9813
9814         * FloatList.C (FloatList): Change the default placement of figure
9815         and tables to "tbp".
9816
9817 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9818
9819         * MenuBackend.C: using std::max
9820
9821 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9822
9823         * MenuBackend.C (expandToc):
9824         (expandToc2): code moved from xforms menu frontend. It is now
9825         generic and TOCs are transparent to menu frontends.
9826
9827 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * toc.C (getTocList): protect against buf=0
9830
9831         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9832         Menu as first parameter. Now, this calls itself recursively to
9833         expand a whole tree (this will be useful for TOC handling)
9834         (expandFloatInsert): remove 'wide' version of floats
9835
9836         * MenuBackend.h (submenuname): returns the name of the submenu.
9837         (submenu): returns the submenu itself, provided it has been
9838         created by MenuBackend::expand
9839
9840 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9843         insets which have noFontChange == true. (bug #172)
9844
9845 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * BufferView_pimpl.C: add connection objects and use them...
9848         (Pimpl): here.
9849
9850 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * MenuBackend.C (expandLastfiles):
9853         (expandDocuments):
9854         (expandFormats):
9855         (expandFloatListInsert):
9856         (expandFloatInsert):
9857         (expand): split expand in parts
9858
9859 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * lyx_gui.C: use lyx_gui::exit()
9862
9863 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * LyXAction.C: show the failing pseudo action
9866
9867 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9868
9869         * buffer.C (readFile): Run the lyxconvert script in order to read
9870         old files.
9871
9872 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * LyXAction.C:
9875         * commandtags.h:
9876         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9877
9878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * LyXAction.C:
9881         * commandtags.h:
9882         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9883
9884 2002-07-22  Herbert Voss  <voss@lyx.org>
9885
9886         * lengthcommon.C:
9887         * lyxlength.[Ch]: add support for the vertical lengths
9888
9889 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * toc.[Ch]: std:: fixes
9892
9893 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9894
9895         * lyxrc.C: do not include lyx_main.h
9896
9897         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9898         for layouts
9899
9900         * lyxrc.C:
9901         * encoding.C:
9902         * bufferlist.C:
9903         * BufferView2.C: include "lyxlex.h"
9904
9905         * tabular.h:
9906         * bufferparams.h: do not #include "lyxlex.h"
9907
9908         * lyxtextclasslist.C (Add): remove method
9909         (classlist): renamed to classlist_
9910
9911         * paragraph_pimpl.C:
9912         * paragraph.C:
9913         * text2.C:
9914         * CutAndPaste.C:
9915         * bufferview_funcs.C:
9916         * bufferlist.C:
9917         * text.C:
9918         * LaTeXFeatures.C:
9919         * buffer.C:
9920         * toc.C (getTocList): use BufferParams::getLyXTextClass
9921
9922         * toc.C (getTocList): use InsetFloat::addToToc
9923
9924         * toc.[Ch]: new files, containing helper functions to handle table
9925         of contents
9926
9927         * lyxfunc.C (dispatch): no need to remove spaces around command
9928         given as a string
9929         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9930         first command of the sequence; it is not very clever, but I do not
9931         have a better idea, actually
9932
9933         * LyXAction.C (LookupFunc): make sure to remove space at the
9934         beginning and end of the command
9935
9936 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * MenuBackend.C (getMenubar): new method: return the menubar of
9939         this menu set
9940         (read): treat differently reading of menu and menubar (in
9941         particular, the menubar has no name now)
9942         (Menu::menubar): remove
9943
9944         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9945         saving is finished
9946
9947 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9948
9949         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9950         a bibitem inset in a RTL paragraph.
9951
9952 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9953
9954         * paragraph_pimpl.C: constify
9955
9956         * BufferView_pimpl.C:
9957         * LaTeX.C:
9958         * lyxfunc.C: fix dispatch in a nicer way
9959
9960 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * lyxfunc.C (dispatch):
9963         * BufferView_pimpl.C:
9964         * BufferView_pimpl.h:
9965         * BufferView.C:
9966         * BufferView.h: rename Dispatch() to dispatch()
9967
9968         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9969
9970         * lyxlayout.C (Read): honor DependsOn tag
9971
9972         * lyxlayout.[Ch] (depends_on): new method
9973
9974         * version.C.in: update lyx_docversion
9975
9976         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9977
9978         * paragraph.C (validate): remove from here...
9979         * paragraph_pimpl.C (validate): ... and move here
9980         (isTextAt): make it const
9981
9982         * buffer.C (getLists): ws cleanup
9983
9984 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9985
9986         * language.C (read): Use iso8859-1 encoding in latex_lang
9987         (this prevents LyX from crashing when using iso10646-1 encoding).
9988
9989 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * text2.C (toggleInset): if cursor is inside an inset, close the
9992         inset and leave cursor _after_ it
9993
9994 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9995
9996         * lyxfunc.C: move minibuffer completion handling out of here
9997
9998 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * BufferView_pimpl.C:
10001         * LaTeX.C: fix dispatch calls
10002
10003 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * text.C (drawChars): Fix Arabic text rendering.
10006
10007 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * LyXAction.C:
10010         * commandtags.h:
10011         * lyxfunc.C: remove message-push/pop
10012
10013         * lyxserver.C:
10014         * lyxfunc.h:
10015         * lyxfunc.C: rationalise some code by removing verboseDispatch
10016           in favour of a bool argument to dispatch()
10017
10018 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * lyx_main.C (init): make sure to read symlinks as absolute paths
10021
10022 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * lyxfunc.h:
10025         * lyxfunc.C: no need for commandshortcut to be a member
10026
10027 2002-07-15  André Pönitz <poenitz@gmx.net>
10028
10029         * converter.C: add support for $$s (scripts from lib/scripts dir)
10030         * lyx_main.C: white space
10031
10032 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * bufferlist.C:
10035         * lyxrc.h:
10036         * lyxrc.C: remove second exit confirmation
10037
10038 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * BufferView.h:
10041         * BufferView.C:
10042         * BufferView2.C:
10043         * BufferView_pimpl.h:
10044         * BufferView_pimpl.C:
10045         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10046
10047 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * MenuBackend.C (expand): add numeric shortcuts to document menu
10050
10051         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10052
10053 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * lyxfont.C (setLyXFamily):
10056         (setLyXSeries):
10057         (setLyXShape):
10058         (setLyXSize):
10059         (setLyXMisc):
10060         (lyxRead):
10061         * debug.C (value):
10062         * buffer.C (asciiParagraph): use ascii_lowercase
10063
10064 2002-07-15  Mike Fabian  <mfabian@suse.de>
10065
10066         * lyxlex_pimpl.C (search_kw):
10067         * lyxlex.C (getLongString):
10068         * converter.h (operator<):
10069         * converter.C (operator<):
10070         * buffer.C (parseSingleLyXformat2Token):
10071         (asciiParagraph):
10072         * ToolbarDefaults.C (read):
10073         * MenuBackend.C (checkShortcuts):
10074         (read):
10075         * LColor.C (getFromGUIName):
10076         (getFromLyXName): use the compare_ascii_no_case instead of
10077         compare_no_case, because in turkish, 'i' is not the lowercase
10078         version of 'I', and thus turkish locale breaks parsing of tags.
10079
10080 2002-07-16  Angus Leeming  <leeming@lyx.org>
10081
10082         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10083         now takes a Buffer const & argument.
10084
10085 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * BufferView.C (resize): check there's a buffer to resize
10088
10089 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * lyxfunc.C: remove dead code
10092
10093         * lyxserver.h:
10094         * lyxserver.C: use lyx_guii::set_read_callback
10095
10096 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10097
10098         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10099         an inset in a RTL paragraph.
10100
10101 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10102
10103         * lyxfunc.C: repaint after a font size update
10104
10105 2002-07-15  André Pönitz <poenitz@gmx.net>
10106
10107         * lyxlength.C: inBP should be able to return negative values
10108
10109 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * lyxfunc.C: use lyx_gui::update_fonts()
10112
10113 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * lyxfunc.C: use lyx_gui::update_color()
10116
10117 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * bufferlist.C:
10120         * lyxfunc.h:
10121         * lyxfunc.C:
10122         * lyxrc.h:
10123         * lyxrc.C: remove file->new asks for name option, and let
10124           buffer-new take an argument
10125
10126 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * BufferView_pimpl.C: remove unneeded extra repaint()
10129
10130 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * LyXAction.C: allow command-sequence with NoBuffer
10133
10134         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10135
10136 2002-07-10  Angus Leeming  <leeming@lyx.org>
10137
10138         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10139
10140 2002-07-09  Angus Leeming  <leeming@lyx.org>
10141
10142         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10143
10144 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * lengthcommon.h: whitespace
10147
10148         * lyxfunc.C: update scrollbar after goto paragraph
10149
10150         * lyxtext.h: factor out page break drawing, and fix it so
10151           page break/added space paints as selected nicely
10152
10153 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * BufferView_pimpl.C: add FIXMEs, clean up a little
10156
10157 2002-07-09  André Pönitz <poenitz@gmx.net>
10158
10159         * lyxfont.[Ch]: support for wasy symbols
10160
10161 2002-07-08  André Pönitz <poenitz@gmx.net>
10162
10163         * BufferView_pimpl.C: apply John's patch for #93.
10164
10165 2002-07-05  Angus Leeming  <leeming@lyx.org>
10166
10167         * BufferView_pimpl.C (buffer): generate previews if desired.
10168
10169         * LColor.h: add "preview" to the color enum.
10170
10171         * LColor.C (LColor): add a corresponding entry to the items array.
10172
10173         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10174         with this buffer.
10175
10176 2002-07-05  Angus Leeming  <leeming@lyx.org>
10177
10178         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10179         The body of the code is now in the method that is passed an ostream &
10180         rather than a file name.
10181         Pass an additional only_preamble parameter, useful for the forthcoming
10182         preview stuff.
10183
10184 2002-07-03  André Pönitz <poenitz@gmx.net>
10185
10186         * lyxfunc.C: simplify getStatus() a bit for math stuff
10187
10188 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10189
10190         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10191
10192 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * text.C (changeRegionCase): do not change case of all the
10195         document when region ends at paragraph end (bug #461)
10196
10197 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * paragraph.C (startTeXParParams):
10200         (endTeXParParams): add \protect when necessary
10201
10202 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * BufferView_pimpl.C (workAreaExpose): remove warning
10205
10206 2002-06-27  Angus Leeming  <leeming@lyx.org>
10207
10208         * Makefile.am: add lyxlayout_ptr_fwd.h.
10209
10210 2002-06-26  André Pönitz <poenitz@gmx.net>
10211
10212         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10213
10214 2002-06-25  Angus Leeming  <leeming@lyx.org>
10215
10216         * lyxfunc.C (dispatch): Comment out the call to
10217         grfx::GCache::changeDisplay. The method no longer exists now that the
10218         pixmap generation part of the graphics loader has been moved into
10219         InsetGraphics.
10220
10221 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * text2.C: layout as layout
10224
10225         * text.C: layout as layout
10226
10227         * tabular.C (OldFormatRead): layout as layout
10228
10229         * paragraph_pimpl.C (TeXDeeper): layout as layout
10230         (realizeFont): layout as layout
10231
10232         * paragraph.C (writeFile): layout as layout
10233         (validate): layout as layout
10234         (getFont): layout as layout
10235         (getLabelFont): layout as layout
10236         (getLayoutFont): layout as layout
10237         (breakParagraph): layout as layout
10238         (stripLeadingSpaces): layout as layout
10239         (getEndLabel): layout as layout
10240         (getMaxDepthAfter): layout as layout
10241         (applyLayout): layout as layout
10242         (TeXOnePar): layout as layout
10243         (simpleTeXOnePar): layout as layout
10244         (TeXEnvironment): layout as layout
10245         (layout): layout as layout
10246         (layout): layout as layout
10247
10248         * lyxtextclass.C (compare_name): new functor to work with
10249         shared_ptr, layout as layout
10250         (Read): layout as layout
10251         (hasLayout): layout as layout
10252         (operator): layout as layout
10253         (delete_layout): layout as layout
10254         (defaultLayout): layout as layout
10255
10256         * lyxlayout_ptr_fwd.h: new file
10257
10258         * lyxlayout.C (Read): layout as layout
10259
10260         * lyx_cb.C (MenuInsertLabel): layout as layout
10261
10262         * bufferlist.C (newFile): layout as layout
10263
10264         * buffer.C (readLyXformat2): layout as layout
10265         (parseSingleLyXformat2Token): layout as layout
10266         (insertStringAsLines): layout as layout
10267         (asciiParagraph): layout as layout
10268         (latexParagraphs): layout as layout
10269         (makeLinuxDocFile): layout as layout
10270         (simpleLinuxDocOnePar): layout as layout
10271         (makeDocBookFile): layout as layout
10272         (simpleDocBookOnePar): layout as layout
10273         (getLists): layout as layout
10274
10275         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10276
10277         * CutAndPaste.C (cutSelection): layout as layout
10278         (pasteSelection): layout as layout
10279         (SwitchLayoutsBetweenClasses): layout as layout
10280
10281         * BufferView_pimpl.C (Dispatch): layout as layout
10282         (smartQuote): layout as layout
10283
10284         * BufferView2.C (unlockInset): layout as layout
10285
10286 2002-06-24  André Pönitz <poenitz@gmx.net>
10287
10288         * lyxfunc.C: fix #487
10289
10290 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * lyxrc.h:
10293         * lyxrc.C:
10294         * lyxfunc.C: remove display_shortcuts, show_banner
10295
10296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * Buffer_pimpl.C: oops, update on resize
10299
10300 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * buffer.C:
10303         * converter.C:
10304         * exporter.C:
10305         * lyxfunc.C:
10306         * BufferView.h:
10307         * BufferView.C: use repaint()
10308
10309         * BufferView_pimpl.h:
10310         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10311           as it's a clearer description. Remove superfluous
10312           redraws.
10313
10314 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * text.C: fix bug 488. Not ideal, but getting
10317           getWord() to work properly for the insets that
10318           matter is more difficult ...
10319
10320 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * BufferView_pimpl.C:
10323         * LyXAction.C:
10324         * commandtags.h:
10325         * lyxfunc.C: remove the six million index lyxfuncs to just
10326           one, and DTRT (bug 458)
10327
10328 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView.h:
10331         * BufferView.C:
10332         * BufferView_pimpl.h:
10333         * BufferView_pimpl.C: clean up resize() stuff,
10334           and unnecessary updateScreen()s
10335
10336 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * BufferView.h:
10339         * BufferView.C:
10340         * BufferView_pimpl.h:
10341         * BufferView_pimpl.C:
10342         * lyxfind.h:
10343         * lyxfind.C:
10344         * minibuffer.C: remove focus management of workarea,
10345           not needed. Use screen's greyOut()
10346
10347 2002-06-17  Herbert Voss  <voss@lyx.org>
10348
10349         * converter.C: (convert) do not post a message, when converting
10350         fails, let the calling function decide what to do in this case
10351
10352 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * lyxfunc.C: tidy up a little
10355
10356 2002-06-16    <alstrup@diku.dk>
10357
10358         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10359         Got rid of FORMS_H_LOCATION include. Now we are
10360         GUII.
10361
10362 2002-06-15  LyX Development team  <lyx@rilke>
10363
10364         * buffer.[Ch] (sgmlOpenTag):
10365         (sgmlCloseTag): Added support for avoiding pernicious mixed
10366         content. Return number of lines written.
10367
10368         (makeLinuxDocFile):
10369         (makeDocBookFile): Fixed calls to sgml*Tag.
10370         Simple white space clean.
10371
10372         (simpleDocBookOnePar): Simple white space clean.
10373
10374         * tabular.[Ch] (docBook): Renamed to docbook and got another
10375         argument to related with the pernicious mixed content.
10376
10377         (docbookRow): Fixed calls for docbook inset method.
10378
10379 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10380
10381         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10382         so it's X11 independent.
10383
10384         * kb*.[Ch]: ditto.
10385
10386         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10387
10388 2002-06-15  Lyx Development team  <lyx@electronia>
10389
10390         * intl.h: Renamed getTrans to getTransManager.
10391
10392 2002-06-14  Angus Leeming  <leeming@lyx.org>
10393
10394         * Makefile.am: nuke forgotten stl_string_fwd.h.
10395
10396 2002-06-12  Angus Leeming  <leeming@lyx.org>
10397
10398         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10399
10400 2002-06-13  Angus Leeming  <leeming@lyx.org>
10401
10402         * LaTeX.C:
10403         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10404
10405 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10406
10407         * kbmap.C (getiso): add support for cyrillic and greek
10408
10409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * BufferView.h:
10412         * BufferView.C:
10413         * BufferView_pimpl.h:
10414         * BufferView_pimpl.C: move bogus scrolling logic
10415           to xforms
10416
10417 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * lyxfunc.C:
10420         * BufferView_pimpl.C: view->resize() change
10421
10422 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * BufferView_pimpl.C: topCursorVisible
10425           prototype change
10426
10427 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * Makefile.am:
10430         * lyx_gui.h:
10431         * lyx_gui.C: move to frontends/
10432
10433         * main.C:
10434         * lyx_main.h:
10435         * lyx_main.C: changes from above
10436
10437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * intl.C:
10440         * intl.h:
10441         * kbmap.C:
10442         * kbsequence.C:
10443         * lyx_cb.C:
10444         * lyx_main.C: minor tidy
10445
10446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * BufferView_pimpl.h:
10449         * BufferView_pimpl.C:
10450         * BufferView.h:
10451         * BufferView.C: make painter() const,
10452           remove dead code
10453
10454         * BufferView2.C: use screen() accessor
10455
10456         * lyx_main.h:
10457         * lyx_main.C: some minor cleanup
10458
10459 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * BufferView_pimpl.h:
10462         * BufferView_pimpl.C: remove enter/leaveView,
10463           use workHeight()
10464
10465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView.h:
10468         * BufferView.C:
10469         * BufferView2.C:
10470         * BufferView_pimpl.h:
10471         * BufferView_pimpl.C: only construct screen once,
10472           rename
10473
10474         * lyxrc.C: remove pointless comment
10475
10476 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * BufferView.h:
10479         * BufferView.C: remove active() and belowMouse()
10480
10481         * BufferView_pimpl.h:
10482         * BufferView_pimpl.C: use workarea() not workarea_,
10483           and make it use a scoped_ptr instead
10484
10485 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * lyx_gui.C: add debug message on BadWindow
10488
10489 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * sp_spell.C: fdopen is not part of the C++ standard.
10492
10493         * paragraph.C (InsetIterator): use >= instead of ==
10494
10495 2002-06-07  Angus Leeming  <leeming@lyx.org>
10496
10497         Fixes needed to compile with Compaq cxx 6.5.
10498         * BufferView_pimpl.C:
10499         * DepTable.C:
10500         * buffer.C:
10501         * converter.C:
10502         * encoding.C:
10503         * lyx_gui.C:
10504         * lyx_main.C:
10505         * lyxtextclasslist.C:
10506         * minibuffer.C:
10507         * sp_spell.C:
10508         * tabular_funcs.C:
10509         * vc-backend.C:
10510         all c-library variables have been moved into namespace std. Wrap
10511         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10512
10513         * lyxlength.C:
10514         * tabular-old.C:
10515         * tabular.C:
10516         Add a using std::abs declaration.
10517
10518         * kbmap.h (modifier_pair):
10519         * paragraph.h (InsetTable, InsetList):
10520         * lyxfont.h (FontBits):
10521         type definition made public.
10522
10523         * bufferlist.C (emergencyWriteAll): the compiler complains that
10524         there is more than one possible lyx::class_fun template to choose from.
10525         I re-named the void specialisation as lyx::void_class_fun.
10526
10527         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10528
10529         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10530         the compiler is is unable to find tostr in write_attribute.
10531
10532 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * buffer.C (sgmlError): hide #warning
10535
10536 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10537
10538         * xtl/*: get rid of xtl, which is not in use anyway
10539
10540         * LyXAction.C (init):
10541         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10542         were unimplemented xtl experimentation
10543
10544 2002-06-04  André Pönitz <poenitz@gmx.net>
10545
10546         * lyxfunc.C: disable array operation on simple formulae
10547
10548 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * converter.C: constify a bit
10551
10552 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * lyx_gui.C: check xforms version correctly
10555
10556 2002-04-30  Herbert Voss  <voss@lyx.org>
10557
10558         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10559         "keep" option
10560
10561 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10564           attempt to register it with a VCS)
10565
10566 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * lyx_main.C (init): honor variables LYX_DIR_13x and
10569         LYX_USERDIR_13x
10570
10571 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * buffer.h:
10574         * buffer.C:
10575         * lyx_main.C: fix a crash on bad command line,
10576           and give a useful exit status on error
10577
10578         * lyxfunc.C (doImport): allow -i lyx to work
10579
10580 2002-03-30  André Pönitz <poenitz@gmx.net>
10581
10582         * lyxfunc.C: mathed font changes
10583
10584 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * LaTeX.C:
10587         * importer.h:
10588         * importer.C:
10589         * lyx_sty.h:
10590         * lyx_sty.C:
10591         * lyxlex.C:
10592         * lyxrow.h:
10593         * lyxtext.h:
10594         * paragraph.h:
10595         * paragraph.C:
10596         * texrow.h:
10597         * texrow.C:
10598         * text.C:
10599         * trans_mgr.h: srcdocs, and some minor cleanups
10600
10601 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10604         call getFont all the time)
10605
10606 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10607
10608         * switch from SigC signals to boost::signals
10609
10610 2002-05-29  André Pönitz <poenitz@gmx.net>
10611
10612         * paragraph_pimpl.C (getChar): don't call size() too often...
10613
10614 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * paragraph_pimpl.C (insertChar): do not try to update tables when
10617         appending (pos == size())
10618
10619         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10620         in order to reduce drastically the number of comparisons needed to
10621         parse a large document
10622
10623 2002-05-29  André Pönitz <poenitz@gmx.net>
10624
10625         * text.C:
10626         * text2.C:
10627         * lyxtextclass.C:
10628         * sp_pspell.h:
10629         * textclasslist.[Ch]:
10630         * sp_ispell.h: whitespace change
10631
10632 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10635         lyxaction directly now.
10636
10637 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * trans.C:
10640         * lyxfont.C:
10641         * lyxvc.C: remove unused headers
10642
10643 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * Makefile.am:
10646         * buffer.h:
10647         * undostack.h:
10648         * undostack.C:
10649         * undo_funcs.h:
10650         * undo_funcs.C: some cleanups. Use shared_ptr
10651           and a template for the undo stacks.
10652
10653 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * BufferView_pimpl.h:
10656         * BufferView_pimpl.C:
10657         * kbmap.h:
10658         * kbmap.C:
10659         * kbsequence.h:
10660         * kbsequence.C:
10661         * lyxfunc.h:
10662         * lyxfunc.C:
10663         * text2.C: use key_state/mouse_state
10664
10665 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10668         and LSubstring
10669
10670         * chset.C: change include order
10671         (loadFile): use boost regex and get rid of LRegex and LSubstring
10672
10673         * Makefile.am (BOOST_LIBS): new variable
10674         (lyx_LDADD): use it
10675
10676         * LaTeX.C: change include order.
10677         (scanAuxFile): use boost regex and get rid of LRegex and
10678         LSubstring
10679         (deplog): ditto
10680
10681 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * ColorHandler.h:
10684         * ColorHandler.C:
10685         * FontInfo.h:
10686         * FontInfo.C: moved to frontends/xforms/
10687
10688         * FontLoader.h:
10689         * FontLoader.C: moved into frontends for GUIIzation
10690
10691         * Makefile.am:
10692         * lyx_gui.C:
10693         * lyxfont.C:
10694         * lyxfunc.C: changes from above
10695
10696 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * LColor.C: remove spurious X include
10699
10700         * BufferView_pimpl.C:
10701         * Makefile.am:
10702         * font.h:
10703         * font.C:
10704         * text.C:
10705         * text2.C: move font metrics to frontends/
10706
10707 2002-05-24  Juergen Vigna  <jug@sad.it>
10708
10709         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10710         setting the undo_cursor.
10711
10712         * ParagraphParameters.h: include local includes first.
10713
10714 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * BufferView_pimpl.C:
10717         * BufferView_pimpl.h:
10718         * Makefile.am:
10719         * WorkArea.h:
10720         * WorkArea.C:
10721         * screen.C: move WorkArea into frontends/
10722
10723         * lyxscreen.h:
10724         * screen.C:
10725         * text.C:
10726         * BufferView.C:
10727         * BufferView2.C: move LyXScreen into frontends/
10728
10729         * lyxlookup.h:
10730         * lyxlookup.C:
10731         * lyx_gui.C: move lyxlookup into frontends/xforms/
10732
10733 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * BufferView2.C:
10736         * BufferView_pimpl.C:
10737         * FontLoader.C:
10738         * LyXView.h:
10739         * LyXView.C:
10740         * Makefile.am:
10741         * WorkArea.C:
10742         * XFormsView.h:
10743         * XFormsView.C:
10744         * buffer.C:
10745         * bufferlist.C:
10746         * bufferview_funcs.C:
10747         * converter.C:
10748         * importer.C:
10749         * lyx_cb.C:
10750         * lyx_gui.C:
10751         * lyx_main.C:
10752         * lyx_find.C:
10753         * lyxfunc.C:
10754         * lyxvc.C:
10755         * minibuffer.C:
10756         * text.C:
10757         * text2.C:
10758         * trans.C:
10759         * vc-backend.C: move LyX/XFormsView into frontends/
10760
10761 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * Makefile.am:
10764         * PainterBase.C:
10765         * PainterBase.h:
10766         * Painter.C:
10767         * Painter.h:
10768         * WorkArea.C:
10769         * WorkArea.h:
10770         * screen.C:
10771         * tabular.C:
10772         * text.C:
10773         * text2.C: move Painter to frontends/
10774
10775 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10776
10777         * buffer.C: comment out some some code that depend upon lyx_format
10778         < 220
10779
10780         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10781         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10782
10783         * buffer.h (NO_COMPABILITY): turn off compability
10784
10785         * ColorHandler.C: include scoped_array.hpp
10786
10787         * font.C: Use more specific smart_ptr header.
10788         * Painter.C: ditto
10789         * gettext.C: ditto
10790         * ShareContainer.h: ditto
10791         * lyx_main.h: ditto
10792         * kbmap.h: ditto
10793         * FontInfo.h: ditto
10794         * BufferView_pimpl.h: ditto
10795         * ColorHandler.h: ditto
10796
10797         * kbmap.C (defkey): change call to shared_ptr::reset
10798
10799 2002-05-21  Juergen Vigna  <jug@sad.it>
10800
10801         * buffer.C (insertErtContents): fix to insert ert asis if it is
10802         non empty. Skip it completely if it contains only whitespaces.
10803
10804 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * BufferView_pimpl.C:
10807         * BufferView2.C: clear selection on paste (bug 393)
10808
10809 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * DepTable.C: include ctime
10812
10813 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10814
10815         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10816
10817 2002-05-14  Juergen Vigna  <jug@sad.it>
10818
10819         * text.C (breakParagraph): fixed function to honor the keepempty
10820         layout in the right maner and also to permit the right breaking
10821         algorithm on empty or non empyt keepempty paragraphs.
10822
10823         * paragraph.C (breakParagraph): we have to check also if the par
10824         is really empty (!size()) for isempty otherwise we do the wrong
10825         paragraph break.
10826
10827 2002-05-10  Juergen Vigna  <jug@sad.it>
10828
10829         * buffer.[Ch] : The following are only changes to the ert
10830         compatibility read reading old LaTeX layout and font stuff and
10831         convert it to ERTInsets.
10832
10833         * buffer.h: added isErtInset().
10834
10835         * buffer.C (struct ErtComp): add a fromlayout bool to check
10836         if we're inside a LaTeX layout.
10837         (isErtInset): new helper function.
10838         (insertErtContents): look for other ert insets before this one
10839         and insert the contents there, so that we don't have subsequent
10840         ERT insets with nothing between them. This way we create only one
10841         inset with multiple paragraphs. Also check if we don't insert only
10842         spaces ' ' as they are ignored anyway afterwards in the .tex file
10843         so if we have only spaces we will ignore this latex part in the
10844         new file.
10845         (parseSingleLyXformat2Token \\layout): better compatibility when
10846         reading layout-latex stuff.
10847         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10848         language tag.
10849         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10850         stuff after reading the inset only get the information back from
10851         the stack.
10852
10853 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10856
10857         * LaTeXFeatures.C (getBabelOptions): New method.
10858
10859 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * BufferView_pimpl.C (Dispatch): work around missing argument for
10862         'layout'
10863
10864 2002-05-08  Juergen Vigna  <jug@sad.it>
10865
10866         * text.C (leftMargin): handle paragraph leftindent.
10867
10868         * paragraph.C (writeFile): write the new \\leftindent tag.
10869         (validate): handle leftindent code.
10870         (TeXEnvironment): handle paragraphleftindent code again.
10871
10872         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10873
10874         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10875         for paragrap_extra indent code and new token \\leftindent.
10876         (latexParagraphs): handle the leftindent as environment.
10877
10878         * ParameterStruct.h: added leftindent support.
10879
10880         * ParagraphParameters.C (leftIndent): added support functions for
10881         the paragraph left indent.
10882
10883         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10884         more appropriate.
10885
10886 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10887
10888         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10889         inside insetERT.
10890
10891         * text.C (computeBidiTables): No bidi in insetERT.
10892
10893         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10894         in RTL documents.
10895
10896 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * version.C.in: pre 5
10899
10900 2002-05-02  José Matos  <jamatos@fep.up.pt>
10901         * buffer.C (makeDocBookFile): white space changes, add newline to
10902         command styles.
10903         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10904
10905         * tabular.C (docBook): fix typo.
10906
10907 2002-05-03  Juergen Vigna  <jug@sad.it>
10908
10909         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10910         change in LyXText as we can not be sure it was not freed.
10911         (drawOneRow): remove unused code.
10912
10913         * text.C (drawInset): redo the calculation of the need_break_row as
10914         it could have a row which was already freed.
10915         (draw): look at the return value of drawInset and return false if
10916         it also returned false.
10917         (paintRowText): look at the return value of draw and return false if
10918         it also returned false.
10919
10920         * lyxtext.h: added bool return type to drawInset() and draw() so that
10921         if we have a change in the row so that the rowbreak has to be redone
10922         we abort drawing as it will be called again.
10923
10924 2002-05-02  Juergen Vigna  <jug@sad.it>
10925
10926         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10927         a change in the maintext also if we're inside an inset.
10928         (Dispatch): set the cursor again after a break line and after the
10929         screen has been updated as it could be we're in a different row.
10930
10931         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10932         to set the cursor behind the pargraph with > size().
10933         (setCursor): check also for the same paragraph when checking where
10934         to put the cursor if we have a NFR inset.
10935
10936         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10937         parts of layout read further up as it still was in the wrong
10938         position.
10939
10940 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * screen.C (drawFromTo): change sine fullRebreak always return
10943         true.
10944
10945         * buffer.C (parseSingleLyXformat2Token): reindent some
10946
10947         * BufferView_pimpl.C (update): change since fullRebreak always
10948         return true.
10949         (Dispatch): git rid of the last hardcoded "Standard"s.
10950
10951 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * text2.[Ch] (fullRebreak): make it return void now that we always
10954         returned true.
10955
10956 2002-04-30  Juergen Vigna  <jug@sad.it>
10957
10958         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10959         ert compatibility check for "latex" layout.
10960
10961 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10962
10963         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10964         minipages: use col% instead of p%, and also use the current font.
10965         (makeLaTeXFile): Fix use babel condition.
10966         (parseSingleLyXformat2Token): Correct font when reading old floats.
10967
10968 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10969
10970         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10971         inserting list of floats.
10972
10973 2002-04-25  Herbert Voss  <voss@lyx.org>
10974
10975         * MenuBackend.C (expand): don't add the graphics extensions to the
10976         export menu
10977
10978 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10979
10980         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10981         non-existing layout, do not complain if it was the default layout
10982         of the original class (bug #342)
10983
10984 2002-04-24  Juergen Vigna  <jug@sad.it>
10985
10986         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10987         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10988
10989 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10990
10991         * buffer.C (getBibkeyList): If using \bibliography, return the
10992         option field with the reference itself. Enables us to provide natbib
10993         support when using \bibliography.
10994
10995 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10996
10997         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10998
10999         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11000         natbib is provided by the LaTeX class.
11001
11002 2002-04-23  Juergen Vigna  <jug@sad.it>
11003
11004         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11005         Wakeup functions.
11006
11007         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11008
11009 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11012
11013         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11014         ensuremath around textordmasculine, textordfeminine and
11015         textdegree.
11016
11017 2002-04-19  Juergen Vigna  <jug@sad.it>
11018
11019         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11020         reinitializing the buffer otherwise row-dimensions may be wrong.
11021         (update): reset also the selection cursors if they do exits otherwise
11022         their x/y positions may be wrong.
11023
11024         * text2.C (cursorDown): don't enter the inset if we came from a row
11025         above and are one row over the inset.
11026
11027         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11028         really leaving an inset.
11029
11030 2002-04-18  Juergen Vigna  <jug@sad.it>
11031
11032         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11033         of the selected paragraph does not have the selected layout also if
11034         the last one had!
11035
11036         * text2.C (setLayout): fixed bug which did not change last selected
11037         paragraph.
11038
11039         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11040         changed the read and substituted \\end_float with \\end_inset!
11041
11042         * BufferView_pimpl.C (cursorPrevious):
11043         (cursorNext): fixed to make it work with rows heigher than the work
11044         area without moving the cursor only the draw of the row.
11045         (workAreaMotionNotify): fix jumping over high rows.
11046
11047 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11050         Ressler.
11051
11052 2002-04-16  Juergen Vigna  <jug@sad.it>
11053
11054         * text2.C (setCursor): set also the irow().
11055         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11056         (cursorUp):
11057         (cursorDown): support for locking an inset if the x_fix value goes
11058         inside it. That way I can transverse insets too with cursor up/down.
11059
11060         * lyxrow.h: added irow helper function same as other (i) functions.
11061
11062         * BufferView_pimpl.C (cursorPrevious):
11063         (cursorNext): fixed for insets!
11064
11065 2002-04-15  Juergen Vigna  <jug@sad.it>
11066
11067         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11068         position otherwise it is wrong in some cases.
11069
11070         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11071         inside the inset before the call.
11072
11073 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * buffer.[Ch] (getBibkeyList): make it const.
11076
11077 2002-04-12  Juergen Vigna  <jug@sad.it>
11078
11079         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11080
11081         * text2.C (getCursorX): new helper function
11082         (setCursor): compute also ix_
11083         (setCursorFromCoordinates): set also ix.
11084
11085         * lyxcursor.h: added ix_ and helper functions.
11086
11087         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11088
11089         * buffer.C (insertStringAsLines): dont break paragraph if the this
11090         paragraph is inside an inset which does not permit it!
11091
11092         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11093         also with no chars on this paragraph.
11094         (paintRowText): only paint stuff if it's inside the workarea!
11095
11096         * paragraph.C (breakParagraph): honor keepempty flag and break the
11097         paragraph always below not above.
11098
11099         * BufferView2.C (unlockInset): update the paragraph layout on inset
11100         unlock as we changed paragraph in such a case.
11101
11102         * lyxfind.C (LyXFind): clear the former selection if not found!
11103
11104         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11105         again called in insertChar().
11106
11107         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11108         an inset which uses the whole row!
11109         (rightMargin): ditto.
11110         (insertChar): force a rebreak if we inserted an inset!
11111
11112 2002-03-28  Herbert Voss  <voss@lyx.org>
11113
11114         * lyxlength.[Ch]: add inBP() to get the right PS-point
11115         units (BigPoint). With inPixels we have rounding errors
11116
11117 2002-04-11  Juergen Vigna  <jug@sad.it>
11118
11119         * text2.C (setCursorFromCoordinates): set iy to the right value.
11120         (setCursor): add check if row->previous exists!
11121
11122         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11123         an old float_type as this was the case in the old code!
11124
11125         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11126
11127         * BufferView2.C (showLockedInsetCursor): use iy
11128         (fitLockedInsetCursor): ditto
11129
11130         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11131         locked insets as there we have the right value now.
11132
11133         * lyxcursor.C: added iy_ variable and iy functions to set to the
11134         baseline of cursor-y of the locked inset.
11135
11136         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11137         (setCursor): fixed for insets which need a full row.
11138
11139         * text.C (rowLastPrintable): don't ignore the last space when before
11140         an inset which needs a full row.
11141         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11142         as last character of a row when before a inset which needs a full row.
11143
11144 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11145
11146         * version.C.in: update date
11147
11148         * text2.C (fullRebreak): try to always return true and see what
11149         happens...
11150
11151 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * MenuBackend.C (expand): use Floating::listName
11154
11155         * FloatList.C (FloatList): add listName argument to the built-in
11156         floats
11157
11158         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11159         text associated with the float.
11160
11161 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11162
11163         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11164
11165 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * ShareContainer.h: add a couple of missing typenames.
11168
11169 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11170
11171         * lyxrc.C (getDescription): use _() correctly rather than N_().
11172
11173 2002-03-28  Herbert Voss  <voss@lyx.org>
11174
11175         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11176         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11177
11178 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11181         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11182
11183 2002-03-29  Juergen Vigna  <jug@sad.it>
11184
11185         * lyxfunc.C (dispatch): add a missing fitCursor call.
11186
11187         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11188         it was scrolled by a cursor move, so return the bool status.
11189
11190         * BufferView.C (fitCursor): return the bool flag also to the outside
11191         world as this is needed.
11192
11193         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11194
11195         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11196         call the edit() as it is not needed (and wrong) IMO.
11197         (workAreaButtonPress): set the screen_first variable before evt.
11198         unlock the inset as this may change screen_first and then we have
11199         a wrong y position for the click!
11200
11201 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11202
11203         * MenuBackend.C (expand): another translation that I missed
11204
11205 2002-03-28  Juergen Vigna  <jug@sad.it>
11206
11207         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11208
11209         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11210
11211 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11214
11215         * MenuBackend.C (expand): fix export/view/update when there is no
11216         document open.
11217
11218 2002-03-27  Herbert Voss  <voss@lyx.org>
11219
11220         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11221         and text%
11222
11223 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * bufferview_funcs.C (currentState): only show paragraph number
11226         for is DEVEL_VERSION is set.
11227
11228         * lyxfunc.C (dispatch): put warning in INFO channel
11229
11230         * MenuBackend.C (expand): translate the name of floats
11231
11232         * FloatList.C (FloatList): mark the float names for translation
11233
11234         * converter.C (convert): use LibScriptSearch
11235
11236 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * MenuBackend.C (defaults): fix default menu (we might as well get
11239         rid of it...)
11240
11241 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11244         directory.
11245
11246 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * lyxvc.C: reorder includes.
11249
11250 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11253           properly
11254
11255 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * CutAndPaste.C: change layouts earlier on paste
11258           to avoid crashing when calling getFont()
11259
11260 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11263         irritating #error.
11264
11265 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * WorkArea.C: remove 'Pending' debug message.
11268
11269         * most files: ws cleanup
11270
11271         * buffer.[Ch]: ws changes
11272
11273         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11274
11275 2002-03-21  Juergen Vigna  <jug@sad.it>
11276
11277         * tabular.C (SetMultiColumn): collapse also the contents of the
11278         cells and set the last border right. Added a Buffer const * param.
11279
11280 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11283         linking or not.
11284
11285 2002-03-19  Juergen Vigna  <jug@sad.it>
11286
11287         * text2.C (clearSelection): reset also xsel_cache.
11288
11289         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11290         where it needs to be called (John tells us to do so too :)
11291         (selectionLost): reset sel_cache.
11292
11293         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11294
11295 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11296
11297         * text2.C (setCursorIntern): put debuging code in INSETS channel
11298
11299 2002-03-19  André Pönitz <poenitz@gmx.net>
11300
11301         * lyxfunc.C: tiny whitespace change
11302
11303 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * ToolbarDefaults.C (init):
11306         * LyXAction.C (init):
11307         * commandtags.h:
11308         * BufferView_pimpl.C (Dispatch):
11309         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11310
11311 2002-03-19  Allan Rae  <rae@lyx.org>
11312
11313         * exporter.C (Export): removeAutoInsets before doing anything else.
11314         While I've just introduced a dependency on BufferView this really is
11315         the best place to clean the buffer otherwise you need to cleanup in
11316         a dozen places before calling export or cleanup in a dozen functions
11317         that export calls.
11318
11319         * converter.C (runLaTeX):
11320         (scanLog): Better handling of removeAutoInsets and screen updates.
11321
11322         * lyxfunc.C (dispatch): small whitespace changes
11323
11324 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * WorkArea.C (C_WorkAreaEvent): return a value.
11327         (event_cb): return 1 if we handled the event, 0 otherwise.
11328
11329         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11330
11331 2002-03-18  Juergen Vigna  <jug@sad.it>
11332
11333         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11334         (GetAdditionalWidth): ditto.
11335         (RightLine): ditto.
11336         (LeftLine): ditto.
11337
11338         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11339         inset if we're there actually (probably not used right now but this
11340         is the direction to go for unifying code).
11341         (paste): disable code to clear the selection.
11342
11343         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11344         inside an InsetText and move the check further up as it is in the
11345         wrong place.
11346
11347         * text2.C (pasteSelection): set a selection over the pasted text.
11348
11349 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11350
11351         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11352         and libgraphics to build on Cygwin.
11353
11354 2002-03-15  Juergen Vigna  <jug@sad.it>
11355
11356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11357         inserting an Inset into the paragraph. I know this is not the best
11358         fix but we already use current_view in CutAndPaste so we will remove
11359         all of it's using at the same time.
11360
11361         * buffer.C (sgmlError): deactivated function till it is rewritten in
11362         the right mode, now it can create problems.
11363
11364         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11365         before accessing it.
11366
11367 2002-03-14  Juergen Vigna  <jug@sad.it>
11368
11369         * undo_funcs.C (textHandleUndo): do the right thing when updating
11370         the inset after the undo/redo.
11371
11372         * text2.C (setCursor): just some testcode for #44 not ready yet.
11373
11374         * undo_funcs.C (textHandleUndo): set the next() and previous()
11375         pointers of the paragraph to 0 before deleting otherwise we have
11376         problems with the Paragraph::[destructor].
11377
11378         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11379         on a paragraph insertion.
11380
11381 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11382
11383         * buffer.C (asciiParagraph): use += operator for char append to
11384         string.
11385
11386         * paragraph.C (getFontSettings): compare >= not just >
11387         (highestFontInRange): ditto
11388         (setFont): ditto
11389
11390 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * paragraph.C: change several algorithm to be more appripriate for
11393         the problem domain. This is lookip in FontList and in the InsetList.
11394
11395 2002-03-13  André Pönitz <poenitz@gmx.net>
11396
11397         * commandtags.h:
11398         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11399
11400 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * commandtags.h:
11403         * LyXAction.C:
11404         * lyxfunc.C:
11405         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11406
11407 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * Painter.C (display): anon helper function, adjust code for this
11410         change.
11411         (pixmap): remove function.
11412
11413         * Painter.h: remove private display variable.
11414
11415         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11416
11417 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11418
11419         * WorkArea.[Ch]: remove figinset_canvas cruft.
11420
11421 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * lyxtextclass.C (operator): add one item cache optimization.
11424
11425         * bufferlist.h: doxy changes
11426
11427         * bufferlist.C: ws changes
11428
11429         * DepTable.[Ch] (ext_exist): place const in the right spot.
11430
11431         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11432         call resizeInsets.
11433         (workAreaExpose): call resizeInsets when the with BufferView changes.
11434         (Dispatch): adjust for protectedBlank removal
11435         (specialChar): call updateInset if the insert went ok.
11436
11437         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11438         specialChar instead.
11439
11440         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11441
11442         * BufferView.h: doxy change
11443
11444         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11445
11446         * lyxtextclass.C (operator[]): remove non-const version
11447         (defaultLayout): remove non-const version
11448
11449 2002-03-12  Juergen Vigna  <jug@sad.it>
11450
11451         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11452         did resize the LyXText too.
11453
11454         * buffer.C (readLyXformat2): set layout information on newly allocated
11455         paragraphs.
11456
11457         * tabular.C (OldFormatRead): set layout information on the paragraph.
11458
11459 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11460
11461         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11462
11463 2002-03-11  Juergen Vigna  <jug@sad.it>
11464
11465         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11466         plainly wrong.
11467         (resizeCurrentBuffer): force also the insets to resize themselfes.
11468         (moveCursorUpdate): fixed up for InsetText.
11469
11470 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * commandtags.h:
11473         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11474         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11475         value of Dialogs::tooltipsEnabled().
11476         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11477
11478 2002-03-08  Juergen Vigna  <jug@sad.it>
11479
11480         * BufferView_pimpl.C (updateInset): update inset inside inset also
11481         if it isn't inside theLockingInset().
11482
11483 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * buffer.C (asciiParagraph): redo some of the word and line length
11486         handling.
11487         (getLists): look for Caption instead of caption.
11488
11489 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * buffer.C (Buffer): initialize niceFile to true
11492         (makeLaTeXFile):
11493         (makeLinuxDocFile):
11494         (makeDocBookFile): make sure niceFile is true on exit
11495
11496 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11499
11500 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * LyXSendto.C: remove.
11503         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11504         * lyx_gui.C: remove now-redundant comment.
11505         * ColorHandler.h: remove forward declaration of class WorkArea.
11506         * lyxfunc.C: remove #include "WorkArea.h".
11507
11508 2002-03-07  Juergen Vigna  <jug@sad.it>
11509
11510         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11511         got moved away with the DEPM and also set the inset_owner always
11512         right which before could have been omitted.
11513
11514 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11517         wanted layout is not found.
11518
11519 2002-03-07  Juergen Vigna  <jug@sad.it>
11520
11521         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11522
11523 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * paragraph.C (breakParagraph): use default layout not layout of
11526         prev paragraph.
11527         (Paragraph): clear ParagraphParameters.
11528
11529 2002-03-06  Juergen Vigna  <jug@sad.it>
11530
11531         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11532         otherwise it would not be a valid lenght. Fixed a special case in
11533         the minipage compatibility read where we end the document with a
11534         minipage.
11535
11536         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11537         was set as it could be 0 for InsetTexts first entry.
11538
11539 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * paragraph.C (writeFile): if layout is empty write out
11542         defaultLayoutName().
11543
11544         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11545         file without named layout we set layout to defaultLayoutName().
11546
11547 2002-03-06  Juergen Vigna  <jug@sad.it>
11548
11549         * CutAndPaste.C (copySelection): set layout for new paragraph.
11550
11551         * text.C (prepareToPrint): leave ERT inset left aligned
11552         (leftMargin): don't indent paragraphs inside ERT insets
11553
11554 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11555
11556         * paragraph.C (breakParagraph): dont call clear do the work manually
11557
11558         * paragraph.[Ch] (clear): remove function
11559
11560 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * paragraph.C (Paragraph): dont call clear, the work has already
11563         been done.
11564
11565         * lyxtextclass.C (operator): assert if n is empty
11566
11567         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11568         work manually instead.
11569
11570 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * BufferView_pimpl.C: protect selectionLost against text == 0
11573
11574 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * text.C (breakParagraph): fix a setting layout to '0' problem.
11577
11578 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11579
11580         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11581         final location of file, for the included files, and graphics.
11582
11583 2002-03-05  Juergen Vigna  <jug@sad.it>
11584
11585         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11586
11587 2002-03-04  Juergen Vigna  <jug@sad.it>
11588
11589         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11590
11591         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11592         last column of multicolumn cells.
11593         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11594
11595 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11596
11597         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11598         file if it doesn't go to a temporary file.
11599
11600         * buffer.C (sgmlOpenTag):
11601         (sgmlCloseTag):  remove extra newline insertion.
11602
11603 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * text.C (getRowNearY): comment out debug msg
11606
11607 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * text2.C: first -> first_y
11610
11611         * text.C (getRowNearY): add some attemts at a possible
11612         optimization, not working.
11613
11614         * tabular.[Ch]: add BufferParams to several function so that newly
11615         created paragraph can be initialized to he default layotu for the
11616         buffers textclass.
11617
11618         * tabular-old.C (ReadOld): add buf->params to call of Init
11619
11620         * screen.C: rename text->first to text->first_y
11621
11622         * paragraph.C (breakParagraph): always set layout in the broken
11623         paragraph
11624
11625         * lyxtextclass.C (Read): remove lowercase
11626         (hasLayout): ditto
11627         (operator): ditto
11628         (delete_layout): ditto
11629
11630         * lyxtext.h: rename first -> first_y
11631
11632         * lyxlayout.C (Read): remove lowercase
11633         (name): ditto
11634         (setName): ditto
11635         (obsoleted_by): ditto
11636
11637         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11638
11639         * buffer.C (insertErtContents): add params are to InsetERT
11640         (parseSingleLyXformat2Token): add code to check if a paragraphs
11641         layout really exist.
11642         (parseSingleLyXformat2Token): add params to several inset
11643         constructors
11644         (asciiParagraph): remove lowercase, do the layout comparisons with
11645         no_case
11646
11647         * BufferView_pimpl.C (cursorNext): first -> first_y
11648         (resizeCurrentBuffer): first -> first_y
11649         (updateScrollbar): first -> first_y
11650         (scrollCB): first -> first_y
11651         (workAreaMotionNotify): first -> first_y
11652         (workAreaButtonPress): first -> first_y
11653         (checkInsetHit): first -> first_y
11654         (cursorPrevious): first -> first_y
11655         (cursorNext): first -> first_y
11656         (Dispatch): add buffer_->params to severl inset contructors
11657
11658 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * lyxlayout.C (Read): remove some debug info that I forgot.
11661
11662         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11663         clean up the code slightly.
11664         (makeLinuxDocFile): ditto
11665         (makeDocBookFile): ditto
11666
11667         * text2.C: layout as string
11668
11669         * text.C: layout as string
11670
11671         * paragraph_pimpl.C: layout as string
11672
11673         * paragraph.[Ch]: layout as string
11674
11675         * lyxtextclasslist.[Ch]: layout as string
11676
11677         * lyxtextclass.[Ch]: layout as string
11678
11679         * lyxtext.h: layout as string
11680
11681         * lyxlayout.[Ch]: layout as string
11682
11683         * lyx_cb.C: layout as string
11684
11685         * bufferview_funcs.C: layout as string
11686
11687         * bufferparams.C: layout as string
11688
11689         * buffer.C: layout as string
11690
11691         * LyXView.[Ch]: layout as string
11692
11693         * LaTeXFeatures.[Ch]: layout as string
11694
11695         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11696
11697         * BufferView_pimpl.C: change current_layout to string, remove
11698         lyx::layout_type.
11699         (Dispatch):
11700         (smartQuote):
11701         (insertInset):
11702         (workAreaButtonRelease): layout as string
11703
11704         * BufferView2.C (unlockInset): adjust
11705
11706         * vspace.C (asLatexCommand): use an explict temp variable.
11707
11708 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * Makefile.am: use FRONTEND_*
11711
11712 2002-03-01  Juergen Vigna  <jug@sad.it>
11713
11714         * tabular.C (SetWidthOfMulticolCell): changed to something better
11715         I hope but still work in progress.
11716         (recalculateMulticolumnsOfColumn): renamed function from
11717         recalculateMulticolCells as it is more appropriate now.
11718         (SetWidthOfCell): calculate multicols better.
11719
11720 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11721
11722         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11723
11724         * lyxfunc.C (processKeySym): print sequence also if it is
11725         `deleted' (complete)
11726
11727         * kbsequence.C (print): print sequence even if it is deleted
11728         (complete would be a better word, actually).
11729
11730         * lyxfunc.C (dispatch): print complete options after a prefix key
11731
11732         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11733
11734 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11735
11736         * text2.C (setCharFont): eliminate setCharFont code duplication.
11737
11738 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11739
11740         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11741         LFUN_TABULAR_FEATURE (bug #177)
11742
11743 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11744
11745         * Makefile.am: remove figure.h
11746
11747 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11748
11749         * Bufferview_pimpl.C:
11750         * CutAndPasteC:
11751         * LaTeX.C:
11752         * LyXSendto.C:
11753         * buffer.C:
11754         * bufferlist.C:
11755         * converter.C:
11756         * language.C:
11757         * lyxfunc.C:
11758         * lyxvc.C:
11759         * paragraph.C:
11760         * text.C:
11761         * text2.C: remove #include "lyx_gui_misc.h".
11762
11763         * LaTeX.C: added #include <cstdio>
11764
11765 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11768         that the paragraph following this one can have.
11769
11770         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11771
11772         * vspace.C (asLatexCommand): fix bogus gcc warning
11773
11774         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11775
11776 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11777
11778         * text2.C (setLayout): get rid of redundant code
11779
11780 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11781
11782         * text2.C (incDepth): make sure depth cannot be increased beyond
11783         reasonable values.
11784
11785 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11786
11787         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11788         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11789
11790         * PainterBase.h (image):
11791         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11792         a LyXImage const *.
11793
11794 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * BufferView.C:
11797         * BufferView.h:
11798         * BufferView_pimpl.C:
11799         * BufferView_pimpl.h:
11800         * LaTeXFeatures.C:
11801         * LyXAction.C:
11802         * LyXView.C:
11803         * Makefile.am:
11804         * UpdateList.h:
11805         * UpdateList.C:
11806         * buffer.C:
11807         * figure.h:
11808         * figureForm.C:
11809         * figureForm.h:
11810         * figure_form.C:
11811         * figure_form.h:
11812         * lyx_cb.C:
11813         * lyx_gui.C:
11814         * lyx_gui_misc.C:
11815         * lyxfunc.C:
11816         * sp_base.h:
11817         * sp_ispell.h:
11818         * sp_pspell.h:
11819         * sp_spell.C: remove fig inset, and the crap house of
11820           cards that follows it
11821
11822 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * Makefile.am:
11825         * lyxserver.C:
11826         * os2_defines.h:
11827         * os2_errortable.h:
11828         * nt_defines.h: move .h into support/
11829
11830         * vms_defines.h: remove
11831
11832         * WorkArea.C: add space in debug output
11833
11834         * text2.C:
11835         * paragraph.C:
11836         * buffer.C: add WITH_WARNINGS
11837
11838         * vc-backend.h:
11839         * vc-backend.C:
11840         * bufferlist.C: s/retrive/retrieve/, add docs
11841
11842         * vspace.h:
11843         * vspace.C:
11844         * kbmap.h:
11845         * lyxlength.h:
11846         * lyxgluelength.h:
11847         * length_common.h:
11848         * chset.h:
11849         * chset.C: add docs
11850
11851         * lyxgui.C: add ID to X error handler
11852
11853         * lyxtestclass.c: fix typo
11854
11855 2002-02-26  Juergen Vigna  <jug@sad.it>
11856
11857         * tabular_funcs.C (write_attribute): changed so that some default
11858         attributes are not written at all.
11859         (getTokenValue): set default values before trying to read the
11860         value so we have the return value always set as default if we don't
11861         find the token we search for.
11862
11863         * tabular.C (Write): write bools as bools not as strings!
11864
11865 2002-02-22  Juergen Vigna  <jug@sad.it>
11866
11867         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11868         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11869
11870         * text.C (leftMargin): don't add an indent for paragraphs inside
11871         tabular cells (fix #208).
11872
11873 2002-02-21  José Matos  <jamatos@fep.up.pt>
11874
11875         * tabular.C (docBook): fixed support for long tables.
11876
11877 2002-02-20  Juergen Vigna  <jug@sad.it>
11878
11879         * text2.C (getFont): get the drawing font of the Inset if this
11880         paragraph is inside an inset (only important for InsetERT for now).
11881
11882         * buffer.C (insertErtContents): use new lanugage params in ERT
11883         constructor.
11884
11885         * CutAndPaste.C: commenting out seemingly uneeded code.
11886
11887 2002-02-19  Allan Rae  <rae@lyx.org>
11888
11889         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11890         Iterators might be simple to use but they also get invalidated.
11891         (removeAutoInsets): renamed saved cursor tracking variables and added
11892         some comments to clarify what everything does.
11893
11894 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11895
11896         * Chktex.C:
11897         * LaTeX.C:
11898         * LyXSendto.C:
11899         * converter.C:
11900         * lyx_cb.C:
11901         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11902         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11903
11904         * lyxfunc.C:
11905         * vc-backend.h: remove #include "support/syscall.h"
11906
11907         * LaTeX.C:
11908         * LyXSendto.C:
11909         * converter.C: rearrange #includes in Lars' approved fashion.
11910
11911         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11912         forward declare class Timeout in the header file.
11913
11914         * XFormsView.C: changes due to the above.
11915
11916         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11917         similar to LyXView.
11918
11919         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11920         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11921
11922 2002-02-18  José Matos  <jamatos@fep.up.pt>
11923
11924         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11925         insets contents.
11926
11927 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11928
11929         * a lot of small ws changes
11930         * add a lot of using std::XXX
11931         * use std construcs some places where approp.
11932         * use some exisint stuff from lyxfunctional where approp.
11933         * Make file changes to use partial linking (lets test this now...)
11934
11935 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11936
11937         * Chktex.C:
11938         * buffer.C:
11939         remove #include "support/syscontr.h" as it's redundant. Always has been.
11940
11941         * Chktex.C:
11942         * LaTeX.C:
11943         * LyXSendto.C:
11944         * converter.C:
11945         * lyx_cb.C:
11946         * vc-backend.C:
11947         change Systemcalls::System to Systemcalls::Wait and
11948         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11949         No change of functionality, just reflects the stripped down Systemcalls
11950         class.
11951
11952 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11953
11954         * debug.[Ch]: add a GRAPHICS type to the enum.
11955
11956 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11959
11960         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11961         there is an inset.
11962
11963 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11966         match the changes below.
11967
11968         * text2.C (toggleInset): if there is not editable inset at cursor
11969         position, try to see if cursor is _inside_ a collapsable inset
11970         and close it.
11971
11972 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11975         document menu has a nice checkbox
11976
11977 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * lyxlength.C (asLatexString): change PW to output as percent of
11980         \textwidth.
11981
11982         * lengthcommon.C: change '%' to 't%'
11983
11984         * lyxfunc.C (dispatch): a few comments from Martin
11985
11986 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * WorkArea.h:
11989         * WorkArea.C:
11990         * BufferView_pimpl.h:
11991         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11992           the X selection.
11993
11994 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * vspace.C (inPixels): fix compiler warning
11997
11998 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * lyxfunc.C (getStatus): fix status message for disabled commands.
12001
12002 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * BufferView_pimpl.C: fix crash on close buffer
12005         during selection (#227)
12006
12007 2002-01-27  Herbert Voss  <voss@lyx.org>
12008
12009         * buffer.C: link old Figure to new graphic inset
12010
12011 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12012
12013         * FontLoader.C (getFontinfo): Change the latex font names in order
12014         to match the names of type1inst.
12015
12016 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12019
12020         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12021         (extchanged): ditto
12022         (ext_exist): ditto
12023         (remove_files_with_extension): ditto
12024         (remove_file): ditto
12025         (write): ditto
12026
12027         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12028         document is smaller than the work area height. Do not initialize
12029         static variables to 0.
12030
12031 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12034
12035         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12036         LFUN_LAYOUT_PARAGRAPHS.
12037
12038         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12039         tabular. It is possible to provide a possible cell, which will
12040         typically be the actcell from the corresponding insettabular
12041
12042         * lyxfunc.C (getStatus): small cleanup; disable
12043         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12044         true
12045
12046 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12049
12050         * paragraph.C (startTeXParParams):
12051         (endTeXParParams): new methods. The LaTeX code to
12052         start/end paragraph formatting
12053         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12054         empty (fixes bug #200)
12055
12056         * vspace.C (inPixels): adapt to the change below
12057         (inPixels): [later] more cleanups (remove unused variables)
12058
12059         * lyxlength.C (inPixels): change to use a width and a height as
12060         parameter.
12061
12062 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12065         Replaced with \paperwidth
12066
12067         * DepTable.C (insert): add std:: qualifier
12068
12069 2002-01-18  Allan Rae  <rae@lyx.org>
12070
12071         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12072         updated also?
12073
12074         * text.C (drawInset): Turned out I didn't know enough about how
12075         rebreaking worked.  This fixes most of the redraw problems.  I see
12076         an occasional cursor trail when a line is broken now and the cursor
12077         placement can seem out by a few pixels also after a rebreak.
12078
12079 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12080
12081         * buffer.C (parseSingleLyXformat2Token): update because minipage
12082         width is now a LyXLength
12083
12084         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12085
12086         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12087         math insets
12088
12089 2002-01-17  Juergen Vigna  <jug@sad.it>
12090
12091         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12092
12093         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12094         is set correctly and the inset is updated correctly.
12095
12096 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12099         the beginning of the loop.
12100
12101 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * lyxrc.C: improve help for use_scalable_fonts
12104
12105 2002-01-17  Allan Rae  <rae@lyx.org>
12106
12107         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12108
12109 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12112         make sure to set their inset_owner to the right value (bug #171)
12113
12114 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12115
12116         * DepTable.h
12117         * DepTable.C: Implement mtime checking to reduce time spent doing
12118         CRCs.
12119
12120 2002-01-16  Juergen Vigna  <jug@sad.it>
12121
12122         * tabular.C (GetAdditionalHeight): one of error fixed.
12123
12124         * lyxrc.C (output): small fix in writing use_pspell.
12125
12126 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * sp_base.h: #include LString.h
12129
12130 2002-01-16  Allan Rae  <rae@lyx.org>
12131
12132         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12133         Can someone check this please?
12134
12135         * text.C (drawInset): It was possible that p.row would be removed by
12136         breakAgainOneRow upsetting a few other settings.  There may be another
12137         small tweak possible by setting need_break_row = 0 when p.row has been
12138         removed but I don't know enough about the logic here.
12139
12140 2002-01-15  Allan Rae  <rae@lyx.org>
12141
12142         * text.C (insertChar): removed conditional truism.
12143
12144         * BufferView2.C (removeAutoInsets): More tweaks.
12145         cur_par_prev could be a stray pointer.  Check for trailing empty line
12146         in case last line was cur_par and only had an error inset on it.
12147
12148 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12149
12150         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12151         absolute
12152
12153         * vc-backend.C (most methods):
12154         * exporter.C (Export):
12155         * converter.C (convert):
12156         (runLaTeX):
12157         * LyXSendto.C (SendtoApplyCB):
12158         * lyxfunc.C (dispatch):
12159         (menuNew):
12160         (open):
12161         (doImport):
12162         * lyx_cb.C (AutoSave):
12163         (InsertAsciiFile):
12164         * BufferView_pimpl.C (MenuInsertLyXFile):
12165         * buffer.C (runChktex): use Buffer::filePath().
12166
12167         * buffer.h: rename filename to filename_; rename filepath to
12168         filepath_ and make it private
12169         (filePath): new method
12170
12171         * buffer.C (writeFile): use fileName()
12172         (getLatexName):
12173
12174         * lyx_main.C (init): fix starting  of LyX when the binary is a
12175         link from so,ewhere else.
12176
12177         * minibuffer.C: include <cctype> for isprint
12178
12179 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12180
12181         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12182         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12183         name clash with InsetCollapsable's width function.
12184
12185 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * lastfiles.C: include <iterator>
12188
12189 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12190
12191         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12192         std::count.
12193
12194         * buffer.C (makeLaTeXFile): ditto.
12195         Also make loop operation more transparent.
12196
12197 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * ToolbarDefaults.C: remove trailing comma closing namespace.
12200
12201         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12202
12203         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12204         as in WorkArea.
12205
12206         * trans.C (Load): comment out unused variable, allowed.
12207
12208 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12209
12210         * minibuffer.[Ch] (append_char): new method to recieve input from the
12211         drop-down completion browser. If a key was pressed, then recieve this
12212         char and append it to the existing string.
12213         (peek_event): modify the positioning data passed to the completion
12214         browser so that it can be placed above the minibuffer rather than below.
12215 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * LyXAction.C (init): alloe error-next for readonly documents.
12218
12219         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12220         count.
12221
12222 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * bufferlist.C (readFile): create the buffer _after_ checking that
12225         the file exists.
12226
12227         * lyxfunc.C (verboseDispatch): fix handling of arguments
12228
12229         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12230
12231         * lyxrc.C: use string::erase() instead of initializing to "".
12232
12233
12234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * BufferView_pimpl.h:
12237         * BufferView_pimpl.C:
12238         * WorkArea.h:
12239         * WorkArea.C:
12240         * text2.C: tell X when we have made a selection for copying
12241
12242 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * BufferView_pimpl.C (MenuInsertLyXFile):
12245         * lyxfunc.C (menuNew):
12246         (open):
12247         (doImport): add shortcuts to directory buttons
12248
12249         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12250         open a float)
12251
12252         * lyxfunc.C (setStatusMessage):
12253         (getStatusMessage): new methods
12254         (getStatus):use setStatusMessage instead of setErrorMessage
12255         (dispatch): when function is disabled, set error message here
12256         [instead of in getStatus previously]
12257
12258         * BufferView_pimpl.C (workAreaButtonRelease): update
12259         toolbar/menubar here too.
12260
12261 2002-01-13  Allan Rae  <rae@lyx.org>
12262
12263         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12264         Now seems indestructible.  Remaining task is to audit all other
12265         code affected by deleteEmptyParagraphMechanism.  One small quirk
12266         left is that an empty document with an error in the preamble can
12267         be made to report an error but no error box appears.  I don't know
12268         where it goes.
12269         (removeAutoInsets): Improved comments.
12270
12271 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * Thesaurus.h:
12274         * Thesaurus.C: update for Aiksaurus 0.14
12275
12276 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * text2.C (firstParagraph): removed member function, all uses
12279         replaces with ownerParagraph
12280         (redoParagraphs): here
12281         (updateInset): here
12282         (toggleAppendix): here
12283         * BufferView2.C (insertErrors): here
12284         (setCursorFromRow): here
12285
12286 2002-01-13  Allan Rae  <rae@lyx.org>
12287
12288         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12289         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12290         There is still a way to segfault this although you may have to do this
12291         multiple times: Have an InsetERT with an unknown command in it.
12292         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12293         <down-arrow>, <Enter> again, View->DVI, BANG!
12294
12295         * text2.C (setCursor):
12296         (deleteEmptyParagraphMechanism):
12297         * lyxtext.h (setCursor):
12298         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12299         Making use of the return value may help fix other bugs.
12300
12301 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12304
12305         * LyXView.C (updateMenubar): call MenuBar::update here
12306         (updateToolbar): but not here
12307         (showState): do not update toolbar/menubar
12308
12309         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12310         should need to care about that.
12311
12312         * lyxfunc.C (verboseDispatch): simplify a bit
12313         (getStatus): have a version which takes a pseudoaction, and
12314         another which requires a (kb_action,string).
12315
12316         * LyXAction.C (retrieveActionArg): make it work also when action
12317         is not a pseudo-action.
12318         (getActionName): simplify a bit
12319         (helpText):
12320
12321 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * lyxfunc.C (verboseDispatch): new families of methods with
12324         several ways to specify a command and a bool to indicate whether
12325         the command name and shortcut should be displayed in minibuffer
12326         (eventually, we could extend that to a finer bitmask like
12327         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12328         (dispatch): the pristine dispatch command which just, well,
12329         dispatchs! Note it still sets its result to minibuffer; I'm not
12330         sure we want that.
12331
12332         * lyxfunc.h: remove setHintMessage
12333
12334         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12335
12336 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * BufferView_pimpl.C (specialChar): delete new inset if we have
12339         not been able to insert it.
12340
12341         * kbmap.C: revert to using int instead of kb_action, since all we
12342         are dealing with is pseudo-actions.
12343
12344         * LyXAction.C (searchActionArg): change to return int instead of
12345         kb_action, since the result is a pseudoaction.
12346
12347 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12348
12349         * buffer.C (insertErtContents): Fix (partially) the font bug.
12350
12351 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12352
12353         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12354         as the other one is broken on my machine!
12355
12356 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12357
12358         * commandtags.h:
12359         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12360
12361 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12362
12363         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12364         reflect their actual use. Provide compatibility code for older lyxrc
12365         files.
12366
12367         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12368         FL_NORMAL_STYLE.
12369         change names of popup font variables in line with the changes to lyxrc.C
12370
12371 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * buffer.C (asciiParagraph): avoid outputing a word twice after
12374         an inset.
12375
12376         * lyxrc.C (getDescription): document that document_path and
12377         template_path can be empty.
12378
12379 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * LaTeXFeatures.C (getMacros):
12382         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12383
12384         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12385
12386         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12387         getPackages.
12388         (getPackages): rename feature "floats" to "float". Use an array to
12389         iterate over 'simple' features (i.e. just a \usepackage). Add
12390         handling of "amsmath" (renamed from "amsstyle").
12391
12392 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12393
12394         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12395         features list.
12396
12397 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12400         FuncStaus::FuncStatus & FuncStaus::some_method().
12401
12402 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12403
12404         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12405         of the func_satus stuff. Edited and massaged in various ways by
12406         JMarc.
12407
12408         * lyxfunc.C (getStatus): use FuncStatus
12409
12410 2002-01-08  Juergen Vigna  <jug@sad.it>
12411
12412         * text.C (nextBreakPoint): use function Inset::isChar().
12413
12414         * paragraph.C (TeXOnePar): use function
12415         Inset::forceDefaultParagraphs.
12416
12417         * buffer.C (latexParagraphs): use function
12418         Inset::forceDefaultParagraphs.
12419
12420 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * lyx_gui.C (init): set the style of the menu popups to
12423         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12424
12425 2002-01-07  Juergen Vigna  <jug@sad.it>
12426
12427         * text.C (setHeightOfRow): small fix
12428         (prepareToPrint): don't look at alignment if we don't have the place
12429         for doing it.
12430
12431 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * box.C: New file. Move the Box methods and functions out of box.h,
12434         following Lars' suggestion.
12435
12436 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12437
12438         * box.h: #include "support/LOstream.h", needed for inlined function.
12439
12440         * lyxtextclass.C:
12441         * lyxtextclasslist.C: added some using std declarations.
12442
12443 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * box.h: make signed dimensions to allow insets wider than
12446           the screen (bug #162)
12447
12448         * BufferView_pimpl.C: add some insetHit debug
12449
12450 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * vc-backend.C: add FIXME
12453
12454 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12455
12456         * lyxfunc.C (getStatus): enable code for showing math font status
12457         in toolbar/menu.
12458
12459 2002-01-07  Juergen Vigna  <jug@sad.it>
12460
12461         * text.C (nextBreakPoint): removed debug output not needed anymore.
12462
12463 2002-01-06  Juergen Vigna  <jug@sad.it>
12464
12465         * text.C (nextBreakPoint): fixed up this function we had this bug
12466         since ever but now hopefully we break row better.
12467         (insertChar): we have to check if an inset is the next char as it
12468         could now happen that a large inset is causing a break.
12469
12470 2002-01-05  Juergen Vigna  <jug@sad.it>
12471
12472         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12473         if it doesn't like to be drawed.
12474
12475 2002-01-04  Juergen Vigna  <jug@sad.it>
12476
12477         * BufferView2.C (lockInset): forgot to set a cursor.
12478
12479         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12480
12481 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12482
12483         * FormMathsPanel.C:
12484         * FormMathsPanel.h
12485         * MathsSymbols.C:
12486         * form_maths_panel.C:
12487         * form_maths_panel.h:
12488         * form_maths_panel.fd: implemented sub- and super- buttons in math
12489         panel.
12490
12491         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12492         (or ^ space) to be used as in TeX (req'd by André).
12493
12494         * lyxfunc.C: Allow ^ and _ again to be used both as
12495         super/subscript (mathed) and as themselves (in text).
12496
12497 2002-01-03  Allan Rae  <rae@lyx.org>
12498
12499         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12500         "LyX" or the filename of the current buffer if it has one.  This is a
12501         modified form of John Levon's patch.
12502
12503         * XFormsView.C (setWindowTitle): also set icon title.
12504
12505         * LyXView.h (setWindowTitle): signature changed.
12506         * XFormsView.h (setWindowTitle): ditto.
12507
12508 2002-01-02  Juergen Vigna  <jug@sad.it>
12509
12510         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12511
12512 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * screen.C (topCursorVisible): introduce a temp var for
12515         text->cursor.row(), handle the case where this row is null. (kindo
12516         hachish)
12517
12518         * text2.C (setCursor): add a couple of asserts.
12519
12520         * paragraph.h (inset_iterator): add -> operator
12521
12522         * paragraph.[Ch] (autoDeleteInsets): remove member function
12523
12524         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12525         cursor pos correctly and handle inset deletion by itself.
12526         (insertErrors): move iterator declaration out of for expression
12527
12528         * lyxtextclass.C: add <algorithm>
12529
12530         * Makefile.am: added the new files to sources, removed layout.C
12531
12532         * layout.C: removed file
12533
12534         * layout.h: remove LYX_DUMMY_LAYOUT
12535
12536         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12537         layout.
12538
12539         * lyxlayout.[Ch]:
12540         * lyxtextclass.[Ch]:
12541         * lyxtextclasslist.[Ch]: new files
12542
12543         * include order changes to a lot of files, also changes because of
12544         the six new files.
12545
12546 2001-12-27  Juergen Vigna  <jug@sad.it>
12547
12548         * buffer.C (asciiParagraph): more fixes.
12549
12550         * tabular.C (ascii): make ascii export support export of only the
12551         data separated by a column-delimiter.
12552         (ascii): better support for ascii export.
12553
12554         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12555
12556 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12557
12558         * tabular_funcs.C: use a "using std::getline" instead of the
12559         previous fix from Angus (necessary for cxx + lyxstring)
12560
12561 2001-12-24  Juergen Vigna  <jug@sad.it>
12562
12563         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12564
12565         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12566         problems. First check a minipage also if we have some ert-contents
12567         (not only on par->size(), second set the right depth of the paragraph
12568         on the relink to the root-paragraph-list!
12569
12570         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12571         which then did not anymore update the main paragraphs on undo/redo!
12572
12573 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12576         code. Support all font-changing funcs (even those which are not in
12577         menu currently). Support for reporting font settings in
12578         mathed (disabled until Andre provides a function on mathed's side).
12579
12580         * func_status.h (toggle): small helper function to set toggle
12581         state on a flag.
12582
12583 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * tabular_funcs.C: getline -> std::getline
12586
12587 2001-12-21  Juergen Vigna  <jug@sad.it>
12588
12589         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12590         accessed and could be 0 (I couldn't generate this but it seems
12591         Michael could!).
12592
12593 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12596         * tabular_funcs.h: here and include iosfwd
12597
12598 2001-12-20  Juergen Vigna  <jug@sad.it>
12599
12600         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12601         inside inset but undo_par was.
12602
12603 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12604
12605         * Thesaurus.C: always include <config.h> in sources.
12606
12607         * Painter.h:
12608         * lyxlookup.h:
12609         * box.h: do not include <config.h> in header files
12610
12611         * text.C (paintLastRow): remove unused variable
12612
12613         * text.C (transformChar):
12614         (insertChar):
12615         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12616
12617         * Painter.C (text):
12618         * font.C (width): rewrite to use uppercase() instead of
12619         islower/toupper.
12620
12621         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12622
12623 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * lyxfind.C: clean up of find failure position change
12626
12627 2001-12-20  Juergen Vigna  <jug@sad.it>
12628
12629         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12630
12631         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12632         (TeXRow): added to LaTeX a single tabular row.
12633         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12634         (Latex): simplified and finally good LT-h/f support.
12635         (various_functions): just small adaptions for LT-h/f support.
12636
12637         * tabular_funcs.[hC]: added and moved here all not classfunctions
12638         of LyXTabular.
12639
12640 2001-12-19  Juergen Vigna  <jug@sad.it>
12641
12642         * tabular.[Ch]: better support for longtabular options (not finished
12643         yet!)
12644
12645 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12646
12647         * text.C (paintLastRow): use the label font instead of the font of
12648         the last character to compute the size of *_BOX. This makes more
12649         sense and avoids a crash with empty paragraphs.
12650         Use Painter::rectangle to draw EMPTY_BOX.
12651
12652 2001-12-19  Juergen Vigna  <jug@sad.it>
12653
12654         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12655         the paragraphs if the replaced paragraph is not the first one!
12656         Tried to delete not used paragraphs but does not work yet so for
12657         now it's inside #ifdef's and by default off!
12658
12659 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12660
12661         * MenuBackend.C: include "lyx_main.h" instead of declaring
12662         lastfiles (actually was declared as LastFiles* instead of a
12663         scoped_ptr).
12664
12665 2001-12-17  Juergen Vigna  <jug@sad.it>
12666
12667         * tabular.C (AppendColumn): applied John's fix
12668
12669 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * BufferView.h:
12672         * BufferView.C:
12673         * BufferView_pimpl.h:
12674         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12675
12676         * Makefile.am:
12677         * box.h: new start of class for above
12678
12679         * lyxfunc.C: ignore space-only minibuffer dispatches.
12680           Show the command name when it doesn't exist
12681
12682         * minibuffer.C: don't add empty lines to the history
12683
12684         * minibuffer.C: add a space on dropdown completion
12685
12686 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * text.C: fix line above/below drawing in insets
12689
12690 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12691
12692         * lyxlength.C (LyXLength): Initialize private variables.
12693
12694 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12695
12696         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12697         when inserting error insets.
12698
12699 2001-12-13  Juergen Vigna  <jug@sad.it>
12700
12701         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12702         actually sometimes the before-paragraph.
12703         (setUndo): don't clear the redostack if we're not actually undoing!
12704
12705 2001-12-06  Juergen Vigna  <jug@sad.it>
12706
12707         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12708         and fixed redoing of main paragraph, so we can use it now ;)
12709
12710         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12711
12712 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12715         Juergen's request
12716
12717 2001-12-13  André Pönitz <poenitz@gmx.net>
12718
12719         * undostack.[Ch]:
12720         * undo_func.C: minor cleanup
12721
12722 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12723
12724         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12725         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12726         font in urw-fonts package which is marked as -urw-fontspecific and
12727         does not work (incidentally, changing the encoding in the
12728         fonts.dir of this package to -adobe-fontspecific fixes the
12729         problem).
12730
12731         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12732         is a crash when undoing first paragraph (Juergen, please take a
12733         look). THis does not mean the undo fix is wrong, just that it
12734         uncovers problems.
12735
12736         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12737         the (Paragraph*) version when needed instead of duplicating the
12738         code.
12739
12740         * text.C (workWidth): use Inset::parOwner to find out where the
12741         inset has been inserted. This is a huge performance gain for large
12742         documents with lots of insets. If Inset::parOwner is not set, fall
12743         back on the brute force method
12744
12745         * paragraph_pimpl.C (insertInset):
12746         * paragraph.C (Paragraph):
12747         (cutIntoMinibuffer): set parOwner of insets when
12748         inserting/removing them
12749
12750         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12751
12752 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12753
12754         * commandtags.h:
12755         * LyXAction.C:
12756         * lyx_main.C:
12757         * lyxfunc.C:
12758         * mathed/formulabase.C:
12759         * mathed/math_cursor.[Ch]:
12760         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12761
12762
12763 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * lyxlength.[Ch] (operator!=): new function
12766
12767 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12768
12769         * text.C (workWidth): use Inset::parOwner to find out where the
12770         inset has been inserted. This is a huge performance gain for large
12771         documents with lots of insets. If Inset::parOwner is not set, fall
12772         back on the brute force method
12773
12774         * paragraph_pimpl.C (insertInset):
12775         * paragraph.C (Paragraph):
12776         (cutIntoMinibuffer): set parOwner of insets when
12777         inserting/removing them
12778
12779         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12780
12781 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12782
12783         * tabular-old.C (getTokenValue):
12784         * tabular.C (getTokenValue):
12785         (write_attribute): new versions for LyXLength
12786         (everywhere): adjust the use of widths
12787
12788         * tabular.h: change the type of widths from string to LyXLength
12789
12790 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12791
12792         * paragraph.C: fixed missing line number count when exporting
12793         Environments to LaTeX file
12794
12795         * buffer.C: added informational message for checking line numbers.
12796
12797 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12798
12799         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12800         paragraph, do the 'double space' part, but not the 'empty
12801         paragraph' one.
12802
12803         * text.C (workWidth): small optimization
12804         (getLengthMarkerHeight): use minimal size for negative lengths.
12805
12806 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12807
12808         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12809
12810         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12811
12812 2001-12-11  André Pönitz <poenitz@gmx.net>
12813
12814         * FontLoader.C:
12815         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12816
12817 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * text2.C: keep selection on a setFont()
12820
12821 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * lyx_cb.C: another bv->text misuse, from insert label
12824
12825 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * kbsequence.h:
12828         * kbsequence.C: re-instate nmodifier mask
12829
12830 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * lyx_main.h: make lyxGUI private.
12833
12834 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * lyxfind.C: place the cursor correctly on failed search
12837
12838 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12839
12840         * text.C (getLengthMarkerHeight): for small heights, the arrows
12841         are not always on top/bottom of the text
12842         (drawLengthMarker): smaller arrows; take the left margin in
12843         account; draw also vfills.
12844         (paintFirstRow):
12845         (paintLastRow): remove special code for vfill and standard spaces,
12846         since everything is handled in drawLengthMarker now.
12847
12848 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * buffer.C (insertErtContents): try to handle font and language
12851         interaction a bit better.g
12852
12853         * ColorHandler.C (updateColor): change the hash to cover the whole
12854         LColor enum, ws cleanup
12855         (getGCLinepars): ditto
12856         (getGCLinepars): only lookup in the linecache once.
12857
12858 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12859
12860         * iterators.C (operator++): Make the iterator more robust
12861
12862         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12863         (John's patch)
12864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12865
12866 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * lyxtext.h:
12869         * text.C: better added space drawing
12870
12871 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * LyXView.C:
12874         * BufferView2.C: fix layout combo update on inset unlock
12875
12876 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * Makefile.am: don't compile unused files
12879
12880 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyxfunc.C:
12883         * commandtags.h:
12884         * LyXAction.C: remove old LFUN_LAYOUTNO
12885
12886 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * paragraph_pimpl.h:
12889         * paragraph_pimpl.C: isTextAt() doesn't need font param
12890
12891 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * lyxlex.h:
12894         * lyxlex.C: little cleanup
12895
12896 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * BufferView_pimpl.C: fix insertAscii for insets
12899
12900 2001-12-05  Juergen Vigna  <jug@sad.it>
12901
12902         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12903         set the right font on the "multi" paragraph paste!
12904
12905 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * trans_decl.h:
12908         * trans_mgr.[Ch]:
12909         * trans.[Ch]:
12910         * lyxgluelength.C:
12911         * lyxlength.C: remove out-commented code.
12912
12913         * BufferView_pimpl:
12914         * CutAndPaste.C:
12915         * DepTable.C:
12916         * buffer.C:
12917         * chset.C:
12918         * lastfiles.C:
12919         * lyxlex.C:
12920         * lyxlex_pimpl.C:
12921         * lyxserver.C:
12922         * screen.C:
12923         * tabular-old.C:
12924         * tabular.C:
12925         * text.C:
12926         * trans_mgr.C:
12927         * vc-backend.C: change "while(" to "while ("
12928
12929         * lyxlength.[Ch]: add zero function to check if length is zero or
12930         not
12931         * lyxgluelength.C: use it
12932
12933 2001-12-05  Allan Rae  <rae@lyx.org>
12934
12935         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12936         Works for 2.95.3, from what I understand of Garst's reports this should
12937         work for other g++ versions.  We're screwed if the abs(int) definition
12938         changed between bugfix releases of gcc.
12939
12940 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * text.C: fix chapter label offset !
12943
12944 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * lyxtext.h:
12947         * text.C: fix hfill at end of line, clean up
12948
12949 2001-12-04  Juergen Vigna  <jug@sad.it>
12950
12951         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12952         that we force an update of the inset and it's owners if neccessary.
12953
12954 2001-12-03  Juergen Vigna  <jug@sad.it>
12955
12956         * text.C (rowLast): simplified code
12957
12958 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * lyxfunc.C: fix show options on timeout
12961
12962 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * screen.C (topCursorVisible): scroll half a page when the cursor
12965         reached top of bottom of screen
12966
12967 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * minibuffer.C: deactivate on loss of focus
12970
12971 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * vspace.[Ch] (operator!=): add operator.
12974
12975 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * BufferView_pimpl.C: refuse to open an inset when
12978         there's a selection.
12979
12980 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * BufferView_pimpl.C: allow to click on RHS of full row insets
12983
12984 2001-11-30  Juergen Vigna  <jug@sad.it>
12985
12986         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12987         insets for undo reasons.
12988
12989 2001-11-28  André Pönitz <poenitz@gmx.net>
12990
12991         * vspace.[Ch]: cosmetical changes
12992
12993 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * LyXAction.h:
12996         * LyXAction.C:
12997         * lyxfunc.h:
12998         * lyxfunc.C:
12999         * kbmap.h:
13000         * kbmap.C:
13001         * lyxrc.C:
13002         * kbsequence.h:
13003         * kbsequence.C: part re-write of old kb code
13004
13005         * Painter.C:
13006         * WorkArea.C: remove Lgb_bug_find_hack
13007
13008 2001-11-30  José Matos <jamatos@fep.up.pt>
13009
13010         * buffer.C (makeDocBookFile): add a comment to point a hack.
13011         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13012         Fixed a double write of labels.
13013
13014 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13015
13016         * LaTeX.C:
13017         * LaTeX.h Fixed bug in LaTeX class where it would not
13018         re-run latex if no depfiles were changed, but the .dvi was removed.
13019
13020 2001-11-28  André Pönitz <poenitz@gmx.net>
13021
13022         * all the files from the change on 2001/11/26:
13023         use lyx::layout_type instead of LyXTextClass::size_type
13024         use lyx::textclass_type instead of LyXTextClassList::size_type
13025
13026 2001-11-29  Juergen Vigna  <jug@sad.it>
13027
13028         * text.C: added support for paragraph::isFreeSpacing()
13029
13030         * buffer.C: same as above
13031
13032         * paragraph.h: inserted isFreeSpacing() function to enable
13033         FreeSpacing inside InsetERT.
13034
13035         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13036         of the paragraph's in the cut/copy buffer to 0!
13037
13038         * text2.C (removeRow): remove the assert as it can!
13039
13040         * lyxtext.h: added helper function firstRow returning firstrow and
13041         made firstrow private again.
13042
13043         * BufferView2.C (lockInset): don't relock if we're already locked!
13044
13045         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13046         the only paragraph.
13047         (removeRow): added Assert::(firstrow)
13048
13049         * debug.C: forgot to add INSETTEXT here.
13050
13051 2001-11-28  Juergen Vigna  <jug@sad.it>
13052
13053         * sp_spell.C (initialize): changed error text to more general
13054         spellchecker command use (not only ispell!)
13055
13056         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13057
13058         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13059
13060 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * vspace.C: initialise lyxgluelength on failure
13063
13064 2001-11-28  Allan Rae  <rae@lyx.org>
13065
13066         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13067         declaration & definition that looks like a function declaration.
13068
13069 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13070
13071         * BufferView2.C (copy):
13072         (copyEnvironment): do not clear the selection when doing a copy.
13073
13074         * text.C (paintFirstRow): compilation fix
13075
13076 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13077
13078         * tabular.C (Latex): correct line count when writing latex.
13079
13080 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * paragraph_pimpl.h:
13083         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13084           bug a bit
13085
13086 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * text.C:
13089         * LColor.h:
13090         * LColor.C: change vfillline->added_space
13091
13092         * text.C: add markers and text for added space
13093
13094         * vspace.C: fix comment
13095
13096 2001-11-28  André Pönitz <poenitz@gmx.net>
13097
13098         * paragraph.C: whitespace changes
13099         * all the other files from the change on 2001/11/26:
13100         change *::pos_type into lyx::pos_type
13101
13102 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13103
13104         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13105         language of the document when inserting error insets.
13106
13107 2001-11-26  André Pönitz <poenitz@gmx.net>
13108
13109         * BufferView_pimpl.[Ch]:
13110         *       CutAndPaste.C:
13111         * buffer.[Ch]:
13112         * lyxcursor.[Ch]:
13113         * lyxfind.C:
13114         * lyxfunc.C:
13115         * lyxrow.[Ch]:
13116         * paragraph.[Ch]:
13117         * paragraph_pimpl.[Ch]:
13118         * sp_spell.C:
13119         * text.C:
13120         * text2.C: reduce header dependencies, introduce type for positions
13121
13122 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * <various>: change to use Alert.h
13125
13126 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13129         when encountering an unknown token.
13130         (readLyXformat2): Show an error message if there were unknown tokens.
13131
13132 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13133
13134         * BufferView2.C:
13135         * BufferView_pimpl.C:
13136         * buffer.C:
13137         * paragraph.h:
13138         * text.C:
13139         * text2.C: use par->isInset()
13140
13141 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * paragraph_pimpl.h:
13144         * paragraph_pimpl.C: cleanup
13145
13146 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13147
13148         * text2.C (removeRow):
13149         * text.C (setHeightOfRow): remove useless (and costly) call to
13150         getRow.
13151
13152 2001-11-20  Allan Rae  <rae@lyx.org>
13153
13154         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13155         Now need Inset*::checkInsertChar() to return true for appropriate
13156         cases so that the characters in the minibuffer will actually be
13157         inserted.
13158
13159 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * text.C: change the order of the includes.
13162         (workWidth): initialize it at once.
13163         (workWidth): make maxw unsigned
13164         (setHeightOfRow): remove unused variable (inset)
13165         (selectSelectedWord): remove unused variable (inset)
13166         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13167
13168 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13171         server is not running.
13172         (openConnection):
13173         (closeConnection): add debug info when server is disabled.
13174
13175         * ColorHandler.C (getGCForeground): send debug message to GUI
13176         channel.
13177
13178         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13179
13180         * kbmap.C (bind): modify because return conventions of
13181         kb_sequence::parse have changed.
13182
13183         * kbsequence.C (parse): only ignore spaces and not any stupid
13184         control character. This avoids tests like s[i] <= ' ', which are
13185         guaranteed to fail with 8bit characters and signed chars.
13186         Change return code to string::npos when there have been no error
13187         (0 was a bad idea when error is at first character)
13188
13189 2001-11-14  José Matos  <jamatos@fep.up.pt>
13190
13191         * buffer.h:
13192         * buffer.C (simpleDocBookOnePar): removed unused argument.
13193
13194 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13195
13196         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13197         insets which are part of a word. Paragraph::isLetter takes care of
13198         that now. Use Paragraph::isInset to identify insets.
13199         (selectSelectedWord): do not test for hyphenation break.
13200
13201         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13202         that protected spaces are considered as spaces.
13203
13204         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13205         Inset::isLetter.
13206
13207 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13208
13209         * lyxserver.h:
13210         * lyxserver.C: fix it. and small cleanup.
13211
13212 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * BufferView_pimpl.C: use inline helpers
13215
13216         * LaTeXFeatures.h:
13217         * LaTeXFeatures.C: fix typos
13218
13219         * Spacing.h:
13220         * Spacing.C: move spacing_string into class
13221
13222         * ToolbarDefaults.C: move stuff into namespace anon
13223
13224         * layout.h: update enum
13225
13226         * lyxfunc.C: use better debug
13227
13228         * minibuffer.h: fix typo
13229
13230         * debug.h:
13231         * debug.C:
13232         * WorkArea.C: add and use Debug::WORKAREA
13233
13234         * lyxtext.h:
13235         * text.C:
13236         * text2.C: code re-organisation, inline helpers
13237
13238 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13239
13240         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13241         std::vector.empty().
13242
13243 2001-11-09  Allan Rae  <rae@lyx.org>
13244
13245         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13246         '\n's after tables.  Tabular and ERT inset work now makes this no
13247         longer necessary.
13248
13249 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13250
13251         * minibuffer.h:
13252         * minibuffer.C: fix crash, improve drop-down completion
13253
13254 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * lyxserver.h:
13257         * lyxserver.C: invalidate fd's when doing endPipe()
13258
13259 2001-11-08  José Matos  <jamatos@fep.up.pt>
13260
13261         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13262         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13263
13264         * paragraph.h:
13265         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13266
13267 2001-11-07  José Matos  <jamatos@fep.up.pt>
13268
13269         * buffer.h:
13270         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13271         const qualifier.
13272
13273         * buffer.C (sgmlOpenTag):
13274         * buffer.C (sgmlCloseTag): removed debug info.
13275
13276         * buffer.h (sgmlOpenTag):
13277         * buffer.h (sgmlCloseTag): made public.
13278
13279 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * buffer.C (saveParamsAsDefaults):
13282         * lyx_cb.C (MenuLayoutSave): remove
13283
13284         * LyXAction.C (init):
13285         * commandtags.h:
13286         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13287
13288 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * buffer.C (setPaperStuff): removed from here...
13291
13292         * bufferparams.C (setPaperStuff): ... and moved there.
13293
13294 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * minibuffer.h:
13297         * minibuffer.C:
13298         * XFormsView.C: add support for drop-down completion
13299
13300 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13301
13302         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13303         commands.
13304
13305 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13306
13307         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13308         disabled.
13309
13310 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * lyx_main.C: change ref to known bugs
13313
13314 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13315
13316         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13317         to work around older babel problems.
13318
13319 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13320
13321         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13322
13323 2001-10-24  Juergen Vigna  <jug@sad.it>
13324
13325         * tabular-old.C (ReadOld): below variable changes reflected.
13326
13327         * tabular.[Ch]: added ltType struct for longtable header/footer
13328         defines and changed all instances where they are used. Added
13329         future support for double top/bottom rows.
13330
13331 2001-10-24  José Matos  <jamatos@fep.up.pt>
13332
13333         * buffer.h (docbookHandleCaption):
13334         * buffer.C (docbookHandleCaption): removed unused function.
13335         (makeDocBookFile): moved docbook supported version to v4.1.
13336
13337 2001-10-24  José Matos  <jamatos@fep.up.pt>
13338
13339         * tabular.h:
13340         * tabular.C (docbookRow): new function to export docbook code of a row.
13341         (DocBook): now honors the longtable flags.
13342
13343 2001-10-23  José Matos  <jamatos@fep.up.pt>
13344
13345         * LaTeXFeatures.h:
13346         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13347         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13348
13349         * buffer.C (makeLinuxDocFile):
13350         (makeDocBookFile): reworked the preamble, more clean, and with
13351         support for lyx defined entities. Changed the document declaration
13352         to be more XML friendly.
13353
13354         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13355         if we need to output XML that should be done with a filter.
13356
13357 2001-10-22  Juergen Vigna  <jug@sad.it>
13358
13359         * sp_pspell.h (class PSpell): add alive function needed in the
13360         controller to see if the spellchecker could be started.
13361
13362 2001-10-22  Juergen Vigna  <jug@sad.it>
13363
13364         * buffer.C (insertStringAsLines): modify the font for inserting
13365         chars in certain conditions by calling checkInsertChar(font).
13366
13367 2001-10-19  Juergen Vigna  <jug@sad.it>
13368
13369         * text.C (workWidth): use getRow instead of wrong algorithm.
13370         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13371
13372 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13373
13374         * lyxserver.h:
13375         * lyxserver.C:
13376         * lyx_main.h:
13377         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13378
13379 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * text.C (workWidth): do not search for the exact row when
13382         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13383         optimization for big documents.
13384
13385 2001-10-18  Juergen Vigna  <jug@sad.it>
13386
13387         * text.C (workWidth): new function with added Inset * parameter.
13388
13389 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13392
13393         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13394         change return type of getColumnNearX.
13395
13396
13397         * text.C (changeRegionCase): use uppercase/lowercase instead of
13398         toupper/tolower.
13399         (leftMargin):
13400         (rightMargin): simplify code by factoring out the uses of
13401         textclasslist.
13402         (labelFill):
13403         (numberOfHfills):
13404         (setHeightOfRow):
13405         (appendParagraph): use Paragraph::size_type
13406
13407 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * vspace.C (asLatexString): add a missing break
13410
13411 2001-10-15  Herbert Voss  <voss@perce.de>
13412
13413         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13414
13415 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13418         is not available.
13419
13420 2001-10-10  André Pönitz <poenitz@gmx.net>
13421
13422         * lyxfunc.C: removed greek_kb_flag.
13423
13424 2001-10-10  Herbert Voss  <voss@perce.de>
13425
13426         * lyx_main.C: delete global string help_lyxdir.
13427
13428 2001-10-09  Herbert Voss  <voss@perce.de>
13429
13430         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13431
13432         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13433
13434         * lyx_main.C: added global string help_lyxdir.
13435
13436         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13437
13438 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13439
13440         * lyxrc.C (set_font_norm_type): support iso8859-4
13441
13442 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13443
13444         * LaTeX.C (deplog): add another regex for MikTeX
13445
13446 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13447
13448         * lyxrc.C (set_font_norm_type): support iso8859-3
13449
13450 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13451
13452         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13453
13454         * LaTeXFeatures.C: remove special case of french and index
13455
13456         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13457         before \begin{document}). This solves several incompatibilities.
13458
13459 2001-10-03  Garst Reese  <reese@isn.net>
13460
13461         * lyx_cb.C: change CheckTex error msg.
13462
13463 2001-10-03  José Matos  <jamatos@fep.up.pt>
13464
13465         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13466
13467 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * .cvsignore: update
13470
13471         * lyx_main.C (commandLineVersionInfo): use new style version info.
13472
13473         * buffer.C (writeFile):
13474         (makeLaTeXFile):
13475         (makeLinuxDocFile):
13476         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13477
13478         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13479
13480         * version.h: update to use stuff in version.C
13481
13482         * version.C.in: new file. Contains version information determined
13483         at compile time. This is a merging of version.h and
13484         version_info.h.in.
13485
13486 2001-10-03  Juergen Vigna  <jug@sad.it>
13487
13488         * BufferView_pimpl.C (update): don't change "dirty" status in
13489         updateInset call.
13490
13491 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * WorkArea.C (c-tor): re-position version string slightly.
13494
13495 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13498         revert to previous code.
13499
13500         WorkArea.[Ch]: (show, destroySplash): methods removed.
13501
13502         WorkArea.C: rework code so that it's an amalgam of the codes before and
13503         after the splash screen was moved to WorkArea.
13504
13505 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * lyxrc.C (read):
13508         * vspace.C (inPixels):
13509         (lyx_advance):
13510         * kbmap.C (bind):
13511         * buffer.C (insertStringAsLines):
13512         (asciiParagraph): fix types to be large enough
13513
13514         * lyxlex_pimpl.h: change member status from short to int
13515
13516         * layout.h: fix type of endlabeltype
13517
13518         * kbmap.C (bind):
13519         * kbsequence.C (parse): change return type to string::size_type
13520
13521         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13522         variable
13523
13524         * Bullet.C (bulletSize):
13525         (bulletEntry): do not use short ints as parameters
13526
13527         * BufferView2.C (insertLyXFile): change a char to an int.
13528
13529         * WorkArea.C (WorkArea): remove unneeded floats in computation
13530
13531 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13532
13533         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13534
13535         * paragraph.C (asString): Do not ignore newline/hfill chars when
13536         copying to the clipboard.
13537
13538 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13539
13540         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13541         after a multi-line inset.
13542
13543 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13544
13545         * paragraph.C (validate): Set NeedLyXFootnoteCode
13546
13547 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13550         and decrease-error to decrease.
13551
13552 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13553
13554         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13555         it more readable (should be equivalent)
13556
13557 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13558
13559         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13560
13561 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13564         of a cursor (row, etc.) after a character has been deleted
13565         (deleteEmptyParagraphMechanism): call the method above on _all_
13566         cursors held by the LyXText when a double space has been
13567         detected/deleted.
13568
13569 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13570
13571         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13572         pixmap.
13573         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13574
13575         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13576         background. Use greyOut() and the new show() methods to toggle between
13577         the foreground and background. Add code to remove the splash after
13578         its initial showing.
13579
13580         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13581         (create_forms): no longer call Dialogs::showSplash.
13582
13583 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * .cvsignore: add version_info.h
13586
13587 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * version_info.h.in: new file
13590
13591         * Makefile.am: add version_info.h.in
13592
13593         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13594         version_info.h instead of VERSION_INFO
13595
13596 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13599         The ERT inset now returns string().
13600
13601 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * lyxtext.h, text.C (selectNextWord): renamed as
13604         selectNextWordToSpellcheck.
13605
13606         * text.C (selectNextWordToSpellcheck): Modified to not select
13607         words inside an ERT inset.
13608
13609 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * lyx_cb.C (MenuLayoutSave): change a bit the question
13612
13613         * sp_base.h: include <sys/types.h>
13614
13615 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13618
13619 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13620
13621         * several files: fix typos in user-visible strings
13622
13623 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * text2.C (pasteSelection): do not set the selection, since it
13626         will be cleared later. Actually, the intent was to fix the way the
13627         selection was set, but I figured rmoving the code was just as good.
13628
13629 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13630
13631         * FontLoader.C (available): Check if font is available without
13632         loading the font.
13633
13634 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13635
13636         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13637
13638 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * lyxrc.[Ch]: added display_graphics variable and associated code.
13641
13642 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * bufferparams.C (hasClassDefaults): new method. Returns true if
13645         the buffer parameters correspond to known class defaults
13646
13647 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * XFormsView.C (show): set minimum size to the main window.
13650
13651 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * text2.C (copySelection):
13654         (cutSelection):
13655         * lyxfind.C (LyXReplace):
13656         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13657         LyXText::selectionAsString.
13658
13659         * paragraph.C (asString): add "label" argument to the second form
13660
13661         * text2.C (selectionAsString): add "label" argument and pass it to
13662         Paragraph::asString.
13663
13664 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13665
13666         * lyx_main.C (commandLineHelp): remove version information
13667
13668 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13669
13670         * lyx_main.C: add -version commandline option
13671
13672 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * paragraph.h: make the optional constructor arg required instead.
13675         some modifications to other files because of this.
13676
13677         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13678
13679         * lyxserver.C (C_LyXComm_callback): make it static
13680
13681         * lyx_main.C (error_handler): make it static
13682
13683         * lyx_gui.C (LyX_XErrHandler): make it static
13684
13685         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13686
13687         * WorkArea.C: make the extern "C" methods static.
13688
13689         * Makefile.am (lyx_LDADD): simplify
13690
13691 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13692
13693         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13694         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13695
13696         * LyXAction.C (init):
13697         * lyxfunc.C (dispatch): associated code removal.
13698
13699 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * lyxfont.h (isSymbolFont): shut off warning
13702
13703         * text.C (setHeightOfRow):
13704         (getVisibleRow): fix crash with empty paragraphs which have a
13705         bottom line
13706
13707 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13708
13709         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13710         code.
13711
13712 2001-09-04  José Matos  <jamatos@fep.up.pt>
13713         * buffer.C
13714         * buffer.h
13715         * tabular.C (docbook): rename docBook method to docbook.
13716
13717 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13718
13719         * Makefile.am: add dependencies to main.o.
13720
13721 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13722
13723         * FontLoader.C (available): Return false if !lyxrc.use_gui
13724
13725 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13726
13727         * FontInfo.C (query):
13728         * converter.C (view):
13729         * importer.C (Import):
13730         * exporter.C (Export): Can not -> cannot.
13731
13732 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * BufferView_pimpl.C: allow to create index inset even if
13735           string is empty
13736
13737 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13738
13739         * buffer.C (getLists): replace boost::tie code with an explicit pair
13740         as boost::tie can break some compilers.
13741
13742         * iterators.h: Added a std:: declaration to the return type of
13743         ParIterator::size.
13744
13745 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13746
13747         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13748           case.
13749
13750 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * iterators.[Ch]: New files. Provide paragraph iterators.
13753
13754         * buffer.C (changeLanguage): Use paragraph iterators.
13755         (isMultiLingual): ditto
13756
13757         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13758
13759 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * FontLoader.C: Support for cmr font.
13762
13763 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13766         (available): New method.
13767
13768         * FontInfo.C (getFontname): Use scalable fonts even when
13769         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13770         found.
13771
13772 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13773
13774         * converter.C (Formats::view): reverted! Incorrect fix.
13775
13776 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * converter.C (Formats::view): only output the -paper option
13779         if the dvi viewer is xdvi, thereby fixing bug #233429.
13780
13781 2001-08-23  Herbert Voss  <voss@perce>
13782
13783         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13784
13785 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13786
13787         * Spacing.h (Spacing): Set space to Default on in the default
13788         constructor.
13789
13790 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * vc-backend.h (RCS::versionString): add RCS to version
13793         (CVS::versionString): add CVS to version
13794
13795         * vc-backend.C (scanMaster): do not add CVS to version.
13796         (scanMaster): do not add RCS to version
13797
13798         * lyxvc.C (versionString): new method
13799
13800         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13801
13802 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * Spacing.C (set): initialize fval
13805
13806 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13807
13808         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13809         " or \.
13810
13811 2001-08-16  Juergen Vigna  <jug@sad.it>
13812
13813         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13814
13815 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * BufferView_pimpl.C:
13818         * figureForm.C:
13819         * lyxtext.h:
13820         * text2.C: setParagraph takes linespacing now
13821
13822 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13823
13824         * LyxAction.C: add internal LFUN_CITATION_INSERT
13825
13826         * LyXView.C: actually apply fix
13827
13828         * bufferlist.C: fix open non-existent file
13829
13830         * lyxfind.C: fix indentation
13831
13832         * lyxfunc.C: remove unneeded assert, fix typo
13833
13834 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * MenuBackend.C: use "Floatname List"
13837
13838 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13839
13840         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13841         when converting LaTeX layout to insetERT.
13842         Generate a non-collapsed float when reading old float
13843
13844 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13847         ERT insets.
13848
13849 2001-08-13  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C (fill): return 0 instead of 20 as this seems to be the more
13852         correct value.
13853
13854 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13855
13856         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13857         lyxrc.font_norm.
13858
13859 2001-08-13  Juergen Vigna  <jug@sad.it>
13860
13861         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13862         casesensitive off.
13863         (SearchBackward): comment out the unlocking of the inset_owner this
13864         should not be needed!
13865
13866 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * Many files: Remove inherit_language, and add latex_language
13869
13870         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13871         collapsible insets.
13872
13873 2001-08-10  Juergen Vigna  <jug@sad.it>
13874
13875         * text.C (prepareToPrint): fixed hfill-width in draw!
13876
13877         * BufferView2.C (selectLastWord): save the selection cursor as this
13878         now is cleared in the function LyXText::clearSelection!
13879
13880 2001-08-08  Juergen Vigna  <jug@sad.it>
13881
13882         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13883         BACKSPACE type functions.
13884
13885         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13886         is only cutted from the document but not put in the cut-buffer, where
13887         still the old stuff should be.
13888
13889         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13890
13891         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13892
13893         * tabular.C (SetWidthOfCell): fixed special case where the width
13894         was not updated!
13895         (LeftLine): handle '|' in align_special.
13896         (RightLine): ditto
13897         (LeftAlreadyDrawed): ditto
13898         (SetWidthOfCell): ditto
13899
13900 2001-08-07  Juergen Vigna  <jug@sad.it>
13901
13902         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13903
13904 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13905
13906         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13907         * lyxlex.[hC]: ditto
13908
13909 2001-08-06  Juergen Vigna  <jug@sad.it>
13910
13911         * text.C (getVisibleRow): fix up row clearing a bit.
13912
13913 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * minibuffer.C: make sure the X server sees the changes in the input.
13916
13917 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * paragraph.C (getFont): split into...
13920         (getLabelFont): this
13921         (getLayoutFont): and this
13922         * paragraph_pimpl.C (realizeFont): calling this
13923
13924         * text2.C (getFont): split into...
13925         (getLayoutFont): this
13926         (getLabelFont): and this
13927         (realizeFont): all three calling this
13928
13929         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13930         files where used.
13931
13932 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13935
13936 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13937
13938         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13939         layouts from the Quote inset insertion.
13940
13941 2001-08-03  Juergen Vigna  <jug@sad.it>
13942
13943         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13944
13945         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13946         only if status not is already CHANGED_IN_DRAW (second level).
13947
13948         * text.C (draw): don't set the need_break_row when inside an
13949         InsetText LyXText.
13950
13951 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * buffer.C (parseSingleLyXformat2Token): handle more latex
13954         conversion cases.
13955
13956         * bufferview_funcs.[hC]: change function names to
13957         begin with small char, adjust other files.
13958
13959 2001-08-02  André Pönitz <poenitz@gmx.net>
13960
13961         * lyxfunc.C:
13962         BufferView_pimpl.C: remove broken special code for math-greek
13963
13964 2001-08-02  Juergen Vigna  <jug@sad.it>
13965
13966         * BufferView_pimpl.C (update): redone this function so that we
13967         update the text again if there was a CHANGE_IN_DRAW.
13968
13969         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13970         (drawFromTo): added a new internal bool which is used by draw() and
13971         redraw() function.
13972         (general): some cursor drawing problems fixed.
13973
13974 2001-08-01  Juergen Vigna  <jug@sad.it>
13975
13976         * lyxfind.C (LyXFind): fixed
13977         (SearchForward): ditto
13978         (SearchBackward): ditto
13979
13980         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13981         spurius drawing of the cursor in the main area.
13982
13983         * text2.C (status): small fix which could lead to a segfault!
13984         (clearSelection): remove unneeded BufferView param.
13985
13986 2001-08-01  André Pönitz <poenitz@gmx.net>
13987
13988         * lyxfunc.C: small change due to changed mathed interface
13989
13990 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13993
13994 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13995
13996         * lyxfunc.c: fail gracefully if file doesn't exist
13997
13998         * LyXSendto.C:
13999         * buffer.C:
14000         * lyxfunc.C:
14001         * BufferView_pimpl.C: IsDirWriteable() proto changed
14002
14003         * LyXView.C: fix updateWindowTitle() to store the last title
14004
14005 2001-07-31  Juergen Vigna  <jug@sad.it>
14006
14007         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14008         the font (wrong since using of Paragraph::highestFontInRange).
14009
14010         * paragraph.C (highestFontInRange): added a default_size parameter.
14011
14012         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14013         (setHeightOfRow): reformat
14014
14015 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14016
14017         * converter.[hC] + affected files: move to (inital-char)lowercase
14018         function names.
14019
14020         * ParagraphParameters.C (ParagraphParameters): remove commented code
14021
14022         * PainterBase.[Ch]: remove commented code
14023
14024         * LaTeXFeatures.h: add "bool floats" for float.sty
14025
14026         * LaTeXFeatures.C (LaTeXFeatures): init floats
14027         (require): handle float
14028         (getPackages): do it with floats
14029
14030 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * BufferView_pimpl.C (Dispatch): improve handling of
14033         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14034
14035         * commandtags.h: #include lyxfont.h here temporarily to avoid
14036         keybinding bug.
14037
14038         * bufferlist.h: include LString.h here.
14039
14040 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * text2.C (getStringToIndex): new method.
14043
14044 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14045
14046         * *: Reduced header file dependencies all over.
14047
14048 2001-07-30  Baruch Even  <baruch@lyx.org>
14049
14050         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14051
14052 2001-07-29  Baruch Even  <baruch@lyx.org>
14053
14054         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14055
14056 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14057
14058         * ParameterStruct.h (endif): add a default constructor to make
14059         sure that all variables is initialized.
14060
14061         * ParagraphParameters.C (ParagraphParameters): adjust
14062
14063 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14066         index; also, check that there is something to index, and that it
14067         does not span over several paragraphs.
14068         (doubleClick): use WHOLE_WORD_STRICT for double click.
14069
14070         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14071
14072         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14073         scheme.
14074
14075 2001-07-26  Baruch Even  <baruch@lyx.org>
14076
14077         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14078         an InsetFig figure, backwards compatible reading of old figure code.
14079
14080 2001-07-27  Juergen Vigna  <jug@sad.it>
14081
14082         * text2.C: font.realize function adaption.
14083
14084         * text.C (draw): add a warnings lyxerr text if needed.
14085
14086         * layout.C: font.realize function adaption.
14087
14088         * language.C: add inherit_language and implement it's handlings
14089
14090         * bufferview_funcs.C (StyleReset): remove language parameter from
14091         font creation (should be language_inherit now).
14092
14093         * bufferparams.C (writeFile): handle ignore_language.
14094
14095         * paragraph.C (getFontSettings): the language has to be resolved
14096         otherwise we have problems in LyXFont!
14097
14098         * lyxfont.C (lyxWriteChanges): added document_language parameter
14099         (update): removed unneeded language parameter
14100
14101         * paragraph.C (validate): fixed wrong output of color-package when
14102         using interface colors for certain fonts in certain environments,
14103         which should not seen as that on the final output.
14104
14105 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * BufferView_pimpl.C:
14108         * Thesaurus.h:
14109         * Thesaurus.C:
14110         * Makefile.am:
14111         * commandtags.h:
14112         * LyXAction.C: add thesaurus support
14113
14114         * lyxfind.h:
14115         * lyxfind.C: add "once" parameter, for thesaurus, to not
14116           move to the next match
14117
14118 2001-07-26  Juergen Vigna  <jug@sad.it>
14119
14120         * lyxfont.C (realize): honor ignore_language too!
14121         (resolved): ditto.
14122
14123         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14124
14125         * text.C (draw): one place more for ignore_language to not draw
14126         itself!
14127
14128 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14131
14132 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14135         the minipage conversion problem.
14136
14137 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14140         insert an inset.
14141
14142 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * BufferView.h: don't forward declare WorkArea
14145
14146         * BufferView.C: don't include WorkArea.h
14147
14148 2001-07-25  André Pönitz <poenitz@gmx.net>
14149
14150         * commandtags.h:
14151         * LyXAction.C:
14152         * lyxfunc.C:  new LFUN 'math-space'
14153
14154         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14155
14156 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * text2.C (toggleInset): call open/close
14159
14160 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * lyxfunc.C (dispatch): add debug for the disabled case
14163
14164         * font.C (buttonText): make similar to rectText
14165
14166         * buffer.C (readInset): comment out parsing of insetlist and
14167         insttheorem
14168
14169         * PainterBase.C (rectText): small correction
14170
14171         * BufferView_pimpl.C: comment out insettheorem and insetlist
14172         * LyXAction.C: ditto
14173         * commandtags.h: ditto
14174
14175 2001-07-24  Juergen Vigna  <jug@sad.it>
14176
14177         * text.C (draw): honor the ignore_language.
14178
14179         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14180
14181 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14184         char inset.
14185
14186 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14187
14188         * lyxtext.h: remove unused (and unimplemented) methods
14189
14190 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14191
14192         * text.C (getVisibleRow): honor background color
14193
14194         * PainterBase.h:
14195         * Painter.h: remove default color argument for fillRectangle
14196
14197         * text.C (backgroundColor): new method
14198
14199 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * text.C (getVisibleRow): adjust
14202
14203         * font.[Ch] (rectText): new method, metrics
14204         (buttonText): new method, metrics
14205
14206         * PainterBase.[hC]: make rectText and buttonText always draw and take
14207         fewer paramteres.
14208
14209 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14210
14211         * ToolbarDefaults.C (read):
14212         * MenuBackend.C (read): allow escaping in all strings
14213
14214         * BufferView_pimpl.C (insertAndEditInset): new method.
14215         (Dispatch): use insertAndEditInset whenever appropriate.
14216
14217         * BufferView_pimpl.C (insertNote): removed
14218
14219         * BufferView_pimpl.C (smartQuote): new method, moved from
14220         BufferView; if an insetquote cannot be inserted, insert a '"'
14221         character instead.
14222
14223         * BufferView2.C: remove insertCorrectQuote();
14224
14225         * lyxfunc.C (getStatus): Add support for all remaingin
14226         inset-insert lfuns.
14227
14228         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14229
14230         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14231         command (necessary to pass " as parameter of self-insert.
14232
14233         * text.C (selectWordWhenUnderCursor):
14234         (selectWord): add word_location parameter
14235         (selectWordWhenUnderCursor): same + remove special code for word
14236         boundary.
14237         (selectNextWord): use kind() to guess type of insetspecialchar,
14238         not latex().
14239
14240         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14241         (insertErtContents): create ert insets as collapsed.
14242         (readInset): better compatibility code for Info inset.
14243
14244 2001-07-20  Juergen Vigna  <jug@sad.it>
14245
14246         * lyxfunc.C (dispatch): use always LyXFind now!
14247
14248         * text2.C (init): add a reinit flag so that the LyXText can be
14249         reinited instead of deleted and reallocated (used in InsetText).
14250
14251         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14252
14253         * text.C: ditto
14254
14255         * text2.C: ditto
14256
14257 2001-07-18  Juergen Vigna  <jug@sad.it>
14258
14259         * text.C (selectNextWord): handle insets inside inset by calling
14260         always the bv->text functions so that we can go up the_locking_inset!
14261
14262         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14263         in strange locations when inside an inset!
14264
14265         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14266         handling to include insets.
14267
14268         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14269
14270 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * LyXAction.C (init):
14273         * commandtags.h:
14274         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14275         LIGATURE_BREAK, since the name is so stupid.
14276
14277 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14280         InsetInfos.
14281
14282         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14283
14284         * sp_form.[Ch]: remove.
14285
14286         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14287
14288         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14289         InsetInfo.
14290
14291         * src/buffer.C (readInset): ditto.
14292
14293 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14294
14295         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14296         menuSeparator(), endOfSentenceDot(), ldots() and
14297         hyphenationPoint(), which are therefore removed.
14298         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14299
14300         * LyXAction.C (init):
14301         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14302
14303         * paragraph.C (getWord): removed.
14304
14305         * BufferView_pimpl.C (Dispatch): use last word or selection for
14306         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14307
14308         * lyx_main.C (queryUserLyXDir): do not ask before creating
14309         user_dir, except if it has been named explicitely.
14310
14311 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14312
14313         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14314         a document of zero size.
14315
14316 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14317
14318         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14319         approriately in the c-tor and in require().
14320         (getPackages): output the appropriate LaTeX for natbib support.
14321
14322         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14323         variables "use_natbib" and "use_numerical_citations" when reading the
14324         LyX file.
14325         (readInset): read the various natbib cite commands.
14326         (validate): white-space change.
14327
14328         * bufferparams.[Ch]: new variables "bool use_natbib" and
14329         "bool use_numerical_citations".
14330         (writeFile): output them in the LyX file.
14331
14332 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14333
14334         * lyxfunc.C (getStatus): add support for all the inset insertion
14335         commands.
14336
14337         * text2.C (insertInset):
14338         * paragraph.C (insetAllowed):
14339         * BufferView_pimpl.C (insertInset): update to take in account the
14340         renaming of insertInsetAllowed
14341
14342         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14343
14344         * text2.C (getInset): new method. returns inset at cursor position.
14345
14346         * BufferView_pimpl.C (Dispatch): changes because of this.
14347
14348         * LyXAction.C (init): rename open-stuff to inset-toggle.
14349
14350         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14351
14352         * text2.C (toggleInset): renamed from openStuff; use
14353         Inset::open().
14354
14355 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14356
14357         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14358
14359         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14360
14361 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14362
14363         * buffer.C (readLyXformat2): Add filename to the error dialog
14364
14365 2001-07-18  Juergen Vigna  <jug@sad.it>
14366
14367         * tabular.C (GetCellNumber): put an assert here instead of the check!
14368
14369 2001-07-17  Juergen Vigna  <jug@sad.it>
14370
14371         * BufferView_pimpl.C (toggleSelection): adapted too.
14372
14373         * text.C (selectNextWord): adapted for use with insets.
14374         (selectSelectedWord): ditto
14375
14376 2001-07-17  Juergen Vigna  <jug@sad.it>
14377
14378         * sp_spell.C (PSpell): fix initialitation order.
14379
14380 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * paragraph.C: spacing
14383
14384 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14385
14386         * sp_spell.C: repair language selection for pspell
14387
14388 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * lyxfunc.h: change more methods to begin with lower char.
14391
14392 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14395         for unknown layouts.
14396
14397 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * buffer.C (readLyXformat2): Generate an error dialog if there are
14400         unknown layouts.
14401
14402 2001-07-16  Juergen Vigna  <jug@sad.it>
14403
14404         * sp_spell.C: always compile ISpell part.
14405
14406         * lyxrc.C: added use_pspell entry and it's handling.
14407
14408 2001-07-13  Juergen Vigna  <jug@sad.it>
14409
14410         * sp_spell.C: removed double includes.
14411
14412 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         Consistent use of Lsstream.h:
14415         * Lsstream.h: added using std::stringstream for consistencies sake.
14416
14417         * buffer.C: removed using std::stringstream
14418
14419         * lyxfont.C (stateText):
14420         * paragraph.C (asString):
14421         * text.C (selectNextWord, selectSelectedWord):
14422         * text2.C (setCounter):
14423         * vspace.C (asString, asLatexString):
14424         std::ostringstream -> ostringstream.
14425
14426 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14427
14428         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14429         * commandtags.h: add LFUN_HELP_ABOUTLYX
14430         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14431
14432 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14433
14434         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14435         cursorToggle()
14436         * lyx_gui_misc.C: remove spellchecker
14437         * lyxfunc.C: showSpellchecker
14438         * sp_base.h: added
14439         * sp_ispell.h: added
14440         * sp_pspell.h: added
14441         * sp_spell.C: added
14442         * sp_form.[Ch]: removed
14443         * spellchecker.[Ch]: removed
14444
14445 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14446
14447         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14448         is set.
14449         (simpleTeXSpecialChars): Simply print the input character without
14450         any special translation if pass_thru is set.
14451
14452         * layout.h: Added bool pass_thru to layout class for being able to
14453         implement pass through of a paragraph for Literate Programming.
14454
14455         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14456         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14457         * layout.C (Read): add "passthru" to list of layout tags and add
14458         code to set the pass_thru boolean when it is read.
14459
14460 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * trans_decl.h: remove allowed from KmodInfo
14463
14464         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14465         remove allowed code
14466         (Load): adjust
14467
14468         * paragraph_pimpl.C (erase): use boost::prior
14469
14470         * Painter.C (text): use data() instead of c_str() when length is
14471         also provided.
14472         * WorkArea.C (putClipboard): ditto
14473         * font.h (width): ditto
14474
14475         * BufferView2.C: use it-> instead of (*it). for iterators
14476         * texrow.C: ditto
14477         * paragraph_pimpl.C: ditto
14478         * paragraph.C: ditto
14479         * minibuffer.C: ditto
14480         * language.C: ditto
14481         * kbmap.C: ditto
14482         * encoding.C: ditto
14483         * counters.C: ditto
14484         * converter.C: ditto
14485         * chset.C: ditto
14486         * Variables.C: ditto
14487         * TextCache.C: ditto
14488         * MenuBackend.C: ditto
14489         * LyXAction.C: ditto
14490         * LColor.C: ditto
14491         * FloatList.C: ditto
14492         * DepTable.C: ditto
14493         * ColorHandler.C (LyXColorHandler): ditto
14494
14495 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14498
14499         * text2.C (openStuff): reintroduce this method (which had been
14500         nuked in NEW_INSETS frenzy).
14501
14502         * lyxfunc.C (Dispatch): when an action has not been handled, use
14503         its name in the error message, not its number.
14504
14505         * paragraph.C (inInset): change method name to begin with lowercase.
14506
14507         * undo_funcs.C:
14508         * text2.C: updates because of this.
14509
14510 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * ToolbarDefaults.C (add): add spaces in error message
14513
14514 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14515
14516         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14517         (readLyXformat2): rename return_par to first_par, use lyxlex's
14518         pushToken and remove the manual push handling.
14519         (parseSingleLyXformat2Token): add another ert comp. variable:
14520         in_tabular, rename return_par to first_par. handle newlines better
14521
14522 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14525
14526 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14527
14528         * text2.C (getParFromID): removed
14529
14530         * buffer.C (getParFromID): new method moved form lyxtext.
14531         * BufferView2.C (insertErrors): adjust
14532         (setCursorFromRow): adjust
14533         * BufferView_pimpl.C (restorePosition): adjust
14534         * lyxfunc.C (Dispatch): adjust
14535         * undo_funcs.C (textUndo): adjust
14536         (textRedo): adjust
14537         (textHandleUndo): adjust
14538         (textHandleUndo): adjust
14539
14540 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * buffer.C: up' the LYX_FORMAT
14543
14544         * lyxfont.h: turn NO_LATEX on as default
14545
14546         * buffer.C (insertErtContents): new methods of tex style compability.
14547         (parseSingleLyXformat2Token): use it several places.
14548         * tabular.C (OldFormatRead): and here
14549
14550 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * text2.C: remove some commented code.
14553         reindent file.
14554
14555         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14556         * trans.C: changes because of the above.
14557
14558 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14559
14560         * text2.C (setCounter): Fix counters bug with bibliography layout.
14561
14562 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14565         own member functions
14566         (simpleTeXSpecialChars): ditto
14567
14568 2001-07-06  Juergen Vigna  <jug@sad.it>
14569
14570         * a lot of files: changed the access to LyXText::status and the
14571         call of undo-functions.
14572
14573         * undo.[Ch]: added a inset_id to the undo informations.
14574
14575         * undo_funcs.[Ch]: added and moved here all undo functions.
14576
14577         * lyxtext.h: give the status enum a weight, made status_ a private
14578         variable and made accessor functions for it, removed the whole bunch
14579         of undo-functions as they are now in their own file, make some
14580         functions publically available. Added function ownerParagraph with
14581         int parameter.
14582
14583         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14584         made InInset() a const function, added getParFromID() function.
14585
14586         * buffer.[Ch]: added const version for inset_iterator functions,
14587         added getInsetFromID() function.
14588
14589         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14590         changed undo functions for new version.
14591
14592 2001-07-05  Juergen Vigna  <jug@sad.it>
14593
14594         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14595         unknow mechanism does not call the proper constructor but only this
14596         one also if I request the other!?
14597
14598 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14601
14602         * text2.C (LyXText): use initialization lists.
14603
14604         * lyxtext.h (Selection): initialize set_ and mark_
14605         (init): remove method
14606
14607 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14608
14609         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14610
14611 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14612
14613         * screen.[Ch]: change method names to begin with lowercase
14614
14615         * BufferView_pimpl.C (updateScrollbar): simplify further and
14616         hopefully make it a bit faster.
14617
14618 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14619
14620         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14621         calling directly xforms functions.
14622
14623         * Painter.C (Painter):
14624         * lyx_cb.C (MenuWrite):
14625         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14626         fl_display.
14627
14628         * lyx_gui.C: remove bogus guiruntime extern declaration.
14629
14630 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14633         in NEW_INSETS
14634         (redoDrawingOfParagraph): ditto
14635         (redoParagraphs): ditto
14636         (cutSelection): don't create a object for CutAndPaste use the
14637         static method directly
14638         (pasteSelection): ditto
14639
14640         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14641         LyXview (+ rename)
14642
14643 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * modifications to some other files because of this.
14646
14647         * Makefile.am (lyx_SOURCES): add XFormsView
14648
14649         * XFormsView.[Ch]: new files
14650
14651         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14652         the main window. Move the gui dependent stuff to XFormsView
14653
14654 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * tabular.C (GetCellInset): update cur_cell also in the row/col
14657         version of this function.
14658
14659         * lyxfunc.C: no need to include figure_form.h here.
14660
14661         * FontLoader.h:
14662         * lyxfunc.h:
14663         * lyxscreen.h:
14664         * text2.C:
14665         * lyxvc.C: no need to include forms.h here.
14666
14667 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14670
14671         * lyxfunc.C (Dispatch):
14672         * Spacing.C (set):
14673         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14674         constructor argument.
14675
14676 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677
14678         * paragraph.C (Paragraph): dont't clear, and just set layout.
14679         (makeSameLayout): use params's copy contructor.
14680
14681         * ParagraphParameters.[Ch] (makeSame): delete method
14682
14683 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14684
14685         * Variables.[Ch]: fix indentation, rename set to isSet
14686
14687 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * lyxfunc.C (Dispatch): fix typo
14690
14691 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14692
14693         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14694         upper_bound.
14695
14696         * bufferlist.C: include assert.h for emergencyWrite().
14697
14698 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14701           give up at last (bug #425202) !
14702
14703 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * lyx_gui_misc.C:
14706         * sp_form.h:
14707         * sp_form.C:
14708         * spellchecker.h:
14709         * spellchecker.C: strip spellchecker options and bring up
14710           preferences tab instead
14711
14712 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14713
14714         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14715         the istringstream constructor
14716
14717 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * paragraph.C (getLayout): fix return value
14720
14721         * paragraph.h: do not declare getLayout as inline.
14722
14723         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14724
14725 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14726
14727         * lyxcursor.h (operator<): new func
14728         (operator>): new func
14729         (operator>=): new func
14730         (operator<=): new func
14731
14732         * text.C (changeCase): use selection.start and selection.end
14733         (changeRegionCase): require from to be <= to. Require par to be a
14734         valid paragraph.
14735
14736         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14737
14738 2001-06-27  Juergen Vigna  <jug@sad.it>
14739
14740         * text.C (cursorLeftOneWord): changed to return the cursor and added
14741         overlay with BufferView * parameter which calls this one.
14742         (getWord): added
14743         (selectWord): use new getWord function.
14744         (changeCase): renamed from changeWordCase as and extended to work
14745         also on selections.
14746
14747         * lyxtext.h: added enum word_location
14748
14749         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14750         changeCase as this operates now also on selections.
14751
14752 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14753
14754         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14755
14756         * many files: send debug output to Debug::INFO instead of
14757         Debug::ANY.
14758
14759         * converter.C (View):
14760         (Convert):
14761         (Move): send debug output to Debug::FILES instead of console.
14762
14763 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14764
14765         * lyxfunc.C (getStatus): use func_status
14766
14767         * func_status.h: new header, describing the results of
14768         LyXFunc::getStatus;
14769
14770         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14771         LFUN_MATH_HALIGN.
14772
14773 2001-06-25  The LyX Project  <jug@sad.it>
14774
14775         * buffer.C (sgmlOpenTag):
14776         (sgmlCloseTag):
14777         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14778
14779 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * text2.C: remove some dead code
14782
14783         * tabular.C (GetCellInset): store the last cell checked (gotten)
14784
14785         * tabular.h: add the helper for the speedup
14786
14787         * lyxtext.h: remove some dead code
14788
14789 2001-06-26  The LyX Project  <Asger>
14790
14791         * paragraph.C: Change export to LaTeX of alignment to
14792         \begin{center} and family for better roundtrip work with reLyX.
14793
14794         * Tune the math drawing a bit.
14795
14796 2001-06-25  The LyX Project  <Asger>
14797
14798         * LColor.C (LColor): New color for math background. New color
14799         for buttons.
14800
14801 2001-06-25  The LyX Project  <jug@sad.it>
14802
14803         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14804
14805         * lyxfunc.C (Open):
14806         * bufferlist.C (newFile): do not restrict to files ending with
14807         .lyx
14808
14809         * BufferView_pimpl.C (MenuInsertLyXFile):
14810
14811 2001-06-24  The LyX Project  <jug@sad.it>
14812
14813         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14814         of compare_no_case
14815
14816 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * lyxtext.h: rename most methods to begin with a small char.
14819         Lots of changes because of this.
14820
14821         * paragraph.C (Paragraph): do not call fitToSize
14822         (erase): call Pimpl::erase
14823         (insertChar): call Pimpl::insertChar
14824         (insertInset): call Pipl::insertInset
14825         (breakParagraph): do not call fitToSize
14826         (breakParagraphConservative): do not call fitToSize
14827         (fitToSize): remove method
14828
14829         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14830
14831 2001-06-24  The LyX Project  <Asger>
14832
14833         * Fix Qt compilation^2
14834
14835 2001-06-24  The LyX Project  <jug@sad.it>
14836
14837         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14838         depthHook(getDepth()-1).
14839
14840         * paragraph.h:
14841         * ParagraphParameters.h:
14842         * ParameterStruct.h: change type of depth to unsigned int ==
14843         depth_type. Many adaptations to other files before of that.
14844
14845 2001-06-24  The LyX Project  <Asger>
14846
14847         * Fix Qt compilation.
14848
14849 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * paragraph.h: renamed several methods to begin with small letter.
14852         several changes to many parts of the code because of this.
14853
14854 2001-06-23  The LyX Project  <jug@sad.it>
14855
14856         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14857         rewritten to discard all double spaces when KeepEmpty is off
14858         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14859         to only handle newlines but not fiddle with spaces and friends.
14860
14861         * lyxfunc.C (MenuNew): when doing 'new from template', use
14862         template_path as default directory
14863
14864 2001-06-23  The LyX Project  <Asger>
14865
14866         * Clean-up of header file includes all over
14867         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14868
14869 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * paragraph.h: renamed from lyxparagraph.h
14872
14873 2001-06-23  Asger  <lyx@violet.home.sad.it>
14874
14875         * Buffer.h: Removed Buffer::resize
14876         * BufferList.h: Removed BufferList::resize
14877         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14878         the document lazily when we change the width, or the font settings.
14879
14880 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14883
14884 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * buffer.h: remove out of date comment
14887
14888 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14889
14890         * lyxscreen.h:
14891         * screen.C: fix "theoretical" GC leak
14892
14893 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * LaTeX.C (scanAuxFile):
14896         (deplog): remove trailing \r when reading stream (useful under
14897         win32)
14898
14899 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14900
14901         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14902         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14903         and BufferView::theLockingInset(Inset*), so should use them and not
14904         access bv_->text->the_locking_inset directly.
14905
14906         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14907
14908 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * Makefile.am:
14911         * tex-defs.h: remove old unused file
14912
14913 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14914
14915         * BufferView_pimpl.C: fix typo, remove minibuffer message
14916           when buffer has loaded
14917
14918 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14919
14920         * lyxfunc.C (Dispatch): use stringstream
14921         (MenuNew): use stringstream
14922         (Open): use stringstream
14923
14924         * importer.C (Import): use stringstream
14925
14926         * bufferview_funcs.C (CurrentState): use stringstream
14927
14928         * LaTeX.C (run): use stringstream
14929
14930         * BufferView_pimpl.C (savePosition): use stringstream
14931         (restorePosition): use stringstream
14932         (MenuInsertLyXFile): use stringstream
14933
14934 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14935
14936         * BufferView.C:
14937         * Bullet.C:
14938         * ColorHandler.C:
14939         * FontInfo.C:
14940         * FontLoader.C:
14941         * LColor.C:
14942         * LaTeXFeatures.C:
14943         * Painter.C:
14944         * gettext.C:
14945         * lyx_gui_misc.C:
14946         * lyxserver.C:
14947         * vspace.C: removed // -*- C++ -*- as first line.
14948
14949         * lyxfind.h:
14950         * version.h: added // -*- C++ -*- as first line.
14951
14952 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14955
14956         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14957         of string
14958
14959 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14962         of floats.
14963
14964 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * gettext.C: include LString.h even when --disable-nls is on.
14967
14968 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14969
14970         * converter.h (Get): changed argument type from int to
14971         FormatList::size_type to avoid unnecessary conversion.
14972
14973         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14974         before using it.
14975
14976 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * gettext.h: include LString.h even when --disable-nls is on.
14979
14980 2001-06-07  Juergen Vigna  <jug@sad.it>
14981
14982         * text.C (BreakAgain): subst spaces with tabs.
14983
14984         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14985         (resizeInsetsLyXText): set force on resizeLyXText.
14986
14987 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * gettext.h (gettext_init):
14990         (locale_init): use a real definition instead of a macro
14991
14992 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * Bufferview_pimpl.C:
14995         * LColor.h:
14996         * LColor.C: further lcolor tidies
14997
14998 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14999
15000         * BufferView_pimpl.C (updateScrollbar): simplify.
15001
15002         * BufferView2.C: don't include insets/insetinfo.h, change
15003         prototype for insertInset and call the Pimpl version. let
15004         updateInset call Pimpl version.
15005
15006         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15007         gotoInset to BufferView::Pimpl
15008
15009 2001-06-01  Juergen Vigna  <jug@sad.it>
15010
15011         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15012         inside a LockingInset (is the update needed at all?).
15013
15014 2001-05-31  Juergen Vigna  <jug@sad.it>
15015
15016         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15017         here not the old one otherwise how should we compare it afterwards
15018         if it's the same!
15019
15020 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * lyxfont.C:
15023         * tabular.C:
15024         * tabular-old.C:
15025         * FontInfo.C: bring C functions into global namespace when
15026         necessary
15027
15028 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * LString.h: make sure config.h has been loaded before LString.h.
15031
15032         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15033         (one for each char read by EatLine!).
15034
15035         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15036         variables.
15037
15038 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15041         to the same as the par we break from
15042
15043 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15046
15047         * MenuBackend.C (expand): also create menu entries for wide
15048         versions of the floats.
15049
15050         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15051
15052         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15053
15054         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15055         frontends/Makefile.am
15056
15057         * text2.C: adjust
15058         * text.C: adjust
15059
15060
15061         * tabular.C (getTokenValue): add std::
15062
15063         * tabular-old.C (getTokenValue): add std::
15064         (getTokenValue): ditto
15065         (getTokenValue): ditto
15066
15067         * screen.C (ToggleSelection): adjust
15068
15069         * lyxtext.h: put selection cursors inside a Selection struct.
15070
15071         * lyxfunc.C (moveCursorUpdate): adjust
15072
15073         * lyxfont.C (latexWriteStartChanges): add std::
15074
15075         * lyxfind.C: adjust
15076
15077         * font.h: delete with(char const *, LyXFont const &)
15078
15079         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15080
15081         * FontInfo.C (getFontname): add std::
15082
15083         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15084         (workAreaButtonPress): adjust
15085         (tripleClick): adjust
15086         (update): adjust
15087         (moveCursorUpdate): adjust
15088         (Dispatch): adjust
15089
15090         * BufferView2.C (gotoInset): adjust
15091
15092 2001-05-30  Juergen Vigna  <jug@sad.it>
15093
15094         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15095         to check pspell I add this as default as I now have new pspell
15096         libraries and they seem to use this.
15097
15098 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * text2.C (CutSelection): make the cursor valid before the call to
15101         ClearSelection.
15102
15103 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15104
15105         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15106         relied on 0 terminated strings and other horrors. Bug found due to
15107         the new assert in lyxstring!
15108
15109         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15110         KP_ keys.
15111
15112 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15115         to latinkeys.bind.
15116
15117         * lyxfunc.C (processKeySym): change method of getting to the
15118         self-insert char.
15119
15120         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15121         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15122         * BufferView_pimpl.[Ch]: here as private methods.
15123
15124 2001-05-28  Juergen Vigna  <jug@sad.it>
15125
15126         * text.C (SetHeightOfRow): added the update() call again as it is
15127         needed to initialize inset dimensions!
15128
15129 2001-05-16  Juergen Vigna  <jug@sad.it>
15130
15131         * text2.C (SetCharFont): Add new function with BufferView * and
15132         bool toggleall parameters for setting insets internal fonts.
15133         (SetFont): Freeze the undo as we may change fonts in Insets and
15134         all this change should be inside only one Undo!
15135
15136         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15137         setting font's in insets as for them we have the SetFont function!
15138
15139 2001-05-15  Juergen Vigna  <jug@sad.it>
15140
15141         * text2.C (ClearSelection): to be sure we REALLY don't have any
15142         selection anymore!
15143
15144         * tabular.C (TeXCellPreamble): fixed the left border problem for
15145         multicolumn cells.
15146
15147 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15148
15149         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15150         dependancy file
15151
15152 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15155         LFUN_BREAKPARAGRAPH.
15156
15157         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15158         help test to "internal only", similar for LFUN_INSERT_URL
15159
15160         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15161         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15162         auto_region_delete and deadkeys.
15163
15164 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15165
15166         * LColor.h:
15167         * LColor.C: remove some dead entries, tidy a little
15168
15169 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15172         commented code.
15173         (Dispatch): implement LFUN_ESCAPE
15174
15175         * commandtags.h: add LFUN_ESCAPE
15176
15177         * LyXAction.C (init): add entry for LFUN_ESCAPE
15178
15179         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15180         Remove commented code.
15181         (insertNote): moved here
15182         (open_new_inset): moved here
15183
15184         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15185         BufferView_pimpl
15186
15187 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * kbmap.C (findbinding): clean it up and make it work correctly.
15190
15191         * lyx_main.C (init): do not pass argc and argv as parameters
15192
15193 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15194
15195         * buffer.C: fix path for OS/2 & Win32
15196
15197         * lyx_gui.C:
15198         * lyx_main:
15199         * lyx_main.C: Added os:: class.
15200
15201         * os2_defines.h: update
15202
15203 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15206         better by trying again with reduced state.
15207
15208 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15209
15210         * lyxrc.C (read): print error about invalid key sequence only when
15211         debugging (because not all latinX keysyms are known to some X
15212         servers)
15213
15214         * kbsequence.C (getiso): add a few std:: qualifiers
15215         (getiso): comment out extra return statement.
15216
15217 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15218
15219         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15220         handling.
15221         (Dispatch): enhance the accent inset a bit. (not perfect)
15222
15223 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15224
15225         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15226
15227 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * bufferlist.C (emergencyWrite): fix assert() call
15230
15231 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15232
15233         * text.C (InsertChar): Added trivial patch to only send the "you
15234         can not do multiple spaces this way" message once during a
15235         session.
15236
15237 2001-05-08  Baruch Even  <baruch@lyx.org>
15238
15239         * Makefile.am: Changed order of libraries to get LyX to link properly
15240         with the gnome frontend.
15241
15242 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15243
15244         * LaTeXFeatures.h: add a std:: qualifier
15245
15246 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15247
15248         * paragraph.C (String): use stringstream
15249
15250 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15251
15252         * paragraph.C (writeFile): remove footflag arg
15253
15254         * buffer.C (makeLaTeXFile): use stringstream
15255         (latexParagraphs): remove footnot gurba
15256
15257         * LaTeXFeatures.C (getPackages): use stringstream
15258         (getMacros): likewise
15259         (getTClassPreamble): likewise
15260         (getFloatDefinitions): new method
15261
15262         * paragraph.C (writeFile): reindent
15263         (Erase): reindent
15264
15265         * WorkArea.h: revert the xpos + etc changes.
15266
15267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15268
15269         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15270
15271         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15272         (pasteSelection): likewise
15273         * text2.C (CreateUndo): likewise
15274
15275 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * minibuffer.C (peek_event): temporarily reduce the functionality
15278         of the minibuffer (to allow args on lfuns)
15279
15280         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15281         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15282
15283         * buffer.C (readInset): add compability reading of old float
15284         lists, add reading of new style float list.
15285         (readInset): avoid reevaluation of inscmd.getCmdName()
15286         (getLists): reindent
15287
15288         * MenuBackend.C (MenuItem): implement parsing of
15289         md_floatlistinsert and md_floatinsert.
15290         (expand::LastFiles): move initalizaton of iterators out of loop,
15291         avoid reevaluation.
15292         (expand::Documents): introduce typdedef vector<string> Strings,
15293         and use it.
15294         (expand::ExportFormats): introduce typedef vector<Format const *>
15295         Formats, and use it.
15296         (expand): implement FloatListInsert and FloatInsert.
15297
15298         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15299         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15300         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15301
15302         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15303         handling.
15304         (Dispatch::LFUN_FLOAT_LIST): implement
15305
15306 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15307
15308         * LaTeX.C (run): Fix problem with --export code.
15309
15310 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15311
15312         * BufferView.[Ch] (workarea): removed.
15313         (getClipboard) new method; wrapper for workarea()->getClipboard()
15314
15315         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15316         bug.
15317
15318         * WorkArea.h (width, height, xpos, ypos): These methods all
15319         returned the dimensions of the work_area sub-area of WorkArea,
15320         resulting in a position error if the WorkArea were resized. Now
15321         return the dimensions of the entire WorkArea.
15322
15323         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15324
15325 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15326
15327         * LaTeX.C (deplog): correct the syntax of regex reg1
15328
15329 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15330
15331         * undo.C: remove !NEW_INSETS cruft
15332
15333 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15334
15335         * text2.C: remove !NEW_INSETS cruft
15336
15337         * text.C: remove !NEW_INSETS cruft
15338
15339         * tabular.C: remove !NEW_INSETS cruft
15340
15341         * spellchecker.C: remove !NEW_INSETS cruft
15342
15343         * lyxtext.h: remove !NEW_INSETS cruft
15344
15345         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15346
15347         * lyxfunc.C: remove !NEW_INSETS cruft
15348
15349         * lyxfind.C: remove !NEW_INSETS cruft
15350
15351         * lyx_cb.C: remove !NEW_INSETS cruft
15352
15353         * figureForm.C: remove  !NEW_INSETS cruft
15354
15355         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15356
15357         * buffer.[Ch]: remove !NEW_INSETS cruft
15358
15359         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15360
15361         * CutAndPaste.C: remove !NEW_INSETS cruft
15362
15363         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15364
15365         * BufferView2.C: remove !NEW_INSETS cruft
15366
15367         * BufferView.h: remove !NEW_INSETS cruft
15368
15369 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15370
15371         * Lsstream.h: include LString.h before the sstream headers to
15372         fix problem with gcc 2.95.3 and lyxstring
15373
15374 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * lyx_main.C: add using directives when needed for C functions
15377         declared in std:: namespace.
15378
15379 2001-04-27  Juergen Vigna  <jug@sad.it>
15380
15381         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15382         (SetHeightOfRow): comment out the update call should not be needed!
15383
15384 2001-04-13  Juergen Vigna  <jug@sad.it>
15385
15386         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15387         (LyXTabular): tried to minimize operator= operations (and realized
15388         hopfully Lars wish).
15389
15390 2001-04-27  Juergen Vigna  <jug@sad.it>
15391
15392         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15393
15394 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15397
15398         * buffer.C (readInset): hack to make listof algorithm work
15399
15400         * BufferView_pimpl.C: hack to make listof algorithm work
15401
15402 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15403
15404         * LyXAction.C: removed all !NEW_INSETS cruft
15405         (init): moved lfun_item in method
15406
15407         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15408
15409 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15410
15411         * BufferView2.C (theLockingInset): white space.
15412
15413 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15414
15415         * minibuffer.C: include <iostream>
15416
15417         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15418
15419         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15420
15421         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15422
15423         * text.[Ch] (TransposeChars): new method
15424
15425 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * call message directly through LyXView instead of through LyXFunc
15428         * BufferView2.C: adjust
15429         * BufferView_pimpl.C: adjust
15430         * FontLoader.C: adjust
15431         * buffer.C: adjust
15432         * bufferview_funcs.C: adjust
15433         * converter.C: adjust
15434         * figureForm.C: adjust
15435         * importer.C: adjust
15436         * lyx_cb.C: adjust
15437         * lyx_gui_misc.C: adjust
15438         * lyxfunc.C: adjust
15439         * lyxvc.C: adjust
15440         * text2.C: adjust
15441         + more files in subdirs
15442
15443         * lyxparagraph.h (size): move up int file
15444         (GetLayout): ditto
15445
15446         * adjust all uses of Assert to lyx::Assert.
15447
15448         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15449         lyxfunctional in namespace lyx
15450         * layout.C (hasLayout): ditto
15451         (GetLayout): ditto
15452         (GetLayout): ditto
15453         (delete_layout): ditto
15454         (NumberOfClass): ditto
15455         * converter.C (GetFormat): ditto
15456         (GetNumber): ditto
15457         (Add): ditto
15458         (Delete): ditto
15459         (SetViewer): ditto
15460         * bufferlist.C (getFileNames): ditto
15461         (emergencyWriteAll): ditto
15462         (exists): ditto
15463         (getBuffer): ditto
15464         * MenuBackend.C (hasSubmenu): ditto
15465         (hasMenu): ditto
15466         (getMenu): ditto
15467         * BufferView_pimpl.C (getInsetByCode): ditto
15468
15469 2001-04-18  Juergen Vigna  <jug@sad.it>
15470
15471         * vspace.C (asLatexString): fixed the 100% problem.
15472
15473 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * lyxfunc.C (Dispatch):
15476         * minibuffer.C:
15477         * minibuffer.h: add a few std:: qualifiers
15478
15479 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * minibuffer.[Ch]: reimplement so that commands is initiated and
15482         run from lyxfunc, simplified som handling, and made the completion
15483         and history code for complete. wip.
15484
15485         * lyxfunc.C (processKeySym): call message
15486         (miniDispatch): new temporary method
15487         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15488         (LFUN_MESSAGE): implement
15489         (LFUN_MESSAGE_PUSH): implement
15490         (LFUN_MESSAGE_POP): implement
15491         (initMiniBuffer): the initial/defualt minibuffer message.
15492
15493         * lyxfont.[Ch]: inline some more getters
15494
15495         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15496
15497         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15498
15499         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15500         (AutoSave): use LFUN_MESSAGE
15501         (Reconfigure): ditto
15502
15503         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15504
15505         * figureForm.C: use LFUN_MESSAGE
15506
15507         * converter.C (runLaTeX): use LFUN_MESSAGE
15508
15509         * bufferview_funcs.C: use LFUN_MESSAGE
15510         (Melt): ditto
15511         (changeDepth): ditto
15512
15513         * bufferparams.h: use boost::
15514
15515         * bufferlist.h: inherit privately from noncopyable
15516
15517         * bufferlist.C (loadLyXFile): remove some commented code.
15518
15519         * buffer.C (runChktex): use LFUN_MESSAGE
15520
15521         * ShareContainer.h: inherit privately from noncopyable
15522
15523         * ParagraphParameters.[hC] (depth): inline it.
15524
15525         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15526         methods.
15527         (message): new method
15528         (messagePush): ditto
15529         (messagePop): ditto
15530         (show): init minibuffer
15531         (showState): direct call
15532
15533         * LaTeX.[Ch]: inherit privately from noncopyable
15534         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15535         instead of WriteStatus.
15536
15537         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15538
15539         * BufferView_pimpl.C (buffer): don't init minibuffer
15540         (workAreaButtonPress): use LFUN_MESSAGE
15541         (workAreaButtonRelease): ditto
15542         (savePosition): ditto
15543         (restorePosition): ditto
15544         (MenuInsertLyXFile): ditto
15545         (workAreaExpose): don't init minibuffer
15546         (update): remove commented code, simplify
15547
15548         * BufferView2.C (openStuff): use LFUN_MESSAGE
15549         (toggleFloat): ditto
15550         (menuUndo): ditto
15551         (menuRedo): ditto
15552         (copyEnvironment): ditto
15553         (pasteEnvironment): ditto
15554         (copy): ditto
15555         (cut): ditto
15556         (paste): ditto
15557         (gotoInset): ditto
15558         (updateInset): remove some commented code
15559
15560         * lastfiles.h: inherit privately from noncopyable
15561         * layout.h: ditto
15562         * lyx_gui.h: ditto
15563         * lyx_main.h: ditto
15564         * lyxlex.h: ditto
15565         * lyxlex_pimpl.h: ditto
15566
15567         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15568         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15569         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15570
15571         * LyXAction.h: inherit privately from noncopyable, add methods
15572         func_begin, func_end, returning iterators to the func map.
15573
15574         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15575         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15576         (func_begin): new method
15577         (func_end): new method
15578
15579         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15580         and not)
15581         (copySelection): ditto
15582         (pasteSelection): ditto
15583
15584         * BufferView.C: whitespace change
15585         * BufferView.h: inherit privately from noncopyable
15586
15587 2001-04-16  Allan Rae  <rae@lyx.org>
15588
15589         * tabular-old.C (l_getline):
15590         * spellchecker.C (sc_check_word):
15591         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15592         an unrecognised preprocessor directive.  So ensure they're wrapped.
15593
15594 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * src/exporter.C (Export): Give an error message when path to file
15597         contains spaces.
15598
15599 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * LaTeX.C (deplog): Always check that foundfile exists.
15602
15603 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyx_main.h:
15606         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15607
15608 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15609
15610         * tabular.[Ch] (getLabelList): implement new method
15611
15612         * minibuffer.h: comment ouf setTiimer
15613
15614         * minibuffer.C (ExecutingCB): constify res
15615         (peek_event): constify s
15616         (Set): constify ntext
15617         (Init): constify nicename
15618
15619         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15620
15621         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15622         (savePosition): use two params to Minibuffer::Set
15623         (restorePosition): ditto
15624
15625 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * lyx_main.C: include language.h
15628
15629         * Makefile.am (lyx_main.o): add language.h
15630
15631 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * exporter.C:
15634         * paragraph.C:
15635         * screen.C:
15636         * tabular.C:
15637         * CutAndPaste.C: include gettext.h
15638
15639         * lyxfont.h: remove old hack with ON and OFF.
15640
15641         * lyxparagraph.h:
15642         * lyxfont.h: do not include language.h...
15643
15644         * BufferView2.C:
15645         * LaTeXFeatures.C:
15646         * Painter.C:
15647         * bufferview_funcs.C:
15648         * font.C:
15649         * lyxfont.C:
15650         * text.C:
15651         * text2.C:
15652         * trans_mgr.C:
15653         * paragraph.C: ... but do it here instead
15654
15655 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15656
15657         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15658
15659         * tabular.C: small reformat
15660
15661         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15662         NEW_INSETS version
15663         (GetChar): ditto
15664         (BreakParagraph): ditto
15665         (SetOnlyLayout): ditto
15666         (SetLayout): ditto
15667
15668         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15669         with one arg less.
15670
15671         * lastfiles.C: removed most using decl, add std:: where needed
15672
15673         * buffer.C: ws changes
15674
15675         * MenuBackend.C (class compare_format): put into anon namespace
15676         (expand): constify label, names, action, action2
15677         (expand):
15678
15679         * text.C (SingleWidth): constify font
15680         (IsBoundary): constify rtl2
15681         (GetVisibleRow): constify ww
15682
15683         * LaTeX.C (deplog): constify logfile
15684
15685         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15686         start_x, end_x
15687         (workAreaExpose): constify widthChange, heightChange
15688
15689         * lyxrow.C (par): moved
15690         (height): moved
15691         (next): moved
15692         * lyxrow.h: as inlines here
15693
15694         * lyxfont.h (shape): moved from lyxfont.C
15695         (emph): moved from lyxfont.C
15696
15697         * lyxfont.C (LyXFont): use initialization list for all
15698         constructors
15699         (shape): move to lyxfont.h as inline
15700         (emph): move to lyxfont.h as inline
15701
15702
15703 2001-04-04  Juergen Vigna  <jug@sad.it>
15704
15705         * vspace.C: had to include stdio.h for use of sscanf
15706
15707 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15708
15709         * BufferView.h:
15710         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15711         independent of xforms.
15712
15713 2001-04-02  Juergen Vigna  <jug@sad.it>
15714
15715         * spellchecker.C: fixed namespace placing!
15716
15717 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15718
15719         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15720         the LyXParagraph * is 0.
15721
15722 2001-03-29  Juergen Vigna  <jug@sad.it>
15723
15724         * vspace.C: added support for %, c%, p%, l%.
15725         (stringFromUnit): added helper function.
15726         (asLatexString): changed to give right results for the %-values.
15727
15728         * buffer.C: convert the widthp in a width%.
15729
15730 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15731
15732         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15733         figureForm.[Ch].
15734
15735         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15736         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15737
15738         * lyx_cb.[Ch]: see above.
15739
15740         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15741         form1.[Ch].
15742
15743         * form1.[Ch]:
15744         * lyx.[Ch]: replaced by figure_form.[Ch].
15745
15746         * lyx_gui.C:
15747         * lyx_gui_misc.C:
15748         * lyxfunc.C: changed headers associated with above changes.
15749
15750 2001-03-27  Juergen Vigna  <jug@sad.it>
15751
15752         * BufferView_pimpl.C: set the temporary cursor right!
15753
15754 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15757
15758 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15759
15760         * LString.h: removed "using std::getline"!
15761
15762         * BufferView_pimpl.C (Dispatch): changes due to changes in
15763         InsetInclude::Params.
15764
15765         * buffer.C (tag_name): removed redundant break statements as they were
15766         producing lots of warnings with my compiler.
15767
15768 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * LString.h: add "using std::getline" when using the real <string>.
15771
15772 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15773
15774         * buffer.C: removed bitset usage.
15775         PAR_TAG moved to an anonymous name space.
15776         (tag_name): new funtion, also in the anonymous namespace.
15777         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15778         (makeDocBookFile): clean code. Completed transition from string arrays
15779         to string vectors.
15780         (SimpleDocBookOnePar): code clean.
15781
15782 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15783
15784         * tabular.C: add some comments.
15785
15786 2001-03-22  Juergen Vigna  <jug@sad.it>
15787
15788         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15789         compatibility read a bit and fixed bug with minipage in different
15790         depth.
15791
15792 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15793
15794         * buffer.C (pop_tag): removed.
15795         (push_tag): removed.
15796         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15797         array replaced with vector. Added support for CDATA sections.
15798         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15799         at any nest level.
15800         (makeDocBookFile): XML conformant declaration of CDATA section,
15801         fixed bug related to <emphasis> in the first paragraph char.
15802         (sgmlOpenTag): exclude empty tags.
15803         (sgmlCloseTag): ditto.
15804
15805         * buffer.h (pop_tag): removed.
15806         (push_tag): removed.
15807
15808 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15809
15810         * language.h (Languages): added size_type and size().
15811
15812 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15813
15814         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15815         response on compability reading of minipages. One probliem is that
15816         the old usage of minipages was «flertydig»
15817
15818         * several files here and in subdirs: don't use static at file
15819         scope use anon namespaces instead.
15820
15821 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15822
15823         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15824         LaTeX output. This is necessary for Literate document
15825         processing.
15826
15827 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15828
15829         * buffer.C: insert hfill when needed.
15830
15831         * tabular.C (l_getline): use string::erase, small whitespace change.
15832
15833         * BufferView_pimpl.C: try the anon namespace.
15834         * WorkArea.C: ditto
15835
15836 2001-03-16  Juergen Vigna  <jug@sad.it>
15837
15838         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15839         otherwise it won't open options-dialogs.
15840
15841         * buffer.C: honor pextraWidth(p) on converting minipages.
15842
15843         * tabular.C (l_getline): changed the functions to strip trailing \r.
15844
15845 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15846
15847         * BufferView_pimpl.C:
15848         * minibuffer..C: added "using SigC::slot" declaration.
15849
15850 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15851
15852         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15853
15854         * text2.C: ditto
15855
15856         * text.C: ditto
15857
15858         * paragraph.C: ditto
15859
15860         * lyxtext.h: NO_PEXTRA
15861
15862         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15863
15864         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15865         * ParameterStruct.h: ditto
15866         * ParagraphParameters.h: ditto
15867         * lyxparagraph.h: ditto
15868
15869 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15870
15871         * buffer.C: add compability for minipage alignment.
15872         (latexParagraphs): remove unwanted pextra check.
15873
15874         * several files: remove CXX_WORKING_NAMESPACES
15875
15876         * buffer.C (pop_tag): tie is in namespace boost
15877
15878         * BufferView.h: noncopyable is in namespace boost
15879         * lyxlex.h: ditto
15880         * lyx_main.h: ditto
15881         * lyx_gui.h: ditto
15882         * layout.h: ditto
15883         * lastfiles.h: ditto
15884         * bufferlist.h: ditto
15885         * ShareContainer.h: ditto
15886         * LyXView.h: ditto
15887         * LyXAction.h: ditto
15888         * LaTeX.h: ditto
15889
15890 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15891
15892         * Merging changes from BRANCH_MVC back into HEAD.
15893
15894         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15895
15896 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15897
15898         * BufferView_pimpl.C: change from intl.C
15899
15900         * combox.h:
15901         * combox.C:
15902         * Makefile.am: move combox.*
15903
15904         * form1.h:
15905         * form1.C:
15906         * lyx_gui.C:
15907         * intl.h:
15908         * intl.C: remove dialog (covered by prefs)
15909
15910 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15911
15912         * lyxfunc.C (Dispatch): removed redundant break statement.
15913
15914 2001-03-14  Juergen Vigna  <jug@sad.it>
15915
15916         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15917
15918 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15919
15920         * buffer.C: add hack to fix compability reading of minipages.
15921
15922 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15923
15924         * buffer.C (getLists): Cleanup.
15925
15926 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * lyxfont.C (update): don't honor toggleall on font size.
15929
15930 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15931
15932         * bmtable.c:
15933         * bmtable.h:
15934         * Makefile.am: moved to frontends/xforms/
15935
15936         * lyx_gui_misc.C:
15937         * lyxfunc.C:
15938         * BufferView_pimpl.C: changes for moved mathpanel
15939
15940 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15941
15942         * gettext.h: fix gettext_init() in --disable-nls
15943
15944 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15947
15948 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15949
15950         * lyx.C:
15951         * lyx.h: strip external form
15952
15953 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * BufferView_pimpl.C: add comment, destroySplash()
15956
15957 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15958
15959         * BufferView_pimpl.C:
15960         * LyXAction.C:
15961         * buffer.C:
15962         * commandtags.h:
15963         * lyxfunc.C: use re-worked insetinclude
15964
15965 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15966
15967         * buffer.C: add using std::stringstream.
15968
15969         * lyx_cb.C: readd using std::ios.
15970
15971         * buffer.C: add using std::map.
15972
15973         * BufferView_pimpl.C: add using std::vector.
15974
15975         * ShareContainer.h: add std:: to swap.
15976
15977         * buffer.h: add some typedefs
15978         * buffer.C (getLists): use them
15979         (getLists): renamed from getTocList.
15980         add a counter for the different float types and use it in the
15981         generated string.
15982         (getLists): use the same counter for the NEW_INSETS and the "non"
15983         NEW_INSETS
15984
15985         * lyx_cb.h: remove unused items, includes, using etc.
15986
15987         * ShareContainer.h: remove some commented code, add more comments
15988         and "documentation".
15989
15990 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15991
15992         * buffer.C (getTocList): make the list also when NEW_INSETS is
15993         defined.
15994
15995         * buffer.h: remove TocType
15996
15997         * buffer.C (getTocList): change to return a map<string,
15998         vector<TocItem> >, implement for dynamic number of list.
15999
16000         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16001         * text2.C (PasteSelection): adjust
16002         * CutAndPaste.C (pasteSelection): adjust
16003
16004         * FloatList.C (FloatList): update from the new_insets branch.
16005         * Floating.[Ch]: ditto
16006         * LaTeXFeatures.C: ditto
16007         * buffer.C: ditto
16008         * lyxlex_pimpl.C: ditto
16009
16010         * paragraph.C (Last): remove when NEW_INSETS is defined.
16011
16012         * other file: changes because of the above.
16013
16014 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16015
16016         * lyxparagraph.h: rename next to next_, previous to previous_,
16017         make them private for NEW_INSETS. Rename Next() to next(),
16018         Previous() to previous().
16019
16020         * other files: changes because of the above.
16021
16022 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * BufferView.h:
16025         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16026         problem.
16027
16028 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * main.C (main): pass lyx_localedir to gettext_init().
16031
16032         * gettext.h: remove locale_init and gettext_init macros
16033
16034         * gettext.C (locale_init): new function
16035         (gettext_init): new function
16036
16037         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16038         setlocale().
16039
16040 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16041
16042         * Moved credits to frontends:
16043         * credits.[Ch]: removed
16044         * credits_form.[Ch]: removed
16045         * lyx_gui_misc.C: remove credits stuff
16046         * Makefile.am:
16047
16048 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16049
16050         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16051
16052         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16053         unneeded destructor.
16054
16055         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16056         a standalone pointer again.
16057
16058         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16059
16060 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16061
16062         * Makefile.am:
16063         * filedlg.h:
16064         * filedlg.C:
16065         * LyXAction.C:
16066         * ToolbarDefaults.C:
16067         * bufferlist.C:
16068         * commandtags.h:
16069         * form1.C:
16070         * form1.h:
16071         * lyx_cb.C:
16072         * lyx_cb.h:
16073         * lyxfunc.h:
16074         * lyxfunc.C:
16075         * BufferView_pimpl.C: use new file dialog in GUII
16076
16077         * lyx_cb.h:
16078         * lyx_cb.C: remove LayoutsCB to Toolbar
16079
16080 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * ShareContainer.h (get): add std:: qualifier
16083
16084 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * ShareContainer.h: define a proper ShareContainer::value_type
16087         type (and use typename to please compaq cxx)
16088
16089 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16090
16091         * lyxparagraph.h: move serveral local vars to
16092         ParameterStruct/ParagraphParameters., use ShareContainer in
16093         FontTable., make vars in FontTable private and add getter and
16094         setter.
16095
16096         * paragraph.C: changes because of the above.
16097
16098         * lyxfont.h: remove copy constructor and copy assignment. (the
16099         default ones is ok), move number inside FontBits. move inlines to
16100         lyxfont.C
16101
16102         * lyxfont.C: add number to initializaton of statics, move several
16103         inlines here. constify several local vars. some whitespace
16104         cleanup. Dont hide outerscope variables.
16105
16106         * Spacing.h: add two new constructors to match the set methods.
16107
16108         * ShareContainer.h: new file, will perhaps be moved to support
16109
16110         * ParameterStruct.h: new file
16111
16112         * ParagraphParameters.h: new file
16113
16114         * ParagraphParameters.C: new file
16115
16116         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16117         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16118
16119         * BufferView_pimpl.C: ParagraphParameter changes.
16120         * buffer.C: Likewise.
16121         * bufferview_funcs.C: Likewise.
16122         * text.C: Likewise.
16123         * text2.C: Likewise.
16124
16125 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16126
16127         * lyxfind.C (LyXReplace): do not redefine default argument in
16128         implementation.
16129         (IsStringInText): ditto
16130         (SearchForward): ditto
16131         (SearchBackward): ditto
16132
16133 2001-03-06  Juergen Vigna  <jug@sad.it>
16134
16135         * lyxfind.C (IsStringInText): put parentes around expressions.
16136
16137 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16138
16139         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16140
16141 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16142
16143         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16144
16145         * stl_string_fwd.h: add comment
16146
16147         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16148
16149         * tabular.h:
16150         * tabular.C: remove unused DocBook methods
16151
16152         * intl.C:
16153         * language.C:
16154         * paragraph.C:
16155         * buffer.C:
16156         killed DO_USE_DEFAULT_LANGUAGE
16157
16158 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16159
16160         * lyx_gui.C: do not include language.h.
16161
16162         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16163         arguments in function implementation.
16164
16165 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16166
16167         * BufferView_pimpl.C: add <ctime>
16168
16169 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16170
16171         * BufferView_pimpl.C: add using std::find_if
16172
16173 2001-02-27  José Matos  <jamatos@fep.up.pt>
16174
16175         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16176         by OnlyPath.
16177
16178 2001-02-11  José Matos  <jamatos@fep.up.pt>
16179
16180         * buffer.C (makeDocBookFile): command styles now have a parameter as
16181         "title" by default.
16182
16183 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16184
16185         * layout_forms.[Ch]: removed
16186         * lyx_cb.[Ch]: out character
16187         * lyx_gui.C: out character
16188         * lyx_gui_misc.C: out character
16189         * bufferview_funcs.C: : out character,
16190         added toggleall as parameter in ToggleAndShow
16191
16192 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16193
16194         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16195
16196         * text2.C (SetCurrentFont): Disable number property at boundary.
16197
16198 2001-02-26  Juergen Vigna  <jug@sad.it>
16199
16200         * lyxfunc.C (getStatus): added a string argument override function so
16201         that this is correctly called from LyXFunc::Dispatch if it contains a
16202         do_not_use_argument which is used!
16203         (Dispatch): added check for "custom" export and call appropriate func.
16204
16205 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16206
16207         * lyxrc.C: Add language_command_local, language_use_babel and
16208         language_global_options.
16209
16210         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16211
16212         * buffer.C (makeLaTeXFile): Use language_use_babel and
16213         language_global_options.
16214
16215 2001-02-23  Juergen Vigna  <jug@sad.it>
16216
16217         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16218         which works with LyXText and putted it inside BufferView. Here now we
16219         only call for that part the BufferView::Dispatch() function.
16220
16221         * BufferView.C (Dispatch): added.
16222
16223         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16224         functions which needs to use a LyXText over from LyXFunc.
16225         (MenuInsertLyXFile): added
16226         (getInsetByCode): added
16227         (moveCursorUpdate): added
16228         (static TEXT): added
16229
16230 2001-02-22  Juergen Vigna  <jug@sad.it>
16231
16232         * BufferView_pimpl.C (update): call a status update to see if LyXText
16233         needs it.
16234
16235 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16236
16237         * vc-backend.C (revert): implement for CVS
16238         (getLog): implement for CVS
16239
16240 2001-02-20  Juergen Vigna  <jug@sad.it>
16241
16242         * text2.C (ClearSelection): added BufferView param for inset_owner call
16243
16244         * lyxfunc.C (TEXT): added this function and use it instead of
16245         directly owner->view()-text of getLyXText().
16246
16247 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16248
16249         * src/layout_forms.C: out preamble
16250         * src/layout_forms.h: out preamble
16251         * src/lyx_cb.C: out preamble
16252         * src/lyx_cb.h: out preamble
16253         * src/lyx_gui.C: out preamble
16254         * src/lyx_gui_misc.C: out preamble
16255         * src/lyxfunc.C: connect with guii preamble
16256
16257 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16258
16259         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16260
16261 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16264         whether to run bibtex.
16265
16266 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16269
16270 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16271
16272         * Makefile.am (lyx_SOURCES): removed bibforms.h
16273
16274         * vspace.h: doxygen
16275
16276         * text.C (GetVisibleRow): make several local vars const
16277
16278         * tabular.C: small cleanup.
16279
16280         * lyxserver.C (callback): use compare instead of strncmp
16281
16282         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16283         inlines to after class or to paragraph.C
16284
16285         * lyxfont.h: remove friend operator!=
16286
16287         * converter.h: move friend bool operator< to non friend and after
16288         class def.
16289
16290         * combox.h: small cleanup
16291
16292         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16293         to inlines after class def.
16294
16295         * buffer.C (pop_tag): use string operations instead of strcmp
16296
16297         * bmtable.c: doxygen, small cleanup
16298
16299         * LaTeX.h: remove friend operator==
16300
16301 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16302
16303         * screen.C:
16304         * lyxrc.[Ch]:
16305         * lyxfunc.C:
16306         * lyxfont.[Ch]:
16307         * lyx_cb.C:
16308         * intl.[Ch]:
16309         * commandtags.h:
16310         * buffer.C:
16311         * WorkArea.[Ch]:
16312         * LyXAction.C:
16313         * BufferView_pimpl.C:
16314         * BufferView.[Ch]: remove cruft
16315
16316 2001-02-14  Juergen Vigna  <jug@sad.it>
16317
16318         * lyxfunc.C: removed #if 0 unused code
16319
16320         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16321
16322         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16323
16324         * text2.C (SetSelection): added a BufferView * parameter
16325
16326 2001-02-13  Juergen Vigna  <jug@sad.it>
16327
16328         * lyxfunc.C (Dispatch): fixed protected blank problem.
16329         * BufferView2.C (protectedBlank): added LyxText * parameter.
16330
16331         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16332         (AppendColumn): same as above for column_info.
16333
16334         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16335         (moveCursorUpdate): use a LyXText param for support of InsetText.
16336
16337         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16338         (tripleClick): ditto
16339
16340         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16341
16342         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16343
16344         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16345
16346         * text2.C (SetSelection): set correct update status if inset_owner
16347         (ToggleFree): ditto
16348
16349 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16350
16351         * tabular.C: remove some commented code.
16352
16353 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16354
16355         * BufferView_pimpl.C: call hideSplash()
16356
16357         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16358
16359         * include_form.h:
16360         * bibforms.h: remove
16361
16362         * lyxfunc.C:
16363         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16364           add LFUN_CHILD_CREATE
16365
16366         * counters.h: fix tiny typo
16367
16368         * lyx_cb.C:
16369         * lyx.h:
16370         * lyx_gui.C:
16371         * lyx.C: move splash to frontends/xforms/
16372
16373         * lyx_gui_misc.C: move Include and Bibform to frontends
16374
16375         * lyxvc.h: clarify comment
16376
16377         * vspace.C: tiny housekeeping
16378
16379 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * text.C (PrepareToPrint): RTL Fix.
16382
16383         * paragraph.C (GetUChar): New method.
16384         (String):  Use GetUChar.
16385
16386         * buffer.C (asciiParagraph): Use GetUChar.
16387
16388 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16389
16390         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16391
16392 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16393
16394         * buffer.h:
16395         * buffer.C: rename to getLogName(), handle
16396           build log / latex log nicely
16397
16398 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * MenuBackend.C:
16401         * MenuBackend.h: remove support for reference menuitem type.
16402
16403 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16404
16405         * BufferView_pimpl.C: housekeeping
16406         * BufferView_pimpl.h:
16407         * LyXView.h:
16408         * Makefile.am:
16409         * Timeout.C:
16410         * Timeout.h:
16411         * minibuffer.h: move Timeout GUI-I
16412
16413 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16414
16415         * lyxrc.C (read): Update converters data-structures.
16416
16417 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16418
16419         * LaTeX.h (operator!=): add operator != for Aux_Info
16420
16421 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16422
16423         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16424
16425         * LaTeXLog.C: deleted, useful code moved to Buffer
16426
16427         * buffer.h:
16428         * buffer.C: new function getLatexLogName()
16429
16430         * lyx_gui_misc.C:
16431         * lyx_gui.C:
16432         * lyxvc.C:
16433         * lyxvc.h:
16434         * lyxfunc.C: use frontends for LaTeX and VC logs
16435
16436 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16437
16438         * LaTeX.h: yet another std:: that Allan forgot.
16439
16440         * Variables.C (set): renamed from isset(), because this clashes
16441         with some HP-UX macros (grr).
16442
16443 2001-02-06  Allan Rae  <rae@lyx.org>
16444
16445         * LaTeX.h: Another bug fix.  Missing std:: this time.
16446
16447 2001-02-04  Allan Rae  <rae@lyx.org>
16448
16449         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16450         floats problem. I've left it commented out because it's not quite
16451         correct.  It should also test that the current object is a table or
16452         figure inset.  But I haven't gotten around to figuring out how to do
16453         that.  I *think* it'll be something like: "table" == inset.type()
16454
16455         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16456         bool.
16457
16458 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16459
16460         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16461         all the citation/databases/styles in the auxilary file.
16462         (run): Rerun latex if there was a babel language error.
16463
16464 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16465
16466         * text.C (Backspace): Preserve the font when changing newline char
16467         with a space.
16468         (BreakParagraph): If the cursor is before a space, delete the space.
16469
16470         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16471
16472 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16473
16474         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16475         new argument (code).
16476         (ChangeCitationsIfUnique): New method.
16477
16478         * paragraph.C (GetPositionOfInset): Handle bibkey.
16479
16480 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * BufferView_pimpl.h: change type of Position::par_pos to
16483         LyXParagraph::size_type.
16484
16485 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16486
16487         * BufferView_pimpl.C (savePosition, restorePosition): Write
16488         messages to minibuffer.
16489
16490 2001-01-28  José Matos  <jamatos@fep.up.pt>
16491
16492         * buffer.C (makeDocBookFile): adds support for document language.
16493         A silly restriction on the name of LatexCommand types where removed.
16494         Added support for CDATA sections, allows to chars unescaped, used
16495         among others in code, to avoid escape < and >.
16496
16497 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16498
16499         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16500         saved positions instrad of a stack. Furthermore, a position is
16501         stored using paragraph id/paragraph position.
16502
16503         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16504         Remove LFUN_REF_BACK.
16505
16506 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16507
16508         * converter.C (dvipdfm_options): New method.
16509
16510 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16511
16512         * vspace.C (isValidLength): Fix for empty input string.
16513
16514 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * LyXAction.C (init): change description of LFUN_FIGURE to
16517         "Insert Graphics"
16518
16519 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16520
16521         * LaTeX.C: add using directive
16522
16523 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16524
16525         * MenuBackend.C (expand): Fix the sorting of the formats.
16526
16527 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16528
16529         * lyx_main.C: tiny error message fix
16530
16531 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16532
16533         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16534         calling fl_initialize(). This fixes the problem with ',' as
16535         decimal separator in text files.
16536
16537 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * trans.C (process): Fix the keymap bug.
16540
16541 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * LaTeX.C (scanAuxFiles): New method. Provides support for
16544         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16545         (scanLogFile) Scan for "run BibTeX" messages.
16546
16547         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16548         OT1 font encoding. Also, load the aecompl package if the ae
16549         package is loaded.
16550
16551         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16552
16553 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16554
16555         * texrow.C (increasePos): turn two error messages into debug
16556         messages.
16557
16558 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16559
16560         * LaTeX.C (scanAux): Handle the \@input macro.
16561         (runBibTeX): Use scanAux().
16562
16563         * language.C (latex_options_): New field.
16564
16565         * LaTeXFeatures.C (getMacros): Add language macros.
16566
16567         * buffer.C (makeLaTeXFile): Small fix.
16568
16569 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16572
16573         * text2.C: add a using directive.
16574
16575 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16576
16577         * BufferView2.C:
16578         * lyx_gui_misc.h:
16579         * lyxfr1.C:
16580         * lyxfunc.C: kill LyXBell.
16581
16582 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * text.C (IsBoundary): Remove the error message
16585
16586         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16587
16588         * lyxrc.C (setDefaults): Correct initialization value for
16589         font_norm_type.
16590
16591 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16592
16593         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16594         gotoError().
16595
16596         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16597         and GotoNextNote().
16598
16599         * src/LyXAction.C: Added reference-next.
16600
16601         * text.C (InsertChar): Use contains instead of strchr.
16602
16603         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16604
16605 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16606
16607         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16608         alignment commands (when needed).
16609
16610         * text.C (InsertChar): Add ':' to number separator chars.