]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
correctly disable buffer-related menu entries when a dialog has focus (bug 1720)
[lyx.git] / src / ChangeLog
1 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus): when the origin of the request is menu or
4         toolbar, and the LyXView does not have focus, do as if there was
5         no buffer (bug 1720)
6
7         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
8         FuncRequest to individual entries of LFUN_SEQUENCE
9
10 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * output_latex.C (TeXOnePar): override runparams.moving_arg
13         according to the needprotect value of the current paragraph (bug
14         1739)
15
16         * paragraph.C (simpleTeXOnePar): no need to override
17         runparams.moving_args here
18
19 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
20
21         * vspace.C: fix off-by-one-error, related to fix #1682
22
23 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * lengthcommon.C: a more general fix for bug 1682
26
27 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
28
29         * text.C (backspace): fix crash
30
31 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * format.[Ch] (getFormatFromFile): new method
34         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
35
36 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
39
40 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * lyxfunc.C (dispatch): remove the verbose argument
43         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
44         instead
45
46         * kbmap.C (defkey): set the origin of func to KEYBOARD
47
48         * MenuBackend.C (MenuItem): 
49         * ToolbarBackend.C (add): set the origin of func to UI
50
51         * funcrequest.[Ch]: add origin member, which indicates which part
52         of LyX requests an action
53
54 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
55
56         * converter.C (move): don't lie in the error message
57         * converter.h (isReachable, move): document
58
59 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
60
61         * buffer.C: remove unused using lyx::support::atoi
62         * paragraph_funcs.C: ditto
63
64 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
65
66         * bufferlist.C (exists): use bind and equal_to instead of
67         compare_memfun
68         (getBuffer): ditto
69         * lyxtextclasslist.C (NumberOfClass): ditto
70
71         * cursor.C (insert): use for_each instead of explicit for loop
72
73         * bufferlist.C (getFileNames): use std::transform and
74         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
75
76         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
77         for loop
78
79         * buffer.C (changeLanguage): use for_each instead of explicit for
80         loop
81         (hasParWithID): implement using getParFromID
82
83         * LaTeXFeatures.C: ws change only
84
85         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
86         to cleanup a bit.
87
88         * BufferView_pimpl.C (trackChanges): use for_each instead of
89         expilicit for loop
90
91 2004-11-04  André Pönitz  <poenitz@gmx.net>
92
93         * undo.h:
94         * undo.C (textUndoOrRedo): fix crash when creating undo information.
95
96         * dociterator.C (asDocIterator): use hard assert again.
97
98 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * lyxlength.C (asLatexString): rewrite so that it does not use
101         snprintf anymore
102
103 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * text3.C (specialChar, dispatch): make sure cursor moves to the
106         right after inserting an inset
107
108 2004-11-02  José Matos  <jamatos@lyx.org>
109
110         * output_docbook.C (docbook):
111         * paragraph.C (getID):
112         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
113         garantee that the output is always legal.
114
115         * tabular.C (docbook):
116         * outputprams.[Ch]: remove mixed contents.
117
118 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * text2.C (setCounter): prevent endless loop
121
122 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * exporter.C (copyFile): use the mover instead of support::copy()
125         * exporter.C (Export): pass format and latex name to copyFile()
126         * exporter.h (addExternalFile): document
127         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
128
129 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
132
133 2004-10-30  José Matos  <jamatos@lyx.org>
134
135         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
136         text and no inset or font change. This allows to use CDATA
137         sections just for the whole paragraph.
138
139 2004-10-30  José Matos  <jamatos@lyx.org>
140
141         * paragraph.C (getFirstWord): remove unused variable.
142
143 2004-10-30  José Matos  <jamatos@lyx.org>
144
145         * paragraph.C (getFirstWord): the content should always be escaped
146         there.
147         (simpleDocBookOnePar):
148         * output_docbook.C (makeEnvironment): replace reference to CDATA
149         to style pass_thru.
150
151 2004-10-30  José Matos  <jamatos@lyx.org>
152
153         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
154
155 2004-10-30  José Matos  <jamatos@lyx.org>
156
157         * output_docbook.C (makeParagraphs):
158         * paragraph.[Ch] (emptyTag): for docbook and company, if the
159         standard paragraph has only a given type of content drop the wrapper.
160
161 2004-10-29  José Matos  <jamatos@lyx.org>
162
163         * output_docbook.C (makeEnvironment):
164         * sgml.C (openTag):
165         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
166
167 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
168
169         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
170         (cleanID): sanitize any id.
171
172 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
173
174         * buffer.C, lyxlex_pimpl.C:
175         * lyxlex_pimpl.C (setFile):
176         s/getExtFromContents/getFormatFromContents/
177
178 2004-10-28  José Matos  <jamatos@lyx.org>
179
180         * output_docbook.C (makeEnvironment): move id to broadest possible
181         scope.
182
183         * sgml.C (openTag): apply substitution of <> for all attributes.
184
185 2004-10-28  José Matos  <jamatos@lyx.org>
186
187         * buffer.C (makeLinuxDocFile, makeDocBookFile):
188         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
189         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
190
191         * sgml.[Ch]: new version for open and closeTag for paragraph and
192         for strings. Now they handle the ids of paragraphs.
193
194 2004-10-26  Angus Leeming  <leeming@lyx.org>
195
196         * Makefile.am: add mover.[Ch].
197
198         * converter.C (convert, move): use the new Movers to move external
199         files to the temp directory.
200
201         * lyx_main.C (init): ensure that the global system_movers data
202         is initialised.
203
204         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
205         preferences file.
206
207         * mover.[Ch]: new files, defining a Mover as a utility to move an
208         external file between directories and, if necessary, manipulate this
209         file using a helper script.
210
211 2004-10-25  José Matos  <jamatos@lyx.org>
212
213         * output_docbook.C (makeCommand): merge two if's that tested the
214         same condition.
215
216 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * sgml.C (escapeString): fix warning in a better way
219
220 2004-10-25  José Matos  <jamatos@lyx.org>
221
222         * sgml.C (escapeString): import the require boosts header file for
223         tie, and avoid a signed unsigned comparison.
224
225 2004-10-25  José Matos  <jamatos@lyx.org>
226
227         * sgml.h: add #include <string>
228
229 2004-10-25  José Matos  <jamatos@lyx.org>
230
231         * sgml.[Ch] (escapeString): new function to escape all the string.
232
233 2004-10-24  José Matos  <jamatos@lyx.org>
234
235         * paragraph.[Ch] (getFirstWord): new function to get the first
236         word. Useful for description.
237         (simpleDocBookOnePar): remove depth argument, add another that
238         says where to start the paragraph.
239
240         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
241         use the new functions to fix cleanly the support for descriptions.
242
243 2004-10-24  José Matos  <jamatos@lyx.org>
244
245         * buffer.C (makeLinuxDocFile, makeDocBookFile):
246         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
247         * output_linuxdoc.C (linuxdocParagraphs):
248         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
249         add buffer as argument.
250
251 2004-10-24  José Matos  <jamatos@lyx.org>
252
253         * output_docbook.C (makeEnvironment, searchEnvironment): place
254         CDATA inside paragraphs and fix scope for listitems.
255
256 2004-10-24  José Matos  <jamatos@lyx.org>
257
258         * output_docbook.C: remove using statement for stack.
259
260 2004-10-23  José Matos  <jamatos@lyx.org>
261
262         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
263         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
264         docbook. The new scheme is recursive and makes use of iterators, the
265         same as latex export works.
266         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
267         directly with the paragraph contents. This code was moved up to
268         output_docbook.C (docbookParagraphs).
269         * sgml.C (openTag, closeTag): removed unneeded newlines.
270         (closeEnvTags) removed.
271
272 2004-10-23  André Pönitz  <poenitz@gmx.net>
273
274         * undo.C (textUndoOrRedo):
275         * dociterator.C (asDocIterator): work around crash
276
277         * cursor.C (getStatus): replace ASSERT by more verbose error message
278           and manual correction of the problem. Should increase stability
279           while providing more sensible information.
280
281 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
284
285         * bufferlist.C (previous, next): new methods
286
287         * lfuns.h:
288         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
289
290 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
291
292         * buffer.C (makeDocBookFile): add dsssl stylesheet control
293         entities to preamble.
294
295 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
296
297         * messages.C (Pimpl): strip off translation context information
298
299 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
302         the cursor is correct (bug 1694)
303
304 2004-10-13  José Matos  <jamatos@lyx.org>
305
306         * output_docbook.C (docbookParagraphs): fix closing tags in the
307         end of the document.
308
309 2004-10-09  José Matos  <jamatos@lyx.org>
310
311         * buffer.C: format up to 237.
312         * bufferparams.C (write): use tostr to convert booleans to strings.
313
314 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
315
316         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
317
318 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
319
320         * LaTeX.C: implement use of babel language in xindy.
321
322 2004-10-05  José Matos  <jamatos@lyx.org>
323
324         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
325         Add new translators to help reading and writing the lyx file.
326
327 2004-10-05  José Matos  <jamatos@lyx.org>
328
329         * ParagraphParameters.C (read):
330         * text.C (readParToken): replace nexToken by more appropriate lex
331         methods.
332
333 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
334
335         * LaTeX.C (runMakeIndex):
336         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
337         (usually 'makeindex') configurable.
338
339         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
340         with a variable rather than with a number.
341
342 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * output_latex.C (TeXOnePar): make sure font setting is the first
345         thing that gets output (and the last at the end). Should fix bug
346         1404.
347
348 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
349
350         * pch.h: use proper signal include
351
352         * LaTeX.h: Use preferred calling of Boost.Signal
353         * buffer.h: ditto
354
355 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
356
357         * pch.h: dont include <boost/function/function0.hpp>
358
359         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
360
361         * paragraph_pimpl.h: remove usage of ShareContainer
362
363         * paragraph_pimpl.C: remove initialization of ShareContainer.
364
365 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         Fix bug #1666
368
369         * BufferView.C (putSelectionAt): change the semantics when
370         backwards == true: now, this just swaps cursor and anchor wrt the
371         forward case
372
373         * BufferView.h (putSelectionAt): add some documentation
374
375         * lyxfind.C (findBackwards): rewrite using while(). In particular,
376         make sure backwardChar is done at least once (to avoid getting
377         stuck)
378         (findNextChange): use putSelectionAt in the forward direction
379         (operator()): use Paragraph::isWord
380
381 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
382
383         * Spacing.C (set): c_str fix
384
385 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * lyx_cb.C (Reconfigure): quote the name of configure script in
388         case it contains spaces
389
390 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
391
392         * client: new dir
393
394         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
395         (BOOST_LIBS): use top_buildir when looking for the file
396
397 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
398
399         * pch.h: do not use include boost/format.hpp, multiple symbols
400                 will result (gcc bug)
401
402
403 2004-08-23  José Matos  <jamatos@lyx.org>
404
405         * bufferparams.C (readToken): fix reading of the author field.
406
407 2004-08-20  José Matos  <jamatos@lyx.org>
408
409         * lyxrc.C: remove support/translator.h inclusion since it is not used.
410
411 2004-08-20  José Matos  <jamatos@lyx.org>
412
413         * lyxlex.[Ch] (findToken): remove function.
414
415         * ParagraphParameters.C (findToken):
416         * bufferparams.C (findToken): replace call for previous function
417         with local copy. This local function has one more argument, the
418         read string argument.
419
420 2004-08-16  José Matos  <jamatos@lyx.org>
421
422         * ParagraphParameters.C (write):
423         * Spacing.C (writeFile):
424         * bufferparams.C (writeLaTeX):
425         * lyx_cb.C (Reconfigure):
426         * paragraph.C (write):
427         * tabular.C (write): remove unnecessary space at end of line.
428
429
430 2004-08-16  José Matos  <jamatos@lyx.org>
431
432         * text.C (readParagraph): remove debug message.
433
434 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
435
436         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
437         crash
438
439         * output_plaintext.C (asciiParagraph): set depth correctly
440
441         * outputparams.h: add member depth
442
443         * paragraph_funcs.C (ownerPar): remove.
444
445         * text2.C (setCounter): remove first_pit; comment out some
446         non-working code that uses ownerPar
447
448         * BufferView.C (getParentLanguage): remove. Not used anymore, and
449         uses ownerPar
450
451 2004-08-16  José Matos  <jamatos@lyx.org>
452
453         * text.C (readParToken, readParagraph, read): report all unknown tokens.
454         For the same level of importance use the same chanel to report problems.
455         (read): add code to deal with \begin_body and \end_body.
456
457
458 2004-08-15  José Matos  <jamatos@lyx.org>
459
460         * lyxlex.C (getString): fix comment, buffer::readBody is now
461         buffer:readDocument.
462
463         * tex-strings.C (string_papersize): Default -> default,
464         Custom -> custom, for consistency with other options.
465
466 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
467
468         * pch.h: new file
469
470         * Makefile.am: support pch
471
472 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
473
474         * text.C (readParToken): remove the static LyXFont variable and
475         pass it as a parameter instead. This fixes a nasty bug where an
476         inset will be inserted with a bad font in some situations
477         (readParagraph): adapt
478
479         * text2.C (setCounter): reduce number of calls to pars_[pit]
480
481         * text.C (singleWidth): add an assert, fix a test
482
483         * rowpainter.C (paintText): reduce number of calls to singleWidth
484
485         * paragraph.C (isHfill):
486         (isNewline): ws only
487
488 2004-08-14  André Pönitz  <poenitz@gmx.net>
489
490         * text.C:
491         * text2.C:
492         * rowpainter.C:
493         * lyxtext.h (several functions): use a Paragraph & argument
494         instead of par_type
495
496 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * metricsinfo.h: add a new field ltr_pos to PainterInfo
499
500         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
501
502         * text.C (singleWidth): remove useless test
503
504 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * tabular.h: remove bogus comments
507
508         * tabular.C (getDescentOfRow):
509         (isPartOfMultiColumn): add assertions
510
511         * lyxlength.C (inPixels): remove #warning
512
513 2004-08-14  André Pönitz  <poenitz@gmx.net>
514
515         * paragraph.h: inline getChar()
516
517         * BufferView.h: remove unused declarations
518
519 2004-08-14  José Matos  <jamatos@lyx.org>
520
521         * Buffer.[Ch] (readDocument): new name for old readBody.
522         * Buffer.C: new file format, new keywords: \begin_document,
523         \begin_header, \begin_body, \end_body.
524
525         * bufferparams.C (readToken): replace all calls to lex.nextToken
526         by lex.next(). Do the same to eatLine except where really needed.
527
528         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
529         line when writing to the lyx file.
530
531         * output_plaintext.C (asciiParagraph): fix Bibliography style
532         handling.
533
534         * text.C (read): fix end of file handling.
535
536 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * MenuBackend.C (Menu::operator[]): new method to access
539         individual menu items
540         (Menu::hasFunc): new method. search for an item that corresponds
541         to a given func
542         (MenuBackend::specialMenu): new method
543         (MenuBackend::expand): if a special menu has been set, skip
544         entries whose func() appears in this menu
545
546 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
547
548         * text3.C: use Debug::DEBUG a bit more
549
550         * text.C (leftMargin): try to simplify a tiny bit change var x to
551         l_margin. Dont output the wide margins always.
552         (rightMargin): no margin in inner texts
553
554         * rowpainter.h (nestMargin): new func
555         (changebarMargin): new func
556         (rightMargin): new func
557
558         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
559         now functions.
560         (paintLast): ditto
561
562         * factory.C (createInset): modify setDrawFrame
563
564         * cursor.C: use Debug::DEBUG a bit more
565
566 2004-08-14  André Pönitz  <poenitz@gmx.net>
567
568         * coordcache.[Ch]:
569         * Makefile.am: new files to accomodate an 'external' (x,y)-position
570         cache for all insets in (at least partially) visible (top-level)
571         paragraphs.
572
573         * BufferView_pimpl.C: reset external coord cache before every update.
574         This means the coord cache only contains valid entries.
575
576 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
577
578         bug 1096
579         * BufferView_pimpl.C (getInsetByCode): move function out of class
580         and change in to a template in anon namespace. Also fix to do what
581         suits us better.
582
583 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
584
585         bug 1305
586         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
587         of char
588         (breakParagraph): rename par to par_offset and use a local
589         reference. Add code to keep the language over a rebreak.
590         (breakParagraphConservative): rename par to par_offset, use a
591         local reference
592         (mergeParagraph): ditto
593         (outerHook): ditto
594         (isFirstInSequence): ditto
595         (outerFont): rename pit to par_offset
596
597         * paragraph.C: ws change
598         * paragraph.h: ditto
599         * text3.C: ditto
600         * text.C: ditto
601
602 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
605         treatment for ']'
606
607         * paragraph.C (simpleTeXOnePar): when we have a \item with
608         optional argument, enclose the argument with curly brackets (in
609         case it contains a closing square bracket)
610
611         * text2.C (editXY):
612         * text2.C (editXY):
613         * text3.C (checkInsetHit): constify
614
615 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
618         documents (bug 1629)
619
620 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         Fix toggling of collapsable insets with the mouse (bug 1558)
623
624         * lyxfunc.C (dispatch): adapt to LCursor changes
625
626         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
627         make sure that dispatch is not invoked twice
628
629         * cursor.C (needsUpdate): new method
630         (dispatch): return void
631         (result): new method, to access the DispatchResult of the cursor.
632
633 2004-08-13  José Matos  <jamatos@lyx.org>
634
635         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
636
637 2004-08-13  André Pönitz  <poenitz@gmx.net>
638
639         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
640
641         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
642           multiple cells
643
644 2004-08-12  André Pönitz  <poenitz@gmx.net>
645
646         * text3.C: take out the 'cursor right' form insertInset and only
647         do it in those places when it is really needed. Fixes crash on
648         C-m...
649
650 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
653
654         * BufferView_pimpl.C (setBuffer): initialize the current font of
655         the underlying LyXText
656
657 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * kbsequence.C (print): use UI native formatting for menu
660         shortcuts
661
662         * text.C (insertChar): call Paragraph::insertChar with a font
663         argument (cosmetic)
664
665         * paragraph.C (insertInset, insertChar): the version that takes a
666         LyXFont argument is now a wrapper around the other one (the
667         opposite used to be true).
668
669         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
670         argument. Font setting is done in Paragraph now.
671
672 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * outputparams.h: add new members intitle and lang.
675
676         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
677         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
678
679 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
680
681         * text3.C (dispatch): remove special handling of button 4 and 5,
682         it is now taken care of in the frontend code.
683
684 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
685
686         * Spacing.h: add <string> (STLPort compile fix)
687
688 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
689
690         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
691
692 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
693
694         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
695         to bool.
696
697         * converter.C (showMessage): inherit from unary_function, make
698         operator() const.
699
700         * buffer.C (writeFile): initialize retval
701
702         * InsetList.h: rename private variable list to list_
703         * InsetList.[Ch]: adjust accordingly.
704
705 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
706
707         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
708         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
709         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
710         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
711         * ParagraphParameters.C, LaTeXFeatures.C: replace
712         "support/std_sstream.h" with <sstream>
713
714 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
715
716         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
717         * lyxsocket.C (LyXServerSocket): ditto
718         (serverCallback): ditto
719
720 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
721
722         * LaTeXFeatures.C: check release date when loading jurabib.
723
724 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
725
726         * lyxserver.C (startPipe): call register_socket_callback
727         (endPipe): call unregister_socket_callback
728
729 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
730
731         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
732         (LyXServerSocket): register the callback
733         (LyXServerSocket): unregister the callback
734         (fd): delete function
735         (serverCallback): improve error checking and setup the callbacks.
736         (dataCallback): change arg to fd.
737         (writeln): new func (copied fro the client socket) used for server
738         write to client.
739         (LyXDataSocket): simplify
740         (~LyXDataSocket): close ann unregiser callback
741         (server): delete function
742         (fd): delete function
743         (readln): small changes, improve some std::string usage
744         (writeln): constify a bit
745
746 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
749         Qt frontend
750
751 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * BufferView_pimpl.C (setBuffer): set the layout combox value only
754         after it has been populated
755
756 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * text2.C (insertInset): move cursor when inserting inset.
759
760 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * kbmap.C (findbindings): a couple of new methods. returns a
763         container of kb_sequence objects. The real work is done by the
764         private recursive version
765         (printbindings): uses findbindings to print out a bracketed list
766         of bindings (renamed from findbinding).
767
768         * MenuBackend.C (binding): use kb_keymap::findbindings
769
770         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
771
772 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
773
774         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
775
776 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * paragraph.C (isWord): return true on insets that report
779         isLetter().
780
781         * text.C (getWord): use Paragraph::isWord to decide what is in a
782         word and what is not; fix bug 1609.
783
784 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * tex-strings.C: add "none" to string_paperpackages[], fixes
787         off-by-one-error in the paperpackage selection.
788
789         * lyxlex.[Ch]:
790         * tex-strings.[Ch]: char const * string[n]
791         -> char const * const string[]
792
793 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
796         command, return early.
797
798 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
799
800         * debug.h: add DEBUG to enum and fix size of ANY.
801
802         * debug.C: add support for Debug::DEBUG
803         (showTags): cast errorTags.level to unsigned int
804
805         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
806         (redoCurrentBuffer): ditto
807         (updateScrollbar): ditto
808         * cursor.C (dispatch): ditto
809         * text2.C (setLayout): ditto
810         (setFont): ditto
811         (updateCounters): ditto
812         (editXY): ditto
813         (deleteEmptyParagraphMechanism): ditto
814
815 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
818         annotations to cleanup the Makefile slightly.
819
820 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * lyxrc.C: do not set user_email to a default value but use empty
823         instead. The entry used to be translated, which does not work
824         since at the point where lyxrc is constructed there is no
825         translation service available
826
827         * messages.C (getLocaleDir): remove and use directly
828         lyx_localedir() instead
829
830 2004-06-02  Angus Leeming  <leeming@lyx.org>
831
832         Fix crash caused by dereferencing null pointer 'exportdata' in
833         OutputParams by creating a new ExportData variable on the heap,
834         storing it in a boost::shared_ptr.
835         The crash was triggered when generating an Instant Preview
836         of an external inset.
837
838         * Makefile.am: add outputparams.C
839
840         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
841         (c-tor): allocate memory to it.
842
843         * exporter.C (c-tor): associated changes.
844
845 2004-06-01  Angus Leeming  <leeming@lyx.org>
846
847         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
848         contains data before calling isInset(0). (Bug 1513.)
849
850 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
851
852         * exporter.C (checkOverwrite): new method
853         * exporter.C (copyFile): new method
854         * exporter.C (Export): copy referenced files to the document dir
855         * exporter.[Ch]: new class ExportedFile
856         * exporter.[Ch]: new class ExportData. Contains currently the
857         names of referenced external files
858         * outputparams.h: add exportdata member.
859
860 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
861
862         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
863         version.C-tmp
864
865 2004-05-19  Angus Leeming  <leeming@lyx.org>
866
867         * LaTeXFeatures.C:
868         * ToolbarBackend.C:
869         * bufferparams.C:
870         * lyxfunc.C: small changes due to the introduction of namespace
871         lyx::frontend and the moving of namespace biblio to lyx::biblio.
872
873 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * text3.C (dispatch): supress update when only moving the cursor
876         * cursor.C (selHandle): remove commented code
877
878 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
879
880         * paragraph.C (startTeXParParams): correct column count
881         * CutAndPaste.C (pasteSelection): remove const_cast
882         * output_docbook.C (docbookParagraphs): remove const_cast
883         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
884         const_cast and return ParagraphList::const_iterator
885         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
886         * output_plaintext.C (writeFileAscii): remove const_cast
887         * paragraph.[Ch] (simpleTeXOnePar): make const
888         * paragraph_funcs.C (outerPar): use const iterators
889         * paragraph_pimpl.C (validate): use const iterators
890         * text.C (setHeightOfRow): use const iterators
891
892 2004-05-17  Angus Leeming  <leeming@lyx.org>
893
894         * lfuns.h:
895         * LyXAction.C (init): new LFUN_INSET_REFRESH.
896
897         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
898         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
899         if the citation engine has changed.
900
901 2004-05-14  José Matos  <jamatos@lyx.org>
902
903         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
904         if the textclass does not provide it. Have it different for sgml and
905         xml.
906         support the language of document.
907         * output_docbook.C (docbookParagraphs):
908         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
909         first anchor as the id of the paragraph, remove special case code.
910         * sgml.C (escapeChar): escape only < & >.
911
912 2004-05-14  Angus Leeming  <leeming@lyx.org>
913
914         * bufferparams.h: move biblio::CiteEngine enum here to minimize
915         dependencies on src/frontends/controllers/biblio.h. Define a
916         CiteEngine_enum wrapper class to enable the enum to be forward
917         declared.
918
919 2004-05-12  Angus Leeming  <leeming@lyx.org>
920
921         * buffer.C: up LYX_FORMAT to 234.
922         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
923         use_numerical_citations with a single biblio::CiteEngine cite_engine
924         variable.
925         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
926
927 2004-05-13  José Matos  <jamatos@lyx.org>
928
929         * converter.h:
930         * converter.C (Converter, readFlags): add xml member.
931         * outputparams.h: add XML flavor.
932         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
933
934 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * lyxfunc.C (dispatch):
937         (getStatus): fix handling of LFUN_SEQUENCE
938
939 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * debug.C (showLevel): do not forget the end-of-line marker
942
943 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * kbmap.C (read): do not stop parsing a bind file when an error
946         occurs (bug 1575)
947
948 2004-04-29  Angus Leeming  <leeming@lyx.org>
949
950         * cursor.C:
951         * factory.C:
952         * pariterator.C:
953         * text2.C: wrap a bunch of #warning statements
954         inside #ifdef WITH_WARNINGS blocks.
955
956 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
957
958         * buffer.C: increment format to 233.
959
960 2004-04-28  Angus Leeming  <leeming@lyx.org>
961
962         * BufferView_pimpl.C:
963         * lyxfunc.C:
964         * text3.C:
965         s/updateToolbar()/updateToolbars()/
966         s/Toolbar.h/Toolbars.h/
967
968 2004-04-28  Angus Leeming  <leeming@lyx.org>
969
970         * BufferView.[Ch] (c-tor):
971         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
972         No longer passes these data to the WorkArea generator.
973
974 2004-04-28  Angus Leeming  <leeming@lyx.org>
975
976         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
977
978 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
979
980         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
981
982 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * output_latex.C (TeXEnvironment): make sure that there is a line
985         break before \end{foo} for the last paragraph of a document
986         (TeXOnePar): if the paragraph is at the end of the document (or
987         inset) and the language has to be reset, then make sure that the
988         line break is _before_ the language command, not after (fixes bug
989         1225); also make sure that the language reset command is the first
990         thing after the paragraph (to ensure proper nesting of
991         environments and thus fix bug 1404)
992
993 2004-04-21  John Levon  <levon@movementarian.org>
994
995         * ToolbarBackend.h:
996         * ToolbarBackend.C: make "name" be a programmatic name
997         and a gui_name field.
998
999         * lyxfunc.C: display the minibuffer on M-x
1000
1001 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1004         (bug 1526)
1005
1006 2004-04-19  Angus Leeming  <leeming@lyx.org>
1007
1008         * BufferView_pimpl.C (setBuffer): changed preview interface.
1009
1010         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1011         possible values.
1012
1013 2004-04-19  John Levon  <levon@movementarian.org>
1014
1015         * BufferView_pimpl.C:
1016         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1017
1018 2004-04-05  Angus Leeming  <leeming@lyx.org>
1019
1020         * text.C (redoParagraphs): add call to updateCounters(), thereby
1021         fixing the missing "Figure #:" label from the caption of a
1022         figure float.
1023
1024 2004-04-13  Angus Leeming  <leeming@lyx.org>
1025
1026         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1027         cursor is clicked out of an inset.
1028
1029 2004-04-13  Angus Leeming  <leeming@lyx.org>
1030
1031         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1032         than an InsetOld one.
1033
1034 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * format.[Ch]: add editor to Format
1037         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1038         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1039
1040 2004-04-08  André Pönitz  <poenitz@gmx.net>
1041
1042         * metricsinfo.h: remove PainterInfo::width member
1043
1044 2004-04-08  Angus Leeming  <leeming@lyx.org>
1045
1046         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1047         "\providecommand" rather than "\newcommand", thereby preventing
1048         clashes with packages that define "\boldsymbol" themselves.
1049         Eg, beamer.
1050
1051 2004-04-08  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1054         thereby squashing an unnecessary warning.
1055
1056 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1057
1058         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1059         setBuffer()
1060
1061 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1062
1063         * BufferView.C (setCursor): call redoParagraph (some insets could
1064         have been opened)
1065         (putSelectionAt): remove the 'double update' trick
1066
1067         * BufferView_pimpl.C (fitCursor): call refreshPar
1068         (workAreaDispatch): remove an uneeded update call
1069         (dispatch): remove some manual update calls
1070
1071         * cursor.[Ch]: remove cached_y_, updatePos
1072         (selHandle): set noUpdate when appropriate
1073
1074         * lyxfunc.C (dispatch): track if we need an update
1075
1076         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1077
1078         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1079         (paintSelection): cheap optimization, do not call cursorX when not
1080         needed
1081         (paintPars): change signature
1082         (refreshPar): add
1083         (paintText): adjust
1084         (paintTextInset): adjust
1085
1086         * text.C: adjust
1087
1088 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1089
1090         * lengthcommon.C: compilation fix: remove explicit array size from
1091         unit_name[] and friends
1092
1093 2004-04-05  Angus Leeming  <leeming@lyx.org>
1094
1095         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1096
1097         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1098         present only for the preferences dialog.
1099         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1100
1101 2004-04-05  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1104         to enable the frontends to export changes to lyxrc correctly.
1105
1106         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1107
1108 2004-04-07  André Pönitz  <poenitz@gmx.net>
1109
1110         * cursor.[Ch] (selClear, adjust): remove math
1111
1112         * cursor_slice.C: more agressive assert
1113
1114         * lyxfunc.C:
1115         * BufferView_pimpl.C: rework mouse event dispatch
1116
1117         * dociterator.C:
1118         * paragraph.C:
1119         * text2.C:
1120         * text3.C: adjust
1121
1122 2004-04-05  André Pönitz  <poenitz@gmx.net>
1123
1124         * cursor.[Ch] (valign, halign...): remove unneeded functions
1125
1126 2004-04-05  Angus Leeming  <leeming@lyx.org>
1127
1128         * lyxlength.[Ch] (unit_name et al.): const-correct.
1129
1130 2004-04-05  Angus Leeming  <leeming@lyx.org>
1131
1132         * BufferView_pimpl.C:
1133         * buffer.C:
1134         * counters.C:
1135         * cursor.C:
1136         * lyxfunc.C
1137         * paragraph.C:
1138         * pariterator.C:
1139         * text.C:
1140         * text2.C:
1141         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1142
1143 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1144
1145         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1146
1147 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1148
1149         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1150         * BufferView_pimpl.[Ch] (getStatus)
1151         * BufferView.[Ch] (getStatus): add
1152         * lyxfunc.C (getStatus): move lfuns handled in
1153         BufferView::dispatch to te function above
1154         * Cursor.C (setSelection): set selection() = true
1155
1156 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1157
1158         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1159
1160 2004-03-31  Angus Leeming  <leeming@lyx.org>
1161
1162         * lyxfunc.C (dispatch): Fall through to the generic
1163         Dialogs::show("preamble").
1164
1165 2004-03-31  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyxfunc.C (dispatch): Fall through to the generic
1168         Dialogs::show("spellchecker").
1169
1170 2004-03-31  Angus Leeming  <leeming@lyx.org>
1171
1172         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1173         preferences dialog.
1174
1175 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * BufferView.C
1178         * cursor.[Ch]
1179         * dociterator.[Ch]:
1180         * insetiterator.[Ch]:
1181         * lyxfind.C:
1182         * lyxfunc.C:
1183         * pariterator.[Ch]:
1184         * text2.C:
1185         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1186
1187 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1188
1189         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1190         insets where we are putting the cursor.
1191
1192 2004-03-31  Angus Leeming  <leeming@lyx.org>
1193
1194         * lfuns.h:
1195         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1196
1197         * lyxrc.[Ch] (read, write): overloaded member functions taking
1198         a std::[io]stream arguments.
1199
1200         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1201
1202 2004-03-31  Angus Leeming  <leeming@lyx.org>
1203
1204         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1205         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1206
1207         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1208         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1209
1210 2004-03-31  Angus Leeming  <leeming@lyx.org>
1211
1212         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1213         the LFUN_ALL_INSETS_TOGGLE code.
1214
1215 2004-03-30  Angus Leeming  <leeming@lyx.org>
1216
1217         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1218         has died. Fall through to the generic Dialogs::show("document").
1219
1220 2004-03-30  Angus Leeming  <leeming@lyx.org>
1221
1222         * lfuns.h:
1223         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1224         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1225
1226         * lyxfunc.C (getStatus, dispatch): define the actions for these
1227         lfuns. Little more than a cut and pste job from ControlDocument.C
1228
1229         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1230
1231 2004-03-30  Angus Leeming  <leeming@lyx.org>
1232
1233         * lfuns.h:
1234         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1235         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1236
1237         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1238         open/closed state of ollapsable insets. Usage:
1239
1240         all-inset-toggle <state> <name>, where
1241         <state> == "open" || "closed" || "toggle" and
1242         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1243
1244         * lyxtext.h, text2.C (toggleInset): removed.
1245
1246         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1247         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1248         now passes LFUN_INSET_TOGGLE to the found inset.
1249
1250         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1251         is now invoked as "all-insets-toggle toggle branch".
1252
1253 2004-03-30  Angus Leeming  <leeming@lyx.org>
1254
1255         * dociterator.C:
1256         * insetiterator.C:
1257         * pariterator.[Ch]: added/corrected header blurb.
1258
1259 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * dociterator.[Ch]: add an inset_ member
1262         (backwardPos): implemented
1263         (backwardPos, forwardPos): use inset_ when the stack is empty.
1264         (doc_iterator_begin, doc_iterator_end): implemented
1265         * pariterator.[Ch]: adjust, add begin, end
1266         * insetiterator.[Ch]: adjust, add begin, end
1267         * cursor.C:
1268         * document.C:
1269         * BufferView.C:
1270         * BufferView_pimpl.C:
1271         * CutAndPaste.C: adjust
1272
1273 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1274
1275         * buffer.C: increment file format to 232.
1276         * LaTeXFeatures.C: add bibtopic package.
1277         * bufferparams.[Ch]: param \use_bibtopic.
1278
1279         * lyxrc.[Ch]: add lyxrc bibtex_command
1280         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1281
1282         * buffer.C: increment file format to 231.
1283
1284 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1285
1286         * dociterator.C: implement forwardPar
1287         * iterators.[Ch]: remove, replaced by
1288         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1289         * BufferView.C:
1290         * BufferView_pimpl.C:
1291         * CutAndPaste.C:
1292         * buffer.C:
1293         * bufferview_funcs.C:
1294         * cursor.C:
1295         * lyxfind.C
1296         * lyxfunc.C
1297         * paragraph_funcs.C
1298         * toc.C:
1299         * Makefile.am: adjust
1300
1301 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * CutAndPaste.C (pasteSelection): fix 2 crashes
1304         (eraseSelection): fix a crash
1305         * paragraph_funcs.C: remove a warning
1306
1307 2004-03-28  Angus Leeming  <leeming@lyx.org>
1308
1309         * lfuns.h:
1310         * LyXAction.C (init): new LFUN_PRINT.
1311
1312         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1313
1314 2004-03-27  Angus Leeming  <leeming@lyx.org>
1315
1316         * lfuns.h:
1317         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1318
1319         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1320
1321 2004-03-27  Angus Leeming  <leeming@lyx.org>
1322
1323         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1324         insetlist always contains non-null pointers to insets.
1325
1326 2004-03-26  Angus Leeming  <leeming@lyx.org>
1327
1328         * src/BufferView_pimpl.C:
1329         * src/CutAndPaste.C:
1330         * src/buffer.C:
1331         * src/iterators.C:
1332         * src/output_plaintext.C:
1333         * src/outputparams.h:
1334         * src/paragraph_funcs.C:
1335         * src/rowpainter.C:
1336         * src/text.C:
1337         * src/text2.C:
1338         * src/frontends/controllers/ControlErrorList.C:
1339         * src/frontends/gtk/FileDialogPrivate.C:
1340         * src/frontends/gtk/GPainter.C:
1341         * src/frontends/gtk/GToolbar.C:
1342         * src/frontends/qt2/QRef.C:
1343         * src/mathed/math_scriptinset.C: squash compiler warnings.
1344
1345 2004-03-26  Angus Leeming  <leeming@lyx.org>
1346
1347         * ispell.C (LaunchIspell::start):
1348         * lyx_cb.C (AutoSaveBuffer::start):
1349         invoke run(DontWait) rather than runNonBlocking().
1350
1351 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1354
1355 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * kbsequence.C (print): adjust
1358
1359         * kbmap.C (printKeySym): rename and change signature
1360         (printKey): use LyXKeySym::print()
1361
1362 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * undo.C: add using std::advance to compile for stlport
1365
1366 2004-03-24  Angus Leeming  <leeming@lyx.org>
1367
1368         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1369         it leads to a crash when no buffer is present.
1370
1371 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372             Martin Vermeer  <martin.vermeer@hut.fi>
1373
1374         * lyxfunc.C (dispatch):
1375         * bufferparams.C (readToken): use the new LColor::setColor
1376
1377         * LColor.[Ch] (setColor): new version that takes two strings as
1378         argument and creates a new color entry if necessary
1379
1380 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1381
1382         * buffer.C (makeLaTeXFile): if the main latex file that is
1383         processed is usually a subdocument of some master, then pretend
1384         for a while that it is actually the master
1385
1386 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1387
1388         * buffer.C (getLabelList):
1389         (getBibkeyList): use getMasterBuffer()
1390         (getMasterBuffer): new method. Returns the main document in the
1391         case where one is using included documents.
1392
1393 2004-03-25  André Pönitz  <poenitz@gmx.net>
1394
1395         * Makefile.am:
1396         * iterators.[Ch]:
1397         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1398
1399         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1400
1401         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1402         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1403
1404         * ParameterStruct.h: merge with ParagraphParameters
1405
1406         * lyxtext.h: remove LyXText::parOffset() and getPar()
1407
1408         * text3.C: Remove all 'manual' update calls. We do now one per user
1409         interaction which is completely sufficient.
1410
1411         * Bidi.C:
1412         * BufferView.[Ch]:
1413         * BufferView_pimpl.C:
1414         * FontIterator.[Ch]:
1415         * MenuBackend.C:
1416         * ParagraphParameters.[Ch]:
1417         * buffer.C:
1418         * buffer.h:
1419         * bufferlist.C:
1420         * cursor.[Ch]:
1421         * cursor_slice.[Ch]:
1422         * dociterator.[Ch]:
1423         * errorlist.[Ch]:
1424         * factory.C:
1425         * lfuns.h:
1426         * lyxfind.C:
1427         * lyxfunc.C:
1428         * output_docbook.[Ch]:
1429         * output_latex.[Ch]:
1430         * output_linuxdoc.[Ch]:
1431         * output_plaintext.[Ch]:
1432         * paragraph.[Ch]:
1433         * paragraph_funcs.[Ch]:
1434         * paragraph_pimpl.[Ch]:
1435         * rowpainter.C:
1436         * tabular.[Ch]:
1437         * text.C:
1438         * text2.C:
1439         * toc.C:
1440         * undo.[Ch]: adjust
1441
1442         * frontends/controllers/ControlDocument.C:
1443         * frontends/controllers/ControlErrorList.C:
1444         * frontends/controllers/ControlSpellchecker.C:
1445         * insets/inset.C:
1446         * insets/inset.h:
1447         * insets/insetbase.h:
1448         * insets/insetbibitem.C:
1449         * insets/insetbox.C:
1450         * insets/insetbranch.C:
1451         * insets/insetcaption.C:
1452         * insets/insetcharstyle.C:
1453         * insets/insetcharstyle.h:
1454         * insets/insetcollapsable.C:
1455         * insets/insetcollapsable.h:
1456         * insets/insetert.C:
1457         * insets/insetfloat.C:
1458         * insets/insetfoot.C:
1459         * insets/insetmarginal.C:
1460         * insets/insetnote.C:
1461         * insets/insetoptarg.C:
1462         * insets/insettabular.C:
1463         * insets/insettext.C:
1464         * insets/insettext.h:
1465         * insets/insetwrap.C:
1466         * mathed/math_mboxinset.C:
1467         * mathed/math_nestinset.C:
1468         * mathed/math_scriptinset.C:
1469         * mathed/math_scriptinset.h:
1470         * support/types.h:
1471
1472 2004-03-24  Angus Leeming  <leeming@lyx.org>
1473
1474         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1475         deal with any child processes that have finished but are waiting to
1476         communicate this fact to the rest of LyX.
1477
1478 2004-03-24  Angus Leeming  <leeming@lyx.org>
1479
1480         64-bit compile fixes.
1481
1482         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1483         (c-tor): pass lyx::pos_types rather than ints.
1484
1485         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1486         lyx::pos_type.
1487
1488         * text.C (Delete): compile fix.
1489         (getPar): ensure that function declaration is the same as that in
1490         the header file.
1491
1492 2004-03-23  Angus Leeming  <leeming@lyx.org>
1493
1494         * ispell.C (LaunchIspell):
1495         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1496         a boost::shred_ptr rather than a std::auto_ptr.
1497
1498 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1501         handle LFUN_FILE_INSERT_*
1502
1503         * lyxrc.C (setDefaults, getDescription, output, read):
1504         * lyxrc.h: remove ps_command
1505
1506 2004-03-22  Angus Leeming  <leeming@lyx.org>
1507
1508         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1509         Ensure that error_handler is processed once only and that all data
1510         is saved before attempting to output any warning messages.
1511
1512         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1513
1514 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1517
1518 2004-03-19  André Pönitz  <poenitz@gmx.net>
1519
1520         * cursor.[Ch] (reset): take main text inset as argument
1521
1522         * BufferView: adjust
1523         * BufferView_pimpl.C: adjust
1524
1525         * paragraph.[Ch]: fix completely broken operator=()
1526
1527 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * LColor.C (getFromLyXName): make sure that the color name is used
1530         as lowercase.
1531
1532 2004-03-17  Angus Leeming  <leeming@lyx.org>
1533
1534         * lfuns.h:
1535         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1536
1537         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1538         dialog and to kill a forked process.
1539
1540 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1541
1542         * text2.C (setCursorFromCoordinates): fix font problem
1543
1544 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1547         bogus "rebuild cursor" code
1548
1549 2004-03-11  André Pönitz  <poenitz@gmx.net>
1550
1551         * buffer.[Ch]: use InsetText instead of LyXText as container for
1552         the main lyx text.
1553
1554         * dociterator.[Ch]: drop the BufferView * member which is not needed
1555         anymore after the change to buffer.C
1556
1557         * paragraph_funcs.C:
1558         * text.C:
1559         * text2.C:
1560         * BufferView.[Ch]:
1561         * BufferView_pimpl.[Ch]:
1562         * cursor.[Ch]:
1563         * cursor_slice.[Ch]: adjust
1564
1565         * text3.C: fix bug in mathDispatch
1566
1567 2004-03-08  André Pönitz  <poenitz@gmx.net>
1568
1569         * undo.[Ch]: use 'StableDocumentIterator' as base for
1570         the Undo struct.
1571
1572 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1573
1574         * LaTeXFeatures.C:
1575         * bufferparams.[Ch]: add jurabib support and param.
1576
1577         * LaTeX.C: add FIXME/comment.
1578
1579 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1580
1581         * buffer.C: increment file format to 230.
1582
1583 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * cursor.C (dispatch): avoid infinite loops
1586
1587 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1588
1589         * rowpainter.C (paintSelection): fix x coordinates
1590
1591 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text.C (rowBreakPoint): fix breaking before displayed insets
1594
1595 2004-03-01  André Pönitz  <poenitz@gmx.net>
1596
1597         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1598
1599         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1600
1601         * Makefile.am:
1602         * BufferView.C:
1603         * BufferView_pimpl.C:
1604         * buffer.C:
1605         * lyxfind.C:
1606         * lyxfunc.C:
1607         * text.C:
1608         * text2.C:
1609         * text3.C: adjust
1610
1611 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * lyxtext.h:
1614         * text.C:
1615         * text2.C:
1616         * rowpainter.C:
1617         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1618         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1619
1620 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1621
1622         * Bidi.[Ch] (computeTables): const correctness
1623         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1624         fill_hfill, fill_label_hfill and x from Row
1625         * lyxtext.h: prepareToPrint returns a RowMetrics
1626         * rowPainter.C: adjust
1627         * text.C (prepareToPrint): use width, not textWidth. adjust
1628         (redoParagraphInternal, cursorX): adjust
1629         * text2.C (getColumnNearX): adjust
1630         (init): put a default value to the top LyXText::width
1631
1632 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1635
1636 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1637
1638         * lyxtext.h: add FontIterator class
1639
1640         * text.C (FontIterator, operator*, operator->, operator++): add
1641         (rowBreakPoint, setRowWidth): adjust (fixing a
1642         rebreaking bug)
1643
1644 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * BufferView_pimpl.C (workAreaDispatch): allow also
1647         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1648
1649 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * text.C (rowBreakPoint): fix a bug showing with very large insets
1652
1653 2004-02-25  André Pönitz  <poenitz@gmx.net>
1654
1655         * text3.C:
1656         * cursor.[Ch]: move some mathed specific code to mathed
1657
1658 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1659
1660         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1661         use_tempdir in preferences
1662         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1663         tempfile creation
1664         * lyx_main.C: ensure that tempdir is valid
1665         * lyxlex.h: correct typo
1666         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1667         * paragraph.[Ch] (isMultiLingual): make const
1668         * cursor.[Ch] (openable): make const
1669
1670 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1671
1672         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1673
1674 2004-02-20  André Pönitz  <poenitz@gmx.net>
1675
1676         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1677
1678         * cursor.[Ch]: prepare for localized getStatus()
1679
1680         * lyxtext.h:
1681         * tabular.C:
1682         * text.C:
1683         * text2.C:
1684         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1685
1686 2004-02-20  André Pönitz  <poenitz@gmx.net>
1687
1688         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1689
1690 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * text2.C (setCursorFromCoordinates): switch to absolute coords
1693         (cursorUp): adjust
1694         (cursorDown): adjust
1695         * text3.C (dispatch): adjust
1696
1697 2004-02-16  André Pönitz  <poenitz@gmx.net>
1698
1699         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1700           insets/ChangeLog)
1701
1702         * cursor_slice.[Ch]: remove unneeded acessor function
1703
1704         * lyxtext.h: rename rtl() to isRTL()
1705
1706         * rowpainter.C:
1707         * tabular.C:
1708         * text.C:
1709         * text2.C:
1710         * text3.C: adjust
1711
1712 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1713
1714         * rowpainter.C (paintSelection): coord fix
1715
1716 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1717
1718         * Spacing.C: compile fix
1719
1720 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * cursor.C (dispatch): restore current_ before returning
1723
1724 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * text2.C (cursorUp, cursorDown): fix coords
1727         (moveUp): fix crash
1728
1729 2004-02-12  André Pönitz  <poenitz@gmx.net>
1730
1731         * lyxtext.h:
1732         * text.C:
1733         * text2.C:
1734         * text3.C: add LCursor & parameter to most cursor movement functions
1735           remove usage of LyXText::cursorRow() and cursorPar()
1736
1737         * cursor.[Ch]: add textRow() needed members
1738
1739         * BufferView.C:
1740         * BufferView_pimpl.C:
1741         * paragraph.[Ch]:
1742         * BufferView.C:
1743         * BufferView_pimpl.C: adjust
1744
1745 2004-02-11  André Pönitz  <poenitz@gmx.net>
1746
1747         * lyxfunc.C:
1748         * BufferView.[Ch]:
1749         * BufferView_pimpl.C: shift undo/redo handling
1750
1751         * cursor.[Ch]: fix mathed crash
1752
1753         * lyxfind.C:
1754         * lyxtext.h: move selectionAsText to LCursor
1755
1756         * output_latex.C:
1757         * paragraph.C:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: adjust
1761
1762         * rowpainter.C: fix excessive drawing
1763
1764 2004-02-06  André Pönitz  <poenitz@gmx.net>
1765
1766         * BufferView.[Ch]:
1767         * BufferView_pimpl.[Ch]:
1768         * text3.C: move some text specific LFUN handling
1769
1770 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1771
1772         * text3.C (checkInsetHit): adjust coords
1773         * text2.C (getColumnNearX): adjust coords
1774         (edit): adjust coords
1775         * text.C (getRowNearY): add two asserts
1776
1777 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1778
1779         * converter.C:
1780         * format.C: add using std::distance to compile on gcc 2.95/stlport
1781
1782 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1783
1784         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1785
1786 2004-02-04  André Pönitz  <poenitz@gmx.net>
1787
1788         * BufferView.[Ch] (insertInset):
1789         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1790
1791         * text2.C:
1792         * text3.C: adjust
1793
1794 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1797         on the default clause of the switch
1798         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1799         wasn't catched by LCursor::dispatch
1800
1801 2004-02-03  André Pönitz  <poenitz@gmx.net>
1802
1803         * BufferView.C:
1804         * cursor.[Ch]: some additional asserts
1805
1806         * undo.[Ch]: remove LyXText dependency in interface
1807
1808         * lyxfunc.C: adjust
1809
1810         * lyxtext.h (firstPar, lastPar): remove dead functions
1811
1812         * text.C:
1813         * text2.C:
1814         * text3.C:
1815         * paragraph.[Ch]: adjust
1816
1817 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * lyxfind.C (find): fix argument order in call to ::find
1820
1821 2004-02-02  André Pönitz  <poenitz@gmx.net>
1822
1823         * cursor.[Ch]: remove direct access to anchor
1824
1825         * text.C: remove findText() hack
1826
1827 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1828
1829         * iterators.[Ch] (lockPath): remove in favour of...
1830         * BufferView.[Ch] (setCursor): this addition
1831         * BufferView.C (putSelectionAt): adjust
1832         * undo.C (performUndoOrRedo): adjust
1833         * lyxfunc.C (dispatch): adjust
1834
1835 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * iterators.C (lockPath): add a missing slice
1838         * undo.C (performUndoOrRedo): remove redundant positioning code
1839
1840 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1841
1842         * vc-backend.C (scanMaster): ";" -> ';'
1843
1844 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1847         std::binary_function
1848
1849         * lyxtextclass.C (compare_name): rename to...
1850         (LayoutNamesEqual): ...this
1851
1852         * lyxlex_pimpl.C (compare_tags): inherit from
1853         std::binary_function, put back into anon namespace
1854
1855         * lyxfind.C (MatchString): inherig from std::binary_function
1856         (findChange): use empty() istead of !size()
1857
1858         * format.C (FormatNamesEqual): new functor
1859         (getFormat): use it
1860         (getNumber): use it
1861         (add): use it
1862         (erase): use it
1863         (setViewer): use it
1864
1865         * converter.C (compare_Converter): rename to...
1866         (ConverterEqual): ...this, and fixup a bit.
1867         (getConverter): use it, and make function const
1868         (getNumber): use it, and make function const
1869         (add): use it
1870         (erase): use it:
1871
1872         * bufferlist.C: add using boost::bind
1873
1874         * MenuBackend.C (MenuNamesEqual): new functor
1875         (hasMenu): use it, and make function const
1876         (hasSubmenu): use nested bind to get rid of compare_memfun.
1877
1878 2004-01-30  André Pönitz  <poenitz@gmx.net>
1879
1880         * BufferView_pimpl.C:
1881         * cursor.C:
1882         * cursor.h:
1883         * cursor_slice.[Ch]:
1884         * lyxfunc.C:
1885         * lyxtext.h:
1886         * paragraph_funcs.C:
1887         * paragraph_funcs.h:
1888         * rowpainter.C:
1889         * text.C:
1890         * text2.C:
1891         * text3.C: move some of the edit(x,y) handling to the insets
1892         some coordinate changes.
1893
1894 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1895
1896         * text.C: add using statements for std::advance and std::distance
1897
1898         * paragraph.C: add using statement for std::distance
1899
1900         * lyxfind.C: add using statement for std::advance
1901
1902         * cursor.C (region): remove std:: from swap
1903         (openable): use nucleus in stead of operator->
1904
1905         * BufferView.C: add using statements for std::distance and std::swap
1906
1907 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1908
1909         * iterators.C: Remove the pimple, move the needed structures to
1910         the header file. Create accessor for the positions stack.
1911         (asPosIterator): remove function
1912
1913         * PosIterator.C (PosIterator): move constructors to top of file
1914         (PosIterator): reimplement the constructor taking a ParIterator in
1915         terms of setFrom.
1916         (setFrom): new function
1917         (operator!=): inline it
1918
1919 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1920
1921         * lyxfind.C (replaceAll): use std::advance
1922
1923         * iterators.h: inherit from std::iterator.
1924
1925         * PosIterator.C (advance, distance): remove
1926         * PosIterator.h: interit from std::iterator.
1927
1928 2004-01-26  André Pönitz  <poenitz@gmx.net>
1929
1930         * BufferView.[Ch]:
1931         * BufferView_pimpl.[Ch]:
1932         * InsetList.[Ch]:
1933         * PosIterator.[Ch]:
1934         * buffer.h:
1935         * bufferview_funcs.C:
1936         * cursor.[Ch]:
1937         * cursor_slice.h:
1938         * factory.[Ch]:
1939         * iterators.[Ch]:
1940         * lyxfind.C:
1941         * lyxfunc.C:
1942         * lyxtext.h:
1943         * output_docbook.C:
1944         * output_latex.C:
1945         * output_linuxdoc.C:
1946         * output_plaintext.C:
1947         * paragraph.[Ch]:
1948         * paragraph_funcs.[Ch]:
1949         * paragraph_pimpl.[Ch]:
1950         * rowpainter.C:
1951         * tabular.C:
1952         * tabular.h:
1953         * text.C:
1954         * text2.C:
1955         * text3.C: more IU:  dumps most of the rest of the mathcursor
1956     implementation into cursor.[Ch]; "globalize" a bit of it.
1957
1958 2004-01-25  Angus Leeming  <leeming@lyx.org>
1959
1960         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1961
1962 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1963
1964         * LaTeXFeatures.h: add nice_ and nice() const
1965         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1966
1967 2004-01-20  André Pönitz  <poenitz@gmx.net>
1968
1969         * BufferView.[Ch]:
1970         * BufferView_pimpl.C:
1971         * PosIterator.C:
1972         * bufferview_funcs.C:
1973         * cursor.[Ch]:
1974         * cursor_slice.[Ch]:
1975         * factory.C:
1976         * iterators.C:
1977         * lyx_cb.C:
1978         * lyxfind.C:
1979         * lyxfunc.C:
1980         * lyxtext.h:
1981         * rowpainter.C:
1982         * text.C:
1983         * text2.C:
1984         * text3.C:
1985         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1986           LCursor and mathcursor parts to LCursor and InsetBase.
1987
1988 2004-01-15  André Pönitz  <poenitz@gmx.net>
1989
1990         * cursor_slice.[Ch]: add a few covienience functions
1991
1992         * funcrequest.[Ch]: remove BufferView * member
1993
1994         * BufferView_pimpl.C:
1995         * cursor.C:
1996         * factory.[Ch]:
1997         * lyxfind.[Ch]:
1998         * lyxfunc.C:
1999         * lyxtext.h:
2000         * text3.C:
2001         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2002
2003 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2004
2005         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2006         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2007
2008 2004-01-13  André Pönitz  <poenitz@gmx.net>
2009
2010         * textcursor.[Ch]:
2011         * lyxtext.h: hide cursor and selection anchor behind accessor function
2012
2013         * BufferView.C:
2014         * BufferView_pimpl.[Ch]:
2015         * PosIterator.C:
2016         * bufferview_funcs.C:
2017         * cursor.h:
2018         * lyxfind.C:
2019         * lyxfunc.C:
2020         * text.C:
2021         * text2.C:
2022         * text3.C:
2023         * undo.C: adjust
2024
2025         * cursor.h:
2026         * cursor_slice.[Ch]: some integer type changes for inset unification
2027
2028         * lyxcursor.[hC]: remove, it's CursorSlice now.
2029
2030         * Makefile.am:
2031         * BufferView_pimpl.[Ch]:
2032         * bufferview_funcs.C:
2033         * cursor_slice.C:
2034         * lyxtext.h:
2035         * text.C:
2036         * text2.C:
2037         * text3.C:
2038         * textcursor.[Ch]: adjust
2039
2040 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * text2.C (undoSpan): add and use
2043         * text.C (breakParagraph): use undoSpan (fix bug 578)
2044         * lyxtext.h: adjust
2045
2046 2004-01-08  Angus Leeming  <leeming@lyx.org>
2047
2048         * BufferView_pimpl.C (MenuInsertLyXFile):
2049         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2050         * lyxfunc.C (menuNew, open, doImport):
2051         FileFilterList change to the FileDialog open and save functions.
2052
2053 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2054
2055         * ShareContainer.h: make isEqual and isUnique adaptable
2056
2057         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2058
2059 2004-01-07  Angus Leeming  <leeming@lyx.org>
2060
2061         * LyXAction.C:
2062         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2063
2064         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2065
2066         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2067         functions replacing find, replace and replaceAll.
2068
2069         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2070         LFUN_WORDFIND(FORWARD|BACKWARD).
2071
2072 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * text.C (breakParagraph): remove an outdated #warning
2075
2076 2004-01-07  André Pönitz  <poenitz@gmx.net>
2077
2078         * lyxfind.C: somewhat clearer logic
2079
2080         * text.C: prevent crash in cursorX on unitialized row cache
2081
2082 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2083
2084         * lyxcursor.[Ch] (operator>): add
2085         * textcursor.C (selStart, selEnd): use std::min and std::max
2086
2087 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2088
2089         * Chktex.C: include boost/format.hpp
2090
2091 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2092
2093         * InsetList.C: replace functor MathcIt with adaptable functor
2094         InsetTablePosLess
2095         (insetIterator): modify accordingly
2096
2097         * BranchList.h: move the BranchNamesEqual functor here from...
2098         * BranchList.C: ... to here
2099
2100         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2101         SameName and match.
2102         (add): replace a finding loop with std::find_if.
2103
2104 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2105
2106         * output_docbook.C: moving LatexParam functionality into
2107         .layout files
2108
2109 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2110
2111         * buffer.C: increment format to 229.
2112
2113 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2114
2115         * LaTeXFeatures.C:
2116         * lyx_sty.[Ch]: remove minipageindent_def
2117
2118         * LyXAction.C:
2119         * factory.C:
2120         * lfuns.h:
2121         * lyxfunc.C:
2122         * text3.C: remove LFUN_INSET_MINIPAGE
2123
2124 2003-12-28  Angus Leeming  <leeming@lyx.org>
2125
2126         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2127
2128 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * text2.C (setParagraph): fix off-by-one crash
2131
2132 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2133
2134         * output_docbook.C: header stuff for AGU
2135
2136 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * text2.C (redoCursor): remove
2139         * text.C:
2140         * text3.C:
2141         * BufferView_pimpl.C: remove calls to redoCursor and
2142         setCursor(cursor.par(), cursor.pos()) all around
2143
2144 2003-12-15  Angus Leeming  <leeming@lyx.org>
2145
2146         * buffer.C: up the format to 228.
2147
2148 2003-12-15  André Pönitz  <poenitz@gmx.net>
2149
2150         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2151         slices
2152
2153         * Makefile.am:
2154
2155         * BufferView_pimpl.C:
2156         * cursor.[Ch]:
2157         * lyxcursor.[Ch]:
2158         * rowpainter.[Ch]:
2159         * lyxtext.h:
2160         * text.C:
2161         * text2.C:
2162         * text3.C: adjust
2163
2164 2003-12-15  Angus Leeming  <leeming@lyx.org>
2165
2166         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2167         than getFromGUIName to manipulate the color.
2168
2169 2003-12-14  Angus Leeming  <leeming@lyx.org>
2170
2171         * BranchList.[Ch]: minimize the API.
2172         (Branch::getBranch, getColor): now return a 'const &'.
2173         (Branch::setSelected) now returns a bool set to true if the
2174         selection status changes.
2175         (BranchList::clear, size, getColor, setColor, setSelected,
2176         allBranches, allSelected, separator): removed.
2177         (BranchList::find): new functions, returning the Branch with
2178         the given name.
2179         (BranchList::add, remove): return a bool indicating that
2180         the operation was successful.
2181
2182         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2183         new InsetBranch::isBranchSlected member function.
2184
2185         * LColor.[Ch]: mimimize the API.
2186         (fill): renamed as addColor and made private.
2187         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2188         versions of these functions taking a string arg have been removed.
2189
2190         * bufferparams.C (readToken):
2191         * lyxfunc.C (dispatch):
2192         * lyxrc.C (read): changes due to the altered BranchList and
2193         LColor APIs.
2194
2195         * factory.C (createInset, readInset): changes due to altered
2196         InsetBranch c-tor.
2197
2198 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2199
2200         * factory.C:
2201         * lyxfunc.C: remove insetminipage. "minipage-insert"
2202         now produces a frameless minipage box inset.
2203
2204 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * textcursor.[Ch] (selStart,selEnd): add new methods
2207         remove selection::start, end, use LyXCursor::operator<
2208         * lyxcursor.[Ch] (operator<): add
2209         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2210         * BufferView.[Ch] (unsetXSel): add
2211         * text2.C (clearSelection): use unsetXSel,adjust
2212         * text.C: adjust
2213         * text3.C: adjust
2214         * rowpainter.C: adjust
2215         * bufferview_funcs.C (put_selection_at): adjust
2216
2217 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * BufferView_pimpl.C: small coord. correction
2220
2221 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2224         dragging over the splash screen.
2225
2226 2003-12-11  Angus Leeming  <leeming@lyx.org>
2227
2228         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2229         as it is now handled in LyXText::dispatch.
2230
2231         * text3.C (doInsertInset): remove a level of nesting.
2232
2233 2003-12-11  Angus Leeming  <leeming@lyx.org>
2234
2235         * factory.C (createInset): changes due to the changed interface to
2236         InsetCommandMailer::string2params.
2237
2238 2003-12-10  Angus Leeming  <leeming@lyx.org>
2239
2240         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2241         'dialog-show-new-inset <inset name>'
2242
2243 2003-12-10  Angus Leeming  <leeming@lyx.org>
2244
2245         * buffer.C: up the format to 227.
2246
2247         * factory.C: the box inset is now identified simply by 'Box'.
2248
2249 2003-12-10  Angus Leeming  <leeming@lyx.org>
2250
2251         * buffer.C: up the format to 226.
2252
2253         * factory.C: the note inset is now identified simply by 'Note'.
2254
2255 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2256
2257         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2258         when a pit is enough. Standarize a couple of loops.
2259
2260 2003-12-05  Angus Leeming  <leeming@lyx.org>
2261
2262         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2263         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2264         data to the re-worked "log" dialog.
2265
2266 2003-12-03  André Pönitz  <poenitz@gmx.net>
2267
2268         * PosIterator.C:
2269         * iterators.C:
2270         * lyxtext.h:
2271         * output_latex.C:
2272         * paragraph_funcs.C:
2273         * text.C:
2274         * text2.C: use Inset::getText instead of Inset::getParagraph
2275
2276 2003-12-03  André Pönitz  <poenitz@gmx.net>
2277
2278         * buffer.[Ch]:
2279         * lyxtext.h:
2280         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2281         InsetText::read() as LyXText::read()
2282
2283 2003-12-02  Angus Leeming  <leeming@lyx.org>
2284
2285         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2286         type. Add a comment in the implementation that the function uses
2287         the stream's bad() function rather than fail() as the std::streams
2288         would do.
2289
2290 2003-12-02  André Pönitz  <poenitz@gmx.net>
2291
2292         * lyxlex.[Ch]: make interface more similar to std::stream
2293
2294         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2295
2296 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2297
2298         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2299
2300 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2301
2302         * vspace.[Ch]: remove VSpace::NONE
2303
2304 2003-12-01  André Pönitz  <poenitz@gmx.net>
2305
2306         * buffer.[Ch]:
2307         * lyxtext.h: move ParagraphList member to LyXText
2308         rename LyXText::ownerParagraphs to LyXText::paragraph
2309
2310         * CutAndPaste.C:
2311         * bufferview_funcs.C:
2312         * iterators.[Ch]:
2313         * lyx_cb.C:
2314         * paragraph.C:
2315         * rowpainter.C:
2316         * tabular.C:
2317         * text.C:
2318         * text2.C:
2319         * text3.C: adjust
2320
2321         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2322
2323         * undo.C: fix cursor positioning
2324
2325 2003-12-01  John Levon  <levon@movementarian.org>
2326
2327         * BufferView_pimpl.C: fix a crash on exit with
2328         a buffer open
2329
2330 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2331
2332         * BranchList.C: fix setSelected() method.
2333
2334 2003-11-28  André Pönitz  <poenitz@gmx.net>
2335
2336         * ParagraphParameters.[Ch]:
2337         * ParameterStruct.h: remove space above/below from Paragraph to
2338          InsetVSpace
2339
2340         * BufferView_pimpl.C:
2341         * factory.C:
2342         * lyxfunc.C:
2343         * lyxtext.h:
2344         * output_latex.C:
2345         * paragraph.C:
2346         * paragraph_funcs.C:
2347         * rowpainter.[Ch]:
2348         * text.C:
2349         * text2.C:
2350         * text3.C: adjust
2351
2352 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2353
2354         * factory.C: Syntax change for CharStyles
2355
2356 2003-11-28  André Pönitz  <poenitz@gmx.net>
2357
2358         * BufferView.[Ch]:
2359         * BufferView.[Ch]:
2360         * buffer.[Ch]:
2361         * buffer.[Ch]: move LyXText member
2362
2363 2003-11-28  André Pönitz  <poenitz@gmx.net>
2364
2365         * BufferView.[Ch]: make LyXText * text a private member
2366
2367         * BufferView_pimpl.C:
2368         * cursor.C:
2369         * iterators.C:
2370         * lyx_cb.C:
2371         * lyxfind.C:
2372         * lyxtext.h:
2373         * rowpainter.[Ch]:
2374         * text.C:
2375         * text2.C:
2376         * undo.C: adjust
2377
2378         * output_plaintext.C: cleanup
2379
2380 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2381
2382         * buffer.C:
2383         * lyxtextclass.[Ch]: parametrize SGML document header
2384
2385 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2386
2387         * converter.[Ch]:
2388         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2389         getFlavor().
2390
2391 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2392
2393         * text2.C (setFont): rework using PosIterator (no more recursive)
2394         (setCharFont): no more needed
2395         (setLayout): no more selection cursors fiddling (done by redoCursor)
2396         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2397         destroy remaining ones)
2398
2399 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2400
2401         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2402         * lyxtext.h: ditto
2403         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2404         selection cursors
2405         * lyxfunc.C: adjust
2406         * text3.C: adjust + re-allow multi par depth changes
2407         * textcursor.C: simplify a bit
2408
2409 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2410
2411         * src/buffer.C:
2412         * src/lyxlayout.C:
2413         * src/lyxlayout.h:
2414         * src/lyxtext.h:
2415         * src/output_docbook.C:
2416         * src/output_latex.C:
2417         * src/paragraph.C:
2418         * src/paragraph.h:
2419         * src/sgml.C:
2420         * src/sgml.h:
2421         * src/text2.C: Introducing a number of tags parametrizing various
2422         XML formats that we may want to support
2423
2424 2003-11-25  André Pönitz  <poenitz@gmx.net>
2425
2426         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2427
2428         * lyxtext.h (leftMargin/rightMargin): simplify interface
2429
2430         * rowpainter.C:
2431         * text.C:
2432         * text2.C:
2433         * text3.C: adjust
2434
2435 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2436
2437         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2438         master file to any child files. Fixes bug 546.
2439
2440 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2441
2442         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2443
2444 2003-11-24  André Pönitz  <poenitz@gmx.net>
2445
2446         * rowpainter.C: simplification
2447
2448         * text2.C (updateCounters): remove call to redoParagraph on
2449         changed labels as this is far too expensive.
2450
2451 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * converter.C (convert): fix a crash: this function gets
2454         called with buffer == 0 from importer code.
2455
2456 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2457
2458         * text3.C (cursorPrevious): make sure that we do not compare
2459         iterators form different containers.
2460         (cursorNext): ditto
2461
2462         * rowpainter.C (paintSelection): make sure that we do not compare
2463         iterators from different containers.
2464
2465         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2466         iterators from different ParagraphList containers.
2467         [NEXT] ditto
2468
2469         * text2.C (LyXText): change order of initialization slightly
2470         (operator=): new function. copy all variables except cache_par_
2471         (moveUp): make sure that we do not compare iterators from
2472         different ParagraphList constainers.
2473         (moveDown): ditto
2474
2475         * text.C (firstPar): new function
2476         (lastPar): new function
2477         (endPar): new function
2478
2479         * lyxtext.h: move things around and group public functions, public
2480         variables, private functions, private variables
2481
2482 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2483
2484         * factory.C: change call to InsetERT constructor to avoid
2485         additional invocation of method status
2486         * text2.C (toggleInset): remove redundant update() call
2487         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2488         instead of a Bufferview pointer
2489
2490 2003-11-21  André Pönitz  <poenitz@gmx.net>
2491
2492         * rowpainter.C: simplification
2493
2494 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * text3.C (dispatch): make possible to extend a word/row selection
2497         with the mouse
2498
2499 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2500
2501         * lyxtext.h: x0_,y0_ -> xo_,yo_
2502         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2503         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2504         * rowpainter.C (paintRows): paint full paragraphs
2505
2506 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2509         screen coordinates)
2510
2511 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * lyxtext.h: add x0_, y0_
2514         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2515         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2516
2517 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * text2.C (setCursorIntern): move the x_target update here *
2520         * text3.C: change some bv() to true/false in calls to
2521         cursorUp/Down/Right/Left
2522         * cursor.C: use helper function.
2523
2524 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2527         * paragraph_funcs.[Ch]: correct comment
2528         * rowpainter.C: do not paint selections away from bv->cursor()
2529         Fix a long standing selection painting bug.
2530         * text3.C: generalize mouse-selection code to LyXTexts other that
2531         top one
2532         * textcursor.C: do not use y coords if we can use par offsets
2533
2534 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2535
2536         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2537         cursor position after e.g. inset insert)
2538
2539 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2540
2541         * lyxfind.C (replace): adjust to locking removal + some
2542         code simplification
2543
2544 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2547         of the path
2548
2549 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * lyxlayout.[Ch]:
2552         * output_docbook.C: XML sanitation: new layout
2553         parameters InnerTag and CommandDepth
2554
2555 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2556
2557         * BufferView_pimpl.C:
2558         * factory.C:
2559         * text3.C: Fix the insertion and modification of button-style
2560         insets
2561
2562 2003-11-13  André Pönitz  <poenitz@gmx.net>
2563
2564         * InsetList.[Ch]: remove deleteLyXText
2565
2566         * paragraph.[Ch]: cache beginOfBody position
2567
2568         * Bidi.C:
2569         * text.C:
2570         * text2.C:
2571         * text3.C: remove superfluous update() calls
2572
2573         * vspace.C: cleanup
2574
2575 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2578         * BufferView.C (fitLockedInsetCursor): remove
2579         * cursor.[Ch] (getDim): add
2580         * text.C (getRowNearY): add faster version
2581         * text3.C: remove some update calls
2582
2583 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2584
2585         * LaTeXFeatures.C:
2586         * LyXAction.C:
2587         * MenuBackend.C:
2588         * MenuBackend.h:
2589         * dispatchresult.h:
2590         * factory.C:
2591         * lfuns.h:
2592         * lyxfunc.C:
2593         * lyxtextclass.C:
2594         * lyxtextclass.h:
2595         * text3.C: The Character Style /XML short element patch.
2596
2597 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * text3.C:
2600         * factory.C: Small step to solving 'unable to insert some insets'
2601         problem
2602
2603 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * cursor.[Ch] (updatePos): new function for updating the y
2606         position of the tip inset
2607         * bufferview_funcs.C (put_selection_at):
2608         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2609
2610 2003-11-11  André Pönitz  <poenitz@gmx.net>
2611
2612         * text.C: remove big comment on invalid Paragraph pointers as it is
2613         not valid anymore
2614
2615 2003-11-11  André Pönitz  <poenitz@gmx.net>
2616
2617         * text_funcs.[Ch]: merge with ...
2618
2619         * text.C: ... this
2620
2621         * lyxtext.h:
2622         * text2.C:
2623         * text3.C: adjust
2624
2625         * Makefile.am: remove text_funcs.[Ch]
2626
2627 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2628
2629         * cursor.C (getPos): return absolute cached y coord
2630
2631         * BufferView_pimpl.C (fitCursor): new simplistic code
2632         (workAreaDispatch): add a fitCursor call
2633
2634 2003-11-10  André Pönitz  <poenitz@gmx.net>
2635
2636         * BufferView.[Ch]:
2637         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2638
2639 2003-11-10  André Pönitz  <poenitz@gmx.net>
2640
2641         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2642         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2643         indicate that the cursor needs to leave an inset
2644
2645         * lyxtext.h: remove inset locking
2646
2647         * cursor.[Ch]: re-implement functionality provided by inset locking
2648
2649         * BufferView.[Ch]:
2650         * BufferView_pimpl.[Ch]:
2651         * LyXAction.C:
2652         * bufferview_funcs.[Ch]:
2653         * factory.C:
2654         * funcrequest.[Ch]:
2655         * iterators.C:
2656         * lyx_cb.C:
2657         * lyxfind.C:
2658         * lyxfunc.C:
2659         * text.C:
2660         * text2.C:
2661         * text3.C:
2662         * undo.C: adjust
2663
2664 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * PosIterator.[Ch]: replace the stack with a vector, add inset
2667         accesor
2668         * iterators.[C]: adjust
2669
2670 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2673         replaced
2674         * paragraph_funcs.C (readParToken): put the correct id in the
2675         error item, not the id of the top paragraph
2676
2677 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2678
2679         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2680         * bufferview_funcs.C (put_selection_at): use the above
2681
2682 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2685
2686 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2687
2688         * output_linuxdoc.h:
2689         * output_plaintext.h:
2690         * output.h:
2691         * output_docbook.h: add #include statements
2692
2693 2003-11-05  José Matos  <jamatos@lyx.org>
2694
2695         * output_docbook.[Ch]:
2696         * output_latex.[Ch]:
2697         * output_linuxdoc.[Ch]:
2698         * output_plaintext.[Ch]: New files for output formats.
2699         * output.[Ch]: New file for helper functions.
2700
2701         * buffer.[Ch]:
2702         * paragraph_funcs.[Ch]: output functions moved to new files.
2703
2704         * outputparams.h: rename of latexrunparams.h
2705
2706         * LaTeX.[Ch]:
2707         * buffer.[Ch]:
2708         * bufferlist.[Ch]:
2709         * converter.[Ch]:
2710         * exporter.C:
2711         * paragraph.[Ch]:
2712         * paragraph_funcs.[Ch]:
2713         * paragraph_pimpl.[Ch]:
2714         * tabular.[Ch]: rename ascii to plaintext
2715         and LatexRunParams to OutputParams.
2716
2717 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2718
2719         * iterators.[Ch] (text): require bv argument
2720         * undo.C (recordUndo):
2721         * lyxfunc.C (dispatch):
2722         * bufferview_funcs.C (put_selection_at): adjust
2723
2724 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2725
2726         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2727
2728 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2731         nestings
2732
2733 2003-11-04  André Pönitz  <poenitz@gmx.net>
2734
2735         * cursor.[Ch]: restructure
2736
2737         * BufferView.[Ch]:
2738         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2739
2740         * iterators.[Ch] (asCursor): remove
2741
2742         * lfuns.h: remove LFUN_INSET_EDIT
2743
2744         * lyxfunc.C:
2745         * tabular.C:
2746         * text.C:
2747         * text2.C:
2748         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2749
2750 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * lyxfind.[Ch]: complete overhaul
2753         * BufferView_pimpl.C:
2754         * lyxfunc.C: adjust
2755         * paragraph.[Ch] (insert): add
2756
2757 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2758
2759         * BufferView.[Ch]:
2760         * lyxtext.h:
2761         * text.C: remove dead spellcheck code
2762
2763 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * dispatchresult.h: add a val setter
2766
2767         * cursor.C (dispatch): use a tempvar for data_[i]
2768
2769 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * PosIterator.[Ch]: compile fix
2772
2773 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * text.C (cursorPar): deactivate the cursor cache
2776
2777 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2780
2781 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2782
2783         * text3.C (dispatch): adjust for new DisptchResult semantics.
2784
2785         * lyxfunc.C (dispatch): handle update when return from
2786         Cursor::dispatch, adjust for new DispatchResult semantics.
2787
2788         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2789         DispatchResult(true) mean to not update. Add class functions for
2790         setting dispatched and update, as well as reading.
2791
2792         * cursor.C (dispatch): don't handle update here
2793
2794 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2797         * trans_mgr.C: adjust
2798
2799         * paragraph_funcs.C (readParToken): exception safety
2800
2801         * lyxvc.h: store the vcs pointer in a scoped_ptr
2802         * lyxvc.C: adjust
2803
2804         * lyxsocket.C (serverCallback): exception safety
2805
2806         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2807
2808         * ispell.C (clone): make it return a auto_ptr
2809
2810         * factory.C (createInset): exception safety
2811         (readInset): exception safety
2812
2813         * bufferlist.C (newBuffer): exception safety
2814
2815         * Thesaurus.C (Thesaurus): use initialization for aik_
2816
2817         * MenuBackend.C (expandToc): exception safety.
2818
2819 2003-11-03  André Pönitz  <poenitz@gmx.net>
2820
2821         * buffer.C:
2822         * buffer.h:
2823         * bufferview_funcs.C: remove getInsetFromId()
2824
2825         * lyxcursor.[Ch]:
2826         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2827
2828         * lyxfunc.C:
2829         * text2.C:
2830         * text3.C: adjust
2831
2832 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * PosIterator.C (distance, advance): new
2835         * bufferview_funcs.[Ch] (put_selection_at): new
2836         * iterators.[Ch] (lockPath): new
2837
2838 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * iterators.[Ch] (asPosIterator): added
2841         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2842         * PosIterator.[Ch]: added
2843
2844 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2845
2846         * text3.C:
2847         * lyxfunc.C:
2848         * cursor.C (dispatch):
2849         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2850
2851         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2852         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2853         contructor, add a class function dispatched. Remove operator>=
2854
2855 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * debug.C: only use the default constructor for debugstream
2858         (lyxerr) here.
2859
2860         * main.C (main): include debug.h and setup the lyxerr streambuf
2861         here.
2862
2863 2003-10-31  José Matos  <jamatos@lyx.org>
2864
2865         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2866
2867         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2868         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2869         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2870         * paragraph_pimpl.C (simpleTeXSpecialC):
2871         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2872         add LatexRunParams argument.
2873
2874         * exporter.C (Export): change call accordingly.
2875
2876         * latexrunparams.h: add new member to take care of the other backends.
2877 2003-10-30  José Matos  <jamatos@lyx.org>
2878
2879         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2880         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2881         factorise code for paragraph output.
2882         * buffer.[Ch]:
2883         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2884         move functions.
2885
2886 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * text3.C (dispatch):
2889         * lyxfunc.C (dispatch):
2890         * cursor.C (dispatch):
2891         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2892
2893         * dispatchresult.h: make the dispatch_result_t ctor explicit
2894
2895 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2896
2897         * sgml.[Ch]:
2898         * buffer.C: small refactoring of docbook stuff
2899
2900 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2903         meaning.
2904
2905 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2908         operator dispatch_result_t, and operators for == != and >=
2909
2910         * cursor.C (dispatch): adjust for operator dispatch_result_t
2911         removal. comment out call to update
2912
2913         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2914
2915 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * text3.C:
2918         * text2.C:
2919         * text.C:
2920         * lyxtext.h:
2921         * lyxfunc.C:
2922         * cursor.C:
2923         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2924         (dispatch):
2925
2926         * dispatchresult.h: new file, DispatchResult broken out of
2927         insets/insetbase.h
2928
2929         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2930
2931 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * text.C (rowBreakPoint): put a hack inside #if 0
2934
2935 2003-10-28  André Pönitz  <poenitz@gmx.net>
2936
2937         * lyxtext.h:
2938         * metricsinfo.C:
2939         * paragraph_funcs.C:
2940         * rowpainter.C:
2941         * text.C:
2942         * text2.C: general cleanup (lots of small stuff)
2943
2944 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * text2.C (cursorEnd): simple fix to the "end key goes to one
2947         before the end on last row" bug
2948
2949 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * text.C (backspace): fix the "zombie characters"
2952
2953 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2956
2957 2003-10-27  André Pönitz  <poenitz@gmx.net>
2958
2959         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2960
2961         * factory.C: handle new InsetPagebreak, InsetLine
2962
2963         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2964         and move handling into new InsetPagebreak, InsetLine
2965
2966         * BufferView_pimpl.C:
2967         * LyXAction.C:
2968         * ParagraphParameters.C:
2969         * ParameterStruct.h:
2970         * lyxfunc.C:
2971         * lyxtext.h:
2972         * paragraph.C:
2973         * paragraph.h:
2974         * paragraph_funcs.C:
2975         * paragraph_pimpl.C:
2976         * rowpainter.C:
2977         * text.C:
2978         * text2.C:
2979         * text3.C: adjust
2980
2981 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * text.C:
2984         * lyxrow_funcs.[Ch]:
2985         * Bidi.C:
2986         * paragraph.C:
2987         * lyxtext.h:
2988         * rowpainter.C:
2989         * text2.C:
2990         * text3.C: remove lastPos uses in favour of Row::endpos
2991
2992 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2993
2994         * undo.C (performUndoOrRedo): fix two crashes by setting a
2995         cursor by hand and reordering some calls. Use bv->lockInset instead
2996         of inset->edit because the latter loses cursor information
2997
2998 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3001         by Martin
3002         (rowBreakPoint): fix width. change point to point + 1.
3003         Add a missing check.
3004
3005 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3006
3007         * MenuBackend.C:
3008         * lyxfunc.C: fix (at least partly) the problems
3009         with the Nav menu and headers inside branch insets
3010         reported by Kayvan
3011
3012 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * paragraph.C (getChar): add strong asserts
3015
3016         * lyxrow_funcs.C (lastPos): remove hideous hack
3017
3018         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3019         (fill): adjust to that (avoid an infinite loop)
3020
3021 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3022
3023         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3024
3025 2003-10-23  André Pönitz  <poenitz@gmx.net>
3026
3027         * RowList_fwd.h: change list<> to vector<> to gain speed
3028         after suggestion from Alfredo
3029
3030 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * lyxtext.h: move the bidi stuff from here...
3033         * text.C: and here
3034         * text2.C: and here
3035         * Bidi.[Ch]: ... to here
3036
3037 2003-10-23  André Pönitz  <poenitz@gmx.net>
3038
3039         * lyxtext.h:
3040         * text.C (isLastRow, isFirstRow): new functions
3041
3042         * paragraph.h: new width cache member
3043
3044         * rowpainter.C: replace RowList::iterator with Row & where possible
3045
3046         * lyxfunc.C: replace several view()->text with a single call
3047
3048         * toc.C: fix 'unused' warning
3049
3050 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3051
3052         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3053         when woring with stream::pos_type
3054         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3055
3056 2003-10-22  André Pönitz  <poenitz@gmx.net>
3057
3058         * lyxtext.h:
3059         * text.C: use Row & instead of RowList::iterator
3060
3061         * lyxrow.h: rename end() to endpos()
3062
3063         * rowpainter.C:
3064         * text.C:
3065         * text2.C: adjust
3066
3067 2003-10-22  Angus Leeming  <leeming@lyx.org>
3068
3069         * buffer.[Ch] (fully_loaded): new member function, returning true
3070         only when the file has been loaded fully.
3071         Used to prevent the premature generation of previews and by the
3072         citation inset to prevent computation of the natbib-style label.
3073
3074         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3075         templates are all set up.
3076
3077         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3078
3079 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3080
3081         * text.C: fixed an "oops" in the "is a bit silly"
3082         bug fix
3083
3084 2003-10-21  André Pönitz  <poenitz@gmx.net>
3085
3086         * FuncStatus.[Ch]: small stuff, whitespace
3087
3088         * lyxfont.[Ch]: operator<<() for debug reasons
3089
3090         * lyxfunc.C:
3091         * lyxrow_funcs.C:
3092         * lyxtext.h: whitespace, spelling
3093
3094         * paragraph.C: naming of variables
3095
3096         * text.C:
3097         * text2.C: small stuff
3098
3099
3100 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3101
3102         * text.C: (1) finish off the inset display() work;
3103         (2) fix the "is a bit silly" bug (accessing char
3104         past end of par).
3105
3106 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3107
3108         * text.C: re-introduce display() for insets, fixing the
3109         various bugs (stretch of line above, math inset
3110         positioning, ...)
3111
3112 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3113
3114         * text.C (rightMargin): remove spurious semicolon
3115
3116         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3117         1415)
3118
3119 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3120
3121         * text3.C: fix one crash due to wrong cursor def
3122
3123 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * vc-backend.C (scanMaster): make the regex static
3126
3127         * LaTeX.C (scanAuxFile): make the regexs static
3128
3129         * text3.C (doInsertInset, dispatch, dispatch):
3130         * text2.C (cursorUp, cursorDown):
3131         * text.C (selectNextWordToSpellcheck):
3132         * BufferView_pimpl.C (dispatch):
3133         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3134
3135 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3136
3137         * lyxsocket.C: include <cerrno>
3138
3139 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * lyxfunc.C (dispatch): remove textcache stuff
3142
3143         * bufferlist.C (release): remove textcache stuff
3144         (closeAll): ditto
3145
3146         * TextCache.C: delete file
3147         * TextCache.h: delete file
3148
3149         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3150
3151         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3152         delete of the bv_->text.
3153         (resizeCurrentBuffer): remove texcache stuff
3154         (workAreaResize): ditto
3155
3156 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3159         action.
3160
3161 2003-10-16  André Pönitz  <poenitz@gmx.net>
3162
3163         * lyxrow.[Ch]:
3164         * paragraph.h:
3165         * rowpainter.C:
3166         * text.C:
3167         * text2.C:
3168         * text3.C: speed up by storing y positions per paragraph plus per-row
3169         offset instead of having a 'full' y position in the row.
3170
3171 2003-10-15  André Pönitz  <poenitz@gmx.net>
3172
3173         * iterators.[Ch]:
3174         * iterators.[Ch]:
3175         * undo.[Ch]: make undo aware of inner insets
3176
3177 2003-10-14  Angus Leeming  <leeming@lyx.org>
3178
3179         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3180         static member functions LyX::ref() and LyX::cref.
3181         (lastfiles): new accessor functions for the new lastfiles_ member var.
3182         (addLyXView, views_): add a new LyXView to the list of views_.
3183         (updateInset): loop over all LyXViews to call their own updateInset
3184         member function, returning a pointer to the Buffer owning the inset.
3185
3186         * BufferView_pimpl.C (loadLyXFile):
3187         * MenuBackend.C (expandLastfiles):
3188         * bufferlist.C (MenuWrite, QuitLyX):
3189         lastfiles is no longer a global variable.
3190         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3191
3192         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3193         static function. Access through LyX::cref().emergencyCleanup().
3194
3195 2003-10-14  André Pönitz  <poenitz@gmx.net>
3196
3197         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3198
3199         * undo.[Ch]: restoring part of 'undo in insets'
3200
3201         * Makefile.am:
3202         * undo_funcs.[Ch]: merge with undo.[Ch]
3203
3204         * tabular.C: small cleansing stuff
3205
3206 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * paragraph_funcs.C (readParToken): report unknown insets as error
3209         boxes. Use the outer paragraph as location (also for unknown
3210         tokens).
3211
3212         * factory.C (readInset): do not abort on reading an unknown inset.
3213         Eat it and return 0.
3214
3215 2003-10-13  Angus Leeming  <leeming@lyx.org>
3216
3217         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3218
3219         * lyxrc.C: displayTranslator is now a function,
3220         declared in GraphicsTypes.h.
3221
3222 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3223
3224         * format.C: new placeholder $$a to pass the socket address.
3225
3226         * bufferlist.[Ch]: new function getBufferFromTmp.
3227
3228         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3229           files in the temporary dir.
3230
3231 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3232
3233         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3234
3235         * Makefile.am: add lyxsocket.[Ch].
3236
3237         * lyx_main.C (error_handler): handle SIGPIPE.
3238
3239 2003-10-13  André Pönitz  <poenitz@gmx.net>
3240
3241         * BufferView_pimpl.C:
3242         * lyxtext.h:
3243         * text.C:
3244         * text2.C:
3245         * text3.C:
3246         * undo_funcs.[Ch]: use paroffset_type instead of
3247           ParagraphList::iterators to prevent multiple conversion
3248           (and get a more robust interface)
3249
3250 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3253         * lyxtext.h: ditto
3254         * text3.C (dispatch): ditto
3255
3256 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3259         move the onlyfile, use onlyfile instead of foundfile in a couple
3260         of places.
3261
3262         * DepTable.C (update): flush the error stream a bit more
3263
3264 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3265
3266         * lyxserver.C (callback): adjust
3267
3268         * lyxfunc.C (getStatus): add a missing brace in commented code
3269         (ensureBufferClean): reindent
3270         (dispatch): delete version taking a string
3271
3272 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * LaTeX.C (deplog): move found file handlig from here...
3275         (handleFoundFile): .. to new function here.
3276         (deplog): make sure to discover several files mentioned on the
3277         same log line.
3278
3279 2003-10-10  André Pönitz  <poenitz@gmx.net>
3280
3281         * lyxfunc.C:
3282         * lyxtext.h:
3283         * tabular.C:
3284         * text.C:
3285         * text2.C:
3286         * text3.C: fix some of the tabular crashes
3287
3288 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3289
3290         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3291
3292         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3293
3294 2003-10-09  André Pönitz  <poenitz@gmx.net>
3295
3296         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3297
3298         * BufferView.C:
3299         * BufferView_pimpl.C:
3300         * bufferview_funcs.C:
3301         * lyx_cb.C:
3302         * lyxcursor.C:
3303         * lyxfind.C:
3304         * lyxfunc.C:
3305         * lyxtext.h:
3306         * text.C:
3307         * text2.C:
3308         * text3.C:
3309         * text_funcs.[Ch]:
3310         * textcursor.[Ch]:
3311         * undo_funcs.C: adjust
3312
3313 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * text2.C (incrementItemDepth): new function, use a backtracking
3316         algorithm to discover the correct item depth.
3317         (resetEnumCounterIfNeeded): new function, use a backtracking
3318         algorithm to discover if counter reset is needed.
3319         (setCounter): use them. Simplify a bit. Add different labels for
3320         different item depths for itemize.
3321
3322         * paragraph.C (Paragraph): remove initialization of enumdepth
3323         (operator=): ditto
3324
3325         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3326         enumerate and itemize. Change the type of itemdepth to signed char.
3327
3328 2003-10-08  André Pönitz  <poenitz@gmx.net>
3329
3330         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3331           thing assignable.
3332         * text.C:
3333         * text2.C: adjust
3334
3335         * tabular.[Ch]: fix crash after 'row-insert'
3336
3337 2003-10-08  Angus Leeming  <leeming@lyx.org>
3338
3339         Fix doxygen warnings.
3340
3341         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3342         Remove CutAndPaste:: prefix from header file declaration.
3343
3344         * LColor.h (fill): remove LColor:: prefix from declaration.
3345
3346         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3347         use lyx::depth_type rather than Paragraph::depth_type so that
3348         header file and .C file match.
3349
3350         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3351
3352         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3353         * aspell.C: \file aspell_local.C -> \file aspell.C
3354         * gettext.C: \file gettext.C -> \file src/gettext.C
3355         * gettext.h: \file gettext.h -> \file src/gettext.h
3356         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3357         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3358         * text.C: \file text.C -> \file src/text.C
3359
3360         * toc.C: move comment so that doxygen is not confused.
3361
3362 2003-10-07  Angus Leeming  <leeming@lyx.org>
3363
3364         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3365
3366 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3367
3368         * aspell.C:
3369         * aspell_local.h: add forgotten std::string's.
3370
3371 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3372
3373         * LaTeXFeatures.C:
3374         * LyXAction.C:
3375         * factory.C:
3376         * lfuns.h:
3377         * lyxfunc.C:
3378         * text3.C: The Box patch. Fancybox support, minipage, parbox
3379
3380 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3381
3382         * CutAndPaste.h:
3383         * DepTable.h:
3384         * FloatList.h:
3385         * LaTeXFeatures.h:
3386         * ParagraphParameters.h:
3387         * TextCache.h:
3388         * Thesaurus.h:
3389         * bufferlist.h:
3390         * exporter.h:
3391         * importer.h:
3392         * lastfiles.h:
3393         * lyxfind.h:
3394         * lyxfont.h:
3395         * lyxlex.h:
3396         * lyxtextclasslist.h:
3397         * messages.h:
3398         * paragraph.h:
3399         * paragraph_pimpl.C:
3400         * textcursor.h: add <string> and other small fixes to make Lars'
3401         std::string patch compile with STLport.
3402
3403 2003-10-06  Angus Leeming  <leeming@lyx.org>
3404
3405         * LColor.h: Add missing #include <string>.
3406
3407 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * All most all file in all subdirs: Make <string> be the prefered
3410         way of getting to std::string, add using declarations.
3411
3412 2003-10-06  André Pönitz  <poenitz@gmx.net>
3413
3414         * metricsinfo.C: initialize LyXFont before changing attribute.
3415         (fixes the 'math in \emph is upright' bug)
3416
3417 2003-10-06  André Pönitz  <poenitz@gmx.net>
3418
3419         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3420
3421 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3422
3423         * graph.C:
3424         * paragraph_pimpl.C: Small fixes to build using STLport
3425
3426 2003-10-02  André Pönitz  <poenitz@gmx.net>
3427
3428         * lyxfunc.C:
3429         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3430
3431 2003-10-01  André Pönitz  <poenitz@gmx.net>
3432
3433         * factory.C: assert early
3434
3435 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * lyx_main.C: remove the global debug object
3438
3439         * debug.h: adjust for new debugstream
3440
3441         * debug.C: adjust for new debugstream and keep the global debug
3442         object here.
3443
3444 2003-09-22  Angus Leeming  <leeming@lyx.org>
3445
3446         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3447         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3448         an incomplete class LyXFont.
3449
3450 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3451
3452         * factory.C: bug fix in branches
3453
3454 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * lyxfunc.C (processKeySym): adjust
3457         (dispatch): adjust
3458         (dispatch): change arg name from ev to func, adjust
3459         (sendDispatchMessage): ditto
3460
3461         * lyx_main.C (defaultKeyBindings): adjust keybindings
3462         (deadKeyBindings): ditto
3463
3464         * kbsequence.C (addkey): return a FuncRequest
3465
3466         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3467
3468         * kbmap.C (bind): take a FuncRequest as arg, adjust
3469         (read): adjust
3470         (lookup): adjust
3471         (defkey): change to take a FuncRequest as arg, adjust
3472         (findbinding): take a FuncRequest as arg, adjust.
3473
3474         * funcrequest.h (operator=): added
3475
3476         * funcrequest.C (FuncRequest): default kb_action changed from
3477         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3478
3479         * buffer.C (dispatch): simplify
3480         (dispatch): adjust to take a FuncRequest as arg, adjust
3481
3482         * boost.C (assertion_failed): change assertion message slightly
3483
3484         * ToolbarBackend.C (read): simplify
3485
3486         * MenuBackend.C (binding): adjust call to findbinding, add a
3487         message if no binding is found.
3488         (read): simplify
3489         (expandToc): correct by adding a empty FuncRequest
3490
3491         * LyXAction.C: include <boost/assert.hpp>
3492         (isPseudoAction): delete function
3493         (LookupFunc): change name to...
3494         (lookupFunc): this. change return type to FuncRequest.
3495         (getActionName): take kb_action as arg, simplify
3496         (funcHasFlag): add an assert, simplify.
3497
3498 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3499
3500         * toc.C (action): return a FuncRequest, simplify
3501
3502         * lyxfunc.C (processKeySym): adjust
3503         (getStatus): delete version that takes an int.
3504         (getStatus): adjust
3505         (dispatch): delete version that takes action as int
3506         (dispatch): adjust
3507         (sendDispatchMessage): simplify and adjust
3508
3509         * funcrequest.C (getArg): take unsigned int as arg
3510
3511         * ToolbarBackend.C (read): adjust
3512         (add): delete version that takes func as a string.
3513         (getIton): take a FuncRequest as arg
3514
3515         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3516         action.
3517
3518         * MenuBackend.C (MenuItem): add a new construct that only takes a
3519         Kind, simplify the constructor use for submenus.
3520         (add): adjust
3521         (expandLastfiles): adjust
3522         (expandDocuments): adjust
3523         (expandFormats): adjust
3524         (expandFloatListInsert): adjust
3525         (expandFloatInsert): adjust
3526         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3527
3528         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3529         Remove class variables lyx_pseudo_map and lyx_arg_map
3530
3531         * LyXAction.C (searchActionArg): delete function
3532         (getPseudoAction): delete function
3533         (retrieveActionArg): delete function
3534         (LookupFunc): make it return kb_action, simplify.
3535         (getActionName): simplify
3536
3537         * factory.C (createInset): fix new bug
3538
3539 2003-09-19  Angus Leeming  <leeming@lyx.org>
3540
3541         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3542         masterFilename_ parameter in the include inset.
3543
3544         * factory.C (createInset): changes due to the changes to InsetInclude.
3545
3546 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3547
3548         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3549
3550 2003-09-18  Angus Leeming  <leeming@lyx.org>
3551
3552         * buffer.C:
3553         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3554         Inset::fillWithBibKeys.
3555         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3556
3557 2003-09-18  Angus Leeming  <leeming@lyx.org>
3558
3559         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3560         variables.
3561         (ctor): pass and store a 'Buffer const &'
3562         (buffer): new member function.
3563
3564         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3565         '*this' to the LaTeXFeatures ctor.
3566
3567 2003-09-18  Angus Leeming  <leeming@lyx.org>
3568
3569         * LColor.h:
3570         * lyxfont.C:
3571         * lyxfont.h:
3572         * lyxtext.h:
3573         * text.C: rename EnumLColor as LColor_color.
3574
3575 2003-09-18  Angus Leeming  <leeming@lyx.org>
3576
3577         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3578         remove #include "insets/insetbase.h" from cursor.h.
3579
3580 2003-09-18  Angus Leeming  <leeming@lyx.org>
3581
3582         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3583         InsetOld_code to remove #include "inset.h".
3584
3585         * iterators.C: add #include "insets/inset.h"
3586
3587 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3588
3589         * BufferView.C: remove more locking stuff that apparently doesn't
3590         do anything sensible.
3591
3592 2003-09-16  André Pönitz  <poenitz@gmx.net>
3593
3594         * paragraph.[Ch]:
3595         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3596           performance boost.
3597
3598 2003-09-16  Angus Leeming  <leeming@lyx.org>
3599
3600         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3601
3602         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3603         arg/return type.
3604
3605         * paragraph.h: remove #include "lyxfont.h". Forward declare
3606         LyXFont_size.
3607
3608 2003-09-16  Angus Leeming  <leeming@lyx.org>
3609
3610         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3611         of support/textutils.h.
3612         (isWord): move the contents of support/textutils.h's IsWordChar here.
3613
3614         * buffer.C:
3615         * lyxfind.C:
3616         * rowpainter.C:
3617         * text.C:
3618         * text2.C: add #include "paragraph.h".
3619
3620         * rowpainter.C:
3621         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3622
3623 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * main.C:
3626         * lyx_main.C:
3627         * lyx_cb.C:
3628         * buffer.C:
3629         * LaTeX.C: use namespace alias for lyx::support::os
3630
3631 2003-09-16  Angus Leeming  <leeming@lyx.org>
3632
3633         * bufferparams.C:
3634         * bufferview_funcs.C:
3635         * factory.C:
3636         * lyxfunc.C:
3637         * paragraph_pimpl.C:
3638         * rowpainter.C:
3639         * text.C: add #include "LColor.h".
3640
3641 2003-09-16  Angus Leeming  <leeming@lyx.org>
3642
3643         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3644         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3645         return LyXFont &.
3646         Store the FontBits::color variable as an int rather than as an
3647         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3648         file.
3649
3650         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3651         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3652         string calls together.
3653
3654         * lyxrc.C: add #include "LColor.h".
3655
3656 2003-09-15  Angus Leeming  <leeming@lyx.org>
3657
3658         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3659         a cow_ptr.
3660
3661 2003-09-15  Angus Leeming  <leeming@lyx.org>
3662
3663         * LColor.h: add an EnumLColor wrapper for LColor::color.
3664
3665         * lyxfont.[Ch] (color, setColor, realColor):
3666         * lyxtext.h, text.C (backgroundColor):
3667         pass EnumLColor args to/from the functions, rather than LColor::color
3668         ones.
3669
3670         * lyxfont.h:
3671         * lyxtext.h: forward declare EnumLColor.
3672
3673         * lyx_main.C: add #include "LColor.h".
3674
3675 2003-09-15  Angus Leeming  <leeming@lyx.org>
3676
3677         * .cvsignore: add lyx-gtk.
3678
3679 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * Chktex.C
3682         * LaTeX.C
3683         * LaTeXFeatures.C
3684         * ParagraphParameters.C
3685         * Spacing.C
3686         * buffer.C
3687         * bufferparams.C
3688         * bufferview_funcs.C
3689         * chset.C
3690         * counters.C
3691         * funcrequest.C
3692         * lyxfont.C
3693         * lyxgluelength.C
3694         * lyxlength.C
3695         * paragraph.C
3696         * paragraph_funcs.C
3697         * text3.C
3698         * vc-backend.C: remove usage of STRCONV
3699
3700 2003-09-15  Angus Leeming  <leeming@lyx.org>
3701
3702         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3703         explicitly define the color passed to the painter.
3704
3705 2003-09-15  Angus Leeming  <leeming@lyx.org>
3706
3707         * bufferparams.C (BufferParams): reorder member initializers to avoid
3708         compiler warning.
3709
3710 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3713         * text.C (updateRowPositions): remove an unusual nop
3714
3715 2003-09-12  André Pönitz  <poenitz@gmx.net>
3716
3717         * BufferView_pimpl.C:
3718         * Bullet.C:
3719         * layout.h:
3720         * lyxfunc.C:
3721         * lyxlayout.[Ch]:
3722         * lyxtextclass.C:
3723         * rowpainter.C:
3724         * text.C:
3725         * text2.C:
3726         * Counters.[Ch]: finish the 'automatic counters' job
3727
3728 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3729
3730         * aspell.C: include <boost/assert.cpp> (compile fix)
3731
3732 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3733
3734         * boost.C (assertion_failed): use lyx::support::abort instead of
3735         assert.
3736
3737 2003-09-10  Angus Leeming  <leeming@lyx.org>
3738
3739         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3740         with their _fwd progeny.
3741
3742 2003-09-09  Angus Leeming  <leeming@lyx.org>
3743
3744         134 files throughtout the source tree: replace 'using namespace abc;'
3745         directives with the appropriate 'using abc::xyz;' declarations.
3746
3747 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3748
3749         * boost.C (emergencyCleanup): moved here from LAssert.c
3750         (assertion_failed): new function, called by BOOST_ASSERT
3751
3752         * several files: change Assert to BOOST_ASSERT
3753
3754 2003-09-09  Angus Leeming  <leeming@lyx.org>
3755
3756         * buffer.[Ch]: Add an Impl class and move Buffer's member
3757         variables into it. As a result move several header files out of
3758         buffer.h.
3759
3760         Add header files to lots of .C files all over the tree as a result.
3761
3762 2003-09-09  Angus Leeming  <leeming@lyx.org>
3763
3764         * buffer.[Ch]: make Buffer's member variables private. Add
3765         accessor functions.
3766
3767         Lots of changes all over the tree as a result.
3768
3769 2003-09-08  Angus Leeming  <leeming@lyx.org>
3770
3771         * graph.C: #include <config.h>.
3772
3773 2003-09-08  Angus Leeming  <leeming@lyx.org>
3774
3775         * BranchList.C:
3776         * BufferView.C:
3777         * BufferView_pimpl.C:
3778         * CutAndPaste.C:
3779         * DepTable.C:
3780         * LaTeX.C:
3781         * LaTeXFeatures.C:
3782         * LyXAction.C:
3783         * MenuBackend.C:
3784         * TextCache.C:
3785         * aspell.C:
3786         * buffer.C:
3787         * bufferlist.C:
3788         * changes.C:
3789         * chset.C:
3790         * converter.C:
3791         * counters.C:
3792         * debug.C:
3793         * graph.C:
3794         * ispell.C:
3795         * lyx_cb.C:
3796         * lyxfind.C:
3797         * lyxfunc.C:
3798         * lyxlex_pimpl.C:
3799         * lyxrc.C:
3800         * lyxrow.C:
3801         * paragraph.C:
3802         * rowpainter.C:
3803         * texrow.C:
3804         * text.C:
3805         * text2.C:
3806         * toc.C: remove redundant using directives.
3807
3808 2003-09-07  Angus Leeming  <leeming@lyx.org>
3809
3810         * LaTeXFeatures.h: remove #include "support/types.h".
3811         * ToolbarBackend.h: remove #include <algorithm>.
3812         * changes.h: remove #include <ctime>.
3813         * debug.h: remove #include <iosfwd>.
3814         * graph.h: remove #include "support/std_string.h".
3815         * lyx_main.h: remove #include <csignal>.
3816         * lyxlex_pimpl.h: remove #include <fstream>.
3817         * sgml.h: remove #include <algorithm>, <utility>.
3818         * toc.h: remove #include "support/std_ostream.h".
3819         Add #include <iosfwd>.
3820
3821 2003-09-07  Angus Leeming  <leeming@lyx.org>
3822
3823         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3824
3825         * converter.h: forward declare LatexRunParams.
3826         * encoding.h: remove #include "lyxrc.h".
3827         * lyxtext.h: remove #include "LColor.h".
3828         * lyxtextclass.h: remove #include "support/types.h".
3829         * trans.h: remove #include "tex-accent.h".
3830         * trans_mgr.h: remove #include "tex-accent.h".
3831         * insets/inset.h: remove #include "support/types.h", <vector>.
3832         * insets/insetcollapsable.h: remove #include "LColor.h".
3833         * insets/insetinclude.h: remove #include "dimension.h".
3834         * insets/insetlatexaccent.h: remove #include "dimension.h".
3835         * insets/insetoptarg.h:: remove #include "insettext.h".
3836         * insets/insettext.h: remove #include "dimension.h",
3837         <boost/shared_ptr.hpp>
3838
3839         * insets/renderers.h: add #include "dimension.h".
3840         * insets/updatableinset.h: add #include "support/types.h".
3841
3842         * many .C files: Associated changes.
3843
3844 2003-09-06  Angus Leeming  <leeming@lyx.org>
3845
3846         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3847         one, inside testInvariant.
3848
3849         * PrinterParams.C: new file.
3850         * PrinterParams.[Ch]: move the function bodies out of line.
3851
3852 2003-09-06  Angus Leeming  <leeming@lyx.org>
3853
3854         * ParagraphParameters.h: forward declare ParameterStruct rather than
3855         including its header file.
3856         (depth): moved out-of-line.
3857
3858 2003-09-06  Angus Leeming  <leeming@lyx.org>
3859
3860         * BufferView_pimpl.h:
3861         * kbmap.h:
3862         * kbsequence.h:
3863         * lyxfunc.h: forward declare LyXKeySym rather than
3864         #include "frontends/LyXKeySym.h".
3865
3866         * BufferView_pimpl.C:
3867         * kbmap.C:
3868         * kbsequence.C:
3869         * lyxfunc.C: associated changes.
3870
3871 2003-09-06  Angus Leeming  <leeming@lyx.org>
3872
3873         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3874         As a result, can remove the #include "insets/inset.h" from BufferView.h
3875
3876 2003-09-06  Angus Leeming  <leeming@lyx.org>
3877
3878         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3879         As a result, can remove the #include "insets/inset.h" from BufferView.h
3880
3881 2003-09-06  Angus Leeming  <leeming@lyx.org>
3882
3883         * buffer_funcs.C:
3884         * buffer.h:
3885         * bufferlist.C:
3886         * BufferView.C:
3887         * bufferview_funcs.C:
3888         * BufferView_pimpl.C:
3889         * CutAndPaste.C:
3890         * lyx_cb.C:
3891         * lyxfunc.C:
3892         * paragraph.h:
3893         * ParagraphParameters.C:
3894         * tabular.C:
3895         * text3.C:
3896         * toc.C:
3897         * undo_funcs.C:
3898         * frontends/controllers/ControlDocument.C:
3899         * insets/insetcaption.C: rearrange the #includes into some sort of
3900         coherent order.
3901
3902         * buffer.h: remove #includes ErrorList.h, undo.h
3903
3904 2003-09-06  Angus Leeming  <leeming@lyx.org>
3905
3906         * support/types.h: add a 'depth_type' typedef, used to store the
3907         nesting depth of a paragraph.
3908
3909         * paragraph.h:
3910         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3911         defining explicitly.
3912
3913         * buffer.h:
3914         * paragraph_funcs.h:
3915         * ParagraphParameters.h:
3916         * sgml.h: use lyx::depth_type rather than Paragraph or
3917         ParameterStruct's depth_type.
3918
3919         * buffer.h
3920         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3921
3922         * BufferView.C:
3923         * BufferView_pimpl.C:
3924         * CutAndPaste.C:
3925         * ParagraphParameters.C:
3926         * buffer_funcs.C:
3927         * bufferlist.C:
3928         * bufferview_funcs.C:
3929         * lyx_cb.C:
3930         * lyxfunc.C:
3931         * tabular.C:
3932         * text3.C:
3933         * toc.C:
3934         * undo_funcs.C:
3935         * frontends/LyXView.C:
3936         * frontends/controllers/ControlDocument.C:
3937         * frontends/controllers/ControlErrorList.C:
3938         * insets/insetbibitem.C:
3939         * insets/insetbranch.C:
3940         * insets/insetcaption.C:
3941         * insets/insetcollapsable.C:
3942         * insets/insetenv.C:
3943         * insets/insetert.C:
3944         * insets/insetfloat.C:
3945         * insets/insetfoot.C:
3946         * insets/insetfootlike.C:
3947         * insets/insetnewline.C:
3948         * insets/insetquotes.C:
3949         * insets/insettabular.C:
3950         * insets/insettext.C:
3951         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3952
3953         * frontends/controllers/ControlChanges.C: #include "changes.h".
3954
3955 2003-09-06  Angus Leeming  <leeming@lyx.org>
3956
3957         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3958         than #including paragraph.h.
3959
3960         * ParagraphList.h:
3961         * RowList.h: deleted. Superfluous.
3962
3963         * CutAndPaste.h:
3964         * iterators.h:
3965         * lyxcursor.h:
3966         * lyxtext.h:
3967         * text_funcs.h:
3968         * undo.h:
3969         * undo_funcs.h:
3970         * insets/inset.h:
3971         * insets/insettext.h: use ParagraphList_fwd.h rather than
3972         ParagraphList.h.
3973
3974         * paragraph.h: don't forward declare ParagraphList.
3975
3976         * buffer.h:
3977         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3978         rather than ParagraphList.h. paragraph.h is still needed for the
3979         Paragraph::depth_type parameters.
3980
3981         * textcursor.h: enable it to compile stand-alone in light of the
3982         above changes.
3983
3984         * bufferview_funcs.C:
3985         * iterators.C:
3986         * lyxfunc.C:
3987         * lyxrow_funcs.C:
3988         * paragraph.C:
3989         * rowpainter.C:
3990         * text.C:
3991         * text2.C:
3992         * text3.C:
3993         * text_funcs.C:
3994         * textcursor.C:
3995         * undo.C:
3996         * frontends/controllers/ControlParagraph.C:
3997         * frontends/controllers/ControlTabular.C:
3998         * insets/insetmarginal.C:
3999         * insets/insetminipage.C:
4000         * insets/insetnote.C:
4001         * insets/insetoptarg.C: add header files needed to compile again.
4002
4003 2003-09-06  Angus Leeming  <leeming@lyx.org>
4004
4005         * RowList_fwd.h: new file, forward-declaring Row rather than
4006         #including lyxrow.h.
4007
4008         * lyxrow_funcs.h:
4009         * lyxtext.h:
4010         * paragraph.h:
4011         * insets/insettext.h: use it instead of RowList.h
4012
4013         * bufferview_funcs.C:
4014         * lyxfunc.C:
4015         * lyxrow_funcs.C:
4016         * paragraph.C:
4017         * rowpainter.C:
4018         * text.C:
4019         * text2.C:
4020         * text3.C: #include "RowList.h".
4021
4022 2003-09-05  Angus Leeming  <leeming@lyx.org>
4023
4024         * factory.C (createInset):
4025         * vspace.C (c-tor): replace sscanf call with an istringstream.
4026         * ispell.C: re-add missing HP/UX headers.
4027         * lyxserver.C: re-add missing  os2 headers.
4028
4029 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4030
4031         * BranchList.C:
4032         * graph.C:
4033         * ispell.C:
4034         * lastfiles.C:
4035         * lyx_cb.C:
4036         * lyxserver.C:
4037         * texrow.C:
4038         * text3.C: re-add missing system headers, needed for 2.95.2.
4039
4040 2003-09-05  Angus Leeming  <leeming@lyx.org>
4041
4042         Changes most place everywhere due to the removal of using directives
4043         from support/std_sstream.h.
4044
4045 2003-09-05  Angus Leeming  <leeming@lyx.org>
4046
4047         Replace LString.h with support/std_string.h,
4048         Lsstream.h with support/std_sstream.h,
4049         support/LIstream.h with support/std_istream.h,
4050         support/LOstream.h with support/std_ostream.h.
4051
4052         Changes resulting throughout the tree.
4053
4054 2003-09-05  Angus Leeming  <leeming@lyx.org>
4055
4056         * sgml.h: ensure that the header file can be compiled stand-alone.
4057         * *.C: strip out redundant #includes. (320 in total.)
4058
4059 2003-09-04  Angus Leeming  <leeming@lyx.org>
4060
4061         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4062         here (from getPackages).
4063
4064         * debug.[Ch]: add a new EXTERNAL tag.
4065
4066 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4067
4068         * text2.C (cursorEnd): simplify
4069         (setCursor): adjust
4070         (getColumnNearX): adjust
4071
4072         * text.C (computeBidiTables): adjust
4073         (fill): adjust
4074
4075         * rowpainter.C (paintChars): adjust
4076         (paintSelection): adjust
4077         (paintChangeBar): adjust
4078         (paintText): adjust
4079
4080         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4081         lastPos instead.
4082         (numberOfSeparators): adjust
4083
4084 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * LyXAction.C:
4087         * box.[Ch]:
4088         * lfuns.h:
4089         * lyxfunc.C:
4090         * text3.C: Restricts the mouse click functionality
4091         of insets like bibtex, include, toc and floatlist to the visible
4092         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4093         up the dialogs. Cursor has to be in front of the inset (i.e.
4094         start of row) for this to function.
4095
4096 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4097
4098         * bufferview_funcs.C (currentState): output row information
4099
4100 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4101
4102         * bufferview_funcs.C (currentState): output paragraph position
4103
4104 2003-09-04  Angus Leeming  <leeming@lyx.org>
4105
4106         * FloatList.h: move out #include "Floating.h".
4107         * LaTeX.h: move out #include "DepTable.h".
4108         * LyXAction.h: move out #include "funcrequest.h".
4109         * buffer.h: move out #include "author.h", "iterators.h".
4110         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4111         * lyx_main.h: move out #include "errorlist.h".
4112         * lyxfunc.h: move out #include "FuncStatus.h".
4113         * lyxtext: move out #include "lyxcursor.h".
4114         * paragraph_pimpl.h: move out #include "counters.h".
4115
4116 2003-09-03  Angus Leeming  <leeming@lyx.org>
4117
4118         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4119         preamble_snippets list, enabling us to add snippets to the preamble
4120         only if the snippet was not there already.
4121
4122 2003-09-04  Angus Leeming  <leeming@lyx.org>
4123
4124         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4125
4126 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4129         update
4130
4131 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4132
4133         * BranchList.C: point fix, earlier forgotten
4134
4135 2003-09-02  Angus Leeming  <leeming@lyx.org>
4136
4137         * box.C (contains): renamed from 'contained' after a fantastic
4138         amount of hot air.
4139
4140 2003-09-02  John Levon  <levon@movementarian.org>
4141
4142         * BufferView.C:
4143         * lyxcursor.h:
4144         * lyxcursor.C:
4145         * lyxfunc.C:
4146         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4147
4148 2003-09-02  John Levon  <levon@movementarian.org>
4149
4150         * text2.C: simplification of cursorEnd(), including partial
4151         fix for bug 1376
4152
4153 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * buffer.C (readFile): add a space
4156
4157 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4160
4161 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * buffer.C (readFile): new function, take a filename and a
4164         ParagraphList::iterator
4165         (readFile): adjust
4166         (readFile): adjust, make it private. don't use setStream, make
4167         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4168         always contain the filename.
4169
4170         * BufferView.C (insertLyXFile): simplify and make it work for
4171         gzipped files.
4172
4173 2003-08-30  John Levon  <levon@movementarian.org>
4174
4175         * Makefile.am: fix dist (from Kayvan)
4176
4177 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * most files: change to use const Buffer refs
4180
4181 2003-08-27  André Pönitz  <poenitz@gmx.net>
4182
4183         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4184         on top of ownerPar().
4185
4186 2003-08-27  John Levon  <levon@movementarian.org>
4187
4188         * funcrequest.C: properly initialise POD members
4189
4190 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * lyxtext.h (top_y): move top_y from here
4193         * text.C:
4194         * text2.C:
4195         * text3.C:
4196         * BufferView.[Ch]:
4197         * BufferView_pimpl.[Ch]: to here
4198         * frontends/screen.C:
4199         * insets/insettabular.C:
4200         * insets/insettext.C: adjust
4201         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4202
4203 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4204
4205         * BufferView.[Ch]:
4206         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4207
4208 2003-08-26  André Pönitz  <poenitz@gmx.net>
4209
4210         * paragraph_func.[Ch] (outerPar): new function
4211
4212         * paragraph.C:
4213         * paragraph_funcs.C:
4214         * paragraph_funcs.h:
4215         * paragraph_pimpl.C:
4216         * text2.C: remove Inset::par_owner
4217
4218 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4219
4220         * lyxrow_funcs.C:
4221         * lyxtext.h:
4222         * text.C:
4223         * text2.C: eliminates the needFullRow/display() stuff
4224         altogether, putting the logic in metrics/draw in the insets.
4225
4226 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * text2.C (redoParagraphInternal, redoParagraphs):
4229         * text.C (redoParagraph): add a call to updateRowPositions at the
4230         end of each 'metrics-like' call. Remove all others.
4231         (getRow): remove the 'y-computing' version.
4232         (getRowNearY): do not compute nor return the real y. Solve the
4233         'y < 0' problem and simplify.
4234
4235 2003-08-22  Angus Leeming  <leeming@lyx.org>
4236
4237         * *.[Ch]: clean-up of licence and author blurbs.
4238         Also move config.h out of a few .h files and into a few .C files.
4239
4240 2003-08-22  André Pönitz  <poenitz@gmx.net>
4241
4242         * lyxrow.[Ch]: add x_ and *fill_ members
4243
4244         * lyxtext.h:
4245         * text.C:
4246         * rowpainter.C:
4247         * text2.C: adjust/remove prepareToPrint() calls
4248
4249 2003-08-22  André Pönitz  <poenitz@gmx.net>
4250
4251         * lyxrow.[Ch]: add  end_ member
4252
4253         * lyxrow_funcs.C: use LyXRow::end_
4254
4255         * lyxtext.h (singleWidth): add LyXFont parameter
4256
4257         * rowpainter.C:
4258         * text2.C: adjust LyXText::singleWidth() calls
4259
4260         * text.C (redoParagraph): simplify row breaking logic
4261
4262
4263 2003-08-19  André Pönitz  <poenitz@gmx.net>
4264
4265         * funcrequest.C: initialize button_ member
4266
4267         * text3.C:
4268         * rowpainter.[Ch]: interface consolidation
4269
4270 2003-08-18  André Pönitz  <poenitz@gmx.net>
4271
4272         * BufferView.C:
4273         * BufferView_pimpl.C:
4274         * lyxfind.C:
4275         * paragraph_funcs.C:
4276         * rowpainter.C:
4277         * text3.C: remove LyXScreen::draw() and fitCursor calls
4278
4279         * BranchList.h: remove spurious semicolons
4280
4281         * MenuBackend.C: fix branchlist related crash
4282
4283 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4284
4285         * BranchList.[Ch]:
4286         * InsetList.[Ch]:
4287         * LColor.[Ch]:
4288         * LyXAction.C:
4289         * Makefile.am:
4290         * MenuBackend.[Ch]:
4291         * bufferparams.[Ch]:
4292         * factory.C:
4293         * lfuns.h:
4294         * lyxfunc.C:
4295         * text3.C: implements the 'branch inset'
4296         idea. This allows the output of various versions of a document
4297         from a single source version, selectively outputing or suppressing
4298         output of parts of the text.
4299         This implementation contains a 'branch list editor' in a separate
4300         tab of the document settings dialog. Branches are user definable
4301         and have a "display colour" to distinguish them on-screen.
4302
4303         ColorHandler was somewhat cleaned up.
4304         (1) make possible a dynamically growing LColor list by allowing
4305         the graphic context cache to grow along (vector);
4306         (2) eliminate an IMHO unnecessary step in colour allocation.
4307
4308 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4309
4310         * BufferView_pimpl.C: compile fix
4311
4312 2003-08-15  André Pönitz  <poenitz@gmx.net>
4313
4314         * rowpainter.C: remove extra metrics calls
4315
4316         * lyxtext.h: merge the two constructors into a single one,
4317           pass reference to owner's par list
4318
4319         * BufferView_pimpl.C:
4320         * text.C:
4321         * text2.C: adjust
4322
4323 2003-08-15  André Pönitz  <poenitz@gmx.net>
4324
4325         * lyxrow_funcs.[Ch]:
4326         * lyxtext.h:
4327         * paragraph.h:
4328         * paragraph_funcs.C:
4329         * rowpainter.C:
4330         * text.C:
4331         * text2.C:
4332         * text3.C:
4333         * text_funcs.C: split LyXText::rowlist_ into individual
4334         Paragraph::rows_ chunks
4335
4336         * BufferView.[Ch]:
4337         * BufferView_pimpl.[Ch]:
4338         * lyxfind.C:
4339         * lyxtext.h:
4340         * text3.C: remove toggleSelection()
4341
4342 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4343
4344         * bufferlist.C: beautify two alerts (shorter text of buttons)
4345         * buffer.C: Remove redundant ' ' from message
4346         * tabular.h:
4347         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4348         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4349         rename VALIGN_CENTER to VALIGN_MIDDLE
4350
4351 2003-08-11  André Pönitz  <poenitz@gmx.net>
4352
4353         * lyxtext.h (getPar):
4354         * text.C: new function
4355
4356 2003-08-11  André Pönitz  <poenitz@gmx.net>
4357
4358         * Makefile.am:
4359         * tracer.[Ch]: remove unneeded files
4360
4361         * InsetList.[Ch]: remove resizeInsetsLyXText()
4362
4363         * lyxtext.h:
4364         * text.C:
4365         * text2.C:
4366         * text3.C: merge insertParagraphs() and appendParagraph()
4367         remove breakAgain(), update()
4368
4369         * BufferView_pimpl.[Ch]:
4370         * bufferview_funcs.[Ch]:
4371         * lyxfunc.C:
4372         * paragraph.[Ch]:
4373         * rowpainter.C:
4374         * tabular.C: adjust after text & InsetList changes.
4375
4376 2003-08-08  André Pönitz  <poenitz@gmx.net>
4377
4378         * text.C (insertChar, backspace): replace rowlist fiddling
4379         with rebreak of full par
4380
4381         * lyxtext.h:
4382         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4383         checkParagraph, updateInset): removed
4384
4385 2003-08-07  André Pönitz  <poenitz@gmx.net>
4386
4387         * paragraph.C:
4388         * text3.C: merge some LFUN handlers, remove dead code
4389
4390 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4391
4392         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4393
4394 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * text2.C (DEPM): fix part of bug 1255 and 1256
4397
4398 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4399
4400         * BufferView_pimpl.C (workAreaDispatch): change to use
4401         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4402         that are no mouse related.
4403
4404 2003-08-05  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView.[Ch]:
4407         * BufferView_pimpl.[Ch]:
4408         * bufferview_funcs.C:
4409         * text2.C:
4410         * text3.C: rip out "deep update"
4411
4412         * textcursor.[Ch] (last_sel_cursor): remove unused member
4413
4414 2003-08-04  André Pönitz  <poenitz@gmx.net>
4415
4416         * BufferView.[Ch]:
4417         * BufferView_pimpl.[Ch]:
4418         * ParagraphParameters.C:
4419         * bufferview_funcs.C:
4420         * lyx_cb.C:
4421         * lyxfind.C:
4422         * lyxfunc.C:
4423         * text.C:
4424         * text2.C:
4425         * text3.C: replace "complicated" BufferView::update(...) calls with
4426         simpler ones.
4427
4428         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4429
4430 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4431
4432         * Makefile.am (lyx_SOURCES): add paper.h
4433
4434 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4435
4436         * Makefile.am: move things around so that both lyx-qt and
4437         lyx-xforms can be built (according to --with-frontend). Then lyx
4438         is a symbolic link to lyx-[firstfrontend]
4439
4440 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4441
4442         * Always use std::endl with lyxerr
4443
4444 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4445
4446         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4447
4448 2003-08-01  André Pönitz  <poenitz@gmx.net>
4449
4450         * BufferView.[Ch]:
4451         * BufferView_pimpl.[Ch]:
4452         * lyxfunc.C:
4453         * text3.C: merge BufferView::repaint() and BufferView::update()
4454
4455 2003-08-01  José Matos  <jamatos@lyx.org>
4456
4457         * buffer.[Ch]: file_format is no longer a buffer data element.
4458
4459 2003-08-01  André Pönitz  <poenitz@gmx.net>
4460
4461         * BufferView.C:
4462         * lyxtext.h:
4463         * text.C:
4464         * text2.C: make redoParagraph more independent of current cursor
4465
4466         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4467         * text.C:
4468         * text2.C: remove unneeded members
4469
4470 2003-07-30  André Pönitz  <poenitz@gmx.net>
4471
4472         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4473
4474         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4475           create a single function...
4476
4477         * paragraph_funcs.C (moveItem): ... here.
4478
4479         * text.C:
4480           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4481
4482 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4483
4484         * LColor.[Ch]: Add comment and greyedout logical colors.
4485
4486 2003-07-30  André Pönitz  <poenitz@gmx.net>
4487
4488         * tabular.C: don't use Assert too heavily. This crashes where it
4489           shouldn't
4490
4491 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4494         is disabled (bug 1232)
4495
4496 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4497
4498         * factory.C: limited 'arg' scope
4499
4500 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4501
4502         * factory.C: fixed Note submenu issues
4503
4504 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4505
4506         * factory.C: submenu for Note/Comment/Greyedout
4507
4508 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * lyx_main.C (LyX):
4511         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4512
4513 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4514
4515         * LaTeXFeatures.C:
4516         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4517         greyedout. Patch provided by Jürgen Spitzmüller.
4518
4519 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4520
4521         * kbmap.C (read): fix error message when reading bind files
4522
4523 2003-07-29  Angus Leeming  <leeming@lyx.org>
4524
4525         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4526         certainly does not do what it purports to do. I am doing it, and
4527         us, a favour by killing it.
4528
4529 2003-07-28  José Matos  <jamatos@lyx.org>
4530
4531         * buffer.C (readBody, do_writeFile):
4532         * paragraph.C(readParagraph): \end_document replaces \the_end.
4533
4534 2003-07-29  André Pönitz  <poenitz@gmx.net>
4535
4536         * BufferView.[Ch]:
4537         * BufferView_pimpl.[Ch]:
4538         * lyxfunc.C:
4539         * text2.C:
4540         * text3.C:
4541         * textcursor.[Ch]: remove toggleToggle & Co
4542
4543 2003-07-28  José Matos  <jamatos@fep.up.pt>
4544
4545         * buffer.C (readParagraph):
4546         * params_func (readParToken, readParagraph):
4547         * paragraph.C (write): \layout -> \begin_layout.
4548
4549 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * lyxlex_pimpl.C (setFile): clean up slightly.
4552
4553         * bufferparams.h: add compressed var
4554
4555         * buffer_funcs.C (readFile): adjust for LyXLex change
4556         (newFile): ditto + simplify
4557
4558         * buffer.C (writeFile): handle writing of compressed files
4559
4560         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4561         Check if the file is compressed and set a bufferparm if so.
4562
4563         * Makefile.am (lyx_LDADD): remove explicit -lz
4564
4565 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4566
4567         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4568         makeDocBookFile): put the real LyX version in the first line of
4569         the file
4570
4571         * version.h:
4572         * version.C.in: remove lyx_docversion
4573
4574         * tabular.C (write_attribute): add a template-based version to
4575         write enums properly
4576
4577 2003-07-28  André Pönitz  <poenitz@gmx.net>
4578
4579         * lyxtext.h:
4580         * text.C:
4581         * text2.C:
4582         * text3.C: use doubles again for x-coordinates. They are needed.
4583
4584 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * messages.C (getLocaleDir): use lyx_localedir()
4587
4588         * lyxlex_pimpl.C (setFile): compress stuff
4589
4590         * buffer.C (writeFile): add some compression stuff
4591         (do_writeFile): new func, dont call expliti close... will this
4592         breake anything?
4593
4594         * Makefile.am (lyx_LDADD): add -lz
4595
4596 2003-07-28  José Matos  <jamatos@fep.up.pt>
4597
4598         * buffer.C: increment file format.
4599         * paragraph_funcs (readParagraph, readParToken):
4600         * paragraph.C (readParagraph): add \end_layout.
4601
4602 2003-07-27  Angus Leeming  <leeming@lyx.org>
4603
4604         * Makefile.am: remove special casing for configure-time setting of
4605         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4606
4607         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4608         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4609
4610 2003-07-26  André Pönitz  <poenitz@gmx.net>
4611
4612         * paragraph_func.[Ch]:
4613         * paragraph.C (realizeFont): inline it whereever it is used
4614
4615         * rowpainter.C:
4616         * text.C:
4617         * text2.C:
4618         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4619
4620
4621 2003-07-26  André Pönitz  <poenitz@gmx.net>
4622
4623         *       lyxtext.h:
4624         * text.C:
4625         * text2.C: get rid of LyXText::need_break_row
4626
4627 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * toc.[Ch]: put namespace toc inside namespace lyx
4630
4631         * MenuBackend.C (expandToc2): adjust for lyx::toc
4632         (expandToc): ditto
4633
4634         * lyxfunc.C (dispatch): adjust for lyx::find
4635
4636         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4637         lyx::find instead. Reorganize a bit.
4638         (LyXReplace): rename to replace
4639         (LyXFind): rename to find
4640
4641         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4642         (dispatch): ditto
4643
4644 2003-07-26  André Pönitz  <poenitz@gmx.net>
4645
4646         * text.C (setHeightOfRow): restrict scope of temporary variable
4647
4648         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4649           code (never has been used?)
4650
4651 2003-07-27  Asger Alstrup  <alstrup@local>
4652
4653         * text.C (fill): Optimise algorithm to exploit that we can reuse
4654         the LyXFont for many characters.
4655         (setHeightOfRow): Same thing.
4656         (rowBreakPoint): Same thing.
4657
4658 2003-07-26  Asger Alstrup  <alstrup@local>
4659
4660         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4661
4662         * text.C (singleWidth): Spurious font copying in hot-spot
4663         singleWidth avoided. Reorder tests for arabic for efficiency.
4664
4665         * text.C (fill): handle empty paragraphs better.
4666
4667 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4668
4669         * ispell.C:
4670         * encoding.h: add includes
4671
4672         * lyxrc.C: remove reading of bind files
4673
4674         * lyx_main.C (init): setup bindings and menus only if we have a
4675         gui.
4676
4677         * kbmap.C (read): new method. Do the actual reading of bind
4678         files.
4679
4680         * converter.C (dvipdfm_options):
4681         * bufferparams.C:
4682         * lyxrc.C (read):
4683         (output): adapt PAPER_* enums.
4684
4685         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4686
4687         * bufferparams.h: remove paper-related enums from there
4688
4689         * paper.h: New file. A trivial header file to hold paper-related
4690         enums. It should later expand to contain many paper-related
4691         horrors access.
4692
4693         * lyxrc.C: declare extern displayTranslator
4694
4695 2003-07-27  José Matos  <jamatos@fep.up.pt>
4696
4697         * tabular.[Ch] (linuxdoc): add support for tables and figures
4698         (linuxdoc).
4699
4700 2003-07-27  José Matos  <jamatos@fep.up.pt>
4701
4702         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4703         consistency in both functions.
4704         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4705
4706 2003-07-26  Asger Alstrup  <alstrup@local>
4707
4708         * rowpainter.C (paintRows): Change algorithm to work directly on
4709         the insets rather than asking every character in the document
4710         whether its an inset.
4711
4712 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * buffer.C (openFileWrite): factorize some code
4715
4716 2003-07-26  Angus Leeming  <leeming@lyx.org>
4717
4718         * lyx_cb.C:
4719         * lyx_main.[Ch]: replace occurances of system_tempdir with
4720         os::getTmpDir().
4721
4722 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * rename Inset to InsetOld
4725
4726 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4727
4728         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4729         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4730         which I think is a bit clearer. EDIT is gone, since it was
4731         premature optimisation, and broken for mathed anyway.
4732         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4733         with cursor positioning in insets as well (math insets still do not
4734         work, but that's a different story anyway.) It mysteriously
4735         crashes sometimes with undo in the first paragraph, but I'm fairly
4736         confident that this is a compiler bug.
4737
4738 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * paragraph.C (Paragraph): adjust for new clone return type
4741         (operator==): ditto
4742         (copyIntoMinibuffer): ditto
4743
4744 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4745
4746         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4747         by not having a special case, and always doing a full rebreak of
4748         the document after undo.
4749
4750 2003-07-23  Angus Leeming  <leeming@lyx.org>
4751
4752         * factory.C (createInset): InsetExternal::setParams now takes a
4753         Buffer const * arg.
4754
4755 2003-07-23  Angus Leeming  <leeming@lyx.org>
4756
4757         * factory.C (createInset): changed interface to the external and
4758         graphics mailers' string2params functions.
4759
4760 2003-07-23  Angus Leeming  <leeming@lyx.org>
4761
4762         * factory.C (createInset): pass a
4763         Buffer const * parameter to InsetExternalMailer's string2params.
4764
4765 2003-07-22  John Levon  <levon@movementarian.org>
4766
4767         * Thesaurus.h: include the right aiksaurus header
4768
4769 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4770
4771         * MenuBackend.C (expand): check menu shortcuts unconditionally
4772
4773 2003-07-21  Angus Leeming  <leeming@lyx.org>
4774
4775         * factory.C (createInset): pass a
4776         buffer_path parameter to InsetGraphicsMailer's string2params.
4777
4778 2003-07-21  Angus Leeming  <leeming@lyx.org>
4779
4780         * BufferView_pimpl.C (buffer):
4781         * buffer.C (d-tor):
4782         * lyx_main.C (LyX):
4783         * lyxfunc.C (dispatch):
4784         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4785         rather than the grfx shortcut.
4786
4787 2003-07-21  André Pönitz  <poenitz@gmx.net>
4788
4789         * rowpainter.C: remove unused variables
4790
4791         * tabular_funcs.C:
4792         * tabular_funcs.h: move to tabular.C
4793         * Makefile.am: adjust
4794
4795         * tabular.[Ch]: basic optical cleaning
4796
4797         * author.h: pass references, not values
4798
4799 2003-07-18  André Pönitz  <poenitz@gmx.net>
4800
4801         * lyxtext.h:
4802         * metricsinfo.C:
4803         * metricsinfo.h:
4804         * rowpainter.C:
4805         * text.C:
4806         * text2.C:
4807         * text3.C: two-phase drawing for InsetText and InsetTabular
4808         some float -> int changes.
4809
4810 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * lyx_main.C: fix the fix
4813
4814 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * lyx_main.C: fix a crash in batch mode if no files specified
4817         * converter.C: ws
4818
4819 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * format.[Ch] (papersize): moved to BufferParams
4822         * converter.[Ch] (dvips_options): moved to BufferParams
4823         (dvipdfm_options): moved to anon namespace
4824         * bufferparams.[Ch]: added above functions.
4825
4826 2003-07-17  André Pönitz  <poenitz@gmx.net>
4827
4828         * lyxtext.h:
4829         * rowpainter.C:
4830         * text2.C: don't call inset->update() anymore
4831
4832         * metricsinfo.[Ch]: add convenience constructor
4833
4834 2003-07-16  André Pönitz  <poenitz@gmx.net>
4835
4836         * lyxcursor.[Ch]:
4837         * lyxfunc.[Ch]:
4838         * text.C:
4839         * text2.C: replace the LyXCursor::irow_ member with
4840          on-demand computation of the value
4841
4842 2003-07-16  John Levon  <levon@movementarian.org>
4843
4844         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4845
4846 2003-07-15  André Pönitz  <poenitz@gmx.net>
4847
4848         * text.C:
4849         * text2.C: remove no more needed refresh_row
4850
4851 2003-07-15  André Pönitz  <poenitz@gmx.net>
4852
4853         * lyxtext.h:
4854         * rowpainter.C:
4855         * text2.C:
4856         * text3.C: refresh_status tristate -> need_update bool
4857
4858 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * lyxtext.h (init): remove reinit argument (act as if always true)
4861         * text2.C: adjust to that
4862
4863 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4864
4865         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4866         * text3.C: use it to delete selections in some cases
4867         (bugs 441, 673, 702, 954).
4868
4869 2003-07-14  André Pönitz  <poenitz@gmx.net>
4870
4871         * rowpainter.[Ch]: reduce interface
4872
4873 2003-07-14  André Pönitz  <poenitz@gmx.net>
4874
4875         * BufferView_pimpl.C:
4876         * text2.C: adjust after removing unused BufferView * argument
4877
4878 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * text2.C (init): fix a crash fired on resize
4881
4882 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * buffer.[Ch]: added new closing signal
4885         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4886         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4887         BufferView::Pimpl via the closing the signal
4888
4889 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * buffer.[Ch]: take out all bv-related from buffer
4892         * BufferView.C:
4893         * BufferView_pimpl.[Ch]: connect to new signals
4894         * CutAndPaste.C: removed useless asserts
4895         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4896         * lyxvc.[Ch]:
4897         * vc-backend.[Ch]:
4898         * lyxfunc.C: moved view-related funciontality from vc here
4899         * paragraph.C: removed outdated comments
4900         * text.C: ws
4901
4902 2003-07-10  André Pönitz  <poenitz@gmx.net>
4903
4904         * BufferView_pimpl.C:
4905         * tabular.h:
4906         * tabular_funcs.C:
4907         * text.C:
4908         * text2.C: remove InsetText::InnerCache, clean up consequences
4909
4910 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4911
4912         * ispell.C: fix two typos in error messages
4913
4914 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4915
4916         * Extend Note inset to other forms of annotation like Comment
4917         and Greyedout. Right button click gives dialog.
4918
4919         Files modified or added (+):
4920
4921         * insetnote.[Ch]
4922         * FormNote.[Ch]      +
4923         * ControlNote.[Ch]   +
4924         * form_note.fd       +
4925         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4926         frontends/controllers
4927         * xforms/Dialogs.C
4928         * factory.C
4929
4930 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4931
4932         * aspell.C: add missing namespace lyx::support
4933
4934 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * BufferView.[Ch] (newFile): Add
4937         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4938         * LaTeX.[Ch] (message): added this signal and use it
4939         * buffer.[Ch] (busy, message): added these signals and use them
4940         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4941         * converter.C:
4942         * exporter.C:
4943         * format.C:
4944         * importer.C: use buffer signals instead of direct bv calling
4945         * lyx_cb.[Ch] (ShowMessage): removed
4946         * lyx_main.C:
4947         * lyxfunc.C:
4948         * paragraph_funcs.C:
4949         * text2.C: use buffer signals
4950
4951 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * introduce namespace lyx::graphics
4954
4955 2003-07-02  André Pönitz  <poenitz@gmx.net>
4956
4957         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4958
4959 2003-07-01  André Pönitz  <poenitz@gmx.net>
4960
4961         * text.C:
4962         * text2.C:
4963         * text3.C:
4964         * text_funcs.[Ch]:
4965         * textcursor.h:
4966         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4967           text*.C to text_func.C
4968
4969 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * introduce namespace lyx::support
4972
4973 2003-06-30  André Pönitz  <poenitz@gmx.net>
4974
4975         * Chktex.C:
4976         * funcrequest.C:
4977         * lyxtext.h:
4978         * text.C: re-enable --with-included-string
4979
4980 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * textcursor.C: add <config.h>
4983
4984         * text.C (getWord): remove const from word_location arg
4985
4986         * lyxvc.C (getLogFile): fix const type order
4987
4988         * lyxtext.h: remove const from word_location arg, add arg name
4989
4990         * lyxlayout.h: currect type on labeltype.
4991
4992         * importer.C: correct \file
4993
4994         * converter.C (intToFormat): use std:: on ret val, ws changes
4995
4996         * bufferlist.h: correct \file
4997
4998         * buffer.C (makeLinuxDocFile): fix const type order
4999         (makeDocBookFile): ditto
5000         (fillWithBibKeys): use std:: on stdlib args.
5001
5002         * CutAndPaste.C: fix authors.
5003         (availableSelections): use std:: on return vector
5004
5005 2003-06-27  André Pönitz  <poenitz@gmx.net>
5006
5007         * BufferView_pimpl.C:
5008         * bufferview_funcs.C:
5009         * lyxcursor.C:
5010         * lyxcursor.h:
5011         * lyxfunc.C:
5012         * lyxtext.h:
5013         * rowpainter.C:
5014         * text.C:
5015         * text2.C:
5016         * text3.C: remove LyXCursor::row_ member
5017
5018         * lyxtext.h:
5019         * text.C: rename fullRebreak() to partialRebreak() and implement
5020           a fullRebreak() that really bereks fully
5021
5022         * textcursor.h: new struct for cursor-related data
5023
5024 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5025
5026         * lyx_main.C (LyX): get full path of document loaded on the
5027         command line
5028
5029 2003-06-26  André Pönitz  <poenitz@gmx.net>
5030
5031         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5032           remove unused/broken operator>,<,>=.
5033
5034         *       text.C: remove only use of broken operator<= in an Assert().
5035
5036 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5037
5038         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5039         moved errorlist_.clear to showErrorList
5040
5041 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5042
5043         * converter.C (scanLog, runLaTeX):
5044         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5045         move the bv->showErrorList call to the callers
5046         * lyxfunc.C: i.e. here...
5047         * text2.C: and here
5048         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5049         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5050         namespace, the second to...
5051         * buffer_funcs (BufferFormat, parseErrors): added
5052         * errorlist.C (ErrorList(TeXErrors const &)): removed
5053
5054 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5055
5056         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5057
5058 2003-06-24  "Garst R. Reese" <reese@isn.net>
5059
5060         * debug.C: fix typo
5061
5062 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5063
5064         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5065
5066         * version.C.in: change docversion to 1.4
5067
5068 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * buffer.C: fix a bug just introduced
5071
5072 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * buffer.[Ch]: added the parseError signal and use it, removed
5075         sgmlError
5076         * BufferView.[Ch] (addError): moved to ...
5077         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5078         to the Buffer::parseError signal to catch (guess what) parse errors
5079         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5080
5081 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5084         ability to create a buffer and to return an existing one from
5085         the list. Moved these functions to...
5086         * buffer_funcs.[Ch]: added
5087         * BufferView.[Ch] (loadLyXFile): added
5088         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5089         job removed from bufferlist::loadLyXFile.
5090         * buffer.C (setReadOnly): make it work without view
5091         (i.e added an if (users))
5092
5093 2003-06-19  Angus Leeming  <leeming@lyx.org>
5094
5095         * lfuns.h:
5096         * LyXAction.C (init):
5097         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5098         with LFUN_DIALOG_SHOW <name> <data>.
5099
5100 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5101
5102         * CutAndPaste.C (availableSelections): small compilation fix for
5103         ancient (gcc 2.9x) compilers
5104
5105 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * text3.C (cursorNext): add tmp var
5108
5109         * text2.C (updateCounters): for function calling out of for clause
5110         (replaceSelectionWithString): ditto
5111         (insertStringAsParagraphs): ditto
5112         (getColumnNearX): add tmp var
5113         (setCursorFromCoordinates): add tmp var
5114         (cursorDownParagraph): add tmp var
5115         (deleteEmptyParagraphMechanism): add tmp var
5116
5117         * text.C (insertChar): add tmp var
5118
5119         * rowpainter.C (paintDepthBar): add tmp var
5120
5121         * CutAndPaste.C (availableSelections): potentially check all
5122         paragraphs in a cut to fill the shown strings.
5123
5124 2003-06-18  André Pönitz  <poenitz@gmx.net>
5125
5126         * kbmap.[Ch]: use vector<> instead of list<>
5127
5128 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5129
5130         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5131         pasteSelection with index
5132
5133         * text2.C (pasteSelection): modify, call pasteSelection with index
5134
5135         * paragraph.C (asString): reimplement version with no interval to
5136         call the one with interval.
5137
5138         * lyxtext.h: add index arg to pasteSelection
5139
5140         * MenuBackend.C (MenuItem): handle PasteRecent
5141         (Menu::read::Menutags): add md_pasterecent
5142         (read): handle it
5143         (expandPasteRecent): new function
5144         (expand): use it
5145
5146         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5147
5148         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5149         the limited stack
5150         (availableSelections): new function
5151
5152 2003-06-17  Angus Leeming  <leeming@lyx.org>
5153
5154         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5155
5156 2003-06-17  Angus Leeming  <leeming@lyx.org>
5157
5158         * lfuns.h:
5159         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5160
5161         * lyxfunc.C (dispatch): invoke it.
5162
5163 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5164
5165         * iterators.C (operator++, ParPosition): reintroduce some
5166         const_cast for the benefit of older compilers.
5167
5168 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5169
5170         * text3.C (dispatch): do not modify clipboard when doing
5171         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5172         LFUN_DELETE_SKIP on a selection selection
5173
5174 2003-06-16  André Pönitz  <poenitz@gmx.net>
5175
5176         * BufferView.C:
5177         * buffer.C:
5178         * buffer.h:
5179         * paragraph.C:
5180         * tabular.[Ch]: IU of clone() and getLabelList();
5181
5182 2003-06-13  André Pönitz  <poenitz@gmx.net>
5183
5184         * tabular.h: compactification
5185
5186 2003-06-12  André Pönitz  <poenitz@gmx.net>
5187
5188         * tabular.C:
5189         * tabular.h:
5190         * tabular_funcs.h: some renaming plus whitespace
5191
5192 2003-06-12  André Pönitz  <poenitz@gmx.net>
5193
5194         * BufferView.C:
5195         * BufferView_pimpl.C:
5196         * CutAndPaste.C:
5197         * buffer.C:
5198         * iterators.[Ch]:
5199         * lyxfunc.C:
5200         * text.C:
5201         * toc.C: Return a Paragraph & for ParIterator::operator*()
5202
5203 2003-06-11  John Levon  <levon@movementarian.org>
5204
5205         * lyx_main.C:
5206         * ToolbarBackend.h:
5207         * ToolbarBackend.C: add "Toolbars" section and
5208         put the flags there
5209
5210 2003-06-10  Angus Leeming  <leeming@lyx.org>
5211
5212         * lfuns.h:
5213         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5214
5215         * lyxfunc.C (dispatch): invoke it.
5216
5217 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * main.C: protect <ios> with HAVE_IOS
5220         (main): protect sync_with_stdio with HAVE_IOS
5221
5222 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5223
5224         * text2.C (cutSelection): adjust
5225         (pasteSelection): adjust
5226
5227         * messages.C: handle get of empty string
5228
5229         * main.C (main): use sync_with_stdio(false)
5230
5231         * lyxfunc.C (dispatch): adjust
5232
5233         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5234         (WriteAs): remove unneeded BufferView arg.
5235
5236         * bufferparams.h: use correct types on papersize, papersize2 and
5237         paperpackage.
5238
5239         * bufferparams.C (readToken): adjust for type
5240         (writeLaTeX): add missing cases to switch.
5241
5242         * bufferlist.C (quitWriteBuffer): adjust
5243         (close): adjust
5244
5245         * buffer.C (asciiParagraph): remove some commented code.
5246
5247         * CutAndPaste.C: remove current_view extern variable.
5248         (cutSelection): add BufferParams arg.
5249         (eraseSelection): add BufferParams arg.
5250         (pasteSelection): add Buffer const & arg
5251
5252 2003-06-07  John Levon  <levon@movementarian.org>
5253
5254         * buffer.C:
5255         * paragraph_funcs.C:
5256         * paragraph_pimpl.C:
5257         * text.C:
5258         * text2.C:
5259         * paragraph.h:
5260         * paragraph.C: allow InsetERT to freely space lines,
5261         and some consolidation of code
5262
5263 2003-06-06  José Matos  <jamatos@fep.up.pt>
5264
5265         * buffer.C (makeDocBookFile): fix bug #821
5266
5267 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5270
5271 2003-06-04  Angus Leeming  <leeming@lyx.org>
5272
5273         * buffer.C: bump format to 224.
5274
5275 2003-06-05  André Pönitz  <poenitz@gmx.net>
5276
5277         * text2.C (redoParagraphs): remove two const_cast<>
5278
5279 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5280
5281         * ParagraphList.h: remove last remnants of NO_STD_LIST
5282
5283 2003-06-03  Angus Leeming  <leeming@lyx.org>
5284
5285         * factory.C (createInset): small change to the way InsetExternal's params
5286         are set.
5287
5288 2003-06-04  André Pönitz  <poenitz@gmx.net>
5289
5290         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5291
5292         * paragraph_pimpl.h:
5293         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5294
5295         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5296
5297         * undo_funcs.C: make some simple cases of undo work again
5298
5299 2003-06-03  John Levon  <levon@movementarian.org>
5300
5301         * ispell.C: HPUX doesn't have sys/select.h
5302         (from Albert Chin)
5303
5304 2003-06-03  John Levon  <levon@movementarian.org>
5305
5306         * CutAndPaste.C: update tabular and include inset
5307         buffer references
5308
5309         * buffer.h:
5310         * paragraph.h:
5311         * paragraph.C: remove owningBuffer(), don't pass Buffer
5312         to clone()
5313
5314         * factory.C: insetGraphicsParams changed
5315
5316 2003-06-02  John Levon  <levon@movementarian.org>
5317
5318         * LyXAction.C:
5319         * factory.C:
5320         * lfuns.h:
5321         * lyxfunc.C:
5322         * text3.C: remove insetparent
5323
5324 2003-06-02  John Levon  <levon@movementarian.org>
5325
5326         * buffer.h:
5327         * buffer.C: fix inset_iterator.end(), move out of line
5328         (bug 1149)
5329
5330 2003-06-01  John Levon  <levon@movementarian.org>
5331
5332         * text3.C: use a proper cut/paste when doing inset
5333         insert (from Jürgen Spitzmüller)
5334
5335 2003-06-01  John Levon  <levon@movementarian.org>
5336
5337         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5338
5339 2003-05-30  André Pönitz  <poenitz@gmx.net>
5340
5341         * rowpainter.C: unify second drawing phase
5342
5343 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * trans_mgr.C: remove one case of current_view
5346
5347         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5348
5349         * paragraph_funcs.h: remove paragraph.h include
5350
5351         * paragraph.h: delete NO_STD_LIST stuff
5352
5353         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5354
5355         * buffer.h: remove paragraph.h include
5356
5357         * ParagraphList.C: delete file
5358
5359         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5360
5361         * toc.C (getTocList): adjust
5362
5363         * paragraph_pimpl.C (validate): adjust
5364
5365         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5366
5367         * paragraph.C (Paragraph): adjust
5368         (getPositionOfInset): use const_iterator, adjust
5369         (bibitem): use const_iterator, adjust
5370         (setInsetOwner): adjust
5371
5372         * iterators.C (operator++): adjust
5373
5374         * InsetList.[Ch]: Replace selfmade iterator with standard
5375         vector::iterator also introduce const_iterator. Remove getPos,
5376         getInset and setInset from InsetTable. Adjust accordingly.
5377
5378         * BufferView.C (lockInset): adjust
5379         (ChangeInsets): adjust
5380
5381         * tabular.[Ch]: delete commented same_id functions
5382
5383 2003-05-28  John Levon  <levon@movementarian.org>
5384
5385         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5386
5387 2003-05-28  André Pönitz  <poenitz@gmx.net>
5388
5389         * metricsinfo.[Ch]: remove 'fullredraw' member
5390
5391 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5392
5393         * lyxtextclass.C (operator): remove caching.
5394
5395 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * text3.C: adjust
5398
5399         * text2.C (cursorBottom): adjust
5400         (setCounter): use ParagraphList::find, adjust
5401
5402         * text.C (workWidth): use ParagraphList::find, adjust
5403
5404         * lyxcursor.C (LyXCursor): adjust
5405
5406         * buffer.C (inset_iterator): adjust
5407
5408         * ParagraphList.h: make iterator(value_type) private, make
5409         ParagraphList a friend of iterator.
5410
5411         * ParagraphList.C (find): new function
5412
5413         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5414
5415 2003-05-27  André Pönitz  <poenitz@gmx.net>
5416
5417         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5418
5419 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5420
5421         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5422
5423 2003-05-26  John Levon  <levon@movementarian.org>
5424
5425         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5426
5427 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * remove same_id from function signatures, adjust.
5430
5431 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5434
5435         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5436
5437         * paragraph.C (Paragraph): get rid of same_ids parameter
5438
5439         * ParagraphList.C (insert): adjust
5440         (push_back): adjust
5441
5442 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * paragraph_funcs.C (breakParagraph): adjust
5445         (breakParagraphConservative): adjust
5446
5447         * buffer.C (readParagraph): adjust
5448
5449         * ParagraphList.C (insert): take a reference instead of a pointer
5450         (insert): adjust
5451
5452         * paragraph.[Ch] (id): new function
5453
5454         * bufferlist.C (newFile): adjust
5455
5456         * ParagraphList.C (ParagraphList): adjust
5457         (assign): adjust
5458         (push_back): take a reference instead of a pointer.
5459
5460         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5461
5462         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5463         instead.
5464
5465         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5466         set else use old code.
5467
5468         * ParagraphList.C: remove all NO_NEXT code and only compile this
5469         code of NO_STD_LIST is set.
5470
5471 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * BufferView_pimpl.C:
5474         * TextCache.C:
5475         * TextCache.h:
5476         * bufferlist.C:
5477         * errorlist.h:
5478         * format.C:
5479         * format.h:
5480         * graph.C:
5481         * lyxfunc.C:
5482         * lyxrc.C:
5483         * graphics/GraphicsConverter.C:
5484         * graphics/PreviewLoader.C: header adjustment
5485
5486 2003-05-23  Angus Leeming  <leeming@lyx.org>
5487
5488         * LaTeXFeatures.[Ch] (useBabel): new method.
5489         * bufferparams.C (writeLaTeX): use it.
5490
5491 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * ParagraphList.h (set): remove unused function.
5494
5495 2003-05-23  André Pönitz  <poenitz@gmx.net>
5496
5497         * BufferView.C:
5498         * BufferView_pimpl.C:
5499         * buffer.C:
5500         * buffer.h:
5501         * lyxfunc.C:
5502         * undo_funcs.C: setUndo reworked
5503
5504         * iterators.[Ch]: add access to topmost ParagraphList
5505
5506         * lyxtext.[Ch] (workWidth): add a const
5507
5508 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5509
5510         * texrow.[Ch] (increasePos): remove function
5511         * exporter.C (export): removed unused var and outdated comment
5512
5513 2003-05-23  Angus Leeming  <leeming@lyx.org>
5514
5515         * latexrunparams.h: rename fragile as moving_arg.
5516         * paragraph.C (simpleTeXOnePar): ditto.
5517         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5518
5519 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5522         (createUndo): ditto
5523         (textUndoOrRedo): comment out a currently unused var.
5524
5525         * paragraph.h (NO_NEXT): enable NO_NEXT
5526
5527         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5528
5529         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5530
5531         * exporter.C (Export): adjust for removeAutoInsets removal.
5532
5533         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5534
5535         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5536
5537         * BufferView.[Ch] (removeAutoInsets): delete function
5538
5539 2003-05-22  Angus Leeming  <leeming@lyx.org>
5540
5541         * latexrunparams.h: add a free_spacing variable.
5542
5543         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5544         to pass moving_arg, as the data is stored in runparams.fragile.
5545
5546         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5547         to Inset::latexOptional or to simpleTeXOnePar.
5548
5549         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5550         free_spacing arg to Inset::latexOptional.
5551
5552         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5553         free_spacing arg.
5554
5555 2003-05-22  Angus Leeming  <leeming@lyx.org>
5556
5557         * latexrunparams.h: add fragile and use_babel variables.
5558
5559         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5560         * buffer.C (makeLaTeXFile): store this returned value in
5561         runparams.use_babel, thus passing it to the inset::latex methods.
5562
5563         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5564         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5565
5566         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5567         longer has a fragile arg, as it is stored in runparams.fragile.
5568
5569         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5570         moving_arg parameter as the data is stored in runparams.fragile.
5571
5572         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5573         a fragile parameter as the data is stored in runparams.fragile.
5574
5575 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5578
5579 2003-05-22  Angus Leeming  <leeming@lyx.org>
5580
5581         * latexrunparams.h: add a 'bool nice' which defaults to false.
5582
5583         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5584         now encapsulated within runparams.
5585
5586         * bufferlist.C (updateIncludedTeXfiles):
5587         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5588
5589 2003-05-22  Angus Leeming  <leeming@lyx.org>
5590
5591         * latexrunparams.h: new file containing struct LatexRunParams.
5592         * Makefile.am: add new file.
5593
5594         * LaTeX.[Ch] (c-tor, run):
5595         * buffer.[Ch] (makeLaTeXFile):
5596         * bufferlist.[Ch] (updateIncludedTeXfiles):
5597         * converter.C (convert, scanLog):
5598         * converter.[Ch] (runLaTeX):
5599         * exporter.C (Export):
5600         * paragraph.[Ch] (simpleTeXOnePar):
5601         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5602         * paragraph_funcs.[Ch] (latexParagraphs):
5603         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5604         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5605         pass around a LatexRunParams parameter.
5606
5607 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * paragraph.[Ch]: remove unused constructor
5610
5611         * ParagraphList.C (erase): new function, taking two iterators
5612
5613 2003-05-22  André Pönitz  <poenitz@gmx.net>
5614
5615         * undo_funcs.C: remove duplicated code
5616
5617         * iterator.[Ch]: operator=
5618
5619 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * tabular.C (SetMultiColumn): ws changes
5622
5623         * rowpainter.C (paintFirst): get rid of a ->previous
5624
5625         * lyx_cb.C (getPossibleLabel): parlist simplification
5626
5627         * BufferView.C (ChangeInsets): simplify slightly.
5628
5629 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5630
5631         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5632         * lfuns.h: new LFUN_SPACE
5633         * lyxfunc.C: protected space has a new lfun
5634         * paragraph_funcs.C: read new space insets
5635         * text3.C:
5636         * factory.C: handle new space insets
5637
5638 2003-05-22  André Pönitz  <poenitz@gmx.net>
5639
5640         * BufferView.C:
5641         * BufferView_pimpl.C:
5642         * buffer.[Ch]:
5643         * lyxfunc.C:
5644         * undo_funcs.C: return a ParIterator from getParFromID.
5645
5646         * iterators.[Ch]: add two const's
5647
5648 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * toc.C (getTocList): adjust
5651
5652         * iterators.[Ch]: rework for parlist
5653
5654         * buffer.C (par_iterator_begin): adjust
5655         (par_iterator_end): adjust
5656
5657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5658
5659         * BufferView.C (removeAutoInsets): adjust
5660         (ChangeInsets): adjust
5661
5662 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * text.C (top_y): fix bug 1110
5665
5666 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * errorlist.[Ch]: added
5669         * buffer.C:
5670         * BufferView.[Ch]:
5671         * BufferView_pimpl.C:
5672         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5673         instead
5674
5675 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * Makefile.am: ensure that lyx is relinked upon changes to the
5678         various "convenience" libs.
5679
5680 2003-05-20  Angus Leeming  <leeming@lyx.org>
5681
5682         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5683         files are compiled in alphabetical order again.
5684
5685         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5686
5687 2003-05-19  Angus Leeming  <leeming@lyx.org>
5688
5689         * gettext.[Ch]: remove "char const * _(char const *)".
5690
5691 2003-05-19  André Pönitz  <poenitz@gmx.net>
5692
5693         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5694
5695         * Makefile.am:
5696         * BufferView.C:
5697         * DepTable.h:
5698         * LaTeXFeatures.C:
5699         * buffer.C:
5700         * lyxfont.C:
5701         * lyxlex.h:
5702         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5703
5704 2003-05-19  André Pönitz  <poenitz@gmx.net>
5705
5706         * buffer.C:
5707         * lyxlayout.[Ch]:
5708         * lyxtextclass.[Ch]:
5709         * paragraph.C:
5710         * paragraph_funcs.[Ch]:
5711         * text2.C:
5712         * text3.C: more insetenv work
5713
5714 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5715
5716         * ParagraphParameters.C (params2string): small bug fixed
5717
5718 2003-05-16  André Pönitz  <poenitz@gmx.net>
5719
5720         * debug.C:
5721         * bufferview_funcs.C: patch from Kornel Benko to prevent
5722           crash when _(...) is called twice in a statement
5723
5724 2003-05-16  André Pönitz  <poenitz@gmx.net>
5725
5726         * BufferView.C:
5727         * lyxfunc.C:
5728         * text.C:
5729         * text2.C:
5730         * text3.C:
5731         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5732
5733 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * lyx_main.C (init): remove spurious static_cast
5736
5737 2003-05-14  André Pönitz  <poenitz@gmx.net>
5738
5739         * BufferView.C: fix format string
5740
5741 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5742
5743         * BufferView.[Ch] (insertErrors): removed
5744         * BufferView.[Ch] (showErrorList): added
5745         * buffer.C (runChkTeX):
5746         * converter.C (scanLog): call showErrorList instead of inserterrors
5747
5748 2003-05-13  André Pönitz  <poenitz@gmx.net>
5749
5750         * BufferView_pimpl.C:
5751         * buffer.C:
5752         * bufferview_func.C:
5753         * MenuBackend.C:
5754         * lyxfunc.C:
5755         * lyxrc.C:
5756         * tex-accent.C:
5757         * text3.C:
5758         * toc.C:
5759         * tabular_funcs.h: tostr() from its own header
5760
5761         * ParagraphParameters.C:
5762         * ToolbarBackend.C:
5763         * bufferparams.C:
5764         * format.C:
5765         * lyxlex_pimpl.C:
5766         * text3.C: STRCONV()
5767
5768 2003-05-12  André Pönitz  <poenitz@gmx.net>
5769
5770         * BufferView.C:
5771         * BufferView_pimpl.C:
5772         * CutAndPaste.C:
5773         * LaTeX.C:
5774         * LaTeXFeatures.C:
5775         * ParagraphParameters.C:
5776         * buffer.C:
5777         * bufferlist.C:
5778         * bufferparams.C:
5779         * bufferview_funcs.C:
5780         * converter.C:
5781         * counters.C:
5782         * debug.C:
5783         * exporter.C:
5784         * format.C:
5785         * importer.C:
5786         * lyx_cb.C:
5787         * lyx_main.C:
5788         * lyxfont.C:
5789         * lyxfunc.C:
5790         * lyxvc.C:
5791         * paragraph.C:
5792         * paragraph_funcs.C:
5793         * tabular.C:
5794         * tabular_funcs.C:
5795         * text2.C:
5796         * text3.C:  boost::format -> bformat  all over the place
5797
5798
5799 2003-05-09  André Pönitz  <poenitz@gmx.net>
5800
5801         * LColor.[Ch]: Pimpl the #include <map> away
5802
5803 2003-05-09  John Levon  <levon@movementarian.org>
5804
5805         * bufferlist.C: never remove emergency saves
5806
5807 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * Makefile.am: better lib building
5810
5811 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5814         instead.
5815         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5816         (simpleTeXSpecialChars): adjust
5817         (simpleTeXSpecialChars): adjust
5818         * paragraph.C (simpleTeXOnePar): adjust
5819         * buffer.C (makeLaTeXFile): adjust
5820
5821         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5822
5823         * text2.C (changeDepth): parlist cleanup
5824         (getColumnNearX): ditto
5825
5826         * rowpainter.C (getLabelFont): parlist cleanup
5827
5828         * bufferlist.C (newFile): parlist cleanup
5829
5830         * CutAndPaste.C (eraseSelection): parlist cleanup
5831
5832         * BufferView_pimpl.C (trackChanges): parlist cleanup
5833         (dispatch): ditto
5834
5835         * BufferView.C (lockInset): parlist cleanup.
5836         (ChangeInsets): ditto
5837
5838 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * CutAndPaste.h: Update file header.
5841
5842         * CutAndPaste.C: Update file header.
5843         Store the parts cut out of the Document in a limited_stack.
5844         (copySelection): adjust
5845         (pasteSelection): new function, takes the index in the limited stack.
5846         (nrOfParagraphs): adjust
5847         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5848         simplify error inset insertion.
5849         (checkPastePossible): adjust
5850
5851 2003-05-06  John Levon  <levon@movementarian.org>
5852
5853         * text2.C: don't cast wrap inset to float
5854
5855 2003-05-05  André Pönitz  <poenitz@gmx.net>
5856
5857         * iterator.C:
5858         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5859
5860         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5861           few naked Paragraph *.
5862
5863 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5864
5865         * bufferparams.C: Output warning if a document with missing
5866         TeX document class is loaded
5867         * exporter.C: Disable TeX exports if the document class is missing
5868         * lyxtextclass.C:
5869         * lyxtextclass.h:
5870         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5871         isTeXClassAvailable()
5872
5873 2003-05-03  John Levon  <levon@movementarian.org>
5874
5875         * BufferView.h:
5876         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5877         explicit cursor show/hide
5878
5879         * BufferView_pimpl.h:
5880         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5881         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5882
5883         * lyxfunc.C: hide cursor before dispatching.
5884
5885         * lyx_cb.C:
5886         * lyxfind.C:
5887         * text.C:
5888         * text3.C: remove explicit cursor hides
5889
5890 2003-05-02  André Pönitz  <poenitz@gmx.net>
5891
5892         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5893
5894         * undo_funcs.C:
5895         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5896           linked lists
5897
5898         * text2.C: tiny whitespace
5899
5900 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * undo_funcs.C: almost only ws changes.
5903
5904         * ParagraphList.C (splice): just return if pl is empty.
5905
5906 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * ParagraphList.C (splice): new function.
5909
5910         * CutAndPaste.C (pasteSelection): use it
5911
5912 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * CutAndPaste.C (pasteSelection): remove the last next and
5915         previous from this file.
5916
5917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * CutAndPaste.C (pasteSelection): more clean up, user proper
5920         ParagraphList functions for pasteing.
5921
5922         * ParagraphList.C (insert): new function, three arg insert
5923
5924 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * ParagraphList.C (insert): new function, three arg insert
5927
5928         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5929         not on paragraphs.
5930
5931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5934
5935 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5938
5939 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5942         (copySelection): clean up a bit.
5943         (pasteSelection): use make_pair
5944
5945         * ParagraphList.C (ParagraphList): implement copy constructor
5946         (operator=): implement, base on copy constructor.
5947         (assign): new func
5948
5949         * paragraph.C (erase): return a bool
5950
5951         * paragraph_pimpl.C (erasePos): remove function, move contents...
5952         (erase): ... here. Return a bool.
5953         (erase): call erase instead of erasePos.
5954
5955 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5956
5957         * ParagraphList.h: define PitPosPair
5958         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5959         ParagraphList, fix a bug on pasting multiple pars
5960         * text2.C: change interface to C&P
5961
5962 2003-04-30  André Pönitz  <poenitz@gmx.net>
5963
5964         * undo_func.C: revert part of yesterday's patch 2
5965
5966 2003-04-30  John Levon  <levon@movementarian.org>
5967
5968         * LColor.C: s/tabular/table/
5969
5970 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * text3.C (dispatch): do not convert iterator -> pointer
5973         * undo_funcs.C (setCursorParUndo): ditto
5974         * text_funcs.C (transposeChars): ditto
5975
5976         * text2.C (setLayout): ws changes only
5977
5978         * text.C (breakParagraph): do not convert iterator -> pointer
5979         (insertChar): ditto
5980         (acceptChange): ditto
5981         (rejectChange): ditto
5982         (changeCase): ditto
5983         (Delete): ditto
5984         (backspace): ditto
5985
5986         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5987         pointer
5988
5989 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * text3.C (gotoInset): YABG (yet another bad getChar)
5992
5993 2003-04-29  André Pönitz  <poenitz@gmx.net>
5994
5995         * paragraph.h: make operator= private unimplemented as long as
5996           it is unusable
5997
5998         * ParagraphList.C: whitespace
5999
6000         * paragraph.[Ch]:
6001         * paragraph_pimpl.[Ch]:
6002         * paragraph_funcs.C:
6003         * CutAndPaste.C:
6004         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6005
6006         * text2.C:
6007           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6008
6009 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6012         * paragraph.[Ch] (erase):
6013         * paragraph_pimpl.[Ch] (erase): change return type and value
6014         * text2.C (cutSelection): some rework
6015
6016 2003-04-28  John Levon  <levon@movementarian.org>
6017
6018         * bufferlist.C: changes for unsaved changes dialog
6019
6020 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * bufferlist.C (newFile): set language (messages_) for new
6023         documents also.
6024
6025         * buffer.C (readFile): ws changes only.
6026
6027 2003-04-28  André Pönitz  <poenitz@gmx.net>
6028
6029         * undo_funcs.C:
6030         * lyxfunc.C:
6031         * buffer.[Ch]:
6032         * BufferView_pimpl.C:
6033         * BufferView.C: getParFromID related ParagraphList::iterator changes
6034
6035 2003-04-28  André Pönitz  <poenitz@gmx.net>
6036
6037         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6038           Changes
6039
6040 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * messages.C: remove one more localedir class variable.
6043
6044 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * messages.C (getLocaleDir): singleton generation function
6047         (Pimpl): use it.
6048         (Messages): add a default constructor.
6049
6050         * main.C (main): do not setup localedir here, do not call
6051         gettext_init.
6052
6053         * gettext.C (_): use it.
6054         (gettext_init): delete funciton
6055
6056 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * gettext.C (getLyXMessages): new singleton generating function.
6059
6060         * buffer.C (updateDocLang): adjust
6061
6062         * Makefile.am (messages.o): add target
6063         (main.o): remove target
6064
6065 2003-04-27  John Levon  <levon@movementarian.org>
6066
6067         * bufferlist.C:
6068         * lyx_cb.C:
6069         * lyxfunc.C:
6070         * lyxvc.C: specify cancel button in Alert::prompt
6071
6072 2003-04-26  John Levon  <levon@movementarian.org>
6073
6074         * text3.C:
6075         * lyxfunc.C:
6076         * lfuns.h:
6077         * LyXAction.C: add LFUN_INSET_SETTINGS
6078
6079         * lyxfunc.C: don't enable tabular-feature when there's
6080         just any locking inset
6081
6082 2003-04-26  John Levon  <levon@movementarian.org>
6083
6084         * bufferlist.C: re-add Cancel to buffer close question
6085
6086         * lyxfunc.C: fix import UI a bit
6087
6088 2003-04-25  John Levon  <levon@movementarian.org>
6089
6090         * gettext.C: remove the broken asserts for now
6091
6092 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * messages.C: make case where setlocale cannot comply work better.
6095
6096         * buffer.C (updateDocLang): new function
6097         (changeLanguage): use it
6098         (readFile): use it
6099
6100         * text2.C (setCounter): use B_ a bit.
6101
6102         * lyxlayout.C (Read): be sure to trim the label strings.
6103
6104         * messages.C (Messages): fix typo in comment
6105
6106         * buffer.C (readFile): set message_ after file is loaded.
6107         (makeDocBookFile): remove double return
6108         (changeLanguage): reset message_ upon language change.
6109         (B_): new func, use this to get translated buffer strings.
6110
6111         * main.C: add myself and Jean Marc as authors.
6112
6113 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * messages.[hC]: pimplify Messages, and three different pimpls to be
6116         used in different circumstances.
6117
6118         * gettext.[Ch]: change for use with new message code.
6119
6120 2003-04-24 André Pönitz <poenitz@gmx.net>
6121
6122         * factory.C: support for eqref
6123
6124 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * messages.[Ch]: add missing char
6127
6128         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6129
6130         * messages.[Ch]: New files
6131
6132 2003-04-18  John Levon  <levon@movementarian.org>
6133
6134         * BufferView.h:
6135         * BufferView.C:
6136         * BufferView_pimpl.C:
6137         * lfuns.h:
6138         * LyXAction.C:
6139         * lyxtext.h:
6140         * text2.C: remove layout-copy/paste (bug 778)
6141
6142 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6143
6144         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6145
6146 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6149         if they succeed. Act accordingly.
6150
6151 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * text2.C (setCharFont): adjust
6154         (setCounter): adjust
6155         (insertStringAsLines): adjust
6156
6157         * text.C (leftMargin): adjust
6158         (setHeightOfRow): adjust
6159
6160         * rowpainter.C (paintFirst): adjust
6161         (paintLast): adjust
6162
6163         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6164         (outerHook): ditto
6165         (isFirstInSequence): ditto
6166         (getEndLabel): ditto
6167         (outerFont): adjust
6168
6169         * paragraph.C (getParLanguage): comment out some hard stuff.
6170
6171         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6172         (sgmlError): ditto
6173         (simpleDocBookOnePar): ditto
6174         (makeDocBookFile): use ParagraphList::iterator
6175
6176         * CutAndPaste.C (pasteSelection): adjust
6177
6178 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * text2.C (getFont): adjust
6181         (getLayoutFont): adjust
6182         (getLabelFont): adjust
6183
6184         * paragraph_funcs.C (TeXOnePar): adjust
6185
6186         * buffer.C (simpleLinuxDocOnePar): adjust
6187         (simpleDocBookOnePar): adjust
6188
6189         * CutAndPaste.C (pasteSelection): adjust
6190
6191         * BufferView.C (getEncoding): adjust
6192
6193         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6194
6195 2003-04-16  John Levon  <levon@movementarian.org>
6196
6197         * lyxfind.C: use parlist stuff for search/changes
6198
6199 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6202
6203         * text2.C (deleteEmptyParagraphMechanism): adjust
6204
6205         * text2.[Ch] (ownerParagraph): delete func (both of them
6206
6207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6210
6211 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * ParagraphList.C: prepare for NO_NEXT
6214
6215 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * text2.C (getFont): adjust
6218         (getLayoutFont): adjust
6219         (getLabelFont): adjust
6220
6221         * paragraph.C (getFont): adjust
6222         (getLabelFont): adjust
6223         (getLayoutFont): adjust
6224
6225         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6226
6227 2003-04-15  John Levon  <levon@movementarian.org>
6228
6229         From Angus Leeming
6230
6231         * lyx_main.C: handle Include in .ui files
6232
6233 2003-04-15  John Levon  <levon@movementarian.org>
6234
6235         * MenuBackend.C: make the doc files length shorter
6236
6237         * ToolbarBackend.h:
6238         * ToolbarBackend.C: handle toolbar placement flags,
6239         Minibuffer
6240
6241 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6244         adjust
6245
6246         * paragraph_funcs.C (TeXOnePar): adjust
6247
6248         * paragraph.C (getLabelFont): add outerfont arg, adjust
6249         (getLayoutFont): ditto
6250         (simpleTeXOnePar): adjust
6251
6252         * paragraph_pimpl.C (realizeFont): delete func
6253
6254 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6255
6256         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6257         row argument, constify cur argument.
6258
6259 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * text2.C (getFont): adjust
6262         (getLayoutFont): adjust
6263         (getLabelFont): adjust
6264
6265         * paragraph_funcs.C (TeXOnePar): adjust
6266         (outerFont): new func...
6267         (realizeFont): ...moved out from here, changed this to facilitate
6268         transition
6269
6270         * paragraph.C (getFont): take outerfont as arg, adjust
6271         (simpleTeXOnePar): add outerfont arg, adjust
6272
6273         * buffer.C (simpleLinuxDocOnePar): adjust
6274         (simpleDocBookOnePar): adjust
6275
6276         * CutAndPaste.C (pasteSelection): adjust
6277
6278         * BufferView.C (getEncoding): adjust
6279
6280 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * text2.C (setCharFont): adjust
6283         (setCounter): adjust
6284
6285         * text.C (leftMargin): adjust
6286         (setHeightOfRow): adjust
6287
6288         * rowpainter.C (paintFirst): adjust
6289         (paintLast): adjust
6290
6291         * paragraph_pimpl.C (realizeFont): adjust
6292
6293         * paragraph.C (isFirstInSequence): move from here...
6294         * paragraph_funcs.C (isFirstInSequence): ...to here
6295
6296         * paragraph.C (outerHook): move from here...
6297         * paragraph_funcs.C (outerHook): ...to here
6298
6299         * paragraph.C (depthHook): move from here...
6300         * paragraph_funcs.C (depthHook): ...to here
6301
6302         * paragraph.C (getEndLabel): move from here...
6303         * paragraph_funcs.C (getEndLabel): ...to here
6304
6305         * text2.C (realizeFont): move from here...
6306         * paragraph_funcs.C (realizeFont): ...to here
6307
6308 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6311
6312 2003-04-14  Angus Leeming  <leeming@lyx.org>
6313
6314         * LColor.[Ch]: scrap LColor mathcursor.
6315
6316 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * lyxlex.[Ch] (text): delete function
6319         * trans.C (Load): adjust
6320         * paragraph_funcs.C (readParToken): adjust
6321
6322 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6325         vector<char> instead of a char[].
6326
6327         * lyxlex_pimpl.C (getString): adjust
6328         (next): adjust
6329         (lex): use getString
6330         (eatLine): adjust
6331         (nextToken): adjust
6332
6333         * lyxlex.C (text): use pimpl_->getString()
6334         (getBool): ditto
6335         (findToken): ditto
6336
6337 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6340         (makeFontEntriesLayoutSpecific): temp var for par.size()
6341         (setLayout): temp var for ownerParagraphs().end()
6342         (fullRebreak): temp var for rows().end()
6343         (selectionAsString): temp var for boost::next(startpit), realize
6344         that the while really is a regular for loop.
6345         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6346         setCursor in one place.
6347         (setParagraph): temp vr for ownerParagraphs().end()
6348         (updateCounters): make the while loop a for loop
6349         (cutSelection): temp var for ownerParagraphs().end()
6350         (updateInset): make the do {} while() a regular for loop
6351         (getCursorX): use temp vars
6352         (setCurrentFont): use temp vars
6353         (getColumnNearX): use temp vars
6354
6355 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * text.C (transformChar): use temp var for getChar
6358         (computeBidiTables): use temp var for row->par()
6359         (fill): move temp vars for row->par() and pit->layout() earlier in
6360         the function.
6361         (labelFill): use temp var for row->par()
6362         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6363         asc and desc, realize that pit never changes and that firstpit is
6364         just a duplicate and not needed. Exchange rit->par() with pit in a
6365         lot of places.
6366         (breakAgain): use a temp var for boost::next(rit)
6367         (breakAgainOneRow): ditto
6368         (breakParagraph): use a temp var for rows().begin()
6369         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6370         (cursorRightOneWord): use temp var for cursor.par() and
6371         cursor.pos(), remove usage of tmpcursor.
6372         (cursorLeftOneWord): use temp var for cursor.par() and
6373         cursor.pos() only set cur at end of function.
6374
6375 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * text.C, text2.C: exchange all usage of Paragraph::next with
6378         boost::next(ParagraphList::iterator)
6379
6380         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6381
6382         * text2.C (cursorTop): simplify implementation
6383         (cursorBottom): ditto
6384         (setParagraph): use ParagraphList::iterator
6385         (setCurrentFont): adjust
6386         (getColumnNearX): adjust
6387         (cursorRight): adjust
6388         (cursorLeft): remove usage of Paragraph::previous
6389         (cursorUpParagraph): ditto
6390         (deleteEmptyParagraphMechanism): slight cleanup
6391
6392         * text.C (isBoundary): take a Paragraph const & instead of a
6393         pointer as arg.
6394         (addressBreakPoint): ditto
6395         (leftMargin): remove usage of Paragraph::previous.
6396         (setHeightOfRow): ditto
6397         (cursorLeftOneWord): ditto
6398         (selectNextWordToSpellcheck): ditto
6399         (Delete): ditto
6400         (backspace): ditto
6401         (breakParagraph): remove one usage of Paragraph::next
6402         (redoParagraph): ditto
6403         (acceptChange): ditto
6404         (insertChar): adjust
6405         (rowBreakPoint): adjust
6406
6407         * bufferview_funcs.C (toggleAndShow): adjust
6408
6409 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6410
6411         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6412         methods to access it.
6413         * lyxtext.h:
6414         * text.C: Added updateRowPositions to compute all row positions.
6415         Make top_y and getRowNearY() to use the cached y position
6416
6417 2003-04-11  John Levon  <levon@movementarian.org>
6418
6419         * text.C (rowBreakPoint): reintroduce the labelEnd
6420         checks, code copied from the row fill stuff. Deep voodoo.
6421
6422         * text.C (fill): add a comment and debugging for the
6423         next poor soul.
6424
6425 2003-04-11  John Levon  <levon@movementarian.org>
6426
6427         * text.C: make sure fullrow insets get wrapped to the next line,
6428         even when they're in a manual label
6429
6430 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * text2.C (insertParagraph): make it take ParagraphList::iterator
6433         as arg.
6434         (setLayout): make it return ParagraphList::iterator
6435         (redoParagraphs): ditto
6436         (setCounter): ditto
6437         (checkParagraph): ditto
6438
6439         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6440
6441         * text2.C: adjust several funcs.
6442         (realizeFont): take a ParagraphList::iterator as arg.
6443         (getLayoutFont): ditto
6444         (getLabelFont): ditto
6445         (setCharFont): ditto
6446
6447         * text.C: adjust several funcs.
6448
6449 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * text.C (selectNextWordToSpellcheck): don't accidentally
6452         skip insets
6453
6454 2003-04-10  John Levon  <levon@movementarian.org>
6455
6456         * ToolbarBackend.C (getIcon): special handling for
6457         LFUN_MATH_DELIM
6458
6459 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6460
6461         * text2.C (cursorRight): a getChar assert fixed
6462
6463 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * text2.C (getFont): change to take a ParagraphList::iterator
6466         instead of Paragraph*
6467         Adjust several functions.
6468
6469         * text.C (transformChar): change to take a ParagraphList::iterator
6470         instead of Paragraph*
6471         (singleWidth): ditto
6472         Adjust several functions.
6473
6474         * rowpainter.C: adjust several functions
6475         * rowpainter.h:store a ParagraphList::iterator and not a
6476         Paragraph&.
6477
6478
6479 2003-04-09  John Levon  <levon@movementarian.org>
6480
6481         * lyxfunc.C:
6482         * lfuns.h:
6483         * LyXAction.h:
6484         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6485         and the "help" bits as well
6486
6487 2003-04-09  John Levon  <levon@movementarian.org>
6488
6489         * ToolbarBackend.h:
6490         * ToolbarBackend.C: allow multiple toolbars
6491
6492 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * undo_funcs.C (setCursorParUndo): adjust
6495
6496         * text_funcs.C (transposeChars): adjust
6497
6498         * text3.C (gotoNextInset): adjust
6499         (dispatch): adjust
6500
6501         * text2.C (setLayout): adjust
6502         (changeDepth): adjust
6503         (setFont): adjust
6504         (redoParagraphs): adjust
6505         (selectionAsString): adjust
6506         (setParagraph): adjust
6507         (insertInset): adjust
6508         (cutSelection): adjust
6509         (copySelection): adjust
6510         (pasteSelection): adjust
6511         (insertStringAsLines): adjust
6512         (updateInset): adjust
6513         (setCursor): change to take a ParagraphList::iterator parameter
6514         (setCursorIntern): change to take a ParagraphList::iterator parameter
6515         (setCurrentFont): adjust
6516         (cursorLeft): adjust
6517         (cursorRight): adjust
6518         (deleteEmptyParagraphMechanism): adjust
6519
6520         * text.C (breakParagraph): adjust
6521         (insertChar): adjust
6522         (acceptChange): adjust
6523         (rejectChange): adjust
6524         (selectNextWordToSpellcheck): adjust
6525         (changeCase): adjust
6526         (Delete): adjust
6527         (backspace): adjust
6528
6529         * lyxfind.C (SearchForward): adjust
6530         (SearchBackward): adjust
6531         (nextChange): adjust
6532
6533         * lyxcursor.C (par): adjust
6534
6535         * lyxcursor.h: store a ParagraphList::iterator instead of a
6536         Paragraph*
6537
6538         * lyx_cb.C (getPossibleLabel): adjust
6539
6540         * bufferview_funcs.C (toggleAndShow): adjust
6541
6542         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6543         (dispatch): adjust
6544
6545         * BufferView.C (removeAutoInsets): adjust
6546         (lockedInsetStoreUndo): adjust
6547
6548 2003-04-09  John Levon  <levon@movementarian.org>
6549
6550         * ToolbarBackend.C: try icon without argument
6551         if with argument fails
6552
6553 2003-04-08  John Levon  <levon@movementarian.org>
6554
6555         * ToolbarBackend.h:
6556         * ToolbarBackend.C: add getIcon(), handle tooltip,
6557         and change from "Icon" to "Item".
6558
6559 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6560
6561         * BufferView.C (lockInset): another bad getchar crunched
6562
6563 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6564
6565         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6566         again)
6567
6568 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6569
6570         * lyxfind.C (searchForward, searchBackwards): bug 782
6571
6572 2003-04-07  John Levon  <levon@movementarian.org>
6573
6574         * paragraph.C: remove dead comment
6575
6576         * text.C: remove troublesome depth-fiddling code
6577         in leftMargin() and rightMargin() (bug 1017)
6578
6579         * text.C: fix breaking of rows in nested lists
6580         (bug 1004)
6581
6582         * text2.C (updateCounters): fix up depth values
6583         (bug 1013)
6584
6585 2003-04-07  John Levon  <levon@movementarian.org>
6586
6587         * BufferView_pimpl.C: clear message when doc finishes resizing,
6588         and after a mouse event
6589
6590         * lyxfunc.C: clear message after exiting inset
6591
6592 2003-04-07  John Levon  <levon@movementarian.org>
6593
6594         * bufferview_funcs.C: show math status not outside
6595         status in the statusbar
6596
6597 2003-04-07  John Levon  <levon@movementarian.org>
6598
6599         * lyxfunc.C: note status changed after a depth change
6600
6601 2003-04-04  Angus Leeming  <leeming@lyx.org>
6602
6603         * LaTeX.h: move AuxInfo operator==, != out of line.
6604         Remove LaTeX virtual destructor; nothing derives from it.
6605         Move operator()() out of public area and rename it startscript().
6606         Change protected for private.
6607
6608 2003-04-04  Angus Leeming  <leeming@lyx.org>
6609
6610         * lyxfunc.C:
6611         * text2.C: remove unneeded #includes.
6612
6613 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6614
6615         * text2.C (dEPM): fix the heigth of the next row
6616
6617 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * text.C: squashed an invalid getChar requester + some ws changes
6620
6621 2003-04-03  John Levon  <levon@movementarian.org>
6622
6623         * bufferview_funcs.h:
6624         * bufferview_funcs.C:
6625         * lyxfunc.C:
6626         * lyxtext.h:
6627         * text2.C: make getStatus work for the env depth lfuns
6628
6629 2003-04-03  John Levon  <levon@movementarian.org>
6630
6631         * bufferview_funcs.h:
6632         * bufferview_funcs.C:
6633         * lyxfunc.C:
6634         * lyxtext.h:
6635         * text2.C: parlistize decDepth(), by merging it with incDepth()
6636
6637 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * lyxrow.h: store a ParagraphList::iterator instead of a
6640         Paragraph* and adjust other class functions to suit.
6641
6642         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6643         above.
6644
6645 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * text2.C (setCursor): do not anchor to cursor row for the time being
6648
6649 2003-04-02  John Levon  <levon@movementarian.org>
6650
6651         * LyXAction.C:
6652         * lfuns.h:
6653         * lyx_main.C:
6654         * lyxtext.h:
6655         * text.C:
6656         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6657
6658 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * paragraph.h: make ParagraphList and ParagraphList::iterator
6661         friends of Paragraph.
6662
6663         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6664
6665         * ParagraphList.C: Use the private next_ and previous_ from
6666         Paragraph.
6667
6668 2003-04-01  John Levon  <levon@movementarian.org>
6669
6670         * ToolbarBackend.h:
6671         * ToolbarBackend.C:
6672         * Makefile.am: rename, remove defaults gunk
6673
6674         * MenuBackend.h:
6675         * MenuBackend.C: remove defaults gunk
6676
6677         * Languages.h:
6678         * Languages.C: remove defaults gunk
6679
6680         * lyx_main.h:
6681         * lyx_main.C: error out if files couldn't be found.
6682
6683 2003-04-02  John Levon  <levon@movementarian.org>
6684
6685         * text2.C: make incDepth() use parlist
6686
6687 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * undo_funcs.C (firstUndoParagraph): adjust
6690
6691         * text3.C (gotoInset): adjust
6692         (dispatch): adjust, and rewrite loop.
6693
6694         * text2.C (init): adjust, and rewrite loop.
6695         (redoParagraphs): adjust
6696         (updateInset): adjust, and rewrite loop.
6697         (deleteEmptyParagraphMechanism): adjust
6698
6699         * tabular.C (LyXTabular): adjust
6700         (SetMultiColumn): adjust
6701         (TeXRow): adjust
6702
6703         * lyxtext.[Ch] (ownerParagraph): delete function
6704         (ownerParagraphs): new function returns a ParagraphList.
6705
6706         * BufferView.C (removeAutoInsets): adjust
6707         (insertErrors): adjust
6708         (setCursorFromRow): adjust
6709
6710 2003-04-01  Angus Leeming  <leeming@lyx.org>
6711
6712         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6713         in the frontends.
6714
6715 2003-04-02  John Levon  <levon@movementarian.org>
6716
6717         * lyxtext.h:
6718         * text.C:
6719         * Makefile.am:
6720         * text_funcs.h:
6721         * text_funcs.C: make transposeChars a free function
6722
6723         * lyxrow_funcs.C: remove wrong comment
6724
6725 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * lyxtext.h: adjust
6728         * rowpainter.C: adjust
6729         * text.C: adjust
6730         * text2.C: adjust
6731         * text3.C: adjust
6732
6733         * lyxrow_funcs. [Ch]: new files
6734
6735         * lyxrow.[Ch]: remove next and previous pointers
6736         (next,previous): remove accessor functions
6737         (isParEnd): move to lyxrow_funcs
6738         (lastPos): move to lyxrow_funcs
6739         (nextRowIsAllInset): move to lyxrow_funcs
6740         (lastPrintablePos): move to lyxrow_funcs
6741         (numberOfSeparators): move to lyxrow_funcs
6742         (numberOfHfills): move to lyxrow_funcs
6743         (numberOfLabelHfills): move to lyxrow_funcs
6744         (hfillExpansion): move to lyxrow_funcs
6745
6746         * lyxfunc.C: adjust
6747
6748         * bufferview_funcs.C (toggleAndShow): adjust
6749
6750         * RowList.h: Remove class RowList from file leave just a
6751         std::list<Row>.
6752
6753         * RowList.C: delete file
6754
6755         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6756         and lyxrow_funcs.h
6757
6758 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6759
6760         * text3.C (cursorPrevious): adjust
6761         (cursorNext): adjust
6762         (dispatch): adjust
6763
6764         * text2.C (redoHeightOfParagraph): adjust
6765         (redoDrawingOfParagraph): adjust
6766         (setCursor): adjust
6767
6768         * text.C (breakParagraph): adjust
6769         (insertChar): adjust
6770         (backspace): adjust
6771
6772         * rowpainter.C (RowPainter): adjust
6773         (leftMargin): simplify and adjust
6774         (most rowpainter functions): adjust.
6775
6776         * rowpainter.h: store the row as RowList::iterator not as Row*
6777
6778         * lyxcursor.C (row): taka RowList::iterator as arg
6779         (irow): ditto
6780
6781         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6782         of Row*.
6783
6784 2003-04-01  Angus Leeming  <leeming@lyx.org>
6785
6786         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6787         stuff like bool Bool.
6788
6789 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6792         rewrite a loop
6793
6794 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6797         RowList::iterator.
6798
6799         * lyxtext.h (rows): drop one version and leve a const variant that
6800         returns a RowList::iterator.
6801
6802 2003-03-31  Angus Leeming  <leeming@lyx.org>
6803
6804         * text.C (fill): ensure that the signature is the same as that in the
6805         header file.
6806
6807 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * text2.C (redoParagraphs): adjust
6810         (updateCounters): adjust
6811         (checkParagraph): adjust
6812         (getColumnNearX): adjust and reformat a bit.
6813
6814         * text.C (top_y): adjust
6815         (workWidth): adjust
6816         (leftMargin): adjust
6817         (prepareToPrint): adjust
6818         (getRow): adjust
6819         (getRowNearY): adjust
6820
6821         * lyxtext.h: make rowlist_ mutable.
6822
6823         * RowList.h: add const_iterator
6824         * RowList.C: adjust for RowList::const_iterator.
6825
6826         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6827         adjust.
6828
6829 2003-03-31  John Levon  <levon@movementarian.org>
6830
6831         * lyxrc.h:
6832         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6833
6834         * lyx_main.C: set default fonts from using lyx_gui funcs
6835
6836         * exporter.C: pdf_mode moved from lyxrc
6837
6838         * lyx_cb.C:
6839         * lyxfunc.C: changes from above
6840
6841 2003-03-31  John Levon  <levon@movementarian.org>
6842
6843         * lyx_main.C: fix to the last fix
6844
6845 2003-03-31  John Levon  <levon@movementarian.org>
6846
6847         * bufferlist.C: "Load original" -> "Load Original"
6848
6849         * converter.C:
6850         * exporter.C:
6851         * importer.C:
6852         * lyx_main.C:
6853         * format.C: more Alert cleanups
6854
6855 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * text2.C (removeParagraph): make it take a RowList::iterator as
6858         arg, adjust.
6859         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6860         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6861
6862         * text.C (anchor_row): make it take a RowList::iterator as arg,
6863         adjust.
6864         (computeBidiTables): make it take a const reference to Row instead
6865         of Row pointer, adjust.
6866         (leftMargin): make it take a RowList::iterator as arg, adjust.
6867         (rowBreakPoint): adjust
6868         (breakAgainOneRow): make it take a RowList::iterator as arg,
6869         adjust.
6870         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6871
6872         * bufferview_funcs.C (toggleAndShow): adjust
6873
6874 2003-03-30  John Levon  <levon@movementarian.org>
6875
6876         * Makefile.am:
6877         * BoostFormat.h:
6878         * boost-inst.C: moved to support
6879
6880         * several files: changes as a result
6881
6882 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * text2.C (LyXText): adjust.
6885         (init): adjust
6886         (removeRow): make it take a RowList::iterator as arg, adjust.
6887         (fullRebreak): adjust
6888         (deleteEmptyParagraphMechanism): adjust
6889         (clearPaint): adjust
6890         (postPaint): adjust
6891
6892         * text.C (top_y): adjust
6893         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6894         (breakAgain): make it take a RowList::iterator as arg, adjust.
6895         (breakParagraph): adjust
6896         (insertChar): adjust
6897         (backspace): adjust
6898
6899         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6900         need_break_row, and refresh_row.
6901
6902         * text3.C (dispatch): adjust
6903
6904         * text2.C (checkParagraph): adjust
6905         (setCursor): adjust
6906         (setCursorFromCoordinates): adjust
6907
6908         * text.C (top_y): adjust
6909         (workWidth): adjust
6910         (getRow): make it return a RowList::iterator, adjust
6911         (getRowNearY): make it return a RowList::iterator, adjust
6912
6913         * text2.C (init): adjust
6914         (insertRow): remove function
6915         (insertParagraph): adjust
6916         (redoParagraphs): adjust
6917         (fullRebreak): adjust
6918         (updateCounters): adjust
6919
6920         * text.C (top_y): rewrite to use RowList iterators.
6921         (top_y): adjust
6922         (setHeightOfRow): rewrite to sue RowList iterators.
6923         (appendParagraph): adjust
6924         (breakAgain): adjust
6925         (breakAgainOneRow): adjust
6926         (breakParagraph): adjust
6927         (getRow): adjust
6928         (getRowNearY): adjust, and remove commented code.
6929
6930         * lyxtext.h (firstRow): delete function
6931         (lastRow): delete function
6932         (rows): new function (const and non-const versions.)
6933         (insertRow): delete function
6934
6935         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6936
6937 2003-03-29  John Levon  <levon@movementarian.org>
6938
6939         * BufferView_pimpl.C: always update scrollbar top
6940         because pasting text when we're anchored could mean we
6941         miss an update altogether
6942
6943 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * text2.C (init): use rowlist_.end() and not 0.
6946         (insertRow): change to take a RowList::iterator as arg, adjust
6947         for this.
6948         (insertParagraph): change to take a RowList::iterator as arg,
6949         adjust for this.
6950         (redoParagraphs): remove some debug msgs.
6951
6952         * text.C (appendParagraph): change to take a RowList::iterator
6953         arg, adjust for this.
6954         (breakAgain): add an assert
6955         (breakAgainOneRow): ditto
6956
6957 2003-03-29  John Levon  <levon@movementarian.org>
6958
6959         * text2.C: do not clear selection after inc/decDepth
6960         (bug 550)
6961
6962 2003-03-29  John Levon  <levon@movementarian.org>
6963
6964         * BufferView.C:
6965         * buffer.C: fix broken strerrors according to Lars
6966
6967 2003-03-29  John Levon  <levon@movementarian.org>
6968
6969         * converters.C: more Alert cleanups
6970
6971 2003-03-29  John Levon  <levon@movementarian.org>
6972
6973         * bufferview_funcs.C: remove pointless Alert
6974
6975         * buffer.C: fix confusing error message when
6976         a template is chmoded 000
6977
6978 2003-03-29  John Levon  <levon@movementarian.org>
6979
6980         * BufferView.C:
6981         * BufferView.h:
6982         * BufferView_pimpl.C: Alert fixes
6983
6984         * Makefile.am:
6985         * tabular.C:
6986         * tabular-old.C: remove unused table compat reading
6987
6988 2003-03-29  John Levon  <levon@movementarian.org>
6989
6990         * BufferView.C:
6991         * buffer.C:
6992         * lyx_cb.h:
6993         * lyx_cb.C: more Alert cleanups
6994
6995         * lyxfunc.C: don't allow chktex if not latex document
6996
6997 2003-03-29  John Levon  <levon@movementarian.org>
6998
6999         * lyx_cb.C:
7000         * BufferView.C:
7001         * buffer.C: warnings pushed down from support/,
7002         kill err_alert
7003
7004 2003-03-29  John Levon  <levon@movementarian.org>
7005
7006         * lyxfunc.C: safety check for C-r (revert)
7007
7008 2003-03-29  John Levon  <levon@movementarian.org>
7009
7010         * bufferlist.h:
7011         * bufferlist.C: several UI fixes using Alert::prompt.
7012         Fix the pointless looping quit code. Fix stupid revert
7013         behaviour (bug 938)
7014
7015         * lyxvc.h:
7016         * lyxvc.C:
7017         * lyx_cb.C: use Alert::prompt
7018
7019         * lyx_main.C: remove a silly question
7020
7021         * lyxfunc.C: remove a couple of silly questions,
7022         use Alert::prompt
7023
7024 2003-03-28  John Levon  <levon@movementarian.org>
7025
7026         * text2.C: fix bug 974 (End on empty par)
7027
7028 2003-03-28  John Levon  <levon@movementarian.org>
7029
7030         * BufferView_pimpl.C:
7031         * LyXAction.C:
7032         * lfuns.h: remove do-nothing math greek lfuns
7033
7034 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * lyxgluelength.h (isValidGlueLength): add default arg on
7037         parameter 2. Remove default arg from friend in class.
7038
7039         * lyxlength.h (isValidLength): add default arg on parameter 2.
7040         Remove default arg from friend in class.
7041
7042         * text2.C (LyXText): adjust, initialize refresh_row.
7043         (init): adjust
7044         (removeRow): adjust
7045         (insertRow): adjust
7046         (insertParagraph): adjst
7047         (redoParagraphs): adjust
7048         (fullRebreak): adjust
7049         (updateCounters): adjust
7050         (deleteEmptyParagraphMechanism): first attempt at fixing a
7051         crashing bug.
7052
7053         * text.C (top_y): adjust
7054         (setHeightOfRow): adjust
7055         (getRow): adjust
7056         (getRowNearY): adjust
7057
7058         * lyxtext.h: include RowList.h
7059         (~LyXText): not needed anymore, deleted.
7060         (firstRow): modify for RowList
7061         (lastRow): new function
7062         Delete firstrow and lastrow class variables, add a Rowlist
7063         rowlist_ class variable.
7064
7065         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7066         paragraph is empty.
7067
7068         * RowList.C (insert): fix case where it == begin().
7069
7070 2003-03-26  Angus Leeming  <leeming@lyx.org>
7071
7072         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7073         the thesaurus dialog.
7074
7075 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7078
7079         * RowList.[Ch]: new files
7080
7081         * ParagraphList.C (erase): handle the case where it == begin
7082         correctly.
7083
7084 2003-03-25  John Levon  <levon@movementarian.org>
7085
7086         * Makefile.am:
7087         * aspell_local.h:
7088         * aspell.C: add new aspell support
7089
7090         * lyxrc.h:
7091         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7092         have it accessible.
7093
7094 2003-03-25  Angus Leeming  <leeming@lyx.org>
7095
7096         * lfuns.h:
7097         * LyXAction.C (init): new LFUN_INSET_INSERT.
7098
7099         * BufferView_pimpl.C (dispatch): split out part of the
7100         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7101
7102         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7103         LFUN_INSET_APPLY.
7104
7105 2003-03-25  Angus Leeming  <leeming@lyx.org>
7106
7107         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7108
7109 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7110
7111         * text2.C:
7112         * text3.C: remove useless row->height(0)
7113
7114 2003-03-25  John Levon  <levon@movementarian.org>
7115
7116         * lyxtext.h:
7117         * text2.C:
7118         * text3.C: rename the refreshing stuff to better names
7119
7120 2003-03-24  John Levon  <levon@movementarian.org>
7121
7122         * BufferView_pimpl.h:
7123         * BufferView_pimpl.C: update layout choice on a mouse
7124         press/release
7125
7126 2003-03-23  John Levon  <levon@movementarian.org>
7127
7128         * Makefile.am: fix commandtags.h reference
7129
7130 2003-03-22  John Levon  <levon@movementarian.org>
7131
7132         * BufferView_pimpl.C:
7133         * lyxtext.h:
7134         * rowpainter.C:
7135         * rowpainter.h:
7136         * text.C:
7137         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7138
7139 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7140
7141         * lyxtext.h:
7142         * text.C: take the rtl methods out of line
7143
7144 2003-03-21 André Pönitz <poenitz@gmx.net>
7145
7146         * metricsinfo.[Ch]: new files containing structures to be passed around
7147         during the two-phase-drawing...
7148
7149 2003-03-21 André Pönitz <poenitz@gmx.net>
7150
7151         * lyxtextclass.C: read 'environment' tag.
7152
7153 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * text2.C (removeRow): fix bug 964
7156
7157 2003-03-20  John Levon  <levon@movementarian.org>
7158
7159         * rowpainter.C:
7160         * text.C:
7161         * text2.C: paint cleanups. Inset::update() dropped font
7162         parameter
7163
7164 2003-03-19  John Levon  <levon@movementarian.org>
7165
7166         * lyxfunc.C: only fitcursor/markDirty if available()
7167
7168 2003-03-19  John Levon  <levon@movementarian.org>
7169
7170         * commandtags.h: rename to ...
7171
7172         * lfuns.h: ... this, and renumber / cleanup
7173
7174 2003-03-19  John Levon  <levon@movementarian.org>
7175
7176         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7177         fit the cursor after an lfun
7178
7179         * BufferView.h:
7180         * BufferView.C:
7181         * BufferView_pimpl.h:
7182         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7183
7184         * LyXAction.C: layout-character should have ReadOnly
7185
7186         * ParagraphParameters.C:
7187         * buffer.C:
7188         * bufferview_funcs.C:
7189         * lyx_cb.C:
7190         * lyxfind.C:
7191         * lyxtext.h:
7192         * text.C:
7193         * text2.C:
7194         * text3.C:
7195         * undo_funcs.C: changes from above
7196
7197 2003-03-18  John Levon  <levon@movementarian.org>
7198
7199         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7200         remove it from update()
7201
7202         * lyxfunc.C: update layout choice after an lfun
7203
7204         * text3.C: remove extra updateLayoutChoice()s
7205
7206 2003-03-18  John Levon  <levon@movementarian.org>
7207
7208         * text.C: top_y change means full repaint, fix
7209         a drawing bug with cursor movement
7210
7211 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7212
7213         * lyxtext.h:
7214         * text.C:
7215         * text2.C: anchor row on setCursor
7216
7217 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7218
7219         * lyxtext.h: remove almost all mutable keywords
7220         * text.C:
7221         * text2.C:
7222         * text3.C: remove const keywords accordingly
7223
7224 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7227         anon namespace
7228         (TeXEnvironment): ditto
7229         (TeXOnePar): ditto
7230
7231 2003-03-17  John Levon  <levon@movementarian.org>
7232
7233         * text.C (rowBreakPoint): remove attempt to fix displayed
7234         math insets inside a manual label
7235
7236 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * lyxtext.h: remove BufferView* as first arg from almost all class
7239         functions.
7240         * other files: adjust.
7241
7242 2003-03-17  John Levon  <levon@movementarian.org>
7243
7244         * lyxtext.h:
7245         * undo_funcs.C:
7246         * text2.C: more paint cleanups
7247
7248         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7249
7250         * rowpainter.h:
7251         * rowpainter.C: remove "smart" background painting code
7252
7253 2003-03-16  John Levon  <levon@movementarian.org>
7254
7255         * lyxtext.h:
7256         * text.C:
7257         * text2.C:
7258         * text3.C: add helper functions for setting refresh_row/y
7259
7260 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7261
7262         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7263         newline inset which *can* get inserted in the pass_thru layouts.
7264         This is primarily for literate documents.
7265
7266 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7267
7268         * buffer.C: increment LYX_FORMAT to 223
7269
7270 2003-03-14 André Pönitz <poenitz@gmx.net>
7271
7272         * textclass.h: prepare for environment handling, ws changes
7273         * lyxlayout.C: read latexheader and latexfooter tags
7274
7275 2003-03-14  John Levon  <levon@movementarian.org>
7276
7277         * text2.C: rewrite ::status() a bit
7278
7279 2003-03-13  John Levon  <levon@movementarian.org>
7280
7281         * lyxtext.h: add some docs
7282
7283 2003-03-13  John Levon  <levon@movementarian.org>
7284
7285         * lyxtext.h:
7286         * text.C:
7287         * text2.C:
7288         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7289
7290 2003-03-13  John Levon  <levon@movementarian.org>
7291
7292         * text3.C: fix appendix redrawing
7293
7294 2003-03-13  John Levon  <levon@movementarian.org>
7295
7296         * text.C (setHeightOfRow):
7297         * rowpainter.h:
7298         * rowpainter.C: make appendix mark have the text
7299           "Appendix" so the user knows what it is
7300
7301         * LColor.h:
7302         * LColor.C: s/appendixline/appendix/ from above
7303
7304 2003-03-13  John Levon  <levon@movementarian.org>
7305
7306         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7307
7308         * text.C: fix a getChar(pos) bug properly
7309
7310 2003-03-13  Angus Leeming  <leeming@lyx.org>
7311
7312         * commandtags.h:
7313         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7314         Probably only temporary. Let's see how things pan out.
7315
7316         * BufferView.C (unlockInset):
7317         * BufferView_pimpl.C (fitCursor):
7318         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7319
7320         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7321         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7322
7323         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7324         new functions that convert ParagraphParameters to and from a string.
7325
7326         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7327         BufferView::Pimpl's dispatch.
7328         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7329
7330 2003-03-13 André Pönitz <poenitz@gmx.net>
7331
7332         * lyxfunc.C:
7333         * text3.C:
7334         * factory.C: make it aware of InsetEnv
7335
7336 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * text2.C (setCursor): never ask for one past last
7339         (setCursor): add some debugging messages.
7340
7341         * text.C (singleWidth): never ask for one past last
7342         (singleWidth): ditto
7343         (leftMargin): ditto
7344         (rightMargin): ditto
7345         (rowBreakPoint): ditto
7346         (setHeightOfRow): ditto
7347         (prepareToPrint): ditto
7348
7349         * rowpainter.C (paintBackground): never ask for one past last
7350         (paintText): never ask for one past last
7351
7352         * paragraph_pimpl.C (getChar): make the assert stricter, never
7353         allow the one past last pos to be taken
7354
7355         * paragraph.C (getChar): ws changes only
7356
7357         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7358         (numberOfSeparators): ditto
7359         (numberOfHfills): ditto
7360
7361 2003-03-12  John Levon  <levon@movementarian.org>
7362
7363         * author.h:
7364         * author.C:
7365         * bufferparams.h:
7366         * bufferparams.C:
7367         * paragraph_funcs.C: fix per-buffer authorlists
7368
7369 2003-03-12  John Levon  <levon@movementarian.org>
7370
7371         * text.C: fix newline in right address
7372
7373 2003-03-12  Angus Leeming  <leeming@lyx.org>
7374
7375         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7376         duplicate those in LyXFunc::dispatch.
7377
7378         * commandtags.h:
7379         * LyXAction.C:
7380         * ToolbarDefaults.C:
7381         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7382         Add LFUN_FONTFREE_UPDATE.
7383
7384         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7385         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7386
7387         * bufferview_func.[Ch]: several new functions to facilliate
7388         transfer of data to and from the character dialog.
7389
7390 2003-03-12  John Levon  <levon@movementarian.org>
7391
7392         * buffer.C:
7393         * paragraph.h:
7394         * paragraph.C:
7395         * paragraph_funcs.C:
7396         * paragraph_pimpl.C:
7397         * sgml.C:
7398         * tabular.C:
7399         * text.C:
7400         * text3.C: remove META_NEWLINE in favour of an inset
7401
7402         * rowpainter.h:
7403         * rowpainter.C: remove paintNewline (done by inset)
7404
7405 2003-03-12  John Levon  <levon@movementarian.org>
7406
7407         * paragraph_pimpl.C: complain about bad getChar()s
7408         for a while at least
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * buffer.h:
7413         * buffer.C: move paragraph read into a separate function,
7414         a little renaming to reflect that.
7415
7416         * bufferparams.h:
7417         * bufferparams.C: remove the author_ids map, not necessary now
7418
7419         * factory.h:
7420         * factory.C: moved Buffer::readInset to here
7421
7422         * paragraph_funcs.h:
7423         * paragraph_funcs.C: readParagraph free function moved from
7424         buffer.C
7425
7426         * tabular.C: name change
7427
7428 2003-03-12  John Levon  <levon@movementarian.org>
7429
7430         * buffer.C:
7431         * ParagraphParameters.C: move par params input to
7432         a read() method
7433
7434         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7435         behave like a normal read from the stream wrt reading
7436         a line vs. a \\token
7437
7438 2003-03-12  John Levon  <levon@movementarian.org>
7439
7440         * paragraph.C:
7441         * ParagraphParameters.h:
7442         * ParagraphParameters.C: move output code to a
7443         ::write() method
7444
7445 2003-03-12  John Levon  <levon@movementarian.org>
7446
7447         * BufferView.C (insertLyXFile):
7448         * buffer.h:
7449         * buffer.C:
7450         * tabular.C: use a parlist iterator for creating the
7451           document.
7452
7453 2003-03-12  John Levon  <levon@movementarian.org>
7454
7455         * buffer.C: make current_change static local not
7456           static file-scope
7457
7458 2003-03-12  John Levon  <levon@movementarian.org>
7459
7460         * buffer.C: fix insertStringAsLines for change tracking
7461
7462 2003-03-12  John Levon  <levon@movementarian.org>
7463
7464         * BufferView.C:
7465         * tabular.C:
7466         * buffer.h:
7467         * buffer.C:
7468         * bufferparams.h:
7469         * bufferparams.C: move author list into params. Rename some
7470           functions. Move the header reading into a separate token
7471           loop. Move the header token reading into BufferParams.
7472
7473 2003-03-12  John Levon  <levon@movementarian.org>
7474
7475         * changes.C: put debug inside lyxerr.debugging() checks
7476
7477 2003-03-11 André Pönitz <poenitz@gmx.net>
7478
7479         * factory.C: make it aware of InsetHFill
7480
7481 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7482
7483         * buffer.C (latexParagraphs): move function from here...
7484         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7485         args.
7486
7487 2003-03-10  Angus Leeming  <leeming@lyx.org>
7488
7489         * LyXAction.C (init): fix bug in poplating array with multiple entries
7490         with the same LFUN (spotted by JMarc).
7491
7492 2003-03-10  John Levon  <levon@movementarian.org>
7493
7494         * text.C:
7495         * text2.C: move getColumnNearX() near its
7496         only call site
7497
7498 2003-03-10  John Levon  <levon@movementarian.org>
7499
7500         * text.C: fix break before a minipage
7501
7502 2003-03-10  John Levon  <levon@movementarian.org>
7503
7504         * text.C: fix the last commit
7505
7506 2003-03-09  John Levon  <levon@movementarian.org>
7507
7508         * lyxtext.h:
7509         * text.C:
7510         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7511         bug 365 (don't break before insets unless needed). Don't
7512         return a value > last under any circumstances.
7513
7514 2003-03-09  Angus Leeming  <leeming@lyx.org>
7515
7516         * BufferView_pimpl.C (trackChanges, dispatch): call
7517         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7518
7519 2003-03-09  Angus Leeming  <leeming@lyx.org>
7520
7521         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7522         than Dialogs::showAboutlyx().
7523
7524 2003-03-09  Angus Leeming  <leeming@lyx.org>
7525
7526         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7527         than Dialogs::showTabularCreate().
7528
7529 2003-03-09  John Levon  <levon@movementarian.org>
7530
7531         * lyxtext.h:
7532         * text.C:
7533         * text2.C: 3rd arg to nextBreakPoint was always the same.
7534           Use references.
7535
7536 2003-03-08  John Levon  <levon@movementarian.org>
7537
7538         * lyxrow.C:
7539         * paragraph.C:
7540         * paragraph.h:
7541         * rowpainter.C:
7542         * text.C:
7543         * text2.C: Remove the "main" bit from the "main body"
7544           notion.
7545
7546 2003-03-08  John Levon  <levon@movementarian.org>
7547
7548         * text.C (leftMargin): The left margin of an empty
7549         manual label paragraph should not include the label width
7550         string length.
7551
7552         * text.C (prepareToPrint): don't attempt to measure hfills
7553         for empty manual label paragraphs - the answer should be 0
7554
7555 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * CutAndPaste.C: remove commented code and reindent.
7558
7559 2003-03-08  John Levon  <levon@movementarian.org>
7560
7561         * lyxfunc.h:
7562         * lyxfunc.C: move reloadBuffer()
7563
7564         * BufferView.h:
7565         * BufferView.C: to here
7566
7567         * lyxvc.C: add comment
7568
7569         * vc-backend.h:
7570         * vc-backend.C: call bv->reload() to avoid
7571           getStatus() check on MENURELOAD
7572
7573 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7574
7575         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7576         to an old format .dep file.
7577
7578 2003-03-07  Angus Leeming  <leeming@lyx.org>
7579
7580         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7581         when the LFUN_MOUSE_RELEASE should have been handled by
7582         inset->localDispatch.
7583
7584 2003-03-07  Angus Leeming  <leeming@lyx.org>
7585
7586         * BufferView_pimpl.C (dispatch):
7587         * LyXAction.C (init):
7588         * ToolbarDefaults.C (init):
7589         * commandtags.h:
7590         * lyxfunc.C (getStatus):
7591         remove LFUN_INSET_GRAPHICS.
7592
7593         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7594
7595 2003-03-07  Angus Leeming  <leeming@lyx.org>
7596
7597         * commandtags.h:
7598         * LyXAction.C (init):
7599         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7600
7601         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7602
7603         * commandtags.h:
7604         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7605
7606         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7607         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7608
7609 2003-03-07  Angus Leeming  <leeming@lyx.org>
7610
7611         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7612         remove "ert".
7613
7614 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * ParagraphList.C (front): new function
7617         (back): implement
7618
7619 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7620
7621         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7622         and top_row_offset_. removed var first_y.
7623         * text.C (top_y):
7624         * text2.C (LyXText, removeRow):
7625         * text3.C:
7626         * BufferView_pimpl.C:
7627         use these methods instead of using first_y
7628
7629 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7630
7631         * text2.C (pasteSelection): adjust for checkPastePossible
7632
7633         * CutAndPaste.C: remove Paragraph * buf and replace with
7634         ParagraphList paragraphs.
7635         (DeleteBuffer): delete
7636         (cutSelection): change the tc type to textclass_type
7637         (copySelection): change the tc type to textclass_type
7638         (copySelection): adjust for ParagraphList
7639         (pasteSelection): change the tc type to textclass_type
7640         (pasteSelection): adjust for Paragraphlist
7641         (nrOfParagraphs): simplify for ParagraphList
7642         (checkPastePossible): simplify for ParagraphList
7643         (checkPastePossible): remove unused arg
7644
7645         * ParagraphList.C (insert): handle the case where there are no
7646         paragraphs yet.
7647
7648         * CutAndPaste.h: make CutAndPaste a namespace.
7649
7650         * text3.C (dispatch): adjust
7651
7652         * text.C (breakParagraph): add a ParagraphList as arg
7653
7654         * paragraph_funcs.C (breakParagraph): change to take a
7655         BufferParams and a ParagraphList as args.
7656         (breakParagraphConservative): ditto
7657         (mergeParagraph): ditto
7658         (TeXDeeper): add a ParagraphList arg
7659         (TeXEnvironment): ditto
7660         (TeXOnePar): ditto
7661
7662         * buffer.C (readLyXformat2): adjust
7663         (insertStringAsLines): adjust
7664         (latexParagraphs): adjust
7665
7666         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7667         (cutSelection): adjust
7668         (pasteSelection): adjust
7669
7670         * BufferView_pimpl.C (insertInset): adjust
7671
7672 2003-03-05  Angus Leeming  <leeming@lyx.org>
7673
7674         * commandtags.h:
7675         * LyXAction.C (init):
7676         * BufferView_pimpl.C (dispatch):
7677         * lyxfunc.C (getStatus):
7678         remove LFUN_CHILD_INSERT.
7679
7680         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7681
7682 2003-03-05  Angus Leeming  <leeming@lyx.org>
7683
7684         * commandtags.h:
7685         * LyXAction.C (init):
7686         * src/factory.C (createInset):
7687         * lyxfunc.C (getStatus):
7688         * text3.C (dispatch):
7689         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7690
7691         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7692
7693 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * ParagraphList.C (insert): handle insert right before end()
7696         (erase): fix cases where it can be first or last paragraph.
7697
7698 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7701         Paragraph::next and Paragraph::previous
7702         (TeXOnePar): ditto
7703
7704         * text.C (breakParagraph): adjust
7705
7706         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7707         BufferParams& as arg.
7708         (breakParagraph): use ParagraphList::insert
7709         (breakParagraphConservative): take a Buffer* instead of a
7710         BufferParams& as arg.
7711         (breakParagraphConservative): use ParagraphList::insert.
7712
7713         * buffer.C (insertStringAsLines): un-const it
7714         (insertStringAsLines): adjust
7715
7716         * ParagraphList.C (insert): new function
7717
7718         * CutAndPaste.C (pasteSelection): adjust
7719
7720         * text.C (backspace): adjust
7721
7722         * tabular.C (SetMultiColumn): adjust
7723
7724         * CutAndPaste.C (cutSelection): adjust
7725         (pasteSelection): adjust
7726
7727         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7728         Buffer const * as arg
7729
7730         * ParagraphList.C (erase): new function
7731         * paragraph_funcs.C (mergeParagraph): use it
7732         (mergeParagraph): make it take a Buffer* instead of a
7733         BufferParams* as arg
7734
7735         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7736         as arg
7737         (breakParagraphConservative): ditto
7738
7739         * paragraph.h: remove the breakParagraph friend
7740
7741         * paragraph.C (eraseIntern): new function
7742         (setChange): new function
7743
7744         * paragraph_funcs.C (mergeParagraph): make it take a
7745         ParagraphList::iterator instead of a Paragraph *, adjust
7746         accordingly.
7747
7748         * paragraph.h: move an #endif so that the change tracking stuff
7749         also works in the NO_NEXT case.
7750
7751 2003-03-04  Angus Leeming  <leeming@lyx.org>
7752
7753         * commandtags.h:
7754         * LyXAction.C: new LFUN_INSET_MODIFY.
7755
7756         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7757         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7758
7759 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * several files: ws changes only
7762
7763         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7764         (TeXEnvironment): ditto
7765         (TeXDeeper): ditto
7766
7767         * buffer.C (makeLaTeXFile): adjust
7768         (latexParagraphs): make it take ParagraphList::iterator as args
7769
7770 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * buffer.C (latexParagraphs): adjust
7773
7774         * paragraph.C (TeXOnePar): move function...
7775         (optArgInset): move function...
7776         (TeXEnvironment): move function...
7777         * paragraph_pimpl.C (TeXDeeper): move function...
7778         * paragraph_funcs.C: ...here
7779
7780         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7781
7782 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * buffer.C (readInset): remove compability code for old Figure and
7785         InsetInfo insets
7786
7787 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * buffer.C: ws changes
7790         (readInset):
7791
7792         * BufferView_pimpl.C: ditto
7793         * author.C: ditto
7794         * buffer.h: ditto
7795         * bufferlist.h: ditto
7796         * changes.h: ditto
7797         * lyxfunc.C: ditto
7798
7799 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7800
7801         * converter.[Ch]: split into itself +
7802         * graph.[Ch]
7803         * format.[Ch]
7804         * Makefile.am: += graph.[Ch] + format.[Ch]
7805         * MenuBackend.C
7806         * buffer.C
7807         * exporter.C
7808         * importer.C
7809         * lyx_main.C
7810         * lyxfunc.C
7811         * lyxrc.C: added #include "format.h"
7812
7813 2003-02-27  Angus Leeming  <leeming@lyx.org>
7814
7815         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7816           a label.
7817
7818         * factory.C (createInset): add "label" to the factory.
7819
7820         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7821           string and do no more.
7822
7823 2003-02-27  Angus Leeming  <leeming@lyx.org>
7824
7825         * commandtags.h:
7826         * LyXAction.C (init):
7827         * factory.C (createInset):
7828         * BufferView_pimpl.C (dispatch):
7829           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7830
7831         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7832
7833         * lyxfunc.C (dispatch):
7834         * text3.C (dispatch): pass name to params2string.
7835
7836 2003-02-26  Angus Leeming  <leeming@lyx.org>
7837
7838         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7839           blocks together.
7840           Rearrange the ~includes. Strip out the unnecessary ones.
7841
7842         * factory.C (createInset): reformat.
7843           create new insets for the various LFUN_XYZ_APPLY lfuns.
7844
7845 2003-02-26  John Levon  <levon@movementarian.org>
7846
7847         * lyxrow.h:
7848         * lyxrow.C: add isParStart,isParEnd helpers
7849
7850         * paragraph.h: make isInserted/DeletedText take refs
7851
7852         * paragraph_funcs.h:
7853         * paragraph_funcs.C: remove #if 0'd code
7854
7855         * lyxtext.h:
7856         * text3.C:
7857         * text2.C:
7858         * text.C: use lyxrow helpers above.
7859           Move draw and paint routines to RowPainter.
7860           Make several methods use refs not pointers.
7861           Make backgroundColor() const.
7862           Add markChangeInDraw(), isInInset().
7863           Merge changeRegionCase into changeCase.
7864           Make workWidth() shouldn't-happen code into an Assert.
7865
7866         * rowpainter.h:
7867         * rowpainter.C: new class for painting a row.
7868
7869         * vspace.h:
7870         * vspace.C: make inPixels take a ref
7871
7872 2003-02-26  Angus Leeming  <leeming@lyx.org>
7873
7874         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7875         LFUN_REF_APPLY.
7876
7877 2003-02-25  John Levon  <levon@movementarian.org>
7878
7879         * ispell.C: give the forked command a more accurate name
7880
7881 2003-02-22  John Levon  <levon@movementarian.org>
7882
7883         * toc.h:
7884         * toc.C: make TocItem store an id not a Paragraph *
7885           (bug #913)
7886
7887 2003-02-21  Angus Leeming  <leeming@lyx.org>
7888
7889         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7890           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7891           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7892           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7893           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7894           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7895
7896         * BufferView_pimpl.C (dispatch):
7897         * LyXAction.C (init):
7898         * factory.C (createInset):
7899         * lyxfunc.C (getStatus, dispatch):
7900         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7901
7902 2003-02-21  Angus Leeming  <leeming@lyx.org>
7903
7904         * BufferView_pimpl.C (MenuInsertLyXFile):
7905         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7906         * lyxfunc.C (menuNew, open, doImport):
7907           no longer pass a LyXView & to fileDlg.
7908
7909 2003-02-21  Angus Leeming  <leeming@lyx.org>
7910
7911         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7912         * LyXAction.C: change, BIBKEY to BIBITEM.
7913         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7914         Change InsetBibKey to InsetBibitem.
7915         Change BIBKEY_CODE to BIBITEM_CODE.
7916         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7917         * factory.C: replace insetbib.h with insetbibitem.h.
7918         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7919         * paragraph.C: replace insetbib.h with insetbibitem.h.
7920         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7921         Change bibkey() to bibitem().
7922         * text.C: remove insetbib.h.
7923         * text2.C: replace insetbib.h with insetbibitem.h.
7924         change bibkey() to bibitem().
7925         * text3.C: remove insetbib.h.
7926         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7927
7928 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7929
7930         * lyxrc.C (output): enclose user email in quotes (in case there are
7931         several words)
7932
7933 2003-02-18  John Levon  <levon@movementarian.org>
7934
7935         * buffer.h: add std::
7936
7937 2003-02-17  John Levon  <levon@movementarian.org>
7938
7939         * SpellBase.h:
7940         * ispell.h:
7941         * ispell.C:
7942         * pspell.h:
7943         * pspell.C: reworking. Especially in ispell, a large
7944           number of clean ups and bug fixes.
7945
7946         * lyxfunc.C: fix revert to behave sensibly
7947
7948 2003-02-17 André Pönitz <poenitz@gmx.net>
7949
7950         * LyXAction.C:
7951         * commandtags.h: new LFUN_INSERT_BIBKEY
7952
7953         * layout.h:
7954         * lyxlayout.C:
7955         * buffer.C:
7956         * factory.C:
7957         * text.C:
7958         * text2.C:
7959         * text3.C:
7960         * paragraph.[Ch]:
7961         * paragraph_func.C: remove special bibkey handling
7962
7963 2003-02-17  John Levon  <levon@movementarian.org>
7964
7965         * text.C (Delete): fix case where delete at the end of
7966           the very first paragraph would not merge the pars
7967
7968 2003-02-17  John Levon  <levon@movementarian.org>
7969
7970         * lyxrow.C: fix lastPrintablePos()
7971
7972 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7973
7974         * bufferparams.C (writeLaTeX): add a std:here
7975
7976         * buffer.C: and remove a using directive there
7977
7978 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7979
7980         * buffer.C (makeLaTeXFile): move the code that generates the
7981           preamble...
7982
7983         * bufferparams.C (writeLaTeX): ... in this new method
7984
7985         * LaTeXFeatures.C (getEncodingSet): make const
7986           (getLanguages): make const
7987
7988         * MenuBackend.C (binding): returns the binding associated to this
7989           action
7990           (add): sets the status of each item by calling getStatus. Adds
7991           some intelligence.
7992           (read): add support for OptSubMenu
7993           (expand): remove extra separator at the end of expanded menu
7994
7995 2003-02-15  John Levon  <levon@movementarian.org>
7996
7997         * BufferView.C:
7998         * BufferView_pimpl.C:
7999         * bufferlist.h:
8000         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8001           inset code that had no actual effect. Remove unneeded status
8002           code.
8003
8004 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8005
8006         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8007           in preamble
8008
8009 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8010
8011         * text.C (drawLengthMarker): also draw an arrow marker for
8012           symbolic lengths (medskip...)
8013
8014 2003-02-14  John Levon  <levon@movementarian.org>
8015
8016         * tabular.h:
8017         * tabular.C: better method names
8018
8019 2003-02-14  John Levon  <levon@movementarian.org>
8020
8021         * BufferView_pimpl.C:
8022         * bufferlist.C:
8023         * buffer.C:
8024         * converter.C:
8025         * lyx_cb.C:
8026         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8027           it's a more accurate name. Remove some pointless uses.
8028
8029 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8030
8031         * text2.C (LyXText): change order of initilizers to shut off
8032           warnings
8033
8034 2003-02-14  John Levon  <levon@movementarian.org>
8035
8036         * buffer.C: use ParIterator for getParFromID()
8037
8038         * paragraph.h:
8039         * paragraph.C:
8040         * paragraph_pimpl.h:
8041         * paragraph_pimpl.C: remove unused getParFromID()
8042
8043 2003-02-14  John Levon  <levon@movementarian.org>
8044
8045         * buffer.C: remove some very old #if 0'd parse code
8046
8047 2003-02-13  John Levon  <levon@movementarian.org>
8048
8049         * text.h:
8050         * text.C:
8051         * text2.C: move hfillExpansion(), numberOfSeparators(),
8052           rowLast(), rowLastPrintable(), numberofHfills(),
8053           numberOfLabelHfills() ...
8054
8055         * lyxrow.h:
8056         * lyxrow.C: ... to member functions here.
8057
8058         * paragraph.h:
8059         * paragraph.C:
8060         * lyxtext.h:
8061         * text.C: remove LyXText::beginningOfMainBody(), and call
8062           p->beginningOfMainBody() directly. Move the check for
8063           LABEL_MANUAL into the latter.
8064
8065         * text.h:
8066         * text.C:
8067         * text2.C:
8068         * vspace.C:
8069         * BufferView.h:
8070         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8071
8072         * text.h:
8073         * text.C:
8074         * text2.C:
8075         * text3.C:
8076         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8077           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8078
8079 2003-02-13  John Levon  <levon@movementarian.org>
8080
8081         * CutAndPaste.C: remove debug
8082
8083 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8084
8085         * paragraph.C (asString): remove two unused variables
8086
8087         * lyxtextclass.C (readTitleType):
8088           (Read):
8089           (LyXTextClass): handle new members titletype_ and titlename_
8090
8091         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8092
8093 2003-02-09  John Levon  <levon@movementarian.org>
8094
8095         * buffer.h:
8096         * buffer.C: replace hand-coded list with a map for the dep clean
8097
8098 2003-02-08  John Levon  <levon@movementarian.org>
8099
8100         * LaTeX.C: consolidate code into showRunMessage() helper
8101
8102 2003-02-08  John Levon  <levon@movementarian.org>
8103
8104         * lyxfind.C:
8105         * lyxtext.h:
8106         * text2.C:
8107         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8108           and pass the size in explicitly
8109
8110         * BufferView_pimpl.h:
8111         * BufferView_pimpl.C:
8112         * BufferView.h:
8113         * BufferView.C: add getCurrentChange()
8114
8115         * BufferView_pimpl.h:
8116         * BufferView_pimpl.C: handle change lfuns
8117
8118         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8119           for changes. Mark pasted paragraphs as new.
8120
8121         * support/lyxtime.h:
8122         * support/lyxtime.C:
8123         * DepTable.C: abstract time_t as lyx::time_type
8124
8125         * LColor.h:
8126         * LColor.C: add colours for new text, deleted text, changebars
8127
8128         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8129           package use "usenames" option.
8130
8131         * commandtags.h:
8132         * lyxfunc.C:
8133         * LyXAction.C: add change lfuns
8134
8135         * Makefile.am:
8136         * author.h:
8137         * author.C: author handling
8138
8139         * buffer.h:
8140         * buffer.C: add a per-buffer author list, with first entry as
8141           current author. Handle new .lyx tokens for change tracking. Output
8142           author list to .lyx file. Output dvipost stuff to .tex preamble.
8143           Bump lyx format to 222.
8144
8145         * bufferlist.h:
8146         * bufferlist.C: add setCurrentAuthor() to reset current author details
8147           in all buffers.
8148
8149         * bufferparams.h:
8150         * bufferparams.C: add param for tracking
8151
8152         * bufferview_funcs.C: output change info in minibuffer
8153
8154         * Makefile.am:
8155         * changes.h:
8156         * changes.C: add change-tracking structure
8157
8158         * debug.h:
8159         * debug.C: add CHANGES debug flag
8160
8161         * lyxfind.h:
8162         * lyxfind.C: add code for finding the next change piece
8163
8164         * lyxrc.h:
8165         * lyxrc.C: add user_name and user_email
8166
8167         * lyxrow.h:
8168         * lyxrow.C: add a metric for the top of the text line
8169
8170         * lyxtext.h:
8171         * text.C: implement accept/rejectChange()
8172
8173         * lyxtext.h:
8174         * text.C: paint changebars. Paint new/deleted text in the chosen
8175         colours. Strike through deleted text.
8176
8177         * paragraph.h:
8178         * paragraph.C:
8179         * paragraph_pimpl.h:
8180         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8181           in the current change to the insert functions. Rework erase to
8182           mark text as deleted, adding an eraseIntern() and a range-based
8183           erase(). Implement per-paragraph change lookup and
8184           accept/reject.
8185
8186         * paragraph_funcs.C: Fixup paste for change tracking.
8187
8188         * tabular.C: mark added row/columns as new.
8189
8190         * text.C: fix rowLast() to never return -1. Don't allow
8191           spellchecking of deleted text. Track transpose changes. Don't
8192           allow paragraph break or merge where appropriate.
8193
8194         * text2.C: leave cursor at end of selection after a cut.
8195
8196 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8197
8198         * text.C (getLengthMarkerHeight):
8199         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8200         visible on screen too.
8201
8202 2003-02-07  John Levon  <levon@movementarian.org>
8203
8204         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8205
8206 2003-02-05  Angus Leeming  <leeming@lyx.org>
8207
8208         * lyxserver.C (read_ready): revert my patch of 11 September last year
8209         as it sends PC cpu through the roof. Presumably this means that
8210         the lyxserver will no longer run on an Alpha...
8211
8212 2003-01-30  Angus Leeming  <leeming@lyx.org>
8213
8214         * factory.C (createInset): create an InsetCommandParam of type "index"
8215         and use it to 'do the right thing'.
8216
8217         * text2.C (getStringToIndex): ensure that cursor position is always
8218         reset to the reset_cursor position.
8219
8220 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8221
8222         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8223         disabled.
8224
8225 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8226
8227         * bufferview.C:
8228         * lyxcb.C:
8229         * lyxfunc.C: Output messages with identical spelling, punctuation,
8230         and spaces
8231
8232 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8233
8234         * MenuBackend.C (expandFormats): List only viewable export formats
8235         in "View" menu
8236
8237         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8238         message
8239
8240         * lyxfunc.C (getStatus): Make sure that formats other than
8241         "fax" can also be disabled
8242
8243 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8244
8245         * text3.C (dispatch): put the lfuns that insert insets in 3
8246         groups, and call doInsertInset with appropriate arguments.
8247         (doInsertInset): new function, that creates an inset and inserts
8248         it according to some boolean parameters.
8249
8250 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * buffer.C (readFile): remember to pass on 'par' when calling
8253         readFile recursively.
8254
8255 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * MenuBackend.C (expandFormats): add "..." to import formats.
8258
8259 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8260
8261         * paragraph.C (asString): Remove XForms RTL hacks.
8262
8263 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8264         * buffer.C: fix typo
8265
8266 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * Makefile.am (LIBS): delete var
8269         (lyx_LDADD): add @LIBS@ here instead.
8270
8271 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8272
8273         * Clarify the meaning of "wheel mouse jump"
8274
8275 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8276
8277         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8278         tabular in a float
8279
8280 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8281
8282         * importer.C (Loaders): do not preallocate 3 elements in the
8283         vector, since one ends up with 6 elements otherwise
8284
8285 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8286
8287         * DepTable.C (write): write the file name as last element of the
8288         .dep file (because it may contain spaces)
8289         (read): read info in the right order
8290
8291 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8292
8293         * paragraph_pimpl.C (simpleTeXBlanks):
8294         (simpleTeXSpecialChars):
8295         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8296
8297         * tabular.C (latex): add some missing case statements. Reindent.
8298
8299         * MenuBackend.C (expandToc): remove unused variable.
8300
8301 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8302
8303         * LColor.C:
8304         * LaTeX.C:
8305         * LyXAction.C:
8306         * MenuBackend.C:
8307         * buffer.C:
8308         * exporter.C:
8309         * lyxfunc.C:
8310         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8311         and the like.
8312
8313 2003-01-05  John Levon  <levon@movementarian.org>
8314
8315         * BufferView.h:
8316         * BufferView.C: add getEncoding()
8317
8318         * kbsequence.h:
8319         * kbsequence.C: do not store last keypress
8320
8321         * lyxfunc.h:
8322         * lyxfunc.C: store last keypress here instead. Pass encoding
8323           to getISOEncoded()
8324
8325 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * lyx_main.C (init): remove annoying error message when following
8328         symbolic links (bug #780)
8329
8330 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8331
8332         * text.C (insertChar):
8333         * lyxrc.C (getDescription): remove extra spaces
8334
8335 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8336
8337         * lyxrc.C (getDescription): remove extra spaces
8338
8339 2002-12-20  John Levon  <levon@movementarian.org>
8340
8341         * text3.C: hack fix for page up/down across tall rows
8342
8343 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8344
8345         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8346         not been invoked
8347
8348 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8349
8350         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8351         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8352         thesaurus is not compiled in
8353
8354 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8355
8356         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8357
8358 2002-12-16  Angus Leeming  <leeming@lyx.org>
8359
8360         * lyxrc.[Ch]:
8361         * lyx_main.C (init): remove override_x_deadkeys stuff.
8362
8363 2002-12-12  John Levon  <levon@movementarian.org>
8364
8365         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8366           insert. Only remove shift modifier under strict
8367           circumstances.
8368
8369 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * MenuBackend.C (expandToc): fix crash.
8372
8373 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * MenuBackend.C (expandToc): gettext on float names.
8376
8377 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8378
8379         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8380         implement bool empty() [bug 490]
8381
8382 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8385
8386 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * several files: ws changes
8389
8390 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8391
8392         * text2.C (setCounter): clean up a bit, use boost.format.
8393         (updateCounters): initialize par upon declaration.
8394
8395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8396         if the layout exists. We do not just store the layout any more.
8397         (SwitchLayoutsBetweenClasses): use boost.format
8398
8399 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8400
8401         * converter.C (convert): if from and to files are the same, use a
8402         temporary files as intermediary
8403
8404 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8405
8406         * commandtags.h:
8407         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8408
8409 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8410
8411         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8412
8413 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * tabular.C (asciiPrintCell): use string(size, char) instead of
8416         explicit loop.
8417
8418         * sgml.C (openTag): fix order of arguments to string constructor
8419         (closeTag): ditto
8420
8421         * lyxfunc.C (dispatch): use boost.format
8422
8423         * lots of files: change "c" -> 'c'
8424
8425 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8426
8427         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8428
8429 2002-11-25  Angus Leeming  <leeming@lyx.org>
8430
8431         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8432
8433         * lyx_main.C (init): compile fix.
8434
8435 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * lyx_cb.C (start): boost.formatify
8438         do not include <iostream>
8439
8440         * lengthcommon.C: ws only
8441
8442         * boost-inst.C,BoostFormat.h: add more explict instantations
8443
8444 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * lots of files: handle USE_BOOST_FORMAT
8447
8448 2002-11-21  John Levon  <levon@movementarian.org>
8449
8450         * pspell.C: fix compile
8451
8452 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8453
8454         * lyxfunc.C (dispatch): use boost::format
8455         (open): ditto
8456         (doImport): ditto
8457
8458         * lyxfont.C (stateText): use boost::format
8459
8460         * lyx_main.C (LyX): use boost::format
8461         (init): ditto
8462         (queryUserLyXDir): ditto
8463         (readRcFile): ditto
8464         (parse_dbg): ditto
8465         (typedef boost::function): use the recommened syntax.
8466
8467         * importer.C (Import): use boost::format
8468
8469         * debug.C (showLevel): use boost::format
8470
8471         * converter.C (view): use boost::format
8472         (convert): ditto
8473         (move): ditto
8474         (scanLog): ditto
8475
8476         * bufferview_funcs.C (currentState): use boost::format
8477
8478         * bufferlist.C (emergencyWrite): use boost::format
8479
8480         * buffer.C (readLyXformat2): use boost::format
8481         (parseSingleLyXformat2Token): ditto
8482
8483         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8484
8485         * LaTeX.C (run): use boost::format
8486
8487         * Chktex.C (scanLogFile): use boost::format
8488
8489         * BufferView_pimpl.C (savePosition): use boost::format
8490         (restorePosition): ditto
8491         (MenuInsertLyXFile): ditto
8492
8493         * BoostFormat.h: help file for explicit instation.
8494
8495 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8496
8497         * tabular.C (latex): Support for block alignment in fixed width
8498         columns.
8499
8500 2002-11-17  John Levon  <levon@movementarian.org>
8501
8502         * BufferView_pimpl.C:
8503         * lyx_cb.C:
8504         * lyxfunc.C: split filedialog into open/save
8505
8506 2002-11-08  Juergen Vigna  <jug@sad.it>
8507
8508         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8509         by my last patch (hopefully).
8510
8511 2002-11-08  John Levon  <levon@movementarian.org>
8512
8513         * iterators.h:
8514         * iterators.C:
8515         * buffer.h:
8516         * buffer.C:
8517         * paragraph.h:
8518         * paragraph.C:
8519         * toc.h:
8520         * toc.C: ParConstIterator, and use it (from Lars)
8521
8522 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8523
8524         * lyxtextclass.[Ch]: revise and add doxygen comments
8525
8526 2002-11-07  John Levon  <levon@movementarian.org>
8527
8528         * text.C: fix progress value for spellchecker
8529
8530         * toc.C: fix navigate menu for insetwrap inside minipage
8531
8532         * paragraph_funcs.C: added FIXME for suspect code
8533
8534 2002-11-07  John Levon  <levon@movementarian.org>
8535
8536         * BufferView_pimpl.C: fix redrawing of insets
8537           on buffer switch
8538
8539 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8540
8541         * text2.C (updateCounters): fix bug 668
8542
8543 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8544
8545         * text3.C (dispatch): Do not make the buffer dirty when moving the
8546         cursor.
8547
8548 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * vc-backend.C: STRCONV
8551         (scanMaster): ditto
8552
8553         * text2.C (setCounter): STRCONV
8554
8555         * paragraph.C (asString): STRCONV
8556
8557         * lyxlength.C (asString): STRCONV
8558         (asLatexString): ditto
8559
8560         * lyxgluelength.C (asString): STRCONV
8561         (asLatexString): ditto
8562
8563         * lyxfunc.C (dispatch): STRCONV
8564         (open): ditto
8565
8566         * lyxfont.C (stateText): STRCONV
8567
8568         * importer.C (Import): STRCONV
8569
8570         * counters.C (labelItem): STRCONV
8571         (numberLabel): ditto
8572         (numberLabel): remove unused ostringstream o
8573
8574         * chset.C: STRCONV
8575         (loadFile): ditto
8576
8577         * bufferview_funcs.C (currentState): STRCONV
8578
8579         * buffer.C (readFile): STRCONV
8580         (asciiParagraph): ditto
8581         (makeLaTeXFile): ditto
8582
8583         * Spacing.C (writeEnvirBegin): STRCONV
8584
8585         * LaTeXFeatures.C (getLanguages): STRCONV
8586         (getPackages): ditto
8587         (getMacros): ditto
8588         (getBabelOptions): ditto
8589         (getTClassPreamble): ditto
8590         (getLyXSGMLEntities): ditto
8591         (getIncludedFiles): ditto
8592
8593         * LaTeX.C: STRCONV
8594         (run): ditto
8595         (scanAuxFile): ditto
8596         (deplog): ditto
8597
8598         * LString.h: add the STRCONV macros
8599
8600         * BufferView_pimpl.C (savePosition): STRCONV
8601         (restorePosition): ditto
8602         (MenuInsertLyXFile): ditto
8603
8604         * vc-backend.C (scanMaster): change from submatch[...] to
8605         submatch.str(...)
8606
8607         * funcrequest.C: include config.h
8608
8609         * factory.C: include config.h
8610
8611         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8612
8613         * box.C: include config.h
8614
8615         * LaTeX.C (scanAuxFile): change from submatch[...] to
8616         submatch.str(...)
8617         (deplog): ditto
8618
8619 2002-10-25  Angus Leeming  <leeming@lyx.org>
8620
8621         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8622
8623         * ispell.[Ch] (setError): new method.
8624         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8625         Use setError() insetead of goto END.
8626
8627         * lyx_cb.C (AutoSave): move out child process into new class
8628         AutoSaveBuffer.
8629
8630 2002-10-30  John Levon  <levon@movementarian.org>
8631
8632         * text3.C: make start appendix undoable
8633
8634 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8635
8636         * lyxlength.C (inPixels): Fix returned value.
8637
8638         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8639         environment.
8640
8641 2002-10-24  Angus Leeming  <leeming@lyx.org>
8642
8643         * lyxgluelength.h: no need to forward declare BufferParams
8644         or BufferView, so don't.
8645
8646 2002-10-21  John Levon  <levon@movementarian.org>
8647
8648         * BufferView.C: menuUndo ->undo, redo
8649
8650         * BufferView.h: document, remove dead, make some methods private
8651
8652         * paragraph_funcs.h:
8653         * paragraph_funcs.C:
8654         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8655
8656         * buffer.h:
8657         * buffer.C:
8658         * sgml.h:
8659         * sgml.C: move sgml open/close tag into sgml.C
8660
8661         * bufferview_funcs.h: unused prototype
8662
8663         * lyxfunc.h:
8664         * lyxfunc.C: remove unused
8665
8666         * lyxtext.h:
8667         * text.C: remove unused
8668
8669 2002-10-21  John Levon  <levon@movementarian.org>
8670
8671         * BufferView.h:
8672         * BufferView.C:
8673         * BufferView_pimpl.h:
8674         * BufferView_pimpl.C: fix mouse wheel handling based on
8675           patch from Darren Freeman
8676
8677 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8678
8679         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8680
8681 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8682
8683         * lyxlength.C (inPixels): Fix hanfling of negative length.
8684         Fix LyXLength::MU case.
8685
8686 2002-10-16  John Levon  <levon@movementarian.org>
8687
8688         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8689
8690 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8691
8692         * converter.C (view): add support for $$i (file name) and $$p
8693         (file path) for the viewer command. If $$i is not specified, then
8694         it is appended to the command (for compatibility with old syntax)
8695
8696 2002-10-14  Juergen Vigna  <jug@sad.it>
8697
8698         * undo_funcs.C (textHandleUndo): alter the order in which the
8699         new undopar is added to the LyXText, as we have to set first
8700         the right prev/next and then add it as otherwise the rebuild of
8701         LyXText is not correct. Also reset the cursor to the right paragraph,
8702         with this IMO we could remove the hack in "redoParagraphs()".
8703
8704 2002-10-09  Angus Leeming  <leeming@lyx.org>
8705
8706         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8707         to turn off an optimisation if a new inset is to be inserted.
8708
8709 2002-10-11 André Pönitz <poenitz@gmx.net>
8710
8711         * lyxtext.h: make some functions public to allow access
8712         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8713
8714 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * text3.C (dispatch): when changing layout, avoid an infinite loop
8717         [bug #652]
8718
8719 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8720
8721         * lyxrc.C (read): treat a viewer or converter command of "none" as
8722         if it were empty.
8723
8724         * MenuBackend.C (expandFormats): for an update, also allow the
8725         formats that are not viewable
8726
8727         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8728         script if it is newer than the lyxrc.defaults in user directory
8729
8730 2002-10-07 André Pönitz <poenitz@gmx.net>
8731
8732         * text.C: Vitaly Lipatov's small i18n fix
8733
8734 2002-09-25  Angus Leeming  <leeming@lyx.org>
8735
8736         * ispell.h: doxygen fix.
8737
8738 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8739
8740         * buffer.h (readFile): Add a new argument to the method, to allow
8741         reading of old-format templates.
8742
8743 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8744
8745         * toc.C (getTocList): Get TOC from InsetWrap.
8746
8747 2002-09-16  John Levon  <levon@movementarian.org>
8748
8749         * lyxfunc.C: check tabular for cut/copy too
8750
8751 2002-09-12  John Levon  <levon@movementarian.org>
8752
8753         * LyXAction.C: tidy
8754
8755         * factory.h:
8756         * factory.C: add header
8757
8758         * paragraph_funcs.h:
8759         * paragraph_funcs.C: cleanup
8760
8761 2002-09-11  John Levon  <levon@movementarian.org>
8762
8763         * PrinterParams.h: odd/even default to true
8764
8765 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8766
8767         * PrinterParams.h: update printer parameters for new xforms dialog
8768
8769 2002-09-11  Angus Leeming  <leeming@lyx.org>
8770
8771         * lyxserver.C (read_ready): re-write to make it more transparent
8772         and to make it work in coherent fashion under Tru64 Unix.
8773
8774 2002-09-11  André Pönitz <poenitz@gmx.net>
8775
8776         * commandtags.h:
8777         * LyXAction.C:
8778         * text3.C: implement LFUN_WORDSEL
8779
8780 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8781
8782         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8783         make floatlist_ a boost::shared_ptr<FloatList>
8784
8785         * lyxtextclass.C: include FloatList.h
8786         (LyXTextClass): initialize floatlist_
8787         (TextClassTags): add TC_NOFLOAT
8788         (Read): match "nofloat" to TC_NOFLOAT and use it.
8789         (readFloat): modify call to floatlist_
8790         (floats): ditto
8791         (floats): ditto
8792
8793         * FloatList.[Ch] (FloatList): remove commented out float
8794         initialization.
8795         (erase): new function
8796
8797 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8798
8799         * MenuBackend.C (expandToc): fix crash when there is no document
8800         open
8801
8802 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8803
8804         * many files: Add insetwrap.
8805
8806 2002-09-09  John Levon  <levon@movementarian.org>
8807
8808         * text2.C: remove confusing and awkward depth wraparound
8809
8810 2002-09-09  John Levon  <levon@movementarian.org>
8811
8812         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8813
8814         * buffer.h:
8815         * buffer.C: remove getIncludeonlyList()
8816
8817         * paragraph.C:
8818         * lyxfunc.C: remove headers
8819
8820 2002-09-09  Juergen Vigna  <jug@sad.it>
8821
8822         * text.C (getColumnNearX): fix form Michael this is most
8823         probably a cut&paste bug.
8824
8825 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8828
8829         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8830         references, ws changes.
8831
8832         * text2.C (init): update counters after init
8833         (insertParagraph): no need to set counter on idividual paragraphs.
8834         (setCounter): access the counters object in the textclass object
8835         on in the buffer object.
8836         (updateCounters): ditto
8837
8838         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8839         shared_ptr<Counters> to avoid loading counters.h in all
8840         compilation units.
8841         (LyXTextClass): initialize ctrs_
8842         (TextClassTags): add TC_COUNTER, and ...
8843         (Read): use it here.
8844         (CounterTags): new tags
8845         (readCounter): new function
8846         (counters): new funtion
8847         (defaultLayoutName): return a const reference
8848
8849         * counters.C (Counters): remove contructor
8850         (newCounter): remove a couple of unneeded statements.
8851         (newCounter): simplify a bit.
8852         (numberLabel): some small formatting changes.
8853
8854         * buffer.[Ch]: remove all traces of counters, move the Counters
8855         object to the LyXTextClass.
8856
8857 2002-09-06  Alain Castera  <castera@in2p3.fr>
8858
8859         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8860         package to set the horizontal alignment on fixed width columns.
8861
8862         * lyx_sty.C:
8863         * lyx_sty.h: added tabularnewline macro def.
8864
8865         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8866
8867 2002-09-06  John Levon  <levon@movementarian.org>
8868
8869         * LyXAction.C: tooltips for sub/superscript
8870
8871         * MenuBackend.C: a bit more verbose
8872
8873         * lyxfunc.C: tiny clean
8874
8875         * undo_funcs.C: document undo_frozen
8876
8877 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8878
8879         * counters.C (Counters): add missing algorithm counter.
8880
8881         * text2.C (setCounter): lookup the counter with layouts latexname
8882         instead of by section number.
8883         (setCounter): use a hackish way to lookup the correct enum
8884         counter.
8885         a float name->type change
8886         reset enum couners with counter name directly instead of depth value.
8887
8888         * counters.C (Counters): remove the push_backs, change to use the
8889         float type not the float name.
8890         (labelItem): remove unused string, float name->type change
8891
8892         * counters.h: don't include vector, loose the enums and sects vectors
8893
8894 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8895
8896         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8897         (Read): add float->TC_FLOAT to textclassTags
8898         (Read): and handle it in the switch
8899         (readFloat): new function
8900
8901         * FloatList.C (FloatList): comment out the hardcoded float
8902         definitions.
8903
8904         * lyxlayout.h: ws change.
8905
8906 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8907
8908         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8909
8910 2002-09-03  Angus Leeming  <leeming@lyx.org>
8911
8912         * BufferView_pimpl.h: qualified name is not allowed in member
8913         declaration: WorkArea & Pimpl::workarea() const;
8914
8915         * factory.C: added using std::endl directive.
8916
8917         * text3.C: added using std::find and std::vector directives.
8918
8919 2002-08-29  André Pönitz <poenitz@gmx.net>
8920
8921         * lyxtext.h:
8922         * text2.C: remove unused member number_of_rows
8923
8924         * Makefile.am:
8925         * BufferView2.C: remove file, move contents to...
8926         * BufferView.C: ... here
8927
8928         * BufferView_pimpl.C:
8929         * factory.C: move more inset creation to factory
8930
8931         * vspace.C: avoid direct usage of LyXText, ws changes
8932
8933         * BufferView.[Ch]:
8934                 don't provide direct access to WorkArea, use two simple
8935                 acessors haveSelction() and workHeight() instead
8936
8937
8938 2002-08-29  John Levon  <levon@movementarian.org>
8939
8940         * BufferView_pimpl.C (dispatch): do not continue when
8941           no buffer
8942
8943 2002-08-28  André Pönitz <poenitz@gmx.net>
8944
8945         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8946
8947         * BufferView.h:
8948         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8949
8950 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8951
8952         * buffer.C: increment LYX_FORMAT to 221
8953
8954         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8955         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8956
8957         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8958
8959         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8960
8961 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * factory.C (createInset): use LyXTextClass::floats
8964
8965         * MenuBackend.C (expandFloatListInsert):
8966         (expandFloatInsert):
8967         (expandToc):
8968
8969         * text2.C (setCounter):
8970
8971         * LaTeXFeatures.C (useFloat):
8972         (getFloatDefinitions):
8973
8974         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8975
8976         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8977         floatlist_, with accessor floats().
8978
8979         * FloatList.h: remove global FloatList
8980
8981 2002-08-26  André Pönitz <poenitz@gmx.net>
8982
8983         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8984
8985         * BufferView.h:
8986         * BufferView2.C:
8987         * BufferView_pimpl.C:
8988         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8989
8990 2002-08-25  John Levon  <levon@movementarian.org>
8991
8992         * LyXAction.C: fix margin note description
8993
8994 2002-08-24  John Levon  <levon@movementarian.org>
8995
8996         * buffer.C:
8997         * bufferlist.C:
8998         * bufferview_funcs.C:
8999         * lyxfont.C:
9000         * undo_funcs.C: cleanups
9001
9002         * lyxfunc.C: disable CUT/COPY when no selection
9003
9004 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9005
9006         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9007         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9008
9009         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9010         Add backward compatibility to "mono", "gray" and "no".
9011
9012 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9013
9014         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9015         (and file_format >= 200).
9016
9017 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9018
9019         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9020
9021 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9022
9023         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9024
9025 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9026
9027         * BufferView_pimpl.C:
9028         * LyXAction.C:
9029         * buffer.C:
9030         * commandtags.h:
9031         * lyxfunc.C:
9032         * paragraph.[Ch]:
9033         * text2.C:
9034         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9035         inset and code to make it  work with the paragraph code. The inset
9036         can be anywhere in the paragraph, but will only do the expected
9037         thing in LaTeX if the layout file contains the parameter line
9038                         OptionalArgs    1
9039         (or more generally, a nonzero value) for that layout.
9040
9041 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9042
9043         * paragraph.h: remove the declaration of undefined counters class
9044         function.
9045
9046 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9047
9048         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9049         Dr. Richard Hawkins.
9050
9051 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9052
9053         * paragraph_funcs.h: remove some unneeded includes
9054
9055         * text.C (backspace): pasteParagraph now in global scipe
9056
9057         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9058         (pasteSelection): ditto
9059
9060         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9061         * paragraph_funcs.C (pasteParagraph): ... here
9062
9063 2002-08-20  André Pönitz <poenitz@gmx.net>
9064
9065         * commandtags.h: new LFUNs for swapping/copying table row/colums
9066
9067         * LyXAction.C:
9068         * lyxfunc.C: support for new lfuns
9069
9070 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * tabular.C:
9073         * buffer.[Ch]: remove NO_COMPABILITY stuff
9074
9075 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * boost.C (throw_exception): new file, with helper function for
9078         boost compiled without exceptions.
9079
9080         * paragraph.h:
9081         * lyxlength.C:
9082         * buffer.C:
9083         * ParameterStruct.h:
9084         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9085
9086         * bufferlist.C (emergencyWriteAll): use boost bind
9087
9088         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9089
9090         * text.C: include paragraph_funcs.h
9091         (breakParagraph): breakParagraph is now in global scope
9092
9093         * paragraph_funcs.[Ch]: new files
9094
9095         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9096         global scope
9097
9098         * buffer.C: include paragraph_funcs.h
9099         (insertStringAsLines): breakParagraph is now in global scope
9100
9101         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9102         paragraph_funcs.C
9103
9104         * CutAndPaste.C: include paragraph_funcs.h
9105         (cutSelection): breakParagraphConservative is now in global scope
9106         (pasteSelection): ditto
9107
9108         * buffer.h: declare oprator== and operator!= for
9109         Buffer::inset_iterator
9110
9111         * bufferlist.C (emergencyWrite): don't use fmt(...)
9112
9113         * text3.C: add using std::endl
9114
9115         * BufferView.C (moveCursorUpdate): remove default arg
9116
9117 2002-08-20  André Pönitz <poenitz@gmx.net>
9118
9119         * buffer.[Ch]: move inline functions to .C
9120
9121         * BufferView2.C:
9122         * BufferView_pimpl.C:
9123         * text.C:
9124         * buffer.[Ch]: use improved inset_iterator
9125
9126         * buffer.C:
9127         * paragraph.[Ch]: write one paragraph at a time
9128
9129 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9130
9131         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9132         style if style is not specified.
9133
9134 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * text2.C (setCounter): when searching for right label for a
9137         caption, make sure to recurse to parent insets (so that a caption
9138         in a minipage in a figure float works) (bug #568)
9139
9140 2002-08-20  André Pönitz <poenitz@gmx.net>
9141
9142         * text3.C: new file for LyXText::dispatch() and helpers
9143
9144         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9145
9146         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9147
9148 2002-08-19  André Pönitz <poenitz@gmx.net>
9149
9150         * lyxtext.h:
9151         * text.C: new LyXText::dispatch()
9152
9153         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9154
9155 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9156
9157         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9158
9159         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9160         Hebrew text.
9161
9162 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * Makefile.am: use $(variables) instead of @substitutions@
9165
9166 2002-08-15  André Pönitz <poenitz@gmx.net>
9167
9168         * lyxfunc.C:
9169         * BufferView_pimpl.C: streamlining mathed <-> outer world
9170         interaction
9171
9172         * commandtags.h:
9173         * LyXAction.C: remove unused LFUN_MATH
9174
9175 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9178
9179 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9180
9181         * paragraph.C (Paragraph): reformat a bit
9182         (cutIntoMinibuffer): use builtin InsetList function instad of
9183         doing it manually.
9184         (getInset): ditto
9185
9186         * buffer.C: include boost/bind.hpp, add using std::for_each
9187         (writeFileAscii): use ParagraphList iterators
9188         (validate): use for_each for validate traversal of paragraphs
9189         (getBibkeyList): use ParagraphList iterators
9190         (resizeInsets): use for_each to resizeInsetsLyXText for all
9191         paragraphs.
9192         (getParFromID): use ParagraphList iterators
9193
9194         * BufferView2.C (lockInset): use paragraph list and iterators
9195
9196 2002-08-14  John Levon  <levon@movementarian.org>
9197
9198         * lyxserver.C: remove spurious xforms include
9199
9200 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9201
9202         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9203
9204 2002-08-13  André Pönitz <poenitz@gmx.net>
9205
9206         * LyXAction.[Ch]:
9207         * lyxfunc.C: further cleaning
9208
9209 2002-08-13  André Pönitz <poenitz@gmx.net>
9210
9211         * funcrequest.h: new constructor
9212
9213         * funcrequest.C: move stuff here from .h
9214
9215         * Makefile.am:
9216         * BufferView_pimpl.C:
9217         * LyXAction.C:
9218         * toc.C:
9219         * lyxfunc.C: subsequent changes
9220
9221         * lyxfunc.h: new view() member function
9222
9223         * lyxfunc.C: subsequent changes
9224
9225 2002-08-13  Angus Leeming  <leeming@lyx.org>
9226
9227         * BufferView2.C:
9228         * BufferView_pimpl.C:
9229         * buffer.C:
9230         * converter.C:
9231         * importer.C:
9232         * lyxfunc.C:
9233         * lyxvc.C:
9234         * toc.C:
9235         * vc-backend.C:
9236         changes due to the changed LyXView interface that now returns references
9237         to member variables not pointers.
9238
9239 2002-08-13  Angus Leeming  <leeming@lyx.org>
9240
9241         * WordLangTuple (word, lang_code): return references to strings,
9242         not strings.
9243
9244         * BufferView.h:
9245         * SpellBase.h:
9246         * lyxtext.h: forward-declare WordLangTuple.
9247
9248         * BufferView2.C:
9249         * ispell.C:
9250         * pspell.C:
9251         * text.C: #include "WordLangTuple.h".
9252
9253         * lyxtext.h:
9254         * text.C: (selectNextWordToSpellcheck): constify return type.
9255
9256 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9257
9258         * buffer.C:
9259         * buffer.h:
9260         * lyxtext.h:
9261         * paragraph.C:
9262         * paragraph_pimpl.h:
9263         * text.C:
9264         * text2.C:
9265         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9266         suggested by Angus.
9267         Made updateCounter always count from start of buffer, and removed
9268         second argument (par).
9269         Reverted floats number display to '#'. Perhaps I'll try again when the
9270         code base is sanitized a bit.
9271
9272 2002-08-12  Angus Leeming  <leeming@lyx.org>
9273
9274         * buffer.[Ch] (getLabelList): constify.
9275
9276 2002-08-07  André Pönitz <poenitz@gmx.net>
9277
9278         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9279
9280         * funcrequest.h: extension to keep mouse (x,y) position
9281
9282 2002-08-12  Juergen Vigna  <jug@sad.it>
9283
9284         * BufferView2.C (insertErrors): forbid undo when inserting error
9285         insets.
9286
9287         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9288
9289 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9290
9291         * ParagraphList.[Ch]: new files
9292
9293         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9294
9295         * BufferView2.C (lockInset): ParagraphList changes
9296         * toc.C: ditto
9297         * text2.C: ditto
9298         * bufferlist.C: ditto
9299         * buffer.h: ditto
9300         * buffer.C: ditto
9301
9302 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9303
9304         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9305         unused class variable counter_,
9306
9307         * paragraph.[Ch] (getFirstCounter): delete unused function
9308
9309         * counters.C: include LAssert.h
9310         (reset): add a new function with no arg, change other version to
9311         not have def. arg and to not allow empty arg.
9312
9313         * text2.C (setCounter): remove empty arg from call to Counters::reset
9314
9315 2002-08-11  John Levon  <levon@movementarian.org>
9316
9317         * Makefile.am: add WordLangTuple.h
9318
9319 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9320
9321         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9322         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9323
9324         * insets/insettext.C: InsetList changes
9325
9326         * graphics/GraphicsSupport.C (operator()): InsetList changes
9327
9328         * toc.C (getTocList): InsetList changes
9329
9330         * paragraph_pimpl.[Ch]: InsetList changes
9331
9332         * paragraph.[Ch]: InsetList changes
9333
9334         * buffer.C (inset_iterator): InsetList changes
9335         (setParagraph): ditto
9336         * buffer.h (inset_iterator): ditto
9337         * iterators.C (operator++): ditto
9338         * iterators.h: ditto
9339
9340         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9341
9342         * InsetList.[Ch]: new files, most InsetList handling moved out of
9343         paragraph.C.
9344
9345         * BufferView2.C (removeAutoInsets): InsetList changes
9346         (lockInset): ditto
9347         (ChangeInsets): ditto
9348
9349 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9350
9351         * paragraph_pimpl.h (empty): new function
9352
9353         * paragraph.[Ch] (empty): new function
9354
9355         * other files: use the new Paragraph::empty function
9356
9357 2002-08-09  John Levon  <levon@movementarian.org>
9358
9359         * lyxtext.h: remove unused refresh_height
9360
9361 2002-08-09  John Levon  <levon@movementarian.org>
9362
9363         * Makefile.am:
9364         * sgml.h:
9365         * sgml.C:
9366         * buffer.C:
9367         * paragraph.h:
9368         * paragraph.C: move sgml char escaping out of paragraph
9369
9370         * paragraph.h:
9371         * paragraph.C: remove id setter
9372
9373         * buffer.C:
9374         * paragraph.C:
9375         * paragraph_pimpl.C: remove dead tex_code_break_column
9376
9377         * bufferview_funcs.C: small cleanup
9378
9379         * lyxfunc.C: remove dead proto
9380
9381         * lyxtext.h: make some stuff private. Remove some dead stuff.
9382
9383         * lyxgluelength.C: make as[LyX]String() readable
9384
9385 2002-08-08  John Levon  <levon@movementarian.org>
9386
9387         * LyXAction.h:
9388         * LyXAction.C:
9389         * MenuBackend.C:
9390         * ToolbarDefaults.C:
9391         * lyxfunc.C:
9392         * lyxrc.C:
9393         * toc.C: lyxaction cleanup
9394
9395 2002-08-08  John Levon  <levon@movementarian.org>
9396
9397         * BufferView2.C: small cleanup
9398
9399         * lyxfind.h:
9400         * lyxfind.C: move unnecessary header into the .C
9401
9402 2002-08-08  John Levon  <levon@movementarian.org>
9403
9404         * funcrequest.h: just tedious nonsense
9405
9406         * lyx_main.h:
9407         * lyx_main.C: cleanups
9408
9409         * buffer.C:
9410         * vspace.C: remove dead header lyx_main.h
9411
9412 2002-08-07  Angus Leeming  <leeming@lyx.org>
9413
9414         * Paragraph.[Ch]:
9415         * paragraph_pimpl.h:
9416         Forward declare class Counters in paragraph.h by moving the ctrs member
9417         variable into Paragraph::Pimpl.
9418         (counters): new method, returning a reference to pimpl_->ctrs.
9419
9420         * text2.C: ensuing changes.
9421
9422 2002-08-07  John Levon  <levon@movementarian.org>
9423
9424         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9425
9426         * BufferView_pimpl.C: announce X selection on double/triple
9427           click
9428
9429         * lyx_main.C: use correct bool in batch dispatch
9430
9431         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9432
9433 2002-08-07  André Pönitz <poenitz@gmx.net>
9434
9435         * funcrequest.h: new class to wrap a kb_action and its argument
9436
9437         * BufferView.[Ch]:
9438         * BufferView_pimpl[Ch]:
9439         * LaTeX.C:
9440         * LyXAction.[Ch]:
9441         * lyxfunc.[Ch]:
9442         * lyxrc.C: subsequent changes
9443
9444
9445 2002-08-07  John Levon  <levon@movementarian.org>
9446
9447         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9448           document options change.
9449
9450 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9451
9452         * counters.[Ch]
9453         * text2.C
9454         * paragraph.[Ch]
9455         * makefile.am: move counters functionality over from
9456         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9457
9458 2002-08-06  John Levon  <levon@movementarian.org>
9459
9460         * WordLangTuple.h: new file for word + language code tuple
9461
9462         * SpellBase.h:
9463         * pspell.h:
9464         * pspell.C:
9465         * ispell.h:
9466         * ispell.C:
9467         * lyxtext.h:
9468         * text.C:
9469         * text2.C:
9470         * BufferView.h:
9471         * BufferView2.C: use WordLangTuple
9472
9473         * layout.h:
9474         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9475
9476 2002-08-06  John Levon  <levon@movementarian.org>
9477
9478         * lyx_main.C: fix cmdline batch handling
9479
9480 2002-08-06  André Pönitz <poenitz@gmx.net>
9481
9482         * lyxrc.C: set default for show_banner to true
9483
9484 2002-08-06  John Levon  <levon@movementarian.org>
9485
9486         * pspell.C: fix a crash, and allow new aspell to work
9487
9488 2002-08-06  John Levon  <levon@movementarian.org>
9489
9490         * lyxfunc.C:
9491         * kbmap.C: small cleanup
9492
9493         * vspace.h:
9494         * vspace.C: add const
9495
9496 2002-08-05  John Levon  <levon@movementarian.org>
9497
9498         * LyXAction.C: back to tabular-insert
9499
9500 2002-08-04  John Levon  <levon@movementarian.org>
9501
9502         * BufferView.h:
9503         * BufferView.C: cosmetic change
9504
9505         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9506
9507         * bufferlist.C:
9508         * buffer.h:
9509         * buffer.C:
9510         * lyxcb.h:
9511         * lyxcb.C:
9512         * lyxserver.C:
9513         * lyxvc.C:
9514         * vc-backend.C:
9515         * BufferView2.C: purge all "Lyx" not "LyX" strings
9516
9517         * lyxcursor.h:
9518         * lyxcursor.C: attempt to add some documentation
9519
9520         * lyxfunc.C:
9521         * commandtags.h:
9522         * LyXAction.C:
9523         * ToolbarDefaults.C:
9524         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9525           merge with LFUN_TABULAR_INSERT
9526
9527         * Makefile.am:
9528         * SpellBase.h:
9529         * ispell.h:
9530         * ispell.C:
9531         * pspell.h:
9532         * pspell.C: split up i/pspell implementations into separate
9533           files, many cleanups
9534
9535         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9536
9537         * text2.C: some cleanup
9538
9539         * lyxfunc.C: don't check for isp_command == "none" any more, it
9540           didn't make any sense
9541
9542 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9543
9544         * counters.[Ch]
9545         * text2.C
9546         * paragraph.[Ch]
9547         * makefile.am: move counters functionality over
9548         from text2.C/paragraph.[Ch] to counters.[Ch], and
9549         make proper C++.
9550 2002-08-02  John Levon  <levon@movementarian.org>
9551
9552         * buffer.C: s/lyxconvert/lyx2lyx/
9553
9554 2002-08-02  Angus Leeming  <leeming@lyx.org>
9555
9556         * lyxlex.C: revert John's change as it breaks reading of the user
9557         preamble.
9558
9559 2002-08-02  Angus Leeming  <leeming@lyx.org>
9560
9561         * importer.C (Import):
9562         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9563         changes due to LyXView::view() now returning a boost::shared_ptr.
9564
9565 2002-08-02  John Levon  <levon@movementarian.org>
9566
9567         * lyxlex.C: small cleanup
9568
9569 2002-08-02  John Levon  <levon@movementarian.org>
9570
9571         * text2.C (status): small cleanup, no logic change
9572
9573 2002-08-01  John Levon  <levon@movementarian.org>
9574
9575         * buffer.h:
9576         * buffer.C (writeFile): don't output alerts, caller
9577           handles this
9578
9579         * bufferlist.C:
9580         * lyx_cb.C: from above
9581
9582         * lyxfunc.C: allow to open non-existent files
9583
9584 2002-07-31  John Levon  <levon@movementarian.org>
9585
9586         * lyxserver.C: don't let incidental errors get
9587           in the way (errno)
9588
9589 2002-07-30  John Levon  <levon@movementarian.org>
9590
9591         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9592
9593 2002-07-30  John Levon  <levon@movementarian.org>
9594
9595         * lyxserver.h:
9596         * lyxserver.C: remove I/O callback too
9597
9598 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9599
9600         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9601         log.
9602
9603 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9604
9605         * many files: strip,frontStrip -> trim,ltrim,rtrim
9606
9607 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9608
9609         * PrinterParams.h: remove extern containsOnly, and include
9610         support/lstrings.h instead.
9611
9612         * LaTeX.C (scanAuxFile): modify because of strip changes
9613         (deplog): ditto
9614         * buffer.C (makeLaTeXFile): ditto
9615         * bufferparams.C (writeFile): ditt
9616         * lyxfont.C (stateText): ditto
9617         * lyxserver.C (read_ready): ditto
9618         * vc-backend.C (scanMaster): ditto
9619
9620         * BufferView_pimpl.h: ws changes
9621
9622         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9623
9624 2002-07-26  André Pönitz <poenitz@gmx.net>
9625
9626         * kb_sequence.C: remove unnedred usings
9627
9628 2002-07-26  Juergen Vigna  <jug@sad.it>
9629
9630         * lyxfind.C (LyXReplace): we have to check better if the returned
9631         text is not of theLockingInset()->getLockingInset().
9632
9633 2002-07-25  Juergen Vigna  <jug@sad.it>
9634
9635         * lyxfind.C (LyXReplace): don't replace if we don't get the
9636         right LyXText.
9637
9638         * undo_funcs.C (createUndo): remove debugging code.
9639
9640 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * buffer.C (parseSingleLyXformat2Token): Use default placement
9643         when reading old floats.
9644
9645         * FloatList.C (FloatList): Change the default placement of figure
9646         and tables to "tbp".
9647
9648 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * MenuBackend.C: using std::max
9651
9652 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9653
9654         * MenuBackend.C (expandToc):
9655         (expandToc2): code moved from xforms menu frontend. It is now
9656         generic and TOCs are transparent to menu frontends.
9657
9658 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9659
9660         * toc.C (getTocList): protect against buf=0
9661
9662         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9663         Menu as first parameter. Now, this calls itself recursively to
9664         expand a whole tree (this will be useful for TOC handling)
9665         (expandFloatInsert): remove 'wide' version of floats
9666
9667         * MenuBackend.h (submenuname): returns the name of the submenu.
9668         (submenu): returns the submenu itself, provided it has been
9669         created by MenuBackend::expand
9670
9671 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9674         insets which have noFontChange == true. (bug #172)
9675
9676 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9677
9678         * BufferView_pimpl.C: add connection objects and use them...
9679         (Pimpl): here.
9680
9681 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9682
9683         * MenuBackend.C (expandLastfiles):
9684         (expandDocuments):
9685         (expandFormats):
9686         (expandFloatListInsert):
9687         (expandFloatInsert):
9688         (expand): split expand in parts
9689
9690 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * lyx_gui.C: use lyx_gui::exit()
9693
9694 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9695
9696         * LyXAction.C: show the failing pseudo action
9697
9698 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9699
9700         * buffer.C (readFile): Run the lyxconvert script in order to read
9701         old files.
9702
9703 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * LyXAction.C:
9706         * commandtags.h:
9707         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9708
9709 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * LyXAction.C:
9712         * commandtags.h:
9713         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9714
9715 2002-07-22  Herbert Voss  <voss@lyx.org>
9716
9717         * lengthcommon.C:
9718         * lyxlength.[Ch]: add support for the vertical lengths
9719
9720 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * toc.[Ch]: std:: fixes
9723
9724 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * lyxrc.C: do not include lyx_main.h
9727
9728         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9729         for layouts
9730
9731         * lyxrc.C:
9732         * encoding.C:
9733         * bufferlist.C:
9734         * BufferView2.C: include "lyxlex.h"
9735
9736         * tabular.h:
9737         * bufferparams.h: do not #include "lyxlex.h"
9738
9739         * lyxtextclasslist.C (Add): remove method
9740         (classlist): renamed to classlist_
9741
9742         * paragraph_pimpl.C:
9743         * paragraph.C:
9744         * text2.C:
9745         * CutAndPaste.C:
9746         * bufferview_funcs.C:
9747         * bufferlist.C:
9748         * text.C:
9749         * LaTeXFeatures.C:
9750         * buffer.C:
9751         * toc.C (getTocList): use BufferParams::getLyXTextClass
9752
9753         * toc.C (getTocList): use InsetFloat::addToToc
9754
9755         * toc.[Ch]: new files, containing helper functions to handle table
9756         of contents
9757
9758         * lyxfunc.C (dispatch): no need to remove spaces around command
9759         given as a string
9760         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9761         first command of the sequence; it is not very clever, but I do not
9762         have a better idea, actually
9763
9764         * LyXAction.C (LookupFunc): make sure to remove space at the
9765         beginning and end of the command
9766
9767 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * MenuBackend.C (getMenubar): new method: return the menubar of
9770         this menu set
9771         (read): treat differently reading of menu and menubar (in
9772         particular, the menubar has no name now)
9773         (Menu::menubar): remove
9774
9775         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9776         saving is finished
9777
9778 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9779
9780         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9781         a bibitem inset in a RTL paragraph.
9782
9783 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * paragraph_pimpl.C: constify
9786
9787         * BufferView_pimpl.C:
9788         * LaTeX.C:
9789         * lyxfunc.C: fix dispatch in a nicer way
9790
9791 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * lyxfunc.C (dispatch):
9794         * BufferView_pimpl.C:
9795         * BufferView_pimpl.h:
9796         * BufferView.C:
9797         * BufferView.h: rename Dispatch() to dispatch()
9798
9799         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9800
9801         * lyxlayout.C (Read): honor DependsOn tag
9802
9803         * lyxlayout.[Ch] (depends_on): new method
9804
9805         * version.C.in: update lyx_docversion
9806
9807         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9808
9809         * paragraph.C (validate): remove from here...
9810         * paragraph_pimpl.C (validate): ... and move here
9811         (isTextAt): make it const
9812
9813         * buffer.C (getLists): ws cleanup
9814
9815 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9816
9817         * language.C (read): Use iso8859-1 encoding in latex_lang
9818         (this prevents LyX from crashing when using iso10646-1 encoding).
9819
9820 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * text2.C (toggleInset): if cursor is inside an inset, close the
9823         inset and leave cursor _after_ it
9824
9825 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * lyxfunc.C: move minibuffer completion handling out of here
9828
9829 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * BufferView_pimpl.C:
9832         * LaTeX.C: fix dispatch calls
9833
9834 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9835
9836         * text.C (drawChars): Fix Arabic text rendering.
9837
9838 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * LyXAction.C:
9841         * commandtags.h:
9842         * lyxfunc.C: remove message-push/pop
9843
9844         * lyxserver.C:
9845         * lyxfunc.h:
9846         * lyxfunc.C: rationalise some code by removing verboseDispatch
9847           in favour of a bool argument to dispatch()
9848
9849 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * lyx_main.C (init): make sure to read symlinks as absolute paths
9852
9853 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * lyxfunc.h:
9856         * lyxfunc.C: no need for commandshortcut to be a member
9857
9858 2002-07-15  André Pönitz <poenitz@gmx.net>
9859
9860         * converter.C: add support for $$s (scripts from lib/scripts dir)
9861         * lyx_main.C: white space
9862
9863 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * bufferlist.C:
9866         * lyxrc.h:
9867         * lyxrc.C: remove second exit confirmation
9868
9869 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * BufferView.h:
9872         * BufferView.C:
9873         * BufferView2.C:
9874         * BufferView_pimpl.h:
9875         * BufferView_pimpl.C:
9876         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9877
9878 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * MenuBackend.C (expand): add numeric shortcuts to document menu
9881
9882         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9883
9884 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9885
9886         * lyxfont.C (setLyXFamily):
9887         (setLyXSeries):
9888         (setLyXShape):
9889         (setLyXSize):
9890         (setLyXMisc):
9891         (lyxRead):
9892         * debug.C (value):
9893         * buffer.C (asciiParagraph): use ascii_lowercase
9894
9895 2002-07-15  Mike Fabian  <mfabian@suse.de>
9896
9897         * lyxlex_pimpl.C (search_kw):
9898         * lyxlex.C (getLongString):
9899         * converter.h (operator<):
9900         * converter.C (operator<):
9901         * buffer.C (parseSingleLyXformat2Token):
9902         (asciiParagraph):
9903         * ToolbarDefaults.C (read):
9904         * MenuBackend.C (checkShortcuts):
9905         (read):
9906         * LColor.C (getFromGUIName):
9907         (getFromLyXName): use the compare_ascii_no_case instead of
9908         compare_no_case, because in turkish, 'i' is not the lowercase
9909         version of 'I', and thus turkish locale breaks parsing of tags.
9910
9911 2002-07-16  Angus Leeming  <leeming@lyx.org>
9912
9913         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9914         now takes a Buffer const & argument.
9915
9916 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * BufferView.C (resize): check there's a buffer to resize
9919
9920 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * lyxfunc.C: remove dead code
9923
9924         * lyxserver.h:
9925         * lyxserver.C: use lyx_guii::set_read_callback
9926
9927 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9928
9929         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9930         an inset in a RTL paragraph.
9931
9932 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * lyxfunc.C: repaint after a font size update
9935
9936 2002-07-15  André Pönitz <poenitz@gmx.net>
9937
9938         * lyxlength.C: inBP should be able to return negative values
9939
9940 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * lyxfunc.C: use lyx_gui::update_fonts()
9943
9944 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * lyxfunc.C: use lyx_gui::update_color()
9947
9948 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * bufferlist.C:
9951         * lyxfunc.h:
9952         * lyxfunc.C:
9953         * lyxrc.h:
9954         * lyxrc.C: remove file->new asks for name option, and let
9955           buffer-new take an argument
9956
9957 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView_pimpl.C: remove unneeded extra repaint()
9960
9961 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * LyXAction.C: allow command-sequence with NoBuffer
9964
9965         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9966
9967 2002-07-10  Angus Leeming  <leeming@lyx.org>
9968
9969         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9970
9971 2002-07-09  Angus Leeming  <leeming@lyx.org>
9972
9973         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9974
9975 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * lengthcommon.h: whitespace
9978
9979         * lyxfunc.C: update scrollbar after goto paragraph
9980
9981         * lyxtext.h: factor out page break drawing, and fix it so
9982           page break/added space paints as selected nicely
9983
9984 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * BufferView_pimpl.C: add FIXMEs, clean up a little
9987
9988 2002-07-09  André Pönitz <poenitz@gmx.net>
9989
9990         * lyxfont.[Ch]: support for wasy symbols
9991
9992 2002-07-08  André Pönitz <poenitz@gmx.net>
9993
9994         * BufferView_pimpl.C: apply John's patch for #93.
9995
9996 2002-07-05  Angus Leeming  <leeming@lyx.org>
9997
9998         * BufferView_pimpl.C (buffer): generate previews if desired.
9999
10000         * LColor.h: add "preview" to the color enum.
10001
10002         * LColor.C (LColor): add a corresponding entry to the items array.
10003
10004         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10005         with this buffer.
10006
10007 2002-07-05  Angus Leeming  <leeming@lyx.org>
10008
10009         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10010         The body of the code is now in the method that is passed an ostream &
10011         rather than a file name.
10012         Pass an additional only_preamble parameter, useful for the forthcoming
10013         preview stuff.
10014
10015 2002-07-03  André Pönitz <poenitz@gmx.net>
10016
10017         * lyxfunc.C: simplify getStatus() a bit for math stuff
10018
10019 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10022
10023 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10024
10025         * text.C (changeRegionCase): do not change case of all the
10026         document when region ends at paragraph end (bug #461)
10027
10028 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10029
10030         * paragraph.C (startTeXParParams):
10031         (endTeXParParams): add \protect when necessary
10032
10033 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10034
10035         * BufferView_pimpl.C (workAreaExpose): remove warning
10036
10037 2002-06-27  Angus Leeming  <leeming@lyx.org>
10038
10039         * Makefile.am: add lyxlayout_ptr_fwd.h.
10040
10041 2002-06-26  André Pönitz <poenitz@gmx.net>
10042
10043         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10044
10045 2002-06-25  Angus Leeming  <leeming@lyx.org>
10046
10047         * lyxfunc.C (dispatch): Comment out the call to
10048         grfx::GCache::changeDisplay. The method no longer exists now that the
10049         pixmap generation part of the graphics loader has been moved into
10050         InsetGraphics.
10051
10052 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10053
10054         * text2.C: layout as layout
10055
10056         * text.C: layout as layout
10057
10058         * tabular.C (OldFormatRead): layout as layout
10059
10060         * paragraph_pimpl.C (TeXDeeper): layout as layout
10061         (realizeFont): layout as layout
10062
10063         * paragraph.C (writeFile): layout as layout
10064         (validate): layout as layout
10065         (getFont): layout as layout
10066         (getLabelFont): layout as layout
10067         (getLayoutFont): layout as layout
10068         (breakParagraph): layout as layout
10069         (stripLeadingSpaces): layout as layout
10070         (getEndLabel): layout as layout
10071         (getMaxDepthAfter): layout as layout
10072         (applyLayout): layout as layout
10073         (TeXOnePar): layout as layout
10074         (simpleTeXOnePar): layout as layout
10075         (TeXEnvironment): layout as layout
10076         (layout): layout as layout
10077         (layout): layout as layout
10078
10079         * lyxtextclass.C (compare_name): new functor to work with
10080         shared_ptr, layout as layout
10081         (Read): layout as layout
10082         (hasLayout): layout as layout
10083         (operator): layout as layout
10084         (delete_layout): layout as layout
10085         (defaultLayout): layout as layout
10086
10087         * lyxlayout_ptr_fwd.h: new file
10088
10089         * lyxlayout.C (Read): layout as layout
10090
10091         * lyx_cb.C (MenuInsertLabel): layout as layout
10092
10093         * bufferlist.C (newFile): layout as layout
10094
10095         * buffer.C (readLyXformat2): layout as layout
10096         (parseSingleLyXformat2Token): layout as layout
10097         (insertStringAsLines): layout as layout
10098         (asciiParagraph): layout as layout
10099         (latexParagraphs): layout as layout
10100         (makeLinuxDocFile): layout as layout
10101         (simpleLinuxDocOnePar): layout as layout
10102         (makeDocBookFile): layout as layout
10103         (simpleDocBookOnePar): layout as layout
10104         (getLists): layout as layout
10105
10106         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10107
10108         * CutAndPaste.C (cutSelection): layout as layout
10109         (pasteSelection): layout as layout
10110         (SwitchLayoutsBetweenClasses): layout as layout
10111
10112         * BufferView_pimpl.C (Dispatch): layout as layout
10113         (smartQuote): layout as layout
10114
10115         * BufferView2.C (unlockInset): layout as layout
10116
10117 2002-06-24  André Pönitz <poenitz@gmx.net>
10118
10119         * lyxfunc.C: fix #487
10120
10121 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * lyxrc.h:
10124         * lyxrc.C:
10125         * lyxfunc.C: remove display_shortcuts, show_banner
10126
10127 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * Buffer_pimpl.C: oops, update on resize
10130
10131 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * buffer.C:
10134         * converter.C:
10135         * exporter.C:
10136         * lyxfunc.C:
10137         * BufferView.h:
10138         * BufferView.C: use repaint()
10139
10140         * BufferView_pimpl.h:
10141         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10142           as it's a clearer description. Remove superfluous
10143           redraws.
10144
10145 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * text.C: fix bug 488. Not ideal, but getting
10148           getWord() to work properly for the insets that
10149           matter is more difficult ...
10150
10151 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * BufferView_pimpl.C:
10154         * LyXAction.C:
10155         * commandtags.h:
10156         * lyxfunc.C: remove the six million index lyxfuncs to just
10157           one, and DTRT (bug 458)
10158
10159 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * BufferView.h:
10162         * BufferView.C:
10163         * BufferView_pimpl.h:
10164         * BufferView_pimpl.C: clean up resize() stuff,
10165           and unnecessary updateScreen()s
10166
10167 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10168
10169         * BufferView.h:
10170         * BufferView.C:
10171         * BufferView_pimpl.h:
10172         * BufferView_pimpl.C:
10173         * lyxfind.h:
10174         * lyxfind.C:
10175         * minibuffer.C: remove focus management of workarea,
10176           not needed. Use screen's greyOut()
10177
10178 2002-06-17  Herbert Voss  <voss@lyx.org>
10179
10180         * converter.C: (convert) do not post a message, when converting
10181         fails, let the calling function decide what to do in this case
10182
10183 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * lyxfunc.C: tidy up a little
10186
10187 2002-06-16    <alstrup@diku.dk>
10188
10189         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10190         Got rid of FORMS_H_LOCATION include. Now we are
10191         GUII.
10192
10193 2002-06-15  LyX Development team  <lyx@rilke>
10194
10195         * buffer.[Ch] (sgmlOpenTag):
10196         (sgmlCloseTag): Added support for avoiding pernicious mixed
10197         content. Return number of lines written.
10198
10199         (makeLinuxDocFile):
10200         (makeDocBookFile): Fixed calls to sgml*Tag.
10201         Simple white space clean.
10202
10203         (simpleDocBookOnePar): Simple white space clean.
10204
10205         * tabular.[Ch] (docBook): Renamed to docbook and got another
10206         argument to related with the pernicious mixed content.
10207
10208         (docbookRow): Fixed calls for docbook inset method.
10209
10210 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10211
10212         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10213         so it's X11 independent.
10214
10215         * kb*.[Ch]: ditto.
10216
10217         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10218
10219 2002-06-15  Lyx Development team  <lyx@electronia>
10220
10221         * intl.h: Renamed getTrans to getTransManager.
10222
10223 2002-06-14  Angus Leeming  <leeming@lyx.org>
10224
10225         * Makefile.am: nuke forgotten stl_string_fwd.h.
10226
10227 2002-06-12  Angus Leeming  <leeming@lyx.org>
10228
10229         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10230
10231 2002-06-13  Angus Leeming  <leeming@lyx.org>
10232
10233         * LaTeX.C:
10234         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10235
10236 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10237
10238         * kbmap.C (getiso): add support for cyrillic and greek
10239
10240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * BufferView.h:
10243         * BufferView.C:
10244         * BufferView_pimpl.h:
10245         * BufferView_pimpl.C: move bogus scrolling logic
10246           to xforms
10247
10248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * lyxfunc.C:
10251         * BufferView_pimpl.C: view->resize() change
10252
10253 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * BufferView_pimpl.C: topCursorVisible
10256           prototype change
10257
10258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * Makefile.am:
10261         * lyx_gui.h:
10262         * lyx_gui.C: move to frontends/
10263
10264         * main.C:
10265         * lyx_main.h:
10266         * lyx_main.C: changes from above
10267
10268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * intl.C:
10271         * intl.h:
10272         * kbmap.C:
10273         * kbsequence.C:
10274         * lyx_cb.C:
10275         * lyx_main.C: minor tidy
10276
10277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * BufferView_pimpl.h:
10280         * BufferView_pimpl.C:
10281         * BufferView.h:
10282         * BufferView.C: make painter() const,
10283           remove dead code
10284
10285         * BufferView2.C: use screen() accessor
10286
10287         * lyx_main.h:
10288         * lyx_main.C: some minor cleanup
10289
10290 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * BufferView_pimpl.h:
10293         * BufferView_pimpl.C: remove enter/leaveView,
10294           use workHeight()
10295
10296 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * BufferView.h:
10299         * BufferView.C:
10300         * BufferView2.C:
10301         * BufferView_pimpl.h:
10302         * BufferView_pimpl.C: only construct screen once,
10303           rename
10304
10305         * lyxrc.C: remove pointless comment
10306
10307 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10308
10309         * BufferView.h:
10310         * BufferView.C: remove active() and belowMouse()
10311
10312         * BufferView_pimpl.h:
10313         * BufferView_pimpl.C: use workarea() not workarea_,
10314           and make it use a scoped_ptr instead
10315
10316 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * lyx_gui.C: add debug message on BadWindow
10319
10320 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * sp_spell.C: fdopen is not part of the C++ standard.
10323
10324         * paragraph.C (InsetIterator): use >= instead of ==
10325
10326 2002-06-07  Angus Leeming  <leeming@lyx.org>
10327
10328         Fixes needed to compile with Compaq cxx 6.5.
10329         * BufferView_pimpl.C:
10330         * DepTable.C:
10331         * buffer.C:
10332         * converter.C:
10333         * encoding.C:
10334         * lyx_gui.C:
10335         * lyx_main.C:
10336         * lyxtextclasslist.C:
10337         * minibuffer.C:
10338         * sp_spell.C:
10339         * tabular_funcs.C:
10340         * vc-backend.C:
10341         all c-library variables have been moved into namespace std. Wrap
10342         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10343
10344         * lyxlength.C:
10345         * tabular-old.C:
10346         * tabular.C:
10347         Add a using std::abs declaration.
10348
10349         * kbmap.h (modifier_pair):
10350         * paragraph.h (InsetTable, InsetList):
10351         * lyxfont.h (FontBits):
10352         type definition made public.
10353
10354         * bufferlist.C (emergencyWriteAll): the compiler complains that
10355         there is more than one possible lyx::class_fun template to choose from.
10356         I re-named the void specialisation as lyx::void_class_fun.
10357
10358         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10359
10360         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10361         the compiler is is unable to find tostr in write_attribute.
10362
10363 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * buffer.C (sgmlError): hide #warning
10366
10367 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * xtl/*: get rid of xtl, which is not in use anyway
10370
10371         * LyXAction.C (init):
10372         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10373         were unimplemented xtl experimentation
10374
10375 2002-06-04  André Pönitz <poenitz@gmx.net>
10376
10377         * lyxfunc.C: disable array operation on simple formulae
10378
10379 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * converter.C: constify a bit
10382
10383 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * lyx_gui.C: check xforms version correctly
10386
10387 2002-04-30  Herbert Voss  <voss@lyx.org>
10388
10389         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10390         "keep" option
10391
10392 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10395           attempt to register it with a VCS)
10396
10397 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * lyx_main.C (init): honor variables LYX_DIR_13x and
10400         LYX_USERDIR_13x
10401
10402 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * buffer.h:
10405         * buffer.C:
10406         * lyx_main.C: fix a crash on bad command line,
10407           and give a useful exit status on error
10408
10409         * lyxfunc.C (doImport): allow -i lyx to work
10410
10411 2002-03-30  André Pönitz <poenitz@gmx.net>
10412
10413         * lyxfunc.C: mathed font changes
10414
10415 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * LaTeX.C:
10418         * importer.h:
10419         * importer.C:
10420         * lyx_sty.h:
10421         * lyx_sty.C:
10422         * lyxlex.C:
10423         * lyxrow.h:
10424         * lyxtext.h:
10425         * paragraph.h:
10426         * paragraph.C:
10427         * texrow.h:
10428         * texrow.C:
10429         * text.C:
10430         * trans_mgr.h: srcdocs, and some minor cleanups
10431
10432 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10435         call getFont all the time)
10436
10437 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10438
10439         * switch from SigC signals to boost::signals
10440
10441 2002-05-29  André Pönitz <poenitz@gmx.net>
10442
10443         * paragraph_pimpl.C (getChar): don't call size() too often...
10444
10445 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * paragraph_pimpl.C (insertChar): do not try to update tables when
10448         appending (pos == size())
10449
10450         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10451         in order to reduce drastically the number of comparisons needed to
10452         parse a large document
10453
10454 2002-05-29  André Pönitz <poenitz@gmx.net>
10455
10456         * text.C:
10457         * text2.C:
10458         * lyxtextclass.C:
10459         * sp_pspell.h:
10460         * textclasslist.[Ch]:
10461         * sp_ispell.h: whitespace change
10462
10463 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10466         lyxaction directly now.
10467
10468 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * trans.C:
10471         * lyxfont.C:
10472         * lyxvc.C: remove unused headers
10473
10474 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * Makefile.am:
10477         * buffer.h:
10478         * undostack.h:
10479         * undostack.C:
10480         * undo_funcs.h:
10481         * undo_funcs.C: some cleanups. Use shared_ptr
10482           and a template for the undo stacks.
10483
10484 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * BufferView_pimpl.h:
10487         * BufferView_pimpl.C:
10488         * kbmap.h:
10489         * kbmap.C:
10490         * kbsequence.h:
10491         * kbsequence.C:
10492         * lyxfunc.h:
10493         * lyxfunc.C:
10494         * text2.C: use key_state/mouse_state
10495
10496 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10497
10498         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10499         and LSubstring
10500
10501         * chset.C: change include order
10502         (loadFile): use boost regex and get rid of LRegex and LSubstring
10503
10504         * Makefile.am (BOOST_LIBS): new variable
10505         (lyx_LDADD): use it
10506
10507         * LaTeX.C: change include order.
10508         (scanAuxFile): use boost regex and get rid of LRegex and
10509         LSubstring
10510         (deplog): ditto
10511
10512 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * ColorHandler.h:
10515         * ColorHandler.C:
10516         * FontInfo.h:
10517         * FontInfo.C: moved to frontends/xforms/
10518
10519         * FontLoader.h:
10520         * FontLoader.C: moved into frontends for GUIIzation
10521
10522         * Makefile.am:
10523         * lyx_gui.C:
10524         * lyxfont.C:
10525         * lyxfunc.C: changes from above
10526
10527 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * LColor.C: remove spurious X include
10530
10531         * BufferView_pimpl.C:
10532         * Makefile.am:
10533         * font.h:
10534         * font.C:
10535         * text.C:
10536         * text2.C: move font metrics to frontends/
10537
10538 2002-05-24  Juergen Vigna  <jug@sad.it>
10539
10540         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10541         setting the undo_cursor.
10542
10543         * ParagraphParameters.h: include local includes first.
10544
10545 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * BufferView_pimpl.C:
10548         * BufferView_pimpl.h:
10549         * Makefile.am:
10550         * WorkArea.h:
10551         * WorkArea.C:
10552         * screen.C: move WorkArea into frontends/
10553
10554         * lyxscreen.h:
10555         * screen.C:
10556         * text.C:
10557         * BufferView.C:
10558         * BufferView2.C: move LyXScreen into frontends/
10559
10560         * lyxlookup.h:
10561         * lyxlookup.C:
10562         * lyx_gui.C: move lyxlookup into frontends/xforms/
10563
10564 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * BufferView2.C:
10567         * BufferView_pimpl.C:
10568         * FontLoader.C:
10569         * LyXView.h:
10570         * LyXView.C:
10571         * Makefile.am:
10572         * WorkArea.C:
10573         * XFormsView.h:
10574         * XFormsView.C:
10575         * buffer.C:
10576         * bufferlist.C:
10577         * bufferview_funcs.C:
10578         * converter.C:
10579         * importer.C:
10580         * lyx_cb.C:
10581         * lyx_gui.C:
10582         * lyx_main.C:
10583         * lyx_find.C:
10584         * lyxfunc.C:
10585         * lyxvc.C:
10586         * minibuffer.C:
10587         * text.C:
10588         * text2.C:
10589         * trans.C:
10590         * vc-backend.C: move LyX/XFormsView into frontends/
10591
10592 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * Makefile.am:
10595         * PainterBase.C:
10596         * PainterBase.h:
10597         * Painter.C:
10598         * Painter.h:
10599         * WorkArea.C:
10600         * WorkArea.h:
10601         * screen.C:
10602         * tabular.C:
10603         * text.C:
10604         * text2.C: move Painter to frontends/
10605
10606 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10607
10608         * buffer.C: comment out some some code that depend upon lyx_format
10609         < 220
10610
10611         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10612         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10613
10614         * buffer.h (NO_COMPABILITY): turn off compability
10615
10616         * ColorHandler.C: include scoped_array.hpp
10617
10618         * font.C: Use more specific smart_ptr header.
10619         * Painter.C: ditto
10620         * gettext.C: ditto
10621         * ShareContainer.h: ditto
10622         * lyx_main.h: ditto
10623         * kbmap.h: ditto
10624         * FontInfo.h: ditto
10625         * BufferView_pimpl.h: ditto
10626         * ColorHandler.h: ditto
10627
10628         * kbmap.C (defkey): change call to shared_ptr::reset
10629
10630 2002-05-21  Juergen Vigna  <jug@sad.it>
10631
10632         * buffer.C (insertErtContents): fix to insert ert asis if it is
10633         non empty. Skip it completely if it contains only whitespaces.
10634
10635 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * BufferView_pimpl.C:
10638         * BufferView2.C: clear selection on paste (bug 393)
10639
10640 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * DepTable.C: include ctime
10643
10644 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10645
10646         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10647
10648 2002-05-14  Juergen Vigna  <jug@sad.it>
10649
10650         * text.C (breakParagraph): fixed function to honor the keepempty
10651         layout in the right maner and also to permit the right breaking
10652         algorithm on empty or non empyt keepempty paragraphs.
10653
10654         * paragraph.C (breakParagraph): we have to check also if the par
10655         is really empty (!size()) for isempty otherwise we do the wrong
10656         paragraph break.
10657
10658 2002-05-10  Juergen Vigna  <jug@sad.it>
10659
10660         * buffer.[Ch] : The following are only changes to the ert
10661         compatibility read reading old LaTeX layout and font stuff and
10662         convert it to ERTInsets.
10663
10664         * buffer.h: added isErtInset().
10665
10666         * buffer.C (struct ErtComp): add a fromlayout bool to check
10667         if we're inside a LaTeX layout.
10668         (isErtInset): new helper function.
10669         (insertErtContents): look for other ert insets before this one
10670         and insert the contents there, so that we don't have subsequent
10671         ERT insets with nothing between them. This way we create only one
10672         inset with multiple paragraphs. Also check if we don't insert only
10673         spaces ' ' as they are ignored anyway afterwards in the .tex file
10674         so if we have only spaces we will ignore this latex part in the
10675         new file.
10676         (parseSingleLyXformat2Token \\layout): better compatibility when
10677         reading layout-latex stuff.
10678         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10679         language tag.
10680         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10681         stuff after reading the inset only get the information back from
10682         the stack.
10683
10684 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10687
10688         * LaTeXFeatures.C (getBabelOptions): New method.
10689
10690 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * BufferView_pimpl.C (Dispatch): work around missing argument for
10693         'layout'
10694
10695 2002-05-08  Juergen Vigna  <jug@sad.it>
10696
10697         * text.C (leftMargin): handle paragraph leftindent.
10698
10699         * paragraph.C (writeFile): write the new \\leftindent tag.
10700         (validate): handle leftindent code.
10701         (TeXEnvironment): handle paragraphleftindent code again.
10702
10703         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10704
10705         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10706         for paragrap_extra indent code and new token \\leftindent.
10707         (latexParagraphs): handle the leftindent as environment.
10708
10709         * ParameterStruct.h: added leftindent support.
10710
10711         * ParagraphParameters.C (leftIndent): added support functions for
10712         the paragraph left indent.
10713
10714         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10715         more appropriate.
10716
10717 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10720         inside insetERT.
10721
10722         * text.C (computeBidiTables): No bidi in insetERT.
10723
10724         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10725         in RTL documents.
10726
10727 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * version.C.in: pre 5
10730
10731 2002-05-02  José Matos  <jamatos@fep.up.pt>
10732         * buffer.C (makeDocBookFile): white space changes, add newline to
10733         command styles.
10734         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10735
10736         * tabular.C (docBook): fix typo.
10737
10738 2002-05-03  Juergen Vigna  <jug@sad.it>
10739
10740         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10741         change in LyXText as we can not be sure it was not freed.
10742         (drawOneRow): remove unused code.
10743
10744         * text.C (drawInset): redo the calculation of the need_break_row as
10745         it could have a row which was already freed.
10746         (draw): look at the return value of drawInset and return false if
10747         it also returned false.
10748         (paintRowText): look at the return value of draw and return false if
10749         it also returned false.
10750
10751         * lyxtext.h: added bool return type to drawInset() and draw() so that
10752         if we have a change in the row so that the rowbreak has to be redone
10753         we abort drawing as it will be called again.
10754
10755 2002-05-02  Juergen Vigna  <jug@sad.it>
10756
10757         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10758         a change in the maintext also if we're inside an inset.
10759         (Dispatch): set the cursor again after a break line and after the
10760         screen has been updated as it could be we're in a different row.
10761
10762         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10763         to set the cursor behind the pargraph with > size().
10764         (setCursor): check also for the same paragraph when checking where
10765         to put the cursor if we have a NFR inset.
10766
10767         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10768         parts of layout read further up as it still was in the wrong
10769         position.
10770
10771 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10772
10773         * screen.C (drawFromTo): change sine fullRebreak always return
10774         true.
10775
10776         * buffer.C (parseSingleLyXformat2Token): reindent some
10777
10778         * BufferView_pimpl.C (update): change since fullRebreak always
10779         return true.
10780         (Dispatch): git rid of the last hardcoded "Standard"s.
10781
10782 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10783
10784         * text2.[Ch] (fullRebreak): make it return void now that we always
10785         returned true.
10786
10787 2002-04-30  Juergen Vigna  <jug@sad.it>
10788
10789         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10790         ert compatibility check for "latex" layout.
10791
10792 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10793
10794         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10795         minipages: use col% instead of p%, and also use the current font.
10796         (makeLaTeXFile): Fix use babel condition.
10797         (parseSingleLyXformat2Token): Correct font when reading old floats.
10798
10799 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10802         inserting list of floats.
10803
10804 2002-04-25  Herbert Voss  <voss@lyx.org>
10805
10806         * MenuBackend.C (expand): don't add the graphics extensions to the
10807         export menu
10808
10809 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10810
10811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10812         non-existing layout, do not complain if it was the default layout
10813         of the original class (bug #342)
10814
10815 2002-04-24  Juergen Vigna  <jug@sad.it>
10816
10817         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10818         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10819
10820 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10821
10822         * buffer.C (getBibkeyList): If using \bibliography, return the
10823         option field with the reference itself. Enables us to provide natbib
10824         support when using \bibliography.
10825
10826 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10827
10828         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10829
10830         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10831         natbib is provided by the LaTeX class.
10832
10833 2002-04-23  Juergen Vigna  <jug@sad.it>
10834
10835         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10836         Wakeup functions.
10837
10838         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10839
10840 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10841
10842         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10843
10844         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10845         ensuremath around textordmasculine, textordfeminine and
10846         textdegree.
10847
10848 2002-04-19  Juergen Vigna  <jug@sad.it>
10849
10850         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10851         reinitializing the buffer otherwise row-dimensions may be wrong.
10852         (update): reset also the selection cursors if they do exits otherwise
10853         their x/y positions may be wrong.
10854
10855         * text2.C (cursorDown): don't enter the inset if we came from a row
10856         above and are one row over the inset.
10857
10858         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10859         really leaving an inset.
10860
10861 2002-04-18  Juergen Vigna  <jug@sad.it>
10862
10863         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10864         of the selected paragraph does not have the selected layout also if
10865         the last one had!
10866
10867         * text2.C (setLayout): fixed bug which did not change last selected
10868         paragraph.
10869
10870         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10871         changed the read and substituted \\end_float with \\end_inset!
10872
10873         * BufferView_pimpl.C (cursorPrevious):
10874         (cursorNext): fixed to make it work with rows heigher than the work
10875         area without moving the cursor only the draw of the row.
10876         (workAreaMotionNotify): fix jumping over high rows.
10877
10878 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10881         Ressler.
10882
10883 2002-04-16  Juergen Vigna  <jug@sad.it>
10884
10885         * text2.C (setCursor): set also the irow().
10886         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10887         (cursorUp):
10888         (cursorDown): support for locking an inset if the x_fix value goes
10889         inside it. That way I can transverse insets too with cursor up/down.
10890
10891         * lyxrow.h: added irow helper function same as other (i) functions.
10892
10893         * BufferView_pimpl.C (cursorPrevious):
10894         (cursorNext): fixed for insets!
10895
10896 2002-04-15  Juergen Vigna  <jug@sad.it>
10897
10898         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10899         position otherwise it is wrong in some cases.
10900
10901         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10902         inside the inset before the call.
10903
10904 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10905
10906         * buffer.[Ch] (getBibkeyList): make it const.
10907
10908 2002-04-12  Juergen Vigna  <jug@sad.it>
10909
10910         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10911
10912         * text2.C (getCursorX): new helper function
10913         (setCursor): compute also ix_
10914         (setCursorFromCoordinates): set also ix.
10915
10916         * lyxcursor.h: added ix_ and helper functions.
10917
10918         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10919
10920         * buffer.C (insertStringAsLines): dont break paragraph if the this
10921         paragraph is inside an inset which does not permit it!
10922
10923         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10924         also with no chars on this paragraph.
10925         (paintRowText): only paint stuff if it's inside the workarea!
10926
10927         * paragraph.C (breakParagraph): honor keepempty flag and break the
10928         paragraph always below not above.
10929
10930         * BufferView2.C (unlockInset): update the paragraph layout on inset
10931         unlock as we changed paragraph in such a case.
10932
10933         * lyxfind.C (LyXFind): clear the former selection if not found!
10934
10935         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10936         again called in insertChar().
10937
10938         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10939         an inset which uses the whole row!
10940         (rightMargin): ditto.
10941         (insertChar): force a rebreak if we inserted an inset!
10942
10943 2002-03-28  Herbert Voss  <voss@lyx.org>
10944
10945         * lyxlength.[Ch]: add inBP() to get the right PS-point
10946         units (BigPoint). With inPixels we have rounding errors
10947
10948 2002-04-11  Juergen Vigna  <jug@sad.it>
10949
10950         * text2.C (setCursorFromCoordinates): set iy to the right value.
10951         (setCursor): add check if row->previous exists!
10952
10953         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10954         an old float_type as this was the case in the old code!
10955
10956         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10957
10958         * BufferView2.C (showLockedInsetCursor): use iy
10959         (fitLockedInsetCursor): ditto
10960
10961         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10962         locked insets as there we have the right value now.
10963
10964         * lyxcursor.C: added iy_ variable and iy functions to set to the
10965         baseline of cursor-y of the locked inset.
10966
10967         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10968         (setCursor): fixed for insets which need a full row.
10969
10970         * text.C (rowLastPrintable): don't ignore the last space when before
10971         an inset which needs a full row.
10972         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10973         as last character of a row when before a inset which needs a full row.
10974
10975 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * version.C.in: update date
10978
10979         * text2.C (fullRebreak): try to always return true and see what
10980         happens...
10981
10982 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * MenuBackend.C (expand): use Floating::listName
10985
10986         * FloatList.C (FloatList): add listName argument to the built-in
10987         floats
10988
10989         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10990         text associated with the float.
10991
10992 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10993
10994         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10995
10996 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * ShareContainer.h: add a couple of missing typenames.
10999
11000 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * lyxrc.C (getDescription): use _() correctly rather than N_().
11003
11004 2002-03-28  Herbert Voss  <voss@lyx.org>
11005
11006         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11007         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11008
11009 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11012         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11013
11014 2002-03-29  Juergen Vigna  <jug@sad.it>
11015
11016         * lyxfunc.C (dispatch): add a missing fitCursor call.
11017
11018         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11019         it was scrolled by a cursor move, so return the bool status.
11020
11021         * BufferView.C (fitCursor): return the bool flag also to the outside
11022         world as this is needed.
11023
11024         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11025
11026         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11027         call the edit() as it is not needed (and wrong) IMO.
11028         (workAreaButtonPress): set the screen_first variable before evt.
11029         unlock the inset as this may change screen_first and then we have
11030         a wrong y position for the click!
11031
11032 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * MenuBackend.C (expand): another translation that I missed
11035
11036 2002-03-28  Juergen Vigna  <jug@sad.it>
11037
11038         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11039
11040         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11041
11042 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11045
11046         * MenuBackend.C (expand): fix export/view/update when there is no
11047         document open.
11048
11049 2002-03-27  Herbert Voss  <voss@lyx.org>
11050
11051         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11052         and text%
11053
11054 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * bufferview_funcs.C (currentState): only show paragraph number
11057         for is DEVEL_VERSION is set.
11058
11059         * lyxfunc.C (dispatch): put warning in INFO channel
11060
11061         * MenuBackend.C (expand): translate the name of floats
11062
11063         * FloatList.C (FloatList): mark the float names for translation
11064
11065         * converter.C (convert): use LibScriptSearch
11066
11067 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * MenuBackend.C (defaults): fix default menu (we might as well get
11070         rid of it...)
11071
11072 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11075         directory.
11076
11077 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11078
11079         * lyxvc.C: reorder includes.
11080
11081 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11084           properly
11085
11086 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * CutAndPaste.C: change layouts earlier on paste
11089           to avoid crashing when calling getFont()
11090
11091 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11092
11093         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11094         irritating #error.
11095
11096 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11097
11098         * WorkArea.C: remove 'Pending' debug message.
11099
11100         * most files: ws cleanup
11101
11102         * buffer.[Ch]: ws changes
11103
11104         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11105
11106 2002-03-21  Juergen Vigna  <jug@sad.it>
11107
11108         * tabular.C (SetMultiColumn): collapse also the contents of the
11109         cells and set the last border right. Added a Buffer const * param.
11110
11111 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11114         linking or not.
11115
11116 2002-03-19  Juergen Vigna  <jug@sad.it>
11117
11118         * text2.C (clearSelection): reset also xsel_cache.
11119
11120         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11121         where it needs to be called (John tells us to do so too :)
11122         (selectionLost): reset sel_cache.
11123
11124         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11125
11126 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * text2.C (setCursorIntern): put debuging code in INSETS channel
11129
11130 2002-03-19  André Pönitz <poenitz@gmx.net>
11131
11132         * lyxfunc.C: tiny whitespace change
11133
11134 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * ToolbarDefaults.C (init):
11137         * LyXAction.C (init):
11138         * commandtags.h:
11139         * BufferView_pimpl.C (Dispatch):
11140         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11141
11142 2002-03-19  Allan Rae  <rae@lyx.org>
11143
11144         * exporter.C (Export): removeAutoInsets before doing anything else.
11145         While I've just introduced a dependency on BufferView this really is
11146         the best place to clean the buffer otherwise you need to cleanup in
11147         a dozen places before calling export or cleanup in a dozen functions
11148         that export calls.
11149
11150         * converter.C (runLaTeX):
11151         (scanLog): Better handling of removeAutoInsets and screen updates.
11152
11153         * lyxfunc.C (dispatch): small whitespace changes
11154
11155 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11156
11157         * WorkArea.C (C_WorkAreaEvent): return a value.
11158         (event_cb): return 1 if we handled the event, 0 otherwise.
11159
11160         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11161
11162 2002-03-18  Juergen Vigna  <jug@sad.it>
11163
11164         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11165         (GetAdditionalWidth): ditto.
11166         (RightLine): ditto.
11167         (LeftLine): ditto.
11168
11169         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11170         inset if we're there actually (probably not used right now but this
11171         is the direction to go for unifying code).
11172         (paste): disable code to clear the selection.
11173
11174         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11175         inside an InsetText and move the check further up as it is in the
11176         wrong place.
11177
11178         * text2.C (pasteSelection): set a selection over the pasted text.
11179
11180 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11181
11182         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11183         and libgraphics to build on Cygwin.
11184
11185 2002-03-15  Juergen Vigna  <jug@sad.it>
11186
11187         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11188         inserting an Inset into the paragraph. I know this is not the best
11189         fix but we already use current_view in CutAndPaste so we will remove
11190         all of it's using at the same time.
11191
11192         * buffer.C (sgmlError): deactivated function till it is rewritten in
11193         the right mode, now it can create problems.
11194
11195         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11196         before accessing it.
11197
11198 2002-03-14  Juergen Vigna  <jug@sad.it>
11199
11200         * undo_funcs.C (textHandleUndo): do the right thing when updating
11201         the inset after the undo/redo.
11202
11203         * text2.C (setCursor): just some testcode for #44 not ready yet.
11204
11205         * undo_funcs.C (textHandleUndo): set the next() and previous()
11206         pointers of the paragraph to 0 before deleting otherwise we have
11207         problems with the Paragraph::[destructor].
11208
11209         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11210         on a paragraph insertion.
11211
11212 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * buffer.C (asciiParagraph): use += operator for char append to
11215         string.
11216
11217         * paragraph.C (getFontSettings): compare >= not just >
11218         (highestFontInRange): ditto
11219         (setFont): ditto
11220
11221 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * paragraph.C: change several algorithm to be more appripriate for
11224         the problem domain. This is lookip in FontList and in the InsetList.
11225
11226 2002-03-13  André Pönitz <poenitz@gmx.net>
11227
11228         * commandtags.h:
11229         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11230
11231 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * commandtags.h:
11234         * LyXAction.C:
11235         * lyxfunc.C:
11236         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11237
11238 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * Painter.C (display): anon helper function, adjust code for this
11241         change.
11242         (pixmap): remove function.
11243
11244         * Painter.h: remove private display variable.
11245
11246         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11247
11248 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11249
11250         * WorkArea.[Ch]: remove figinset_canvas cruft.
11251
11252 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11253
11254         * lyxtextclass.C (operator): add one item cache optimization.
11255
11256         * bufferlist.h: doxy changes
11257
11258         * bufferlist.C: ws changes
11259
11260         * DepTable.[Ch] (ext_exist): place const in the right spot.
11261
11262         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11263         call resizeInsets.
11264         (workAreaExpose): call resizeInsets when the with BufferView changes.
11265         (Dispatch): adjust for protectedBlank removal
11266         (specialChar): call updateInset if the insert went ok.
11267
11268         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11269         specialChar instead.
11270
11271         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11272
11273         * BufferView.h: doxy change
11274
11275         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11276
11277         * lyxtextclass.C (operator[]): remove non-const version
11278         (defaultLayout): remove non-const version
11279
11280 2002-03-12  Juergen Vigna  <jug@sad.it>
11281
11282         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11283         did resize the LyXText too.
11284
11285         * buffer.C (readLyXformat2): set layout information on newly allocated
11286         paragraphs.
11287
11288         * tabular.C (OldFormatRead): set layout information on the paragraph.
11289
11290 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11291
11292         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11293
11294 2002-03-11  Juergen Vigna  <jug@sad.it>
11295
11296         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11297         plainly wrong.
11298         (resizeCurrentBuffer): force also the insets to resize themselfes.
11299         (moveCursorUpdate): fixed up for InsetText.
11300
11301 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * commandtags.h:
11304         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11305         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11306         value of Dialogs::tooltipsEnabled().
11307         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11308
11309 2002-03-08  Juergen Vigna  <jug@sad.it>
11310
11311         * BufferView_pimpl.C (updateInset): update inset inside inset also
11312         if it isn't inside theLockingInset().
11313
11314 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * buffer.C (asciiParagraph): redo some of the word and line length
11317         handling.
11318         (getLists): look for Caption instead of caption.
11319
11320 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * buffer.C (Buffer): initialize niceFile to true
11323         (makeLaTeXFile):
11324         (makeLinuxDocFile):
11325         (makeDocBookFile): make sure niceFile is true on exit
11326
11327 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11330
11331 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11332
11333         * LyXSendto.C: remove.
11334         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11335         * lyx_gui.C: remove now-redundant comment.
11336         * ColorHandler.h: remove forward declaration of class WorkArea.
11337         * lyxfunc.C: remove #include "WorkArea.h".
11338
11339 2002-03-07  Juergen Vigna  <jug@sad.it>
11340
11341         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11342         got moved away with the DEPM and also set the inset_owner always
11343         right which before could have been omitted.
11344
11345 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11348         wanted layout is not found.
11349
11350 2002-03-07  Juergen Vigna  <jug@sad.it>
11351
11352         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11353
11354 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * paragraph.C (breakParagraph): use default layout not layout of
11357         prev paragraph.
11358         (Paragraph): clear ParagraphParameters.
11359
11360 2002-03-06  Juergen Vigna  <jug@sad.it>
11361
11362         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11363         otherwise it would not be a valid lenght. Fixed a special case in
11364         the minipage compatibility read where we end the document with a
11365         minipage.
11366
11367         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11368         was set as it could be 0 for InsetTexts first entry.
11369
11370 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * paragraph.C (writeFile): if layout is empty write out
11373         defaultLayoutName().
11374
11375         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11376         file without named layout we set layout to defaultLayoutName().
11377
11378 2002-03-06  Juergen Vigna  <jug@sad.it>
11379
11380         * CutAndPaste.C (copySelection): set layout for new paragraph.
11381
11382         * text.C (prepareToPrint): leave ERT inset left aligned
11383         (leftMargin): don't indent paragraphs inside ERT insets
11384
11385 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * paragraph.C (breakParagraph): dont call clear do the work manually
11388
11389         * paragraph.[Ch] (clear): remove function
11390
11391 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * paragraph.C (Paragraph): dont call clear, the work has already
11394         been done.
11395
11396         * lyxtextclass.C (operator): assert if n is empty
11397
11398         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11399         work manually instead.
11400
11401 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * BufferView_pimpl.C: protect selectionLost against text == 0
11404
11405 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * text.C (breakParagraph): fix a setting layout to '0' problem.
11408
11409 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11410
11411         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11412         final location of file, for the included files, and graphics.
11413
11414 2002-03-05  Juergen Vigna  <jug@sad.it>
11415
11416         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11417
11418 2002-03-04  Juergen Vigna  <jug@sad.it>
11419
11420         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11421
11422         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11423         last column of multicolumn cells.
11424         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11425
11426 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11427
11428         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11429         file if it doesn't go to a temporary file.
11430
11431         * buffer.C (sgmlOpenTag):
11432         (sgmlCloseTag):  remove extra newline insertion.
11433
11434 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * text.C (getRowNearY): comment out debug msg
11437
11438 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * text2.C: first -> first_y
11441
11442         * text.C (getRowNearY): add some attemts at a possible
11443         optimization, not working.
11444
11445         * tabular.[Ch]: add BufferParams to several function so that newly
11446         created paragraph can be initialized to he default layotu for the
11447         buffers textclass.
11448
11449         * tabular-old.C (ReadOld): add buf->params to call of Init
11450
11451         * screen.C: rename text->first to text->first_y
11452
11453         * paragraph.C (breakParagraph): always set layout in the broken
11454         paragraph
11455
11456         * lyxtextclass.C (Read): remove lowercase
11457         (hasLayout): ditto
11458         (operator): ditto
11459         (delete_layout): ditto
11460
11461         * lyxtext.h: rename first -> first_y
11462
11463         * lyxlayout.C (Read): remove lowercase
11464         (name): ditto
11465         (setName): ditto
11466         (obsoleted_by): ditto
11467
11468         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11469
11470         * buffer.C (insertErtContents): add params are to InsetERT
11471         (parseSingleLyXformat2Token): add code to check if a paragraphs
11472         layout really exist.
11473         (parseSingleLyXformat2Token): add params to several inset
11474         constructors
11475         (asciiParagraph): remove lowercase, do the layout comparisons with
11476         no_case
11477
11478         * BufferView_pimpl.C (cursorNext): first -> first_y
11479         (resizeCurrentBuffer): first -> first_y
11480         (updateScrollbar): first -> first_y
11481         (scrollCB): first -> first_y
11482         (workAreaMotionNotify): first -> first_y
11483         (workAreaButtonPress): first -> first_y
11484         (checkInsetHit): first -> first_y
11485         (cursorPrevious): first -> first_y
11486         (cursorNext): first -> first_y
11487         (Dispatch): add buffer_->params to severl inset contructors
11488
11489 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * lyxlayout.C (Read): remove some debug info that I forgot.
11492
11493         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11494         clean up the code slightly.
11495         (makeLinuxDocFile): ditto
11496         (makeDocBookFile): ditto
11497
11498         * text2.C: layout as string
11499
11500         * text.C: layout as string
11501
11502         * paragraph_pimpl.C: layout as string
11503
11504         * paragraph.[Ch]: layout as string
11505
11506         * lyxtextclasslist.[Ch]: layout as string
11507
11508         * lyxtextclass.[Ch]: layout as string
11509
11510         * lyxtext.h: layout as string
11511
11512         * lyxlayout.[Ch]: layout as string
11513
11514         * lyx_cb.C: layout as string
11515
11516         * bufferview_funcs.C: layout as string
11517
11518         * bufferparams.C: layout as string
11519
11520         * buffer.C: layout as string
11521
11522         * LyXView.[Ch]: layout as string
11523
11524         * LaTeXFeatures.[Ch]: layout as string
11525
11526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11527
11528         * BufferView_pimpl.C: change current_layout to string, remove
11529         lyx::layout_type.
11530         (Dispatch):
11531         (smartQuote):
11532         (insertInset):
11533         (workAreaButtonRelease): layout as string
11534
11535         * BufferView2.C (unlockInset): adjust
11536
11537         * vspace.C (asLatexCommand): use an explict temp variable.
11538
11539 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * Makefile.am: use FRONTEND_*
11542
11543 2002-03-01  Juergen Vigna  <jug@sad.it>
11544
11545         * tabular.C (SetWidthOfMulticolCell): changed to something better
11546         I hope but still work in progress.
11547         (recalculateMulticolumnsOfColumn): renamed function from
11548         recalculateMulticolCells as it is more appropriate now.
11549         (SetWidthOfCell): calculate multicols better.
11550
11551 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11552
11553         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11554
11555         * lyxfunc.C (processKeySym): print sequence also if it is
11556         `deleted' (complete)
11557
11558         * kbsequence.C (print): print sequence even if it is deleted
11559         (complete would be a better word, actually).
11560
11561         * lyxfunc.C (dispatch): print complete options after a prefix key
11562
11563         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11564
11565 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11566
11567         * text2.C (setCharFont): eliminate setCharFont code duplication.
11568
11569 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11570
11571         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11572         LFUN_TABULAR_FEATURE (bug #177)
11573
11574 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11575
11576         * Makefile.am: remove figure.h
11577
11578 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11579
11580         * Bufferview_pimpl.C:
11581         * CutAndPasteC:
11582         * LaTeX.C:
11583         * LyXSendto.C:
11584         * buffer.C:
11585         * bufferlist.C:
11586         * converter.C:
11587         * language.C:
11588         * lyxfunc.C:
11589         * lyxvc.C:
11590         * paragraph.C:
11591         * text.C:
11592         * text2.C: remove #include "lyx_gui_misc.h".
11593
11594         * LaTeX.C: added #include <cstdio>
11595
11596 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11599         that the paragraph following this one can have.
11600
11601         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11602
11603         * vspace.C (asLatexCommand): fix bogus gcc warning
11604
11605         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11606
11607 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11608
11609         * text2.C (setLayout): get rid of redundant code
11610
11611 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11612
11613         * text2.C (incDepth): make sure depth cannot be increased beyond
11614         reasonable values.
11615
11616 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11617
11618         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11619         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11620
11621         * PainterBase.h (image):
11622         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11623         a LyXImage const *.
11624
11625 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * BufferView.C:
11628         * BufferView.h:
11629         * BufferView_pimpl.C:
11630         * BufferView_pimpl.h:
11631         * LaTeXFeatures.C:
11632         * LyXAction.C:
11633         * LyXView.C:
11634         * Makefile.am:
11635         * UpdateList.h:
11636         * UpdateList.C:
11637         * buffer.C:
11638         * figure.h:
11639         * figureForm.C:
11640         * figureForm.h:
11641         * figure_form.C:
11642         * figure_form.h:
11643         * lyx_cb.C:
11644         * lyx_gui.C:
11645         * lyx_gui_misc.C:
11646         * lyxfunc.C:
11647         * sp_base.h:
11648         * sp_ispell.h:
11649         * sp_pspell.h:
11650         * sp_spell.C: remove fig inset, and the crap house of
11651           cards that follows it
11652
11653 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * Makefile.am:
11656         * lyxserver.C:
11657         * os2_defines.h:
11658         * os2_errortable.h:
11659         * nt_defines.h: move .h into support/
11660
11661         * vms_defines.h: remove
11662
11663         * WorkArea.C: add space in debug output
11664
11665         * text2.C:
11666         * paragraph.C:
11667         * buffer.C: add WITH_WARNINGS
11668
11669         * vc-backend.h:
11670         * vc-backend.C:
11671         * bufferlist.C: s/retrive/retrieve/, add docs
11672
11673         * vspace.h:
11674         * vspace.C:
11675         * kbmap.h:
11676         * lyxlength.h:
11677         * lyxgluelength.h:
11678         * length_common.h:
11679         * chset.h:
11680         * chset.C: add docs
11681
11682         * lyxgui.C: add ID to X error handler
11683
11684         * lyxtestclass.c: fix typo
11685
11686 2002-02-26  Juergen Vigna  <jug@sad.it>
11687
11688         * tabular_funcs.C (write_attribute): changed so that some default
11689         attributes are not written at all.
11690         (getTokenValue): set default values before trying to read the
11691         value so we have the return value always set as default if we don't
11692         find the token we search for.
11693
11694         * tabular.C (Write): write bools as bools not as strings!
11695
11696 2002-02-22  Juergen Vigna  <jug@sad.it>
11697
11698         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11699         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11700
11701         * text.C (leftMargin): don't add an indent for paragraphs inside
11702         tabular cells (fix #208).
11703
11704 2002-02-21  José Matos  <jamatos@fep.up.pt>
11705
11706         * tabular.C (docBook): fixed support for long tables.
11707
11708 2002-02-20  Juergen Vigna  <jug@sad.it>
11709
11710         * text2.C (getFont): get the drawing font of the Inset if this
11711         paragraph is inside an inset (only important for InsetERT for now).
11712
11713         * buffer.C (insertErtContents): use new lanugage params in ERT
11714         constructor.
11715
11716         * CutAndPaste.C: commenting out seemingly uneeded code.
11717
11718 2002-02-19  Allan Rae  <rae@lyx.org>
11719
11720         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11721         Iterators might be simple to use but they also get invalidated.
11722         (removeAutoInsets): renamed saved cursor tracking variables and added
11723         some comments to clarify what everything does.
11724
11725 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11726
11727         * Chktex.C:
11728         * LaTeX.C:
11729         * LyXSendto.C:
11730         * converter.C:
11731         * lyx_cb.C:
11732         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11733         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11734
11735         * lyxfunc.C:
11736         * vc-backend.h: remove #include "support/syscall.h"
11737
11738         * LaTeX.C:
11739         * LyXSendto.C:
11740         * converter.C: rearrange #includes in Lars' approved fashion.
11741
11742         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11743         forward declare class Timeout in the header file.
11744
11745         * XFormsView.C: changes due to the above.
11746
11747         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11748         similar to LyXView.
11749
11750         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11751         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11752
11753 2002-02-18  José Matos  <jamatos@fep.up.pt>
11754
11755         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11756         insets contents.
11757
11758 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11759
11760         * a lot of small ws changes
11761         * add a lot of using std::XXX
11762         * use std construcs some places where approp.
11763         * use some exisint stuff from lyxfunctional where approp.
11764         * Make file changes to use partial linking (lets test this now...)
11765
11766 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11767
11768         * Chktex.C:
11769         * buffer.C:
11770         remove #include "support/syscontr.h" as it's redundant. Always has been.
11771
11772         * Chktex.C:
11773         * LaTeX.C:
11774         * LyXSendto.C:
11775         * converter.C:
11776         * lyx_cb.C:
11777         * vc-backend.C:
11778         change Systemcalls::System to Systemcalls::Wait and
11779         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11780         No change of functionality, just reflects the stripped down Systemcalls
11781         class.
11782
11783 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * debug.[Ch]: add a GRAPHICS type to the enum.
11786
11787 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11788
11789         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11790
11791         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11792         there is an inset.
11793
11794 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11797         match the changes below.
11798
11799         * text2.C (toggleInset): if there is not editable inset at cursor
11800         position, try to see if cursor is _inside_ a collapsable inset
11801         and close it.
11802
11803 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11806         document menu has a nice checkbox
11807
11808 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * lyxlength.C (asLatexString): change PW to output as percent of
11811         \textwidth.
11812
11813         * lengthcommon.C: change '%' to 't%'
11814
11815         * lyxfunc.C (dispatch): a few comments from Martin
11816
11817 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * WorkArea.h:
11820         * WorkArea.C:
11821         * BufferView_pimpl.h:
11822         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11823           the X selection.
11824
11825 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11826
11827         * vspace.C (inPixels): fix compiler warning
11828
11829 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11830
11831         * lyxfunc.C (getStatus): fix status message for disabled commands.
11832
11833 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * BufferView_pimpl.C: fix crash on close buffer
11836         during selection (#227)
11837
11838 2002-01-27  Herbert Voss  <voss@lyx.org>
11839
11840         * buffer.C: link old Figure to new graphic inset
11841
11842 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11843
11844         * FontLoader.C (getFontinfo): Change the latex font names in order
11845         to match the names of type1inst.
11846
11847 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11850
11851         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11852         (extchanged): ditto
11853         (ext_exist): ditto
11854         (remove_files_with_extension): ditto
11855         (remove_file): ditto
11856         (write): ditto
11857
11858         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11859         document is smaller than the work area height. Do not initialize
11860         static variables to 0.
11861
11862 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11865
11866         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11867         LFUN_LAYOUT_PARAGRAPHS.
11868
11869         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11870         tabular. It is possible to provide a possible cell, which will
11871         typically be the actcell from the corresponding insettabular
11872
11873         * lyxfunc.C (getStatus): small cleanup; disable
11874         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11875         true
11876
11877 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11880
11881         * paragraph.C (startTeXParParams):
11882         (endTeXParParams): new methods. The LaTeX code to
11883         start/end paragraph formatting
11884         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11885         empty (fixes bug #200)
11886
11887         * vspace.C (inPixels): adapt to the change below
11888         (inPixels): [later] more cleanups (remove unused variables)
11889
11890         * lyxlength.C (inPixels): change to use a width and a height as
11891         parameter.
11892
11893 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11894
11895         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11896         Replaced with \paperwidth
11897
11898         * DepTable.C (insert): add std:: qualifier
11899
11900 2002-01-18  Allan Rae  <rae@lyx.org>
11901
11902         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11903         updated also?
11904
11905         * text.C (drawInset): Turned out I didn't know enough about how
11906         rebreaking worked.  This fixes most of the redraw problems.  I see
11907         an occasional cursor trail when a line is broken now and the cursor
11908         placement can seem out by a few pixels also after a rebreak.
11909
11910 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * buffer.C (parseSingleLyXformat2Token): update because minipage
11913         width is now a LyXLength
11914
11915         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11916
11917         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11918         math insets
11919
11920 2002-01-17  Juergen Vigna  <jug@sad.it>
11921
11922         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11923
11924         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11925         is set correctly and the inset is updated correctly.
11926
11927 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11930         the beginning of the loop.
11931
11932 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyxrc.C: improve help for use_scalable_fonts
11935
11936 2002-01-17  Allan Rae  <rae@lyx.org>
11937
11938         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11939
11940 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11943         make sure to set their inset_owner to the right value (bug #171)
11944
11945 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11946
11947         * DepTable.h
11948         * DepTable.C: Implement mtime checking to reduce time spent doing
11949         CRCs.
11950
11951 2002-01-16  Juergen Vigna  <jug@sad.it>
11952
11953         * tabular.C (GetAdditionalHeight): one of error fixed.
11954
11955         * lyxrc.C (output): small fix in writing use_pspell.
11956
11957 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * sp_base.h: #include LString.h
11960
11961 2002-01-16  Allan Rae  <rae@lyx.org>
11962
11963         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11964         Can someone check this please?
11965
11966         * text.C (drawInset): It was possible that p.row would be removed by
11967         breakAgainOneRow upsetting a few other settings.  There may be another
11968         small tweak possible by setting need_break_row = 0 when p.row has been
11969         removed but I don't know enough about the logic here.
11970
11971 2002-01-15  Allan Rae  <rae@lyx.org>
11972
11973         * text.C (insertChar): removed conditional truism.
11974
11975         * BufferView2.C (removeAutoInsets): More tweaks.
11976         cur_par_prev could be a stray pointer.  Check for trailing empty line
11977         in case last line was cur_par and only had an error inset on it.
11978
11979 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11982         absolute
11983
11984         * vc-backend.C (most methods):
11985         * exporter.C (Export):
11986         * converter.C (convert):
11987         (runLaTeX):
11988         * LyXSendto.C (SendtoApplyCB):
11989         * lyxfunc.C (dispatch):
11990         (menuNew):
11991         (open):
11992         (doImport):
11993         * lyx_cb.C (AutoSave):
11994         (InsertAsciiFile):
11995         * BufferView_pimpl.C (MenuInsertLyXFile):
11996         * buffer.C (runChktex): use Buffer::filePath().
11997
11998         * buffer.h: rename filename to filename_; rename filepath to
11999         filepath_ and make it private
12000         (filePath): new method
12001
12002         * buffer.C (writeFile): use fileName()
12003         (getLatexName):
12004
12005         * lyx_main.C (init): fix starting  of LyX when the binary is a
12006         link from so,ewhere else.
12007
12008         * minibuffer.C: include <cctype> for isprint
12009
12010 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12013         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12014         name clash with InsetCollapsable's width function.
12015
12016 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * lastfiles.C: include <iterator>
12019
12020 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12021
12022         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12023         std::count.
12024
12025         * buffer.C (makeLaTeXFile): ditto.
12026         Also make loop operation more transparent.
12027
12028 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * ToolbarDefaults.C: remove trailing comma closing namespace.
12031
12032         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12033
12034         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12035         as in WorkArea.
12036
12037         * trans.C (Load): comment out unused variable, allowed.
12038
12039 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * minibuffer.[Ch] (append_char): new method to recieve input from the
12042         drop-down completion browser. If a key was pressed, then recieve this
12043         char and append it to the existing string.
12044         (peek_event): modify the positioning data passed to the completion
12045         browser so that it can be placed above the minibuffer rather than below.
12046 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * LyXAction.C (init): alloe error-next for readonly documents.
12049
12050         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12051         count.
12052
12053 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * bufferlist.C (readFile): create the buffer _after_ checking that
12056         the file exists.
12057
12058         * lyxfunc.C (verboseDispatch): fix handling of arguments
12059
12060         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12061
12062         * lyxrc.C: use string::erase() instead of initializing to "".
12063
12064
12065 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * BufferView_pimpl.h:
12068         * BufferView_pimpl.C:
12069         * WorkArea.h:
12070         * WorkArea.C:
12071         * text2.C: tell X when we have made a selection for copying
12072
12073 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12074
12075         * BufferView_pimpl.C (MenuInsertLyXFile):
12076         * lyxfunc.C (menuNew):
12077         (open):
12078         (doImport): add shortcuts to directory buttons
12079
12080         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12081         open a float)
12082
12083         * lyxfunc.C (setStatusMessage):
12084         (getStatusMessage): new methods
12085         (getStatus):use setStatusMessage instead of setErrorMessage
12086         (dispatch): when function is disabled, set error message here
12087         [instead of in getStatus previously]
12088
12089         * BufferView_pimpl.C (workAreaButtonRelease): update
12090         toolbar/menubar here too.
12091
12092 2002-01-13  Allan Rae  <rae@lyx.org>
12093
12094         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12095         Now seems indestructible.  Remaining task is to audit all other
12096         code affected by deleteEmptyParagraphMechanism.  One small quirk
12097         left is that an empty document with an error in the preamble can
12098         be made to report an error but no error box appears.  I don't know
12099         where it goes.
12100         (removeAutoInsets): Improved comments.
12101
12102 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * Thesaurus.h:
12105         * Thesaurus.C: update for Aiksaurus 0.14
12106
12107 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * text2.C (firstParagraph): removed member function, all uses
12110         replaces with ownerParagraph
12111         (redoParagraphs): here
12112         (updateInset): here
12113         (toggleAppendix): here
12114         * BufferView2.C (insertErrors): here
12115         (setCursorFromRow): here
12116
12117 2002-01-13  Allan Rae  <rae@lyx.org>
12118
12119         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12120         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12121         There is still a way to segfault this although you may have to do this
12122         multiple times: Have an InsetERT with an unknown command in it.
12123         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12124         <down-arrow>, <Enter> again, View->DVI, BANG!
12125
12126         * text2.C (setCursor):
12127         (deleteEmptyParagraphMechanism):
12128         * lyxtext.h (setCursor):
12129         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12130         Making use of the return value may help fix other bugs.
12131
12132 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12135
12136         * LyXView.C (updateMenubar): call MenuBar::update here
12137         (updateToolbar): but not here
12138         (showState): do not update toolbar/menubar
12139
12140         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12141         should need to care about that.
12142
12143         * lyxfunc.C (verboseDispatch): simplify a bit
12144         (getStatus): have a version which takes a pseudoaction, and
12145         another which requires a (kb_action,string).
12146
12147         * LyXAction.C (retrieveActionArg): make it work also when action
12148         is not a pseudo-action.
12149         (getActionName): simplify a bit
12150         (helpText):
12151
12152 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyxfunc.C (verboseDispatch): new families of methods with
12155         several ways to specify a command and a bool to indicate whether
12156         the command name and shortcut should be displayed in minibuffer
12157         (eventually, we could extend that to a finer bitmask like
12158         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12159         (dispatch): the pristine dispatch command which just, well,
12160         dispatchs! Note it still sets its result to minibuffer; I'm not
12161         sure we want that.
12162
12163         * lyxfunc.h: remove setHintMessage
12164
12165         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12166
12167 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * BufferView_pimpl.C (specialChar): delete new inset if we have
12170         not been able to insert it.
12171
12172         * kbmap.C: revert to using int instead of kb_action, since all we
12173         are dealing with is pseudo-actions.
12174
12175         * LyXAction.C (searchActionArg): change to return int instead of
12176         kb_action, since the result is a pseudoaction.
12177
12178 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * buffer.C (insertErtContents): Fix (partially) the font bug.
12181
12182 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12185         as the other one is broken on my machine!
12186
12187 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12188
12189         * commandtags.h:
12190         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12191
12192 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12193
12194         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12195         reflect their actual use. Provide compatibility code for older lyxrc
12196         files.
12197
12198         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12199         FL_NORMAL_STYLE.
12200         change names of popup font variables in line with the changes to lyxrc.C
12201
12202 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * buffer.C (asciiParagraph): avoid outputing a word twice after
12205         an inset.
12206
12207         * lyxrc.C (getDescription): document that document_path and
12208         template_path can be empty.
12209
12210 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * LaTeXFeatures.C (getMacros):
12213         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12214
12215         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12216
12217         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12218         getPackages.
12219         (getPackages): rename feature "floats" to "float". Use an array to
12220         iterate over 'simple' features (i.e. just a \usepackage). Add
12221         handling of "amsmath" (renamed from "amsstyle").
12222
12223 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12224
12225         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12226         features list.
12227
12228 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12231         FuncStaus::FuncStatus & FuncStaus::some_method().
12232
12233 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12234
12235         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12236         of the func_satus stuff. Edited and massaged in various ways by
12237         JMarc.
12238
12239         * lyxfunc.C (getStatus): use FuncStatus
12240
12241 2002-01-08  Juergen Vigna  <jug@sad.it>
12242
12243         * text.C (nextBreakPoint): use function Inset::isChar().
12244
12245         * paragraph.C (TeXOnePar): use function
12246         Inset::forceDefaultParagraphs.
12247
12248         * buffer.C (latexParagraphs): use function
12249         Inset::forceDefaultParagraphs.
12250
12251 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * lyx_gui.C (init): set the style of the menu popups to
12254         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12255
12256 2002-01-07  Juergen Vigna  <jug@sad.it>
12257
12258         * text.C (setHeightOfRow): small fix
12259         (prepareToPrint): don't look at alignment if we don't have the place
12260         for doing it.
12261
12262 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12263
12264         * box.C: New file. Move the Box methods and functions out of box.h,
12265         following Lars' suggestion.
12266
12267 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * box.h: #include "support/LOstream.h", needed for inlined function.
12270
12271         * lyxtextclass.C:
12272         * lyxtextclasslist.C: added some using std declarations.
12273
12274 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * box.h: make signed dimensions to allow insets wider than
12277           the screen (bug #162)
12278
12279         * BufferView_pimpl.C: add some insetHit debug
12280
12281 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * vc-backend.C: add FIXME
12284
12285 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * lyxfunc.C (getStatus): enable code for showing math font status
12288         in toolbar/menu.
12289
12290 2002-01-07  Juergen Vigna  <jug@sad.it>
12291
12292         * text.C (nextBreakPoint): removed debug output not needed anymore.
12293
12294 2002-01-06  Juergen Vigna  <jug@sad.it>
12295
12296         * text.C (nextBreakPoint): fixed up this function we had this bug
12297         since ever but now hopefully we break row better.
12298         (insertChar): we have to check if an inset is the next char as it
12299         could now happen that a large inset is causing a break.
12300
12301 2002-01-05  Juergen Vigna  <jug@sad.it>
12302
12303         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12304         if it doesn't like to be drawed.
12305
12306 2002-01-04  Juergen Vigna  <jug@sad.it>
12307
12308         * BufferView2.C (lockInset): forgot to set a cursor.
12309
12310         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12311
12312 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12313
12314         * FormMathsPanel.C:
12315         * FormMathsPanel.h
12316         * MathsSymbols.C:
12317         * form_maths_panel.C:
12318         * form_maths_panel.h:
12319         * form_maths_panel.fd: implemented sub- and super- buttons in math
12320         panel.
12321
12322         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12323         (or ^ space) to be used as in TeX (req'd by André).
12324
12325         * lyxfunc.C: Allow ^ and _ again to be used both as
12326         super/subscript (mathed) and as themselves (in text).
12327
12328 2002-01-03  Allan Rae  <rae@lyx.org>
12329
12330         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12331         "LyX" or the filename of the current buffer if it has one.  This is a
12332         modified form of John Levon's patch.
12333
12334         * XFormsView.C (setWindowTitle): also set icon title.
12335
12336         * LyXView.h (setWindowTitle): signature changed.
12337         * XFormsView.h (setWindowTitle): ditto.
12338
12339 2002-01-02  Juergen Vigna  <jug@sad.it>
12340
12341         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12342
12343 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * screen.C (topCursorVisible): introduce a temp var for
12346         text->cursor.row(), handle the case where this row is null. (kindo
12347         hachish)
12348
12349         * text2.C (setCursor): add a couple of asserts.
12350
12351         * paragraph.h (inset_iterator): add -> operator
12352
12353         * paragraph.[Ch] (autoDeleteInsets): remove member function
12354
12355         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12356         cursor pos correctly and handle inset deletion by itself.
12357         (insertErrors): move iterator declaration out of for expression
12358
12359         * lyxtextclass.C: add <algorithm>
12360
12361         * Makefile.am: added the new files to sources, removed layout.C
12362
12363         * layout.C: removed file
12364
12365         * layout.h: remove LYX_DUMMY_LAYOUT
12366
12367         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12368         layout.
12369
12370         * lyxlayout.[Ch]:
12371         * lyxtextclass.[Ch]:
12372         * lyxtextclasslist.[Ch]: new files
12373
12374         * include order changes to a lot of files, also changes because of
12375         the six new files.
12376
12377 2001-12-27  Juergen Vigna  <jug@sad.it>
12378
12379         * buffer.C (asciiParagraph): more fixes.
12380
12381         * tabular.C (ascii): make ascii export support export of only the
12382         data separated by a column-delimiter.
12383         (ascii): better support for ascii export.
12384
12385         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12386
12387 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * tabular_funcs.C: use a "using std::getline" instead of the
12390         previous fix from Angus (necessary for cxx + lyxstring)
12391
12392 2001-12-24  Juergen Vigna  <jug@sad.it>
12393
12394         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12395
12396         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12397         problems. First check a minipage also if we have some ert-contents
12398         (not only on par->size(), second set the right depth of the paragraph
12399         on the relink to the root-paragraph-list!
12400
12401         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12402         which then did not anymore update the main paragraphs on undo/redo!
12403
12404 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12405
12406         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12407         code. Support all font-changing funcs (even those which are not in
12408         menu currently). Support for reporting font settings in
12409         mathed (disabled until Andre provides a function on mathed's side).
12410
12411         * func_status.h (toggle): small helper function to set toggle
12412         state on a flag.
12413
12414 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * tabular_funcs.C: getline -> std::getline
12417
12418 2001-12-21  Juergen Vigna  <jug@sad.it>
12419
12420         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12421         accessed and could be 0 (I couldn't generate this but it seems
12422         Michael could!).
12423
12424 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12427         * tabular_funcs.h: here and include iosfwd
12428
12429 2001-12-20  Juergen Vigna  <jug@sad.it>
12430
12431         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12432         inside inset but undo_par was.
12433
12434 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12435
12436         * Thesaurus.C: always include <config.h> in sources.
12437
12438         * Painter.h:
12439         * lyxlookup.h:
12440         * box.h: do not include <config.h> in header files
12441
12442         * text.C (paintLastRow): remove unused variable
12443
12444         * text.C (transformChar):
12445         (insertChar):
12446         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12447
12448         * Painter.C (text):
12449         * font.C (width): rewrite to use uppercase() instead of
12450         islower/toupper.
12451
12452         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12453
12454 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * lyxfind.C: clean up of find failure position change
12457
12458 2001-12-20  Juergen Vigna  <jug@sad.it>
12459
12460         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12461
12462         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12463         (TeXRow): added to LaTeX a single tabular row.
12464         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12465         (Latex): simplified and finally good LT-h/f support.
12466         (various_functions): just small adaptions for LT-h/f support.
12467
12468         * tabular_funcs.[hC]: added and moved here all not classfunctions
12469         of LyXTabular.
12470
12471 2001-12-19  Juergen Vigna  <jug@sad.it>
12472
12473         * tabular.[Ch]: better support for longtabular options (not finished
12474         yet!)
12475
12476 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * text.C (paintLastRow): use the label font instead of the font of
12479         the last character to compute the size of *_BOX. This makes more
12480         sense and avoids a crash with empty paragraphs.
12481         Use Painter::rectangle to draw EMPTY_BOX.
12482
12483 2001-12-19  Juergen Vigna  <jug@sad.it>
12484
12485         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12486         the paragraphs if the replaced paragraph is not the first one!
12487         Tried to delete not used paragraphs but does not work yet so for
12488         now it's inside #ifdef's and by default off!
12489
12490 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * MenuBackend.C: include "lyx_main.h" instead of declaring
12493         lastfiles (actually was declared as LastFiles* instead of a
12494         scoped_ptr).
12495
12496 2001-12-17  Juergen Vigna  <jug@sad.it>
12497
12498         * tabular.C (AppendColumn): applied John's fix
12499
12500 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * BufferView.h:
12503         * BufferView.C:
12504         * BufferView_pimpl.h:
12505         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12506
12507         * Makefile.am:
12508         * box.h: new start of class for above
12509
12510         * lyxfunc.C: ignore space-only minibuffer dispatches.
12511           Show the command name when it doesn't exist
12512
12513         * minibuffer.C: don't add empty lines to the history
12514
12515         * minibuffer.C: add a space on dropdown completion
12516
12517 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * text.C: fix line above/below drawing in insets
12520
12521 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyxlength.C (LyXLength): Initialize private variables.
12524
12525 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12526
12527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12528         when inserting error insets.
12529
12530 2001-12-13  Juergen Vigna  <jug@sad.it>
12531
12532         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12533         actually sometimes the before-paragraph.
12534         (setUndo): don't clear the redostack if we're not actually undoing!
12535
12536 2001-12-06  Juergen Vigna  <jug@sad.it>
12537
12538         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12539         and fixed redoing of main paragraph, so we can use it now ;)
12540
12541         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12542
12543 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12546         Juergen's request
12547
12548 2001-12-13  André Pönitz <poenitz@gmx.net>
12549
12550         * undostack.[Ch]:
12551         * undo_func.C: minor cleanup
12552
12553 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12554
12555         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12556         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12557         font in urw-fonts package which is marked as -urw-fontspecific and
12558         does not work (incidentally, changing the encoding in the
12559         fonts.dir of this package to -adobe-fontspecific fixes the
12560         problem).
12561
12562         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12563         is a crash when undoing first paragraph (Juergen, please take a
12564         look). THis does not mean the undo fix is wrong, just that it
12565         uncovers problems.
12566
12567         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12568         the (Paragraph*) version when needed instead of duplicating the
12569         code.
12570
12571         * text.C (workWidth): use Inset::parOwner to find out where the
12572         inset has been inserted. This is a huge performance gain for large
12573         documents with lots of insets. If Inset::parOwner is not set, fall
12574         back on the brute force method
12575
12576         * paragraph_pimpl.C (insertInset):
12577         * paragraph.C (Paragraph):
12578         (cutIntoMinibuffer): set parOwner of insets when
12579         inserting/removing them
12580
12581         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12582
12583 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12584
12585         * commandtags.h:
12586         * LyXAction.C:
12587         * lyx_main.C:
12588         * lyxfunc.C:
12589         * mathed/formulabase.C:
12590         * mathed/math_cursor.[Ch]:
12591         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12592
12593
12594 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * lyxlength.[Ch] (operator!=): new function
12597
12598 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * text.C (workWidth): use Inset::parOwner to find out where the
12601         inset has been inserted. This is a huge performance gain for large
12602         documents with lots of insets. If Inset::parOwner is not set, fall
12603         back on the brute force method
12604
12605         * paragraph_pimpl.C (insertInset):
12606         * paragraph.C (Paragraph):
12607         (cutIntoMinibuffer): set parOwner of insets when
12608         inserting/removing them
12609
12610         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12611
12612 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * tabular-old.C (getTokenValue):
12615         * tabular.C (getTokenValue):
12616         (write_attribute): new versions for LyXLength
12617         (everywhere): adjust the use of widths
12618
12619         * tabular.h: change the type of widths from string to LyXLength
12620
12621 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12622
12623         * paragraph.C: fixed missing line number count when exporting
12624         Environments to LaTeX file
12625
12626         * buffer.C: added informational message for checking line numbers.
12627
12628 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12629
12630         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12631         paragraph, do the 'double space' part, but not the 'empty
12632         paragraph' one.
12633
12634         * text.C (workWidth): small optimization
12635         (getLengthMarkerHeight): use minimal size for negative lengths.
12636
12637 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12638
12639         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12640
12641         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12642
12643 2001-12-11  André Pönitz <poenitz@gmx.net>
12644
12645         * FontLoader.C:
12646         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12647
12648 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * text2.C: keep selection on a setFont()
12651
12652 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * lyx_cb.C: another bv->text misuse, from insert label
12655
12656 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * kbsequence.h:
12659         * kbsequence.C: re-instate nmodifier mask
12660
12661 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * lyx_main.h: make lyxGUI private.
12664
12665 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * lyxfind.C: place the cursor correctly on failed search
12668
12669 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * text.C (getLengthMarkerHeight): for small heights, the arrows
12672         are not always on top/bottom of the text
12673         (drawLengthMarker): smaller arrows; take the left margin in
12674         account; draw also vfills.
12675         (paintFirstRow):
12676         (paintLastRow): remove special code for vfill and standard spaces,
12677         since everything is handled in drawLengthMarker now.
12678
12679 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * buffer.C (insertErtContents): try to handle font and language
12682         interaction a bit better.g
12683
12684         * ColorHandler.C (updateColor): change the hash to cover the whole
12685         LColor enum, ws cleanup
12686         (getGCLinepars): ditto
12687         (getGCLinepars): only lookup in the linecache once.
12688
12689 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12690
12691         * iterators.C (operator++): Make the iterator more robust
12692
12693         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12694         (John's patch)
12695         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12696
12697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * lyxtext.h:
12700         * text.C: better added space drawing
12701
12702 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * LyXView.C:
12705         * BufferView2.C: fix layout combo update on inset unlock
12706
12707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * Makefile.am: don't compile unused files
12710
12711 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12712
12713         * lyxfunc.C:
12714         * commandtags.h:
12715         * LyXAction.C: remove old LFUN_LAYOUTNO
12716
12717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * paragraph_pimpl.h:
12720         * paragraph_pimpl.C: isTextAt() doesn't need font param
12721
12722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * lyxlex.h:
12725         * lyxlex.C: little cleanup
12726
12727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * BufferView_pimpl.C: fix insertAscii for insets
12730
12731 2001-12-05  Juergen Vigna  <jug@sad.it>
12732
12733         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12734         set the right font on the "multi" paragraph paste!
12735
12736 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * trans_decl.h:
12739         * trans_mgr.[Ch]:
12740         * trans.[Ch]:
12741         * lyxgluelength.C:
12742         * lyxlength.C: remove out-commented code.
12743
12744         * BufferView_pimpl:
12745         * CutAndPaste.C:
12746         * DepTable.C:
12747         * buffer.C:
12748         * chset.C:
12749         * lastfiles.C:
12750         * lyxlex.C:
12751         * lyxlex_pimpl.C:
12752         * lyxserver.C:
12753         * screen.C:
12754         * tabular-old.C:
12755         * tabular.C:
12756         * text.C:
12757         * trans_mgr.C:
12758         * vc-backend.C: change "while(" to "while ("
12759
12760         * lyxlength.[Ch]: add zero function to check if length is zero or
12761         not
12762         * lyxgluelength.C: use it
12763
12764 2001-12-05  Allan Rae  <rae@lyx.org>
12765
12766         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12767         Works for 2.95.3, from what I understand of Garst's reports this should
12768         work for other g++ versions.  We're screwed if the abs(int) definition
12769         changed between bugfix releases of gcc.
12770
12771 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * text.C: fix chapter label offset !
12774
12775 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * lyxtext.h:
12778         * text.C: fix hfill at end of line, clean up
12779
12780 2001-12-04  Juergen Vigna  <jug@sad.it>
12781
12782         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12783         that we force an update of the inset and it's owners if neccessary.
12784
12785 2001-12-03  Juergen Vigna  <jug@sad.it>
12786
12787         * text.C (rowLast): simplified code
12788
12789 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * lyxfunc.C: fix show options on timeout
12792
12793 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * screen.C (topCursorVisible): scroll half a page when the cursor
12796         reached top of bottom of screen
12797
12798 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * minibuffer.C: deactivate on loss of focus
12801
12802 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12803
12804         * vspace.[Ch] (operator!=): add operator.
12805
12806 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * BufferView_pimpl.C: refuse to open an inset when
12809         there's a selection.
12810
12811 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * BufferView_pimpl.C: allow to click on RHS of full row insets
12814
12815 2001-11-30  Juergen Vigna  <jug@sad.it>
12816
12817         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12818         insets for undo reasons.
12819
12820 2001-11-28  André Pönitz <poenitz@gmx.net>
12821
12822         * vspace.[Ch]: cosmetical changes
12823
12824 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12825
12826         * LyXAction.h:
12827         * LyXAction.C:
12828         * lyxfunc.h:
12829         * lyxfunc.C:
12830         * kbmap.h:
12831         * kbmap.C:
12832         * lyxrc.C:
12833         * kbsequence.h:
12834         * kbsequence.C: part re-write of old kb code
12835
12836         * Painter.C:
12837         * WorkArea.C: remove Lgb_bug_find_hack
12838
12839 2001-11-30  José Matos <jamatos@fep.up.pt>
12840
12841         * buffer.C (makeDocBookFile): add a comment to point a hack.
12842         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12843         Fixed a double write of labels.
12844
12845 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12846
12847         * LaTeX.C:
12848         * LaTeX.h Fixed bug in LaTeX class where it would not
12849         re-run latex if no depfiles were changed, but the .dvi was removed.
12850
12851 2001-11-28  André Pönitz <poenitz@gmx.net>
12852
12853         * all the files from the change on 2001/11/26:
12854         use lyx::layout_type instead of LyXTextClass::size_type
12855         use lyx::textclass_type instead of LyXTextClassList::size_type
12856
12857 2001-11-29  Juergen Vigna  <jug@sad.it>
12858
12859         * text.C: added support for paragraph::isFreeSpacing()
12860
12861         * buffer.C: same as above
12862
12863         * paragraph.h: inserted isFreeSpacing() function to enable
12864         FreeSpacing inside InsetERT.
12865
12866         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12867         of the paragraph's in the cut/copy buffer to 0!
12868
12869         * text2.C (removeRow): remove the assert as it can!
12870
12871         * lyxtext.h: added helper function firstRow returning firstrow and
12872         made firstrow private again.
12873
12874         * BufferView2.C (lockInset): don't relock if we're already locked!
12875
12876         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12877         the only paragraph.
12878         (removeRow): added Assert::(firstrow)
12879
12880         * debug.C: forgot to add INSETTEXT here.
12881
12882 2001-11-28  Juergen Vigna  <jug@sad.it>
12883
12884         * sp_spell.C (initialize): changed error text to more general
12885         spellchecker command use (not only ispell!)
12886
12887         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12888
12889         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12890
12891 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * vspace.C: initialise lyxgluelength on failure
12894
12895 2001-11-28  Allan Rae  <rae@lyx.org>
12896
12897         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12898         declaration & definition that looks like a function declaration.
12899
12900 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12901
12902         * BufferView2.C (copy):
12903         (copyEnvironment): do not clear the selection when doing a copy.
12904
12905         * text.C (paintFirstRow): compilation fix
12906
12907 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12908
12909         * tabular.C (Latex): correct line count when writing latex.
12910
12911 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * paragraph_pimpl.h:
12914         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12915           bug a bit
12916
12917 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * text.C:
12920         * LColor.h:
12921         * LColor.C: change vfillline->added_space
12922
12923         * text.C: add markers and text for added space
12924
12925         * vspace.C: fix comment
12926
12927 2001-11-28  André Pönitz <poenitz@gmx.net>
12928
12929         * paragraph.C: whitespace changes
12930         * all the other files from the change on 2001/11/26:
12931         change *::pos_type into lyx::pos_type
12932
12933 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12936         language of the document when inserting error insets.
12937
12938 2001-11-26  André Pönitz <poenitz@gmx.net>
12939
12940         * BufferView_pimpl.[Ch]:
12941         *       CutAndPaste.C:
12942         * buffer.[Ch]:
12943         * lyxcursor.[Ch]:
12944         * lyxfind.C:
12945         * lyxfunc.C:
12946         * lyxrow.[Ch]:
12947         * paragraph.[Ch]:
12948         * paragraph_pimpl.[Ch]:
12949         * sp_spell.C:
12950         * text.C:
12951         * text2.C: reduce header dependencies, introduce type for positions
12952
12953 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * <various>: change to use Alert.h
12956
12957 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12960         when encountering an unknown token.
12961         (readLyXformat2): Show an error message if there were unknown tokens.
12962
12963 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * BufferView2.C:
12966         * BufferView_pimpl.C:
12967         * buffer.C:
12968         * paragraph.h:
12969         * text.C:
12970         * text2.C: use par->isInset()
12971
12972 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * paragraph_pimpl.h:
12975         * paragraph_pimpl.C: cleanup
12976
12977 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12978
12979         * text2.C (removeRow):
12980         * text.C (setHeightOfRow): remove useless (and costly) call to
12981         getRow.
12982
12983 2001-11-20  Allan Rae  <rae@lyx.org>
12984
12985         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12986         Now need Inset*::checkInsertChar() to return true for appropriate
12987         cases so that the characters in the minibuffer will actually be
12988         inserted.
12989
12990 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * text.C: change the order of the includes.
12993         (workWidth): initialize it at once.
12994         (workWidth): make maxw unsigned
12995         (setHeightOfRow): remove unused variable (inset)
12996         (selectSelectedWord): remove unused variable (inset)
12997         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12998
12999 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13002         server is not running.
13003         (openConnection):
13004         (closeConnection): add debug info when server is disabled.
13005
13006         * ColorHandler.C (getGCForeground): send debug message to GUI
13007         channel.
13008
13009         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13010
13011         * kbmap.C (bind): modify because return conventions of
13012         kb_sequence::parse have changed.
13013
13014         * kbsequence.C (parse): only ignore spaces and not any stupid
13015         control character. This avoids tests like s[i] <= ' ', which are
13016         guaranteed to fail with 8bit characters and signed chars.
13017         Change return code to string::npos when there have been no error
13018         (0 was a bad idea when error is at first character)
13019
13020 2001-11-14  José Matos  <jamatos@fep.up.pt>
13021
13022         * buffer.h:
13023         * buffer.C (simpleDocBookOnePar): removed unused argument.
13024
13025 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13028         insets which are part of a word. Paragraph::isLetter takes care of
13029         that now. Use Paragraph::isInset to identify insets.
13030         (selectSelectedWord): do not test for hyphenation break.
13031
13032         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13033         that protected spaces are considered as spaces.
13034
13035         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13036         Inset::isLetter.
13037
13038 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * lyxserver.h:
13041         * lyxserver.C: fix it. and small cleanup.
13042
13043 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * BufferView_pimpl.C: use inline helpers
13046
13047         * LaTeXFeatures.h:
13048         * LaTeXFeatures.C: fix typos
13049
13050         * Spacing.h:
13051         * Spacing.C: move spacing_string into class
13052
13053         * ToolbarDefaults.C: move stuff into namespace anon
13054
13055         * layout.h: update enum
13056
13057         * lyxfunc.C: use better debug
13058
13059         * minibuffer.h: fix typo
13060
13061         * debug.h:
13062         * debug.C:
13063         * WorkArea.C: add and use Debug::WORKAREA
13064
13065         * lyxtext.h:
13066         * text.C:
13067         * text2.C: code re-organisation, inline helpers
13068
13069 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13070
13071         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13072         std::vector.empty().
13073
13074 2001-11-09  Allan Rae  <rae@lyx.org>
13075
13076         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13077         '\n's after tables.  Tabular and ERT inset work now makes this no
13078         longer necessary.
13079
13080 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * minibuffer.h:
13083         * minibuffer.C: fix crash, improve drop-down completion
13084
13085 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * lyxserver.h:
13088         * lyxserver.C: invalidate fd's when doing endPipe()
13089
13090 2001-11-08  José Matos  <jamatos@fep.up.pt>
13091
13092         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13093         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13094
13095         * paragraph.h:
13096         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13097
13098 2001-11-07  José Matos  <jamatos@fep.up.pt>
13099
13100         * buffer.h:
13101         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13102         const qualifier.
13103
13104         * buffer.C (sgmlOpenTag):
13105         * buffer.C (sgmlCloseTag): removed debug info.
13106
13107         * buffer.h (sgmlOpenTag):
13108         * buffer.h (sgmlCloseTag): made public.
13109
13110 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13111
13112         * buffer.C (saveParamsAsDefaults):
13113         * lyx_cb.C (MenuLayoutSave): remove
13114
13115         * LyXAction.C (init):
13116         * commandtags.h:
13117         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13118
13119 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13120
13121         * buffer.C (setPaperStuff): removed from here...
13122
13123         * bufferparams.C (setPaperStuff): ... and moved there.
13124
13125 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * minibuffer.h:
13128         * minibuffer.C:
13129         * XFormsView.C: add support for drop-down completion
13130
13131 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13132
13133         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13134         commands.
13135
13136 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13139         disabled.
13140
13141 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * lyx_main.C: change ref to known bugs
13144
13145 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13146
13147         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13148         to work around older babel problems.
13149
13150 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13151
13152         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13153
13154 2001-10-24  Juergen Vigna  <jug@sad.it>
13155
13156         * tabular-old.C (ReadOld): below variable changes reflected.
13157
13158         * tabular.[Ch]: added ltType struct for longtable header/footer
13159         defines and changed all instances where they are used. Added
13160         future support for double top/bottom rows.
13161
13162 2001-10-24  José Matos  <jamatos@fep.up.pt>
13163
13164         * buffer.h (docbookHandleCaption):
13165         * buffer.C (docbookHandleCaption): removed unused function.
13166         (makeDocBookFile): moved docbook supported version to v4.1.
13167
13168 2001-10-24  José Matos  <jamatos@fep.up.pt>
13169
13170         * tabular.h:
13171         * tabular.C (docbookRow): new function to export docbook code of a row.
13172         (DocBook): now honors the longtable flags.
13173
13174 2001-10-23  José Matos  <jamatos@fep.up.pt>
13175
13176         * LaTeXFeatures.h:
13177         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13178         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13179
13180         * buffer.C (makeLinuxDocFile):
13181         (makeDocBookFile): reworked the preamble, more clean, and with
13182         support for lyx defined entities. Changed the document declaration
13183         to be more XML friendly.
13184
13185         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13186         if we need to output XML that should be done with a filter.
13187
13188 2001-10-22  Juergen Vigna  <jug@sad.it>
13189
13190         * sp_pspell.h (class PSpell): add alive function needed in the
13191         controller to see if the spellchecker could be started.
13192
13193 2001-10-22  Juergen Vigna  <jug@sad.it>
13194
13195         * buffer.C (insertStringAsLines): modify the font for inserting
13196         chars in certain conditions by calling checkInsertChar(font).
13197
13198 2001-10-19  Juergen Vigna  <jug@sad.it>
13199
13200         * text.C (workWidth): use getRow instead of wrong algorithm.
13201         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13202
13203 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * lyxserver.h:
13206         * lyxserver.C:
13207         * lyx_main.h:
13208         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13209
13210 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * text.C (workWidth): do not search for the exact row when
13213         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13214         optimization for big documents.
13215
13216 2001-10-18  Juergen Vigna  <jug@sad.it>
13217
13218         * text.C (workWidth): new function with added Inset * parameter.
13219
13220 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13223
13224         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13225         change return type of getColumnNearX.
13226
13227
13228         * text.C (changeRegionCase): use uppercase/lowercase instead of
13229         toupper/tolower.
13230         (leftMargin):
13231         (rightMargin): simplify code by factoring out the uses of
13232         textclasslist.
13233         (labelFill):
13234         (numberOfHfills):
13235         (setHeightOfRow):
13236         (appendParagraph): use Paragraph::size_type
13237
13238 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * vspace.C (asLatexString): add a missing break
13241
13242 2001-10-15  Herbert Voss  <voss@perce.de>
13243
13244         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13245
13246 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13249         is not available.
13250
13251 2001-10-10  André Pönitz <poenitz@gmx.net>
13252
13253         * lyxfunc.C: removed greek_kb_flag.
13254
13255 2001-10-10  Herbert Voss  <voss@perce.de>
13256
13257         * lyx_main.C: delete global string help_lyxdir.
13258
13259 2001-10-09  Herbert Voss  <voss@perce.de>
13260
13261         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13262
13263         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13264
13265         * lyx_main.C: added global string help_lyxdir.
13266
13267         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13268
13269 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13270
13271         * lyxrc.C (set_font_norm_type): support iso8859-4
13272
13273 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13274
13275         * LaTeX.C (deplog): add another regex for MikTeX
13276
13277 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13278
13279         * lyxrc.C (set_font_norm_type): support iso8859-3
13280
13281 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13284
13285         * LaTeXFeatures.C: remove special case of french and index
13286
13287         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13288         before \begin{document}). This solves several incompatibilities.
13289
13290 2001-10-03  Garst Reese  <reese@isn.net>
13291
13292         * lyx_cb.C: change CheckTex error msg.
13293
13294 2001-10-03  José Matos  <jamatos@fep.up.pt>
13295
13296         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13297
13298 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * .cvsignore: update
13301
13302         * lyx_main.C (commandLineVersionInfo): use new style version info.
13303
13304         * buffer.C (writeFile):
13305         (makeLaTeXFile):
13306         (makeLinuxDocFile):
13307         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13308
13309         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13310
13311         * version.h: update to use stuff in version.C
13312
13313         * version.C.in: new file. Contains version information determined
13314         at compile time. This is a merging of version.h and
13315         version_info.h.in.
13316
13317 2001-10-03  Juergen Vigna  <jug@sad.it>
13318
13319         * BufferView_pimpl.C (update): don't change "dirty" status in
13320         updateInset call.
13321
13322 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * WorkArea.C (c-tor): re-position version string slightly.
13325
13326 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13327
13328         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13329         revert to previous code.
13330
13331         WorkArea.[Ch]: (show, destroySplash): methods removed.
13332
13333         WorkArea.C: rework code so that it's an amalgam of the codes before and
13334         after the splash screen was moved to WorkArea.
13335
13336 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * lyxrc.C (read):
13339         * vspace.C (inPixels):
13340         (lyx_advance):
13341         * kbmap.C (bind):
13342         * buffer.C (insertStringAsLines):
13343         (asciiParagraph): fix types to be large enough
13344
13345         * lyxlex_pimpl.h: change member status from short to int
13346
13347         * layout.h: fix type of endlabeltype
13348
13349         * kbmap.C (bind):
13350         * kbsequence.C (parse): change return type to string::size_type
13351
13352         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13353         variable
13354
13355         * Bullet.C (bulletSize):
13356         (bulletEntry): do not use short ints as parameters
13357
13358         * BufferView2.C (insertLyXFile): change a char to an int.
13359
13360         * WorkArea.C (WorkArea): remove unneeded floats in computation
13361
13362 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13365
13366         * paragraph.C (asString): Do not ignore newline/hfill chars when
13367         copying to the clipboard.
13368
13369 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13370
13371         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13372         after a multi-line inset.
13373
13374 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * paragraph.C (validate): Set NeedLyXFootnoteCode
13377
13378 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13379
13380         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13381         and decrease-error to decrease.
13382
13383 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13384
13385         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13386         it more readable (should be equivalent)
13387
13388 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13389
13390         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13391
13392 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13395         of a cursor (row, etc.) after a character has been deleted
13396         (deleteEmptyParagraphMechanism): call the method above on _all_
13397         cursors held by the LyXText when a double space has been
13398         detected/deleted.
13399
13400 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13401
13402         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13403         pixmap.
13404         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13405
13406         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13407         background. Use greyOut() and the new show() methods to toggle between
13408         the foreground and background. Add code to remove the splash after
13409         its initial showing.
13410
13411         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13412         (create_forms): no longer call Dialogs::showSplash.
13413
13414 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * .cvsignore: add version_info.h
13417
13418 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * version_info.h.in: new file
13421
13422         * Makefile.am: add version_info.h.in
13423
13424         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13425         version_info.h instead of VERSION_INFO
13426
13427 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13430         The ERT inset now returns string().
13431
13432 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13433
13434         * lyxtext.h, text.C (selectNextWord): renamed as
13435         selectNextWordToSpellcheck.
13436
13437         * text.C (selectNextWordToSpellcheck): Modified to not select
13438         words inside an ERT inset.
13439
13440 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13441
13442         * lyx_cb.C (MenuLayoutSave): change a bit the question
13443
13444         * sp_base.h: include <sys/types.h>
13445
13446 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13449
13450 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13451
13452         * several files: fix typos in user-visible strings
13453
13454 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13455
13456         * text2.C (pasteSelection): do not set the selection, since it
13457         will be cleared later. Actually, the intent was to fix the way the
13458         selection was set, but I figured rmoving the code was just as good.
13459
13460 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * FontLoader.C (available): Check if font is available without
13463         loading the font.
13464
13465 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13466
13467         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13468
13469 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * lyxrc.[Ch]: added display_graphics variable and associated code.
13472
13473 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * bufferparams.C (hasClassDefaults): new method. Returns true if
13476         the buffer parameters correspond to known class defaults
13477
13478 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13479
13480         * XFormsView.C (show): set minimum size to the main window.
13481
13482 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * text2.C (copySelection):
13485         (cutSelection):
13486         * lyxfind.C (LyXReplace):
13487         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13488         LyXText::selectionAsString.
13489
13490         * paragraph.C (asString): add "label" argument to the second form
13491
13492         * text2.C (selectionAsString): add "label" argument and pass it to
13493         Paragraph::asString.
13494
13495 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * lyx_main.C (commandLineHelp): remove version information
13498
13499 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13500
13501         * lyx_main.C: add -version commandline option
13502
13503 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * paragraph.h: make the optional constructor arg required instead.
13506         some modifications to other files because of this.
13507
13508         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13509
13510         * lyxserver.C (C_LyXComm_callback): make it static
13511
13512         * lyx_main.C (error_handler): make it static
13513
13514         * lyx_gui.C (LyX_XErrHandler): make it static
13515
13516         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13517
13518         * WorkArea.C: make the extern "C" methods static.
13519
13520         * Makefile.am (lyx_LDADD): simplify
13521
13522 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13525         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13526
13527         * LyXAction.C (init):
13528         * lyxfunc.C (dispatch): associated code removal.
13529
13530 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * lyxfont.h (isSymbolFont): shut off warning
13533
13534         * text.C (setHeightOfRow):
13535         (getVisibleRow): fix crash with empty paragraphs which have a
13536         bottom line
13537
13538 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13539
13540         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13541         code.
13542
13543 2001-09-04  José Matos  <jamatos@fep.up.pt>
13544         * buffer.C
13545         * buffer.h
13546         * tabular.C (docbook): rename docBook method to docbook.
13547
13548 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13549
13550         * Makefile.am: add dependencies to main.o.
13551
13552 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13553
13554         * FontLoader.C (available): Return false if !lyxrc.use_gui
13555
13556 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13557
13558         * FontInfo.C (query):
13559         * converter.C (view):
13560         * importer.C (Import):
13561         * exporter.C (Export): Can not -> cannot.
13562
13563 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * BufferView_pimpl.C: allow to create index inset even if
13566           string is empty
13567
13568 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * buffer.C (getLists): replace boost::tie code with an explicit pair
13571         as boost::tie can break some compilers.
13572
13573         * iterators.h: Added a std:: declaration to the return type of
13574         ParIterator::size.
13575
13576 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13579           case.
13580
13581 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13582
13583         * iterators.[Ch]: New files. Provide paragraph iterators.
13584
13585         * buffer.C (changeLanguage): Use paragraph iterators.
13586         (isMultiLingual): ditto
13587
13588         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13589
13590 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13591
13592         * FontLoader.C: Support for cmr font.
13593
13594 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13597         (available): New method.
13598
13599         * FontInfo.C (getFontname): Use scalable fonts even when
13600         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13601         found.
13602
13603 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13604
13605         * converter.C (Formats::view): reverted! Incorrect fix.
13606
13607 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13608
13609         * converter.C (Formats::view): only output the -paper option
13610         if the dvi viewer is xdvi, thereby fixing bug #233429.
13611
13612 2001-08-23  Herbert Voss  <voss@perce>
13613
13614         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13615
13616 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13617
13618         * Spacing.h (Spacing): Set space to Default on in the default
13619         constructor.
13620
13621 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * vc-backend.h (RCS::versionString): add RCS to version
13624         (CVS::versionString): add CVS to version
13625
13626         * vc-backend.C (scanMaster): do not add CVS to version.
13627         (scanMaster): do not add RCS to version
13628
13629         * lyxvc.C (versionString): new method
13630
13631         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13632
13633 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * Spacing.C (set): initialize fval
13636
13637 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13638
13639         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13640         " or \.
13641
13642 2001-08-16  Juergen Vigna  <jug@sad.it>
13643
13644         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13645
13646 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * BufferView_pimpl.C:
13649         * figureForm.C:
13650         * lyxtext.h:
13651         * text2.C: setParagraph takes linespacing now
13652
13653 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * LyxAction.C: add internal LFUN_CITATION_INSERT
13656
13657         * LyXView.C: actually apply fix
13658
13659         * bufferlist.C: fix open non-existent file
13660
13661         * lyxfind.C: fix indentation
13662
13663         * lyxfunc.C: remove unneeded assert, fix typo
13664
13665 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * MenuBackend.C: use "Floatname List"
13668
13669 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13670
13671         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13672         when converting LaTeX layout to insetERT.
13673         Generate a non-collapsed float when reading old float
13674
13675 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13678         ERT insets.
13679
13680 2001-08-13  Juergen Vigna  <jug@sad.it>
13681
13682         * text.C (fill): return 0 instead of 20 as this seems to be the more
13683         correct value.
13684
13685 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13688         lyxrc.font_norm.
13689
13690 2001-08-13  Juergen Vigna  <jug@sad.it>
13691
13692         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13693         casesensitive off.
13694         (SearchBackward): comment out the unlocking of the inset_owner this
13695         should not be needed!
13696
13697 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13698
13699         * Many files: Remove inherit_language, and add latex_language
13700
13701         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13702         collapsible insets.
13703
13704 2001-08-10  Juergen Vigna  <jug@sad.it>
13705
13706         * text.C (prepareToPrint): fixed hfill-width in draw!
13707
13708         * BufferView2.C (selectLastWord): save the selection cursor as this
13709         now is cleared in the function LyXText::clearSelection!
13710
13711 2001-08-08  Juergen Vigna  <jug@sad.it>
13712
13713         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13714         BACKSPACE type functions.
13715
13716         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13717         is only cutted from the document but not put in the cut-buffer, where
13718         still the old stuff should be.
13719
13720         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13721
13722         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13723
13724         * tabular.C (SetWidthOfCell): fixed special case where the width
13725         was not updated!
13726         (LeftLine): handle '|' in align_special.
13727         (RightLine): ditto
13728         (LeftAlreadyDrawed): ditto
13729         (SetWidthOfCell): ditto
13730
13731 2001-08-07  Juergen Vigna  <jug@sad.it>
13732
13733         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13734
13735 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13738         * lyxlex.[hC]: ditto
13739
13740 2001-08-06  Juergen Vigna  <jug@sad.it>
13741
13742         * text.C (getVisibleRow): fix up row clearing a bit.
13743
13744 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * minibuffer.C: make sure the X server sees the changes in the input.
13747
13748 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * paragraph.C (getFont): split into...
13751         (getLabelFont): this
13752         (getLayoutFont): and this
13753         * paragraph_pimpl.C (realizeFont): calling this
13754
13755         * text2.C (getFont): split into...
13756         (getLayoutFont): this
13757         (getLabelFont): and this
13758         (realizeFont): all three calling this
13759
13760         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13761         files where used.
13762
13763 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13766
13767 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13768
13769         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13770         layouts from the Quote inset insertion.
13771
13772 2001-08-03  Juergen Vigna  <jug@sad.it>
13773
13774         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13775
13776         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13777         only if status not is already CHANGED_IN_DRAW (second level).
13778
13779         * text.C (draw): don't set the need_break_row when inside an
13780         InsetText LyXText.
13781
13782 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * buffer.C (parseSingleLyXformat2Token): handle more latex
13785         conversion cases.
13786
13787         * bufferview_funcs.[hC]: change function names to
13788         begin with small char, adjust other files.
13789
13790 2001-08-02  André Pönitz <poenitz@gmx.net>
13791
13792         * lyxfunc.C:
13793         BufferView_pimpl.C: remove broken special code for math-greek
13794
13795 2001-08-02  Juergen Vigna  <jug@sad.it>
13796
13797         * BufferView_pimpl.C (update): redone this function so that we
13798         update the text again if there was a CHANGE_IN_DRAW.
13799
13800         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13801         (drawFromTo): added a new internal bool which is used by draw() and
13802         redraw() function.
13803         (general): some cursor drawing problems fixed.
13804
13805 2001-08-01  Juergen Vigna  <jug@sad.it>
13806
13807         * lyxfind.C (LyXFind): fixed
13808         (SearchForward): ditto
13809         (SearchBackward): ditto
13810
13811         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13812         spurius drawing of the cursor in the main area.
13813
13814         * text2.C (status): small fix which could lead to a segfault!
13815         (clearSelection): remove unneeded BufferView param.
13816
13817 2001-08-01  André Pönitz <poenitz@gmx.net>
13818
13819         * lyxfunc.C: small change due to changed mathed interface
13820
13821 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13824
13825 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * lyxfunc.c: fail gracefully if file doesn't exist
13828
13829         * LyXSendto.C:
13830         * buffer.C:
13831         * lyxfunc.C:
13832         * BufferView_pimpl.C: IsDirWriteable() proto changed
13833
13834         * LyXView.C: fix updateWindowTitle() to store the last title
13835
13836 2001-07-31  Juergen Vigna  <jug@sad.it>
13837
13838         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13839         the font (wrong since using of Paragraph::highestFontInRange).
13840
13841         * paragraph.C (highestFontInRange): added a default_size parameter.
13842
13843         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13844         (setHeightOfRow): reformat
13845
13846 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * converter.[hC] + affected files: move to (inital-char)lowercase
13849         function names.
13850
13851         * ParagraphParameters.C (ParagraphParameters): remove commented code
13852
13853         * PainterBase.[Ch]: remove commented code
13854
13855         * LaTeXFeatures.h: add "bool floats" for float.sty
13856
13857         * LaTeXFeatures.C (LaTeXFeatures): init floats
13858         (require): handle float
13859         (getPackages): do it with floats
13860
13861 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * BufferView_pimpl.C (Dispatch): improve handling of
13864         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13865
13866         * commandtags.h: #include lyxfont.h here temporarily to avoid
13867         keybinding bug.
13868
13869         * bufferlist.h: include LString.h here.
13870
13871 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13872
13873         * text2.C (getStringToIndex): new method.
13874
13875 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13876
13877         * *: Reduced header file dependencies all over.
13878
13879 2001-07-30  Baruch Even  <baruch@lyx.org>
13880
13881         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13882
13883 2001-07-29  Baruch Even  <baruch@lyx.org>
13884
13885         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13886
13887 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13888
13889         * ParameterStruct.h (endif): add a default constructor to make
13890         sure that all variables is initialized.
13891
13892         * ParagraphParameters.C (ParagraphParameters): adjust
13893
13894 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13897         index; also, check that there is something to index, and that it
13898         does not span over several paragraphs.
13899         (doubleClick): use WHOLE_WORD_STRICT for double click.
13900
13901         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13902
13903         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13904         scheme.
13905
13906 2001-07-26  Baruch Even  <baruch@lyx.org>
13907
13908         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13909         an InsetFig figure, backwards compatible reading of old figure code.
13910
13911 2001-07-27  Juergen Vigna  <jug@sad.it>
13912
13913         * text2.C: font.realize function adaption.
13914
13915         * text.C (draw): add a warnings lyxerr text if needed.
13916
13917         * layout.C: font.realize function adaption.
13918
13919         * language.C: add inherit_language and implement it's handlings
13920
13921         * bufferview_funcs.C (StyleReset): remove language parameter from
13922         font creation (should be language_inherit now).
13923
13924         * bufferparams.C (writeFile): handle ignore_language.
13925
13926         * paragraph.C (getFontSettings): the language has to be resolved
13927         otherwise we have problems in LyXFont!
13928
13929         * lyxfont.C (lyxWriteChanges): added document_language parameter
13930         (update): removed unneeded language parameter
13931
13932         * paragraph.C (validate): fixed wrong output of color-package when
13933         using interface colors for certain fonts in certain environments,
13934         which should not seen as that on the final output.
13935
13936 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * BufferView_pimpl.C:
13939         * Thesaurus.h:
13940         * Thesaurus.C:
13941         * Makefile.am:
13942         * commandtags.h:
13943         * LyXAction.C: add thesaurus support
13944
13945         * lyxfind.h:
13946         * lyxfind.C: add "once" parameter, for thesaurus, to not
13947           move to the next match
13948
13949 2001-07-26  Juergen Vigna  <jug@sad.it>
13950
13951         * lyxfont.C (realize): honor ignore_language too!
13952         (resolved): ditto.
13953
13954         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13955
13956         * text.C (draw): one place more for ignore_language to not draw
13957         itself!
13958
13959 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13962
13963 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13966         the minipage conversion problem.
13967
13968 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13971         insert an inset.
13972
13973 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * BufferView.h: don't forward declare WorkArea
13976
13977         * BufferView.C: don't include WorkArea.h
13978
13979 2001-07-25  André Pönitz <poenitz@gmx.net>
13980
13981         * commandtags.h:
13982         * LyXAction.C:
13983         * lyxfunc.C:  new LFUN 'math-space'
13984
13985         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13986
13987 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * text2.C (toggleInset): call open/close
13990
13991 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxfunc.C (dispatch): add debug for the disabled case
13994
13995         * font.C (buttonText): make similar to rectText
13996
13997         * buffer.C (readInset): comment out parsing of insetlist and
13998         insttheorem
13999
14000         * PainterBase.C (rectText): small correction
14001
14002         * BufferView_pimpl.C: comment out insettheorem and insetlist
14003         * LyXAction.C: ditto
14004         * commandtags.h: ditto
14005
14006 2001-07-24  Juergen Vigna  <jug@sad.it>
14007
14008         * text.C (draw): honor the ignore_language.
14009
14010         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14011
14012 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14015         char inset.
14016
14017 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14018
14019         * lyxtext.h: remove unused (and unimplemented) methods
14020
14021 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14022
14023         * text.C (getVisibleRow): honor background color
14024
14025         * PainterBase.h:
14026         * Painter.h: remove default color argument for fillRectangle
14027
14028         * text.C (backgroundColor): new method
14029
14030 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14031
14032         * text.C (getVisibleRow): adjust
14033
14034         * font.[Ch] (rectText): new method, metrics
14035         (buttonText): new method, metrics
14036
14037         * PainterBase.[hC]: make rectText and buttonText always draw and take
14038         fewer paramteres.
14039
14040 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14041
14042         * ToolbarDefaults.C (read):
14043         * MenuBackend.C (read): allow escaping in all strings
14044
14045         * BufferView_pimpl.C (insertAndEditInset): new method.
14046         (Dispatch): use insertAndEditInset whenever appropriate.
14047
14048         * BufferView_pimpl.C (insertNote): removed
14049
14050         * BufferView_pimpl.C (smartQuote): new method, moved from
14051         BufferView; if an insetquote cannot be inserted, insert a '"'
14052         character instead.
14053
14054         * BufferView2.C: remove insertCorrectQuote();
14055
14056         * lyxfunc.C (getStatus): Add support for all remaingin
14057         inset-insert lfuns.
14058
14059         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14060
14061         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14062         command (necessary to pass " as parameter of self-insert.
14063
14064         * text.C (selectWordWhenUnderCursor):
14065         (selectWord): add word_location parameter
14066         (selectWordWhenUnderCursor): same + remove special code for word
14067         boundary.
14068         (selectNextWord): use kind() to guess type of insetspecialchar,
14069         not latex().
14070
14071         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14072         (insertErtContents): create ert insets as collapsed.
14073         (readInset): better compatibility code for Info inset.
14074
14075 2001-07-20  Juergen Vigna  <jug@sad.it>
14076
14077         * lyxfunc.C (dispatch): use always LyXFind now!
14078
14079         * text2.C (init): add a reinit flag so that the LyXText can be
14080         reinited instead of deleted and reallocated (used in InsetText).
14081
14082         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14083
14084         * text.C: ditto
14085
14086         * text2.C: ditto
14087
14088 2001-07-18  Juergen Vigna  <jug@sad.it>
14089
14090         * text.C (selectNextWord): handle insets inside inset by calling
14091         always the bv->text functions so that we can go up the_locking_inset!
14092
14093         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14094         in strange locations when inside an inset!
14095
14096         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14097         handling to include insets.
14098
14099         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14100
14101 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * LyXAction.C (init):
14104         * commandtags.h:
14105         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14106         LIGATURE_BREAK, since the name is so stupid.
14107
14108 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14111         InsetInfos.
14112
14113         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14114
14115         * sp_form.[Ch]: remove.
14116
14117         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14118
14119         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14120         InsetInfo.
14121
14122         * src/buffer.C (readInset): ditto.
14123
14124 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14125
14126         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14127         menuSeparator(), endOfSentenceDot(), ldots() and
14128         hyphenationPoint(), which are therefore removed.
14129         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14130
14131         * LyXAction.C (init):
14132         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14133
14134         * paragraph.C (getWord): removed.
14135
14136         * BufferView_pimpl.C (Dispatch): use last word or selection for
14137         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14138
14139         * lyx_main.C (queryUserLyXDir): do not ask before creating
14140         user_dir, except if it has been named explicitely.
14141
14142 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14145         a document of zero size.
14146
14147 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14148
14149         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14150         approriately in the c-tor and in require().
14151         (getPackages): output the appropriate LaTeX for natbib support.
14152
14153         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14154         variables "use_natbib" and "use_numerical_citations" when reading the
14155         LyX file.
14156         (readInset): read the various natbib cite commands.
14157         (validate): white-space change.
14158
14159         * bufferparams.[Ch]: new variables "bool use_natbib" and
14160         "bool use_numerical_citations".
14161         (writeFile): output them in the LyX file.
14162
14163 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14164
14165         * lyxfunc.C (getStatus): add support for all the inset insertion
14166         commands.
14167
14168         * text2.C (insertInset):
14169         * paragraph.C (insetAllowed):
14170         * BufferView_pimpl.C (insertInset): update to take in account the
14171         renaming of insertInsetAllowed
14172
14173         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14174
14175         * text2.C (getInset): new method. returns inset at cursor position.
14176
14177         * BufferView_pimpl.C (Dispatch): changes because of this.
14178
14179         * LyXAction.C (init): rename open-stuff to inset-toggle.
14180
14181         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14182
14183         * text2.C (toggleInset): renamed from openStuff; use
14184         Inset::open().
14185
14186 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14187
14188         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14189
14190         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14191
14192 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * buffer.C (readLyXformat2): Add filename to the error dialog
14195
14196 2001-07-18  Juergen Vigna  <jug@sad.it>
14197
14198         * tabular.C (GetCellNumber): put an assert here instead of the check!
14199
14200 2001-07-17  Juergen Vigna  <jug@sad.it>
14201
14202         * BufferView_pimpl.C (toggleSelection): adapted too.
14203
14204         * text.C (selectNextWord): adapted for use with insets.
14205         (selectSelectedWord): ditto
14206
14207 2001-07-17  Juergen Vigna  <jug@sad.it>
14208
14209         * sp_spell.C (PSpell): fix initialitation order.
14210
14211 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14212
14213         * paragraph.C: spacing
14214
14215 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14216
14217         * sp_spell.C: repair language selection for pspell
14218
14219 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * lyxfunc.h: change more methods to begin with lower char.
14222
14223 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14226         for unknown layouts.
14227
14228 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14229
14230         * buffer.C (readLyXformat2): Generate an error dialog if there are
14231         unknown layouts.
14232
14233 2001-07-16  Juergen Vigna  <jug@sad.it>
14234
14235         * sp_spell.C: always compile ISpell part.
14236
14237         * lyxrc.C: added use_pspell entry and it's handling.
14238
14239 2001-07-13  Juergen Vigna  <jug@sad.it>
14240
14241         * sp_spell.C: removed double includes.
14242
14243 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14244
14245         Consistent use of Lsstream.h:
14246         * Lsstream.h: added using std::stringstream for consistencies sake.
14247
14248         * buffer.C: removed using std::stringstream
14249
14250         * lyxfont.C (stateText):
14251         * paragraph.C (asString):
14252         * text.C (selectNextWord, selectSelectedWord):
14253         * text2.C (setCounter):
14254         * vspace.C (asString, asLatexString):
14255         std::ostringstream -> ostringstream.
14256
14257 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14258
14259         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14260         * commandtags.h: add LFUN_HELP_ABOUTLYX
14261         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14262
14263 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14264
14265         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14266         cursorToggle()
14267         * lyx_gui_misc.C: remove spellchecker
14268         * lyxfunc.C: showSpellchecker
14269         * sp_base.h: added
14270         * sp_ispell.h: added
14271         * sp_pspell.h: added
14272         * sp_spell.C: added
14273         * sp_form.[Ch]: removed
14274         * spellchecker.[Ch]: removed
14275
14276 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14277
14278         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14279         is set.
14280         (simpleTeXSpecialChars): Simply print the input character without
14281         any special translation if pass_thru is set.
14282
14283         * layout.h: Added bool pass_thru to layout class for being able to
14284         implement pass through of a paragraph for Literate Programming.
14285
14286         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14287         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14288         * layout.C (Read): add "passthru" to list of layout tags and add
14289         code to set the pass_thru boolean when it is read.
14290
14291 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * trans_decl.h: remove allowed from KmodInfo
14294
14295         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14296         remove allowed code
14297         (Load): adjust
14298
14299         * paragraph_pimpl.C (erase): use boost::prior
14300
14301         * Painter.C (text): use data() instead of c_str() when length is
14302         also provided.
14303         * WorkArea.C (putClipboard): ditto
14304         * font.h (width): ditto
14305
14306         * BufferView2.C: use it-> instead of (*it). for iterators
14307         * texrow.C: ditto
14308         * paragraph_pimpl.C: ditto
14309         * paragraph.C: ditto
14310         * minibuffer.C: ditto
14311         * language.C: ditto
14312         * kbmap.C: ditto
14313         * encoding.C: ditto
14314         * counters.C: ditto
14315         * converter.C: ditto
14316         * chset.C: ditto
14317         * Variables.C: ditto
14318         * TextCache.C: ditto
14319         * MenuBackend.C: ditto
14320         * LyXAction.C: ditto
14321         * LColor.C: ditto
14322         * FloatList.C: ditto
14323         * DepTable.C: ditto
14324         * ColorHandler.C (LyXColorHandler): ditto
14325
14326 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14329
14330         * text2.C (openStuff): reintroduce this method (which had been
14331         nuked in NEW_INSETS frenzy).
14332
14333         * lyxfunc.C (Dispatch): when an action has not been handled, use
14334         its name in the error message, not its number.
14335
14336         * paragraph.C (inInset): change method name to begin with lowercase.
14337
14338         * undo_funcs.C:
14339         * text2.C: updates because of this.
14340
14341 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * ToolbarDefaults.C (add): add spaces in error message
14344
14345 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14348         (readLyXformat2): rename return_par to first_par, use lyxlex's
14349         pushToken and remove the manual push handling.
14350         (parseSingleLyXformat2Token): add another ert comp. variable:
14351         in_tabular, rename return_par to first_par. handle newlines better
14352
14353 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14354
14355         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14356
14357 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * text2.C (getParFromID): removed
14360
14361         * buffer.C (getParFromID): new method moved form lyxtext.
14362         * BufferView2.C (insertErrors): adjust
14363         (setCursorFromRow): adjust
14364         * BufferView_pimpl.C (restorePosition): adjust
14365         * lyxfunc.C (Dispatch): adjust
14366         * undo_funcs.C (textUndo): adjust
14367         (textRedo): adjust
14368         (textHandleUndo): adjust
14369         (textHandleUndo): adjust
14370
14371 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * buffer.C: up' the LYX_FORMAT
14374
14375         * lyxfont.h: turn NO_LATEX on as default
14376
14377         * buffer.C (insertErtContents): new methods of tex style compability.
14378         (parseSingleLyXformat2Token): use it several places.
14379         * tabular.C (OldFormatRead): and here
14380
14381 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * text2.C: remove some commented code.
14384         reindent file.
14385
14386         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14387         * trans.C: changes because of the above.
14388
14389 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * text2.C (setCounter): Fix counters bug with bibliography layout.
14392
14393 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14396         own member functions
14397         (simpleTeXSpecialChars): ditto
14398
14399 2001-07-06  Juergen Vigna  <jug@sad.it>
14400
14401         * a lot of files: changed the access to LyXText::status and the
14402         call of undo-functions.
14403
14404         * undo.[Ch]: added a inset_id to the undo informations.
14405
14406         * undo_funcs.[Ch]: added and moved here all undo functions.
14407
14408         * lyxtext.h: give the status enum a weight, made status_ a private
14409         variable and made accessor functions for it, removed the whole bunch
14410         of undo-functions as they are now in their own file, make some
14411         functions publically available. Added function ownerParagraph with
14412         int parameter.
14413
14414         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14415         made InInset() a const function, added getParFromID() function.
14416
14417         * buffer.[Ch]: added const version for inset_iterator functions,
14418         added getInsetFromID() function.
14419
14420         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14421         changed undo functions for new version.
14422
14423 2001-07-05  Juergen Vigna  <jug@sad.it>
14424
14425         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14426         unknow mechanism does not call the proper constructor but only this
14427         one also if I request the other!?
14428
14429 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14430
14431         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14432
14433         * text2.C (LyXText): use initialization lists.
14434
14435         * lyxtext.h (Selection): initialize set_ and mark_
14436         (init): remove method
14437
14438 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14439
14440         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14441
14442 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14443
14444         * screen.[Ch]: change method names to begin with lowercase
14445
14446         * BufferView_pimpl.C (updateScrollbar): simplify further and
14447         hopefully make it a bit faster.
14448
14449 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14452         calling directly xforms functions.
14453
14454         * Painter.C (Painter):
14455         * lyx_cb.C (MenuWrite):
14456         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14457         fl_display.
14458
14459         * lyx_gui.C: remove bogus guiruntime extern declaration.
14460
14461 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14464         in NEW_INSETS
14465         (redoDrawingOfParagraph): ditto
14466         (redoParagraphs): ditto
14467         (cutSelection): don't create a object for CutAndPaste use the
14468         static method directly
14469         (pasteSelection): ditto
14470
14471         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14472         LyXview (+ rename)
14473
14474 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14475
14476         * modifications to some other files because of this.
14477
14478         * Makefile.am (lyx_SOURCES): add XFormsView
14479
14480         * XFormsView.[Ch]: new files
14481
14482         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14483         the main window. Move the gui dependent stuff to XFormsView
14484
14485 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * tabular.C (GetCellInset): update cur_cell also in the row/col
14488         version of this function.
14489
14490         * lyxfunc.C: no need to include figure_form.h here.
14491
14492         * FontLoader.h:
14493         * lyxfunc.h:
14494         * lyxscreen.h:
14495         * text2.C:
14496         * lyxvc.C: no need to include forms.h here.
14497
14498 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14501
14502         * lyxfunc.C (Dispatch):
14503         * Spacing.C (set):
14504         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14505         constructor argument.
14506
14507 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * paragraph.C (Paragraph): dont't clear, and just set layout.
14510         (makeSameLayout): use params's copy contructor.
14511
14512         * ParagraphParameters.[Ch] (makeSame): delete method
14513
14514 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * Variables.[Ch]: fix indentation, rename set to isSet
14517
14518 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14519
14520         * lyxfunc.C (Dispatch): fix typo
14521
14522 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14525         upper_bound.
14526
14527         * bufferlist.C: include assert.h for emergencyWrite().
14528
14529 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14530
14531         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14532           give up at last (bug #425202) !
14533
14534 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * lyx_gui_misc.C:
14537         * sp_form.h:
14538         * sp_form.C:
14539         * spellchecker.h:
14540         * spellchecker.C: strip spellchecker options and bring up
14541           preferences tab instead
14542
14543 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14546         the istringstream constructor
14547
14548 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * paragraph.C (getLayout): fix return value
14551
14552         * paragraph.h: do not declare getLayout as inline.
14553
14554         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14555
14556 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14557
14558         * lyxcursor.h (operator<): new func
14559         (operator>): new func
14560         (operator>=): new func
14561         (operator<=): new func
14562
14563         * text.C (changeCase): use selection.start and selection.end
14564         (changeRegionCase): require from to be <= to. Require par to be a
14565         valid paragraph.
14566
14567         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14568
14569 2001-06-27  Juergen Vigna  <jug@sad.it>
14570
14571         * text.C (cursorLeftOneWord): changed to return the cursor and added
14572         overlay with BufferView * parameter which calls this one.
14573         (getWord): added
14574         (selectWord): use new getWord function.
14575         (changeCase): renamed from changeWordCase as and extended to work
14576         also on selections.
14577
14578         * lyxtext.h: added enum word_location
14579
14580         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14581         changeCase as this operates now also on selections.
14582
14583 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14584
14585         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14586
14587         * many files: send debug output to Debug::INFO instead of
14588         Debug::ANY.
14589
14590         * converter.C (View):
14591         (Convert):
14592         (Move): send debug output to Debug::FILES instead of console.
14593
14594 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14595
14596         * lyxfunc.C (getStatus): use func_status
14597
14598         * func_status.h: new header, describing the results of
14599         LyXFunc::getStatus;
14600
14601         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14602         LFUN_MATH_HALIGN.
14603
14604 2001-06-25  The LyX Project  <jug@sad.it>
14605
14606         * buffer.C (sgmlOpenTag):
14607         (sgmlCloseTag):
14608         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14609
14610 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * text2.C: remove some dead code
14613
14614         * tabular.C (GetCellInset): store the last cell checked (gotten)
14615
14616         * tabular.h: add the helper for the speedup
14617
14618         * lyxtext.h: remove some dead code
14619
14620 2001-06-26  The LyX Project  <Asger>
14621
14622         * paragraph.C: Change export to LaTeX of alignment to
14623         \begin{center} and family for better roundtrip work with reLyX.
14624
14625         * Tune the math drawing a bit.
14626
14627 2001-06-25  The LyX Project  <Asger>
14628
14629         * LColor.C (LColor): New color for math background. New color
14630         for buttons.
14631
14632 2001-06-25  The LyX Project  <jug@sad.it>
14633
14634         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14635
14636         * lyxfunc.C (Open):
14637         * bufferlist.C (newFile): do not restrict to files ending with
14638         .lyx
14639
14640         * BufferView_pimpl.C (MenuInsertLyXFile):
14641
14642 2001-06-24  The LyX Project  <jug@sad.it>
14643
14644         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14645         of compare_no_case
14646
14647 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * lyxtext.h: rename most methods to begin with a small char.
14650         Lots of changes because of this.
14651
14652         * paragraph.C (Paragraph): do not call fitToSize
14653         (erase): call Pimpl::erase
14654         (insertChar): call Pimpl::insertChar
14655         (insertInset): call Pipl::insertInset
14656         (breakParagraph): do not call fitToSize
14657         (breakParagraphConservative): do not call fitToSize
14658         (fitToSize): remove method
14659
14660         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14661
14662 2001-06-24  The LyX Project  <Asger>
14663
14664         * Fix Qt compilation^2
14665
14666 2001-06-24  The LyX Project  <jug@sad.it>
14667
14668         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14669         depthHook(getDepth()-1).
14670
14671         * paragraph.h:
14672         * ParagraphParameters.h:
14673         * ParameterStruct.h: change type of depth to unsigned int ==
14674         depth_type. Many adaptations to other files before of that.
14675
14676 2001-06-24  The LyX Project  <Asger>
14677
14678         * Fix Qt compilation.
14679
14680 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * paragraph.h: renamed several methods to begin with small letter.
14683         several changes to many parts of the code because of this.
14684
14685 2001-06-23  The LyX Project  <jug@sad.it>
14686
14687         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14688         rewritten to discard all double spaces when KeepEmpty is off
14689         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14690         to only handle newlines but not fiddle with spaces and friends.
14691
14692         * lyxfunc.C (MenuNew): when doing 'new from template', use
14693         template_path as default directory
14694
14695 2001-06-23  The LyX Project  <Asger>
14696
14697         * Clean-up of header file includes all over
14698         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14699
14700 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14701
14702         * paragraph.h: renamed from lyxparagraph.h
14703
14704 2001-06-23  Asger  <lyx@violet.home.sad.it>
14705
14706         * Buffer.h: Removed Buffer::resize
14707         * BufferList.h: Removed BufferList::resize
14708         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14709         the document lazily when we change the width, or the font settings.
14710
14711 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14714
14715 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * buffer.h: remove out of date comment
14718
14719 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * lyxscreen.h:
14722         * screen.C: fix "theoretical" GC leak
14723
14724 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14725
14726         * LaTeX.C (scanAuxFile):
14727         (deplog): remove trailing \r when reading stream (useful under
14728         win32)
14729
14730 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14731
14732         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14733         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14734         and BufferView::theLockingInset(Inset*), so should use them and not
14735         access bv_->text->the_locking_inset directly.
14736
14737         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14738
14739 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * Makefile.am:
14742         * tex-defs.h: remove old unused file
14743
14744 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * BufferView_pimpl.C: fix typo, remove minibuffer message
14747           when buffer has loaded
14748
14749 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * lyxfunc.C (Dispatch): use stringstream
14752         (MenuNew): use stringstream
14753         (Open): use stringstream
14754
14755         * importer.C (Import): use stringstream
14756
14757         * bufferview_funcs.C (CurrentState): use stringstream
14758
14759         * LaTeX.C (run): use stringstream
14760
14761         * BufferView_pimpl.C (savePosition): use stringstream
14762         (restorePosition): use stringstream
14763         (MenuInsertLyXFile): use stringstream
14764
14765 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14766
14767         * BufferView.C:
14768         * Bullet.C:
14769         * ColorHandler.C:
14770         * FontInfo.C:
14771         * FontLoader.C:
14772         * LColor.C:
14773         * LaTeXFeatures.C:
14774         * Painter.C:
14775         * gettext.C:
14776         * lyx_gui_misc.C:
14777         * lyxserver.C:
14778         * vspace.C: removed // -*- C++ -*- as first line.
14779
14780         * lyxfind.h:
14781         * version.h: added // -*- C++ -*- as first line.
14782
14783 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14784
14785         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14786
14787         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14788         of string
14789
14790 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14793         of floats.
14794
14795 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * gettext.C: include LString.h even when --disable-nls is on.
14798
14799 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14800
14801         * converter.h (Get): changed argument type from int to
14802         FormatList::size_type to avoid unnecessary conversion.
14803
14804         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14805         before using it.
14806
14807 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * gettext.h: include LString.h even when --disable-nls is on.
14810
14811 2001-06-07  Juergen Vigna  <jug@sad.it>
14812
14813         * text.C (BreakAgain): subst spaces with tabs.
14814
14815         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14816         (resizeInsetsLyXText): set force on resizeLyXText.
14817
14818 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * gettext.h (gettext_init):
14821         (locale_init): use a real definition instead of a macro
14822
14823 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * Bufferview_pimpl.C:
14826         * LColor.h:
14827         * LColor.C: further lcolor tidies
14828
14829 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * BufferView_pimpl.C (updateScrollbar): simplify.
14832
14833         * BufferView2.C: don't include insets/insetinfo.h, change
14834         prototype for insertInset and call the Pimpl version. let
14835         updateInset call Pimpl version.
14836
14837         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14838         gotoInset to BufferView::Pimpl
14839
14840 2001-06-01  Juergen Vigna  <jug@sad.it>
14841
14842         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14843         inside a LockingInset (is the update needed at all?).
14844
14845 2001-05-31  Juergen Vigna  <jug@sad.it>
14846
14847         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14848         here not the old one otherwise how should we compare it afterwards
14849         if it's the same!
14850
14851 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14852
14853         * lyxfont.C:
14854         * tabular.C:
14855         * tabular-old.C:
14856         * FontInfo.C: bring C functions into global namespace when
14857         necessary
14858
14859 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * LString.h: make sure config.h has been loaded before LString.h.
14862
14863         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14864         (one for each char read by EatLine!).
14865
14866         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14867         variables.
14868
14869 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14872         to the same as the par we break from
14873
14874 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14877
14878         * MenuBackend.C (expand): also create menu entries for wide
14879         versions of the floats.
14880
14881         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14882
14883         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14884
14885         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14886         frontends/Makefile.am
14887
14888         * text2.C: adjust
14889         * text.C: adjust
14890
14891
14892         * tabular.C (getTokenValue): add std::
14893
14894         * tabular-old.C (getTokenValue): add std::
14895         (getTokenValue): ditto
14896         (getTokenValue): ditto
14897
14898         * screen.C (ToggleSelection): adjust
14899
14900         * lyxtext.h: put selection cursors inside a Selection struct.
14901
14902         * lyxfunc.C (moveCursorUpdate): adjust
14903
14904         * lyxfont.C (latexWriteStartChanges): add std::
14905
14906         * lyxfind.C: adjust
14907
14908         * font.h: delete with(char const *, LyXFont const &)
14909
14910         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14911
14912         * FontInfo.C (getFontname): add std::
14913
14914         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14915         (workAreaButtonPress): adjust
14916         (tripleClick): adjust
14917         (update): adjust
14918         (moveCursorUpdate): adjust
14919         (Dispatch): adjust
14920
14921         * BufferView2.C (gotoInset): adjust
14922
14923 2001-05-30  Juergen Vigna  <jug@sad.it>
14924
14925         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14926         to check pspell I add this as default as I now have new pspell
14927         libraries and they seem to use this.
14928
14929 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14930
14931         * text2.C (CutSelection): make the cursor valid before the call to
14932         ClearSelection.
14933
14934 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14935
14936         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14937         relied on 0 terminated strings and other horrors. Bug found due to
14938         the new assert in lyxstring!
14939
14940         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14941         KP_ keys.
14942
14943 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14944
14945         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14946         to latinkeys.bind.
14947
14948         * lyxfunc.C (processKeySym): change method of getting to the
14949         self-insert char.
14950
14951         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14952         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14953         * BufferView_pimpl.[Ch]: here as private methods.
14954
14955 2001-05-28  Juergen Vigna  <jug@sad.it>
14956
14957         * text.C (SetHeightOfRow): added the update() call again as it is
14958         needed to initialize inset dimensions!
14959
14960 2001-05-16  Juergen Vigna  <jug@sad.it>
14961
14962         * text2.C (SetCharFont): Add new function with BufferView * and
14963         bool toggleall parameters for setting insets internal fonts.
14964         (SetFont): Freeze the undo as we may change fonts in Insets and
14965         all this change should be inside only one Undo!
14966
14967         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14968         setting font's in insets as for them we have the SetFont function!
14969
14970 2001-05-15  Juergen Vigna  <jug@sad.it>
14971
14972         * text2.C (ClearSelection): to be sure we REALLY don't have any
14973         selection anymore!
14974
14975         * tabular.C (TeXCellPreamble): fixed the left border problem for
14976         multicolumn cells.
14977
14978 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14981         dependancy file
14982
14983 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14986         LFUN_BREAKPARAGRAPH.
14987
14988         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14989         help test to "internal only", similar for LFUN_INSERT_URL
14990
14991         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14992         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14993         auto_region_delete and deadkeys.
14994
14995 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * LColor.h:
14998         * LColor.C: remove some dead entries, tidy a little
14999
15000 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15001
15002         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15003         commented code.
15004         (Dispatch): implement LFUN_ESCAPE
15005
15006         * commandtags.h: add LFUN_ESCAPE
15007
15008         * LyXAction.C (init): add entry for LFUN_ESCAPE
15009
15010         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15011         Remove commented code.
15012         (insertNote): moved here
15013         (open_new_inset): moved here
15014
15015         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15016         BufferView_pimpl
15017
15018 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * kbmap.C (findbinding): clean it up and make it work correctly.
15021
15022         * lyx_main.C (init): do not pass argc and argv as parameters
15023
15024 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15025
15026         * buffer.C: fix path for OS/2 & Win32
15027
15028         * lyx_gui.C:
15029         * lyx_main:
15030         * lyx_main.C: Added os:: class.
15031
15032         * os2_defines.h: update
15033
15034 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15037         better by trying again with reduced state.
15038
15039 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * lyxrc.C (read): print error about invalid key sequence only when
15042         debugging (because not all latinX keysyms are known to some X
15043         servers)
15044
15045         * kbsequence.C (getiso): add a few std:: qualifiers
15046         (getiso): comment out extra return statement.
15047
15048 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15051         handling.
15052         (Dispatch): enhance the accent inset a bit. (not perfect)
15053
15054 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15057
15058 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * bufferlist.C (emergencyWrite): fix assert() call
15061
15062 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15063
15064         * text.C (InsertChar): Added trivial patch to only send the "you
15065         can not do multiple spaces this way" message once during a
15066         session.
15067
15068 2001-05-08  Baruch Even  <baruch@lyx.org>
15069
15070         * Makefile.am: Changed order of libraries to get LyX to link properly
15071         with the gnome frontend.
15072
15073 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * LaTeXFeatures.h: add a std:: qualifier
15076
15077 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * paragraph.C (String): use stringstream
15080
15081 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15082
15083         * paragraph.C (writeFile): remove footflag arg
15084
15085         * buffer.C (makeLaTeXFile): use stringstream
15086         (latexParagraphs): remove footnot gurba
15087
15088         * LaTeXFeatures.C (getPackages): use stringstream
15089         (getMacros): likewise
15090         (getTClassPreamble): likewise
15091         (getFloatDefinitions): new method
15092
15093         * paragraph.C (writeFile): reindent
15094         (Erase): reindent
15095
15096         * WorkArea.h: revert the xpos + etc changes.
15097
15098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15099
15100         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15101
15102         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15103         (pasteSelection): likewise
15104         * text2.C (CreateUndo): likewise
15105
15106 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * minibuffer.C (peek_event): temporarily reduce the functionality
15109         of the minibuffer (to allow args on lfuns)
15110
15111         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15112         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15113
15114         * buffer.C (readInset): add compability reading of old float
15115         lists, add reading of new style float list.
15116         (readInset): avoid reevaluation of inscmd.getCmdName()
15117         (getLists): reindent
15118
15119         * MenuBackend.C (MenuItem): implement parsing of
15120         md_floatlistinsert and md_floatinsert.
15121         (expand::LastFiles): move initalizaton of iterators out of loop,
15122         avoid reevaluation.
15123         (expand::Documents): introduce typdedef vector<string> Strings,
15124         and use it.
15125         (expand::ExportFormats): introduce typedef vector<Format const *>
15126         Formats, and use it.
15127         (expand): implement FloatListInsert and FloatInsert.
15128
15129         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15130         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15131         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15132
15133         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15134         handling.
15135         (Dispatch::LFUN_FLOAT_LIST): implement
15136
15137 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15138
15139         * LaTeX.C (run): Fix problem with --export code.
15140
15141 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15142
15143         * BufferView.[Ch] (workarea): removed.
15144         (getClipboard) new method; wrapper for workarea()->getClipboard()
15145
15146         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15147         bug.
15148
15149         * WorkArea.h (width, height, xpos, ypos): These methods all
15150         returned the dimensions of the work_area sub-area of WorkArea,
15151         resulting in a position error if the WorkArea were resized. Now
15152         return the dimensions of the entire WorkArea.
15153
15154         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15155
15156 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * LaTeX.C (deplog): correct the syntax of regex reg1
15159
15160 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * undo.C: remove !NEW_INSETS cruft
15163
15164 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * text2.C: remove !NEW_INSETS cruft
15167
15168         * text.C: remove !NEW_INSETS cruft
15169
15170         * tabular.C: remove !NEW_INSETS cruft
15171
15172         * spellchecker.C: remove !NEW_INSETS cruft
15173
15174         * lyxtext.h: remove !NEW_INSETS cruft
15175
15176         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15177
15178         * lyxfunc.C: remove !NEW_INSETS cruft
15179
15180         * lyxfind.C: remove !NEW_INSETS cruft
15181
15182         * lyx_cb.C: remove !NEW_INSETS cruft
15183
15184         * figureForm.C: remove  !NEW_INSETS cruft
15185
15186         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15187
15188         * buffer.[Ch]: remove !NEW_INSETS cruft
15189
15190         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15191
15192         * CutAndPaste.C: remove !NEW_INSETS cruft
15193
15194         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15195
15196         * BufferView2.C: remove !NEW_INSETS cruft
15197
15198         * BufferView.h: remove !NEW_INSETS cruft
15199
15200 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15201
15202         * Lsstream.h: include LString.h before the sstream headers to
15203         fix problem with gcc 2.95.3 and lyxstring
15204
15205 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * lyx_main.C: add using directives when needed for C functions
15208         declared in std:: namespace.
15209
15210 2001-04-27  Juergen Vigna  <jug@sad.it>
15211
15212         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15213         (SetHeightOfRow): comment out the update call should not be needed!
15214
15215 2001-04-13  Juergen Vigna  <jug@sad.it>
15216
15217         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15218         (LyXTabular): tried to minimize operator= operations (and realized
15219         hopfully Lars wish).
15220
15221 2001-04-27  Juergen Vigna  <jug@sad.it>
15222
15223         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15224
15225 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15228
15229         * buffer.C (readInset): hack to make listof algorithm work
15230
15231         * BufferView_pimpl.C: hack to make listof algorithm work
15232
15233 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * LyXAction.C: removed all !NEW_INSETS cruft
15236         (init): moved lfun_item in method
15237
15238         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15239
15240 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15241
15242         * BufferView2.C (theLockingInset): white space.
15243
15244 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15245
15246         * minibuffer.C: include <iostream>
15247
15248         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15249
15250         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15251
15252         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15253
15254         * text.[Ch] (TransposeChars): new method
15255
15256 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15257
15258         * call message directly through LyXView instead of through LyXFunc
15259         * BufferView2.C: adjust
15260         * BufferView_pimpl.C: adjust
15261         * FontLoader.C: adjust
15262         * buffer.C: adjust
15263         * bufferview_funcs.C: adjust
15264         * converter.C: adjust
15265         * figureForm.C: adjust
15266         * importer.C: adjust
15267         * lyx_cb.C: adjust
15268         * lyx_gui_misc.C: adjust
15269         * lyxfunc.C: adjust
15270         * lyxvc.C: adjust
15271         * text2.C: adjust
15272         + more files in subdirs
15273
15274         * lyxparagraph.h (size): move up int file
15275         (GetLayout): ditto
15276
15277         * adjust all uses of Assert to lyx::Assert.
15278
15279         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15280         lyxfunctional in namespace lyx
15281         * layout.C (hasLayout): ditto
15282         (GetLayout): ditto
15283         (GetLayout): ditto
15284         (delete_layout): ditto
15285         (NumberOfClass): ditto
15286         * converter.C (GetFormat): ditto
15287         (GetNumber): ditto
15288         (Add): ditto
15289         (Delete): ditto
15290         (SetViewer): ditto
15291         * bufferlist.C (getFileNames): ditto
15292         (emergencyWriteAll): ditto
15293         (exists): ditto
15294         (getBuffer): ditto
15295         * MenuBackend.C (hasSubmenu): ditto
15296         (hasMenu): ditto
15297         (getMenu): ditto
15298         * BufferView_pimpl.C (getInsetByCode): ditto
15299
15300 2001-04-18  Juergen Vigna  <jug@sad.it>
15301
15302         * vspace.C (asLatexString): fixed the 100% problem.
15303
15304 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15305
15306         * lyxfunc.C (Dispatch):
15307         * minibuffer.C:
15308         * minibuffer.h: add a few std:: qualifiers
15309
15310 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15311
15312         * minibuffer.[Ch]: reimplement so that commands is initiated and
15313         run from lyxfunc, simplified som handling, and made the completion
15314         and history code for complete. wip.
15315
15316         * lyxfunc.C (processKeySym): call message
15317         (miniDispatch): new temporary method
15318         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15319         (LFUN_MESSAGE): implement
15320         (LFUN_MESSAGE_PUSH): implement
15321         (LFUN_MESSAGE_POP): implement
15322         (initMiniBuffer): the initial/defualt minibuffer message.
15323
15324         * lyxfont.[Ch]: inline some more getters
15325
15326         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15327
15328         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15329
15330         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15331         (AutoSave): use LFUN_MESSAGE
15332         (Reconfigure): ditto
15333
15334         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15335
15336         * figureForm.C: use LFUN_MESSAGE
15337
15338         * converter.C (runLaTeX): use LFUN_MESSAGE
15339
15340         * bufferview_funcs.C: use LFUN_MESSAGE
15341         (Melt): ditto
15342         (changeDepth): ditto
15343
15344         * bufferparams.h: use boost::
15345
15346         * bufferlist.h: inherit privately from noncopyable
15347
15348         * bufferlist.C (loadLyXFile): remove some commented code.
15349
15350         * buffer.C (runChktex): use LFUN_MESSAGE
15351
15352         * ShareContainer.h: inherit privately from noncopyable
15353
15354         * ParagraphParameters.[hC] (depth): inline it.
15355
15356         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15357         methods.
15358         (message): new method
15359         (messagePush): ditto
15360         (messagePop): ditto
15361         (show): init minibuffer
15362         (showState): direct call
15363
15364         * LaTeX.[Ch]: inherit privately from noncopyable
15365         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15366         instead of WriteStatus.
15367
15368         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15369
15370         * BufferView_pimpl.C (buffer): don't init minibuffer
15371         (workAreaButtonPress): use LFUN_MESSAGE
15372         (workAreaButtonRelease): ditto
15373         (savePosition): ditto
15374         (restorePosition): ditto
15375         (MenuInsertLyXFile): ditto
15376         (workAreaExpose): don't init minibuffer
15377         (update): remove commented code, simplify
15378
15379         * BufferView2.C (openStuff): use LFUN_MESSAGE
15380         (toggleFloat): ditto
15381         (menuUndo): ditto
15382         (menuRedo): ditto
15383         (copyEnvironment): ditto
15384         (pasteEnvironment): ditto
15385         (copy): ditto
15386         (cut): ditto
15387         (paste): ditto
15388         (gotoInset): ditto
15389         (updateInset): remove some commented code
15390
15391         * lastfiles.h: inherit privately from noncopyable
15392         * layout.h: ditto
15393         * lyx_gui.h: ditto
15394         * lyx_main.h: ditto
15395         * lyxlex.h: ditto
15396         * lyxlex_pimpl.h: ditto
15397
15398         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15399         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15400         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15401
15402         * LyXAction.h: inherit privately from noncopyable, add methods
15403         func_begin, func_end, returning iterators to the func map.
15404
15405         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15406         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15407         (func_begin): new method
15408         (func_end): new method
15409
15410         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15411         and not)
15412         (copySelection): ditto
15413         (pasteSelection): ditto
15414
15415         * BufferView.C: whitespace change
15416         * BufferView.h: inherit privately from noncopyable
15417
15418 2001-04-16  Allan Rae  <rae@lyx.org>
15419
15420         * tabular-old.C (l_getline):
15421         * spellchecker.C (sc_check_word):
15422         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15423         an unrecognised preprocessor directive.  So ensure they're wrapped.
15424
15425 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * src/exporter.C (Export): Give an error message when path to file
15428         contains spaces.
15429
15430 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * LaTeX.C (deplog): Always check that foundfile exists.
15433
15434 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyx_main.h:
15437         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15438
15439 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15440
15441         * tabular.[Ch] (getLabelList): implement new method
15442
15443         * minibuffer.h: comment ouf setTiimer
15444
15445         * minibuffer.C (ExecutingCB): constify res
15446         (peek_event): constify s
15447         (Set): constify ntext
15448         (Init): constify nicename
15449
15450         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15451
15452         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15453         (savePosition): use two params to Minibuffer::Set
15454         (restorePosition): ditto
15455
15456 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * lyx_main.C: include language.h
15459
15460         * Makefile.am (lyx_main.o): add language.h
15461
15462 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * exporter.C:
15465         * paragraph.C:
15466         * screen.C:
15467         * tabular.C:
15468         * CutAndPaste.C: include gettext.h
15469
15470         * lyxfont.h: remove old hack with ON and OFF.
15471
15472         * lyxparagraph.h:
15473         * lyxfont.h: do not include language.h...
15474
15475         * BufferView2.C:
15476         * LaTeXFeatures.C:
15477         * Painter.C:
15478         * bufferview_funcs.C:
15479         * font.C:
15480         * lyxfont.C:
15481         * text.C:
15482         * text2.C:
15483         * trans_mgr.C:
15484         * paragraph.C: ... but do it here instead
15485
15486 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15489
15490         * tabular.C: small reformat
15491
15492         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15493         NEW_INSETS version
15494         (GetChar): ditto
15495         (BreakParagraph): ditto
15496         (SetOnlyLayout): ditto
15497         (SetLayout): ditto
15498
15499         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15500         with one arg less.
15501
15502         * lastfiles.C: removed most using decl, add std:: where needed
15503
15504         * buffer.C: ws changes
15505
15506         * MenuBackend.C (class compare_format): put into anon namespace
15507         (expand): constify label, names, action, action2
15508         (expand):
15509
15510         * text.C (SingleWidth): constify font
15511         (IsBoundary): constify rtl2
15512         (GetVisibleRow): constify ww
15513
15514         * LaTeX.C (deplog): constify logfile
15515
15516         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15517         start_x, end_x
15518         (workAreaExpose): constify widthChange, heightChange
15519
15520         * lyxrow.C (par): moved
15521         (height): moved
15522         (next): moved
15523         * lyxrow.h: as inlines here
15524
15525         * lyxfont.h (shape): moved from lyxfont.C
15526         (emph): moved from lyxfont.C
15527
15528         * lyxfont.C (LyXFont): use initialization list for all
15529         constructors
15530         (shape): move to lyxfont.h as inline
15531         (emph): move to lyxfont.h as inline
15532
15533
15534 2001-04-04  Juergen Vigna  <jug@sad.it>
15535
15536         * vspace.C: had to include stdio.h for use of sscanf
15537
15538 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * BufferView.h:
15541         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15542         independent of xforms.
15543
15544 2001-04-02  Juergen Vigna  <jug@sad.it>
15545
15546         * spellchecker.C: fixed namespace placing!
15547
15548 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15549
15550         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15551         the LyXParagraph * is 0.
15552
15553 2001-03-29  Juergen Vigna  <jug@sad.it>
15554
15555         * vspace.C: added support for %, c%, p%, l%.
15556         (stringFromUnit): added helper function.
15557         (asLatexString): changed to give right results for the %-values.
15558
15559         * buffer.C: convert the widthp in a width%.
15560
15561 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15562
15563         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15564         figureForm.[Ch].
15565
15566         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15567         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15568
15569         * lyx_cb.[Ch]: see above.
15570
15571         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15572         form1.[Ch].
15573
15574         * form1.[Ch]:
15575         * lyx.[Ch]: replaced by figure_form.[Ch].
15576
15577         * lyx_gui.C:
15578         * lyx_gui_misc.C:
15579         * lyxfunc.C: changed headers associated with above changes.
15580
15581 2001-03-27  Juergen Vigna  <jug@sad.it>
15582
15583         * BufferView_pimpl.C: set the temporary cursor right!
15584
15585 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15588
15589 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * LString.h: removed "using std::getline"!
15592
15593         * BufferView_pimpl.C (Dispatch): changes due to changes in
15594         InsetInclude::Params.
15595
15596         * buffer.C (tag_name): removed redundant break statements as they were
15597         producing lots of warnings with my compiler.
15598
15599 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * LString.h: add "using std::getline" when using the real <string>.
15602
15603 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15604
15605         * buffer.C: removed bitset usage.
15606         PAR_TAG moved to an anonymous name space.
15607         (tag_name): new funtion, also in the anonymous namespace.
15608         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15609         (makeDocBookFile): clean code. Completed transition from string arrays
15610         to string vectors.
15611         (SimpleDocBookOnePar): code clean.
15612
15613 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15614
15615         * tabular.C: add some comments.
15616
15617 2001-03-22  Juergen Vigna  <jug@sad.it>
15618
15619         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15620         compatibility read a bit and fixed bug with minipage in different
15621         depth.
15622
15623 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15624
15625         * buffer.C (pop_tag): removed.
15626         (push_tag): removed.
15627         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15628         array replaced with vector. Added support for CDATA sections.
15629         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15630         at any nest level.
15631         (makeDocBookFile): XML conformant declaration of CDATA section,
15632         fixed bug related to <emphasis> in the first paragraph char.
15633         (sgmlOpenTag): exclude empty tags.
15634         (sgmlCloseTag): ditto.
15635
15636         * buffer.h (pop_tag): removed.
15637         (push_tag): removed.
15638
15639 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * language.h (Languages): added size_type and size().
15642
15643 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15644
15645         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15646         response on compability reading of minipages. One probliem is that
15647         the old usage of minipages was «flertydig»
15648
15649         * several files here and in subdirs: don't use static at file
15650         scope use anon namespaces instead.
15651
15652 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15653
15654         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15655         LaTeX output. This is necessary for Literate document
15656         processing.
15657
15658 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15659
15660         * buffer.C: insert hfill when needed.
15661
15662         * tabular.C (l_getline): use string::erase, small whitespace change.
15663
15664         * BufferView_pimpl.C: try the anon namespace.
15665         * WorkArea.C: ditto
15666
15667 2001-03-16  Juergen Vigna  <jug@sad.it>
15668
15669         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15670         otherwise it won't open options-dialogs.
15671
15672         * buffer.C: honor pextraWidth(p) on converting minipages.
15673
15674         * tabular.C (l_getline): changed the functions to strip trailing \r.
15675
15676 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * BufferView_pimpl.C:
15679         * minibuffer..C: added "using SigC::slot" declaration.
15680
15681 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15682
15683         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15684
15685         * text2.C: ditto
15686
15687         * text.C: ditto
15688
15689         * paragraph.C: ditto
15690
15691         * lyxtext.h: NO_PEXTRA
15692
15693         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15694
15695         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15696         * ParameterStruct.h: ditto
15697         * ParagraphParameters.h: ditto
15698         * lyxparagraph.h: ditto
15699
15700 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15701
15702         * buffer.C: add compability for minipage alignment.
15703         (latexParagraphs): remove unwanted pextra check.
15704
15705         * several files: remove CXX_WORKING_NAMESPACES
15706
15707         * buffer.C (pop_tag): tie is in namespace boost
15708
15709         * BufferView.h: noncopyable is in namespace boost
15710         * lyxlex.h: ditto
15711         * lyx_main.h: ditto
15712         * lyx_gui.h: ditto
15713         * layout.h: ditto
15714         * lastfiles.h: ditto
15715         * bufferlist.h: ditto
15716         * ShareContainer.h: ditto
15717         * LyXView.h: ditto
15718         * LyXAction.h: ditto
15719         * LaTeX.h: ditto
15720
15721 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15722
15723         * Merging changes from BRANCH_MVC back into HEAD.
15724
15725         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15726
15727 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15728
15729         * BufferView_pimpl.C: change from intl.C
15730
15731         * combox.h:
15732         * combox.C:
15733         * Makefile.am: move combox.*
15734
15735         * form1.h:
15736         * form1.C:
15737         * lyx_gui.C:
15738         * intl.h:
15739         * intl.C: remove dialog (covered by prefs)
15740
15741 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15742
15743         * lyxfunc.C (Dispatch): removed redundant break statement.
15744
15745 2001-03-14  Juergen Vigna  <jug@sad.it>
15746
15747         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15748
15749 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15750
15751         * buffer.C: add hack to fix compability reading of minipages.
15752
15753 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15754
15755         * buffer.C (getLists): Cleanup.
15756
15757 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * lyxfont.C (update): don't honor toggleall on font size.
15760
15761 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15762
15763         * bmtable.c:
15764         * bmtable.h:
15765         * Makefile.am: moved to frontends/xforms/
15766
15767         * lyx_gui_misc.C:
15768         * lyxfunc.C:
15769         * BufferView_pimpl.C: changes for moved mathpanel
15770
15771 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15772
15773         * gettext.h: fix gettext_init() in --disable-nls
15774
15775 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15778
15779 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15780
15781         * lyx.C:
15782         * lyx.h: strip external form
15783
15784 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15785
15786         * BufferView_pimpl.C: add comment, destroySplash()
15787
15788 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15789
15790         * BufferView_pimpl.C:
15791         * LyXAction.C:
15792         * buffer.C:
15793         * commandtags.h:
15794         * lyxfunc.C: use re-worked insetinclude
15795
15796 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15797
15798         * buffer.C: add using std::stringstream.
15799
15800         * lyx_cb.C: readd using std::ios.
15801
15802         * buffer.C: add using std::map.
15803
15804         * BufferView_pimpl.C: add using std::vector.
15805
15806         * ShareContainer.h: add std:: to swap.
15807
15808         * buffer.h: add some typedefs
15809         * buffer.C (getLists): use them
15810         (getLists): renamed from getTocList.
15811         add a counter for the different float types and use it in the
15812         generated string.
15813         (getLists): use the same counter for the NEW_INSETS and the "non"
15814         NEW_INSETS
15815
15816         * lyx_cb.h: remove unused items, includes, using etc.
15817
15818         * ShareContainer.h: remove some commented code, add more comments
15819         and "documentation".
15820
15821 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15822
15823         * buffer.C (getTocList): make the list also when NEW_INSETS is
15824         defined.
15825
15826         * buffer.h: remove TocType
15827
15828         * buffer.C (getTocList): change to return a map<string,
15829         vector<TocItem> >, implement for dynamic number of list.
15830
15831         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15832         * text2.C (PasteSelection): adjust
15833         * CutAndPaste.C (pasteSelection): adjust
15834
15835         * FloatList.C (FloatList): update from the new_insets branch.
15836         * Floating.[Ch]: ditto
15837         * LaTeXFeatures.C: ditto
15838         * buffer.C: ditto
15839         * lyxlex_pimpl.C: ditto
15840
15841         * paragraph.C (Last): remove when NEW_INSETS is defined.
15842
15843         * other file: changes because of the above.
15844
15845 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15846
15847         * lyxparagraph.h: rename next to next_, previous to previous_,
15848         make them private for NEW_INSETS. Rename Next() to next(),
15849         Previous() to previous().
15850
15851         * other files: changes because of the above.
15852
15853 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * BufferView.h:
15856         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15857         problem.
15858
15859 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * main.C (main): pass lyx_localedir to gettext_init().
15862
15863         * gettext.h: remove locale_init and gettext_init macros
15864
15865         * gettext.C (locale_init): new function
15866         (gettext_init): new function
15867
15868         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15869         setlocale().
15870
15871 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15872
15873         * Moved credits to frontends:
15874         * credits.[Ch]: removed
15875         * credits_form.[Ch]: removed
15876         * lyx_gui_misc.C: remove credits stuff
15877         * Makefile.am:
15878
15879 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15880
15881         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15882
15883         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15884         unneeded destructor.
15885
15886         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15887         a standalone pointer again.
15888
15889         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15890
15891 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15892
15893         * Makefile.am:
15894         * filedlg.h:
15895         * filedlg.C:
15896         * LyXAction.C:
15897         * ToolbarDefaults.C:
15898         * bufferlist.C:
15899         * commandtags.h:
15900         * form1.C:
15901         * form1.h:
15902         * lyx_cb.C:
15903         * lyx_cb.h:
15904         * lyxfunc.h:
15905         * lyxfunc.C:
15906         * BufferView_pimpl.C: use new file dialog in GUII
15907
15908         * lyx_cb.h:
15909         * lyx_cb.C: remove LayoutsCB to Toolbar
15910
15911 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15912
15913         * ShareContainer.h (get): add std:: qualifier
15914
15915 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15916
15917         * ShareContainer.h: define a proper ShareContainer::value_type
15918         type (and use typename to please compaq cxx)
15919
15920 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15921
15922         * lyxparagraph.h: move serveral local vars to
15923         ParameterStruct/ParagraphParameters., use ShareContainer in
15924         FontTable., make vars in FontTable private and add getter and
15925         setter.
15926
15927         * paragraph.C: changes because of the above.
15928
15929         * lyxfont.h: remove copy constructor and copy assignment. (the
15930         default ones is ok), move number inside FontBits. move inlines to
15931         lyxfont.C
15932
15933         * lyxfont.C: add number to initializaton of statics, move several
15934         inlines here. constify several local vars. some whitespace
15935         cleanup. Dont hide outerscope variables.
15936
15937         * Spacing.h: add two new constructors to match the set methods.
15938
15939         * ShareContainer.h: new file, will perhaps be moved to support
15940
15941         * ParameterStruct.h: new file
15942
15943         * ParagraphParameters.h: new file
15944
15945         * ParagraphParameters.C: new file
15946
15947         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15948         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15949
15950         * BufferView_pimpl.C: ParagraphParameter changes.
15951         * buffer.C: Likewise.
15952         * bufferview_funcs.C: Likewise.
15953         * text.C: Likewise.
15954         * text2.C: Likewise.
15955
15956 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15957
15958         * lyxfind.C (LyXReplace): do not redefine default argument in
15959         implementation.
15960         (IsStringInText): ditto
15961         (SearchForward): ditto
15962         (SearchBackward): ditto
15963
15964 2001-03-06  Juergen Vigna  <jug@sad.it>
15965
15966         * lyxfind.C (IsStringInText): put parentes around expressions.
15967
15968 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15969
15970         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15971
15972 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15973
15974         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15975
15976         * stl_string_fwd.h: add comment
15977
15978         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15979
15980         * tabular.h:
15981         * tabular.C: remove unused DocBook methods
15982
15983         * intl.C:
15984         * language.C:
15985         * paragraph.C:
15986         * buffer.C:
15987         killed DO_USE_DEFAULT_LANGUAGE
15988
15989 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15990
15991         * lyx_gui.C: do not include language.h.
15992
15993         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15994         arguments in function implementation.
15995
15996 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15997
15998         * BufferView_pimpl.C: add <ctime>
15999
16000 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16001
16002         * BufferView_pimpl.C: add using std::find_if
16003
16004 2001-02-27  José Matos  <jamatos@fep.up.pt>
16005
16006         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16007         by OnlyPath.
16008
16009 2001-02-11  José Matos  <jamatos@fep.up.pt>
16010
16011         * buffer.C (makeDocBookFile): command styles now have a parameter as
16012         "title" by default.
16013
16014 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16015
16016         * layout_forms.[Ch]: removed
16017         * lyx_cb.[Ch]: out character
16018         * lyx_gui.C: out character
16019         * lyx_gui_misc.C: out character
16020         * bufferview_funcs.C: : out character,
16021         added toggleall as parameter in ToggleAndShow
16022
16023 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16024
16025         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16026
16027         * text2.C (SetCurrentFont): Disable number property at boundary.
16028
16029 2001-02-26  Juergen Vigna  <jug@sad.it>
16030
16031         * lyxfunc.C (getStatus): added a string argument override function so
16032         that this is correctly called from LyXFunc::Dispatch if it contains a
16033         do_not_use_argument which is used!
16034         (Dispatch): added check for "custom" export and call appropriate func.
16035
16036 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16037
16038         * lyxrc.C: Add language_command_local, language_use_babel and
16039         language_global_options.
16040
16041         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16042
16043         * buffer.C (makeLaTeXFile): Use language_use_babel and
16044         language_global_options.
16045
16046 2001-02-23  Juergen Vigna  <jug@sad.it>
16047
16048         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16049         which works with LyXText and putted it inside BufferView. Here now we
16050         only call for that part the BufferView::Dispatch() function.
16051
16052         * BufferView.C (Dispatch): added.
16053
16054         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16055         functions which needs to use a LyXText over from LyXFunc.
16056         (MenuInsertLyXFile): added
16057         (getInsetByCode): added
16058         (moveCursorUpdate): added
16059         (static TEXT): added
16060
16061 2001-02-22  Juergen Vigna  <jug@sad.it>
16062
16063         * BufferView_pimpl.C (update): call a status update to see if LyXText
16064         needs it.
16065
16066 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16067
16068         * vc-backend.C (revert): implement for CVS
16069         (getLog): implement for CVS
16070
16071 2001-02-20  Juergen Vigna  <jug@sad.it>
16072
16073         * text2.C (ClearSelection): added BufferView param for inset_owner call
16074
16075         * lyxfunc.C (TEXT): added this function and use it instead of
16076         directly owner->view()-text of getLyXText().
16077
16078 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16079
16080         * src/layout_forms.C: out preamble
16081         * src/layout_forms.h: out preamble
16082         * src/lyx_cb.C: out preamble
16083         * src/lyx_cb.h: out preamble
16084         * src/lyx_gui.C: out preamble
16085         * src/lyx_gui_misc.C: out preamble
16086         * src/lyxfunc.C: connect with guii preamble
16087
16088 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16089
16090         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16091
16092 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16095         whether to run bibtex.
16096
16097 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16098
16099         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16100
16101 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16102
16103         * Makefile.am (lyx_SOURCES): removed bibforms.h
16104
16105         * vspace.h: doxygen
16106
16107         * text.C (GetVisibleRow): make several local vars const
16108
16109         * tabular.C: small cleanup.
16110
16111         * lyxserver.C (callback): use compare instead of strncmp
16112
16113         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16114         inlines to after class or to paragraph.C
16115
16116         * lyxfont.h: remove friend operator!=
16117
16118         * converter.h: move friend bool operator< to non friend and after
16119         class def.
16120
16121         * combox.h: small cleanup
16122
16123         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16124         to inlines after class def.
16125
16126         * buffer.C (pop_tag): use string operations instead of strcmp
16127
16128         * bmtable.c: doxygen, small cleanup
16129
16130         * LaTeX.h: remove friend operator==
16131
16132 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16133
16134         * screen.C:
16135         * lyxrc.[Ch]:
16136         * lyxfunc.C:
16137         * lyxfont.[Ch]:
16138         * lyx_cb.C:
16139         * intl.[Ch]:
16140         * commandtags.h:
16141         * buffer.C:
16142         * WorkArea.[Ch]:
16143         * LyXAction.C:
16144         * BufferView_pimpl.C:
16145         * BufferView.[Ch]: remove cruft
16146
16147 2001-02-14  Juergen Vigna  <jug@sad.it>
16148
16149         * lyxfunc.C: removed #if 0 unused code
16150
16151         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16152
16153         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16154
16155         * text2.C (SetSelection): added a BufferView * parameter
16156
16157 2001-02-13  Juergen Vigna  <jug@sad.it>
16158
16159         * lyxfunc.C (Dispatch): fixed protected blank problem.
16160         * BufferView2.C (protectedBlank): added LyxText * parameter.
16161
16162         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16163         (AppendColumn): same as above for column_info.
16164
16165         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16166         (moveCursorUpdate): use a LyXText param for support of InsetText.
16167
16168         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16169         (tripleClick): ditto
16170
16171         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16172
16173         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16174
16175         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16176
16177         * text2.C (SetSelection): set correct update status if inset_owner
16178         (ToggleFree): ditto
16179
16180 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16181
16182         * tabular.C: remove some commented code.
16183
16184 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16185
16186         * BufferView_pimpl.C: call hideSplash()
16187
16188         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16189
16190         * include_form.h:
16191         * bibforms.h: remove
16192
16193         * lyxfunc.C:
16194         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16195           add LFUN_CHILD_CREATE
16196
16197         * counters.h: fix tiny typo
16198
16199         * lyx_cb.C:
16200         * lyx.h:
16201         * lyx_gui.C:
16202         * lyx.C: move splash to frontends/xforms/
16203
16204         * lyx_gui_misc.C: move Include and Bibform to frontends
16205
16206         * lyxvc.h: clarify comment
16207
16208         * vspace.C: tiny housekeeping
16209
16210 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16211
16212         * text.C (PrepareToPrint): RTL Fix.
16213
16214         * paragraph.C (GetUChar): New method.
16215         (String):  Use GetUChar.
16216
16217         * buffer.C (asciiParagraph): Use GetUChar.
16218
16219 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16222
16223 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16224
16225         * buffer.h:
16226         * buffer.C: rename to getLogName(), handle
16227           build log / latex log nicely
16228
16229 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16230
16231         * MenuBackend.C:
16232         * MenuBackend.h: remove support for reference menuitem type.
16233
16234 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16235
16236         * BufferView_pimpl.C: housekeeping
16237         * BufferView_pimpl.h:
16238         * LyXView.h:
16239         * Makefile.am:
16240         * Timeout.C:
16241         * Timeout.h:
16242         * minibuffer.h: move Timeout GUI-I
16243
16244 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16245
16246         * lyxrc.C (read): Update converters data-structures.
16247
16248 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16249
16250         * LaTeX.h (operator!=): add operator != for Aux_Info
16251
16252 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16253
16254         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16255
16256         * LaTeXLog.C: deleted, useful code moved to Buffer
16257
16258         * buffer.h:
16259         * buffer.C: new function getLatexLogName()
16260
16261         * lyx_gui_misc.C:
16262         * lyx_gui.C:
16263         * lyxvc.C:
16264         * lyxvc.h:
16265         * lyxfunc.C: use frontends for LaTeX and VC logs
16266
16267 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16268
16269         * LaTeX.h: yet another std:: that Allan forgot.
16270
16271         * Variables.C (set): renamed from isset(), because this clashes
16272         with some HP-UX macros (grr).
16273
16274 2001-02-06  Allan Rae  <rae@lyx.org>
16275
16276         * LaTeX.h: Another bug fix.  Missing std:: this time.
16277
16278 2001-02-04  Allan Rae  <rae@lyx.org>
16279
16280         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16281         floats problem. I've left it commented out because it's not quite
16282         correct.  It should also test that the current object is a table or
16283         figure inset.  But I haven't gotten around to figuring out how to do
16284         that.  I *think* it'll be something like: "table" == inset.type()
16285
16286         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16287         bool.
16288
16289 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16292         all the citation/databases/styles in the auxilary file.
16293         (run): Rerun latex if there was a babel language error.
16294
16295 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16296
16297         * text.C (Backspace): Preserve the font when changing newline char
16298         with a space.
16299         (BreakParagraph): If the cursor is before a space, delete the space.
16300
16301         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16302
16303 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16304
16305         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16306         new argument (code).
16307         (ChangeCitationsIfUnique): New method.
16308
16309         * paragraph.C (GetPositionOfInset): Handle bibkey.
16310
16311 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * BufferView_pimpl.h: change type of Position::par_pos to
16314         LyXParagraph::size_type.
16315
16316 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16317
16318         * BufferView_pimpl.C (savePosition, restorePosition): Write
16319         messages to minibuffer.
16320
16321 2001-01-28  José Matos  <jamatos@fep.up.pt>
16322
16323         * buffer.C (makeDocBookFile): adds support for document language.
16324         A silly restriction on the name of LatexCommand types where removed.
16325         Added support for CDATA sections, allows to chars unescaped, used
16326         among others in code, to avoid escape < and >.
16327
16328 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16329
16330         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16331         saved positions instrad of a stack. Furthermore, a position is
16332         stored using paragraph id/paragraph position.
16333
16334         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16335         Remove LFUN_REF_BACK.
16336
16337 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16338
16339         * converter.C (dvipdfm_options): New method.
16340
16341 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16342
16343         * vspace.C (isValidLength): Fix for empty input string.
16344
16345 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * LyXAction.C (init): change description of LFUN_FIGURE to
16348         "Insert Graphics"
16349
16350 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16351
16352         * LaTeX.C: add using directive
16353
16354 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * MenuBackend.C (expand): Fix the sorting of the formats.
16357
16358 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16359
16360         * lyx_main.C: tiny error message fix
16361
16362 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16365         calling fl_initialize(). This fixes the problem with ',' as
16366         decimal separator in text files.
16367
16368 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16369
16370         * trans.C (process): Fix the keymap bug.
16371
16372 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16373
16374         * LaTeX.C (scanAuxFiles): New method. Provides support for
16375         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16376         (scanLogFile) Scan for "run BibTeX" messages.
16377
16378         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16379         OT1 font encoding. Also, load the aecompl package if the ae
16380         package is loaded.
16381
16382         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16383
16384 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16385
16386         * texrow.C (increasePos): turn two error messages into debug
16387         messages.
16388
16389 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16390
16391         * LaTeX.C (scanAux): Handle the \@input macro.
16392         (runBibTeX): Use scanAux().
16393
16394         * language.C (latex_options_): New field.
16395
16396         * LaTeXFeatures.C (getMacros): Add language macros.
16397
16398         * buffer.C (makeLaTeXFile): Small fix.
16399
16400 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16401
16402         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16403
16404         * text2.C: add a using directive.
16405
16406 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16407
16408         * BufferView2.C:
16409         * lyx_gui_misc.h:
16410         * lyxfr1.C:
16411         * lyxfunc.C: kill LyXBell.
16412
16413 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16414
16415         * text.C (IsBoundary): Remove the error message
16416
16417         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16418
16419         * lyxrc.C (setDefaults): Correct initialization value for
16420         font_norm_type.
16421
16422 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16423
16424         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16425         gotoError().
16426
16427         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16428         and GotoNextNote().
16429
16430         * src/LyXAction.C: Added reference-next.
16431
16432         * text.C (InsertChar): Use contains instead of strchr.
16433
16434         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16435
16436 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16437
16438         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16439         alignment commands (when needed).
16440
16441         * text.C (InsertChar): Add ':' to number separator chars.